Jony J
08a9325182
feat: add a11y test for components demo ( #51414 )
...
* test: add accessibility test utilities
* refactor(tests): replace polling with Promise chain for axe test queue management
* test: add a11y test for components demo
* feat: add a11y test utils
* test: add a11y test for components demo
* test: add a11y test for components demo
* chore: remove unnecessary code
* feat: add polyfill for test environment
* test: add a11y test for components demo
* test: add a11y test for components demo
* chore: adjust code style
2024-11-01 11:30:11 +08:00
ice
696c9dde02
fix(button): type=link error token & add prefix cls (color/variant) & specificity too high ( #50962 )
2024-09-24 23:52:50 +08:00
renovate[bot]
863f61d908
chore(deps): update dependency eslint to v9 ( #50690 )
...
Co-authored-by: afc163 <afc163@gmail.com>
2024-09-19 03:30:19 +08:00
ice
badfbe3cfe
feat(Button): support variant and color ( #50051 )
...
* feat(button): variant & color types
* feat: type -> color/variant
* feat: type -> color/variant
* feat: add variant filled
* test: snap
* refactor(button): rename type -> variant
* docs: add demo
* feat: add danger ghost style
* refactor: remove deprecated
* refactor: eslint
* docs: change color&variant
* test: updated snap
* docs: color-variant
* docs: add debug color&variant
* feat: global token
* refactor: remove comment
* docs: add color&variant docs
* docs: remove default
* docs: add space
* docs: code
* test: update snap
* test: fix snap
* test: btn querySelect
* feat: change filled hoverStyle
* test: fix
* feat: support grey wave
* refactor: enhance
* docs: color/variant -> v 5.21
* test: snap
* feat: add token
* test: to do
* test: fix test
* ci: rebuild
* style: remove
* style: space
* docs: add note & FQA
* feat: add componentsToken
* refactor: remove isNotGrey
* test: add case
* docs: tile button
* test: snap
* docs: site & snap
* Update components/button/index.en-US.md
Co-authored-by: lijianan <574980606@qq.com>
Signed-off-by: ice <49827327+coding-ice@users.noreply.github.com>
* fix: token color & undef
* docs: site
* docs: responsive
* docs: enhance FAQ
* docs: gap middle
* test: snap
* Update components/theme/interface/maps/colors.ts
Co-authored-by: MadCcc <1075746765@qq.com>
Signed-off-by: ice <49827327+coding-ice@users.noreply.github.com>
* Update components/theme/interface/maps/colors.ts
Co-authored-by: MadCcc <1075746765@qq.com>
Signed-off-by: ice <49827327+coding-ice@users.noreply.github.com>
* Update components/theme/interface/maps/colors.ts
Co-authored-by: MadCcc <1075746765@qq.com>
Signed-off-by: ice <49827327+coding-ice@users.noreply.github.com>
* Update components/button/style/token.ts
Co-authored-by: MadCcc <1075746765@qq.com>
Signed-off-by: ice <49827327+coding-ice@users.noreply.github.com>
* Update components/button/style/token.ts
Co-authored-by: MadCcc <1075746765@qq.com>
Signed-off-by: ice <49827327+coding-ice@users.noreply.github.com>
* refactor: rename
* docs: prettier
* chore: eslint
* refactor: cls
* test: add solidTextColor case
* refactor: genVariantButtonStyle
* refactor: genVariantButtonStyle
* refactor: genVariantButtonStyle
* fix: rename
* docs: text
* fix: remove border
* feat: add token colorErrorBgFilledHover
* chore: add size-limit
* refactor: rename
---------
Signed-off-by: ice <49827327+coding-ice@users.noreply.github.com>
Co-authored-by: lijianan <574980606@qq.com>
Co-authored-by: MadCcc <1075746765@qq.com>
2024-09-03 17:39:02 +08:00
lijianan
429cf1b3b2
refactoring: rewrite renderCircle with React Component ( #50358 )
2024-08-11 16:18:29 +08:00
红
5f3ab95a10
fix(Spin): progress bar mode in container not centered error ( #50277 )
2024-08-06 22:26:46 +08:00
lijianan
1421eccb04
chore: update componentCls key again ( #50251 )
...
* chore: update componentCls key again
* Update components/skeleton/style/index.ts
Signed-off-by: lijianan <574980606@qq.com>
---------
Signed-off-by: lijianan <574980606@qq.com>
2024-08-05 22:30:55 +08:00
renovate[bot]
7fdfb299eb
chore(deps): update dependency @typescript-eslint/parser to v8 ( #50228 )
...
* chore(deps): update dependency @typescript-eslint/parser to v8
* Update package.json
Signed-off-by: afc163 <afc163@gmail.com>
* fix eslint errors
---------
Signed-off-by: afc163 <afc163@gmail.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-08-04 12:24:35 +08:00
ice
2a6d88489d
feat(spin): configProvider support indicator prop ( #50183 )
2024-08-01 15:07:35 +08:00
github-actions[bot]
105bd19614
chore: auto merge branches ( #49893 )
...
chore: merge master into feature
2024-07-15 22:24:34 +00:00
二货爱吃白萝卜
97fca5b050
fix: Spin ptg style ( #49876 )
2024-07-15 14:50:43 +08:00
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
Avan
eef48c87c2
fix: spin lg progress center ( #49763 )
...
* style: dot-progress repeated
* style: due to the large height caused by the lg, it affects the non-centered display position of the dot-progress
---------
Co-authored-by: lijianan <574980606@qq.com>
2024-07-08 10:18:05 +08:00
Avan
2a5665616d
style: rm dot-progress repeated ( #49762 )
2024-07-08 06:22:51 +08:00
lijianan
6b2b49c1dc
demo: update Spin demo ( #49753 )
2024-07-07 17:44:21 +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
Wanpan
d0fd9935c6
fix: Fix Spin missing default font size when customizing icons ( #49211 )
...
* fix: Fix Spin missing default font size when customizing icons
* chore: adjust style
* test: add test case
---------
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2024-06-04 15:12:59 +08:00
二货爱吃白萝卜
0352b2fd2e
feat: Spin support percent ( #48657 )
...
* feat: spin support ptg
* chore: ptg
* chore: update demo
* chore: popout component
* chore: adjust logic
* test: update snapshot
* test: update snapshot
* docs: update docs
* test: update snapshot
* test: update snapshot
* test: update snapshot
* chore: back of snapshot
* chore: clean up
* test: fix test case
* chore: fix types
* test: update snapshot
* chore: opt
* test: update testcase
* test: coverage
* test: update snapshot
2024-06-03 11:30:27 +08:00
Arvin Xu
072afcd79f
type: Enhance Spin component TypeScript definitions and documentation ( #49036 )
2024-05-23 17:02:39 +08:00
afc163
db17128186
demo: fix Spin tip demo in SSR mode ( #48688 )
...
* demo: fix Spin tip demo in SSR mode
* Update components/spin/demo/tip.tsx
Co-authored-by: lijianan <574980606@qq.com>
Signed-off-by: afc163 <afc163@gmail.com>
---------
Signed-off-by: afc163 <afc163@gmail.com>
Co-authored-by: lijianan <574980606@qq.com>
2024-04-29 13:49:40 +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
二货爱吃白萝卜
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
lijianan
9836a74086
chore: rm unnecessary export ( #47568 )
2024-02-24 14:50:03 +08:00
Aelita
87b45e6198
fix(spin): remove false positive warning with tip
and fullscreen
used together ( #47015 )
...
* fix(spin): remove false positive warning with `tip` and `fullscreen` used together
* fix(spin): update warning text
2024-01-19 22:20:50 +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
lijianan
b5084a3da9
test: add test case for Spin ( #46347 )
2023-12-09 15:03:48 +08:00
lijianan
4030bb3d05
fix: rm pointer-events when Spin fullscreen ( #46303 )
2023-12-07 14:27:15 +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
3787478790
feat: Spin support cssVar ( #45819 )
...
* feat: Spin support cssVa
* feat: Spin support cssVar
* feat: Spin support cssVar
* Apply suggestions from code review
Signed-off-by: MadCcc <1075746765@qq.com>
---------
Signed-off-by: MadCcc <1075746765@qq.com>
Co-authored-by: MadCcc <madccc@foxmail.com>
2023-11-13 16:09:35 +08:00
MadCcc
52d2439fae
Merge branch 'master' into feature-merge-master
2023-11-03 10:18:19 +08:00
lijianan
99faed814a
demo: update Spin demo layout to Flex Component ( #45577 )
...
Signed-off-by: lijianan <574980606@qq.com>
2023-11-01 22:26:02 +08:00
lijianan
30c8e426c3
feat: add transition to spin fullscreen ( #45436 )
2023-10-20 16:28:24 +08:00
Rafael Martins
cc223a102c
feat(spin): Adds fullscreen
property to <Spin />
component ( #44986 )
...
* feat: start the implementation of the fullscreen prop in Spin
* docs: change main spin demo
* docs: enhance demo
* test: update snapshot
* fix: address pr comments
* fix: use logical property on fullscreen class
* fix: address pr review
* feat: Added background color token
* fix: remove onClick and change demo
* feat: change spin to white when fullcreen
also use the bgmask as background, removing the bgColor token
* fix: unused import
* test: update snapshot
* Update components/spin/style/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
* fix: use white color from token
* fix: not needed interpolation and version
* fix: address pr review
* fix: tip prop was not working
* test: cover tip & fullscreen case
* fix: addrress pr coments
---------
Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: lijianan <574980606@qq.com>
Co-authored-by: MadCcc <1075746765@qq.com>
2023-10-19 13:47:48 +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
二货爱吃白萝卜
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
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
MadCcc
820a9213c3
feat: Spin token ( #44334 )
...
* feat: Spin token
* chore: code clean
2023-08-22 11:47:07 +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
二货爱吃白萝卜
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
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
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
栗嘉男
60a2ae6319
chore: merge master into feature
2023-07-04 11:41:25 +08:00
lijianan
e2907c8ac2
performance: add key for <i /> ( #43317 )
...
* performance: add key for <i />
* Update index.tsx
Signed-off-by: lijianan <574980606@qq.com>
---------
Signed-off-by: lijianan <574980606@qq.com>
2023-07-03 09:55:42 +08:00