@opensite/ui 1.0.3 → 1.0.5

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 (47) hide show
  1. package/dist/navbar-animated-preview.cjs +67 -82
  2. package/dist/navbar-animated-preview.js +67 -81
  3. package/dist/navbar-centered-menu.cjs +101 -125
  4. package/dist/navbar-centered-menu.js +101 -124
  5. package/dist/navbar-dark-icons.cjs +67 -81
  6. package/dist/navbar-dark-icons.js +67 -80
  7. package/dist/navbar-dropdown-menu.cjs +87 -122
  8. package/dist/navbar-dropdown-menu.js +87 -121
  9. package/dist/navbar-education-platform.cjs +1 -1
  10. package/dist/navbar-education-platform.js +1 -1
  11. package/dist/navbar-enterprise-mega.cjs +7 -7
  12. package/dist/navbar-enterprise-mega.js +7 -7
  13. package/dist/navbar-feature-grid.cjs +131 -150
  14. package/dist/navbar-feature-grid.d.cts +9 -1
  15. package/dist/navbar-feature-grid.d.ts +9 -1
  16. package/dist/navbar-feature-grid.js +131 -149
  17. package/dist/navbar-floating-pill.cjs +2 -2
  18. package/dist/navbar-floating-pill.js +2 -2
  19. package/dist/navbar-fullscreen-menu.cjs +1 -1
  20. package/dist/navbar-fullscreen-menu.js +1 -1
  21. package/dist/navbar-icon-links.cjs +102 -138
  22. package/dist/navbar-icon-links.js +102 -137
  23. package/dist/navbar-image-preview.cjs +64 -95
  24. package/dist/navbar-image-preview.js +64 -94
  25. package/dist/navbar-mega-menu.cjs +1 -1
  26. package/dist/navbar-mega-menu.js +1 -1
  27. package/dist/navbar-multi-column-groups.cjs +67 -81
  28. package/dist/navbar-multi-column-groups.js +67 -80
  29. package/dist/navbar-platform-resources.cjs +80 -42
  30. package/dist/navbar-platform-resources.js +80 -42
  31. package/dist/navbar-search-focused.cjs +76 -93
  32. package/dist/navbar-search-focused.js +76 -92
  33. package/dist/navbar-sidebar-mobile.cjs +76 -93
  34. package/dist/navbar-sidebar-mobile.js +76 -92
  35. package/dist/navbar-simple-links.cjs +1 -1
  36. package/dist/navbar-simple-links.js +1 -1
  37. package/dist/navbar-split-cta.cjs +78 -95
  38. package/dist/navbar-split-cta.js +78 -94
  39. package/dist/navbar-sticky-compact.cjs +82 -100
  40. package/dist/navbar-sticky-compact.js +82 -99
  41. package/dist/navbar-tabbed-sections.cjs +91 -115
  42. package/dist/navbar-tabbed-sections.js +91 -114
  43. package/dist/navbar-transparent-overlay.cjs +1 -1
  44. package/dist/navbar-transparent-overlay.js +1 -1
  45. package/dist/registry.cjs +594 -618
  46. package/dist/registry.js +593 -617
  47. package/package.json +1 -1
package/dist/registry.cjs CHANGED
@@ -27,7 +27,7 @@ var AspectRatioPrimitive = require('@radix-ui/react-aspect-ratio');
27
27
  var react = require('motion/react');
28
28
  var dateFns = require('date-fns');
29
29
  var PopoverPrimitive = require('@radix-ui/react-popover');
30
- var SheetPrimitive = require('@radix-ui/react-dialog');
30
+ var DialogPrimitive = require('@radix-ui/react-dialog');
31
31
  var TooltipPrimitive = require('@radix-ui/react-tooltip');
32
32
  var NavigationMenuPrimitive = require('@radix-ui/react-navigation-menu');
33
33
  var SwitchPrimitive = require('@radix-ui/react-switch');
