ant-design/components/_util
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
..
__tests__ feat(Button): support variant and color (#50051) 2024-09-03 17:39:02 +08:00
hooks chore: auto merge branches (#50476) 2024-08-19 03:33:28 +00:00
wave feat(Button): support variant and color (#50051) 2024-09-03 17:39:02 +08:00
ActionButton.tsx refactor: add boime lint and fix lint errrors (#49536) 2024-06-22 21:59:12 +08:00
aria-data-attrs.ts feat: make statistic component support html role and data-* and aria-* attributes (#47149) 2024-01-26 15:27:02 +08:00
capitalize.ts refactor: cssinjs for tag (#34422) 2022-03-15 15:33:50 +08:00
colors.ts docs: format code (#48309) 2024-04-08 14:04:08 +08:00
ContextIsolator.tsx refactor: add boime lint and fix lint errrors (#49536) 2024-06-22 21:59:12 +08:00
easings.ts refactor: add boime lint and fix lint errrors (#49536) 2024-06-22 21:59:12 +08:00
extendsObject.ts chore: type refactor (#46346) 2023-12-09 13:31:45 +08:00
gapSize.ts refactor: extract public methods (#44737) 2023-09-10 14:34:22 +08:00
getAllowClear.tsx fix: color picker controlled value (#47816) 2024-03-25 20:10:47 +08:00
getRenderPropValue.ts chore: type refactor (#46346) 2023-12-09 13:31:45 +08:00
getScroll.ts refactor: add boime lint and fix lint errrors (#49536) 2024-06-22 21:59:12 +08:00
index.en-US.md docs: Fixed typo (#48393) 2024-04-11 12:09:37 +08:00
index.zh-CN.md docs: update components/_util/index.zh-CN.md (#50235) 2024-08-05 12:50:19 +08:00
isNumeric.ts chore(deps-dev): bump eslint-config-prettier from 6.15.0 to 7.0.0 (#28253) 2020-12-09 17:12:32 +08:00
motion.ts chore(deps): update dependency @typescript-eslint/parser to v8 (#50228) 2024-08-04 12:24:35 +08:00
placements.ts fix(popover): arrow. pointAtCenter misalignment error (#50260) 2024-08-12 11:56:29 +08:00
PurePanel.tsx feat: tsconfig enable strict (#47998) 2024-04-01 15:49:45 +08:00
reactNode.ts refactor: add boime lint and fix lint errrors (#49536) 2024-06-22 21:59:12 +08:00
responsiveObserver.ts refactor(theme): migrate and refactor type GlobalToken by @ant-design/cssinjs-utils 2024-07-23 16:45:02 +08:00
scrollTo.ts chore: rm useless second param (#49426) 2024-06-15 15:39:01 +08:00
statusUtils.ts chore(deps): update dependency @typescript-eslint/parser to v8 (#50228) 2024-08-04 12:24:35 +08:00
styleChecker.ts refactor: remove Space & Grid IE compatible logic (#44620) 2023-09-05 10:17:56 +08:00
throttleByAnimationFrame.ts refactor: rewrite Affix CC => FC (#42674) 2023-10-07 18:53:14 +08:00
transButton.tsx fix: Safari ellipsis (#49221) 2024-06-04 19:14:12 +08:00
transKeys.ts feat: improve Transfer key type (#47879) 2024-03-14 21:14:21 +08:00
type.ts feat(Button): support variant and color (#50051) 2024-09-03 17:39:02 +08:00
warning.ts docs: add more JSDoc (#48101) 2024-03-26 23:01:04 +08:00
zindexContext.ts fix: Dropdown with nest menu zIndex error (#45761) 2023-11-09 19:07:22 +08:00