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
lijianan
6889af430f
feat: CP support Steps className and style ( #43073 )
...
* feat: CP support Steps className and style
* fix lint
* fix: remove useMemo
* docs: update docs
* Update index.tsx
* fix
2023-06-25 11:42:31 +08:00
lijianan
b8f2b2165d
feat: CP support Spin className and style ( #43071 )
...
* feat: CP support Spin className and style
* fix: remove useMemo
* docs: update docs
* fix
* fix
* fix
* fix
2023-06-20 19:34:45 +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
二货爱吃白萝卜
31852e1b65
chore: add warning of tip with spin ( #42293 )
2023-05-12 09:51:44 +08:00
lijianan
ac5a06027e
revert: "chore: unified import method ( #42149 )" ( #42180 )
...
This reverts commit ea8ed28209
.
2023-05-06 15:49:37 +08:00
cheapCoder
af0f8904b2
fix(style): keep Spin's container height the same as son element ( #42162 )
...
* fix(style): keep Spin's container height the same as the icon son element
* fix(style): update fontSize override way similar to radio group
2023-05-06 00:25:46 +08:00
lijianan
ea8ed28209
chore: unified import method ( #42149 )
...
* chore: unified import method
* fix lint
2023-05-05 20:52:44 +08:00