@helpwave/hightide 0.1.41 → 0.1.42

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.
@@ -12777,13 +12777,21 @@ var NavigationItemWithSubItem = ({
12777
12777
  { "opacity-0": !style }
12778
12778
  ),
12779
12779
  style,
12780
- children: items.map(({ link, label: label2, external }, index) => /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("li", { children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(import_link2.default, { href: link, target: external ? "_blank" : void 0, className: "link", children: label2 }) }, index))
12780
+ children: items.map(({ link, label: label2, external }, index) => /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("li", { children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
12781
+ import_link2.default,
12782
+ {
12783
+ href: link,
12784
+ target: external ? "_blank" : void 0,
12785
+ className: "flex-row-0 link w-full",
12786
+ children: label2
12787
+ }
12788
+ ) }, index))
12781
12789
  }
12782
12790
  )
12783
12791
  ] });
12784
12792
  };
12785
12793
  var NavigationItemList = ({ items, ...restProps }) => {
12786
- return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("nav", { ...restProps, className: (0, import_clsx33.default)("flex-row-6 items-center", restProps.className), children: items.map((item, index) => /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("li", { children: isSubItem(item) ? /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(NavigationItemWithSubItem, { ...item }) : /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(import_link2.default, { href: item.link, target: item.external ? "_blank" : void 0, className: "link", children: item.label }) }, index)) });
12794
+ return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("ul", { ...restProps, className: (0, import_clsx33.default)("flex-row-6 items-center", restProps.className), children: items.map((item, index) => /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("li", { children: isSubItem(item) ? /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(NavigationItemWithSubItem, { ...item }) : /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(import_link2.default, { href: item.link, target: item.external ? "_blank" : void 0, className: "link", children: item.label }) }, index)) });
12787
12795
  };
12788
12796
  var Navigation = ({ ...props }) => {
12789
12797
  const [isMobileOpen, setIsMobileOpen] = (0, import_react30.useState)(false);
@@ -12792,7 +12800,7 @@ var Navigation = ({ ...props }) => {
12792
12800
  (0, import_react29.useEffect)(() => {
12793
12801
  menuRef.current?.focus();
12794
12802
  }, [isMobileOpen]);
12795
- return /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(import_jsx_runtime49.Fragment, { children: [
12803
+ return /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)("nav", { children: [
12796
12804
  /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
12797
12805
  NavigationItemList,
12798
12806
  {