Commit Graph

521 Commits

Author SHA1 Message Date
thinkasany
da1d8df417
type: support string | number (#49810) (#49855)
* type(token): height / width support string | number

* rever
2024-07-14 00:36:43 +08:00
lijianan
8a090c951c
Revert "type(token): height / width support string | number" (#49836)
This reverts commit e4c31231ee.
2024-07-12 10:12:56 +08:00
thinkasany
e4c31231ee
type(token): height / width support string | number (#49810)
* type(token): height / width support string | number

* rever
2024-07-10 23:15:06 +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
二货爱吃白萝卜
1c7b2d9420
fix: tailwindcss dot processing (#49379) 2024-06-12 20:10:09 +08:00
Wanpan
470e8a8e0a
fix: fix Badge CSSMotion setref use error and add test case (#48878) 2024-05-11 13:54:40 +08:00
lijianan
029cb1dff0
test: rm legacy react-dom/test-utils for compatible React-18.3.1 (#48667)
* test: rm legacy react-dom/test-utils for compatible React-18.3.0

* fix: fix

* chore: cls

* chore: update

* fix: fix
2024-04-28 09:52:54 +08:00
Akino
cba15332ff
fix(badge): number centered but slightly right-aligned (#48605) 2024-04-24 14:11:14 +08:00
lijianan
854cdb4352
type: optimize CompoundedComponent type (#48346)
* type: optimize CompoundedComponent type

* chore: fix

* type: fix type

* chore: fix

* type: fix type

* type: add ts-ignore

* fix: fix

* chore: revert
2024-04-09 16:49: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
LonelySnowman
e665894e3a
fix: float button render hover color correctly (#48198) 2024-04-01 10:11:11 +08:00
github-actions[bot]
80f49bfcf2
chore: auto merge branches (#48020)
chore: merge master into feature
2024-03-23 16:15:34 +00:00
二货爱吃白萝卜
20561d6f9d
docs: Fix component doc alignment & support import usage (#48004)
* docs: init ref

* docs all support

* docs: fix link show
2024-03-22 14:22:42 +08:00
pfdgithub
536f296d11
fix: consistent with the tag component, the processing state uses colorInfo token. (#47695)
Signed-off-by: pfdgithub <pfdgithub@users.noreply.github.com>
2024-03-05 10:15:13 +08:00
lijianan
a84af71d14
site: code optimization (#47456) 2024-02-16 20:50:31 +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
mr-chenguang
f1f4788e38
fix: use flex to correct avatar child position (#47236)
* fix: remove avatar border when height less then 16

* fix: 使用 flex 完成子元素居中布局

* fix: fix avatar tests snapshot

* fix: fix avatar tests snapshot

* Update components/avatar/style/index.ts

Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: mr-chenguang <37072324+lcgash@users.noreply.github.com>

* fix: changealign

* fix: update avatar snapshots

* fix:update snapshot

* fix: update snapshot

* fix: update snapshot

---------

Signed-off-by: mr-chenguang <37072324+lcgash@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-01-31 18:20:21 +08:00
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
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
MadCcc
80e46b7662
chore: enable cssVar in imageTest (#45985)
* chore: enable cssVar in imageTest

* fix: tree select style

* chore: fix avatar group style

* fix: cascader panel style

* fix: form style

* fix: slider disabled style

* fix: mentions style

* fix: tag style

* fix: tabs style

* fix: Rate style

* fix: table custom token

* chore: update snapshot

* fix: menu style

* fix: InputNumber style

* chore: recover image test

* chore: add css var image test
2023-11-22 20:53:48 +08:00
lijianan
43e9785f37
feat: Badge support cssVar (#45906)
* feat: Badge support cssVar

* fix: fix

* fix: fix

* fix: fix

---------

Signed-off-by: lijianan <574980606@qq.com>
2023-11-16 14:49:13 +08:00
Rinku Chaudhari
c4040ec81b
chore: fix docs comments (#45156)
* refactor: convertLegacyProps function moved to buttonHelpers

* docs: spelling and grammar fixes

* docs: fix comments grammar
2023-10-03 05:44:09 +08:00
MadCcc
114ff39f8c Merge branch 'master' into feature-merge-master 2023-09-05 13:41:06 +08:00
lijianan
6a5e7ded43
refactor: remove Space & Grid IE compatible logic (#44620)
* refactor: remove IE compatible logic

* fix: fix

* fix: fix

* fix: fix
2023-09-05 10:17:56 +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
二货机器人
16f8228249 chore: merge master 2023-08-28 21:56:37 +08:00
二货爱吃白萝卜
ca0396859b
refactor: abstract ribbon style (#44451) 2023-08-27 23:48:56 +08:00
MadCcc
68ee32268b Merge branch 'master' into feature-merge-master 2023-08-24 21:04:48 +08:00
MadCcc
9312b0059e
chore: update icon snapshot (#44414) 2023-08-24 21:01:10 +08:00
栗嘉男
f91bc7baa4 test: update snap 2023-08-21 00:26:32 +08:00
栗嘉男
39ca9d89f4 chore: merge master into feature 2023-08-18 15:01:08 +08:00
lijianan
20cb8fc49f
site: revert lost api description (#44216) 2023-08-15 09:31:49 +08:00
MadCcc
009779c21e
chore: collapse token meta (#44211) 2023-08-14 20:39:31 +08:00
猫猫
e0e373f301
fix(badge): fix badge number is rtl (#43998)
* fix(badge): fix badge number is rtl

* test: fix snapshots

* feat: use dir attribute instead of bdi

* test: update snapshots

* test: back of snapshot

---------

Co-authored-by: 二货机器人 <smith3816@gmail.com>
2023-08-14 19:14:46 +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
二货爱吃白萝卜
54081c800a
fix: Badge dot with status (#44153)
* fix: Badge with dot not processing

* test: update snapshot
2023-08-10 17:10:09 +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
kiner-tang(文辉)
5351fac42a
feat: Badge.Ribbon support rootClassName (#44056)
* feat: Badge.Ribbon support rootClassName

* docs: update rootClassName description

* feat: optimize code

* feat: optimize code
2023-08-07 18:06:44 +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
MadCcc
425e6ce697
chore: update test case (#43824) 2023-07-26 17:50:37 +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
efa427072a
chore: code style optimization (#43458) 2023-07-09 16:47:31 +08:00
栗嘉男
60a2ae6319 chore: merge master into feature 2023-07-04 11:41:25 +08:00
afc163
1d2f874150
style: Badge color should be respected (#43304)
* style: Badge color should be respected

* test: update snapshot

* style: fix Badge color
2023-07-01 01:30:19 +08:00