ant-design/components/_util/__tests__
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
..
capitalize.test.ts refactor: cssinjs for tag (#34422) 2022-03-15 15:33:50 +08:00
ContextIsolator.test.tsx refactor: add ContextIsolator component (#49438) 2024-06-21 02:10:21 +08:00
easings.test.ts chore: signatures for tests (#37949) 2022-10-19 11:50:18 +08:00
getScroll.test.ts test(getScroll): When window is undef (#50266) 2024-08-07 20:11:57 +08:00
hooks.test.tsx feat: Tag support aria-* in closable (#47678) 2024-03-31 11:56:55 +08:00
reactNode.test.tsx chore: rm unnecessary export (#47568) 2024-02-24 14:50:03 +08:00
responsiveObserve.test.tsx docs: format code (#48309) 2024-04-08 14:04:08 +08:00
scrollTo.test.ts Revert "chore: migrate to vitest (#42506)" (#42900) 2023-06-07 21:59:21 +08:00
transButton.test.tsx docs: format code (#48309) 2024-04-08 14:04:08 +08:00
type.test.tsx chore(deps): update dependency @typescript-eslint/parser to v8 (#50228) 2024-08-04 12:24:35 +08:00
useSyncState.test.tsx docs: format code (#48309) 2024-04-08 14:04:08 +08:00
useUniqueMemo.test.tsx type: update useUniqueMemo params type (#49389) 2024-06-13 09:32:28 +08:00
useZIndex.test.tsx feat: FloatButton support dynamic z-index (#50311) 2024-08-09 22:22:45 +08:00
util.test.tsx docs: format code (#48309) 2024-04-08 14:04:08 +08:00
warning.test.tsx docs: format code (#48309) 2024-04-08 14:04:08 +08:00
wave.test.tsx feat(Button): support variant and color (#50051) 2024-09-03 17:39:02 +08:00