@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.
@@ -3991,13 +3991,21 @@ var NavigationItemWithSubItem = ({
3991
3991
  { "opacity-0": !style }
3992
3992
  ),
3993
3993
  style,
3994
- children: items.map(({ link, label: label2, external }, index) => /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("li", { children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_link2.default, { href: link, target: external ? "_blank" : void 0, className: "link", children: label2 }) }, index))
3994
+ children: items.map(({ link, label: label2, external }, index) => /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("li", { children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
3995
+ import_link2.default,
3996
+ {
3997
+ href: link,
3998
+ target: external ? "_blank" : void 0,
3999
+ className: "flex-row-0 link w-full",
4000
+ children: label2
4001
+ }
4002
+ ) }, index))
3995
4003
  }
3996
4004
  )
3997
4005
  ] });
3998
4006
  };
3999
4007
  var NavigationItemList = ({ items, ...restProps }) => {
4000
- return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("nav", { ...restProps, className: (0, import_clsx4.default)("flex-row-6 items-center", restProps.className), children: items.map((item, index) => /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("li", { children: isSubItem(item) ? /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(NavigationItemWithSubItem, { ...item }) : /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_link2.default, { href: item.link, target: item.external ? "_blank" : void 0, className: "link", children: item.label }) }, index)) });
4008
+ return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("ul", { ...restProps, className: (0, import_clsx4.default)("flex-row-6 items-center", restProps.className), children: items.map((item, index) => /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("li", { children: isSubItem(item) ? /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(NavigationItemWithSubItem, { ...item }) : /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_link2.default, { href: item.link, target: item.external ? "_blank" : void 0, className: "link", children: item.label }) }, index)) });
4001
4009
  };
4002
4010
  var Navigation = ({ ...props }) => {
4003
4011
  const [isMobileOpen, setIsMobileOpen] = (0, import_react8.useState)(false);
@@ -4006,7 +4014,7 @@ var Navigation = ({ ...props }) => {
4006
4014
  (0, import_react7.useEffect)(() => {
4007
4015
  menuRef.current?.focus();
4008
4016
  }, [isMobileOpen]);
4009
- return /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)(import_jsx_runtime4.Fragment, { children: [
4017
+ return /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("nav", { children: [
4010
4018
  /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
4011
4019
  NavigationItemList,
4012
4020
  {