Commit Graph

17602 Commits

Author SHA1 Message Date
二货爱吃白萝卜
8fc4fa06c8
fix: Steps with process style in compact theme (#48251)
* fix: use css var for calc

* fix: tail align

* Update components/steps/style/index.ts

Co-authored-by: 红 <wxh1220@gmail.com>
Signed-off-by: afc163 <afc163@gmail.com>

* test: update snapshot

* chore: fix lint

* chore: adjust style

---------

Signed-off-by: afc163 <afc163@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
Co-authored-by: 红 <wxh1220@gmail.com>
2024-04-08 15:53:45 +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
afc163
b63a94108f
demo: fix linear gradient button demo and remove debug flag (#48320)
* demo: fix linear gradient button demo and remove debug flag

* fix active colors
2024-04-07 19:14:56 +08:00
afc163
c5a02b2f83
docs: update info title (#48318) 2024-04-07 17:02:59 +08:00
lijianan
52df99f9bf
refactor: use css token (#48311)
* refactor: use css token

* style: update
2024-04-07 15:36:38 +08:00
lijianan
2386fa69e7
refactor: use css token (#48312) 2024-04-07 15:19:16 +08:00
winches
392f1f1471
docs(radio): comsummate radio group options type (#48168)
* docs(radio): comsummate radio group options type

* docs: optimize
2024-04-07 10:19:59 +08:00
kiner-tang
80af2a65ed
docs: Added ways to use bun installation dependencies (#48289)
* docs: add bun

* docs: add bun

* docs: add bun

* docs: add bun
2024-04-05 18:27:10 +08:00
Cooper
db822fd74e
demo: Upload demo add margin (#48268)
* fix: Upload add demo marigin

* use Flex and update Snap

* update snap

---------

Co-authored-by: lijianan <574980606@qq.com>
2024-04-05 15:13:49 +08:00
kiner-tang
ea67f49f31
docs: optimize docs (#48284) 2024-04-05 14:02:34 +08:00
kiner-tang
7724e51068
docs: opt docs about tabs (#48280) 2024-04-05 11:04:03 +08:00
kiner-tang
acfeb94f50
docs: Refine documentation on onClose event object types (#48279) 2024-04-05 11:03:38 +08:00
Cooper
9cea438930
docs: Translate the untranslated Chinese in an English document (#48266) 2024-04-04 17:33:58 +08:00
afc163
c0d2282db4
chore: update mocky.io to mockapi.io (#48252) 2024-04-03 23:37:22 +08:00
daisy
c152c58116
docs: update table faq (#48245) 2024-04-03 18:11:00 +08:00
afc163
88d40e2750
demo: fix Input demo icon color (#48207) 2024-04-02 17:46:39 +08:00
lijianan
570c1be492
site: add component version to meta (#48226)
* site: add component version to meta

* Update .dumi/theme/builtins/ComponentMeta/index.tsx

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

---------

Signed-off-by: afc163 <afc163@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-04-02 16:33:57 +08:00
二货爱吃白萝卜
7e6678aa51
enhance: ssr ellipsis effect (#48205)
* enhance: ssr ellipsis effect

* test: update snapshot

* chore: fix lint
2024-04-02 14:50:46 +08:00
lijianan
0a79a79bc7
docs: update sidebar style of website (#48224)
* docs: update GetRef/GetProp/GetProps docs

* fix: fix

* fix: fix

* fix: fix

* fix: fix

* fix: fix
2024-04-02 14:05:03 +08:00
dependabot[bot]
c78f61d1b8
chore(deps): bump the dependencies group with 1 update (#48214)
* chore(deps): bump the dependencies group with 1 update

Updates the requirements on [@ant-design/react-slick](https://github.com/ant-design/react-slick) to permit the latest version.

Updates `@ant-design/react-slick` to 1.1.2
- [Release notes](https://github.com/ant-design/react-slick/releases)
- [Changelog](https://github.com/ant-design/react-slick/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ant-design/react-slick/compare/v1.1.1...v1.1.2)

---
updated-dependencies:
- dependency-name: "@ant-design/react-slick"
  dependency-type: direct:production
  dependency-group: dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>

* test: update snapshot

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-04-02 10:01:32 +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
叶枫
ff231ab557
demo: remove optionLabelProp (#48186)
* feat: remove optioLabelProp

* feat: doc

* feat: doc

* feat: option-render

* feat: option-render

* feat: snap
2024-04-01 11:09:23 +08:00
LingJinT
15553f54a3
test: update table.filter test case (#48202)
* fix: 表格列在搜索情况下,国际化失效 #48110

* Update components/table/hooks/useFilter/FilterDropdown.tsx

Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: LingJinT <63446949+LingJinT@users.noreply.github.com>

* fix: 补充测试用例

* fix: update table.filter test case

---------

Signed-off-by: LingJinT <63446949+LingJinT@users.noreply.github.com>
Co-authored-by: l2015 <lingjt@dtdream.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-04-01 10:46:05 +08:00
LonelySnowman
e665894e3a
fix: float button render hover color correctly (#48198) 2024-04-01 10:11:11 +08:00
MadCcc
7b280d307b
chore: bump rc-table to v7.45.0 (#48190)
* chore: bump rc-table to v7.45.0

* feat: 补充类型

* feat: 补充类型

---------

Co-authored-by: 叶枫 <645381995@qq.com>
2024-03-31 16:04:36 +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
momesana
18f9be6a6e
fix: vertically center icons in icon-only buttons (#48178)
Co-authored-by: Mehdi Salem <mehdi.salem@qt.io>
2024-03-30 22:14:34 +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
lijianan
1b36fd22e5
Merge pull request #48172 from ant-design/master
chore: merge master into feature
2024-03-29 20:10:12 +08:00
章鱼怪
fe83792754
feat: Table add rowHoverable to disable hover interaction (#48112) 2024-03-29 15:29:49 +08:00
叶枫
8cc1d30351
feat: copy support async (#48123)
* feat: copy support async

* feat: add test

* feat: doc

* feat: snap

* feat: add loading

* feat: 恢复 try

* feat: 判断是否是 Error

* feat: throw error

* feat: 为了醋包了饺子

* feat: remove code

* feat: add loading test

* fix: test

* fix: icon import way

* chore: improve test case code

* chore: improve test case code

---------

Co-authored-by: afc163 <afc163@gmail.com>
2024-03-29 13:20:02 +08:00
LingJinT
5a9dca2ae7
fix: Fixed the problem that internationalization of table columns fails when searching (#48126)
* fix: 表格列在搜索情况下,国际化失效 #48110

* Update components/table/hooks/useFilter/FilterDropdown.tsx

Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: LingJinT <63446949+LingJinT@users.noreply.github.com>

* fix: 补充测试用例

---------

Signed-off-by: LingJinT <63446949+LingJinT@users.noreply.github.com>
Co-authored-by: l2015 <lingjt@dtdream.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-03-29 13:19:52 +08:00
Cooper
595e600813
fix: Upload remove margin using flex display (#48091)
* fix: remove upload margin with flex

* fix

* use support not

* fix
2024-03-29 10:21:30 +08:00
二货爱吃白萝卜
100fa29bef
feat: Input.OTP component support (#48076)
* chore: basic control

* chore: input instad

* docs: update demo

* chore: adjust operation interactive

* chore: lock selection

* chore: fix patch logic

* chore: merge logic

* chore: patch autoFocus

* test: update snapshot

* test: add test case

* test: coverage

* chore: update size limit

* docs: update docs

* test: fix test case

* chore: update comment

* refactor: change to length

* chore: blur all

* chore: size limit
2024-03-28 14:05:58 +08:00
lijianan
405394a8e4
Merge pull request #48133 from ant-design/master
chore: merge master into feature
2024-03-28 10:54:52 +08:00
Zhou Bill
7c09fc01ad
fix: upload default FileList is more than maxCount, it can't remove it (#47747)
* fix: upload default FileList is more than maxCount, it can't remove it

* fix: snapshot

* fix: line
2024-03-28 10:14:34 +08:00
lijianan
58153fca85
Revert "feat: add Scrollbar css token (#48109)" (#48115)
This reverts commit d0cc93b594.
2024-03-27 13:53:56 +08:00
afc163
268d6018a8
docs: update DatePicker locale instruction (#48111) 2024-03-27 13:34:35 +08:00
afc163
3518631afe
feat: upgrade react-slick (#48093)
* feat: upgrade react-slick

* test: update snapshots

* test: update snapshots

---------

Co-authored-by: lijianan <574980606@qq.com>
2024-03-27 13:34:26 +08:00
lijianan
d0cc93b594
feat: add Scrollbar css token (#48109)
* feat: add Scrollbar css token

* docs: update docs
2024-03-27 11:17:39 +08:00
LonelySnowman
18dc816e55
feat: add missing form translations in is_IS (#48104) 2024-03-27 10:25:26 +08:00
叶枫
b1a3972b81
demo: upload replace modal to image (#48105) 2024-03-27 09:49:50 +08:00
lijianan
3e156b0a7f
docs: add more JSDoc (#48101) 2024-03-26 23:01:04 +08:00
社长长
7ec9e688db
docs: fix notification word error (#48100)
Signed-off-by: 社长长 <ischenkan@outlook.com>
2024-03-26 22:32:59 +08:00
lijianan
82720bc503
type: update Wave props type (#48092)
* fix: fix the Wave not disappear when motion === false

* docs: update docs

* type: update type

* type: update type

* docs: revert
2024-03-26 18:20:28 +08:00
lijianan
e5849fc1b9
demo: update Progress demo (#48052)
* demo: update Progress demo

* fix: fix

* fix: fix

* fix: fix

* fix: update snap
2024-03-26 10:43:02 +08:00
yoshinyan
5e65463566
docs: typo in order-column.md (#48079)
Signed-off-by: yoshinyan <hai_hai_hai_1229@yahoo.co.jp>
2024-03-25 20:26:58 +08:00
MadCcc
1cb644d476
fix: color picker controlled value (#47816)
* fix: fix control value not show in dom

* chore: update title

* add test case

* change test title

* fix: cleared color should change after controlled value changed

* chore: code clean

* test: change test

* comment

* fix: should respect empty string

* test: add test case

* chore: update demo

---------

Co-authored-by: tanghui <yoyo837@hotmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
Co-authored-by: lijianan <574980606@qq.com>
2024-03-25 20:10:47 +08:00
kiner-tang
6310bf2840
feat: optimize code (#48072) 2024-03-25 19:22:04 +08:00