@@ -68,7 +68,7 @@ var AccordionPrimitive__namespace = /*#__PURE__*/_interopNamespace(AccordionPrim
68
68
  var AutoScroll3__default = /*#__PURE__*/_interopDefault(AutoScroll3);
69
69
  var AspectRatioPrimitive__namespace = /*#__PURE__*/_interopNamespace(AspectRatioPrimitive);
70
70
  var PopoverPrimitive__namespace = /*#__PURE__*/_interopNamespace(PopoverPrimitive);
71
- var SheetPrimitive__namespace = /*#__PURE__*/_interopNamespace(SheetPrimitive);
71
+ var DialogPrimitive__namespace = /*#__PURE__*/_interopNamespace(DialogPrimitive);
72
72
  var TooltipPrimitive__namespace = /*#__PURE__*/_interopNamespace(TooltipPrimitive);
73
73
  var NavigationMenuPrimitive__namespace = /*#__PURE__*/_interopNamespace(NavigationMenuPrimitive);
74
74
  var SwitchPrimitive__namespace = /*#__PURE__*/_interopNamespace(SwitchPrimitive);
@@ -51285,24 +51285,24 @@ function HeroBillingPlatformLogos({
51285
51285
  function Dialog({
51286
51286
  ...props
51287
51287
  }) {
51288
- return /* @__PURE__ */ jsxRuntime.jsx(SheetPrimitive__namespace.Root, { "data-slot": "dialog", ...props });
51288
+ return /* @__PURE__ */ jsxRuntime.jsx(DialogPrimitive__namespace.Root, { "data-slot": "dialog", ...props });
51289
51289
  }
51290
51290
  function DialogPortal({
51291
51291
  ...props
51292
51292
  }) {
51293
- return /* @__PURE__ */ jsxRuntime.jsx(SheetPrimitive__namespace.Portal, { "data-slot": "dialog-portal", ...props });
51293
+ return /* @__PURE__ */ jsxRuntime.jsx(DialogPrimitive__namespace.Portal, { "data-slot": "dialog-portal", ...props });
51294
51294
  }
51295
51295
  function DialogClose({
51296
51296
  ...props
51297
51297
  }) {
51298
- return /* @__PURE__ */ jsxRuntime.jsx(SheetPrimitive__namespace.Close, { "data-slot": "dialog-close", ...props });
51298
+ return /* @__PURE__ */ jsxRuntime.jsx(DialogPrimitive__namespace.Close, { "data-slot": "dialog-close", ...props });
51299
51299
  }
51300
51300
  function DialogOverlay({
51301
51301
  className,
51302
51302
  ...props
51303
51303
  }) {
51304
51304
  return /* @__PURE__ */ jsxRuntime.jsx(
51305
- SheetPrimitive__namespace.Overlay,
51305
+ DialogPrimitive__namespace.Overlay,
51306
51306
  {
51307
51307
  "data-slot": "dialog-overlay",
51308
51308
  className: cn(
@@ -51322,7 +51322,7 @@ function DialogContent({
51322
51322
  return /* @__PURE__ */ jsxRuntime.jsxs(DialogPortal, { "data-slot": "dialog-portal", children: [
51323
51323
  /* @__PURE__ */ jsxRuntime.jsx(DialogOverlay, {}),
51324
51324
  /* @__PURE__ */ jsxRuntime.jsxs(
51325
- SheetPrimitive__namespace.Content,
51325
+ DialogPrimitive__namespace.Content,
51326
51326
  {
51327
51327
  "data-slot": "dialog-content",
51328
51328
  className: cn(
@@ -51333,7 +51333,7 @@ function DialogContent({
51333
51333
  children: [
51334
51334
  children,
51335
51335
  showCloseButton && /* @__PURE__ */ jsxRuntime.jsxs(
51336
- SheetPrimitive__namespace.Close,
51336
+ DialogPrimitive__namespace.Close,
51337
51337
  {
51338
51338
  "data-slot": "dialog-close",
51339
51339
  className: "ring-offset-background focus:ring-ring data-[state=open]:bg-accent data-[state=open]:text-muted-foreground absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
@@ -51376,7 +51376,7 @@ function DialogTitle({
51376
51376
  ...props
51377
51377
  }) {
51378
51378
  return /* @__PURE__ */ jsxRuntime.jsx(
51379
- SheetPrimitive__namespace.Title,
51379
+ DialogPrimitive__namespace.Title,
51380
51380
  {
51381
51381
  "data-slot": "dialog-title",
51382
51382
  className: cn("text-lg leading-none font-semibold", className),
@@ -51389,7 +51389,7 @@ function DialogDescription({
51389
51389
  ...props
51390
51390
  }) {
51391
51391
  return /* @__PURE__ */ jsxRuntime.jsx(
51392
- SheetPrimitive__namespace.Description,
51392
+ DialogPrimitive__namespace.Description,
51393
51393
  {
51394
51394
  "data-slot": "dialog-description",
51395
51395
  className: cn("text-muted-foreground text-sm", className),
@@ -57102,108 +57102,62 @@ function NavigationMenuLink({
57102
57102
  }
57103
57103
  );
57104
57104
  }
57105
- function Sheet({ ...props }) {
57106
- return /* @__PURE__ */ jsxRuntime.jsx(SheetPrimitive__namespace.Root, { "data-slot": "sheet", ...props });
57107
- }
57108
- function SheetTrigger({
57109
- ...props
57110
- }) {
57111
- return /* @__PURE__ */ jsxRuntime.jsx(SheetPrimitive__namespace.Trigger, { "data-slot": "sheet-trigger", ...props });
57112
- }
57113
- function SheetClose({
57114
- ...props
57115
- }) {
57116
- return /* @__PURE__ */ jsxRuntime.jsx(SheetPrimitive__namespace.Close, { "data-slot": "sheet-close", ...props });
57117
- }
57118
- function SheetPortal({
57119
- ...props
57120
- }) {
57121
- return /* @__PURE__ */ jsxRuntime.jsx(SheetPrimitive__namespace.Portal, { "data-slot": "sheet-portal", ...props });
57122
- }
57123
- function SheetOverlay({
57105
+ var NavbarMobileMenu = ({
57106
+ open,
57107
+ onClose,
57108
+ children,
57124
57109
  className,
57125
- ...props
57126
- }) {
57127
- return /* @__PURE__ */ jsxRuntime.jsx(
57128
- SheetPrimitive__namespace.Overlay,
57110
+ contentClassName,
57111
+ title = "Mobile Navigation"
57112
+ }) => {
57113
+ React52__namespace.useEffect(() => {
57114
+ if (open) {
57115
+ const originalOverflow = document.body.style.overflow;
57116
+ document.body.style.overflow = "hidden";
57117
+ return () => {
57118
+ document.body.style.overflow = originalOverflow;
57119
+ };
57120
+ }
57121
+ }, [open]);
57122
+ if (!open) return null;
57123
+ return /* @__PURE__ */ jsxRuntime.jsxs(
57124
+ "div",
57129
57125
  {
57130
- "data-slot": "sheet-overlay",
57131
57126
  className: cn(
57132
- "data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",
57127
+ "fixed inset-0 z-[998] flex flex-col bg-background",
57128
+ "animate-in slide-in-from-top duration-300",
57129
+ "data-[state=closed]:animate-out data-[state=closed]:slide-out-to-top data-[state=closed]:duration-300",
57133
57130
  className
57134
57131
  ),
57135
- ...props
57136
- }
57137
- );
57138
- }
57139
- function SheetContent({
57140
- className,
57141
- children,
57142
- side = "right",
57143
- ...props
57144
- }) {
57145
- return /* @__PURE__ */ jsxRuntime.jsxs(SheetPortal, { children: [
57146
- /* @__PURE__ */ jsxRuntime.jsx(SheetOverlay, {}),
57147
- /* @__PURE__ */ jsxRuntime.jsxs(
57148
- SheetPrimitive__namespace.Content,
57149
- {
57150
- "data-slot": "sheet-content",
57151
- className: cn(
57152
- "bg-background data-[state=open]:animate-in data-[state=closed]:animate-out fixed z-50 flex flex-col gap-4 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500",
57153
- side === "right" && "data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right inset-y-0 right-0 h-full w-3/4 border-l sm:max-w-sm",
57154
- side === "left" && "data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left inset-y-0 left-0 h-full w-3/4 border-r sm:max-w-sm",
57155
- side === "top" && "data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top inset-x-0 top-0 h-auto border-b",
57156
- side === "bottom" && "data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom inset-x-0 bottom-0 h-auto border-t",
57157
- className
57158
- ),
57159
- ...props,
57160
- children: [
57161
- children,
57162
- /* @__PURE__ */ jsxRuntime.jsxs(SheetPrimitive__namespace.Close, { className: "ring-offset-background focus:ring-ring data-[state=open]:bg-secondary absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none", children: [
57163
- /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: "lucide/x", className: "size-4" }),
57164
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sr-only", children: "Close" })
57165
- ] })
57166
- ]
57167
- }
57168
- )
57169
- ] });
57170
- }
57171
- function SheetHeader({ className, ...props }) {
57172
- return /* @__PURE__ */ jsxRuntime.jsx(
57173
- "div",
57174
- {
57175
- "data-slot": "sheet-header",
57176
- className: cn("flex flex-col gap-1.5 p-4", className),
57177
- ...props
57178
- }
57179
- );
57180
- }
57181
- function SheetTitle({
57182
- className,
57183
- ...props
57184
- }) {
57185
- return /* @__PURE__ */ jsxRuntime.jsx(
57186
- SheetPrimitive__namespace.Title,
57187
- {
57188
- "data-slot": "sheet-title",
57189
- className: cn("text-foreground font-semibold", className),
57190
- ...props
57191
- }
57192
- );
57193
- }
57194
- function SheetDescription({
57195
- className,
57196
- ...props
57197
- }) {
57198
- return /* @__PURE__ */ jsxRuntime.jsx(
57199
- SheetPrimitive__namespace.Description,
57200
- {
57201
- "data-slot": "sheet-description",
57202
- className: cn("text-muted-foreground text-sm", className),
57203
- ...props
57132
+ "data-state": open ? "open" : "closed",
57133
+ children: [
57134
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "sr-only", children: /* @__PURE__ */ jsxRuntime.jsx("h2", { children: title }) }),
57135
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute top-4 right-4 z-10", children: /* @__PURE__ */ jsxRuntime.jsxs(
57136
+ "button",
57137
+ {
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
+ ]
57145
+ }
57146
+ ) }),
57147
+ /* @__PURE__ */ jsxRuntime.jsx(
57148
+ "div",
57149
+ {
57150
+ className: cn(
57151
+ "h-full overflow-y-auto pt-20 pb-8 px-4 sm:px-6",
57152
+ contentClassName
57153
+ ),
57154
+ children
57155
+ }
57156
+ )
57157
+ ]
57204
57158
  }
57205
57159
  );
57206
- }
57160
+ };
57207
57161
  var NavbarLogo = ({
57208
57162
  logo,
57209
57163
  logoSlot,
@@ -57280,7 +57234,7 @@ function getNavbarLayoutClasses(layoutVariant = "fullScreenContainerizedLinks",
57280
57234
  // Outer container wrapper (only for floating bar - this containerizes the entire navbar)
57281
57235
  containerWrapperClasses: cn(
57282
57236
  "w-full",
57283
- isFloatingBar && "mx-auto w-full px-2 sm:px-4 lg:px-8 max-w-7xl relative z-10"
57237
+ isFloatingBar && "mx-auto container relative z-10 px-0 sm:px-0 lg:px-0"
57284
57238
  ),
57285
57239
  // Inner container classes (only for fullScreenContainerizedLinks - this containerizes the content inside the navbar)
57286
57240
  innerContainerClasses: cn(
@@ -57373,6 +57327,7 @@ var NavbarDropdownMenu = ({
57373
57327
  patternOpacity,
57374
57328
  optixFlowConfig
57375
57329
  }) => {
57330
+ const [open, setOpen] = React52__namespace.useState(false);
57376
57331
  const renderAuthActions = React52.useMemo(() => {
57377
57332
  if (authActionsSlot) return authActionsSlot;
57378
57333
  if (!authActions || authActions.length === 0) return null;
@@ -57465,49 +57420,43 @@ var NavbarDropdownMenu = ({
57465
57420
  optixFlowConfig
57466
57421
  }
57467
57422
  ),
57468
- /* @__PURE__ */ jsxRuntime.jsxs(Sheet, { children: [
57469
- /* @__PURE__ */ jsxRuntime.jsx(SheetTrigger, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx(
57470
- Pressable,
57471
- {
57472
- variant: "outline",
57473
- size: "icon",
57474
- asButton: true,
57475
- onClick: () => {
57476
- },
57477
- children: /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: "lucide/menu", size: 16 })
57478
- }
57479
- ) }),
57480
- /* @__PURE__ */ jsxRuntime.jsxs(SheetContent, { className: "overflow-y-auto", children: [
57481
- /* @__PURE__ */ jsxRuntime.jsx(SheetHeader, { children: /* @__PURE__ */ jsxRuntime.jsx(SheetTitle, { children: /* @__PURE__ */ jsxRuntime.jsx(
57482
- NavbarLogo,
57423
+ /* @__PURE__ */ jsxRuntime.jsx(
57424
+ Pressable,
57425
+ {
57426
+ variant: "outline",
57427
+ size: "icon",
57428
+ asButton: true,
57429
+ onClick: () => setOpen(!open),
57430
+ children: /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: "lucide/menu", size: 16 })
57431
+ }
57432
+ )
57433
+ ] }) }),
57434
+ /* @__PURE__ */ jsxRuntime.jsx(
57435
+ NavbarMobileMenu,
57436
+ {
57437
+ open,
57438
+ onClose: () => setOpen(false),
57439
+ title: "Mobile Navigation",
57440
+ children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "max-w-screen-sm mx-auto", children: [
57441
+ /* @__PURE__ */ jsxRuntime.jsx(
57442
+ Accordion,
57483
57443
  {
57484
- logo,
57485
- logoSlot,
57486
- logoClassName,
57487
- optixFlowConfig
57444
+ type: "single",
57445
+ collapsible: true,
57446
+ className: "flex w-full flex-col gap-4",
57447
+ children: renderMobileMenu
57488
57448
  }
57489
- ) }) }),
57490
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-6 p-4", children: [
57491
- /* @__PURE__ */ jsxRuntime.jsx(
57492
- Accordion,
57493
- {
57494
- type: "single",
57495
- collapsible: true,
57496
- className: "flex w-full flex-col gap-4",
57497
- children: renderMobileMenu
57498
- }
57499
- ),
57500
- /* @__PURE__ */ jsxRuntime.jsx(
57501
- "div",
57502
- {
57503
- className: cn("flex flex-col gap-3", actionsClassName),
57504
- children: renderAuthActions
57505
- }
57506
- )
57507
- ] })
57449
+ ),
57450
+ /* @__PURE__ */ jsxRuntime.jsx(
57451
+ "div",
57452
+ {
57453
+ className: cn("mt-6 flex flex-col gap-3", actionsClassName),
57454
+ children: renderAuthActions
57455
+ }
57456
+ )
57508
57457
  ] })
57509
- ] })
57510
- ] }) })
57458
+ }
57459
+ )
57511
57460
  ] }) }) })
57512
57461
  }
57513
57462
  );
@@ -57558,15 +57507,26 @@ var renderMenuItem2 = (item) => {
57558
57507
  var renderMobileMenuItem2 = (item) => {
57559
57508
  if (item.items) {
57560
57509
  return /* @__PURE__ */ jsxRuntime.jsxs(AccordionItem, { value: item.title, className: "border-b-0", children: [
57561
- /* @__PURE__ */ jsxRuntime.jsx(AccordionTrigger, { className: "text-md py-0 font-semibold hover:no-underline", children: item.title }),
57562
- /* @__PURE__ */ jsxRuntime.jsx(AccordionContent, { className: "mt-2", children: item.items.map((subItem) => /* @__PURE__ */ jsxRuntime.jsx(SubMenuLink2, { item: subItem }, subItem.title)) })
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(
57512
+ Pressable,
57513
+ {
57514
+ href: subItem.url,
57515
+ className: "flex items-center gap-2 pl-4 text-sm text-muted-foreground hover:text-foreground",
57516
+ children: [
57517
+ subItem.icon && /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: subItem.icon, size: 14 }),
57518
+ subItem.title
57519
+ ]
57520
+ },
57521
+ subItem.title
57522
+ )) })
57563
57523
  ] }, item.title);
