Commit Graph

15753 Commits

Author SHA1 Message Date
二货机器人
b02b7aeadb chore: merge master 2023-01-31 10:21:17 +08:00
luo3house
bb0f4d02ee
docs(App): translate (#40460) 2023-01-31 09:53:11 +08:00
MadCcc
217d1a1e03
fix: Input should hide webkit cancel button (#40457) 2023-01-30 17:31:10 +08:00
fish yu
550334ff92
fix(Switch): fixed text layout problem (#40453)
Co-authored-by: yupengfei <yupengfei@xiaomi.com>
2023-01-30 16:31:54 +08:00
二货爱吃白萝卜
846135216a
chore: adjust Empty default color in dark theme (#40447)
* chore: adjust color

* chore: adjust color

* test: patch test case

* chore: clean up
2023-01-30 10:09:35 +08:00
Danial Soheili
cac6d5c42f
fix: Table scroll shadow in rtl mode (#40441)
* 💄 STYLE: fix Table's scroll shadow in rtl mode

* Revert "💄 STYLE: fix Table's scroll shadow in rtl mode"

This reverts commit 06c9249f70.

* 💄 STYLE: use logical properties
2023-01-29 20:46:13 +08:00
weited
45b65f7991
fix: address mock data city spelling error (#40431) 2023-01-29 12:46:00 +08:00
JiaQi
62d6c713df
docs(tabs-en): fix tabPosition description (#40434)
Co-authored-by: Yuiai01 <dujiaqi@kezaihui.com>
2023-01-29 12:31:34 +08:00
lijianan
758a28c93e
test: remove useless branch (#40367) 2023-01-29 12:30:46 +08:00
lijianan
08a457c60e
fix: should not throw error when percent is null (#40378)
* fix: should not throw error when percent in null

* fix

* fix

* fix
2023-01-29 11:50:30 +08:00
lijianan
cb95c8a3b9
fix: avatar and title are misplaced (#40395)
* fix: avatar and title are misplaced

* fix

* fix

* fix
2023-01-29 02:26:28 +08:00
lijianan
ba8e646346
docs: adjust the sample code to React 18 (#40372)
* docs: Adjust the sample code to React 18

* fix
2023-01-29 00:28:59 +08:00
二货爱吃白萝卜
1898c5b3c7
test: fix test failed (#40427)
* chore: bump jest

* test: fix table filter test

* test: fix table basic test
2023-01-28 22:44:37 +08:00
Martin Litvaj
ba99c27003
Export GlobalToken type (#40384) 2023-01-24 17:42:42 +08:00
Martin Litvaj
0bf4a3e15b
Export ThemeConfig type (#40370) 2023-01-23 19:24:05 +08:00
lijianan
b6899877c3
demo: update Skeleton demo (#40360) 2023-01-22 00:50:19 +08:00
JiaQi
9d51345f90
feat(Collapse): Collapse support for setting size (#40286)
Co-authored-by: Yuiai01 <dujiaqi@kezaihui.com>
2023-01-21 18:45:09 +08:00
JiaQi
de44c4c9cd
chore(Typography): Introduce AutoSizeType correctly (#40361)
Co-authored-by: Yuiai01 <dujiaqi@kezaihui.com>
2023-01-21 17:33:20 +08:00
lijianan
ff0f0704e7
demo: update Card demo (#40357) 2023-01-21 12:39:02 +08:00
lijianan
b6c32f6a58
demo: update Avatar demo (#40356)
* demo: update Avatar demo

* ci

* ci

* add margin
2023-01-21 12:38:47 +08:00
afc163
467741f558
fix: Dropdown submenu wrong position (#40349) 2023-01-21 12:35:52 +08:00
lijianan
174b389b00
demo: update CP demo (#40358) 2023-01-21 12:35:21 +08:00
JiaQi
79c33e474e
fix(Input): Fixed suffix not changing color with status (#40344)
Co-authored-by: Yuiai01 <dujiaqi@kezaihui.com>
2023-01-20 21:15:11 +08:00
二货爱吃白萝卜
e9273abe3d
fix: Badge findDOMNode warning (#40347)
* fix: findDOMNode warning

* test: add test case
2023-01-20 21:06:13 +08:00
二货爱吃白萝卜
1fc374495f
chore: patch for missing rootClassName (#40217)
* chore: init test

* test: rootClassName inject

* test: part of test

* chore: patch qrcode rootCls

* chore: part rootClassName

* chore: part rootClassName

* test: more test

* test: more test

* test: more test

* chore: part rootClassName

* chore: part rootClassName

* chore: part rootClassName

* test: more test

* chore: part rootClassName

* chore: part rootClassName

* chore: part rootClassName

* chore: part rootClassName

* chore: part rootClassName

* chore: part rootClassName

* chore: part rootClassName

* chore: part rootClassName

* chore: part rootClassName

* chore: part rootClassName

* chore: part rootClassName

* chore: part rootClassName

* chore: part rootClassName

* chore: part rootClassName

* chore: part rootClassName

* chore: part rootClassName

* chore: part rootClassName

* chore: part rootClassName

* chore: part rootClassName

* chore: part rootClassName

* chore: part rootClassName

* chore: fix lint

* chore: fix lint

* chore: ignore part of lint

* test: update snapshot

* test: fix test case

* chore: fix node test

* chore: adjust render logic

* fix: test

* test: update snapshot

* test: update

* refactor

* chore: fix require module logic
2023-01-20 11:03:50 +08:00
MadCcc
662f78ac01
fix: motionEaseInQuint value (#40133) 2023-01-20 10:48:33 +08:00
MadCcc
40944a1c02
perf: only one parent selector in style (#40325)
* chore: add parent selector

* chore: update lint script

* chore: code clean

* perf: style

* chore: remove demo test cssinjs

* fix: input group
2023-01-20 10:31:27 +08:00
lijianan
c054a2bb80
chore: update demo style (#40336)
* fix: update demo style

* update snap
2023-01-19 22:36:27 +08:00
lijianan
4cace761da
fix: delete useless keys to prevent page jitter caused by remounting component (#40327)
* fix: remove useless key

* fix
2023-01-19 18:05:54 +08:00
二货机器人
56f76c79ec chore: feature merge master 2023-01-19 17:21:02 +08:00
二货爱吃白萝卜
1bcb25166b
test: update snapshot (#40328) 2023-01-19 17:14:49 +08:00
lijianan
b9a6b7b578
demo: update demo (#40318)
* demo: update demo

* add form

* clear

* add Select

* add

* fix style

* fix style

* fix

* revert
2023-01-19 15:37:54 +08:00
Simón Posada Fishman
73a71967c5
Focus outline: lineWidth -> lineWidthBold (#40291)
Instead of multiplying by 4 lineWidth, simply use lineWidthBold.

This makes it possible to customize the focus outline line width with the theme config.
2023-01-19 11:51:46 +08:00
luo3house
98cf6b582e
fix(wave): validate detached dom node's wave style (#40307) 2023-01-19 11:50:12 +08:00
kiner-tang(文辉)
8b3868ac63
feat(tooltip): tooltip support arrow prop (#40234)
* feat: tooltip support arrow props

* docs: update docs

* chore: update rc-tooltip version

* feat: update snapshots

* feat: update snapshots

* style: format code

* Update components/tooltip/index.tsx

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

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

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

* Update components/tooltip/demo/arrow.md

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

* Update components/tooltip/demo/arrow.md

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

* feat: code optimize

* docs: update docs

* feat: code optimize

* feat: del doc

* feat: update snapshots

* feat: update snapshots

* feat: update snapshots

* feat: refactor dropdown arrow style

* feat: comment

* Update components/tooltip/demo/arrow.tsx

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

* feat: popover support arrow prop

* feat: tour arrow style optimize

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: update test case

* feat: update test case

* feat: update test case

* Update components/popover/index.tsx

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

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

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

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

Co-authored-by: MadCcc <1075746765@qq.com>
2023-01-19 11:21:05 +08:00
lijianan
d549964493
demo: update demo (#40313)
* demo: update demo

* add

* fix lint
2023-01-18 19:20:40 +08:00
lijianan
ba38ef6804
demo: update demo (#40306) 2023-01-18 15:57:50 +08:00
ChenXiao
0e9623ccb0
fix(Breadcrumb): fix wrong overlay deprecation warning in Dropdown when use Breadcrumb with menu props (#40211)
* fix(Breadcrumb): wrong overlay deprecation warning in Dropdown when use Breadcrumb with menu props

* fix(Breadcrumb): fix wrong overlay deprecation warning in Dropdown when use Breadcrumb with menu props
2023-01-18 15:39:00 +08:00
lijianan
3892ce3c6d
chore: remove useless code (#40303) 2023-01-18 14:46:01 +08:00
lijianan
26ec8fcdc9
demo: update demo (#40295)
* demo: update demo

* update demo

* update demo
2023-01-18 14:19:59 +08:00
Rinku Chaudhari
055624f85b
reformat/typo: removed useless ts-ignore and 'ignore' typo fix (#40298)
* reformat/typo: removed useless ts-ignore and 'ignore' typo fix

* fix: components/version/index.ts typescript error

Co-authored-by: rinku.chaudhary <rinku.chaudhary@amniltech.com>
2023-01-18 13:37:44 +08:00
René Wang
a2980e3d57
lint: remove useless ts-ignore comment (#40289) 2023-01-18 10:07:16 +08:00
二货爱吃白萝卜
cc1870d8bd
chore: add linter of not selector (#40264)
* chore: add linter of not selector

* chore: update tree style

* fix: DatePicker

* fix: compact

* fix: compact vertical

* perf: style

* fix: vertical compact

Co-authored-by: MadCcc <1075746765@qq.com>
2023-01-17 17:51:59 +08:00
Danial Soheili
164ea65250
Bugfix/modal destroy all with context (#40281)
* 🐞 FIX: destroyAll not working with useModal

* 🧪 TEST: add test

* Update components/modal/useModal/index.tsx

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

Co-authored-by: Amumu <yoyo837@hotmail.com>
2023-01-17 14:54:34 +08:00
JiaQi
a713bf7978
fix(Message): Message global static method 'config' setting duration is invalid (#40232)
Co-authored-by: Yuiai01 <dujiaqi@kezaihui.com>
2023-01-17 11:15:14 +08:00
Danial Soheili
a91ef95184
💄 STYLE: Button's color should override child anchor's color (#40269) 2023-01-17 10:04:12 +08:00
二货爱吃白萝卜
8f81298027
docs: Adjust Modal demos (#40274)
* docs: Adjust modal demo

* test: update snapshot
2023-01-16 23:48:26 +08:00
Danial Soheili
65c6d5717d
💄 STYLE: wrong text color & cursor when Radio is disabled (#40273) 2023-01-16 23:18:56 +08:00
Rafael Carvalho
e13c8ad877
fix: missing translation for Brazilian Portuguese (#40270)
Add translation for  filterCheckall, filterSearchPlaceholder and Tour
2023-01-16 22:50:35 +08:00
Wuxh
64eb840be2
chore: fix Menu split line style error (#40268)
* chore: fix Menu split line style error

* docs: update demo

* test: update snapshot
2023-01-16 19:55:12 +08:00
lijianan
ca2d1325e3
docs: fix typo word (#40267) 2023-01-16 19:47:11 +08:00
lijianan
cfca763fa8
chore: adjust parameter order (#40251) 2023-01-16 16:45:14 +08:00
lijianan
199c72a212
chore: adjust parameter order (#40252) 2023-01-16 16:44:45 +08:00
lijianan
8970f65faf
chore: adjust parameter order (#40250) 2023-01-16 16:44:16 +08:00
lijianan
4626bfb0af
git add . (#40249) 2023-01-16 16:39:35 +08:00
lijianan
0ad9ae1695
chore: adjust parameter order (#40253) 2023-01-16 16:31:08 +08:00
lijianan
6cbeb26582
chore: adjust parameter order (#40254) 2023-01-16 16:28:48 +08:00
lijianan
1f201d5cc9
chore: adjust parameter order (#40256) 2023-01-16 16:20:57 +08:00
lijianan
6a255f1a23
chore: adjust parameter order (#40255) 2023-01-16 16:18:01 +08:00
lijianan
c627ff381a
refactor: adjust parameter order (#40257) 2023-01-16 15:57:15 +08:00
lijianan
a318fabe6c
chore: ts optimization (#40258) 2023-01-16 15:13:16 +08:00
github-actions[bot]
ede5121d5f
chore: auto merge branches (#40244)
chore: feature merge master
2023-01-16 03:37:15 +00:00
lijianan
28d1157d6b
type: optimization undefined type (#40241)
* type: optimization undefined type

* fix type

* fix type

* add

* revert

* revert

* revert
2023-01-16 09:55:52 +08:00
MadCcc
c8b4915767
fix: checkbox should have line-height (#40208) 2023-01-15 20:45:58 +08:00
JarvisArt
bc32f1444d
demo: calendar demo supports dark mode (#40239) 2023-01-15 19:46:42 +08:00
Danial Soheili
dfa207253e
💄 STYLE: fix DatePicker's next & prev icons in rtl mode (#40238) 2023-01-15 15:30:16 +08:00
Jimmy
546bda457f
demo : Tabs onEdit Callback parameter type problem (#39926)
* fix : Tabs`onEdit`Callback parameter type problem

* fix : Tabs onEdit Callback parameter type problem
2023-01-15 13:08:09 +08:00
puxiao
5fa7baa786
docs: Update Image index.zh-CN.md (#40233) 2023-01-14 19:33:48 +08:00
lijianan
973abb6e56
test: add test case for en-US blog to avoid omission in translation (#40231) 2023-01-14 19:30:26 +08:00
二货爱吃白萝卜
a56bd50f36
Merge pull request #40219 from ant-design/master
chore: feature merge master
2023-01-13 17:58:18 +08:00
前端练习两年半
4f14109aef
docs: update dropdownRender demo description (#40212)
Co-authored-by: chengqu <wd348312@alibaba-inc.com>
2023-01-13 16:10:57 +08:00
JarvisArt
2e234aa285
demo: tag demo supports dark mode (#40202) 2023-01-13 10:46:35 +08:00
dong
e378ec5493
fix: Dropdown accidental opening of container (#40201) 2023-01-13 10:42:59 +08:00
二货爱吃白萝卜
92203acc33
Merge pull request #40195 from ant-design/master
chore: feature merge master
2023-01-13 00:01:15 +08:00
二货爱吃白萝卜
96c0c21139
chore: adjust wave pos (#40192)
* chore: adjust wave pos

* chore: patch check

* chore: update post
2023-01-12 17:52:19 +08:00
Wuxh
06dde33601
fix(Table): fix sticky table header shadow style error (#40171)
* fix: fix sticky table header shadow style error

* fix
2023-01-12 17:38:39 +08:00
lijianan
481710ecae
fix: eslint error (#40183) 2023-01-12 11:04:35 +08:00
JarvisArt
c55180341e
demo: form advanced-search beautification style (#40180) 2023-01-12 10:15:40 +08:00
JarvisArt
76e0d9cdca
demo: drawer render-in-current demo supports dark mode (#40181) 2023-01-12 10:14:11 +08:00
afc163
5518855f82
style: fix Segmented thumb radius size (#40179) 2023-01-11 23:59:47 +08:00
afc163
a6a315b43f
style: fix Segmented item hover radius style (#40175)
* style: fix Segmented item hover radius style

* chore: update function name
2023-01-11 22:33:17 +08:00
lijianan
1c8f6507ce
site: improve overview page (#40126)
* site: imp

* update fontsize

* add scrollTo(0)

* revert

* add style return type

* add resize Event when input onChange

* docs: fix affix height and revert resize event

* fix: justifycontent => justify-content

* fix style

Co-authored-by: afc163 <afc163@gmail.com>
2023-01-11 21:37:12 +08:00
Wuxh
e70c702232
chore(deps): update dependency (#40121)
* chore(deps): update `@ant-design/colors` dependency

* test: update case

* chore(deps): update `@ant-design/icons` dependency
2023-01-11 14:22:48 +08:00
MadCcc
642bb582eb
refactor: TextArea (#40045)
* refactor: TextArea

* chore: update snapshot

* chore: update snapshot

* chore: fix lint

* chore: classes

* refactor: mentions

* chore: bump rc-textarea

* chore: code clean

* chore: code clean

* chore: UPDATE SNAPSHOT

* chore: code clean

* test: cov

* fix: textarea size
2023-01-11 14:18:13 +08:00
JarvisArt
e4edc3444d
demo: collapse custom demo supports dark mode (#40144)
* demo: collapse custom demo supports dark mode

* chore: remove className

* demo: update collapse custom
2023-01-11 12:10:20 +08:00
JarvisArt
6129ea1216
demo: form global-state demo supports dark mode (#40143)
* chore: form global-state demo supports dark mode

* test: update snapshot
2023-01-11 10:40:35 +08:00
Muhammad Sohaib Raza
5191b85b96
refactor: button (#40077)
* fix: type updated from any, and comments removed #15930

* refactor: removed unnecessary comments, created helper for button

* fix: cleanupTimer

* fix: import fixed

* Update components/button/button.tsx

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

* Update components/dropdown/dropdown-button.tsx

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

Co-authored-by: afc163 <afc163@gmail.com>
2023-01-11 10:32:05 +08:00
Wuxh
001a44ec77
fix: fix custom color displaying wrong classname & alignment overflow (#39394)
* test: add case

* fix: fix the presence of other non-preset colors in the class name

* TS Type Enhancement

* fix: fix custom icon rtl mode distance problem

* test: update snapshot
2023-01-10 22:57:09 +08:00
afc163
fec2f49bef
style: fix Badge rtl style on block element (#40125) 2023-01-10 22:10:18 +08:00
MESSAOUDI Oussama
dd3db2587b
fix: breadcrumb last item color does not use the breadcrumbLastItemColor token. (#40119)
* use `breadcrumbLastItemColor` token in `li:last-child`

* PR feedback

* revert change log update.
2023-01-10 19:13:42 +08:00
MadCcc
43541cb6d9 Merge branch 'master' into feature-merge-master 2023-01-10 17:43:13 +08:00
lijianan
0f64e1538e
chore: markdown eslint error (#40124) 2023-01-10 11:44:06 +08:00
JarvisArt
26c3c326ad
chore: Watermark uses MutateObserver (#40081)
* chore: Watermark uses MutateObserver

* chore: upgrade @rc-component/mutate-observer
2023-01-10 10:56:54 +08:00
3hson
ea943f7e70
fix(cascader): cascader dropdown placement using isRtl (#40109)
* fix(cascader): cascader dropdown placement using isRtl

* fix(cascader): remove extra SelectCommonPlacement type assertion

Co-authored-by: Ehsan Khakian <e.khakian@liateam.net>
2023-01-09 19:35:14 +08:00
github-actions[bot]
2d58e1843a
chore: auto merge branches (#40107)
chore: feature merge master
2023-01-09 09:53:07 +00:00
lijianan
8a85d7a642
chore: add Suggested change (#40106)
* Suggested change

* fix
2023-01-09 17:07:39 +08:00
MadCcc
d24c55a0bb
fix: horizontal Menu style with (#40105)
* fix: horizontal Menu style with

* chore: update snapshot

* chore: code clean
2023-01-09 16:50:08 +08:00
lijianan
fadba4cb42
chore: rewrite test case Demo CC => FC (#40102)
* chore: rewrite test case demo CC => FC

* chore: rewrite test case demo CC => FC

* fix
2023-01-09 16:45:05 +08:00
Danial Soheili
59593e0476
💄 STYLE: Fix text not being displayed in circular Progress in rtl mode (#40103) 2023-01-09 15:37:39 +08:00
lijianan
6b4f94785c
chore: use React.useContext replace <Context.ConfigConsumer /> (#40091)
* chore: use React.useContext replace <Context.ConfigConsumer />

* add
2023-01-09 10:04:35 +08:00