@opensite/ui 0.4.5 → 0.4.6

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 (89) hide show
  1. package/dist/navbar-animated-preview.cjs +87 -53
  2. package/dist/navbar-animated-preview.d.cts +6 -2
  3. package/dist/navbar-animated-preview.d.ts +6 -2
  4. package/dist/navbar-animated-preview.js +87 -53
  5. package/dist/navbar-centered-menu.cjs +89 -59
  6. package/dist/navbar-centered-menu.d.cts +6 -2
  7. package/dist/navbar-centered-menu.d.ts +6 -2
  8. package/dist/navbar-centered-menu.js +89 -59
  9. package/dist/navbar-dark-icons.cjs +50 -10
  10. package/dist/navbar-dark-icons.d.cts +6 -2
  11. package/dist/navbar-dark-icons.d.ts +6 -2
  12. package/dist/navbar-dark-icons.js +50 -10
  13. package/dist/navbar-dropdown-menu.cjs +89 -59
  14. package/dist/navbar-dropdown-menu.d.cts +6 -2
  15. package/dist/navbar-dropdown-menu.d.ts +6 -2
  16. package/dist/navbar-dropdown-menu.js +89 -59
  17. package/dist/navbar-education-platform.cjs +48 -10
  18. package/dist/navbar-education-platform.d.cts +6 -2
  19. package/dist/navbar-education-platform.d.ts +6 -2
  20. package/dist/navbar-education-platform.js +48 -10
  21. package/dist/navbar-enterprise-mega.cjs +50 -10
  22. package/dist/navbar-enterprise-mega.d.cts +6 -2
  23. package/dist/navbar-enterprise-mega.d.ts +6 -2
  24. package/dist/navbar-enterprise-mega.js +50 -10
  25. package/dist/navbar-feature-grid.cjs +47 -8
  26. package/dist/navbar-feature-grid.d.cts +6 -2
  27. package/dist/navbar-feature-grid.d.ts +6 -2
  28. package/dist/navbar-feature-grid.js +47 -8
  29. package/dist/navbar-floating-pill.cjs +50 -11
  30. package/dist/navbar-floating-pill.d.cts +6 -2
  31. package/dist/navbar-floating-pill.d.ts +6 -2
  32. package/dist/navbar-floating-pill.js +50 -11
  33. package/dist/navbar-fullscreen-menu.cjs +44 -5
  34. package/dist/navbar-fullscreen-menu.d.cts +6 -2
  35. package/dist/navbar-fullscreen-menu.d.ts +6 -2
  36. package/dist/navbar-fullscreen-menu.js +44 -5
  37. package/dist/navbar-icon-links.cjs +46 -8
  38. package/dist/navbar-icon-links.d.cts +6 -2
  39. package/dist/navbar-icon-links.d.ts +6 -2
  40. package/dist/navbar-icon-links.js +46 -8
  41. package/dist/navbar-image-preview.cjs +47 -8
  42. package/dist/navbar-image-preview.d.cts +6 -2
  43. package/dist/navbar-image-preview.d.ts +6 -2
  44. package/dist/navbar-image-preview.js +47 -8
  45. package/dist/navbar-mega-menu.cjs +56 -12
  46. package/dist/navbar-mega-menu.d.cts +7 -3
  47. package/dist/navbar-mega-menu.d.ts +7 -3
  48. package/dist/navbar-mega-menu.js +56 -12
  49. package/dist/navbar-multi-column-groups.cjs +47 -11
  50. package/dist/navbar-multi-column-groups.d.cts +6 -2
  51. package/dist/navbar-multi-column-groups.d.ts +6 -2
  52. package/dist/navbar-multi-column-groups.js +47 -11
  53. package/dist/navbar-platform-resources.cjs +184 -154
  54. package/dist/navbar-platform-resources.d.cts +6 -2
  55. package/dist/navbar-platform-resources.d.ts +6 -2
  56. package/dist/navbar-platform-resources.js +184 -154
  57. package/dist/navbar-search-focused.cjs +45 -7
  58. package/dist/navbar-search-focused.d.cts +6 -2
  59. package/dist/navbar-search-focused.d.ts +6 -2
  60. package/dist/navbar-search-focused.js +45 -7
  61. package/dist/navbar-sidebar-mobile.cjs +47 -8
  62. package/dist/navbar-sidebar-mobile.d.cts +6 -2
  63. package/dist/navbar-sidebar-mobile.d.ts +6 -2
  64. package/dist/navbar-sidebar-mobile.js +47 -8
  65. package/dist/navbar-simple-links.cjs +88 -59
  66. package/dist/navbar-simple-links.d.cts +6 -2
  67. package/dist/navbar-simple-links.d.ts +6 -2
  68. package/dist/navbar-simple-links.js +88 -59
  69. package/dist/navbar-split-cta.cjs +47 -8
  70. package/dist/navbar-split-cta.d.cts +6 -2
  71. package/dist/navbar-split-cta.d.ts +6 -2
  72. package/dist/navbar-split-cta.js +47 -8
  73. package/dist/navbar-sticky-compact.cjs +49 -10
  74. package/dist/navbar-sticky-compact.d.cts +6 -2
  75. package/dist/navbar-sticky-compact.d.ts +6 -2
  76. package/dist/navbar-sticky-compact.js +49 -10
  77. package/dist/navbar-tabbed-sections.cjs +47 -8
  78. package/dist/navbar-tabbed-sections.d.cts +6 -2
  79. package/dist/navbar-tabbed-sections.d.ts +6 -2
  80. package/dist/navbar-tabbed-sections.js +47 -8
  81. package/dist/navbar-transparent-overlay.cjs +47 -9
  82. package/dist/navbar-transparent-overlay.d.cts +6 -2
  83. package/dist/navbar-transparent-overlay.d.ts +6 -2
  84. package/dist/navbar-transparent-overlay.js +47 -9
  85. package/dist/registry.cjs +625 -463
  86. package/dist/registry.js +625 -463
  87. package/dist/{types-D2b35ylu.d.cts → types-COVDidbn.d.cts} +22 -1
  88. package/dist/{types-D2b35ylu.d.ts → types-COVDidbn.d.ts} +22 -1
  89. package/package.json +2 -2
