Commit Graph

14517 Commits

Author SHA1 Message Date
zombiej
af4fae1383 test: Update snapshot 2022-06-01 19:15:15 +08:00
zombiej
01dbe2ff25 chore: merge master 2022-06-01 18:46:38 +08:00
afc163
6423e22f78 chore: merge feature 2022-06-01 18:28:31 +08:00
MadCcc
e1b5595f83
chore: grid (#35847) 2022-06-01 16:59:43 +08:00
叶枫
c3fc5db788
fix: drawer close twice children is undefined (#35853)
* fix: drawer close twice children is undefined

* fix: drawer close twice children is undefined

* chore: code

* fix: test
2022-06-01 16:46:55 +08:00
zombiej
81a2b2dd06 chore: bump rc-dialog & update snapshot 2022-06-01 15:02:36 +08:00
yykoypj
7dc56e3f00
test: move test cases to @testing/library for List (#35850) 2022-06-01 13:45:51 +08:00
afc163
d13f02a89f
style: tweak Skeleton margin top style (#35848) 2022-06-01 13:14:05 +08:00
slotDumpling
1251a4e775
perf: active skeleton animated with transform (#35836)
* active skeleton animated with transform

* properties order fixed

* properties order fixed

* properties order fixed

Co-authored-by: afc163 <afc163@gmail.com>
2022-06-01 12:13:09 +08:00
MadCcc
a434ec7614
refactor: Steps full token (#35841)
* refactor: steps full token

* refactor: progress dot

* refactor: no hard code

* refactor: token optimization
2022-06-01 11:19:05 +08:00
二货机器人
7b73b62c57
refactor: full token (#35845) 2022-06-01 11:16:52 +08:00
二货机器人
997cafaeae
refactor: full token of Radio (#35838)
* refactor: full token

* chore: fix lint
2022-06-01 10:14:57 +08:00
yykoypj
166100ee1b
test: move test cases to @testing/library for Drawer (#35839) 2022-06-01 09:40:25 +08:00
MrHadEnough
cfd25f9650
docs: fix typo of Menu items code example (#35832) 2022-05-31 21:05:53 +08:00
二货机器人
3b1539c711
refactor: full token (#35834) 2022-05-31 20:32:00 +08:00
二货机器人
1c07387fda
refactor: Tag full token (#35830) 2022-05-31 18:30:17 +08:00
afc163
6ced6c33f4
fix: Progress type="line" strokeLinecap (#35822) 2022-05-31 13:42:53 +08:00
Yuki Zhang
b46e839a5f
test: move test cases to @testing/library for Modal (#35785)
* test: move test cases to @testing/library for Modal

* update

* fix: test

* test: add test case for mouse position

* chore: revert
2022-05-31 10:29:13 +08:00
afc163
9b95a30ec9
refactor: Table to CSS-IN-JS (#35584)
* style: add basic styles of table

* style: add basic border styles of table

* style: add more styles of table

* style: add more styles of table

* style: add pagination and summary styles

* add more styles

* style: add cell-ellipsis styles

* style: add Radius style

* style: add basic styles of table

* style: add basic border styles of table

* style: add more styles of table

* style: add more styles of table

* style: add pagination and summary styles

* add more styles

* style: add cell-ellipsis styles

* style: add Radius style

* style: add sorter style

* style: add sorter style

* style: add filter style

* style: add filter style

* style: add filter style

* style: fix filter and sort style

* style: fix bordered style

* style: fix bordered style

* style: fix bordered style

* style: add size style

* style: fix size style

* style: add selection style

* style: format code

* style: add sticky code

* style: add expand code

* style: add expand code

* style: add expand code

* style: add fixed code

* add fixed style

* style: fix diff place

* style: use number as px string

* chore: improve function name

* chore: use token

* style: rtl styles

* chore: fix marigin and padding logical properties

* fix: rtl styles

* fix: table filter dropdown style

* chore: remove useStyle

* chore: revert classNames

* fix: test case

* fix shadow in rtl

* Apply suggestions from code review

* chore: sub filter tree

* style: fix tree dropdown padding

Co-authored-by: zombiej <smith3816@gmail.com>
2022-05-31 10:10:35 +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
099322af16 chore: resolve injection 2022-05-30 19:13:16 +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
yykoypj
8281c064cf
test: move test cases to @testing/library for Image (#35806) 2022-05-30 13:47:13 +08:00
afc163
8511d92083
Merge branch 'next' into next-merge-master 2022-05-30 11:05:04 +08:00
二货机器人
145da279d6
refactor: Full token of collapse (#35789)
* chore: init

* chore: full token

* chore: orign it

* chore: revert empty line
2022-05-30 10:20:03 +08:00
yykoypj
f64291689c
test: move test cases to @testing/library for Tabs (#35796) 2022-05-29 22:50:31 +08:00
afc163
596d24e4e5 Merge branch 'feature' into master-merge-feature 2022-05-29 20:21:51 +08:00
afc163
7ee32705f8 Merge branch 'master' into next-merge-master 2022-05-29 20:19:49 +08:00
yykoypj
4bac35d320
test: move test cases to @testing/library for Avatar (#35791) 2022-05-28 23:01:05 +08:00
Gabriel Haruki
363e077298
docs: add note to custom BackTop demo (#35625)
* docs: add note to custom BackTop demo

* Apply suggestions from code review

Co-authored-by: afc163 <afc163@gmail.com>
2022-05-28 15:31:13 +08:00
Long Hao (龙濠)
e7393ee97e
test: Replace card component test with testing lib (#35751)
* test: Replace card component test with testing lib

* test: update the snapshot
2022-05-28 14:47:29 +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
zombiej
bd2b726199 chore: feature merge master 2022-05-27 16:13:19 +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
二货机器人
024d5cfad9
refactor: full token of avatar (#35764) 2022-05-27 13:37:24 +08:00
二货机器人
7802029ea4
refactor: Full token popover (#35712)
* refactor: full token

* chore: rest token

* docs: revert

* refactor: remove hardcode arrow position

* refactor: remove arrow hack part

* chore: code clean

Co-authored-by: MadCcc <1075746765@qq.com>
2022-05-27 11:07:58 +08:00
MadCcc
53c1b3fce2
refactor: progress full token (#35745)
* refactor: progress full token

* refactor: token

* refactor: more token
2022-05-27 10:47:28 +08:00
MadCcc
d797dfc0ff
docs: fix skeleton demo (#35760) 2022-05-26 23:33:46 +08:00
Long Hao (龙濠)
c644371533
fix: the ts wrong of card inteface (#35753)
* fix: the ts wrong of card inteface

* fix: add export cardproprs

* feat: add card type test
2022-05-26 20:50:16 +08:00
二货机器人
1ed1fda421
feat: Config provider pagination showSizeChanger (#35750)
* feat: support showSizeChanger

* test: test case
2022-05-26 17:14:05 +08:00
MadCcc
24f684925a
refactor: spin full token (#35746)
* refactor: spin full token

* refactor: rename token
2022-05-26 16:05:21 +08:00
dingkang
34299b39ea
docs(message): use message hooks api (#35691)
* docs(message): use message hooks api

* docs(message): 保留一个静态方法调用

* docs: move docs demo order
2022-05-26 09:53:08 +08:00
MadCcc
1d14f2eb6b
refactor: message full token (#35741)
* refactor: message full token

* chore: code clean

* refactor: update padding
2022-05-26 09:52:18 +08:00
MadCcc
a07b3d86ef
fix: segmented group style (#35743) 2022-05-26 09:14:09 +08:00
MadCcc
e9e8419b19
fix: menu inline & vertical border (#35742) 2022-05-26 01:36:39 +08:00
zhao-huo-long
1fda3ece9e
docs(select): fix type (#35726)
* fix: demo ts type

* mend

* Update select-users.md
2022-05-25 21:10:07 +08:00
社长长
990a602636
test: Replace alert part test with testing lib (#35736)
Co-authored-by: chenkan1 <chenkan1@huya.com>
2022-05-25 20:31:36 +08:00
MadCcc
8ae27860eb
Merge branch 'next' into next-merge-feature 2022-05-25 17:09:14 +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
Cong Zhang
8b802bbbef
test: moving to testing-library in Tree (#35674) 2022-05-25 15:28:47 +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
6c0d45a220
fix: Popover arrow style (#35717) 2022-05-25 14:01:29 +08:00
MadCcc
e9e2d18121 Merge branch 'master' into feature-merge-master 2022-05-25 11:03:13 +08:00
叶枫
5e5ad935a4
fix: drawer can not ref form instance when open (#35706)
* fix: drawer can not ref form instance when open

* fix: test

* feat: div ref

* feat: test

* feat: test

* feat: test

* feat: test
2022-05-25 10:50:12 +08:00
MadCcc
9a98a1c5db
refactor: description full token (#35697)
* refactor: description full token

* chore: increase bundle size

* Revert "chore: increase bundle size"

This reverts commit d53cb02677.

* Revert "Revert "chore: increase bundle size""

This reverts commit f8a04305a6.

* chore: token

* chore: token
2022-05-25 10:36:05 +08:00
PCCCCCCC
1d09d6fe0c
Replace part of the Demo of the notification with the hooks (#35710)
* docs: modify the part demo to hooks

* docs: modify the part demo to hooks
2022-05-25 10:14:51 +08:00
Niyaz Akhmetov
56bcd1ee9f
docs: fix mistype (#35714) 2022-05-24 22:33:22 +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
二货机器人
8d558202cb
refactor: alert full token (#35702)
* refactor: alert full token

* chore: bump bundle size

* fix: miss token
2022-05-24 15:45:41 +08:00
vagusX
95f56f6d20
fix: division in less for Segmented (#35701)
* fix: division in less for Segmented

* fix: update
2022-05-24 14:50:43 +08:00
MadCcc
9f2b08c700
refactor: timeline full token (#35686)
* refactor: timeline full token

* chore: code clean

* chore: code

* fix: custom head padding
2022-05-24 12:03:16 +08:00
TrickyPi
49bd49f711
refactor(message): refactor to cssinjs (#35565) 2022-05-24 09:29:33 +08:00
Peach
3c506b86b3
refactor: cssinjs for Breadcrumb (#35125)
* feat: add override token for breadcrumb

* refactor: cssinjs for Breadcrumb

* fix: hover color

Co-authored-by: MadCcc <1075746765@qq.com>
2022-05-24 01:13:36 +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
8ca928d153 test: update snapshot 2022-05-23 16:23:21 +08:00
zombiej
3a4d399248 chore: merge feature 2022-05-23 15:52:14 +08:00
二货机器人
8a6874cba3
refactor: align with popover (#35676) 2022-05-23 15:41:59 +08:00
zombiej
23c4e1cff5 test: Update snapshot 2022-05-23 14:53:04 +08:00
zombiej
f58efe9b32 chore: merge master 2022-05-23 14:37:16 +08:00
二货机器人
47d73d8e33
Refactor: Menu full token (#35650)
* chore: more style

* chore: more style

* chore: more and more

* chore: more and more

* chore: all about it

* chore: more style

* chore: more & more

* chore: more

* chore: hover style

* chore: theme of it

* move

* chore: status color

* chore: full token

* chore: update

* chore: update

* chore: force cache update

* chore: force cache back

* fix: commented
2022-05-23 10:58:30 +08:00
zombiej
1a652464f8 chore: fix lint 2022-05-21 23:22:37 +08:00
zombiej
ad9e5b0fce docs: more doc 2022-05-21 23:12:09 +08:00
zombiej
8fa8ec97f8 docs: more doc 2022-05-21 23:04:51 +08:00
zombiej
aeafcd5493 chore: sync master style 2022-05-21 22:53:33 +08:00
zombiej
409eee2254 test: Update snapshot 2022-05-21 22:32:35 +08:00
zombiej
cd0ace3d40 chore: merge master 2022-05-21 22:14:15 +08:00
Zack Chang
042c718976
test: refactor test cases of Timeline with testing library (#35654)
* test: refactor test cases of TimeLine

* fix: lint errors
2022-05-20 19:47:36 +08:00
MadCcc
3a388d24b7
refactor: notification full token (#35656)
* refactor: notification full token

* chore: code clean

* test: fix lint
2022-05-20 17:40:03 +08:00
dingkang
8af11c6ef5
docs(mentions): fix debounce demo bug (#35653) 2022-05-20 15:34:02 +08:00
MadCcc
d560df6dfc
refactor: picker full token (#35615)
* refactor: picker full token

* refactor: calendar full-token

* refactor: calendar token

* refactor: less token

* chore: less token

* feat: token optimize
2022-05-20 14:33:33 +08:00
黑雨
905eada4a4
test: improve Select test case (#35633) 2022-05-20 12:18:27 +08:00
dingkang
40e3d7a053
docs: Convert part demo to ts version (#35641)
* 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

* docs(drawer): replace class component with hooks

* docs(dropdown): replace class component with hooks

* docs(dropdown): replace class component with hooks

* docs(empty): replace class component with hooks

* docs(grid): replace class component with hooks

* docs(input): replace class component with hooks

* docs(input-number): replace class component with hooks

* docs(demo): fix lint error

* docs(layout): replace class component with hooks

* docs(list): replace class component with hooks

* docs(mentions): replace class component with hooks

* docs: fix code review issue

* docs(modal): replace class component with hooks

* docs(pagination): replace class component with hooks

* docs(popconfirm): replace class component with hooks

* docs(popover): replace class component with hooks

* docs(progress): replace class component with hooks

* docs(rate): replace class component with hooks

* docs(radio): replace class component with hooks

* docs: jsx to TS demo
2022-05-19 20:02:56 +08:00
黑雨
370960ed6d
feat: add-testing-lib (#35626) 2022-05-19 16:27:24 +08:00
Yuki Zhang
651dae1430
refactor: use text-align instead of flex for modal confirm bottom btns (#35630) 2022-05-19 16:25:37 +08:00
二货机器人
b67bae6a6e
refactor: Layout full token (#35628)
* refactor: Layout full token

* chore: commenr
2022-05-19 16:23:12 +08:00
二货机器人
61740a616a
chore: full token of carousel (#35624) 2022-05-19 14:00:04 +08:00
yykoypj
10964f158c
fix: incorrect position of picker popup (#35620)
Co-authored-by: yangpj17 <yangpj17@chianunicom.com>

close #35590
2022-05-19 11:15:07 +08:00
vagusX
dd0b9d91ed
test: move test cases to @testing/library for Result (#35621) 2022-05-19 10:18:17 +08:00
zombiej
360b994d81 chore: patch upload thumbnil size to fontSizeHeading version 2022-05-19 10:08:08 +08:00
二货机器人
9669d9c668
refactor: Upload full token (#35617)
* chore: full token

* chore: fix lint
2022-05-19 10:06:58 +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
dingkang
e5b09aa879
docs: replace class component with hooks (#35613)
* 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

* docs(drawer): replace class component with hooks

* docs(dropdown): replace class component with hooks

* docs(dropdown): replace class component with hooks

* docs(empty): replace class component with hooks

* docs(grid): replace class component with hooks

* docs(input): replace class component with hooks

* docs(input-number): replace class component with hooks

* docs(demo): fix lint error

* docs(layout): replace class component with hooks

* docs(list): replace class component with hooks

* docs(mentions): replace class component with hooks

* docs: fix code review issue

* docs(modal): replace class component with hooks
2022-05-18 19:29:01 +08:00
joson
c52f19ac46
style: anchor text is overwritten (#35612)
Co-authored-by: hezhaoshun <hezhaoshun@cmcm.com>
2022-05-18 18:21:22 +08:00
zombiej
5e910e74c1 docs: Fix DatePicker throw demo 2022-05-18 17:25:40 +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
miracles1919
591224681d
fix: Collapse arraw position in rtl mode (#35587) 2022-05-18 13:35:09 +08:00
MadCcc
6817db7b52
feat: table rowSelection.onChange support type (#35598)
* feat: table rowSelection onChange support method

* docs: update

* chore: rename param

* test: update

* test: update
2022-05-18 11:59:00 +08:00
Amumu
b222f93cc5
feat: add a new locale tk_TK (#35605)
* feat: add a new locale tk_TK

* fix: fix moment locale
2022-05-18 11:20:53 +08:00
二货机器人
950ce9625d
chore: full token (#35599) 2022-05-17 21:57:22 +08:00
MadCcc
719ba6b92e
refactor: drawer full token (#35596) 2022-05-17 20:22:26 +08:00
PCCCCCCC
397fa6172d
Refactor:Component Notification Less to cssinjs (#35559)
* refactor: complete the basic less refactor

* refactor: complete the Notification part of placement

* refactor: complete the Notification part of RTL

* refactor: add necessary FIXME for Notification

* chore: remove useless code for Notification

* style: remove useless code

* refactor: fix the float style issue
2022-05-17 20:15:34 +08:00
github-actions[bot]
0b780574ae
chore: auto merge branchs (#35597)
chore: feature merge master
2022-05-17 11:42:21 +00:00
MadCcc
440d84b52f
refactor: Empty use genComponentStyleHook (#34900)
* refactor: Empty use genComponentStyleHook

* chore: code clean

* chore: code clean

* test: fix lint

* chore: use import type

* chore: export

* test: fix ci

* chore: code clean

* chore: avoid default export

* chore: code clan
2022-05-17 18:39:13 +08:00
afc163
f9f3a0e604
style: fix Table header border when has rowSpan (#35591)
close #35577
2022-05-17 18:19:17 +08:00
二货机器人
a09333d287
chore: full token of anchor (#35588)
* chore: full token of anchor

* chore: rename
2022-05-17 18:04:24 +08:00
zombiej
ee8ce6c916 Merge remote-tracking branch 'origin/master' into next 2022-05-17 17:30:49 +08:00
dingkang
196a4351e3
docs: replace class component with hooks (#35580)
* 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

* docs(drawer): replace class component with hooks

* docs(dropdown): replace class component with hooks

* docs(dropdown): replace class component with hooks

* docs(empty): replace class component with hooks

* docs(grid): replace class component with hooks

* docs(input): replace class component with hooks

* docs(input-number): replace class component with hooks

* docs(demo): fix lint error

* docs(layout): replace class component with hooks

* docs(list): replace class component with hooks

* docs(mentions): replace class component with hooks

* docs: fix code review issue
2022-05-17 10:19:38 +08:00
joson
bcc3274260
chore: delete extra spaces (#35582)
Co-authored-by: hezhaoshun <hezhaoshun@cmcm.com>
2022-05-16 21:10:20 +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
MadCcc
6dee8254de
refactor: List full token (#35571)
* refactor: List full token

* feat: line type

* feat: contentWidth

* fix: capitalize
2022-05-16 17:52:35 +08:00
zombiej
8613d2ff2e chore: merge feature 2022-05-16 17:16:52 +08:00
github-actions[bot]
91181c5b56
chore: auto merge branchs (#35572)
chore: feature merge master
2022-05-16 09:03:24 +00: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
miracles1919
aefba96f13
refactor: cssinjs for Transfer (#35508)
* refactor: Transfer cssinjs

* chore: add fixme

* chore: fix lint

* chore: fix lint

* chore: bundle size

* chore: fix test

* refactor: adjust status style
2022-05-16 12:21:14 +08:00
叶枫
644e4bfc6a
fix: drawer close speed (#35339)
* fix: drawer close speed

* chroe: snap

* chroe: test

* chroe: test

* feat: remove file

* feat: 重新整理

* feat: forceRender

* feat: snap

* chroe: test

* chroe: test

* chroe: test

* feat: create event

* feat: diff code

* feat: forceRender

* chore: test (#35364)

* Update components/drawer/index.tsx

Co-authored-by: afc163 <afc163@gmail.com>

* feat: remove load state

* feat: test

* fix: destroyOnClose

* feat: add load

* fix: update snap

* fix: update snap

* feat: reset test

* feat: docs

* feat: test

* feat: test

Co-authored-by: afc163 <afc163@gmail.com>
2022-05-16 10:14:26 +08:00
github-actions[bot]
fb9c2fc51e
chore: auto merge branchs (#35553)
chore: merge master into next
2022-05-14 10:03:09 +00:00
afc163
46df154ce4
chore: deprecated rowSelection.onSelectNone and onSelectMultiple (#35545) 2022-05-14 16:41:34 +08:00
dingkang
58df74c38e
docs: replace class component with hooks (#35519)
* 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

* docs(drawer): replace class component with hooks

* docs(dropdown): replace class component with hooks

* docs(dropdown): replace class component with hooks

* docs(empty): replace class component with hooks

* docs(grid): replace class component with hooks

* docs(input): replace class component with hooks

* docs(input-number): replace class component with hooks

* docs(demo): fix lint error
2022-05-14 16:40:42 +08:00
二货机器人
f56e66a262
fix: Picker focus & blur not working (#35552) 2022-05-14 16:34:35 +08:00
vagusX
e629b39c20
test: moving to testing-library in Segmented (#35538)
* test(Segmented): moving to testing-library

* chore: cleanup

* fix: test

* test: use click instead of change to fire event

* Update index.test.tsx
2022-05-13 22:00:01 +08:00
MadCcc
99139aa77d
refactor: Card full token (#35514)
* refactor: card full tokn

* refactor: card token

* fix: border color
2022-05-13 16:38:33 +08:00
MadCcc
f07e538205 chore: lint 2022-05-13 14:50:32 +08:00
MadCcc
add47da233 Merge branch 'next' into next-merge-feature 2022-05-13 14:43:26 +08:00
MadCcc
a32f5d69f8 Merge branch 'feature' into next-merge-feature 2022-05-13 14:42:49 +08:00
Yuki Zhang
0846d4fce7
refactor: modal confirm button style (#35530)
* fix: modal rtl style

* fix: cannot use logic css

* chore: change css writing order
2022-05-13 14:40:56 +08:00
MadCcc
5d67d78611
refactor: modal full token (#35477)
* refactor: modal full token

* chore: code clean

* feat: fontSizeIconLG

* Revert "feat: fontSizeIconLG"

This reverts commit 4074f4887a.

* chore
2022-05-13 14:33:50 +08:00
github-actions[bot]
0d8fa8d1dd
chore: auto merge branchs (#35532)
chore: feature merge master
2022-05-13 03:59:13 +00:00
zombiej
1d1248c868 chore: fix demo of dayjs 2022-05-13 11:35:14 +08:00
MadCcc
d4f23bae2a
refactor: Card loading (#35525)
* feat: card loading with skeleton

* test: update snapshot

* test: add style deps

* chore: import
2022-05-13 11:32:40 +08:00
zombiej
88768e9687 Merge remote-tracking branch 'origin/master' into next-merge-master 2022-05-13 11:09:02 +08:00
二货机器人
d7cdd88e3a
test: Update snapshot (#35529) 2022-05-13 10:57:10 +08:00
zombiej
3a0c53470f chore: merge master 2022-05-13 10:20:20 +08:00
zombiej
e8d9c42565 test: Update snapshot 2022-05-13 10:14:09 +08:00
ty888
debd7f3496
fix(statistic): ignore the decimal part when the precision is negative (#35520) 2022-05-13 00:47:20 +08:00
MadCcc
b11cf22dd3 test: update snapshot 2022-05-12 23:23:51 +08:00
MadCcc
2d70027f45 Merge branch 'master' into feature-merge-master 2022-05-12 15:56:18 +08:00
MadCcc
b559a1fd1d
fix: calendar panel style (#35502) 2022-05-12 10:10:59 +08:00
Dunqing
77cad90c08
refactor: Calendar cssinjs (#34835)
* refactor: to cssinjs

* fix: css logical properties

* refactor: use mergeTokens handle customize token

* refactor: export genPanelStyle

* feat: add picker panel style

* fix: remove unused token

* refactor: replace arrowWidth with sizePopupArrow

* fix: add fixme

* fix: type error

* fix: remove arrowWidth

* fix: add fixme

* fix: remove comment

* fix: add fixme

* chore: code style

* test: fix lint

* test: fix lint

Co-authored-by: MadCcc <1075746765@qq.com>
2022-05-11 20:07:40 +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
vagusX
5d66b0ba3f
refactor: cssinjs for segmented (#35134)
* refactor: cssinjs for segmented

* fix: disabled styles

* feat: sync code from master
2022-05-11 19:35:00 +08:00
limingxin
765bc1effc
docs: Table QA about rowSelection renderCell (#35494)
* Update index.zh-CN.md

之前需要在 可选列的勾选框 中增加 Tooltip,没有在文档中找到相关的文档,通过搜索 issue,以为暂时不支持,看了源码才发现已经支持了。

所以想要完善一下文档,可以方便其他用户找到此内容。

* docs: Table QA about rowSelection renderCell

update US doc
2022-05-11 17:58:26 +08:00
miracles1919
19f55145c8
fix: tree checkbox margin in rtl mode (#35491) 2022-05-11 16:57:21 +08:00
afc163
2842524850 chore: sync master into next branch 2022-05-11 16:00:22 +08:00
afc163
84a969e5e0 chore: sync master into next branch 2022-05-11 15:36:22 +08:00
afc163
089dc7e36a docs: remove editable in table documentation
close
https://github.com/ant-design/ant-design/pull/35471#issuecomment-1123239879
2022-05-11 14:35:43 +08:00
Tony Wu
68a2f8b2ac
docs: indicate that menu items require keys (#35474) 2022-05-11 14:29:26 +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
miracles1919
d326765a6b
fix: tag line height (#35487) 2022-05-11 13:06:03 +08:00
MadCcc
da7f67db3f
fix: avatar rtl (#35486) 2022-05-11 11:33:40 +08:00
shuaijiumei
fc3688965d
refactor: progress cssinjs (#34692)
* refactor: progress cssinjs

* fix: delete the useless wrapSSR and hashId

* fix: delete the useless wrapSSR and hashId

* fix: delete the useless wrapSSR and hashId

* fix: delete the useless wrapSSR and hashId

* fix: delete the useless wrapSSR and hashId

* fix: delete the useless wrapSSR and hashId

* fix: delete the useless wrapSSR and hashId

* fix: delete the useless wrapSSR and hashId

* fix: delete the useless wrapSSR and hashId

* fix: delete the useless wrapSSR and hashId

* fix: delete the useless wrapSSR and hashId

* fix: ci fail

* fix: ci fail

* fix: ci fail rollback

* fix: single ''

* fix: single ''

* fix: single ''

* feat: update code

* feat: update code

* feat: update code

* feat: update code

* fix: RTL-model

* fix: RTL-model

* feat: new css-in-js type

* feat: new css-in-js type

* feat: new css-in-js type

* refactor: simplify the code

* refactor: Progress css in js

* test: fix lint

* fix: patch

* chore: code clean

* chore: code clean

Co-authored-by: MadCcc <1075746765@qq.com>
2022-05-11 10:52:10 +08:00
dingkang
5cf579c37a
docs: replace class component with hooks (#35472)
* 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
2022-05-10 20:49:42 +08:00
MadCcc
9ca7973521
refactor: image full token (#35465)
* refactor: image full token

* chore: remain switch size

* refactor: less token

* chore: text color
2022-05-10 17:30:01 +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
lalalazero
17cd13fe53
refactor: remove cascader displayRender warning (#35417)
* refactor: remove useless warning (#35291)

* refactor: remove useless test case

* docs: remove cascader tagRender
2022-05-10 13:57:38 +08:00
dingkang
f5831f121d
docs: replace class component with hooks (#35461)
* 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
2022-05-10 13:00:31 +08:00
MadCcc
cde2103e48
refactor: image full token (#35449)
* refactor: image full token

* refactor: less component token
2022-05-10 10:16:46 +08:00
Ron Šmeral
1d3fd70dbf
fix: bad List.Item type (#35454) (#35455)
Co-authored-by: Ron Smeral <ron.smeral@merck.com>
2022-05-10 10:01:11 +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
Yanming Deng
36ded1a741
docs: fix typo (#35439)
* chore: fixed typo

* chore: fixed typo+1
2022-05-09 18:09:02 +08:00
黑雨
42f91f970f
feat: edit date-picker to hook (#35425) 2022-05-09 10:34:10 +08:00
afc163
6ca32a6665
refactor: Progress type="circle" for some issues (#35433)
* refactor: Progress type="circle" for some issues

close #17706
close #35009
close #35352

* test: update progress snapshot

* docs: update linecap.md

* Update components/progress/demo/linecap.md

* test: update progress snapshot

* fix: rc-progress@~3.3.1

* fix: rc-progress@~3.3.2
2022-05-08 23:57:17 +08:00
Mykyta Velykanov
fcf2afd3fa
fix: add missing localizations (#35430)
* Add missing localizations

* Update snapshot
2022-05-08 22:35:46 +08:00
afc163
594f138760 resolve conflict between feature and master 2022-05-08 17:01:54 +08:00
foryuki
d21c7f8f4e chore: add fixme 2022-05-07 21:09:18 +08:00
foryuki
5b7fe58403 chore: remove useless code 2022-05-07 21:09:18 +08:00
foryuki
32850a1e6c feat: support rtl for modal confirm 2022-05-07 21:09:18 +08:00
foryuki
5a0329bb19 feat: cssinjs for confirm 2022-05-07 21:09:18 +08:00
foryuki
ca4af2b9e7 fix: modal mask 2022-05-07 21:09:17 +08:00
foryuki
11fb223bc0 feat: support ltr for modal 2022-05-07 21:09:17 +08:00
foryuki
65ae54ece7 fix: lint issues 2022-05-07 21:09:17 +08:00
foryuki
5f12d88c69 refactor: cssinjs for modal components/modal/style/modal.less 2022-05-07 21:09:17 +08:00
MadCcc
e9f22cf192 chore: code enhance 2022-05-07 15:38:00 +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
二货机器人
00fb82276f
Merge pull request #35396 from zpc7/test/transfer-tooltip-to-testing-library
Replace Tooltip test case with testing library
2022-05-07 14:04:15 +08:00
Tom Xu
d1f85d94e5
fix: List.Item typescript (#35418) 2022-05-07 14:03:41 +08:00
Tom Xu
5d2475a2a1
fix: List.Item ref (#35321)
* fix: list item ref

* add test

* improve
2022-05-07 13:34:40 +08:00
zpc7
bd31a6a46a Revert "test: replace some slepp with jest.runAllTimers"
This reverts commit ad886d1f65.
2022-05-07 13:05:11 +08:00
MadCcc
130b146590 chore: update snapshot 2022-05-07 12:27:03 +08:00
MadCcc
4184cc782c Merge branch 'master' into feature-merge-master 2022-05-07 12:24:25 +08:00
zpc7
ad886d1f65 test: replace some slepp with jest.runAllTimers 2022-05-07 12:09:25 +08:00
MadCcc
7873bf7f1c
fix: arrow style (#35401)
* fix: arrow style

* fix: raise arrow z-index

* fix: fix defualt arrow color

* fix: mix shadow

* chore: code clean

* chore: code clean

* fix: use fadeout instead

* test: fix style lint
2022-05-07 12:04:46 +08:00
parabolazz
9b56ad86fb
docs: explain Avatar fallback strategy (#35415)
The original description was unclear, incomplete, and confusing, requiring a look at the code to understand it, so I revised it to a more understandable version.
2022-05-07 11:56:03 +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
MadCcc
4734f65f2f
feat: focus menu item automaticly when focusing menu (#35407)
* feat: focus menu item automaticly when focusing menu

* chore: update mentions

* test: fix test case

* chore: decrease bundle size

* chore: increase bundle size
2022-05-07 11:36:34 +08:00
zpc7
22b89eea5a test: foreach all placement 2022-05-07 10:43:59 +08:00
zpc7
55f9e29360 test: remove some test case 2022-05-07 09:35:12 +08:00
zpc7
8ade7ab323 test: try to fix the pr check 2022-05-07 09:35:12 +08:00
zpc7
d9ce1ad14c ci: trigger the pr check 2022-05-07 09:35:12 +08:00
zpc7
8545647313 test: transfer tooltip test case to testing library 2022-05-07 09:35:12 +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