Rin
9f733993f1
docs: replace the deprecated dropdownMatchSelectWidth ( #50027 )
...
* docs: replace the deprecated dropdownMatchSelectWidth
* docs: replace dropdownMatchSelectWidth in config-provider
* revert config-provider
* test: update snapshot
* test: update snapshot and revert config-provider test
2024-07-24 15:16:35 +08:00
🏎️ Yumo
b71752ffb0
Merge branch 'master' into refactor/cssinjs-utils
2024-07-24 12:44:44 +08:00
🏎️ Yumo
edb1b38fb3
refactor: add getCompUnitless for genStyleUtils
2024-07-24 11:28:17 +08:00
vagusX
38cf5e8a75
docs: unify component export file as index.tsx ( #50013 )
...
* docs: unify component export file as index.tsx
* docs: compatible with old anchors
* chore: clean
* test: update snapshot
* fix: window env
---------
Co-authored-by: Peach <scdzwyxst@gmail.com>
2024-07-23 22:22:24 +08:00
Vasilii A
f6e9f8540c
docs: Update components/notification/index.*.md ( #50035 )
...
Signed-off-by: Vasilii A <3757319+vsn4ik@users.noreply.github.com>
2024-07-23 20:15:15 +08:00
🏎️ Yumo
98b17f8761
fix: type error when use @ant-design/cssinjs-utils@1.0.2
2024-07-23 19:27:06 +08:00
🏎️ Yumo
14b1f56435
chore: delete unuse file and test
2024-07-23 19:24:33 +08:00
🏎️ Yumo
c5c58d7662
refactor(theme): migrate and refactor genStyleHooks
genComponentStyleHook
genSubStyleComponent
.
...
[RFC](https://github.com/ant-design/ant-design/discussions/49748 )
2024-07-23 18:55:48 +08:00
🏎️ Yumo
b3ddb0e498
fix(theme): DerivativeToken
to AliasToken
2024-07-23 17:54:26 +08:00
🏎️ Yumo
5019af42b5
refactor(theme): migrate and refactor type TokenWithCommonCls
by @ant-design/cssinjs-utils
2024-07-23 17:49:35 +08:00
🏎️ Yumo
965b68cfea
refactor(theme): migrate and refactor statistic.ts
by @ant-design/cssinjs-utils
2024-07-23 17:40:45 +08:00
Mikola
55cfeef56f
docs: Update link to english Mozilla Docs in Table index.en-US.md ( #50029 )
...
Signed-off-by: Mikola <34740585+ptaberg@users.noreply.github.com>
2024-07-23 17:28:23 +08:00
🏎️ Yumo
35a0297f94
refactor(theme): migrate and refactor mergeToken
by @ant-design/cssinjs-utils
2024-07-23 17:28:13 +08:00
🏎️ Yumo
adbda3d846
refactor(theme): migrate and refactor genCalc
by @ant-design/cssinjs-utils
2024-07-23 17:25:18 +08:00
🏎️ Yumo
9e8a550218
refactor(theme): migrate and refactor type CSSUtil
by @ant-design/cssinjs-utils
2024-07-23 17:23:43 +08:00
🏎️ 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
Wanpan
8a0fc4c22e
Revert "fix: Form.Item input-content no horizontal alignment ( #49635 )" ( #50020 )
...
This reverts commit 5b184d4709
.
2024-07-23 17:02:45 +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
ice
5a9a2d95ec
feat(tree): add switcherLoadingIcon prop ( #49716 )
...
* feat(tree): add switcherLoadingIcon prop
* refactor: lint
* Update components/tree/index.en-US.md
add version desc
Co-authored-by: lijianan <574980606@qq.com>
Signed-off-by: ice <49827327+coding-ice@users.noreply.github.com>
* docs: add version desc
---------
Signed-off-by: ice <49827327+coding-ice@users.noreply.github.com>
Co-authored-by: lijianan <574980606@qq.com>
2024-07-22 19:49:29 +08:00
github-actions[bot]
0681d6c7a2
chore: auto merge branches ( #50005 )
...
chore: merge master into feature
2024-07-22 08:39:11 +00:00
二货爱吃白萝卜
8c3090938f
feat: Slider range.editable support minCount
& maxCount
( #49987 )
...
* docs: update docs
* docs: update demo
2024-07-20 17:51:26 +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
栗嘉男
7e74c4fa64
chore: merge master into feature
2024-07-19 20:53:26 +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
lijianan
a134dbb07c
feat: Input
、TextArea
、Mentions
support onClear prop ( #49905 )
...
* feat: Input support onClear
* chore: lint
* chore: lint
* Update package.json
Signed-off-by: lijianan <574980606@qq.com>
* docs: update docs
* fix: fix
* Update package.json
Signed-off-by: lijianan <574980606@qq.com>
* Update package.json
Signed-off-by: lijianan <574980606@qq.com>
* chore: fix
* chore: fix
* chore: fix
* feat: test
* feat: 1.6.2
---------
Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: 叶枫 <645381995@qq.com>
2024-07-19 10:10:48 +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
二货爱吃白萝卜
21194da96a
feat: Slider support editable ( #49923 )
...
* feat: Slider support editable
* test: update snapshot
* test: update snapshot
* docs: update docs
* chore: fix lint
* test: update snapshot
* test: coverage
2024-07-18 19:19:02 +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
github-actions[bot]
105bd19614
chore: auto merge branches ( #49893 )
...
chore: merge master into feature
2024-07-15 22:24:34 +00:00
二货爱吃白萝卜
5dd072d3a0
refactor: Use @ant-design/fast-color
instead ( #49846 )
...
* chore: use fast
* chore: tmp of it
* test: update snapshot
* fix: demo
* chore: fix warning
* fix: test
* chore: fix ts
* chore: fix lint
* test: update snapshot
* chore: use proxy
* test: coverage
2024-07-15 17:33:47 +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
thinkasany
da1d8df417
type: support string | number ( #49810 ) ( #49855 )
...
* type(token): height / width support string | number
* rever
2024-07-14 00:36:43 +08:00
github-actions[bot]
d9f70d738c
chore: auto merge branches ( #49850 )
...
chore: merge master into feature
2024-07-12 20:48:10 +00: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
kiner-tang
3851af9607
feat: support custom status render in qrcode ( #49563 )
...
* feat: support custom status render in qrcode
* feat: support custom status render in qrcode
* feat: add test case
* fix: code review
* fix: code review
* fix: code review
* fix: code review
* feat: optimize code
* feat: optimize code
* Update components/qr-code/index.zh-CN.md
Co-authored-by: lijianan <574980606@qq.com>
Signed-off-by: kiner-tang <1127031143@qq.com>
* Update components/qr-code/index.en-US.md
Co-authored-by: lijianan <574980606@qq.com>
Signed-off-by: kiner-tang <1127031143@qq.com>
* feat: opt code
Signed-off-by: kiner-tang <1127031143@qq.com>
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* Update components/qr-code/index.en-US.md
Signed-off-by: kiner-tang <1127031143@qq.com>
* Update components/qr-code/index.zh-CN.md
Signed-off-by: kiner-tang <1127031143@qq.com>
---------
Signed-off-by: kiner-tang <1127031143@qq.com>
Co-authored-by: lijianan <574980606@qq.com>
2024-07-12 10:49:47 +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
github-actions[bot]
3dcf2cbc58
chore: auto merge branches ( #49834 )
...
chore: merge master into feature
2024-07-11 22:07:47 +00: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
ice
10e46c107e
feat(input-number): add suffix prop & change controls animation ( #49674 )
...
* feat: add suffix prop & change controls animation
* feat: add opacity
* refactor: calc
* refactor: change file
* test: change text
---------
Co-authored-by: afc163 <afc163@gmail.com>
2024-07-10 14:43:39 +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
github-actions[bot]
09e6ed7278
chore: auto merge branches ( #49774 )
...
chore: merge master into feature
2024-07-08 19:23:57 +00: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
Avan
eef48c87c2
fix: spin lg progress center ( #49763 )
...
* style: dot-progress repeated
* style: due to the large height caused by the lg, it affects the non-centered display position of the dot-progress
---------
Co-authored-by: lijianan <574980606@qq.com>
2024-07-08 10:18:05 +08:00
chenglong
282e02705e
docs: update react doc link about keys ( #49766 )
...
* doc: react doc link
Signed-off-by: chenglong <chenglong9604@outlook.com>
* Update index.zh-CN.md
Signed-off-by: chenglong <chenglong9604@outlook.com>
---------
Signed-off-by: chenglong <chenglong9604@outlook.com>
2024-07-08 10:03:22 +08:00
lijianan
d9f052d5cd
demo: rm padding of overlayInnerStyle ( #49761 )
...
* demo: rm overlayInnerStyle
* demo: rm overlayInnerStyle
2024-07-08 09:59:34 +08:00
Avan
2a5665616d
style: rm dot-progress repeated ( #49762 )
2024-07-08 06:22:51 +08:00
lijianan
6b2b49c1dc
demo: update Spin demo ( #49753 )
2024-07-07 17:44:21 +08:00
lijianan
117dcd3395
demo: update Table demo ( #49756 )
2024-07-07 17:42:52 +08:00
Wanpan
3c525cd3b9
docs: optimize Modal static method operation description ( #49752 )
...
* docs: Optimize Modal static method operation description
* docs: update
2024-07-07 01:54:37 +08:00
github-actions[bot]
8dbb97ee28
chore: auto merge branches ( #49749 )
...
merge master to feature
2024-07-06 13:35:36 +00:00
Lim Yang Zhi
f94c23fdd2
Revert CascaderProps changes !49669 ( #49741 )
...
* Revert "fix: CascaderProps Multiple boolean type issue"
This reverts commit 91199fefc3
.
* Revert "fix: eslint type issue"
This reverts commit 03146a9d69
.
* Update index.tsx
Signed-off-by: 叶枫 <7971419+crazyair@users.noreply.github.com>
* test: update type test for cascader props
* feat: add panel
* feat: type
---------
Signed-off-by: 叶枫 <7971419+crazyair@users.noreply.github.com>
Co-authored-by: 叶枫 <7971419+crazyair@users.noreply.github.com>
Co-authored-by: 叶枫 <645381995@qq.com>
2024-07-06 14:23:15 +08:00
Yunus EŞ
8af7080fda
demo: card demo update ( #49697 )
...
* Update loading.tsx
Space component applied for the gaps.
Signed-off-by: Yunus EŞ <yunus@yunuses.com>
* demo: demo update
---------
Signed-off-by: Yunus EŞ <yunus@yunuses.com>
Co-authored-by: 栗嘉男 <574980606@qq.com>
2024-07-06 03:40:20 +08:00
Guo Yunhe
985705e1c2
fix(theme): use pre-compiled color presets to improve runtime performance ( #49714 )
2024-07-04 17:25:40 +08:00
二货爱吃白萝卜
6570a541d9
chore: warning instead of block ( #49720 )
...
* chore: warning instead of block
* docs: back of demo
2024-07-04 15:44:32 +08:00
Wanpan
7df8ddb38a
fix: Unified clear-icon positioning ( #49718 )
2024-07-04 15:25:09 +08:00
红
dd9070998a
docs(Table): add custom empty status demo ( #49691 )
...
* chore: fix typo
ref: https://github.com/ant-design/ant-design/issues/49690
* chore: add demo
* chore: update snapshots
* chore: update
2024-07-03 22:54:21 +08:00
Wanpan
bc8dd2d36d
fix: Input variant filled activeBorderColor token invalid ( #49699 )
2024-07-03 11:49:23 +08:00
Lim Yang Zhi
3a1a2177b1
fix: CascaderProps Multiple boolean type issue ( #49669 )
...
* fix: CascaderProps Multiple boolean type issue
* fix: eslint type issue
* Update index.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update type.test.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update type.test.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update index.tsx
Signed-off-by: lijianan <574980606@qq.com>
---------
Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: lijianan <574980606@qq.com>
2024-07-03 10:15:40 +08:00
zhw
b1c2c1d72e
docs: fix typo ( #49693 )
2024-07-03 00:42:29 +08:00
Alperen Kılıç
895511e79d
docs: Icon button English document typo fixed ( #49684 )
2024-07-02 19:50:48 +08:00
Pinaki Raj
218e1cea3d
feat: adding variant props to divider ( #49654 )
...
The divider border style can be either solid, dashed or
dotted based on the variant props. The default value is
solid.
Signed-off-by: Pinaki Raj <pinakiraj15@gmail.com>
2024-07-01 23:17:48 +08:00
二货爱吃白萝卜
04d3ed277e
fix: Typography ellipsis not working when parent has nowrap
style ( #49667 )
...
* fix: ellispis logic
* test: update snapshot
* test: update snapshot
* test: coverage
2024-07-01 17:53:59 +08:00