Commit Graph

753 Commits

Author SHA1 Message Date
Starpuccino
5c350a80e2
fix: Slider disabled status in form (#43142)
* fix slider component disabled status in form

* add test case & update demo

* fix related test cases
2023-06-24 14:20:56 +08:00
JiaQi
3a67e46b60
docs(ConfigProvider): modify useConfig Api table header (#43128) 2023-06-21 09:56:46 +08:00
二货爱吃白萝卜
96a93260d3
refactor: split form context (#43023) 2023-06-15 10:26:56 +08:00
MadCcc
7322aa6f5f
Revert "chore: migrate to vitest (#42506)" (#42900)
This reverts commit 6759887c44.
2023-06-07 21:59:21 +08: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(文辉)
2de151da7a Merge branch 'master' into feature-merge-master 2023-06-04 11:10:56 +08:00
红果汁
946569aacf
feat: ConfigProvider support Space classNames and styles properties (#42748)
* feat: config-provider support space classNames and styles

* fix: add className and style

* docs: update doc

* docs: update doc

* fix: fix override style
2023-06-02 15:03:29 +08:00
Mehmet Yarar
f6dc5f39e0
enhance: Improve the a11y of the upload progress bar (#42704)
* improve the a11y of the upload progress

* add a11y test, update snapshots

* pass aria props as part of restProps

* use kebab-case instead of camelCase for aria attributes

---------

Co-authored-by: afc163 <afc163@gmail.com>
2023-05-31 20:36:29 +08:00
github-actions[bot]
a8bc13e77b
chore: auto merge branches (#42668)
chore: feature merge master
2023-05-27 03:42:37 +00:00
LuZhenJie1999
b6442fe285
feat: add style/className/styles/classNames to ConfigProvider (#42623)
* feat: add style/className/styles/classNames to ConfigProvider

* chore: better code

* Update components/config-provider/index.en-US.md

Co-authored-by: lijianan <574980606@qq.com>

* Update components/config-provider/index.zh-CN.md

Co-authored-by: lijianan <574980606@qq.com>

---------

Co-authored-by: 歆其 <luzhenjie.lzj@antgroup.com>
Co-authored-by: MadCcc <1075746765@qq.com>
Co-authored-by: lijianan <574980606@qq.com>
2023-05-26 16:42:26 +08:00
二货爱吃白萝卜
765cafb2cd
refactor: ConfigProvider form dependency inversion (#42604)
* refactor: dependency inversion

* chore: use rc-util
2023-05-25 19:58:07 +08:00
afc163
8fb97df92c
feat: Pagination size change select component is searchable (#42608)
* feat: Paginaition size change select enable search

close https://github.com/ant-design/ant-design/issues/27684

* test: update snapshot

* test: update snapshot
2023-05-25 19:26:47 +08:00
二货爱吃白萝卜
43d7b9ca92
feat: ConfigProvider.config support theme config (#42473)
* chore: static config of theme

* chore: static all method

* test: add test case

* docs: comment

* docs: more info

* test: update snapshot

* test: fix test logic
2023-05-18 23:53:34 +08:00
afc163
d90c1c62c0
fix: upgrade @ant-design/icons to 5.1.0 (#42443)
* Update package.json

* Update package.json

* chore: update snapshot

* style: #1890ff => #1677ff

* style: fix Upload icon color

* style: fix Upload icon color

* revert menu v4 demo
2023-05-18 09:40:09 +08:00
afc163
7271b7cb91
fix: Popconfirm margin problem when icon is null (#42433)
* fix: Popconfirm margin issue when icon is null

* test: update snapshot

* demo: update snapshot

* chore: improve code

* demo: update snapshot

* refactor: remove used css

* demo: update snapshot
2023-05-17 14:49:42 +08:00
红果汁
aeabe74fbc
docs: replace react-color with color-picker (#42350)
* style: fix prettier problem

* docs: add presets label

* style: fix prettier problem

* style: fix prettier
2023-05-15 15:11:05 +08:00
github-actions[bot]
59c9119be1
chore: auto merge branches (#42276)
chore: master merge feature
2023-05-12 15:14:26 +00:00
lijianan
9d1854763d
refactor: add useSize replace React.useContext (#42282)
* refactor: add useSize

* fix

* fix

* fix

* fix

* fix
2023-05-12 14:53:47 +08:00
huiwang
da67b481b8
fix: fix Steps size small of CP (#42278)
* fix: fix Steps size small of CP

* fix: update snap
2023-05-11 19:26:04 +08:00
github-actions[bot]
7a3e697c11
chore: auto merge branches (#42231)
chore: sync master into feature
2023-05-09 08:42:14 +00:00
Ec-tracker
24dd5351e9
fix: Space.Compact not work with CP component size (#42199)
* test(space): add test cases

* fix(Space.Compact):  fix the size is not inherited from ConfigProvider when the componentSize is set

* test(Space.Compact): move Space.Compact test cases to the corresponding folder

* test: update snapshot

---------

Co-authored-by: 二货机器人 <smith3816@gmail.com>
2023-05-09 11:18:23 +08:00
二货机器人
4e311f0d95 test: update snapshot 2023-05-08 23:47:41 +08:00
二货爱吃白萝卜
f4858ff581
chore: align motion follow popup point (#42225)
* chore: align motion follow popup point

* test: update snapshot
2023-05-08 23:28:13 +08:00
yoyo837
8426446e4c Merge branch 'master' into feature-merge-master 2023-05-08 18:43:14 +08:00
二货爱吃白萝卜
8c725caa73
chore: fix Pagination size small of CP (#42206) 2023-05-08 11:21:20 +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
二货机器人
252f516a5e chore: merge master 2023-05-06 11:40:31 +08:00
lijianan
ea8ed28209
chore: unified import method (#42149)
* chore: unified import method

* fix lint
2023-05-05 20:52:44 +08:00
MadCcc
e18400a554
chore: bump rc-dropdown (#42013)
* chore: update snapshot

* chore: update placement

* chore: postProps

* chore: update snapshot

* test: update table test case

* chore: update pure-panel style

* chore: update snap
2023-04-29 11:13:53 +08:00
二货爱吃白萝卜
60dbef4963
feat: Disable motion (#41856)
* feat: Add motion off

* chore: update motion seed

* chore: all motion disabled

* test: add test case

* chore: fix lint

* chore: fix cov

* chore: fix motion of Switch & Segemented

* test: ignore empty
2023-04-23 15:42:36 +08:00
MadCcc
1babfef998 Merge branch 'master' into feature-merge-master 2023-04-17 19:38:12 +08:00
二货爱吃白萝卜
b1c42a3292
test: Diff of React 17 & 18 (#41739)
* test: prepare for 17 & 18 diff

* test: prepare for 17 & 18 diff

* test: update snapshot

* test: fix arr check

* test: update snapshot

* test: update snapshot
2023-04-11 11:47:38 +08:00
黑雨
41ed9bd430
feat: Button semantic dom (#41456)
* feat: add semantic doc

* 🔀 feat: rebase feature

* feat: update for code reviewer

* feat: update snap

* feat: update snap

* 🐛 bug: update for cov

* Message

* bug: update snap

* 💄 style: update style

* 💄 style: update style

* 💄 style: update style

* 💄 style: update style

* 💄 style: update style

* 💄 style: update style

* ♻️ feat: ref code

* 🩺 feat: update for review

* 💄 style: update style

* 📝 doc: update doc

* 💄  style: update style

* 💄  style: update style

* 💄 style: update style

* 💄  style: update style

* 💄  style: update style

* 💄  style: update style

* 💄  style: update style

* 📸 feat:update snap

* 🚧 feat: clean up

* 🚧 feat: clean up

* feat: icon wrapper

* test: update snapshot

* chore: code clean

* fix: icon only font size

* chore: rollback unexpected commit

---------

Co-authored-by: MadCcc <1075746765@qq.com>
2023-04-11 11:37:31 +08:00
MadCcc
dd60a37f5d Merge branch 'master' into feature-merge-master 2023-04-10 15:52:57 +08:00
JiaQi
1688d5995f
chore: Update random image sources (#41704)
* chore: update demo

* chore: update test case

* chore: update snap
2023-04-08 21:01:51 +08:00
二货爱吃白萝卜
8c094ba792
feat: ConfigProvider support config popupOverflow for scroll logic (#41676)
* feat: popupOverflow

* test: add test case

* docs: preview

* docs: update preview

* test: update test case
2023-04-07 10:17:00 +08:00
二货爱吃白萝卜
851d551906
refactor: warning for deprecated dropdownMatchSelectWidth (#41627)
* chore: warning for dropdownMatchSelectWidth

* test: update snapshot

* test: update test case

* fix: align context

* chore: warning deprecated

* chore: fix lint
2023-04-04 17:17:36 +08:00
二货机器人
d6a73f3c6b chore: feature merge master 2023-03-29 14:44:41 +08:00
栗嘉男
de2dde6613 Merge branch master into master-merge-feature 2023-03-28 22:01:23 +08:00
二货爱吃白萝卜
f0d3e43faa
fix: CP nonce should work on cssinjs (#41482) 2023-03-27 23:00:56 +08:00
github-actions[bot]
c4ccb021c3
chore: auto merge branches (#41168)
chore: merge master into feature
2023-03-10 13:03:42 +00:00
二货爱吃白萝卜
36f44575c8
chore: Static warning if exist theme in CP (#41157)
* chore: warning for dynamic theme

* chore: warning for static context

* chore: add ignore
2023-03-10 14:12:49 +08:00
github-actions[bot]
4c24374532
chore: auto merge branches (#41119)
chore: merge matser into feature
2023-03-08 07:26:05 +00:00
二货爱吃白萝卜
dcbf0d7b5c
refactor: picker trigger version (#41090)
* refactor: picker version

* chore: update deps

* chore: bump trigger version

* test: update snapshot

* chore: fix missing deps

* test: update snapshot

* update snap

---------

Co-authored-by: 栗嘉男 <574980606@qq.com>
2023-03-08 14:24:53 +08:00
MadCcc
6f82f41d5c
refactor: checkbox (#41117)
* refactor: checkbox

* type: export CheckboxRef

* type: fix
2023-03-08 11:54:40 +08:00
吾乃大咸者
5c1c5f7e9e
docs(ConfigProvider): update ConfigProvider demo (#41042)
* docs(ConfigProvider): update ConfigProvider demo

* docs(ConfigProvider): update ConfigProvider demo
2023-03-07 21:47:53 +08:00
二货爱吃白萝卜
9d546ed51a
chore: bump select tree-select cascader version (#41013)
* chore: bump select tree-select cascader version

* chore: adjust align prepare style

* chore: bump trigger version

* test: update snapshot
2023-03-02 22:09:02 +08:00
栗嘉男
745015ef09 resovl CONFLICT 2023-03-02 00:48:00 +08:00
kiner-tang(文辉)
da3babbe39
refactor(progress): progress size (#40903)
* feat: progress size

* feat: update snapshots

* feat: update demo

* feat: update demo

* docs: fix lint

* feat: update demo

* feat: update demo

* docs: update doc

* feat: update snapshots

* docs: update doc

* docs: update doc

* docs: update doc

* Update components/progress/index.en-US.md

Co-authored-by: lijianan <574980606@qq.com>

* Update components/progress/index.zh-CN.md

Co-authored-by: lijianan <574980606@qq.com>

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* Update components/progress/utils.ts

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

* feat: optimize code

* feat: optimize code

* feat: optimize code

* Update components/progress/Circle.tsx

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

* feat: optimize code

* feat: optimize code

* docs: update doc

---------

Co-authored-by: 二货机器人 <smith3816@gmail.com>
Co-authored-by: lijianan <574980606@qq.com>
Co-authored-by: MadCcc <1075746765@qq.com>
2023-03-01 11:49:42 +08:00