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
二货机器人
9d0e67de28
chore: merge master
2024-09-04 14:11:23 +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
ice
cfc07f2985
docs(button): bump from @emotion/css to antd-style ( #50662 )
2024-08-30 22:27:36 +08:00
afc163
ce1721b169
demo: improve button gradient demo ( #49786 )
...
* demo: improve button gradient demo
* demo: improve button gradient demo
2024-07-09 17:27:16 +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
tanghui
b9a1cabd9f
Merge branch 'master' into feature-merge-master
2024-05-18 15:31:20 +08:00
二货爱吃白萝卜
b62b81958b
test: Fix React 18.3 findDOMNode warning ( #48958 )
...
* fix: try to fix React 18.3 warning
* chore: back of ci
* chore: fix type
* chore: fix lint
* chore: update deps
* fix: component error
* test: update snapshot
* test: update snapshot
* test: update snapshot
* test: update snapshot
* test: update snapshot
* chore: update deps
* test: update snapshot
* test: update snapshot
* test: update snapshot
* chore: update deps
* test: update snapshot
* test: update snapshot
* test: update snapshot
* chore: bump version
2024-05-18 15:07:26 +08:00
afc163
6957a5f90d
style: fix Button align issue ( #47318 )
...
* style: fix Button align issue
* test: fix test case
* test: fix AutoComplete image diff
* test: fix Transfer image diff
* refactor: simpify icon position code
* chore: remove unused import
* chore: update snapshot
* chore: fix button style
* chore: fix button style
2024-05-09 17:41:26 +08:00
afc163
766ae3b320
fix: Button icon order and margin in rtl mode ( #48821 )
...
* fix: Button icon order and margin in rtl mode
* demo: default iconPosition should be end
* fix: test case
2024-05-08 20:07:57 +08:00
lijianan
8b1f79c1f5
demo: update demo type { children: React.ReactNode }
=> React.PropsWithChildren
( #48771 )
...
* demo: update demo type React.ReactNode => React.PropsWithChildren
* fix: fix
2024-05-06 12:04:27 +08:00
lijianan
ba5f9fe2f8
Merge pull request #48677 from ant-design/master
...
chore: merge master into feature
2024-04-28 14:02:49 +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
lijianan
6a7945d2fd
feat: Button support autoInsertSpace prop ( #48348 )
...
* feat: Button support autoInsertSpaceInButton prop
* demo: update demo
* fix: fix
* test: add test case
* docs: update docs
* chore: deprecated autoInsertSpaceInButton prop
* Update components/button/button.tsx
Co-authored-by: MadCcc <madccc@foxmail.com>
Signed-off-by: lijianan <574980606@qq.com>
* fix: fix
* fix: fix
* Update components/button/button.tsx
Co-authored-by: MadCcc <madccc@foxmail.com>
Signed-off-by: lijianan <574980606@qq.com>
* fix: fix
* Update components/button/button.tsx
Signed-off-by: lijianan <574980606@qq.com>
* fix: fix
* fix: fix
---------
Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: MadCcc <madccc@foxmail.com>
2024-04-11 15:29:10 +08:00
lijianan
4cba8b85d5
Merge pull request #48383 from ant-design/master
...
chore: merge master into feature
2024-04-10 20:30:10 +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
叶枫
6dcd6e2dc1
feat: merge master
2024-04-08 14:37:05 +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
George H
14f8279aea
feat: Support iconPosition with button icon ( #47791 )
...
* feat: button support iconPosition
* fix: iconPosition compatible LoadingIcon
* docs(Button): update Button with iconPosition demo
* fix: delete debug type
* fix: iconPosition for InnerLoadingIcon with not existIcon
* chore: update button snapshots
* fix: fixed loading-icon-end style
* chore: refactor buttonContent with genButtonContent
* fix: iconPosition compatible with rtl
* docs(Button): update button with iconPosition demo
* chore: update test
* fix: iconPosition compatible with rtl
* docs(Buttob): add icon-position demo
* restore icon demo
* update snapshots
* docs: update icon button demo
* docs: update iconPosition button demo
* Update components/button/index.zh-CN.md
Co-authored-by: kiner-tang <1127031143@qq.com>
Signed-off-by: George H <default_hyn@163.com>
* Update components/button/index.zh-CN.md
Co-authored-by: kiner-tang <1127031143@qq.com>
Signed-off-by: George H <default_hyn@163.com>
* Update components/button/demo/icon-position.md
Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: George H <default_hyn@163.com>
* Update components/button/index.en-US.md
Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: George H <default_hyn@163.com>
* Update components/button/index.en-US.md
Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: George H <default_hyn@163.com>
---------
Signed-off-by: George H <default_hyn@163.com>
Co-authored-by: kiner-tang <1127031143@qq.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-04-07 22:42:20 +08:00
afc163
b63a94108f
demo: fix linear gradient button demo and remove debug flag ( #48320 )
...
* demo: fix linear gradient button demo and remove debug flag
* fix active colors
2024-04-07 19:14:56 +08:00
二货爱吃白萝卜
01f923effe
fix: Compatible with v4 logic ( #47612 )
2024-02-27 19:11:46 +08:00
MadCcc
c35e0982cb
fix: Button padding token should follow contentFontSize ( #46901 )
2024-01-11 11:18:21 +08:00
vagusx
71bd883126
Merge remote-tracking branch 'origin/master' into feature-merge-master-12-04
2023-12-04 10:32:45 +08:00
afc163
83f969b2be
style: Button support gradient background ( #46192 )
...
* style: Button support gradient background
* chore: fix test case
2023-12-01 23:25:46 +08:00
lijianan
17dff7c630
chore: merge master into feature
2023-11-23 03:09:24 +08:00
MadCcc
08a85d284c
fix: disabled link button should not have navigate when right click ( #46021 )
...
* fix: disabled link button should not have navigate when right click
* chore: update snapshot
2023-11-22 21:09:02 +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
MadCcc
2dda417e29
fix: disabled btn with link should not be focused ( #45910 )
...
* fix: disabled btn with link should not be focused
* chore: update snapshot
* chore: update snapshot
2023-11-16 11:36:51 +08:00
二货爱吃白萝卜
c31fc76443
fix: Dropdown with nest menu zIndex error ( #45761 )
...
* chore: fix zIndex logic
* chore: detect if needed
* docs: update bug version
* test: update snapshot
* test: update snapshot
* test: update snapshot
2023-11-09 19:07:22 +08:00
栗嘉男
661f3e8323
Merge branch 'master' into feature-merge-master
2023-10-29 14:04:47 +08:00
lijianan
4b99c4ed31
demo: update Button demo layout to Flex Component ( #45566 )
2023-10-29 02:11:17 +08:00
kiner-tang(文辉)
6d9db9fd99
feat: dropdown support z-index manager ( #45486 )
...
* feat: dropdown support z-index manager
* feat: update snap
* feat: optimize code
2023-10-23 06:46:08 -05:00
YDFlame13
da23a00dfa
fix: Button loading={delay: 0} did not show correctly ( #45282 )
...
* fix: Button loading={delay: 0} 不显示加载
* fix:add item test to bug 45273
---------
Co-authored-by: wswang9 <wswang9@iflytek.com>
Co-authored-by: YDFlame13 <ydflame@tom.com>
2023-10-13 18:52:47 +08:00
MadCcc
9f55e6c11a
fix: Button two Chinese chars ( #45126 )
2023-09-27 20:17:40 +08:00
Zhaolin Liang
ef7c500a8e
fix(Button): loading icon appearing when rendering ( #45030 )
2023-09-26 11:57:03 +08:00
JiaQi
51fc8dcbcd
refactor(tootip): delete the logic related to the disabled children ( #44895 )
...
* refactor(tootip): delete the logic related to the disabled children
* chore: update test case
* chore: update snapshots
2023-09-22 10:11:31 +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
MadCcc
4fe27ba027
feat: button component token ( #44090 )
...
* feat: button component token
* chore: add demo
* chore: update
2023-08-08 14:03:31 +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
二货爱吃白萝卜
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
二货爱吃白萝卜
66c686ed16
fix: btn miss type ( #43716 )
2023-07-21 23:36:11 +08:00
二货爱吃白萝卜
4de4367706
fix: Button default event handler ( #43666 )
...
* test: test driven
* fix: types
* chore: post script
2023-07-20 09:46:26 +08:00
二货爱吃白萝卜
a9bceec602
fix: Button ts ( #43629 )
2023-07-18 23:59:53 +08:00
kiner-tang(文辉)
f0a94139e7
fix(Button): button's children should be disabled when button is disabled ( #42949 )
...
* fix: button's children should be disabled when button is disabled
* feat: update test case
* feat: update test case
2023-06-12 10:22:32 +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
5d53884919
fix: fix wrong button icon size and margin ( #42516 )
2023-05-22 13:37:41 +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