@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.
@@ -12678,13 +12678,21 @@ var NavigationItemWithSubItem = ({
12678
12678
  { "opacity-0": !style }
12679
12679
  ),
12680
12680
  style,
12681
- children: items.map(({ link, label: label2, external }, index) => /* @__PURE__ */ jsx49("li", { children: /* @__PURE__ */ jsx49(import_link2.default, { href: link, target: external ? "_blank" : void 0, className: "link", children: label2 }) }, index))
12681
+ children: items.map(({ link, label: label2, external }, index) => /* @__PURE__ */ jsx49("li", { children: /* @__PURE__ */ jsx49(
12682
+ import_link2.default,
12683
+ {
12684
+ href: link,
12685
+ target: external ? "_blank" : void 0,
12686
+ className: "flex-row-0 link w-full",
12687
+ children: label2
12688
+ }
12689
+ ) }, index))
12682
12690
  }
12683
12691
  )
12684
12692
  ] });
12685
12693
  };
12686
12694
  var NavigationItemList = ({ items, ...restProps }) => {
12687
- return /* @__PURE__ */ jsx49("nav", { ...restProps, className: clsx33("flex-row-6 items-center", restProps.className), children: items.map((item, index) => /* @__PURE__ */ jsx49("li", { children: isSubItem(item) ? /* @__PURE__ */ jsx49(NavigationItemWithSubItem, { ...item }) : /* @__PURE__ */ jsx49(import_link2.default, { href: item.link, target: item.external ? "_blank" : void 0, className: "link", children: item.label }) }, index)) });
12695
+ return /* @__PURE__ */ jsx49("ul", { ...restProps, className: clsx33("flex-row-6 items-center", restProps.className), children: items.map((item, index) => /* @__PURE__ */ jsx49("li", { children: isSubItem(item) ? /* @__PURE__ */ jsx49(NavigationItemWithSubItem, { ...item }) : /* @__PURE__ */ jsx49(import_link2.default, { href: item.link, target: item.external ? "_blank" : void 0, className: "link", children: item.label }) }, index)) });
12688
12696
  };
12689
12697
  var Navigation = ({ ...props }) => {
12690
12698
  const [isMobileOpen, setIsMobileOpen] = useState21(false);
@@ -12693,7 +12701,7 @@ var Navigation = ({ ...props }) => {
12693
12701
  useEffect22(() => {
12694
12702
  menuRef.current?.focus();
12695
12703
  }, [isMobileOpen]);
12696
- return /* @__PURE__ */ jsxs28(Fragment8, { children: [
12704
+ return /* @__PURE__ */ jsxs28("nav", { children: [
12697
12705
  /* @__PURE__ */ jsx49(
12698
12706
  NavigationItemList,
12699
12707
  {