package/dist/registry.cjs CHANGED
@@ -48854,7 +48854,7 @@ function NavigationMenuList({
48854
48854
  {
48855
48855
  "data-slot": "navigation-menu-list",
48856
48856
  className: cn(
48857
- "group flex flex-1 list-none items-center justify-center gap-6",
48857
+ "group flex flex-1 list-none items-center justify-center gap-2 lg:gap-4 xl:gap-6",
48858
48858
  className
48859
48859
  ),
48860
48860
  ...props
@@ -48894,8 +48894,9 @@ function NavigationMenuTrigger({
48894
48894
  /* @__PURE__ */ jsxRuntime.jsx(
48895
48895
  DynamicIcon,
48896
48896
  {
48897
+ size: 18,
48897
48898
  name: "lucide/chevron-down",
48898
- className: "relative top-[1px] ml-1 size-2 transition duration-300 group-data-[state=open]:rotate-180",
48899
+ className: "relative top-px opacity-50 transition duration-300 group-data-[state=open]:rotate-180",
48899
48900
  "aria-hidden": "true"
48900
48901
  }
48901
48902
  )
@@ -48935,7 +48936,7 @@ function NavigationMenuViewport({
48935
48936
  {
48936
48937
  "data-slot": "navigation-menu-viewport",
48937
48938
  className: cn(
48938
- "origin-top-center bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-90 relative mt-1.5 h-[var(--radix-navigation-menu-viewport-height)] w-full overflow-hidden rounded-md border shadow md:w-[var(--radix-navigation-menu-viewport-width)]",
48939
+ "origin-top-center bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-90 relative mt-1.5 h-(--radix-navigation-menu-viewport-height) w-full overflow-hidden rounded-md border border-border/50 shadow-sm md:w-(--radix-navigation-menu-viewport-width)",
48939
48940
  className
48940
48941
  ),
48941
48942
  ...props
@@ -48953,7 +48954,7 @@ function NavigationMenuLink({
48953
48954
  {
48954
48955
  "data-slot": "navigation-menu-link",
48955
48956
  className: cn(
48956
- "data-[active=true]:focus:bg-muted data-[active=true]:hover:bg-muted data-[active=true]:bg-muted/50 data-[active=true]:text-foreground hover:bg-muted hover:text-foreground focus:bg-muted focus:text-foreground focus-visible:ring-ring/50 [&_svg:not([class*='text-'])]:text-muted-foreground flex flex-col gap-1 rounded-sm p-2 text-sm transition-all outline-none focus-visible:ring-[3px] focus-visible:outline-1 [&_svg:not([class*='size-'])]:size-4",
48957
+ "group inline-flex w-max items-center justify-center rounded-md text-sm disabled:pointer-events-none disabled:opacity-50 data-[state=open]:hover:bg-muted data-[state=open]:focus:bg-muted focus-visible:ring-ring/50 outline-none transition-[color,box-shadow] focus-visible:ring-[3px] focus-visible:outline-1 group h-auto bg-transparent px-3 py-2 font-normal text-foreground/80 hover:bg-muted hover:text-foreground focus:bg-muted focus:text-foreground data-[state=open]:bg-muted/50 data-[state=open]:text-foreground",
48957
48958
  className
48958
48959
  ),
48959
48960
  ...props
@@ -49062,6 +49063,36 @@ function SheetDescription({
49062
49063
  }
49063
49064
  );
49064
49065
  }
49066
+
49067
+ // components/blocks/navbars/layout-variant-utils.ts
49068
+ function getNavbarLayoutClasses(layoutVariant = "fullScreenContainerizedLinks", customClasses) {
49069
+ const isFloatingBar = layoutVariant === "floatingBar";
49070
+ const isFullWidthLinks = layoutVariant === "fullScreenFullWidthLinks";
49071
+ return {
49072
+ // Section wrapper classes
49073
+ sectionClasses: cn(
49074
+ "inset-x-0 z-20",
49075
+ isFloatingBar ? "sticky top-4" : "top-0",
49076
+ customClasses?.className
49077
+ ),
49078
+ // Outer container wrapper (only for floating bar)
49079
+ containerWrapperClasses: cn(
49080
+ isFloatingBar && "mx-auto w-full px-2 sm:px-4 lg:px-8 max-w-7xl relative z-10"
49081
+ ),
49082
+ // Inner container classes
49083
+ innerContainerClasses: cn(
49084
+ !isFloatingBar && !isFullWidthLinks && "container",
49085
+ isFullWidthLinks && "mx-auto w-full px-2 sm:px-4 lg:px-8",
49086
+ customClasses?.containerClassName
49087
+ ),
49088
+ // Navigation wrapper classes (for border and shadow)
49089
+ navWrapperClasses: cn(
49090
+ isFloatingBar ? "border border-border/50 shadow-sm rounded-full" : "border-b border-border/50 shadow-sm"
49091
+ ),
49092
+ // Spacing adjustment for Section component
49093
+ spacingOverride: isFloatingBar ? "none" : void 0
49094
+ };
49095
+ }
49065
49096
  var SubMenuLink = ({
49066
49097
  item,
49067
49098
  optixFlowConfig
@@ -49138,6 +49169,7 @@ var NavbarDropdownMenu = ({
49138
49169
  mobileNavClassName,
49139
49170
  navigationMenuClassName,
49140
49171
  actionsClassName,
49172
+ layoutVariant = "fullScreenContainerizedLinks",
49141
49173
  background = "white",
49142
49174
  spacing = "sm",
49143
49175
  pattern,
@@ -49205,72 +49237,70 @@ var NavbarDropdownMenu = ({
49205
49237
  if (!menu || menu.length === 0) return null;
49206
49238
  return menu.map((item) => renderMobileMenuItem(item, optixFlowConfig));
49207
49239
  };
49240
+ const {
49241
+ sectionClasses,
49242
+ containerWrapperClasses,
49243
+ innerContainerClasses,
49244
+ navWrapperClasses,
49245
+ spacingOverride
49246
+ } = getNavbarLayoutClasses(layoutVariant, { className, containerClassName });
49208
49247
  return /* @__PURE__ */ jsxRuntime.jsx(
49209
49248
  Section,
49210
49249
  {
49211
49250
  background,
49212
- spacing,
49213
- className: cn(className),
49251
+ spacing: spacingOverride ?? spacing,
49252
+ className: sectionClasses,
49214
49253
  pattern,
49215
49254
  patternOpacity,
49216
- children: /* @__PURE__ */ jsxRuntime.jsxs(
49217
- "div",
49218
- {
49219
- className: cn(
49220
- "container border-b border-border/50 shadow-sm",
49221
- containerClassName
49222
- ),
49223
- children: [
49224
- /* @__PURE__ */ jsxRuntime.jsxs(
49225
- "nav",
49255
+ children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: containerWrapperClasses, children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn(innerContainerClasses, navWrapperClasses), children: [
49256
+ /* @__PURE__ */ jsxRuntime.jsxs(
49257
+ "nav",
49258
+ {
49259
+ className: cn(
49260
+ "hidden items-center justify-between lg:flex",
49261
+ desktopNavClassName
49262
+ ),
49263
+ children: [
49264
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-6", children: [
49265
+ renderLogo(),
49266
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex items-center", children: /* @__PURE__ */ jsxRuntime.jsx(NavigationMenu, { className: navigationMenuClassName, children: /* @__PURE__ */ jsxRuntime.jsx(NavigationMenuList, { children: renderMenu() }) }) })
49267
+ ] }),
49268
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("flex gap-2", actionsClassName), children: renderAuthActions() })
49269
+ ]
49270
+ }
49271
+ ),
49272
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("block lg:hidden", mobileNavClassName), children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-between", children: [
49273
+ renderLogo(),
49274
+ /* @__PURE__ */ jsxRuntime.jsxs(Sheet, { children: [
49275
+ /* @__PURE__ */ jsxRuntime.jsx(SheetTrigger, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx(
49276
+ Pressable,
49226
49277
  {
49227
- className: cn(
49228
- "hidden items-center justify-between lg:flex",
49229
- desktopNavClassName
49230
- ),
49231
- children: [
49232
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-6", children: [
49233
- renderLogo(),
49234
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex items-center", children: /* @__PURE__ */ jsxRuntime.jsx(NavigationMenu, { className: navigationMenuClassName, children: /* @__PURE__ */ jsxRuntime.jsx(NavigationMenuList, { children: renderMenu() }) }) })
49235
- ] }),
49236
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("flex gap-2", actionsClassName), children: renderAuthActions() })
49237
- ]
49278
+ variant: "outline",
49279
+ size: "icon",
49280
+ asButton: true,
49281
+ onClick: () => {
49282
+ },
49283
+ children: /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: "lucide/menu", size: 16 })
49238
49284
  }
49239
- ),
49240
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("block lg:hidden", mobileNavClassName), children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-between", children: [
49241
- renderLogo(),
49242
- /* @__PURE__ */ jsxRuntime.jsxs(Sheet, { children: [
49243
- /* @__PURE__ */ jsxRuntime.jsx(SheetTrigger, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx(
49244
- Pressable,
49285
+ ) }),
49286
+ /* @__PURE__ */ jsxRuntime.jsxs(SheetContent, { className: "overflow-y-auto", children: [
49287
+ /* @__PURE__ */ jsxRuntime.jsx(SheetHeader, { children: /* @__PURE__ */ jsxRuntime.jsx(SheetTitle, { children: renderLogo() }) }),
49288
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-6 p-4", children: [
49289
+ /* @__PURE__ */ jsxRuntime.jsx(
49290
+ Accordion,
49245
49291
  {
49246
- variant: "outline",
49247
- size: "icon",
49248
- asButton: true,
49249
- onClick: () => {
49250
- },
49251
- children: /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: "lucide/menu", size: 16 })
49292
+ type: "single",
49293
+ collapsible: true,
49294
+ className: "flex w-full flex-col gap-4",
49295
+ children: renderMobileMenu()
49252
49296
  }
49253
- ) }),
49254
- /* @__PURE__ */ jsxRuntime.jsxs(SheetContent, { className: "overflow-y-auto", children: [
49255
- /* @__PURE__ */ jsxRuntime.jsx(SheetHeader, { children: /* @__PURE__ */ jsxRuntime.jsx(SheetTitle, { children: renderLogo() }) }),
49256
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-6 p-4", children: [
49257
- /* @__PURE__ */ jsxRuntime.jsx(
49258
- Accordion,
49259
- {
49260
- type: "single",
49261
- collapsible: true,
49262
- className: "flex w-full flex-col gap-4",
49263
- children: renderMobileMenu()
49264
- }
49265
- ),
49266
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("flex flex-col gap-3", actionsClassName), children: renderAuthActions() })
49267
- ] })
49268
- ] })
49297
+ ),
49298
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("flex flex-col gap-3", actionsClassName), children: renderAuthActions() })
49269
49299
  ] })
49270
- ] }) })
49271
- ]
49272
- }
49273
- )
49300
+ ] })
49301
+ ] })
49302
+ ] }) })
49303
+ ] }) })
49274
49304
  }
49275
49305
  );
49276
49306
  };
@@ -49358,6 +49388,7 @@ var NavbarCenteredMenu = ({
49358
49388
  mobileNavClassName,
49359
49389
  navigationMenuClassName,
49360
49390
  actionsClassName,
49391
+ layoutVariant = "fullScreenContainerizedLinks",
49361
49392
  background = "white",
49362
49393
  spacing = "sm",
49363
49394
  pattern,
@@ -49425,73 +49456,71 @@ var NavbarCenteredMenu = ({
49425
49456
  if (!menu || menu.length === 0) return null;
49426
49457
  return menu.map((item) => renderMobileMenuItem2(item));
49427
49458
  };
49459
+ const {
49460
+ sectionClasses,
49461
+ containerWrapperClasses,
49462
+ innerContainerClasses,
49463
+ navWrapperClasses,
49464
+ spacingOverride
49465
+ } = getNavbarLayoutClasses(layoutVariant, { className, containerClassName });
49428
49466
  return /* @__PURE__ */ jsxRuntime.jsx(
49429
49467
  Section,
49430
49468
  {
49431
49469
  background,
49432
- spacing,
49433
- className: cn(className),
49470
+ spacing: spacingOverride ?? spacing,
49471
+ className: sectionClasses,
49434
49472
  pattern,
49435
49473
  patternOpacity,
49436
- children: /* @__PURE__ */ jsxRuntime.jsxs(
49437
- "div",
49438
- {
49439
- className: cn(
49440
- "container border-b border-border/50 shadow-sm",
49441
- containerClassName
49442
- ),
49443
- children: [
49444
- /* @__PURE__ */ jsxRuntime.jsxs(
49445
- "nav",
49474
+ children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: containerWrapperClasses, children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn(innerContainerClasses, navWrapperClasses), children: [
49475
+ /* @__PURE__ */ jsxRuntime.jsxs(
49476
+ "nav",
49477
+ {
49478
+ className: cn("hidden justify-between lg:flex", desktopNavClassName),
49479
+ children: [
49480
+ renderLogo(),
49481
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex items-center gap-6", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex items-center", children: /* @__PURE__ */ jsxRuntime.jsx(
49482
+ NavigationMenuWithoutViewport,
49483
+ {
49484
+ className: navigationMenuClassName,
49485
+ children: /* @__PURE__ */ jsxRuntime.jsx(NavigationMenuList, { className: "relative", children: renderMenu() })
49486
+ }
49487
+ ) }) }),
49488
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("flex gap-2", actionsClassName), children: renderAuthActions() })
49489
+ ]
49490
+ }
49491
+ ),
49492
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("block lg:hidden", mobileNavClassName), children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-between", children: [
49493
+ renderLogo(),
49494
+ /* @__PURE__ */ jsxRuntime.jsxs(Sheet, { children: [
49495
+ /* @__PURE__ */ jsxRuntime.jsx(SheetTrigger, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx(
49496
+ Pressable,
49446
49497
  {
49447
- className: cn("hidden justify-between lg:flex", desktopNavClassName),
49448
- children: [
49449
- renderLogo(),
49450
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex items-center gap-6", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex items-center", children: /* @__PURE__ */ jsxRuntime.jsx(
49451
- NavigationMenuWithoutViewport,
49452
- {
49453
- className: navigationMenuClassName,
49454
- children: /* @__PURE__ */ jsxRuntime.jsx(NavigationMenuList, { className: "relative", children: renderMenu() })
49455
- }
49456
- ) }) }),
49457
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("flex gap-2", actionsClassName), children: renderAuthActions() })
49458
- ]
49498
+ variant: "outline",
49499
+ size: "icon",
49500
+ asButton: true,
49501
+ onClick: () => {
49502
+ },
49503
+ children: /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: "lucide/menu", size: 16 })
49459
49504
  }
49460
- ),
49461
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("block lg:hidden", mobileNavClassName), children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-between", children: [
49462
- renderLogo(),
49463
- /* @__PURE__ */ jsxRuntime.jsxs(Sheet, { children: [
49464
- /* @__PURE__ */ jsxRuntime.jsx(SheetTrigger, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx(
49465
- Pressable,
49505
+ ) }),
49506
+ /* @__PURE__ */ jsxRuntime.jsxs(SheetContent, { className: "overflow-y-auto", children: [
49507
+ /* @__PURE__ */ jsxRuntime.jsx(SheetHeader, { children: /* @__PURE__ */ jsxRuntime.jsx(SheetTitle, { children: renderLogo() }) }),
49508
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-6 p-4", children: [
49509
+ /* @__PURE__ */ jsxRuntime.jsx(
49510
+ Accordion,
49466
49511
  {
49467
- variant: "outline",
49468
- size: "icon",
49469
- asButton: true,
49470
- onClick: () => {
49471
- },
49472
- children: /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: "lucide/menu", size: 16 })
49512
+ type: "single",
49513
+ collapsible: true,
49514
+ className: "flex w-full flex-col gap-4",
49515
+ children: renderMobileMenu()
49473
49516
  }
49474
- ) }),
49475
- /* @__PURE__ */ jsxRuntime.jsxs(SheetContent, { className: "overflow-y-auto", children: [
49476
- /* @__PURE__ */ jsxRuntime.jsx(SheetHeader, { children: /* @__PURE__ */ jsxRuntime.jsx(SheetTitle, { children: renderLogo() }) }),
49477
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-6 p-4", children: [
49478
- /* @__PURE__ */ jsxRuntime.jsx(
49479
- Accordion,
49480
- {
49481
- type: "single",
49482
- collapsible: true,
49483
- className: "flex w-full flex-col gap-4",
49484
- children: renderMobileMenu()
49485
- }
49486
- ),
49487
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("flex flex-col gap-3", actionsClassName), children: renderAuthActions() })
49488
- ] })
49489
- ] })
49517
+ ),
49518
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("flex flex-col gap-3", actionsClassName), children: renderAuthActions() })
49490
49519
  ] })
