afc163
756f06c2fe
chore: sync master into next branch
2022-04-20 11:30:55 +08:00
afc163
12d98f9ed6
chore: update snapshot due to rc-trigger bumped ( #35106 )
2022-04-20 00:16:39 +08:00
afc163
30ac6bd4e4
test: wrap React.StrictMode for test cases ( #35026 )
...
* test: React StrictMode
* test: fix Spin test
* chore: wrapper enzyme
* test: fix setState
* test: more test cover
* test: more test cover
* test: more test cover
* test: more test cover
* test: more test cover
* test: more test case
* test: more test case
* test: more test case
* test: more test case
* test: more test case
* test: more test case
* test: more test case
* test: more test case
* test: more test case
* test: more test case
* test: more test case
* test: more test case
* test: disable part of it
* test: fix test & add placeholder
* test: Use orign enzyme mount
Co-authored-by: zombiej <smith3816@gmail.com>
2022-04-18 21:02:11 +08:00
github-actions[bot]
16fb0e88a3
chore: auto merge branchs ( #35054 )
...
chore: sync master into next
2022-04-17 15:03:21 +00:00
MadCcc
1c8e499f9c
test: migrate some test case to testing-library ( #35062 )
...
* test: migrate some test case to testing-library
* chore: code clean
* test: fix stylelint
* test: test case
2022-04-17 22:36:36 +08:00
afc163
0f0e2f9f43
docs: simplify demo code, #30853 ( #35050 )
2022-04-15 16:20:56 +08:00
zombiej
a8010d5422
chore: next merge master
2022-04-15 15:44:02 +08:00
二货机器人
67ccf39bd3
fix: Notification & message throw createRoot
warning in React 18 ( #35030 )
...
* chore: bump notification version
* test: notification test case
* test: more test case
* test: part message test
* test: rest message test
* test: notification config test
2022-04-14 18:09:19 +08:00
zombiej
4c127f3822
chore: bump cssinjs
2022-04-12 16:46:19 +08:00
zombiej
d907338d79
chore: merge feature
2022-04-12 15:59:36 +08:00
zombiej
a0d1440050
chore: merge conflict
2022-04-11 17:41:54 +08:00
二货机器人
5b8e4e51e9
chore: Compatible for @types/react@18 ( #34937 )
...
* chore: bump types def
* chore: part ts def
* chore: part ts def
* chore: part ts def
* chore: part ts def
* chore: part ts def
* chore: part ts def
* chore: part ts def
* chore: part ts def
* chore: part ts def
* chore: part ts def
* chore: free --legacy-peer-deps
* chore: ignore peer
* chore: fix ts logic
* chore: use fork docsearch
* chore: fix demo ts
2022-04-08 22:55:42 +08:00
MadCcc
f9b80cbcc3
refactor: provide iconCls in token ( #34869 )
...
* perf: provide iconCls in token
* chore: code style
* chore: use import/export type
2022-04-06 12:20:52 +08:00
二货机器人
a67c0d28d3
fix: react 18 test fixing ( #34787 )
...
* fix: try fix
* chore: ci
* test: recover
* test: more test case
* test: more and mote
* test: btn test
* fix: react 18 compitable
* chore: more test
* test: all confirm test
* chore: tmp
* chore: test lib
* chore: tmp
* chore: tmp
* test: back of part
* test: back of menu index test
* test: more test
* test: form test
* test: rm IE11 test case
* chore: fix compatible
* chore: clean up
* chore: back of all test case
* test: ignore 18 lines
* chore: remove render test of enzyme in upload
* test: back of IE11 test case to fit 100% coverage
* chore: fix pkg deps
2022-04-06 11:07:15 +08:00
MadCcc
6776bb8916
docs: demo support react18 ( #34843 )
...
* docs: update demo
* chore: add script
* test: fix demo test
* docs: convert demos
* chore: move script
* test: remove react-dom import
* chore: update deps
* docs: update riddle js
* test: fix image test
* docs: fix riddle demo
2022-04-03 23:27:45 +08:00
MadCcc
d0c4d7b0ec
feat: add useComponentStyle ( #34802 )
...
* feat: add useComponentStyle
* chore: auto generic
* feat: add overload
* feat: filter component token
* feat: genComponentStyleHook
* test: fix lint
* feat: button for test case
* chore: code clean
* chore: code clean
* feat: add componentCls into token
* feat: merge token statistic
* chore: code clean
* fix: cache token merge
* chore: code clean
* chore: add comment & rename variables
* chore: code enhancement
* chore: FullToken<ComponentName>
* chore: clean input
* chore: code clean
* test: fix lint
* feat: inset prefixCls
Co-authored-by: zombiej <smith3816@gmail.com>
2022-04-02 22:55:02 +08:00
二货机器人
1dc998ace5
docs: Access component use which token ( #34827 )
...
* chore: token of it
* chore: not only
* chore: site always can statistic
* chore: shows
* chore: ignore useless coverage
2022-04-01 17:00:12 +08:00
二货机器人
d437f9fad9
refactor: More token used on component ( #34766 )
...
* chore: add fontSizeIcon
* chore: cascader
* chore: slider token
* chore: slider token
* chore: move to outline
* chore: input style
* chore: input align
* chore: slider full
* chore: align inputNumber
* chore: input token
* chore: input-number token
* chore: mention token
* fix: ts def
2022-03-29 15:57:39 +08:00
二货机器人
ebf52122a2
refactor: Button use full token & remove all withPrefixCls
& support overrides ( #34690 )
...
* chore: init
* chore: button token
* chore: rm all withPrefixCls
* feat: overrides work
* feat: theme can be nest
* test: Update snapshot
* fix: memo logic
2022-03-24 18:44:42 +08:00
二货机器人
d952088650
refactor: More alias token ( #34681 )
...
* chore: colorHighlight
* chore: bgSecondary
* chore: colorLink
* chore: link style
* chore: rm fly variables
* chore: colorAction
* chore: add warning comment
* chore: token outline
* chore: colorBgXXX
* chore: alert
* rm: zIndex
* chore: rm zIndexComponent
* fix: tag color checkabl
* chore: tags tmp
2022-03-24 14:30:48 +08:00
二货机器人
b967f9eb81
refactor: More alias token ( #34658 )
...
* chore: rm disabled color
* chore: color heading
* chore: shows tokn
* chore: fix color mapping
* chore: status colors
* chore: durations
* chore: outline color
* chore: comment info
* chore: background color
* chore: merge nexr
2022-03-22 20:02:04 +08:00
二货机器人
a7a180b913
refactor: Color related token ( #34648 )
...
* chore: move controlHeight in der
* chore: controlLineWidth
* chore: controlRadius
* chore: color
* chore: outline width
* chore: outline width
* chore: rm outlineBlurSize
* chore: colorTextLightSolid
2022-03-22 13:26:29 +08:00
二货机器人
608ce271b1
refactor: Move token to latest one ( #34637 )
...
* chore: rename motion
* chore: primary color
* chore: success color
* chore: all colors
* chore: mv control height up
* chore: font size format
2022-03-22 09:37:37 +08:00
github-actions[bot]
eec9542c09
chore: auto merge branchs ( #34592 )
...
chore: next merge feature
2022-03-19 11:17:12 +00:00
二货机器人
a67d39cd6c
feat: Menu support items
( #34559 )
...
* docs: Update Menu cn doc
* chore: update ts def
* chore: support convert
* docs: more demo
* docs: more demo
* docs: all menu demos
* docs: dropdown demo
* docs: dropdown all demos
* docs: update demo
* test: coverage
* docs: more demo
* docs: layout demo
* docs: all demo
* chore: fix ts lint
* docs: fix doc
* docs: all docs
2022-03-18 15:20:35 +08:00
MadCcc
30e0d57302
test: fix cssinjs ci ( #34434 )
...
* test: fix cssinjs ci
* test: fix ci
* test: fix alert trl
* fix: fix tree icon rotation direction in RTL mode
2022-03-11 17:07:16 +08:00
二货机器人
068584b76c
refactor: change Select into CSSINJS ( #34339 )
...
* chore: init
* chore: init single
* chore: merge next
* chore: select single base
* chore: basic all style of select
* chore: speed of dropdown
* chore: move size in single
* chore: single size
* chore: lg style
* chore: left & right
* chore: rtl
* chore: auto rtl
* chore: rtl
* fix: height cal
* chore: clean up
* chore: status color
2022-03-08 10:29:00 +08:00
二货机器人
43eaa357b4
chore: cssinjs hashed as default ( #34272 )
...
* checkbox hashId support
* chore: tree hashed
* chore: fix lint
* fix: compile
2022-03-03 14:55:19 +08:00
zombiej
4aac9f7522
chore: simplify style requirement
2022-02-27 22:17:17 +08:00
二货机器人
912ffb15d0
refactor: Button with cssinjs ( #33890 )
...
* init
* chore: cssinjs base button
* chore: more style
* chore: mix style
* chore: size
* chore: more style
* misc
* chore: re-structrue
* chore: icon onlt
* chore: back of disabled
* chore: loading status
* chore: loading motion
* chore: add active style
* docs: site prepare dynamic theme
* chore: bump antd cssinjs
* chore: color type check
* chore: bump cssinjs version
* chore: clean up useless ts def
* chore: ignore button style
* chore: rename ci
* chore: update cssinjs ver
* chore: ssr default wrapper
* chore: bump cssinjs version
* chore: ssr support
* chore: fix script
* test: fix node snapshot
* chore: move cssinjs pkg size from css to js
* test: coverage
2022-02-18 14:17:32 +08:00
二货机器人
31fb55adf3
chore: btn default provide default cls ( #34013 )
2022-02-11 15:02:59 +08:00
tangjinzhou
eb45dbb4db
fix: block not work when small size ( #33878 )
...
https://github.com/vueComponent/ant-design-vue/issues/5219
2022-01-27 21:33:45 +08:00
Di Wu
9fe57c654a
fix: Clear timer of delayed loading after Button is unmounted ( #33858 )
...
* fix: Clear delay loading timer after Button is unmounted
* [CodeFactor] Apply fixes to commit 16cfb89
[ci skip] [skip ci]
* Change arrow function style in test case
Co-authored-by: codefactor-io <support@codefactor.io>
2022-01-27 14:06:37 +08:00
afc163
578aaad7f2
test: fix lint
2022-01-24 11:26:26 +08:00
afc163
a4d139687a
fix: image demo test in argo-ci ( #33523 )
...
close #33512
2022-01-02 15:16:21 +08:00
Xi Ming
659571edae
fix missing words in commets ( #33514 )
...
Lol
2022-01-02 12:59:40 +08:00
zombiej
6ed4d855b1
Merge remote-tracking branch 'origin/master' into feature-merge-master
2021-12-27 10:45:42 +08:00
二货机器人
2df11184f4
test: Demo check popup content ( #33378 )
...
* auto demo
* chore: update demo snapshot
* fix: trigger mock ref logic
* chore: try 2 test case
* chore: more snapshot
* chore: update snapshot
* chore: fix ts
* chore: split test
* test: Update test case
* chore: fix test order
2021-12-23 11:51:10 +08:00
zombiej
42bc6dcdef
Merge remote-tracking branch 'origin/master' into feature-merge-master
2021-12-16 10:40:55 +08:00
afc163
28855c23d9
fix: Button loading style missing in Firefox ( #33199 )
2021-12-08 18:17:01 +08:00
xrkffgg
a04a4efc8b
Merge pull request #33163 from ant-design/master
...
chore: merge master into feature
2021-12-05 15:22:48 +08:00
afc163
b34f72b1b6
test: fix ci warnings ( #33160 )
2021-12-04 17:06:36 +08:00
zombiej
1698426161
test: Update snapshot
2021-12-01 22:52:49 +08:00
Frank Fang
de33041bb0
chore: refactor some code ( #33034 )
...
* Refactor some code
* Apply suggestions from code review
Co-authored-by: afc163 <afc163@gmail.com>
* [CodeFactor] Apply fixes
[ci skip] [skip ci]
* rename abbr to sizeClassNameMap
* refactor: Button size class name
Co-authored-by: afc163 <afc163@gmail.com>
Co-authored-by: codefactor-io <support@codefactor.io>
2021-12-01 17:53:05 +08:00
zombiej
dd1670a3b4
chore: merge master
2021-11-26 15:19:31 +08:00
dependabot[bot]
20d5502193
chore(deps-dev): bump eslint-config-airbnb from 18.2.1 to 19.0.0 ( #32824 )
...
* chore(deps-dev): bump eslint-config-airbnb from 18.2.1 to 19.0.0
Bumps [eslint-config-airbnb](https://github.com/airbnb/javascript ) from 18.2.1 to 19.0.0.
- [Release notes](https://github.com/airbnb/javascript/releases )
- [Commits](https://github.com/airbnb/javascript/compare/eslint-config-airbnb-v18.2.1...eslint-config-airbnb-v19.0.0 )
---
updated-dependencies:
- dependency-name: eslint-config-airbnb
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* chore: code style
* memoize-one
* add comment
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* improve useMemo deps
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
2021-11-26 12:18:21 +08:00
renovate[bot]
b6bd4c18b4
chore(deps): update dependency stylelint to v14 ( #32609 )
...
* chore(deps): update dependency stylelint to v14
* Update package.json
* fix some stylelint
* fix some stylelint
* fix some stylelint errors
* fix some stylelint errors
* fix some stylelint errors
* fix some stylelint errors
* fix some stylelint errors
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: afc163 <afc163@gmail.com>
2021-10-22 13:35:36 +08:00
dependabot[bot]
b445baa001
chore(deps-dev): bump stylelint-config-prettier from 8.0.2 to 9.0.2 ( #32451 )
...
* chore(deps-dev): bump stylelint-config-prettier from 8.0.2 to 9.0.2
Bumps [stylelint-config-prettier](https://github.com/prettier/stylelint-config-prettier ) from 8.0.2 to 9.0.2.
- [Release notes](https://github.com/prettier/stylelint-config-prettier/releases )
- [Commits](https://github.com/prettier/stylelint-config-prettier/compare/v8.0.2...v9.0.2 )
---
updated-dependencies:
- dependency-name: stylelint-config-prettier
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* chore: autofix stylelint errors
* chore: autofix stylelint errors
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
2021-10-13 15:38:59 +08:00
afc163
6b56af466f
fix: Button with icon and href align issue ( #32373 )
2021-10-02 12:35:50 +08:00
yingxirz
4f7565c287
Update index.zh-CN.md ( #32324 )
2021-09-28 10:38:37 +08:00
afc163
441a6aba8f
fix: ghost button hover style ( #32289 )
...
* fix: disabled ghost button style
* fix
* fix lint
2021-09-24 19:39:48 +08:00
二货机器人
9324e953e3
chore: Not preventEvent btn loading ( #32158 )
...
* chore: Not preventEvent btn loading
* test: Update snapshot
2021-09-14 15:31:42 +08:00
绯一
008242b35e
chore: add Button.shape 'default' definition ( #32004 )
...
* feat: add Button.shape 'default'
* fix: ignore shape when falsy value
* fix: generate className only when shape match
* fix: remove necessary .ant-btn-default and update snapshot
2021-09-13 15:29:57 +08:00
二货机器人
36bcaaef85
Add variable.less
to support css variable ( #31496 )
...
* chore: use varaible.less
* chore: basic primary varaible
* chore: Move to variable
* chore: align active color
* chore: global fix of css variable
* chore: primary colors
* chore: button danger
* chore: btn default error color
* chore: button series
* chore: More examples
* chore: More components
* chore: Form demo
* chore: form style
* fix: Tag & Alert variable
* chore: update footer
* chore: rm tmp code
* chore: transfer
* fix: picker column active color
* chore: Adjust active bg color
* chore: table hover color
* chore: all css variables
* chore: Global using variables
* chore: Test case
* chore: Update test logic
* chore: back of default less
* chore: entry of site use proxy style
* chore: update entry
* chore: split of variables
* refactor: quick dist speed
* fix: site use variable version
* chore: Update less config
* chore: add mv script
* chore: Update repalcement script
* chore: Add inject variables
* chore: Update script
* fix: script path
* chore: Move to component instead
* chore: fix condition
* chore: update config
* chore: Update in less transform
* chore: Modify logic
* chore: change to variables
* chore: Update name
* fix: script name
* chore: do inject
* revert: back of path
* chore: 2 way of generate
* bump tools
* chore: Add auto replacement script
* chore: auto genrate less file
* chore: fix test
* test: More test case
* chore: Update limit config
* test: coverage
* docs: Update doc
2021-09-01 10:56:50 +08:00
afc163
ccf14fce68
fix: ghost button style ( #31780 )
...
* fix: Button ghost style broken when it is danger
* update snapshot
2021-08-13 09:31:38 +08:00
afc163
0599c29f97
fix: Button icon align issue ( #31755 )
...
* fix: Button with only icon align issue in Chrome
close #31701
* update snapshot
2021-08-11 12:59:14 +08:00
Zuobin Wang
7f16838631
chore(all): delete useless Omit define ( #31661 )
2021-08-04 20:07:28 +08:00
afc163
e37c411187
style: remove duplicated css rule of ghost button ( #31659 )
...
close #31474
2021-08-04 18:35:37 +08:00
afc163
7601f62ec0
fix: Button loading margin lost when children is fragment ( #30962 )
...
close #30953
2021-06-11 16:32:46 +08:00
afc163
edb59bd2e8
fix: Button with disabled
and type="link"
should not clickable ( #30209 )
...
close #30207
2021-04-19 17:19:22 +08:00
afc163
87c8b5a180
fix: Button align issue ( #30006 )
...
close #29978
2021-04-03 22:27:46 +08:00
afc163
13a829d20c
fix: classNames typing errors ( #30018 )
2021-04-02 22:37:36 +08:00
afc163
99c2c2ff0b
refactor: use optional chaining instead of if ( #29368 )
...
* refactor: use optional chaining instead of if
* revert some code
2021-02-19 18:26:53 +08:00
xrkffgg
dcc0ffa016
chore : prettier code ( #29123 )
...
* style: prettier code
* update
* Update index.less
2021-01-30 19:39:02 +08:00
Janneke Janssen
005627e4a4
fix: Button loading state not respecting the border-width ( #28886 )
2021-01-16 17:50:56 +08:00
二货机器人
4315ac567c
chore: replace omit ( #28846 )
...
* chore: Replace omit.js with rc-util omit
* chore: Replace omit.js with rc-util omit
* fix ts
* fix ts
* fix ts
2021-01-13 21:00:30 +08:00
Hossein Mohammadi
04bfa3c54f
chore: add prettier-plugin-jsdoc ( #28551 )
2020-12-28 15:30:18 +08:00
偏右
0223e2ed5a
chore( 🆙 ): upgrade less to 4.0.0 ( #28466 )
...
* chore(🆙 ): upgrade less to 4.0.0
* chore(🆙 ): upgrade bisheng to 3.0.0
* fix for less 4.0
* fix for less 4.0
* fix for less 4.0
* fix for less 4.0
* fix for less 4.0
* fix for less 4.0
* fix for less 4.0
* fix for less 4.0
* fix for less 4.0
* fix for less 4.0
* fix for less 4.0
* fix for less 4.0
* fix for less 4.0
* fix progress font size
2020-12-25 14:31:44 +08:00
Chan Qin Liang
263d8ec8e8
Include parenthesis on mixin calls to support less 4.0.0 ( #28465 )
2020-12-22 11:08:12 +08:00
dependabot[bot]
775d1800bb
chore(deps-dev): bump eslint-config-prettier from 6.15.0 to 7.0.0 ( #28253 )
...
* chore(deps-dev): bump eslint-config-prettier from 6.15.0 to 7.0.0
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier ) from 6.15.0 to 7.0.0.
- [Release notes](https://github.com/prettier/eslint-config-prettier/releases )
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v6.15.0...v7.0.0 )
Signed-off-by: dependabot[bot] <support@github.com>
* chore: fix eslint style
* chore: prettier code style
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
2020-12-09 17:12:32 +08:00
Eugene Matvejev
fa09208cda
refactor: review <Button/> defaultProps ( #28211 )
2020-12-05 23:08:30 +08:00
Eugene Matvejev
5e42ba482a
refactor: review <LoadingIcon /> simplify it a bit and drop dead function ( #28207 )
2020-12-04 19:35:27 +08:00
陈帅
95ce54ca79
feat: FormItem support _internalItemRender ( #27881 )
...
* feat: formitem support _internalItemRender
* add mark
* up rc-field-form
* fix ts error
* Update components/form/FormItemInput.tsx
Co-authored-by: 二货机器人 <smith3816@gmail.com>
* update notes
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2020-11-20 21:43:43 +08:00
偏右
e0c26b4ac1
style( 💄 ): fix Button and Form loading spin animation ( #27794 )
2020-11-16 18:05:00 +08:00
偏右
e7bed7cff7
perf( 📦 ): upgrade @ant-design/colors and remove rc-trigger from deps ( #27761 )
...
* perf(📦 ): upgrade @ant-design/colors
* move rc-trigger to devDeps
* fix lint
* update snapshot
* update snapshot
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2020-11-14 00:43:12 +08:00
wf-erikslokharts
478f611a16
chore: refactor LoadingIcon.tsx ( #27765 )
2020-11-14 00:13:48 +08:00
Eugene Matvejev
9913062d42
small cleanup in button.tsx ( #27759 )
2020-11-13 19:26:48 +08:00
xrkffgg
a3b05577a9
perf: reduce css ( #27670 )
2020-11-10 11:16:27 +08:00
einq7
3357fccf0e
docs: format inline code ( #27634 )
2020-11-08 15:04:02 +08:00
骗你是小猫咪
6fba4d1136
test: demo -> ui test ( #24475 )
...
* test: demo -> ui test
* improve comment image width
* use argos-ci
* use by cicleci
* fix circle run
* rebase master
* try pipeline var
* use another branch var
* fix commit id
* ignore image test file
* remove useless report
* fix test coverage
2020-10-23 18:50:46 +08:00
Tom Xu
a91b451881
docs(button): improve size default value
2020-10-22 08:33:20 +08:00
Robin Pokorny
aa00cee500
docs: Document default for button size ( #27283 )
2020-10-21 23:17:08 +08:00
afc163
b383c14114
docs: improve button dropdown demo
2020-10-21 11:50:18 +08:00
Tom Xu
d44f404eae
docs: sort api ( #27251 )
...
* chore: improve sort api table scripts
* sort api
* add ignore
* Revert "sort api"
This reverts commit 343505d5f0
.
* sort api
* Update package.json
* sort api
* Delete sort-api.js
* sort api
* sort api
* sort api
* fix
* Update index.zh-CN.md
* fix input-number
* fix input-number
* sort func
* fix
* Method moved to the end
* carousel method
2020-10-21 10:33:43 +08:00
Tom Xu
274871b50c
docs(button): improve docs and shape remove undeclared doc type ( #27159 )
...
* docs(button): improve docs
* Update index.less
2020-10-16 15:50:19 +08:00
Niyaz Akhmetov
1aee1670cf
docs: ✏️ replace is
with are
( #26983 )
2020-10-02 13:15:41 +08:00
偏右
fc5e0a9155
test: ✅ 100% coverage ( #26839 )
...
* test: isStyleSupport
* test: 100% test coverage
2020-09-21 18:32:24 +08:00
偏右
40cee55141
test: add test case for switch click effect ( #26815 )
2020-09-18 17:53:37 +08:00
偏右
83ddfb807e
test: ✅ Enable transition and animation in jest ( #26571 )
...
* test: ✅ add test cases to increase coverage
* test: fix snapshot
* fix: test node envioronment
* fix: test node envioronment
* fix test case
* test: refactor menu test cases
* test: update test code style
* test: add more menu test cases
* add comment
* test: update snapshot
* fix: alert test case
* fix: form onLeaveEnd test cov
* test: fix button click wave test cases
* chore: clean up snapshots
2020-09-18 16:53:18 +08:00
afc163
90cfb0d25f
docs: 📝 remove deparecated button type
2020-09-17 23:06:59 +08:00
偏右
8bff5917dc
style: tweak button icon only align ( #26785 )
...
close #26679
2020-09-17 15:31:26 +08:00
Knut Olav Bøhmer
e09040f3af
fix: Button
as component for react-router Link
( #26740 )
...
React router passes `navigate` as prop to component in <Link to={to}
component={Component}>. This is already fixed for Typography.Link.
(#26623 ) This fixes `<Link to={to} component={Button}` />
2020-09-14 21:31:46 +08:00
Alex
bf45c4c1b0
style: 💄 className prop ordering #26594 ( #26602 )
...
close #26594
2020-09-06 13:07:39 +08:00
二货机器人
0097d34d01
fix: Update rc-motion
deps & fix ssr ( #26542 )
...
* chore: Update rc-motion deps
* frame wheel not prevent scroll
* update ts
2020-09-02 18:30:27 +08:00
xrkffgg
e1f990e61a
chore: fix merge conflict
2020-08-10 09:43:21 +08:00
xiao11lang
be7c8d1cc8
docs: update button component doc ( #26095 )
...
Co-authored-by: caohang <caohang@caohangdeMacBook-Pro.local>
2020-08-08 17:35:26 +08:00
xrkffgg
f0568efdf3
docs: perfect website ( #26079 )
...
* docs: perfect website
* fix []
2020-08-07 15:50:53 +08:00
Kermit Xuan
85e28791cb
chore: replace rc-animate/lib/CSSMotion
with rc-motion
( #26049 )
2020-08-05 23:05:25 +08:00
afc163
45cbbd6034
merge feature into master-to-merge-feature
2020-08-05 14:49:10 +08:00
xrkffgg
93d8d66171
style: add @btn-line-height ( #26014 )
2020-08-04 19:56:10 +08:00
偏右
bf0cd1073b
style: increase @text-color contrast ( #25630 )
...
* style: increase @text-color contrast
* update UI image snapshot
2020-07-29 17:52:47 +08:00
丁文涛
f7cfc19465
docs: optimize button docs ( #25712 )
...
Co-authored-by: wynterding <dingwententao@youzan.com>
2020-07-21 10:07:38 +08:00
xrkffgg
b9cd990693
docs: format api button/icon/typography ( #25292 )
2020-06-29 21:43:22 +08:00
07akioni
35f1b1b7fc
fix: remove style of ghost link & ghost text button ( #24953 )
...
* fix: remove style of ghost link & ghost text button
* feat: devWarning on link or text + ghost button
* test: update snapshot
* fix: fix devWarning valid arg
* test: test warning
* docs: update ghost button demo
* test: change resetWarned position
* chore
2020-06-19 17:46:15 +08:00
xrkffgg
a5f3ac8348
docs: unite boolean in site ( #25058 )
...
* docs: unite boolean in site
* fix demo
* fix boolean
* add
* add
* add
2020-06-17 23:18:14 +08:00
07akioni
520fbca0f4
refactor: Reduce Button CSS size ( #24996 )
...
* refactor: reduce button css size
* refactor: remove redundant button .less code
2020-06-15 16:00:15 +08:00
xrkffgg
cb544f7feb
docs: reduce button demo ( #24908 )
2020-06-11 15:24:24 +08:00
Arvin Xu
dda650cc7b
docs: Update components cover ( #24744 )
...
* docs: Update components cover
#24629
* docs: Update components cover
2020-06-05 13:50:09 +08:00
二货机器人
902141f554
fix: btn loading 2 twice ( #24713 )
2020-06-03 21:59:54 +08:00
二货机器人
d5fea40ab5
fix: btn loading ( #24678 )
2020-06-02 12:54:22 +08:00
Teng YANG
9f8eb99807
fix : #24614 text button style inconsistent in danger
( #24622 )
...
* fix: update button style when type="text" of danger
* update wording in danger button demo
* format code
2020-06-01 13:33:29 +08:00
Teng YANG
03fad9177a
fix: update wording in ghost button demo ( #24624 )
2020-05-31 23:02:59 +08:00
偏右
882cec62d6
docs: 🌈 Add Components overview page ( #24491 )
...
* docs: Add components overview page
* fix detail
* remove ContributorsList form overview page
* fix components url
* improve code style
* remove extra file
* fix detail
* fix lint
* fix lint
* docs: Finish components overview page
* fix lint
* docs: Update cover
* fix lint
* update cover
* update menu
* improve overview page
* refactor code
* fix order
* update title
* add components count
* fix overview page ssr bug
* move less file
* update title margin
Co-authored-by: arvinxx <arvinx@foxmail.com>
2020-05-31 11:48:34 +08:00
afc163
d039e32e6b
merge feature into master-to-merge-feature
2020-05-28 15:30:36 +08:00
xrkffgg
b34b956529
docs: fix btn demo typo ( #24463 )
2020-05-26 09:37:26 +08:00
骗你是小猫咪
21bd9444f4
test: use azure deploy ui test report site ( #24327 )
...
* test: use azure deploy ui test report site
* parallel stage
* continueOnError
* fix continueOnError position
* use github comment
* failed
* fix artifact name
* add download path
* ls files
* fix path download
* Install modules
* update snapshot image
* test: docker compose run test image
* use docker
* use docker update snapshots
* remove unused dep
* improve github comment and add doc
* fix azure script
* test faild condition
* improve pass comment
2020-05-25 17:40:57 +08:00
Teng YANG
b467cc5cbb
feat: #24355 support complex button backgrounds ( #24372 )
2020-05-21 23:45:25 +08:00
偏右
ae8603838a
Merge pull request #24371 from ant-design/master
...
chore: merge master into feature
2020-05-21 23:41:37 +08:00
偏右
e657fb806f
fix: Button loading animation missing ( #24328 )
...
close #24323
2020-05-20 23:32:38 +08:00
偏右
02dccd9643
Merge pull request #24185 from ant-design/master
...
chore: merge master into feature
2020-05-15 17:40:05 +08:00
偏右
8497e54e39
docs: 📖 keep documentation up to date ( #24184 )
...
* docs: remove babel-plugin-import from docs
* docs: react-scripts-rewired + customize-cra => craco
* docs: remove babel-plugin-import
* fix remark link
2020-05-15 17:18:55 +08:00
zombiej
9f38c46039
merge master
2020-05-14 21:03:29 +08:00
二货机器人
2afab58ac8
chore: small bundle size follow up ( #24164 )
...
* update config
* replace react function
* fix alert
2020-05-14 20:54:49 +08:00
zombiej
e6b1b1a4e7
Merge remote-tracking branch 'origin/master' into feature-merge-master
2020-05-14 16:19:39 +08:00
二货机器人
2e284aa017
chore: small bundle size ( #24135 )
...
* update warning
* rm warning
* replace with dev warning
* fix test
* fix site
* Update webpack.config.js
Co-authored-by: 偏右 <afc163@gmail.com>
* Update webpack.config.js
* fix sytax
* adjust
* move into function
Co-authored-by: 偏右 <afc163@gmail.com>
2020-05-14 15:57:04 +08:00
afc163
53d7a20939
merge feature into master-to-merge-feature
2020-05-13 16:16:16 +08:00
偏右
f7e00f645e
style: fix Button small size align when customize theme ( #24097 )
...
close #24089
2020-05-13 12:56:24 +08:00
zombiej
339246d316
chore: Merge master
2020-05-13 11:59:15 +08:00
偏右
c19685e0ea
fix: Child of Button should be interactive ( #24095 )
...
close #24090
2020-05-12 22:29:10 +08:00
afc163
acb4cb6859
Merge feature into master
2020-05-09 20:40:12 +08:00
偏右
4cb70b6f16
Merge pull request #23893 from ant-design/master
...
chore: merge master into feature
2020-05-06 10:58:50 +08:00
偏右
c5bcf57537
feat: 💄 Add text type Button ( #22552 )
...
* 🆕 Add text type Button
`<Button type="text" />`
close #15892
* Add test cases
* missing type
* missing type
* fix missing type
* Update components/button/index.zh-CN.md
Co-Authored-By: zefeng <zefengbao@outlook.com>
Co-authored-by: Amumu <yoyo837@hotmail.com>
Co-authored-by: zefeng <zefengbao@outlook.com>
2020-05-06 10:15:33 +08:00
twoye
2b2a6a3d22
Update index.zh-CN.md ( #23868 )
...
* Update index.zh-CN.md
* Update index.zh-CN.md
Co-authored-by: 偏右 <afc163@gmail.com>
2020-05-05 13:17:50 +08:00
二货机器人
dff19af744
chore: Update Popconfirm & Modal okType type ( #23867 )
...
* chore: Update Popconfirm & Modal okType type
* add test case
* update test case
2020-05-05 12:03:16 +08:00
xrkffgg
bd692bef71
style: optimize button loading style in rtl ( #23776 )
...
* style: optimize button loading style in rtl
* opt rtl
* reback
2020-05-02 09:00:47 +08:00
骗你是小猫咪
e34fc4a7c4
improve: Button loading smooth ( #23783 )
2020-04-30 17:18:24 +08:00
zombiej
2c531a827d
merge master
2020-04-29 11:29:26 +08:00
偏右
c3c2c157d0
fix: correct Button type="danger"
TypeScript definition ( #23709 )
...
* fix: remove Button type danger in TypeScript
close #23708
* docs: fix Table dataSource type in document
close #23697
* add warning about type="danger"
* reverse button type warning logic
2020-04-28 16:14:38 +08:00
xrkffgg
a823400b79
docs: optimize site of components 1 ( #23670 )
...
* docs: optimize site of components 1
* fix: lint
* fix: use space
* fix: snap
* revert: button demo
* fix snap
2020-04-27 21:40:52 +08:00
hengkx
9868a4dc59
Merge branch 'feature' into mergefeature
2020-04-27 21:02:16 +08:00
偏右
5e4d8f10ac
🐛 Fix Button icon only align issue ( #23671 )
...
https://github.com/ant-design/ant-design/pull/23670#discussion_r415662549
2020-04-27 17:54:13 +08:00
诸岳
a400014efe
Merge branch 'master' of github.com:ant-design/ant-design into merge-master
2020-04-26 17:12:58 +08:00
偏右
89bccf5752
🐛 Fix Button loading style of icon-only ( #23614 )
...
close #23610
2020-04-26 16:21:07 +08:00
诸岳
f955620601
chore: Merge master branch and fix conflicts
2020-04-26 13:34:11 +08:00
Tom Xu
7379cfa4c2
feat: button support ref ( #23571 )
...
* feat: button support ref
* improve
* improve button displayName
2020-04-25 20:45:28 +08:00
二货机器人
22ffa61da0
fix: Legacy button group style ( #23590 )
2020-04-25 18:03:35 +08:00
xrkffgg
e2dacde754
style: fix button loading rtl ( #23399 )
2020-04-20 16:25:43 +08:00
Tom Xu
09e69c385e
refactor(button): rewrite with hook ( #23367 )
2020-04-18 13:06:04 +08:00
Eric Wang
7bc3d4f222
chore: Refactor the button test to use typescript ( #22953 )
...
* Refactor the button test to use typescript
* update tsconfig.json
* Change file name as a workaround
* update antd-tools
2020-04-13 13:36:23 +08:00
二货机器人
410de6112f
fix: Button loading switch animation ( #23102 )
...
* init
* motion it
* update snapshot
* adjust speed
* update snapshot
* Update index.less
* fix opacity mask
Co-authored-by: 偏右 <afc163@gmail.com>
2020-04-10 15:39:07 +08:00
afc163
e1b567d3cf
✅ fix lint
2020-04-06 12:15:28 +08:00
Eric Wang
095e21220f
chore: Introduce customer jest match to support matchRenderedSnapshot ( #22947 )
...
* Introduce customer jest match to support matchRenderedSnapshot
* lint:tsc stop emiting
2020-04-06 12:05:38 +08:00
Eric Wang
316b925f94
chore: Use unreachable exception in favor of type safety ( #22933 )
...
* Use unreachable exception in favor of type safety
* Add tests
* add test
2020-04-05 21:18:28 +08:00
偏右
b369717181
chore: 🦄 Add eslint-plugin-unicorn ( #22883 )
...
* 🦄 Add eslint-plugin-unicorn
* fix eslint errors
* fix eslint errors
* fix lint demo
* fix lint demo
2020-04-03 15:02:11 +08:00
zombiej
1ec7b2c068
merge master
2020-03-29 14:40:29 +08:00
zefeng
dda45e4796
feat: support compact theme ( #22126 )
...
* feat: support narrow theme mode
* chore: rename narrow to compact
* chore: height part
* chore: preview compact mode
* chore: to make site corrected
* chore: preview site
* docs: 📖 document compact theme usage
* docs: tweak theme doc
* docs: 📖 Add description about double css bundle size
* chore: preview
* chore: for preview
* chore: adjust pagination
* chore: compact mode done!
* chore: remove useless todo
* chore: fix review bug
* chore: fix review bug
* chore: fix card margin
* chore: fix review bug
* chore: fix review bug
* chore: improve i18n and transition
* Update site/theme/static/common.less
Co-Authored-By: 偏右 <afc163@gmail.com>
* chore: fix button size and description padding
* chore: update snapshots
* chore: add compact css bundlesize limit
* chore: compact dist support
Co-authored-by: afc163 <afc163@gmail.com>
2020-03-29 10:39:46 +08:00
Mateusz Burzyński
2cb516b5b7
fix: narrow down types of string literals in a few defaultProps declarations ( #22686 )
2020-03-28 19:29:02 +08:00
Rustin
7b94e0bfb2
refactoring: replace deprecated React.SFC with React.FunctionComponent ( #22691 )
...
* refactor: replace deprecated React.SFC with React.FunctionComponent
* refactoring: use typedef FC
2020-03-28 11:56:57 +08:00
xrkffgg
f2c0ea3671
style: optimization Dropdown rtl style ( #22519 )
2020-03-23 16:39:30 +08:00
偏右
154d733fa1
Update index.zh-CN.md
2020-03-23 12:28:41 +08:00
偏右
4fcc6f66a7
fix: 🐛 empty disabled Button align issue ( #22461 )
...
* chore: add .ant-tooltip-disabled-compatible-wrapper
* fix: empty button align issue
2020-03-21 14:30:40 +08:00
xrkffgg
7f4c7b5978
style: fix rtl.less place and name ( #22384 )
2020-03-19 12:13:24 +08:00
xrkffgg
a4cf8430fd
style: fix button rtl.less
2020-03-16 17:18:14 +08:00
xrkffgg
839a19af58
style: add rtl.less of button\typography\grid ( #22252 )
2020-03-16 15:16:05 +08:00
偏右
125c154ffe
💄 Avoid negative padding in less ( #22003 )
...
close #22003
2020-03-09 12:04:12 +08:00
二货机器人
adb323cec2
chore: icons save bundle size without treeShaking ( #21752 )
...
* alert
* more icons
* another grouping
* all done
2020-03-02 12:09:38 +08:00
GJ Wang
f78332171e
docs: fix size props ( #21724 )
2020-03-01 18:24:59 +08:00
偏右
aeb4643428
docs: 📝 optimize button doc image style ( #21704 )
...
* Update index.zh-CN.md
* Update index.en-US.md
2020-02-29 16:15:43 +08:00
二货机器人
06afc9cd9c
fix: Button.Group size style issue ( #21307 )
...
* remove useless fixing line-height
* update snapshot
2020-02-10 11:32:37 +08:00
Rick Zhou
4fa525b8a0
avoid reading innerText ( #21217 )
...
this resolves https://github.com/ant-design/ant-design/issues/21160
2020-02-04 17:10:28 +08:00
二货机器人
92998e67ef
refactor: Button disable autoInsertSpaceInButton
will not calculate text length ( #21176 )
...
* skip check
* add test case
2020-02-02 18:03:38 +08:00
二货机器人
3fa274190e
Remove magic number of style align ( #20869 )
...
* fix: Adjust baseline align
* clean up
* Select style
* fix lint
2020-01-13 19:36:27 +08:00
信鑫-King
27f1835965
chore: dark site images address ( #20796 )
...
* fix: dark site images address
* fix: snapshot
2020-01-09 15:28:52 +08:00
zombiej
ff6c91537d
docs: Fix typo
2020-01-06 10:38:51 +08:00
信鑫-King
cb528da8ed
fix: dark theme in 4.0 ( #20642 )
...
* fix: rtl direction bug
* 📝 dark theme usage docs
* fix: sketch download
* fix: theme dark
* 📝 empty image
* fix: dark form with mixture components like picker, input
* 📝 update sketch release download
* fix: remove inline-menu sub shadow
2020-01-03 19:00:01 +08:00
afc163
b15136f41f
📝 optimize button usage
2020-01-03 15:38:52 +08:00
afc163
7e1dc348a9
✅ update snapshots
2020-01-03 15:38:51 +08:00
afc163
e1262b0d1d
📝 optimize button docs and demos
2020-01-03 15:38:50 +08:00
二货机器人
5ebac5f9d6
feat: Form & ConfigProvider support component size ( #20570 )
...
* feat: Support form & ConfigProvider set component size
* update snapshot
* fix lint
* rm only
* update doc
* Table & Card support sizing
* Update snapshot
* fix lint
* update snapshot
* flush rest snapshot
2020-01-03 13:38:16 +08:00
Saeed Rahimi
676de29eb4
feat: added rtl direction to all of ant-design components ( #19380 )
...
* rtl demo change en-us description
* change bundlesize css limit
* RTL: modal component (exclude confirm)
* RTL: table component
* RTL: pagination component
* cleanup rtl demo
* fix pagination.tsx compile error
* RTL: button and button-group
* RTL: Steps component
* fix rtl demo style
* fix input suffix icon alignment
* fix select component arrow issue
* RTL: form component
* add pagination rtl test
* fix test lint error
* RTL: rate component
* RTL: radio and radio group components
* RTL: tree-select component
* some fixes to RTL components
* RTL: badge component
* fix rtl issue in inline form
* fix input component rtl padding issue
* fix switch component text rtl issue
* fix table grouped header text-align
* add rtl support to whole demo with RTL button
* Update rtl demo responsive
* RTL: page-header component
* RTL: typography component
* RTL: Dropdown (Partial)
* update config-provider doc
* RTL: input component
* RTL: select component
* RTL: switch component
* RTL: tree component
* fix rtl demo lint
* rtl demo change en-us description
* RTL: modal component (exclude confirm)
* RTL: table component
* RTL: pagination component
* cleanup rtl demo
* RTL: button and button-group
* RTL: Steps component
* fix rtl demo style
* fix input suffix icon alignment
* RTL: form component
* RTL: rate component
* RTL: radio and radio group components
* RTL: tree-select component
* RTL: badge component
* fix rtl issue in inline form
* fix input component rtl padding issue
* add rtl support to whole demo with RTL button
* fix lost changes after rebase
* fix lint errors
* RTL: Transfer Component
* RTL: upload component
* RTL: update avatar demo
* RTL: comment component
* RTL: collapse component
* RTL: carousel component
* update snapshots
* RTL: Card component
* RTL: descriptions component
* RTL: Empty component
* RTL: list component
* RTL: slider component
* slider component import/order
* add shared rtlTest
* RTL: Statistic component
* RTL: tooltip components
* RTL: popover component
* RTL: timeline component
* RTL: tag component
* RTL: alert component
* RTL: drawer component
* RTL: Tab component
* change direction definition
* RTL: progress component
* input.tsx, remove duplicate after rebase
* fix demo.less after rebase
* fix ant-row-rtl after rebase
* fix upload issues in rtl
* badge rtl demo margin fix
* fix: tabs with icon margin
* fix: radio-wrapper margin
* fix: table component after rebase
* fix: centered modal text-align
* update slider snapshot
* RTL: popconfirm component
* RTL: back-top component
* RTL: spin component
* RTL: result component
* RTL: skeleton component
* RTL: menu component
* RTL: time-picker component
* RTL: calendar component
* RTL: date-picker component
* RTL: home page
* update snapshots
* test: add auto-complete rtl test
* test: add avatar component rtl tests
* test: add badge component rtl tests
* test: add breadcrumb component rtl tests
* test: add button components rtl tests
* test: add card component rtl tests
* test: add carousel component rtl tests
* test: add cascader component rtl tests
* test: add checkbox component rtl tests
* test: add collapse component rtl tests
* test: add comment component rtl tests
* test: add dropdown component rtl tests
* test: add empty component rtl tests
* test: add form component rtl tests
* test: add grid component rtl tests
* test: add input component rtl tests
* test: add search component rtl tests
* test: add input-number component rtl tests
* test: add layout component rtl tests
* test: add list component rtl tests
* test: add mentions component rtl tests
* test: add modal component rtl tests
* test: add page-header component rtl tests
* test: add pagination component rtl tests
* test: add radio component rtl tests
* test: add rate component rtl tests
* test: add select component rtl tests
* test: add slider component rtl tests
* test: add steps component rtl tests
* test: add switch component rtl tests
* test: add table component rtl tests
* test: add transfer component rtl tests
* test: add tree component rtl tests
* test: add tree-select component rtl tests
* test: add typography component rtl tests
* test: add upload component rtl tests
* test: add affix component rtl tests
* update calendar tests
* increase css file maxSize
* update snapshots
* remove workflows to allow push
* remove duplicate reverse prop from slider
* fix: remove table demo from config-provider
* fix: remove table demo from config-provider
* fix lint error
* Added direction property to ConfigProvider
* cascader rtl tests added
* update config-provider doc
* RTL: grid system
* RTL: input component
* RTL: switch component
* fix rtl demo lint
* RTL: modal component (exclude confirm)
* RTL: table component
* RTL: pagination component
* cleanup rtl demo
* fix pagination.tsx compile error
* RTL: button and button-group
* RTL: Steps component
* fix rtl demo style
* RTL: form component
* add pagination rtl test
* RTL: rate component
* RTL: radio and radio group components
* RTL: tree-select component
* RTL: badge component
* fix rtl issue in inline form
* fix input component rtl padding issue
* add rtl support to whole demo with RTL button
* RTL: input component
* RTL: select component
* RTL: switch component
* RTL: tree component
* fix rtl demo lint
* rtl demo change en-us description
* RTL: modal component (exclude confirm)
* RTL: table component
* RTL: pagination component
* cleanup rtl demo
* RTL: button and button-group
* RTL: Steps component
* fix rtl demo style
* fix input suffix icon alignment
* RTL: form component
* RTL: rate component
* RTL: radio and radio group components
* RTL: tree-select component
* RTL: badge component
* fix rtl issue in inline form
* fix input component rtl padding issue
* add rtl support to whole demo with RTL button
* input.tsx, remove duplicate after rebase
* fix ant-row-rtl after rebase
* update snapshots
* test: add cascader component rtl tests
* test: add pagination component rtl tests
* update calendar tests
* update snapshots
* fix: remove table demo from config-provider
* fix: remove table demo from config-provider
* fix lint error
* update direction.md icons
* dropdown and cascader default placement in rtl
* update snapshots
* fix lint errors
* remove duplicate import
* update snapshots
* update snapshot
* update calendar snapshot
* update snapshots
* integrate with new rc-picker
* update snapshots
* fix lint errors
* update snapshot
* update snapshots
* update snapshots
* update snapshots :|
* update snapshots
* fix compile error.
* fix typo after rebase
* update snapshots
* remove workflows to allow push
* update snapshots
* update snapshots
* fix dist error
* front-page css fix
* update snapshots
* fix lint and test issues
* restore cascader index.less
* update snapshots
* fix logo in rtl and demo controls
* ci errors
* resolve steps/index.tsx conflicts
* tooltip family demo remove inline style
* resolve table/Table.tsx conflicts
* resolve modal/Modal.tsx conflicts
* resolve cascader/index.tsx conflicts
* add workflows from upstream
* update snapshots
* revert logo to default
* fix codebox demo direction of placements
* resolve tooltip overlayClassName conflicts
* update snapshots
* update popover test
* fix: cascader miss popupClassName
* fix: fix select missing dropdownClassName
* chore: Update snapshot
* chore: Adjust menu use rtl logic
* docs: Update demo line color
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2020-01-02 19:10:16 +08:00
信鑫-King
f88f383be6
fix: dark site in Form and iframe change ( #20573 )
...
* fix: suggestion dark bg
* fix: demo use autoComplete="off"
* feat: support iframe theme change
* fix: iframe dark theme
* upd: test snapshot
* fix: lint
* fix: lint
* tweak: use theme-switcher to handle iframe and parent
* feat: support iframe theme change
* fix: dark shadow
* fix: layout style
* fix: dark site style
* fix: snapshot
2020-01-02 17:54:11 +08:00
ycjcl868
0903e3924c
fix: button dark hover,active
2019-12-31 15:12:18 +08:00
ycjcl868
f230ac58d6
fix: site dark, tweak style
2019-12-31 15:12:18 +08:00
ycjcl868
7c3beabd4c
fix: button ghost color
2019-12-27 10:16:02 +08:00
ycjcl868
0306096356
chore: update snapshot
2019-12-26 15:15:46 +08:00
ycjcl868
bd2633d303
Merge 4.0-prepare into feat-dark-palette
2019-12-25 21:13:07 +08:00
ycjcl868
4dc860decf
Merge origin/4.0-prepare into feat-dark-palette
2019-12-25 19:32:38 +08:00
zombiej
9e8ce489e9
merge master
2019-12-25 19:09:17 +08:00
骗你是小猫咪
0b0fd9a62c
refactor(Button): Back to inline-block ( #20440 )
2019-12-25 17:08:34 +08:00
ycjcl868
52e9c20b10
Merge origin/4.0-prepare into feat-dark-palette
2019-12-24 10:42:07 +08:00
偏右
8501b708ea
refactor: 📦 smaller bundlesize limit ( #20356 )
...
* 📦 samller bundlesize limit
* 🗑️ remove React static PropTypes
* 🗑️ remove react-lifecycles-compat
* 🗑️ remove matchMedia polyfill
* 🗑️ remove Transfer buggy lazy prop
* 🗑️ remove enquire.js dep
* 🗑️ remove Transfer lazy related code and fix ci
* 🗑️ remove used dom-closest
* ⚡ replace dom-scroll-into-view to scroll-into-view for bundle size
* ✅ fix eslint
* 🆙 upgrade browserslist
* ✅ fix test cases
* 🗑️ remove @ant-design/create-react-context
* 🆙 upgrade @ant-design/bisheng-plugin
* 🆙 upgrade rc-slider
* ✅ fix ci
* 🆙 upgrade rc-tabs and rc-mentions
* 📦 scroll-into-view -> scroll-into-view-if-needed
* remove unused devDep
* docs: 📝 update instruction about IE9/10
* 📦 reduce css bundle size by drop IE9/10 support
* 🆙 upgrade rc-upload
* 🗑️ drop unused swing motion css
* ✅ update upload snapshots
* 📦 lift css bundlesize limit to 55kb
2019-12-23 18:33:08 +08:00
ycjcl868
6477b46fa8
fix: data-theme
2019-12-23 17:16:26 +08:00
ycjcl868
194bf3603f
fix: site code action icon
2019-12-23 16:36:40 +08:00
骗你是小猫咪
5b29913174
refactor(Button): base style use flex ( #20300 )
...
* improvement(Button): base style use flex
* remove unnecessary style
* add vertical-align
* fix style lint order
* remove vertical-align and improve global line-height
* change line-height-base
* update form debug demo
2019-12-21 22:01:47 +08:00
vagusX
e0aeb4f4a9
fix: poweroff icon in button ( #20338 )
2019-12-19 11:51:12 +08:00
vagusX
871ab3da81
feat: add waring for icon props in Avatar, Button, Modal.method and Result ( #20226 )
2019-12-13 10:18:12 +08:00
ycjcl868
e15b9c5f37
fix: dark button color
2019-12-04 20:14:28 +08:00
偏右
43bf7965de
🐛 Fix Button text not align center in Chrome ( #20059 )
...
revert solution of 05181d552e
close #19972
close #20058
2019-12-03 18:06:07 +08:00
ycjcl868
e2251f515b
fix: @theme condition
2019-12-03 15:39:32 +08:00
ycjcl868
5590ba0d4e
Merge 4.0-prepare into fix-dark-theme
2019-12-01 22:46:15 +08:00
ycjcl868
327011da77
feat: @theme dark, default
2019-12-01 22:28:35 +08:00
zombiej
d76283f2b9
merge master
2019-12-01 21:46:17 +08:00
ycjcl868
b6b788b2e0
fix: stylelint fix
2019-11-29 09:04:39 +00:00
ycjcl868
09c00720b8
feat: add btn-default-ghost
2019-11-29 09:04:38 +00:00
ycjcl868
961cfeac43
test: update snapshot
2019-11-29 15:20:34 +08:00
ycjcl868
864ccc436e
fix: button danger link
2019-11-29 15:09:17 +08:00
ycjcl868
beaf521835
fix: remove button group demo
2019-11-29 14:31:03 +08:00
ycjcl868
6ca5628417
Merge 4.0-prepare into fix-button-demo
2019-11-29 14:27:47 +08:00
二货机器人
64b905e9bd
chore: Update @ant-design/icons
deps ( #19979 )
...
* update icons deps
* update all icon ref
* fix lint
* update snapshot
2019-11-28 12:34:33 +08:00
骗你是小猫咪
6030431121
fix(Button): Button disabled with loading not prevent pointer events ( #19958 )
2019-11-27 12:41:47 +08:00
ycjcl868
1d0f97d0a9
fix: lint
2019-11-25 07:02:24 +00:00
ycjcl868
ab15b3a84c
fix: remove danger warning
2019-11-25 07:02:24 +00:00
ycjcl868
37a85366f3
feat: add Button danger
2019-11-25 07:02:24 +00:00
ycjcl868
3a6c76ecc3
feat: Button add danger-default type
2019-11-25 07:02:24 +00:00
ycjcl868
0e1998f643
feat: Button danger-link
2019-11-25 07:02:24 +00:00
ycjcl868
b01bed3f6f
upd: snapshot
2019-11-25 07:02:24 +00:00
ycjcl868
ec0dba9323
fix: button group
2019-11-25 07:02:24 +00:00
ycjcl868
8f4c983e5a
fix: Button demo icon search use tooltip
2019-11-25 07:02:24 +00:00
ycjcl868
86db97b055
fix: remove Button dashed
2019-11-25 07:02:24 +00:00
ycjcl868
55e34f6ac1
fix: icon error
2019-11-25 07:02:24 +00:00
zhangyanling77
eb91cbdfab
feat: Button & Icon remove version column in 4.0-repare ( #19845 )
2019-11-21 10:16:58 +08:00
zombiej
7a12b2b1ae
merge master
2019-10-30 16:28:28 +08:00
afc163
1d1e197527
🐛 Fix Icon Button align issue
...
close #19392
2019-10-28 15:26:06 +08:00
vagusX
d25dff397d
Fix/legacy icon usage ( #19446 )
...
* fix: legacy icon usage in progress component demo
* fix: legacy icon usage in button test cases
2019-10-27 21:59:16 +08:00
Aaron Cawte
693d5a1434
General components doc tweaks ( #19416 )
...
* Documentation - Button Component
* Documentation - Icon Component
* Documentation - Typography component
2019-10-25 09:56:30 +08:00
zombiej
e129e8dc7e
merge master
2019-10-08 15:04:00 +08:00
afc163
47dee4c7d7
✅ fix eslint problems
2019-10-05 18:02:16 +08:00
zombiej
911867622e
merge master
2019-09-26 22:28:08 +08:00
afc163
913c5bbc47
🐛 Fix Button.Group large="size" icon only style
...
close #18993
2019-09-25 14:36:59 +08:00
zombiej
f30b92ec21
merge master
2019-09-17 19:31:37 +08:00
zombiej
fa8ddb4104
merge master
2019-09-16 11:23:26 +08:00
afc163
1903ae0c13
✅ fix test case of Button loading
2019-09-07 21:29:56 +08:00
afc163
4338a5b7cf
✅ add more test cases for Button
2019-09-07 21:29:56 +08:00
afc163
c2bcf44f62
💄 should not insert space to link button
...
close #18118
2019-09-07 21:29:56 +08:00
诸岳
495fc3a99a
Fix confilcts from master branch
2019-09-07 00:39:49 +08:00
afc163
9157bc99a9
🐛 Fix round button font size too large
2019-09-06 12:42:50 +08:00
zombiej
3d8a4f3612
merge master
2019-08-29 23:41:46 +08:00
afc163
4d0bd6b7da
🐛 Fix circle button is not circle
...
close #18509
2019-08-28 12:02:10 +08:00
afc163
f8ed99ab57
✅ missing components
2019-08-27 18:31:01 +08:00
afc163
a51f7a0508
✅ test unmount
2019-08-27 18:31:01 +08:00
Qhan W
cde78c8981
修复纯图标按钮在默认形状下不同大小均显示为正方形 ( #18458 )
2019-08-25 21:04:10 +08:00
偏右
8519734a5a
Merge pull request #18242 from RageBill/master
...
Fixed grammatical errors in Button and Icon documentation.
2019-08-13 16:00:47 +08:00
Kelvin Chu
4a54c5698c
Fixed grammatical errors in Button and Icon documentation.
2019-08-13 15:56:29 +08:00
vagusX
149729e524
use ant design icons 4.0 ( #18217 )
...
* feat: use @ant-design/icons@4.0
* feat: use createFromIconfontCN to make site works
* feat: update doc for Icon
* feat: use icon in component Alert
* feat: use icon in component Avatar
* feat: use icon in component Breadcrumb
* feat: use icon in component Button
* feat: use icon in component Cascader
* feat: use icon in component Collapse
* feat: use icon in component Datepicker
* feat: use icon in component Dropdown
* feat: use icon in component Form
* feat: use icon in component Input
* feat: use icon in component InputNumber
* feat: use icon in component Layout
* feat: use icon in component Mention
* feat: use icon in component Message
* feat: use icon in component Modal
* feat: use icon in component Notification
* feat: use icon in component PageHeader
* feat: use icon in component Pagination
* feat: use icon in component Popconfirm
* feat: use icon in component Progress
* feat: use icon in component Rate
* feat: use icon in component Result
* feat: use icon in component Select
* feat: use icon in component Step
* feat: use icon in component Switch
* feat: use icon in component Table
* feat: use icon in component Tab
* feat: use icon in component Tag
* feat: handle rest component which using Icon
* fix: remove unused vars
* feat: use latest alpha ant design icons
* fix: failed test in uploadlist.test.js
* test: update snapshot for icons
* doc: add Icon for site
* doc: use @ant-design/icons in site
* chore: use latest icons
* fix: tslint issue
* fix: test cases
* fix: types for react
* fix: lint rules for import orders
* fix: use @ant-design/icons@4.0.0-alpha.5 to avoid insert css in server render
* fix: eslint error in demo/**.md
* inject antd icons
* update snapshot
* fix site
* doc: update docs
* fix: code snippets icon in site
* feat: use latest @ant-design/icons
* fix: icon props in message
2019-08-13 14:07:17 +08:00
zombiej
1cb346573c
merge master
2019-08-12 13:34:23 +08:00
偏右
aa2ed79770
🐛 Fix Button loading prop warning ( #18208 )
...
close #18205
2019-08-11 16:32:55 +08:00
Meck Zhu
57833a260f
chore: fix css style
2019-08-09 17:16:20 +08:00
Amumu
187f8f8372
fix: button should accept title prop ( #18130 )
...
* pass title to button
* update
* update
2019-08-08 11:11:46 +08:00
Kelvin Chu
24ac6e5c86
Fixed typos and grammatical errors in Button and Tabs documentation.
2019-08-07 17:26:39 +08:00
afc163
05181d552e
🐛 Fix Button line-height style issue
...
close #18107
close #13214 too
caused by the fix of #12978
changing another way to fix #12978
2019-08-07 15:00:02 +08:00