Commit Graph

630 Commits

Author SHA1 Message Date
𝑾𝒖𝒙𝒉
4dbb0075bb
docs(shared): Improve shared API docs ()
* docs: split shardProps

* chore: update english

* chore: update style

* chore: update snap
2024-12-02 23:03:44 +08:00
thinkasany
db62b9a12e
docs: Supplement missing en doc ()
* docs(tabs): Supplement missing en doc

* update snap
2024-11-27 23:05:45 +08:00
MadCcc
4dfa7ddf5e chore: update pre-publish 2024-11-21 01:50:33 +08:00
MadCcc
eb3fe50d99 chore: update pre-publish script 2024-11-20 22:26:02 +08:00
MadCcc
2c189d03ca
chore: update pre-publish () 2024-11-20 17:09:25 +08:00
𝑾𝒖𝒙𝒉
f7aa3ec692
chore: Update scripts/visual-regression/report-template.html () 2024-11-18 11:44:26 +08:00
𝑾𝒖𝒙𝒉
8f99da85ac
chore: Improve visual regression report () 2024-11-14 15:47:22 +08:00
陈帅
4e17ca7c26
docs: add 5.22.0 changelog ()
* docs: add 5.21.7 changelog

* docs: add 5.21.7 changelog

* chore: update version to 5.22.0 and add changelog entries

* fix(TreeSelect): 修复弹层高度不够的问题

* Update CHANGELOG.zh-CN.md

Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: 陈帅 <qixian.cs@outlook.com>

* Update CHANGELOG.zh-CN.md

Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: 陈帅 <qixian.cs@outlook.com>

* Update CHANGELOG.en-US.md

Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: 陈帅 <qixian.cs@outlook.com>

* fix: 修复 Menu title 内容的样式问题,修正葡萄牙语本地化翻译,提高准确性和一致性,优化 uz_UZ 国际化

* chore: 更新 CHANGELOG,修正 Input.OTP 组件 onInput 事件描述的格式

* fix: 修复 Menu title 内容的样式问题,优化葡萄牙语和 uz_UZ 国际化翻译的准确性和一致性

* Update CHANGELOG.zh-CN.md

Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: 陈帅 <qixian.cs@outlook.com>

* chore: 更新 CHANGELOG,修正 DatePicker 和 Input.OTP 组件的描述格式

* Update CHANGELOG.zh-CN.md

Co-authored-by: thinkasany <480968828@qq.com>
Signed-off-by: 陈帅 <qixian.cs@outlook.com>

* chore: 更新 CHANGELOG,修正 DatePicker 和 Modal Tour 组件的本地化描述

* chore: 更新 CHANGELOG,修正 DatePicker 和 Modal Tour 组件的描述格式,优化葡萄牙语和 uz_UZ 国际化翻译的准确性和一致性

---------

Signed-off-by: 陈帅 <qixian.cs@outlook.com>
Co-authored-by: afc163 <afc163@gmail.com>
Co-authored-by: thinkasany <480968828@qq.com>
2024-11-11 23:35:56 +08:00
thinkasany
69330b21ea
site: support issues href display for changedoc () 2024-10-22 12:22:30 +08:00
kaqiinono
de58553e98
chore: generate-cssinjs.ts run wrong in windows () 2024-10-16 17:57:53 +08:00
thinkasany
d9c778ca5f
site: add version update date for component changedoc () 2024-09-29 18:02:55 +08:00
afc163
ecb099d8d1
docs(🔥): release 5.21.0 with Splitter component and variant buttons ()
Co-authored-by: lijianan <574980606@qq.com>
2024-09-22 23:04:51 +08:00
renovate[bot]
863f61d908
chore(deps): update dependency eslint to v9 ()
Co-authored-by: afc163 <afc163@gmail.com>
2024-09-19 03:30:19 +08:00
Wanpan
742ce37887
feat:🔥New Component: Splitter ()
* feat: SplitPanel init

* feat: SplitPanel update

* feat: SplitPanel update

* feat: splitPanel update useResize

* feat: SplitPanel update

* feat: splitPanel update useResize

* feat: SplitPanel update

* feat: splitPanel demo

* feat: splitPanel update

* feat: splitPanel support complicated combination

* feat: SplitPanel rename to Splitter

* feat: Splitter support onRize

* feat: support collapsible

* feat: support token and collapsible

* feat: update docs

* feat: size defaultSize support string

* feat: min max support string

* feat: update

* feat: support DOM structure

* feat: Optimize UI

* feat: Optimize Code

* fix: Add a default size during initialization to prevent failure to obtain container size

* feat: optimized code

* feat: optimized code