49491
- ] }) })
49492
- ]
49493
- }
49494
- )
49520
+ ] })
49521
+ ] })
49522
+ ] }) })
49523
+ ] }) })
49495
49524
  }
49496
49525
  );
49497
49526
  };
@@ -49528,8 +49557,8 @@ var DesktopMenuItem = ({
49528
49557
  if (layout === "animated-image-preview" && link.links) {
49529
49558
  return /* @__PURE__ */ jsxRuntime.jsxs(NavigationMenuItem, { children: [
49530
49559
  /* @__PURE__ */ jsxRuntime.jsx(NavigationMenuTrigger, { className: "h-auto bg-transparent px-3 py-2 font-normal text-foreground/80 hover:bg-muted hover:text-foreground focus:bg-muted focus:text-foreground data-[state=open]:bg-muted/50 data-[state=open]:text-foreground", children: link.label }),
49531
- /* @__PURE__ */ jsxRuntime.jsx(NavigationMenuContent, { className: "!rounded-2xl !p-0", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid min-h-[18.75rem] w-[45.25rem] grid-cols-[22.5rem_1fr] gap-4 p-3", children: [
49532
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "relative aspect-square w-full overflow-hidden rounded-xl", children: link.links.map((item, idx) => /* @__PURE__ */ jsxRuntime.jsx(
49560
+ /* @__PURE__ */ jsxRuntime.jsx(NavigationMenuContent, { className: "rounded-2xl! p-0!", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid min-h-75 w-181 grid-cols-[22.5rem_1fr] gap-4 p-3", children: [
49561
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "relative aspect-square w-full overflow-hidden rounded-xl shadow-xl", children: link.links.map((item, idx) => /* @__PURE__ */ jsxRuntime.jsx(
49533
49562
  img.Img,
49534
49563
  {
49535
49564
  ref: (el) => {
@@ -49558,7 +49587,7 @@ var DesktopMenuItem = ({
49558
49587
  onMouseEnter: handleMouseEnter,
49559
49588
  onMouseLeave: handleMouseLeave,
49560
49589
  children: /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
49561
- /* @__PURE__ */ jsxRuntime.jsx("h3", { className: "text-sm leading-normal font-medium", children: item.label }),
49590
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-sm font-medium", children: item.label }),
49562
49591
  item.description && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-xs leading-normal text-muted-foreground", children: item.description })
49563
49592
  ] })
49564
49593
  }
@@ -49686,6 +49715,7 @@ var NavbarMegaMenu = ({
49686
49715
  logoSlot,
49687
49716
  menuLinks,
49688
49717
  actions,
49718
+ layoutVariant = "fullScreenContainerizedLinks",
49689
49719
  background = "white",
49690
49720
  spacing = "none",
49691
49721
  pattern,
@@ -49745,15 +49775,27 @@ var NavbarMegaMenu = ({
49745
49775
  ] }) }, index);
49746
49776
  });
49747
49777
  };
49778
+ const {
49779
+ sectionClasses,
49780
+ containerWrapperClasses,
49781
+ innerContainerClasses,
49782
+ navWrapperClasses: baseNavWrapperClasses,
49783
+ spacingOverride
49784
+ } = getNavbarLayoutClasses(layoutVariant, { className, containerClassName });
49785
+ const navWrapperClasses = cn(
49786
+ "flex w-full items-center justify-between gap-12 py-4",
49787
+ baseNavWrapperClasses,
49788
+ layoutVariant === "floatingBar" && "pr-4 pl-8"
49789
+ );
49748
49790
  return /* @__PURE__ */ jsxRuntime.jsx(
49749
49791
  Section,
49750
49792
  {
49751
49793
  background,
49752
- spacing,
49753
- className: cn("inset-x-0 top-0 z-20", className),
49794
+ spacing: spacingOverride ?? spacing,
49795
+ className: sectionClasses,
49754
49796
  pattern,
49755
49797
  patternOpacity,
49756
- children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("container", containerClassName), children: /* @__PURE__ */ jsxRuntime.jsxs(
49798
+ children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: containerWrapperClasses, children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: innerContainerClasses, children: /* @__PURE__ */ jsxRuntime.jsxs(
49757
49799
  NavigationMenu,
49758
49800
  {
49759
49801
  className: cn(
@@ -49761,7 +49803,7 @@ var NavbarMegaMenu = ({
49761
49803
  navClassName
49762
49804
  ),
49763
49805
  children: [
49764
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex w-full items-center justify-between gap-12 border-b border-border/50 py-4 shadow-sm", children: [
49806
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: navWrapperClasses, children: [
49765
49807
  /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
49766
49808
  (!open || submenuIndex === null) && renderLogo(),
49767
49809
  open && submenuIndex !== null && /* @__PURE__ */ jsxRuntime.jsxs(
@@ -49906,7 +49948,7 @@ var NavbarMegaMenu = ({
49906
49948
  )
49907
49949
  ]
49908
49950
  }
49909
- ) })
49951
+ ) }) })
49910
49952
  }
49911
49953
  );
49912
49954
  };
@@ -49926,6 +49968,7 @@ var NavbarEnterpriseMega = ({
49926
49968
  menuLinks,
49927
49969
  actions,
49928
49970
  actionsSlot,
49971
+ layoutVariant = "fullScreenContainerizedLinks",
49929
49972
  background = "white",
49930
49973
  spacing = "none",
49931
49974
  pattern,
@@ -49994,23 +50037,31 @@ var NavbarEnterpriseMega = ({
49994
50037
  ] }) }, index);
49995
50038
  });
49996
50039
  };
50040
+ const {
50041
+ sectionClasses,
50042
+ containerWrapperClasses,
50043
+ innerContainerClasses,
50044
+ navWrapperClasses,
50045
+ spacingOverride
50046
+ } = getNavbarLayoutClasses(layoutVariant, { className, containerClassName });
49997
50047
  return /* @__PURE__ */ jsxRuntime.jsxs(React13.Fragment, { children: [
49998
50048
  /* @__PURE__ */ jsxRuntime.jsx(
49999
50049
  Section,
50000
50050
  {
50001
50051
  background,
50002
- spacing,
50052
+ spacing: spacingOverride ?? spacing,
50003
50053
  className: cn(
50004
- "pointer-events-auto fixed top-0 z-999 flex w-full items-center justify-center border-b border-border/50 shadow-sm",
50005
- className
50054
+ "pointer-events-auto fixed top-0 z-999 flex w-full items-center justify-center",
50055
+ sectionClasses
50006
50056
  ),
50007
50057
  pattern,
50008
50058
  patternOpacity,
50009
- children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("container", containerClassName), children: /* @__PURE__ */ jsxRuntime.jsxs(
50010
- "div",
50059
+ children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: containerWrapperClasses, children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: innerContainerClasses, children: /* @__PURE__ */ jsxRuntime.jsxs(
50060
+ "nav",
50011
50061
  {
50012
50062
  className: cn(
50013
50063
  "flex h-16 items-center justify-between gap-8",
50064
+ navWrapperClasses,
50014
50065
  navClassName
50015
50066
  ),
50016
50067
  children: [
@@ -50061,7 +50112,7 @@ var NavbarEnterpriseMega = ({
50061
50112
  ] })
50062
50113
  ]
50063
50114
  }
50064
- ) })
50115
+ ) }) })
50065
50116
  }
50066
50117
  ),
50067
50118
  /* @__PURE__ */ jsxRuntime.jsx(
@@ -50739,6 +50790,7 @@ var NavbarFeatureGrid = ({
50739
50790
  features,
50740
50791
  authActions,
50741
50792
  authActionsSlot,
50793
+ layoutVariant = "fullScreenContainerizedLinks",
50742
50794
  background = "white",
50743
50795
  spacing = "sm",
50744
50796
  pattern,
@@ -50787,15 +50839,22 @@ var NavbarFeatureGrid = ({
50787
50839
  ] }) }, index);
50788
50840
  });
50789
50841
  };
50842
+ const {
50843
+ sectionClasses,
50844
+ containerWrapperClasses,
50845
+ innerContainerClasses,
50846
+ navWrapperClasses,
50847
+ spacingOverride
50848
+ } = getNavbarLayoutClasses(layoutVariant, { className, containerClassName });
50790
50849
  return /* @__PURE__ */ jsxRuntime.jsx(
50791
50850
  Section,
50792
50851
  {
50793
50852
  background,
50794
- spacing,
50795
- className: cn(className),
50853
+ spacing: spacingOverride ?? spacing,
50854
+ className: sectionClasses,
50796
50855
  pattern,
50797
50856
  patternOpacity,
50798
- children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("container", containerClassName), children: /* @__PURE__ */ jsxRuntime.jsxs("nav", { className: cn("flex items-center justify-between", navClassName), children: [
50857
+ children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: containerWrapperClasses, children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: innerContainerClasses, children: /* @__PURE__ */ jsxRuntime.jsxs("nav", { className: cn("flex items-center justify-between", navWrapperClasses, navClassName), children: [
50799
50858
  renderLogo(),
50800
50859
  /* @__PURE__ */ jsxRuntime.jsx(
50801
50860
  NavigationMenu,
@@ -50899,7 +50958,7 @@ var NavbarFeatureGrid = ({
50899
50958
  ] })
50900
50959
  ] })
50901
50960
  ] })
50902
- ] }) })
50961
+ ] }) }) })
50903
50962
  }
