Commit Graph

14259 Commits

Author SHA1 Message Date
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
zombiej
9c0fc05beb test: Update snapshot 2022-04-12 17:12:36 +08:00
二货机器人
62233426f3
docs: update faq (#34984) 2022-04-12 14:19:32 +08:00
Hyunseok.Kim
62b221269d
feat: crossorigin attribute of Upload (#34981)
* feat: Add crossOrigin prop to thumbnail image

* feat: Add test cases about crossOrigin prop of Upload component

* doc: Add a description about crossOrigin prop to Upload component manual

* Update components/upload/interface.tsx

Update type definition using React.ImgHTMLAttributes

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

Co-authored-by: hyunseok.kim <hyunseok.kim@42dot.ai>
Co-authored-by: afc163 <afc163@gmail.com>
2022-04-12 12:03:46 +08:00
zombiej
f11bde4207 docs: Add faq about chrome with upload 2022-04-12 10:58:51 +08:00
zombiej
1e35235e6c chore: fix ts demo 2022-04-11 18:32:02 +08:00
zombiej
65cec1458f chore: fix ts 2022-04-11 18:15:03 +08:00
zombiej
85a351ed3b chore: test fix 2022-04-11 18:07:34 +08:00
zombiej
a0d1440050 chore: merge conflict 2022-04-11 17:41:54 +08:00
二货机器人
688422b490
test: back of coverage (#34964)
* test: fix coverage

* chore: bump bisheng

* chore: clean up

* chore: update deps

* chore: test coverage
2022-04-11 15:32:00 +08:00
afc163
494c55df30
fix: small size of Table style problem (#34963)
close #34949
2022-04-11 13:07:48 +08:00
afc163
77b6a86656
fix: Form layout span 24 usage in responsive mode (#34907)
close #34903
2022-04-11 12:30:47 +08:00
vagusX
ae4e660a05
feat: add new component Segmented (#34319)
* feat: basic implements in antd

* feat: use rc-segmented

* feat: add some demos

* feat: support dark theme

* docs: add more demos

* feat: support `icon` in segmented

* docs: format content

* test: add test cases

* docs: update docs

* chore: update

* fix: lint issues

* style: add border-radius for selected effect

* style: change border-radius-base

* chore: update gitignore

* feat: segmented support block

* chore: update gitignore

* feat: support block

* feat: add test case

* feat: support size

* docs: update demos

* chore: update

* chore: update

* test: update

* style: update colors

* style: hover and focus styles

* doc: add version mark in docs

* fix: style lint issue

* fix: some lint issues

* doc: add version in demo mds

* doc: add version mark before api details

* Revert "doc: add version in demo mds"

This reverts commit 2a9e86f6ffc2331f7d73eae6edac7c889358a838.

* test: only test for thumb appear

* style: update color vars

* style: add transition

* style: text vertial align

* test: update snapshots

* feat: add preview svg and support dark theme

* fix: update test snapshot

* docs: update docs

* fix: remove useless z-index

* build: add 1kb for bundlesize of antd.variable.min.css

Co-authored-by: taian.lta <taian.lta@antgroup.com>
2022-04-11 11:13:16 +08:00
二货机器人
5b8e4e51e9
chore: Compatible for @types/react@18 (#34937)
* chore: bump types def

* chore: part ts def

* chore: part ts def

* chore: part ts def

* chore: part ts def

* chore: part ts def

* chore: part ts def

* chore: part ts def

* chore: part ts def

* chore: part ts def

* chore: part ts def

* chore: free --legacy-peer-deps

* chore: ignore peer

* chore: fix ts logic

* chore: use fork docsearch

* chore: fix demo ts
2022-04-08 22:55:42 +08:00
vagusX
afa4442a10
refactor: add optionType for Radio internally (#34849)
* refactor: add optionType for Radio internally

* fix: lint

* fix: update snapshot

* feat: remove useless condition for RadioGroupContext

* test: add test case for Radio.Button
2022-04-08 15:23:52 +08:00
Albert Zhang
b3e66762d6
fix: skeleton cannot dispaly without children and loading props : Skeleton(...) return nothing (#34872)
* fix: skeleton cannot dispaly without children

* [CodeFactor] Apply fixes to commit 0b4a968

[ci skip] [skip ci]

* fix: update skeleton

Co-authored-by: codefactor-io <support@codefactor.io>
2022-04-07 17:55:30 +08:00
Hamed Mohammadzadeh
d49013468a
fix: not warpper animation for badge RTL (#34899) 2022-04-07 16:15:02 +08:00
二货机器人
a67c0d28d3
fix: react 18 test fixing (#34787)
* fix: try fix

* chore: ci

* test: recover

* test: more test case

* test: more and mote

* test: btn test

* fix: react 18 compitable

* chore: more test

* test: all confirm test

* chore: tmp

* chore: test lib

* chore: tmp

* chore: tmp

* test: back of part

* test: back of menu index test

* test: more test

* test: form test

* test: rm IE11 test case

* chore: fix compatible

* chore: clean up

* chore: back of all test case

* test: ignore 18 lines

* chore: remove render test of enzyme in upload

* test: back of IE11 test case to fit 100% coverage

* chore: fix pkg deps
2022-04-06 11:07:15 +08:00
Dzmitry Yarmoshkin
1a8a5ee06f
fix: add aria-checked prop to checkbox (#34862)
* fix: add aria-checked prop to checkbox

* fix: update snapshots

* fix: update aria-checked logic and snapshots

* refactor: change props order

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

Co-authored-by: Dzmitry Yarmoshkin <dzmitry_yarmoshkin@epam.com>
Co-authored-by: afc163 <afc163@gmail.com>
2022-04-06 10:04:09 +08:00
Minh Quy
445e6c6bca
feat: Support ref for Title, Text, Paragraph (#34847)
* feat: Support ref for Title, Text, Paragraph

* feat: Add tests for Title, Paragraph and Text
2022-04-05 13:02:32 +08:00
Tmk
c4ffbff841
fix: set requestId to null after fn was cancelled (#34858) 2022-04-05 13:01:18 +08:00
Daniel Pfeffer
27bb1ea4ae
chore: Update de_DE.tsx (#34836) 2022-04-05 12:37:10 +08:00
Yunwoo Ji
25f8a0ad5f
docs: add size property to progress (#34860) 2022-04-05 12:34:31 +08:00
MadCcc
6776bb8916
docs: demo support react18 (#34843)
* docs: update demo

* chore: add script

* test: fix demo test

* docs: convert demos

* chore: move script

* test: remove react-dom import

* chore: update deps

* docs: update riddle js

* test: fix image test

* docs: fix riddle demo
2022-04-03 23:27:45 +08:00
zqran
452c5835ec
feat: Tree switcherIcon prop support render-prop (#34470)
* feat: Tree `switcherIcon` prop support render-prop

* add test for `switcherIcon` render-prop

* change the `switcherIcon` prop type of `TreeSelect`

* fix switcherIcon render-prop condition

* fix switcherIcon
2022-04-01 17:10:38 +08:00
miracles1919
550f60ff76
docs: update draggable demo with rtl mode (#34785)
* docs: update draggable demo with rtl mode

* test: update tabs demo snapshot
2022-03-31 14:06:44 +08:00
afc163
0edd112d5b
feat: Anchor supports getCurrentAnchor(activeLink) (#34799)
close #34784
2022-03-31 11:17:17 +08:00
afc163
a73629fb85 chore: merge feature 2022-03-31 09:57:33 +08:00
Yunwoo Ji
f5c6379bba
fix: correct className (#34791) 2022-03-30 16:59:17 +08:00
afc163
c0304cca55
fix: Pagination should display middle size Select when ConfigProvider componentSize is large (#34756)
* fix: Pagination should display middle size Select
when ConfigProvider componentSize is large

close #34744

* fix snapshot
2022-03-30 16:38:08 +08:00
二货机器人
2733977245
chore: React 18 test case (#34781)
* chore: add 18 test

* chore: update test flow

* chore: fail fast

* chore: foce ci

* chore: more if

* chore: test it

* chore: back of it

* chore: master only

* chore: fix spell

* chore: force install

* test: comment 16 tmp

* chore: use react 17

* chore: install 18

* chore: back of 16 & 17
2022-03-30 14:35:43 +08:00
zombiej
c89e33d0b6 test: update snapshot 2022-03-30 11:54:22 +08:00
MadCcc
ff02a4e265
docs: replace grid design img (#34771)
* chore: replace grid design img

* fix: code error
2022-03-29 19:46:16 +08:00
MadCcc
2bff96fdd5
feat: Input.Group prevent components from getting style from Form.Item (#34764)
* feat: Input.Group provide isFormInput false

* test: update snapshot

* chore: code clean
2022-03-29 13:49:50 +08:00
shuaijiumei
0c4281f875
test: Update snapshot (#34758)
* fix: ci fail rollback

* fix: ci fail rollback
2022-03-28 22:25:23 +08:00
dengqing
0299966291
fix: skeleton cannot display children (#34751)
* fix: skeleton cannot display children

* fix: type error

* fix: add test case

Co-authored-by: dengqing <qing.deng@goldenpig.com.cn>
2022-03-28 19:52:06 +08:00
MadCcc
c5e8efb82f
feat: Dropdown support switch options with arrow keys (#34738)
* feat: dropdown support auto-focus

* chore: code clean
2022-03-28 14:43:10 +08:00
二货机器人
96ddf2e452
chore: more less variables (#34746) 2022-03-28 14:04:15 +08:00
二货机器人
9c7c424590
fix: tag-border-radius not work (#34741) 2022-03-27 22:15:38 +08:00
二货机器人
8a3ee71006
chore: add control-radius (#34727) 2022-03-27 00:20:38 +08:00
黑雨
215d2ad883
feat: add showCheckedStrategy api for cascader (#34568)
* feat: add showCheckedStrategy api for cascader

* feat: update doc

* feat: add demo and update doc

* feat: update demo
2022-03-26 00:17:34 +08:00
黑雨
9af935f7d3
refactor: use useContext in skeleton (#34699)
* feat: use useContext in skeleton

* feat: use useContext in skeleton

* feat: update for lint
2022-03-25 20:11:33 +08:00
afc163
1935ece582
fix: notification prevent interaction on elements which under it (#34716)
* fix: notification prevent interaction on elements which under it

close #34700

* fix test case
2022-03-25 19:38:28 +08:00
MadCcc
0d4cc5ed33
refactor: adjust TextArea in form (#34714) 2022-03-25 19:31:42 +08:00
MadCcc
7c4e12f99e
refactor: feedbackIcon provided by form (#34712)
* refactor: feedbackIcon migration

* test: update snapshot
2022-03-25 17:48:12 +08:00
Yunwoo Ji
c7553c2ba5
docs: fix type of style in tabs component (#34706) 2022-03-25 14:27:30 +08:00
zhao-huo-long
5588dae212
fix: Descriptions number 0 can't render span (#34696)
* fix: number 0 can't render span

* Update Cell.tsx

* chore: add test case
2022-03-25 09:38:55 +08:00
Zack Chang
be18ea659b
chore: update test cases of Spin (#34695) 2022-03-24 22:12:41 +08:00
MadCcc
0de1e66ff1
refactor: move override code in form (#34694)
* refactor: move override code in form

* refactor: radio and checkbox

* chore: code clean

* test: fix lint

* test: fix lint
2022-03-24 21:54:20 +08:00
Zack Chang
5e0c232077
chore: update Item component test case (#34686)
Co-authored-by: Zack Chang <zackchangjx@foxmail.com>
2022-03-24 14:27:42 +08:00
github-actions[bot]
2a35f74d74
chore: auto merge branchs (#34684)
chore: feature merge master
2022-03-24 04:30:35 +00:00
黑雨
087b65c3b9
feat: delete drawer wrap (#34673) 2022-03-23 22:46:15 +08:00
黑雨
d4acc661da
feat: add filterResetToDefaultFilteredValue api (#34355)
* feat: add filterResetToDefaultFilteredValue api

* feat: fix lint

* feat: update test case

* feat: update doc
2022-03-23 19:29:05 +08:00
huangkairan
d0be21ed8f
fix(table) filterSearch TypeScript declaration (#34671)
* fix: types declaration

* fix(table): filterSearch TypeScript declaration
2022-03-23 18:30:30 +08:00
Yunwoo Ji
76cc520efe
docs: fix type of style in drawer component (#34665) 2022-03-23 15:51:44 +08:00
github-actions[bot]
6df508d594
chore: auto merge branchs (#34666)
chore: sync master to feature
2022-03-23 06:59:20 +00:00
afc163
10e7337081 chore: fix moment snapshot change 2022-03-23 14:56:16 +08:00
zhao-huo-long
2282b1c580
chore: refactor message types implementation (#34654) 2022-03-23 14:49:57 +08:00
youngz
80377f2243
feat: Typography.Text Pass event to onCopy. (#34655) 2022-03-22 16:52:44 +08:00
dengqing
8cab1883af
fix: support Layout, Header and Footer given ref (#34650)
* feat: support layout components given refs

* test: add ensure given ref test case

* fix: update test

Co-authored-by: dengqing <qing.deng@goldenpig.com.cn>
2022-03-22 16:52:20 +08:00
MadCcc
67bfdacca0
fix: fix small steps dot positon (#34651)
* fix: fix small steps dot positon

* chore: code clean

* docs: add demo
2022-03-22 16:12:53 +08:00
afc163
d207ba65b8
chore: update Space vertical demo (#34647)
* chore: update Space vertical demo

close #34609

* fix snapshot
2022-03-22 14:49:42 +08:00
Yunwoo Ji
2709c5f747
docs: fix default value of height in drawer component (#34652) 2022-03-22 13:23:34 +08:00
Long Hao (龙濠)
7c182926bc
fix: wrong word and cancel export inner interface (#34643)
Co-authored-by: zengguhao.zgh <zengguhao.zgh@alibaba-inc.com>
2022-03-22 10:32:54 +08:00
github-actions[bot]
2f65904de2
chore: auto merge branchs (#34635)
chore: merge master into feature
2022-03-22 02:18:06 +00:00
Hamed Mohammadzadeh
0fe8bb9c37
fix: Badge Animation enter and leave in RTL (#34641)
* fix: Badge Animation enter and leave in RTL

* [CodeFactor] Apply fixes to commit 87f1866

[ci skip] [skip ci]

Co-authored-by: codefactor-io <support@codefactor.io>
2022-03-22 10:08:17 +08:00
MadCcc
c0b58aaf93
feat: Tree support rootClassName & rootStyle (#34578)
* feat: tree support rootClassName & rootStyle

* feat: Tree support rootClassName and rootStyle

* chore: update rc-cascader

* chore: update rc-tree

* chore: update cascader

* chore: update deps
2022-03-22 00:02:01 +08:00
Hamed Mohammadzadeh
0a90ac34c7
fix: BackTop responsive in RTL (#34626) 2022-03-21 23:12:34 +08:00
章鱼
4debb88f24
fix: when fullscreen is false, the element returned by dateFullCellRender cannot be interactive (#34614)
* fix: when fullscreen is false, the element returned by dateFullCellRender cannot be interactive

* test: add test for Calendar
2022-03-21 23:11:48 +08:00
MadCcc
47282f73bf
fix: clear icon style (#34610) 2022-03-21 12:04:34 +08:00
paul
8562427674
feat(row): add support for space-evenly (#34606)
* feat(row): add support for space-evenly

* docs: update demo snapshot.

Co-authored-by: gp5251 <gp5251@qq.com>
2022-03-21 09:49:21 +08:00
黑雨
4374b2c283
feat: dialog,image add rootClassName api (#34574)
* feat: dialog add rootClassName api

* feat: rc-image add rootClassName api

* feat: update doc
2022-03-19 18:44:43 +08:00
github-actions[bot]
76b1ad60d2
chore: auto merge branchs (#34585)
chore: sync master to feature
2022-03-19 09:41:29 +00:00
二货机器人
a67d39cd6c
feat: Menu support items (#34559)
* docs: Update Menu cn doc

* chore: update ts def

* chore: support convert

* docs: more demo

* docs: more demo

* docs: all menu demos

* docs: dropdown demo

* docs: dropdown all demos

* docs: update demo

* test: coverage

* docs: more demo

* docs: layout demo

* docs: all demo

* chore: fix ts lint

* docs: fix doc

* docs: all docs
2022-03-18 15:20:35 +08:00
Gianmarco Rengucci
4c46aeb265
fix: Update it_IT locales (#34566) 2022-03-18 14:37:46 +08:00
Anizcus
183dec11f6
fix: lt_LT locale for typeTemplate (#34567) 2022-03-18 13:55:40 +08:00
afc163
86b045e12c test: add type test for Input 2022-03-17 14:20:14 +08:00
Yunwoo Ji
310c7775d9
fix: apply scale transform to disabled star (#34547) 2022-03-17 11:54:52 +08:00
MadCcc
10c090a993
fix: tooltip preset color (#34548)
* fix: tooltip preset color

* chore: code clean
2022-03-17 11:48:52 +08:00
xrkffgg
66bad24413
fix: Badge RTL wrong placement (#34545) 2022-03-17 10:47:56 +08:00
afc163
bf6dfaa315 docs: move treeLoadedKeys to TreeSelect
close #34538
2022-03-16 19:03:08 +08:00
vagusX
fcbae92f5a
docs: update Input docs for default size in Form (#34537) 2022-03-16 17:34:07 +08:00
mic-web
7f7b3a59dc
fix: col-x class names in css when using custom prefix (#34494)
* fix: col-x class names of Row and Col components when using custom prefix

* refactor: reuse @col-prefix-cls and @row-prefix-cls

* refactor: move @col-prefix-cls and @row-prefix-cls to mixin.less
2022-03-16 17:01:27 +08:00
vagusX
4eb097cef9
fix: typos in Input.tsx (#34534) 2022-03-16 16:04:01 +08:00
github-actions[bot]
78705e34f0
chore: auto merge branchs (#34527)
chore: sync master into feature
2022-03-16 03:38:49 +00:00
afc163
f3c5c17474
fix: Typography ediable style (#34518)
- [x] Fix Editable Textarea height jump in Firefox
- [x] Fix Editable Typography.Title confirm icon position
2022-03-15 21:03:06 +08:00
MadCcc
ed651f450d
fix: missing status style for RangePicker (#34509)
* fix: range picker should has status style

* chore: code clean

* chore: code clean

* chore: code clean
2022-03-15 18:38:22 +08:00
zombiej
4f2b53ad26 docs: fix alert docs escape 2022-03-15 14:21:36 +08:00
zombiej
ac121e887c test: Update snapshot 2022-03-15 14:13:49 +08:00
CommanderRoot
7c34addf57
refactor: replace deprecated String.prototype.substr() (#34498)
String.prototype.substr() is deprecated (see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/substr) so we replace it with functions which aren't.
Signed-off-by: Tobias Speicher <rootcommander@gmail.com>
2022-03-15 10:41:12 +08:00
afc163
ad946f9671 docs: dropdownRender usage
2de1a15da9
2022-03-14 22:26:09 +08:00
Long Hao (龙濠)
bef910b9bc
refactor: move prefixCls to wrapper (#34482)
* refactor: move prefixCls to wrapper

* fix: name change

Co-authored-by: zengguhao.zgh <zengguhao.zgh@alibaba-inc.com>
2022-03-14 16:22:18 +08:00
MadCcc
c9b6a24978
chore: add focus warning for Input (#34475)
* chore: add focus warning for Input

* chore: code clean

* chore: remove duplicate variables
2022-03-14 15:37:02 +08:00
MadCcc
14e719295e
fix: input classname in affix wrapper (#34474) 2022-03-14 15:05:24 +08:00
EvanOne(文一)
ac130c63ca
docs(components:Cascader): supplement the API documentation (#34466)
* docs(components:Cascader): supplement the API documentation

* docs(Cascader:en-US): supplement the API documentation
2022-03-13 21:46:44 +08:00
YuTao
ed47a8e1ea
docs(module:timeline): fix typo (#34389)
* docs(module:timeline): fix typo

* docs(module:timeline): fix typo

* Apply suggestions from code review

* Apply suggestions from code review

Co-authored-by: afc163 <afc163@gmail.com>
2022-03-13 00:30:51 +08:00
二货机器人
2e27c00293
chore: export css variable func (#34436) 2022-03-11 16:16:23 +08:00
黑雨
e45fa77eb8
feat: add aria-* to Spin (#34408)
* feat: add aria

* feat: update other snap

* feat: update logic
2022-03-11 15:49:33 +08:00
二货机器人
c50bbe64bb
chore: refactor internal menu with hooks (#34433)
* chore: refactor menu with hooks

* chore: clean up
2022-03-11 15:26:29 +08:00
afc163
f987bd0479
fix: PageHeader extra gutter (#34428) 2022-03-11 13:34:38 +08:00
zqran
86415ef8a2
docs(Table): replace the link of TableComponents prop with rc-table type (#34423) 2022-03-11 09:52:16 +08:00
dujun
fca7210309
fix: Tooltip width in safari (#34415) 2022-03-10 19:47:16 +08:00
PanStar
362a99e9d4
feat: hide the last border in borderless mode (#34366) 2022-03-10 19:29:50 +08:00
高喵喵
fbb98f2b4f
Fix InputProps supports data attributes (#34410)
* fix: add data-xx for inputProps and convert input/_tests/index.test.js to tsx file

* fix: run tests
2022-03-10 19:26:01 +08:00
MadCcc
4c666f5775
fix: clear status in input addon (#34412) 2022-03-10 19:04:51 +08:00
二货机器人
b51c900847
refactor: rm useDestroy hook (#34418) 2022-03-10 18:54:32 +08:00
MadCcc
161f5623d5
fix: fix arrow size in default.less (#34407)
* fix: fix arrow size in default.less

* chore: code clean
2022-03-10 15:31:19 +08:00
二货机器人
3d7ed0815b
fix: not warning if Form.Item unmount (#34405) 2022-03-10 15:21:10 +08:00
Jungzl
75429d3b99
docs: fix select fieldNames typo (#34399) 2022-03-10 12:11:26 +08:00
Uladzimir Atroshchanka
662f3ade06
feat: Breadcrumb accessibility improvements (#34082)
* add accessibility to the breadcrumb component

* feat: add accessibility to the breadcrumb component

* test: breadcrumb accessibility
2022-03-10 11:46:42 +08:00
Fisher
793b61e9db
fix(transfer): footer类型定义支持direction (#34337) 2022-03-10 11:01:13 +08:00
二货机器人
235ab32f44
fix: Dropdown not auto adjust placement (#34390) 2022-03-09 19:34:46 +08:00
MadCcc
b199d9d2fa
fix: input lg font size (#34381) 2022-03-09 17:08:29 +08:00
Dennis273
d12614fdbb
docs(Spin): fix en-US description of spinning prop (#34382)
Previous description indicates that Spin is visible but not spinning when `spinning === false`. According to ZH-CN doc, Spin is not visible when `spinning === false`.
2022-03-09 16:46:52 +08:00
afc163
c69604ad5f
chore: resposive.md => responsive.md (#34368)
* chore: resposive.md => responsive.md

* update snapshot
2022-03-08 21:06:06 +08:00
afc163
e1f453c988
refactor: Replace ConfigConsumer to ConfigContext (#34365) 2022-03-08 18:13:51 +08:00
MadCcc
33ddc539df
refactor: Input.Group use context hook (#34361) 2022-03-08 15:09:02 +08:00
二货机器人
8fe8df777e
fix: csp not work on icon (#34356) 2022-03-08 14:01:53 +08:00
MadCcc
6ef85f654d
fix: password icon color (#34354) 2022-03-08 13:46:11 +08:00
MadCcc
868a17736a
fix: status less compile error (#34350) 2022-03-08 12:10:29 +08:00
MadCcc
c7f6e1f199
refactor: clearIcon in allowClear (#34340)
* refactor: Input allowClear api upadte

* test: add test
2022-03-08 01:40:24 +08:00
MadCcc
77960c3f75
feat: Input support clearIcon (#34325)
* feat: Input support clearIcon

* docs: update Input api
2022-03-07 14:02:37 +08:00
MadCcc
8d7f137a09
test: add boolean value input test (#34324) 2022-03-07 13:09:07 +08:00
afc163
0acb9901ea
fix: Form.Item "React does not recognize the requiredMark prop on a DOM element" (#34323)
close #34310
2022-03-07 12:22:33 +08:00
afc163
0e27f8af7e
fix: typography title margin issue (#34302) 2022-03-04 22:10:16 +08:00
github-actions[bot]
d595229d6b
chore: auto merge branchs (#34306)
chore: sync feature into master
2022-03-04 13:43:17 +00:00
afc163
1df2ecd66e
fix: Tree filter select all behavior (#34295)
ref https://github.com/ant-design/ant-design/issues/34280
2022-03-04 15:36:18 +08:00
MadCcc
5d51e8b5b4
fix: limit input class due to rc-input won't override input class (#34294)
* fix: limit input class due to rc-input won't override input class

* fix: add feedback into affix judgement
2022-03-04 12:07:25 +08:00
黑雨
c7fe1c8e26
fix: editable Typography.Title should match font size while editing (#34169)
* feat: editable Typography.Title should match font size while editing

* feat: update style

* feat: update style

* feat: update style

* feat: style lint

* feat: update style

* Update components/typography/style/index.less

* Update components/typography/Editable.tsx

* feat: reorganize css

* feat: style lint

* feat: update snap

Co-authored-by: afc163 <afc163@gmail.com>
2022-03-04 11:04:20 +08:00
Karott Schu
03d8556d8c
docs: add description about onClear prop in AutoComplete doc (#34292) 2022-03-04 10:26:42 +08:00
github-actions[bot]
9bcd45fac2
chore: auto merge branchs (#34266)
chore: sync master into feature
2022-03-03 02:23:48 +00:00
aghArdeshir
b1fc8a5d7d
style: remove overriding !important from input border right width styles (#34178) 2022-03-02 18:57:15 +08:00
Zach Bird
1042829e49
fix: Form doc "resetFields" args type (#34262) 2022-03-02 17:39:42 +08:00
二货机器人
a05a8674e9
refactor: Wrap affix with FC (#34254)
* test: fix

* chore: ts fix

* chore: update ts def

* test: fix test
2022-03-02 17:05:59 +08:00
Long Hao (龙濠)
cfca106c4a
refactor: change usecontext of divider prepare for v5 (#34246)
Co-authored-by: zengguhao.zgh <zengguhao.zgh@alibaba-inc.com>
2022-03-02 10:10:29 +08:00
二货机器人
811fed2fc2
refactor: Update rc-slider (#34234)
* chore: Update rc-slider version

* chore: bump

* chore: update sty;e

* fix: style

* test: update snapshot

* test: all fixed

* fix lint
2022-03-01 14:48:41 +08:00
MadCcc
bfebb88bdb
feat: introduce rc-input (#34206)
* feat: introduce rc-input

* fix: export InputRef alias

* docs: fix demo

* chore: code clean

* test: fix lint

* test: test coverage

* chore: code clean

* chore: code clean

* test: update snapshot
2022-03-01 14:17:48 +08:00
github-actions[bot]
faff0ec888
chore: auto merge branchs (#34226)
chore: sync master into feature
2022-02-27 06:28:28 +00:00
qdzhaoxiaodao
1a2ced6874
feat: add variable for aliyun theme of radio (#34194)
Co-authored-by: zhaohonghai <wb-zhh767523@alibaba-inc.com>
2022-02-27 13:52:42 +08:00
qdzhaoxiaodao
2082b3717a
feat: add variable for aliyun theme of divider (#34187)
Co-authored-by: zhaohonghai <wb-zhh767523@alibaba-inc.com>
2022-02-27 13:52:26 +08:00
qdzhaoxiaodao
6c1057724a
feat: add variable for aliyun theme of modal (#34191)
Co-authored-by: zhaohonghai <wb-zhh767523@alibaba-inc.com>
2022-02-27 13:51:58 +08:00
qdzhaoxiaodao
3b0174dbdb
feat: add variable for aliyun theme of dropdown (#34189)
Co-authored-by: zhaohonghai <wb-zhh767523@alibaba-inc.com>
2022-02-27 10:52:50 +08:00
qdzhaoxiaodao
60aaa70069
feat: add variable for aliyun theme of drawer (#34188)
Co-authored-by: zhaohonghai <wb-zhh767523@alibaba-inc.com>
2022-02-27 10:52:21 +08:00
github-actions[bot]
2d194ecd0a
chore: auto merge branchs (#34209)
chore: merge master into feature
2022-02-25 10:52:16 +00:00
黑雨
2c56927ae9
feat: table filterSearch supports function (#34085)
* feat: table filterSearch supports function

* feat: update for test

* feat: update document
2022-02-25 16:05:18 +08:00
黑雨
086e5d8e60
feat: table FilterDropdown support clearFilters({ confirm: false, closeDropdown: false }) (#34120)
* feat: table FilterDropdown support `clearFilters({ confirm: boolean })`

* feat: update `clearFilters` and `confirm`

* feat: add FilterRestProps,update document

* feat: update onReset params order

* feat: add test case
2022-02-25 16:03:22 +08:00
Long Hao (龙濠)
517ab4c3ce
fix: issue #34015 cascader document of option less isleaf param (#34174)
* fix: issue #34015 cascader document of option less isleaf param

* fix: add comment

* fix: comment change

Co-authored-by: zengguhao.zgh <zengguhao.zgh@alibaba-inc.com>
2022-02-24 10:53:51 +08:00
afc163
1c28ed37fc
fix: Dropdown item style when text is long (#34177)
close #34176
2022-02-24 10:38:26 +08:00
Dave
780da54c3b
fix(upload): onChange params type err (#34161)
* fix(upload): onChange params type err

* test(upload): check onChange params type
2022-02-23 18:44:26 +08:00
afc163
34a63e6892 chore: merge feature into master 2022-02-23 17:11:11 +08:00
afc163
07dec4cb00
perf: Improve Components render perfermance when it's not reponsive (#34122)
* perf: Improve List render perfermance when grid is undefined

https://github.com/ant-design/ant-design/pull/34106/files#diff-9e016ea02fe7dd0ea42d8774d29d45e1a10b8dd108de9c89d50c828c74b993b8R146-R151

* chore: do not export useBreakpoint param

Co-authored-by: zombiej <smith3816@gmail.com>
2022-02-21 16:48:39 +08:00
Picsong
246f90f03e
fix: Layout component SiderProps type not exported (#34137) 2022-02-21 13:16:27 +08:00
TrickyPi
537f4c357b
fix: del messageInstance when configuring getContainer (#34123)
* fix: del messageInstance when configuring getContainer

* test: move the new test to the bottom of the test lists
2022-02-21 12:31:39 +08:00
Di Wu
15f4452f14
fix: Invalid memoized context value in Menu (#34121) 2022-02-18 18:34:21 +08:00
二货机器人
a09a3255f3
fix: not crash ConfigProvider.config on server side (#34118) 2022-02-18 17:07:23 +08:00
afc163
386ede9297
fix: Form layout when Select has long text (#34117)
* fix: Form layout when Select has long text

close #33773

* chore: update snapshot
2022-02-18 15:46:59 +08:00
二货机器人
e0c1e0650c
docs: Multiple displayRender support (#34116) 2022-02-18 15:02:26 +08:00
MadCcc
2c88f606c3
fix: remove duplicated style (#34101)
* fix: remove duplicated style

* chore: reduce bundle size limitation

* chore: raise bundle size
2022-02-18 10:31:19 +08:00
二货机器人
9f602aa710
fix: Table render twice on first mount (#34106)
* fix: Table render twice

* chore: clean up

* test: Fix test case
2022-02-17 18:11:33 +08:00
MadCcc
ca15cc9b0a
feat: transfer support status (#34098)
* feat: transfer support status

* docs: update demo
2022-02-17 16:43:33 +08:00
MadCcc
bdb297ec5f
feat: AutoComplete support status (#34096)
* feat: AutoComplete support status

* test: update snapshot
2022-02-17 16:41:24 +08:00
MadCcc
fb1955573e
feat: TreeSelect support status (#34093)
* feat: TreeSelect support status

* chore: code clean

* docs: add demo version
2022-02-17 16:41:12 +08:00
MadCcc
533bc8740a
feat: cascader support status (#34086)
* feat: cascader support status

* chore: code clean

* chore: raise bundle size limitation

* chore: code clean
2022-02-17 15:08:13 +08:00
黑雨
483ebb9da1
fix: update quarter picker placeholder for RangePicker (#34089) 2022-02-17 13:38:49 +08:00
MadCcc
2258335e6c
feat: select support status (#34084)
* feat: select support status

* test: fix lint
2022-02-16 21:39:48 +08:00
MadCcc
8054abe81f
feat: DatePicker and TimePicker support status (#34073)
* feat: DatePicker and TimePicker support status

* docs: demo add version

* chore: code clean
2022-02-16 21:14:51 +08:00
MadCcc
65bf6550b1
feat: mentions support status (#34071)
* test: skip form deps-lint

* perf: remove useless has-feedback classname

* test: raise test coverage

* style: recover import arrangement
2022-02-16 21:14:05 +08:00
afc163
fc60b1f656 test: skip layout demo which failed a lot in argoci 2022-02-16 19:54:58 +08:00
afc163
d38363e161 docs: fix procomponents links 2022-02-16 19:54:23 +08:00
opopeieie
58c1998e1e
fix: Typography copyable in clipboard incorrect (#34034)
Co-authored-by: chenxq <chenxq@neocrm.com>
2022-02-16 19:41:06 +08:00
MadCcc
6a7acfbf6e
feat: inputNumber support status (#34042)
* feat: inputNumber support status

* test: fix test

* feat: custom status first

* refactor: getMergedStatus pass status in params
2022-02-16 11:48:24 +08:00
Filip Seman
fcd6ab67ec
chore: Update sk_SK locales (#34061)
* chore: Update sk_SK locales

* Disable eslint rule, based on defaults (EN)
2022-02-16 10:04:09 +08:00
MadCcc
186ba3a7de chore: update snapshot 2022-02-15 14:06:17 +08:00
MadCcc
76ad890deb Merge branch 'master' into feature-merge-master 2022-02-15 14:05:33 +08:00
zombiej
1aa2aa6868 test: Udpate test for rc-util@latest 2022-02-14 18:51:16 +08:00
MadCcc
37e042358d
feat: Input support status (#33995)
* feat: remove form status style && input support status

* test: update snapshot

* feat: update status prop in config provider

* fix: form item validateStatus support

* chore: code clean

* feat: status classname change

* test: update snapshot

* refactor: move formItemStatusContext to form folder

* refactor: merge utils

* refactor: rename statusUtils

* chore: code clean

* test: fix coverage

* chore: remove status prop of Form.Item

* chore: code clean

* docs: update demo

* test: fix lint

* feat: status only success and warning

* test: fix lint

* docs: update deamo
2022-02-14 17:09:35 +08:00
David
2843bd32dd
feat: Add ability to overwrite Menu theme at Menu.SubMenu level. (#33971)
* Add theme support to Menu.SubMenu

* Tidy up docs

* Tidy up docs

* Update components/menu/index.en-US.md

* Update components/menu/index.en-US.md

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

* Add Chinese lang docs

* Extend menu theme demo to additionally demonstrate Sub-menu theming

* Add submenu theme demo

* Revert "Extend menu theme demo to additionally demonstrate Sub-menu theming"

This reverts commit 642a2b5b72.

* Add tests

* Correct typo

* Make demo vertical so absolutely positioned popover doesn't overflow

* Make demo functional component

* Update components/menu/index.en-US.md

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

* Update components/menu/index.zh-CN.md

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

* Update components/menu/demo/submenu-theme.md

Co-authored-by: MadCcc <1075746765@qq.com>

Co-authored-by: Amumu <yoyo837@hotmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
Co-authored-by: MadCcc <1075746765@qq.com>
2022-02-14 15:21:33 +08:00
soso
b66016a6f7
fix: useLayoutEffect to useIsomorphicLayoutEffect (#33818)
* fix: useLayoutEffect to useIsomorphicLayoutEffect

* chore: change to rc-util/lib/hooks/useLayoutEffect
2022-02-14 14:36:05 +08:00
Michał Podeszwa
813414ce1b
fix: min/max validators in pl_PL locale returning undefined (#34024)
Co-authored-by: Michał Podeszwa <178679-michalpodeszwa@users.noreply.gitlab.com>
2022-02-14 11:42:38 +08:00
chenyizhongx
38b4a03c56
fix textarea maxlength issue (#33910)
* fix: textarea maxlength

* refactor: delete some useless code

* refactor: fix ci

* refactor and fix test case fall

* update snapshot

* add testcase

* refactor type defined
2022-02-14 11:27:52 +08:00
afc163
9eed463be3
docs: more acurrate description about Menu overflowedIndicator prop (#34022)
* docs: add info about Menu overflowedIndicator prop

close #34016

* fix doc
2022-02-12 22:01:24 +08:00
babycannotsay
a7e8f1034f
fix: cascader's onChange ts adapts to single and multiple (#33947)
* fix to: cascader's multiple determines the declaration of onChange

* fix: cascader's onChange ts adapts to single and multiple

* test: fix
2022-02-12 21:56:55 +08:00
二货机器人
31fb55adf3
chore: btn default provide default cls (#34013) 2022-02-11 15:02:59 +08:00
二货机器人
fe185dcbce
fix: typography ellipsis check in transform (#34007)
* fix: typography ellipsis check in transform

* test: Update snapshot
2022-02-11 14:06:06 +08:00
afc163
fd2ebe57f7
style: improve Menu :focus-visible style (#34008)
* style: improve Menu :focus-visible style

ref #34005

* style: darken :focus-visible style
2022-02-11 13:06:06 +08:00
afc163
92d5820457
chore: remove unused interface file (#34011) 2022-02-11 13:05:54 +08:00
afc163
0c422fe1b7
docs: improve Select dropdownRender demo style (#34004) 2022-02-11 10:39:10 +08:00
afc163
dc67fd7dbb
fix: Pagination and Rate style bug in Safari (#34002)
* fix: Pagination and Rate style bug in safari

close #33965

* fix style
2022-02-10 17:51:40 +08:00
renovate[bot]
9f30ca6b3f
chore(deps): update dependency react-dnd to v15 (#33940)
* chore(deps): update dependency react-dnd to v15

* fix: Tabs demo

* fix: demo

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: afc163 <afc163@gmail.com>
2022-02-10 17:31:38 +08:00
linxianxi
19cc7d49e2
fix: Typography copyable add stopPropagation (#33998)
* fix: Typography copyable add stopPropagation

* add test
2022-02-10 16:22:31 +08:00
Jase Owens
b53d12db65
feat: Exposes additional props for pagination component on transfer (#33954)
* Exposes additional props for pagination component on transfer

* feat: Improve transfer pagination customization

* feat: Improve transfer pagination customization
2022-02-10 13:16:45 +08:00
mic-web
4f8646f957
fix: class names of Row and Col components when using custom prefix (#33969) 2022-02-10 11:13:25 +08:00
Di Wu
745ebf2d84
fix: Exception in enter key callback on editable or copyable Paragraph (#33976)
* fix: Exception on enter key callback

* Move spyOn position
2022-02-09 18:07:52 +08:00
黑雨
ee17f7185d
feat: inputNumber controls support customize upIcon/downIcon (#33914)
* feat: inputNumber controls support customize upIcon/downIcon

* feat: 修改代码格式问题

* feat: 更新snapshot,修改代码开启prettier

* feat: 更新snapshot,order 属性修改

* feat: upIcon/downIcon写法调整

* feat: 更新snapshot
2022-02-09 18:06:36 +08:00
github-actions[bot]
59ced6297d
chore: auto merge branchs (#33963)
chore: merge master into feature
2022-02-08 10:07:05 +00:00
MadCcc
926a8aaf8a
feat: tooltip round arrow (#33710)
* feat: tooltip round arrow

* chore: update demo

* docs: update docs

* feat: rounded arrow in Tooltip/Popover/Popconfirm/Dropdown/RangePicker

* chore: code clean

* fix: fill gap

* chore: code clean

* chore: raise css bundle size

* fix: arrow style

* feat: use full path

* test: update snapshot

* perf: hack firefox

* perf: more magic position

* perf: RangePicker's arrow position

* chore: bump rc-picker version

* fix: arrow position
2022-02-08 09:52:33 +08:00
MadCcc
a38b1e4ca5
fix: custom color should work on antd icons (#33951) 2022-02-08 09:52:00 +08:00
Dawnlck
17d6a5e407
fix(popover): fix the problem that popover display when the props'content is empty (#33835)
* fix(popover): fix the problem that popover display when the props'content is empty

* refactor(popover): 更新代码判断逻辑

* test(popover): 添加popover的test

* feat(popover): 更新snapshot

* feat(popover): 更新剩余的snapshot
2022-02-07 15:28:46 +08:00
github-actions[bot]
281763f345
chore: auto merge branchs (#33945)
chore: merge master into feature
2022-02-07 04:30:42 +00:00
Amour1688
1176454437
types: export DatePickRef and RangePickerRef (close #33417) (#33901) 2022-01-31 12:04:47 +08:00
MadCcc
222ee1f3ad Revert "revert: Revert "Merge branch 'feature' into master" (#33903)"
This reverts commit 6b1a48d5ed.
2022-01-30 15:49:24 +08:00
MadCcc
6b1a48d5ed
revert: Revert "Merge branch 'feature' into master" (#33903)
This reverts commit 40433f357d, reversing
changes made to 27a498e021.
2022-01-30 15:21:41 +08:00
MadCcc
40433f357d
Merge branch 'feature' into master 2022-01-30 14:46:13 +08:00
MadCcc
27a498e021
fix: update dropdown version to 3.2.5 (#33895)
* fix: update dropdown version to 3.2.5

* test: update snapshot
2022-01-30 12:31:35 +08:00
github-actions[bot]
0d4e1b1356
chore: auto merge branchs (#33889)
chore: merge master into feature
2022-01-29 11:53:19 +00:00
MadCcc
a9bc316b80
fix: ellipsis should display tooltip if rows larger than 1 (#33875)
* fix: ellipsis should display tooltip if rows larger than 1

* test: add test case
2022-01-28 14:54:03 +08:00
tangjinzhou
eb45dbb4db
fix: block not work when small size (#33878)
https://github.com/vueComponent/ant-design-vue/issues/5219
2022-01-27 21:33:45 +08:00
MadCcc
2d66c7ecc6
fix: tooltip should work with loading switch (#33860)
* fix: tooltip should work with loading switch

* fix: only works for switch

* chore: code clean
2022-01-27 17:51:00 +08:00
黑雨
5a28417c58
feat: notification placement support 'top'/'bottom' (#33871) 2022-01-27 17:26:19 +08:00
Di Wu
9fe57c654a
fix: Clear timer of delayed loading after Button is unmounted (#33858)
* fix: Clear delay loading timer after Button is unmounted

* [CodeFactor] Apply fixes to commit 16cfb89

[ci skip] [skip ci]

* Change arrow function style in test case

Co-authored-by: codefactor-io <support@codefactor.io>
2022-01-27 14:06:37 +08:00
Cole
dc019dca56
fix: upload button position flashes when it changes from hidden to displayed (#33820)
* fix: fix upload button position flashes when it changes from hidden to displayed (#33819)

* fix: typo in upload

Co-authored-by: chenqiufan <chenqiufan@shiqiao.com>
2022-01-25 11:20:46 +08:00
github-actions[bot]
d81ac2d5a9
chore: auto merge branchs (#33823)
chore: sync master into feature
2022-01-24 08:16:00 +00:00
afc163
578aaad7f2 test: fix lint 2022-01-24 11:26:26 +08:00
Eliot Sanford
a65ba8aa8a
docs: update sentence structure in the FAQ section (#33816) 2022-01-24 10:51:45 +08:00
Di Wu
fe23374871
fix: Invalid hook dependency array in Sider and Row (#33804) 2022-01-21 18:39:47 +08:00
github-actions[bot]
0c6d1512be
chore: auto merge branchs (#33794)
chore: merge master into feature
2022-01-21 05:32:19 +00:00
MadCcc
9cf0dca8fc
test: fix cascader test coverage (#33802) 2022-01-21 11:49:07 +08:00
afc163
5d2994ec12
style: Cascader loading icon (#33799) 2022-01-21 10:40:34 +08:00
王浩
6dd39c1f89
fix(checkbox): disabled checkbox should works well with tooltip (#33772)
Co-authored-by: wanghao <wanghao.wong@bytedance.com>
2022-01-20 19:23:14 +08:00
Long Hao (龙濠)
3c76de74ce
fix: Get ref of Card component #33730 (#33784)
* fix: Get ref of Card component #33730

* add test to the card ref

Co-authored-by: zengguhao.zgh <zengguhao.zgh@alibaba-inc.com>
2022-01-20 18:05:36 +08:00
Cat-XHS
daa9804824
feat: Select/DatePicker/TimePicker/TreeSelect support placement (#33541)
* feat: select components add placement api

* feat: select components add placement api

* fix: delete placement

* fix: change md demo and delete export

* feat: cascader and tree-select add placement

* feat: datapicker add placement api

* fix: change repeat static declaration to single

* test: updata test units

* doc: change doc

* fix: delete merge message & delete decalare ts

* test: fix unit test

* fix: add transName in select & treeSelect & cascader

* fix: change common api in utils

* fix: change useless if block to only

* fix: change placement string to enum

* fix: lint done

Co-authored-by: 礼检 <ljj337009@antgroup.com>
2022-01-20 16:54:47 +08:00
MadCcc
d777a5430c
fix: update prevValue of checkbox if value changed (#33753) 2022-01-20 10:15:42 +08:00
dengqing
30086db63f
docs: ✏️ add note comment (#33771)
Co-authored-by: dengqing <qing.deng@goldenpig.com.cn>
2022-01-19 19:05:25 +08:00
afc163
85c96251d3
fix: Tag color in dark theme (#33751)
* docs: update dark theme doc

* fix: dark tag theme
2022-01-19 15:38:48 +08:00
github-actions[bot]
803be5d121
chore: auto merge branchs (#33764)
chore: merge master into feature
2022-01-19 06:28:19 +00:00
afc163
62eac5c830
chore: update Cacasder demo and remove array-tree-filter (#33754)
* chore: upgrade rc-cacasder

* update snapshot
2022-01-19 11:39:39 +08:00
MadCcc
8b4abbb1f5
feat: border color with transparency (#33506)
* feat: border color with transparency

* feat: update progess remain color with rgba(0, 0, 0, 0.06)

* feat: progress remaining color
2022-01-18 18:19:42 +08:00
二货机器人
395c549049
fix: Typography error on context ellipsis (#33725)
* chore: init measure

* chore: out of space

* refactor: Multiple render

* chore: auto cut

* feat: render split

* fix: ellipsis logic of suffix

* fix: ref missing

* fix: Tooltip missing

* test: snapshot

* chore: opt for textarea

* test: back part of ellipsis

* chore: back of ellipsis logic

* ellipsis logic

* fix: init ellipsis measure

* fix: ellipsis event

* chore: clean up

* test: Update snapshot

* fix: test

* test: Update snapshot

* chore: lazy ellipsis

* fix: check css ellipsis logic

* test: Update snapshot

* test: back of coverage

* chore: clean up

* test: ignore else

* test: clean up
2022-01-18 14:13:41 +08:00
github-actions[bot]
5a93cc024d
chore: auto merge branchs (#33745)
chore: sync master into feature
2022-01-18 03:16:08 +00:00
VIREAK KEOSOKVIBOL
121937186b
fix: some incorrect translation for km_KH (#33738)
* Add km_KH locale to component

* Add test and docs

* Fix typo

* Add test snapshot

* Fix translation

* Add test
2022-01-17 15:13:59 +08:00
zhenfan.yu
0092253460
fix Input及相关组件设置 hidden 时展示问题 (#33735)
* fix: Image 图片底部空白 #30825

* feat: Input、Input.search、Input.Textarea、Input.password 设置 hidden 时 所有 prefix or suffix or showCount or allowClear or addonBefore or addonAfter 都应该隐藏

* fix: lint

* fix: test

* fix: test ui
2022-01-15 22:08:19 +08:00
yanm1ng
54ef44be97
docs(table): upgrade react-sortable-hoc usage (#33729)
Co-authored-by: 亦逊 <eason.ym@alibaba-inc.com>
2022-01-14 18:50:02 +08:00
Di Wu
f53e615518
fix: Invalid memoized context value in LocaleProvider (#33723)
* fix: Invalid memoized context value in LocaleProvider

* Add button type in test case.

* fix: Invalid memoized context value in Anchor
2022-01-14 18:34:27 +08:00
MadCcc
f81e392d7e
docs: add controlled preview demo for Image (#33727)
* docs: add controlled preview demo for Image

* test: update snapshot

* test: fix lint error
2022-01-14 18:24:08 +08:00
PlayerWho
e38c9c5106
fix: <Icon component={SyncOutlined} spin /> shake issue. (#33726) 2022-01-14 15:57:24 +08:00
toSayNothing
5f9e3a8415
fix: Steps tail shouldn't show when type is navigation and labelPlacement is vertical (fix #33681) (#33716)
* Steps tail shouldn't show when type is navigation and labelPlacement is vertical (fix #33681)

* fix: Steps tail shouldn't show when type is navigation and labelPlacement is vertical
close #33681

* fix: Steps tail shouldn't show when type is navigation and labelPlacement is vertical
close #33681
2022-01-14 13:53:08 +08:00
github-actions[bot]
7d0806ba32
chore: auto merge branchs (#33707)
branch: merge master into feature
2022-01-14 03:53:35 +00:00
afc163
80e7cc0afd
fix: <Icon component={HomeOutlined} /> align issue (#33709)
* fix: <Icon component={HomeOutlined} /> align issue

close #33703

* update snapshot
2022-01-13 20:32:09 +08:00
hydraZty
aecf52e4b0
fix: Input can not be hidden when prefix is set (#33706)
* fix: Input can not be hidden when prefix is set

* test: jest case for #33692

Co-authored-by: hydraZty <hydra_zty@163.com>
2022-01-13 16:23:27 +08:00
afc163
2d484bbe47
fix: Form validateMessages in nested ConfigProvider (#33705)
close #33691
2022-01-13 13:50:18 +08:00
MadCcc
e5451a95cb
feat: dropdown support arrow pointing at center (#33658)
* feat: add pointAtCenter prop for dropdown

* feat: dropdown support arrow pointing at center

* chore: code clean

* chore: use getPlacements in tooltip

* feat: dropdown support 'top' and 'bottom'

* chore: update snapshot

* chore: move placements to util folder

* feat: make 'topCenter' and 'bottomCenter' in Dropdown deprecated

* test: update snapshot

* test: add test for topCenter and bottomCenter
2022-01-13 13:34:34 +08:00
whwangms
1c38ef941d
fix: remove input showCount attribute from parent component (#33686) 2022-01-12 23:03:23 +08:00
zhenfan.yu
319d8f02ec
fix: Image 图片底部空白 #30825 (#33631) 2022-01-12 23:01:56 +08:00
MadCcc
29f68f9e28
fix: checkbox group support options other than string (#33678)
* fix: checkbox group support options other than string

* docs: update checkbox docs

* fix: radio group support value other than string

* fix: only support number and string

* docs: update group options type
2022-01-12 22:57:43 +08:00
afc163
7a3f7ba58c
test: improve layout demo (#33653)
* test: improve layout demo

* test: improve layout demo

* update snapshot
2022-01-12 10:40:24 +08:00
uchanlee
5fb13e9681
feat: add skeleton input block (#33672)
* feat: add skeleton input block

* update: skeleton shapshot
2022-01-11 15:12:03 +08:00
Dan Greene
a39ddcf798
feat: resolves issue 33572 re aria-sort on tables (#33603)
* feat: resolves issue 33572 re aria-sort on tables

* fixing snapshots

* removing code that can't be hit anyway
2022-01-11 13:18:42 +08:00
dimbslmh
10c3ec6b5c
fix: Warning: Encountered two children with the same key, 'seperator' (#33649)
* fix: Warning: Encountered two children with the same key, 'seperator' #33183

* eslint-disable-next-line react/no-array-index-key

Co-authored-by: dimbslmh <dimsbslmh@gmail.com>
2022-01-11 13:18:17 +08:00
二货机器人
18296d1c46
refactor: opt for typography Tooltip perf (#33669) 2022-01-11 12:04:50 +08:00
github-actions[bot]
44d8e382ba
chore: auto merge branchs (#33652)
branch: merge master into feature
2022-01-11 03:31:21 +00:00
qin20
fe57135e35
feat: support custom Space children key (#33607)
close #33331

Co-authored-by: 秦缘斌 <qinyuanbin@corp.netease.com>
2022-01-10 18:11:06 +08:00
二货机器人
ec5b33e949
fix: Form.Item shaking when help is empty string (#33644)
* fix: empty help takes the line

* test: test case
2022-01-10 15:58:53 +08:00
Shanjie Chen
6e17649e48
docs(TreeSelect): add one missing field (#33619) 2022-01-10 09:41:57 +08:00
github-actions[bot]
172dfc9aeb
chore: auto merge branchs (#33611)
chore: merge master to feature
2022-01-07 08:16:31 +00:00
afc163
7d0193e945
style: remove svg reset styles (#33579)
see reason: 004d58b2f2

close #33573
2022-01-06 15:01:16 +08:00