Commit Graph

13939 Commits

Author SHA1 Message Date
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