Commit Graph

28285 Commits

Author SHA1 Message Date
lijianan
611993b0a8
type: fix master CI fail again (#48045)
* TEST: DO NOT MERGE

* fix: fix type
2024-03-23 23:27:59 +08:00
lijianan
212b1eef12
type: fix master CI fail (#48044) 2024-03-23 21:59:55 +08:00
afc163
15532f9ff1
docs: add docs edit link in meta (#48034)
* docs: add docs edit link in meta

* Apply suggestions from code review

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

* Apply suggestions from code review

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

---------

Signed-off-by: afc163 <afc163@gmail.com>
2024-03-23 18:47:23 +08:00
Githubkuankuan
72a7d86b6f
docs: fix twoToneColor description (#48011)
* fix: icon twoToneColor 传递值的类型,标注不清楚问题

Signed-off-by: Githubkuankuan <82639318+Githubkuankuan@users.noreply.github.com>

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

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

---------

Signed-off-by: Githubkuankuan <82639318+Githubkuankuan@users.noreply.github.com>
Signed-off-by: afc163 <afc163@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-03-22 23:11:33 +08:00
Christine Tang
a3077e449e
test: rm unnecessary async (#48033)
* chore: rm unnecessary React.useMemo

* Revert "chore: reset commit"

This reverts commit 2fa5df5185.

* test: rm unnecessary async
2024-03-22 21:29:19 +08:00
叶枫
e17cd4ae27
test: keep spaces (#47024)
* feat: snap

* feat: up snap
2024-03-22 20:49:55 +08:00
lijianan
ff00aedda5
chore: update size-limit (#48028) 2024-03-22 20:43:16 +08:00
dependabot[bot]
8d839c367a
chore(deps-dev): bump the dev-dependencies group with 5 updates (#48030)
---
updated-dependencies:
- dependency-name: "@biomejs/biome"
  dependency-type: direct:development
  dependency-group: dev-dependencies
- dependency-name: "@size-limit/file"
  dependency-type: direct:development
  dependency-group: dev-dependencies
- dependency-name: dumi
  dependency-type: direct:development
  dependency-group: dev-dependencies
- dependency-name: size-limit
  dependency-type: direct:development
  dependency-group: dev-dependencies
- dependency-name: tar
  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-22 20:05:34 +08:00
dependabot[bot]
8920427bd7
chore(deps): bump the dependencies group with 2 updates (#48029)
---
updated-dependencies:
- dependency-name: "@ant-design/cssinjs"
  dependency-type: direct:production
  dependency-group: dependencies
- dependency-name: "@ant-design/icons"
  dependency-type: direct:production
  dependency-group: dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-22 20:03:15 +08:00
afc163
0a67b32443
docs: update Upload FAQ about Mac Chrome bug (#48021) 2024-03-22 16:38:59 +08:00
lijianan
dfd0106994
site: rewrite inline-style => cssinjs (#48018) 2024-03-22 15:43:15 +08: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
lijianan
dee3901183
chore: update size-limit (#48014) 2024-03-22 12:03:19 +08:00
Cooper
be1d14d4cb
docs: text optimize (#48012) 2024-03-22 11:57:58 +08:00
Cooper
ca6c932b39
feat: Popover can be closed by ESC when trigger is focus or click (#47928)
* feat:Add keydown event to handle escape

* fix

* fix:use exact same logic with popconfirm

* fix:move same logic from popconfirm to popover

* fix

* fix

* add test

* fix

* fix

* fix

* test size-limit

* fix

* fix popconfirm test

* fix

* fix

---------

Co-authored-by: afc163 <afc163@gmail.com>
2024-03-22 10:33:56 +08:00
Roxannej
d8982a6def
docs: colorpicker text optimize (#48008) 2024-03-22 08:10:56 +08:00
lijianan
505da69e68
site: update site scrollbar style (#48000) 2024-03-21 21:16:22 +08:00
dependabot[bot]
f6ca160ca5
chore(deps-dev): bump the dev-dependencies group with 3 updates (#48006)
---
updated-dependencies:
- dependency-name: "@types/qs"
  dependency-type: direct:development
  dependency-group: dev-dependencies
- dependency-name: typescript
  dependency-type: direct:development
  dependency-group: dev-dependencies
- dependency-name: webpack
  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-21 21:15:49 +08:00
owenchen1004
b3728baf3c
docs: more info about valuePropName (#48003) 2024-03-21 17:47:23 +08:00
lijianan
a17b98aa69
type: export AffixRef interface (#47982) 2024-03-21 16:30:47 +08:00
二货爱吃白萝卜
bd995468aa
chore: fix GetRef for some case (#47983)
* chore: fix GetRef for some case

* test: add type test

* docs: add util doc

* fix: en

* chore: add logo
2024-03-21 15:55:40 +08:00
afc163
f5e9d2df45
docs: fix Menu ellipsis style (#47997) 2024-03-21 14:28:12 +08:00
二货爱吃白萝卜
0b00db48bd
feat: Table support onScroll event (#47986) 2024-03-21 10:07:10 +08:00
dependabot[bot]
68716c1425
chore(deps-dev): bump the dev-dependencies group with 3 updates (#47987)
---
updated-dependencies:
- dependency-name: "@testing-library/react"
  dependency-type: direct:development
  dependency-group: dev-dependencies
- dependency-name: "@types/node"
  dependency-type: direct:development
  dependency-group: dev-dependencies
- dependency-name: puppeteer
  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-20 20:55:23 +08:00
章鱼怪
cd317fb718
fix: Radio hover style (#47972) 2024-03-20 18:17:05 +08:00
lijianan
999f27d620
docs: update customize-theme docs (#47973)
* docs: update customize-theme docs

* Update docs/react/customize-theme.en-US.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: afc163 <afc163@gmail.com>
2024-03-20 14:36:15 +08:00
叶枫
d1da5f7f8f
feat: preview image (#47930)
* feat: preview image

* feat: test

* feat: download false

* feat: review
2024-03-20 13:34:04 +08:00
叶枫
47bd5ecccc
Typography support collapse (#47264)
* feat: typograohy support collapse

* feat: snap

* feat: test

* feat: 单测不符合预期

* feat: test

* feat: 恢复

* feat: test

* feat: test

* feat: 修改命名

* feat: 代码优化

* feat: 添加控制台提示

* feat: snap

* feat: symbol support function

* feat: snap

* fix: text

* feat: snap

* feat: api 修改

* feat: key 修改

* feat: 去掉参数

* feat: lint

* feat: snap

* feat: test

* feat: use 2

* feat: review

* feat: test

* chore: part of it

* chore: fix auto collapse logic

* feat: 修改 doc 单测

* feat: doc

* test: update testcase

* docs: add more

---------

Co-authored-by: 二货机器人 <smith3816@gmail.com>
2024-03-20 11:39:03 +08:00
lijianan
ec4591b64a
docs: add JSDoc to cssVar props (#47965) 2024-03-20 10:50:36 +08:00
宋红凯
ff76a640f1
docs: add description to theme customization docs (#47959)
* docs(Button): change paddingBlock type def desc

* doc(Theme): 主题定制 cssVar 和 hashed 文档增加 API 说明
2024-03-20 10:02:18 +08:00
dependabot[bot]
708bdfc159
chore(deps): bump the dependencies group with 1 update (#47957)
Updates the requirements on [@babel/runtime](https://github.com/babel/babel/tree/HEAD/packages/babel-runtime) to permit the latest version.

Updates `@babel/runtime` to 7.24.1
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.24.1/packages/babel-runtime)

---
updated-dependencies:
- dependency-name: "@babel/runtime"
  dependency-type: direct:production
  dependency-group: dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-19 21:33:32 +08:00
dependabot[bot]
a92b248082
chore(deps-dev): bump the dev-dependencies group with 6 updates (#47958)
---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  dependency-group: dev-dependencies
- dependency-name: "@types/qs"
  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: react-countup
  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-19 21:33:07 +08:00
lijianan
5fbfecd5b2
feat: CP support FloatButton.Group closeIcon (#47953) 2024-03-19 17:14:22 +08:00
David Dobryakov
ecc82589e3
docs: fix typo "fille" -> "filled" (#47950) 2024-03-18 22:52:01 +08:00
dependabot[bot]
72e4327318
chore(deps-dev): bump the dev-dependencies group with 9 updates (#47947)
Updates the requirements on [@ianvs/prettier-plugin-sort-imports](https://github.com/ianvs/prettier-plugin-sort-imports), [@size-limit/file](https://github.com/ai/size-limit), [eslint-plugin-markdown](https://github.com/eslint/eslint-plugin-markdown), [eslint-plugin-react](https://github.com/jsx-eslint/eslint-plugin-react), [lunar-typescript](https://github.com/6tail/lunar-typescript), [puppeteer](https://github.com/puppeteer/puppeteer), [react-countup](https://github.com/glennreyes/react-countup), [simple-git](https://github.com/steveukx/git-js/tree/HEAD/simple-git) and [size-limit](https://github.com/ai/size-limit) to permit the latest version.

Updates `@ianvs/prettier-plugin-sort-imports` to 4.2.1
- [Release notes](https://github.com/ianvs/prettier-plugin-sort-imports/releases)
- [Changelog](https://github.com/IanVS/prettier-plugin-sort-imports/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ianvs/prettier-plugin-sort-imports/compare/v4.2.0...v4.2.1)

Updates `@size-limit/file` to 11.1.1
- [Release notes](https://github.com/ai/size-limit/releases)
- [Changelog](https://github.com/ai/size-limit/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ai/size-limit/compare/11.1.0...11.1.1)

Updates `eslint-plugin-markdown` to 4.0.1
- [Release notes](https://github.com/eslint/eslint-plugin-markdown/releases)
- [Changelog](https://github.com/eslint/eslint-plugin-markdown/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint-plugin-markdown/compare/v4.0.0...v4.0.1)

Updates `eslint-plugin-react` to 7.34.1
- [Release notes](https://github.com/jsx-eslint/eslint-plugin-react/releases)
- [Changelog](https://github.com/jsx-eslint/eslint-plugin-react/blob/v7.34.1/CHANGELOG.md)
- [Commits](https://github.com/jsx-eslint/eslint-plugin-react/compare/v7.34.0...v7.34.1)

Updates `lunar-typescript` to 1.7.5
- [Release notes](https://github.com/6tail/lunar-typescript/releases)
- [Changelog](https://github.com/6tail/lunar-typescript/blob/master/CHANGELOG.md)
- [Commits](https://github.com/6tail/lunar-typescript/compare/v1.7.4...v1.7.5)

Updates `puppeteer` to 22.5.0
- [Release notes](https://github.com/puppeteer/puppeteer/releases)
- [Changelog](https://github.com/puppeteer/puppeteer/blob/main/release-please-config.json)
- [Commits](https://github.com/puppeteer/puppeteer/compare/puppeteer-v22.4.1...puppeteer-v22.5.0)

Updates `react-countup` to 6.5.1
- [Release notes](https://github.com/glennreyes/react-countup/releases)
- [Commits](https://github.com/glennreyes/react-countup/compare/v6.5.0...v6.5.1)

Updates `simple-git` to 3.23.0
- [Release notes](https://github.com/steveukx/git-js/releases)
- [Changelog](https://github.com/steveukx/git-js/blob/main/simple-git/CHANGELOG.md)
- [Commits](https://github.com/steveukx/git-js/commits/simple-git@3.23.0/simple-git)

Updates `size-limit` to 11.1.1
- [Release notes](https://github.com/ai/size-limit/releases)
- [Changelog](https://github.com/ai/size-limit/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ai/size-limit/compare/11.1.0...11.1.1)

---
updated-dependencies:
- dependency-name: "@ianvs/prettier-plugin-sort-imports"
  dependency-type: direct:development
  dependency-group: dev-dependencies
- dependency-name: "@size-limit/file"
  dependency-type: direct:development
  dependency-group: dev-dependencies
- dependency-name: eslint-plugin-markdown
  dependency-type: direct:development
  dependency-group: dev-dependencies
- dependency-name: eslint-plugin-react
  dependency-type: direct:development
  dependency-group: dev-dependencies
- dependency-name: lunar-typescript
  dependency-type: direct:development
  dependency-group: dev-dependencies
- dependency-name: puppeteer
  dependency-type: direct:development
  dependency-group: dev-dependencies
- dependency-name: react-countup
  dependency-type: direct:development
  dependency-group: dev-dependencies
- dependency-name: simple-git
  dependency-type: direct:development
  dependency-group: dev-dependencies
- dependency-name: size-limit
  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-18 21:07:56 +08:00
dependabot[bot]
8bc839ad9d
chore(deps): bump the dependencies group with 1 update (#47946)
---
updated-dependencies:
- dependency-name: "@ant-design/icons"
  dependency-type: direct:production
  dependency-group: dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-18 21:04:16 +08:00
栗康
889135ea98
docs: fix react-sticky-box link (#47942) 2024-03-18 18:50:05 +08:00
Alina Andrieieva
1bd8fbc5f3
feat: support showSorterTooltip.target for Table sorters (#47409)
* Added `sorterTooltipTarget` prop for table sorters

* demo updated

* updated snapshot

* updated snapshot

* moved table tooltip target to `showSorterTooltip`

* fix

* updated docs

* empty commit

* updated version in docs

---------

Co-authored-by: Alina Andrieieva <Alina_Andrieieva@epam.com>
2024-03-18 18:45:31 +08:00
二货爱吃白萝卜
de8657bf3b
fix: WaterMark blink when scale of window (#47895)
* fix: WaterMark blink when scale of window

* chore: fix mutation

---------

Co-authored-by: afc163 <afc163@gmail.com>
2024-03-18 15:39:06 +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
3278ce7d3a
chore: Update size-limit.yml (#47934)
Signed-off-by: afc163 <afc163@gmail.com>
2024-03-18 14:34:18 +08:00
afc163
ac18c99f92
chore: better format for dingtalk notice (#47925) 2024-03-17 15:28:28 +08:00
叶枫
b315dc5e9e
feat: 标题+链接换行 (#47922) 2024-03-17 09:37:46 +08:00
github-actions[bot]
3e44b46e03
chore: upgrade deps (#47920)
Co-authored-by: afc163 <507615+afc163@users.noreply.github.com>
2024-03-17 07:17:37 +08:00
afc163
e0cf8b7b14
docs(): release 5.15.3 (#47915)
* docs(): release 5.15.3

* Apply suggestions from code review

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

* Update CHANGELOG.en-US.md

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

* Apply suggestions from code review

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

* Apply suggestions from code review

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

---------

Signed-off-by: afc163 <afc163@gmail.com>
2024-03-16 23:35:28 +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
afc163
96bade2dad
chore: update token descriptions (#47918)
* fix: Modify button token annotation error

fix: Modify button token annotation error

Signed-off-by: 孙术 <18046567175@163.com>

* Apply suggestions from code review

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

* Apply suggestions from code review

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

* Update token.ts

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

* Update token.ts

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

* Update token.ts

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

---------

Signed-off-by: 孙术 <18046567175@163.com>
Signed-off-by: afc163 <afc163@gmail.com>
Co-authored-by: 孙术 <18046567175@163.com>
2024-03-16 22:17:56 +08:00
孙术
67b890af26
chore: Modify button token annotation error (#46914)
* fix: Modify button token annotation error

fix: Modify button token annotation error

Signed-off-by: 孙术 <18046567175@163.com>

* Apply suggestions from code review

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

* Apply suggestions from code review

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

* Update token.ts

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

* Update token.ts

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

---------

Signed-off-by: 孙术 <18046567175@163.com>
Signed-off-by: afc163 <afc163@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-03-16 22:13:58 +08:00
evgmol
13ed05fa14
style: Use description color instead of disabled in Empty (#47268)
Signed-off-by: evgmol <146968816+evgmol@users.noreply.github.com>
2024-03-16 22:05:59 +08:00
renovate[bot]
bcc5d113bc
chore(deps): update dependency @types/react to v18.2.66 (#47798)
* chore(deps): update dependency @types/react to v18.2.66

* Update package.json

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

* fix: React LegacyRef

* type: fix ref type

* type: fix ref type

* type: fix ref type

* type: fix ref type

* type: fix ref type

* type: fix ref type

* chore: fix lint 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-03-16 21:41:25 +08:00