57564
57524
  }
57565
57525
  return /* @__PURE__ */ jsxRuntime.jsx(
57566
57526
  Pressable,
57567
57527
  {
57568
57528
  href: item.url,
57569
- className: "text-md font-semibold",
57529
+ className: "flex h-15 items-center text-base font-normal text-foreground",
57570
57530
  children: item.title
57571
57531
  },
57572
57532
  item.title
@@ -57593,6 +57553,7 @@ var NavbarCenteredMenu = ({
57593
57553
  patternOpacity,
57594
57554
  optixFlowConfig
57595
57555
  }) => {
57556
+ const [open, setOpen] = React52__namespace.useState(false);
57596
57557
  const renderAuthActions = React52.useMemo(() => {
57597
57558
  if (authActionsSlot) return authActionsSlot;
57598
57559
  if (!authActions || authActions.length === 0) return null;
@@ -57689,49 +57650,43 @@ var NavbarCenteredMenu = ({
57689
57650
  optixFlowConfig
57690
57651
  }
57691
57652
  ),
57692
- /* @__PURE__ */ jsxRuntime.jsxs(Sheet, { children: [
57693
- /* @__PURE__ */ jsxRuntime.jsx(SheetTrigger, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx(
57694
- Pressable,
57695
- {
57696
- variant: "outline",
57697
- size: "icon",
57698
- asButton: true,
57699
- onClick: () => {
57700
- },
57701
- children: /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: "lucide/menu", size: 16 })
57702
- }
57703
- ) }),
57704
- /* @__PURE__ */ jsxRuntime.jsxs(SheetContent, { className: "overflow-y-auto", children: [
57705
- /* @__PURE__ */ jsxRuntime.jsx(SheetHeader, { children: /* @__PURE__ */ jsxRuntime.jsx(SheetTitle, { children: /* @__PURE__ */ jsxRuntime.jsx(
57706
- NavbarLogo,
57653
+ /* @__PURE__ */ jsxRuntime.jsx(
57654
+ Pressable,
57655
+ {
57656
+ variant: "outline",
57657
+ size: "icon",
57658
+ asButton: true,
57659
+ onClick: () => setOpen(!open),
57660
+ children: /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: "lucide/menu", size: 16 })
57661
+ }
57662
+ )
57663
+ ] }) }),
57664
+ /* @__PURE__ */ jsxRuntime.jsx(
57665
+ NavbarMobileMenu,
57666
+ {
57667
+ open,
57668
+ onClose: () => setOpen(false),
57669
+ title: "Mobile Navigation",
57670
+ contentClassName: "pt-10 pb-20",
57671
+ children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "max-w-screen-sm mx-auto", children: [
57672
+ /* @__PURE__ */ jsxRuntime.jsx(
57673
+ Accordion,
57707
57674
  {
57708
- logo,
57709
- logoSlot,
57710
- logoClassName,
57711
- optixFlowConfig
57675
+ type: "multiple",
57676
+ className: "w-full",
57677
+ children: renderMobileMenu
57712
57678
  }
57713
- ) }) }),
57714
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-6 p-4", children: [
57715
- /* @__PURE__ */ jsxRuntime.jsx(
57716
- Accordion,
57717
- {
57718
- type: "single",
57719
- collapsible: true,
57720
- className: "flex w-full flex-col gap-4",
57721
- children: renderMobileMenu
57722
- }
57723
- ),
57724
- /* @__PURE__ */ jsxRuntime.jsx(
57725
- "div",
57726
- {
57727
- className: cn("flex flex-col gap-3", actionsClassName),
57728
- children: renderAuthActions
57729
- }
57730
- )
57731
- ] })
57679
+ ),
57680
+ /* @__PURE__ */ jsxRuntime.jsx(
57681
+ "div",
57682
+ {
57683
+ className: cn("mt-6 flex flex-col gap-4", actionsClassName),
57684
+ children: renderAuthActions
57685
+ }
57686
+ )
57732
57687
  ] })
57733
- ] })
57734
- ] }) })
57688
+ }
57689
+ )
57735
57690
  ] }) }) })
57736
57691
  }
57737
57692
  );
@@ -58217,62 +58172,6 @@ var NavbarMegaMenu = ({
58217
58172
  }
58218
58173
  );
58219
58174
  };
58220
- var NavbarMobileMenu = ({
58221
- open,
58222
- onClose,
58223
- children,
58224
- className,
58225
- contentClassName,
58226
- title = "Mobile Navigation"
58227
- }) => {
58228
- React52__namespace.useEffect(() => {
58229
- if (open) {
58230
- const originalOverflow = document.body.style.overflow;
58231
- document.body.style.overflow = "hidden";
58232
- return () => {
58233
- document.body.style.overflow = originalOverflow;
58234
- };
58235
- }
58236
- }, [open]);
58237
- if (!open) return null;
58238
- return /* @__PURE__ */ jsxRuntime.jsxs(
58239
- "div",
58240
- {
58241
- className: cn(
58242
- "fixed inset-0 z-[998] flex flex-col bg-background",
58243
- "animate-in slide-in-from-top duration-300",
58244
- "data-[state=closed]:animate-out data-[state=closed]:slide-out-to-top data-[state=closed]:duration-300",
58245
- className
58246
- ),
58247
- "data-state": open ? "open" : "closed",
58248
- children: [
58249
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "sr-only", children: /* @__PURE__ */ jsxRuntime.jsx("h2", { children: title }) }),
58250
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute top-4 right-4 z-10", children: /* @__PURE__ */ jsxRuntime.jsxs(
58251
- "button",
58252
- {
58253
- onClick: onClose,
58254
- 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",
58255
- "aria-label": "Close mobile menu",
58256
- children: [
58257
- /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: "lucide/x", className: "size-4" }),
58258
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sr-only", children: "Close" })
58259
- ]
58260
- }
58261
- ) }),
58262
- /* @__PURE__ */ jsxRuntime.jsx(
58263
- "div",
58264
- {
58265
- className: cn(
58266
- "h-full overflow-y-auto pt-16 pb-8 px-4 sm:px-6",
58267
- contentClassName
58268
- ),
58269
- children
58270
- }
58271
- )
58272
- ]
58273
- }
58274
- );
58275
- };
58276
58175
  var SolutionsMenu = ({
58277
58176
  solutionCards,
58278
58177
  platformItems,
@@ -58918,7 +58817,7 @@ var renderMobileDropdownContent = (item) => {
58918
58817
  switch (item.layout) {
58919
58818
  case "solutions-with-platform":
58920
58819
  return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "space-y-4", children: item.solutionCards?.map((solution) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-2", children: [
58921
- /* @__PURE__ */ jsxRuntime.jsx(Pressable, { href: solution.href, className: "text-sm font-medium", children: solution.title }),
58820
+ /* @__PURE__ */ jsxRuntime.jsx(Pressable, { href: solution.href, className: "mb-2 text-sm font-medium", children: solution.title }),
58922
58821
  solution.subpages.map((subpage) => /* @__PURE__ */ jsxRuntime.jsxs(
58923
58822
  Pressable,
58924
58823
  {
@@ -59011,10 +58910,9 @@ var MobileNavigationMenu = ({
59011
58910
  open,
59012
58911
  onClose: () => setOpen(false),
59013
58912
  title: "Mobile Navigation",
59014
- contentClassName: "pt-4 pb-20",
58913
+ contentClassName: "pt-10 pb-20",
59015
58914
  children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "max-w-screen-sm mx-auto", children: [
59016
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("flex flex-col gap-4", actionsClassName), children: renderActions }),
59017
- /* @__PURE__ */ jsxRuntime.jsx(Accordion, { type: "multiple", className: "mt-6 w-full", children: menuLinks.map((item, index) => {
58915
+ /* @__PURE__ */ jsxRuntime.jsx(Accordion, { type: "multiple", className: "w-full", children: menuLinks.map((item, index) => {
59018
58916
  const hasDropdown = Boolean(item.layout);
59019
58917
  if (hasDropdown) {
59020
58918
  return /* @__PURE__ */ jsxRuntime.jsxs(
@@ -59039,7 +58937,8 @@ var MobileNavigationMenu = ({
59039
58937
  },
59040
58938
  typeof item.label === "string" ? item.label : `nav-${index}`
59041
58939
  );
59042
- }) })
58940
+ }) }),
58941
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("mt-6 flex flex-col gap-4", actionsClassName), children: renderActions })
59043
58942
  ] })
59044
58943
  }
59045
58944
  );
@@ -59054,6 +58953,7 @@ var NavbarFeatureGrid = ({
59054
58953
  logo,
59055
58954
  logoSlot,
59056
58955
  features,
58956
+ menu,
59057
58957
  authActions,
59058
58958
  authActionsSlot,
59059
58959
  layoutVariant = "fullScreenContainerizedLinks",
@@ -59063,6 +58963,7 @@ var NavbarFeatureGrid = ({
59063
58963
  patternOpacity,
59064
58964
  optixFlowConfig
59065
58965
  }) => {
58966
+ const [open, setOpen] = React52__namespace.useState(false);
59066
58967
  const renderAuthActions = React52.useMemo(() => {
59067
58968
  if (authActionsSlot) return authActionsSlot;
59068
58969
  if (!authActions || authActions.length === 0) return null;
@@ -59119,21 +59020,31 @@ var NavbarFeatureGrid = ({
59119
59020
  NavigationMenu,
59120
59021
  {
59121
59022
  className: cn("hidden lg:block", navigationMenuClassName),
59122
- children: /* @__PURE__ */ jsxRuntime.jsx(NavigationMenuList, { children: features && features.length > 0 && /* @__PURE__ */ jsxRuntime.jsxs(NavigationMenuItem, { children: [
59123
- /* @__PURE__ */ jsxRuntime.jsx(NavigationMenuTrigger, { children: "Features" }),
59124
- /* @__PURE__ */ jsxRuntime.jsx(NavigationMenuContent, { children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid w-[600px] grid-cols-2 p-3", children: features.map((feature, index) => /* @__PURE__ */ jsxRuntime.jsx(
59023
+ children: /* @__PURE__ */ jsxRuntime.jsxs(NavigationMenuList, { children: [
59024
+ features && features.length > 0 && /* @__PURE__ */ jsxRuntime.jsxs(NavigationMenuItem, { children: [
59025
+ /* @__PURE__ */ jsxRuntime.jsx(NavigationMenuTrigger, { children: "Features" }),
59026
+ /* @__PURE__ */ jsxRuntime.jsx(NavigationMenuContent, { children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid w-[600px] grid-cols-2 p-3", children: features.map((feature, index) => /* @__PURE__ */ jsxRuntime.jsx(
59027
+ NavigationMenuLink,
59028
+ {
59029
+ href: feature.href,
59030
+ className: "rounded-md p-3 transition-colors hover:bg-muted/70",
59031
+ children: /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
59032
+ /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mb-1 font-semibold", children: feature.title }),
59033
+ /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm text-muted-foreground", children: feature.description })
59034
+ ] })
59035
+ },
59036
+ index
59037
+ )) }) })
59038
+ ] }),
59039
+ menu?.map((item, index) => /* @__PURE__ */ jsxRuntime.jsx(NavigationMenuItem, { children: /* @__PURE__ */ jsxRuntime.jsx(
59125
59040
  NavigationMenuLink,
59126
59041
  {
59127
- href: feature.href,
59128
- className: "rounded-md p-3 transition-colors hover:bg-muted/70",
59129
- children: /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
59130
- /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mb-1 font-semibold", children: feature.title }),
59131
- /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm text-muted-foreground", children: feature.description })
59132
- ] })
59133
- },
59134
- index
59135
- )) }) })
59136
- ] }) })
59042
+ href: item.url,
59043
+ className: "h-auto bg-transparent px-3 py-2 font-normal hover:bg-muted focus:bg-muted",
59044
+ children: item.title
59045
+ }
59046
+ ) }, index))
59047
+ ] })
59137
59048
  }
