@shoplflow/base 0.24.2 → 0.24.3
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 +4 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +4 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -270,7 +270,8 @@ var PopperPortal = () => {
|
|
|
270
270
|
{
|
|
271
271
|
id: "popper-portal-key",
|
|
272
272
|
style: {
|
|
273
|
-
zIndex: 20001
|
|
273
|
+
zIndex: 20001,
|
|
274
|
+
position: "relative"
|
|
274
275
|
}
|
|
275
276
|
}
|
|
276
277
|
),
|
|
@@ -1673,7 +1674,7 @@ var PopperPortal2 = forwardRef(
|
|
|
1673
1674
|
const { floatingStyles, setFloating, isOpen } = usePopper();
|
|
1674
1675
|
const animation = initialAnimation != null ? initialAnimation : fadeInOut;
|
|
1675
1676
|
const refs = useMergeRefs(ref, setFloating);
|
|
1676
|
-
return /* @__PURE__ */ jsx(FloatingPortal, {
|
|
1677
|
+
return /* @__PURE__ */ jsx(FloatingPortal, { children: /* @__PURE__ */ jsx(AnimatePresence, { children: isOpen && /* @__PURE__ */ jsx(
|
|
1677
1678
|
motion.div,
|
|
1678
1679
|
{
|
|
1679
1680
|
initial: animation.initial,
|
|
@@ -1771,6 +1772,7 @@ var StyledDropdownButton = styled6.button`
|
|
|
1771
1772
|
height: 100%;
|
|
1772
1773
|
gap: 8px;
|
|
1773
1774
|
cursor: pointer;
|
|
1775
|
+
background-color: ${colorTokens.neutral0};
|
|
1774
1776
|
${({ sizeVar }) => sizeVar && getDropdownStyleBySizeVar(sizeVar)};
|
|
1775
1777
|
${({ disabled }) => disabled && css`
|
|
1776
1778
|
cursor: not-allowed;
|