@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.
package/dist/index.mjs CHANGED
@@ -12967,13 +12967,21 @@ var NavigationItemWithSubItem = ({
12967
12967
  { "opacity-0": !style }
12968
12968
  ),
12969
12969
  style,
12970
- 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))
12970
+ children: items.map(({ link, label: label2, external }, index) => /* @__PURE__ */ jsx49("li", { children: /* @__PURE__ */ jsx49(
12971
+ import_link2.default,
12972
+ {
12973
+ href: link,
12974
+ target: external ? "_blank" : void 0,
12975
+ className: "flex-row-0 link w-full",
12976
+ children: label2
12977
+ }
12978
+ ) }, index))
12971
12979
  }
12972
12980
  )
12973
12981
  ] });
12974
12982
  };
12975
12983
  var NavigationItemList = ({ items, ...restProps }) => {
12976
- 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)) });
12984
+ 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)) });
12977
12985
  };
12978
12986
  var Navigation = ({ ...props }) => {
12979
12987
  const [isMobileOpen, setIsMobileOpen] = useState21(false);
@@ -12982,7 +12990,7 @@ var Navigation = ({ ...props }) => {
12982
12990
  useEffect22(() => {
12983
12991
  menuRef.current?.focus();
12984
12992
  }, [isMobileOpen]);
12985
- return /* @__PURE__ */ jsxs28(Fragment8, { children: [
12993
+ return /* @__PURE__ */ jsxs28("nav", { children: [
12986
12994
  /* @__PURE__ */ jsx49(
12987
12995
  NavigationItemList,
12988
12996
  {