lijianan
1776d741ce
type: rm unnecessary button type ( #51332 )
2024-10-22 09:57:14 +08:00
Muhammad Sohaib Raza
4b5cee0b3f
refactor: minor refactoring + optimization ( #42037 )
...
Co-authored-by: mac <mac@macs-MacBook-Pro.local>
Co-authored-by: SohaibRaza <sohaib.raza@devcrew.io>
Co-authored-by: lijianan <574980606@qq.com>
2024-10-20 21:12:53 +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
栗嘉男
e642d5ea4a
chore: merge master into feature
2024-06-02 21:48:48 +08:00
ice
664f3e6b2e
refactor(button): change bool type ( #49156 )
2024-05-31 15:19:25 +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
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
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
二货爱吃白萝卜
01f923effe
fix: Compatible with v4 logic ( #47612 )
2024-02-27 19:11:46 +08:00
叶枫
842791b2cb
fix: react 16 test ( #47016 )
2024-01-17 22:28:15 +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
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
ff462adfa7
Merge branch 'master' into feature-merge-master
2023-11-17 14:21:30 +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
MadCcc
5f1dd427df
feat: css var ( #45589 )
...
* feat: css variables theme
* chore: temp
* chore temp
* chore: temp
* chore: temp
* chore: tmp
* chore: temp
* feat: full css variables
* feat: css var
* chore: code clean
* chore: code clean
* chore: bump cssinjs
* test: fix lint
* feat: better key logic
* feat: useStyle add param rootCls for cssVar scope
* chore: fix lint
* chore: code clean
* chore: fix lint
* perf: minimize component token size
* chore: make useId compatible
* chore: code clean
* chore: fix lint
* chore: code clean
* chore: update test case
* feat: genCSSVarRegister
* feat: RPN Calculator
* chore: add test for css var
* chore: code clean
* test: add test for calc
* feat: better calc type
* chore: code clean
* chore: update size limit
* feat: better useCSSVar
* chore: better useCSSVar
* test: add cov
* feat: better calc logic
* test: add test case
* chore: code clean
---------
Signed-off-by: MadCcc <madccc@foxmail.com>
2023-11-06 10:31:51 +08: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
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
Rinku Chaudhari
c9e94c26f6
refactor: convertLegacyProps function moved to buttonHelpers ( #44777 )
2023-09-12 11:38:11 +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
二货爱吃白萝卜
acdf1153fa
refactor: Extract Tag unused style ( #44512 )
...
* refactor: tag status as extract style
* chore: add key
* chore: preset of it
2023-08-29 19:43:48 +08:00
二货爱吃白萝卜
a95662d0e1
refactor: button default not use compact style ( #44475 )
...
* refactor: button default not use compact style
* chore: clean up
2023-08-28 21:42:39 +08:00
二货爱吃白萝卜
72b449a1a4
docs: update faq ( #44198 )
...
* docs: update faq
* chore: update lint
* chore: update lint
* chore: use returnType
2023-08-14 13:32:57 +08:00
二货爱吃白萝卜
8b19102b0d
feat: wave effect config ( #43784 )
...
* feat: support wave effect
* docs: more info
* test: add test case
* docs: update demo
* test: coverage
2023-07-25 16:29:47 +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
thinkasany
fc83371a00
type(button): add style type React.CSSProperties ( #43588 )
2023-07-16 18:30:15 +08:00
洋
cb338a2c61
fix: Button disabled style with link or href case ( #43091 )
...
* fix: Button disabled style with link or href case
* chore: update
* fix: update link disable logic
* test: update snapshot
* chore: update
* chore: update code
Co-authored-by: wxh16144 <wxh16144@users.noreply.github.com>
* Update components/button/style/index.ts
Co-authored-by: Wuxh <wxh16144@qq.com>
---------
Co-authored-by: 洋 <hetongyang@bytedance.com>
Co-authored-by: wuxh <wxh1220@gmail.com>
Co-authored-by: wxh16144 <wxh16144@users.noreply.github.com>
Co-authored-by: MadCcc <1075746765@qq.com>
Co-authored-by: Wuxh <wxh16144@qq.com>
2023-06-30 14:19:06 +08:00
thinkasany
4a4d276d25
type: correct type & remove useless type ( #43256 )
2023-06-29 01:16:11 +08:00
kiner-tang(文辉)
cc4277eb55
chore(Button): spelling optimization ( #43157 )
2023-06-24 12:55:06 +08:00
lijianan
209f062131
type: update string type with React.HTMLAttributeAnchorTarget ( #43129 )
2023-06-21 11:44:48 +08:00
daisy
8a4203bec8
fix(Space): modify the priority of the component's size ( #42752 )
...
* fix(Space): modify the priority of the component's size
* chore: snapshot
* chore: snapshot
2023-06-19 14:26:48 +08:00
LuZhenJie1999
b6442fe285
feat: add style/className/styles/classNames to ConfigProvider ( #42623 )
...
* feat: add style/className/styles/classNames to ConfigProvider
* chore: better code
* Update components/config-provider/index.en-US.md
Co-authored-by: lijianan <574980606@qq.com>
* Update components/config-provider/index.zh-CN.md
Co-authored-by: lijianan <574980606@qq.com>
---------
Co-authored-by: 歆其 <luzhenjie.lzj@antgroup.com>
Co-authored-by: MadCcc <1075746765@qq.com>
Co-authored-by: lijianan <574980606@qq.com>
2023-05-26 16:42:26 +08:00
github-actions[bot]
59c9119be1
chore: auto merge branches ( #42276 )
...
chore: master merge feature
2023-05-12 15:14:26 +00: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
github-actions[bot]
a83d2d7e7d
chore: auto merge branches ( #42127 )
...
chore: feature merge master
2023-05-04 03:30:50 +00:00
lijianan
4ecac35a29
chore: use composeRef(ref, internalRef)
replace ref || internalRef
( #42036 )
...
* chore: use composeRef replace ref || internalRef
* style
* revert
2023-04-27 17:31:32 +08:00
MadCcc
9e1934248b
Merge branch 'master' into feature-merge-master
2023-04-27 10:16:07 +08:00
ayang
e5fad4c2d6
style: optimize button code ( #42005 )
2023-04-26 14:52:21 +08:00
黑雨
41ed9bd430
feat: Button semantic dom ( #41456 )
...
* feat: add semantic doc
* 🔀 feat: rebase feature
* feat: update for code reviewer
* feat: update snap
* feat: update snap
* 🐛 bug: update for cov
* Message
* bug: update snap
* 💄 style: update style
* 💄 style: update style
* 💄 style: update style
* 💄 style: update style
* 💄 style: update style
* 💄 style: update style
* ♻️ feat: ref code
* 🩺 feat: update for review
* 💄 style: update style
* 📝 doc: update doc
* 💄 style: update style
* 💄 style: update style
* 💄 style: update style
* 💄 style: update style
* 💄 style: update style
* 💄 style: update style
* 💄 style: update style
* 📸 feat:update snap
* 🚧 feat: clean up
* 🚧 feat: clean up
* feat: icon wrapper
* test: update snapshot
* chore: code clean
* fix: icon only font size
* chore: rollback unexpected commit
---------
Co-authored-by: MadCcc <1075746765@qq.com>
2023-04-11 11:37:31 +08:00
lijianan
3b22b89e6d
type: fix type error ( #41650 )
...
* type: fix type error
* fix
2023-04-06 17:33:14 +08:00
红果汁
0a24676845
fix: use loading delay not delay at first time ( #40751 ) ( #40759 )
...
* fix: use loading delay not delay at first time
* perf: test code
* refactor: optimization code
* fix: lint problem
* refactor: prefer code
* refactor: prefer code
* refactor: prefer code
2023-02-19 12:48:28 +08:00
二货爱吃白萝卜
1fc374495f
chore: patch for missing rootClassName ( #40217 )
...
* chore: init test
* test: rootClassName inject
* test: part of test
* chore: patch qrcode rootCls
* chore: part rootClassName
* chore: part rootClassName
* test: more test
* test: more test
* test: more test
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* test: more test
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: fix lint
* chore: fix lint
* chore: ignore part of lint
* test: update snapshot
* test: fix test case
* chore: fix node test
* chore: adjust render logic
* fix: test
* test: update snapshot
* test: update
* refactor
* chore: fix require module logic
2023-01-20 11:03:50 +08:00