@shoplflow/base 0.32.5 → 0.32.8

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
@@ -1383,7 +1383,7 @@ var getNextColor = (color, step = 1) => {
1383
1383
  if (newIndex < 0 || newIndex >= sortColorToken.length) {
1384
1384
  break;
1385
1385
  }
1386
- if (!sortColorToken[newIndex].endsWith("_5") && !sortColorToken[newIndex].includes("50")) {
1386
+ if (!sortColorToken[newIndex].endsWith("_5") && !sortColorToken[newIndex].endsWith("50")) {
1387
1387
  stepCount++;
1388
1388
  }
1389
1389
  }
@@ -1663,6 +1663,13 @@ var getWidthAndHeightFromSizeVar = (sizeVar) => {
1663
1663
  height: 32px;
1664
1664
  min-height: 32px;
1665
1665
  `;
1666
+ case "XS":
1667
+ return react$1.css`
1668
+ width: 24px;
1669
+ min-width: 24px;
1670
+ height: 24px;
1671
+ min-height: 24px;
1672
+ `;
1666
1673
  default:
1667
1674
  return react$1.css`
1668
1675
  width: 40px;
@@ -1790,6 +1797,7 @@ exports.IconButton = IconButton;
1790
1797
 
1791
1798
  // src/components/Buttons/IconButton/IconButton.types.ts
1792
1799
  exports.IconButtonSizeVariants = {
1800
+ XS: "XS",
1793
1801
  S: "S",
1794
1802
  M: "M"
1795
1803
  };