@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.
@@ -9370,7 +9370,7 @@ var LanguageDialog = ({
9370
9370
  {
9371
9371
  value: language,
9372
9372
  onValueChanged: (language2) => setLanguage(language2),
9373
- contentPanelProps: { className: "z-200" },
9373
+ contentPanelProps: { containerClassName: "z-200" },
9374
9374
  buttonProps: {
9375
9375
  selectedDisplay: (value) => translation(value)
9376
9376
  },
@@ -9467,7 +9467,7 @@ var ThemeDialog = ({
9467
9467
  onValueChanged: (theme2) => setTheme(theme2),
9468
9468
  iconAppearance: "right",
9469
9469
  contentPanelProps: {
9470
- className: "z-200"
9470
+ containerClassName: "z-200"
9471
9471
  },
9472
9472
  buttonProps: {
9473
9473
  selectedDisplay: (value) => /* @__PURE__ */ jsxs13("div", { className: "flex-row-2 items-center", children: [
@@ -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
  {