@opensite/ui 1.0.6 → 1.0.7

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.
@@ -1290,27 +1290,30 @@ var NavbarPlatformResources = ({
1290
1290
  const renderDropdownContent = (link) => {
1291
1291
  const layout = link.layout || "simple-list";
1292
1292
  if (layout === "simple-list") {
1293
- return /* @__PURE__ */ jsx(NavigationMenuContent, { className: "min-w-[640px] p-4", children: /* @__PURE__ */ jsx("div", { className: "grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-3", children: link.links?.map((item, itemIndex) => /* @__PURE__ */ jsxs(
1294
- NavigationMenuLink,
1293
+ return /* @__PURE__ */ jsx(NavigationMenuContent, { className: "w-[400px] p-3", children: /* @__PURE__ */ jsx("ul", { className: "space-y-1", children: link.links?.map((item, itemIndex) => /* @__PURE__ */ jsx(
1294
+ "li",
1295
1295
  {
1296
- href: getLinkUrl(item),
1297
- className: "flex flex-row items-start gap-4 rounded-lg border border-input bg-background p-4 hover:bg-accent hover:text-accent-foreground",
1298
- children: [
1299
- item.image && /* @__PURE__ */ jsx("div", { className: "h-12 w-12 overflow-hidden rounded-md border border-border", children: /* @__PURE__ */ jsx(
1300
- Img,
1301
- {
1302
- src: item.image,
1303
- alt: typeof item.label === "string" ? item.label : "Menu item",
1304
- className: "h-full w-full object-cover object-center",
1305
- optixFlowConfig
1306
- }
1307
- ) }),
1308
- !item.image && (item.icon || item.iconName) && /* @__PURE__ */ jsx("div", { className: "flex h-12 w-12 items-center justify-center rounded-md border border-border bg-muted/40 text-muted-foreground", children: item.icon ? item.icon : item.iconName ? /* @__PURE__ */ jsx(DynamicIcon, { name: item.iconName, size: 18 }) : null }),
1309
- /* @__PURE__ */ jsxs("div", { children: [
1310
- /* @__PURE__ */ jsx("div", { className: "text-sm font-medium text-foreground", children: item.label }),
1311
- item.description && /* @__PURE__ */ jsx("div", { className: "text-sm font-normal text-muted-foreground", children: item.description })
1312
- ] })
1313
- ]
1296
+ children: /* @__PURE__ */ jsxs(
1297
+ NavigationMenuLink,
1298
+ {
1299
+ href: getLinkUrl(item),
1300
+ className: "group/link flex-row gap-2 px-3 py-2 transition-colors duration-200",
1301
+ children: [
1302
+ /* @__PURE__ */ jsx("div", { className: "flex size-8 shrink-0 rounded-lg border duration-400 fade-in group-hover/link:bg-background", children: item.icon ? item.icon : item.iconName ? /* @__PURE__ */ jsx(
1303
+ DynamicIcon,
1304
+ {
1305
+ name: item.iconName,
1306
+ size: 16,
1307
+ className: "m-auto group-hover/link:stroke-black"
1308
+ }
1309
+ ) : null }),
1310
+ /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-0.5", children: [
1311
+ /* @__PURE__ */ jsx("div", { className: "text-sm font-medium", children: item.label }),
1312
+ item.description && /* @__PURE__ */ jsx("div", { className: "text-xs text-muted-foreground group-hover/link:text-foreground", children: item.description })
1313
+ ] })
1314
+ ]
1315
+ }
1316
+ )
1314
1317
  },
1315
1318
  `${typeof item.label === "string" ? item.label : "item"}-${itemIndex}`
1316
1319
  )) }) });
@@ -1659,7 +1662,7 @@ var NavbarPlatformResources = ({
1659
1662
  className: "border-b-0",
1660
1663
  children: [
1661
1664
  /* @__PURE__ */ jsx(AccordionTrigger, { className: "h-15 items-center text-base font-normal text-foreground hover:no-underline", children: link.label }),
1662
- /* @__PURE__ */ jsx(AccordionContent, { className: "max-h-[60dvh] overflow-y-auto space-y-4", children: link.links?.map((item, itemIndex) => /* @__PURE__ */ jsxs(
1665
+ /* @__PURE__ */ jsx(AccordionContent, { className: "overflow-x-none", children: link.links?.map((item, itemIndex) => /* @__PURE__ */ jsxs(
1663
1666
  Pressable,
1664
1667
  {
1665
1668
  href: getLinkUrl(item),
package/dist/registry.cjs CHANGED
@@ -57508,11 +57508,11 @@ var renderMobileMenuItem2 = (item) => {
57508
57508
  if (item.items) {
57509
57509
  return /* @__PURE__ */ jsxRuntime.jsxs(AccordionItem, { value: item.title, className: "border-b-0", children: [
57510
57510
  /* @__PURE__ */ jsxRuntime.jsx(AccordionTrigger, { className: "h-15 items-center text-base font-normal text-foreground hover:no-underline", children: item.title }),
57511
- /* @__PURE__ */ jsxRuntime.jsx(AccordionContent, { className: "max-h-[60dvh] overflow-y-auto space-y-2", children: item.items.map((subItem) => /* @__PURE__ */ jsxRuntime.jsxs(
57511
+ /* @__PURE__ */ jsxRuntime.jsx(AccordionContent, { className: "overflow-x-none", children: item.items.map((subItem) => /* @__PURE__ */ jsxRuntime.jsxs(
57512
57512
  Pressable,
57513
57513
  {
57514
57514
  href: subItem.url,
57515
- className: "flex items-center gap-2 pl-4 text-sm text-muted-foreground hover:text-foreground",
57515
+ className: "flex items-center gap-2 pl-2 text-sm text-muted-foreground hover:text-foreground",
57516
57516
  children: [
57517
57517
  subItem.icon && /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: subItem.icon, size: 14 }),
57518
57518
  subItem.title
@@ -57889,51 +57889,6 @@ var DesktopMenuItem = ({
57889
57889
  }
57890
57890
  return null;
57891
57891
  };
57892
- var MobileSubmenu = ({
57893
- submenu,
57894
- mobileMenuClassName,
57895
- optixFlowConfig
57896
- }) => {
57897
- const items = submenu.links || [];
57898
- return /* @__PURE__ */ jsxRuntime.jsxs(
57899
- "div",
57900
- {
57901
- className: cn(
57902
- "fixed inset-0 top-[72px] flex h-[calc(100vh-72px)] w-full flex-col overflow-scroll border-t border-border bg-background lg:hidden",
57903
- mobileMenuClassName
57904
- ),
57905
- children: [
57906
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "px-8 py-3.5 text-xs tracking-widest text-muted-foreground uppercase", children: submenu.label }),
57907
- items.map((item, index) => {
57908
- return /* @__PURE__ */ jsxRuntime.jsxs(
57909
- Pressable,
57910
- {
57911
- href: getLinkUrl(item),
57912
- className: "flex items-start gap-4 border-b border-border px-8 py-5",
57913
- children: [
57914
- item.image && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-10 w-10 overflow-hidden rounded-md border border-border", children: /* @__PURE__ */ jsxRuntime.jsx(
57915
- img.Img,
57916
- {
57917
- src: item.image,
57918
- alt: typeof item.label === "string" ? item.label : "Menu item",
57919
- className: "h-full w-full object-cover object-center",
57920
- optixFlowConfig
57921
- }
57922
- ) }),
57923
- !item.image && (item.icon || item.iconName) && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex h-10 w-10 items-center justify-center rounded-md border border-border bg-muted/40 text-muted-foreground", children: item.icon ? item.icon : item.iconName ? /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: item.iconName, size: 16 }) : null }),
57924
- /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
57925
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-base", children: item.label }),
57926
- item.description && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-sm text-muted-foreground", children: item.description })
57927
- ] })
57928
- ]
57929
- },
57930
- `mobile-item-${index}`
57931
- );
57932
- })
57933
- ]
57934
- }
57935
- );
57936
- };
57937
57892
  var NavbarMegaMenu = ({
57938
57893
  className,
57939
57894
  containerClassName,
@@ -57954,8 +57909,6 @@ var NavbarMegaMenu = ({
57954
57909
  optixFlowConfig
57955
57910
  }) => {
57956
57911
  const [open, setOpen] = React52.useState(false);
57957
- const [submenuIndex, setSubmenuIndex] = React52.useState(null);
57958
- const activeSubmenu = submenuIndex !== null ? menuLinks?.[submenuIndex] : null;
57959
57912
  const hasDropdownItems = (link) => Boolean(
57960
57913
  link.links && link.links.length > 0 || link.dropdownGroups && link.dropdownGroups.length > 0
57961
57914
  );
@@ -58009,36 +57962,15 @@ var NavbarMegaMenu = ({
58009
57962
  ),
58010
57963
  children: [
58011
57964
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: navWrapperClasses, children: [
58012
- /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
58013
- (!open || submenuIndex === null) && /* @__PURE__ */ jsxRuntime.jsx(
58014
- NavbarLogo,
58015
- {
58016
- logo,
58017
- logoSlot,
58018
- logoClassName,
58019
- optixFlowConfig
58020
- }
58021
- ),
58022
- open && submenuIndex !== null && /* @__PURE__ */ jsxRuntime.jsxs(
58023
- Pressable,
58024
- {
58025
- variant: "outline",
58026
- asButton: true,
58027
- onClick: () => setSubmenuIndex(null),
58028
- children: [
58029
- "Back",
58030
- /* @__PURE__ */ jsxRuntime.jsx(
58031
- DynamicIcon,
58032
- {
58033
- name: "lucide/chevron-left",
58034
- size: 16,
58035
- className: "ml-2"
58036
- }
58037
- )
58038
- ]
58039
- }
58040
- )
58041
- ] }),
57965
+ /* @__PURE__ */ jsxRuntime.jsx("div", { children: /* @__PURE__ */ jsxRuntime.jsx(
57966
+ NavbarLogo,
57967
+ {
57968
+ logo,
57969
+ logoSlot,
57970
+ logoClassName,
57971
+ optixFlowConfig
57972
+ }
57973
+ ) }),
58042
57974
  /* @__PURE__ */ jsxRuntime.jsx(
58043
57975
  NavigationMenuList,
58044
57976
  {
@@ -58079,14 +58011,7 @@ var NavbarMegaMenu = ({
58079
58011
  size: "icon",
58080
58012
  asButton: true,
58081
58013
  "aria-label": "Main Menu",
58082
- onClick: () => {
58083
- if (open) {
58084
- setOpen(false);
58085
- setSubmenuIndex(null);
58086
- } else {
58087
- setOpen(true);
58088
- }
58089
- },
58014
+ onClick: () => setOpen(!open),
58090
58015
  children: [
58091
58016
  !open && /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: "lucide/menu", size: 16 }),
58092
58017
  open && /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: "lucide/x", size: 16 })
@@ -58094,31 +58019,42 @@ var NavbarMegaMenu = ({
58094
58019
  }
58095
58020
  ) })
58096
58021
  ] }),
58097
- open && submenuIndex === null && /* @__PURE__ */ jsxRuntime.jsxs(
58098
- "div",
58022
+ /* @__PURE__ */ jsxRuntime.jsx(
58023
+ NavbarMobileMenu,
58099
58024
  {
58100
- className: cn(
58101
- "fixed inset-0 top-[72px] flex h-[calc(100vh-72px)] w-full flex-col overflow-scroll border-t border-border bg-background lg:hidden",
58102
- mobileMenuClassName
58103
- ),
58104
- children: [
58105
- /* @__PURE__ */ jsxRuntime.jsx("div", { children: menuLinks?.map((link, index) => {
58025
+ open,
58026
+ onClose: () => setOpen(false),
58027
+ title: "Mobile Navigation",
58028
+ contentClassName: "pt-10 pb-20",
58029
+ children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "max-w-screen-sm mx-auto", children: [
58030
+ /* @__PURE__ */ jsxRuntime.jsx(Accordion, { type: "multiple", className: "w-full", children: menuLinks?.map((link, index) => {
58106
58031
  if (hasDropdownItems(link)) {
58032
+ const items = link.links || [];
58107
58033
  return /* @__PURE__ */ jsxRuntime.jsxs(
58108
- "button",
58034
+ AccordionItem,
58109
58035
  {
58110
- type: "button",
58111
- className: "flex w-full items-center border-b border-border px-8 py-7 text-left",
58112
- onClick: () => setSubmenuIndex(index),
58036
+ value: `menu-${index}`,
58037
+ className: "border-b-0",
58113
58038
  children: [
58114
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "flex-1", children: link.label }),
58115
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "shrink-0", children: /* @__PURE__ */ jsxRuntime.jsx(
58116
- DynamicIcon,
58039
+ /* @__PURE__ */ jsxRuntime.jsx(AccordionTrigger, { className: "h-15 items-center text-base font-normal text-foreground hover:no-underline", children: link.label }),
58040
+ /* @__PURE__ */ jsxRuntime.jsx(AccordionContent, { className: "overflow-x-none", children: items.map((item, itemIndex) => /* @__PURE__ */ jsxRuntime.jsxs(
58041
+ Pressable,
58117
58042
  {
58118
- name: "lucide/chevron-right",
58119
- size: 16
58120
- }
58121
- ) })
58043
+ href: getLinkUrl(item),
58044
+ className: "flex items-center gap-2 pl-4 text-sm text-muted-foreground hover:text-foreground",
58045
+ children: [
58046
+ (item.icon || item.iconName) && (item.icon ? item.icon : item.iconName ? /* @__PURE__ */ jsxRuntime.jsx(
58047
+ DynamicIcon,
58048
+ {
58049
+ name: item.iconName,
58050
+ size: 14
58051
+ }
58052
+ ) : null),
58053
+ item.label
58054
+ ]
58055
+ },
58056
+ `mobile-link-${index}-${itemIndex}`
58057
+ )) })
58122
58058
  ]
58123
58059
  },
58124
58060
  `mobile-menu-link-${index}`
@@ -58131,8 +58067,8 @@ var NavbarMegaMenu = ({
58131
58067
  Pressable,
58132
58068
  {
58133
58069
  href: link.href,
58134
- className: "flex w-full items-center border-b border-border px-8 py-7 text-left",
58135
- children: /* @__PURE__ */ jsxRuntime.jsx("span", { className: "flex-1", children: link.label })
58070
+ className: "flex h-15 items-center text-base font-normal text-foreground",
58071
+ children: link.label
58136
58072
  },
58137
58073
  `mobile-menu-link-${index}`
58138
58074
  );
@@ -58140,22 +58076,11 @@ var NavbarMegaMenu = ({
58140
58076
  /* @__PURE__ */ jsxRuntime.jsx(
58141
58077
  "div",
58142
58078
  {
58143
- className: cn(
58144
- "mx-8 mt-auto flex flex-col gap-4 py-12",
58145
- actionsClassName
58146
- ),
58079
+ className: cn("mt-6 flex flex-col gap-4", actionsClassName),
58147
58080
  children: renderActions()
58148
58081
  }
58149
58082
  )
58150
- ]
58151
- }
58152
- ),
58153
- open && activeSubmenu && hasDropdownItems(activeSubmenu) && /* @__PURE__ */ jsxRuntime.jsx(
58154
- MobileSubmenu,
58155
- {
58156
- submenu: activeSubmenu,
58157
- mobileMenuClassName,
58158
- optixFlowConfig
58083
+ ] })
58159
58084
  }
58160
58085
  )
58161
58086
  ]
@@ -58808,7 +58733,7 @@ var renderDropdownContent = (item, optixFlowConfig) => {
58808
58733
  var renderMobileDropdownContent = (item) => {
58809
58734
  switch (item.layout) {
58810
58735
  case "solutions-with-platform":
58811
- return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "space-y-4", children: item.solutionCards?.map((solution) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-2", children: [
58736
+ return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "relative", children: item.solutionCards?.map((solution) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-2", children: [
58812
58737
  /* @__PURE__ */ jsxRuntime.jsx(
58813
58738
  Pressable,
58814
58739
  {
@@ -58920,7 +58845,7 @@ var MobileNavigationMenu = ({
58920
58845
  className: "border-b-0",
58921
58846
  children: [
58922
58847
  /* @__PURE__ */ jsxRuntime.jsx(AccordionTrigger, { className: "h-15 items-center text-base font-normal text-foreground hover:no-underline", children: item.label }),
58923
- /* @__PURE__ */ jsxRuntime.jsx(AccordionContent, { className: "max-h-[60dvh] overflow-y-auto", children: renderMobileDropdownContent(item) })
58848
+ /* @__PURE__ */ jsxRuntime.jsx(AccordionContent, { className: "overflow-x-none", children: renderMobileDropdownContent(item) })
58924
58849
  ]
58925
58850
  },
58926
58851
  typeof item.label === "string" ? item.label : `nav-${index}`
@@ -59075,15 +59000,15 @@ var NavbarFeatureGrid = ({
59075
59000
  children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "max-w-screen-sm mx-auto", children: [
59076
59001
  /* @__PURE__ */ jsxRuntime.jsxs(Accordion, { type: "multiple", className: "w-full", children: [
59077
59002
  features && features.length > 0 && /* @__PURE__ */ jsxRuntime.jsxs(AccordionItem, { value: "features", className: "border-b-0", children: [
59078
- /* @__PURE__ */ jsxRuntime.jsx(AccordionTrigger, { className: "h-15 items-center text-base font-normal text-foreground hover:no-underline", children: "Features" }),
59079
- /* @__PURE__ */ jsxRuntime.jsx(AccordionContent, { className: "max-h-[60dvh] overflow-y-auto space-y-2", children: features.map((feature, index) => /* @__PURE__ */ jsxRuntime.jsx(
59003
+ /* @__PURE__ */ jsxRuntime.jsx(AccordionTrigger, { className: "h-15 items-center text-base font-normal hover:no-underline", children: "Features" }),
59004
+ /* @__PURE__ */ jsxRuntime.jsx(AccordionContent, { className: "overflow-x-none", children: features.map((feature, index) => /* @__PURE__ */ jsxRuntime.jsx(
59080
59005
  Pressable,
59081
59006
  {
59082
59007
  href: feature.href,
59083
- className: "flex items-start gap-2 pl-4 text-sm text-muted-foreground hover:text-foreground",
59084
- children: /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
59085
- /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mb-1 font-semibold", children: feature.title }),
59086
- /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm text-muted-foreground", children: feature.description })
59008
+ className: "flex items-start gap-2 pl-4 text-sm",
59009
+ children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-2", children: [
59010
+ /* @__PURE__ */ jsxRuntime.jsx("p", { className: "font-semibold", children: feature.title }),
59011
+ /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm", children: feature.description })
59087
59012
  ] })
59088
59013
  },
59089
59014
  index
@@ -59093,7 +59018,7 @@ var NavbarFeatureGrid = ({
59093
59018
  Pressable,
59094
59019
  {
59095
59020
  href: item.url,
59096
- className: "flex h-15 items-center text-base font-normal text-foreground",
59021
+ className: "flex h-15 items-center text-base font-normal",
59097
59022
  children: item.title
59098
59023
  },
59099
59024
  index
@@ -59399,27 +59324,30 @@ var NavbarPlatformResources = ({
59399
59324
  const renderDropdownContent3 = (link) => {
59400
59325
  const layout = link.layout || "simple-list";
59401
59326
  if (layout === "simple-list") {
59402
- return /* @__PURE__ */ jsxRuntime.jsx(NavigationMenuContent, { className: "min-w-[640px] p-4", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-3", children: link.links?.map((item, itemIndex) => /* @__PURE__ */ jsxRuntime.jsxs(
59403
- NavigationMenuLink,
59327
+ return /* @__PURE__ */ jsxRuntime.jsx(NavigationMenuContent, { className: "w-[400px] p-3", children: /* @__PURE__ */ jsxRuntime.jsx("ul", { className: "space-y-1", children: link.links?.map((item, itemIndex) => /* @__PURE__ */ jsxRuntime.jsx(
59328
+ "li",
59404
59329
  {
59405
- href: getLinkUrl(item),
59406
- className: "flex flex-row items-start gap-4 rounded-lg border border-input bg-background p-4 hover:bg-accent hover:text-accent-foreground",
59407
- children: [
59408
- item.image && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-12 w-12 overflow-hidden rounded-md border border-border", children: /* @__PURE__ */ jsxRuntime.jsx(
59409
- img.Img,
59410
- {
59411
- src: item.image,
59412
- alt: typeof item.label === "string" ? item.label : "Menu item",
59413
- className: "h-full w-full object-cover object-center",
59414
- optixFlowConfig
59415
- }
59416
- ) }),
59417
- !item.image && (item.icon || item.iconName) && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex h-12 w-12 items-center justify-center rounded-md border border-border bg-muted/40 text-muted-foreground", children: item.icon ? item.icon : item.iconName ? /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: item.iconName, size: 18 }) : null }),
59418
- /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
59419
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-sm font-medium text-foreground", children: item.label }),
59420
- item.description && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-sm font-normal text-muted-foreground", children: item.description })
59421
- ] })
59422
- ]
59330
+ children: /* @__PURE__ */ jsxRuntime.jsxs(
59331
+ NavigationMenuLink,
59332
+ {
59333
+ href: getLinkUrl(item),
59334
+ className: "group/link flex-row gap-2 px-3 py-2 transition-colors duration-200",
59335
+ children: [
59336
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex size-8 shrink-0 rounded-lg border duration-400 fade-in group-hover/link:bg-background", children: item.icon ? item.icon : item.iconName ? /* @__PURE__ */ jsxRuntime.jsx(
59337
+ DynamicIcon,
59338
+ {
59339
+ name: item.iconName,
59340
+ size: 16,
59341
+ className: "m-auto group-hover/link:stroke-black"
59342
+ }
59343
+ ) : null }),
59344
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-0.5", children: [
59345
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-sm font-medium", children: item.label }),
59346
+ item.description && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-xs text-muted-foreground group-hover/link:text-foreground", children: item.description })
59347
+ ] })
59348
+ ]
59349
+ }
59350
+ )
59423
59351
  },
59424
59352
  `${typeof item.label === "string" ? item.label : "item"}-${itemIndex}`
59425
59353
  )) }) });
@@ -59768,7 +59696,7 @@ var NavbarPlatformResources = ({
59768
59696
  className: "border-b-0",
59769
59697
  children: [
59770
59698
  /* @__PURE__ */ jsxRuntime.jsx(AccordionTrigger, { className: "h-15 items-center text-base font-normal text-foreground hover:no-underline", children: link.label }),
59771
- /* @__PURE__ */ jsxRuntime.jsx(AccordionContent, { className: "max-h-[60dvh] overflow-y-auto space-y-4", children: link.links?.map((item, itemIndex) => /* @__PURE__ */ jsxRuntime.jsxs(
59699
+ /* @__PURE__ */ jsxRuntime.jsx(AccordionContent, { className: "overflow-x-none", children: link.links?.map((item, itemIndex) => /* @__PURE__ */ jsxRuntime.jsxs(
59772
59700
  Pressable,
59773
59701
  {
59774
59702
  href: getLinkUrl(item),
@@ -59981,7 +59909,7 @@ var NavbarImagePreview = ({
59981
59909
  {
59982
59910
  className: cn("flex items-center gap-3.5", actionsClassName),
59983
59911
  children: [
59984
- renderAuthActions,
59912
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "hidden lg:flex lg:items-center lg:gap-3.5", children: renderAuthActions }),
59985
59913
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "lg:hidden", children: /* @__PURE__ */ jsxRuntime.jsx(
59986
59914
  Pressable,
59987
59915
  {
@@ -60005,7 +59933,7 @@ var NavbarImagePreview = ({
60005
59933
  {
60006
59934
  open,
60007
59935
  setOpen,
60008
- mobileNavigation: mobileNavigation ?? [],
59936
+ mobileNavigation: mobileNavigation ?? navigation ?? [],
60009
59937
  mobileNavigationSlot,
60010
59938
  socialLinks: socialLinks ?? [],
60011
59939
  socialLinksSlot,
@@ -60628,21 +60556,21 @@ var NavbarAnimatedPreview = ({
60628
60556
  "h-full max-w-full after:absolute after:inset-0 after:z-998 after:block after:size-full after:content-[''] [&>div:last-child>div]:mt-0 [&>div:last-child>div]:animate-none [&>div:last-child>div]:rounded-none [&>div:last-child>div]:border-0 [&>div:last-child>div]:shadow-[0px_-1px_0px_0px_rgba(0,0,0,0.05),0px_0px_0px_1px_rgba(17,26,37,0.05),0px_2px_5px_0px_rgba(16,25,36,0.1),0px_5px_20px_0px_rgba(16,25,36,0.1)]!",
60629
60557
  navigationMenuClassName
60630
60558
  );
60631
- return /* @__PURE__ */ jsxRuntime.jsx(
60632
- Section,
60633
- {
60634
- background,
60635
- spacing: spacingOverride ?? spacing,
60636
- className: cn(
60637
- "pointer-events-auto fixed top-0 z-999 flex w-full items-center justify-center",
60638
- sectionClasses
60639
- ),
60640
- pattern,
60641
- patternOpacity,
60642
- containerClassName: sectionContainerClassName,
60643
- containerMaxWidth: sectionContainerMaxWidth,
60644
- children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: containerWrapperClasses, children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: baseNavWrapperClasses, children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: innerContainerClasses, children: [
60645
- /* @__PURE__ */ jsxRuntime.jsx(NavigationMenu, { className: navWrapperClasses, children: /* @__PURE__ */ jsxRuntime.jsxs(
60559
+ return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
60560
+ /* @__PURE__ */ jsxRuntime.jsx(
60561
+ Section,
60562
+ {
60563
+ background,
60564
+ spacing: spacingOverride ?? spacing,
60565
+ className: cn(
60566
+ "pointer-events-auto fixed top-0 z-999 flex w-full items-center justify-center",
60567
+ sectionClasses
60568
+ ),
60569
+ pattern,
60570
+ patternOpacity,
60571
+ containerClassName: sectionContainerClassName,
60572
+ containerMaxWidth: sectionContainerMaxWidth,
60573
+ children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: containerWrapperClasses, children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: baseNavWrapperClasses, children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: innerContainerClasses, children: /* @__PURE__ */ jsxRuntime.jsx(NavigationMenu, { className: navWrapperClasses, children: /* @__PURE__ */ jsxRuntime.jsxs(
60646
60574
  "div",
60647
60575
  {
60648
60576
  className: cn(
@@ -60669,14 +60597,7 @@ var NavbarAnimatedPreview = ({
60669
60597
  size: "icon",
60670
60598
  asButton: true,
60671
60599
  onClick: handleMobileMenu,
60672
- children: open ? /* @__PURE__ */ jsxRuntime.jsx(
60673
- DynamicIcon,
60674
- {
60675
- name: "lucide/x",
60676
- size: 22,
60677
- className: "stroke-foreground"
60678
- }
60679
- ) : /* @__PURE__ */ jsxRuntime.jsx(
60600
+ children: /* @__PURE__ */ jsxRuntime.jsx(
60680
60601
  DynamicIcon,
60681
60602
  {
60682
60603
  name: "lucide/menu",
@@ -60689,20 +60610,20 @@ var NavbarAnimatedPreview = ({
60689
60610
  ] })
60690
60611
  ]
60691
60612
  }
60692
- ) }),
60693
- /* @__PURE__ */ jsxRuntime.jsx(
60694
- MobileNavigationMenu4,
60695
- {
60696
- open,
60697
- setOpen,
60698
- menuLinks: menuLinks ?? [],
60699
- actions,
60700
- actionsSlot
60701
- }
60702
- )
60703
- ] }) }) })
60704
- }
60705
- );
60613
+ ) }) }) }) })
60614
+ }
60615
+ ),
60616
+ /* @__PURE__ */ jsxRuntime.jsx(
60617
+ MobileNavigationMenu4,
60618
+ {
60619
+ open,
60620
+ setOpen,
60621
+ menuLinks: menuLinks ?? [],
60622
+ actions,
60623
+ actionsSlot
60624
+ }
60625
+ )
60626
+ ] });
60706
60627
  };
60707
60628
  var DesktopMenuItem5 = ({
60708
60629
  item,
@@ -61160,18 +61081,18 @@ var NavbarMultiColumnGroups = ({
61160
61081
  sectionContainerMaxWidth,
61161
61082
  spacingOverride
61162
61083
  } = getNavbarLayoutClasses(layoutVariant, { className, containerClassName });
61163
- return /* @__PURE__ */ jsxRuntime.jsxs(
61164
- Section,
61165
- {
61166
- background,
61167
- spacing: spacingOverride ?? spacing,
61168
- className: sectionClasses,
61169
- pattern,
61170
- patternOpacity,
61171
- containerClassName: sectionContainerClassName,
61172
- containerMaxWidth: sectionContainerMaxWidth,
61173
- children: [
61174
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: containerWrapperClasses, children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: navWrapperClasses, children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: innerContainerClasses, children: /* @__PURE__ */ jsxRuntime.jsxs(
61084
+ return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
61085
+ /* @__PURE__ */ jsxRuntime.jsx(
61086
+ Section,
61087
+ {
61088
+ background,
61089
+ spacing: spacingOverride ?? spacing,
61090
+ className: sectionClasses,
61091
+ pattern,
61092
+ patternOpacity,
61093
+ containerClassName: sectionContainerClassName,
61094
+ containerMaxWidth: sectionContainerMaxWidth,
61095
+ children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: containerWrapperClasses, children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: navWrapperClasses, children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: innerContainerClasses, children: /* @__PURE__ */ jsxRuntime.jsxs(
61175
61096
  "div",
61176
61097
  {
61177
61098
  className: cn(
@@ -61213,16 +61134,10 @@ var NavbarMultiColumnGroups = ({
61213
61134
  {
61214
61135
  className: "size-11",
61215
61136
  variant: "ghost",
61137
+ size: "icon",
61216
61138
  asButton: true,
61217
61139
  onClick: handleMobileMenu,
61218
- children: open ? /* @__PURE__ */ jsxRuntime.jsx(
61219
- DynamicIcon,
61220
- {
61221
- name: "lucide/x",
61222
- size: 22,
61223
- className: "stroke-foreground"
61224
- }
61225
- ) : /* @__PURE__ */ jsxRuntime.jsx(
61140
+ children: /* @__PURE__ */ jsxRuntime.jsx(
61226
61141
  DynamicIcon,
61227
61142
  {
61228
61143
  name: "lucide/menu",
@@ -61234,20 +61149,20 @@ var NavbarMultiColumnGroups = ({
61234
61149
  ) })
61235
61150
  ]
61236
61151
  }
61237
- ) }) }) }),
61238
- /* @__PURE__ */ jsxRuntime.jsx(
61239
- MobileNavigationMenu5,
61240
- {
61241
- open,
61242
- setOpen,
61243
- navigation: navigation ?? [],
61244
- authActions: mobileAuthActions,
61245
- authActionsSlot: mobileAuthActionsSlot
61246
- }
61247
- )
61248
- ]
61249
- }
61250
- );
61152
+ ) }) }) })
61153
+ }
61154
+ ),
61155
+ /* @__PURE__ */ jsxRuntime.jsx(
61156
+ MobileNavigationMenu5,
61157
+ {
61158
+ open,
61159
+ setOpen,
61160
+ navigation: navigation ?? [],
61161
+ authActions: mobileAuthActions,
61162
+ authActionsSlot: mobileAuthActionsSlot
61163
+ }
61164
+ )
61165
+ ] });
61251
61166
  };
61252
61167
  var DesktopMenuItem6 = ({ item, index }) => {
61253
61168
  if (item.groups) {
@@ -61329,7 +61244,6 @@ var MobileNavigationMenu5 = ({
61329
61244
  open,
61330
61245
  onClose: () => setOpen(false),
61331
61246
  title: "Mobile Navigation",
61332
- className: "dark",
61333
61247
  children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "max-w-screen-sm mx-auto", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-6", children: [
61334
61248
  /* @__PURE__ */ jsxRuntime.jsx(Accordion, { type: "multiple", className: "w-full", children: navigation.map((item, index) => renderMobileMenuItem5(item, index)) }),
61335
61249
  renderMobileAuthActions
@@ -61346,12 +61260,12 @@ var renderMobileMenuItem5 = (item, index) => {
61346
61260
  className: "border-b-0",
61347
61261
  children: [
61348
61262
  /* @__PURE__ */ jsxRuntime.jsx(AccordionTrigger, { className: "h-15 items-center p-0 px-4! text-base leading-[3.75] font-normal text-muted-foreground hover:bg-muted hover:no-underline", children: item.title }),
61349
- /* @__PURE__ */ jsxRuntime.jsx(AccordionContent, { className: "max-h-[60dvh] overflow-x-auto", children: item.groups.flatMap(
61263
+ /* @__PURE__ */ jsxRuntime.jsx(AccordionContent, { className: "overflow-x-none", children: item.groups.flatMap(
61350
61264
  (group, groupIndex) => group.links.map((link, linkIndex) => /* @__PURE__ */ jsxRuntime.jsxs(
61351
61265
  Pressable,
61352
61266
  {
61353
61267
  href: link.url,
61354
- className: "flex h-12 items-center gap-2 rounded-lg px-4 text-muted-foreground transition-colors duration-300 hover:bg-muted hover:text-foreground",
61268
+ className: "flex min-h-12 items-center gap-2 rounded-lg px-4 text-muted-foreground transition-colors duration-300 hover:bg-muted hover:text-foreground",
61355
61269
  children: [
61356
61270
  link.icon ? link.icon : link.iconName ? /* @__PURE__ */ jsxRuntime.jsx(
61357
61271
  DynamicIcon,