Commit Graph

27684 Commits

Author SHA1 Message Date
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
dependabot[bot]
d51d1bc929
chore(deps-dev): bump the dev-dependencies group with 3 updates (#48175)
---
updated-dependencies:
- dependency-name: "@types/react-dom"
  dependency-type: direct:development
  dependency-group: dev-dependencies
- dependency-name: glob
  dependency-type: direct:development
  dependency-group: dev-dependencies
- dependency-name: simple-git
  dependency-type: direct:development
  dependency-group: dev-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-29 20:11:08 +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
章鱼怪
9ccb419177
fix: getValueProps should not be executed when name does not exist (#48163) 2024-03-29 15:28:41 +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
dependabot[bot]
b0e4a3ac64
chore(deps-dev): update vanilla-jsoneditor requirement (#48155)
Updates the requirements on [vanilla-jsoneditor](https://github.com/josdejong/svelte-jsoneditor) to permit the latest version.
- [Release notes](https://github.com/josdejong/svelte-jsoneditor/releases)
- [Changelog](https://github.com/josdejong/svelte-jsoneditor/blob/main/CHANGELOG.md)
- [Commits](https://github.com/josdejong/svelte-jsoneditor/compare/v0.23.0...v0.23.1)

---
updated-dependencies:
- dependency-name: vanilla-jsoneditor
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-28 21:36:26 +08:00
dependabot[bot]
0224965dc9
chore(deps-dev): bump the dev-dependencies group with 1 update (#48145)
---
updated-dependencies:
- dependency-name: "@types/react"
  dependency-type: direct:development
  dependency-group: dev-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-28 14:10:53 +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
afc163
0148cfe600
chore: prevent @ant-design/cssinjs updates (#48141)
* chore: prevent @ant-design/cssinjs updates

https://github.com/ant-design/ant-design/discussions/48139

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

* Update dependabot.yml

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

---------

Signed-off-by: afc163 <afc163@gmail.com>
2024-03-28 13:30:01 +08:00
zhuxq
bc2c1e15b8
docs: Update i18n.zh-CN.md (#48138)
add two lines for import dayjs i18n.
that's an explain for date-picker's i18n wasn't effective

Signed-off-by: zhuxq <46339071+zxq08@users.noreply.github.com>
2024-03-28 11:25:38 +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
lijianan
96f0ec60c5
site: site style optimization (#48088)
* site: site style optimization

* Update .dumi/theme/slots/Header/index.tsx

Co-authored-by: MadCcc <madccc@foxmail.com>
Signed-off-by: lijianan <574980606@qq.com>

---------

Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: MadCcc <madccc@foxmail.com>
2024-03-28 10:15:41 +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
thinkasany
7ec6a7b430
chore(ci): add workflow trigger conditions (#48090)
* chore(ci): add workflow trigger conditions
Co-authored-by: wanpan11 <wanpan11@users.noreply.github.com>

* Apply suggestions from code review

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

---------

Signed-off-by: afc163 <afc163@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
Co-authored-by: 红 <wxh16144@qq.com>
2024-03-27 21:40:24 +08:00
dependabot[bot]
6681acd834
chore(deps-dev): bump the dev-dependencies group with 3 updates (#48129)
---
updated-dependencies:
- dependency-name: "@codesandbox/sandpack-react"
  dependency-type: direct:development
  dependency-group: dev-dependencies
- dependency-name: "@types/react"
  dependency-type: direct:development
  dependency-group: dev-dependencies
- dependency-name: terser
  dependency-type: direct:development
  dependency-group: dev-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-27 20:43:13 +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
f0ba86a534
chore: update size-limit (#48098) 2024-03-27 09:41:14 +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
dependabot[bot]
c79b75f5b6
chore(deps-dev): bump the dev-dependencies group with 7 updates (#48096)
---
updated-dependencies:
- dependency-name: "@biomejs/biome"
  dependency-type: direct:development
  dependency-group: dev-dependencies
- dependency-name: "@codesandbox/sandpack-react"
  dependency-type: direct:development
  dependency-group: dev-dependencies
- dependency-name: "@types/react"
  dependency-type: direct:development
  dependency-group: dev-dependencies
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  dependency-group: dev-dependencies
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  dependency-group: dev-dependencies
- dependency-name: puppeteer
  dependency-type: direct:development
  dependency-group: dev-dependencies
- dependency-name: stylelint
  dependency-type: direct:development
  dependency-group: dev-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-26 21:23:24 +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
konka
bc788704b5
site: fix the aside nav may cover the version dropdown box in so… (#48082)
* fix(site): fix the aside nav may cover the version dropdown box in some screen resolutions

* fix(review): fix code  review
2024-03-26 14:12:01 +08:00
叶枫
f9e49af521
feat: deprecated-codesandbox (#48081)
* feat: deprecated-codesandbox

* feat: debug show csb
2024-03-26 10:44:37 +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
dependabot[bot]
5572bbdd2c
chore(deps-dev): bump the dev-dependencies group with 4 updates (#48077)
---
updated-dependencies:
- dependency-name: "@types/react"
  dependency-type: direct:development
  dependency-group: dev-dependencies
- dependency-name: antd-style
  dependency-type: direct:development
  dependency-group: dev-dependencies
- dependency-name: react-countup
  dependency-type: direct:development
  dependency-group: dev-dependencies
- dependency-name: stylelint
  dependency-type: direct:development
  dependency-group: dev-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-25 20:24:08 +08:00
dependabot[bot]
5b9afc3cf1
chore(deps-dev): update sharp requirement from ^0.33.2 to ^0.33.3 (#48078)
Updates the requirements on [sharp](https://github.com/lovell/sharp) to permit the latest version.
- [Release notes](https://github.com/lovell/sharp/releases)
- [Changelog](https://github.com/lovell/sharp/blob/main/docs/changelog.md)
- [Commits](https://github.com/lovell/sharp/compare/v0.33.2...v0.33.3)

---
updated-dependencies:
- dependency-name: sharp
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-25 20:23:22 +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
陈帅
1eb139aa8d
docs: add 5.15.4 chaneglog (#48057)
* docs: add 5.15.4 chaneglog

* fix typo

* Update CHANGELOG.zh-CN.md

Co-authored-by: lijianan <574980606@qq.com>
Signed-off-by: 陈帅 <qixian.cs@outlook.com>

* Update CHANGELOG.en-US.md

Co-authored-by: lijianan <574980606@qq.com>
Signed-off-by: 陈帅 <qixian.cs@outlook.com>

* fix

* fix

* fix lint

* Update CHANGELOG.en-US.md

Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: 陈帅 <qixian.cs@outlook.com>

* fix

* fix

---------

Signed-off-by: 陈帅 <qixian.cs@outlook.com>
Co-authored-by: lijianan <574980606@qq.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-03-25 14:47:08 +08:00
Meetacoo
dc9e4572ff
demo: Update demo with Space.Compact wrap (#48067)
* demo: App demo update

* test: Update test snapshots
2024-03-25 14:42:15 +08:00
叶枫
0177a7079e
docs: 修复 menu openKeys 计算问题 (#47859)
* fix: 修复 menu openKeys 计算问题

* feat: keys

* feat: 优化代码,避免 eslint

* feat: 优化代码,避免 eslint

* feat: 3级增加为3条数据,为了换行,便于代码查看

* feat: 删除受控 selectedKeys

* feat: 优化代码

* feat: snap

* feat: 优化代码去掉lint

* feat: 代码优化

* feat: 删除 as 因为 onOpenChange 不是 React.Key 了

* feat: 优化代码

* feat: 添加删移除所有子集逻辑
2024-03-25 14:10:34 +08:00
MadCcc
030cb17329
docs: fix anchor flick when has popover (#48064) 2024-03-25 11:50:55 +08:00
lijianan
739362345c
fix: adjust the order of QRCode style prop (#48053)
* fix: adjust the order of style prop

* test: update snap

* test: add test case
2024-03-25 10:59:44 +08:00
Cooper
a4bf443c01
docs: Add FAQ to popconfirm (#48055) 2024-03-24 23:06:04 +08:00
yykoypj
311a718956
feat: steps support for circular progress bar (#47940)
* feat: steps support for circular progress bar

* Update components/progress/index.zh-CN.md

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

* Update components/progress/index.en-US.md

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

* Update components/progress/index.en-US.md

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

* Update components/progress/index.zh-CN.md

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

* Update components/progress/index.zh-CN.md

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

* Update components/progress/index.en-US.md

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

* Update components/progress/progress.tsx

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

* Update components/progress/__tests__/index.test.tsx

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

* Update components/progress/demo/circle-steps.tsx

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

* Update components/progress/index.en-US.md

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

* Update components/progress/index.en-US.md

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

* Update components/progress/index.zh-CN.md

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

* Update components/progress/index.zh-CN.md

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

* Update circle-steps.tsx

* Update components/progress/progress.tsx

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

* Update components/progress/index.zh-CN.md

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

* Update components/progress/index.zh-CN.md

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

* Update components/progress/index.en-US.md

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

* Update components/progress/index.en-US.md

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

* Update package.json

* Update components/progress/demo/circle-steps.md

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

---------

Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: lijianan <574980606@qq.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-03-24 18:30:53 +08:00
lijianan
87debac578
chore: rename variables merge => merged (#48048) 2024-03-24 10:56:28 +08:00
github-actions[bot]
80f49bfcf2
chore: auto merge branches (#48020)
chore: merge master into feature
2024-03-23 16:15:34 +00:00
lijianan
611993b0a8
type: fix master CI fail again (#48045)
* TEST: DO NOT MERGE

* fix: fix type
2024-03-23 23:27:59 +08:00