@opensite/ui 1.0.9 → 1.1.1

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 (41) hide show
  1. package/dist/navbar-animated-preview.cjs +30 -19
  2. package/dist/navbar-animated-preview.js +30 -19
  3. package/dist/navbar-centered-menu.cjs +21 -10
  4. package/dist/navbar-centered-menu.js +21 -10
  5. package/dist/navbar-dark-icons.cjs +21 -10
  6. package/dist/navbar-dark-icons.js +21 -10
  7. package/dist/navbar-dropdown-menu.cjs +21 -10
  8. package/dist/navbar-dropdown-menu.js +21 -10
  9. package/dist/navbar-education-platform.cjs +82 -56
  10. package/dist/navbar-education-platform.js +82 -56
  11. package/dist/navbar-enterprise-mega.cjs +22 -11
  12. package/dist/navbar-enterprise-mega.js +22 -11
  13. package/dist/navbar-feature-grid.cjs +21 -10
  14. package/dist/navbar-feature-grid.js +21 -10
  15. package/dist/navbar-icon-links.cjs +21 -10
  16. package/dist/navbar-icon-links.js +21 -10
  17. package/dist/navbar-image-preview.cjs +21 -10
  18. package/dist/navbar-image-preview.js +21 -10
  19. package/dist/navbar-mega-menu.cjs +21 -10
  20. package/dist/navbar-mega-menu.js +21 -10
  21. package/dist/navbar-multi-column-groups.cjs +53 -35
  22. package/dist/navbar-multi-column-groups.js +53 -35
  23. package/dist/navbar-platform-resources.cjs +21 -10
  24. package/dist/navbar-platform-resources.js +21 -10
  25. package/dist/navbar-search-focused.cjs +192 -103
  26. package/dist/navbar-search-focused.js +192 -103
  27. package/dist/navbar-sidebar-mobile.cjs +22 -10
  28. package/dist/navbar-sidebar-mobile.js +22 -10
  29. package/dist/navbar-simple-links.cjs +23 -12
  30. package/dist/navbar-simple-links.js +23 -12
  31. package/dist/navbar-split-cta.cjs +21 -10
  32. package/dist/navbar-split-cta.js +21 -10
  33. package/dist/navbar-sticky-compact.cjs +231 -123
  34. package/dist/navbar-sticky-compact.js +230 -123
  35. package/dist/navbar-tabbed-sections.cjs +21 -10
  36. package/dist/navbar-tabbed-sections.js +21 -10
  37. package/dist/navbar-transparent-overlay.cjs +23 -10
  38. package/dist/navbar-transparent-overlay.js +23 -10
  39. package/dist/registry.cjs +435 -302
  40. package/dist/registry.js +435 -302
  41. package/package.json +1 -1
