Commit Graph

18164 Commits

Author SHA1 Message Date
二货爱吃白萝卜
b9d5933975
fix: ellipsis check for over (#50514)
* fix: ellipsis check for over

* chore: use another way

* refactor: measure update

* chore: no measure if native

* chore: clean up
2024-08-21 14:27:40 +08:00
thinkasany
53495d6307
test: improve test type (#50515) 2024-08-21 12:41:09 +08:00
qwangry
de5c835d46
docs: fix document typos (#50508) 2024-08-20 23:51:35 +08:00
二货爱吃白萝卜
7edf9315d7
fix: onComplete directly case (#50501) 2024-08-20 17:40:35 +08:00
二货爱吃白萝卜
0b6a2f742e
refactor: use react cycle method (#50500)
* refactor: use react cycle method

* chore: clean up
2024-08-20 17:34:10 +08:00
thinkasany
78a65ef072
demo: improve variant demo (#50495)
* demo(form): improve variant demo

* chore: replace semented
2024-08-20 16:04:11 +08:00
ice
8a230505b8
type(tag): Optimize ts types (#50427) 2024-08-16 23:39:46 +08:00
imnabid
7481e14dab
docs(typo): chose to choose (#50460) 2024-08-16 22:31:57 +08:00
ice
bda8cb0a76
fix(input-number): without controls suffix style (#50450)
Co-authored-by: afc163 <afc163@gmail.com>
2024-08-16 20:07:26 +08:00
thinkasany
4235d117f2
docs(ConfigProvider): improve component config classnames/styles (#50451) 2024-08-16 18:03:22 +08:00
二货爱吃白萝卜
72fda1a8a0
docs: rm useless demo (#50449) 2024-08-16 16:46:30 +08:00
thinkasany
ae44eb9fe7
docs(carousel): improve dots description (#50446) 2024-08-16 15:51:45 +08:00
Bruce Mitchener
d1a0fb862e
chore: reduce typo count (#50439) 2024-08-15 22:51:41 +08:00
thinkasany
4f01f225c8
docs: fix typos (#50430) 2024-08-15 15:52:25 +08:00
Aleksey Laguta
879ad6533b
locale: add Transfer.deselectAll to ru_RU and uk_UA (#50429) 2024-08-15 15:08:53 +08:00
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
lijianan
aa60e53d4c
fix: fix incorrect border-radius of trigger (#50408) 2024-08-14 09:17:56 +08: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
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
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
二货爱吃白萝卜
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
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
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
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