Commit Graph

13857 Commits

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