package/dist/registry.cjs CHANGED
@@ -57108,6 +57108,8 @@ var NavbarMobileMenu = ({
57108
57108
  children,
57109
57109
  className,
57110
57110
  contentClassName,
57111
+ closeContainerClassName,
57112
+ closeIconClassName,
57111
57113
  title = "Mobile Navigation"
57112
57114
  }) => {
57113
57115
  React52__namespace.useEffect(() => {
@@ -57132,18 +57134,27 @@ var NavbarMobileMenu = ({
57132
57134
  "data-state": open ? "open" : "closed",
57133
57135
  children: [
57134
57136
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "sr-only", children: /* @__PURE__ */ jsxRuntime.jsx("h2", { children: title }) }),
57135
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute top-0 left-0 right-0 p-4 bg-background flex justify-end items-center z-10 w-screen", children: /* @__PURE__ */ jsxRuntime.jsxs(
57136
- "button",
57137
+ /* @__PURE__ */ jsxRuntime.jsx(
57138
+ "div",
57137
57139
  {
57138
- onClick: onClose,
57139
- className: "flex size-10 items-center justify-center rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none",
57140
- "aria-label": "Close mobile menu",
57141
- children: [
57142
- /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: "lucide/x", className: "size-4" }),
57143
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sr-only", children: "Close" })
57144
- ]
57140
+ className: cn(
57141
+ "absolute top-0 left-0 right-0 p-4 bg-background flex justify-end items-center z-10 w-screen",
57142
+ closeContainerClassName
57143
+ ),
57144
+ children: /* @__PURE__ */ jsxRuntime.jsxs(
57145
+ "button",
57146
+ {
57147
+ onClick: onClose,
57148
+ className: "flex size-10 items-center justify-center rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none",
57149
+ "aria-label": "Close mobile menu",
57150
+ children: [
57151
+ /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: "lucide/x", className: cn("size-4", closeIconClassName) }),
57152
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sr-only", children: "Close" })
57153
+ ]
57154
+ }
57155
+ )
57145
57156
  }
57146
- ) }),
57157
+ ),
57147
57158
  /* @__PURE__ */ jsxRuntime.jsx(
57148
57159
  "div",
57149
57160
  {
@@ -58738,7 +58749,7 @@ var renderMobileDropdownContent = (item) => {
58738
58749
  Pressable,
58739
58750
  {
58740
58751
  href: solution.href,
58741
- className: "block pb-2 text-sm font-medium",
58752
+ className: "block pt-4 text-sm font-medium",
58742
58753
  children: solution.title
58743
58754
  }
58744
58755
  ),
@@ -60592,7 +60603,7 @@ var NavbarAnimatedPreview = ({
60592
60603
  "div",
60593
60604
  {
60594
60605
  className: cn(
60595
- "relative z-999 grid w-full grid-cols-2 items-center justify-between gap-8 xl:grid-cols-3"
60606
+ "relative z-999 flex w-full items-center justify-between gap-4"
60596
60607
  ),
60597
60608
  children: [
60598
60609
  /* @__PURE__ */ jsxRuntime.jsx(
@@ -60788,7 +60799,7 @@ var GroupedLinksImageDropdown = ({
60788
60799
  imageLink,
60789
60800
  optixFlowConfig
60790
60801
  }) => {
60791
- return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid grid-cols-2 gap-4", children: [
60802
+ return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid grid-cols-2 gap-8", children: [
60792
60803
  /* @__PURE__ */ jsxRuntime.jsx(GroupLinks, { groupLinks }),
60793
60804
  /* @__PURE__ */ jsxRuntime.jsx(FeaturedImageLink, { link: imageLink, optixFlowConfig })
60794
60805
  ] });
@@ -60809,7 +60820,7 @@ var GroupLinks = ({ groupLinks }) => {
60809
60820
  };
60810
60821
  if (!groupLinks) return null;
60811
60822
  let linkIndex = 0;
60812
- return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex items-center justify-between gap-4", children: groupLinks.map((group, index1) => /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
60823
+ return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex items-center gap-4", children: groupLinks.map((group, index1) => /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
60813
60824
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-4 text-xs", children: group.label }),
60814
60825
  /* @__PURE__ */ jsxRuntime.jsx("ul", { className: "flex flex-col gap-4", children: group.links.map((link, index2) => {
60815
60826
  const idx = linkIndex++;
@@ -60867,7 +60878,7 @@ var FeaturedLink = ({ link, optixFlowConfig }) => {
60867
60878
  Pressable,
60868
60879
  {
60869
60880
  href: getLinkUrl(link),
60870
- className: "group relative flex w-full overflow-hidden rounded-xl bg-muted px-8 py-12",
60881
+ className: "group relative flex w-full overflow-hidden rounded-xl bg-muted px-4 pt-24 pb-4",
60871
60882
  children: [
60872
60883
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative z-10 flex w-full items-center gap-6", children: [
60873
60884
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex size-12 shrink-0 rounded-lg border bg-background shadow-lg", children: link.icon ? link.icon : link.iconName ? /* @__PURE__ */ jsxRuntime.jsx(
@@ -60982,11 +60993,11 @@ var renderMobileMenuItem4 = (item, index) => {
60982
60993
  className: "border-b-0",
60983
60994
  children: [
60984
60995
  /* @__PURE__ */ jsxRuntime.jsx(AccordionTrigger, { className: "h-10 items-center text-base font-normal text-foreground hover:no-underline", children: item.label }),
60985
- /* @__PURE__ */ jsxRuntime.jsxs(AccordionContent, { className: "flex flex-col gap-6 p-2", children: [
60986
- item.featuredLinks && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex flex-col gap-2 p-2", children: item.featuredLinks.map((link, idx) => /* @__PURE__ */ jsxRuntime.jsx(NavLink, { link }, `default-nav-link-${idx}`)) }),
60987
- item.links && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex flex-col gap-2 p-2", children: item.links.map((link, idx) => /* @__PURE__ */ jsxRuntime.jsx(NavLink, { link }, `default-nav-link-${idx}`)) }),
60988
- item.groupLinks && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex flex-col gap-2 p-2", children: item.groupLinks.map((group, groupIdx) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mb-8 last:mb-0", children: [
60989
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-4 text-xs text-muted-foreground", children: group.label }),
60996
+ /* @__PURE__ */ jsxRuntime.jsxs(AccordionContent, { className: "flex flex-col py-6 px-4", children: [
60997
+ item.featuredLinks && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex flex-col gap-2", children: item.featuredLinks.map((link, idx) => /* @__PURE__ */ jsxRuntime.jsx(NavLink, { link }, `default-nav-link-${idx}`)) }),
60998
+ item.links && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex flex-col gap-2", children: item.links.map((link, idx) => /* @__PURE__ */ jsxRuntime.jsx(NavLink, { link }, `default-nav-link-${idx}`)) }),
60999
+ item.groupLinks && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex flex-col gap-2", children: item.groupLinks.map((group, groupIdx) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative", children: [
61000
+ group.label && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-4 text-xs text-muted-foreground", children: group.label }),
60990
61001
  /* @__PURE__ */ jsxRuntime.jsx("ul", { className: "flex flex-col gap-2", children: group.links.map((link, linkIdx) => /* @__PURE__ */ jsxRuntime.jsx("li", { children: /* @__PURE__ */ jsxRuntime.jsx(NavLink, { link }) }, `group-link-${groupIdx}-${linkIdx}`)) })
60991
61002
  ] }, `group-link-${groupIdx}`)) })
60992
61003
  ] })
@@ -61176,8 +61187,8 @@ var NavbarMultiColumnGroups = ({
61176
61187
  open,
61177
61188
  setOpen,
61178
61189
  navigation: navigation ?? [],
61179
- authActions: mobileAuthActions,
61180
- authActionsSlot: mobileAuthActionsSlot
61190
+ authActions: mobileAuthActions ?? authActions,
61191
+ authActionsSlot: mobileAuthActionsSlot ?? authActionsSlot
61181
61192
  }
61182
61193
  )
61183
61194
  ] });
@@ -61274,29 +61285,36 @@ var MobileNavigationMenu5 = ({
61274
61285
  className: "border-b-0",
61275
61286
  children: [
61276
61287
  /* @__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 }),
61277
- /* @__PURE__ */ jsxRuntime.jsx(AccordionContent, { className: "overflow-x-none", children: item.groups.map((group, groupIndex) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mb-4", children: [
61278
- /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mb-2 px-4 text-[10px] text-muted-foreground uppercase", children: group.title }),
61279
- group.links.map((link, linkIndex) => /* @__PURE__ */ jsxRuntime.jsxs(
61280
- Pressable,
61281
- {
61282
- href: link.url,
61283
- 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",
61284
- onClick: handleClose,
61285
- children: [
61286
- link.icon ? link.icon : link.iconName ? /* @__PURE__ */ jsxRuntime.jsx(
61287
- DynamicIcon,
61288
- {
61289
- name: link.iconName,
61290
- size: 16,
61291
- className: "stroke-muted-foreground"
61292
- }
61293
- ) : null,
61294
- link.label
61295
- ]
61296
- },
61297
- `mobile-link-${groupIndex}-${linkIndex}`
61298
- ))
61299
- ] }, `mobile-group-${groupIndex}`)) })
61288
+ /* @__PURE__ */ jsxRuntime.jsx(AccordionContent, { className: "overflow-x-none", children: item.groups.map((group, groupIndex) => /* @__PURE__ */ jsxRuntime.jsxs(
61289
+ "div",
61290
+ {
61291
+ className: "mb-4",
61292
+ children: [
61293
+ group.title && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-4 px-4 text-xs font-semibold text-muted-foreground uppercase", children: group.title }),
61294
+ group.links.map((link, linkIndex) => /* @__PURE__ */ jsxRuntime.jsxs(
61295
+ Pressable,
61296
+ {
61297
+ href: link.url,
61298
+ 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",
61299
+ onClick: handleClose,
61300
+ children: [
61301
+ link.icon ? link.icon : link.iconName ? /* @__PURE__ */ jsxRuntime.jsx(
61302
+ DynamicIcon,
61303
+ {
61304
+ name: link.iconName,
61305
+ size: 16,
61306
+ className: "stroke-muted-foreground"
61307
+ }
61308
+ ) : null,
61309
+ link.label
61310
+ ]
61311
+ },
61312
+ `mobile-link-${groupIndex}-${linkIndex}`
61313
+ ))
61314
+ ]
61315
+ },
61316
+ `mobile-group-${groupIndex}`
61317
+ )) })
61300
61318
  ]
61301
61319
  },
61302
61320
  `nav-item-${index}`
@@ -61438,6 +61456,7 @@ var NavbarSidebarMobile = ({
61438
61456
  NavigationMenu,
61439
61457
  {
61440
61458
  className: cn("hidden lg:flex", navigationMenuClassName),
61459
+ viewport: false,
61441
61460
  children: /* @__PURE__ */ jsxRuntime.jsx(NavigationMenuList, { children: menuSlot ? menuSlot : renderMenu()?.map(
61442
61461
  (item, index) => item.items ? /* @__PURE__ */ jsxRuntime.jsxs(NavigationMenuItem, { children: [
61443
61462
  /* @__PURE__ */ jsxRuntime.jsx(NavigationMenuTrigger, { children: item.title }),
@@ -61934,6 +61953,8 @@ var MobileNavigationMenu7 = ({
61934
61953
  title: "Mobile Navigation",
61935
61954
  className: cn("bg-black/95", mobileMenuClassName),
61936
61955
  contentClassName: "flex flex-col items-center justify-center",
61956
+ closeContainerClassName: "bg-black/95",
61957
+ closeIconClassName: "text-white",
61937
61958
  children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex h-full flex-col items-center justify-center", children: [
61938
61959
  /* @__PURE__ */ jsxRuntime.jsx("nav", { className: "flex flex-col items-center gap-8", children: navItems?.map((item, index) => /* @__PURE__ */ jsxRuntime.jsxs(
61939
61960
  Pressable,
@@ -62147,36 +62168,44 @@ var DesktopMenuItem7 = ({
62147
62168
  ),
62148
62169
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "p-4", children: [
62149
62170
  /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mb-3 text-[10px] text-muted-foreground uppercase", children: group.label }),
62150
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "space-y-1", children: group.links.map((link) => /* @__PURE__ */ jsxRuntime.jsx(NavigationMenuLink, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsxs(
62151
- Pressable,
62171
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "space-y-1", children: group.links.map((link) => /* @__PURE__ */ jsxRuntime.jsx(
62172
+ NavigationMenuLink,
62152
62173
  {
62153
- href: link.href,
62154
- className: "group flex cursor-pointer flex-row gap-3",
62155
- children: [
62156
- 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 }) }),
62157
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col", children: [
62158
- /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "flex items-center gap-0.5 text-sm font-medium whitespace-nowrap", children: [
62159
- link.title,
62160
- /* @__PURE__ */ jsxRuntime.jsx(
62161
- DynamicIcon,
62162
- {
62163
- name: "lucide/chevron-right",
62164
- size: 16,
62165
- className: "text-primary! opacity-0 transition-all duration-200 group-hover:translate-x-0.5 group-hover:opacity-100"
62166
- }
62167
- )
62168
- ] }),
62169
- link.description && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-xs whitespace-nowrap text-muted-foreground", children: link.description })
62170
- ] })
62171
- ]
62172
- }
62173
- ) }, link.title)) }),
62174
+ asChild: true,
62175
+ className: "w-full",
62176
+ children: /* @__PURE__ */ jsxRuntime.jsxs(
62177
+ Pressable,
62178
+ {
62179
+ href: link.href,
62180
+ className: "group flex cursor-pointer flex-row gap-3",
62181
+ children: [
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 }) }),
62183
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col", children: [
62184
+ /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "flex items-center gap-0.5 text-sm font-medium whitespace-nowrap", children: [
62185
+ link.title,
62186
+ /* @__PURE__ */ jsxRuntime.jsx(
62187
+ DynamicIcon,
62188
+ {
62189
+ name: "lucide/chevron-right",
62190
+ size: 16,
62191
+ className: "opacity-0 transition-all duration-200 group-hover:translate-x-0.5 group-hover:opacity-100"
62192
+ }
62193
+ )
62194
+ ] }),
62195
+ link.description && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-xs whitespace-nowrap text-muted-foreground", children: link.description })
62196
+ ] })
62197
+ ]
62198
+ }
62199
+ )
62200
+ },
62201
+ link.title
62202
+ )) }),
62174
62203
  group.featuredImage && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mt-4", children: /* @__PURE__ */ jsxRuntime.jsx(NavigationMenuLink, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx(Pressable, { href: group.featuredImage.href || "#", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "rounded-lg bg-muted p-3", children: /* @__PURE__ */ jsxRuntime.jsx(
62175
62204
  img.Img,
62176
62205
  {
62177
62206
  src: group.featuredImage.src,
62178
62207
  alt: group.featuredImage.alt || "Featured image",
62179
- className: "aspect-video w-full max-w-[240px] rounded-md object-cover object-center",
62208
+ className: "aspect-video w-full max-w-60 rounded-md object-cover object-center",
62180
62209
  optixFlowConfig
62181
62210
  }
62182
62211
  ) }) }) }) })
