Commit Graph

27503 Commits

Author SHA1 Message Date
二货爱吃白萝卜
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
thinkasany
e6542abb60
ci(upgrade-dep): skip fork branch (#48201) 2024-04-02 10:36:03 +08:00
afc163
7b63e68fd8
chore: do not update @ant-design/cssinjs (#48222)
Signed-off-by: afc163 <afc163@gmail.com>
2024-04-02 10:27:54 +08:00
dependabot[bot]
3add1ed5b4
chore(deps-dev): bump the dev-dependencies group with 2 updates (#48215)
---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  dependency-group: dev-dependencies
- dependency-name: inquirer
  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-04-02 10:21:59 +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
github-actions[bot]
d8ecfc77a2
chore: upgrade deps (#48220)
Co-authored-by: afc163 <507615+afc163@users.noreply.github.com>
2024-04-02 09:55:55 +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
lijianan
4eaa664d2e
type: fix useLocale type error of site (#48204) 2024-04-01 12:07:58 +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
github-actions[bot]
3e7c9e5cc6
chore: upgrade deps (#48199)
Co-authored-by: afc163 <507615+afc163@users.noreply.github.com>
2024-04-01 09:41:00 +08:00
thinkasany
287dd69922
ci(Persist Image): skip fork branch (#48196) 2024-03-31 22:42:19 +08:00
lijianan
749ee4254e
site: fix the problem of the operating area being blocked (#48195) 2024-03-31 21:19:04 +08:00
kiner-tang
e9167fbe4b
docs: opt docs update (#48193)
* docs: opt changelog

* docs: opt changelog

* Update CHANGELOG.zh-CN.md

Co-authored-by: lijianan <574980606@qq.com>
Signed-off-by: kiner-tang <1127031143@qq.com>

* Update CHANGELOG.en-US.md

Co-authored-by: lijianan <574980606@qq.com>
Signed-off-by: kiner-tang <1127031143@qq.com>

* docs: opt changelog

---------

Signed-off-by: kiner-tang <1127031143@qq.com>
Co-authored-by: lijianan <574980606@qq.com>
2024-03-31 20:02:07 +08:00
闲夕
44f770d002 docs: update changelog 2024-03-31 16:07:30 +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
7258fa83e5
docs: changelog 5.16.0 (#48191)
* chore: changelog 5.16.0

* chore: fix typo

* Apply suggestions from code review

Co-authored-by: kiner-tang <1127031143@qq.com>
Signed-off-by: MadCcc <1075746765@qq.com>

* chore: fix typo

---------

Signed-off-by: MadCcc <1075746765@qq.com>
Co-authored-by: kiner-tang <1127031143@qq.com>
2024-03-31 15:40:46 +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
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