* feat: Optimize Code

* Update components/splitter/demo/layout.tsx

Co-authored-by: lijianan <574980606@qq.com>
Signed-off-by: Wanpan <wanpan96@163.com>

* Update components/splitter/demo/multiple.tsx

Co-authored-by: lijianan <574980606@qq.com>
Signed-off-by: Wanpan <wanpan96@163.com>

* docs: update

* feat: Modify the style and optimize the interface

* feat: use PropsWithChildren

* feat: support rtl

* feat: collapsible supports object types

* fix: when collapsible is boolean not work

* feat: Splitter add test

* feat: update

* test: update snapshots

* docs: update

* test: update snapshots

* test: update

* test: update

* test: update

* test: update

* fix: Removed invalid min and max restrictions when collapsible exists

* test: update

* test: update

* test: update

* test: test coverage

* Revert "test: test coverage"

This reverts commit d247193722.

* test: test coverage

* feat: rename

* feat: optimized code

* ci: lint

* feat: optimized code

* feat: add useag tips

* feat: optimized code

* feat: Modify splitbar layout

* feat: optimized code

* feat: numerical precision

* feat: optimized code

* feat: Optimized trigger region

* feat: Support configuration animation

* fix: Fix Collapsible exception when using multiple panels

* fix: Fixed the issue of drag area overlapping when multiple panels are folded

* feat: optimized code

* feat: annotation

* feAt: optimized code

* fix: bgcolor

* fix: Modify the initial value calculation method

* test: update

* feat: add cover image

* chore: adjust logic

* chore: use items size

* chore: rtl

* chore: limit

* chore: controlled

* docs: update demo

* docs: adjust style

* chore: add split style

* chore: hor collapisble style

* chore: collapse icon

* chore: update warning

* chore: clean up

* chore: collapse logic

* chore: adjust demo

* chore: clean up

* test: adjust logic

* docs: update demo

* docs: rm useless demo

* docs: demo

* test: add demo test

* test: test of them

* test: 100% coverage

* chore: fix lint

* docs: update demo

* refactor: unique resize config

* docs: add demo

* fix: support virtual resiable

* chore: add cursor mask

* test: update snapshot

* test: add test case

* test: update snapshot

* chore: use px base

* chore: rm useless code

---------

Signed-off-by: Wanpan <wanpan96@163.com>
Co-authored-by: lijianan <574980606@qq.com>
Co-authored-by: 二货机器人 <smith3816@gmail.com>
Co-authored-by: ice <49827327+coding-ice@users.noreply.github.com>
2024-09-09 19:23:25 +08:00
Wanpan
730a37f0bd
feat[Collapse]: support classNames and styles ()
* feat[Collapse]: support classNames and styles

* fix: update

* fix: update

* feat[Collapse]: update

* Empty-Commit

* docs: update

* docs: update

* docs: update

* docs: update

* docs: update

---------

Co-authored-by: afc163 <afc163@gmail.com>
2024-08-27 14:07:25 +08:00
github-actions[bot]
63720299d4
chore: auto merge branches ()
chore: merge master into feature
2024-08-13 19:03:30 +00:00
thinkasany
b34d20860c
docs(card): use card semantic-dom instead of table ()
Co-authored-by: codefactor-io <support@codefactor.io>
2024-08-13 15:59:36 +08:00
afc163
2f64ecf7a8
test: enable codecov bundle analysis () 2024-08-13 13:32:17 +08:00
afc163
e1e0c0bcd8
docs( ): release 5.20.1 ()
* docs: release 5.20.1

* docs: release 5.20.1

* docs: release 5.20.1

* update changelog

* update changelog

* update changelog

* fix surge preview

* Update scripts/print-changelog.ts

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

---------

Signed-off-by: afc163 <afc163@gmail.com>
2024-08-11 22:53:01 +08:00
栗嘉男
e5f094aabb chore: merge master into feature 2024-08-11 17:39:06 +08:00
afc163
0c97a6fa43
test: speed up test workflow ()
* test: faster test.yml

* test: upgrade to node 20

* fix depends

* fix needs

* fix needs

* fix needs

* fix needs

* test: update test.yml

* test: update test.yml

* test: update test.yml

* test: update test.yml

* test: update test.yml

* test: update test.yml

* test: update test.yml

* test: update test.yml

* test: update test.yml

* fix: lib es test

* fix: lib es test

* fix: lib es test

* skip dist test in react lagacy

* Update test.yml

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

---------

Signed-off-by: afc163 <afc163@gmail.com>
2024-08-11 14:14:06 +08:00
renovate[bot]
d6be2b22af
chore(deps): update dependency cheerio to v1.0.0 ()
* chore(deps): update dependency cheerio to v1.0.0

