@opensite/ui 1.1.2 → 1.1.4

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.
Files changed (45) hide show
  1. package/dist/navbar-animated-preview.cjs +3 -3
  2. package/dist/navbar-animated-preview.js +3 -3
  3. package/dist/navbar-centered-menu.cjs +1 -1
  4. package/dist/navbar-centered-menu.js +1 -1
  5. package/dist/navbar-dark-icons.cjs +1 -1
  6. package/dist/navbar-dark-icons.js +1 -1
  7. package/dist/navbar-dropdown-menu.cjs +1 -1
  8. package/dist/navbar-dropdown-menu.js +1 -1
  9. package/dist/navbar-education-platform.cjs +2 -2
  10. package/dist/navbar-education-platform.js +2 -2
  11. package/dist/navbar-enterprise-mega.cjs +1 -1
  12. package/dist/navbar-enterprise-mega.js +1 -1
  13. package/dist/navbar-feature-grid.cjs +3 -3
  14. package/dist/navbar-feature-grid.js +3 -3
  15. package/dist/navbar-floating-pill.cjs +1 -1
  16. package/dist/navbar-floating-pill.js +1 -1
  17. package/dist/navbar-fullscreen-menu.cjs +1 -1
  18. package/dist/navbar-fullscreen-menu.js +1 -1
  19. package/dist/navbar-icon-links.cjs +1 -1
  20. package/dist/navbar-icon-links.js +1 -1
  21. package/dist/navbar-image-preview.cjs +114 -108
  22. package/dist/navbar-image-preview.js +114 -108
  23. package/dist/navbar-mega-menu.cjs +1 -2
  24. package/dist/navbar-mega-menu.js +1 -2
  25. package/dist/navbar-multi-column-groups.cjs +1 -1
  26. package/dist/navbar-multi-column-groups.js +1 -1
  27. package/dist/navbar-platform-resources.cjs +1 -1
  28. package/dist/navbar-platform-resources.js +1 -1
  29. package/dist/navbar-search-focused.cjs +2 -2
  30. package/dist/navbar-search-focused.js +2 -2
  31. package/dist/navbar-sidebar-mobile.cjs +1 -1
  32. package/dist/navbar-sidebar-mobile.js +1 -1
  33. package/dist/navbar-simple-links.cjs +1 -1
  34. package/dist/navbar-simple-links.js +1 -1
  35. package/dist/navbar-split-cta.cjs +2 -2
  36. package/dist/navbar-split-cta.js +2 -2
  37. package/dist/navbar-sticky-compact.cjs +4 -4
  38. package/dist/navbar-sticky-compact.js +4 -4
  39. package/dist/navbar-tabbed-sections.cjs +133 -44
  40. package/dist/navbar-tabbed-sections.js +132 -44
  41. package/dist/navbar-transparent-overlay.cjs +4 -12
  42. package/dist/navbar-transparent-overlay.js +4 -12
  43. package/dist/registry.cjs +197 -173
  44. package/dist/registry.js +197 -173
  45. package/package.json +1 -1
