Commit Graph

18062 Commits

Author SHA1 Message Date
Wanpan
c4928586af
chore: InputNumber add usage tips (#49648) 2024-06-28 23:19:58 +08:00
afc163
7dd7f714f3
style: Slider tweak active handler style (#49630)
* style: Slider add outline to active handler

* Apply suggestions from code review

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

---------

Signed-off-by: afc163 <afc163@gmail.com>
2024-06-28 22:10:15 +08:00
Wanpan
abe483d7d0
fix(dropdown): Modify the initialization style (#49643) 2024-06-28 20:34:51 +08:00
github-actions[bot]
dccb38d747
chore: auto merge branches (#49639)
chore: sync master to feature
2024-06-28 08:17:32 +00:00
Hannnnnnnnnnnnnnnn
f6c01fef84
fix: Tour nl_NL locales (#49612) 2024-06-28 13:41:37 +08:00
二货爱吃白萝卜
3e98f7cf47
fix: typography ellipsis button style (#49620) 2024-06-27 16:54:57 +08:00
二货爱吃白萝卜
8890eff05e
ehance: borderless status (#49608)
* fix: borderless status

* test: update snapshot
2024-06-26 21:35:12 +08:00
github-actions[bot]
1b9706f22d
chore: auto merge branches (#49609)
chore: sync master to feature
2024-06-26 10:10:48 +00:00
照明胧
cc54bef826
fix: The emptyText field of the table (#49599)
* fix: The emptyText field of the table
when emptyText is null

* test: update test case(#49599)
2024-06-26 14:19:22 +08:00
afc163
ff7fea18f3
Revert "bug: fix-table-bug ref filters" (#49600)
This reverts commit 7790934b0b.
2024-06-26 12:40:24 +08:00
a15fcfa1dc
chore(type): improve TS type definition (#49602) 2024-06-26 12:40:11 +08:00
Andrey
9ce5cbcf64
fix: remove redundant transformations in ``UploadList``, which led to decrease in performance (#49598)
* fix: remove unnecessary transformations for upload list with previews

* chore: revert miss convert

---------

Co-authored-by: 二货机器人 <smith3816@gmail.com>
2024-06-26 11:05:39 +08:00
ice
e76e386966
feat(Pagination): simple prop extend to object & add align prop (#49562)
* feat(pagination): simple prop extend to object

* feat(pagination): add align prop

* Update components/pagination/Pagination.tsx

Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: ice <49827327+coding-ice@users.noreply.github.com>

* refactor: remove useless types

* refactor(List): align prop

---------

Signed-off-by: ice <49827327+coding-ice@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-06-25 21:27:11 +08:00
6a0af781d1
chore: improve tabs demo (#49590)
ref: https://docs.dndkit.com/presets/sortable#collision-detection-algorithm
2024-06-25 13:34:28 +08:00
Tantatorn Suksangwarn
7127603b76
fix: add missing Thai translations (#49588) 2024-06-25 13:32:59 +08:00
duqigit
7790934b0b
fix: Table empty node in filter dropdown not following ConfigProvider renderEmpty (#49548)
* 修复自定义全局组件,过滤里面没有生效

* 新增测试用例

* 重新提交测试用例

* 测试用例添加断言判断

* update Table.filter.test.tsx

* commit snapshot

* update Table.filter.test.tsx

* update Table.filter.test.tsx

* update Table.filter.test.tsx
2024-06-25 10:44:43 +08:00
lijianan
b09913db06
test: update test case code (#49585) 2024-06-25 10:42:19 +08:00
github-actions[bot]
ee40b3d44b
chore: auto merge branches (#49564)
chore: merge master into feature
2024-06-23 07:51:56 +00:00
renovate[bot]
1a5308a826
chore(deps): update dependency typescript to ~5.5.0 (#49559)
* chore(deps): update dependency typescript to ~5.5.0

* fix: fix lint error

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: 栗嘉男 <574980606@qq.com>
2024-06-23 14:57:41 +08:00
lijianan
2b629ef391
type: rm useless type of reducer (#49555)
* type: rm useless type of reducer

* Update components/_util/ActionButton.tsx

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

---------

Signed-off-by: lijianan <574980606@qq.com>
2024-06-22 23:57:39 +08:00
github-actions[bot]
05d107ce4d
chore: auto merge branches (#49556)
chore: sync master to feature
2024-06-22 15:30:17 +00:00
afc163
59ad48476b
refactor: add boime lint and fix lint errrors (#49536)
* chore: add boime lint

* fix lint

* use files ignore

* revert change

* ignore clarity.js

* fix some errors

* fix some errors

* fix some errors

* fix some errors

* add yml file

* Update clarity.js

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

* add npm run lint:biome

* add npm run lint:biome

* fix test case

* fix ts errors

* fix ts errors

* fix lint and add .lintstagedrc

* shorten prop name

* chore: update package.json

* update biome.json

* chore: remove stylelint

* chore: useOptionalChain

* fix lint

* biome format

* prettier all code

* prettier all code

* fix site test

---------

Signed-off-by: afc163 <afc163@gmail.com>
2024-06-22 21:59:12 +08:00
kiner-tang
d8c98e18ab
demo: Add svg qrcode download demo (#49553)
* feat: add download qrcode when render type is svg

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code
2024-06-22 17:33:06 +08:00
MadCcc
010f82bd1a
feat: ConfigProvider support variant (#49535)
* feat: ConfigProvider support variant

* docs: add docs for variant

* feat: support config all components variant

* chore: fix lint

* chore: add test

* test: add test
2024-06-21 17:47:09 +08:00
thinkasany
1b3c25af9a
chore(style): backticks to single quotes (#49540) 2024-06-21 15:50:01 +08:00
kiner-tang
ff12f47d18
feat: use rc-qrcode instead of qrcode.react (#49454)
* feat: use rc-qrcode instead of qrcode.react

* feat: optimize code

* feat: update test case

---------

Signed-off-by: kiner-tang <1127031143@qq.com>
2024-06-21 11:42:21 +08:00
MadCcc
a5d308b408
feat: select sort support search (#49352)
* feat: select filter support sort param

* docs: update demo to fix lint

---------

Co-authored-by: 闲夕 <shizexian.szx@antgroup.com>
2024-06-21 09:52:07 +08:00
lijianan
666f38d756
refactor: add ContextIsolator component (#49438)
* refactor: add ContextIsolator component

* fix: fix

* fix: fix

* test: fix test case

* test: add test case

---------

Co-authored-by: afc163 <afc163@gmail.com>
2024-06-21 02:10:21 +08:00
RoxanneF
4b08667a3f
docs: fix progress text (#49530) 2024-06-20 23:34:13 +08:00
叶枫
5e4019f90d
chore: fix table ajax demo (#49513)
* chroe: fix table ajax demo

* chroe: demo

* feat: deps 写法

* feat: add filters

* feat: remvoe console

* Update components/table/demo/ajax.tsx

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

---------

Signed-off-by: afc163 <afc163@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-06-20 15:07:32 +08:00
duqigit
b7208603ee
docs: update zh-CN demo ref link (#49501)
Signed-off-by: afc163 <afc163@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-06-20 14:22:00 +08:00
Wanpan
73f7b80388
docs: update zh-CN demo ref link (#49500) 2024-06-20 14:21:08 +08:00
Wanpan
3bdef4f4dc
docs: Alert demo remove Space comp (#49515) 2024-06-20 13:37:17 +08:00
Wanpan
b0bc32c962
docs: Image docs imginfo update (#49517) 2024-06-20 11:32:11 +08:00
github-actions[bot]
3d29c9e2a6
chore: auto merge branches (#49511)
chore: merge master into feature
2024-06-20 02:20:00 +00:00
JT_Lee
7d798e3f34
docs: fix Tooltip link (#49497)
Co-authored-by: chinasoft.jt.li <lijintao056@chinasoftinc.com>
2024-06-19 14:46:16 +08:00
kaisen
8e52d6f793
docs: fix AutoComplete document errors (#49494) 2024-06-19 14:41:34 +08:00
Fuliang
ae3e92b2ee
fix: Add missing translations for Nepali language (ne_NP) (#49492)
* Update ne_NP.ts

Signed-off-by: Fuliang  <141692830+FuliangZhang@users.noreply.github.com>

* Update components/locale/ne_NP.ts

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

* Update components/locale/ne_NP.ts

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

* Update ne_NP.ts

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

---------

Signed-off-by: Fuliang  <141692830+FuliangZhang@users.noreply.github.com>
Signed-off-by: afc163 <afc163@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-06-19 13:20:44 +08:00
afc163
627af0ce89
Revert "fix(Table): fix Table sorter argument of onChange unexpected value (#…" (#49487)
This reverts commit 21224d7b5b.
2024-06-19 11:35:09 +08:00
winches
e9cc7c1ec0
chore(carousel): code optimization (#49484) 2024-06-19 11:11:08 +08:00
afc163
fad1497ef7
fix: RangePicker missing arrow (#49333)
* bump rc-picker

* chore: update snapshot

* chore: update snapshot

* fix: arrow style

* fix: arrow transition style

* Update package.json

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

* Update package.json

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

* Update package.json

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

* Update package.json

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

* fix: rtl style

* Update package.json

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

* fix rtl style

* chore: update snapshot

* fix rtl style

* Update package.json

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

* Update package.json

Co-authored-by: 叶枫 <7971419+crazyair@users.noreply.github.com>
Signed-off-by: afc163 <afc163@gmail.com>

---------

Signed-off-by: afc163 <afc163@gmail.com>
Co-authored-by: 叶枫 <7971419+crazyair@users.noreply.github.com>
2024-06-18 23:59:23 +08:00
🏎️ Imer
f910b5678e
refactor(theme): migrate the genCalc to @ant-design/cssinjs repo and update import path (#49463) 2024-06-18 15:20:23 +08:00
叶枫
ee4aff6cb1
feat: add filterOption demo (#49441) 2024-06-17 10:40:36 +08:00
lijianan
41fba82b39
refactor: code optimization (#49431)
* refactor: refactor InputAddon code

* fix: fix

* fix: fix

* Update components/_util/InputAddon.tsx

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

* fix: fix lint

---------

Signed-off-by: afc163 <afc163@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-06-16 15:44:18 +08:00
Jeongseok Kang
4f3e381797
chore: Function parameter name to camel case (#49435) 2024-06-16 15:16:36 +08:00
希亚的西红柿
3bb1ba33d7
fix: adjust the message content display attribute (#49429)
* fix: adjust the message content display attribute

* chore: remove useless code
2024-06-16 01:38:55 +08:00
lijianan
7769a40c72
refactor: refactor InputNumber code (#49428) 2024-06-15 19:44:35 +08:00
lijianan
9c91bdb9a8
Merge pull request #49425 from ant-design/master
chore: merge master into feature
2024-06-15 16:41:47 +08:00
lijianan
31b2e53755
chore: replace "ant-" with ${defaultPrefixCls} (#49390)
* fix: classname of the Radio & Checkbox would not follow CP

* test: add test case

* test: add test case

* test: update path

* fix: fix

* chore: revert

* chore: revert

* chore: revert

* chore: revert

* chore: revert
2024-06-15 15:41:58 +08:00
lijianan
ecc78e178a
chore: rm useless second param (#49426)
* chore: rm useless param

* Update components/watermark/index.tsx

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

* fix: fix

---------

Signed-off-by: lijianan <574980606@qq.com>
2024-06-15 15:39:01 +08:00
Wanpan
4f1ca4c52b
docs: Select optimization demo (#49410)
* docs: Optimization demo

* test: update snap

* docs: update

* docs: update
2024-06-14 18:03:53 +08:00
二货爱吃白萝卜
9f2fb20358
chore: unique Empty text color (#49408)
* chore: unique color

* test: update snapshot
2024-06-14 11:58:52 +08:00
二货爱吃白萝卜
7389fe8cc4
docs: slider doc (#49398) 2024-06-13 16:27:01 +08:00
zyf
21224d7b5b
fix(Table): fix Table sorter argument of onChange unexpected value (#49289)
* fix(module:table):列属性为动态时,onchange函数sorter值异常问题

* 测试用例补充

* Update components/table/hooks/useSorter.tsx

Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: zyf <81416635+Zyf665@users.noreply.github.com>

* Update Sorter.value.test.tsx

去除当前测试用例中的window.requestAnimationFrame和window.cancelAnimationFrame

Signed-off-by: zyf <81416635+Zyf665@users.noreply.github.com>

* 格式调整

* 格式调整

* 格式调整

* button增加type适配lint规范

---------

Signed-off-by: zyf <81416635+Zyf665@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-06-13 15:16:04 +08:00
Wanpan
329a346473
fix: Collapse expandIcon aria-label adds semantic attribute value (#49395)
* fix: Collapse expandIcon aria-label adds semantic attribute value

* test: update snap

* test: update test case

* test: update snap
2024-06-13 15:14:48 +08:00
Wanpan
c0839ca716
docs: TreeSelect add treeTitleRender props (#49393) 2024-06-13 11:41:43 +08:00
lijianan
0601867703
type: update event string type (#49387) 2024-06-13 09:32:53 +08:00
lijianan
d118e31fe2
type: update useUniqueMemo params type (#49389) 2024-06-13 09:32:28 +08:00
二货爱吃白萝卜
1c7b2d9420
fix: tailwindcss dot processing (#49379) 2024-06-12 20:10:09 +08:00
JiyinShao
a986a89217
fix: Add missing translations for Mongol language (mn_MN) (#49373)
Co-authored-by: Jiyin <jennshao0627@gmail.com>
2024-06-12 18:31:45 +08:00
mansion-sun
37c8db563f
docs: update Select optionRender demo description (#49376) 2024-06-12 18:22:44 +08:00
二货爱吃白萝卜
92d813b543
fix: input-number inputFontSize (#49369)
* fix: input-number inputFontSize

* chore: clean up

* chore: back of demo

* test: update snapshot
2024-06-12 15:55:18 +08:00
gin-lsl
5c42cfaa63
feat: Support affix props in Anchor (#49295)
* feat: Support affix props in Anchor

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

Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: gin-lsl <gin_lsl@outlook.com>

* docs: update doc

---------

Signed-off-by: gin-lsl <gin_lsl@outlook.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-06-12 15:00:56 +08:00
DerianRambo
b29c314b4c
docs: improved grammar on certain documentation pages (#49374)
* button documentation grammar fixes

* english float button documentation changes

* english documentation grammar changes for icons

* english typography documentation grammar changes

* english divider documenation changes

* english layout documentation fixes

* english cascader documentation improvements

* english color-picker documentation changes

* english date-picker documentation changes

* english form documentation changes

* English documentation changes for select

* English documentation changes for slider

* English documentation changes for time-picker

* English documenation changes for transfer
2024-06-12 14:27:15 +08:00
afc163
ca3d4c0e5e
style: fix DatePicker header text align (#49332)
* style: fix DatePicker header text align

* chore: remove unused style

* Update components/date-picker/style/panel.ts

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

---------

Signed-off-by: afc163 <afc163@gmail.com>
2024-06-11 23:47:26 +08:00
afc163
9acbdf4c13
Merge pull request #49348 from ant-design/master
chore: sync master to feature
2024-06-11 23:06:08 +08:00
CodeCompilerConduct
e6fabc80d9
fix: Add missing translations for Malay language (ms_MY) (#49353)
* Add missing translations for Malay language (ms_MY)

Signed-off-by: CodeCompilerConduct <1376397133guoli@gmail.com>

* Add missing translations for Malay language (ms_MY)

Signed-off-by: CodeCompilerConduct <1376397133guoli@gmail.com>

* Update ms_MY.ts, remove PageHeader

Signed-off-by: CodeCompilerConduct <1376397133guoli@gmail.com>

---------

Signed-off-by: CodeCompilerConduct <1376397133guoli@gmail.com>
2024-06-11 19:47:20 +08:00
Amumu
734fe270ac
chore: remove unused i18n key (#49357) 2024-06-11 18:42:50 +08:00
二货爱吃白萝卜
c65627f041
docs: clean up useless demo style (#49349)
* chore: clean up demo

* test: update snapshot
2024-06-11 16:59:23 +08:00
Minko
bcd667068e
fix: notification from useApp should consume App config (#49339)
* feat: notfication use global showProgress, pauseOnHover config

* fix: notification not inherit app config
2024-06-11 14:19:49 +08:00
github-actions[bot]
2ac26ce77a
chore: auto merge branches (#49338)
chore: sync master to feature
2024-06-11 05:44:11 +00:00
Wanpan
50a5bf6681
docs: Carousel add common attribute optimization documents (#49341) 2024-06-11 12:35:14 +08:00
thinkasany
f558a78d5c
feat(qrcode): support click & iconSize configuration (#49240)
* feat(qrcode): support click & iconSize configuration

* fix

fix

use rest

union  React.HTMLAttributes<HTMLElement

fix ImageSettings interface

type fix

add default 40

clear unused

* empty commit

---------

Co-authored-by: afc163 <afc163@gmail.com>
2024-06-10 17:47:45 +08:00
Kazuhiro Kumagai
6ea55a19dc
Remove unnecessary act() calls (#49326)
* refactor(tests): remove unnecessary act() calls

* chore: do npm test -- -u
2024-06-10 10:48:21 +08:00
afc163
539beba6ed
fix: DatePicker/TimePicker placement not working (#49303)
* fix: DatePicker/TimePicker placement not working

* revert demo change
2024-06-08 21:59:21 +08:00
d66ed648a1
deps: bump rc-dialog to 9.5.1 (#49284)
* deps: bump rc-dialog to 9.5.1

* chore: update

* chore(deps): bump rc-image to  7.9.0

* test: update case

* Revert "test: update case"

This reverts commit cdfbdbac1b.

* test: update case

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

* empty

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: zombieJ <zombieJ@users.noreply.github.com>
2024-06-07 16:42:14 +08:00
Wanpan
cbbea271d7
fix: Do not respond to the Enter event when data is loading (#49292) 2024-06-07 10:03:56 +08:00
sabitalizade
aa17f703d2
fix: missed translation in az (#49247)
* Added missed translation for Azerbaijani language

* Added missed translation

* Filled changelog

* Revert "Filled changelog"

This reverts commit 4a36eb688f.

* Filled PR content

* Revert "Filled PR content"

This reverts commit 7108e3ae26.

* Test run for jest snapshot

---------

Co-authored-by: afc163 <afc163@gmail.com>
2024-06-06 17:13:07 +08:00
thinkasany
36d6d3d7f2
type(mentions): export interface MentionsProps (#49281)
* type(mentions): export interface MentionsProps

* type: fix
2024-06-06 17:09:14 +08:00
ab1acc720e
docs(modal): improve (#49277) 2024-06-06 16:03:47 +08:00
thinkasany
c36e7c5a70
demo(mentions): optimize type (#49276) 2024-06-06 15:04:23 +08:00
thinkasany
a29054923a
docs(form): Modify the interface title level (#49273) 2024-06-06 12:27:09 +08:00
afc163
0e99c7c8f1
fix: Pagination select arrow icon missing (#49262) 2024-06-06 10:00:39 +08:00
二货爱吃白萝卜
3673430978
fix: css var should skip zIndex (#49238)
* fix: css var should skip zIndex

* refactor: calc support unitless

* chore: clean up unit: false

* chore: support zIndex clean up

* chore: fix build

* test: add test case
2024-06-05 20:01:19 +08:00
vagusX
5c54566cdc
fix: padding unit for Progress text-inner (#49250)
Co-authored-by: afc163 <afc163@gmail.com>
2024-06-05 19:08:22 +08:00
vagusX
9a34206f53
test: update rc-mentsion snapshot (#49251)
* test: update rc-mentsion snapshot

* Update demo.test.tsx.snap

Signed-off-by: vagusX <vagusxl@gmail.com>

---------

Signed-off-by: vagusX <vagusxl@gmail.com>
2024-06-05 18:04:50 +08:00
zhw
1f9735da0d
docs: optimize mentions doc (#49239)
* docs: optimize mentions doc

* docs: fix error grammar
2024-06-05 13:38:03 +08:00
thinkasany
1db28bf0af
docs: delete duplicates and add missing en (#49244) 2024-06-05 13:37:26 +08:00
thinkasany
87ed3a4298
docs(qrcode): fix iconSize default value error (#49243) 2024-06-05 11:27:45 +08:00
e7d7a0b3cd
chore(TS): add comments to TS type methods (#49224) 2024-06-04 21:00:20 +08:00
二货爱吃白萝卜
145aa3f68d
fix: Safari ellipsis (#49221)
* fix: Safari ellipsis

* test: update snapshot
2024-06-04 19:14:12 +08:00
thinkasany
cc29902bb5
type(Statistic): remove duplicate union types (#49218) 2024-06-04 18:43:38 +08:00
thinkasany
325cc3fed4
docs(steps): fix internal lowercase (#49216) 2024-06-04 18:43:10 +08:00
ice
ecac347472
refactor(space): add default value & valid zero (#49192)
* refactor(space): add default value & valid zero

* refactor: reset default val

* test: add test case
2024-06-04 17:56:54 +08:00
二货爱吃白萝卜
f1c7bb2052
fix: drawer dark theme color (#49217) 2024-06-04 16:38:15 +08:00
Wanpan
d0fd9935c6
fix: Fix Spin missing default font size when customizing icons (#49211)
* fix: Fix Spin missing default font size when customizing icons

* chore: adjust style

* test: add test case

---------

Co-authored-by: 二货机器人 <smith3816@gmail.com>
2024-06-04 15:12:59 +08:00
thinkasany
538cbdee4c
docs(select): add showArrowPaddingInlineEnd token description (#49212) 2024-06-04 11:35:59 +08:00
叶枫
41079e59b9
docs: move form layout prop to correct position (#49210)
* fix: form layout doc

* fix: form layout doc
2024-06-04 11:16:43 +08:00
希亚的西红柿
053dfcc8b0
fix: fix the ellipsis bug for pre element (#49168)
* fix: fix the ellipsis bug for pre element

* fix: remove the white-space property

* test: update snapshot

* chore: clean up

* test: update snapshot

* test: update snapshot

---------

Co-authored-by: 二货机器人 <smith3816@gmail.com>
2024-06-04 10:53:34 +08:00
kaoding
1fc2461094
docs: Drawer version error (#49208)
* Update index.zh-CN.md

* Update index.en-US.md
2024-06-04 10:28:28 +08:00
thinkasany
5b34be186c
docs(cascader): modify default value of placeholder (#49193) 2024-06-04 10:26:49 +08:00
叶枫
e02f74233b
fix: form layout doc (#49206) 2024-06-04 09:57:52 +08:00
13348316f8
docs: typo (#49190)
Signed-off-by: 红 <wxh1220@gmail.com>
2024-06-03 14:49:57 +08:00
github-actions[bot]
9e367246d5
chore: auto merge branches (#49189)
chore: merge feature into master
2024-06-03 04:09:04 +00:00
thinkasany
403c9c05fe
docs(Modal): add closable description (#49188)
* docs(Modal): add closable description

* fix
2024-06-03 11:30:31 +08:00
二货爱吃白萝卜
0352b2fd2e
feat: Spin support percent (#48657)
* feat: spin support ptg

* chore: ptg

* chore: update demo

* chore: popout component

* chore: adjust logic

* test: update snapshot

* test: update snapshot

* docs: update docs

* test: update snapshot

* test: update snapshot

* test: update snapshot

* chore: back of snapshot

* chore: clean up

* test: fix test case

* chore: fix types

* test: update snapshot

* chore: opt

* test: update testcase

* test: coverage

* test: update snapshot
2024-06-03 11:30:27 +08:00
Wanpan
f3000ed746
feat: list.item support styles & classNames (#49154)
* feat: list.item support styles

* feat: update

* feat: update

* feat: optimized code

* feat: adding classNames

* feat: supprt ConfigProvider styles classNames

* Update components/list/Item.tsx

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

* chore: update type

---------

Signed-off-by: Wanpan <wanpan96@163.com>
Co-authored-by: lijianan <574980606@qq.com>
2024-06-03 11:24:39 +08:00
栗嘉男
e642d5ea4a chore: merge master into feature 2024-06-02 21:48:48 +08:00
ice
c321647fe8
refactor(floatButton): provider exist shape (#49162) 2024-06-01 20:40:48 +08:00
ice
5d040439b4
refactor(divider): remove unnecessary judgments (#49169) 2024-06-01 16:37:13 +08:00
Wanpan
8875ca7043
feat: Avatar.Group adding max props (#49131)
* feat: Avatar.Group adding max props

* feat: update

* feat: update

* feat: update test case

* feat: update docs

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

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

* feat: update docs

* feat: update

* feat: update snap

* feat: delete default value

---------

Signed-off-by: Wanpan <wanpan96@163.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-06-01 14:44:53 +08:00
huyikai
ea1927cf5b
fix(local): add miss ja_JP (#49155)
Signed-off-by: huyikai <hyk_tiger@foxmail.com>
2024-06-01 11:42:47 +08:00
叶枫
ab7ac623cb
docs: 5.18 (#49159) 2024-05-31 17:20:12 +08:00
ice
664f3e6b2e
refactor(button): change bool type (#49156) 2024-05-31 15:19:25 +08:00
叶枫
2119e2d560
feat: Form.Item support layout 3 (#49152)
* feat: Form.Item support layout 3

* feat: test

* feat: antCls

* feat: CSSObject
2024-05-31 14:46:22 +08:00
afc163
38050d6ada
Merge pull request #49145 from ant-design/master
chore: feature merge master
2024-05-31 12:20:03 +08:00
叶枫
5932005ce4
Form.Item support layout (#49119)
* feat: FormItem support layout

* feat: doc

* feat: test

* feat: test

* feat: test

* feat: test

* feat: itemPrefixCls
2024-05-31 10:50:47 +08:00
LemonTency
9d134859be
docs: Update AutoComplete index.zh-CN.md (#49139)
* Update index.zh-CN.md

Signed-off-by: LemonTency <120943952@qq.com>

* Update index.zh-CN.md

Signed-off-by: LemonTency <120943952@qq.com>

---------

Signed-off-by: LemonTency <120943952@qq.com>
2024-05-31 10:15:18 +08:00
ice
e0786bac27
type: remove unnecessary types (#49146) 2024-05-31 10:14:37 +08:00
e244a0b816
feat: Rate support keyboard prop (#49132)
* feat: rate add support for disable keyboard events

* chore: bump rc-rate@2.13.0

* chore: update
2024-05-31 10:10:48 +08:00
小邓
a59081ea55
fix: Anchor - The replace attribute causes no scrolling animation (#49136)
Co-authored-by: dengxia <dengxia@tanqingsk.com>
2024-05-30 20:49:30 +08:00
叶枫
a6bfb84993
feat: Drawer support drawerRender (#49125)
* feat: Drawer support drawerRender

* feat: add test
2024-05-30 20:45:47 +08:00
二货爱吃白萝卜
b4a98273fb
refactor: Watermark add overflow hidden style to avoid visible show (#49130)
* refactor: add overflow style

* test: add test case
2024-05-30 19:53:02 +08:00
二货爱吃白萝卜
20fa082785
test: Update test of demo (#49140)
* chore: rollback ci

* test: one day
2024-05-30 19:49:07 +08:00
github-actions[bot]
d4c5cb66de
chore: auto merge branches (#49137)
chore: feature merge master
2024-05-30 10:45:03 +00:00
afc163
3464fafe15
fix: Tour onClose wrong current argument (#49124)
* fix: Tour onClose wrong current argument

* test: add test case

* Update components/tour/panelRender.tsx

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

---------

Signed-off-by: afc163 <afc163@gmail.com>
2024-05-30 18:07:39 +08:00
JeevaRamanathan
02cfbf1baa
docs: Updated typo of selected (#49104)
Signed-off-by: JeevaRamanathan <64531160+JeevaRamanathan@users.noreply.github.com>
2024-05-29 12:19:07 +08:00
叶枫
54286673de
docs: add getValueProps demo (#49072)
* docs: add getValueProps demo

* feat: normalize

* feat: normalize

* feat: name

* feat: name

* feat: doc

* feat: date

* feat: tz

* feat: tz
2024-05-28 22:54:54 +08:00
叶枫
74492676f7
fix: fix Checkbox.Group type (#49073)
* fix: fix Checkbox.Group type

* fix: fix Checkbox.Group type

* fix: fix Checkbox.Group type

* fix: remove type

* fix: any
2024-05-27 15:06:38 +08:00
Eden Wang
1a250cef7e
feat(notification): support pauseOnHover props (#49024) 2024-05-27 13:35:37 +08:00
栗嘉男
fa0c473afd chore: merge master into feature 2024-05-26 11:56:58 +08:00
Wanpan
2e011a379d
fix modal.confirm unable to close normally when onCancel and onOk return true (#49054)
* fix: fix modal.confirm unable to close normally when onCancel and onOk return true

* test: update test case
2024-05-24 13:53:57 +08:00
afc163
9db0fc7440
type: fix Modal styles typing (#49055) 2024-05-24 13:49:45 +08:00
Wanpan
86abdb9918
docs: update Tree docs (#49051)
* docs: update Tree docs

* docs: update

* docs: update

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

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

* docs: update

---------

Signed-off-by: Wanpan <wanpan96@163.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-05-24 12:04:34 +08:00
Arvin Xu
072afcd79f
type: Enhance Spin component TypeScript definitions and documentation (#49036) 2024-05-23 17:02:39 +08:00
afc163
b3fa2625f1
docs: update Select/TreeSelect types in documentation (#49020)
* docs: update Select/TreeSelect types in documentation

* Apply suggestions from code review

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

* Apply suggestions from code review

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

---------

Signed-off-by: afc163 <afc163@gmail.com>
2024-05-23 11:52:34 +08:00
Amumu
3dca74a539
fix: fix react dom recognize warning (#49031) 2024-05-23 10:24:14 +08:00
afc163
425f4d0397
refactor: refactor Input code (#49019) 2024-05-22 19:30:07 +08:00
Tom Xu
fe0f6920a7
docs: icon custom use vite (#48937)
* docs: icon custom use vite

* fix
2024-05-22 13:10:22 +08:00
github-actions[bot]
95ba19f9d0
chore: auto merge branches (#48984)
chore: feature merge master
2024-05-21 08:16:54 +00:00
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