@shoplflow/base 0.32.17 → 0.32.18

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
@@ -1947,10 +1947,14 @@ exports.PopperTrigger = React3.forwardRef(
1947
1947
  }
1948
1948
  );
1949
1949
  exports.PopperPortal = React3.forwardRef(
1950
- ({ children, animation: initialAnimation }, ref) => {
1950
+ ({ children, animation: initialAnimation, zIndex }, ref) => {
1951
1951
  const { floatingStyles, setFloating, isOpen } = usePopper();
1952
1952
  const animation = initialAnimation != null ? initialAnimation : fadeInOut;
1953
1953
  const refs = useMergeRefs2(ref, setFloating);
1954
+ let _floatingStyles = __spreadValues({}, floatingStyles);
1955
+ if (zIndex) {
1956
+ _floatingStyles = __spreadProps(__spreadValues({}, floatingStyles), { zIndex });
1957
+ }
1954
1958
  if (!isOpen) {
1955
1959
  return null;
1956
1960
  }
@@ -1961,7 +1965,7 @@ exports.PopperPortal = React3.forwardRef(
1961
1965
  animate: animation.animate,
1962
1966
  exit: animation.exit,
1963
1967
  ref: refs,
1964
- style: floatingStyles,
1968
+ style: _floatingStyles,
1965
1969
  children
1966
1970
  }
1967
1971
  ) }) });
@@ -5823,7 +5827,8 @@ var NumberCombobox = (_a) => {
5823
5827
  sizeVar = "M",
5824
5828
  placeholder = "Enter",
5825
5829
  maxLength,
5826
- className
5830
+ className,
5831
+ floatingZIndex
5827
5832
  } = _b, rest = __objRest(_b, [
5828
5833
  "disabled",
5829
5834
  "onSelect",
@@ -5836,7 +5841,8 @@ var NumberCombobox = (_a) => {
5836
5841
  "sizeVar",
5837
5842
  "placeholder",
5838
5843
  "maxLength",
5839
- "className"
5844
+ "className",
5845
+ "floatingZIndex"
5840
5846
  ]);
5841
5847
  const selector = React3.useRef(`shoplflow-${crypto.randomUUID()}-number-combobox`).current;
5842
5848
  const inputRef = React3.useRef(null);
@@ -5941,7 +5947,7 @@ var NumberCombobox = (_a) => {
5941
5947
  ) })
5942
5948
  }, rest)
5943
5949
  ) }),
5944
- /* @__PURE__ */ jsxRuntime.jsx(exports.Popper.Portal, { children: /* @__PURE__ */ jsxRuntime.jsx(
5950
+ /* @__PURE__ */ jsxRuntime.jsx(exports.Popper.Portal, { zIndex: floatingZIndex, children: /* @__PURE__ */ jsxRuntime.jsx(
5945
5951
  SimpleBarReact__default.default,
5946
5952
  {
5947
5953
  className: _className,