Commit Graph

17716 Commits

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