@@ -62240,29 +62269,36 @@ var MobileNavigationMenu8 = ({
62240
62269
  className: "border-b-0",
62241
62270
  children: [
62242
62271
  /* @__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.label }),
62243
- /* @__PURE__ */ jsxRuntime.jsx(AccordionContent, { className: "overflow-x-none", children: item.groups.map((group, groupIndex) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mb-4", children: [
62244
- /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mb-2 px-4 text-[10px] text-muted-foreground uppercase", children: group.label }),
62245
- group.links.map((link) => /* @__PURE__ */ jsxRuntime.jsxs(
62246
- Pressable,
62247
- {
62248
- href: link.href,
62249
- 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",
62250
- onClick: onClose,
62251
- children: [
62252
- link.icon && /* @__PURE__ */ jsxRuntime.jsx(
62253
- DynamicIcon,
62254
- {
62255
- name: link.icon,
62256
- size: 16,
62257
- className: "stroke-muted-foreground"
62258
- }
62259
- ),
62272
+ /* @__PURE__ */ jsxRuntime.jsx(AccordionContent, { className: "overflow-x-none", children: item.groups.map((group, groupIndex) => /* @__PURE__ */ jsxRuntime.jsxs(
62273
+ "div",
62274
+ {
62275
+ className: "mb-4",
62276
+ children: [
62277
+ group.label && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "block mt-4 mb-2 px-4 text-[10px] text-muted-foreground uppercase", children: group.label }),
62278
+ group.links.map((link) => /* @__PURE__ */ jsxRuntime.jsxs(
62279
+ Pressable,
62280
+ {
62281
+ href: link.href,
62282
+ className: "flex min-h-12 items-center gap-2 rounded-lg pl-6 pr-4 text-muted-foreground transition-colors duration-300 hover:bg-muted hover:text-foreground",
62283
+ onClick: onClose,
62284
+ children: [
62285
+ link.icon && /* @__PURE__ */ jsxRuntime.jsx(
62286
+ DynamicIcon,
62287
+ {
62288
+ name: link.icon,
62289
+ size: 16,
62290
+ className: "stroke-muted-foreground"
62291
+ }
62292
+ ),
62293
+ link.title
62294
+ ]
62295
+ },
62260
62296
  link.title
62261
- ]
62262
- },
62263
- link.title
62264
- ))
62265
- ] }, `mobile-group-${groupIndex}`)) })
62297
+ ))
62298
+ ]
62299
+ },
62300
+ `mobile-group-${groupIndex}`
62301
+ )) })
62266
62302
  ]
