Commit Graph

27198 Commits

Author SHA1 Message Date
MadCcc
53b0b2475d
fix: Input should show cursor when disabled (#47280) 2024-02-01 17:29:30 +08:00
二货爱吃白萝卜
cbf2242065
enhance: New Picker no need needConfirm when multiple (#47275)
* docs: more and more

* chore: bump rc-picker

* test: update snapshot

* chore: multiple style

* chore: fix removeIcon

* test: update snapshot

* test: update testcase

* test: update snapshot

* chore: cleanup
2024-02-01 16:26:38 +08:00
MadCcc
7ec7ab18da
docs: classify new icons (#47267)
* docs: classify new icons

* chore: code clean
2024-02-01 16:15:04 +08:00
lijianan
7cc45fd6d7
docs: rm useless type (#47272) 2024-02-01 10:36:21 +08:00
github-actions[bot]
6bc196293a
chore: upgrade deps (#47270)
Co-authored-by: afc163 <afc163@users.noreply.github.com>
2024-02-01 09:44:33 +08:00
dependabot[bot]
44db1ff92d
chore(deps-dev): bump the dev-dependencies group with 4 updates (#47265)
---
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: lint-staged
  dependency-type: direct:development
  dependency-group: dev-dependencies
- dependency-name: lunar-typescript
  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-01-31 21:00:37 +08:00
vagusX
057e81f11d
scripts: set correct content-type when uploading image (#47263)
* scripts: set correct content-type when uploading image

* chore: update
2024-01-31 18:39:58 +08:00
mr-chenguang
f1f4788e38
fix: use flex to correct avatar child position (#47236)
* fix: remove avatar border when height less then 16

* fix: 使用 flex 完成子元素居中布局

* fix: fix avatar tests snapshot

* fix: fix avatar tests snapshot

* Update components/avatar/style/index.ts

Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: mr-chenguang <37072324+lcgash@users.noreply.github.com>

* fix: changealign

* fix: update avatar snapshots

* fix:update snapshot

* fix: update snapshot

* fix: update snapshot

---------

Signed-off-by: mr-chenguang <37072324+lcgash@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-01-31 18:20:21 +08:00
二货爱吃白萝卜
cbea5a5da9
feat: Table support stack fixed columns (#47245)
* chore: update deps

* feat: style of it

* test: update test case

* chore: adjust size limit
2024-01-31 10:25:18 +08:00
lijianan
651914c46d
feat: CP support Tag closeIcon (#47250) 2024-01-31 10:07:16 +08:00
lijianan
ebd4c15cdf
docs: update missing api (#47254) 2024-01-31 10:01:54 +08:00
lijianan
b233f27ba0
feat: CP support Notification closeIcon (#47244)
* feat: CP support Notification closeIcon

* fix: fix
2024-01-30 20:13:22 +08:00
MadCcc
b62298851b
fix: input component token should work (#47243) 2024-01-30 20:02:56 +08:00
dependabot[bot]
2e318e0874
chore(deps-dev): bump the dev-dependencies group with 6 updates (#47246)
Updates the requirements on [@testing-library/jest-dom](https://github.com/testing-library/jest-dom), [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin), [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser), [husky](https://github.com/typicode/husky), [puppeteer](https://github.com/puppeteer/puppeteer) and [runes2](https://github.com/bluelovers/ws-string/tree/HEAD/packages/runes2) to permit the latest version.

Updates `@testing-library/jest-dom` to 6.4.0
- [Release notes](https://github.com/testing-library/jest-dom/releases)
- [Changelog](https://github.com/testing-library/jest-dom/blob/main/CHANGELOG.md)
- [Commits](https://github.com/testing-library/jest-dom/compare/v6.3.0...v6.4.0)

Updates `@typescript-eslint/eslint-plugin` to 6.20.0
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.20.0/packages/eslint-plugin)

Updates `@typescript-eslint/parser` to 6.20.0
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.20.0/packages/parser)

Updates `husky` to 9.0.7
- [Release notes](https://github.com/typicode/husky/releases)
- [Commits](https://github.com/typicode/husky/compare/v9.0.6...v9.0.7)

Updates `puppeteer` to 21.10.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-v21.9.0...puppeteer-v21.10.0)

Updates `runes2` to 1.1.4
- [Changelog](https://github.com/bluelovers/ws-string/blob/master/packages/runes2/CHANGELOG.md)
- [Commits](https://github.com/bluelovers/ws-string/commits/runes2@1.1.4/packages/runes2)

---
updated-dependencies:
- dependency-name: "@testing-library/jest-dom"
  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: husky
  dependency-type: direct:development
  dependency-group: dev-dependencies
- dependency-name: puppeteer
  dependency-type: direct:development
  dependency-group: dev-dependencies
- dependency-name: runes2
  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-01-30 20:02:05 +08:00
dependabot[bot]
eae6c9b3d0
chore(deps): update rc-tree requirement from ~5.8.3 to ~5.8.5 (#47248)
Updates the requirements on [rc-tree](https://github.com/react-component/tree) to permit the latest version.
- [Release notes](https://github.com/react-component/tree/releases)
- [Changelog](https://github.com/react-component/tree/blob/master/CHANGELOG.md)
- [Commits](https://github.com/react-component/tree/compare/v5.8.3...v5.8.5)

---
updated-dependencies:
- dependency-name: rc-tree
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-30 20:01:29 +08:00
lijianan
231e873b3f
Merge pull request #47238 from ant-design/master
chore: merge master into feature
2024-01-30 20:00:58 +08:00
MadCcc
9473ebf380
fix: Menu submenu hover style (#47227)
* fix: Menu submenu hover style

* chore: code clean
2024-01-30 17:55:55 +08:00
二货爱吃白萝卜
fff8a9396a
docs: update maxTag demo (#47210) 2024-01-30 17:24:04 +08:00
lijianan
aa36678a29
feat: CP support Alert closeIcon (#47235) 2024-01-30 16:47:42 +08:00
zhoulixiang
6ed0254ad5
feat: Add classNames and styles prop for card (#46811)
* feat: support classNames and styles for card

* feat: add lost info

* docs: update context of card

* feat: optimize classNames and styles code of card

* test: update card test case

* feat: remove headWrapper

* test: correct test

* feat: remove redundant snapshot

* feat: update config provider for card

* feat: update classNames and styles of card

* feat: add warning for headStyle and bodyStyle of card

* test: replace bodyStyle to styles.body in demo of flex

* docs: add jsDoc about deprecated for headStyle and bodyStyle

* snap: update table counts of card from 3 to 4

* docs: update version for styles and classnames of card

---------

Signed-off-by: zhoulixiang <18366276315@163.com>
Co-authored-by: vagusX <vagusxl@gmail.com>
2024-01-30 15:00:25 +08:00
lijianan
a11d3b4b63
feat: CP support Modal closeIcon (#47226)
* feat: CP support Modal closeIcon

* fix: fix
2024-01-30 14:42:46 +08:00
lijianan
5031ca9032
feat: CP support Table expandIcon (#47225)
* feat: CP support Table expandIcon

* fix: fix

* type: fix type
2024-01-30 13:57:49 +08:00
MadCcc
441ba5f5d1
fix: component style without hash (#46609)
* fix: Select style without hash

* fix: common style logic

* fix: lint

* fix: menu style

* chore: update checkbox demo

* chore: fix test

* chore: rm test
2024-01-30 11:08:02 +08:00
dependabot[bot]
c61870ebf8
chore(deps): update rc-tree requirement from ~5.8.2 to ~5.8.3 (#47215)
Updates the requirements on [rc-tree](https://github.com/react-component/tree) to permit the latest version.
- [Release notes](https://github.com/react-component/tree/releases)
- [Changelog](https://github.com/react-component/tree/blob/master/CHANGELOG.md)
- [Commits](https://github.com/react-component/tree/compare/v5.8.2...v5.8.3)

---
updated-dependencies:
- dependency-name: rc-tree
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-29 20:18:50 +08:00
dependabot[bot]
028d21121a
chore(deps-dev): update sharp requirement from ^0.33.1 to ^0.33.2 (#47214)
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.1...v0.33.2)

---
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-01-29 20:01:49 +08:00
dependabot[bot]
af32e7daf4
chore(deps-dev): bump the dev-dependencies group with 2 updates (#47213)
---
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-01-29 20:01:01 +08:00
MadCcc
d8b98eb819
docs: update sketch resources (#47211) 2024-01-29 17:57:09 +08:00
二货爱吃白萝卜
18e85a7b81
feat: New Picker (#46982)
* chore: init

* chore: link picker

* chore: move files

* chore: update style

* chore: update types

* test: update snapshot

* test: update snapshot

* test: update snapshot

* test: update snapshot

* test: update snapshot

* test: fix test case

* test: update snapshot

* test: update snapshot

* test: update snapshot

* test: update snapshot

* chore: clesn up useless types

* chore: update types

* chore: fix types

* chore: fix types

* chore: fix types

* chore: fix types

* chore: fix types

* chore: fix types

* chore: fix types

* chore: fix types

* chore: fix types

* chore: update style

* chore: clean up

* chore: update types

* test: update snapshot

* test: update snapshot

* test: update snapshot

* test: update snapshot

* fix: format

* chore: update deps

* chore: feature merge master (#46794)

* fix: Fix typo s/Notificaiton/Notification/ (#46775)

* docs: supplement form preserve field description (#46788)

close https://github.com/ant-design/ant-design/issues/46773

* docs: tweak changelog drawer width in small screen (#46791)

* docs: Update compatible-style.zh-CN.md (#46790)

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

---------

Signed-off-by: afc163 <afc163@gmail.com>
Co-authored-by: hugo-syn <61210734+hugo-syn@users.noreply.github.com>
Co-authored-by: Shunze Chen <qianlonwork@outlook.com>
Co-authored-by: afc163 <afc163@gmail.com>

* chore: update locale size

* chore: lock dumi

* test: update snapshot

* test: update snapshot

* test: update snapshot

* test: update snapshot

* test: update snapshot

* test: update snapshot

* chore: bump version

* test: update snapshot

* test: update snapshot

* chore: bump version

* chore: update limit

* test: update snapshot

* docs: update 7 days sample

* chore: rm useless style

* chore: clean up style

* docs: add buddihist era demo

* refactor: interface

* chore: add multiple types

* docs: add demo

* chore: init style

* chore: init style

* chore: fill style

* chore: fill style

* chore: style

* chore: size of it

* chore: size style

* docs: add align demo

* docs: needConfirm

* chore: fix showWeek style

* test: update snapshot

* chore: fix ts

* chore: fix ts

* chore: fix ts

* chore: fix ts

* fix: week style

* docs: update dayjs note

* fix: style missing

* chore: fix footer extra style missing

* test: update snapshot

* test: update snapshot

* test: update snapshot

* test: update snapshot

* chore: demo update

* docs: update demo

* docs: min & max date

* test: update snapshot

* docs: add order

* chore: update deps

* test: update snapshot

* test: update snapshot

* chore: adjust style

* chore: clean up style

* test: update snapshot

* chore: fix comment

* chore: update align

* chore: bump rc-picker

* test: update snapshot

* test: update snapshot

* test: update snapshot

---------

Signed-off-by: afc163 <afc163@gmail.com>
Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: hugo-syn <61210734+hugo-syn@users.noreply.github.com>
Co-authored-by: Shunze Chen <qianlonwork@outlook.com>
Co-authored-by: afc163 <afc163@gmail.com>
Co-authored-by: lijianan <574980606@qq.com>
2024-01-29 15:34:48 +08:00
MadCcc
4ecc0d7f95
docs: optimize overview svg (#47203)
* docs: optimize overview svg

* docs: update

* docs: dark
2024-01-29 14:50:36 +08:00
lijianan
395ba88fd6
type: rm useless type (#47205) 2024-01-29 11:45:56 +08:00
Kirk Ross
bbca93e977
docs: Update customize-theme.en-US.md (#47204)
Fixes a few typos.

Signed-off-by: Kirk Ross <kirkbross@gmail.com>
2024-01-29 11:28:06 +08:00
lijianan
095b846cad
feat: CP support Tour closeIcon (#47200)
* feat: CP support Tour closeIcon

* fix: fix
2024-01-29 11:01:30 +08:00
0xflotus
52ad8b0a4a
chore: changed word in locale (#47199)
Signed-off-by: 0xflotus <0xflotus@gmail.com>
2024-01-28 21:47:50 +08:00
0xflotus
84fa4f59bf
chore: removed unnecessary whitespace in locale (#47198)
Signed-off-by: 0xflotus <0xflotus@gmail.com>
2024-01-28 21:47:09 +08:00
lijianan
95c3e100b5
Merge pull request #47185 from ant-design/master-merge-feature
chore: merge master into feature
2024-01-28 14:05:32 +08:00
栗嘉男
80db8eaf3b lint: fix merge branch lint error 2024-01-28 13:31:58 +08:00
栗嘉男
90b4d05a29 lint: fix merge branch lint error 2024-01-28 13:25:47 +08:00
栗嘉男
40a57b82c3 Merge branch 'master' into master-merge-feature 2024-01-28 12:02:05 +08:00
lijianan
2f141e6d25
Merge branch 'feature' into master-merge-feature 2024-01-28 11:58:38 +08:00
afc163
3365a84db1
docs(): release 5.13.3 (#47195)
* docs(): release 5.13.3

* docs: update changelog

* docs: fix changelog format
2024-01-28 00:00:25 +08:00
afc163
8eab5139ad
refactor: Drawer motion style (#47194)
* refactor: rewrite drawer motion style code

* style: improve Drawer motion

* refactor: simpify style code

* test: fix test coverage

* test: fix test coverage

* chore: remove !important

* chore: revert refactor code

* refactor: simpify style code

* refactor: simpify style code

* refactor: simpify style code

* refactor: simpify style code

* revert: move distance to 100%
2024-01-27 23:35:00 +08:00
afc163
201f1fc789
fix: Input.Search 1px smaller then Input (#47193) 2024-01-27 23:18:51 +08:00
afc163
57d8ae8fce
fix: Select and AutoComplete notFoundContent style missing (#47192) 2024-01-27 23:02:48 +08:00
afc163
c9d53f7a99
fix: Descriptions lost border style when children is falsy (#47191) 2024-01-27 23:01:44 +08:00
木木剑光
25eda833fb
fix(Table): the onFilter methods of column adds ability to filter children (#47170) 2024-01-27 22:11:54 +08:00
zhipenglin
f613db0226
fix: fix Affix placeholder height anomaly when browser zoom is 80%
Signed-off-by: zhipenglin <sunandmoon001@163.com>
2024-01-27 21:56:31 +08:00
huiliangShen
62df041f03
fix(Input): props show-count param display incorrect in space compact mode (#47112)
* fix(input):use show-count param display incorrect in space compact mode

* update compact-debug file

---------

Co-authored-by: banruo <shl@dataqin.com>
2024-01-27 20:36:50 +08:00
章鱼怪
7e4bca346d
feat: Segmented value type support generics (#47091)
* feat: Segmented value type support generics

* fix: type

* docs: update demo

* test: update snapshots

* Update components/segmented/demo/basic.tsx

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

* Revert "test: update snapshots"

This reverts commit 6f95cd674d.

---------

Signed-off-by: afc163 <afc163@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-01-27 20:19:10 +08:00
XiaoDong
33b1aa0a14
demo: fix the scroll area is scrolled to the bottom (#47186)
Co-authored-by: heyongqiang <heyongqiang@qtrade.com.cn>
2024-01-27 18:07:51 +08:00
KAM
601d4db14b
fix(Site): Fix the issue of font color not synchronizing with theme changes in code preview in dark mode on the document site. (#47179) 2024-01-27 17:06:14 +08:00