@ostack.tech/ui-kform 0.12.0 → 0.12.2

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.
@@ -4490,7 +4490,7 @@ const FormPagesSelect = forwardRef(function FormPagesSelect2({
4490
4490
  [store]
4491
4491
  );
4492
4492
  const pages = useStore(store, (state) => state.pages);
4493
- return /* @__PURE__ */ jsx(Layer, { zIndex: ["sticky", -1], children: /* @__PURE__ */ jsx(
4493
+ return /* @__PURE__ */ jsx(
4494
4494
  Select,
4495
4495
  {
4496
4496
  className: cx(prefix("form-pages__select"), className),
@@ -4537,7 +4537,7 @@ const FormPagesSelect = forwardRef(function FormPagesSelect2({
4537
4537
  ref: forwardedRef,
4538
4538
  children: pages.map((page) => /* @__PURE__ */ jsx(FormPagesSelectOption, { path: page.path }, page.path.toString()))
4539
4539
  }
4540
- ) });
4540
+ );
4541
4541
  });
4542
4542
  function FormPageSidebarItem({ path }) {
4543
4543
  const [locale7] = useLocale();
@@ -4632,7 +4632,7 @@ const FormPagesSidebar = forwardRef(function FormPagesSidebar2({ className, ...o
4632
4632
  );
4633
4633
  const pages = useStore(store, (state) => state.pages);
4634
4634
  const combinedSidebarRef = useCombinedRef(setSidebarEl, forwardedRef);
4635
- return /* @__PURE__ */ jsx(Layer, { zIndex: "docked", children: /* @__PURE__ */ jsx(
4635
+ return /* @__PURE__ */ jsx(
4636
4636
  "div",
4637
4637
  {
4638
4638
  className: cx(prefix("form-pages__sidebar"), className),
@@ -4640,7 +4640,7 @@ const FormPagesSidebar = forwardRef(function FormPagesSidebar2({ className, ...o
4640
4640
  ref: combinedSidebarRef,
4641
4641
  children: /* @__PURE__ */ jsx(MenuList, { children: pages.map((page) => /* @__PURE__ */ jsx(FormPageSidebarItem, { path: page.path }, page.path.toString())) })
4642
4642
  }
4643
- ) });
4643
+ );
4644
4644
  });
4645
4645
  const FormPagesNavigation = forwardRef(function FormPagesNavigation2({
4646
4646
  sidebarProps,
@@ -4654,7 +4654,7 @@ const FormPagesNavigation = forwardRef(function FormPagesNavigation2({
4654
4654
  ariaLabel ??= locale7.FormPagesNavigation["aria-label"];
4655
4655
  const { printHidden } = usePrintClassNames();
4656
4656
  const isLargeScreen = useMediaBreakpointUp("sm");
4657
- return /* @__PURE__ */ jsx(
4657
+ return /* @__PURE__ */ jsx(Layer, { zIndex: isLargeScreen ? void 0 : ["sticky", -1], children: /* @__PURE__ */ jsx(
4658
4658
  "nav",
4659
4659
  {
4660
4660
  className: cx(prefix("form-pages__navigation"), printHidden, className),
@@ -4662,9 +4662,9 @@ const FormPagesNavigation = forwardRef(function FormPagesNavigation2({
4662
4662
  "aria-label": ariaLabel,
4663
4663
  ...otherProps,
4664
4664
  ref: forwardedRef,
4665
- children: isLargeScreen ? /* @__PURE__ */ jsx(FormPagesSidebar, { ...sidebarProps }) : /* @__PURE__ */ jsx(FormPagesSelect, { ...selectProps })
4665
+ children: isLargeScreen ? /* @__PURE__ */ jsx(Layer, { zIndex: "docked", children: /* @__PURE__ */ jsx(FormPagesSidebar, { ...sidebarProps }) }) : /* @__PURE__ */ jsx(FormPagesSelect, { ...selectProps })
4666
4666
  }
4667
- );
4667
+ ) });
4668
4668
  });
4669
4669
  const FormStepperContext = createContext(
4670
4670
  null