50904
50963
  );
50905
50964
  };
@@ -50919,6 +50978,7 @@ var NavbarFloatingPill = ({
50919
50978
  pillWrapperClassName,
50920
50979
  navigationMenuClassName,
50921
50980
  actionsClassName,
50981
+ layoutVariant = "fullScreenContainerizedLinks",
50922
50982
  background = "white",
50923
50983
  spacing = "none",
50924
50984
  pattern,
@@ -50983,20 +51043,27 @@ var NavbarFloatingPill = ({
50983
51043
  if (!items || items.length === 0) return null;
50984
51044
  return items;
50985
51045
  };
51046
+ const {
51047
+ sectionClasses,
51048
+ containerWrapperClasses,
51049
+ innerContainerClasses,
51050
+ navWrapperClasses,
51051
+ spacingOverride
51052
+ } = getNavbarLayoutClasses(layoutVariant, { className, containerClassName });
50986
51053
  return /* @__PURE__ */ jsxRuntime.jsx(
50987
51054
  Section,
50988
51055
  {
50989
51056
  background,
50990
- spacing,
50991
- className: cn(className),
51057
+ spacing: spacingOverride ?? spacing,
51058
+ className: sectionClasses,
50992
51059
  pattern,
50993
51060
  patternOpacity,
50994
- children: /* @__PURE__ */ jsxRuntime.jsxs(
50995
- "div",
51061
+ children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: containerWrapperClasses, children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: innerContainerClasses, children: /* @__PURE__ */ jsxRuntime.jsxs(
51062
+ "nav",
50996
51063
  {
50997
51064
  className: cn(
50998
- "absolute top-5 left-1/2 z-50 w-[min(90%,700px)] -translate-x-1/2 rounded-full border bg-background/70 backdrop-blur-md lg:top-12",
50999
- containerClassName
51065
+ "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",
51066
+ navWrapperClasses
51000
51067
  ),
51001
51068
  children: [
51002
51069
  /* @__PURE__ */ jsxRuntime.jsxs(
@@ -51152,7 +51219,7 @@ var NavbarFloatingPill = ({
51152
51219
  )
51153
51220
  ]
51154
51221
  }
51155
- )
51222
+ ) }) })
51156
51223
  }
51157
51224
  );
51158
51225
  };
@@ -51171,6 +51238,7 @@ var NavbarPlatformResources = ({
51171
51238
  logoSlot,
51172
51239
  menuLinks,
51173
51240
  actions,
51241
+ layoutVariant = "fullScreenContainerizedLinks",
51174
51242
  background = "white",
51175
51243
  spacing = "none",
51176
51244
  pattern,
@@ -51462,173 +51530,171 @@ var NavbarPlatformResources = ({
51462
51530
  ] }) }, index);
51463
51531
  });
51464
51532
  };
51533
+ const {
51534
+ sectionClasses,
51535
+ containerWrapperClasses,
51536
+ innerContainerClasses,
51537
+ navWrapperClasses,
51538
+ spacingOverride
51539
+ } = getNavbarLayoutClasses(layoutVariant, { className, containerClassName });
51465
51540
  return /* @__PURE__ */ jsxRuntime.jsx(
51466
51541
  Section,
51467
51542
  {
51468
51543
  background,
51469
- spacing,
51470
- className: cn("inset-x-0 top-0 z-20", className),
51544
+ spacing: spacingOverride ?? spacing,
51545
+ className: sectionClasses,
51471
51546
  pattern,
51472
51547
  patternOpacity,
51473
- children: /* @__PURE__ */ jsxRuntime.jsx(
51474
- "div",
51475
- {
51476
- className: cn(
51477
- "container px-4 sm:px-6 md:px-8 lg:px-40 xl:px-52",
51478
- containerClassName
51479
- ),
51480
- children: /* @__PURE__ */ jsxRuntime.jsxs(NavigationMenu, { className: cn("min-w-full", navigationMenuClassName), children: [
51481
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex w-full items-center justify-between gap-12 py-4", children: [
51482
- renderLogo(),
51483
- /* @__PURE__ */ jsxRuntime.jsx(
51484
- NavigationMenuList,
51485
- {
51486
- className: cn("hidden lg:flex", navigationMenuListClassName),
51487
- children: menuLinks?.map((link, index) => {
51488
- if (hasDropdownItems(link)) {
51489
- return /* @__PURE__ */ jsxRuntime.jsxs(
51490
- NavigationMenuItem,
51491
- {
51492
- children: [
51493
- /* @__PURE__ */ jsxRuntime.jsx(NavigationMenuTrigger, { className: "h-auto bg-transparent px-0 py-0 font-normal text-foreground/60 hover:bg-transparent hover:text-foreground focus:bg-transparent focus:text-foreground data-[state=open]:bg-transparent data-[state=open]:text-foreground", children: link.label }),
51494
- renderDropdownContent3(link)
51495
- ]
51496
- },
51497
- `${typeof link.label === "string" ? link.label : "menu"}-${index}`
51498
- );
51499
- }
51500
- if (!link.href) {
51501
- return null;
51502
- }
51503
- return /* @__PURE__ */ jsxRuntime.jsx(
51504
- NavigationMenuItem,
51505
- {
51506
- children: /* @__PURE__ */ jsxRuntime.jsx(
51507
- NavigationMenuLink,
51508
- {
51509
- href: link.href,
51510
- className: "group inline-flex h-10 w-max items-center justify-center rounded-md bg-background px-4 py-2 text-sm font-medium transition-colors hover:bg-muted hover:text-accent-foreground",
51511
- children: link.label
51512
- }
51513
- )
51514
- },
51515
- `${typeof link.label === "string" ? link.label : "menu"}-${index}`
51516
- );
51517
- })
51548
+ children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: containerWrapperClasses, children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn(innerContainerClasses, navWrapperClasses), children: /* @__PURE__ */ jsxRuntime.jsxs(NavigationMenu, { className: cn("min-w-full", navigationMenuClassName), children: [
51549
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex w-full items-center justify-between gap-12 py-4", children: [
51550
+ renderLogo(),
51551
+ /* @__PURE__ */ jsxRuntime.jsx(
51552
+ NavigationMenuList,
51553
+ {
51554
+ className: cn("hidden lg:flex", navigationMenuListClassName),
51555
+ children: menuLinks?.map((link, index) => {
51556
+ if (hasDropdownItems(link)) {
51557
+ return /* @__PURE__ */ jsxRuntime.jsxs(
51558
+ NavigationMenuItem,
51559
+ {
51560
+ children: [
51561
+ /* @__PURE__ */ jsxRuntime.jsx(NavigationMenuTrigger, { className: "h-auto bg-transparent px-0 py-0 font-normal text-foreground/60 hover:bg-transparent hover:text-foreground focus:bg-transparent focus:text-foreground data-[state=open]:bg-transparent data-[state=open]:text-foreground", children: link.label }),
51562
+ renderDropdownContent3(link)
51563
+ ]
51564
+ },
51565
+ `${typeof link.label === "string" ? link.label : "menu"}-${index}`
51566
+ );
51518
51567
  }
51519
- ),
51520
- /* @__PURE__ */ jsxRuntime.jsx(
51521
- "div",
51522
- {
51523
- className: cn(
51524
- "hidden items-center gap-4 lg:flex",
51525
- actionsClassName
51526
- ),
51527
- children: renderActions()
51568
+ if (!link.href) {
51569
+ return null;
51528
51570
  }
51571
+ return /* @__PURE__ */ jsxRuntime.jsx(
51572
+ NavigationMenuItem,
51573
+ {
51574
+ children: /* @__PURE__ */ jsxRuntime.jsx(
51575
+ NavigationMenuLink,
51576
+ {
51577
+ href: link.href,
51578
+ className: "group inline-flex h-10 w-max items-center justify-center rounded-md bg-background px-4 py-2 text-sm font-medium transition-colors hover:bg-muted hover:text-accent-foreground",
51579
+ children: link.label
51580
+ }
51581
+ )
51582
+ },
51583
+ `${typeof link.label === "string" ? link.label : "menu"}-${index}`
51584
+ );
51585
+ })
51586
+ }
51587
+ ),
51588
+ /* @__PURE__ */ jsxRuntime.jsx(
51589
+ "div",
51590
+ {
51591
+ className: cn(
51592
+ "hidden items-center gap-4 lg:flex",
51593
+ actionsClassName
51529
51594
  ),
51530
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex items-center gap-4 lg:hidden", children: /* @__PURE__ */ jsxRuntime.jsxs(
51531
- Pressable,
51532
- {
51533
- variant: "outline",
51534
- size: "icon",
51535
- asButton: true,
51536
- "aria-label": "Main Menu",
51537
- onClick: () => setOpen(!open),
51538
- children: [
51539
- !open && /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: "lucide/menu", size: 16 }),
51540
- open && /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: "lucide/x", size: 16 })
51541
- ]
51542
- }
51543
- ) })
51544
- ] }),
51545
- open && /* @__PURE__ */ jsxRuntime.jsxs(
51546
- "div",
51547
- {
51548
- className: cn(
51549
- "absolute inset-0 top-[72px] flex h-[calc(100vh-72px)] w-full flex-col overflow-scroll border-t border-border bg-background lg:hidden",
51550
- mobileMenuClassName
51551
- ),
51552
- children: [
51553
- /* @__PURE__ */ jsxRuntime.jsx(Accordion, { type: "single", collapsible: true, className: "w-full", children: menuLinks?.map((link, index) => {
51554
- if (hasDropdownItems(link)) {
51555
- return /* @__PURE__ */ jsxRuntime.jsxs(
51556
- AccordionItem,
51557
- {
51558
- value: `menu-${index}`,
51559
- className: "border-b-2 border-dashed",
51560
- children: [
51561
- /* @__PURE__ */ jsxRuntime.jsx(AccordionTrigger, { className: "px-2 py-4 text-left hover:no-underline", children: link.label }),
51562
- /* @__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(
51563
- Pressable,
51564
- {
51565
- href: getLinkUrl(item),
51566
- className: "group flex items-start gap-4 rounded-lg p-2 hover:bg-muted",
51567
- children: [
51568
- item.image && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-10 w-10 overflow-hidden rounded-md border border-border", children: /* @__PURE__ */ jsxRuntime.jsx(
51569
- img.Img,
51570
- {
51571
- src: item.image,
51572
- alt: typeof item.label === "string" ? item.label : "Menu item",
51573
- className: "h-full w-full object-cover object-center",
51574
- optixFlowConfig
51575
- }
51576
- ) }),
51577
- !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(
51578
- DynamicIcon,
51579
- {
51580
- name: item.iconName,
51581
- size: 16
51582
- }
51583
- ) : null }),
51584
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex-1", children: [
51585
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-sm font-medium text-foreground", children: item.label }),
51586
- item.description && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-xs text-muted-foreground", children: item.description })
51587
- ] })
51588
- ]
51589
- },
51590
- `${typeof item.label === "string" ? item.label : "item"}-${itemIndex}`
51591
- )) }) })
51592
- ]
51593
- },
51594
- `${typeof link.label === "string" ? link.label : "menu"}-${index}`
51595
- );
51596
- }
51597
- if (!link.href) {
51598
- return null;
51599
- }
51600
- return /* @__PURE__ */ jsxRuntime.jsx(
51601
- "div",
51595
+ children: renderActions()
51596
+ }
51597
+ ),
51598
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex items-center gap-4 lg:hidden", children: /* @__PURE__ */ jsxRuntime.jsxs(
51599
+ Pressable,
51600
+ {
51601
+ variant: "outline",
51602
+ size: "icon",
51603
+ asButton: true,
51604
+ "aria-label": "Main Menu",
51605
+ onClick: () => setOpen(!open),
51606
+ children: [
51607
+ !open && /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: "lucide/menu", size: 16 }),
51608
+ open && /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: "lucide/x", size: 16 })
51609
+ ]
51610
+ }
51611
+ ) })
51612
+ ] }),
51613
+ open && /* @__PURE__ */ jsxRuntime.jsxs(
51614
+ "div",
51615
+ {
51616
+ className: cn(
51617
+ "absolute inset-0 top-[72px] flex h-[calc(100vh-72px)] w-full flex-col overflow-scroll border-t border-border bg-background lg:hidden",
51618
+ mobileMenuClassName
51619
+ ),
51620
+ children: [
51621
+ /* @__PURE__ */ jsxRuntime.jsx(Accordion, { type: "single", collapsible: true, className: "w-full", children: menuLinks?.map((link, index) => {
51622
+ if (hasDropdownItems(link)) {
51623
+ return /* @__PURE__ */ jsxRuntime.jsxs(
51624
+ AccordionItem,
51625
+ {
51626
+ value: `menu-${index}`,
51627
+ className: "border-b-2 border-dashed",
51628
+ children: [
51629
+ /* @__PURE__ */ jsxRuntime.jsx(AccordionTrigger, { className: "px-2 py-4 text-left hover:no-underline", children: link.label }),
51630
+ /* @__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(
51631
+ Pressable,
51632
+ {
51633
+ href: getLinkUrl(item),
51634
+ className: "group flex items-start gap-4 rounded-lg p-2 hover:bg-muted",
51635
+ children: [
51636
+ item.image && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-10 w-10 overflow-hidden rounded-md border border-border", children: /* @__PURE__ */ jsxRuntime.jsx(
51637
+ img.Img,
51638
+ {
51639
+ src: item.image,
51640
+ alt: typeof item.label === "string" ? item.label : "Menu item",
51641
+ className: "h-full w-full object-cover object-center",
51642
+ optixFlowConfig
51643
+ }
51644
+ ) }),
51645
+ !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(
51646
+ DynamicIcon,
51647
+ {
51648
+ name: item.iconName,
51649
+ size: 16
51650
+ }
51651
+ ) : null }),
51652
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex-1", children: [
51653
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-sm font-medium text-foreground", children: item.label }),
51654
+ item.description && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-xs text-muted-foreground", children: item.description })
51655
+ ] })
51656
+ ]
51657
+ },
51658
+ `${typeof item.label === "string" ? item.label : "item"}-${itemIndex}`
51659
+ )) }) })
51660
+ ]
51661
+ },
51662
+ `${typeof link.label === "string" ? link.label : "menu"}-${index}`
51663
+ );
51664
+ }
51665
+ if (!link.href) {
51666
+ return null;
51667
+ }
51668
+ return /* @__PURE__ */ jsxRuntime.jsx(
51669
+ "div",
51670
+ {
51671
+ className: "border-b-2 border-dashed",
51672
+ children: /* @__PURE__ */ jsxRuntime.jsx(
51673
+ Pressable,
51602
51674
  {
51603
- className: "border-b-2 border-dashed",
51604
- children: /* @__PURE__ */ jsxRuntime.jsx(
51605
- Pressable,
51606
- {
51607
- href: link.href,
51608
- className: "flex w-full items-center px-2 py-4 text-left text-sm font-medium",
51609
- children: link.label
51610
- }
51611
- )
51612
- },
51613
- `${typeof link.label === "string" ? link.label : "menu"}-${index}`
51614
- );
51615
- }) }),
51616
- /* @__PURE__ */ jsxRuntime.jsx(
51617
- "div",
51618
- {
51619
- className: cn(
51620
- "mx-8 mt-auto flex flex-col gap-4 py-12",
51621
- actionsClassName
51622
- ),
51623
- children: renderActions()
51624
- }
51625
- )
51626
- ]
51627
- }
51628
- )
51629
- ] })
51630
- }
51631
- )
51675
+ href: link.href,
51676
+ className: "flex w-full items-center px-2 py-4 text-left text-sm font-medium",
51677
+ children: link.label
51678
+ }
51679
+ )
51680
+ },
51681
+ `${typeof link.label === "string" ? link.label : "menu"}-${index}`
51682
+ );
51683
+ }) }),
51684
+ /* @__PURE__ */ jsxRuntime.jsx(
51685
+ "div",
51686
+ {
51687
+ className: cn(
51688
+ "mx-8 mt-auto flex flex-col gap-4 py-12",
51689
+ actionsClassName
51690
+ ),
51691
+ children: renderActions()
51692
+ }
51693
+ )
51694
+ ]
51695
+ }
51696
+ )
51697
+ ] }) }) })
51632
51698
  }
