@helpwave/hightide 0.1.40 → 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
@@ -9591,7 +9591,7 @@ var LanguageDialog = ({
9591
9591
  {
9592
9592
  value: language,
9593
9593
  onValueChanged: (language2) => setLanguage(language2),
9594
- contentPanelProps: { className: "z-200" },
9594
+ contentPanelProps: { containerClassName: "z-200" },
9595
9595
  buttonProps: {
9596
9596
  selectedDisplay: (value) => translation(value)
9597
9597
  },
@@ -9756,7 +9756,7 @@ var ThemeDialog = ({
9756
9756
  onValueChanged: (theme2) => setTheme(theme2),
9757
9757
  iconAppearance: "right",
9758
9758
  contentPanelProps: {
9759
- className: "z-200"
9759
+ containerClassName: "z-200"
9760
9760
  },
9761
9761
  buttonProps: {
9762
9762
  selectedDisplay: (value) => /* @__PURE__ */ jsxs13("div", { className: "flex-row-2 items-center", children: [
@@ -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
  {