From d69b7dbb086b008d39b1186c6ede99a13928bfa9 Mon Sep 17 00:00:00 2001 From: andrew Date: Wed, 8 May 2024 10:26:42 +0900 Subject: [PATCH] chore(icon-button): resolve ci fail --- .../AlphaIconButton/IconButton.module.scss | 25 ++++++++++--------- .../components/AlphaIconButton/IconButton.tsx | 1 - 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/packages/bezier-react/src/components/AlphaIconButton/IconButton.module.scss b/packages/bezier-react/src/components/AlphaIconButton/IconButton.module.scss index 17ad3b9bd7..517d5ddabf 100644 --- a/packages/bezier-react/src/components/AlphaIconButton/IconButton.module.scss +++ b/packages/bezier-react/src/components/AlphaIconButton/IconButton.module.scss @@ -136,18 +136,19 @@ $chromatic-colors: 'blue', 'red', 'green', 'cobalt', 'orange', 'pink', 'purple'; } /* border-radius */ - /* stylelint-disable-next-line order/order */ - $border-radius-by-size: ( - xs: var(--alpha-dimension-6), - s: var(--alpha-dimension-7), - m: var(--alpha-dimension-10), - l: var(--alpha-dimension-12), - xl: var(--alpha-dimension-14), - ); - - @each $size, $border-radius in $border-radius-by-size { - &:where(.size-#{$size}) { - border-radius: $border-radius; + &:where(.shape-rectangle) { + $border-radius-by-size: ( + xs: var(--alpha-dimension-6), + s: var(--alpha-dimension-7), + m: var(--alpha-dimension-10), + l: var(--alpha-dimension-12), + xl: var(--alpha-dimension-14), + ); + + @each $size, $border-radius in $border-radius-by-size { + &:where(.size-#{$size}) { + border-radius: $border-radius; + } } } diff --git a/packages/bezier-react/src/components/AlphaIconButton/IconButton.tsx b/packages/bezier-react/src/components/AlphaIconButton/IconButton.tsx index c9658f2abf..c19f6d8549 100644 --- a/packages/bezier-react/src/components/AlphaIconButton/IconButton.tsx +++ b/packages/bezier-react/src/components/AlphaIconButton/IconButton.tsx @@ -38,7 +38,6 @@ export const IconButton = forwardRef( function IconButton( { as = BaseButton, - text, color = 'blue', variant = 'primary', size = 'm',