Commit Graph

703 Commits

Author SHA1 Message Date
Kilig
b99902ab76
docs:(Tree): Parameter type repair (#45715) 2023-11-08 14:46:05 +08:00
afc163
e587a5ff68
chore: update select snapshot (#45333) 2023-10-13 20:56:06 +08:00
二货爱吃白萝卜
317dac6a8e
refactor: more cache (#45302)
* chore: cache

* chore: clean up

* chore: clean up

* refactor: part

* chore: bump

* chore: fix lint

* chore: fix lint

* chore: fix alt
2023-10-13 11:54:05 +08:00
梓安
80da4e5885
fix (DirectoryTree) : selectedNodes in onSelect method could not get a value when configuring fieldNames (#45036)
* fix🐛(DirectoryTree): fieldNames support

* fix🐛(DirectoryTree): fieldNames support

* test(DirectoryTree): Update  directoryTree test

* test(DirectoryTree): Update directoryTree test

* chore: simple code

* chore: align logic

---------

Co-authored-by: yuanzhian <yuanzhian@cai-inc.com>
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2023-10-11 17:03:15 +08:00
afc163
5c99a5ee49
type: fix type errors of React.Key (#44938)
* type: fix .dumi typing error

* type: fix React.Key type error

* type: fix React.Key type error

* type: fix React.Key type error

* type: fix React.Key type error

* Apply suggestions from code review

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

* fix: test case

* fix: test case

* chore: use @types/react latest version

* Apply suggestions from code review

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

* chore: update form def

* chore: more ts

* chore: revert demo ts

* chore: bump ver

* chore: fix more

* chore: fix demo

* chore: back of ci

* chore: fix ts

* chore: fix ts

* chore: part of it

* chore: fix ts

* chore: bump ver

* chore: fix lint

* chore: fix

* test: update test

---------

Signed-off-by: afc163 <afc163@gmail.com>
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2023-09-20 11:01:49 +08:00
MadCcc
58f7221b93
fix: tree checkbox should align top (#44827) 2023-09-13 17:19:09 +08:00
栗嘉男
70466b0ebb chore: merge master into feature 2023-09-06 02:49:25 +08:00
kiner-tang(文辉)
03fee8d837
feat: export BasicDataNode type from tree (#44624) 2023-09-05 13:43:15 +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
栗嘉男
b12d69cf42 chore: merge master into feature 2023-09-01 00:02:50 +08:00
afc163
3f148d9112 docs: add help text for token customization 2023-08-30 23:02:35 +08:00
二货爱吃白萝卜
659054ee49
docs: Blog virtual table (#44526)
* docs: virtual table

* docs: fix other blog style

* docs: more
2023-08-30 21:18:09 +08:00
MadCcc
74d9654423
feat: tree token (#44282) 2023-08-18 10:23:57 +08:00
afc163
e283ebf2e3
test: update Select jest snapshot (#44140)
* chore: update snapshot

* test: fix test case of Form Select
2023-08-10 00:43:44 +08:00
kiner-tang(文辉)
2f8fa45df3
docs: Add rootClassName in doc (#44061)
* docs: update rootClassName description

* docs: update rootClassName description

* docs: update docs
2023-08-08 18:27:48 +08:00
MadCcc
c640cbcb53
chore: update snapshot (#43957)
* chore: update snapshot

* chore
2023-08-02 15:33:29 +08:00
二货爱吃白萝卜
5d3b45551d
test: snapshot of demo warning message (#43947)
* test: init of test

* test: update snapshot

* test: update snapshot

* chore: adjust size limit

* test: update snapshot

* test: update snapshot

* test: update snapshot

* chore: update snapshot

---------

Co-authored-by: lijianan <574980606@qq.com>
2023-08-02 14:20:13 +08:00
栗嘉男
674ff129ce Merge branch master into master-merge-feature 2023-07-28 16:43:15 +08:00
二货爱吃白萝卜
2cdf586291
chore: fix lint (#43873)
* chore: fix lint

* chore: fix lint

* test: fix 16

* fix: lint
2023-07-28 16:17:43 +08:00
thinkasany
3ac6308f2e
chore: code style optimization (#43865) 2023-07-28 12:15:30 +08:00
afc163
2d3c97979d
fix: Select aria-activedescendant wrong value (#43800) 2023-07-26 10:09:04 +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
栗嘉男
60a2ae6319 chore: merge master into feature 2023-07-04 11:41:25 +08:00
JiaQi
1abdb9e077
feat: ConfigProvider support Tree className and style (#43060) 2023-07-03 22:42:46 +08:00
Zhou Fang
78714e01c4
demo: translate chinese to english (#43234)
* Updated language in layout-can-wrap.tsx

* Updated language in draggable.tsx

* Updated language in drag-debug.tsx

* Updated language in tree/demo/draggable.tsx

* Updated jest snapshots for form

---------

Co-authored-by: Zhou Fang <zhfaxb@syntronic.com>
2023-06-29 23:57:39 +08:00
蘑菇
478a2a9086
docs(Tree): update docs (#42989)
* docs: update docs

* docs: update docs

* docs: update docs
2023-06-13 19:22:36 +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
MadCcc
bd36fba393
fix: fix checkbox align issue (#42590)
* fix: fix checkbox align issue

* fix: use center

* chore: comment

* fix: use align-self: center

* chore: add snapshot

* fix: tree checkbox
2023-05-25 20:46:51 +08:00
MadCcc
88a00dbf9e
test: update test case (#42582)
* chore: update snapshot

* chore: update test case

* chore: rm watermark image test
2023-05-24 22:03:26 +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
kiner-tang(文辉)
70c2aff3bd
docs: update docs (#42367) 2023-05-15 17:22:19 +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
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
9e1934248b Merge branch 'master' into feature-merge-master 2023-04-27 10:16:07 +08:00
JiaQi
3fcf9de2b6
fix(tree): Draggable tree title is not aligned when the text is wrapped (#41928) 2023-04-23 09:06:07 +08:00
JiaQi
40fb753349
fix(Tree): Checkbox and title do not align (#41920) 2023-04-21 14:59:32 +08:00
MadCcc
1babfef998 Merge branch 'master' into feature-merge-master 2023-04-17 19:38:12 +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
黑雨
cef58664e8
📝doc: add design token table (#41717)
* feat: add token

* 📝doc: update lint

* 📝doc: update doc
2023-04-11 10:25:24 +08:00
acyza
3b60671fb9
fix: switcherIcon cannot be hidden (#41708)
* fix: switcherIcon cannot be hidden

* fix: switcherIcon cannot be hidden

* chore: update

* chore: add test case

* chore: fix test
2023-04-08 09:54:20 +08:00
afc163
468f806e03 Merge branch 'feature' into master-merge-feature 2023-04-01 21:17:17 +08:00
lijianan
fd4cab792b
🦄️ refactor: renderSwitcherIcon => React.FC (#41556) 2023-04-01 13:38:34 +08:00
二货机器人
d6a73f3c6b chore: feature merge master 2023-03-29 14:44:41 +08:00
二货爱吃白萝卜
6770b7fb22
test: Use render for demo-extends test (#41242)
* test: update snapshot

* test: use render

* test: fix skip

* test: fix skip
2023-03-15 00:08:31 +08:00