package/dist/registry.cjs CHANGED
@@ -57242,7 +57242,7 @@ function getNavbarLayoutClasses(layoutVariant = "fullScreenContainerizedLinks",
57242
57242
  // Section wrapper classes - always full width for non-floating variants
57243
57243
  sectionClasses: cn(
57244
57244
  "inset-x-0 z-20",
57245
- isFloatingBar ? "sticky top-4" : "top-0",
57245
+ isFloatingBar ? "sticky top-4" : "fixed top-0",
57246
57246
  customClasses?.className
57247
57247
  ),
57248
57248
  // Outer container wrapper (only for floating bar - this containerizes the entire navbar)
@@ -58039,7 +58039,6 @@ var NavbarMegaMenu = ({
58039
58039
  open,
58040
58040
  onClose: () => setOpen(false),
58041
58041
  title: "Mobile Navigation",
58042
- contentClassName: "pt-10 pb-20",
58043
58042
  children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "max-w-screen-sm mx-auto", children: [
58044
58043
  /* @__PURE__ */ jsxRuntime.jsx(Accordion, { type: "multiple", className: "w-full", children: menuLinks?.map((link, index) => {
58045
58044
  if (hasDropdownItems(link)) {
@@ -59015,12 +59014,12 @@ var NavbarFeatureGrid = ({
59015
59014
  /* @__PURE__ */ jsxRuntime.jsxs(Accordion, { type: "multiple", className: "w-full", children: [
59016
59015
  features && features.length > 0 && /* @__PURE__ */ jsxRuntime.jsxs(AccordionItem, { value: "features", className: "border-b-0", children: [
59017
59016
  /* @__PURE__ */ jsxRuntime.jsx(AccordionTrigger, { className: "h-15 items-center text-base font-normal hover:no-underline", children: "Features" }),
59018
- /* @__PURE__ */ jsxRuntime.jsx(AccordionContent, { className: "overflow-x-none", children: features.map((feature, index) => /* @__PURE__ */ jsxRuntime.jsx(
59017
+ /* @__PURE__ */ jsxRuntime.jsx(AccordionContent, { className: "overflow-x-none space-y-4", children: features.map((feature, index) => /* @__PURE__ */ jsxRuntime.jsx(
59019
59018
  Pressable,
59020
59019
  {
59021
59020
  href: feature.href,
59022
59021
  className: "flex items-start gap-2 pl-4 text-sm",
59023
- children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-2", children: [
59022
+ children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-0", children: [
59024
59023
  /* @__PURE__ */ jsxRuntime.jsx("p", { className: "font-semibold", children: feature.title }),
59025
59024
  /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm", children: feature.description })
59026
59025
  ] })
@@ -59884,65 +59883,55 @@ var NavbarImagePreview = ({
59884
59883
  containerClassName: sectionContainerClassName,
59885
59884
  containerMaxWidth: sectionContainerMaxWidth,
59886
59885
  children: [
59887
- /* @__PURE__ */ jsxRuntime.jsx(
59886
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("z-500 w-full", containerWrapperClasses), ref: navRef, children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: navWrapperClasses, children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: innerContainerClasses, children: /* @__PURE__ */ jsxRuntime.jsxs(
59888
59887
  "div",
59889
59888
  {
59890
59889
  className: cn(
59891
- "fixed top-0 z-500 w-full bg-transparent transition-colors duration-500",
59892
- containerWrapperClasses
59890
+ "flex items-center justify-between gap-3.5 py-5",
59891
+ navClassName
59893
59892
  ),
59894
- ref: navRef,
59895
- children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: navWrapperClasses, children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: innerContainerClasses, children: /* @__PURE__ */ jsxRuntime.jsxs(
59896
- "div",
59897
- {
59898
- className: cn(
59899
- "flex items-center justify-between gap-3.5 py-5",
59900
- navClassName
59901
- ),
59902
- children: [
59903
- /* @__PURE__ */ jsxRuntime.jsx(
59904
- NavbarLogo,
59905
- {
59906
- logo,
59907
- logoSlot,
59908
- logoClassName,
59909
- optixFlowConfig
59910
- }
59911
- ),
59912
- /* @__PURE__ */ jsxRuntime.jsx(
59913
- NavigationMenu,
59914
- {
59915
- className: cn(
59916
- "hidden lg:flex [&>div:nth-child(2)]:left-1/2 [&>div:nth-child(2)]:-translate-x-1/2",
59917
- navigationMenuClassName
59918
- ),
59919
- children: renderNavigation
59920
- }
59893
+ children: [
59894
+ /* @__PURE__ */ jsxRuntime.jsx(
59895
+ NavbarLogo,
59896
+ {
59897
+ logo,
59898
+ logoSlot,
59899
+ logoClassName,
59900
+ optixFlowConfig
59901
+ }
59902
+ ),
59903
+ /* @__PURE__ */ jsxRuntime.jsx(
59904
+ NavigationMenu,
59905
+ {
59906
+ className: cn(
59907
+ "hidden lg:flex [&>div:nth-child(2)]:left-1/2 [&>div:nth-child(2)]:-translate-x-1/2",
59908
+ navigationMenuClassName
59921
59909
  ),
59922
- /* @__PURE__ */ jsxRuntime.jsxs(
59923
- "div",
59924
- {
59925
- className: cn("flex items-center gap-3.5", actionsClassName),
59926
- children: [
59927
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "hidden lg:flex lg:items-center lg:gap-3.5", children: renderAuthActions }),
59928
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "lg:hidden", children: /* @__PURE__ */ jsxRuntime.jsx(
59929
- Pressable,
59930
- {
59931
- variant: "ghost",
59932
- size: "icon",
59933
- asButton: true,
59934
- onClick: handleMobileMenu,
59935
- children: /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: "lucide/menu", size: 22 })
59936
- }
59937
- ) })
59938
- ]
59939
- }
59940
- )
59941
- ]
59942
- }
59943
- ) }) })
59910
+ children: renderNavigation
59911
+ }
59912
+ ),
59913
+ /* @__PURE__ */ jsxRuntime.jsxs(
59914
+ "div",
59915
+ {
59916
+ className: cn("flex items-center gap-3.5", actionsClassName),
59917
+ children: [
59918
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "hidden lg:flex lg:items-center lg:gap-3.5", children: renderAuthActions }),
59919
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "lg:hidden", children: /* @__PURE__ */ jsxRuntime.jsx(
59920
+ Pressable,
59921
+ {
59922
+ variant: "ghost",
59923
+ size: "icon",
59924
+ asButton: true,
59925
+ onClick: handleMobileMenu,
59926
+ children: /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: "lucide/menu", size: 22 })
59927
+ }
59928
+ ) })
59929
+ ]
59930
+ }
59931
+ )
59932
+ ]
59944
59933
  }
59945
- ),
59934
+ ) }) }) }),
59946
59935
  /* @__PURE__ */ jsxRuntime.jsx(
59947
59936
  MobileNavigationMenu2,
59948
59937
  {
@@ -60093,61 +60082,77 @@ var MobileNavigationMenu2 = ({
60093
60082
  }) });
60094
60083
  }, [authActionsSlot, authActions, handleClose]);
60095
60084
  if (mobileNavigationSlot) {
60096
- return /* @__PURE__ */ jsxRuntime.jsx(NavbarMobileMenu, { open, onClose: handleClose, title: "Mobile Navigation", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "max-w-screen-sm mx-auto", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-6", children: [
60097
- mobileNavigationSlot,
60098
- renderSocialLinks,
60099
- renderMobileAuthActions
60100
- ] }) }) });
60101
- }
60102
- return /* @__PURE__ */ jsxRuntime.jsx(NavbarMobileMenu, { open, onClose: handleClose, title: "Mobile Navigation", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "max-w-screen-sm mx-auto", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-6", children: [
60103
- /* @__PURE__ */ jsxRuntime.jsx(Accordion, { type: "multiple", className: "w-full", children: mobileNavigation.map((item, index) => {
60104
- if (item.links && item.links.length > 0) {
60105
- return /* @__PURE__ */ jsxRuntime.jsxs(
60106
- AccordionItem,
60107
- {
60108
- value: `nav-${index}`,
60109
- className: "border-b-0",
60110
- children: [
60111
- /* @__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 }),
60112
- /* @__PURE__ */ jsxRuntime.jsx(AccordionContent, { className: "overflow-x-none", children: item.links.map((link, linkIndex) => /* @__PURE__ */ jsxRuntime.jsxs(
60113
- Pressable,
60114
- {
60115
- href: getLinkUrl(link),
60116
- 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",
60117
- onClick: handleClose,
60118
- children: [
60119
- link.icon ? link.icon : link.iconName ? /* @__PURE__ */ jsxRuntime.jsx(
60120
- DynamicIcon,
60121
- {
60122
- name: link.iconName,
60123
- size: 16,
60124
- className: "stroke-muted-foreground"
60125
- }
60126
- ) : null,
60127
- link.label
60128
- ]
60129
- },
60130
- `mobile-link-${linkIndex}`
60131
- )) })
60132
- ]
60133
- },
60134
- `nav-item-${index}`
60135
- );
60085
+ return /* @__PURE__ */ jsxRuntime.jsx(
60086
+ NavbarMobileMenu,
60087
+ {
60088
+ open,
60089
+ onClose: handleClose,
60090
+ title: "Mobile Navigation",
60091
+ children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "max-w-screen-sm mx-auto", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-6", children: [
60092
+ mobileNavigationSlot,
60093
+ renderSocialLinks,
60094
+ renderMobileAuthActions
60095
+ ] }) })
60136
60096
  }
60137
- return /* @__PURE__ */ jsxRuntime.jsx(
60138
- Pressable,
60139
- {
60140
- href: item.url,
60141
- className: "flex h-15 items-center rounded-md p-0 px-4 text-left text-base leading-[3.75] font-normal text-muted-foreground ring-ring/10 outline-ring/50 transition-all hover:bg-muted focus-visible:ring-4 focus-visible:outline-1",
60142
- onClick: handleClose,
60143
- children: item.title
60144
- },
60145
- `nav-link-${index}`
60146
- );
60147
- }) }),
60148
- renderSocialLinks,
60149
- renderMobileAuthActions
60150
- ] }) }) });
60097
+ );
60098
+ }
60099
+ return /* @__PURE__ */ jsxRuntime.jsx(
60100
+ NavbarMobileMenu,
60101
+ {
60102
+ open,
60103
+ onClose: handleClose,
60104
+ title: "Mobile Navigation",
60105
+ children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "max-w-screen-sm mx-auto", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-6", children: [
60106
+ /* @__PURE__ */ jsxRuntime.jsx(Accordion, { type: "multiple", className: "w-full", children: mobileNavigation.map((item, index) => {
60107
+ if (item.links && item.links.length > 0) {
60108
+ return /* @__PURE__ */ jsxRuntime.jsxs(
60109
+ AccordionItem,
60110
+ {
60111
+ value: `nav-${index}`,
60112
+ className: "border-b-0",
60113
+ children: [
60114
+ /* @__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 }),
60115
+ /* @__PURE__ */ jsxRuntime.jsx(AccordionContent, { className: "overflow-x-none", children: item.links.map((link, linkIndex) => /* @__PURE__ */ jsxRuntime.jsxs(
60116
+ Pressable,
60117
+ {
60118
+ href: getLinkUrl(link),
60119
+ 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",
60120
+ onClick: handleClose,
60121
+ children: [
60122
+ link.icon ? link.icon : link.iconName ? /* @__PURE__ */ jsxRuntime.jsx(
60123
+ DynamicIcon,
60124
+ {
60125
+ name: link.iconName,
60126
+ size: 16,
60127
+ className: "stroke-muted-foreground"
60128
+ }
60129
+ ) : null,
60130
+ link.label
60131
+ ]
60132
+ },
60133
+ `mobile-link-${linkIndex}`
60134
+ )) })
60135
+ ]
60136
+ },
60137
+ `nav-item-${index}`
60138
+ );
60139
+ }
60140
+ return /* @__PURE__ */ jsxRuntime.jsx(
60141
+ Pressable,
60142
+ {
60143
+ href: item.url,
60144
+ className: "flex h-15 items-center rounded-md p-0 px-4 text-left text-base leading-[3.75] font-normal text-muted-foreground ring-ring/10 outline-ring/50 transition-all hover:bg-muted focus-visible:ring-4 focus-visible:outline-1",
60145
+ onClick: handleClose,
60146
+ children: item.title
60147
+ },
60148
+ `nav-link-${index}`
60149
+ );
60150
+ }) }),
60151
+ renderSocialLinks,
60152
+ renderMobileAuthActions
60153
+ ] }) })
60154
+ }
60155
+ );
60151
60156
  };
