Commit Graph

17986 Commits

Author SHA1 Message Date
🏎️ Yumo
3ec77d32b0 refactor(theme): migrate and refactor type GenStyleFn by @ant-design/cssinjs-utils 2024-07-23 17:15:39 +08:00
🏎️ Yumo
a3cba98064 refactor(theme): migrate and refactor type GetDefaultToken by @ant-design/cssinjs-utils 2024-07-23 17:09:22 +08:00
🏎️ Yumo
00660bc7e9 refactor(theme): migrate and refactor type OverrideComponent by @ant-design/cssinjs-utils 2024-07-23 17:06:15 +08:00
🏎️ Yumo
1c6c625ba3 refactor(theme): migrate and refactor type FullToken by @ant-design/cssinjs-utils 2024-07-23 17:01:58 +08:00
🏎️ Yumo
c057cb2113 refactor(theme): migrate and refactor type OverrideToken by @ant-design/cssinjs-utils 2024-07-23 16:53:24 +08:00
🏎️ Yumo
64f26bd970 refactor(theme): migrate and refactor type GlobalToken by @ant-design/cssinjs-utils 2024-07-23 16:45:02 +08:00
afc163
43dca4875d
demo: refactor form login demo (#50010)
* demo: refactor form login demo

* demo: refactor form login demo

* remove site-form-item-icon
2024-07-22 20:45:30 +08:00
afc163
1fce22a534
docs: fix Tabs moreProps link (#49986)
* docs: fix Tabs moreprops link

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

* Update index.en-US.md

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

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

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

---------

Signed-off-by: afc163 <afc163@gmail.com>
2024-07-20 16:32:47 +08:00
lijianan
2584ce6d50
chore: replace "ant" with defaultPrefixCls (#49985)
* chore: replace ant with defaultPrefixCls

* chore: fix lint
2024-07-20 14:17:11 +08:00
thinkasany
ad4e522724
docs: supplement type for classnames and styles (#49984)
* docs(modal): supplement type for classnames and styles

* fix
2024-07-20 09:19:05 +08:00
空谷
2efbdbfe25
fix(Descriptions): style bordered table overflow (#49946)
Co-authored-by: lidong01 <lidong01@corp.netease.com>
2024-07-20 09:00:48 +08:00
f0bc8b5021
chore(color-picker): improve TS type (#49949)
* chore(color-picker): improve TS type

* Update components/color-picker/index.en-US.md

Co-authored-by: thinkasany <480968828@qq.com>
Signed-off-by: 红 <wxh16144@qq.com>

---------

Signed-off-by: 红 <wxh16144@qq.com>
Co-authored-by: thinkasany <480968828@qq.com>
2024-07-19 11:04:46 +08:00
Ahmed Samir
ef6767d6f2
fix: missed translation in ar (#49852)
* fix: missed translation in ar

* feat(i18n): add changelog

* fix: missed translation in ar

* fix: rebase master

* fix: remove changelog

* Update CHANGELOG.en-US.md

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

* Update ar_EG.ts

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

* Update index.test.tsx.snap

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

---------

Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: lijianan <574980606@qq.com>
2024-07-19 06:28:53 +08:00
zyf
ebc3a999bd
fix(table):sorter value exception (#49533)
* 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规范

* 重新调整过滤条件,修复sorter值异常问题

* 去除无用参数

* 格式修改

* Update components/table/__tests__/Sorter.value.test.tsx

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

* 去除无用注释,代码优化

* 去除无用注释,代码优化

---------

Signed-off-by: zyf <81416635+Zyf665@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-07-18 21:38:17 +08:00
叶枫
290d10c8a2
docs: fix Description colon (#49940) 2024-07-18 18:32:22 +08:00
afc163
ad70505a10
fix: Pagination token.itemBg not working (#49933) 2024-07-18 10:56:57 +08:00
ice
abca9a8baf
fix(list): pagination's default alignment is at the end (#49925) 2024-07-17 19:01:15 +08:00
Wanpan
66c4004155
fix(image): preview-footer element width adaptive (#49915) 2024-07-17 10:56:30 +08:00
afc163
acf73c9af8
fix: Dropdown menu item get wrapped at edge (#49899) 2024-07-17 04:13:18 +08:00
ice
ca66d5c592
docs(breadcrumb): add with params demo (#49902)
* docs(breadcrumb): add with params demo

* test: add snap
2024-07-16 22:13:14 +08:00
ice
d0389931a3
fix(Card): The cover ele support borderRadius (#49862) 2024-07-16 22:12:52 +08:00
叶枫
88c629e4e9
fix: descriptions buttom right padding style (#49895)
* fix: descriptions buttom right padding style

* feat: demo

* feat: demo

* feat: test

* feat: style

* feat: paddingInlineEnd

* feat: test

* feat: remove long demo

* feat: add demo

* feat: add demo

* feat: add demo
2024-07-16 16:12:56 +08:00
ice
f1699d3788
docs: dead anchor (#49897) 2024-07-16 13:51:45 +08:00
lijianan
a9d3939136
chore: code optimization (#49894) 2024-07-16 10:06:43 +08:00
二货爱吃白萝卜
97fca5b050
fix: Spin ptg style (#49876) 2024-07-15 14:50:43 +08:00
ice
513a8babb8
docs: dead anchor (#49877) 2024-07-15 14:40:33 +08:00
lijianan
fe3378f644
type: code optimization (#49864)
* type: code optimization

* fix: fix
2024-07-15 09:21:54 +08:00
Neeraj Pal
57d2cd4087
fix: Add missing translations for Kannada language (kn_IN) (#49860)
* feat: add missing kn_IN translations

* chore: update kn_IN translations snapshots
2024-07-14 21:38:45 +08:00
柚子
d540893dd0
type: remove type assertions (#49859)
* typo fix

Signed-off-by: 柚子 <69612382+Yuzu-io@users.noreply.github.com>

* typo fix

Signed-off-by: 柚子 <69612382+Yuzu-io@users.noreply.github.com>

* type: Remove type assertions

* fix: Correct CSS property order and media feature notation

---------

Signed-off-by: 柚子 <69612382+Yuzu-io@users.noreply.github.com>
2024-07-14 18:31:13 +08:00
Cody Chan
53b6688b41
fix: fix list.item actions empty (#49842)
* fix: fix list.item actions empty

Signed-off-by: Cody Chan <int64ago@gmail.com>

* Update components/list/Item.tsx

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

* Apply suggestions from code review

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

---------

Signed-off-by: Cody Chan <int64ago@gmail.com>
Signed-off-by: afc163 <afc163@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-07-12 17:04:08 +08:00
lijianan
d063f562eb
Revert "type: improve tree component assert" (#49835)
* Revert "type: improve tree component assert (#49784)"

This reverts commit 5f09772967.

* fix: fix
2024-07-12 10:18:17 +08:00
afc163
e97a27d384
type: fix Tree icon and switcherIcon type (#49821) 2024-07-12 10:13:27 +08:00
lijianan
8a090c951c
Revert "type(token): height / width support string | number" (#49836)
This reverts commit e4c31231ee.
2024-07-12 10:12:56 +08:00
lijianan
a96cc5d47e
refactor: use defaultPrefixCls instead ant (#49818) 2024-07-11 14:21:05 +08:00
ice
6b9df6b461
docs(button): delete useless introductions (#49820)
* docs(button): delete useless introductions

* docs: remove space
2024-07-11 11:52:12 +08:00
lijianan
a55195f25b
demo: update Popover & Tooltip & Popconfirm demo (#49815)
* demo: update demo

* fix: fix

* fix: fix

* fix: fix
2024-07-11 10:03:12 +08:00
lijianan
34a2058e85
type: rm duplicate boolean type (#49816) 2024-07-11 10:02:24 +08:00
xiaoluohao
8c39b644ec
demo: demo update for reduce global variable (#49781)
* reduce global variable dependencies

* Update toolbarRender.tsx

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

---------

Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: lijianan <574980606@qq.com>
2024-07-11 04:59:22 +08:00
thinkasany
e4c31231ee
type(token): height / width support string | number (#49810)
* type(token): height / width support string | number

* rever
2024-07-10 23:15:06 +08:00
thinkasany
3f9e711d3b
type(demo): improve type by GetProps util (#49805)
* type(demo): improve type by GetProps util

* fix lint
2024-07-10 18:28:11 +08:00
ice
f24340d65f
fix(descriptions): text overflow (#49803) 2024-07-10 16:36:14 +08:00
thinkasany
4c18036774
type(formItemLabel): remove unnecessary assert (#49797)
* type(formItemLabel): remove unnecessary assert

* Update components/form/FormItemLabel.tsx

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

---------

Signed-off-by: thinkasany <480968828@qq.com>
Co-authored-by: lijianan <574980606@qq.com>
2024-07-10 11:56:27 +08:00
thinkasany
80a71b14f4
demo(table): use TableColumnsType instead of ColumnsType] (#49787) 2024-07-09 17:35:10 +08:00
afc163
ce1721b169
demo: improve button gradient demo (#49786)
* demo: improve button gradient demo

* demo: improve button gradient demo
2024-07-09 17:27:16 +08:00
love-life
512fa21125
fix: table expandable descriptions auto style (#49727)
* fix: table expandable descriptions auto style

* feat: width edit
2024-07-09 16:28:58 +08:00
thinkasany
5f09772967
type: improve tree component assert (#49784) 2024-07-09 16:26:35 +08:00
thinkasany
17ad651752
type(layout-token): headerHeight token support string type (#49780) 2024-07-09 12:23:00 +08:00
thinkasany
ca32dd5661
chore(style): backticks to single quotes (#49777) 2024-07-09 10:50:32 +08:00
lijianan
680e7e9bb9
demo: update Transfer demo (#49771) 2024-07-08 22:58:55 +08:00
thinkasany
05a0179616
demo(AutoComplete): opt options type by AutoCompleteProps (#49768)
* demo(AutoComplete): opt options type by AutoCompleteProps

* lint fix
2024-07-08 16:01:02 +08:00