@shoplflow/base 0.24.9 → 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 +10 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +10 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1616,7 +1616,13 @@ var Popper = ({
|
|
|
1616
1616
|
...middlewares != null ? middlewares : []
|
|
1617
1617
|
]
|
|
1618
1618
|
});
|
|
1619
|
-
return /* @__PURE__ */ jsx(
|
|
1619
|
+
return /* @__PURE__ */ jsx(
|
|
1620
|
+
PopperContext.Provider,
|
|
1621
|
+
{
|
|
1622
|
+
value: __spreadProps(__spreadValues({}, refs), { floatingStyles: __spreadProps(__spreadValues({}, floatingStyles), { zIndex: 20002 }), isOpen, setIsOpen }),
|
|
1623
|
+
children
|
|
1624
|
+
}
|
|
1625
|
+
);
|
|
1620
1626
|
};
|
|
1621
1627
|
var PopperTrigger = forwardRef(
|
|
1622
1628
|
(_a, ref) => {
|
|
@@ -1679,6 +1685,7 @@ var getDropdownStyleBySizeVar = (size2) => {
|
|
|
1679
1685
|
case "S":
|
|
1680
1686
|
return css`
|
|
1681
1687
|
padding: 4px 4px 4px 8px;
|
|
1688
|
+
gap: 4px;
|
|
1682
1689
|
`;
|
|
1683
1690
|
default:
|
|
1684
1691
|
return css`
|
|
@@ -1743,7 +1750,7 @@ var DropdownButtonIcon = styled5(motion.div)`
|
|
|
1743
1750
|
align-items: center;
|
|
1744
1751
|
justify-content: center;
|
|
1745
1752
|
|
|
1746
|
-
${({ sizeVar }) => sizeVar && getDropdownIconSizeBySizeVar(sizeVar)};
|
|
1753
|
+
// ${({ sizeVar }) => sizeVar && getDropdownIconSizeBySizeVar(sizeVar)};
|
|
1747
1754
|
`;
|
|
1748
1755
|
var DropdownContext = createContext(null);
|
|
1749
1756
|
var useDropdown = () => {
|
|
@@ -1810,7 +1817,7 @@ var getIconSize = (size2) => {
|
|
|
1810
1817
|
case IconSizeVariants.XL:
|
|
1811
1818
|
return "36px";
|
|
1812
1819
|
default:
|
|
1813
|
-
return "
|
|
1820
|
+
return "fit-content";
|
|
1814
1821
|
}
|
|
1815
1822
|
};
|
|
1816
1823
|
var StyledIcon = styled5.svg`
|