59138
59049
  ),
59139
59050
  /* @__PURE__ */ jsxRuntime.jsx(
@@ -59146,59 +59057,58 @@ var NavbarFeatureGrid = ({
59146
59057
  children: renderAuthActions
59147
59058
  }
59148
59059
  ),
59149
- /* @__PURE__ */ jsxRuntime.jsxs(Sheet, { children: [
59150
- /* @__PURE__ */ jsxRuntime.jsx(SheetTrigger, { asChild: true, className: "lg:hidden", children: /* @__PURE__ */ jsxRuntime.jsx(
59151
- Pressable,
59152
- {
59153
- variant: "outline",
59154
- size: "icon",
59155
- asButton: true,
59156
- onClick: () => {
59157
- },
59158
- children: /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: "lucide/menu", size: 16 })
59159
- }
59160
- ) }),
59161
- /* @__PURE__ */ jsxRuntime.jsxs(SheetContent, { side: "top", className: "max-h-screen overflow-auto", children: [
59162
- /* @__PURE__ */ jsxRuntime.jsx(SheetHeader, { children: /* @__PURE__ */ jsxRuntime.jsx(SheetTitle, { children: /* @__PURE__ */ jsxRuntime.jsx(
59163
- NavbarLogo,
59164
- {
59165
- logo,
59166
- logoSlot,
59167
- logoClassName,
59168
- optixFlowConfig
59169
- }
59170
- ) }) }),
59171
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col p-4", children: [
59172
- features && features.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(
59173
- Accordion,
59174
- {
59175
- type: "single",
59176
- collapsible: true,
59177
- className: "mt-4 mb-2",
59178
- children: /* @__PURE__ */ jsxRuntime.jsxs(
59179
- AccordionItem,
59180
- {
59181
- value: "solutions",
59182
- className: "border-none",
59183
- children: [
59184
- /* @__PURE__ */ jsxRuntime.jsx(AccordionTrigger, { className: "text-base hover:no-underline", children: "Features" }),
59185
- /* @__PURE__ */ jsxRuntime.jsx(AccordionContent, { children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid md:grid-cols-2", children: features.map((feature, index) => /* @__PURE__ */ jsxRuntime.jsx(
59186
- Pressable,
59187
- {
59188
- href: feature.href,
59189
- className: "rounded-md p-3 transition-colors hover:bg-muted/70",
59190
- children: /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
59191
- /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mb-1 font-semibold", children: feature.title }),
59192
- /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm text-muted-foreground", children: feature.description })
59193
- ] })
59194
- },
59195
- index
59196
- )) }) })
59197
- ]
59198
- }
59199
- )
59200
- }
59201
- ),
59060
+ /* @__PURE__ */ jsxRuntime.jsx(
59061
+ Pressable,
59062
+ {
59063
+ variant: "outline",
59064
+ size: "icon",
59065
+ asButton: true,
59066
+ className: "lg:hidden",
59067
+ onClick: () => setOpen(!open),
59068
+ children: /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: "lucide/menu", size: 16 })
59069
+ }
59070
+ ),
59071
+ /* @__PURE__ */ jsxRuntime.jsx(
59072
+ NavbarMobileMenu,
59073
+ {
59074
+ open,
59075
+ onClose: () => setOpen(false),
59076
+ title: "Mobile Navigation",
59077
+ contentClassName: "pt-10 pb-20",
59078
+ children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "max-w-screen-sm mx-auto", children: [
59079
+ /* @__PURE__ */ jsxRuntime.jsxs(Accordion, { type: "multiple", className: "w-full", children: [
59080
+ features && features.length > 0 && /* @__PURE__ */ jsxRuntime.jsxs(
59081
+ AccordionItem,
59082
+ {
59083
+ value: "features",
59084
+ className: "border-b-0",
59085
+ children: [
59086
+ /* @__PURE__ */ jsxRuntime.jsx(AccordionTrigger, { className: "h-15 items-center text-base font-normal text-foreground hover:no-underline", children: "Features" }),
59087
+ /* @__PURE__ */ jsxRuntime.jsx(AccordionContent, { className: "max-h-[60dvh] overflow-y-auto space-y-2", children: features.map((feature, index) => /* @__PURE__ */ jsxRuntime.jsx(
59088
+ Pressable,
59089
+ {
59090
+ href: feature.href,
59091
+ className: "flex items-start gap-2 pl-4 text-sm text-muted-foreground hover:text-foreground",
59092
+ children: /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
59093
+ /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mb-1 font-semibold", children: feature.title }),
59094
+ /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm text-muted-foreground", children: feature.description })
59095
+ ] })
59096
+ },
59097
+ index
59098
+ )) })
59099
+ ]
59100
+ }
59101
+ ),
59102
+ menu?.map((item, index) => /* @__PURE__ */ jsxRuntime.jsx(
59103
+ Pressable,
59104
+ {
59105
+ href: item.url,
59106
+ className: "flex h-15 items-center text-base font-normal text-foreground",
59107
+ children: item.title
59108
+ },
59109
+ index
59110
+ ))
59111
+ ] }),
59202
59112
  /* @__PURE__ */ jsxRuntime.jsx(
59203
59113
  "div",
59204
59114
  {
@@ -59210,8 +59120,8 @@ var NavbarFeatureGrid = ({
59210
59120
  }
59211
59121
  )
59212
59122
  ] })
59213
- ] })
59214
- ] })
59123
+ }
59124
+ )
59215
59125
  ]
59216
59126
  }
59217
59127
  ) }) }) })
@@ -59296,7 +59206,7 @@ var NavbarFloatingPill = ({
59296
59206
  "nav",
59297
59207
  {
59298
59208
  className: cn(
59299
- "absolute top-5 left-1/2 z-50 w-[min(90%,700px)] -translate-x-1/2 rounded-full bg-background/70 backdrop-blur-md lg:top-12",
59209
+ "absolute border top-4 left-1/2 z-50 w-[min(90%,700px)] -translate-x-1/2 rounded-full bg-background/70 backdrop-blur-md lg:top-6",
59300
59210
  navWrapperClasses
59301
59211
  ),
59302
59212
  children: [
@@ -59855,53 +59765,41 @@ var NavbarPlatformResources = ({
59855
59765
  }
59856
59766
  ) })
59857
59767
  ] }),
