Commit Graph

27656 Commits

Author SHA1 Message Date
lijianan
cc51d06117
test: solve test cov (#48611)
* test: solve test cov

* test: solve test cov
2024-04-25 11:08:55 +08:00
希亚的西红柿
9acde83991
feat: add tabindex option for paragraph button (#48567)
* feat: add tabIndex option for paragraph

* test: update snapshot

* test: update test case

* revert: revert the testcase

* test: update test case

* fix: fix the coverage test

* chore: code optimize

* Update index.tsx

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

* Update CopyBtn.tsx

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

* Update transButton.tsx

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

* Update copy.test.tsx

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

* Update CopyBtn.tsx

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

---------

Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: lijianan <574980606@qq.com>
2024-04-24 18:06:38 +08:00
lijianan
5c2e6e3651
Merge pull request #48573 from ant-design/master
chore: merge master into feature
2024-04-22 17:09:35 +08:00
二货爱吃白萝卜
50d8201aa0
docs: 5.16.4 changelog (#48575)
* docs: 5.16.4 changelog

* docs: fix lint
2024-04-22 15:15:43 +08:00
二货爱吃白萝卜
4eebc0c142
fix: Select token with paddingXXS (#48574)
* fix: paddingXXS

* docs: update demo

* chore: adjust logic

* chore: fix lint

* fix: datePicker style
2024-04-22 13:50:24 +08:00
zhw
ff2268e3cb
fix: Transfer deselect locale (#48553) 2024-04-22 12:03:12 +08:00
希亚的西红柿
c3f5e27c1c
fix: margin problem in css value mode (#48569)
* fix: fix the flex gap problem

* fix: adapt margin problem in css value mode

---------

Co-authored-by: afc163 <afc163@gmail.com>
2024-04-22 12:02:12 +08:00
二货爱吃白萝卜
c321492eeb
fix: Slider range exchange tooltip blink (#48536)
* fix: slider tooltip pos

* chore: clean up

* chore: fix style

* chore: bump rc-slider

* fix: lock clean up logic

* chore: finish

* test: update snapshot

* chore: bump rc-slider

* test: update snapshot

* test: test coverage

* chore: clean up
2024-04-22 10:26:14 +08:00
二货爱吃白萝卜
ae155b97d5
chore: add bug version & fix test case (#48571)
* chore: add bug version

* test: clean up

* test: fix test case

* chore: fix lint

* test: fix test case

* test: fix test case
2024-04-21 23:56:41 +08:00
xrkffgg
3865e8e2ab
docs: add 5.16.3 changelog (#48564) 2024-04-21 15:30:35 +08:00
thinkasany
f6db43b090
fix(demo): optimize fetchData for table (#48560) 2024-04-20 21:51:29 +08:00
afc163
ed127e9418
feat: Carousel support arrows for switching (#48542)
* feat: Carousel support arrows function

* fix: order matters

* feat: Carousel support arrows in vertical mode

* chore: update snapshot

* Apply suggestions from code review

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

* chore: fix lint

* chore: fix lint

* chore: dotMargin => dotGap

---------

Signed-off-by: afc163 <afc163@gmail.com>
2024-04-19 17:17:56 +08:00
thinkasany
0bc2e3a838
fix(table): Add missing zh translation (#48543) 2024-04-19 15:01:17 +08:00
Edi Kurniawan
1ec5b28c9a
local: transalate Picker to indonesian (#48537)
* feat: translate all to indonesian

I have transalate all to Indonesian

Signed-off-by: Edi Kurniawan <edikurniawan.dev@gmail.com>

* fix: use ' instead of "

Signed-off-by: Edi Kurniawan <edikurniawan.dev@gmail.com>

* feat:  translate to indonesian

* feat: 🌐 transalate date and time picker to indonesian

---------

Signed-off-by: Edi Kurniawan <edikurniawan.dev@gmail.com>
Co-authored-by: vagusX <vagusxl@gmail.com>
2024-04-19 13:38:40 +08:00
dependabot[bot]
d743ee30b6
chore(deps-dev): bump the dev-dependencies group with 2 updates (#48533)
* chore(deps-dev): bump the dev-dependencies group with 2 updates

---
updated-dependencies:
- dependency-name: "@types/tar"
  dependency-type: direct:development
  dependency-group: dev-dependencies
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: dev-dependencies
- dependency-name: rc-virtual-list
  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-04-18 21:28:36 +08:00
dependabot[bot]
8881388dcf
chore(deps-dev): update vanilla-jsoneditor requirement (#48534)
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.1...v0.23.2)

---
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-04-18 20:34:10 +08:00
afc163
f4b7c0122f
demo: simplify transfer table example (#48529)
* demo: simplify transfer table example

* demo: simplify transfer table example
2024-04-18 17:45:47 +08:00
二货爱吃白萝卜
f77302553d
fix: Input.Search large size button style (#48527)
* fix: Input.Search large size button style

* chore: adjust logic

* chore: rename
2024-04-18 16:06:35 +08:00
github-actions[bot]
2d237d0e93
chore: auto merge branches (#48526)
chore: merge master into feature
2024-04-18 05:07:06 +00:00
栗嘉男
ad7fdb01d5 chore: merge master into feature 2024-04-18 12:41:26 +08:00
afc163
5fbca4afa9
chore: increase size-limit size limit (#48525)
Signed-off-by: afc163 <afc163@gmail.com>
2024-04-18 11:01:43 +08:00
korkt-kim
1b43d38fd6
fix: Change text color in disabled textarea (#48489)
Co-authored-by: NZ10387 <nz10387@naverz-corp.com>
2024-04-18 11:00:51 +08:00
希亚的西红柿
c8f6aee6e5
fix: fix the flex gap problem (#48522) 2024-04-18 10:31:22 +08:00
lijianan
27c942a00b
Merge pull request #48524 from ant-design/master
chore: merge master into feature
2024-04-18 10:11:58 +08:00
Wanpan
273104cb1d
fix: switch checkedChildren no height (#48513)
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2024-04-17 22:25:46 +08:00
二货爱吃白萝卜
d524a4cd6c
chore: comment on size-limit (#48521) 2024-04-17 21:47:05 +08:00
dependabot[bot]
6b5a6d24b0
chore(deps-dev): bump the dev-dependencies group with 2 updates (#48519)
* chore(deps-dev): bump the dev-dependencies group with 2 updates

Updates the requirements on [eslint](https://github.com/eslint/eslint) and [inquirer](https://github.com/SBoudrias/Inquirer.js) to permit the latest version.

Updates `eslint` from 8.57.0 to 9.0.0
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.57.0...v9.0.0)

Updates `inquirer` to 9.2.19
- [Release notes](https://github.com/SBoudrias/Inquirer.js/releases)
- [Commits](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@9.2.18...inquirer@9.2.19)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: dev-dependencies
- dependency-name: inquirer
  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-04-17 21:08:33 +08:00
9965d96259
feat(form): improve scrollToField logic (#48211)
* feat(form): improve scrollToField logic

* docs: update form faq

* test: add unit test

* fix: boundary error

* style: update code

ref: https://github.com/ant-design/ant-design/pull/48211#discussion_r1547535631
ref: https://github.com/ant-design/ant-design/pull/48211#issuecomment-2031635922

* docs: add scrolltofield demo

* chore: update snapshot

* Update components/form/demo/validate-scroll2field.md

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

* chore: update demo

* chore: update logic

* chore: update snapshot

* Update components/form/demo/validate-scroll-to-field.tsx

Co-authored-by: lijianan <574980606@qq.com>
Signed-off-by: 红 <wxh16144@qq.com>

* chore: update demo

* chore: update snap

* chore: update

* chore: update demo

* chore: update

* chore: update docs

* chore: update

* chore: update snap

* Update components/form/demo/validate-scroll-to-field.tsx

Co-authored-by: crazyair <crazyair@users.noreply.github.com>

Signed-off-by: 红 <wxh16144@qq.com>

* chore:update logic

* test: add unit test

ref: https://github.com/ant-design/ant-design/issues/28869

* chore: update demo

* test: update snap

* chore: update demo

* chore: update

* chore: update

* chore: fix TS type

* chore: update demo fix layout

* chore: update demo

---------

Signed-off-by: 红 <wxh16144@qq.com>
Co-authored-by: afc163 <afc163@gmail.com>
Co-authored-by: lijianan <574980606@qq.com>
2024-04-17 17:56:29 +08:00
二货爱吃白萝卜
4cefa2fa64
doc: fix site render (#48514)
* docs: fix markdown

* docs: clean up
2024-04-17 17:27:16 +08:00
叶枫
9b72caf77e
feat: up form (#48486) 2024-04-17 15:54:42 +08:00
叶枫
0d34e0b9d8
feat: noStyle no warning (#48508) 2024-04-17 14:38:15 +08:00
Cooper
8026366676
feat: add inlineMargin token support form inline layout (#48362)
* feat: add inlineMargin token support form inline layout

* fix

* fix

---------

Co-authored-by: afc163 <afc163@gmail.com>
2024-04-17 12:09:08 +08:00
Cooper
c7f2760007
feat: add Tabs more props (#48321)
* feat: add Tabs more props

* fix

* fix

* Compatible with moreIcon

* compatible ConfigProvider with the moreIcon

* update site snap

* fix

* fix

* fix

* fix

* fix

---------

Co-authored-by: afc163 <afc163@gmail.com>
2024-04-17 12:05:43 +08:00
@linhf2024
a512f81222
fix(popover): support defaultOpen (#48481)
* fix(popover): support defaultOpen

* chore: add test

* fix: remove test code

* fix: open use default value

* chore: Coding style

* chore: devtool add warning

* fix: remove warning

* fix: Remove unused dependencies

---------

Co-authored-by: linhf123 <wb-lhf780012@antgroup.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-04-17 11:34:11 +08:00
lijianan
4b2a94e383
chore: code optimization (#48495)
* chore: code optimization

* Update components/theme/util/calc/CSSCalculator.ts

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-04-17 11:02:43 +08:00
dependabot[bot]
30afc97fc1
chore(deps-dev): bump the dev-dependencies group with 5 updates (#48492)
* chore(deps-dev): bump the dev-dependencies group with 6 updates

---
updated-dependencies:
- dependency-name: "@biomejs/biome"
  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: eslint
  dependency-type: direct:development
  update-type: version-update:semver-major
  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-04-16 21:23:40 +08:00
二货爱吃白萝卜
c664676cc0
enhance: speedup image snapshot diff (#48487)
* chore: rm useless code

* chore: fix reset logic
2024-04-16 19:07:16 +08:00
二货爱吃白萝卜
717272daa2
chore: build with upload (#48456)
* chore: build with upload

* chore: use zip instead

* chore: tmp of it

* chore: done of logic

* chore: clean up

* chore: rm test logic

* chore: udpate log

* chore: tmp of it

* chore: tmp of it

* chore: back

* chore: clean up

* chore: more print

* chore: xx.xx%

---------

Co-authored-by: afc163 <afc163@gmail.com>
2024-04-16 16:41:02 +08:00
Edi Kurniawan
acbc46d798
feat: translate all to indonesian (#48287)
* feat: translate all to indonesian

I have transalate all to Indonesian

Signed-off-by: Edi Kurniawan <edikurniawan.dev@gmail.com>

* fix: use ' instead of "

Signed-off-by: Edi Kurniawan <edikurniawan.dev@gmail.com>

* feat:  translate to indonesian

---------

Signed-off-by: Edi Kurniawan <edikurniawan.dev@gmail.com>
Co-authored-by: vagusX <vagusxl@gmail.com>
2024-04-16 15:10:18 +08:00
afc163
8c50a65759
docs: fix locale source code path (#48482)
* docs: fix locale source code path

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

* Update i18n.zh-CN.md

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

---------

Signed-off-by: afc163 <afc163@gmail.com>
2024-04-16 15:04:24 +08:00
希亚的西红柿
5716831849
fix: DatePicker with multiple support placeholder (#48387)
* feat: add placeholder option for multiple datepicker

* fix: update style

* chore: bump rc-picker

* test: update snapshot

---------

Co-authored-by: afc163 <afc163@gmail.com>
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2024-04-16 14:54:19 +08:00
Guo Yunhe
33ae55f928
fix(Collapse): arrow selector (#48417)
* fix(Collapse): arrow selector

* fix(Collapse): arrow selector

* fix: transition

---------

Co-authored-by: vagusX <vagusxl@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-04-16 13:37:52 +08:00
afc163
9a0e2ad91f
chore(deps): update dependency remark-preset-lint-recommended to v7 (#48479)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-16 13:36:01 +08:00
lijianan
fa6f113dde
refactor: use css token replace 4px (#48474) 2024-04-16 11:42:45 +08:00
metouch
25628528b8
fix: make the animation of Menu smoother while expanding the Sider which embedded with a Menu (#48121) (#48127)
Co-authored-by: afc163 <afc163@gmail.com>
2024-04-16 11:23:01 +08:00
MadCcc
0a7e225863
fix: ColorPicker default clear value should change if set (#48450)
* fix: ColorPicker default clear value should change if set

* chore: code clean

---------

Co-authored-by: afc163 <afc163@gmail.com>
2024-04-16 10:55:15 +08:00
renovate[bot]
8e076f1ebe
chore(deps): update dependency remark-lint to v10 (#48438)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-16 10:49:57 +08:00
afc163
e7d685d4d6
docs: improve resource page style (#48460)
* docs: improve resource page style

* docs: improve resource page style

* docs: improve resource page style

* Update .dumi/theme/builtins/ResourceCards/index.tsx

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

---------

Signed-off-by: afc163 <afc163@gmail.com>
Co-authored-by: lijianan <574980606@qq.com>
2024-04-16 10:31:13 +08:00
lijianan
8a4a83ace7
Merge pull request #48471 from ant-design/master
chore: merge master into feature
2024-04-16 10:17:57 +08:00
dependabot[bot]
cd901207d6
chore(deps-dev): bump the dev-dependencies group with 6 updates (#48469)
* chore(deps-dev): bump the dev-dependencies group with 6 updates

---
updated-dependencies:
- dependency-name: "@testing-library/react"
  dependency-type: direct:development
  dependency-group: dev-dependencies
- dependency-name: "@types/react"
  dependency-type: direct:development
  dependency-group: dev-dependencies
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: dev-dependencies
- dependency-name: inquirer
  dependency-type: direct:development
  dependency-group: dev-dependencies
- dependency-name: puppeteer
  dependency-type: direct:development
  dependency-group: dev-dependencies
- dependency-name: qs
  dependency-type: direct:development
  dependency-group: dev-dependencies
- dependency-name: remark-lint
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: dev-dependencies
- dependency-name: remark-lint-no-undefined-references
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: dev-dependencies
- dependency-name: remark-preset-lint-recommended
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: dev-dependencies
- dependency-name: tar
  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>

* 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-04-15 22:34:24 +08:00