From 4ef10fe0c9bd5c4473efb39e1bc6cdc357a5476c Mon Sep 17 00:00:00 2001 From: Andrew Holloway Date: Fri, 8 Mar 2024 17:45:54 -0600 Subject: [PATCH] feat(Button)!: introduce button v2.0 --- src/components/Button/Button-v1.module.css | 593 +++++++++++++++++ ...tton.stories.tsx => Button-v1.stories.tsx} | 4 +- src/components/Button/Button-v1.tsx | 119 ++++ src/components/Button/Button.module.css | 617 +++--------------- src/components/Button/Button.stories.ts | 40 ++ src/components/Button/Button.test.tsx | 4 +- src/components/Button/Button.tsx | 136 ++-- 7 files changed, 921 insertions(+), 592 deletions(-) create mode 100644 src/components/Button/Button-v1.module.css rename src/components/Button/{Button.stories.tsx => Button-v1.stories.tsx} (98%) create mode 100644 src/components/Button/Button-v1.tsx create mode 100644 src/components/Button/Button.stories.ts diff --git a/src/components/Button/Button-v1.module.css b/src/components/Button/Button-v1.module.css new file mode 100644 index 0000000000..34a9c3f22a --- /dev/null +++ b/src/components/Button/Button-v1.module.css @@ -0,0 +1,593 @@ +@import '../../design-tokens/mixins.css'; + +/*------------------------------------*\ + # BUTTON +\*------------------------------------*/ + +/** +* Styled clickable element that is based on the native + ); + }, +); + +Button.displayName = 'Button'; diff --git a/src/components/Button/Button.module.css b/src/components/Button/Button.module.css index 34a9c3f22a..2e559c5382 100644 --- a/src/components/Button/Button.module.css +++ b/src/components/Button/Button.module.css @@ -4,590 +4,137 @@ # BUTTON \*------------------------------------*/ -/** -* Styled clickable element that is based on the native ); },