Commit Graph

154 Commits

Author SHA1 Message Date
二货爱吃白萝卜
65564fccdc
refactor: rm radiusBase (#44980)
* refactor: rm radiusBase

* test: update test case

---------

Co-authored-by: kiner-tang(文辉) <1127031143@qq.com>
2023-09-21 13:46:31 +08:00
b24cda1f97
docs: update FQA (#44902)
* docs: update FQA [skip ci]

* test(theme): supplement unit test case

* chore: update docs
2023-09-17 16:17:12 +08:00
MadCcc
114ff39f8c Merge branch 'master' into feature-merge-master 2023-09-05 13:41:06 +08:00
Dunqing
f0c105d262
feat: insert use client automatically at compilations instead of hardcode (#44608)
* feat: remove the hardcode of `use client`

* chore: update `@ant-design/tools`

* test: update

* fix: incorrect dictionary

* chore: update dep

* ci: check use client

* chore: update ci

* fix: should be LIB_DIR

* ci: should only run in dist

* chore: update check tsx files
2023-09-04 19:27:20 +08:00
二货爱吃白萝卜
d3c2f75ed3
refactor: ConfirmModal layout to fix batch of bug (#44557)
* refactor: Modal confirm style

* test: fix test case

* chore: merge wireframe

* chore: modify limit

* test: update snapshot
2023-08-31 22:21:32 +08:00
二货机器人
620e168cfc chore: feature merge master 2023-08-29 19:51:31 +08:00
二货爱吃白萝卜
acdf1153fa
refactor: Extract Tag unused style (#44512)
* refactor: tag status as extract style

* chore: add key

* chore: preset of it
2023-08-29 19:43:48 +08:00
二货机器人
d31a19a0f0 chore: feature merge master 2023-08-29 15:50:39 +08:00
二货爱吃白萝卜
7a66d46051
refactor: Form style should always before Grid (#44485)
* fix: use css variable to support dynamic display

* chore: support order

* chore: add ie fallback

* chore: add ie fallback
2023-08-29 15:48:03 +08:00
二货机器人
16f8228249 chore: merge master 2023-08-28 21:56:37 +08:00
二货爱吃白萝卜
a95662d0e1
refactor: button default not use compact style (#44475)
* refactor: button default not use compact style

* chore: clean up
2023-08-28 21:42:39 +08:00
3e171a9f4f
feat: default add resetIcon Style (#41208)
* feat: default add resetIcon Style

chore: remove

test: add case

feat(App):  icon reset style feature

Revert "feat(App):  icon reset style feature"

This reverts commit be6905553dcabbd490ad60be0c08c8328736bd62.

Revert "chore: remove"

This reverts commit 417d5f90051a342325ccc9b5cbf3d249ab0ec826.

chore: update

chore: update

* chore: update

* chore: resolve import

* chore: update code style
2023-08-28 10:49:18 +08:00
二货爱吃白萝卜
ca0396859b
refactor: abstract ribbon style (#44451) 2023-08-27 23:48:56 +08:00
dingkang
477b1ec2f3
feat: migrate less to token for Form (#42774)
* docs: migrate less to token for Form

* feat:  migrate less to token for Form

* feat: migrate less to token for Form

* test: update form snapshots

* feat: migrate less to token for Form

* chore: code clean

* chore: code clean

* feat: form token

* chore: add comment

* chore: update docs

---------

Co-authored-by: MadCcc <1075746765@qq.com>
2023-08-22 17:05:56 +08:00
MadCcc
d1d3b57dcb
feat: input token (#44325)
* feat: input token

* feat: input number token

* feat: input token

* fix: date-picker & calendar

* fix: calendar style

* fix: token use
2023-08-22 09:38:11 +08:00
MadCcc
74d9654423
feat: tree token (#44282) 2023-08-18 10:23:57 +08:00
JiaQi
b9f77fde6c
feat: migrate less to token for Switch (#42192)
* feat: migrate less to token for Switch

* chore: add demo

* chore: code clean

* chore: update demo

* docs: update docs en

* chore: code clean

---------

Co-authored-by: MadCcc <1075746765@qq.com>
2023-08-16 19:17:12 +08:00
6a6f1b741f
feat(badge): migrate less to token (#42778)
* chore: update

* docs: add component token demo

* test: update snapshot

* chore: update

* test: update snapshot

* feat: token

* chore: update snapshot

* chore: code clean

* chore: code clean

* chore: code clean

* chore: code clean

* chore: update

* chore: fix lint

* fix: fontsizesm

---------

Co-authored-by: MadCcc <1075746765@qq.com>
2023-08-14 17:18:42 +08:00
MadCcc
ba90af13c0 Merge branch 'master' into feature-merge-master 2023-08-10 22:17:15 +08:00
MadCcc
4fe27ba027
feat: button component token (#44090)
* feat: button component token

* chore: add demo

* chore: update
2023-08-08 14:03:31 +08:00
MadCcc
5423649bd9
fix: should compatible with cssinjs < 1.15 (#44091)
* fix: should compatible with cssinjs <= 1.16

* chore: comment
2023-08-08 10:37:40 +08:00
二货爱吃白萝卜
6e3a9080bf
fix: Checkbox & Radio not support customize wave (#44014)
* chore: fix checkbox

* chore: checkbox support disabled

* chore: radio support wave

* test: update test case

* chore: fix lint

* test: update snapshot

* test: update snapshot

* test: fix test case

* test: update test case
2023-08-04 11:22:33 +08:00
MadCcc
ed5356e38e
type: export MappingAlgorithm (#43953) 2023-08-02 10:54:27 +08:00
栗嘉男
674ff129ce Merge branch master into master-merge-feature 2023-07-28 16:43:15 +08:00
二货爱吃白萝卜
a96e1bf04e
docs: fix ssr a link style (#43862) 2023-07-28 11:17:29 +08:00
二货爱吃白萝卜
6ff18d1786
enhance: antd style at top (#43847) 2023-07-27 16:07:48 +08:00
MadCcc
94b3d03765
feat: component token support algorithm (#43810)
* feat: component theme

* feat: component token support algorith,

* docs: fix form

* chore: add test

* chore: fix test case

* chore: code clean

* chore: code clean

* chore: code clean

* docs: update toc

* chore: update cssinjs

* chore
2023-07-27 11:31:38 +08:00
二货爱吃白萝卜
39d3baef43
enhance: not extract message notification style in SSR (#43808)
* enhance: message not render style in SSR

* enhance: notification not render style in SSR

* docs: not render App if in demo page
2023-07-26 11:03:42 +08:00
二货爱吃白萝卜
cf40fb02b9
docs: fix docs problems (#43622)
* docs: fix bug

* docs: fix link

* docs: fix video

* chore: en
2023-07-18 18:22:47 +08:00
二货爱吃白萝卜
5bf08faeea
refactor: rename qrcode to qr-code (#43607)
* refactor: rename qrcode to qr-code

* test: patch test case

* chore: fix Form missing displayName

* chore: patch displayName

* chore: style path

* chore: fix compile
2023-07-17 23:43:32 +08:00
lijianan
38474628fd
feat: prepend use-client directive for with Next.js App Router (#43573)
* fix: prepend use-client directive for with Next.js App Router

* Update components/affix/index.tsx

Co-authored-by: MadCcc <1075746765@qq.com>
Signed-off-by: lijianan <574980606@qq.com>

* Update components/badge/index.tsx

Co-authored-by: MadCcc <1075746765@qq.com>
Signed-off-by: lijianan <574980606@qq.com>

* Update components/divider/index.tsx

Co-authored-by: MadCcc <1075746765@qq.com>
Signed-off-by: lijianan <574980606@qq.com>

* Update components/cascader/index.tsx

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

* Update components/list/index.tsx

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

* Update components/mentions/index.tsx

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

* Update components/mentions/index.tsx

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

* Update components/mentions/index.tsx

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

* Update components/mentions/index.tsx

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

* Update components/qrcode/index.tsx

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

* Update components/spin/index.tsx

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

* Update components/select/index.tsx

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

* Update components/spin/index.tsx

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

* Update components/spin/index.tsx

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

* Update components/steps/index.tsx

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

* Update components/time-picker/index.tsx

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

* Update components/transfer/index.tsx

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

* Update components/tree-select/index.tsx

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

---------

Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: MadCcc <1075746765@qq.com>
2023-07-15 12:57:03 +08:00
MadCcc
358905027a
feat: move colorLink to seedToken (#43183)
* feat: move colorLink to seedToken

* feat: follow colorInfo
2023-06-26 11:23:50 +08:00
afc163
86a5de1f37 chore: resolve merge conflict 2023-06-25 10:47:34 +08:00
github-actions[bot]
f066df8dc7
chore: auto merge branches (#42932)
chore: merge master into feature
2023-06-09 08:57:50 +00:00
MadCcc
7322aa6f5f
Revert "chore: migrate to vitest (#42506)" (#42900)
This reverts commit 6759887c44.
2023-06-07 21:59:21 +08:00
github-actions[bot]
27e86a0450
chore: auto merge branches (#42870)
chore: feature merge master
2023-06-07 04:22:36 +00:00
Dunqing
6759887c44
chore: migrate to vitest (#42506)
* chore: migrate to vitest

* chore: update ci

* fix: test correctly

* test: support puppeteer

* chore: update coverage

* chore: update include/exclude

* chore: update config

* test: update incorrect tests

* chore: update script

* chore: update

* fix: should close browser at the ended

* chore: improve

* fix: test cause tsc error

* fix: eslint error

* chore: exclude correctly

* test: update snap and fix some tests

* chore: update test config

* fix: countup.js

* fix: incorrect test

* chore: update reference

* test: update

* fix: countup.js

* fix: timeout

* chore: update site test

* fix: fixed countup version

* chore: remove unsed code

* test: update

* test: update demo timeout

* test: update timeout

* chore: update image test

* chore: update threads

* fix: image/svg+xml test failed

* chore: limits threads

* test: update test coverage include

* chore: remove jest files

* chore: rename jest to vi

* chore: update document

* chore: fix missing @types/jsdom

* chore: update coverage

* chore: update snap

* fix:watermark test cases are incorrect

* feat: update ignore comment

* test: fix test case

* test: reset body scrollTop

* test: clean up

* test: use vi

* test: update snapshot

* test: update snapshot

* test: fix dropdown test failed

* fix: toHaveStyle cause test fail

* test: improve test case

* test: fix

* fix: color failed, refer to https://github.com/jsdom/jsdom/pull/3560

* test: fix

* test: fix

* test: fix circular import

* test: revert

* ci: coverage failed

* test: fix c8 ignore comment

* chore: incorrect config

* chore: fix ignore ci

* test: revert svg+xml

* test: fix realTimers

* feat: rc-trigger should be remove

* test: fix some failed test

* chore: remove unused deps and configure eslint-plugin-vitest

* test: update snap

* chore: remove jest

* test: fix lint error

---------

Co-authored-by: 二货机器人 <smith3816@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
2023-06-07 11:54:50 +08:00
kiner-tang(文辉)
b88ac06b8c
refactor(Theme): solve theme circular dependency issue (#42852)
* refactor: solve theme circular dependency issue

* refactor: solve theme circular dependency issue

* refactor: solve theme circular dependency issue

* refactor: solve theme circular dependency issue

* refactor: solve theme circular dependency issue

* refactor: solve theme circular dependency issue
2023-06-06 17:44:30 +08:00
MadCcc
cdf9b4660f
refactor: menu token rename (#42848)
* refactor: menu token rename

* chore: update snapshot

* chore: UPDATE TEST CASE

* fix: fix gap as 4px

* fix: popup transform origin
2023-06-06 16:11:18 +08:00
MadCcc
596104cc68
feat: static getDesignToken (#42723)
* feat: static getDesignToken

* chore: code clean
2023-06-05 17:45:33 +08:00
黑雨
ec45536ef1
feat: Pagination token (#42330)
*  feat: Pagination Component Token

*  feat: Pagination Component Token

*  feat: update

*  feat: update

*  feat: update demo

*  feat: update style

*  feat: update

*  feat: update

*  feat: update demo

*  feat: update

*  feat: update snap
2023-05-26 17:30:08 +08:00
MadCcc
5e2732a03c Merge branch 'master' into feature-merge-master 2023-05-23 17:02:34 +08:00
MadCcc
4f9c8e2af2
fix: global token in Component Token override should be respected (#42535)
* fix: global token in Component Token override should be respected

* test: add snapshot
2023-05-23 13:39:05 +08:00
kiner-tang(文辉)
65d7a5b943
feat: migrate less to token for Skeleton (#42134)
* feat: migrate less to token for Message

* docs: update docs

* feat: add debug demo

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: update snapshots

* Update docs/react/migrate-less-variables.en-US.md

Co-authored-by: MadCcc <1075746765@qq.com>

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

---------

Co-authored-by: MadCcc <1075746765@qq.com>
2023-05-18 21:18:02 +08:00
黑雨
90200684b2
feat: Breadcrumb Component Token (#42342)
*  feat: Breadcrumb Component Token

*  feat: update

*  feat: update

*  feat: update

*  feat: update

*  feat: update dome

*  feat: update

*  feat: update

*  feat: update dome
2023-05-18 16:32:52 +08:00
Zack Chang
4efa0b64db
feat: less to component token for Descriptions (#42038)
* feat: less to component token for List

* fix: title

* feat: add debug demo

* chore: rename

* Update index.tsx

---------

Co-authored-by: zhangjianxiong <zhangjx@tsintergy.com>
Co-authored-by: MadCcc <1075746765@qq.com>
2023-05-17 14:22:48 +08:00
红果汁
b95d5674fa
feat: new component ColorPicker (#41990)
* feat: color picker

* chore: improve component logic

* test: update snapshots

* test: update snapshots

* fix: remove unuse code

* fix: adjusting the UI

* fix: hairy edge in dark mode

* fix: demo case

* chore: rollback file

* fix: improve code logic

* perf: improve code

* test: add test case

* refactor: trigger use Popover instead

* test: add test case

* refactor: improve code logic

* test: update snapshots

* refactor: improve code

* docs: add overview img

* feat: style

* chore: update snapshot

* chore: code clean

* chore: code clean

* chore: fix lint

* chore: update snapshot

* feat: color block

* chore: pure render

* refactor: hex input number reduced to 6 digits

* fix: rename React to react

* refactor:  trigger demo

* docs: remove disabled demo

---------

Co-authored-by: MadCcc <1075746765@qq.com>
2023-05-12 14:43:48 +08:00
yoyo837
7f5042c4fe Merge branch 'master' into feature-merge-master 2023-05-06 19:03:11 +08:00
lijianan
ac5a06027e
revert: "chore: unified import method (#42149)" (#42180)
This reverts commit ea8ed28209.
2023-05-06 15:49:37 +08:00
XiaoPi
aff6314d11
fix: remove useless reexport of statistic (#42113) 2023-05-06 13:49:34 +08:00