Commit Graph

213 Commits

Author SHA1 Message Date
MadCcc
2e0942ab26
refactor: separate cssVarCls from hashId (#46424)
* refactor: cssVarCls

* refactor: update

* chore: update

* fix: cascader & tree-select

* fix: ribbon
2023-12-14 14:58:53 +08:00
阿菜 Cai
0a671878ec
feat(descriptions): support html attributes id type (#46367)
test(descriptions): add html attributes `id`  test
close #46350

Co-authored-by: lijianan <574980606@qq.com>
2023-12-11 00:05:47 +08:00
MadCcc
c4b8c9df93
refactor: genStyleHooks (#46038)
* refactor: genStyleHooks

* chore: update sciprt

* refactor: affix

* refactor: select

* chore: update

* refactor: update

* refactor: update

* refactor: done

* chore: code clean

* chore: code clean

* chore: fix lint

* chore: decrease size limit

* chore: code clean

* chore: code clean

* chore: remove export
2023-11-29 17:23:45 +08:00
lijianan
e0f8be820a
feat: Descriptions support cssVar (#45900) 2023-11-16 11:48:50 +08:00
二货爱吃白萝卜
5261f1e365
fix: Description children missing key (#45757) 2023-11-09 16:37:10 +08:00
kiner-tang(文辉)
4717b5c649 Merge branch 'master' into feature-merge-master 2023-09-16 11:11:47 +08:00
kiner-tang(文辉)
d5abbad8f1
refactor: deprecatedWarning (#44791)
* refactor: deprecatedWraning

* 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

* feat: optimize code
2023-09-13 22:07:33 +08:00
github-actions[bot]
a24b30c77e
chore: auto merge branches (#44794)
chore: merge master into feature
2023-09-12 12:37:16 +00:00
二货爱吃白萝卜
5cc338e177
refactor: All the warning set the warning type for future filter (#44613)
* feat: add warningContext

* refactor: part refactor

* chore: fix compile

* chore: part of it

* chore: part of it

* chore: part of it

* chore: fix lint

* chore: fix test

* chore: clean uo

* chore: hide warning def tmp

* chore: comment test

* chore: fix lint

* chore: refactor select icons

* chore: fix warning message

* test: update test

* chore: rm dead code
2023-09-11 17:28:04 +08:00
Qiu
eff674396a
feat: add tokens in Descriptions component(#44674) (#44729)
* feat: add tokens in Descriptions component(#44674)

* fix: reserve style uniformity

* fix: add new token in component token demo&delete meaningless changes
2023-09-10 12:19:50 +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
二货爱吃白萝卜
cbfb126690
feat: Descriptions items.span support responsive config (#44534)
* feat: Desc items support responsive

* refactor: useBreakPoint

* docs: update docs

* test: add test case

* chore: update def

* chore: fix def
2023-08-30 22:09:32 +08:00
红果汁
73cfd37b77
fix: Descriptions key prop issue (#44278)
* fix: descriptions throw react key prop error in jsx mode

* chore: update test

---------

Co-authored-by: MadCcc <1075746765@qq.com>
2023-08-17 21:12:10 +08:00
JiaQi
aa7c45fb26
fix(Descriptions): nested Descriptions are affected by the external border style (#43454)
* fix: nested Descriptions are affected by the external border style

* chore: add test case
2023-08-10 14:06:13 +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
二货爱吃白萝卜
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
thinkasany
fb9c0562a0
type(Cell): use JSX.IntrinsicElements replace any (#43932) 2023-08-03 12:18:57 +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
栗嘉男
5933e6473f fix: fix lint 2023-07-28 17:15:04 +08:00
栗嘉男
236aba5373 fix: fix lint 2023-07-28 17:04:00 +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
红果汁
ecb36840bf
feat: Descriptions implement items API (#43483)
* feat: descriptions implement items api

* docs: add jsx debug demo

* refactor: add useRow hook

* Update components/descriptions/index.tsx

Co-authored-by: Wuxh <wxh1220@gmail.com>
Signed-off-by: 红果汁 <pingfj77@gmail.com>

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

Co-authored-by: Wuxh <wxh1220@gmail.com>
Signed-off-by: 红果汁 <pingfj77@gmail.com>

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

Co-authored-by: Wuxh <wxh1220@gmail.com>
Signed-off-by: 红果汁 <pingfj77@gmail.com>

* fix: decrease in coverage

* refactor: enhancement code

---------

Signed-off-by: 红果汁 <pingfj77@gmail.com>
Co-authored-by: Wuxh <wxh1220@gmail.com>
2023-07-17 14:48:03 +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
栗嘉男
0e47a7673e Merge branch master into master-merge-feature 2023-07-09 18:26:06 +08:00
thinkasany
b139dec663
chore: code style optimization (#43457)
* chore: Code style optimization

* style: code optimize
2023-07-09 13:34:59 +08:00
github-actions[bot]
bf960bed60
chore: auto merge branches (#43420)
chore: merge master into feature
2023-07-06 15:26:20 +00:00
azro352
7ba53e1a0e
docs: patch descrption missing type for column (#43388)
* Update index.en-US.md

* Update index.zh-CN.md

* Apply suggestions from code review

Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: azro352 <35503478+azro352@users.noreply.github.com>

---------

Signed-off-by: azro352 <35503478+azro352@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
2023-07-06 09:44:11 +08:00
thinkasany
97735dd903
docs: fix desc text (#43393) 2023-07-06 01:31:17 +08:00
github-actions[bot]
1ad266f7bf
chore: auto merge branches (#43378)
chore: merge master into feature
2023-07-05 10:16:04 +00:00
MadCcc
b64a57d5d0
docs: component token meta (#43337)
* docs: component token meta

* docs: more

* docs: complete
2023-07-05 17:49:59 +08:00
muxin
35bc35e4d9
feat: config-provider support descriptions className and style proper… (#43106)
* feat: config-provider support descriptions className and style properties

* Revert "feat: config-provider support descriptions className and style properties"

This reverts commit b9dd395cd3.

* feat: config-provider support descriptions className and style properties
2023-06-26 14:38:02 +08:00
Zack Chang
875a221c62
refactor: solve circular reference of Description (#42812)
* refactor: solve circular reference of Description

* refactor: solve circular reference of Table

* Revert "refactor: solve circular reference of Table"

This reverts commit 7664b01645.

* chore: add export
2023-06-25 12:10:31 +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
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
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
lijianan
e03639691c
feat: add useSize hook (#42252) 2023-05-11 15:24:26 +08:00
huiwang
d0e29d33b7
fix: fix Descriptions size small of CP (#42244) 2023-05-10 14:09:25 +08:00
lijianan
ac5a06027e
revert: "chore: unified import method (#42149)" (#42180)
This reverts commit ea8ed28209.
2023-05-06 15:49:37 +08:00
lijianan
ea8ed28209
chore: unified import method (#42149)
* chore: unified import method

* fix lint
2023-05-05 20:52:44 +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
二货爱吃白萝卜
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
dependabot[bot]
1df1034f20
chore(deps-dev): bump glob from 8.1.0 to 9.2.1 (#41109)
* chore(deps-dev): bump glob from 8.1.0 to 9.2.1

Bumps [glob](https://github.com/isaacs/node-glob) from 8.1.0 to 9.2.1.
- [Release notes](https://github.com/isaacs/node-glob/releases)
- [Changelog](https://github.com/isaacs/node-glob/blob/main/changelog.md)
- [Commits](https://github.com/isaacs/node-glob/compare/v8.1.0...v9.2.1)

---
updated-dependencies:
- dependency-name: glob
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* fix: update api

* fix

* fix

* fix path

* fix path

* update snap

* update snap

* update snap

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: 栗嘉男 <574980606@qq.com>
2023-03-10 11:50:12 +08:00
Lioness100
fd0d8b6031
docs: fix typos (#40791)
* docs: fix typos

* Update index.zh-CN.md

* test: update snapshot

* docs: fix demo ref

* chore: force trigger ci

* chore: force trigger ci

* chore: bump dumi ver

---------

Co-authored-by: Amumu <yoyo837@hotmail.com>
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2023-02-23 21:56:43 +08:00
Yurii Brusentsov
40a7e7a142
fix(Descriptions): pass all props to the Descriptions container (#40859) 2023-02-22 16:17:21 +08:00
MadCcc
40e77c40d3
docs: overview dark cover (#40666)
* docs: add dark overview

* docs: show dark cover in dark theme

* docs: update cover
2023-02-09 22:17:31 +08:00