diff --git a/packages/react-components/src/components/Button/Button.module.scss b/packages/react-components/src/components/Button/Button.module.scss index bfae2a90d..e2913b002 100644 --- a/packages/react-components/src/components/Button/Button.module.scss +++ b/packages/react-components/src/components/Button/Button.module.scss @@ -226,6 +226,29 @@ $base-class: 'btn'; } } + &--float { + border-radius: 100px; + border-color: transparent; + box-shadow: var(--shadow-float); + background-color: var(--surface-primary-default); + color: var(--content-basic-primary); + + &:hover, + &:active, + &:focus { + border-color: transparent; + background-color: var(--surface-primary-hover); + color: var(--content-basic-primary); + } + + &[aria-disabled='true'] { + border-color: transparent; + box-shadow: none; + background-color: transparent; + color: var(--content-basic-disabled); + } + } + &--loading { transition: all 0.2s cubic-bezier(0.64, 0, 0.35, 1); cursor: progress; diff --git a/packages/react-components/src/components/Button/Button.stories.tsx b/packages/react-components/src/components/Button/Button.stories.tsx index fb156285e..9f10e3481 100644 --- a/packages/react-components/src/components/Button/Button.stories.tsx +++ b/packages/react-components/src/components/Button/Button.stories.tsx @@ -339,6 +339,48 @@ export const KindsAndStates = (): React.ReactElement => ( icon={} /> + + + + + + + + + + + + +