Commit Graph

605 Commits

Author SHA1 Message Date
vagusX
997650ec4f
docs: v5.20.0 (#50218)
* 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 (#50219)
* 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 (#50205)
* 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 (#50050)
* 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… (#50108)
* 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 (#49962)
* 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 (#49881) 2024-07-15 19:10:47 +08:00
柚子
d540893dd0
type: remove type assertions (#49859)
* 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 (#49841)
* 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 (#49764) 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 (#49637) 2024-06-28 15:02:59 +08:00
lijianan
2b629ef391
type: rm useless type of reducer (#49555)
* 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 (#49536)
* 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 (#49491)
* 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 (#49444)
* 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 (#48994)
* 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 (#48743)
* 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 (#48602) 2024-04-24 11:06:12 +08:00
vagusX
7c23e51400
docs: fix wrong anchor for form#dependencies (#48570)
* 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 #48524 from ant-design/master
chore: merge master into feature
2024-04-18 10:11:58 +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
二货爱吃白萝卜
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
George H
9ba577f3df
fix :fix npm start when memory more than 8192 (#48462)
Co-authored-by: lijianan <574980606@qq.com>
2024-04-15 16:27:47 +08:00
afc163
9517942fac
chore: git tag after npm publish (#48454) 2024-04-15 15:53:50 +08:00
vagusX
b42ffe64f4
scripts(visual-regression): show target filename (#48444)
* scripts(visual-regression): show target filename

* feat: update

* feat: show filename

* feat: update
2024-04-15 14:40:10 +08:00
George H
bfa23e16a0
chore: add script to adapt os memory (#48435)
* chore: add script to adapt os memory

* update

* update

* use typescript

* fix
2024-04-15 10:23:35 +08:00
vagusX
0072587f14
scripts: fix tar esm issue (#48442)
* Update build.ts

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

* Update build.ts

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

---------

Signed-off-by: vagusX <vagusxl@gmail.com>
2024-04-14 11:09:47 +08:00
叶枫
502dac12aa
docs: format code (#48309)
* docs: fix code

* feat: lint

* feat: prettier

* feat: test

* feat: review

* feat: format html

* feat: format html
2024-04-08 14:04:08 +08:00
afc163
a125dfee8b
chore: add notice before publish to npm / remove progress (#48323)
* chore: add notice before publish to npm

* chore: remove progress
2024-04-07 22:45:53 +08:00
afc163
0a18e5ba41
chore: improve publish process (#48264)
* chore: improve publish process by skipping test command (#48230)

* chore: speed up publishing

* chore: check runs

* chore: check runs

* chore: check runs

* chore: check runs

* chore: check runs

* chore: check runs

* chore: check runs

* chore: check runs

* chore: check runs

* chore: check runs

* chore: check runs

* chore: skip test

* fix: types

* revert demo change

* fix: script

* chore: fix duplicate parts

* chore: fix duplicate parts

* chore: fix duplicate parts

* improve code

* use latest.hash

chore: download build artifacts from remote

chore: skip build when publish

chore: improve cli log

chore: fix something

chore: fix something

chore: fix something

chore: fix something

chore: fix something

chore: fix upload-build-artifacts

chore: fix needs

chore: fix needs

* chore: check map files

* chore: check package diff before publish

* chore Please use `npm publish` instead

* chore: sort-package-json

* chore: fix needs

* chore: import download process

* fix types

* fix types

* chore: update scripts

* chore: codesandbox ci

* fix token:statistic

* fix token:statistic

* fix ci

* fix ci

* chore: codesandbox ci

* fix ci

* chore: only upload when push to master
2024-04-07 19:14:44 +08:00
lijianan
47e46fabcc
test: fix master CI fail (#48313) 2024-04-07 14:23:07 +08:00
afc163
add81b3e65
Revert "chore: improve publish process by skipping test command (#48230)" (#48263)
This reverts commit dd17e3bac2.
2024-04-04 14:17:15 +08:00
afc163
dd17e3bac2
chore: improve publish process by skipping test command (#48230)
* chore: speed up publishing

* chore: check runs

* chore: check runs

* chore: check runs

* chore: check runs

* chore: check runs

* chore: check runs

* chore: check runs

* chore: check runs

* chore: check runs

* chore: check runs

* chore: check runs

* chore: skip test

* fix: types

* revert demo change

* fix: script

* chore: fix duplicate parts

* chore: fix duplicate parts

* chore: fix duplicate parts

* improve code

* use latest.hash
2024-04-02 20:44:30 +08:00
叶枫
14a1e6bd51
feat: tsconfig enable strict (#47998)
* feat: tsconfig enable strict

* feat: add no-explicit-any

* feat: strict

* feat: as THEME

* feat: 优化 keys 类型写法

* feat: demo remove any

* feat: as number

* feat: this any

* feat: add eslint

* feat: cascader

* feat: props any

* feat: remove any

* feat: remove any

* feat: any 提示错误

* feat: remove any

* feat: add eslint

* feat: 允许 T = any 存在

* feat: color funciton

* feat: 恢复 lint

* feat: merge master

* feat: as ReactElement

* feat: type
2024-04-01 15:49:45 +08:00
kiner-tang
e9167fbe4b
docs: opt docs update (#48193)
* docs: opt changelog

* docs: opt changelog

* Update CHANGELOG.zh-CN.md

Co-authored-by: lijianan <574980606@qq.com>
Signed-off-by: kiner-tang <1127031143@qq.com>

* Update CHANGELOG.en-US.md

Co-authored-by: lijianan <574980606@qq.com>
Signed-off-by: kiner-tang <1127031143@qq.com>

* docs: opt changelog

---------

Signed-off-by: kiner-tang <1127031143@qq.com>
Co-authored-by: lijianan <574980606@qq.com>
2024-03-31 20:02:07 +08:00
二货爱吃白萝卜
100fa29bef
feat: Input.OTP component support (#48076)
* chore: basic control

* chore: input instad

* docs: update demo

* chore: adjust operation interactive

* chore: lock selection

* chore: fix patch logic

* chore: merge logic

* chore: patch autoFocus

* test: update snapshot

* test: add test case

* test: coverage

* chore: update size limit

* docs: update docs

* test: fix test case

* chore: update comment

* refactor: change to length

* chore: blur all

* chore: size limit
2024-03-28 14:05:58 +08:00
lijianan
dfd0106994
site: rewrite inline-style => cssinjs (#48018) 2024-03-22 15:43:15 +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
叶枫
d1da5f7f8f
feat: preview image (#47930)
* feat: preview image

* feat: test

* feat: download false

* feat: review
2024-03-20 13:34:04 +08:00
MadCcc
dd3e1b2a2e
chore: fix snapshots upload (#47509) 2024-02-21 09:43:23 +08:00
003debe36d
chore: imrpove local visual regression report path (#47362) 2024-02-06 12:52:43 +08:00
二货爱吃白萝卜
c3c9cfd652
chore: fix diff report (#47349)
* chore: fix diff report

* Update scripts/visual-regression/build.ts

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

---------

Signed-off-by: afc163 <afc163@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-02-05 21:08:36 +08:00
afc163
a12bea1834
test: improve Visual Regression UI (#47345) 2024-02-05 14:29:44 +08:00
afc163
2455128e73
test: improve Visual Regression UI (#47344) 2024-02-05 13:35:16 +08:00
二货爱吃白萝卜
7104513a84
docs: Support semantic preview (#47332)
* docs: init

* docs: semantic block

* docs: part of demo

* docs: modal

* docs: slider

* docs: space

* docs: all sementic

* docs: clean up

* chore: fix lint

* chore: clean up

* chore: update script

* test: fix test case

* test: update testcase
2024-02-05 11:45:42 +08:00
lijianan
106a0d88c1
docs: update release date (#47322) 2024-02-04 00:39:00 +08:00
lijianan
326ae986b9
Merge pull request #47297 from ant-design/master
chore: merge master into feature
2024-02-01 23:59:16 +08:00