59858
- open && /* @__PURE__ */ jsxRuntime.jsxs(
59859
- "div",
59768
+ /* @__PURE__ */ jsxRuntime.jsx(
59769
+ NavbarMobileMenu,
59860
59770
  {
59861
- className: cn(
59862
- "absolute inset-0 top-[72px] flex h-[calc(100vh-72px)] w-full flex-col overflow-scroll border-t border-border bg-background lg:hidden",
59863
- mobileMenuClassName
59864
- ),
59865
- children: [
59866
- /* @__PURE__ */ jsxRuntime.jsx(Accordion, { type: "single", collapsible: true, className: "w-full", children: menuLinks?.map((link, index) => {
59771
+ open,
59772
+ onClose: () => setOpen(false),
59773
+ title: "Mobile Navigation",
59774
+ contentClassName: "pt-10 pb-20",
59775
+ children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "max-w-screen-sm mx-auto", children: [
59776
+ /* @__PURE__ */ jsxRuntime.jsx(Accordion, { type: "multiple", className: "w-full", children: menuLinks?.map((link, index) => {
59867
59777
  if (hasDropdownItems(link)) {
59868
59778
  return /* @__PURE__ */ jsxRuntime.jsxs(
59869
59779
  AccordionItem,
59870
59780
  {
59871
59781
  value: `menu-${index}`,
59872
- className: "border-b-2 border-dashed",
59782
+ className: "border-b-0",
59873
59783
  children: [
59874
- /* @__PURE__ */ jsxRuntime.jsx(AccordionTrigger, { className: "px-2 py-4 text-left hover:no-underline", children: link.label }),
59875
- /* @__PURE__ */ jsxRuntime.jsx(AccordionContent, { className: "px-2 pb-4", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "space-y-3", children: link.links?.map((item, itemIndex) => /* @__PURE__ */ jsxRuntime.jsxs(
59784
+ /* @__PURE__ */ jsxRuntime.jsx(AccordionTrigger, { className: "h-15 items-center text-base font-normal text-foreground hover:no-underline", children: link.label }),
59785
+ /* @__PURE__ */ jsxRuntime.jsx(AccordionContent, { className: "max-h-[60dvh] overflow-y-auto space-y-2", children: link.links?.map((item, itemIndex) => /* @__PURE__ */ jsxRuntime.jsxs(
59876
59786
  Pressable,
59877
59787
  {
59878
59788
  href: getLinkUrl(item),
59879
- className: "group flex items-start gap-4 rounded-lg p-2 hover:bg-muted",
59789
+ className: "flex items-center gap-2 pl-4 text-sm text-muted-foreground hover:text-foreground",
59880
59790
  children: [
59881
- item.image && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-10 w-10 overflow-hidden rounded-md border border-border", children: /* @__PURE__ */ jsxRuntime.jsx(
59882
- img.Img,
59883
- {
59884
- src: item.image,
59885
- alt: typeof item.label === "string" ? item.label : "Menu item",
59886
- className: "h-full w-full object-cover object-center",
59887
- optixFlowConfig
59888
- }
59889
- ) }),
59890
- !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(
59791
+ (item.icon || item.iconName) && (item.icon ? item.icon : item.iconName ? /* @__PURE__ */ jsxRuntime.jsx(
59891
59792
  DynamicIcon,
59892
59793
  {
59893
59794
  name: item.iconName,
59894
- size: 16
59795
+ size: 14
59895
59796
  }
59896
- ) : null }),
59897
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex-1", children: [
59898
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-sm font-medium text-foreground", children: item.label }),
59899
- item.description && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-xs text-muted-foreground", children: item.description })
59900
- ] })
59797
+ ) : null),
59798
+ item.label
59901
59799
  ]
59902
59800
  },
59903
59801
  `${typeof item.label === "string" ? item.label : "item"}-${itemIndex}`
59904
- )) }) })
59802
+ )) })
59905
59803
  ]
59906
59804
  },
59907
59805
  `${typeof link.label === "string" ? link.label : "menu"}-${index}`
@@ -59911,17 +59809,11 @@ var NavbarPlatformResources = ({
59911
59809
  return null;
59912
59810
  }
59913
59811
  return /* @__PURE__ */ jsxRuntime.jsx(
59914
- "div",
59812
+ Pressable,
59915
59813
  {
59916
- className: "border-b-2 border-dashed",
59917
- children: /* @__PURE__ */ jsxRuntime.jsx(
59918
- Pressable,
59919
- {
59920
- href: link.href,
59921
- className: "flex w-full items-center px-2 py-4 text-left text-sm font-medium",
59922
- children: link.label
59923
- }
59924
- )
59814
+ href: link.href,
59815
+ className: "flex h-15 items-center text-base font-normal text-foreground",
59816
+ children: link.label
59925
59817
  },
59926
59818
  `${typeof link.label === "string" ? link.label : "menu"}-${index}`
59927
59819
  );
@@ -59930,13 +59822,13 @@ var NavbarPlatformResources = ({
59930
59822
  "div",
59931
59823
  {
59932
59824
  className: cn(
59933
- "mx-8 mt-auto flex flex-col gap-4 py-12",
59825
+ "mt-6 flex flex-col gap-4",
59934
59826
  actionsClassName
59935
59827
  ),
59936
59828
  children: renderActions
59937
59829
  }
59938
59830
  )
59939
- ]
59831
+ ] })
59940
59832
  }
59941
59833
  )
59942
59834
  ]
@@ -60300,32 +60192,21 @@ var MobileNavigationMenu2 = ({
60300
60192
  );
60301
60193
  }) });
60302
60194
  }, [authActionsSlot, authActions]);
60303
- return /* @__PURE__ */ jsxRuntime.jsx(Sheet, { open, onOpenChange: setOpen, children: /* @__PURE__ */ jsxRuntime.jsx(
60304
- SheetContent,
60195
+ return /* @__PURE__ */ jsxRuntime.jsx(
60196
+ NavbarMobileMenu,
60305
60197
  {
60306
- "aria-describedby": void 0,
60307
- side: "top",
60308
- className: "inset-0 z-600 h-dvh w-full bg-primary text-primary-foreground [&>button]:hidden",
60309
- children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex-1 overflow-y-auto", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "container pb-12", children: [
60310
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute -m-px h-px w-px overflow-hidden border-0 mask-clip-border p-0 text-nowrap whitespace-nowrap", children: /* @__PURE__ */ jsxRuntime.jsx(SheetTitle, { className: "text-primary", children: "Mobile Navigation" }) }),
60311
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex justify-end pt-5", children: /* @__PURE__ */ jsxRuntime.jsx(SheetClose, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx(
60312
- Pressable,
60313
- {
60314
- size: "icon",
60315
- asButton: true,
60316
- className: "size-9 rounded-full bg-muted/20 hover:bg-muted/20",
60317
- onClick: () => setOpen(false),
60318
- children: /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: "lucide/x", size: 22 })
60319
- }
60320
- ) }) }),
60321
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex h-full flex-col justify-between gap-30 pt-24", children: [
60322
- renderMobileNavigation,
60323
- renderSocialLinks,
60324
- renderMobileAuthActions
60325
- ] })
60198
+ open,
60199
+ onClose: () => setOpen(false),
60200
+ title: "Mobile Navigation",
60201
+ className: "bg-primary text-primary-foreground",
60202
+ contentClassName: "pt-24 pb-12",
60203
+ children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "max-w-screen-sm mx-auto", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex h-full flex-col justify-between gap-30", children: [
60204
+ renderMobileNavigation,
60205
+ renderSocialLinks,
60206
+ renderMobileAuthActions
60326
60207
  ] }) })
60327
60208
  }
60328
- ) });
60209
+ );
60329
60210
  };
60330
60211
  var MOBILE_BREAKPOINT3 = 1024;
60331
60212
  var NavbarDarkIcons = ({
@@ -60497,6 +60378,7 @@ var NavbarDarkIcons = ({
60497
60378
  MobileNavigationMenu3,
60498
60379
  {
60499
60380
  open,
60381
+ setOpen,
60500
60382
  navigation: navigation ?? [],
60501
60383
  authActions,
60502
60384
  authActionsSlot
@@ -60557,6 +60439,7 @@ var MenuSubLink = ({ link }) => {
60557
60439
  };
60558
60440
  var MobileNavigationMenu3 = ({
60559
60441
  open,
60442
+ setOpen,
60560
60443
  navigation,
60561
60444
  authActions,
60562
60445
  authActionsSlot
@@ -60589,23 +60472,22 @@ var MobileNavigationMenu3 = ({
60589
60472
  );
60590
60473
  });
60591
60474
  }, [authActionsSlot, authActions]);
60592
- return /* @__PURE__ */ jsxRuntime.jsx(Sheet, { open, children: /* @__PURE__ */ jsxRuntime.jsx(
60593
- SheetContent,
60475
+ return /* @__PURE__ */ jsxRuntime.jsx(
60476
+ NavbarMobileMenu,
60594
60477
  {
60595
- "aria-describedby": void 0,
60596
- side: "top",
60597
- className: "dark inset-0 z-998 h-dvh w-full bg-background pt-16 [&>button]:hidden",
60598
- children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex-1 overflow-y-auto", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "container pb-12", children: [
60599
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute -m-px h-px w-px overflow-hidden border-0 mask-clip-border p-0 text-nowrap whitespace-nowrap", children: /* @__PURE__ */ jsxRuntime.jsx(SheetTitle, { className: "text-primary", children: "Mobile Navigation" }) }),
60600
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex h-full flex-col justify-between gap-20", children: [
60601
- /* @__PURE__ */ jsxRuntime.jsx(Accordion, { type: "multiple", className: "w-full", children: navigation.map(
60602
- (item, index) => renderMobileMenuItem3(item, index)
60603
- ) }),
60604
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex flex-col gap-2 pb-20", children: renderMobileAuthActions })
60605
- ] })
60478
+ open,
60479
+ onClose: () => setOpen(false),
60480
+ title: "Mobile Navigation",
60481
+ className: "dark",
60482
+ contentClassName: "pt-4",
60483
+ children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "max-w-screen-sm mx-auto", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex h-full flex-col justify-between gap-20", children: [
60484
+ /* @__PURE__ */ jsxRuntime.jsx(Accordion, { type: "multiple", className: "w-full", children: navigation.map(
60485
+ (item, index) => renderMobileMenuItem3(item, index)
60486
+ ) }),
60487
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex flex-col gap-2 pb-20", children: renderMobileAuthActions })
60606
60488
  ] }) })
60607
60489
  }
60608
- ) });
60490
+ );
60609
60491
  };