* Update check-site.ts

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

* Update package.json

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

* Update scripts/check-site.ts

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

---------

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-08-11 13:10:28 +08:00
vagusX
05083493b0
chore: retry upload add delay () 2024-08-08 14:48:18 +08:00
vagusX
1ace7e22bf
test: fix test:visual-regression when moving imgs () 2024-08-05 20:10:01 +08:00
renovate[bot]
7fdfb299eb
chore(deps): update dependency @typescript-eslint/parser to v8 ()
* chore(deps): update dependency @typescript-eslint/parser to v8

* Update package.json

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

* fix eslint 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-08-04 12:24:35 +08:00
vagusX
997650ec4f
docs: v5.20.0 ()
* docs: v5.20.0

* docs: fix changelog lint

* chore: update

* chore: update

* Update CHANGELOG.zh-CN.md

Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: vagusX <vagusxl@gmail.com>

* Update CHANGELOG.zh-CN.md

Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: vagusX <vagusxl@gmail.com>

* Update CHANGELOG.zh-CN.md

Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: vagusX <vagusxl@gmail.com>

* chore: update

* docs: update

---------

Signed-off-by: vagusX <vagusxl@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-08-03 21:30:01 +08:00
vagusX
cbdbed3013
test: set maxWorkers for test:visual-regression ()
* test: set maxWorkers for test:visual-regression

* chore: print args

* chore: set max-workers to 4

* test: use move instead of copy

* chore: set max-workers to 2
2024-08-03 20:24:15 +08:00
vagusX
9484dd3d1e
docs: improve Segmented docs with SegmentedItemType ()
* docs: improve Segmented docs with SegmentedItemType

* chore: update

* chore: update

* test: update snapshot

* docs: update
2024-08-03 11:49:19 +08:00
二货爱吃白萝卜
832cffcdf9
feat: ColorPicker support gradient color ()
* refactor: support type update

* chore: update clear style

* chore: bump color picker

* chore: use slider

* chore: bump color picker

* chore: range slider

* chore: layout

* chore: useModeColor

* chore: simplify

* chore: bump color picker

* refactor: event

* chore: tmp lock check

* chore: of it

* chore: update ts def

* chore: update ts def

* chore: remove useless ts

* chore: linear

* chore: adjust style

* chore: rm useless code

* chore: fill color

* chore: basic linear

* chore: support toStr

* chore: limit minCount

* chore: use cache

* chore: drag support:

* chore: yes

* chore: update demo

* chore: useLayoutEffect instead

* chore: fix click to add point

* chore: add smmoth

* chore: support of locale

* chore: add locale

* chore: fix lint

* chore: adjust style

* chore: fix lint

* chore: fix style

* test: fix test case

* chore: fix popover

* test: fix test case

* chore: fix test

* test: clean up

* chore: fix lint

* chore: fix lint

* chore: fix lint

* test: coverage

* test: coverage

* test: coverage

* test: coverage

* test: coverage

* test: coverage

* chore: fix docs

* docs: update demo desc

* chore: enhance hover range

* fix: delete not working

* chore: fix lint

* test: coverage

* test: coverage

* chore: clean up

* chore: adjust

* chore: highlight

* chore: adjust style

* chore: fix lint

* chore: update demo

* chore: memo perf

* refactor: up to down colors

* test: update snapshot
2024-07-29 16:38:50 +08:00
vagusX
6202187d6b
ci: we can skip a single file uploading error when uploading a folder… ()
* ci: we can skip a single file uploading error when uploading a folder in scripts/visual-regression/upload.js

* chore: update
2024-07-27 16:58:27 +08:00
🏎️ Yumo
965b68cfea refactor(theme): migrate and refactor statistic.ts by @ant-design/cssinjs-utils 2024-07-23 17:40:45 +08:00
Peach
92a5973442
docs: changelog for 5.19.3 ()
* docs: changelog for 5.19.3

* chore: bump version to 5.19.3

* docs: update changelog

* docs: add i18n emoji for changelog lint

* docs: add changelog

* docs: update
2024-07-19 16:30:14 +08:00
二货爱吃白萝卜
0adecd843b
docs: always show the commitor () 2024-07-15 19:10:47 +08:00
柚子
d540893dd0
type: remove type assertions ()
* typo fix

Signed-off-by: 柚子 <69612382+Yuzu-io@users.noreply.github.com>

* typo fix

Signed-off-by: 柚子 <69612382+Yuzu-io@users.noreply.github.com>

* type: Remove type assertions

* fix: Correct CSS property order and media feature notation

---------