51633
51699
  );
51634
51700
  };
@@ -51653,6 +51719,7 @@ var NavbarImagePreview = ({
51653
51719
  authActionsSlot,
51654
51720
  socialLinks,
51655
51721
  socialLinksSlot,
51722
+ layoutVariant = "fullScreenContainerizedLinks",
51656
51723
  background = "white",
51657
51724
  spacing = "none",
51658
51725
  pattern,
@@ -51761,12 +51828,19 @@ var NavbarImagePreview = ({
51761
51828
  );
51762
51829
  });
51763
51830
  };
51831
+ const {
51832
+ sectionClasses,
51833
+ containerWrapperClasses,
51834
+ innerContainerClasses,
51835
+ navWrapperClasses,
51836
+ spacingOverride
51837
+ } = getNavbarLayoutClasses(layoutVariant, { className, containerClassName });
51764
51838
  return /* @__PURE__ */ jsxRuntime.jsxs(
51765
51839
  Section,
51766
51840
  {
51767
51841
  background,
51768
- spacing,
51769
- className: cn("", className),
51842
+ spacing: spacingOverride ?? spacing,
51843
+ className: sectionClasses,
51770
51844
  pattern,
51771
51845
  patternOpacity,
51772
51846
  children: [
@@ -51775,10 +51849,10 @@ var NavbarImagePreview = ({
51775
51849
  {
51776
51850
  className: cn(
51777
51851
  "fixed top-0 z-500 w-full bg-transparent transition-colors duration-500",
51778
- containerClassName
51852
+ containerWrapperClasses
51779
51853
  ),
51780
51854
  ref: navRef,
51781
- children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "container border-b border-border/50 shadow-sm", children: /* @__PURE__ */ jsxRuntime.jsxs(
51855
+ children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn(innerContainerClasses, navWrapperClasses), children: /* @__PURE__ */ jsxRuntime.jsxs(
51782
51856
  "div",
51783
51857
  {
51784
51858
  className: cn(
@@ -52036,6 +52110,7 @@ var NavbarDarkIcons = ({
52036
52110
  authActionsSlot,
52037
52111
  githubUrl = "https://github.com/opensite-ai/opensite-ui",
52038
52112
  githubSlot,
52113
+ layoutVariant = "fullScreenContainerizedLinks",
52039
52114
  background = "white",
52040
52115
  spacing = "none",
52041
52116
  pattern,
@@ -52135,20 +52210,28 @@ var NavbarDarkIcons = ({
52135
52210
  if (!githubUrl) return null;
52136
52211
  return /* @__PURE__ */ jsxRuntime.jsx(GithubStars, { repoUrl: githubUrl });
52137
52212
  };
52213
+ const {
52214
+ sectionClasses,
52215
+ containerWrapperClasses,
52216
+ innerContainerClasses,
52217
+ navWrapperClasses,
52218
+ spacingOverride
52219
+ } = getNavbarLayoutClasses(layoutVariant, { className, containerClassName });
52138
52220
  return /* @__PURE__ */ jsxRuntime.jsxs(
52139
52221
  Section,
52140
52222
  {
52141
52223
  background,
52142
- spacing,
52143
- className: cn("dark pointer-events-auto relative z-999", className),
52224
+ spacing: spacingOverride ?? spacing,
52225
+ className: cn("dark pointer-events-auto relative z-999", sectionClasses),
52144
52226
  pattern,
52145
52227
  patternOpacity,
52146
52228
  children: [
52147
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("container h-16", containerClassName), children: /* @__PURE__ */ jsxRuntime.jsxs(
52148
- "div",
52229
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: containerWrapperClasses, children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: innerContainerClasses, children: /* @__PURE__ */ jsxRuntime.jsxs(
52230
+ "nav",
52149
52231
  {
52150
52232
  className: cn(
52151
- "flex h-full items-center justify-between",
52233
+ "flex h-16 items-center justify-between",
52234
+ navWrapperClasses,
52152
52235
  navClassName
52153
52236
  ),
52154
52237
  children: [
@@ -52191,7 +52274,7 @@ var NavbarDarkIcons = ({
52191
52274
  ] })
52192
52275
  ]
52193
52276
  }
52194
- ) }),
52277
+ ) }) }),
52195
52278
  /* @__PURE__ */ jsxRuntime.jsx(
52196
52279
  MobileNavigationMenu3,
52197
52280
  {
@@ -52387,6 +52470,7 @@ var NavbarAnimatedPreview = ({
52387
52470
  navigationSlot,
52388
52471
  actions,
52389
52472
  actionsSlot,
52473
+ layoutVariant = "fullScreenContainerizedLinks",
52390
52474
  background = "white",
52391
52475
  spacing = "none",
52392
52476
  pattern,
@@ -52482,68 +52566,70 @@ var NavbarAnimatedPreview = ({
52482
52566
  `desktop-link-${index}`
52483
52567
  )) });
52484
52568
  };
52485
- return /* @__PURE__ */ jsxRuntime.jsxs(
52569
+ const {
52570
+ sectionClasses,
52571
+ containerWrapperClasses,
52572
+ innerContainerClasses,
52573
+ navWrapperClasses: baseNavWrapperClasses,
52574
+ spacingOverride
52575
+ } = getNavbarLayoutClasses(layoutVariant, { className, containerClassName });
52576
+ const navWrapperClasses = cn(
52577
+ "h-20 max-w-full after:absolute after:inset-0 after:z-998 after:block after:size-full after:bg-background after:content-[''] [&>div:last-child>div]:mt-0 [&>div:last-child>div]:animate-none [&>div:last-child>div]:rounded-none [&>div:last-child>div]:border-0 [&>div:last-child>div]:shadow-[0px_-1px_0px_0px_rgba(0,0,0,0.05),0px_0px_0px_1px_rgba(17,26,37,0.05),0px_2px_5px_0px_rgba(16,25,36,0.1),0px_5px_20px_0px_rgba(16,25,36,0.1)]!",
52578
+ baseNavWrapperClasses,
52579
+ navigationMenuClassName
52580
+ );
52581
+ return /* @__PURE__ */ jsxRuntime.jsx(
52486
52582
  Section,
52487
52583
  {
52488
52584
  background,
52489
- spacing,
52585
+ spacing: spacingOverride ?? spacing,
52490
52586
  className: cn(
52491
52587
  "pointer-events-auto fixed top-0 z-999 flex w-full items-center justify-center",
52492
- className
52588
+ sectionClasses
52493
52589
  ),
52494
52590
  pattern,
52495
52591
  patternOpacity,
52496
- children: [
52497
- /* @__PURE__ */ jsxRuntime.jsx(
52498
- NavigationMenu,
52592
+ children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: containerWrapperClasses, children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: innerContainerClasses, children: [
52593
+ /* @__PURE__ */ jsxRuntime.jsx(NavigationMenu, { className: navWrapperClasses, children: /* @__PURE__ */ jsxRuntime.jsxs(
52594
+ "div",
52499
52595
  {
52500
52596
  className: cn(
52501
- "h-20 max-w-full border-b border-border/50 shadow-sm after:absolute after:inset-0 after:z-998 after:block after:size-full after:bg-background after:content-[''] [&>div:last-child>div]:mt-0 [&>div:last-child>div]:animate-none [&>div:last-child>div]:rounded-none [&>div:last-child>div]:border-0 [&>div:last-child>div]:shadow-[0px_-1px_0px_0px_rgba(0,0,0,0.05),0px_0px_0px_1px_rgba(17,26,37,0.05),0px_2px_5px_0px_rgba(16,25,36,0.1),0px_5px_20px_0px_rgba(16,25,36,0.1)]!",
52502
- navigationMenuClassName
52597
+ "relative z-999 grid w-full grid-cols-2 items-center justify-between gap-8 xl:grid-cols-3"
52503
52598
  ),
52504
- children: /* @__PURE__ */ jsxRuntime.jsxs(
52505
- "div",
52506
- {
52507
- className: cn(
52508
- "relative z-999 container grid w-full grid-cols-2 items-center justify-between gap-8 xl:grid-cols-3",
52509
- containerClassName
52510
- ),
52511
- children: [
52512
- renderLogo(),
52513
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("hidden xl:flex", navClassName), children: renderNavigation() }),
52514
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("justify-self-end", actionsClassName), children: [
52515
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "hidden xl:block", children: renderActions() }),
52516
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "xl:hidden", children: /* @__PURE__ */ jsxRuntime.jsx(
52517
- Pressable,
52599
+ children: [
52600
+ renderLogo(),
52601
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("hidden xl:flex", navClassName), children: renderNavigation() }),
52602
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("justify-self-end", actionsClassName), children: [
52603
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "hidden xl:block", children: renderActions() }),
52604
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "xl:hidden", children: /* @__PURE__ */ jsxRuntime.jsx(
52605
+ Pressable,
52606
+ {
52607
+ className: "size-11",
52608
+ variant: "ghost",
52609
+ size: "icon",
52610
+ asButton: true,
52611
+ onClick: handleMobileMenu,
52612
+ children: open ? /* @__PURE__ */ jsxRuntime.jsx(
52613
+ DynamicIcon,
52518
52614
  {
52519
- className: "size-11",
52520
- variant: "ghost",
52521
- size: "icon",
52522
- asButton: true,
52523
- onClick: handleMobileMenu,
52524
- children: open ? /* @__PURE__ */ jsxRuntime.jsx(
52525
- DynamicIcon,
52526
- {
52527
- name: "lucide/x",
52528
- size: 22,
52529
- className: "stroke-foreground"
52530
- }
52531
- ) : /* @__PURE__ */ jsxRuntime.jsx(
52532
- DynamicIcon,
52533
- {
52534
- name: "lucide/menu",
52535
- size: 22,
52536
- className: "stroke-foreground"
52537
- }
52538
- )
52615
+ name: "lucide/x",
52616
+ size: 22,
52617
+ className: "stroke-foreground"
52539
52618
  }
52540
- ) })
52541
- ] })
52542
- ]
52543
- }
52544
- )
52619
+ ) : /* @__PURE__ */ jsxRuntime.jsx(
52620
+ DynamicIcon,
52621
+ {
52622
+ name: "lucide/menu",
52623
+ size: 22,
52624
+ className: "stroke-foreground"
52625
+ }
52626
+ )
52627
+ }
52628
+ ) })
52629
+ ] })
52630
+ ]
52545
52631
  }
52546
- ),
52632
+ ) }),
52547
52633
  /* @__PURE__ */ jsxRuntime.jsx(
52548
52634
  MobileNavigationMenu4,
52549
52635
  {
@@ -52553,7 +52639,7 @@ var NavbarAnimatedPreview = ({
52553
52639
  actionsSlot
52554
52640
  }
52555
52641
  )
52556
- ]
52642
+ ] }) })
52557
52643
  }