60610
60492
  var renderMobileMenuItem3 = (item, index) => {
60611
60493
  if (item.links) {
@@ -60834,6 +60716,7 @@ var NavbarAnimatedPreview = ({
60834
60716
  MobileNavigationMenu4,
60835
60717
  {
60836
60718
  open,
60719
+ setOpen,
60837
60720
  menuLinks: menuLinks ?? [],
60838
60721
  actions,
60839
60722
  actionsSlot
@@ -61127,6 +61010,7 @@ var NavLink = React52.forwardRef(
61127
61010
  NavLink.displayName = "NavLink";
61128
61011
  var MobileNavigationMenu4 = ({
61129
61012
  open,
61013
+ setOpen,
61130
61014
  menuLinks,
61131
61015
  actions,
61132
61016
  actionsSlot
@@ -61159,23 +61043,21 @@ var MobileNavigationMenu4 = ({
61159
61043
  );
61160
61044
  });
61161
61045
  }, [actionsSlot, actions]);
61162
- return /* @__PURE__ */ jsxRuntime.jsx(Sheet, { open, children: /* @__PURE__ */ jsxRuntime.jsx(
61163
- SheetContent,
61046
+ return /* @__PURE__ */ jsxRuntime.jsx(
61047
+ NavbarMobileMenu,
61164
61048
  {
61165
- "aria-describedby": void 0,
61166
- side: "top",
61167
- className: "inset-0 z-998 h-dvh w-full bg-background pt-20 [&>button]:hidden",
61168
- children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex-1 overflow-y-auto", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "container py-8", children: [
61169
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute -m-px h-px w-px overflow-hidden border-0 mask-clip-border p-0 text-nowrap whitespace-nowrap", children: /* @__PURE__ */ jsxRuntime.jsx(SheetTitle, { className: "text-primary", children: "Mobile Navigation" }) }),
61170
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex min-h-full flex-col gap-6", children: [
61171
- /* @__PURE__ */ jsxRuntime.jsx(Accordion, { type: "multiple", className: "w-full", children: menuLinks.map(
61172
- (item, index) => renderMobileMenuItem4(item, index)
61173
- ) }),
61174
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex flex-col gap-2", children: renderMobileActions })
61175
- ] })
61176
- ] }) })
61049
+ open,
61050
+ onClose: () => setOpen(false),
61051
+ title: "Mobile Navigation",
61052
+ contentClassName: "pt-4 pb-20",
61053
+ children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "max-w-screen-sm mx-auto", children: [
61054
+ /* @__PURE__ */ jsxRuntime.jsx(Accordion, { type: "multiple", className: "w-full", children: menuLinks.map(
61055
+ (item, index) => renderMobileMenuItem4(item, index)
61056
+ ) }),
61057
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mt-6 flex flex-col gap-2", children: renderMobileActions })
61058
+ ] })
61177
61059
  }
61178
- ) });
61060
+ );
61179
61061
  };
61180
61062
  var renderMobileMenuItem4 = (item, index) => {
61181
61063
  if (item.links || item.featuredLinks || item.groupLinks) {
@@ -61382,6 +61264,7 @@ var NavbarMultiColumnGroups = ({
61382
61264
  MobileNavigationMenu5,
61383
61265
  {
61384
61266
  open,
61267
+ setOpen,
61385
61268
  navigation: navigation ?? [],
61386
61269
  authActions: mobileAuthActions,
61387
61270
  authActionsSlot: mobileAuthActionsSlot
@@ -61432,6 +61315,7 @@ var DesktopMenuItem6 = ({ item, index }) => {
61432
61315
  };
61433
61316
  var MobileNavigationMenu5 = ({
61434
61317
  open,
61318
+ setOpen,
61435
61319
  navigation,
61436
61320
  authActions,
61437
61321
  authActionsSlot
@@ -61464,23 +61348,22 @@ var MobileNavigationMenu5 = ({
61464
61348
  );
61465
61349
  }) });
61466
61350
  }, [authActionsSlot, authActions]);
61467
- return /* @__PURE__ */ jsxRuntime.jsx(Sheet, { open, children: /* @__PURE__ */ jsxRuntime.jsx(
61468
- SheetContent,
61351
+ return /* @__PURE__ */ jsxRuntime.jsx(
61352
+ NavbarMobileMenu,
61469
61353
  {
61470
- "aria-describedby": void 0,
61471
- side: "top",
61472
- className: "dark inset-0 z-998 h-dvh w-full bg-background pt-15.75 [&>button]:hidden",
61473
- children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-full overflow-y-auto pt-10 pb-20", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "container", children: [
61474
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute -m-px h-px w-px overflow-hidden border-0 mask-clip-border p-0 text-nowrap whitespace-nowrap", children: /* @__PURE__ */ jsxRuntime.jsx(SheetTitle, { className: "text-primary", children: "Mobile Navigation" }) }),
61475
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-6", children: [
61476
- renderMobileAuthActions,
61477
- /* @__PURE__ */ jsxRuntime.jsx(Accordion, { type: "multiple", className: "w-full", children: navigation.map(
61478
- (item, index) => renderMobileMenuItem5(item, index)
61479
- ) })
61480
- ] })
61354
+ open,
61355
+ onClose: () => setOpen(false),
61356
+ title: "Mobile Navigation",
61357
+ className: "dark",
61358
+ contentClassName: "pt-10 pb-20",
61359
+ children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "max-w-screen-sm mx-auto", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-6", children: [
61360
+ /* @__PURE__ */ jsxRuntime.jsx(Accordion, { type: "multiple", className: "w-full", children: navigation.map(
61361
+ (item, index) => renderMobileMenuItem5(item, index)
61362
+ ) }),
61363
+ renderMobileAuthActions
61481
61364
  ] }) })
61482
61365
  }
61483
- ) });
61366
+ );
61484
61367
  };
61485
61368
  var renderMobileMenuItem5 = (item, index) => {
61486
61369
  if (item.groups) {
@@ -61674,24 +61557,27 @@ var NavbarSidebarMobile = ({
61674
61557
  children: renderAuthActions()
61675
61558
  }
61676
61559
  ),
61677
- /* @__PURE__ */ jsxRuntime.jsxs(Sheet, { open: isOpen, onOpenChange: setIsOpen, children: [
61678
- /* @__PURE__ */ jsxRuntime.jsx(SheetTrigger, { asChild: true, className: "lg:hidden", children: /* @__PURE__ */ jsxRuntime.jsxs(
61679
- Pressable,
61680
- {
61681
- variant: "outline",
61682
- size: "icon",
61683
- asButton: true,
61684
- onClick: () => {
61685
- },
61686
- children: [
61687
- /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: "lucide/menu", size: 20 }),
61688
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sr-only", children: "Toggle menu" })
61689
- ]
61690
- }
61691
- ) }),
61692
- /* @__PURE__ */ jsxRuntime.jsxs(SheetContent, { side: "left", className: "w-[300px] sm:w-[350px]", children: [
61693
- /* @__PURE__ */ jsxRuntime.jsx(SheetTitle, { className: "sr-only", children: "Navigation Menu" }),
61694
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex h-full flex-col", children: [
61560
+ /* @__PURE__ */ jsxRuntime.jsxs(
61561
+ Pressable,
61562
+ {
61563
+ variant: "outline",
61564
+ size: "icon",
61565
+ asButton: true,
61566
+ className: "lg:hidden",
61567
+ onClick: () => setIsOpen(!isOpen),
61568
+ children: [
61569
+ /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: "lucide/menu", size: 20 }),
61570
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sr-only", children: "Toggle menu" })
61571
+ ]
61572
+ }
61573
+ ),
61574
+ /* @__PURE__ */ jsxRuntime.jsx(
61575
+ NavbarMobileMenu,
61576
+ {
61577
+ open: isOpen,
61578
+ onClose: () => setIsOpen(false),
61579
+ title: "Navigation Menu",
61580
+ children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "max-w-screen-sm mx-auto", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex h-full flex-col", children: [
61695
61581
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex items-center justify-between border-b pb-4", children: /* @__PURE__ */ jsxRuntime.jsx(
61696
61582
  NavbarLogo,
61697
61583
  {
@@ -61753,9 +61639,9 @@ var NavbarSidebarMobile = ({
61753
61639
  index
61754
61640
  )) })
61755
61641
  ] })
61756
- ] })
61757
- ] })
61758
- ] })
61642
+ ] }) })
61643
+ }
61644
+ )
61759
61645
  ]
61760
61646
  }
61761
61647
  ) }) }) })
@@ -62556,31 +62442,33 @@ var NavbarStickyCompact = ({
62556
62442
  children: renderAuthActions
62557
62443
  }
62558
62444
  ),
62559
- /* @__PURE__ */ jsxRuntime.jsxs(Sheet, { open: isOpen, onOpenChange: setIsOpen, children: [
62560
- /* @__PURE__ */ jsxRuntime.jsx(SheetTrigger, { asChild: true, className: "lg:hidden", children: /* @__PURE__ */ jsxRuntime.jsxs(
62561
- Pressable,
62562
- {
62563
- variant: "ghost",
62564
- size: isScrolled ? "sm" : "icon",
62565
- asButton: true,
62566
- onClick: () => {
62567
- },
62568
- className: "transition-all duration-300",
62569
- children: [
62570
- /* @__PURE__ */ jsxRuntime.jsx(
62571
- DynamicIcon,
62572
- {
62573
- name: "lucide/menu",
62574
- size: isScrolled ? 18 : 20
62575
- }
62576
- ),
62577
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sr-only", children: "Toggle menu" })
62578
- ]
62579
- }
62580
- ) }),
62581
- /* @__PURE__ */ jsxRuntime.jsxs(SheetContent, { side: "right", className: "w-[280px]", children: [
62582
- /* @__PURE__ */ jsxRuntime.jsx(SheetTitle, { className: "sr-only", children: "Navigation Menu" }),
62583
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-4 pt-8", children: [
62445
+ /* @__PURE__ */ jsxRuntime.jsxs(
62446
+ Pressable,
62447
+ {
62448
+ variant: "ghost",
62449
+ size: isScrolled ? "sm" : "icon",
62450
+ asButton: true,
62451
+ className: "lg:hidden transition-all duration-300",
62452
+ onClick: () => setIsOpen(!isOpen),
62453
+ children: [
62454
+ /* @__PURE__ */ jsxRuntime.jsx(
62455
+ DynamicIcon,
62456
+ {
62457
+ name: "lucide/menu",
62458
+ size: isScrolled ? 18 : 20
62459
+ }
62460
+ ),
62461
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sr-only", children: "Toggle menu" })
62462
+ ]
62463
+ }
62464
+ ),
62465
+ /* @__PURE__ */ jsxRuntime.jsx(
62466
+ NavbarMobileMenu,
62467
+ {
62468
+ open: isOpen,
62469
+ onClose: () => setIsOpen(false),
62470
+ title: "Navigation Menu",
62471
+ children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "max-w-screen-sm mx-auto", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-4", children: [
62584
62472
  renderMobileMenu,
62585
62473
  /* @__PURE__ */ jsxRuntime.jsx(
62586
62474
  "div",
@@ -62592,9 +62480,9 @@ var NavbarStickyCompact = ({
62592
62480
  children: renderAuthActions
62593
62481
  }
62594
62482
  )
62595
- ] })
62596
- ] })
62597
- ] })
62483
+ ] }) })
62484
+ }
62485
+ )
62598
62486
  ]
