@shoplflow/base 0.32.14 → 0.32.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -1659,10 +1659,6 @@ var getWidthAndHeightFromSizeVar = (sizeVar) => {
1659
1659
  min-width: 40px;
1660
1660
  height: 40px;
1661
1661
  min-height: 40px;
1662
- & > svg {
1663
- width: 24px;
1664
- height: 24px;
1665
- }
1666
1662
  `;
1667
1663
  case "S":
1668
1664
  return react$1.css`
@@ -1670,10 +1666,6 @@ var getWidthAndHeightFromSizeVar = (sizeVar) => {
1670
1666
  min-width: 32px;
1671
1667
  height: 32px;
1672
1668
  min-height: 32px;
1673
- & > svg {
1674
- width: 20px;
1675
- height: 20px;
1676
- }
1677
1669
  `;
1678
1670
  case "XS":
1679
1671
  return react$1.css`
@@ -1681,10 +1673,6 @@ var getWidthAndHeightFromSizeVar = (sizeVar) => {
1681
1673
  min-width: 24px;
1682
1674
  height: 24px;
1683
1675
  min-height: 24px;
1684
- & > svg {
1685
- width: 12px;
1686
- height: 12px;
1687
- }
1688
1676
  `;
1689
1677
  default:
1690
1678
  return react$1.css`
@@ -1692,10 +1680,6 @@ var getWidthAndHeightFromSizeVar = (sizeVar) => {
1692
1680
  min-width: 40px;
1693
1681
  height: 40px;
1694
1682
  min-height: 40px;
1695
- & > svg {
1696
- width: 20px;
1697
- height: 20px;
1698
- }
1699
1683
  `;
1700
1684
  }
1701
1685
  };
@@ -1757,6 +1741,10 @@ var StyledIconButton = styled6__default.default.button`
1757
1741
  ${({ styleVar, color, isHovered }) => getStyleByStyleVar2(styleVar, color, isHovered)};
1758
1742
  ${({ sizeVar }) => getWidthAndHeightFromSizeVar(sizeVar)};
1759
1743
  ${({ disabled }) => getDisabledStyle(disabled)};
1744
+ & > svg {
1745
+ width: 20px;
1746
+ height: 20px;
1747
+ }
1760
1748
  `;
1761
1749
  var IconButton = React3.forwardRef(
1762
1750
  (_a, ref) => {