52558
52644
  );
52559
52645
  };
@@ -52942,6 +53028,7 @@ var NavbarMultiColumnGroups = ({
52942
53028
  authActionsSlot,
52943
53029
  mobileAuthActions,
52944
53030
  mobileAuthActionsSlot,
53031
+ layoutVariant = "fullScreenContainerizedLinks",
52945
53032
  background = "white",
52946
53033
  spacing = "none",
52947
53034
  pattern,
@@ -53036,19 +53123,23 @@ var NavbarMultiColumnGroups = ({
53036
53123
  );
53037
53124
  });
53038
53125
  };
53126
+ const {
53127
+ sectionClasses,
53128
+ containerWrapperClasses,
53129
+ innerContainerClasses,
53130
+ navWrapperClasses,
53131
+ spacingOverride
53132
+ } = getNavbarLayoutClasses(layoutVariant, { className, containerClassName });
53039
53133
  return /* @__PURE__ */ jsxRuntime.jsxs(
53040
53134
  Section,
53041
53135
  {
53042
53136
  background,
53043
- spacing,
53044
- className: cn(
53045
- "pointer-events-auto fixed top-0 z-999 flex h-16 w-full items-center justify-center",
53046
- className
53047
- ),
53137
+ spacing: spacingOverride ?? spacing,
53138
+ className: sectionClasses,
53048
53139
  pattern,
53049
53140
  patternOpacity,
53050
53141
  children: [
53051
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("container", containerClassName), children: /* @__PURE__ */ jsxRuntime.jsxs(
53142
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: containerWrapperClasses, children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn(innerContainerClasses, navWrapperClasses), children: /* @__PURE__ */ jsxRuntime.jsxs(
53052
53143
  "div",
53053
53144
  {
53054
53145
  className: cn(
@@ -53103,7 +53194,7 @@ var NavbarMultiColumnGroups = ({
53103
53194
  ) })
53104
53195
  ]
53105
53196
  }
53106
- ) }),
53197
+ ) }) }),
53107
53198
  /* @__PURE__ */ jsxRuntime.jsx(
53108
53199
  MobileNavigationMenu5,
53109
53200
  {
@@ -53271,6 +53362,7 @@ var NavbarSidebarMobile = ({
53271
53362
  navClassName,
53272
53363
  navigationMenuClassName,
53273
53364
  actionsClassName,
53365
+ layoutVariant = "fullScreenContainerizedLinks",
53274
53366
  background = "white",
53275
53367
  spacing = "none",
53276
53368
  pattern,
@@ -53339,15 +53431,22 @@ var NavbarSidebarMobile = ({
53339
53431
  if (!mobileExtraLinks || mobileExtraLinks.length === 0) return null;
53340
53432
  return mobileExtraLinks;
53341
53433
  };
53434
+ const {
53435
+ sectionClasses,
53436
+ containerWrapperClasses,
53437
+ innerContainerClasses,
53438
+ navWrapperClasses,
53439
+ spacingOverride
53440
+ } = getNavbarLayoutClasses(layoutVariant, { className, containerClassName });
53342
53441
  return /* @__PURE__ */ jsxRuntime.jsx(
53343
53442
  Section,
53344
53443
  {
53345
53444
  background,
53346
- spacing,
53347
- className: cn("border-b", className),
53445
+ spacing: spacingOverride ?? spacing,
53446
+ className: sectionClasses,
53348
53447
  pattern,
53349
53448
  patternOpacity,
53350
- children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("container", containerClassName), children: /* @__PURE__ */ jsxRuntime.jsxs(
53449
+ children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: containerWrapperClasses, children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn(innerContainerClasses, navWrapperClasses), children: /* @__PURE__ */ jsxRuntime.jsxs(
53351
53450
  "nav",
53352
53451
  {
53353
53452
  className: cn("flex items-center justify-between py-4", navClassName),
@@ -53472,7 +53571,7 @@ var NavbarSidebarMobile = ({
53472
53571
  ] })
53473
53572
  ]
53474
53573
  }
53475
- ) })
53574
+ ) }) })
53476
53575
  }
53477
53576
  );
53478
53577
  };
@@ -53494,6 +53593,7 @@ var NavbarTransparentOverlay = ({
53494
53593
  authActionsSlot,
53495
53594
  mobileAuthActions,
53496
53595
  mobileAuthActionsSlot,
53596
+ layoutVariant = "fullScreenContainerizedLinks",
53497
53597
  background = "white",
53498
53598
  spacing = "none",
53499
53599
  pattern,
@@ -53638,16 +53738,23 @@ var NavbarTransparentOverlay = ({
53638
53738
  );
53639
53739
  });
53640
53740
  };
