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