二货爱吃白萝卜
752d671acb
feat: DatePicker support presets
( #38249 )
...
* chore: basic style
* chore: all of token spread
* chore: default presets style
* docs: update presets
* chore: fix style
* chore: fix ts
* test: Update snapshot
* test: Update snapshot
* test: Update snapshot
* test: update snapshot
* chore: bump bundle size
* test: update snapshot
* chore: update picker style
* chore: rm useless content
2022-10-28 16:44:19 +08:00
Chuns Chen
cc5c4fed51
refactor: locale files reference path ( #38194 )
...
* chore: add locale files to npm pkg
* docs: locale files reference path
* docs: fix locale path
* chore: bump @ant-design/tools
* refactor: default locale file
* chore: add site wepack alias
* chore: bump @ant-design/tools
* fix: site theme locale reference path
* chore: add locale files to eslint ignore
* fix: markdown demo unable to resolve path to module antd/locale
2022-10-26 14:38:54 +08:00
MadCcc
ffc09a2a0d
feat: compact theme ( #38105 )
...
* feat: compact theme
* chore: code clean
* chore: code clean
* chore: show dynamic theme in preview
* chore: code clean
* feat: compact algorithm
2022-10-25 17:04:36 +08:00
JarvisArt
a41e14dfaf
feat: Dropdown support menu and dropdownRender ( #37885 )
2022-10-23 00:33:45 +08:00
MadCcc
e382802f76
chore: update snapshot
2022-10-22 13:23:16 +08:00
MadCcc
ca72c10feb
Merge branch 'feature' into next-merge-feature
2022-10-22 13:14:19 +08:00
Yuki Zhang
9721ebe331
refactor: use Space.Compact for Dropdown.Button ( #38090 )
...
* feat: use Space.Compact for Dropdown.Button
* test: update button demo tests
* test: update config-provider demo tests
* fix: deps-lint-skip for dropdown
* fix: lint issue
2022-10-19 23:36:41 +08:00
MadCcc
659b89d5e6
fix: inherit default config ( #38089 )
...
* fix: inherit default config
* test: add test case
2022-10-18 23:18:11 +08:00
MadCcc
0a0f96798d
chore: snapshot
2022-10-14 12:11:43 +08:00
MadCcc
2471bf88aa
test: fix test
2022-10-11 21:33:29 +08:00
MadCcc
03a1ae427d
Merge branch 'feature' into next-merge-feature
2022-10-11 20:29:55 +08:00
二货机器人
5f28b2e5a4
chore: merge maaster
2022-10-11 14:54:30 +08:00
Zheeeng
dcac4f66a4
fix: signatures for Upload ( #37861 )
2022-10-06 18:53:06 +08:00
lijianan
09570f511f
refactor: delete defaultprops ( #37853 )
...
* refactor: delete defaultprops
* fix: update snap
* fix: update snap
* fix: fix
* fix: fix
* fix: fix
* fix: fix
2022-10-05 00:04:29 +08:00
Zheeeng
ea9b013bb1
refactor(locale): refine signature ( #37824 )
...
* chore: prefer using @internal annotation over other markups
* fix: typo
* fix: locale types
2022-10-01 22:17:14 +08:00
lijianan
480cb3cbc3
fix: remove defaultProps ( #37815 )
...
* fix: remove defaultProps
* fix: remove defaultProps
* fix: update snap
* fix: fix
* fix: fix
2022-09-30 15:58:34 +08:00
MadCcc
c61f283487
feat: switch motion ( #37658 )
...
* feat: switch motion
* chore: code clean
* feat: active text offset
* chore: update snapshot
2022-09-20 21:51:28 +08:00
MadCcc
415c22bc8c
refactor: menu theme style ( #37640 )
2022-09-19 22:17:26 +08:00
黑雨
65f067eb13
feat: Steps supports items ( #37531 )
...
* feat: support items
* feat: update demo
* test: update package
* test: update use type
* test: update for test
* test: update for lint
* feat: update doc
* test: update for lint
* test: update for lint
* test: update for lint
* test: add deprecated dome
* test: add deprecated dome
* doc: update doc
* feat: update package
* test: add test case
2022-09-16 15:52:14 +08:00
MadCcc
3515a40706
refactor: ConfigProvider theme API update ( #37568 )
...
* refactor: ConfigProvider theme support component alias
* test: fix test case
* chore: code clean
* test: fix lint
* test: fix tsx-demo
2022-09-15 21:26:04 +08:00
huisiyu
4692733ca9
fix(Popconfirm): the title element does not have padding when icon is not set and update jest snapshot ( #37384 )
2022-09-07 13:28:35 +08:00
MadCcc
870f9e504d
fix: v5 component style ( #37413 )
...
* fix: v5 component style
* chore: fix csp
2022-09-06 10:13:18 +08:00
MadCcc
5174024561
test: fix test
2022-09-05 22:02:23 +08:00
MadCcc
d5c17a9a7c
Merge branch 'master' into next-merge-master
2022-09-05 21:26:04 +08:00
MadCcc
e5e2159882
Merge branch 'feature' into master-merge-feature
2022-09-04 14:46:28 +08:00
TrickyPi
96759a1113
fix: align with the less algorithm for generating css variable value ( #37064 )
2022-09-01 11:34:32 +08:00
MadCcc
3a5a9385b6
test: fix lint
2022-08-30 14:14:26 +08:00
MadCcc
0d50767aa8
Merge branch 'master' into next-merge-master
2022-08-30 13:05:50 +08:00
Peritot Chan
2910313a47
fix: config provider theme active color not same in variable.less ( #37304 )
2022-08-30 11:42:52 +08:00
MadCcc
d2b219dbf8
fix: iconPrefixCls should affect cssinjs ( #37259 )
2022-08-26 19:31:53 +08:00
yykoypj
6b658dab76
feat: switch visible to open for Tooltip ( #37241 )
...
* feat: switch visible to open for Tooltip & Popover & Popconfirm
* fix lint
* fix: merge state
* chore: Update ts part
* test: add legacy test
* test: fix test case
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2022-08-26 17:17:13 +08:00
MadCcc
ec13e824be
feat: v5 shadow & colorPrimary ( #37254 )
...
* feat: v5 shadow
* chore: color lint
* test: fix test case
2022-08-26 16:05:16 +08:00
lijianan
60da9bfc61
test: remove Array.from() ( #37252 )
2022-08-26 15:25:01 +08:00
二货机器人
76eec57ddc
chore: Update snapshot
2022-08-26 14:12:42 +08:00
yykoypj
43d45330c5
feat: switch visible to open for Tooltip & Popover & Popconfirm ( #36807 )
...
* feat: switch visible to open for Tooltip
* feat: switch visible to open for Popover
* feat: switch visible to open for Popconfirm
* fix
* chore: resolve conflict
* test: fix test case
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2022-08-24 21:34:17 +08:00
二货机器人
9b99c815fa
Merge branch 'master' into feature-merge-master
2022-08-24 15:46:36 +08:00
二货机器人
d9a9fdc509
chore: merge next
2022-08-23 17:48:00 +08:00
yykoypj
3d8cd0b451
feat: switch visible to open for Modal ( #37084 )
...
* feat: switch visible to open for Modal
* test: depcated check
* docs: site api update
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2022-08-23 16:55:57 +08:00
yykoypj
766748a501
feat: change visible to open for drawer ( #36750 )
...
* feat: change visible to open for Drawer
* refactor: use open internal either
* feat: add warning when use visible
* test: Fix test
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2022-08-23 16:22:00 +08:00
lijianan
5c61ea7f57
test: config-provider case rewrite js => ts ( #37194 )
2022-08-23 15:40:32 +08:00
yykoypj
1919b5f7d9
feat: switch visible to open for Drawer ( #37047 )
...
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2022-08-23 14:52:37 +08:00
二货机器人
cf49149ce7
chore: merge master
2022-08-23 11:53:24 +08:00
lijianan
db0344c85f
test: migrate part of ConfigProvider tests ( #37142 )
...
* test: migrate part of ConfigProvider tests
* test: migrate part of ConfigProvider tests
* test: update snap
* test: update snap
* test: migrate part of ConfigProvider tests
* fix: commented error case
* chore: update snapshot name
* test: csp test case
* test: revert test case
* test: Update snapshot
* test: Update ser logic
* test: more cov
* test: cascader snapshit
* test: update match
* test: more detact
* test: more handler
* chore: Update snapshot
* test: Table test case
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2022-08-22 22:54:38 +08:00
github-actions[bot]
19acac6f80
chore: auto merge branches ( #37173 )
...
chore: next merge feature
2022-08-22 04:14:58 +00:00
yykoypj
f0e4963187
feat: switch filterDropdownVisible to filterDropdownOpen for Table ( #37026 )
...
* feat: table filterDropdownVisible to filterDropdownOpen
* chore: adjust prosp pass
* test: Update test case
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2022-08-22 11:19:53 +08:00
Dmitry Artamonov
a34c9cef7f
Fix: sortable columns are not indicated as such for screen readers ( #37167 )
2022-08-21 16:39:54 +08:00
MadCcc
f27cfe54d4
feat: v4 algorithm ( #37152 )
...
* feat: v4 theme
* feat: v4 dark theme
* feat: algorithm
* refactor: rename
2022-08-19 13:57:19 +08:00
yykoypj
42bbd9e24f
feat: change slide tooltip api ( #37043 )
...
* feat: change slide tooltip api
* fix
* fix
* fix: Slider test in config-provider
* fix: Slider test
* chore: adjust prosp pass
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2022-08-18 20:26:19 +08:00
lijianan
8010cd19b6
test: migrate part of DatePicker tests ( #37115 )
...
* test: migrate part of DatePicker tests
* test: migrate part of DatePicker tests
* fix: update snap
* test: migrate part of DatePicker tests
* test: migrate part of DatePicker tests
* test: migrate part of DatePicker tests
* test: migrate part of DatePicker tests
* test: migrate part of DatePicker tests
* test: migrate part of DatePicker tests
* test: remove useless methods
* test: add test ignore
2022-08-18 17:40:47 +08:00
二货机器人
25e001f8b5
chore: next merge feature
2022-08-18 17:24:39 +08:00
yykoypj
aa97494625
feat: change slide tooltip api ( #37000 )
...
* feat: change slide tooltip api
* fix: deprecated warning
* refactor: remove boolean type support for Slider tooltip
* feat: update warning text
* chore: fix typo
* chore: save prod perf
* test: back of test case
* chore: clean up
* chore: fix test require
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2022-08-17 15:47:22 +08:00
MadCcc
8c50cc135b
feat: algorithm array ( #37082 )
...
* feat: algorithm array
* chore: update deps
* chore: add default
2022-08-16 21:06:25 +08:00
MadCcc
dbff63666a
Merge branch 'master' into next-merge-master
2022-08-08 15:12:31 +08:00
clean99
1239910f66
test: change act import from utils use act wrap timer and not wrap fireEvent ( #36921 )
...
Co-authored-by: ian.xufeng <ian.xufeng@shopee.com>
2022-08-08 13:31:55 +08:00
二货机器人
394aba4afe
chore: merge master
2022-07-29 15:56:11 +08:00
MadCcc
d7c2f5f5d3
feat: menu theme implemented by design token ( #36738 )
...
* feat: menu theme implemented by design token
* test: fix test
* fix: lint
* fix: menu motion
* 偷偷加了几个token
Co-authored-by: 期贤 <qixian.cs@antgroup.com>
2022-07-28 20:33:10 +08:00
二货机器人
740d9f4111
fix: Drawer width with ptg ( #36729 )
...
* fix: Drawer width with ptg
* test:Update snapshot
2022-07-27 16:50:55 +08:00
二货机器人
d422d71c1e
refactor: Drawer refactor ( #36672 )
...
* chore: back part of styl
* chore: all basic
* test: part test case
* test: part test case
* test: more test case
* test: update snapshot
* test: demo test support
* test: update snapshot
* chore: adjust mock logic to inject on rc-drawer instead
* test: more snapshot
* chore: adjust pos
* chore: back of render
* test: drawer demo extends test
2022-07-25 21:04:43 +08:00
MadCcc
fafaa26797
refactor: colorBrand to colorPrimary ( #36616 )
...
* refactor: colorBrand to colorPrimary
* refactor: colorBgBase and colorTextBase
2022-07-20 18:35:09 +08:00
zombiej
c71ce67e14
chore: next merge feature
2022-07-19 17:51:35 +08:00
二货机器人
03ea767cad
fix: Form validate message shaking ( #36575 )
...
* refactor: move component out
* refactor: clean up code
* chore: stable it
* chore: back of container
* chore: adjust leave motion
* test: update snapshot
* chore: update motion logic
* fix: list start motion
* test: update snapshot
* test: update snapshot
* test: test for marginBottom
2022-07-19 16:01:31 +08:00
fairyland
8c9ad9b1b6
fix: form disabeld support Upload ( #36573 )
...
Co-authored-by: ranrui.cwj <ranrui.cwj@alibaba-inc.com>
2022-07-18 14:21:52 +08:00
MadCcc
dc017f5141
feat: dark color algorithm ( #36546 )
...
* feat: dark color algorithm
* test: fix lint
* chore: update colorError
* chore: color update
2022-07-15 19:27:29 +08:00
zombiej
5bd221ad39
chore: merge master
2022-07-12 17:09:43 +08:00
afc163
6497d0dfef
docs: moment version mismatched issue ( #36473 )
...
https://github.com/ant-design/ant-design/issues/36465#issuecomment-1181275538
2022-07-12 13:10:20 +08:00
MadCcc
f65c73fa2a
Merge branch 'master' into next-merge-master
2022-07-05 22:24:39 +08:00
MadCcc
8e27cf986f
chore: rm component less file ( #36244 )
...
* chore: rm component less file
* refactor: less file
* refactor: rm less
* refactor: rm page-header and comment
* chore: rm less in components
* chore: update dist config
* chore: update image test
* chore: update dekko
* chore: rm lib dekko
* chore: update dist dekko
* chore: udpate bundle size
* test: update snapshot
* test: rm theme test
* test: update snapshot
* test: update snapshot
* chore: copy reset.css
* test: update image test
* chore: copy reset.css to es
* chore: update site script
2022-07-05 21:55:21 +08:00
MadCcc
ab19033876
docs: replace lib with es ( #36367 )
2022-07-04 22:09:54 +08:00
二货机器人
9bc30d1ed1
fix: ErrorList shaking ( #36358 )
...
* fix: ErrorList shaking
* fix: React 18 test case
2022-07-04 13:32:48 +08:00
二货机器人
bd2b80fb88
chore: Use cssinjs createTheme
which support auto cache ( #36329 )
...
* chore: bump
* chore: use cssinjs cache version
2022-07-04 11:00:19 +08:00
MadCcc
9d7c11f391
Merge branch 'master' into next-merge-master
2022-07-03 09:42:26 +08:00
MadCcc
0a7b4d331d
fix: checkbox should be disabled by form ( #36345 )
...
* fix: checkbox should be disabled by form
* chore: code clean
* test: update snapshot
* chore: snapshot
2022-07-01 21:29:31 +08:00
MadCcc
8ab7851870
test: update snapshot ( #36344 )
...
* test: update snapshot
* test: update snapshot
2022-07-01 20:00:25 +08:00
二货机器人
66a3594e95
refactor: Provide top theme export and theme adjuster ( #36302 )
...
* chore: change theme mode
* refactor: export theme
* refactor: top of theme
* chore: map of token
* chore: fix lint
* chore: rename
* test: fix test case
2022-06-29 20:34:00 +08:00
MadCcc
8e4f1c6836
refactor: token update ( #36279 )
...
* refactor: token update
* chore: add js doc
* test: fix lint
* test: update test
2022-06-28 20:33:01 +08:00
二货机器人
fe907cc57b
refactor: Export theme useDesignToken as root hooks ( #36267 )
...
* refactor: export useDesignToken
* chore: site update
* chore: not conflict with react version
* chore: update snapshot
* chore: update snapshot
2022-06-28 15:38:30 +08:00
github-actions[bot]
17cc8dddda
chore: auto merge branches ( #36258 )
...
chore: merge master into next
2022-06-27 14:16:49 +00:00
MadCcc
932398333e
test: add override component token test ( #36257 )
...
* test: add override component token test
* test: update snapshot
2022-06-27 21:26:12 +08:00
MadCcc
483c8d39bd
refactor: wrap Wave with FC ( #36248 )
...
* refactor: wrap Wave with FC
* test: update test case
2022-06-27 16:57:34 +08:00
二货机器人
de2992f96f
chore: move path ( #36243 )
...
* chore: base move
* chore: all path
* chore: fix script
2022-06-27 14:25:59 +08:00
MadCcc
8f5e0d12ed
refactor: refactor token types ( #36242 )
...
* refactor: refactor token types
* chore: code clean
2022-06-27 11:54:31 +08:00
MadCcc
9f2f9bb57f
refactor: default theme with algorithm ( #36175 )
...
* refactor: alias token
* refactor: use palettes
* refactor: default theme
* chore: code clean
* refactor: component token
* feat: light tokens
* feat: add dark theme
* feat: dark derivative
* chore: code clean
* refactor: fix colorBgContainer
* refactor: rename token
* test: fix lint
* chore: code clean
* chore: code clen
* refactor: badge shadow color
* test: add test case
2022-06-24 11:11:42 +08:00
zombiej
8749c1ae04
chore: merge master
2022-06-22 15:18:03 +08:00
二货机器人
2c2c631bfd
chore: prettier components ( #36171 )
2022-06-22 14:57:09 +08:00
zombiej
91245c16ad
chore: merge master
2022-06-21 19:40:22 +08:00
龙风
1cec18e8eb
fix: component.displayName To distinguish the environment ( #36126 )
...
Co-authored-by: afc163 <afc163@gmail.com>
2022-06-21 10:24:52 +08:00
MadCcc
5639e1a5ba
feat: update token ( #36095 )
...
* feat: update token
* feat: update token
* fix: override ts definition
* fix: rename token
2022-06-17 18:47:47 +08:00
MadCcc
711601e93e
feat: support custom token ( #36057 )
...
* feat: useCustomToken
* feat: simplify useCustomToken
* test: fix lint
* feat: genGenComponentStyle
* test: fix lint
* feat: use prefixCls
* feat: default genStyleHook
* test: fix lint
* test: fix lint
* docs: add jsdoc
* feat: remove in useCustomToken params
* feat: useStyle
* feat: useStyel
* chore: code clean
2022-06-17 18:17:39 +08:00
iamkun
9cab0f3322
docs: update Day.js doc ( #35935 )
...
* docs: update dayjs doc
* docs: update dayjs doc
* chore: update doc
* chore: update doc
* chore: update doc
* chore: update doc
2022-06-13 14:03:43 +08:00
MadCcc
2fccf8aee9
fix: override token ( #35956 )
...
* fix: override token
* feat: format token correctly
* test: add test
2022-06-09 10:42:22 +08:00
MadCcc
10d7263e47
Merge remote-tracking branch 'origin/feature' into next-merge-feature
2022-06-02 17:31:46 +08:00
MadCcc
a5d8db0368
refactor: pagination mini className ( #35881 )
...
* refactor: pagination mini cls
* test: update snapshot
* test: update snapshot
* chore: code clean
* chore: code clean
* test: update snapshot
* test: update snapshot
2022-06-02 17:26:41 +08:00
MadCcc
47493c0e90
chore: collect statistic after compile ( #35813 )
...
* chore: collect statistic after compile
* chore: code clean
* chore: code clean
* chore: code clean
* chore: remove export in ConfigProvider
* chore: only lib
* test: fix lint
* chore: code clean
2022-05-30 20:22:48 +08:00
zombiej
300dddebbb
chore: next merge feature
2022-05-30 19:11:21 +08:00
二货机器人
99c16aa8d6
refactor: Fix Dropdown nesting menu injection logic ( #35810 )
...
* refactor: Dependency Inversion
* test: update snapshot
* test: Update snapshot
* test: more
* fix: table dropdown logic
* fix: menu lint
2022-05-30 19:06:51 +08:00
zombiej
7b92f24e2e
Merge remote-tracking branch 'origin/feature' into next
2022-05-27 23:19:39 +08:00
二货机器人
9578f06a3b
refactor: bump rc-collapse to stable dom ( #35781 )
...
* chore: bump rc-collapse to stable dom
* chore: clean up
2022-05-27 23:18:36 +08:00
zombiej
461b605555
chore: next merge feature
2022-05-27 16:40:17 +08:00
二货机器人
7a8fce504e
refactor: Collapse replace expandIconPosition with logical position ( #35770 )
...
* refactor: change collapse to logic position
* test: Update snapshot
* chore: force trigger CI
2022-05-27 16:07:32 +08:00
二货机器人
1ed1fda421
feat: Config provider pagination showSizeChanger ( #35750 )
...
* feat: support showSizeChanger
* test: test case
2022-05-26 17:14:05 +08:00
MadCcc
280f9a56a4
test: update snapshot
2022-05-25 15:42:35 +08:00
MadCcc
303c9884cb
docs: componentDisabled version ( #35730 )
2022-05-25 15:30:17 +08:00
MadCcc
25c4f7921e
test: fix lint
2022-05-25 15:10:54 +08:00
MadCcc
3dc72c00d0
Merge branch 'feature' into next-merge-feature
2022-05-25 15:02:26 +08:00
MadCcc
414f049697
feat: config provider support componentDisabled ( #35718 )
...
* feat: config provider support componentDisable
* test: update snapshot
* docs: update
* chore: code
2022-05-25 14:57:58 +08:00
MadCcc
2077af6795
feat: component token in statistic ( #35705 )
...
* feat: component token in statistic
* chore: rearrange
2022-05-24 19:48:44 +08:00
二货机器人
0ecddfdb0d
refactor: Popconfirm cssinjs ( #35683 )
...
* chore: init
* chore: part of
* fix: Buttons style
* chore: refactor dom structure
* test: Update snapshot
* test: more coverage
2022-05-23 20:34:20 +08:00
zombiej
f58efe9b32
chore: merge master
2022-05-23 14:37:16 +08:00
zombiej
cd0ace3d40
chore: merge master
2022-05-21 22:14:15 +08:00
Bart Piotrowski
4bccb9985a
fix: Remove Grid row and cell aria roles ( #35616 )
...
close https://github.com/ant-design/ant-design/issues/35549
2022-05-19 10:05:40 +08:00
章鱼
7fd093bd0a
docs: feat components TS demo ( #34742 )
...
* docs: add general components TS demo
* docs: add layout components TS demo
* docs: add navigation components TS demo
* docs: add data entry components TS demo
* chore(deps): add types for qs
* docs: add data display TS demo
* docs: add feedback components TS demo
* docs: add other components TS demo
* chore(deps): add types
* docs: unified demo code style
* docs: fix lint error
* docs: add demo TS type
* docs: fix demo TS type
* test: update snapshot
* docs: fix TS demo
* feat: update Rate character type
* docs: fix lint error
* feat: update Rate character type
* feat: update Rate character type
2022-05-19 09:46:26 +08:00
二货机器人
aa9815303f
refactor: with empty token ( #35606 )
...
* refactor: with empty token
* chore: patch
* chore: more toke
* chore: add seedToken
* test: update snapshot
2022-05-18 15:37:27 +08:00
二货机器人
178d8d6f19
chore: Patch Notification tmpl ( #35568 )
...
* chore: init notification style
* chore: comment style
* chore: clean up recv deps
* chore: trigger
2022-05-16 18:02:46 +08:00
zombiej
8613d2ff2e
chore: merge feature
2022-05-16 17:16:52 +08:00
二货机器人
3d21ec54e2
refactor: reduce empty cycling deps ( #35570 )
...
* chore: rm in root
* chore: fix ts
* test: Update snapshot
* chore: ignore part
2022-05-16 16:34:42 +08:00
zombiej
1d1248c868
chore: fix demo of dayjs
2022-05-13 11:35:14 +08:00
zombiej
3a0c53470f
chore: merge master
2022-05-13 10:20:20 +08:00
MadCcc
2d70027f45
Merge branch 'master' into feature-merge-master
2022-05-12 15:56:18 +08:00
dingkang
be2b0d8a6e
docs: replace class component with hooks ( #35500 )
...
* docs(badge): replace class component with hooks
* docs(button): replace class component with hooks
* docs(calendar): replace class component with hooks
* docs(card): replace class component with hooks
* docs(button): replace class component with hooks
* chore(deps): remove webpack devDependencies
* docs(cascader): replace class component with hooks
* docs(checkbox): replace class component with hooks
* docs(collapse): replace class component with hooks
* docs(comment): replace class component with hooks
* docs(descriptions): replace class component with hooks
* docs(config-provider): replace class component with hooks
* docs(date-picker): replace class component with hooks
2022-05-11 19:43:54 +08:00
afc163
84a969e5e0
chore: sync master into next branch
2022-05-11 15:36:22 +08:00
二货机器人
2341a25d91
feat: refactor useNotification ( #35423 )
...
* more refactor
* chore: motion support
* chore: tmp test
* test: Hooks
* chore: static function
* tmp of it
* all of it
* mv prefix
* chore: clean up
* chore: clean up
* more test case
* test: all base test
* test: all test case
* init
* refactor: rm notification.open instance related code
* follow up
* refactor: singlton
* test: notification test case
* refactor to destroy
* refactor: message base
* test: part test case
* test: more
* test: more
* test: all test
* chore: clean up
* docs: reorder
* chore: fix lint
* test: fix test case
* chore: add act
* chore: back
* chore: fix style
* test: notification test
* test: more and more
* test: fix more test
* test: index
* test: more & more
* test: fix placement
* test: fix coverage
* chore: clean up
* chore: bundle size
* fix: 17
* chore: more
* test: message
* test: more test
* fix: lint
* test: rm class in static
* chore: clean up
* test: coverage
* chore: fix lint
2022-05-11 14:26:18 +08:00
Karott
338ec7dad7
perf: refactor devWarning for production code size ( #35411 )
...
* pref: better code style for production
* refactor `devWarning`
* don't use `useEffect` only wrap `devWarning`
* chore: add 'noop' to coverage
* chore: add test cases for devWarning
* chore: add test case
* chore: update test cases for devWarning
* chore: restore test script command
* fix: remove 'throw new Error'
* should not use `throw` for browser
* chore: update test case for AutoComplete
* perf: add prefix for `devWarning`
* update RegExp for UMD
* add prefix for ES and CJS
* chore: better code style
* perf:
* upgrade antd-tools
* remove `injectWarningCondition`
* rename `devWarning` to `warning`
* chore: better code style
* chore: better code style
* chore: restore hasValidName
2022-05-10 15:43:29 +08:00
MadCcc
24773d5796
test: lint
2022-05-09 22:20:07 +08:00
MadCcc
1f5e271eb6
Merge branch 'master' into next-merge-master
2022-05-09 21:26:25 +08:00
MadCcc
01ebb6a563
test: update snapshot ( #35452 )
2022-05-09 20:25:55 +08:00
afc163
594f138760
resolve conflict between feature and master
2022-05-08 17:01:54 +08:00
MadCcc
83ed62aa0e
Merge branch 'feature' into next-merge-feature
2022-05-07 15:19:54 +08:00
Tom Xu
1719748a29
chore: eslint add consistent-type-imports ( #35419 )
...
* chore: eslint add consistent-type-imports
* fix avatar
* Update Item.tsx
2022-05-07 14:31:54 +08:00
MadCcc
4184cc782c
Merge branch 'master' into feature-merge-master
2022-05-07 12:24:25 +08:00
Karott Schu
d07dcd46b7
fix(<Row/>): wipe out unnecessary prop ( #35409 )
...
* fix: wipe out unnecessary prop
* wipe out unnecessary prop(`row-gap: 0px`) on <Row />
* add test case
* chore: remove unnecessary import
* chore: add prop to Row and Col
* chore: update snapshot (Form/Grid/Card)
* chore: update snapshot
* chore: move location
2022-05-07 11:44:48 +08:00
二货机器人
69e1c33401
Merge pull request #34057 from ant-design/feat/momentjs-to-dayjs
...
feat(moment-to-dayjs): replace date-time lib Moment.js with Day.js
2022-05-06 20:22:04 +08:00
zombiej
84662ce774
chore: next merge feature
2022-05-06 18:46:16 +08:00
iamkun
7dd0bd396d
fix: update merge
2022-05-06 14:02:45 +08:00
github-actions[bot]
85707ff36f
chore: auto merge branchs ( #35347 )
...
chore: Feature merge master
2022-05-01 10:16:06 +00:00
zombiej
3e69660e52
chore: merge master
2022-05-01 16:32:08 +08:00
黑雨
b0a652580a
feat: Form disabled ( #35210 )
...
* feat: add form disabled
* feat: add form disabled
* feat: add radio disabled
* feat: update snap
* feat: add test case
2022-04-29 20:48:10 +08:00
afc163
5a6b3ccd98
fix: Table columns sorter a11y experience ( #35269 )
...
* Make table sortable columns focusable and keyboard accessible.
* Fix typo.
* Change focus style for sortable table column header from broken outline to color text.
* Update snapshots.
* Change order to fix lint error.
* Add unit test to test sorting with keypress.
* Update components/table/hooks/useSorter.tsx
* chore: improve code style
* style: use focus-visible
* fix: test case
* test: update snapshot
Co-authored-by: Katsiaryna Pustakhod <Katsiaryna_Pustakhod@epam.com>
2022-04-27 16:27:13 +08:00
afc163
08d1a71ff4
refactor: Move Upload from less to css in js ( #34528 )
...
* refactor: Upload to CSS-in-JS
* chore: clean up outdated code
* chore: add FIXME
* revert useless change of UploadList
* fix: upload animation
2022-04-25 18:46:53 +08:00
二货机器人
b4730281a9
refactor: Dropdown cssinjs support ( #35214 )
...
* chore: init
* chore: dropdown style
* chore: more style
* chore: icon style
* chore: more style
* chore: diff shows the cache path
* chore: motion support
* chore: more style
* feat: status
* chore: sub menu style
* chore: all dropdown style
* fix: ts
* chore: update snapshot
* Update components/dropdown/style/index.tsx
Co-authored-by: MadCcc <1075746765@qq.com>
* chore: update style
Co-authored-by: MadCcc <1075746765@qq.com>
2022-04-25 10:54:00 +08:00
zombiej
4607346d3c
chore: next merge master
2022-04-22 13:36:51 +08:00
二货机器人
f8d728161c
docs: Update demo with Space ( #35172 )
2022-04-22 13:35:27 +08:00
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
zombiej
7f54a459f6
test: Update snapshot
2022-04-18 22:37:28 +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
cd3471506c
test: fix jest snapshot
2022-04-15 23:07:05 +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