Commit Graph

923 Commits

Author SHA1 Message Date
栗嘉男
d5207c1e23 Merge branch 'master' into feature-merge-master 2024-07-26 10:18:06 +08:00
🏎️ Yumo
b71752ffb0 Merge branch 'master' into refactor/cssinjs-utils 2024-07-24 12:44:44 +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
🏎️ Yumo
5019af42b5 refactor(theme): migrate and refactor type TokenWithCommonCls by @ant-design/cssinjs-utils 2024-07-23 17:49:35 +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
64f26bd970 refactor(theme): migrate and refactor type GlobalToken by @ant-design/cssinjs-utils 2024-07-23 16:45:02 +08:00
github-actions[bot]
0681d6c7a2
chore: auto merge branches (#50005)
chore: merge master into feature
2024-07-22 08:39:11 +00: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
thinkasany
da1d8df417
type: support string | number (#49810) (#49855)
* type(token): height / width support string | number

* rever
2024-07-14 00:36:43 +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
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
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
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
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
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
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
d66ed648a1
deps: bump rc-dialog to 9.5.1 (#49284)
* deps: bump rc-dialog to 9.5.1

* chore: update

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

* test: update case

* Revert "test: update case"

This reverts commit cdfbdbac1b48dfbad6fb24b13b4ec56f22123d91.

* test: update case

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

* empty

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: zombieJ <zombieJ@users.noreply.github.com>
2024-06-07 16:42:14 +08:00
ab1acc720e
docs(modal): improve (#49277) 2024-06-06 16:03:47 +08:00
github-actions[bot]
9e367246d5
chore: auto merge branches (#49189)
chore: merge feature into master
2024-06-03 04:09:04 +00:00
thinkasany
403c9c05fe
docs(Modal): add closable description (#49188)
* docs(Modal): add closable description

* fix
2024-06-03 11:30:31 +08:00
栗嘉男
fa0c473afd chore: merge master into feature 2024-05-26 11:56:58 +08:00
Wanpan
2e011a379d
fix modal.confirm unable to close normally when onCancel and onOk return true (#49054)
* fix: fix modal.confirm unable to close normally when onCancel and onOk return true

* test: update test case
2024-05-24 13:53:57 +08:00
afc163
9db0fc7440
type: fix Modal styles typing (#49055) 2024-05-24 13:49:45 +08:00
lijianan
7cdeecfe1e
feat: Modal support loading (#48848)
* feat: Modal support loading

* feat: Modal support loading

* chore: update skeleton className

* fix: fix

* demo: add LoadingOutlined

* fix: revert icon

* fix: fix

* fix: renderFooter

* fix: renderFooter

* demo: update demo

* demo: update demo

* demo: update demo

* chore: clear

* Update loading.tsx

Signed-off-by: 二货爱吃白萝卜 <smith3816@gmail.com>

* fix: fix

---------

Signed-off-by: 二货爱吃白萝卜 <smith3816@gmail.com>
Co-authored-by: 二货爱吃白萝卜 <smith3816@gmail.com>
2024-05-15 11:21:40 +08:00
Richard Zhang
6da1ad1c67
docs(modal): correct closable default value (#48856) 2024-05-10 11:38:53 +08:00
lijianan
029cb1dff0
test: rm legacy react-dom/test-utils for compatible React-18.3.1 (#48667)
* test: rm legacy react-dom/test-utils for compatible React-18.3.0

* fix: fix

* chore: cls

* chore: update

* fix: fix
2024-04-28 09:52:54 +08:00
thinkasany
c648fd1513
docs(demo): Convert to lowercase (#48415) 2024-04-12 11:45:25 +08:00
叶枫
502dac12aa
docs: format code (#48309)
* docs: fix code

* feat: lint

* feat: prettier

* feat: test

* feat: review

* feat: format html

* feat: format html
2024-04-08 14:04:08 +08:00
叶枫
14a1e6bd51
feat: tsconfig enable strict (#47998)
* feat: tsconfig enable strict

* feat: add no-explicit-any

* feat: strict

* feat: as THEME

* feat: 优化 keys 类型写法

* feat: demo remove any

* feat: as number

* feat: this any

* feat: add eslint

* feat: cascader

* feat: props any

* feat: remove any

* feat: remove any

* feat: any 提示错误

* feat: remove any

* feat: add eslint

* feat: 允许 T = any 存在

* feat: color funciton

* feat: 恢复 lint

* feat: merge master

* feat: as ReactElement

* feat: type
2024-04-01 15:49:45 +08:00
MadCcc
5384a97f37
Merge pull request #48189 from ant-design/feature
chore: merge feature into master
2024-03-31 13:55:04 +08:00
kiner-tang
506753c3ef
feat: Tag support aria-* in closable (#47678)
* feat: Tag support aria-* in closable

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* refactor: useClosable

* chore: modal

* fix: check logic

* chore: clean up

* feat: optimize code

* feat: optimize code

---------

Signed-off-by: kiner-tang <1127031143@qq.com>
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2024-03-31 11:56:55 +08:00
afc163
663004b426
fix: confirm content not centered when no icon (#48173)
* fix: confirm content not centered when no icon

* chore: add comment
2024-03-30 22:12:52 +08:00
github-actions[bot]
80f49bfcf2
chore: auto merge branches (#48020)
chore: merge master into feature
2024-03-23 16:15:34 +00:00
二货爱吃白萝卜
20561d6f9d
docs: Fix component doc alignment & support import usage (#48004)
* docs: init ref

* docs all support

* docs: fix link show
2024-03-22 14:22:42 +08:00
afc163
dfd342d985
Merge pull request #47931 from ant-design/master
chore: sync master to feature
2024-03-18 15:36:41 +08:00
afc163
e8839ae48b
style: unify Modal and Drawer close icon style (#47909)
* style: unify Modal and Drawer close icon style

* style: fix Drawer close icon style

* style: add focus style

* style: unify close btn style

* test: update snapshots

* style: tweak drawer close icon size
2024-03-16 23:21:09 +08:00
lijianan
5f1ac6c095
Merge pull request #47771 from ant-design/master
chore: merge master into feature
2024-03-08 11:38:43 +08:00
yingjiechen
c2938c14f2
docs: change the default value 'closeable' (#47730)
Change the default value of the attribute 'closeable' from true to false

Signed-off-by: yingjiechen <53926916+jj19100@users.noreply.github.com>
2024-03-07 12:39:40 +08:00
kiner-tang
bb85712f71
feat: Notification support aria-* in closable (#47710)
* feat: Notification support aria-* in closable

* feat: optimize code
2024-03-06 11:53:05 +08:00
kiner-tang
6928fbc06d
feat: Modal support aria-* in closable (#47650)
* feat: Modal support aria-* in closable

* feat: Modal support aria-* in closable

* feat: Modal support aria-* in closable

* chore: bump rc-image

* feat: update snap

* feat: update snap
2024-03-01 10:58:50 +08:00
kiner-tang
15216614ed
feat: Drawer support aria in closable (#47543)
* feat: drawer support aria in closable prop

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code
2024-02-28 14:11:15 +08:00
MadCcc
6033c69e60
fix: modal mask should block pointer events when opened (#47508)
* fix: modal mask should block pointer events when opened

* chore: code clean
2024-02-21 09:58:46 +08:00
lijianan
a84af71d14
site: code optimization (#47456) 2024-02-16 20:50:31 +08:00
二货爱吃白萝卜
7104513a84
docs: Support semantic preview (#47332)
* docs: init

* docs: semantic block

* docs: part of demo

* docs: modal

* docs: slider

* docs: space

* docs: all sementic

* docs: clean up

* chore: fix lint

* chore: clean up

* chore: update script

* test: fix test case

* test: update testcase
2024-02-05 11:45:42 +08:00
lijianan
326ae986b9
Merge pull request #47297 from ant-design/master
chore: merge master into feature
2024-02-01 23:59:16 +08:00
lijianan
7cc45fd6d7
docs: rm useless type (#47272) 2024-02-01 10:36:21 +08:00
lijianan
231e873b3f
Merge pull request #47238 from ant-design/master
chore: merge master into feature
2024-01-30 20:00:58 +08:00
lijianan
a11d3b4b63
feat: CP support Modal closeIcon (#47226)
* feat: CP support Modal closeIcon

* fix: fix
2024-01-30 14:42:46 +08:00
MadCcc
4ecc0d7f95
docs: optimize overview svg (#47203)
* docs: optimize overview svg

* docs: update

* docs: dark
2024-01-29 14:50:36 +08:00