62599
62487
  }
62600
62488
  ) }) }) })
@@ -62752,24 +62640,27 @@ var NavbarSearchFocused = ({
62752
62640
  children: renderAuthActions
62753
62641
  }
62754
62642
  ),
62755
- /* @__PURE__ */ jsxRuntime.jsxs(Sheet, { open: isOpen, onOpenChange: setIsOpen, children: [
62756
- /* @__PURE__ */ jsxRuntime.jsx(SheetTrigger, { asChild: true, className: "lg:hidden", children: /* @__PURE__ */ jsxRuntime.jsxs(
62757
- Pressable,
62758
- {
62759
- variant: "ghost",
62760
- size: "icon",
62761
- asButton: true,
62762
- onClick: () => {
62763
- },
62764
- children: [
62765
- /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: "lucide/menu", size: 20 }),
62766
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sr-only", children: "Toggle menu" })
62767
- ]
62768
- }
62769
- ) }),
62770
- /* @__PURE__ */ jsxRuntime.jsxs(SheetContent, { side: "right", className: "w-[280px]", children: [
62771
- /* @__PURE__ */ jsxRuntime.jsx(SheetTitle, { className: "sr-only", children: "Navigation Menu" }),
62772
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-6 pt-8", children: [
62643
+ /* @__PURE__ */ jsxRuntime.jsxs(
62644
+ Pressable,
62645
+ {
62646
+ variant: "ghost",
62647
+ size: "icon",
62648
+ asButton: true,
62649
+ className: "lg:hidden",
62650
+ onClick: () => setIsOpen(!isOpen),
62651
+ children: [
62652
+ /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: "lucide/menu", size: 20 }),
62653
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sr-only", children: "Toggle menu" })
62654
+ ]
62655
+ }
62656
+ ),
62657
+ /* @__PURE__ */ jsxRuntime.jsx(
62658
+ NavbarMobileMenu,
62659
+ {
62660
+ open: isOpen,
62661
+ onClose: () => setIsOpen(false),
62662
+ title: "Navigation Menu",
62663
+ children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "max-w-screen-sm mx-auto", children: [
62773
62664
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex flex-col gap-2", children: navItems?.map((item, index) => /* @__PURE__ */ jsxRuntime.jsxs(
62774
62665
  Pressable,
62775
62666
  {
@@ -62783,10 +62674,10 @@ var NavbarSearchFocused = ({
62783
62674
  },
62784
62675
  index
62785
62676
  )) }),
62786
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "border-t pt-4", children: renderMobileMenuActions })
62677
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "border-t pt-4 mt-6", children: renderMobileMenuActions })
62787
62678
  ] })
62788
- ] })
62789
- ] })
62679
+ }
62680
+ )
62790
62681
  ]
62791
62682
  }
62792
62683
  ) }) }) })
@@ -63186,25 +63077,27 @@ var NavbarSplitCta = ({
63186
63077
  children: renderAuthActions
63187
63078
  }
63188
63079
  ),
63189
- /* @__PURE__ */ jsxRuntime.jsxs(Sheet, { open: isOpen, onOpenChange: setIsOpen, children: [
63190
- /* @__PURE__ */ jsxRuntime.jsx(SheetTrigger, { asChild: true, className: "lg:hidden", children: /* @__PURE__ */ jsxRuntime.jsxs(
63191
- Pressable,
63192
- {
63193
- variant: "ghost",
63194
- size: "icon",
63195
- asButton: true,
63196
- onClick: () => {
63197
- },
63198
- children: [
63199
- /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: "lucide/menu", size: 20 }),
63200
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sr-only", children: "Toggle menu" })
63201
- ]
63202
- }
63203
- ) }),
63204
- /* @__PURE__ */ jsxRuntime.jsxs(SheetContent, { side: "right", className: "w-[300px]", children: [
63205
- /* @__PURE__ */ jsxRuntime.jsx(SheetTitle, { className: "sr-only", children: "Navigation Menu" }),
63206
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-6 pt-8", children: [
63207
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex flex-col gap-2", children: renderAuthActions }),
63080
+ /* @__PURE__ */ jsxRuntime.jsxs(
63081
+ Pressable,
63082
+ {
63083
+ variant: "ghost",
63084
+ size: "icon",
63085
+ asButton: true,
63086
+ className: "lg:hidden",
63087
+ onClick: () => setIsOpen(!isOpen),
63088
+ children: [
63089
+ /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: "lucide/menu", size: 20 }),
63090
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sr-only", children: "Toggle menu" })
63091
+ ]
63092
+ }
63093
+ ),
63094
+ /* @__PURE__ */ jsxRuntime.jsx(
63095
+ NavbarMobileMenu,
63096
+ {
63097
+ open: isOpen,
63098
+ onClose: () => setIsOpen(false),
63099
+ title: "Navigation Menu",
63100
+ children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "max-w-screen-sm mx-auto", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-6", children: [
63208
63101
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "border-t pt-4", children: menuSlot ? menuSlot : renderMenu?.map(
63209
63102
  (item, index) => item.items ? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mb-4", children: [
63210
63103
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-2 text-sm font-medium text-muted-foreground", children: item.title }),
@@ -63237,10 +63130,11 @@ var NavbarSplitCta = ({
63237
63130
  },
63238
63131
  index
63239
63132
  )
63240
- ) })
63241
- ] })
63242
- ] })
63243
- ] })
63133
+ ) }),
63134
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex flex-col gap-2 mt-6", children: renderAuthActions })
63135
+ ] }) })
63136
+ }
63137
+ )
63244
63138
  ]
63245
63139
  }
63246
63140
  ) }) }) })
@@ -63384,65 +63278,59 @@ var NavbarIconLinks = ({
63384
63278
  optixFlowConfig
63385
63279
  }
63386
63280
  ),
63387
- /* @__PURE__ */ jsxRuntime.jsxs(Sheet, { open: isOpen, onOpenChange: setIsOpen, children: [
63388
- /* @__PURE__ */ jsxRuntime.jsx(SheetTrigger, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx(
63389
- Pressable,
63390
- {
63391
- variant: "outline",
63392
- size: "icon",
63393
- asButton: true,
63394
- onClick: () => {
63395
- },
63396
- children: /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: "lucide/menu", size: 16 })
63397
- }
63398
- ) }),
63399
- /* @__PURE__ */ jsxRuntime.jsxs(SheetContent, { className: "overflow-y-auto", children: [
63400
- /* @__PURE__ */ jsxRuntime.jsx(SheetHeader, { children: /* @__PURE__ */ jsxRuntime.jsx(SheetTitle, { children: /* @__PURE__ */ jsxRuntime.jsx(
63401
- NavbarLogo,
63281
+ /* @__PURE__ */ jsxRuntime.jsx(
63282
+ Pressable,
63283
+ {
63284
+ variant: "outline",
63285
+ size: "icon",
63286
+ asButton: true,
63287
+ onClick: () => setIsOpen(!isOpen),
63288
+ children: /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: "lucide/menu", size: 16 })
63289
+ }
63290
+ )
63291
+ ] }) }),
63292
+ /* @__PURE__ */ jsxRuntime.jsx(
63293
+ NavbarMobileMenu,
63294
+ {
63295
+ open: isOpen,
63296
+ onClose: () => setIsOpen(false),
63297
+ title: "Mobile Navigation",
63298
+ children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "max-w-screen-sm mx-auto", children: [
63299
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex flex-col gap-4", children: navItemsSlot ? navItemsSlot : renderNavItems?.map((item, index) => /* @__PURE__ */ jsxRuntime.jsxs(
63300
+ Pressable,
63402
63301
  {
63403
- logo,
63404
- logoSlot,
63405
- logoClassName,
63406
- optixFlowConfig
63407
- }
63408
- ) }) }),
63409
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-6 p-4", children: [
63410
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex flex-col gap-4", children: navItemsSlot ? navItemsSlot : renderNavItems?.map((item, index) => /* @__PURE__ */ jsxRuntime.jsxs(
63411
- Pressable,
63412
- {
63413
- href: item.url,
63414
- onClick: () => {
63415
- setActiveItem(item.title);
63416
- setIsOpen(false);
63417
- },
63418
- className: cn(
63419
- "flex items-center gap-3 rounded-md px-3 py-2 text-sm font-medium transition-colors",
63420
- activeItem === item.title ? "bg-accent text-accent-foreground" : "text-muted-foreground hover:bg-accent hover:text-accent-foreground"
63421
- ),
63422
- children: [
63423
- /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: item.icon, size: 18 }),
63424
- item.title
63425
- ]
63426
- },
63427
- index
63428
- )) }),
63429
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "border-t pt-4", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex flex-col gap-3", children: authActions?.map((action, index) => /* @__PURE__ */ jsxRuntime.jsxs(
63430
- Pressable,
63431
- {
63432
- href: action.href,
63433
- className: "flex items-center gap-3 rounded-md px-3 py-2 text-sm font-medium text-muted-foreground hover:bg-accent hover:text-accent-foreground",
63434
- onClick: () => setIsOpen(false),
63435
- children: [
63436
- action.icon,
63437
- action.label
63438
- ]
63302
+ href: item.url,
63303
+ onClick: () => {
63304
+ setActiveItem(item.title);
63305
+ setIsOpen(false);
63439
63306
  },
63440
- index
63441
- )) }) })
63442
- ] })
63307
+ className: cn(
63308
+ "flex items-center gap-3 rounded-md px-3 py-2 text-sm font-medium transition-colors",
63309
+ activeItem === item.title ? "bg-accent text-accent-foreground" : "text-muted-foreground hover:bg-accent hover:text-accent-foreground"
63310
+ ),
63311
+ children: [
63312
+ /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: item.icon, size: 18 }),
63313
+ item.title
63314
+ ]
63315
+ },
63316
+ index
63317
+ )) }),
63318
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "border-t pt-4 mt-6", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex flex-col gap-3", children: authActions?.map((action, index) => /* @__PURE__ */ jsxRuntime.jsxs(
63319
+ Pressable,
63320
+ {
63321
+ href: action.href,
63322
+ className: "flex items-center gap-3 rounded-md px-3 py-2 text-sm font-medium text-muted-foreground hover:bg-accent hover:text-accent-foreground",
63323
+ onClick: () => setIsOpen(false),
63324
+ children: [
63325
+ action.icon,
63326
+ action.label
63327
+ ]
63328
+ },
63329
+ index
63330
+ )) }) })
63443
63331
  ] })
