@shoplflow/base 0.24.8 → 0.24.10

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
@@ -1641,7 +1641,13 @@ var Popper = ({
1641
1641
  ...middlewares != null ? middlewares : []
1642
1642
  ]
1643
1643
  });
1644
- return /* @__PURE__ */ jsxRuntime.jsx(PopperContext.Provider, { value: __spreadProps(__spreadValues({}, refs), { floatingStyles: __spreadProps(__spreadValues({}, floatingStyles), { zIndex: 100 }), isOpen, setIsOpen }), children });
1644
+ return /* @__PURE__ */ jsxRuntime.jsx(
1645
+ PopperContext.Provider,
1646
+ {
1647
+ value: __spreadProps(__spreadValues({}, refs), { floatingStyles: __spreadProps(__spreadValues({}, floatingStyles), { zIndex: 20002 }), isOpen, setIsOpen }),
1648
+ children
1649
+ }
1650
+ );
1645
1651
  };
1646
1652
  exports.PopperTrigger = React2.forwardRef(
1647
1653
  (_a, ref) => {
@@ -1704,6 +1710,7 @@ exports.getDropdownStyleBySizeVar = (size2) => {
1704
1710
  case "S":
1705
1711
  return react$1.css`
1706
1712
  padding: 4px 4px 4px 8px;
1713
+ gap: 4px;
1707
1714
  `;
1708
1715
  default:
1709
1716
  return react$1.css`
@@ -1768,7 +1775,7 @@ exports.DropdownButtonIcon = styled5__default.default(framerMotion.motion.div)`
1768
1775
  align-items: center;
1769
1776
  justify-content: center;
1770
1777
 
1771
- ${({ sizeVar }) => sizeVar && exports.getDropdownIconSizeBySizeVar(sizeVar)};
1778
+ // ${({ sizeVar }) => sizeVar && exports.getDropdownIconSizeBySizeVar(sizeVar)};
1772
1779
  `;
1773
1780
  var DropdownContext = React2.createContext(null);
1774
1781
  var useDropdown = () => {
@@ -1835,7 +1842,7 @@ var getIconSize = (size2) => {
1835
1842
  case exports.IconSizeVariants.XL:
1836
1843
  return "36px";
1837
1844
  default:
1838
- return "24px";
1845
+ return "fit-content";
1839
1846
  }
1840
1847
  };
1841
1848
  exports.StyledIcon = styled5__default.default.svg`
@@ -1973,9 +1980,12 @@ Dropdown.Button = DropdownButton;
1973
1980
  Dropdown.Content = DropdownContent;
1974
1981
  exports.Dropdown = Dropdown;
1975
1982
  var Container2 = styled5__default.default.div`
1976
- width: 32px;
1977
- height: 32px;
1978
- padding: 7px;
1983
+ display: flex;
1984
+ align-items: center;
1985
+ justify-content: center;
1986
+ width: 24px;
1987
+ height: 24px;
1988
+ padding: 4px;
1979
1989
  `;
1980
1990
  var IconButton2 = styled5__default.default.button`
1981
1991
  display: flex;