Commit Graph

18309 Commits

Author SHA1 Message Date
Jerryxin
a89bd934d7
site: fix image width issue in markdown (#50399)
Co-authored-by: afc163 <afc163@gmail.com>
2024-08-14 22:52:13 +08:00
ice
97aa299529
docs: add align version (#50418) 2024-08-14 18:59:11 +08:00
thinkasany
7005212e15
docs(list): add semantic dom (#50413) 2024-08-14 17:34:53 +08:00
二货爱吃白萝卜
3b9a1b1123
docs: update form escape (#50412) 2024-08-14 13:47:49 +08:00
github-actions[bot]
ae516f700f
chore: auto merge branches (#50409)
chore: merge master into feature
2024-08-14 01:58:32 +00:00
lijianan
aa60e53d4c
fix: fix incorrect border-radius of trigger (#50408) 2024-08-14 09:17:56 +08:00
github-actions[bot]
63720299d4
chore: auto merge branches (#50403)
chore: merge master into feature
2024-08-13 19:03:30 +00:00
cnjs
533d621950
docs(form): update link (#50401) 2024-08-13 20:47:49 +08:00
Arvin Xu
51d6a9bf38
chore: Add comments to Token related interfaces (#50392) 2024-08-13 18:18:59 +08:00
thinkasany
b3c01de9bc
docs(card): remove unuesd gaps (#50393) 2024-08-13 18:17:38 +08:00
thinkasany
b34d20860c
docs(card): use card semantic-dom instead of table (#50390)
Co-authored-by: codefactor-io <support@codefactor.io>
2024-08-13 15:59:36 +08:00
Arvin Xu
700e0aeebe
chore: Add comments to token interfaces (#50386) 2024-08-13 13:31:10 +08:00
叶枫
7d66a8e5cf
type: revert Table generic with any (#50372)
* fix: table generic default any

* feat: = AnyObject
2024-08-13 10:34:52 +08:00
afc163
7bd9d54a62
fix: Select arrow disappearing when hovering it (#50382) 2024-08-12 22:41:23 +08:00
e188445b22
fix(popover): arrow. pointAtCenter misalignment error (#50260)
* fix(popover): 'arrow. pointAtCenter' misalignment error

* chore: add debug demo

* chore: update snaphots

* chore: update

* chore: Reverse components/popover/demo/basic.tsx

* chore: update snaphots

* chore: skip debug demo test

* chore: update demo

* chore: update snapshot

* chore: skip debug demo test

ref: https://github.com/ant-design/ant-design/pull/50260#discussion_r1708926635
2024-08-12 11:56:29 +08:00
栗嘉男
ec20d455a3 chore: merge master into feature 2024-08-11 17:30:20 +08:00
lijianan
5aa5c3d591
fix(Table): set z-index unit to false (#50357) 2024-08-11 16:18:49 +08:00
lijianan
429cf1b3b2
refactoring: rewrite renderCircle with React Component (#50358) 2024-08-11 16:18:29 +08:00
lijianan
dab9ab69d0
fix(Table): style value should support CSS var (#50355)
* fix(Table): zIndex value should support CSS var

* fix: fix
2024-08-11 15:05:47 +08:00
lijianan
857ee24e38
type(Table): TypeScript improvement (#50351)
* type: Table TypeScript improvement

* type: Table TypeScript improvement

* type: Table TypeScript improvement

* fix: fix demo

* fix: fix demo

* fix: fix type

* fix: fix type

* fix: fix type

* fix: fix type
2024-08-11 10:58:13 +08:00
柚子
f05c3809d5
style: modify z-index value to css token (#50349)
* 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

* style: Modify the component style zIndex value to a variable

---------

Signed-off-by: 柚子 <69612382+Yuzu-io@users.noreply.github.com>
2024-08-10 19:49:42 +08:00
github-actions[bot]
a87d532fff
chore: auto merge branches (#50341)
chore: merge master into feature
2024-08-09 14:53:43 +00:00
lijianan
4c2a2b0c0d
feat: FloatButton support dynamic z-index (#50311)
* feat: FloatBtn support dynamic z-index

* feat: FloatBtn support dynamic z-index

* test: fix test case

* fix: fix

* test: add test case

* test: fix test case

* chore: clear
2024-08-09 22:22:45 +08:00
Googleplex
33b4be4851
docs(AutoComplete): add missing options in en-US document (#50340)
Signed-off-by: Googleplex <yyoung2001@gmail.com>
2024-08-09 21:21:43 +08:00
afc163
c9fab94fd3
demo: improve typography copyable demo (#50336) 2024-08-09 19:21:26 +08:00
thinkasany
2fba70d33f
docs(modal): use Record<SemanticDOM> instead of classnames/styles type (#50330) 2024-08-09 17:04:34 +08:00
thinkasany
7085ab39d0
type: ts definition improvement (#50324)
* type: improve type assert

* type: improve type assert

* chore: modify the path
2024-08-09 12:58:01 +08:00
lijianan
96a06943a5
demo: site & demo update (#50322) 2024-08-09 11:24:29 +08:00
二货爱吃白萝卜
09264eb1d1
fix: Typography ellipsis (#50315)
* fix: get P

* test: add test case
2024-08-09 10:27:25 +08:00
lijianan
8bee926647
docs: update Version of variant (#50319) 2024-08-08 23:25:58 +08:00
栗嘉男
7ca54f8902 chore: merge master into feature 2024-08-08 22:39:36 +08:00
二货爱吃白萝卜
0cf4a27e96
fix: tree switch bg height (#50313)
* fix: tree switch bg height

* fix: use before instead
2024-08-08 20:21:23 +08:00
thinkasany
426082dfc1
chore(tree-select): improve code style by restProps (#50314) 2024-08-08 19:28:32 +08:00
二货爱吃白萝卜
dd3bfae425
docs: add watermark faq (#50307) 2024-08-08 17:03:07 +08:00
二货爱吃白萝卜
3f3999cd1b
fix: tour default zIndex (#50300) 2024-08-08 13:59:35 +08:00
二货爱吃白萝卜
c23d1875fe
fix: ColorPicker not support compact (#50291)
* fix: ColorPicker not support compact

* test: update snapshot

* test: update snapshot
2024-08-07 23:18:34 +08:00
Lansana Diomande
37abf776f4
fix(Calendar): make Calendar locale overriding locale from ConfigProvider (#50236)
Co-authored-by: Lansana DIOMANDE <lansana.diomande@cartier.comm>
2024-08-07 23:12:32 +08:00
afc163
0aaab501d5
style(Skeleton): remove default children of Skeleton.Node (#50278)
* style(Skeleton): remove default children of Skeleton.Node

* style(Skeleton): remove default children of Skeleton.Node

* Update components/skeleton/style/index.ts

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-08-07 23:12:15 +08:00
ice
a711cf4039
test(getScroll): When window is undef (#50266)
* test(getScroll): When window is undef

* test: document -> null

* test: mock
2024-08-07 20:11:57 +08:00
二货爱吃白萝卜
f662194e4d
docs: fix limit demo (#50287) 2024-08-07 16:51:35 +08:00
Guo Yunhe
3f4eb4b9d1
feat(upload): showUploadList options showPreviewIcon, showDownloadIcon and showRemoveIcon support function (#50245) 2024-08-07 11:42:33 +08:00
5f3ab95a10
fix(Spin): progress bar mode in container not centered error (#50277) 2024-08-06 22:26:46 +08:00
lijianan
ddcdb2a6a2
chore: update unit value (#50258) 2024-08-06 00:04:28 +08:00
lijianan
1421eccb04
chore: update componentCls key again (#50251)
* chore: update componentCls key again

* Update components/skeleton/style/index.ts

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

---------

Signed-off-by: lijianan <574980606@qq.com>
2024-08-05 22:30:55 +08:00
Ashun
d1151f3b9a
docs: fix typo (#50256) 2024-08-05 22:13:33 +08:00
github-actions[bot]
96722dbcd5
chore: auto merge branches (#50233)
chore: merge master into feature
2024-08-05 12:51:39 +00:00
lijianan
54ff15c50b
feat: App support direction with CP (#50246)
* feat: App support direction with CP

* feat: App support direction with CP
2024-08-05 18:16:09 +08:00
lijianan
af61f44369
chore: update componentCls key (#50244) 2024-08-05 17:35:03 +08:00
Meetacoo
2432422062
docs(ColorPicker): Update line-gradient.md (#50239)
Signed-off-by: Meetacoo <37367461+Meetacoo@users.noreply.github.com>
2024-08-05 16:50:11 +08:00
thinkasany
2275919ac0
fix(locale): spaces in default az_AZ language (#50238) 2024-08-05 16:49:32 +08:00
hzyhbk
85392db76c
docs: update components/_util/index.zh-CN.md (#50235)
修改错别字
2024-08-05 12:50:19 +08:00
renovate[bot]
7fdfb299eb
chore(deps): update dependency @typescript-eslint/parser to v8 (#50228)
* chore(deps): update dependency @typescript-eslint/parser to v8

* Update package.json

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

* fix eslint errors

---------

Signed-off-by: afc163 <afc163@gmail.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-08-04 12:24:35 +08:00
Fane
2e2d766d95
docs(Form): supplement the documentation of Form (#50223)
* docs: 对Form组件的文档做补充

* Apply suggestions from code review

Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: Fane <141594291+FanetheDivine@users.noreply.github.com>

---------

Signed-off-by: Fane <141594291+FanetheDivine@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-08-04 00:54:07 +08:00
ice
f4b585af5f
fix(color-picker): In disabled state, cursor is no-allowed (#50217) 2024-08-03 16:42:19 +08:00
vagusX
14a9449de9
fix: unit for line-height for ColorPicker (#50220)
* fix: unit for line-height for ColorPicker

* chore: update
2024-08-03 16:39:46 +08:00
Andrii Milishchuk
4b09f30e8e
fix: add missed translation in uk_UA (#50178)
* Update uk_UA.ts

Signed-off-by: Andrii Milishchuk <andrewmilishchuk@gmail.com>

* Update index.test.tsx.snap

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

---------

Signed-off-by: Andrii Milishchuk <andrewmilishchuk@gmail.com>
Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: lijianan <574980606@qq.com>
2024-08-03 12:35:05 +08:00
vagusX
9484dd3d1e
docs: improve Segmented docs with SegmentedItemType (#50205)
* docs: improve Segmented docs with SegmentedItemType

* chore: update

* chore: update

* test: update snapshot

* docs: update
2024-08-03 11:49:19 +08:00
github-actions[bot]
6cb0040590
chore: auto merge branches (#50215)
chore: merge master into feature
2024-08-03 03:25:29 +00:00
zhiwei liu
93d04f1f17
chore: change to export type (#50203) 2024-08-02 18:49:30 +08:00
github-actions[bot]
249c94fb50
chore: auto merge branches (#50198)
chore: merge master into feature
2024-08-02 03:58:13 +00:00
zyf
c6289dd615
fix(table):table grouping columns does not apply sorting (#50086)
* 增加函数循环收集mergedColumns中所有key

* 新增测试用例

* ci问题调整,收集列keys函数调整
2024-08-01 20:39:01 +08:00
ice
2a6d88489d
feat(spin): configProvider support indicator prop (#50183) 2024-08-01 15:07:35 +08:00
Sergio
bcf2f0ec7f
fix: Improve es_ES.ts (#50179)
Add more natural language to Spanish translations

Signed-off-by: Sergio <sergioalmela@gmail.com>
2024-08-01 09:16:16 +08:00
Wanpan
50f1172245
fix: Tree filter node style lost (#49773) 2024-07-30 23:05:27 +08:00
二货爱吃白萝卜
aebc23fea8
enhance: color picker click (#50148) 2024-07-30 17:39:13 +08:00
github-actions[bot]
8751e0dbbb
chore: auto merge branches (#50149)
chore: feature merge master
2024-07-30 09:07:57 +00:00
二货爱吃白萝卜
3456257eff
fix: popup align position (#50134)
* fix: popup align

* chore: adjust tooltip

* fix: var
2024-07-30 11:45:46 +08:00
二货爱吃白萝卜
31efa5a6c3
test: update snapshot (#50136) 2024-07-29 21:22:13 +08:00
二货爱吃白萝卜
832cffcdf9
feat: ColorPicker support gradient color (#50050)
* refactor: support type update

* chore: update clear style

* chore: bump color picker

* chore: use slider

* chore: bump color picker

* chore: range slider

* chore: layout

* chore: useModeColor

* chore: simplify

* chore: bump color picker

* refactor: event

* chore: tmp lock check

* chore: of it

* chore: update ts def

* chore: update ts def

* chore: remove useless ts

* chore: linear

* chore: adjust style

* chore: rm useless code

* chore: fill color

* chore: basic linear

* chore: support toStr

* chore: limit minCount

* chore: use cache

* chore: drag support:

* chore: yes

* chore: update demo

* chore: useLayoutEffect instead

* chore: fix click to add point

* chore: add smmoth

* chore: support of locale

* chore: add locale

* chore: fix lint

* chore: adjust style

* chore: fix lint

* chore: fix style

* test: fix test case

* chore: fix popover

* test: fix test case

* chore: fix test

* test: clean up

* chore: fix lint

* chore: fix lint

* chore: fix lint

* test: coverage

* test: coverage

* test: coverage

* test: coverage

* test: coverage

* test: coverage

* chore: fix docs

* docs: update demo desc

* chore: enhance hover range

* fix: delete not working

* chore: fix lint

* test: coverage

* test: coverage

* chore: clean up

* chore: adjust

* chore: highlight

* chore: adjust style

* chore: fix lint

* chore: update demo

* chore: memo perf

* refactor: up to down colors

* test: update snapshot
2024-07-29 16:38:50 +08:00
栗嘉男
049915566d Merge branch 'master' into master-merge-feature 2024-07-29 01:39:20 +08:00
lijianan
2e4b9cb098
site: rewrite with CSS logical properties again (#50113)
* site: use CSS logical properties

* Update components/anchor/demo/targetOffset.tsx

Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: lijianan <574980606@qq.com>

* fix: fix

* fix: fix

* chore: fix

* fix: add more

* fix: add more

* site: rewrite with CSS logical properties

---------

Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-07-29 01:33:18 +08:00
lijianan
836d1bbbad
type: code optimization (#50116) 2024-07-29 01:31:25 +08:00
lijianan
525e33737d
type: use DirectionType (#50117) 2024-07-29 01:30:35 +08:00
lijianan
e8fa5938ab
site: rewrite with CSS logical properties (#50109)
* site: use CSS logical properties

* Update components/anchor/demo/targetOffset.tsx

Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: lijianan <574980606@qq.com>

* fix: fix

* fix: fix

* chore: fix

* fix: add more

* fix: add more

---------

Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-07-28 10:43:45 +08:00
Aleksander Marek
be3d440959
fix: add missed translation in pl_PL (#50023)
* Update pl_PL.ts

Added most translations for polish language

Signed-off-by: Aleksander Marek <45952400+ang33l@users.noreply.github.com>

* Update pl_PL.ts

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

* Update index.test.tsx.snap

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

---------

Signed-off-by: Aleksander Marek <45952400+ang33l@users.noreply.github.com>
Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: afc163 <afc163@gmail.com>
Co-authored-by: lijianan <574980606@qq.com>
2024-07-28 10:00:48 +08:00
lijianan
f56fee1333
site: update site/demo style (#50107)
* site: update site/demo style

* fix: fix lint
2024-07-27 16:13:25 +08:00
lijianan
65496b5845
Merge pull request #50103 from ant-design/master
chore: merge master into feature
2024-07-26 23:21:05 +08:00
Guo Yunhe
02853808ee
feat(Upload): showUploadList add extra option (#50098) 2024-07-26 17:45:11 +08:00
thinkasany
5f917554db
docs: fix typos (#50096)
* docs: fix typos

* fix
2024-07-26 16:40:48 +08:00
lijianan
ea9549ab7e
refactor: rewrite Overlay of PurePanel (#50097) 2024-07-26 16:40:45 +08:00
LLmoskk
1fe95ecffa
fix: should not display overlay when the content is null/undefined (#50064)
* fix: content结果为null的情况不显示overlay

* fix: 兼容undefined与null

* Update index.tsx

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

* Update getRenderPropValue.ts

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

* chore: update snap

* Update index.test.tsx

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

---------

Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: H JY <huangjunyi@ama-auto.com>
Co-authored-by: lijianan <574980606@qq.com>
2024-07-26 13:38:55 +08:00
afc163
11b81ff1ca
fix: Tour mobile view (#50082)
* fix: Tour mobile view

* Update .husky/pre-commit

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

---------

Signed-off-by: afc163 <afc163@gmail.com>
2024-07-26 11:50:32 +08:00
afc163
4ee1cc9a4e
fix: Checkbox indeterminate style (#50083) 2024-07-26 11:50:24 +08:00
栗嘉男
d5207c1e23 Merge branch 'master' into feature-merge-master 2024-07-26 10:18:06 +08:00
thinkasany
02d331b60d
type: improve ts type for transfer (#50018)
* type: improve ts type for transfer

* revert as any

* fix type
2024-07-25 18:58:06 +08:00
Jacco Goris
902aa2e313
fix: the tour component had no translations in the Belgian locales (#50058) 2024-07-25 17:17:22 +08:00
thinkasany
020848437d
fix(empty): fix opacityImage token failed by unitless (#50066) 2024-07-25 16:48:30 +08:00
Avan
e70ed089f5
style: antd-picker-content set direction ltr (#50045)
* style: antd-picker-content set direction ltr

* style: add style constraints
2024-07-24 21:58:39 +08:00
🏎️ Imer
6fa9ee15fa
Merge pull request #50030 from ant-design/refactor/cssinjs-utils
refactor(theme): Migrate style utils to `@ant-design/cssinjs-utils`
2024-07-24 00:38:24 -07:00
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: InputTextAreaMentions 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
800c3fcbdb
feat(table-filter): support custom Empty (#49613)
* 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

(cherry picked from commit 7790934b0b)

* chore: update case

* feat(table-filter): support custom Empty

* chore(type): improve TS type definition (#49602)

(cherry picked from commit a15fcfa1dc)

* fixup! feat(table-filter): support custom Empty

* Squashed commit of the following:

commit 1b9706f22d
Merge: e76e386966 cc54bef826
Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Date:   Wed Jun 26 10:10:48 2024 +0000

    chore: auto merge branches (#49609)

    chore: sync master to feature

commit cc54bef826
Author: 照明胧 <25151442+mmmml-zhao@users.noreply.github.com>
Date:   Wed Jun 26 14:19:22 2024 +0800

    fix: The emptyText field of the table (#49599)

    * fix: The emptyText field of the table
    when emptyText is null

    * test: update test case(#49599)

commit ff7fea18f3
Author: afc163 <afc163@gmail.com>
Date:   Wed Jun 26 12:40:24 2024 +0800

    Revert "bug: fix-table-bug ref filters" (#49600)

    This reverts commit 7790934b0b.

commit a15fcfa1dc
Author: 红 <wxh1220@gmail.com>
Date:   Wed Jun 26 12:40:11 2024 +0800

    chore(type): improve TS type definition (#49602)

commit 9ce5cbcf64
Author: Andrey <aaa144855@gmail.com>
Date:   Wed Jun 26 06:05:39 2024 +0300

    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>

commit 4145305b16
Author: MadCcc <madccc@foxmail.com>
Date:   Tue Jun 25 16:59:30 2024 +0800

    docs: fix site FOUC (#49595)

commit 44e96b7b06
Author: enhongchen <106970098+enhongchen@users.noreply.github.com>
Date:   Tue Jun 25 14:24:14 2024 +0800

    docs: Update use-with-rsbuild.zh-CN.md (#49592)

    https://ant.design/docs/react/use-with-rsbuild-cn?theme=happy-work#%E5%AE%89%E8%A3%85%E5%92%8C%E5%88%9D%E5%A7%8B%E5%8C%96

    Signed-off-by: enhongchen <106970098+enhongchen@users.noreply.github.com>

commit 6a0af781d1
Author: 红 <wxh1220@gmail.com>
Date:   Tue Jun 25 13:34:28 2024 +0800

    chore: improve tabs demo (#49590)

    ref: https://docs.dndkit.com/presets/sortable#collision-detection-algorithm

commit 7127603b76
Author: Tantatorn Suksangwarn <timefear007@gmail.com>
Date:   Tue Jun 25 12:32:59 2024 +0700

    fix: add missing Thai translations (#49588)

commit 7790934b0b
Author: duqigit <916475145@qq.com>
Date:   Tue Jun 25 10:44:43 2024 +0800

    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

commit b09913db06
Author: lijianan <574980606@qq.com>
Date:   Tue Jun 25 10:42:19 2024 +0800

    test: update test case code (#49585)

commit b420c57354
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Tue Jun 25 10:39:47 2024 +0800

    chore(deps): bump oven-sh/setup-bun from 1 to 2 (#49578)

    Bumps [oven-sh/setup-bun](https://github.com/oven-sh/setup-bun) from 1 to 2.
    - [Release notes](https://github.com/oven-sh/setup-bun/releases)
    - [Commits](https://github.com/oven-sh/setup-bun/compare/v1...v2)

    ---
    updated-dependencies:
    - dependency-name: oven-sh/setup-bun
      dependency-type: direct:production
      update-type: version-update:semver-major
    ...

    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

commit a81603d720
Author: afc163 <afc163@gmail.com>
Date:   Mon Jun 24 13:33:56 2024 +0800

    docs: fix nav menu cannot click (#49569)

* chore: remove

* test: add more unit test

* chore: lint

* chore: fix legacy16 bug

* chore: update logic

* test: update unit test

---------

Co-authored-by: duqigit <916475145@qq.com>
2024-07-01 17:47:59 +08:00
陈帅
64ff7084e3
Merge pull request #49665 from ant-design/feature
merge feature into master
2024-07-01 00:49:23 -07:00
陈帅
09b86845a7
Revert "feat: Add okButtonProps to time picker (#49657)" (#49663)
This reverts commit 6c656c85f7.

Co-authored-by: 二货爱吃白萝卜 <smith3816@gmail.com>
2024-07-01 15:23:07 +08:00
Wanpan
5b184d4709
fix: Form.Item input-content no horizontal alignment (#49635)
* fix: Form.Item input-content no horizontal alignment

* fix: update

---------

Co-authored-by: afc163 <afc163@gmail.com>
2024-07-01 14:45:07 +08:00
陈帅
b243d1d3e2
Merge branch 'feature' into master 2024-06-30 08:56:53 -07:00
Tantatorn Suksangwarn
6c656c85f7
feat: Add okButtonProps to time picker (#49657)
* feat: add `okButtonProps` to pickers' props

* doc: add okButtonProps to date, time picker documentation

* test: add new test case for TimePicker
2024-06-30 23:17:14 +08:00
Pinaki Raj
158ff27cf9
test: adding the testcase for dashed props of Divider (#49653)
Signed-off-by: Pinaki Raj <pinakiraj15@gmail.com>
2024-06-30 17:09:51 +08:00
afc163
1050541c0a
fix: Dropdown should respect trigger's disabled prop (#47363)
* fix: Dropdown should respect trigger's disabled prop

* chore: update code

* Update components/dropdown/dropdown.tsx

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

---------

Signed-off-by: afc163 <afc163@gmail.com>
2024-06-29 12:46:03 +08:00
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