@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.
@@ -9479,7 +9479,7 @@ var LanguageDialog = ({
9479
9479
  {
9480
9480
  value: language,
9481
9481
  onValueChanged: (language2) => setLanguage(language2),
9482
- contentPanelProps: { className: "z-200" },
9482
+ contentPanelProps: { containerClassName: "z-200" },
9483
9483
  buttonProps: {
9484
9484
  selectedDisplay: (value) => translation(value)
9485
9485
  },
@@ -9576,7 +9576,7 @@ var ThemeDialog = ({
9576
9576
  onValueChanged: (theme2) => setTheme(theme2),
9577
9577
  iconAppearance: "right",
9578
9578
  contentPanelProps: {
9579
- className: "z-200"
9579
+ containerClassName: "z-200"
9580
9580
  },
9581
9581
  buttonProps: {
9582
9582
  selectedDisplay: (value) => /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)("div", { className: "flex-row-2 items-center", children: [
@@ -12777,13 +12777,21 @@ var NavigationItemWithSubItem = ({
12777
12777
  { "opacity-0": !style }
12778
12778
  ),
12779
12779
  style,
12780
- children: items.map(({ link, label: label2, external }, index) => /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("li", { children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(import_link2.default, { href: link, target: external ? "_blank" : void 0, className: "link", children: label2 }) }, index))
12780
+ children: items.map(({ link, label: label2, external }, index) => /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("li", { children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
12781
+ import_link2.default,
12782
+ {
12783
+ href: link,
12784
+ target: external ? "_blank" : void 0,
12785
+ className: "flex-row-0 link w-full",
12786
+ children: label2
12787
+ }
12788
+ ) }, index))
12781
12789
  }
12782
12790
  )
12783
12791
  ] });
12784
12792
  };
12785
12793
  var NavigationItemList = ({ items, ...restProps }) => {
12786
- return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("nav", { ...restProps, className: (0, import_clsx33.default)("flex-row-6 items-center", restProps.className), children: items.map((item, index) => /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("li", { children: isSubItem(item) ? /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(NavigationItemWithSubItem, { ...item }) : /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(import_link2.default, { href: item.link, target: item.external ? "_blank" : void 0, className: "link", children: item.label }) }, index)) });
12794
+ return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("ul", { ...restProps, className: (0, import_clsx33.default)("flex-row-6 items-center", restProps.className), children: items.map((item, index) => /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("li", { children: isSubItem(item) ? /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(NavigationItemWithSubItem, { ...item }) : /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(import_link2.default, { href: item.link, target: item.external ? "_blank" : void 0, className: "link", children: item.label }) }, index)) });
12787
12795
  };
12788
12796
  var Navigation = ({ ...props }) => {
12789
12797
  const [isMobileOpen, setIsMobileOpen] = (0, import_react30.useState)(false);
@@ -12792,7 +12800,7 @@ var Navigation = ({ ...props }) => {
12792
12800
  (0, import_react29.useEffect)(() => {
12793
12801
  menuRef.current?.focus();
12794
12802
  }, [isMobileOpen]);
12795
- return /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(import_jsx_runtime49.Fragment, { children: [
12803
+ return /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)("nav", { children: [
12796
12804
  /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
12797
12805
  NavigationItemList,
12798
12806
  {