53741
+ const {
53742
+ sectionClasses,
53743
+ containerWrapperClasses,
53744
+ innerContainerClasses,
53745
+ navWrapperClasses,
53746
+ spacingOverride
53747
+ } = getNavbarLayoutClasses(layoutVariant, { className, containerClassName });
53641
53748
  return /* @__PURE__ */ jsxRuntime.jsxs(
53642
53749
  Section,
53643
53750
  {
53644
53751
  background,
53645
- spacing,
53646
- className: cn("", className),
53752
+ spacing: spacingOverride ?? spacing,
53753
+ className: sectionClasses,
53647
53754
  pattern,
53648
53755
  patternOpacity,
53649
53756
  children: [
53650
- /* @__PURE__ */ jsxRuntime.jsx(
53757
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: containerWrapperClasses, children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn(innerContainerClasses, navWrapperClasses), children: /* @__PURE__ */ jsxRuntime.jsx(
53651
53758
  "nav",
53652
53759
  {
53653
53760
  className: cn(
@@ -53655,7 +53762,7 @@ var NavbarTransparentOverlay = ({
53655
53762
  isScrolled ? "bg-background/95 shadow-sm backdrop-blur-sm" : "bg-transparent",
53656
53763
  navClassName
53657
53764
  ),
53658
- children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("container", containerClassName), children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex h-16 items-center justify-between", children: [
53765
+ children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex h-16 items-center justify-between", children: [
53659
53766
  renderLogo(),
53660
53767
  /* @__PURE__ */ jsxRuntime.jsx(
53661
53768
  NavigationMenu,
@@ -53713,9 +53820,9 @@ var NavbarTransparentOverlay = ({
53713
53820
  ]
53714
53821
  }
53715
53822
  )
53716
- ] }) })
53823
+ ] })
53717
53824
  }
53718
- ),
53825
+ ) }) }),
53719
53826
  /* @__PURE__ */ jsxRuntime.jsx(
53720
53827
  "div",
53721
53828
  {
@@ -53781,6 +53888,7 @@ var NavbarEducationPlatform = ({
53781
53888
  company,
53782
53889
  authActions,
53783
53890
  authActionsSlot,
53891
+ layoutVariant = "fullScreenContainerizedLinks",
53784
53892
  background = "white",
53785
53893
  spacing = "none",
53786
53894
  pattern,
@@ -53830,23 +53938,29 @@ var NavbarEducationPlatform = ({
53830
53938
  ] }) }, index);
53831
53939
  });
53832
53940
  };
53941
+ const {
53942
+ sectionClasses,
53943
+ containerWrapperClasses,
53944
+ innerContainerClasses,
53945
+ navWrapperClasses,
53946
+ spacingOverride
53947
+ } = getNavbarLayoutClasses(layoutVariant, { className, containerClassName });
53833
53948
  return /* @__PURE__ */ jsxRuntime.jsxs(
53834
53949
  Section,
53835
53950
  {
53836
53951
  background,
53837
- spacing,
53952
+ spacing: spacingOverride ?? spacing,
53838
53953
  className: cn(
53839
- "border-b border-border lg:border-b",
53840
53954
  isOpen && "border-b-0",
53841
- className
53955
+ sectionClasses
53842
53956
  ),
53843
53957
  pattern,
53844
53958
  patternOpacity,
53845
53959
  children: [
53846
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("container", containerClassName), children: /* @__PURE__ */ jsxRuntime.jsxs(
53960
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: containerWrapperClasses, children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: innerContainerClasses, children: /* @__PURE__ */ jsxRuntime.jsxs(
53847
53961
  "nav",
53848
53962
  {
53849
- className: cn("flex items-center justify-between py-4", navClassName),
53963
+ className: cn("flex items-center justify-between py-4", navWrapperClasses, navClassName),
53850
53964
  children: [
53851
53965
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-1 items-center gap-9", children: [
53852
53966
  renderLogo(),
@@ -54037,7 +54151,7 @@ var NavbarEducationPlatform = ({
54037
54151
  )
54038
54152
  ]
54039
54153
  }
54040
- ) }),
54154
+ ) }) }),
54041
54155
  isOpen && /* @__PURE__ */ jsxRuntime.jsx(
54042
54156
  "div",
54043
54157
  {
@@ -54174,6 +54288,7 @@ var NavbarStickyCompact = ({
54174
54288
  containerClassName,
54175
54289
  navClassName,
54176
54290
  actionsClassName,
54291
+ layoutVariant = "fullScreenContainerizedLinks",
54177
54292
  background = "white",
54178
54293
  spacing = "none",
54179
54294
  pattern,
@@ -54327,19 +54442,26 @@ var NavbarStickyCompact = ({
54327
54442
  )
54328
54443
  );
54329
54444
  };
54445
+ const {
54446
+ sectionClasses,
54447
+ containerWrapperClasses,
54448
+ innerContainerClasses,
54449
+ navWrapperClasses,
54450
+ spacingOverride
54451
+ } = getNavbarLayoutClasses(layoutVariant, { className, containerClassName });
54330
54452
  return /* @__PURE__ */ jsxRuntime.jsx(
54331
54453
  Section,
54332
54454
  {
54333
54455
  background,
54334
- spacing,
54456
+ spacing: spacingOverride ?? spacing,
54335
54457
  className: cn(
54336
- "fixed top-0 left-0 z-50 w-full border-b bg-background/95 backdrop-blur-sm transition-all duration-300",
54337
- isScrolled ? "shadow-sm" : "",
54338
- className
54458
+ sectionClasses,
54459
+ "fixed top-0 left-0 z-50 w-full bg-background/95 backdrop-blur-sm transition-all duration-300",
54460
+ isScrolled ? "shadow-sm" : ""
54339
54461
  ),
54340
54462
  pattern,
54341
54463
  patternOpacity,
54342
- children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("container", containerClassName), children: /* @__PURE__ */ jsxRuntime.jsxs(
54464
+ children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: containerWrapperClasses, children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn(innerContainerClasses, navWrapperClasses), children: /* @__PURE__ */ jsxRuntime.jsxs(
54343
54465
  "nav",
54344
54466
  {
54345
54467
  className: cn(
@@ -54395,7 +54517,7 @@ var NavbarStickyCompact = ({
54395
54517
  ] })
54396
54518
  ]
54397
54519
  }
54398
- ) })
54520
+ ) }) })
54399
54521
  }
54400
54522
  );
54401
54523
  };
@@ -54420,6 +54542,7 @@ var NavbarSearchFocused = ({
54420
54542
  authActionsSlot,
54421
54543
  mobileMenuActions,
54422
54544
  mobileMenuActionsSlot,
54545
+ layoutVariant = "fullScreenContainerizedLinks",
54423
54546
  background = "white",
54424
54547
  spacing = "none",
54425
54548
  pattern,
@@ -54515,15 +54638,22 @@ var NavbarSearchFocused = ({
54515
54638
  );
54516
54639
  }) });
54517
54640
  };
54641
+ const {
54642
+ sectionClasses,
54643
+ containerWrapperClasses,
54644
+ innerContainerClasses,
54645
+ navWrapperClasses,
54646
+ spacingOverride
54647
+ } = getNavbarLayoutClasses(layoutVariant, { className, containerClassName });
54518
54648
  return /* @__PURE__ */ jsxRuntime.jsx(
54519
54649
  Section,
54520
54650
  {
54521
54651
  background,
54522
- spacing,
54523
- className: cn("border-b", className),
54652
+ spacing: spacingOverride ?? spacing,
54653
+ className: sectionClasses,
54524
54654
  pattern,
54525
54655
  patternOpacity,
54526
- children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("container", containerClassName), children: /* @__PURE__ */ jsxRuntime.jsxs(
54656
+ children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: containerWrapperClasses, children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn(innerContainerClasses, navWrapperClasses), children: /* @__PURE__ */ jsxRuntime.jsxs(
54527
54657
  "nav",
54528
54658
  {
54529
54659
  className: cn("flex items-center gap-4 py-3 lg:gap-8", navClassName),
@@ -54591,7 +54721,7 @@ var NavbarSearchFocused = ({
54591
54721
  ] })
54592
54722
  ]
54593
54723
  }
54594
- ) })
54724
+ ) }) })
54595
54725
  }
54596
54726
  );
54597
54727
  };
@@ -54693,6 +54823,7 @@ var NavbarSimpleLinks = ({
54693
54823
  defaultActiveItem,
54694
54824
  actions,
54695
54825
  actionsSlot,
54826
+ layoutVariant = "fullScreenContainerizedLinks",
54696
54827
  background = "white",
54697
54828
  spacing = "sm",
54698
54829
  pattern,
@@ -54784,73 +54915,71 @@ var NavbarSimpleLinks = ({
54784
54915
  );
54785
54916
  });
54786
54917
  };