62267
62303
  },
62268
62304
  `nav-item-${index}`
@@ -62383,37 +62419,6 @@ var NavbarStickyCompact = ({
62383
62419
  ) }, index)
62384
62420
  );
62385
62421
  }, [menuSlot, menu, isScrolled]);
62386
- const renderMobileMenu = React52.useMemo(() => {
62387
- if (menuSlot) return menuSlot;
62388
- if (!menu || menu.length === 0) return null;
62389
- return menu.map(
62390
- (item, index) => item.items ? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-2", children: [
62391
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-sm font-medium text-muted-foreground", children: item.title }),
62392
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex flex-col gap-1 pl-2", children: item.items.map((subItem, subIndex) => /* @__PURE__ */ jsxRuntime.jsxs(
62393
- Pressable,
62394
- {
62395
- href: subItem.url,
62396
- className: "flex items-center gap-2 rounded-md py-2 text-sm hover:text-foreground",
62397
- onClick: () => setIsOpen(false),
62398
- children: [
62399
- subItem.icon && /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: subItem.icon, size: 14 }),
62400
- subItem.title
62401
- ]
62402
- },
62403
- subIndex
62404
- )) })
62405
- ] }, index) : /* @__PURE__ */ jsxRuntime.jsx(
62406
- Pressable,
62407
- {
62408
- href: item.url,
62409
- className: "text-sm font-medium",
62410
- onClick: () => setIsOpen(false),
62411
- children: item.title
62412
- },
62413
- index
62414
- )
62415
- );
62416
- }, [menuSlot, menu]);
62417
62422
  const {
62418
62423
  sectionClasses,
62419
62424
  containerWrapperClasses,
@@ -62423,99 +62428,165 @@ var NavbarStickyCompact = ({
62423
62428
  sectionContainerMaxWidth,
62424
62429
  spacingOverride
62425
62430
  } = getNavbarLayoutClasses(layoutVariant, { className, containerClassName });
62426
- return /* @__PURE__ */ jsxRuntime.jsx(
62427
- Section,
62428
- {
62429
- background,
62430
- spacing: spacingOverride ?? spacing,
62431
- className: cn(
62432
- sectionClasses,
62433
- "fixed top-0 left-0 z-50 w-full bg-background/95 backdrop-blur-sm transition-all duration-300",
62434
- isScrolled ? "shadow-sm" : ""
62435
- ),
62436
- pattern,
62437
- patternOpacity,
62438
- containerClassName: sectionContainerClassName,
62439
- containerMaxWidth: sectionContainerMaxWidth,
62440
- 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(
62441
- "nav",
62431
+ return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
62432
+ /* @__PURE__ */ jsxRuntime.jsx(
62433
+ Section,
62434
+ {
62435
+ background,
62436
+ spacing: spacingOverride ?? spacing,
62437
+ className: cn(
62438
+ sectionClasses,
62439
+ "fixed top-0 left-0 z-50 w-full bg-background/95 backdrop-blur-sm transition-all duration-300",
62440
+ isScrolled ? "shadow-sm" : ""
62441
+ ),
62442
+ pattern,
62443
+ patternOpacity,
62444
+ containerClassName: sectionContainerClassName,
62445
+ containerMaxWidth: sectionContainerMaxWidth,
62446
+ 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(
62447
+ "nav",
62448
+ {
62449
+ className: cn(
62450
+ "flex items-center justify-between transition-all duration-300",
62451
+ isScrolled ? "h-14" : "h-16",
62452
+ navClassName
62453
+ ),
62454
+ children: [
62455
+ /* @__PURE__ */ jsxRuntime.jsx(
62456
+ NavbarLogo,
62457
+ {
62458
+ logo,
62459
+ logoSlot,
62460
+ logoClassName,
62461
+ optixFlowConfig
62462
+ }
62463
+ ),
62464
+ /* @__PURE__ */ jsxRuntime.jsx(NavigationMenu, { className: "hidden lg:flex", viewport: false, children: /* @__PURE__ */ jsxRuntime.jsx(NavigationMenuList, { children: renderMenu }) }),
62465
+ /* @__PURE__ */ jsxRuntime.jsx(
62466
+ "div",
62467
+ {
62468
+ className: cn(
62469
+ "hidden items-center gap-2 lg:flex",
62470
+ actionsClassName
62471
+ ),
62472
+ children: renderAuthActions
62473
+ }
62474
+ ),
62475
+ /* @__PURE__ */ jsxRuntime.jsxs(
62476
+ Pressable,
62477
+ {
62478
+ variant: "ghost",
62479
+ size: isScrolled ? "sm" : "icon",
62480
+ asButton: true,
62481
+ className: "lg:hidden transition-all duration-300",
62482
+ onClick: () => setIsOpen(!isOpen),
62483
+ children: [
62484
+ /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: "lucide/menu", size: isScrolled ? 18 : 20 }),
62485
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sr-only", children: "Toggle menu" })
62486
+ ]
62487
+ }
62488
+ )
62489
+ ]
62490
+ }
62491
+ ) }) }) })
62492
+ }
62493
+ ),
62494
+ /* @__PURE__ */ jsxRuntime.jsx(
62495
+ MobileNavigationMenu9,
62496
+ {
62497
+ open: isOpen,
62498
+ setOpen: setIsOpen,
62499
+ menu: menu ?? [],
62500
+ menuSlot,
62501
+ authActions,
62502
+ authActionsSlot
62503
+ }
62504
+ )
62505
+ ] });
62506
+ };
62507
+ var MobileNavigationMenu9 = ({
62508
+ open,
62509
+ setOpen,
62510
+ menu,
62511
+ menuSlot,
62512
+ authActions,
62513
+ authActionsSlot
62514
+ }) => {
62515
+ const handleClose = () => setOpen(false);
62516
+ const renderMobileAuthActions = React52.useMemo(() => {
62517
+ if (authActionsSlot) return authActionsSlot;
62518
+ if (!authActions || authActions.length === 0) return null;
62519
+ return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mt-6 flex flex-col gap-4", children: authActions.map((action, index) => {
62520
+ const {
62521
+ label,
62522
+ icon,
62523
+ iconAfter,
62524
+ children,
62525
+ className: actionClassName,
62526
+ ...pressableProps
62527
+ } = action;
62528
+ return /* @__PURE__ */ jsxRuntime.jsx(
62529
+ Pressable,
62442
62530
  {
62443
- className: cn(
62444
- "flex items-center justify-between transition-all duration-300",
62445
- isScrolled ? "h-14" : "h-16",
62446
- navClassName
62447
- ),
62531
+ asButton: true,
62532
+ className: cn("w-full", actionClassName),
62533
+ onClick: handleClose,
62534
+ ...pressableProps,
62535
+ children: children ?? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
62536
+ icon,
62537
+ label,
62538
+ iconAfter
62539
+ ] })
62540
+ },
62541
+ index
62542
+ );
62543
+ }) });
62544
+ }, [authActionsSlot, authActions]);
62545
+ 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: [
62546
+ /* @__PURE__ */ jsxRuntime.jsx(Accordion, { type: "multiple", className: "w-full", children: menuSlot ? menuSlot : menu.map(
62547
+ (item, index) => item.items ? /* @__PURE__ */ jsxRuntime.jsxs(
62548
+ AccordionItem,
62549
+ {
62550
+ value: `nav-${index}`,
62551
+ className: "border-b-0",
62448
62552
  children: [
62449
- /* @__PURE__ */ jsxRuntime.jsx(
62450
- NavbarLogo,
62553
+ /* @__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 }),
62554
+ /* @__PURE__ */ jsxRuntime.jsx(AccordionContent, { className: "overflow-x-none", children: item.items.map((subItem, subIndex) => /* @__PURE__ */ jsxRuntime.jsxs(
62555
+ Pressable,
62451
62556
  {
62452
- logo,
62453
- logoSlot,
62454
- logoClassName: cn(
62455
- isScrolled ? "[&_img]:h-6 [&_span]:text-base" : "[&_img]:h-8 [&_span]:text-lg",
62456
- "[&_img]:transition-all [&_img]:duration-300 [&_span]:transition-all [&_span]:duration-300",
62457
- logoClassName
62458
- ),
62459
- optixFlowConfig
62460
- }
62461
- ),
62462
- /* @__PURE__ */ jsxRuntime.jsx(NavigationMenu, { className: "hidden lg:flex", children: /* @__PURE__ */ jsxRuntime.jsx(NavigationMenuList, { children: renderMenu }) }),
62463
- /* @__PURE__ */ jsxRuntime.jsx(
62464
- "div",
62465
- {
62466
- className: cn(
62467
- "hidden items-center gap-2 lg:flex",
62468
- actionsClassName
62469
- ),
62470
- children: renderAuthActions
62471
- }
62472
- ),
62473
- /* @__PURE__ */ jsxRuntime.jsxs(
62474
- Pressable,
62475
- {
62476
- variant: "ghost",
62477
- size: isScrolled ? "sm" : "icon",
62478
- asButton: true,
62479
- className: "lg:hidden transition-all duration-300",
62480
- onClick: () => setIsOpen(!isOpen),
62557
+ href: subItem.url,
62558
+ 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",
62559
+ onClick: handleClose,
62481
62560
  children: [
62482
- /* @__PURE__ */ jsxRuntime.jsx(
62561
+ subItem.icon && /* @__PURE__ */ jsxRuntime.jsx(
62483
62562
  DynamicIcon,
62484
62563
  {
62485
- name: "lucide/menu",
62486
- size: isScrolled ? 18 : 20
62564
+ name: subItem.icon,
62565
+ size: 16,
62566
+ className: "stroke-muted-foreground"
62487
62567
  }
62488
62568
  ),
62489
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sr-only", children: "Toggle menu" })
62569
+ subItem.title
62490
62570
  ]
62491
- }
62492
- ),
62493
- /* @__PURE__ */ jsxRuntime.jsx(
62494
- NavbarMobileMenu,
62495
- {
62496
- open: isOpen,
62497
- onClose: () => setIsOpen(false),
62498
- title: "Navigation Menu",
62499
- children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "max-w-screen-sm mx-auto", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-4", children: [
62500
- renderMobileMenu,
62501
- /* @__PURE__ */ jsxRuntime.jsx(
62502
- "div",
62503
- {
62504
- className: cn(
62505
- "mt-4 flex flex-col gap-2 border-t pt-4",
62506
- actionsClassName
62507
- ),
62508
- children: renderAuthActions
62509
- }
62510
- )
62511
- ] }) })
62512
- }
62513
- )
62571
+ },
62572
+ `mobile-link-${index}-${subIndex}`
62573
+ )) })
62514
62574
  ]
62515
- }
62516
- ) }) }) })
62517
- }
62518
- );
62575
+ },
62576
+ `nav-item-${index}`
62577
+ ) : /* @__PURE__ */ jsxRuntime.jsx(
62578
+ Pressable,
62579
+ {
62580
+ href: item.url,
62581
+ 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",
62582
+ onClick: handleClose,
62583
+ children: item.title
62584
+ },
62585
+ `nav-link-${index}`
62586
+ )
62587
+ ) }),
62588
+ renderMobileAuthActions
62589
+ ] }) }) });
62519
62590
  };
