二货机器人
3301b4d6fc
Merge pull request #36576 from ant-design/master
...
chore: feature merge master
2022-07-18 20:59:32 +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
Neil
9989a2d751
add Modal @modal-border-radius less variable ( #36527 )
...
* add Modal @modal-border-radius less variable
* fix: add less variable
2022-07-15 14:50:07 +08:00
zombiej
ed5f4c3626
test: update snapshot
2022-07-15 11:47:57 +08:00
二货机器人
006c055cf8
refactor: move popconfirm content out ( #36530 )
...
* refactor: move popconfirm content out
* fix: lint
2022-07-15 11:11:50 +08:00
afc163
2255dbada6
docs: update select documentation
2022-07-14 19:27:37 +08:00
Wuxh
14c7c63bbf
fix: fixed the non draggable element did not hide the draggable icon ( #36511 )
...
fix #33708
2022-07-14 18:03:11 +08:00
Jon
92c8bdc88f
fix: SVG Upload Preview Error ( #36402 )
...
* Update utils.tsx
* style: unify img styling
Unify the styling of img attribute setting.
* test: add previewImage test for svg file
Add previewImage test for SVG upload
* fix: remove charset
Remove charset in data url for text content.
* test: fix test
* fix: typo
* fix: correct patching for svg upload error
* fix: correct patching for svg upload error
* test: update test
2022-07-14 11:25:57 +08:00
MadCcc
aca2c3d4e7
feat: add Form.Item.useStatus ( #36486 )
...
* feat: add useFormItemStatus
* chore: code clean
* docs: update example
* refactor: api change
* docs: fix typo
* docs: update docs
* docs: udpate
* chore: add warning
* test: add test case
* chore: update warning
* chore: code clean
* test: fix test case
2022-07-14 11:01:39 +08:00
Wuxh
c86d02e03f
docs: simplified Layout
component sample code ( #36497 )
...
the component example code expands to take up the entire monitor screen and is not well read
2022-07-13 16:57:18 +08:00
afc163
008681c1bf
style: Table expandIcon style when column is fixed and ellipsis ( #36496 )
...
close #36485
2022-07-13 14:40:43 +08:00
MadCcc
4f7ac9f6bc
fix: tooltip cannot close on disabled Radio ( #36483 )
...
* fix: tooltip cannot close on disabled Radio
* test: add test
2022-07-12 19:31:45 +08:00
二货机器人
6599c2780e
fix: Select with percent width leaves unexpected height in Form ( #36484 )
2022-07-12 18:01:05 +08:00
二货机器人
41464e7068
chore: bump mentions ( #36479 )
2022-07-12 16:49:44 +08:00
github-actions[bot]
e46dedd90c
chore: auto merge branches ( #36478 )
...
chore: feature merge master
2022-07-12 08:21:41 +00: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
bobo
7dfc80504a
docs: update index.zh-CN.md ( #36471 )
...
去掉文案描述中多的标点
2022-07-12 11:35:13 +08:00
Sg
6ada28cce2
docs: fix typo ( #36457 )
...
fix typo in useWatch.md
2022-07-11 14:40:35 +08:00
Dawnlck
1643acf0d0
feat: Add support to Skeleton, which allow deployer use custom node as prop. ( #36441 )
...
* feat: Skeleton component supports for custom node
* fix: Clear redundant code
* refactor: Remove changes in package.json
* test: Update the snapshot of Skeleton demo
* Update components/skeleton/demo/element.md
Co-authored-by: afc163 <afc163@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
2022-07-11 12:04:18 +08:00
afc163
91ff1dcce2
style: fix Skeleton active lost border-radius in Safari ( #36445 )
...
* style: fix Skeleton active lost border-radius in Safari
* perf: reduce skeleton css bundle size
* chore: fix bundle size limit
* chore: fix active typing
2022-07-10 12:05:35 +08:00
Leon Kattendick
46be23a5db
fix: breadcrumb seperators hidden when used in list ( #36448 )
2022-07-10 12:05:16 +08:00
afc163
cebbe23393
fix: Upload item removed should keep status className ( #36439 )
...
* fix: Upload item removed should keep status className
* add test case
* test: fix act warning
* revert act test
* test: update snapshot
2022-07-08 22:41:58 +08:00
Alan Deng
1d0ae5712d
docs(Typography): fix editable.onChange
parameter ( #36443 )
2022-07-08 22:10:24 +08:00
NinJa
4e03961b91
feat: Update Doc ( #36437 )
...
Co-authored-by: meng.jia <meng.jia@ly.com>
2022-07-08 19:12:03 +08:00
simplejason
1a8edd992c
fix: fix wrong color of date picker with status set ( #35685 )
...
* fix: fix wrong color of date picker with status set
* Update status.less
Co-authored-by: afc163 <afc163@gmail.com>
2022-07-08 11:59:32 +08:00
舜岳
47f68d0e5c
fix: fix table container z-index ( #36420 )
2022-07-08 10:31:53 +08:00
Alan Deng
3fc4ff2dc6
docs(Typography): translate docs from English to Chinese ( #36417 )
2022-07-07 18:38:23 +08:00
hsk-kr
e262ae8133
docs: fix customize calendar example ( #36356 )
...
* docs: fix customize calendar example
* test: changed calendar snapshot
Co-authored-by: lico <lico@licoui-MacBookPro.local>
2022-07-06 23:29:57 +08:00
Kirill Barsukov
2e04982882
Update index.en-US.md ( #36400 )
...
Fixed a typo
2022-07-06 23:28:27 +08:00
Chang Wei
345cbcef0d
style: fix size of close icon on Modal header ( #36309 )
...
* fix: update default.less, set the @modal-header-close-size to @modal-header-title-line-height + 2 * @modal-header-padding-vertical to keep the close icon in the center of vertical
Signed-off-by: Chang Wei <changwei1006@gmail.com>
* fix: update variable.less, set the @modal-header-close-size to @modal-header-title-line-height + 2 * @modal-header-padding-vertical to keep the close icon in the center of vertical
Signed-off-by: Chang Wei <changwei1006@gmail.com>
* fix: update compact.less, set the @modal-header-close-size to @modal-header-title-line-height + 2 * @modal-header-padding-vertical to keep the close icon in the center of vertical
Signed-off-by: Chang Wei <changwei1006@gmail.com>
2022-07-06 10:36:04 +08:00
Yunwoo Ji
e503f9d5ae
fix: correct border radius when table has title ( #36384 )
2022-07-05 17:27:49 +08:00
Chang Wei
bfa8aaec5e
feat: Space support align stretch ( #36310 )
...
* feat/Space-component-support-align-stretch: support align to stretch
Signed-off-by: Chang Wei <changwei1006@gmail.com>
* feat/Space-component-support-align-stretch: update document of zh-CN and en-US
Signed-off-by: Chang Wei <changwei1006@gmail.com>
* feat/Space-component-support-align-stretch: update demo
Signed-off-by: Chang Wei <changwei1006@gmail.com>
* feat/Space-component-support-align-stretch: update snapshot by command `npm test -- components/space -u`
Signed-off-by: Chang Wei <changwei1006@gmail.com>
2022-07-05 16:37:50 +08:00
afc163
80e7f7087d
chore: merge feature to master, resolve conflict
2022-07-05 11:23:35 +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
afc163
b69f2895d9
style: Radio focus shadow should be transparency ( #36335 )
2022-07-04 13:13:09 +08:00
dingkang
40728fb4dc
test: replace layout test case with test lib ( #36323 )
...
* test: replace layout test case with test lib
* test: fix react 18
* test: clean up
Co-authored-by: zombiej <smith3816@gmail.com>
2022-07-02 16:31:38 +08:00
yykoypj
1d82f221b6
test: move test cases to @testing/library for Carousel ( #35926 )
...
* test: move test cases to @testing/library for Carousel
* fix: wait for animation
2022-07-02 16:31:13 +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
Yuki Zhang
efe6d7c8a1
test: move test cases to testing lib for Switch ( #36326 )
...
* add
* test: wave
* fix: type
2022-07-01 11:55:03 +08:00
Yuki Zhang
201a66793f
test: move test cases to testing lib for Spin ( #36317 )
...
* test: move test cases to testing lib for Spin
* fix: types
* fix: lint
2022-07-01 11:53:49 +08:00
Jamki
5f933ebd2b
fix: Fixed an error when the loading property of the Button component… ( #36288 )
...
* fix: Fixed an error when the loading property of the Button component was passed into null
* Update components/button/button.tsx
Obviously, this suggestion is more concise , thanks a lot
Co-authored-by: afc163 <afc163@gmail.com>
* Update components/button/button.tsx
* Update components/button/button.tsx
Co-authored-by: kejianfeng <kejianfeng@cvte.com>
Co-authored-by: afc163 <afc163@gmail.com>
2022-06-30 13:25:47 +08:00
MadCcc
42e030edd9
fix: arrow compatibility ( #36266 )
...
* fix: arrow campatibility
* chore: code clean
* chore: rm useless style
* chore: code clean
* fix: use inset
* chore: bundlesize optimization
* chore: rm useless style
* chore: rm useless style
2022-06-30 11:11:01 +08:00
afc163
33400eee8f
chore: reduce css bundle size ( #36307 )
2022-06-30 10:21:31 +08:00
二货机器人
d24f67f66b
test: Fix table empty test ( #36290 )
2022-06-29 12:07:28 +08:00
afc163
fe52f2c8dc
style: fix Table shadow bug in nested situation ( #36277 )
...
close #36203
2022-06-29 10:10:55 +08:00
dingkang
a2c7ea4ab6
test: replace test case with test lib ( #36276 )
2022-06-28 18:47:21 +08:00
Alan Deng
bf924df874
style(Divider): replace fixed class name with variable ( #36271 )
2022-06-28 16:11:19 +08:00
afc163
3ee6c47da2
chore: update Belarusian locale ( #36265 )
...
* Edited Belarusian locale:
- Added missed entries
- Fixed some mistakes
* test: update snapshot
Co-authored-by: Aliaksiej Razumaŭ <belarusaed@gmail.com>
2022-06-28 12:03:35 +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
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
326978e736
style: fix Table expand icon align issue ( #36215 )
2022-06-24 12:04:28 +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
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
Dunqing
3ea2817549
fix: type incompatibility in strict mode ( #36189 )
...
* fix: type incompatibility
* fix: type
2022-06-23 12:17:05 +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
dingkang
8c172a0d64
test: replace pagination test with test-library ( #36178 )
2022-06-22 17:12:04 +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
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
二货机器人
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
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
二货机器人
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
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
二货机器人
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
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
苯苯
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
二货机器人
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
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
二货机器人
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
github-actions[bot]
2c1d5120b5
chore: auto merge branchs ( #35910 )
...
branch: merge master into feature
2022-06-06 03:37:12 +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
Luobo Zhang
a5074efcb0
refactor: Wave in React 18 StrictMode ( #35889 )
2022-06-02 18:39:32 +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
郑国庆
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
二货机器人
8b27d06eaa
chore: stlye patch of statistic ( #35874 )
...
* chore: stlye patch of statistic
* test: Udpate snapshot
2022-06-02 11:36:03 +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
afc163
792d23036c
test: update snapshot
2022-06-01 19:24:56 +08:00
afc163
6423e22f78
chore: merge feature
2022-06-01 18:28:31 +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
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
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
二货机器人
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
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
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
二货机器人
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
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
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
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
303c9884cb
docs: componentDisabled version ( #35730 )
2022-05-25 15:30:17 +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
Niyaz Akhmetov
56bcd1ee9f
docs: fix mistype ( #35714 )
2022-05-24 22:33:22 +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
二货机器人
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
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
dingkang
8af11c6ef5
docs(mentions): fix debounce demo bug ( #35653 )
2022-05-20 15:34:02 +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
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
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
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
github-actions[bot]
0b780574ae
chore: auto merge branchs ( #35597 )
...
chore: feature merge master
2022-05-17 11:42:21 +00:00
afc163
f9f3a0e604
style: fix Table header border when has rowSpan ( #35591 )
...
close #35577
2022-05-17 18:19:17 +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
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
叶枫
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
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
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
github-actions[bot]
0d8fa8d1dd
chore: auto merge branchs ( #35532 )
...
chore: feature merge master
2022-05-13 03:59:13 +00: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
二货机器人
d7cdd88e3a
test: Update snapshot ( #35529 )
2022-05-13 10:57:10 +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
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
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
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 key
s ( #35474 )
2022-05-11 14:29:26 +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
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
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
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
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
zombiej
c75e59faf1
chore: rm useless console
2022-05-06 18:52:01 +08:00
shuaijiumei
63d3c579f9
refactor: Progress rebuild as function component ( #35393 )
...
* refactor: Progress rebuild as function component
* refactor: Progress rebuild as function component
* refactor: Progress rebuild as function component
* refactor: Progress rebuild as function component
* refactor: Progress rebuild as function component
* refactor: Progress rebuild as function component
* refactor: Progress rebuild as function component
2022-05-06 18:34:45 +08:00
github-actions[bot]
25de1c4d31
chore: auto merge branchs ( #35399 )
...
chore: feature merge master
2022-05-06 05:52:21 +00:00
二货机器人
7511b9e8ac
test: replace textarea some test case with testing lib ( #35398 )
...
* test: replace textarea some test case with testing lib
* test: full process
* test: mv input test to input scope
* test: fix lint
2022-05-06 11:48:18 +08:00
MadCcc
7f6e4492a0
feat: Dropdown support autoFocus ( #35391 )
...
* feat: Dropdown support autoFocus
* chore: add bundle size
2022-05-05 16:45:07 +08:00
vagusX
ce1fc29bd7
fix: use less variables for Segmented ( #35387 )
2022-05-05 14:09:27 +08:00
Cooper Veysey
d8ab5a5771
Resolve Ant Design Notification component TypeScript error via adding maxCount as an ArgsProps property ( #35369 )
2022-05-05 14:06:57 +08:00
Yanlin Jiang
10596d9604
fix: Respect user provided space item key ( #35344 )
2022-05-05 13:46:52 +08:00
lalalazero
6c0f67e407
fix: table column filter reset is not working ( #35226 ) ( #35386 )
2022-05-05 12:17:15 +08:00
haipeng
a217301cb7
fix: Carousel compatible with vertical property ( #35349 )
2022-05-05 10:52:41 +08:00
TrickyPi
50d3d99a78
test: migrate part of checkbox tests ( #35354 )
2022-05-05 10:25:22 +08:00
linqiqi077
44b9ab7e40
test: migrate part of anchor tests ( #35371 )
2022-05-04 23:14:07 +08:00
Zack Chang
85fd0640c5
test: refactor test cases of Space ( #35372 )
2022-05-04 20:44:37 +08:00
PCCCCCCC
c2741c2c4b
test: transfer part of tooltip test case to testing library ( #35362 )
2022-05-03 10:40:12 +08:00
github-actions[bot]
85707ff36f
chore: auto merge branchs ( #35347 )
...
chore: Feature merge master
2022-05-01 10:16:06 +00:00
zombiej
2290144b25
test: update test case
2022-05-01 17:50:10 +08:00
Walid Cherhane
a21da91dcc
style: fix Select tag remove icon position ( #35336 )
...
The icon is pushed down a bit
2022-04-30 15:33:19 +08:00
Dreamcreative
4281739d5d
docs: update Tabs component onEdit prop describe ( #35271 )
...
* docs: update Tabs component onEdit prop describe
* docs: update Tabs component onEdit prop describe
* Apply suggestions from code review
Co-authored-by: afc163 <afc163@gmail.com>
2022-04-30 15:11:41 +08:00
afc163
0658932fa0
Revert "feat: dropdown auto-focus ( #35307 )" ( #35337 )
...
This reverts commit 1ff58d23f0
.
2022-04-30 15:10:04 +08:00
afc163
11e69f31eb
fix: Switch disabled color in dark theme ( #35332 )
2022-04-29 23:29:47 +08:00
lalalazero
1fed15ceeb
test: replace Empty part test with test lib ( #35289 )
...
* test: replace Empty part test with test lib
* test: update snapshot case
2022-04-29 23:25:13 +08:00
afc163
e153cf07b0
docs: add instruction about tokenSeparators ( #35329 )
2022-04-29 21:23:39 +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
9984f0a1e3
style: tweak BreadCrumb link hover color ( #35324 )
2022-04-29 16:23:42 +08:00
vagusX
409c25b7ce
feat: set proper height for Segmented ( #35281 )
2022-04-29 15:11:42 +08:00
Dunqing
d7ba815f81
docs: fix form instance type error ( #35320 )
2022-04-29 14:35:23 +08:00
agarciaguillo
8a06dcbbd9
Added pending filter translations Table locale/es_ES ( #35309 )
...
Co-authored-by: Jesús Gallego Irles <jesusgallego@outlook.com>
2022-04-29 10:28:15 +08:00
afc163
3eabcba073
fix: Space duplicated key warning ( #35311 )
...
close #35305
2022-04-28 22:23:06 +08:00
afc163
24fa6a1721
docs: update space demos
2022-04-28 20:54:19 +08:00
MadCcc
1ff58d23f0
feat: dropdown auto-focus ( #35307 )
...
* feat: dropdown auto-focus
* chore: update rc-tabs
2022-04-28 19:50:33 +08:00
vagusX
eee3b50727
feat: support icon only in segmented ( #35256 )
...
* feat: support icon only with segmented
* fix: lint issue
* chore: update
* test: fix
* test: update snapshot
2022-04-28 19:39:52 +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
Sukka
45a19024ab
docs: replace git.io
link with the original URL ( #35261 )
2022-04-27 10:07:16 +08:00
afc163
b793a4e700
test: skip uploadlist test for now
2022-04-26 20:43:10 +08:00
miracles1919
444ce6d384
refactor: replace float with flex of Card ( #35236 )
2022-04-26 20:35:25 +08:00
afc163
2a79f85036
test: fix upload test case
2022-04-26 19:16:06 +08:00
github-actions[bot]
40379a3e40
chore: auto merge branchs ( #35253 )
...
chore: feature merge master
2022-04-26 11:08:58 +00:00
MadCcc
42525ffbdc
test: add menu focus test ( #35252 )
2022-04-26 18:17:55 +08:00
qyzzzz
8ca52a1dda
fix: input onSearch trigger wrongly ( #34844 ) ( #35164 )
...
Co-authored-by: zhangqingyang@mindlinker.com <zhangqingyang@mindlinker.com>
2022-04-26 15:00:48 +08:00
afc163
4a6db91365
style: fix Breadcrumb reset style ( #35235 )
...
close https://github.com/ant-design/ant-design/issues/35233
2022-04-26 11:07:57 +08:00
zombiej
c85d9889ab
chore: add useWatch test placeholder
2022-04-25 11:20:56 +08:00
Camol
bdabee4db4
feat(Typography): copyable text support format ( #35219 )
...
Co-authored-by: kanweiwei <kanweiwei@nutstore.net>
2022-04-25 09:49:48 +08:00
Camol
6a08a46ecc
fix: upload circle ref ( #34379 )
...
Co-authored-by: kanweiwei <kanweiwei@nutstore.net>
2022-04-24 20:55:18 +08:00
二货机器人
c1831fbf82
test: Replace transfer part test with testing lib ( #35216 )
...
* test: Replace transfer part test with testing lib
* chore: clean up
2022-04-24 18:33:57 +08:00
afc163
0efba5f720
docs: add demo link for Menu legacy usage ( #35202 )
...
* docs: add demo links for Menu legacy usage
* Update index.en-US.md
2022-04-24 11:24:46 +08:00
afc163
f410b189dc
fix: remove Tabs overflow hidden style ( #35195 )
...
close #34021
close #35136
2022-04-23 23:24:30 +08:00
vagusX
1548f44ef8
feat: upgrade rc-segmented v2 ( #35187 )
...
* docs: add debug demo for segmented
* chore: update
* feat: upgrade rc-segmented v2
* Update components/segmented/__tests__/index.test.tsx
Co-authored-by: afc163 <afc163@gmail.com>
* Update components/segmented/demo/controlled-two.md
Co-authored-by: afc163 <afc163@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
2022-04-23 21:00:05 +08:00
Yuyao Nie
a9806a2be0
perf: optimize calculation of filteredKeysIsAllControlled ( #35064 )
...
* perf: optimize calculation of filteredKeysIsAllControlled
* fix: ci failure
* fix: modify codes by suggestion
2022-04-23 17:11:52 +08:00
vagusX
78eed85cba
style: Segmented
supports rtl styles ( #35188 )
2022-04-23 16:53:07 +08:00
vagusX
22c10212b6
docs: add debug demo for segmented ( #35176 )
...
* docs: add debug demo for segmented
* chore: update
* chore: update
2022-04-23 16:52:48 +08:00
Jefferson Rafael Kozerski
68b2344c7a
fix: code to use @html-selector variable ( #35186 )
2022-04-23 13:19:02 +08:00
rendaoer
ad9e2d9a0e
fix: Upload interface generic type ( #35158 )
...
* fix:Uplooad组件UploadChangeParam fileList不使用范型
* feat:upload component interface generic test
2022-04-22 22:33:05 +08:00
vagusX
e2cddd68b5
test: fix test in segmented ( #35183 )
2022-04-22 22:02:50 +08:00
zombiej
eb70223bdb
docs: faq about modal. close #35177
2022-04-22 19:30:44 +08:00
二货机器人
f8e7cba353
refactor: Simplify Button Group Style ( #35175 )
...
* chore: refactor grp with context
* test: Update snapshot
* chore: clean up
* test: fix test case
* chore: clean up
* test: fix test
2022-04-22 17:40:52 +08:00
afc163
e14ec001a1
fix: small/middle table selection dropdown margin issue ( #35174 )
...
* fix: small/middle table selection dropdown margin issue
* Update index.less
2022-04-22 16:01:20 +08:00
zombiej
6a00bddade
docs: Update Dropdown demo
2022-04-22 15:33:15 +08:00
afc163
7d822f1b26
fix: small table selection dropdown margin issue ( #35173 )
...
close #35167
2022-04-22 14:58:02 +08:00
afc163
8923d59860
fix: small table selection dropdown margin issue
...
close #35167
2022-04-22 14:16:54 +08:00
二货机器人
f8d728161c
docs: Update demo with Space ( #35172 )
2022-04-22 13:35:27 +08:00
MadCcc
3511642337
docs: segmented update ( #35171 )
...
* docs: segmented update
* test: fix lint
2022-04-22 12:26:44 +08:00
afc163
8f06430336
fix: DropDownProps => DropdownProps ( #35161 )
...
* fix: DropDown => Dropdown
* chore: leave DropDownProps for compatibility
2022-04-21 22:09:59 +08:00
afc163
93b55d5e8c
chore: remove Breadcrumb Dropdown warning ( #35162 )
2022-04-21 21:34:10 +08:00
zombiej
15599bb3b8
docs: Add dropdown menu missing keys
2022-04-21 19:01:26 +08:00
zombiej
3e6817a10a
docs: Update Dropdown basic demo icon
2022-04-21 18:05:39 +08:00
二货机器人
1525ac47fb
chore: bump dropdown with inject mark ( #35153 )
2022-04-21 17:10:06 +08:00
afc163
cbd4f1b66d
docs: update getContainer of Modal and Drawer ( #35141 )
...
close https://github.com/ant-design/ant-design/issues/35124
2022-04-20 23:14:32 +08:00
afc163
255bfddc3f
docs: improve menu usage for items ( #35131 )
...
* docs: improve menu usage for items
* test: update snapshot
* docs: update menu title
2022-04-20 22:31:21 +08:00
zombiej
566632efa3
docs: Update Menu demo sample
2022-04-20 19:03:39 +08:00
二货机器人
4de07ad102
docs: Add deprecated usage ( #35128 )
2022-04-20 17:56:11 +08:00
二货机器人
9eae13a968
fix: breadcrumb shows the number ( #35123 )
2022-04-20 15:26:18 +08:00
MadCcc
b666bfd3d1
refactor: wrap Spin with FC ( #35114 )
...
* refactor: wrap Spin with FC
* chore: code clean
2022-04-20 12:13:11 +08:00
TrickyPi
e8b816e68a
fix(Typography): change less function to less variable in danger style ( #35113 )
2022-04-20 12:00:16 +08:00
zombiej
5dfa8678c0
docs: add input showCount lose focus desc. close #35080
2022-04-20 10:33:42 +08:00
afc163
1349b99122
docs: improve upload demos ( #35104 )
...
* docs: improve upload demos
* Update drag-sorting.md
2022-04-20 09:48:26 +08:00
afc163
f180ec6df5
style: Switch background should not be transparent ( #35103 )
2022-04-20 09:48:18 +08:00
afc163
12d98f9ed6
chore: update snapshot due to rc-trigger bumped ( #35106 )
2022-04-20 00:16:39 +08:00
nuintun
74b60d22b1
fix: cn menus doc ( #35078 )
2022-04-19 21:02:06 +08:00
afc163
ea648e7cb6
chore: tweak upload style ( #35097 )
...
* chore: tweak upload style
* chore: update snapshot
2022-04-19 20:47:42 +08:00
afc163
37e3e1a83e
docs: update Drawer overview image ( #35099 )
...
* docs: update Drawer overview image
* Update index.en-US.md
2022-04-19 20:37:06 +08:00
二货机器人
b8eaecb898
fix: Form in React 18 StrictMode ( #35096 )
...
* test: fix with react 18
* fix: Form in StrictMode
* test: clean up
* test: clean up
* chore: bump rc-motion version
* chore: fix test case logic
* test: back of it
* test: back missing test case
2022-04-19 20:06:32 +08:00
PCCCCCCC
9038524376
style: fix the style of progress rendering at the top of component Image PreviewGroup ( #35092 )
...
* style: fix the style of progress rendering at the top of component Image PreviewGroup
* style: add debug-demo for top progress countRender
2022-04-19 17:07:57 +08:00
Long Hao (龙濠)
eb7f8c7ef1
refactor: change anchor to fc for the cssinjs prepare ( #35073 )
...
* refactor: change anchor to fc for the cssinjs prepare
* fix: fix anchor test
2022-04-19 16:44:47 +08:00
PCCCCCCC
d6b230958a
style: fix the problem of inconsistent styles in RTL mode ( #35088 )
2022-04-19 15:31:08 +08:00
MadCcc
dc4da79638
fix: fixed arrow border radius variables ( #35086 )
2022-04-19 14:52:55 +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
AliRezaBeigy
1e91a4961c
chore: Compatible for @types/react@18 ( #35075 )
...
* chore: Compatible for @types/react@18
* chore: Compatible for @types/react@18
2022-04-18 18:39:23 +08:00
二货机器人
640fe5df09
chore: rc-dialog id unique sync ( #35072 )
2022-04-18 15:12:06 +08:00
元凛
2154b453a9
docs: update docs version
2022-04-18 11:16:23 +08:00
zombiej
61a6083adf
docs: Update useWatch docs
2022-04-18 10:37:12 +08:00
github-actions[bot]
e3d8689643
chore: auto merge branchs ( #35053 )
...
chore: sync master into feature
2022-04-17 15:03:29 +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
MadCcc
e4a87750ac
test: update test cases to testing-lib ( #35056 )
2022-04-15 23:33:10 +08:00
afc163
cd3471506c
test: fix jest snapshot
2022-04-15 23:07:05 +08:00
chensw
9902c21042
fix: Upload pass UploadList prefixCls ( #34944 )
...
* fix: pass UploadList prefixCls
* test: <Upload /> should pass <UploadList /> prefixCls
Co-authored-by: chenshanwang <chenshanwang@lianfan.com>
2022-04-15 19:36:38 +08:00
afc163
33c0da0042
style: cleanup upload unused styles ( #35052 )
2022-04-15 16:54:30 +08:00
afc163
0f0e2f9f43
docs: simplify demo code, #30853 ( #35050 )
2022-04-15 16:20:56 +08:00
github-actions[bot]
4291c1d121
chore: auto merge branchs ( #35049 )
...
chore: merge master into feature
2022-04-15 08:03:26 +00:00
二货机器人
beeaf2d221
docs: More info about useWatch ( #35039 )
...
* docs: more about useWatch
* test: Update test case
* docs: more info
* docs: more & more
* feat: add useFormInstance
* chore: add version info
2022-04-15 15:51:09 +08:00
zombiej
15597e1a0e
test: Update snapshot
2022-04-15 15:39:06 +08:00
MadCcc
9b73058045
refactor: wrap picker with FC ( #34994 )
...
* refactor: wrap picker with FC
* chore: code clean
* feat: cast type
* test: fix test
2022-04-15 10:45:20 +08:00
PCCCCCCC
7769ca1271
feat: Image PreviewGroup Support top progress rendering ( #35038 )
2022-04-14 23:45:16 +08:00
二货机器人
b62e409ad5
feat: Form support useWatch ( #35036 )
...
* feat: Support useWatch
* test: update test case
* chore: update snapshot
2022-04-14 20:46:57 +08:00
二货机器人
67ccf39bd3
fix: Notification & message throw createRoot
warning in React 18 ( #35030 )
...
* chore: bump notification version
* test: notification test case
* test: more test case
* test: part message test
* test: rest message test
* test: notification config test
2022-04-14 18:09:19 +08:00
afc163
9ed31930e7
chore: remove unused Upload in form styles ( #35033 )
...
* chore: remove unused Upload in form styles
* Update Upload.tsx
* Update Upload.tsx
* test: update snapshot
2022-04-14 16:45:00 +08:00
github-actions[bot]
cfc0530e3b
chore: auto merge branchs ( #35027 )
...
chore: merge master into feature
2022-04-14 02:57:25 +00:00
王浩
a7c5f6b516
fix(cascader): search result not fill the entire panel ( #35019 )
...
Co-authored-by: wanghao <wanghao.wong@bytedance.com>
2022-04-13 21:59:41 +08:00
maxin
3142c10b04
docs(input): use Intl.NumberFormat ( #34985 )
...
Co-authored-by: maxin <maxin@growingio.com>
2022-04-13 18:24:12 +08:00
afc163
d66784ab7e
fix: Spin rotate deg number ( #35005 )
...
close #34866
2022-04-13 13:51:36 +08:00
MadCcc
bd6cb95514
fix: arrow radius use fixed value ( #34999 )
2022-04-13 11:56:04 +08:00
afc163
c421383d02
Update index.en-US.md
2022-04-12 22:25:47 +08:00
afc163
cf44a6bde9
docs: recommend S2 and ProTable in table documentation ( #34998 )
...
* docs: recommend S2 and ProTable in table documentation
* Update index.en-US.md
2022-04-12 22:22:01 +08:00