63444
- ] })
63445
- ] }) })
63332
+ }
63333
+ )
63446
63334
  ] }) }) })
63447
63335
  }
63448
63336
  );
@@ -63506,7 +63394,7 @@ var NavbarTabbedSections = ({
63506
63394
  TabsTrigger,
63507
63395
  {
63508
63396
  value: tab.id,
63509
- className: "rounded-none border-b-2 border-transparent px-4 pb-3 pt-2 data-[state=active]:border-primary data-[state=active]:bg-transparent data-[state=active]:shadow-none",
63397
+ 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",
63510
63398
  children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2", children: [
63511
63399
  tab.icon && /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: tab.icon, size: 16 }),
63512
63400
  tab.title
@@ -63519,12 +63407,12 @@ var NavbarTabbedSections = ({
63519
63407
  Pressable,
63520
63408
  {
63521
63409
  href: link.url,
63522
- className: "flex items-start gap-3 rounded-md p-3 hover:bg-accent",
63410
+ className: "flex items-start gap-3 rounded-md p-3 hover:bg-muted",
63523
63411
  children: [
63524
- 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 }) }),
63412
+ 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 }) }),
63525
63413
  /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
63526
63414
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-sm font-medium", children: link.title }),
63527
- link.description && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-xs text-muted-foreground", children: link.description })
63415
+ link.description && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-xs", children: link.description })
63528
63416
  ] })
63529
63417
  ]
63530
63418
  }
@@ -63649,45 +63537,41 @@ var NavbarTabbedSections = ({
63649
63537
  children: renderAuthActions
63650
63538
  }
63651
63539
  ),
63652
- /* @__PURE__ */ jsxRuntime.jsxs(Sheet, { open: isOpen, onOpenChange: setIsOpen, children: [
63653
- /* @__PURE__ */ jsxRuntime.jsx(SheetTrigger, { asChild: true, className: "lg:hidden", children: /* @__PURE__ */ jsxRuntime.jsxs(
63654
- Pressable,
63655
- {
63656
- variant: "ghost",
63657
- size: "icon",
63658
- asButton: true,
63659
- onClick: () => {
63660
- },
63661
- children: [
63662
- /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: "lucide/menu", size: 20 }),
63663
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sr-only", children: "Toggle menu" })
63664
- ]
63665
- }
63666
- ) }),
63667
- /* @__PURE__ */ jsxRuntime.jsxs(
63668
- SheetContent,
63669
- {
63670
- side: "right",
63671
- className: "w-[300px] overflow-y-auto",
63672
- children: [
63673
- /* @__PURE__ */ jsxRuntime.jsx(SheetTitle, { className: "sr-only", children: "Navigation Menu" }),
63674
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-4 pt-8", children: [
63675
- renderMobileMenu,
63676
- /* @__PURE__ */ jsxRuntime.jsx(
63677
- "div",
63678
- {
63679
- className: cn(
63680
- "mt-4 flex flex-col gap-2 border-t pt-4",
63681
- actionsClassName
63682
- ),
63683
- children: renderAuthActions
63684
- }
63685
- )
63686
- ] })
63687
- ]
63688
- }
63689
- )
63690
- ] })
63540
+ /* @__PURE__ */ jsxRuntime.jsxs(
63541
+ Pressable,
63542
+ {
63543
+ variant: "ghost",
63544
+ size: "icon",
63545
+ asButton: true,
63546
+ className: "lg:hidden",
63547
+ onClick: () => setIsOpen(!isOpen),
63548
+ children: [
63549
+ /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: "lucide/menu", size: 20 }),
63550
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sr-only", children: "Toggle menu" })
63551
+ ]
63552
+ }
63553
+ ),
63554
+ /* @__PURE__ */ jsxRuntime.jsx(
63555
+ NavbarMobileMenu,
63556
+ {
63557
+ open: isOpen,
63558
+ onClose: () => setIsOpen(false),
63559
+ title: "Navigation Menu",
63560
+ children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "max-w-screen-sm mx-auto", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-4", children: [
63561
+ renderMobileMenu,
63562
+ /* @__PURE__ */ jsxRuntime.jsx(
63563
+ "div",
63564
+ {
63565
+ className: cn(
63566
+ "mt-4 flex flex-col gap-2 border-t pt-4",
63567
+ actionsClassName
63568
+ ),
63569
+ children: renderAuthActions
63570
+ }
63571
+ )
63572
+ ] }) })
63573
+ }
63574
+ )
63691
63575
  ]
63692
63576
  }
63693
63577
  ) }) }) })
@@ -79111,6 +78995,98 @@ function OfferModalMembershipImage({
79111
78995
  }
79112
78996
  ) });
79113
78997
  }
78998
+ function Sheet({ ...props }) {
78999
+ return /* @__PURE__ */ jsxRuntime.jsx(DialogPrimitive__namespace.Root, { "data-slot": "sheet", ...props });
79000
+ }
79001
+ function SheetPortal({
79002
+ ...props
79003
+ }) {
79004
+ return /* @__PURE__ */ jsxRuntime.jsx(DialogPrimitive__namespace.Portal, { "data-slot": "sheet-portal", ...props });
79005
+ }
79006
+ function SheetOverlay({
79007
+ className,
79008
+ ...props
79009
+ }) {
79010
+ return /* @__PURE__ */ jsxRuntime.jsx(
79011
+ DialogPrimitive__namespace.Overlay,
79012
+ {
79013
+ "data-slot": "sheet-overlay",
79014
+ className: cn(
79015
+ "data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",
79016
+ className
79017
+ ),
79018
+ ...props
79019
+ }
79020
+ );
79021
+ }
79022
+ function SheetContent({
79023
+ className,
79024
+ children,
79025
+ side = "right",
79026
+ ...props
79027
+ }) {
79028
+ return /* @__PURE__ */ jsxRuntime.jsxs(SheetPortal, { children: [
79029
+ /* @__PURE__ */ jsxRuntime.jsx(SheetOverlay, {}),
79030
+ /* @__PURE__ */ jsxRuntime.jsxs(
79031
+ DialogPrimitive__namespace.Content,
79032
+ {
79033
+ "data-slot": "sheet-content",
79034
+ className: cn(
79035
+ "bg-background data-[state=open]:animate-in data-[state=closed]:animate-out fixed z-50 flex flex-col gap-4 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500",
79036
+ side === "right" && "data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right inset-y-0 right-0 h-full w-3/4 border-l sm:max-w-sm",
79037
+ side === "left" && "data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left inset-y-0 left-0 h-full w-3/4 border-r sm:max-w-sm",
79038
+ side === "top" && "data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top inset-x-0 top-0 h-auto border-b",
79039
+ side === "bottom" && "data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom inset-x-0 bottom-0 h-auto border-t",
79040
+ className
79041
+ ),
79042
+ ...props,
79043
+ children: [
79044
+ children,
79045
+ /* @__PURE__ */ jsxRuntime.jsxs(DialogPrimitive__namespace.Close, { className: "ring-offset-background focus:ring-ring data-[state=open]:bg-secondary absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none", children: [
79046
+ /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: "lucide/x", className: "size-4" }),
79047
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sr-only", children: "Close" })
79048
+ ] })
79049
+ ]
79050
+ }
79051
+ )
79052
+ ] });
79053
+ }
79054
+ function SheetHeader({ className, ...props }) {
79055
+ return /* @__PURE__ */ jsxRuntime.jsx(
79056
+ "div",
79057
+ {
79058
+ "data-slot": "sheet-header",
79059
+ className: cn("flex flex-col gap-1.5 p-4", className),
79060
+ ...props
79061
+ }
79062
+ );
79063
+ }
79064
+ function SheetTitle({
79065
+ className,
79066
+ ...props
79067
+ }) {
79068
+ return /* @__PURE__ */ jsxRuntime.jsx(
79069
+ DialogPrimitive__namespace.Title,
79070
+ {
79071
+ "data-slot": "sheet-title",
79072
+ className: cn("text-foreground font-semibold", className),
79073
+ ...props
79074
+ }
79075
+ );
79076
+ }
79077
+ function SheetDescription({
79078
+ className,
79079
+ ...props
79080
+ }) {
79081
+ return /* @__PURE__ */ jsxRuntime.jsx(
79082
+ DialogPrimitive__namespace.Description,
79083
+ {
79084
+ "data-slot": "sheet-description",
79085
+ className: cn("text-muted-foreground text-sm", className),
79086
+ ...props
79087
+ }
79088
+ );
79089
+ }
79114
79090
  var { useMemo: useMemo444 } = React52__namespace;
79115
79091
  function OfferModalSheetNewsletter({
79116
79092
  logo,