Signed-off-by: 柚子 <69612382+Yuzu-io@users.noreply.github.com>
2024-07-14 18:31:13 +08:00
85c31f1c43
ci: add stackblitz templates ()
* ci: add stackblitz templates

ref: https://github.com/ant-design/ant-design/pull/49647#issuecomment-2197884871

* chore: update ignore

* chore: fix

* chore: fix ci

* chore: update

* chore: update

* chore: 节约 ci 资源

* Revert "chore: 节约 ci 资源"

This reverts commit 0a3bb297f3.
2024-07-12 16:38:49 +08:00
lijianan
2cf4984b81
chore(deps-dev): bump inquirer from 9 to 10 () 2024-07-08 10:02:17 +08:00
MadCcc
6a9af3379e chore: add dotenv 2024-07-05 17:35:31 +08:00
afc163
8e3cbfe018
chore: ignore generate-token-meta warning () 2024-06-28 15:02:59 +08:00
lijianan
2b629ef391
type: rm useless type of reducer ()
* type: rm useless type of reducer

* Update components/_util/ActionButton.tsx

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

---------

Signed-off-by: lijianan <574980606@qq.com>
2024-06-22 23:57:39 +08:00
afc163
59ad48476b
refactor: add boime lint and fix lint errrors ()
* chore: add boime lint

* fix lint

* use files ignore

* revert change

* ignore clarity.js

* fix some errors

* fix some errors

* fix some errors

* fix some errors

* add yml file

* Update clarity.js

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

* add npm run lint:biome

* add npm run lint:biome

* fix test case

* fix ts errors

* fix ts errors

* fix lint and add .lintstagedrc

* shorten prop name

* chore: update package.json

* update biome.json

* chore: remove stylelint

* chore: useOptionalChain

* fix lint

* biome format

* prettier all code

* prettier all code

* fix site test

---------

Signed-off-by: afc163 <afc163@gmail.com>
2024-06-22 21:59:12 +08:00
afc163
4380c6b72d
docs(): release 5.18.3 ()
* docs(): release 5.18.3

* Update CHANGELOG.en-US.md

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

* Update CHANGELOG.zh-CN.md

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

* Update generate-component-changelog.ts

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

* Update scripts/generate-component-changelog.ts

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

---------

Signed-off-by: afc163 <afc163@gmail.com>
2024-06-19 13:31:19 +08:00
vagusX
b2d82895b9
docs: changelog for v5.18.2 ()
* docs: changelog for v5.18.2

* docs: lint

* Update CHANGELOG.zh-CN.md

Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: vagusX <vagusxl@gmail.com>

* chore: update

---------

Signed-off-by: vagusX <vagusxl@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-06-17 19:43:37 +08:00
二货爱吃白萝卜
37e758cbd0
feat: Visual diff support approve progress ()
* refactor: adjust failed build

* feat: approve check

* chore: checkbox accept

* chore: update check

* chore: clean up

* chore: typo
2024-05-20 19:55:59 +08:00
afc163
05f9362891
docs(:): release 5.17.0 ()
* docs(): release 5.17.0

* Update CHANGELOG.zh-CN.md

Co-authored-by: Amumu <yoyo837@hotmail.com>
Signed-off-by: afc163 <afc163@gmail.com>

* Apply suggestions from code review

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

* Update CHANGELOG.zh-CN.md

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

* Update CHANGELOG.zh-CN.md

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

* Apply suggestions from code review

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

* docs: fix changelog format

* docs: fix changelog format

* docs: fix changelog format

* Apply suggestions from code review

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

---------

Signed-off-by: afc163 <afc163@gmail.com>
Co-authored-by: Amumu <yoyo837@hotmail.com>
2024-05-02 22:56:09 +08:00
tanghui
d70de6c6e6 Merge branch 'master' into feature-merge-master 2024-04-26 17:20:46 +08:00
lijianan
b9d90f8299
chore: simplify import expression from package.json () 2024-04-24 11:06:12 +08:00
vagusX
7c23e51400
docs: fix wrong anchor for form#dependencies ()
* docs: fix wrong anchor for form#dependencies

* test: update snapshot

* scripts: add new badcases to reporter

* scripts: added one

* scripts: copy new added imgs

* scripts: fix filename

* scripts: fix path

* scripts: fix src and dest
2024-04-23 15:50:48 +08:00
lijianan
27c942a00b
Merge pull request from ant-design/master
chore: merge master into feature
2024-04-18 10:11:58 +08:00
Cooper
c7f2760007
feat: add Tabs more props ()
* 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
二货爱吃白萝卜
717272daa2
chore: build with upload ()
* 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