54918
+ const {
54919
+ sectionClasses,
54920
+ containerWrapperClasses,
54921
+ innerContainerClasses,
54922
+ navWrapperClasses,
54923
+ spacingOverride
54924
+ } = getNavbarLayoutClasses(layoutVariant, { className, containerClassName });
54787
54925
  return /* @__PURE__ */ jsxRuntime.jsx(
54788
54926
  Section,
54789
54927
  {
54790
54928
  background,
54791
- spacing,
54792
- className: cn(className),
54929
+ spacing: spacingOverride ?? spacing,
54930
+ className: sectionClasses,
54793
54931
  pattern,
54794
54932
  patternOpacity,
54795
- children: /* @__PURE__ */ jsxRuntime.jsx(
54796
- "div",
54797
- {
54798
- className: cn(
54799
- "container border-b border-border/50 shadow-sm",
54800
- containerClassName
54801
- ),
54802
- children: /* @__PURE__ */ jsxRuntime.jsxs("nav", { className: cn("flex items-center justify-between", navClassName), children: [
54803
- renderLogo(),
54804
- /* @__PURE__ */ jsxRuntime.jsx(
54805
- NavigationMenu,
54806
- {
54807
- className: cn("hidden lg:block", navigationMenuClassName),
54808
- children: /* @__PURE__ */ jsxRuntime.jsxs(
54809
- NavigationMenuList,
54810
- {
54811
- ref: menuRef,
54812
- className: cn(
54813
- "flex items-center gap-6 rounded-4xl px-8 py-3",
54814
- menuListClassName
54815
- ),
54816
- children: [
54817
- renderNavItems(),
54818
- /* @__PURE__ */ jsxRuntime.jsx(
54819
- "div",
54820
- {
54821
- ref: indicatorRef,
54822
- className: "absolute bottom-2 flex h-1 items-center justify-center px-2 transition-all duration-300",
54823
- children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-0.5 w-full rounded-t-none bg-foreground transition-all duration-300" })
54824
- }
54825
- )
54826
- ]
54827
- }
54828
- )
54829
- }
54830
- ),
54831
- /* @__PURE__ */ jsxRuntime.jsx(
54832
- MobileNav,
54833
- {
54834
- navItems: navItems ?? [],
54835
- activeItem,
54836
- setActiveItem,
54837
- actions,
54838
- actionsSlot
54839
- }
54840
- ),
54841
- /* @__PURE__ */ jsxRuntime.jsx(
54842
- "div",
54933
+ children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: containerWrapperClasses, children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: innerContainerClasses, children: /* @__PURE__ */ jsxRuntime.jsxs("nav", { className: cn("flex items-center justify-between", navWrapperClasses, navClassName), children: [
54934
+ renderLogo(),
54935
+ /* @__PURE__ */ jsxRuntime.jsx(
54936
+ NavigationMenu,
54937
+ {
54938
+ className: cn("hidden lg:block", navigationMenuClassName),
54939
+ children: /* @__PURE__ */ jsxRuntime.jsxs(
54940
+ NavigationMenuList,
54843
54941
  {
54942
+ ref: menuRef,
54844
54943
  className: cn(
54845
- "hidden items-center gap-2 lg:flex",
54846
- actionsClassName
54944
+ "flex items-center gap-6 rounded-4xl px-8 py-3",
54945
+ menuListClassName
54847
54946
  ),
54848
- children: renderActions()
54947
+ children: [
54948
+ renderNavItems(),
54949
+ /* @__PURE__ */ jsxRuntime.jsx(
54950
+ "div",
54951
+ {
54952
+ ref: indicatorRef,
54953
+ className: "absolute bottom-2 flex h-1 items-center justify-center px-2 transition-all duration-300",
54954
+ children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-0.5 w-full rounded-t-none bg-foreground transition-all duration-300" })
54955
+ }
54956
+ )
54957
+ ]
54849
54958
  }
54850
54959
  )
54851
- ] })
54852
- }
54853
- )
54960
+ }
54961
+ ),
54962
+ /* @__PURE__ */ jsxRuntime.jsx(
54963
+ MobileNav,
54964
+ {
54965
+ navItems: navItems ?? [],
54966
+ activeItem,
54967
+ setActiveItem,
54968
+ actions,
54969
+ actionsSlot
54970
+ }
54971
+ ),
54972
+ /* @__PURE__ */ jsxRuntime.jsx(
54973
+ "div",
54974
+ {
54975
+ className: cn(
54976
+ "hidden items-center gap-2 lg:flex",
54977
+ actionsClassName
54978
+ ),
54979
+ children: renderActions()
54980
+ }
54981
+ )
54982
+ ] }) }) })
54854
54983
  }
54855
54984
  );
54856
54985
  };
@@ -54872,6 +55001,7 @@ var NavbarSplitCta = ({
54872
55001
  navClassName,
54873
55002
  navigationMenuClassName,
54874
55003
  actionsClassName,
55004
+ layoutVariant = "fullScreenContainerizedLinks",
54875
55005
  background = "white",
54876
55006
  spacing = "none",
54877
55007
  pattern,
@@ -54961,15 +55091,22 @@ var NavbarSplitCta = ({
54961
55091
  if (!menu || menu.length === 0) return null;
54962
55092
  return menu;
54963
55093
  };
55094
+ const {
55095
+ sectionClasses,
55096
+ containerWrapperClasses,
55097
+ innerContainerClasses,
55098
+ navWrapperClasses,
55099
+ spacingOverride
55100
+ } = getNavbarLayoutClasses(layoutVariant, { className, containerClassName });
54964
55101
  return /* @__PURE__ */ jsxRuntime.jsx(
54965
55102
  Section,
54966
55103
  {
54967
55104
  background,
54968
- spacing,
54969
- className: cn("border-b", className),
55105
+ spacing: spacingOverride ?? spacing,
55106
+ className: sectionClasses,
54970
55107
  pattern,
54971
55108
  patternOpacity,
54972
- children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("container", containerClassName), children: /* @__PURE__ */ jsxRuntime.jsxs(
55109
+ children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: containerWrapperClasses, children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn(innerContainerClasses, navWrapperClasses), children: /* @__PURE__ */ jsxRuntime.jsxs(
54973
55110
  "nav",
54974
55111
  {
54975
55112
  className: cn("flex items-center justify-between py-4", navClassName),
@@ -55082,7 +55219,7 @@ var NavbarSplitCta = ({
55082
55219
  ] })
55083
55220
  ]
55084
55221
  }
55085
- ) })
55222
+ ) }) })
55086
55223
  }
55087
55224
  );
55088
55225
  };
@@ -55102,6 +55239,7 @@ var NavbarIconLinks = ({
55102
55239
  navClassName,
55103
55240
  navigationMenuClassName,
55104
55241
  actionsClassName,
55242
+ layoutVariant = "fullScreenContainerizedLinks",
55105
55243
  background = "white",
55106
55244
  spacing = "none",
55107
55245
  pattern,
@@ -55168,18 +55306,25 @@ var NavbarIconLinks = ({
55168
55306
  if (!navItems || navItems.length === 0) return null;
55169
55307
  return navItems;
55170
55308
  };
55309
+ const {
55310
+ sectionClasses,
55311
+ containerWrapperClasses,
55312
+ innerContainerClasses,
55313
+ navWrapperClasses,
55314
+ spacingOverride
55315
+ } = getNavbarLayoutClasses(layoutVariant, { className, containerClassName });
55171
55316
  return /* @__PURE__ */ jsxRuntime.jsx(
55172
55317
  Section,
55173
55318
  {
55174
55319
  background,
55175
- spacing,
55176
- className: cn("border-b", className),
55320
+ spacing: spacingOverride ?? spacing,
55321
+ className: sectionClasses,
55177
55322
  pattern,
55178
55323
  patternOpacity,
55179
- children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("container", containerClassName), children: /* @__PURE__ */ jsxRuntime.jsxs(
55324
+ children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: containerWrapperClasses, children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: innerContainerClasses, children: /* @__PURE__ */ jsxRuntime.jsxs(
55180
55325
  "nav",
55181
55326
  {
55182
- className: cn("flex items-center justify-between py-3", navClassName),
55327
+ className: cn("flex items-center justify-between py-3", navWrapperClasses, navClassName),
55183
55328
  children: [
55184
55329
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-6", children: [
55185
55330
  renderLogo(),
@@ -55273,7 +55418,7 @@ var NavbarIconLinks = ({
55273
55418
  ] })
55274
55419
  ]
55275
55420
  }
55276
- ) })
55421
+ ) }) })
55277
55422
  }
55278
55423
  );
55279
55424
  };
@@ -55292,6 +55437,7 @@ var NavbarTabbedSections = ({
55292
55437
  containerClassName,
55293
55438
  navClassName,
55294
55439
  actionsClassName,
55440
+ layoutVariant = "fullScreenContainerizedLinks",
55295
55441
  background = "white",
55296
55442
  spacing = "none",
55297
55443
  pattern,
@@ -55455,15 +55601,22 @@ var NavbarTabbedSections = ({
55455
55601
  )
55456
55602
  );
55457
55603
  };
55604
+ const {
55605
+ sectionClasses,
55606
+ containerWrapperClasses,
55607
+ innerContainerClasses,
55608
+ navWrapperClasses,
55609
+ spacingOverride
55610
+ } = getNavbarLayoutClasses(layoutVariant, { className, containerClassName });
55458
55611
  return /* @__PURE__ */ jsxRuntime.jsx(
55459
55612
  Section,
55460
55613
  {
55461
55614
  background,
55462
- spacing,
55463
- className: cn("border-b bg-background", className),
55615
+ spacing: spacingOverride ?? spacing,
55616
+ className: sectionClasses,
55464
55617
  pattern,
55465
55618
  patternOpacity,
55466
- children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("container", containerClassName), children: /* @__PURE__ */ jsxRuntime.jsxs(
55619
+ children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: containerWrapperClasses, children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn(innerContainerClasses, navWrapperClasses), children: /* @__PURE__ */ jsxRuntime.jsxs(
55467
55620
  "nav",
55468
55621
  {
55469
55622
  className: cn("flex items-center justify-between py-4", navClassName),
@@ -55516,7 +55669,7 @@ var NavbarTabbedSections = ({
55516
55669
  ] })
55517
55670
  ]
55518
55671
  }
55519
- ) })
55672
+ ) }) })
55520
55673
  }
55521
55674
  );
55522
55675
  };
@@ -55537,6 +55690,7 @@ var NavbarFullscreenMenu = ({
55537
55690
  overlayClassName,
55538
55691
  menuItemsClassName,
55539
55692
  socialLinksClassName,
55693
+ layoutVariant = "fullScreenContainerizedLinks",
55540
55694
  background = "white",
55541
55695
  spacing = "none",
55542
55696
  pattern,
@@ -55603,20 +55757,28 @@ var NavbarFullscreenMenu = ({
55603
55757
  link.label
55604
55758
  ));
55605
55759
  };
55760
+ const {
55761
+ sectionClasses,
55762
+ containerWrapperClasses,
55763
+ innerContainerClasses,
55764
+ navWrapperClasses,
55765
+ spacingOverride
55766
+ } = getNavbarLayoutClasses(layoutVariant, { className, containerClassName });
55606
55767
  return /* @__PURE__ */ jsxRuntime.jsx(
55607
55768
  Section,
55608
55769
  {
55609
55770
  background,
55610
- spacing,
55611
- className: cn(className),
55771
+ spacing: spacingOverride ?? spacing,
55772
+ className: sectionClasses,
55612
55773
  pattern,
55613
55774
  patternOpacity,
55614
- children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn(containerClassName), children: [
55775
+ children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: containerWrapperClasses, children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: innerContainerClasses, children: [
55615
55776
  /* @__PURE__ */ jsxRuntime.jsxs(
55616
- "div",
55777
+ "nav",
55617
55778
  {
55618
55779
  className: cn(
55619
55780
  "flex items-center justify-between px-6 py-6",
55781
+ navWrapperClasses,
55620
55782
  headerClassName
55621
55783
  ),
55622
55784
  children: [
@@ -55672,7 +55834,7 @@ var NavbarFullscreenMenu = ({
55672
55834
  ] })
55673
55835
  }
55674
55836
  )
55675
- ] })
55837
+ ] }) })
55676
55838
  }
55677
55839
  );
55678
55840
  };