60152
60157
  var MOBILE_BREAKPOINT3 = 1024;
60153
60158
  var NavbarDarkIcons = ({
@@ -60823,9 +60828,9 @@ var GroupLinks = ({ groupLinks }) => {
60823
60828
  };
60824
60829
  if (!groupLinks) return null;
60825
60830
  let linkIndex = 0;
60826
- return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex items-center gap-4", children: groupLinks.map((group, index1) => /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
60831
+ return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex items-center gap-4 w-full", children: groupLinks.map((group, index1) => /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
60827
60832
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-4 text-xs", children: group.label }),
60828
- /* @__PURE__ */ jsxRuntime.jsx("ul", { className: "flex flex-col gap-4", children: group.links.map((link, index2) => {
60833
+ /* @__PURE__ */ jsxRuntime.jsx("ul", { className: "flex flex-col gap-4 w-full", children: group.links.map((link, index2) => {
60829
60834
  const idx = linkIndex++;
60830
60835
  return /* @__PURE__ */ jsxRuntime.jsx("li", { children: /* @__PURE__ */ jsxRuntime.jsx(
60831
60836
  NavLink,
@@ -61858,18 +61863,10 @@ var NavbarTransparentOverlay = ({
61858
61863
  onClick: () => setIsOpen(true),
61859
61864
  className: cn(
61860
61865
  "size-11",
61861
- !isScrolled && "hover:bg-white/10"
61866
+ !isScrolled && "hover:bg-white/10",
61867
+ isScrolled ? "text-foreground" : "text-white"
61862
61868
  ),
61863
- children: /* @__PURE__ */ jsxRuntime.jsx(
61864
- DynamicIcon,
61865
- {
61866
- name: "lucide/menu",
61867
- size: 16,
61868
- className: cn(
61869
- isScrolled ? "stroke-foreground" : "stroke-white"
61870
- )
61871
- }
61872
- )
61869
+ children: /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: "lucide/menu", size: 16 })
61873
61870
  }
61874
61871
  ) })
61875
61872
  ] }) })
@@ -62180,7 +62177,7 @@ var DesktopMenuItem7 = ({
62180
62177
  Pressable,
62181
62178
  {
62182
62179
  href: link.href,
62183
- className: "group flex cursor-pointer flex-row gap-3",
62180
+ className: "group flex cursor-pointer justify-start! flex-row gap-3",
62184
62181
  children: [
62185
62182
  link.icon && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "flex size-10 shrink-0 items-center justify-center rounded-md border border-border bg-background", children: /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: link.icon, size: 20 }) }),
62186
62183
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col", children: [
@@ -62391,7 +62388,7 @@ var NavbarStickyCompact = ({
62391
62388
  NavigationMenuTrigger,
62392
62389
  {
62393
62390
  className: cn(
62394
- "transition-all duration-300",
62391
+ "transition-all duration-300 bg-transparent hover:bg-muted",
62395
62392
  isScrolled ? "h-8 text-sm" : "h-10"
62396
62393
  ),
62397
62394
  children: item.title
@@ -62401,7 +62398,7 @@ var NavbarStickyCompact = ({
62401
62398
  Pressable,
62402
62399
  {
62403
62400
  href: subItem.url,
62404
- className: "flex items-center gap-2 rounded-md px-3 py-2 text-sm hover:bg-accent",
62401
+ className: "flex items-center gap-2 rounded-md px-3 py-2 text-sm hover:bg-muted",
62405
62402
  children: [
62406
62403
  subItem.icon && /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: subItem.icon, size: 16 }),
62407
62404
  subItem.title
@@ -62414,7 +62411,7 @@ var NavbarStickyCompact = ({
62414
62411
  asChild: true,
62415
62412
  className: cn(
62416
62413
  navigationMenuTriggerStyle(),
62417
- "transition-all duration-300",
62414
+ "transition-all duration-300 bg-transparent hover:bg-muted",
62418
62415
  isScrolled ? "h-8 text-sm" : "h-10"
62419
62416
  ),
62420
62417
  children: /* @__PURE__ */ jsxRuntime.jsx(Pressable, { href: item.url, children: item.title })
@@ -62831,7 +62828,7 @@ var MobileNavigationMenu10 = ({
62831
62828
  );
62832
62829
  }) });
62833
62830
  }, [mobileMenuActionsSlot, mobileMenuActions]);
62834
- return /* @__PURE__ */ jsxRuntime.jsx(NavbarMobileMenu, { open, onClose: handleClose, title: "Navigation Menu", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "max-w-screen-sm mx-auto", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-6", children: [
62831
+ return /* @__PURE__ */ jsxRuntime.jsx(NavbarMobileMenu, { open, onClose: handleClose, title: "Navigation Menu", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "max-w-screen-sm mx-auto", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-0", children: [
62835
62832
  navigationSlot ?? /* @__PURE__ */ jsxRuntime.jsx("nav", { className: "flex flex-col", children: navItems.map((item, index) => /* @__PURE__ */ jsxRuntime.jsxs(
62836
62833
  Pressable,
62837
62834
  {
@@ -63315,7 +63312,7 @@ var NavbarSplitCta = ({
63315
63312
  index
63316
63313
  )
63317
63314
  ) }),
63318
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex flex-col gap-2 mt-6", children: renderAuthActions })
63315
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex flex-col gap-4 mt-0", children: renderAuthActions })
63319
63316
  ] }) })
63320
63317
  }
63321
63318
  )
@@ -63573,13 +63570,13 @@ var NavbarTabbedSections = ({
63573
63570
  if (!menu || menu.length === 0) return null;
63574
63571
  return menu.map(
63575
63572
  (item, index) => item.tabs ? /* @__PURE__ */ jsxRuntime.jsxs(NavigationMenuItem, { children: [
63576
- /* @__PURE__ */ jsxRuntime.jsx(NavigationMenuTrigger, { children: item.title }),
63573
+ /* @__PURE__ */ jsxRuntime.jsx(NavigationMenuTrigger, { className: "bg-transparent hover:bg-muted", children: item.title }),
63577
63574
  /* @__PURE__ */ jsxRuntime.jsx(NavigationMenuContent, { children: /* @__PURE__ */ jsxRuntime.jsxs(Tabs, { defaultValue: item.tabs[0]?.id, className: "w-[600px]", children: [
63578
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "border-b px-4 pt-2", children: /* @__PURE__ */ jsxRuntime.jsx(TabsList, { className: "h-auto bg-transparent p-0", children: item.tabs.map((tab) => /* @__PURE__ */ jsxRuntime.jsx(
63575
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "border-b-2 px-4 pt-2", children: /* @__PURE__ */ jsxRuntime.jsx(TabsList, { className: "h-auto bg-transparent p-0", children: item.tabs.map((tab) => /* @__PURE__ */ jsxRuntime.jsx(
63579
63576
  TabsTrigger,
63580
63577
  {
63581
63578
  value: tab.id,
63582
- className: "rounded-none border-b-2 border-transparent px-4 py-2 data-[state=active]:border-b-primary hover:border-b-primary data-[state=active]:bg-transparent data-[state=active]:shadow-none",
63579
+ className: "-mb-2 rounded-none border-b-2 border-transparent px-4 py-2 data-[state=active]:border-b-primary data-[state=active]:text-primary hover:border-b-primary data-[state=active]:bg-transparent data-[state=active]:shadow-none",
63583
63580
  children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2", children: [
63584
63581
  tab.icon && /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: tab.icon, size: 16 }),
63585
63582
  tab.title
@@ -63588,20 +63585,28 @@ var NavbarTabbedSections = ({
63588
63585
  tab.id
63589
63586
  )) }) }),
63590
63587
  item.tabs.map((tab) => /* @__PURE__ */ jsxRuntime.jsx(TabsContent, { value: tab.id, className: "mt-0 p-4", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex gap-6", children: [
63591
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex-1 space-y-1", children: tab.links.map((link, linkIndex) => /* @__PURE__ */ jsxRuntime.jsx(NavigationMenuLink, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsxs(
63592
- Pressable,
63588
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex-1 grid grid-cols-2 space-y-2 space-x-4", children: tab.links.map((link, linkIndex) => /* @__PURE__ */ jsxRuntime.jsx(
63589
+ NavigationMenuLink,
63593
63590
  {
63594
- href: link.url,
63595
- className: "flex items-start gap-3 rounded-md p-3 hover:bg-muted",
63596
- children: [
63597
- link.icon && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mt-0.5 flex h-8 w-8 shrink-0 items-center justify-center rounded-md border border-muted bg-background", children: /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: link.icon, size: 16 }) }),
63598
- /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
63599
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-sm font-medium", children: link.title }),
63600
- link.description && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-xs", children: link.description })
63601
- ] })
63602
- ]
63603
- }
63604
- ) }, linkIndex)) }),
63591
+ asChild: true,
63592
+ className: "w-full",
63593
+ children: /* @__PURE__ */ jsxRuntime.jsxs(
63594
+ Pressable,
63595
+ {
63596
+ href: link.url,
63597
+ className: "w-full flex items-start gap-3 rounded-md p-3 hover:bg-muted",
63598
+ children: [
63599
+ link.icon && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mt-0.5 flex h-8 w-8 shrink-0 items-center justify-center rounded-md border bg-background", children: /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: link.icon, size: 16 }) }),
63600
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
63601
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-sm font-medium", children: link.title }),
63602
+ link.description && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-xs", children: link.description })
63603
+ ] })
63604
+ ]
63605
+ }
63606
+ )
63607
+ },
63608
+ linkIndex
63609
+ )) }),
63605
63610
  tab.featured && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "w-[200px] shrink-0", children: /* @__PURE__ */ jsxRuntime.jsx(NavigationMenuLink, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsxs(
63606
63611
  Pressable,
63607
63612
  {
@@ -63639,39 +63644,58 @@ var NavbarTabbedSections = ({
63639
63644
  const renderMobileMenu = React52.useMemo(() => {
63640
63645
  if (menuSlot) return menuSlot;
63641
63646
  if (!menu || menu.length === 0) return null;
63642
- return menu.map(
63643
- (item, index) => item.tabs ? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-3", children: [
63644
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-sm font-semibold", children: item.title }),
63645
- item.tabs.map((tab) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-1 pl-2", children: [
63646
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2 text-xs font-medium text-muted-foreground", children: [
63647
- tab.icon && /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: tab.icon, size: 14 }),
63648
- tab.title
63649
- ] }),
63650
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex flex-col gap-1 pl-4", children: tab.links.map((link, linkIndex) => /* @__PURE__ */ jsxRuntime.jsxs(
63651
- Pressable,
63652
- {
63653
- href: link.url,
63654
- className: "flex items-center gap-2 rounded-md py-1.5 text-sm",
63655
- onClick: () => setIsOpen(false),
63656
- children: [
63657
- link.icon && /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: link.icon, size: 14 }),
63658
- link.title
63659
- ]
63660
- },
63661
- linkIndex
63662
- )) })
63663
- ] }, tab.id))
63664
- ] }, index) : /* @__PURE__ */ jsxRuntime.jsx(
63647
+ return /* @__PURE__ */ jsxRuntime.jsx(Accordion, { type: "multiple", className: "w-full", children: menu.map((item, index) => {
63648
+ if (item.tabs && item.tabs.length > 0) {
63649
+ return /* @__PURE__ */ jsxRuntime.jsxs(
63650
+ AccordionItem,
63651
+ {
63652
+ value: `nav-${index}`,
63653
+ className: "border-b-0",
63654
+ children: [
63655
+ /* @__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 }),
63656
+ /* @__PURE__ */ jsxRuntime.jsx(AccordionContent, { className: "overflow-x-none pb-4", children: /* @__PURE__ */ jsxRuntime.jsx(Accordion, { type: "multiple", className: "w-full pl-4", children: item.tabs.map((tab) => /* @__PURE__ */ jsxRuntime.jsxs(
63657
+ AccordionItem,
63658
+ {
63659
+ value: tab.id,
63660
+ className: "border-b-0",
63661
+ children: [
63662
+ /* @__PURE__ */ jsxRuntime.jsx(AccordionTrigger, { className: "h-12 items-center p-0 px-4! text-sm leading-[3] font-medium text-muted-foreground hover:bg-muted hover:no-underline", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2", children: [
63663
+ tab.icon && /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: tab.icon, size: 14 }),
63664
+ tab.title
63665
+ ] }) }),
63666
+ /* @__PURE__ */ jsxRuntime.jsx(AccordionContent, { className: "overflow-x-none", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex flex-col gap-1 pl-4", children: tab.links.map((link, linkIndex) => /* @__PURE__ */ jsxRuntime.jsxs(
63667
+ Pressable,
63668
+ {
63669
+ href: link.url,
63670
+ className: "flex items-center gap-2 rounded-md px-4 py-2 text-sm hover:bg-muted",
63671
+ onClick: () => setIsOpen(false),
63672
+ children: [
63673
+ link.icon && /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: link.icon, size: 14 }),
63674
+ link.title
63675
+ ]
63676
+ },
63677
+ linkIndex
63678
+ )) }) })
63679
+ ]
63680
+ },
63681
+ tab.id
63682
+ )) }) })
63683
+ ]
63684
+ },
63685
+ `nav-item-${index}`
63686
+ );
63687
+ }
63688
+ return /* @__PURE__ */ jsxRuntime.jsx(
63665
63689
  Pressable,
63666
63690
  {
63667
63691
  href: item.url,
63668
- className: "text-sm font-medium",
63692
+ className: "flex h-15 items-center px-4 text-base font-normal text-muted-foreground hover:bg-muted",
63669
63693
  onClick: () => setIsOpen(false),
63670
63694
  children: item.title
63671
63695
  },
63672
- index
63673
- )
63674
- );
63696
+ `nav-link-${index}`
63697
+ );
63698
+ }) });
63675
63699
  }, [menuSlot, menu]);
63676
63700
  const {
63677
63701
  sectionClasses,