Commit Graph

18072 Commits

Author SHA1 Message Date
baef247630
refactor: improve the acquisition of dom logic (#48989)
* deps: bump rc-util to 5.41.0

* refactor: improve the acquisition of dom logic

* test: add unit test
2024-05-20 19:41:30 +08:00
curry
35015c7b4f
chore: biome config indentSize to indentWidth (#48988)
Co-authored-by: liangchaofei <liangchaofei@liangchaofeideMacBook-Pro.local>
2024-05-20 16:46:59 +08:00
二货爱吃白萝卜
bf265c0efe
docs: fix some doc and lint issue (#48982)
* chore: fix dumi lint

* test: update snapshot
2024-05-20 14:26:51 +08:00
KumJungMin
84ee56f708
docs: add needConfirm option on time-picker docs (#48945)
* docs: add needConfirm option on time-picker docs

* docs: add onchange event to catch time changed

* docs: change file name to kebab case

* test: add test snapshot

* docs: delete needConfirm true demo in datePicker

* docs: add needConfirm true in demo

* test: delete old need confirm snapshot

* docs: update need-confirm snapshot

* test: update test snapshot
2024-05-19 15:58:05 +08:00
kiner-tang
cb72cb2bbd
docs(upload): Supplement the missing server-side mock example (#48977)
* docs(upload): Supplement the missing server-side mock example

* docs(upload): Supplement the missing server-side mock example

* docs(upload): Supplement the missing server-side mock example
2024-05-19 15:57:47 +08:00
KumJungMin
e2998063e5
docs: delete needConfirm false option in demo (#48967)
* docs: delete needConfirm false option in demo

* test: update test snapshot

* test: update test snapshot
2024-05-19 15:57:38 +08:00
afc163
51ec7e39a3
docs: make accordion mode easier to understand (#48972) 2024-05-18 21:23:31 +08:00
tanghui
bc776e523e chore: update snapshot 2024-05-18 15:38:39 +08:00
tanghui
b9a1cabd9f Merge branch 'master' into feature-merge-master 2024-05-18 15:31:20 +08:00
二货爱吃白萝卜
b62b81958b
test: Fix React 18.3 findDOMNode warning (#48958)
* fix: try to fix React 18.3 warning

* chore: back of ci

* chore: fix type

* chore: fix lint

* chore: update deps

* fix: component error

* test: update snapshot

* test: update snapshot

* test: update snapshot

* test: update snapshot

* test: update snapshot

* chore: update deps

* test: update snapshot

* test: update snapshot

* test: update snapshot

* chore: update deps

* test: update snapshot

* test: update snapshot

* test: update snapshot

* chore: bump version
2024-05-18 15:07:26 +08:00
Eden Wang
860fd57276
feat(notification): add show progress option and update docs (#48353)
* feat(notification): add show progress option and update docs

* feat(notification): update style for progress

* fix: lint issues and add version for the doc

* feat: upgrade rc-notification and update the style changes

* test: update test snapshots

* fix: update changes base on the conversation

* fix: update bg base on the conversation

* fix: use primary color for progress bg

* docs: update doc changes

Co-authored-by: kiner-tang <1127031143@qq.com>
Signed-off-by: Eden Wang <yociduo@vip.qq.com>

---------

Signed-off-by: Eden Wang <yociduo@vip.qq.com>
Co-authored-by: kiner-tang <1127031143@qq.com>
2024-05-17 15:39:30 +08:00
Wanpan
59de115d60
fix: fix button fontSize token ineffective (#48893)
* fix: fix button fontSize token ineffective

* fix: update

* fix: update

* feat: update
2024-05-16 16:13:53 +08:00
kiner-tang
7a2f5f6f1b
feat(Image): support reset action in toolbarRender (#48936)
* feat: support reset action in toolbarRender

* feat: support reset action in toolbarRender

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

Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: kiner-tang <1127031143@qq.com>

* Update components/image/index.en-US.md

Signed-off-by: kiner-tang <1127031143@qq.com>

---------

Signed-off-by: kiner-tang <1127031143@qq.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-05-16 15:33:22 +08:00
kiner-tang
d47f9d212a
demo: optimize calendar demo style (#48944)
* feat: optimize calendar demo

* feat: optimize calendar demo
2024-05-16 08:56:34 +08:00
kiner-tang
9744ab6501
demo: optimize calendar demo (#48939) 2024-05-15 21:30:17 +08:00
Wanpan
356ead5919
fix: fix Pagination size-changer element style (#48931) 2024-05-15 21:26:44 +08:00
Wanpan
1d138e999c
feat: Form ref adding nativeElement (#48841)
* feat: ref adding nativeForm

* feat: optimized code

* feat: optimized code

* fix: update type

* feat: optimized code

* feat: update rc-field-form

* feat: update

* feat: update

* feat: update

---------

Signed-off-by: Wanpan <wanpan96@163.com>
2024-05-15 15:19:27 +08:00
lijianan
84b072e585
demo: update Drawer demo (#48935) 2024-05-15 15:15:02 +08:00
lijianan
7cdeecfe1e
feat: Modal support loading (#48848)
* feat: Modal support loading

* feat: Modal support loading

* chore: update skeleton className

* fix: fix

* demo: add LoadingOutlined

* fix: revert icon

* fix: fix

* fix: renderFooter

* fix: renderFooter

* demo: update demo

* demo: update demo

* demo: update demo

* chore: clear

* Update loading.tsx

Signed-off-by: 二货爱吃白萝卜 <smith3816@gmail.com>

* fix: fix

---------

Signed-off-by: 二货爱吃白萝卜 <smith3816@gmail.com>
Co-authored-by: 二货爱吃白萝卜 <smith3816@gmail.com>
2024-05-15 11:21:40 +08:00
栗嘉男
45caacda5f chore: merge master into feature 2024-05-14 21:03:28 +08:00
叶枫
f912fa0c30
Form support clearOnDestroy (#48921)
* feat: form support clearOnDestroy

* feat: demo

* feat: demo
2024-05-14 17:35:11 +08:00
lijianan
793b8b743f
fix: fix Drawer loading style (#48917) 2024-05-14 15:13:18 +08:00
lijianan
0836497363
refactor: refactor Drawer loading (#48886)
* refactor: adjust Drawer loading area not include header area

* fix: fix snap

* fix: fix

* fix: fix
2024-05-14 14:15:33 +08:00
lijianan
d447eeb26e
docs: update docs (#48915) 2024-05-14 14:14:16 +08:00
lijianan
4eefc49e8f
fix: fix /es path to /lib path (#48914) 2024-05-14 13:56:18 +08:00
afc163
b49f70fb74
Merge pull request #48911 from ant-design/master
chore: merge master into feature
2024-05-14 11:33:39 +08:00
二货爱吃白萝卜
a2d8659014
test: revert test (#48909) 2024-05-14 10:22:45 +08:00
kiner-tang
65063943f0
fix: solve tooltip's content isn't align center when pass into a sigle char issue (#48890) 2024-05-13 10:51:01 +08:00
LonelySnowman
8b8021083e
fix: button component add colorErrorBgActive token (#48876) 2024-05-12 20:16:58 +08:00
叶枫
b15a2f2bfc
fix: fix cascader type (#48879)
* fix: fix cascader type

* feat: add test

* feat: test

* feat: panel

* feat: panel

* feat: CascaderAutoProps
2024-05-12 20:15:10 +08:00
lijianan
23d3435634
Merge pull request #48885 from ant-design/master
chore: merge master into feature
2024-05-12 18:38:56 +08:00
Wanpan
470e8a8e0a
fix: fix Badge CSSMotion setref use error and add test case (#48878) 2024-05-11 13:54:40 +08:00
thinkasany
7af1cc616b
demo(space): replace 'overlay' in Dropdown (#48867)
* demo(space): replace 'overlay' in Dropdown

* test: update snap
2024-05-10 19:19:35 +08:00
Wanpan
eb218e80c6
fix: fix Alert findDOMNode error (#48868)
* fix: fix Alert findDOMNode error

* fix: update test
2024-05-10 19:18:54 +08:00
Wanpan
c9f7f5d8e6
fix: fix float-button findDOMNode error (#48865) 2024-05-10 16:28:25 +08:00
lijianan
32b89e6d87
fix: add Drawer Spin className (#48857)
* fix: add Spin className

* fix: update snap
2024-05-10 14:31:21 +08:00
栗嘉男
20208bfb97 Merge branch 'master' into feature-merge-master 2024-05-10 12:04:05 +08:00
lijianan
bc26758e2b
Merge branch 'feature' into feature-merge-master 2024-05-10 12:03:47 +08:00
Richard Zhang
6da1ad1c67
docs(modal): correct closable default value (#48856) 2024-05-10 11:38:53 +08:00
Wanpan
c3cf0ded65
fix: fix Button findDOMNode error (#48830)
* fix: fix Button findDOMNode error

* test: update test case

* fix: optimize code

* Update components/_util/wave/WaveEffect.tsx

Co-authored-by: lijianan <574980606@qq.com>
Signed-off-by: Wanpan <wanpan96@163.com>

* fix: optimize code

* fix: update test

* fix: update test

---------

Signed-off-by: Wanpan <wanpan96@163.com>
Co-authored-by: lijianan <574980606@qq.com>
2024-05-10 10:47:16 +08:00
LonelySnowman
5098e6e209
feat: progress add inside and bottom text position (#48157)
* feat: progress add inside and bottom text position

* feat: change progress percent position api

* fix: change to follow coding standards

* docs: reset i18n zh file

* fix: change to follow coding standards

* fix: change to follow coding standards

* docs: reset i18n file

* fix: change to follow coding standards

* docs: reset i18n file

* feat: progress inner text get brighten color

* feat: update progress snapshots

* fix: progress bottom layout center

* feat: update steps snapshots

* feat: update progress snapshots

* feat: update config provider snapshots

* feat: progress inner text add negate color

* feat: update progress snapshots

* feat: progress inner text add light bg color

* feat: progress inner text add light bg color

* feat: change progress percentPosition api

* feat: change progress component test

* feat: update progress line component snapshot

* feat: progress component outer start layout text adapt

* feat: progress line change to flex layout

* feat: update progress snapshots

* feat: update progress line style

* feat: update progress line style

* fix: progress line reset height use inline block

* fix: change progress is line type

* fix: change progress is line type

* fix: delete progress outer styles

* fix: change progress line type layout

* fix: progress add outer style

* feat: update progress snapshots

* fix: change progress text bright color

* fix: optimized code volume

* fix: progress delete after style on inner layout

* fix: update progress test file

---------

Co-authored-by: lijianan <574980606@qq.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-05-10 10:22:32 +08:00
二货爱吃白萝卜
cf6e9c8b6e
docs: update RangePicker month demo (#48844)
* docs: clean up useless code

* docs: update demo

* docs: fix typo
2024-05-10 09:55:31 +08:00
栗嘉男
6a97f52197 chore: merge master into feature 2024-05-09 20:15:16 +08:00
afc163
a343fcd035
refactor: button icon only style (#48840) 2024-05-09 18:34:12 +08:00
afc163
6957a5f90d
style: fix Button align issue (#47318)
* style: fix Button align issue

* test: fix test case

* test: fix AutoComplete image diff

* test: fix Transfer image diff

* refactor: simpify icon position code

* chore: remove unused import

* chore: update snapshot

* chore: fix button style

* chore: fix button style
2024-05-09 17:41:26 +08:00
lijianan
fec2132073
demo: update Drawer demo (#48831) 2024-05-09 11:56:53 +08:00
lijianan
b87dbc91ae
refactor: rewrite inline-style to cssinjs (#48832)
* refactor: rewrite inline-style to cssinjs

* test: fix snap
2024-05-09 10:12:26 +08:00
叶枫
1da6d23c0f
feat: progress support size object (#48805)
* feat: progress support size object

* feat: add test

* feat: 优化方法

* feat: doc

* feat: 120

* feat: 不判断 object

* fix: test

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

Signed-off-by: afc163 <afc163@gmail.com>

* feat: doc

---------

Signed-off-by: afc163 <afc163@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-05-09 10:10:05 +08:00
lijianan
00c770537b
Merge pull request #48828 from ant-design/master
chore: sync master into feature
2024-05-08 21:20:07 +08:00
afc163
766ae3b320
fix: Button icon order and margin in rtl mode (#48821)
* fix: Button icon order and margin in rtl mode

* demo: default iconPosition should be end

* fix: test case
2024-05-08 20:07:57 +08:00
Wanpan
e2d7e689e5
docs: image component adding destroyOnClose (#48827)
* docs: image component adding destroyOnClose

* docs: update demo
2024-05-08 19:05:50 +08:00
f0189fd36f
docs(App): add edge usage warning (#48814)
* chore(App): add edge usage warning

* test: add test

* docs(App): add FAQ
2024-05-08 10:27:59 +08:00
Wanpan
73adedbfab
fix: Fix fails when using tabs minHeight inside the small card (#48787)
* fix: Fix fails when using small tabs minHeight inside the card

* test: del test case

* Update components/card/style/index.ts

Co-authored-by: lijianan <574980606@qq.com>
Signed-off-by: Wanpan <wanpan96@163.com>

* fix: update style

---------

Signed-off-by: Wanpan <wanpan96@163.com>
Co-authored-by: lijianan <574980606@qq.com>
2024-05-07 19:06:17 +08:00
thinkasany
b6b96d2d1d
demo(ConfigProvider): replace 'popupPlacement' and 'TabPane' (#48797) 2024-05-07 12:18:24 +08:00
lijianan
ddf70283ed
site: update site type { children: React.ReactNode } => React.PropsWithChildren (#48770)
* site: update site type React.ReactNode => React.PropsWithChildren

* fix: fix

* fix: fix
2024-05-06 15:28:52 +08:00
lijianan
8b1f79c1f5
demo: update demo type { children: React.ReactNode } => React.PropsWithChildren (#48771)
* demo: update demo type React.ReactNode => React.PropsWithChildren

* fix: fix
2024-05-06 12:04:27 +08:00
lijianan
313d534f2b
type: rm any (#48765) 2024-05-05 17:44:53 +08:00
希亚的西红柿
c54b9cd892
feat: get image info in the render function of Image component. (#48729)
* feat: add imgInfo for render function

* fix: remove useless code

* fix: revert demo

* chore: bump rc-image verison from 7.6.0 to 7.7.0

* test: update snapshot

* fix: update snapshot

* docs: update version

* docs: update
2024-05-04 18:04:15 +08:00
afc163
ab9edc3698
chore: refactor Typography code (#48738)
* chore: refactor Typography code

* Apply suggestions from code review

Co-authored-by: lijianan <574980606@qq.com>
Signed-off-by: afc163 <afc163@gmail.com>

---------

Signed-off-by: afc163 <afc163@gmail.com>
Co-authored-by: lijianan <574980606@qq.com>
2024-05-02 22:12:53 +08:00
afc163
15982625b5
fix: Typography editable focus trigger on mount unexpectedly (#48741) 2024-05-02 20:03:43 +08:00
lijianan
2f304d1e27
Merge pull request #48735 from ant-design/feature
chore: merge feature to master
2024-05-02 17:23:37 +08:00
afc163
15c7e68149
fix: DatePicker flickering issue when closing panel (#48734) 2024-05-02 17:20:35 +08:00
lijianan
7b30c801cf
test: add test case (#48724) 2024-05-02 12:17:27 +08:00
栗嘉男
20f183cf6f chore: merge master into feature 2024-05-01 16:33:46 +08:00
replygirl
4e9af18e76
fix: consume wrapper classNames in drawer (#48721)
Signed-off-by: replygirl <moon@moon.fyi>
2024-05-01 11:33:29 +08:00
Wanpan
68497323d5
docs: InputNumber add changeOnWheel FAQ (#48714)
* docs: InputNumber add changeOnWheel FAQ

* Update components/input-number/index.zh-CN.md

Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: Wanpan <wanpan96@163.com>

---------

Signed-off-by: Wanpan <wanpan96@163.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-05-01 11:30:01 +08:00
lyy
7d27bedd9b
docs: add more JSDoc (#48712)
* docs: add more JSDoc

* docs: add more JSDoc
2024-04-30 21:30:58 +08:00
thinkasany
3fa9d45dd5
feat: qrcode canvas supports style configuration (#48194)
* feat: qrcode canvas supports style configuration

* Update components/qr-code/index.zh-CN.md

Co-authored-by: lijianan <574980606@qq.com>
Signed-off-by: thinkasany <480968828@qq.com>

* docs: update version

* fix: typos

* fix: ant-qrcode

* fix: update padding for canvas / svg

* fix: update

* fix: typos

* fix: when borderless padding shouble be 0

* fix: when borderless borderRadius should be 0

* fix: rm Variant

---------

Signed-off-by: thinkasany <480968828@qq.com>
Co-authored-by: lijianan <574980606@qq.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-04-30 17:03:00 +08:00
afc163
244ad743e3
fix: Slider tooltip should not display when open is false (#48708) 2024-04-30 13:48:31 +08:00
daisy
5fc3618aad
docs: update Table onExpand docs (#48706) 2024-04-30 12:21:12 +08:00
Edi Kurniawan
4d05229782
locale: add missing japanese translation (#48704) 2024-04-30 09:59:07 +08:00
Edi Kurniawan
110c8b2e33
locale: add missing indonesian translation (#48703) 2024-04-30 09:58:51 +08:00
Joel
72c6fefc79
docs: update doc for align prop (#48705)
Co-authored-by: Jie.Tan <taamjoe@gmail.com>
2024-04-30 09:54:21 +08:00
Jerry Nwosu
3b4809dede
docs: Update index.en-US.md (#48702)
Fixed typo

Signed-off-by: Jerry Nwosu <jerrynwosu007@gmail.com>
2024-04-29 21:08:15 +08:00
afc163
db17128186
demo: fix Spin tip demo in SSR mode (#48688)
* demo: fix Spin tip demo in SSR mode

* Update components/spin/demo/tip.tsx

Co-authored-by: lijianan <574980606@qq.com>
Signed-off-by: afc163 <afc163@gmail.com>

---------

Signed-off-by: afc163 <afc163@gmail.com>
Co-authored-by: lijianan <574980606@qq.com>
2024-04-29 13:49:40 +08:00
afc163
ce43007de4
fix: Progress circle tooltip position (#48686) 2024-04-29 11:21:33 +08:00
George H
786dfc0339
docs: add drag column sorting demo (#48434)
* docs(table): add drag column sorting demo

* update test snap

* chore: add script to adapt os memory

* Revert "update test snap"

This reverts commit be1a30e7ec.

revert commit#

* revert

* revert

* snap

* add more column data

* update snap

* chore: column drag style

* update snap

* chore: optimize code

---------

Co-authored-by: afc163 <afc163@gmail.com>
2024-04-29 11:08:51 +08:00
Wanpan
c150885f5c
fix: Slider show empty tooltip when tooltip.formatter is falsy (#48673)
* fix: slider tooltip is cant hide

* fix: update case description
2024-04-29 10:37:11 +08:00
YKryshtal
6f6868f7d5
feat: Drawer add loading prop to show spinner (#48563)
* feat: Drawer add loading prop to show spinner

* fix: loading replace drawer content while true

* fix: update snap

* fix: update site snap

* fix: increase test coverage

* fix: upate check-site snap

---------

Co-authored-by: ykryshtal <ykryshtal@magnite.com>
2024-04-29 09:57:45 +08:00
zhw
0dd5617205
fix: list grid property change (#48683) 2024-04-29 09:39:16 +08:00
lijianan
ba5f9fe2f8
Merge pull request #48677 from ant-design/master
chore: merge master into feature
2024-04-28 14:02:49 +08:00
Wanpan
4020f658a8
docs: tree-select supports onPopupScroll (#48636)
* docs: tree-select supports onPopupScroll props

* docs: update demo

* docs: update version

* test: update snapshots

* fix: update demo

---------

Co-authored-by: lijianan <574980606@qq.com>
2024-04-28 13:44:01 +08:00
lijianan
029cb1dff0
test: rm legacy react-dom/test-utils for compatible React-18.3.1 (#48667)
* test: rm legacy react-dom/test-utils for compatible React-18.3.0

* fix: fix

* chore: cls

* chore: update

* fix: fix
2024-04-28 09:52:54 +08:00
希亚的西红柿
f799219c58
fix: ajust the input border style in validation (#48616)
* fix: ajust the input border style in validation

* fix: ajust the background color
2024-04-28 09:51:23 +08:00
Andrey Krupa
cb19e0ed23
fix: fix transfer when trying to select item from the right column while it has "unknown-key" within targetKeys (#48664) 2024-04-26 21:22:24 +08:00
neverland
c8bd145ab4
fix(step): custom icon not vertically centered error (#48650)
* fix: Fix the issue where the custom icon is not vertically centered at the default size of Steps

* Co-authored-by: nova1751 <nova1751@users.noreply.github.com>

---------

Co-authored-by: nova1751 <nova1751@users.noreply.github.com>
Co-authored-by: 红 <wxh1220@gmail.com>
2024-04-26 17:45:30 +08:00
tanghui
d70de6c6e6 Merge branch 'master' into feature-merge-master 2024-04-26 17:20:46 +08:00
lijianan
bf330cbedb
demo: code optimization (#48621) 2024-04-26 09:40:25 +08:00
二货爱吃白萝卜
c0ae625d92
docs: fix tooltip shift demo (#48628) 2024-04-25 17:31:07 +08:00
二货爱吃白萝卜
8567e55ed0
feat: RangePicker support disabledTime info (#48625) 2024-04-25 15:58:10 +08:00
lijianan
8f1808dae7
type: add miss generic of Upload prop (#48614)
* type: add miss generic of Upload prop

* test: add type test case

* test: add test case
2024-04-25 14:22:35 +08:00
lijianan
cc51d06117
test: solve test cov (#48611)
* test: solve test cov

* test: solve test cov
2024-04-25 11:08:55 +08:00
Jorge Luis Moreno Moller
decfac3540
fix: add Spanish locale in datepicker (#48601)
* Add missing props to es_ES locale

* Unnecessary properties were removed

* test: update snap

* Fix: typo in short week day abbreviation

* test: update snap

* test: update snap

---------

Co-authored-by: 栗嘉男 <574980606@qq.com>
2024-04-25 01:45:19 +08:00
Seb
3f339fc87f
fix: add german locale in datepicker (#48586)
* add german locale datepicker

* only change short weeks and months

* fix

* Update index.test.tsx.snap

Signed-off-by: lijianan <574980606@qq.com>

* Update index.test.tsx.snap

Signed-off-by: lijianan <574980606@qq.com>

* test: update snap

---------

Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: lijianan <574980606@qq.com>
2024-04-25 01:01:55 +08:00
Jason Chen
b1ef8957ef
type: missing generic of Upload customRequest prop (#48612)
Signed-off-by: Jason Chen <3380894+jas0ncn@users.noreply.github.com>
2024-04-24 23:57:43 +08:00
lijianan
0dbbe8b9b7
docs: update api since date (#48610) 2024-04-24 22:32:50 +08:00
希亚的西红柿
9acde83991
feat: add tabindex option for paragraph button (#48567)
* feat: add tabIndex option for paragraph

* test: update snapshot

* test: update test case

* revert: revert the testcase

* test: update test case

* fix: fix the coverage test

* chore: code optimize

* Update index.tsx

Signed-off-by: lijianan <574980606@qq.com>

* Update CopyBtn.tsx

Signed-off-by: lijianan <574980606@qq.com>

* Update transButton.tsx

Signed-off-by: lijianan <574980606@qq.com>

* Update copy.test.tsx

Signed-off-by: lijianan <574980606@qq.com>

* Update CopyBtn.tsx

Signed-off-by: lijianan <574980606@qq.com>

---------

Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: lijianan <574980606@qq.com>
2024-04-24 18:06:38 +08:00
Akino
cba15332ff
fix(badge): number centered but slightly right-aligned (#48605) 2024-04-24 14:11:14 +08:00
daisy
11a160cb25
demo: Table drag handle use useContext (#48588) 2024-04-24 11:48:15 +08:00
vagusX
7c23e51400
docs: fix wrong anchor for form#dependencies (#48570)
* docs: fix wrong anchor for form#dependencies

* test: update snapshot

* scripts: add new badcases to reporter

* scripts: added one

* scripts: copy new added imgs

* scripts: fix filename

* scripts: fix path

* scripts: fix src and dest
2024-04-23 15:50:48 +08:00
二货爱吃白萝卜
634b6cb6e0
fix: add missing style (#48591) 2024-04-23 13:42:20 +08:00
lijianan
625e4706d3
demo: rm getItem methods (#48589) 2024-04-23 11:01:38 +08:00
MadCcc
ce176a8cd2
fix: clearedColor should be changed when initial value is undefined (#48584) 2024-04-23 10:02:45 +08:00
Hamza Seif
09cb3f4fbe
fix: Collapse border radius issue (#48561)
* Fix collapse border issue

Signed-off-by: Hamza Seif <66957751+hamzaseif13@users.noreply.github.com>

* Update components/collapse/style/index.ts

Signed-off-by: afc163 <afc163@gmail.com>

---------

Signed-off-by: Hamza Seif <66957751+hamzaseif13@users.noreply.github.com>
Signed-off-by: afc163 <afc163@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-04-22 21:15:21 +08:00
lijianan
5c2e6e3651
Merge pull request #48573 from ant-design/master
chore: merge master into feature
2024-04-22 17:09:35 +08:00
二货爱吃白萝卜
4eebc0c142
fix: Select token with paddingXXS (#48574)
* fix: paddingXXS

* docs: update demo

* chore: adjust logic

* chore: fix lint

* fix: datePicker style
2024-04-22 13:50:24 +08:00
zhw
ff2268e3cb
fix: Transfer deselect locale (#48553) 2024-04-22 12:03:12 +08:00
希亚的西红柿
c3f5e27c1c
fix: margin problem in css value mode (#48569)
* fix: fix the flex gap problem

* fix: adapt margin problem in css value mode

---------

Co-authored-by: afc163 <afc163@gmail.com>
2024-04-22 12:02:12 +08:00
二货爱吃白萝卜
c321492eeb
fix: Slider range exchange tooltip blink (#48536)
* fix: slider tooltip pos

* chore: clean up

* chore: fix style

* chore: bump rc-slider

* fix: lock clean up logic

* chore: finish

* test: update snapshot

* chore: bump rc-slider

* test: update snapshot

* test: test coverage

* chore: clean up
2024-04-22 10:26:14 +08:00
二货爱吃白萝卜
ae155b97d5
chore: add bug version & fix test case (#48571)
* chore: add bug version

* test: clean up

* test: fix test case

* chore: fix lint

* test: fix test case

* test: fix test case
2024-04-21 23:56:41 +08:00
thinkasany
f6db43b090
fix(demo): optimize fetchData for table (#48560) 2024-04-20 21:51:29 +08:00
afc163
ed127e9418
feat: Carousel support arrows for switching (#48542)
* feat: Carousel support arrows function

* fix: order matters

* feat: Carousel support arrows in vertical mode

* chore: update snapshot

* Apply suggestions from code review

Signed-off-by: afc163 <afc163@gmail.com>

* chore: fix lint

* chore: fix lint

* chore: dotMargin => dotGap

---------

Signed-off-by: afc163 <afc163@gmail.com>
2024-04-19 17:17:56 +08:00
thinkasany
0bc2e3a838
fix(table): Add missing zh translation (#48543) 2024-04-19 15:01:17 +08:00
Edi Kurniawan
1ec5b28c9a
local: transalate Picker to indonesian (#48537)
* feat: translate all to indonesian

I have transalate all to Indonesian

Signed-off-by: Edi Kurniawan <edikurniawan.dev@gmail.com>

* fix: use ' instead of "

Signed-off-by: Edi Kurniawan <edikurniawan.dev@gmail.com>

* feat:  translate to indonesian

* feat: 🌐 transalate date and time picker to indonesian

---------

Signed-off-by: Edi Kurniawan <edikurniawan.dev@gmail.com>
Co-authored-by: vagusX <vagusxl@gmail.com>
2024-04-19 13:38:40 +08:00
afc163
f4b7c0122f
demo: simplify transfer table example (#48529)
* demo: simplify transfer table example

* demo: simplify transfer table example
2024-04-18 17:45:47 +08:00
二货爱吃白萝卜
f77302553d
fix: Input.Search large size button style (#48527)
* fix: Input.Search large size button style

* chore: adjust logic

* chore: rename
2024-04-18 16:06:35 +08:00
栗嘉男
ad7fdb01d5 chore: merge master into feature 2024-04-18 12:41:26 +08:00
korkt-kim
1b43d38fd6
fix: Change text color in disabled textarea (#48489)
Co-authored-by: NZ10387 <nz10387@naverz-corp.com>
2024-04-18 11:00:51 +08:00
希亚的西红柿
c8f6aee6e5
fix: fix the flex gap problem (#48522) 2024-04-18 10:31:22 +08:00
lijianan
27c942a00b
Merge pull request #48524 from ant-design/master
chore: merge master into feature
2024-04-18 10:11:58 +08:00
Wanpan
273104cb1d
fix: switch checkedChildren no height (#48513)
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2024-04-17 22:25:46 +08:00
9965d96259
feat(form): improve scrollToField logic (#48211)
* feat(form): improve scrollToField logic

* docs: update form faq

* test: add unit test

* fix: boundary error

* style: update code

ref: https://github.com/ant-design/ant-design/pull/48211#discussion_r1547535631
ref: https://github.com/ant-design/ant-design/pull/48211#issuecomment-2031635922

* docs: add scrolltofield demo

* chore: update snapshot

* Update components/form/demo/validate-scroll2field.md

Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: 红 <wxh16144@qq.com>

* chore: update demo

* chore: update logic

* chore: update snapshot

* Update components/form/demo/validate-scroll-to-field.tsx

Co-authored-by: lijianan <574980606@qq.com>
Signed-off-by: 红 <wxh16144@qq.com>

* chore: update demo

* chore: update snap

* chore: update

* chore: update demo

* chore: update

* chore: update docs

* chore: update

* chore: update snap

* Update components/form/demo/validate-scroll-to-field.tsx

Co-authored-by: crazyair <crazyair@users.noreply.github.com>

Signed-off-by: 红 <wxh16144@qq.com>

* chore:update logic

* test: add unit test

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

* chore: update demo

* test: update snap

* chore: update demo

* chore: update

* chore: update

* chore: fix TS type

* chore: update demo fix layout

* chore: update demo

---------

Signed-off-by: 红 <wxh16144@qq.com>
Co-authored-by: afc163 <afc163@gmail.com>
Co-authored-by: lijianan <574980606@qq.com>
2024-04-17 17:56:29 +08:00
二货爱吃白萝卜
4cefa2fa64
doc: fix site render (#48514)
* docs: fix markdown

* docs: clean up
2024-04-17 17:27:16 +08:00
叶枫
9b72caf77e
feat: up form (#48486) 2024-04-17 15:54:42 +08:00
叶枫
0d34e0b9d8
feat: noStyle no warning (#48508) 2024-04-17 14:38:15 +08:00
Cooper
8026366676
feat: add inlineMargin token support form inline layout (#48362)
* feat: add inlineMargin token support form inline layout

* fix

* fix

---------

Co-authored-by: afc163 <afc163@gmail.com>
2024-04-17 12:09:08 +08:00
Cooper
c7f2760007
feat: add Tabs more props (#48321)
* feat: add Tabs more props

* fix

* fix

* Compatible with moreIcon

* compatible ConfigProvider with the moreIcon

* update site snap

* fix

* fix

* fix

* fix

* fix

---------

Co-authored-by: afc163 <afc163@gmail.com>
2024-04-17 12:05:43 +08:00
@linhf2024
a512f81222
fix(popover): support defaultOpen (#48481)
* fix(popover): support defaultOpen

* chore: add test

* fix: remove test code

* fix: open use default value

* chore: Coding style

* chore: devtool add warning

* fix: remove warning

* fix: Remove unused dependencies

---------

Co-authored-by: linhf123 <wb-lhf780012@antgroup.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-04-17 11:34:11 +08:00
lijianan
4b2a94e383
chore: code optimization (#48495)
* chore: code optimization

* Update components/theme/util/calc/CSSCalculator.ts

Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: lijianan <574980606@qq.com>

---------

Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-04-17 11:02:43 +08:00
Edi Kurniawan
acbc46d798
feat: translate all to indonesian (#48287)
* feat: translate all to indonesian

I have transalate all to Indonesian

Signed-off-by: Edi Kurniawan <edikurniawan.dev@gmail.com>

* fix: use ' instead of "

Signed-off-by: Edi Kurniawan <edikurniawan.dev@gmail.com>

* feat:  translate to indonesian

---------

Signed-off-by: Edi Kurniawan <edikurniawan.dev@gmail.com>
Co-authored-by: vagusX <vagusxl@gmail.com>
2024-04-16 15:10:18 +08:00
希亚的西红柿
5716831849
fix: DatePicker with multiple support placeholder (#48387)
* feat: add placeholder option for multiple datepicker

* fix: update style

* chore: bump rc-picker

* test: update snapshot

---------

Co-authored-by: afc163 <afc163@gmail.com>
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2024-04-16 14:54:19 +08:00
Guo Yunhe
33ae55f928
fix(Collapse): arrow selector (#48417)
* fix(Collapse): arrow selector

* fix(Collapse): arrow selector

* fix: transition

---------

Co-authored-by: vagusX <vagusxl@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-04-16 13:37:52 +08:00
lijianan
fa6f113dde
refactor: use css token replace 4px (#48474) 2024-04-16 11:42:45 +08:00
metouch
25628528b8
fix: make the animation of Menu smoother while expanding the Sider which embedded with a Menu (#48121) (#48127)
Co-authored-by: afc163 <afc163@gmail.com>
2024-04-16 11:23:01 +08:00
MadCcc
0a7e225863
fix: ColorPicker default clear value should change if set (#48450)
* fix: ColorPicker default clear value should change if set

* chore: code clean

---------

Co-authored-by: afc163 <afc163@gmail.com>
2024-04-16 10:55:15 +08:00
lijianan
8a4a83ace7
Merge pull request #48471 from ant-design/master
chore: merge master into feature
2024-04-16 10:17:57 +08:00
lijianan
47eb27bd8d
fix: fix steps inner style error (#48464)
* fix: fix steps style error

* fix: add unit
2024-04-15 21:44:31 +08:00
lijianan
d1a8376e09
site: fix different font-size between jsx demo and tsx demo (#48448) 2024-04-15 10:27:51 +08:00
Inshiku-Han
2f4b86881f
fix: Add Transfer localeValues in ja_JP (#48411)
Co-authored-by: afc163 <afc163@gmail.com>
2024-04-13 22:32:05 +08:00
afc163
cf12fb19d1
docs: enable toc to all docs (#48424) 2024-04-13 21:40:07 +08:00
叶枫
1092660e0a
feat: optimize CascaderProps (#48420) 2024-04-12 17:30:32 +08:00
kiner-tang
d1df8e54cc
refactor: Use constant instead of enum to reduce package size (#48406)
* feat: optimize code

* feat: optimize code

* feat: optimize code
2024-04-12 16:28:06 +08:00
lijianan
d34ab00717
demo: update wrap="wrap" => wrap (#48409) 2024-04-12 12:10:38 +08:00
Chua Kiem Fai
646b960d1a
docs: update slider tooltip props document (#48410)
Signed-off-by: Chua Kiem Fai <kievechua@gmail.com>
2024-04-12 11:49:27 +08:00
thinkasany
c648fd1513
docs(demo): Convert to lowercase (#48415) 2024-04-12 11:45:25 +08:00
lijianan
a09b9dd820
feat: wrap prop support boolean (#48391)
* feat: wrap prop support boolean

* test: add test case

* fix: fix

* fix: fix

* fix: fix

* fix: fix

* fix: fix

* fix: fix

* fix: fix

* test: update

* chore: revert
2024-04-11 22:29:50 +08:00
lijianan
82a7d596fd
docs: update href link (#48404) 2024-04-11 17:50:53 +08:00
lijianan
6a7945d2fd
feat: Button support autoInsertSpace prop (#48348)
* feat: Button support autoInsertSpaceInButton prop

* demo: update demo

* fix: fix

* test: add test case

* docs: update docs

* chore: deprecated autoInsertSpaceInButton prop

* Update components/button/button.tsx

Co-authored-by: MadCcc <madccc@foxmail.com>
Signed-off-by: lijianan <574980606@qq.com>

* fix: fix

* fix: fix

* Update components/button/button.tsx

Co-authored-by: MadCcc <madccc@foxmail.com>
Signed-off-by: lijianan <574980606@qq.com>

* fix: fix

* Update components/button/button.tsx

Signed-off-by: lijianan <574980606@qq.com>

* fix: fix

* fix: fix

---------

Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: MadCcc <madccc@foxmail.com>
2024-04-11 15:29:10 +08:00
二货爱吃白萝卜
4216003c1b
fix: OTP with controlled of '' not working (#48399)
* test: test driven

* fix: controlled logic
2024-04-11 15:24:18 +08:00
LiveTembiso
f460b48e8f
docs: Fixed typo (#48393)
Signed-off-by: LiveTembiso <livetembiso0@gmail.com>
2024-04-11 12:09:37 +08:00
lijianan
4cba8b85d5
Merge pull request #48383 from ant-design/master
chore: merge master into feature
2024-04-10 20:30:10 +08:00
lijianan
dd6cb6c120
test: update snap (#48382) 2024-04-10 19:50:45 +08:00
二货爱吃白萝卜
ce9353153e
fix: Upload has empty space (#48370)
* fix: empty space

* chore: clean up
2024-04-10 14:51:44 +08:00
lijianan
d82f65468d
chore(deps-dev): bump the dev-dependencies group with 7 updates (#48361) 2024-04-09 23:04:22 +08:00
lijianan
25a1849af9
demo: rm useless Tag margin-right (#48356)
* site: rm useless Tag margin-right

* chore: revert
2024-04-09 21:35:31 +08:00
二货爱吃白萝卜
089514bae9
fix: week selection not have hover style (#48355) 2024-04-09 21:34:49 +08:00
lijianan
854cdb4352
type: optimize CompoundedComponent type (#48346)
* type: optimize CompoundedComponent type

* chore: fix

* type: fix type

* chore: fix

* type: fix type

* type: add ts-ignore

* fix: fix

* chore: revert
2024-04-09 16:49:47 +08:00
lijianan
53cbceb7db
feat: Input.OTP support mask prop (#48257)
* feat: Input.OTP support mask prop

* fix: fix

* fix: fix

* test: add test case

* test: add test case

* chore: fix

* chore: update

* chore: remove

* chore: rename useOTPSingleValue

* fix: fix

* fix: fix

* chore: rm 3 lib

* chore: add 3 lib

* fix: fix

* fix: fix

* test: fix test case

* test: fix test case

* fix: fix

* fix: fix

---------

Signed-off-by: lijianan <574980606@qq.com>
2024-04-09 14:47:58 +08:00
二货爱吃白萝卜
44cd5342f7
fix: Typography dynamic of copyable & eidtable (#48350)
* fix: editable should show

* test: test driven

* fix: copyable of render
2024-04-09 12:01:46 +08:00
二货爱吃白萝卜
727aa2d030
fix: Typography copyable not sync (#48347)
* test: test driven

* fix: copy of stable
2024-04-09 11:00:52 +08:00
lijianan
4621bd9f5e
feat: Alert support id and ref (#48336)
* feat: Alert support id and ref

* test: add test case

* chore: adjust ts def

---------

Co-authored-by: 二货机器人 <smith3816@gmail.com>
2024-04-09 10:24:17 +08:00
二货爱吃白萝卜
61c8a439fc
fix: typography expanded should not break lines (#48340) 2024-04-08 23:00:25 +08:00
二货爱吃白萝卜
8fc4fa06c8
fix: Steps with process style in compact theme (#48251)
* fix: use css var for calc

* fix: tail align

* Update components/steps/style/index.ts

Co-authored-by: 红 <wxh1220@gmail.com>
Signed-off-by: afc163 <afc163@gmail.com>

* test: update snapshot

* chore: fix lint

* chore: adjust style

---------

Signed-off-by: afc163 <afc163@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
Co-authored-by: 红 <wxh1220@gmail.com>
2024-04-08 15:53:45 +08:00
叶枫
6dcd6e2dc1 feat: merge master 2024-04-08 14:37:05 +08:00
叶枫
502dac12aa
docs: format code (#48309)
* docs: fix code

* feat: lint

* feat: prettier

* feat: test

* feat: review

* feat: format html

* feat: format html
2024-04-08 14:04:08 +08:00
George H
14f8279aea
feat: Support iconPosition with button icon (#47791)
* feat: button support iconPosition

* fix: iconPosition compatible LoadingIcon

* docs(Button): update Button with iconPosition demo

* fix: delete debug type

* fix: iconPosition for InnerLoadingIcon with not existIcon

* chore: update button snapshots

* fix: fixed loading-icon-end style

* chore: refactor buttonContent with genButtonContent

* fix: iconPosition compatible with rtl

* docs(Button): update button with iconPosition demo

* chore: update test

* fix: iconPosition compatible with rtl

* docs(Buttob): add icon-position demo

* restore icon demo

* update snapshots

* docs: update icon button demo

* docs: update iconPosition button demo

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

Co-authored-by: kiner-tang <1127031143@qq.com>
Signed-off-by: George H <default_hyn@163.com>

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

Co-authored-by: kiner-tang <1127031143@qq.com>
Signed-off-by: George H <default_hyn@163.com>

* Update components/button/demo/icon-position.md

Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: George H <default_hyn@163.com>

* Update components/button/index.en-US.md

Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: George H <default_hyn@163.com>

* Update components/button/index.en-US.md

Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: George H <default_hyn@163.com>

---------

Signed-off-by: George H <default_hyn@163.com>
Co-authored-by: kiner-tang <1127031143@qq.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-04-07 22:42:20 +08:00
afc163
b63a94108f
demo: fix linear gradient button demo and remove debug flag (#48320)
* demo: fix linear gradient button demo and remove debug flag

* fix active colors
2024-04-07 19:14:56 +08:00
lijianan
24a65de3c5
Merge pull request #48317 from ant-design/master
chore: merge master into feature
2024-04-07 17:37:40 +08:00
afc163
c5a02b2f83
docs: update info title (#48318) 2024-04-07 17:02:59 +08:00
lijianan
52df99f9bf
refactor: use css token (#48311)
* refactor: use css token

* style: update
2024-04-07 15:36:38 +08:00
lijianan
2386fa69e7
refactor: use css token (#48312) 2024-04-07 15:19:16 +08:00
winches
392f1f1471
docs(radio): comsummate radio group options type (#48168)
* docs(radio): comsummate radio group options type

* docs: optimize
2024-04-07 10:19:59 +08:00
lijianan
bb74803437
Merge pull request #48293 from ant-design/master
chore: merge master into feature
2024-04-05 22:40:14 +08:00
kiner-tang
80af2a65ed
docs: Added ways to use bun installation dependencies (#48289)
* docs: add bun

* docs: add bun

* docs: add bun

* docs: add bun
2024-04-05 18:27:10 +08:00
Cooper
db822fd74e
demo: Upload demo add margin (#48268)
* fix: Upload add demo marigin

* use Flex and update Snap

* update snap

---------

Co-authored-by: lijianan <574980606@qq.com>
2024-04-05 15:13:49 +08:00
kiner-tang
ea67f49f31
docs: optimize docs (#48284) 2024-04-05 14:02:34 +08:00
kiner-tang
7724e51068
docs: opt docs about tabs (#48280) 2024-04-05 11:04:03 +08:00
kiner-tang
acfeb94f50
docs: Refine documentation on onClose event object types (#48279) 2024-04-05 11:03:38 +08:00
Cooper
9cea438930
docs: Translate the untranslated Chinese in an English document (#48266) 2024-04-04 17:33:58 +08:00
lijianan
34a7faa082
Merge pull request #48256 from ant-design/master
chore: merge master into feature
2024-04-04 10:37:15 +08:00
afc163
c0d2282db4
chore: update mocky.io to mockapi.io (#48252) 2024-04-03 23:37:22 +08:00
daisy
c152c58116
docs: update table faq (#48245) 2024-04-03 18:11:00 +08:00
二货爱吃白萝卜
9680481546
feat: Mix style framework support (#48229)
* chore: add layer mark

* docs: enable @layer for test

* docs: add doc of third part lib

* docs: update order

* Update docs/react/compatible-style.zh-CN.md

Co-authored-by: lijianan <574980606@qq.com>
Signed-off-by: 二货爱吃白萝卜 <smith3816@gmail.com>

* Update docs/react/compatible-style.en-US.md

Co-authored-by: lijianan <574980606@qq.com>
Signed-off-by: 二货爱吃白萝卜 <smith3816@gmail.com>

* docs: ssr or reset case

---------

Signed-off-by: 二货爱吃白萝卜 <smith3816@gmail.com>
Co-authored-by: lijianan <574980606@qq.com>
2024-04-03 17:12:02 +08:00
afc163
88d40e2750
demo: fix Input demo icon color (#48207) 2024-04-02 17:46:39 +08:00
lijianan
570c1be492
site: add component version to meta (#48226)
* site: add component version to meta

* Update .dumi/theme/builtins/ComponentMeta/index.tsx

Signed-off-by: afc163 <afc163@gmail.com>

---------

Signed-off-by: afc163 <afc163@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-04-02 16:33:57 +08:00
二货爱吃白萝卜
7e6678aa51
enhance: ssr ellipsis effect (#48205)
* enhance: ssr ellipsis effect

* test: update snapshot

* chore: fix lint
2024-04-02 14:50:46 +08:00
lijianan
0a79a79bc7
docs: update sidebar style of website (#48224)
* docs: update GetRef/GetProp/GetProps docs

* fix: fix

* fix: fix

* fix: fix

* fix: fix

* fix: fix
2024-04-02 14:05:03 +08:00
Amumu
f5c00a8607
Merge pull request #48223 from ant-design/master
chore: feature merge master
2024-04-02 11:37:44 +08:00
dependabot[bot]
c78f61d1b8
chore(deps): bump the dependencies group with 1 update (#48214)
* chore(deps): bump the dependencies group with 1 update

Updates the requirements on [@ant-design/react-slick](https://github.com/ant-design/react-slick) to permit the latest version.

Updates `@ant-design/react-slick` to 1.1.2
- [Release notes](https://github.com/ant-design/react-slick/releases)
- [Changelog](https://github.com/ant-design/react-slick/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ant-design/react-slick/compare/v1.1.1...v1.1.2)

---
updated-dependencies:
- dependency-name: "@ant-design/react-slick"
  dependency-type: direct:production
  dependency-group: dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>

* test: update snapshot

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-04-02 10:01:32 +08:00
a038583155
feat(upload): support ref.nativeElenent (#48210)
* feat(upload): support ref.nativeElenent

* test: add unit test

* Update components/upload/__tests__/upload.test.tsx

Signed-off-by: 红 <wxh16144@qq.com>

---------

Signed-off-by: 红 <wxh16144@qq.com>
2024-04-01 21:42:17 +08:00
叶枫
14a1e6bd51
feat: tsconfig enable strict (#47998)
* feat: tsconfig enable strict

* feat: add no-explicit-any

* feat: strict

* feat: as THEME

* feat: 优化 keys 类型写法

* feat: demo remove any

* feat: as number

* feat: this any

* feat: add eslint

* feat: cascader

* feat: props any

* feat: remove any

* feat: remove any

* feat: any 提示错误

* feat: remove any

* feat: add eslint

* feat: 允许 T = any 存在

* feat: color funciton

* feat: 恢复 lint

* feat: merge master

* feat: as ReactElement

* feat: type
2024-04-01 15:49:45 +08:00
叶枫
ff231ab557
demo: remove optionLabelProp (#48186)
* feat: remove optioLabelProp

* feat: doc

* feat: doc

* feat: option-render

* feat: option-render

* feat: snap
2024-04-01 11:09:23 +08:00
LingJinT
15553f54a3
test: update table.filter test case (#48202)
* fix: 表格列在搜索情况下,国际化失效 #48110

* Update components/table/hooks/useFilter/FilterDropdown.tsx

Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: LingJinT <63446949+LingJinT@users.noreply.github.com>

* fix: 补充测试用例

* fix: update table.filter test case

---------

Signed-off-by: LingJinT <63446949+LingJinT@users.noreply.github.com>
Co-authored-by: l2015 <lingjt@dtdream.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-04-01 10:46:05 +08:00
LonelySnowman
e665894e3a
fix: float button render hover color correctly (#48198) 2024-04-01 10:11:11 +08:00
MadCcc
7b280d307b
chore: bump rc-table to v7.45.0 (#48190)
* chore: bump rc-table to v7.45.0

* feat: 补充类型

* feat: 补充类型

---------

Co-authored-by: 叶枫 <645381995@qq.com>
2024-03-31 16:04:36 +08:00
MadCcc
5384a97f37
Merge pull request #48189 from ant-design/feature
chore: merge feature into master
2024-03-31 13:55:04 +08:00
kiner-tang
506753c3ef
feat: Tag support aria-* in closable (#47678)
* feat: Tag support aria-* in closable

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* refactor: useClosable

* chore: modal

* fix: check logic

* chore: clean up

* feat: optimize code

* feat: optimize code

---------

Signed-off-by: kiner-tang <1127031143@qq.com>
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2024-03-31 11:56:55 +08:00
momesana
18f9be6a6e
fix: vertically center icons in icon-only buttons (#48178)
Co-authored-by: Mehdi Salem <mehdi.salem@qt.io>
2024-03-30 22:14:34 +08:00
afc163
663004b426
fix: confirm content not centered when no icon (#48173)
* fix: confirm content not centered when no icon

* chore: add comment
2024-03-30 22:12:52 +08:00
lijianan
1b36fd22e5
Merge pull request #48172 from ant-design/master
chore: merge master into feature
2024-03-29 20:10:12 +08:00
章鱼怪
fe83792754
feat: Table add rowHoverable to disable hover interaction (#48112) 2024-03-29 15:29:49 +08:00
叶枫
8cc1d30351
feat: copy support async (#48123)
* feat: copy support async

* feat: add test

* feat: doc

* feat: snap

* feat: add loading

* feat: 恢复 try

* feat: 判断是否是 Error

* feat: throw error

* feat: 为了醋包了饺子

* feat: remove code

* feat: add loading test

* fix: test

* fix: icon import way

* chore: improve test case code

* chore: improve test case code

---------

Co-authored-by: afc163 <afc163@gmail.com>
2024-03-29 13:20:02 +08:00
LingJinT
5a9dca2ae7
fix: Fixed the problem that internationalization of table columns fails when searching (#48126)
* fix: 表格列在搜索情况下,国际化失效 #48110

* Update components/table/hooks/useFilter/FilterDropdown.tsx

Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: LingJinT <63446949+LingJinT@users.noreply.github.com>

* fix: 补充测试用例

---------

Signed-off-by: LingJinT <63446949+LingJinT@users.noreply.github.com>
Co-authored-by: l2015 <lingjt@dtdream.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-03-29 13:19:52 +08:00
Cooper
595e600813
fix: Upload remove margin using flex display (#48091)
* fix: remove upload margin with flex

* fix

* use support not

* fix
2024-03-29 10:21:30 +08:00
二货爱吃白萝卜
100fa29bef
feat: Input.OTP component support (#48076)
* chore: basic control

* chore: input instad

* docs: update demo

* chore: adjust operation interactive

* chore: lock selection

* chore: fix patch logic

* chore: merge logic

* chore: patch autoFocus

* test: update snapshot

* test: add test case

* test: coverage

* chore: update size limit

* docs: update docs

* test: fix test case

* chore: update comment

* refactor: change to length

* chore: blur all

* chore: size limit
2024-03-28 14:05:58 +08:00
lijianan
405394a8e4
Merge pull request #48133 from ant-design/master
chore: merge master into feature
2024-03-28 10:54:52 +08:00
Zhou Bill
7c09fc01ad
fix: upload default FileList is more than maxCount, it can't remove it (#47747)
* fix: upload default FileList is more than maxCount, it can't remove it

* fix: snapshot

* fix: line
2024-03-28 10:14:34 +08:00
lijianan
58153fca85
Revert "feat: add Scrollbar css token (#48109)" (#48115)
This reverts commit d0cc93b594.
2024-03-27 13:53:56 +08:00
afc163
268d6018a8
docs: update DatePicker locale instruction (#48111) 2024-03-27 13:34:35 +08:00
afc163
3518631afe
feat: upgrade react-slick (#48093)
* feat: upgrade react-slick

* test: update snapshots

* test: update snapshots

---------

Co-authored-by: lijianan <574980606@qq.com>
2024-03-27 13:34:26 +08:00
lijianan
d0cc93b594
feat: add Scrollbar css token (#48109)
* feat: add Scrollbar css token

* docs: update docs
2024-03-27 11:17:39 +08:00
LonelySnowman
18dc816e55
feat: add missing form translations in is_IS (#48104) 2024-03-27 10:25:26 +08:00
叶枫
b1a3972b81
demo: upload replace modal to image (#48105) 2024-03-27 09:49:50 +08:00
lijianan
3e156b0a7f
docs: add more JSDoc (#48101) 2024-03-26 23:01:04 +08:00
社长长
7ec9e688db
docs: fix notification word error (#48100)
Signed-off-by: 社长长 <ischenkan@outlook.com>
2024-03-26 22:32:59 +08:00
lijianan
82720bc503
type: update Wave props type (#48092)
* fix: fix the Wave not disappear when motion === false

* docs: update docs

* type: update type

* type: update type

* docs: revert
2024-03-26 18:20:28 +08:00
lijianan
e5849fc1b9
demo: update Progress demo (#48052)
* demo: update Progress demo

* fix: fix

* fix: fix

* fix: fix

* fix: update snap
2024-03-26 10:43:02 +08:00
yoshinyan
5e65463566
docs: typo in order-column.md (#48079)
Signed-off-by: yoshinyan <hai_hai_hai_1229@yahoo.co.jp>
2024-03-25 20:26:58 +08:00
MadCcc
1cb644d476
fix: color picker controlled value (#47816)
* fix: fix control value not show in dom

* chore: update title

* add test case

* change test title

* fix: cleared color should change after controlled value changed

* chore: code clean

* test: change test

* comment

* fix: should respect empty string

* test: add test case

* chore: update demo

---------

Co-authored-by: tanghui <yoyo837@hotmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
Co-authored-by: lijianan <574980606@qq.com>
2024-03-25 20:10:47 +08:00
kiner-tang
6310bf2840
feat: optimize code (#48072) 2024-03-25 19:22:04 +08:00
Meetacoo
dc9e4572ff
demo: Update demo with Space.Compact wrap (#48067)
* demo: App demo update

* test: Update test snapshots
2024-03-25 14:42:15 +08:00
叶枫
0177a7079e
docs: 修复 menu openKeys 计算问题 (#47859)
* fix: 修复 menu openKeys 计算问题

* feat: keys

* feat: 优化代码,避免 eslint

* feat: 优化代码,避免 eslint

* feat: 3级增加为3条数据,为了换行,便于代码查看

* feat: 删除受控 selectedKeys

* feat: 优化代码

* feat: snap

* feat: 优化代码去掉lint

* feat: 代码优化

* feat: 删除 as 因为 onOpenChange 不是 React.Key 了

* feat: 优化代码

* feat: 添加删移除所有子集逻辑
2024-03-25 14:10:34 +08:00
lijianan
739362345c
fix: adjust the order of QRCode style prop (#48053)
* fix: adjust the order of style prop

* test: update snap

* test: add test case
2024-03-25 10:59:44 +08:00
Cooper
a4bf443c01
docs: Add FAQ to popconfirm (#48055) 2024-03-24 23:06:04 +08:00
yykoypj
311a718956
feat: steps support for circular progress bar (#47940)
* feat: steps support for circular progress bar

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

Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: lijianan <574980606@qq.com>

* Update components/progress/index.en-US.md

Signed-off-by: lijianan <574980606@qq.com>

* Update components/progress/index.en-US.md

Signed-off-by: lijianan <574980606@qq.com>

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

Signed-off-by: lijianan <574980606@qq.com>

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

Signed-off-by: lijianan <574980606@qq.com>

* Update components/progress/index.en-US.md

Signed-off-by: lijianan <574980606@qq.com>

* Update components/progress/progress.tsx

Signed-off-by: lijianan <574980606@qq.com>

* Update components/progress/__tests__/index.test.tsx

Signed-off-by: lijianan <574980606@qq.com>

* Update components/progress/demo/circle-steps.tsx

Signed-off-by: lijianan <574980606@qq.com>

* Update components/progress/index.en-US.md

Signed-off-by: lijianan <574980606@qq.com>

* Update components/progress/index.en-US.md

Signed-off-by: lijianan <574980606@qq.com>

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

Signed-off-by: lijianan <574980606@qq.com>

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

Signed-off-by: lijianan <574980606@qq.com>

* Update circle-steps.tsx

* Update components/progress/progress.tsx

Signed-off-by: lijianan <574980606@qq.com>

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

Signed-off-by: lijianan <574980606@qq.com>

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

Signed-off-by: lijianan <574980606@qq.com>

* Update components/progress/index.en-US.md

Signed-off-by: lijianan <574980606@qq.com>

* Update components/progress/index.en-US.md

Signed-off-by: lijianan <574980606@qq.com>

* Update package.json

* Update components/progress/demo/circle-steps.md

Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: lijianan <574980606@qq.com>

---------

Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: lijianan <574980606@qq.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-03-24 18:30:53 +08:00
lijianan
87debac578
chore: rename variables merge => merged (#48048) 2024-03-24 10:56:28 +08:00
github-actions[bot]
80f49bfcf2
chore: auto merge branches (#48020)
chore: merge master into feature
2024-03-23 16:15:34 +00:00
lijianan
611993b0a8
type: fix master CI fail again (#48045)
* TEST: DO NOT MERGE

* fix: fix type
2024-03-23 23:27:59 +08:00
lijianan
212b1eef12
type: fix master CI fail (#48044) 2024-03-23 21:59:55 +08:00
Githubkuankuan
72a7d86b6f
docs: fix twoToneColor description (#48011)
* fix: icon twoToneColor 传递值的类型,标注不清楚问题

Signed-off-by: Githubkuankuan <82639318+Githubkuankuan@users.noreply.github.com>

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

Signed-off-by: afc163 <afc163@gmail.com>

---------

Signed-off-by: Githubkuankuan <82639318+Githubkuankuan@users.noreply.github.com>
Signed-off-by: afc163 <afc163@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-03-22 23:11:33 +08:00
Christine Tang
a3077e449e
test: rm unnecessary async (#48033)
* chore: rm unnecessary React.useMemo

* Revert "chore: reset commit"

This reverts commit 2fa5df5185.

* test: rm unnecessary async
2024-03-22 21:29:19 +08:00
叶枫
e17cd4ae27
test: keep spaces (#47024)
* feat: snap

* feat: up snap
2024-03-22 20:49:55 +08:00
afc163
0a67b32443
docs: update Upload FAQ about Mac Chrome bug (#48021) 2024-03-22 16:38:59 +08:00
二货爱吃白萝卜
20561d6f9d
docs: Fix component doc alignment & support import usage (#48004)
* docs: init ref

* docs all support

* docs: fix link show
2024-03-22 14:22:42 +08:00
Cooper
be1d14d4cb
docs: text optimize (#48012) 2024-03-22 11:57:58 +08:00
Cooper
ca6c932b39
feat: Popover can be closed by ESC when trigger is focus or click (#47928)
* feat:Add keydown event to handle escape

* fix

* fix:use exact same logic with popconfirm

* fix:move same logic from popconfirm to popover

* fix

* fix

* add test

* fix

* fix

* fix

* test size-limit

* fix

* fix popconfirm test

* fix

* fix

---------

Co-authored-by: afc163 <afc163@gmail.com>
2024-03-22 10:33:56 +08:00
Roxannej
d8982a6def
docs: colorpicker text optimize (#48008) 2024-03-22 08:10:56 +08:00
owenchen1004
b3728baf3c
docs: more info about valuePropName (#48003) 2024-03-21 17:47:23 +08:00
lijianan
a17b98aa69
type: export AffixRef interface (#47982) 2024-03-21 16:30:47 +08:00
二货爱吃白萝卜
bd995468aa
chore: fix GetRef for some case (#47983)
* chore: fix GetRef for some case

* test: add type test

* docs: add util doc

* fix: en

* chore: add logo
2024-03-21 15:55:40 +08:00
二货爱吃白萝卜
0b00db48bd
feat: Table support onScroll event (#47986) 2024-03-21 10:07:10 +08:00
章鱼怪
cd317fb718
fix: Radio hover style (#47972) 2024-03-20 18:17:05 +08:00
叶枫
47bd5ecccc
Typography support collapse (#47264)
* feat: typograohy support collapse

* feat: snap

* feat: test

* feat: 单测不符合预期

* feat: test

* feat: 恢复

* feat: test

* feat: test

* feat: 修改命名

* feat: 代码优化

* feat: 添加控制台提示

* feat: snap

* feat: symbol support function

* feat: snap

* fix: text

* feat: snap

* feat: api 修改

* feat: key 修改

* feat: 去掉参数

* feat: lint

* feat: snap

* feat: test

* feat: use 2

* feat: review

* feat: test

* chore: part of it

* chore: fix auto collapse logic

* feat: 修改 doc 单测

* feat: doc

* test: update testcase

* docs: add more

---------

Co-authored-by: 二货机器人 <smith3816@gmail.com>
2024-03-20 11:39:03 +08:00
lijianan
ec4591b64a
docs: add JSDoc to cssVar props (#47965) 2024-03-20 10:50:36 +08:00
lijianan
5fbfecd5b2
feat: CP support FloatButton.Group closeIcon (#47953) 2024-03-19 17:14:22 +08:00
David Dobryakov
ecc82589e3
docs: fix typo "fille" -> "filled" (#47950) 2024-03-18 22:52:01 +08:00
栗康
889135ea98
docs: fix react-sticky-box link (#47942) 2024-03-18 18:50:05 +08:00
Alina Andrieieva
1bd8fbc5f3
feat: support showSorterTooltip.target for Table sorters (#47409)
* Added `sorterTooltipTarget` prop for table sorters

* demo updated

* updated snapshot

* updated snapshot

* moved table tooltip target to `showSorterTooltip`

* fix

* updated docs

* empty commit

* updated version in docs

---------

Co-authored-by: Alina Andrieieva <Alina_Andrieieva@epam.com>
2024-03-18 18:45:31 +08:00
二货爱吃白萝卜
de8657bf3b
fix: WaterMark blink when scale of window (#47895)
* fix: WaterMark blink when scale of window

* chore: fix mutation

---------

Co-authored-by: afc163 <afc163@gmail.com>
2024-03-18 15:39:06 +08:00
afc163
dfd342d985
Merge pull request #47931 from ant-design/master
chore: sync master to feature
2024-03-18 15:36:41 +08:00
afc163
e8839ae48b
style: unify Modal and Drawer close icon style (#47909)
* style: unify Modal and Drawer close icon style

* style: fix Drawer close icon style

* style: add focus style

* style: unify close btn style

* test: update snapshots

* style: tweak drawer close icon size
2024-03-16 23:21:09 +08:00
afc163
96bade2dad
chore: update token descriptions (#47918)
* fix: Modify button token annotation error

fix: Modify button token annotation error

Signed-off-by: 孙术 <18046567175@163.com>

* Apply suggestions from code review

Signed-off-by: afc163 <afc163@gmail.com>

* Apply suggestions from code review

Signed-off-by: afc163 <afc163@gmail.com>

* Update token.ts

Signed-off-by: afc163 <afc163@gmail.com>

* Update token.ts

Signed-off-by: afc163 <afc163@gmail.com>

* Update token.ts

Signed-off-by: afc163 <afc163@gmail.com>

---------

Signed-off-by: 孙术 <18046567175@163.com>
Signed-off-by: afc163 <afc163@gmail.com>
Co-authored-by: 孙术 <18046567175@163.com>
2024-03-16 22:17:56 +08:00
孙术
67b890af26
chore: Modify button token annotation error (#46914)
* fix: Modify button token annotation error

fix: Modify button token annotation error

Signed-off-by: 孙术 <18046567175@163.com>

* Apply suggestions from code review

Signed-off-by: afc163 <afc163@gmail.com>

* Apply suggestions from code review

Signed-off-by: afc163 <afc163@gmail.com>

* Update token.ts

Signed-off-by: afc163 <afc163@gmail.com>

* Update token.ts

Signed-off-by: afc163 <afc163@gmail.com>

---------

Signed-off-by: 孙术 <18046567175@163.com>
Signed-off-by: afc163 <afc163@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-03-16 22:13:58 +08:00
evgmol
13ed05fa14
style: Use description color instead of disabled in Empty (#47268)
Signed-off-by: evgmol <146968816+evgmol@users.noreply.github.com>
2024-03-16 22:05:59 +08:00
renovate[bot]
bcc5d113bc
chore(deps): update dependency @types/react to v18.2.66 (#47798)
* chore(deps): update dependency @types/react to v18.2.66

* Update package.json

Signed-off-by: afc163 <afc163@gmail.com>

* fix: React LegacyRef

* type: fix ref type

* type: fix ref type

* type: fix ref type

* type: fix ref type

* type: fix ref type

* type: fix ref type

* chore: fix lint errors

---------

Signed-off-by: afc163 <afc163@gmail.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-03-16 21:41:25 +08:00
afc163
8ba9900c56
docs: fix Statistic.Countdown value type (#47907) 2024-03-16 17:48:34 +08:00
afc163
862f5da5ba
test: update snapshot (#47911) 2024-03-16 17:46:44 +08:00
afc163
a8fb31cbd5
style: Badge align style with text under Space (#47908) 2024-03-16 17:45:50 +08:00
Amumu
e088adf0da
feat: add Uzbek(latn) locale (#47899)
* feat: add Uzbek(latn) locale

* size-limit

* Update docs/react/i18n.zh-CN.md

Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: Amumu <yoyo837@hotmail.com>

---------

Signed-off-by: Amumu <yoyo837@hotmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
Co-authored-by: lijianan <574980606@qq.com>
2024-03-16 09:30:36 +08:00
afc163
5574f31576
style: Upload actions should not wrap (#47898)
* style: Upload actions should not wrap

* Update components/upload/style/list.ts

Signed-off-by: afc163 <afc163@gmail.com>

* Update components/upload/style/list.ts

Signed-off-by: afc163 <afc163@gmail.com>

---------

Signed-off-by: afc163 <afc163@gmail.com>
2024-03-15 19:06:39 +08:00
二货爱吃白萝卜
31ff625d8f
fix: Typography symbol height exceed line should also support ellipsis (#47889)
* fix: Typography with ellipsis of symbol height

* test: update snapshot
2024-03-15 13:56:03 +08:00
二货爱吃白萝卜
7884eba28e
fix: DatePicker itemHeight calculation (#47874)
* chore: init

* chore: clean up

* chore: clean up
2024-03-15 10:54:54 +08:00
xliez
1491b0c624
docs(Select): Update docs for Select new API: labelRender (#47811)
* docs: 添加 labelRender API 文档

Signed-off-by: xliez <xliez@foxmail.com>

* docs: supplement 5.15.0 changelog

* test: update snapshots

---------

Signed-off-by: xliez <xliez@foxmail.com>
2024-03-14 22:04:14 +08:00
章鱼怪
c8635a7bc0
feat: improve Transfer key type (#47879)
* feat: add Transfer's key type

* docs: update prop

* fix: key type

* fix: cycle dependency
2024-03-14 21:14:21 +08:00
二货爱吃白萝卜
2323e95c41
fix: legacy onSelect of TimePicker (#47878)
* chore: update ts

* docs: update
2024-03-14 21:06:08 +08:00
Gogi H
5330fb61cd
docs: Add extra comment for locale implementation (#47882)
* docs(datePicker): add comment for extra info

* docs(datePicker): add simplified chinese translation
2024-03-14 21:04:29 +08:00
栗嘉男
232d22ad49 chore: merge master into feature 2024-03-14 15:03:34 +08:00
宋红凯
f9e9b8b8ed
docs(Button): change paddingBlock type def desc (#47856) 2024-03-14 11:42:14 +08:00
yexiaolong
bdc382bbe4
chore: code optimization (#47852)
* perf: 代码优化: 1.Skeleton组件children null判断; 2.Paragraph组件内部getWidth方法抽离;

* perf: 代码优化: 1.Skeleton组件children null判断; 2.Paragraph组件内部getWidth方法抽离;

---------

Co-authored-by: 叶晓龙 <evermore.ye@quectel.com>
2024-03-13 11:38:40 +08:00
二货爱吃白萝卜
7f87f912b0
fix: picker multiple selection lines collpase (#47821)
* fix: DatePicker multiple padding

* docs: update demo

* chore: clean up
2024-03-11 16:57:09 +08:00
Rin
bb567f6831
docs: fix DOM typo (#47815) 2024-03-11 13:40:29 +08:00
Cuvii
387c36aa30
docs: fix more typo (#47807) 2024-03-11 13:37:38 +08:00
winches
3818c10912
fix(anchor): active anchor error (#47795) 2024-03-11 10:42:45 +08:00
winches
3fbb280d14
chore: ellipsis typo (#47804) 2024-03-11 10:33:05 +08:00
二货爱吃白萝卜
54c5721f48
chore: bump trigger to move click to mouseDown (#47775)
* chore: bump trigger

* chore: bump trigger

* chore: bump trigger

* chore: bump trigger

* chore: fix logic

* fix: context tour config

* test: coverage
2024-03-08 21:31:27 +08:00
lijianan
5f1ac6c095
Merge pull request #47771 from ant-design/master
chore: merge master into feature
2024-03-08 11:38:43 +08:00
lijianan
630f4d9cfb
demo: Tag demo update (#47751)
* demo: Tag demo update

* fix: fix

* fix: fix
2024-03-08 10:51:31 +08:00
afc163
7d9bc97c9b
style: add ColorPicker clear icon hover style (#47761) 2024-03-08 10:19:23 +08:00
ChuYang
ade622e8f4
demo: a wrong word (#47746)
* fix: a wrong word

* fix: update snapshot
2024-03-08 07:17:46 +08:00
xiejiahe
998eaf1849
test: remove null check (#47759)
`querySelectorAll` always returns an array without the need for null check.

Signed-off-by: xiejiahe <xjh22222228@gmail.com>
2024-03-08 07:12:03 +08:00
Alexey Teterin
3843ac5cb2
fix: fix ru_RU locale for DatePicker (#47768)
Co-authored-by: Alexey Teterin <ateterin@naumen.ru>
2024-03-08 06:53:16 +08:00
yingjiechen
c2938c14f2
docs: change the default value 'closeable' (#47730)
Change the default value of the attribute 'closeable' from true to false

Signed-off-by: yingjiechen <53926916+jj19100@users.noreply.github.com>
2024-03-07 12:39:40 +08:00
afc163
3d7a3813ed
fix: Descriptions extra padding (#47737) 2024-03-07 10:08:06 +08:00
MadCcc
0652c32830
fix: sibling Tags should have margin (#47736)
* fix: sibling Tag should have margin

* chore: update snapshot

* chore: revert

* chore: link issue

* docs: update demo

* Revert "demo: update Grid、Table、Select demo (#47709)"

This reverts commit c01c1b505b.

* chore: update snapshot

* chore: update demo
2024-03-06 21:51:17 +08:00
叶枫
a975d48c3a
Cascader support option render (#47727)
* feat: done

* feat: doc
2024-03-06 20:04:13 +08:00
kiner-tang
bb85712f71
feat: Notification support aria-* in closable (#47710)
* feat: Notification support aria-* in closable

* feat: optimize code
2024-03-06 11:53:05 +08:00
Olivier Louvignes
44b55c6435
demo: improve types for form basic demo (#47722) 2024-03-06 09:44:26 +08:00
lijianan
c01c1b505b
demo: update Grid、Table、Select demo (#47709)
* demo: update demo

* fix: fix test

* feat: table snap

---------

Co-authored-by: 叶枫 <645381995@qq.com>
2024-03-05 17:23:47 +08:00
afc163
015c459975
chore: improve ru_RU locale for DatePicker (#47705)
* Update ru_RU.ts

Signed-off-by: anykobz <66529344+anykobz@users.noreply.github.com>

* Update components/date-picker/locale/ru_RU.ts

Signed-off-by: afc163 <afc163@gmail.com>

* chore: update snapshot

---------

Signed-off-by: anykobz <66529344+anykobz@users.noreply.github.com>
Signed-off-by: afc163 <afc163@gmail.com>
Co-authored-by: anykobz <66529344+anykobz@users.noreply.github.com>
2024-03-05 11:58:03 +08:00
pfdgithub
536f296d11
fix: consistent with the tag component, the processing state uses colorInfo token. (#47695)
Signed-off-by: pfdgithub <pfdgithub@users.noreply.github.com>
2024-03-05 10:15:13 +08:00
lijianan
a4077b6739
demo: update Select label type in demo and docs (#47694) 2024-03-04 13:55:24 +08:00
lqzhgood
9970fd3754
📃 docs(Select): add optGroups props (#47687)
https://github.com/react-component/select/pull/1020/
2024-03-03 14:42:04 +08:00
lijianan
6f68cf30ac
demo: demo code optimization (#47680) 2024-03-02 10:47:22 +08:00
afc163
7abae5e973
demo: a better Form usage inside Modal (#47574)
* demo: a better Form usage inside Modal

* chore: drop ref usage

* fix: useForm

* show values after submit

* chore: update snapshot

* chore: remove form preserve
2024-03-02 01:11:00 +08:00
米家-iOS-张文锋
08224052c8
demo: fix AutoComplete options demo (#47651)
* 修复 auto component 输入demo运行错误的问题

* Update options.tsx

Remove unused key.

Signed-off-by: 米家-iOS-张文锋 <zhangwfyoupu@126.com>

* Update options.tsx

Remove the unused param:index

Signed-off-by: 米家-iOS-张文锋 <zhangwfyoupu@126.com>

---------

Signed-off-by: 米家-iOS-张文锋 <zhangwfyoupu@126.com>
Co-authored-by: zhangwenfeng <santcool@126.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-03-02 01:02:55 +08:00
kiner-tang
6928fbc06d
feat: Modal support aria-* in closable (#47650)
* feat: Modal support aria-* in closable

* feat: Modal support aria-* in closable

* feat: Modal support aria-* in closable

* chore: bump rc-image

* feat: update snap

* feat: update snap
2024-03-01 10:58:50 +08:00
Amumu
2156ed4c07
fix: virtual list prefixCls not working (#47639)
* fix: virtual list prefixCls not working

* update test case
2024-02-29 09:45:27 +08:00
kiner-tang
183746ac3f
feat: Remove unless necessary warning in alert (#47633) 2024-02-28 17:15:20 +08:00
lijianan
9c1e63dc8d
test: rm useless async (#47628) 2024-02-28 15:28:25 +08:00
kiner-tang
15216614ed
feat: Drawer support aria in closable (#47543)
* feat: drawer support aria in closable prop

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code
2024-02-28 14:11:15 +08:00
栗嘉男
a466d3fc8d chore: merge master into feature 2024-02-28 13:29:43 +08:00
lijianan
5276de61f7
type: optimization CP props type (#47621) 2024-02-28 11:53:01 +08:00
lijianan
271daafa39
feat: CP support Input.TextArea allowClear、autoComplete、className、classNames、style、styles (#47589)
* feat: CP support Input allowClear

* feat: CP support Input allowClear

* fix: fix

* fix: fix

* revert

* revert

* Update Input.tsx

Signed-off-by: lijianan <574980606@qq.com>

* Update getAllowClear.tsx

Signed-off-by: lijianan <574980606@qq.com>

* Update getAllowClear.tsx

Signed-off-by: lijianan <574980606@qq.com>

* test: add test case

---------

Signed-off-by: lijianan <574980606@qq.com>
2024-02-28 09:54:48 +08:00
二货爱吃白萝卜
01f923effe
fix: Compatible with v4 logic (#47612) 2024-02-27 19:11:46 +08:00
二货爱吃白萝卜
72ee4517f0
refactor: Use native css for measure css line ellipsis (#47597)
* chore: init

* chore: ellpsis check with native css

* docs: all the lines

* chore: move copied btn out

* chore: add dpes

* fix: logic order

* fix: ellipsis event

* test: update testcase

* chore: use native way

* chore: destructure

* chore: fix lint

* chore: fix lint

* chore: fix lint
2024-02-27 16:56:24 +08:00
lijianan
6c0d3e46c4
feat: CP support Input allowClear (#47602) 2024-02-27 10:25:35 +08:00
Yawen Xiao
c06dc8e960
type: styles should be optional for cardProps (#47601)
Co-authored-by: yawen.xiao <yawen.xiao@192.168.0.107>
2024-02-27 00:08:38 +08:00
Rickvian Aldi
8eff174cc5
docs: Fix non-working code example in breadcrumb browserHistory (#47581)
* docs: Fix non-working code example in breadcrumb browserHistory

* Update components/breadcrumb/index.en-US.md

use string interpolation

Co-authored-by: kiner-tang <1127031143@qq.com>
Signed-off-by: Rickvian Aldi <rickvianaldi@gmail.com>

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

use string interpolation

Co-authored-by: kiner-tang <1127031143@qq.com>
Signed-off-by: Rickvian Aldi <rickvianaldi@gmail.com>

---------

Signed-off-by: Rickvian Aldi <rickvianaldi@gmail.com>
Co-authored-by: Rickvian Aldi <rickvian.aldi@ninjavan.co>
Co-authored-by: kiner-tang <1127031143@qq.com>
2024-02-26 10:20:42 +08:00
lijianan
b28b0d883f
feat: CP support Menu expandIcon (#47561)
* feat: CP support Menu expandIcon

* fix: test case fix

* fix: test case fix

* fix: fix

* fix: fix

* chore: rename

* type: add type

---------

Signed-off-by: lijianan <574980606@qq.com>
2024-02-26 09:55:08 +08:00
Maxim Kolesnikov
19888a0962
docs: fix auto complete docs not found content type (#47577)
* Update index.en-US.md

Corrected type for notFoundContent in the documentation in auto-complete index.en-US.md

Signed-off-by: Maxim Kolesnikov <mxklsn@gmail.com>

* Update index.en-US.md

Signed-off-by: Maxim Kolesnikov <mxklsn@gmail.com>

* Update components/auto-complete/index.en-US.md

Signed-off-by: lijianan <574980606@qq.com>

---------

Signed-off-by: Maxim Kolesnikov <mxklsn@gmail.com>
Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: lijianan <574980606@qq.com>
2024-02-24 23:45:20 +08:00
栗嘉男
cb789d9d14 chore: merge master into feature 2024-02-24 15:51:51 +08:00
lijianan
9836a74086
chore: rm unnecessary export (#47568) 2024-02-24 14:50:03 +08:00
SuperYY
1b696510e5
bug fix : expand all leaf nodes in root level (#47567)
* fix table's scrollbar background color in dark mode

* docs : fix "fille" with "filled"

* expand all leaf nodes in root level

* Add type annotation

* code style format

* [CodeFactor] Apply fixes to commit 116efaf

[ci skip] [skip ci]

* simplify the code and add the corresponding testing module

---------

Co-authored-by: codefactor-io <support@codefactor.io>
2024-02-24 12:42:21 +08:00
github-actions[bot]
2913547258
chore: auto merge branches (#47562)
chore: merge master into feature
2024-02-24 03:02:05 +00:00
二货爱吃白萝卜
08d432fa41
fix: RangePicker time column sometime not scroll (#47542)
* fix: style fixing of time scroll

* chore: bump rc-picker
2024-02-23 11:32:04 +08:00
lijianan
dccdb377b0
demo: demo update (#47551)
* demo: update demo code

* fix: fix
2024-02-23 11:01:56 +08:00
zhw
b3e6650088
fix: datePicker document (#47537) 2024-02-22 14:03:29 +08:00
susuhhhhhh
8cf629f126
demo: replace abandoned APIs with new ones (#47519)
* fix:废弃 api 替换成新 api

* Update demo-extend.test.ts.snap

---------

Co-authored-by: lijianan <574980606@qq.com>
2024-02-21 19:37:40 +08:00
Amumu
6c824b7dbf
Merge pull request #47521 from ant-design/master
chore: merge master into feature
2024-02-21 15:54:37 +08:00
MadCcc
6033c69e60
fix: modal mask should block pointer events when opened (#47508)
* fix: modal mask should block pointer events when opened

* chore: code clean
2024-02-21 09:58:46 +08:00
lijianan
2bb7e9edda
fix: rm Tag useless style (#47504) 2024-02-21 09:58:07 +08:00
afc163
fc1fb17ee7
fix: add destroyTooltipOnHide to Avatar.Group (#47478) 2024-02-20 18:07:07 +08:00
lijianan
e939962c55
demo: update Progress demo (#47494) 2024-02-20 15:02:22 +08:00
lijianan
cf51b5f34d
feat: CP support collapse expandIcon (#47473)
* feat: CP support Avatar icon

* fix: fix

* fix: fix

* test: fix test case

* fix: fix

* fix: fix type

* Update avatar.tsx

Signed-off-by: lijianan <574980606@qq.com>

* Update avatar.tsx

Signed-off-by: lijianan <574980606@qq.com>

---------

Signed-off-by: lijianan <574980606@qq.com>
2024-02-20 14:02:43 +08:00
lijianan
d9cee1ceac
fix: rm Progress useless style (#47493) 2024-02-20 13:30:07 +08:00
SuperYY
ac9cd5c8de
fix table's scrollbar background color in dark mode (#47487) 2024-02-20 11:10:22 +08:00
MadCcc
b96f4c8003
feat: css var prefix follow prefixCls by default (#47481)
* feat: css var prefix follow prefixCls by default

* docs: update
2024-02-20 09:47:21 +08:00
lijianan
944d8345d7
docs: remove extra whitespace (#47479) 2024-02-19 14:43:43 +08:00
lijianan
49d3201d90
Merge pull request #47477 from ant-design/master
chore: merge master into feature
2024-02-19 14:21:31 +08:00
lijianan
d9bb666a56
docs: update FAQ about findDOMNode warning (#47475)
* docs: update findDOMNode docs

* Revert "docs: update findDOMNode docs"

This reverts commit 367267086d.

* docs: update FAQ about findDOMNode warning

* fix: fix
2024-02-19 13:42:05 +08:00
kiner-tang
23cb9c5fd6
feat: Alert support aria-* in closable (#47474)
* feat: Alert support aria-* in closable

* feat: Alert support aria-* in closable

* feat: Alert support aria-* in closable
2024-02-19 13:40:19 +08:00
lijianan
ed25a45c0d
Revert "feat: Alert support aria-* in closable (#47446)" (#47471)
This reverts commit 9d3211757c.
2024-02-19 10:25:15 +08:00
lijianan
ee27f0e285
docs: update filterOnClose api docs (#47472) 2024-02-19 10:03:38 +08:00
kiner-tang
9d3211757c
feat: Alert support aria-* in closable (#47446)
* feat: support aria-* in closeable

* feat: support aria-* in closeable

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code
2024-02-18 18:08:02 +08:00
Aelita
20cd731ba9
feat(table): add filterOnClose prop for Column (#47451)
* feat(table): add `filterOnClose` prop for `Column`

* docs(table): add `filterOnClose` into `Column`'s API
2024-02-18 12:43:11 +08:00
winches
0c18d37a7e
docs(breadcrumb): repair breadcrumbItem props (#47464) 2024-02-18 12:32:05 +08:00
希亚的西红柿
d4c811cf8c
fix: the color of Content should change in darkmode (#47441) 2024-02-18 10:24:09 +08:00
Rajasekhar Gandavarapu
5272a2e859
fix: For the menu in dark horizontal mode, token: darkItemSelectedBg and darkItemSelectedColor is set, but does not take effect (#47463)
* fix: for For the menu in dark horizontal mode, token: darkItemSelectedBg and darkItemSelectedColor is set, but does not take effect

* use common tokens
2024-02-18 09:58:39 +08:00
lijianan
be67895a93
chore: code optimization (#47454) 2024-02-17 19:56:41 +08:00
lijianan
a84af71d14
site: code optimization (#47456) 2024-02-16 20:50:31 +08:00
lijianan
7587f12fe8
Merge pull request #47453 from ant-design/master
chore: merge master into feature
2024-02-16 11:37:35 +08:00
Carla Paiva
8c9eea3bb2
demo: typo of onChange func parameter on cascader basic example (#47427) 2024-02-12 13:34:09 +08:00
daisy
7b86dd60b5
docs: Table colSpan render -> onCell (#47392)
* docs: Table colSpan render -> onCell

* Update components/table/demo/colspan-rowspan.md

Signed-off-by: afc163 <afc163@gmail.com>

---------

Signed-off-by: afc163 <afc163@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-02-09 14:47:39 +08:00
afc163
a49d2d5ea3
fix: Steps inline broken style (#47406) 2024-02-08 13:11:09 +08:00
二货爱吃白萝卜
52fdbb47d9
fix: datePicker arrow out of bound (#47389)
* fix: datePicker arrow out of bound

* chore: use logic prop
2024-02-07 20:29:24 +08:00
afc163
3d1c81db92
fix: Dropdown should not display when items is empty array (#47375)
* fix: Dropdown should not display when items is empty array

* Apply suggestions from code review

Signed-off-by: afc163 <afc163@gmail.com>

---------

Signed-off-by: afc163 <afc163@gmail.com>
2024-02-07 20:22:31 +08:00
afc163
39e7bc5d2f
Merge pull request #47383 from ant-design/master
chore: merge master into feature
2024-02-07 13:30:01 +08:00
lijianan
55aae1ed26
chore: bump rc-table from 7.39.0 to 7.40.0 (#47382)
* chore: bump rc-table from 7.39.0 to 7.40.0

* test: update snap
2024-02-07 11:44:04 +08:00
lijianan
9bf2b2c0d6
docs: update Tabs api description (#47356)
* docs: update Tabs description

* Update components/tabs/index.en-US.md

Co-authored-by: MadCcc <madccc@foxmail.com>
Signed-off-by: lijianan <574980606@qq.com>

* Update components/tabs/index.en-US.md

Co-authored-by: MadCcc <madccc@foxmail.com>
Signed-off-by: lijianan <574980606@qq.com>

---------

Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: MadCcc <madccc@foxmail.com>
2024-02-07 11:23:57 +08:00
MadCcc
a4c4c4738d
fix: borderless tag should use defaultBg (#47372) 2024-02-07 10:20:07 +08:00