Commit Graph

14712 Commits

Author SHA1 Message Date
MadCcc
619d786948
refactor: Wave cssinjs (#36259)
* refactor: Wave cssinjs

* feat: enable hash

* refactor: tag & switch support wave

* chore: code clean
2022-06-28 01:49:37 +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
zombiej
b7013a138b chore: merge master 2022-06-27 14:55:59 +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
db62ade5f6
fix: popover arrow support custom color (#36241) 2022-06-27 10:57:42 +08:00
Tianyuan Zhang
93400e25ec
docs: update Tabs demo code (#36217)
* docs:update demo code

* docs: update Tabs demo code

* docs: update Tabs demo code
2022-06-24 18:08:17 +08:00
afc163
eeedb876c0
chore: fix eslint warning and bisheng terminal log (#36220)
* chore: fix eslint warning

* chore: fix bisheng log

* Update basic.md
2022-06-24 16:40:48 +08:00
afc163
d733de8f14
docs: update valueStyle description (#36226)
close #36219
2022-06-24 16:39:21 +08:00
Alan Deng
02a0e6f160
style: Skeleton.Button square shape style (#36123)
* refactor: Skeleton.Button square shape style

the Button's square shape style is same as Avator's that its width is equal to height,
and the old square shape become the default shape that its width is double size to height.

* fix: `ButtonShapeType` type annotation
2022-06-24 12:30:47 +08:00
afc163
378ae07799 chore: merge master to next 2022-06-24 12:05:35 +08:00
afc163
326978e736
style: fix Table expand icon align issue (#36215) 2022-06-24 12:04:28 +08:00
afc163
f7cc14c0e2 fix: upload test case 2022-06-24 11:50:13 +08:00
afc163
4ca2a812e0 resolve conflict 2022-06-24 11:35:54 +08:00
afc163
a5fe576d48 chore: merge master to next 2022-06-24 11:32:42 +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
afc163
f8a9cb3498
fix: nested Table margin style (#36209)
* fix: nested Table margin style

* fix: tsx demo

* test: update snapshot
2022-06-24 10:49:59 +08:00
MadCcc
373f0c5a65
refactor: shadow alias (#36213)
* refactor: shadow

* refactor: component box shadow

* refactor: shadow alias
2022-06-24 10:45:29 +08:00
afc163
7357f55d52
fix: Upload listType="picture-card" select button when children is empty (#36196)
* fix: Upload listType="picture-card" select button should be hidden when children is empty

close #36183

* test: fix test case
2022-06-23 16:45:24 +08:00
Dunqing
2971e3b081
fix: Reset the last selection key (#34705)
* fix: reset last selection key

* reset last selection key when deselect

* fix: add test case

* fix: remove unused code

* fix: enzyme bug

* fix: update test

* styles: remove empty line

* fix: lint error

* test: migrate to testing-libary

* fix: xxx.simulate is not a function

* fix: lint error

* fix: use wrong

* fix: solved test not work

Co-authored-by: dengqing <qing.deng@goldenpig.com.cn>
2022-06-23 16:04:55 +08:00
二货机器人
c5b742d253
docs: warning for alpha (#36194)
* docs: warning for alpha

* chore: move to file

* fix: warning client only

* chore: move
2022-06-23 14:37:22 +08:00
Dunqing
3ea2817549
fix: type incompatibility in strict mode (#36189)
* fix: type incompatibility

* fix: type
2022-06-23 12:17:05 +08:00
afc163
12f0b834dc
style: fix Button loading icon margin issue (#36195)
ref #36168
2022-06-23 12:13:41 +08:00
afc163
88415f45e1
chore: fix Menu deprecated warning when item={undefined} (#36190) 2022-06-23 11:25:21 +08:00
Andrew Horn
1c8415c494
Corrected grammar in comment in hooks.md (#36185) 2022-06-23 10:33:12 +08:00
lijianan
4401c74a16
refactor: performance optimization (#36177)
* style: code style optimization

* style: code style optimization

* style: code style optimization

* style: code style optimization

* fix: Code style optimization

* style: format
2022-06-22 21:01:00 +08:00
Amumu
ebc7527de3
fix: fix snapshot after si_LK locale is merged (#36181) 2022-06-22 20:05:11 +08:00
සයුරි | Sayuri
d692a88ed7
feat: add si_LK locale (#36149)
* දින තේරුම සකස් කිරීම

* චීන ප්‍රලේඛනය යාවත්කාල කිරීම

* ඉංග්‍රීසි ප්‍රලේඛනය යාවත්කාල කිරීම

* තවත් දත්ත ඇතුල් කිරීම

* දින දසුනට භාෂාව යෙදීම

* ප්‍රධාන දේශීයකරණ සංරචකය යෙදීම

* සැපයුම්කරු සඳහා ගොනුව යෙදීම

* කාලය තේරීමට අදාළ සංරචකය යෙදීම

* යෝජනාව ඇතුළු කෙරිණි

Co-authored-by: Amumu <yoyo837@hotmail.com>

* නව ඇසුරුමට වෙනස් කළා

* ගොනුව යාවත්කාල කෙරිණි

Co-authored-by: Amumu <yoyo837@hotmail.com>
2022-06-22 19:38:21 +08:00
zombiej
ddd7fc5865 chore: rm useless config test 2022-06-22 17:34:32 +08:00
dingkang
8c172a0d64
test: replace pagination test with test-library (#36178) 2022-06-22 17:12:04 +08:00
zombiej
d4e7ae0e9e chore: rm useless file 2022-06-22 15:48:17 +08:00
zombiej
07520b44c4 chore: fix merge conflict 2022-06-22 15:31:47 +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
afc163
15b8b85ce8
style: fix Button loading icon margin issue (#36168)
* style: fix Button loading icon margin issue

* test: update snapshot

* test: fix tsx demo error
2022-06-22 12:58:56 +08:00
lijianan
db58f19d8c
style: Remove methed of Array push (#36157)
* style: code style optimization

* style: code style optimization

* style: code style optimization

* style: code style optimization
2022-06-22 10:06:02 +08:00
zombiej
257d648274 fix: test case 2022-06-21 21:27:41 +08:00
MadCcc
a649267905 chore: remove conflict 2022-06-21 19:49:54 +08:00
zombiej
91245c16ad chore: merge master 2022-06-21 19:40:22 +08:00
lijianan
8227a53791
style: Code style optimization (#36144)
* style: code style optimization

* style: code style optimization

* style: code style optimization
2022-06-21 19:17:20 +08:00
MadCcc
11833c275d chore: add dark theme 2022-06-21 17:17:19 +08:00
二货机器人
9ab8cc44a3
fix: Dropdown with group menu can not close (#36148)
* test: test driven

* fix: Dropdown with Menu list group
2022-06-21 15:48:29 +08:00
pfsu
092bfd7496
docs: update demo code (#36127) (#36143) 2022-06-21 14:09:31 +08:00
MadCcc
d5c23dc265
fix: more colorBgElevated (#36142) 2022-06-21 11:06:06 +08:00
slotDumpling
1d8d871c4b
style: enlarge draggable area for Slider handle (#36018)
* active skeleton animated with transform

* properties order fixed

* properties order fixed

* properties order fixed

* bigger dragable area for slider handle

* Update components/slider/style/index.less

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

* Update index.less

6px

Co-authored-by: afc163 <afc163@gmail.com>
2022-06-21 10:52:03 +08:00
Dennis Chen
24a7da8ea8
docs(Input): add proper type for inputRef (#36135)
* docs(Input): add proper type for `inputRef`

* docs: use `InputRef` instead of `ElementRef`

Co-authored-by: afc163 <afc163@gmail.com>
2022-06-21 10:45:49 +08:00
RainyLiao
7045aa7d7b
fix: repeat a css class in readOnly, which has been declared in rc-input-number (#36120)
Co-authored-by: afc163 <afc163@gmail.com>
2022-06-21 10:28:40 +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
b6bfdedc5d
fix: update token usage (#36137) 2022-06-21 00:35:05 +08:00
MadCcc
1bcfe0cce3
refactor: motion (#36136)
* fix: modal motion

* fix: image motion

* refactor: popover & tooltip motion

* chore: code clean

* refactor: move motion

* refactor

* chore: code clean

* refactor: dropdown support move motion
2022-06-21 00:34:51 +08:00
二货机器人
0ff19bb239
fix: Table multiple dropdown not closed (#36132)
* fix: Table dropdown can not close

* test: Test case

* test: cov

* chore: bump rc-util

* chore: reorder

* chore: bump rc-util

* chore: rm test

* chore: clean up
2022-06-20 23:28:46 +08:00
afc163
8d05774053
fix: Skeleton active style in dark theme (#36116)
close #36114
2022-06-19 14:22:52 +08:00
C. T. Lin
ef286d5eb4
fix: exporting UploadFile from upload (#34733) 2022-06-17 21:34:12 +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
afc163
4fe88a5577
docs: add locale link in Calender (#36108)
close https://github.com/ant-design/ant-design/issues/36107#issuecomment-1158630726
2022-06-17 17:41:01 +08:00
yykoypj
96ccdfedf1
test: change to fakeTimer when error happens sometimes (#36102) 2022-06-17 15:07:32 +08:00
二货机器人
63fc5055f9
fix: Table customize filterDropdown with Menu should not block default selectable (#36098)
* fix: Table customize Menu should be selectable

* test: Add test case

* test: Update snapshow
2022-06-17 14:37:18 +08:00
Jaylan
f19cf66c88
fix: Typescript - Tree component DirectoryTreeProps, missing Node Type (#36092)
* fix: edit DirectoryTreeProps

* test: add DirectoryTree type test

* fix: edit type

Co-authored-by: JaylanChen <JaylanChen@126.com>
2022-06-17 11:37:57 +08:00
C. T. Lin
89717f1b0f
fix: exporting RefSelectProps from select (#34732) 2022-06-17 09:52:56 +08:00
C. T. Lin
853a04ddce
fix: exporting Rule, FormListFieldData, FormListOperation from form (#34735) 2022-06-17 09:51:36 +08:00
yykoypj
83eb5e5a35
test: move test cases to @testing/library for Upload (#36024)
* test: move test cases to @testing/library for Upload

* refactor: use jest.fn to replace done logic

* test: sample of moving test to testing lib

* test: check for 17

* refactor: manual control timer for React18

* refactor: animateEnd for useless middle state snapshot for 'handle error'

Co-authored-by: zombiej <smith3816@gmail.com>
2022-06-16 23:29:04 +08:00
MadCcc
abfee18ed4 test: fix lint 2022-06-16 11:16:11 +08:00
MadCcc
9dd5e9b5e9 Merge branch 'master' into next-merge-master 2022-06-16 10:46:55 +08:00
二货机器人
34dfb808ad
feat: Form support setFieldValue (#36058) 2022-06-15 17:30:10 +08:00
Humble
0e6e1c047d
fix:when props.value is not undefined, can't reset value and focus (#34728)
* fix: when props.value is not undefined, can't reset value and focus

* test: add test case

Co-authored-by: MadCcc <1075746765@qq.com>
2022-06-15 14:51:30 +08:00
Yuki Zhang
6195376bd0
test: move test cases to testing lib for Badge (#36033) 2022-06-15 10:43:56 +08:00
Yuki Zhang
88858c7888
test: improve test cases for Statistic (#36034) 2022-06-15 10:38:11 +08:00
MadCcc
147468a69c
fix: fix incorrect form status with noStyle (#36054)
* fix: form status

* test: update test case
2022-06-15 00:09:31 +08:00
kalykun
524c93642c
docs: fix demos (#36040)
* docs: fix demos

* ++
2022-06-14 14:58:06 +08:00
MadCcc
e3974850fa
fix: Radio.Group focus and blur should work (#36041) 2022-06-14 14:00:33 +08:00
afc163
c72c70024e
docs: fix menu API table (#36043)
* docs: fix menu API table

* Update index.en-US.md
2022-06-14 11:08:16 +08:00
csr632
29565273cb
docs: title is no loger supported by SubMenuType (#36037) 2022-06-14 11:04:18 +08:00
二货机器人
c720965d13
refactor: rename of _InternalPanelDoNotUseOrYouWillBeFired (#36028) 2022-06-13 17:55:00 +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
dingkang
52b049d170
test: replace Table part test with test lib (#35989)
* test: replace Table part test with test lib

* test: replace table test with test library

* test: update snapshot

* test: replace last mount

* test: fix 18 testing

Co-authored-by: zombiej <smith3816@gmail.com>
2022-06-13 11:26:16 +08:00
Yuki Zhang
3f822ac43f
test: move test cases to testing lib for Statistic (#36019)
Co-authored-by: afc163 <afc163@gmail.com>
2022-06-13 09:05:49 +08:00
Taisuke Hinata
f93480a61d
docs: fix onChange description repeated twice (#36013) 2022-06-12 18:29:40 +08:00
二货机器人
821d540805
refactor: Modal support PureRender (#36012)
* chore: init

* chore: Modal pure render

* chore: update snapshot
2022-06-11 21:39:58 +08:00
苯苯
961383fa0c
fix: missing semicolon (#36008) 2022-06-11 15:10:03 +08:00
苯苯
c7638a9294
fix: Fixed the getContainer property in Image not reading the settings in ConfigProvider (#36002)
* fix: 35942

* test: 添加测试用例

* fix:

* fix:
2022-06-11 13:54:50 +08:00
二货机器人
c7aa754efe
chore: update ts config (#36000) 2022-06-10 20:35:28 +08:00
苯苯
a86feb702e
fix: DropdownProps definition (#35990)
Co-authored-by: jhonebee <zhangjin19960908@gamil.com>
Co-authored-by: MadCcc <1075746765@qq.com>
2022-06-10 17:59:26 +08:00
muxin
f2a5d2f881
fix: Button has no disabled style when link type (#35975)
Co-authored-by: MadCcc <1075746765@qq.com>
2022-06-10 17:58:58 +08:00
zombiej
e0ed89418b chore: fix lint 2022-06-10 17:28:55 +08:00
zombiej
eda63041ff chore: merge master 2022-06-10 17:17:54 +08:00
二货机器人
66c3639ed4
chore: bump rc-dialog version (#35969)
* chore: bump rc-dialog version

* chore: trigger

* chore: trigger

* docs: RM peer conflict demo

* chore: bump deps version

* chore: bump ver

* chore: bump

* chore: bump

* chore: test

* chore: rm peer

* chore: clean all peer

* chor: bump rc-image
2022-06-10 17:06:07 +08:00
afc163
74287acd0a chore: fix typo 2022-06-10 13:35:42 +08:00
XIN HU
4fd49a8f7f
docs: Segmented API type (#35974)
* Update index.en-US.md

* Update index.zh-CN.md
2022-06-09 21:39:35 +08:00
Umberto Gariggio
4c0ac91f48
chore: Update it_IT.tsx (#35970)
Fix italian translation for Table.cancelSort key
2022-06-09 19:15:51 +08:00
yykoypj
cfc790d6fe
test: move test cases to @testing/library for Typography (#35955)
* test: move test cases to @testing/library for Typography

* fix: waitFor for tooltip test

* fix: sleep to wait copy hide

* test: refactor focus test
2022-06-09 18:09:43 +08:00
Christian Lechner
da9324fe63
Fix color generation for grey colors (#35954)
Co-authored-by: afc163 <afc163@gmail.com>
2022-06-09 15:11:15 +08:00
龙风
e5ed96d6d4
chore: fix code (#35949) 2022-06-09 11:47:02 +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
二货机器人
ec21769ec0
chore: Notification add PurePanel (#35948)
* chore: Notification add purePanel

* test: Update snapshot

* test: Update snapshot
2022-06-08 17:01:26 +08:00
MadCcc
c56bb2bb0f
fix: cubic-bezier should be animation-timing-function (#35943) 2022-06-08 11:06:50 +08:00
MasaoBlue
d099dea28b
fix: menu items typings (#35790)
* Fix menu items typings

* add test case for menu item type checking
2022-06-08 10:25:49 +08:00
Yuki Zhang
c0389d200a
test: move test cases to testing lib (#35900) 2022-06-08 09:57:09 +08:00
Yuki Zhang
08a9c0b7f8
test: move test cases to testing lib (#35909) 2022-06-08 09:56:50 +08:00
二货机器人
b53b4cf620
chore: Add pure component of message (#35931)
* feat: Add pure component of message

* test: Updare snapshot
2022-06-07 23:29:12 +08:00
zombiej
f3369a97d7 test: Update snapshot 2022-06-07 21:38:27 +08:00
zombiej
cffc4f05aa chore: merge master 2022-06-07 21:13:52 +08:00
二货机器人
771836cbc0
test: refactor tree with testing lib (#35937)
* test: tree test

* test: clean up

* chore: bump rc-tree

* test: Update snapshot

* test: Update for react 18
2022-06-07 21:04:47 +08:00
dingkang
dfd1897063
test: replace test case with test library (#35925)
* test: replace test case with test library

* test: replace test case with test library

* test: update snapshots
2022-06-07 10:14:32 +08:00
MadCcc
1f080c299e
fix: Form.Item noStyle should not be affected by parent Form.Item (#35849)
* fix: Form.Item noStyle should not be affected by parent Form.Item

* test: update snapshot

* fix: status

* chore: code clean

* fix: modal and drawer

* test: fix lint

* chore: code clean

* refactor: noFormStyle

* chore: code clean

* revert: revert change in Form.Item

* chore: code clean
2022-06-06 23:39:00 +08:00
MadCcc
6e04120265
docs: fix tree demo (#35927) 2022-06-06 23:23:11 +08:00
zombiej
d56ba7062f chore: bump bundle size of babel runtime 2022-06-06 18:57:00 +08:00
zombiej
2d7122ce8e Merge remote-tracking branch 'origin/feature' into master-merge-feature 2022-06-06 18:55:54 +08:00
Heaven
4dd6fcaf99
Feat: support 'treeExpandAction' prop for TreeSelect (#35618)
* Feat: support 'treeExpandAction' prop for TreeSelect

* chore: bump rc-tree

* chore: fix lint

* fix: fix directory tree duplicate expandAction

* fix: fix directory tree duplicate expandAction

* fix: fix directory tree duplicate expandAction

* chore: add docs

Co-authored-by: zombiej <smith3816@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
2022-06-06 18:44:58 +08:00
Shang Song
22c8bc4c7a
test: migrate part of Affix tests (#35860) 2022-06-06 17:49:55 +08:00
Luobo Zhang
b29d749a71
test: migrate part of Button tests (#35869) 2022-06-06 17:33:42 +08:00
kalykun
7bb5a7a563
docs: correct types (#35919)
* docs: correct types

* ++

Co-authored-by: afc163 <afc163@gmail.com>
2022-06-06 16:28:00 +08:00
MadCcc
d1de6d9a40
fix: remove important in radio style (#35920)
* fix: remove important in radio style

* chore: code clean
2022-06-06 15:44:23 +08:00
元凛
ebe9c3c7f3 docs: add typography format version 2022-06-06 14:35:53 +08:00
chenxiang
c9145d7051
fix: 类型“FormListFieldData”上不存在属性“fieldKey”。(#35883) (#35884)
* fix: 类型“FormListFieldData”上不存在属性“fieldKey”。(#35883)

* add deprecated tag to fieldKey

* add changelog

* Revert "add changelog"

This reverts commit 2cc174f633.
2022-06-06 14:26:16 +08:00
afc163
73e4ff5b4b
chore: comment old less files in table (#35867) 2022-06-06 13:07:38 +08:00
github-actions[bot]
2c1d5120b5
chore: auto merge branchs (#35910)
branch: merge master into feature
2022-06-06 03:37:12 +00:00
zombiej
ef1ff477b9 chore: clean up form token 2022-06-02 22:21:21 +08:00
二货机器人
fb322cd70e
refactor: Full token tooltip (#35896)
* refactor: full token

* refactor: full token

* test: Udpate snapshot
2022-06-02 22:15:54 +08:00
MadCcc
276ff37d83
fix: tabs dropdown cssinjs (#35895) 2022-06-02 20:22:42 +08:00
github-actions[bot]
a1e74cd383
chore: auto merge branchs (#35893)
chore: next merge feature
2022-06-02 11:53:22 +00:00
yykoypj
1bae50c6be
fix:border-style for inputNumber addon when rtl (#35876) 2022-06-02 19:36:10 +08:00
MadCcc
77823c5932
feat: tabs support popupClassName (#35892)
* feat: tabs support popupClassName

* docs: update
2022-06-02 19:31:27 +08:00
MadCcc
d065cc768b
refactor: Tabs full token (#35891)
* refactor: tabs full token

* refactor: tabs full token
2022-06-02 19:28:06 +08:00
MadCcc
407958de8a
refactor: pagination full token (#35872)
* refactor: pagination full token

* chore: code clean
2022-06-02 19:27:31 +08:00
MadCcc
2336b39894
refactor: rate full token (#35886) 2022-06-02 19:05:55 +08:00
二货机器人
8f5b9b5f84
refactor: Full token table (#35888)
* chore: more

* chore: more

* refactor: full token
2022-06-02 18:47:14 +08:00
Luobo Zhang
a5074efcb0
refactor: Wave in React 18 StrictMode (#35889) 2022-06-02 18:39:32 +08:00
MadCcc
ea869ce2d9 chore: code clean 2022-06-02 17:40:00 +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
39b273d71c
refactor: switch full token (#35873)
* refactor: switch full token

* chore: less magic

* chore: less magic
2022-06-02 17:18:52 +08:00
郑国庆
6e55310fca
test: replace Input part test with test lib (#35754)
* test: replace Input part test with test lib

* test: test input case

* test: update textarea case

Co-authored-by: z1399 <zhenggq@dtdream.com>
Co-authored-by: afc163 <afc163@gmail.com>
2022-06-02 16:28:22 +08:00
zombiej
c89c61e2c4 Merge remote-tracking branch 'origin/feature' into next 2022-06-02 16:21:16 +08:00
二货机器人
4975cbff05
refactor: Full token transfer (#35882)
* more

* refactor: full token

* refactor: full token
2022-06-02 16:17:40 +08:00
MadCcc
1356b52719
refactor: skeleton full token (#35866)
* refactor: skeleton full token

* refactor: skeleton full token

* chore: code clean

* chore: code clean
2022-06-02 15:06:27 +08:00
二货机器人
cf7278b56d
refactor: Full token statistic (#35877)
* chore: full of it

* chore: more style

* refactor: full token
2022-06-02 12:06:27 +08:00
zombiej
463b1cc38b Merge remote-tracking branch 'origin/master' into next 2022-06-02 11:43:04 +08:00
二货机器人
8b27d06eaa
chore: stlye patch of statistic (#35874)
* chore: stlye patch of statistic

* test: Udpate snapshot
2022-06-02 11:36:03 +08:00
MadCcc
80c950b15c
chore: breadcrumb full token (#35868) 2022-06-02 10:17:05 +08:00
afc163
2113c25664
feat: Progress steps support custom strokeColor for each step (#35855)
* feat: <Progress steps /> could accept string[] as strokeColor

close #35852
close #26858

* fix: tsx demo

* docs: add version column
2022-06-01 23:00:03 +08:00
二货机器人
94cfd11b3f
refactor: full token (#35858) 2022-06-01 21:47:44 +08:00
afc163
792d23036c test: update snapshot 2022-06-01 19:24:56 +08:00
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