Commit Graph

15902 Commits

Author SHA1 Message Date
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
lijianan
8501adbd84
fix: add displayName (#40092)
* fix: add displayName

* rerun ci

* rerun ci
2023-01-08 21:30:41 +08:00
lijianan
130c22ab03
style: Code style optimization (#40083)
* style: Code style optimization

* add

* rename

* rename

* revert

* revert

* revert

* add
2023-01-08 15:36:50 +08:00
lijianan
4b4e7cb6f2
fix: Transfer checkbox disabled error (#40048)
* fix: Transfer checkbox disabled error

* add test case
2023-01-08 15:35:28 +08:00
二货爱吃白萝卜
49b9ba77d0
chore: adjust desc style (#40085) 2023-01-08 13:25:32 +08:00
github-actions[bot]
73d0a9bc30
chore: auto merge branches (#40086)
chore: feature merge master
2023-01-08 04:41:22 +00:00
Peter Gassner
25ea3a7202
fix: Allow users to handle promise rejections in ActionButton's onOk callback (#40018)
* fix: Allow users to handle promise rejections in onOk callback

Components that rely on ActionButton swallow rejected promises. This makes it impossible for userland code to handle them.

* polish: Fix linting problems

* polish: Return rejected promise instead of throwing

* refact: Remove test for unhandled promise rejection

This test breaks when run in parallel by Jest. At the moment we have no way of changing the way Jest works and it prohibits us from testing for "unhandledRejection" events.

See: https://github.com/ant-design/ant-design/pull/40018#issuecomment-1373590259

* test: hack for rejection

Co-authored-by: 二货机器人 <smith3816@gmail.com>
2023-01-08 00:27:33 +08:00
lijianan
c35787696b
demo: update demo (#40079)
* demo: update demo

* rerun ci
2023-01-07 23:24:27 +08:00
Wuxh
0086884179
fix(menu): fix custom expand icon cannot be hidden (#40071)
* test: add case

* fix: fix the error of missing custom icon className

* test: add case

* fix(menu): fix the bug that the custom expand icon is not hidden in collapse mode

* test: update snapshot

* Revert "fix: fix the error of missing custom icon className"

This reverts commit 71c79a3f75.

* test: update case

* fix: fix the error of missing custom icon className
2023-01-07 21:50:09 +08:00
二货爱吃白萝卜
91df688efd
refactor: Table render logic opt (#40063)
* chore: basic prepare

* chore: adjust render logic

* chore: fix lint

* chore: bump table

* test: update snapshot
2023-01-07 21:21:52 +08:00
lijianan
d3764fcce3
test: refactor test case demo CC => FC (#40070)
* test: refactor test case demo CC => FC

* add type

* type
2023-01-07 21:15:59 +08:00
lijianan
80498afea6
test: refactor test case CC => FC (#40068) 2023-01-06 16:48:44 +08:00
afc163
5f89ea4e17
fix: Cascader notFoundContent should be interactive (#40067)
close #40059
2023-01-06 16:46:49 +08:00
dongfang
0dc7815599
fix: missing css code in demo code preview (#39471)
* fix: missing demo style in windows

* fix: missing css code in demo preview

* fix: change TabPane to tabs items

* fix: change cn why-open url
2023-01-06 12:36:43 +08:00
lijianan
f25fd4363f
docs: add notice (#40057) 2023-01-06 11:15:39 +08:00
Wuxh
7f189d56e5
refactor: merge preset colors (#39742)
* style: remove redundant code

* feat(style): add preset colour style generation method

(cherry picked from commit 1266e42ba27accb48a6544e3eddaa4a94daef00c)

* feat: uniform preset colour generation css selector method

(cherry picked from commit 5af87e8d5ffcfd23e755946167f200c0565f8222)

* chore: merge preset colors

(cherry picked from commit 05040dfb703f60a3ea1715326748c508acbf41a6)

* chore: update

(cherry picked from commit 241b40a1361469487a6a3e8f1ad07a25d250463d)

* chore: remove Badge preset inverse colors

* chore: remove fix

删除的这部分其实一个 Bug,但是为了给 PR 减负(尽可能单一, 后面新开一个 PR 来修复这个问题

* suggestions accepted

Update components/style/presetColor.tsx

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

Co-authored-by: MadCcc <1075746765@qq.com>
2023-01-06 11:06:46 +08:00
lijianan
e597fe8ec6
fix: Button block prop not work (#39992)
* fix: Button block prop not work

* fix

* remove auto

* update demo

* fix

* fix

* fix width

* fix

* update demo
2023-01-06 09:46:00 +08:00
lijianan
ae67ad20c5
fix: fix Checkbox not disabled when itemsLits is empty (#40038)
* fix: fix Checkbox not disabled when itemsLits is empty

* revert

* fix

* update snap

* fix: update snap

* update snap

* update snap

* revert
2023-01-05 20:34:31 +08:00
afc163
46d733447a
style: Alert.ErrorBoundary overflow style (#40033) 2023-01-05 16:13:36 +08:00
afc163
7d77f3173d
site: improve demo card style (#40028)
* site: improve demo card style

* test: update snapshot

* test: update snapshot

* fix: demo card border

* docs: fix dark mode

* style: fix color
2023-01-05 15:30:59 +08:00
afc163
755682c317
docs: add animated number demo for Statistic (#40027)
* docs: add animated number demo for Statistic

* style: update demo

* add back countdownValueType

* type: fix demo type
2023-01-05 14:07:33 +08:00
lijianan
c5ab5971fd
refactor: (TransferBody) CC => FC (#39988)
* fix

* fix

* fix type

* rerun ci

* fix

* fix

* fix

* fix

* rename

* add useMemo

* fix

* Code style optimization

* Code style optimization

* fix

* fix

* remove useMemo
2023-01-05 10:37:35 +08:00
叶枫
81a1ffd53c
fix: 修复 Tag onClick 为 undefined 的判断方式 (#40023)
* fix: 修复 Tag onClick 为 undefined 的判断方式

* feat: function
2023-01-05 10:24:14 +08:00
JarvisArt
c74b93b2df
chore: step-next demo supports dark mode (#40014)
* chore: step-next demo supports dark mode

* test: update snapshot
2023-01-04 23:57:05 +08:00
二货爱吃白萝卜
3539e668f7
chore: adjust tooltip for cov (#40013)
* chore: adjust tooltip for cov

* chore: update bug version
2023-01-04 22:40:35 +08:00
github-actions[bot]
e847dddd9e
chore: auto merge branches (#40005)
chore: feature merge master
2023-01-04 10:26:20 +00:00
afc163
6683c58b2d
fix: Avatar.Group item could be wrapped (#39993)
* fix: AvatarGroup item could be wrapped

* test: update snapshot

* refactor avatarGroup space

* test: update snapshot

* revert avatarGroupBorderColor
2023-01-04 17:31:31 +08:00
lijianan
dc2686d7eb
refactor: (Transfer) CC => FC (#39958)
* refactor: (Transfer) CC => FC

* add

* fix

* add

* add

* fix

* fix

* add displayName

* add useEffect

* fix

* add useMergedState

* add

* fix

* fix

* fix snap

* rerun

* rerun ci

* rename
2023-01-04 15:09:03 +08:00
lijianan
977f4da9df
demo: update demo code (#39982)
* type: add Tab type

* add notes

* update demo code
2023-01-04 10:57:03 +08:00
Danial Soheili
a63789e3dc
Bugfix/checkbox style (#39974)
* 🎨 STYLE: fix indeterminate Checkbox style when disabled

* 📖 DOC: add indeterminate checkbox to disabled demo

* 🧪 TEST: update snapshots

* 🐞 FIX: don't change normal checkbox background

* 🐞 FIX: style selector
2023-01-04 10:19:51 +08:00
kiner-tang(文辉)
508ea27328
feat(tour): tour support custom scroll into view options (#39980)
* feat: support custom scrollIntoViewOptions

* feat: support custom scrollIntoViewOptions

* docs: update docs

* docs: update docs

* docs: update docs
2023-01-03 21:37:22 +08:00
二货爱吃白萝卜
99b32a3c37
fix: wave target position switch (#39966)
* fix: Node delay for wave pos

* test: test case update

* test: test case update

* chore: update ignore

* test: test case update

* chore: resize check for size changing

* test: coverage

* chore: save code
2023-01-03 16:08:20 +08:00
JiaQi
7f3342418f
docs(list): Example display error in English environment (#39959)
Co-authored-by: Yuiai01 <dujiaqi@kezaihui.com>
2023-01-03 10:46:46 +08:00
lijianan
0bf4ee88b5
docs: add Space for demo (#39961) 2023-01-03 10:08:42 +08:00
azro352
0a7a600239
Fix demo grid (#39963)
* Fix demo grid

* Fix demo grid
2023-01-03 10:00:37 +08:00
linxianxi
532da4c77a
feat(ConfigProvider): add form scrollToFirstError (#39509)
* feat(ConfigProvider): add form scrollToFirstError

* modify

* format code

* 修改 md

* 解决文件名大小写问题

* 解决文件名大小写问题
2023-01-03 09:56:47 +08:00
lijianan
ccbec33585
type: remove redundant useContext (#39955)
* type: remove redundant useContext

* add type
2023-01-02 22:18:35 +08:00
lijianan
b44b4e7705
refactor: (Transfer) CC => FC (#39944)
* refactor[Transfer]: CC => FC

* add

* revert

* fix

* revret
2023-01-02 18:10:37 +08:00
二货爱吃白萝卜
9f7b129c41
fix: Button wave follow issue (#39954)
* fix: Button wave follow issue

* test: update test case

* chore: fix lint
2023-01-02 16:34:35 +08:00
lijianan
59a332bf47
chore: use React.useContext() replace <Context.Provider /> (#39950)
* chore: use React.useContext() replace <Context.Provider />

* fix

* fix

* fix

* fix

* fix
2023-01-01 21:17:05 +08:00
Samyek
e9b5805fc2
docs: Updated the Copyright Year (#39952) 2023-01-01 21:13:29 +08:00
JarvisArt
2f623fe553
fix: submenu arrow transition (#39945) 2023-01-01 00:26:54 +08:00
lijianan
71eddd2c20 chore: remove useless tsx support (#39934)
* chore: remove useless tsx support

* add

* revert

* add

* fix

* fix

* add test case

* fix
2022-12-31 22:24:56 +08:00
kiner-tang(文辉)
5de9fd7909 fix: solve selection column cover by other cell when fixed (#39940) 2022-12-31 22:24:56 +08:00
JarvisArt
401ef66111 fix: when table filter, the border will be black (#39938) 2022-12-31 22:24:56 +08:00
Kirubashankar K
154c03bf5c feat: add missing ta_IN translations (#39936)
Co-authored-by: kirubashankar <kirubashankar@ghoshak.com>
2022-12-31 22:24:56 +08:00
afc163
0fcf972022 chore: update table drag demo (#39929) 2022-12-31 22:24:55 +08:00
lijianan
8f9a25c021 type: remove ForwardRefRenderFunction (#39924)
* type

* fix
2022-12-31 22:24:55 +08:00
afc163
1c662199af docs: clarify Transfer filterOption description (#39916)
close #39907
close #39906
2022-12-31 22:24:55 +08:00
lijianan
6660e53863 chore: remove rc-util/addEventListener (#39923)
* chore: remove rc-utils/addEventListener

* fix

* fix
2022-12-31 22:24:55 +08:00
二货爱吃白萝卜
3f18bfbaee fix: tailwindcss reset Image style (#39914)
* fix: tailwindcss reset

* docs: more info

* chore: comment
2022-12-31 22:24:55 +08:00
Wuxh
5836724dc4 fix: dropdown menu style issue (#39904)
* fix: dropdown menu item in danger

Disable dropdown menu item when type is equal to danger

increase disabled CSS specificity

remove unnecessary changes

fix: remove reordering functions

Remove reordering functions by increasing `disable` class on line 350 CSS specificity

Revert "fix: remove reordering functions "

This reverts commit bd94daaddf973f5f8ef1641ea3081f5aab2fc3a2.

* chore: update style

* chore: update demo

ref: https://github.com/ant-design/ant-design/issues/39322

* test: update snapshot

Co-authored-by: samyar <75088294+samyarkd@users.noreply.github.com>
2022-12-31 22:24:55 +08:00
afc163
b554e061ee chore: replace react-sticky to react-sticky-box in Tabs demo (#39898)
* docs: replace react-sticky to react-sticky-box in Tabs demo

* test: fix test case
2022-12-31 22:24:55 +08:00
lijianan
3ed7ec906e chore: remove useless tsx support (#39890)
* chore: remove useless tsx support

* add

* add

* style

* fix lint

* fix lint

* fix lint

* update locale entry

* update locale entry

* update locale entry

* delete useless style
2022-12-31 22:24:55 +08:00
512883e59a fix: useModal default okText (#39884) 2022-12-31 22:24:55 +08:00
李瀚
9baea0d05f fix: filtered word error (#39887)
* fix: filtered word error

* Optimize the code
2022-12-31 22:24:55 +08:00
JarvisArt
8d7e17a11c chore: dropdown context-menu demo supports dark mode (#39859) 2022-12-31 22:24:55 +08:00
Amumu
6378197996 fix: fix filtered update not working (#39883) 2022-12-31 22:24:55 +08:00
lijianan
dedbbda5f2 type: LiteralUnion optimization (#39871) 2022-12-31 22:24:55 +08:00
lijianan
4f16966e28 refactor[Wave]: CC => FC (#39705)
* fix

* refactor[Wave]: CC => FC

* fix lint

* fix

* fix

* fix

* add test case

* add test case

* fix test

* fix test

* test case

* add test case

* fix

* fix

* fix

* fix

* raname

* fix

* test case

* test case

* test case

* fix test

* test case

* refactor: Use React way

* test: coverage

* chore: clean up

* rerun fail ci

* fix: React 17 error

* test: fix test case

* test: fix test case

* fix borderRadius

* test: fix test case

* chore: clean up

* chore: clean up

Co-authored-by: 二货机器人 <smith3816@gmail.com>
2022-12-31 22:24:55 +08:00
黑雨
689feb8a1a style: fix input addon misplace when zoom up (#39842) 2022-12-31 22:24:55 +08:00
kiner-tang(文辉)
45dcbd50f4 fix(table): Sorted/Filtered table fixed column transparent background unreadable (#39012)
* fix: Sorted/Filtered table fixed column transparent background unreadable

* feat: remove redundant code

* Update components/table/style/index.tsx

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

* feat: code optimize

* style: reset format doc

Co-authored-by: MadCcc <1075746765@qq.com>
2022-12-31 22:24:55 +08:00
Wibus
c1032f4743 fix: remove useless tsx support (#39853) 2022-12-31 22:24:55 +08:00
kiner-tang(文辉)
e17fe929f0 docs: remove notification.warn(config) (#39852) 2022-12-31 22:24:55 +08:00
二货爱吃白萝卜
6246647b50 fix: Slider Tooltip appear motion not working (#39857)
* fix: use native tooltip

* chore: clean up

* test: Update snapshot

* test: Update snapshot
2022-12-31 22:24:55 +08:00
lijianan
d2d37bda21 fix: fix QRCode style (#39849)
* fix: fix style

* snap

* Update components/qrcode/style/index.ts

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

* rename className

* use token

Co-authored-by: afc163 <afc163@gmail.com>
2022-12-31 22:24:55 +08:00
lijianan
5d3381334c
chore: remove useless tsx support (#39934)
* chore: remove useless tsx support

* add

* revert

* add

* fix

* fix

* add test case

* fix
2022-12-31 22:12:30 +08:00
kiner-tang(文辉)
a1a7ef933a
fix: solve selection column cover by other cell when fixed (#39940) 2022-12-31 19:38:47 +08:00
JarvisArt
06e0b35b6e
fix: when table filter, the border will be black (#39938) 2022-12-31 19:28:29 +08:00
JiaQi
1fca9cfaf8
feat(List): Added list pagination alignment option (#39858)
Co-authored-by: Yuiai01 <dujiaqi@kezaihui.com>
2022-12-31 19:18:09 +08:00
Kirubashankar K
d66b2f5a65
feat: add missing ta_IN translations (#39936)
Co-authored-by: kirubashankar <kirubashankar@ghoshak.com>
2022-12-31 19:14:48 +08:00
afc163
fc033aca8c
chore: update table drag demo (#39929) 2022-12-30 21:28:33 +08:00
kiner-tang(文辉)
78235623c4
feat: tour support custom mask style and fill color (#39919) 2022-12-30 18:38:16 +08:00
lijianan
54d7f30018
type: remove ForwardRefRenderFunction (#39924)
* type

* fix
2022-12-30 17:23:39 +08:00
afc163
7db31a1959
docs: clarify Transfer filterOption description (#39916)
close #39907
close #39906
2022-12-30 17:21:21 +08:00
lijianan
a80b39d34d
chore: remove rc-util/addEventListener (#39923)
* chore: remove rc-utils/addEventListener

* fix

* fix
2022-12-30 17:15:54 +08:00
二货爱吃白萝卜
da03c1eb56
fix: tailwindcss reset Image style (#39914)
* fix: tailwindcss reset

* docs: more info

* chore: comment
2022-12-30 11:52:56 +08:00
Wuxh
5f40fe874b
fix: dropdown menu style issue (#39904)
* fix: dropdown menu item in danger

Disable dropdown menu item when type is equal to danger

increase disabled CSS specificity

remove unnecessary changes

fix: remove reordering functions

Remove reordering functions by increasing `disable` class on line 350 CSS specificity

Revert "fix: remove reordering functions "

This reverts commit bd94daaddf973f5f8ef1641ea3081f5aab2fc3a2.

* chore: update style

* chore: update demo

ref: https://github.com/ant-design/ant-design/issues/39322

* test: update snapshot

Co-authored-by: samyar <75088294+samyarkd@users.noreply.github.com>
2022-12-29 21:08:45 +08:00
afc163
cf41f81dc7
chore: replace react-sticky to react-sticky-box in Tabs demo (#39898)
* docs: replace react-sticky to react-sticky-box in Tabs demo

* test: fix test case
2022-12-29 18:37:06 +08:00
lijianan
9aec72c395
chore: remove useless tsx support (#39890)
* chore: remove useless tsx support

* add

* add

* style

* fix lint

* fix lint

* fix lint

* update locale entry

* update locale entry

* update locale entry

* delete useless style
2022-12-29 18:33:13 +08:00
dc77959e7c
fix: useModal default okText (#39884) 2022-12-29 17:05:50 +08:00
李瀚
80f19614be
fix: filtered word error (#39887)
* fix: filtered word error

* Optimize the code
2022-12-29 15:39:41 +08:00
JarvisArt
fbeddb572e
chore: dropdown context-menu demo supports dark mode (#39859) 2022-12-29 14:25:57 +08:00
Amumu
54101c8066
fix: fix filtered update not working (#39883) 2022-12-29 14:14:45 +08:00
lijianan
d55d39b811
type: LiteralUnion optimization (#39871) 2022-12-28 23:59:55 +08:00
lijianan
4e45276c4e
refactor[Wave]: CC => FC (#39705)
* fix

* refactor[Wave]: CC => FC

* fix lint

* fix

* fix

* fix

* add test case

* add test case

* fix test

* fix test

* test case

* add test case

* fix

* fix

* fix

* fix

* raname

* fix

* test case

* test case

* test case

* fix test

* test case

* refactor: Use React way

* test: coverage

* chore: clean up

* rerun fail ci

* fix: React 17 error

* test: fix test case

* test: fix test case

* fix borderRadius

* test: fix test case

* chore: clean up

* chore: clean up

Co-authored-by: 二货机器人 <smith3816@gmail.com>
2022-12-28 23:20:22 +08:00
黑雨
bc0930fc57
style: fix input addon misplace when zoom up (#39842) 2022-12-28 18:12:16 +08:00
kiner-tang(文辉)
4f3577976c
fix(table): Sorted/Filtered table fixed column transparent background unreadable (#39012)
* fix: Sorted/Filtered table fixed column transparent background unreadable

* feat: remove redundant code

* Update components/table/style/index.tsx

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

* feat: code optimize

* style: reset format doc

Co-authored-by: MadCcc <1075746765@qq.com>
2022-12-28 18:10:11 +08:00
Wibus
ef602f06d9
fix: remove useless tsx support (#39853) 2022-12-28 14:20:52 +08:00
kiner-tang(文辉)
ffdc5c35fd
docs: remove notification.warn(config) (#39852) 2022-12-28 10:25:30 +08:00
二货爱吃白萝卜
809252b431
fix: Slider Tooltip appear motion not working (#39857)
* fix: use native tooltip

* chore: clean up

* test: Update snapshot

* test: Update snapshot
2022-12-28 00:01:45 +08:00
lijianan
0a0291b3fd
fix: fix QRCode style (#39849)
* fix: fix style

* snap

* Update components/qrcode/style/index.ts

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

* rename className

* use token

Co-authored-by: afc163 <afc163@gmail.com>
2022-12-27 19:22:59 +08:00
Yuki Zhang
4eff22497d
feat: Anchor horizontal (#39372)
* feat: AnchorInk

* feat: update

* feat: update ink

* test: add test

* feat: handle with nested link

* feat: improve

* fix: lint

* feat: get direction from context in AnchorLink

* docs: update demo

* test: update snapshot

* test: update snapshot

* test: update snapshot

* test: update test cases

* test: update snapshot

* test: update snapshots

* test: update snapshots

* test: update test cases

* test: update test cases

* docs: update

* test: improve

* docs: update demo

* doc: update demos

* doc: update demos again

* feat: use scroll-into-view-if-needed

* fix: hide  scrollbar

* docs: update demos

* fix: active transition for horizontal anchor

* chore: fix terser (#39617)

* chore: fix terser

* chore: clean up

* test: update snapshot

* feat: improve code style

* feat: anchor ink improvement

* feat: improve code style

* fix: lint issue

* test: update snapshots

* docs: simplified the demo

* feat: Merge the AnchorInk component back into the Anchor component

* feat: Adjust DOM order

* test: update snapshots

* docs: Improve the document

* feat: simplify css classnames

* test: update snapshots

Co-authored-by: 二货爱吃白萝卜 <smith3816@gmail.com>
2022-12-27 17:14:35 +08:00
afc163
00655846d7
style: add codeFontFamily for Typography elements (#39823)
* style: add codeFontFamily for Typography elements

* Update components/typography/style/mixins.tsx
2022-12-27 16:43:45 +08:00
github-actions[bot]
b0a5eb3681
chore: auto merge branches (#39844)
chore: merge master into feature
2022-12-27 08:26:57 +00:00
kiner-tang(文辉)
7cb8b79a6a
fix: tree switcher's background display unexpected in dark theme (#39838)
* fix: tree switcher's background display unexpected in drak theme

* fix: tree switcher's background display unexpected in drak theme

* feat: remove demo
2022-12-27 15:52:32 +08:00
Amumu
7329ac7fc7
refactor: remove shallowequal (#39662) 2022-12-27 15:46:51 +08:00
github-actions[bot]
b804aee68d
chore: auto merge branches (#39840)
chore: feature merge master
2022-12-27 07:41:36 +00:00
MadCcc
386588dd2b
chore: update test (#39824)
* chore: update test

* chore: code clean
2022-12-27 11:49:09 +08:00
MadCcc
3a03c7abde
fix: menu slide bar style (#39819) 2022-12-27 10:29:51 +08:00
二货爱吃白萝卜
ff9237064d
fix: Checkbox disabled should support Tooltip (#39829)
* docs: update demo

* test: Update snapshot
2022-12-26 23:35:18 +08:00
JarvisArt
838b08e761
chore: Image preview interactive optimization (#39812) 2022-12-26 16:19:54 +08:00
MadCcc
c1390b20a9
fix: font-family for components (#39806)
* fix: font-family for components

* chore: code clean
2022-12-26 16:08:42 +08:00
MadCcc
663d1454f2
chore: fix ci (#39811)
* chore: fix ci

* chore: code clean

* chore: update form test

* chore: test
2022-12-26 15:48:50 +08:00
lijianan
8180bb983b
docs: use en link in EN_US (#39808) 2022-12-26 11:55:18 +08:00
afc163
e44f11b0f4
style: fix Table filter dropdown broken style (#39805)
close #39799
2022-12-26 11:35:29 +08:00
MadCcc
9fbf80aa8b
type: remove useless internal tag (#39754)
* chore: remove useless internal tag

* docs: add desc
2022-12-26 10:54:53 +08:00
黑雨
74262023ea
docs: update doc (#39753)
* feat: update doc

* feat: update doc

* feat: update doc

* feat: update doc
2022-12-26 10:08:15 +08:00
JarvisArt
a16e2a7bb2
fix: menu inline transition (#39800) 2022-12-25 22:55:47 +08:00
lijianan
fa6c9c15f4
refactor: delete legacy function withConfigConsumer (#39798)
* chore: delete legacy function withConfigConsumer

* fix

* fix
2022-12-25 22:54:56 +08:00
JarvisArt
7be364f3d9
fix: The image preview operation bar is covered during the animation (#39788) 2022-12-25 18:39:19 +08:00
afc163
06bd9d1852
perf: Remove IE11 from browserslist and babel targets (#38779)
* Update package.json

* chore: bump antd-tools

* Update package.json

* fix: browserslist in codesandbox

* chore: upgrade antd tools

* chore: upgrade antd tools

* test: fix Cannot access mockCanUseDom before initialization

* upgrade @ant-design/tools

* upgrade @ant-design/tools

* upgrade @ant-design/tools

* upgrade @ant-design/tools

* Update package.json

Co-authored-by: 二货机器人 <smith3816@gmail.com>
2022-12-25 18:37:57 +08:00
lijianan
7f89d9a7c9
refactor: use React.useContext() replace <ConfigConsumer /> (#39793)
* feat: use React.useContext() replace <ConfigConsumer />

* fix

* fix

* add
2022-12-25 18:34:42 +08:00
sea、lucky
f488cb871b
fix(antd/transfer): transfer performance optimization while dataSourc… (#39465)
* fix(antd/transfer): transfer performance optimization while dataSource is large

* fix(antd/transfer): unified function format of transKeys util file

* fix(antd/transfer): transKeys Map Structure Adjustment
2022-12-25 15:21:21 +08:00
afc163
c7feef28f2 Update render-in-current.md 2022-12-24 16:06:08 +08:00
Wuxh
951e0e2c79
fix(list): fix error reported due to incorrect paginator parameters (#39681)
* fix(list): fix pagination parameter error

* test: add case

* test: update snapshot

* chore: update case

* feat(util): add mergeProps

ref: 3c87f1c5b1/src/utils/with-default-props.tsx (L5)

* chore: replace method

* chore: rename
2022-12-24 15:05:33 +08:00
Chuns Chen
9d671ed939
fix: table expandable row header has no top left border radius (#39781)
* fix: expandable row table header is rendered as td and has no top left border radius #39769

* test: update expandIconColumnIndex
2022-12-24 14:14:07 +08:00
afc163
47c5f3963c
chore: improve table demo (#39733) 2022-12-23 14:39:07 +08:00
Gabriel Schneider
753172b0df
fix(QRCode): improve en_US locale (#39751) 2022-12-23 12:22:47 +08:00
Wuxh
76241f5d0b
chore(tabs): update demo (#39731)
* 做重复了

* Revert "做重复了"

This reverts commit 79c59e79ea66c6592df9dca0e41e10399044ec7a.

* site(theme): demo block supports no inner margin configuration

ref: https://d.umijs.org/guide/write-demo#%E4%B8%8D%E9%9C%80%E8%A6%81%E5%86%85%E8%BE%B9%E8%B7%9D

* docs(tabs): update demo styles

* chore: update style

* test: update snapshot

* Revert "site(theme): demo block supports no inner margin configuration"

This reverts commit ee2ff25796.

* chore: update

* Revert "chore: update"

This reverts commit bbe449cb3f.

* Revert "Revert "site(theme): demo block supports no inner margin configuration""

This reverts commit 5eac19e7f2.

* chore: convert to debug demo

* chore: use emotion

* test: update snapshot
2022-12-23 12:12:24 +08:00
ChenXiao
70115e75c8
update components/space/style/index.tsx, change flex-baseline to baseline (#39748) 2022-12-23 10:47:26 +08:00
kiner-tang(文辉)
b91bab09b2
fix(table): reset aria-label in table column (#39738)
* feat: reset aria-label in table column

* feat: reset aria-label in table column
2022-12-22 20:47:46 +08:00
MadCcc
e3e1b8534d
feat: Dropdown support autoAdjustOverflow (#39735)
* feat: Dropdown support autoAdjustOverflow

* docs: api

* docs: update api desc
2022-12-22 17:56:02 +08:00
afc163
0e98cb572c
style: fix Table header radius when has fixed columns (#39723)
close https://github.com/ant-design/ant-design/issues/39115#issuecomment-1362314574
2022-12-22 16:51:09 +08:00
MadCcc
3307a8b2a8
fix: table border issue (#39729)
* fix: table border issue

* chore: code clean

* docs: update demo

* fix: table borderRadius

* chore: add comment
2022-12-22 16:03:55 +08:00
azro352
117175ccb2
docs: add documentation in grid about changing the breakpoints values (#39689)
* Add documentation in grid about changing the breakpoints values

* Add sandbox demo

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

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

Co-authored-by: Amumu <yoyo837@hotmail.com>
2022-12-22 16:00:21 +08:00
Peach
6236e356b5
docs: update all site anchors (#39687)
* docs: update all site anchors

* docs: handle hash change from Link component
2022-12-22 14:12:26 +08:00
二货爱吃白萝卜
52f484d88e
fix: text add btn color in dark mode (#39724) 2022-12-22 11:17:16 +08:00
roottool
9f18f76619
docs: Fix typo (#39722) 2022-12-22 10:29:55 +08:00
JarvisArt
8c61261381
fix: table border adds transition animation (#39713) 2022-12-22 10:11:16 +08:00
azro352
328a800132
test: add test cases for breakpoints customize (#39697)
Rename useResponsiveObserve to useResponsiveObserver. Add validation of breakpoints values and test
2022-12-22 10:11:08 +08:00
JarvisArt
78592a5596
fix: card extra add padding (#39646)
* fix: card extra add padding

* fix: Correct the cardHeadHeight variable name

* chore: minHeight instead of padding

* fix: Alignment between title and extra in card tablist
2022-12-21 16:14:09 +08:00
MadCcc
527c71d207
docs: table demo in dark mode (#39703)
* docs: table demo in dark mode

* chore: update snaptshot

* chore: update
2022-12-21 15:01:52 +08:00
lijianan
b35fbcf7ac
fix: type definition optimization & add key for useModal (#39701)
* fix: add key for useModal

* fix

* fix

* fix lint

* revert
2022-12-21 14:39:12 +08:00
ChenXiao
e5c60c89b4
fix(grid): justify and align properties are not reactive for Row (#39704)
Co-authored-by: 陈小祥 <xiaoxiang930601@163.com>
2022-12-21 14:16:41 +08:00
afc163
b5f27c8982
fix: upgrade rc-table for a11y issue (#39700)
* fix: upgrade rc-table for a11y issue

* test: add test case for a11y
2022-12-21 14:01:05 +08:00
Martin Litvaj
d93bca1c44
#39694 Fix "two children with the same key" warning when using <App /> (#39695) 2022-12-21 09:09:28 +08:00
xrkffgg
d43b8e71b9
docs: add table rowScope (#39686)
* Update index.zh-CN.md

* Update index.en-US.md
2022-12-20 21:18:05 +08:00
Justin Sun
fdf7ad8d49
type: add hover action type (#39665)
* fix(float-button): add hover action type

* fix(float-button): make oClick ref judgment optional
2022-12-20 00:33:25 +08:00
元凛
5912c0d7b2 chore: fix merge 2022-12-19 20:55:33 +08:00
二货爱吃白萝卜
862231d07b
fix: Tabs inkBar in StrictMode (#39653)
* fix: tabs inkBar in StrictMode

* test: update snapshot

* test: update snapshot
2022-12-19 16:56:32 +08:00
Ayden
e60a7f711a
fix(component): badge auto width (#39605) 2022-12-19 16:54:13 +08:00
MadCcc
64edc6ddb5
chore: update control icon token (#39644) 2022-12-19 15:21:38 +08:00
JarvisArt
1ce7d3a13d
fix: Optimize the custom-dropdown demo style (#39626)
* fix: Optimize the custom-dropdown demo style

* chore: Using the token variable
2022-12-19 14:10:20 +08:00
黑雨
1eaf125528
fix: Fix tour step type (#39382)
* feat: fix-step-type

* feat: fix-step-type

* feat: add test

* feat: update test

* feat: update test snapshots

* feat: update test snapshots

* feat: update test snapshots

* fix: PurePanel style

* test: update snapshot

* feat: update package

* feat: fix-step-type

* feat: fix-step-type

* feat: add test

* feat: update test

* feat: update test snapshots

* feat: update test snapshots

* feat: update test snapshots

* feat: update package

* fix: PurePanel style

* test: update snapshot

* feat: update for checks

Co-authored-by: 二货机器人 <smith3816@gmail.com>
2022-12-19 11:34:36 +08:00
lijianan
a0b713c98b
site: cc => fc (#39635) 2022-12-19 11:25:21 +08:00
lijianan
97cfc17278
chore: use const replace var (#39632) 2022-12-19 10:07:52 +08:00
MadCcc
26925bc01a chore: update snap 2022-12-18 15:13:06 +08:00
MadCcc
a5324e8204 Merge branch 'feature' into feature-merge-master 2022-12-18 14:30:52 +08:00
MadCcc
bd15aaedd6 Merge branch 'master' into feature-merge-master 2022-12-18 14:28:58 +08:00
f3231bc375
fix: disabled style miss when has href on Button (#39456)
* fix: disabled style miss when has href on Button

* fix: Space lead to change hover color

* style: format

* fix: use &&& solve type style effect

* fix: replace &&& with .ant-btn&:hover

* chore: add demo

* 更新文档Snapshot

* 更新ci快照
2022-12-17 15:48:29 +08:00
Noel Kim (김민혁)
a14b53b4c2
chore(date-picker): remove non-null assertion (#39514) 2022-12-16 15:52:00 +08:00