Commit Graph

596 Commits

Author SHA1 Message Date
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 0a3bb297f318c12bb61d29479f10a8e1d43743c8.
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
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
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
vagusX
e7d4d65c0f
workflow: update upload.js with retry (#47018)
Signed-off-by: vagusX <vagusxl@gmail.com>
2024-01-18 14:05:46 +08:00
vagusX
46abe90272
test: improve image-diff resize (#46986)
* ci: enable splitTheme

* chore: remove blue border

* test: improve image-diff when size is different
2024-01-15 19:22:33 +08:00
Amumu
30c60b58fd
chore: extract deprecated versions to json file (#46746)
* chore: extracting depreciated version to json file

* chore: add to compile

* chore:  rename

* chore: add 3.x deprecated

* chore: move dir

* chore: revert commit

* chore: update copy logic

* chore: update

* chore: update

---------

Co-authored-by: wuxh <wxh1220@gmail.com>
2024-01-05 15:41:07 +08:00
MadCcc
15c20511b4
fix: rollback tinycolor version (#46744)
* chore: rollback tinycolor version

* chore: rollback tinycolor version

* chore: bump
2024-01-02 17:54:03 +08:00
二货爱吃白萝卜
eff720837c
test: Update image snapshot logic (#46529)
* test: mix snapshot

* test: clean up

* test: fix order

* test: fix test logic

* test: fix reset

* test: refactor code

* test: clean fetch

* chore: lint

* test: clean up

* test: delay check

* chore: refactor fetch

* docs: update diff html

* test: add ssr support

* chore: part use ssr

* chore: update style

* chore: slice of it

* docs: fix cut
2023-12-21 10:30:08 +08:00
MadCcc
03ac98a4a0
docs: changelog 5.12.4 (#46532) 2023-12-19 19:09:24 +08:00
vagusX
c920c9df07
ci: fix failed comment stage for visual-diff (#46510) 2023-12-18 17:10:22 +08:00