Commit Graph

17725 Commits

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