Commit Graph

27413 Commits

Author SHA1 Message Date
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
Cooper
be1d14d4cb
docs: text optimize (#48012) 2024-03-22 11:57:58 +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
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
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
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
二货爱吃白萝卜
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
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
afc163
8ba9900c56
docs: fix Statistic.Countdown value type (#47907) 2024-03-16 17:48:34 +08:00
afc163
862f5da5ba
test: update snapshot (#47911) 2024-03-16 17:46:44 +08:00
afc163
a8fb31cbd5
style: Badge align style with text under Space (#47908) 2024-03-16 17:45:50 +08:00
renovate[bot]
b64db3cd70
chore(deps): update dependency eslint-plugin-markdown to v4 (#47800)
* chore(deps): update dependency eslint-plugin-markdown to v4

* chore: use legacy plugin

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-03-16 17:41:54 +08:00
dependabot[bot]
e0b57c5773
chore(deps-dev): bump the dev-dependencies group with 2 updates (#47901)
* chore(deps-dev): bump the dev-dependencies group with 3 updates

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  dependency-group: dev-dependencies
- dependency-name: eslint-plugin-markdown
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: dev-dependencies
- dependency-name: terser
  dependency-type: direct:development
  dependency-group: dev-dependencies
...

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

* Update package.json

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

---------

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: lijianan <574980606@qq.com>
2024-03-15 22:04:50 +08:00
dependabot[bot]
5d7b6106ac
chore(deps): bump the dependencies group with 1 update (#47900)
---
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-15 21:00:58 +08:00
afc163
5574f31576
style: Upload actions should not wrap (#47898)
* style: Upload actions should not wrap

* Update components/upload/style/list.ts

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

* Update components/upload/style/list.ts

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

---------

Signed-off-by: afc163 <afc163@gmail.com>
2024-03-15 19:06:39 +08:00
二货爱吃白萝卜
31ff625d8f
fix: Typography symbol height exceed line should also support ellipsis (#47889)
* fix: Typography with ellipsis of symbol height

* test: update snapshot
2024-03-15 13:56:03 +08:00
二货爱吃白萝卜
7884eba28e
fix: DatePicker itemHeight calculation (#47874)
* chore: init

* chore: clean up

* chore: clean up
2024-03-15 10:54:54 +08:00
xliez
1491b0c624
docs(Select): Update docs for Select new API: labelRender (#47811)
* docs: 添加 labelRender API 文档

Signed-off-by: xliez <xliez@foxmail.com>

* docs: supplement 5.15.0 changelog

* test: update snapshots

---------

Signed-off-by: xliez <xliez@foxmail.com>
2024-03-14 22:04:14 +08:00
dependabot[bot]
878ecef0d1
chore(deps-dev): bump the dev-dependencies group with 6 updates (#47880)
* chore(deps-dev): bump the dev-dependencies group with 6 updates

---
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: "@types/node"
  dependency-type: direct:development
  dependency-group: dev-dependencies
- dependency-name: "@types/react-dom"
  dependency-type: direct:development
  dependency-group: dev-dependencies
- dependency-name: eslint-plugin-markdown
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: dev-dependencies
- dependency-name: size-limit
  dependency-type: direct:development
  dependency-group: dev-dependencies
...

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

* Update package.json

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

---------

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: lijianan <574980606@qq.com>
2024-03-14 21:07:03 +08:00