62520
62591
  var NavbarSearchFocused = ({
62521
62592
  className,
@@ -62543,6 +62614,11 @@ var NavbarSearchFocused = ({
62543
62614
  optixFlowConfig
62544
62615
  }) => {
62545
62616
  const [isOpen, setIsOpen] = React52.useState(false);
62617
+ const [searchQuery, setSearchQuery] = React52.useState("");
62618
+ const handleSearchSubmit = (e) => {
62619
+ e.preventDefault();
62620
+ onSearch?.(searchQuery);
62621
+ };
62546
62622
  const renderNavigation = (items) => {
62547
62623
  if (navigationSlot) return navigationSlot;
62548
62624
  if (!items || items.length === 0) return null;
@@ -62588,7 +62664,7 @@ var NavbarSearchFocused = ({
62588
62664
  );
62589
62665
  });
62590
62666
  }, [authActionsSlot, authActions]);
62591
- const renderMobileMenuActions = React52.useMemo(() => {
62667
+ React52.useMemo(() => {
62592
62668
  if (mobileMenuActionsSlot) return mobileMenuActionsSlot;
62593
62669
  if (!mobileMenuActions || mobileMenuActions.length === 0) return null;
62594
62670
  return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex flex-col gap-2", children: mobileMenuActions.map((action, index) => {
@@ -62617,100 +62693,157 @@ var NavbarSearchFocused = ({
62617
62693
  sectionContainerMaxWidth,
62618
62694
  spacingOverride
62619
62695
  } = getNavbarLayoutClasses(layoutVariant, { className, containerClassName });
62620
- return /* @__PURE__ */ jsxRuntime.jsx(
62621
- Section,
62622
- {
62623
- background,
62624
- spacing: spacingOverride ?? spacing,
62625
- className: sectionClasses,
62626
- pattern,
62627
- patternOpacity,
62628
- containerClassName: sectionContainerClassName,
62629
- containerMaxWidth: sectionContainerMaxWidth,
62630
- 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(
62631
- "nav",
62632
- {
62633
- className: cn(
62634
- "flex items-center gap-4 py-3 lg:gap-8",
62635
- navClassName
62636
- ),
62637
- children: [
62638
- /* @__PURE__ */ jsxRuntime.jsx(
62639
- NavbarLogo,
62640
- {
62641
- logo,
62642
- logoSlot,
62643
- logoClassName,
62644
- optixFlowConfig
62645
- }
62646
- ),
62647
- /* @__PURE__ */ jsxRuntime.jsx(
62648
- NavigationMenu,
62649
- {
62650
- className: cn("hidden lg:flex", navigationMenuClassName),
62651
- children: renderNavigation(navItems?.slice(0, 2) ?? [])
62652
- }
62653
- ),
62654
- /* @__PURE__ */ jsxRuntime.jsx(
62655
- NavigationMenu,
62656
- {
62657
- className: cn("hidden lg:flex", navigationMenuClassName),
62658
- children: renderNavigation(navItems?.slice(2) ?? [])
62659
- }
62696
+ return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
62697
+ /* @__PURE__ */ jsxRuntime.jsx(
62698
+ Section,
62699
+ {
62700
+ background,
62701
+ spacing: spacingOverride ?? spacing,
62702
+ className: sectionClasses,
62703
+ pattern,
62704
+ patternOpacity,
62705
+ containerClassName: sectionContainerClassName,
62706
+ containerMaxWidth: sectionContainerMaxWidth,
62707
+ 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(
62708
+ "nav",
62709
+ {
62710
+ className: cn(
62711
+ "flex items-center justify-between gap-4 py-3 lg:gap-6",
62712
+ navClassName
62660
62713
  ),
62661
- /* @__PURE__ */ jsxRuntime.jsx(
62662
- "div",
62663
- {
62664
- className: cn(
62665
- "hidden shrink-0 items-center gap-2 lg:flex",
62666
- actionsClassName
62714
+ children: [
62715
+ /* @__PURE__ */ jsxRuntime.jsx(
62716
+ NavbarLogo,
62717
+ {
62718
+ logo,
62719
+ logoSlot,
62720
+ logoClassName,
62721
+ optixFlowConfig
62722
+ }
62723
+ ),
62724
+ /* @__PURE__ */ jsxRuntime.jsx(
62725
+ NavigationMenu,
62726
+ {
62727
+ className: cn("hidden lg:flex", navigationMenuClassName),
62728
+ children: renderNavigation(navItems ?? [])
62729
+ }
62730
+ ),
62731
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "hidden flex-1 max-w-md lg:block", children: searchSlot ?? /* @__PURE__ */ jsxRuntime.jsxs("form", { onSubmit: handleSearchSubmit, className: "relative", children: [
62732
+ /* @__PURE__ */ jsxRuntime.jsx(
62733
+ DynamicIcon,
62734
+ {
62735
+ name: "lucide/search",
62736
+ size: 16,
62737
+ className: "absolute left-3 top-1/2 -translate-y-1/2 text-muted-foreground"
62738
+ }
62667
62739
  ),
62668
- children: renderAuthActions
62669
- }
62670
- ),
62671
- /* @__PURE__ */ jsxRuntime.jsxs(
62672
- Pressable,
62673
- {
62674
- variant: "ghost",
62675
- size: "icon",
62676
- asButton: true,
62677
- className: "lg:hidden",
62678
- onClick: () => setIsOpen(!isOpen),
62679
- children: [
62680
- /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: "lucide/menu", size: 20 }),
62681
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sr-only", children: "Toggle menu" })
62682
- ]
62683
- }
62684
- ),
62685
- /* @__PURE__ */ jsxRuntime.jsx(
62686
- NavbarMobileMenu,
62687
- {
62688
- open: isOpen,
62689
- onClose: () => setIsOpen(false),
62690
- title: "Navigation Menu",
62691
- children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "max-w-screen-sm mx-auto", children: [
62692
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex flex-col gap-2", children: navItems?.map((item, index) => /* @__PURE__ */ jsxRuntime.jsxs(
62693
- Pressable,
62694
- {
62695
- href: item.url,
62696
- className: "flex items-center gap-2 rounded-md py-2 text-base font-medium",
62697
- onClick: () => setIsOpen(false),
62698
- children: [
62699
- item.icon ?? (item.iconName && /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: item.iconName, size: 16 })),
62700
- item.title
62701
- ]
62702
- },
62703
- index
62704
- )) }),
62705
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "border-t pt-4 mt-6", children: renderMobileMenuActions })
62706
- ] })
62707
- }
62708
- )
62709
- ]
62710
- }
62711
- ) }) }) })
62712
- }
62713
- );
62740
+ /* @__PURE__ */ jsxRuntime.jsx(
62741
+ Input,
62742
+ {
62743
+ type: "search",
62744
+ placeholder: typeof searchPlaceholder === "string" ? searchPlaceholder : "Search...",
62745
+ value: searchQuery,
62746
+ onChange: (e) => setSearchQuery(e.target.value),
62747
+ className: "pl-9 pr-4"
62748
+ }
62749
+ )
62750
+ ] }) }),
62751
+ /* @__PURE__ */ jsxRuntime.jsx(
62752
+ "div",
62753
+ {
62754
+ className: cn(
62755
+ "hidden shrink-0 items-center gap-2 lg:flex",
62756
+ actionsClassName
62757
+ ),
62758
+ children: renderAuthActions
62759
+ }
62760
+ ),
62761
+ /* @__PURE__ */ jsxRuntime.jsxs(
62762
+ Pressable,
62763
+ {
62764
+ variant: "ghost",
62765
+ size: "icon",
62766
+ asButton: true,
62767
+ className: "lg:hidden",
62768
+ onClick: () => setIsOpen(!isOpen),
62769
+ children: [
62770
+ /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: "lucide/menu", size: 20 }),
62771
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sr-only", children: "Toggle menu" })
62772
+ ]
62773
+ }
62774
+ )
62775
+ ]
62776
+ }
62777
+ ) }) }) })
62778
+ }
62779
+ ),
62780
+ /* @__PURE__ */ jsxRuntime.jsx(
62781
+ MobileNavigationMenu10,
62782
+ {
62783
+ open: isOpen,
62784
+ setOpen: setIsOpen,
62785
+ navItems: navItems ?? [],
62786
+ navigationSlot,
62787
+ mobileMenuActions: mobileMenuActions ?? authActions,
62788
+ mobileMenuActionsSlot: mobileMenuActionsSlot ?? authActionsSlot
62789
+ }
62790
+ )
62791
+ ] });
62792
+ };
62793
+ var MobileNavigationMenu10 = ({
62794
+ open,
62795
+ setOpen,
62796
+ navItems,
62797
+ navigationSlot,
62798
+ mobileMenuActions,
62799
+ mobileMenuActionsSlot
62800
+ }) => {
62801
+ const handleClose = () => setOpen(false);
62802
+ const renderMobileActions = React52.useMemo(() => {
62803
+ if (mobileMenuActionsSlot) return mobileMenuActionsSlot;
62804
+ if (!mobileMenuActions || mobileMenuActions.length === 0) return null;
62805
+ return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mt-6 flex flex-col gap-4", children: mobileMenuActions.map((action, index) => {
62806
+ const {
62807
+ label,
62808
+ icon,
62809
+ iconAfter,
62810
+ children,
62811
+ className: actionClassName,
62812
+ ...pressableProps
62813
+ } = action;
62814
+ return /* @__PURE__ */ jsxRuntime.jsx(
62815
+ Pressable,
62816
+ {
62817
+ asButton: true,
62818
+ className: cn("w-full", actionClassName),
62819
+ onClick: handleClose,
62820
+ ...pressableProps,
62821
+ children: children ?? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
62822
+ icon,
62823
+ label,
62824
+ iconAfter
62825
+ ] })
62826
+ },
62827
+ index
62828
+ );
62829
+ }) });
62830
+ }, [mobileMenuActionsSlot, mobileMenuActions]);
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-6", children: [
62832
+ navigationSlot ?? /* @__PURE__ */ jsxRuntime.jsx("nav", { className: "flex flex-col", children: navItems.map((item, index) => /* @__PURE__ */ jsxRuntime.jsxs(
62833
+ Pressable,
62834
+ {
62835
+ href: item.url,
62836
+ className: "flex h-15 items-center gap-2 rounded-md 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",
62837
+ onClick: handleClose,
62838
+ children: [
62839
+ item.icon ?? (item.iconName && /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: item.iconName, size: 16 })),
62840
+ item.title
62841
+ ]
62842
+ },
62843
+ `nav-link-${index}`
62844
+ )) }),
62845
+ renderMobileActions
62846
+ ] }) }) });
62714
62847
  };
62715
62848
  var MOBILE_BREAKPOINT7 = 1024;
62716
62849
  var NavbarSimpleLinks = ({
@@ -62913,19 +63046,19 @@ var NavbarSimpleLinks = ({
62913
63046
  }
62914
63047
  ),
62915
63048
  /* @__PURE__ */ jsxRuntime.jsx(
62916
- MobileNavigationMenu9,
63049
+ MobileNavigationMenu11,
62917
63050
  {
62918
63051
  open: isOpen,
62919
63052
  onClose: handleMobileMenuClose,
62920
63053
  navItems: navItems ?? [],
62921
- mobileActions,
62922
- mobileActionsSlot,
63054
+ mobileActions: mobileActions ?? actions,
63055
+ mobileActionsSlot: mobileActionsSlot ?? actionsSlot,
62923
63056
  mobileMenuClassName
62924
63057
  }
62925
63058
  )
62926
63059
  ] });
62927
63060
  };
62928
- var MobileNavigationMenu9 = ({
63061
+ var MobileNavigationMenu11 = ({
62929
63062
  open,
62930
63063
  onClose,
62931
63064
  navItems,