@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.
- package/dist/navbar-animated-preview.cjs +87 -53
- package/dist/navbar-animated-preview.d.cts +6 -2
- package/dist/navbar-animated-preview.d.ts +6 -2
- package/dist/navbar-animated-preview.js +87 -53
- package/dist/navbar-centered-menu.cjs +89 -59
- package/dist/navbar-centered-menu.d.cts +6 -2
- package/dist/navbar-centered-menu.d.ts +6 -2
- package/dist/navbar-centered-menu.js +89 -59
- package/dist/navbar-dark-icons.cjs +50 -10
- package/dist/navbar-dark-icons.d.cts +6 -2
- package/dist/navbar-dark-icons.d.ts +6 -2
- package/dist/navbar-dark-icons.js +50 -10
- package/dist/navbar-dropdown-menu.cjs +89 -59
- package/dist/navbar-dropdown-menu.d.cts +6 -2
- package/dist/navbar-dropdown-menu.d.ts +6 -2
- package/dist/navbar-dropdown-menu.js +89 -59
- package/dist/navbar-education-platform.cjs +48 -10
- package/dist/navbar-education-platform.d.cts +6 -2
- package/dist/navbar-education-platform.d.ts +6 -2
- package/dist/navbar-education-platform.js +48 -10
- package/dist/navbar-enterprise-mega.cjs +50 -10
- package/dist/navbar-enterprise-mega.d.cts +6 -2
- package/dist/navbar-enterprise-mega.d.ts +6 -2
- package/dist/navbar-enterprise-mega.js +50 -10
- package/dist/navbar-feature-grid.cjs +47 -8
- package/dist/navbar-feature-grid.d.cts +6 -2
- package/dist/navbar-feature-grid.d.ts +6 -2
- package/dist/navbar-feature-grid.js +47 -8
- package/dist/navbar-floating-pill.cjs +50 -11
- package/dist/navbar-floating-pill.d.cts +6 -2
- package/dist/navbar-floating-pill.d.ts +6 -2
- package/dist/navbar-floating-pill.js +50 -11
- package/dist/navbar-fullscreen-menu.cjs +44 -5
- package/dist/navbar-fullscreen-menu.d.cts +6 -2
- package/dist/navbar-fullscreen-menu.d.ts +6 -2
- package/dist/navbar-fullscreen-menu.js +44 -5
- package/dist/navbar-icon-links.cjs +46 -8
- package/dist/navbar-icon-links.d.cts +6 -2
- package/dist/navbar-icon-links.d.ts +6 -2
- package/dist/navbar-icon-links.js +46 -8
- package/dist/navbar-image-preview.cjs +47 -8
- package/dist/navbar-image-preview.d.cts +6 -2
- package/dist/navbar-image-preview.d.ts +6 -2
- package/dist/navbar-image-preview.js +47 -8
- package/dist/navbar-mega-menu.cjs +56 -12
- package/dist/navbar-mega-menu.d.cts +7 -3
- package/dist/navbar-mega-menu.d.ts +7 -3
- package/dist/navbar-mega-menu.js +56 -12
- package/dist/navbar-multi-column-groups.cjs +47 -11
- package/dist/navbar-multi-column-groups.d.cts +6 -2
- package/dist/navbar-multi-column-groups.d.ts +6 -2
- package/dist/navbar-multi-column-groups.js +47 -11
- package/dist/navbar-platform-resources.cjs +184 -154
- package/dist/navbar-platform-resources.d.cts +6 -2
- package/dist/navbar-platform-resources.d.ts +6 -2
- package/dist/navbar-platform-resources.js +184 -154
- package/dist/navbar-search-focused.cjs +45 -7
- package/dist/navbar-search-focused.d.cts +6 -2
- package/dist/navbar-search-focused.d.ts +6 -2
- package/dist/navbar-search-focused.js +45 -7
- package/dist/navbar-sidebar-mobile.cjs +47 -8
- package/dist/navbar-sidebar-mobile.d.cts +6 -2
- package/dist/navbar-sidebar-mobile.d.ts +6 -2
- package/dist/navbar-sidebar-mobile.js +47 -8
- package/dist/navbar-simple-links.cjs +88 -59
- package/dist/navbar-simple-links.d.cts +6 -2
- package/dist/navbar-simple-links.d.ts +6 -2
- package/dist/navbar-simple-links.js +88 -59
- package/dist/navbar-split-cta.cjs +47 -8
- package/dist/navbar-split-cta.d.cts +6 -2
- package/dist/navbar-split-cta.d.ts +6 -2
- package/dist/navbar-split-cta.js +47 -8
- package/dist/navbar-sticky-compact.cjs +49 -10
- package/dist/navbar-sticky-compact.d.cts +6 -2
- package/dist/navbar-sticky-compact.d.ts +6 -2
- package/dist/navbar-sticky-compact.js +49 -10
- package/dist/navbar-tabbed-sections.cjs +47 -8
- package/dist/navbar-tabbed-sections.d.cts +6 -2
- package/dist/navbar-tabbed-sections.d.ts +6 -2
- package/dist/navbar-tabbed-sections.js +47 -8
- package/dist/navbar-transparent-overlay.cjs +47 -9
- package/dist/navbar-transparent-overlay.d.cts +6 -2
- package/dist/navbar-transparent-overlay.d.ts +6 -2
- package/dist/navbar-transparent-overlay.js +47 -9
- package/dist/registry.cjs +625 -463
- package/dist/registry.js +625 -463
- package/dist/{types-D2b35ylu.d.cts → types-COVDidbn.d.cts} +22 -1
- package/dist/{types-D2b35ylu.d.ts → types-COVDidbn.d.ts} +22 -1
- package/package.json +2 -2
package/dist/registry.js
CHANGED
|
@@ -48814,7 +48814,7 @@ function NavigationMenuList({
|
|
|
48814
48814
|
{
|
|
48815
48815
|
"data-slot": "navigation-menu-list",
|
|
48816
48816
|
className: cn(
|
|
48817
|
-
"group flex flex-1 list-none items-center justify-center gap-6",
|
|
48817
|
+
"group flex flex-1 list-none items-center justify-center gap-2 lg:gap-4 xl:gap-6",
|
|
48818
48818
|
className
|
|
48819
48819
|
),
|
|
48820
48820
|
...props
|
|
@@ -48854,8 +48854,9 @@ function NavigationMenuTrigger({
|
|
|
48854
48854
|
/* @__PURE__ */ jsx(
|
|
48855
48855
|
DynamicIcon,
|
|
48856
48856
|
{
|
|
48857
|
+
size: 18,
|
|
48857
48858
|
name: "lucide/chevron-down",
|
|
48858
|
-
className: "relative top-
|
|
48859
|
+
className: "relative top-px opacity-50 transition duration-300 group-data-[state=open]:rotate-180",
|
|
48859
48860
|
"aria-hidden": "true"
|
|
48860
48861
|
}
|
|
48861
48862
|
)
|
|
@@ -48895,7 +48896,7 @@ function NavigationMenuViewport({
|
|
|
48895
48896
|
{
|
|
48896
48897
|
"data-slot": "navigation-menu-viewport",
|
|
48897
48898
|
className: cn(
|
|
48898
|
-
"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-
|
|
48899
|
+
"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)",
|
|
48899
48900
|
className
|
|
48900
48901
|
),
|
|
48901
48902
|
...props
|
|
@@ -48913,7 +48914,7 @@ function NavigationMenuLink({
|
|
|
48913
48914
|
{
|
|
48914
48915
|
"data-slot": "navigation-menu-link",
|
|
48915
48916
|
className: cn(
|
|
48916
|
-
"
|
|
48917
|
+
"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",
|
|
48917
48918
|
className
|
|
48918
48919
|
),
|
|
48919
48920
|
...props
|
|
@@ -49022,6 +49023,36 @@ function SheetDescription({
|
|
|
49022
49023
|
}
|
|
49023
49024
|
);
|
|
49024
49025
|
}
|
|
49026
|
+
|
|
49027
|
+
// components/blocks/navbars/layout-variant-utils.ts
|
|
49028
|
+
function getNavbarLayoutClasses(layoutVariant = "fullScreenContainerizedLinks", customClasses) {
|
|
49029
|
+
const isFloatingBar = layoutVariant === "floatingBar";
|
|
49030
|
+
const isFullWidthLinks = layoutVariant === "fullScreenFullWidthLinks";
|
|
49031
|
+
return {
|
|
49032
|
+
// Section wrapper classes
|
|
49033
|
+
sectionClasses: cn(
|
|
49034
|
+
"inset-x-0 z-20",
|
|
49035
|
+
isFloatingBar ? "sticky top-4" : "top-0",
|
|
49036
|
+
customClasses?.className
|
|
49037
|
+
),
|
|
49038
|
+
// Outer container wrapper (only for floating bar)
|
|
49039
|
+
containerWrapperClasses: cn(
|
|
49040
|
+
isFloatingBar && "mx-auto w-full px-2 sm:px-4 lg:px-8 max-w-7xl relative z-10"
|
|
49041
|
+
),
|
|
49042
|
+
// Inner container classes
|
|
49043
|
+
innerContainerClasses: cn(
|
|
49044
|
+
!isFloatingBar && !isFullWidthLinks && "container",
|
|
49045
|
+
isFullWidthLinks && "mx-auto w-full px-2 sm:px-4 lg:px-8",
|
|
49046
|
+
customClasses?.containerClassName
|
|
49047
|
+
),
|
|
49048
|
+
// Navigation wrapper classes (for border and shadow)
|
|
49049
|
+
navWrapperClasses: cn(
|
|
49050
|
+
isFloatingBar ? "border border-border/50 shadow-sm rounded-full" : "border-b border-border/50 shadow-sm"
|
|
49051
|
+
),
|
|
49052
|
+
// Spacing adjustment for Section component
|
|
49053
|
+
spacingOverride: isFloatingBar ? "none" : void 0
|
|
49054
|
+
};
|
|
49055
|
+
}
|
|
49025
49056
|
var SubMenuLink = ({
|
|
49026
49057
|
item,
|
|
49027
49058
|
optixFlowConfig
|
|
@@ -49098,6 +49129,7 @@ var NavbarDropdownMenu = ({
|
|
|
49098
49129
|
mobileNavClassName,
|
|
49099
49130
|
navigationMenuClassName,
|
|
49100
49131
|
actionsClassName,
|
|
49132
|
+
layoutVariant = "fullScreenContainerizedLinks",
|
|
49101
49133
|
background = "white",
|
|
49102
49134
|
spacing = "sm",
|
|
49103
49135
|
pattern,
|
|
@@ -49165,72 +49197,70 @@ var NavbarDropdownMenu = ({
|
|
|
49165
49197
|
if (!menu || menu.length === 0) return null;
|
|
49166
49198
|
return menu.map((item) => renderMobileMenuItem(item, optixFlowConfig));
|
|
49167
49199
|
};
|
|
49200
|
+
const {
|
|
49201
|
+
sectionClasses,
|
|
49202
|
+
containerWrapperClasses,
|
|
49203
|
+
innerContainerClasses,
|
|
49204
|
+
navWrapperClasses,
|
|
49205
|
+
spacingOverride
|
|
49206
|
+
} = getNavbarLayoutClasses(layoutVariant, { className, containerClassName });
|
|
49168
49207
|
return /* @__PURE__ */ jsx(
|
|
49169
49208
|
Section,
|
|
49170
49209
|
{
|
|
49171
49210
|
background,
|
|
49172
|
-
spacing,
|
|
49173
|
-
className:
|
|
49211
|
+
spacing: spacingOverride ?? spacing,
|
|
49212
|
+
className: sectionClasses,
|
|
49174
49213
|
pattern,
|
|
49175
49214
|
patternOpacity,
|
|
49176
|
-
children: /* @__PURE__ */ jsxs(
|
|
49177
|
-
|
|
49178
|
-
|
|
49179
|
-
|
|
49180
|
-
|
|
49181
|
-
|
|
49182
|
-
|
|
49183
|
-
|
|
49184
|
-
|
|
49185
|
-
"
|
|
49215
|
+
children: /* @__PURE__ */ jsx("div", { className: containerWrapperClasses, children: /* @__PURE__ */ jsxs("div", { className: cn(innerContainerClasses, navWrapperClasses), children: [
|
|
49216
|
+
/* @__PURE__ */ jsxs(
|
|
49217
|
+
"nav",
|
|
49218
|
+
{
|
|
49219
|
+
className: cn(
|
|
49220
|
+
"hidden items-center justify-between lg:flex",
|
|
49221
|
+
desktopNavClassName
|
|
49222
|
+
),
|
|
49223
|
+
children: [
|
|
49224
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-6", children: [
|
|
49225
|
+
renderLogo(),
|
|
49226
|
+
/* @__PURE__ */ jsx("div", { className: "flex items-center", children: /* @__PURE__ */ jsx(NavigationMenu, { className: navigationMenuClassName, children: /* @__PURE__ */ jsx(NavigationMenuList, { children: renderMenu() }) }) })
|
|
49227
|
+
] }),
|
|
49228
|
+
/* @__PURE__ */ jsx("div", { className: cn("flex gap-2", actionsClassName), children: renderAuthActions() })
|
|
49229
|
+
]
|
|
49230
|
+
}
|
|
49231
|
+
),
|
|
49232
|
+
/* @__PURE__ */ jsx("div", { className: cn("block lg:hidden", mobileNavClassName), children: /* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between", children: [
|
|
49233
|
+
renderLogo(),
|
|
49234
|
+
/* @__PURE__ */ jsxs(Sheet, { children: [
|
|
49235
|
+
/* @__PURE__ */ jsx(SheetTrigger, { asChild: true, children: /* @__PURE__ */ jsx(
|
|
49236
|
+
Pressable,
|
|
49186
49237
|
{
|
|
49187
|
-
|
|
49188
|
-
|
|
49189
|
-
|
|
49190
|
-
)
|
|
49191
|
-
|
|
49192
|
-
|
|
49193
|
-
renderLogo(),
|
|
49194
|
-
/* @__PURE__ */ jsx("div", { className: "flex items-center", children: /* @__PURE__ */ jsx(NavigationMenu, { className: navigationMenuClassName, children: /* @__PURE__ */ jsx(NavigationMenuList, { children: renderMenu() }) }) })
|
|
49195
|
-
] }),
|
|
49196
|
-
/* @__PURE__ */ jsx("div", { className: cn("flex gap-2", actionsClassName), children: renderAuthActions() })
|
|
49197
|
-
]
|
|
49238
|
+
variant: "outline",
|
|
49239
|
+
size: "icon",
|
|
49240
|
+
asButton: true,
|
|
49241
|
+
onClick: () => {
|
|
49242
|
+
},
|
|
49243
|
+
children: /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/menu", size: 16 })
|
|
49198
49244
|
}
|
|
49199
|
-
),
|
|
49200
|
-
/* @__PURE__ */
|
|
49201
|
-
renderLogo(),
|
|
49202
|
-
/* @__PURE__ */ jsxs(
|
|
49203
|
-
/* @__PURE__ */ jsx(
|
|
49204
|
-
|
|
49245
|
+
) }),
|
|
49246
|
+
/* @__PURE__ */ jsxs(SheetContent, { className: "overflow-y-auto", children: [
|
|
49247
|
+
/* @__PURE__ */ jsx(SheetHeader, { children: /* @__PURE__ */ jsx(SheetTitle, { children: renderLogo() }) }),
|
|
49248
|
+
/* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-6 p-4", children: [
|
|
49249
|
+
/* @__PURE__ */ jsx(
|
|
49250
|
+
Accordion,
|
|
49205
49251
|
{
|
|
49206
|
-
|
|
49207
|
-
|
|
49208
|
-
|
|
49209
|
-
|
|
49210
|
-
},
|
|
49211
|
-
children: /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/menu", size: 16 })
|
|
49252
|
+
type: "single",
|
|
49253
|
+
collapsible: true,
|
|
49254
|
+
className: "flex w-full flex-col gap-4",
|
|
49255
|
+
children: renderMobileMenu()
|
|
49212
49256
|
}
|
|
49213
|
-
)
|
|
49214
|
-
/* @__PURE__ */
|
|
49215
|
-
/* @__PURE__ */ jsx(SheetHeader, { children: /* @__PURE__ */ jsx(SheetTitle, { children: renderLogo() }) }),
|
|
49216
|
-
/* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-6 p-4", children: [
|
|
49217
|
-
/* @__PURE__ */ jsx(
|
|
49218
|
-
Accordion,
|
|
49219
|
-
{
|
|
49220
|
-
type: "single",
|
|
49221
|
-
collapsible: true,
|
|
49222
|
-
className: "flex w-full flex-col gap-4",
|
|
49223
|
-
children: renderMobileMenu()
|
|
49224
|
-
}
|
|
49225
|
-
),
|
|
49226
|
-
/* @__PURE__ */ jsx("div", { className: cn("flex flex-col gap-3", actionsClassName), children: renderAuthActions() })
|
|
49227
|
-
] })
|
|
49228
|
-
] })
|
|
49257
|
+
),
|
|
49258
|
+
/* @__PURE__ */ jsx("div", { className: cn("flex flex-col gap-3", actionsClassName), children: renderAuthActions() })
|
|
49229
49259
|
] })
|
|
49230
|
-
] })
|
|
49231
|
-
]
|
|
49232
|
-
}
|
|
49233
|
-
)
|
|
49260
|
+
] })
|
|
49261
|
+
] })
|
|
49262
|
+
] }) })
|
|
49263
|
+
] }) })
|
|
49234
49264
|
}
|
|
49235
49265
|
);
|
|
49236
49266
|
};
|
|
@@ -49318,6 +49348,7 @@ var NavbarCenteredMenu = ({
|
|
|
49318
49348
|
mobileNavClassName,
|
|
49319
49349
|
navigationMenuClassName,
|
|
49320
49350
|
actionsClassName,
|
|
49351
|
+
layoutVariant = "fullScreenContainerizedLinks",
|
|
49321
49352
|
background = "white",
|
|
49322
49353
|
spacing = "sm",
|
|
49323
49354
|
pattern,
|
|
@@ -49385,73 +49416,71 @@ var NavbarCenteredMenu = ({
|
|
|
49385
49416
|
if (!menu || menu.length === 0) return null;
|
|
49386
49417
|
return menu.map((item) => renderMobileMenuItem2(item));
|
|
49387
49418
|
};
|
|
49419
|
+
const {
|
|
49420
|
+
sectionClasses,
|
|
49421
|
+
containerWrapperClasses,
|
|
49422
|
+
innerContainerClasses,
|
|
49423
|
+
navWrapperClasses,
|
|
49424
|
+
spacingOverride
|
|
49425
|
+
} = getNavbarLayoutClasses(layoutVariant, { className, containerClassName });
|
|
49388
49426
|
return /* @__PURE__ */ jsx(
|
|
49389
49427
|
Section,
|
|
49390
49428
|
{
|
|
49391
49429
|
background,
|
|
49392
|
-
spacing,
|
|
49393
|
-
className:
|
|
49430
|
+
spacing: spacingOverride ?? spacing,
|
|
49431
|
+
className: sectionClasses,
|
|
49394
49432
|
pattern,
|
|
49395
49433
|
patternOpacity,
|
|
49396
|
-
children: /* @__PURE__ */ jsxs(
|
|
49397
|
-
|
|
49398
|
-
|
|
49399
|
-
|
|
49400
|
-
"
|
|
49401
|
-
|
|
49402
|
-
|
|
49403
|
-
|
|
49404
|
-
|
|
49405
|
-
|
|
49434
|
+
children: /* @__PURE__ */ jsx("div", { className: containerWrapperClasses, children: /* @__PURE__ */ jsxs("div", { className: cn(innerContainerClasses, navWrapperClasses), children: [
|
|
49435
|
+
/* @__PURE__ */ jsxs(
|
|
49436
|
+
"nav",
|
|
49437
|
+
{
|
|
49438
|
+
className: cn("hidden justify-between lg:flex", desktopNavClassName),
|
|
49439
|
+
children: [
|
|
49440
|
+
renderLogo(),
|
|
49441
|
+
/* @__PURE__ */ jsx("div", { className: "flex items-center gap-6", children: /* @__PURE__ */ jsx("div", { className: "flex items-center", children: /* @__PURE__ */ jsx(
|
|
49442
|
+
NavigationMenuWithoutViewport,
|
|
49443
|
+
{
|
|
49444
|
+
className: navigationMenuClassName,
|
|
49445
|
+
children: /* @__PURE__ */ jsx(NavigationMenuList, { className: "relative", children: renderMenu() })
|
|
49446
|
+
}
|
|
49447
|
+
) }) }),
|
|
49448
|
+
/* @__PURE__ */ jsx("div", { className: cn("flex gap-2", actionsClassName), children: renderAuthActions() })
|
|
49449
|
+
]
|
|
49450
|
+
}
|
|
49451
|
+
),
|
|
49452
|
+
/* @__PURE__ */ jsx("div", { className: cn("block lg:hidden", mobileNavClassName), children: /* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between", children: [
|
|
49453
|
+
renderLogo(),
|
|
49454
|
+
/* @__PURE__ */ jsxs(Sheet, { children: [
|
|
49455
|
+
/* @__PURE__ */ jsx(SheetTrigger, { asChild: true, children: /* @__PURE__ */ jsx(
|
|
49456
|
+
Pressable,
|
|
49406
49457
|
{
|
|
49407
|
-
|
|
49408
|
-
|
|
49409
|
-
|
|
49410
|
-
|
|
49411
|
-
|
|
49412
|
-
|
|
49413
|
-
className: navigationMenuClassName,
|
|
49414
|
-
children: /* @__PURE__ */ jsx(NavigationMenuList, { className: "relative", children: renderMenu() })
|
|
49415
|
-
}
|
|
49416
|
-
) }) }),
|
|
49417
|
-
/* @__PURE__ */ jsx("div", { className: cn("flex gap-2", actionsClassName), children: renderAuthActions() })
|
|
49418
|
-
]
|
|
49458
|
+
variant: "outline",
|
|
49459
|
+
size: "icon",
|
|
49460
|
+
asButton: true,
|
|
49461
|
+
onClick: () => {
|
|
49462
|
+
},
|
|
49463
|
+
children: /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/menu", size: 16 })
|
|
49419
49464
|
}
|
|
49420
|
-
),
|
|
49421
|
-
/* @__PURE__ */
|
|
49422
|
-
renderLogo(),
|
|
49423
|
-
/* @__PURE__ */ jsxs(
|
|
49424
|
-
/* @__PURE__ */ jsx(
|
|
49425
|
-
|
|
49465
|
+
) }),
|
|
49466
|
+
/* @__PURE__ */ jsxs(SheetContent, { className: "overflow-y-auto", children: [
|
|
49467
|
+
/* @__PURE__ */ jsx(SheetHeader, { children: /* @__PURE__ */ jsx(SheetTitle, { children: renderLogo() }) }),
|
|
49468
|
+
/* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-6 p-4", children: [
|
|
49469
|
+
/* @__PURE__ */ jsx(
|
|
49470
|
+
Accordion,
|
|
49426
49471
|
{
|
|
49427
|
-
|
|
49428
|
-
|
|
49429
|
-
|
|
49430
|
-
|
|
49431
|
-
},
|
|
49432
|
-
children: /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/menu", size: 16 })
|
|
49472
|
+
type: "single",
|
|
49473
|
+
collapsible: true,
|
|
49474
|
+
className: "flex w-full flex-col gap-4",
|
|
49475
|
+
children: renderMobileMenu()
|
|
49433
49476
|
}
|
|
49434
|
-
)
|
|
49435
|
-
/* @__PURE__ */
|
|
49436
|
-
/* @__PURE__ */ jsx(SheetHeader, { children: /* @__PURE__ */ jsx(SheetTitle, { children: renderLogo() }) }),
|
|
49437
|
-
/* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-6 p-4", children: [
|
|
49438
|
-
/* @__PURE__ */ jsx(
|
|
49439
|
-
Accordion,
|
|
49440
|
-
{
|
|
49441
|
-
type: "single",
|
|
49442
|
-
collapsible: true,
|
|
49443
|
-
className: "flex w-full flex-col gap-4",
|
|
49444
|
-
children: renderMobileMenu()
|
|
49445
|
-
}
|
|
49446
|
-
),
|
|
49447
|
-
/* @__PURE__ */ jsx("div", { className: cn("flex flex-col gap-3", actionsClassName), children: renderAuthActions() })
|
|
49448
|
-
] })
|
|
49449
|
-
] })
|
|
49477
|
+
),
|
|
49478
|
+
/* @__PURE__ */ jsx("div", { className: cn("flex flex-col gap-3", actionsClassName), children: renderAuthActions() })
|
|
49450
49479
|
] })
|
|
49451
|
-
] })
|
|
49452
|
-
]
|
|
49453
|
-
}
|
|
49454
|
-
)
|
|
49480
|
+
] })
|
|
49481
|
+
] })
|
|
49482
|
+
] }) })
|
|
49483
|
+
] }) })
|
|
49455
49484
|
}
|
|
49456
49485
|
);
|
|
49457
49486
|
};
|
|
@@ -49488,8 +49517,8 @@ var DesktopMenuItem = ({
|
|
|
49488
49517
|
if (layout === "animated-image-preview" && link.links) {
|
|
49489
49518
|
return /* @__PURE__ */ jsxs(NavigationMenuItem, { children: [
|
|
49490
49519
|
/* @__PURE__ */ 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 }),
|
|
49491
|
-
/* @__PURE__ */ jsx(NavigationMenuContent, { className: "
|
|
49492
|
-
/* @__PURE__ */ jsx("div", { className: "relative aspect-square w-full overflow-hidden rounded-xl", children: link.links.map((item, idx) => /* @__PURE__ */ jsx(
|
|
49520
|
+
/* @__PURE__ */ jsx(NavigationMenuContent, { className: "rounded-2xl! p-0!", children: /* @__PURE__ */ jsxs("div", { className: "grid min-h-75 w-181 grid-cols-[22.5rem_1fr] gap-4 p-3", children: [
|
|
49521
|
+
/* @__PURE__ */ jsx("div", { className: "relative aspect-square w-full overflow-hidden rounded-xl shadow-xl", children: link.links.map((item, idx) => /* @__PURE__ */ jsx(
|
|
49493
49522
|
Img,
|
|
49494
49523
|
{
|
|
49495
49524
|
ref: (el) => {
|
|
@@ -49518,7 +49547,7 @@ var DesktopMenuItem = ({
|
|
|
49518
49547
|
onMouseEnter: handleMouseEnter,
|
|
49519
49548
|
onMouseLeave: handleMouseLeave,
|
|
49520
49549
|
children: /* @__PURE__ */ jsxs("div", { children: [
|
|
49521
|
-
/* @__PURE__ */ jsx("
|
|
49550
|
+
/* @__PURE__ */ jsx("div", { className: "text-sm font-medium", children: item.label }),
|
|
49522
49551
|
item.description && /* @__PURE__ */ jsx("p", { className: "text-xs leading-normal text-muted-foreground", children: item.description })
|
|
49523
49552
|
] })
|
|
49524
49553
|
}
|
|
@@ -49646,6 +49675,7 @@ var NavbarMegaMenu = ({
|
|
|
49646
49675
|
logoSlot,
|
|
49647
49676
|
menuLinks,
|
|
49648
49677
|
actions,
|
|
49678
|
+
layoutVariant = "fullScreenContainerizedLinks",
|
|
49649
49679
|
background = "white",
|
|
49650
49680
|
spacing = "none",
|
|
49651
49681
|
pattern,
|
|
@@ -49705,15 +49735,27 @@ var NavbarMegaMenu = ({
|
|
|
49705
49735
|
] }) }, index);
|
|
49706
49736
|
});
|
|
49707
49737
|
};
|
|
49738
|
+
const {
|
|
49739
|
+
sectionClasses,
|
|
49740
|
+
containerWrapperClasses,
|
|
49741
|
+
innerContainerClasses,
|
|
49742
|
+
navWrapperClasses: baseNavWrapperClasses,
|
|
49743
|
+
spacingOverride
|
|
49744
|
+
} = getNavbarLayoutClasses(layoutVariant, { className, containerClassName });
|
|
49745
|
+
const navWrapperClasses = cn(
|
|
49746
|
+
"flex w-full items-center justify-between gap-12 py-4",
|
|
49747
|
+
baseNavWrapperClasses,
|
|
49748
|
+
layoutVariant === "floatingBar" && "pr-4 pl-8"
|
|
49749
|
+
);
|
|
49708
49750
|
return /* @__PURE__ */ jsx(
|
|
49709
49751
|
Section,
|
|
49710
49752
|
{
|
|
49711
49753
|
background,
|
|
49712
|
-
spacing,
|
|
49713
|
-
className:
|
|
49754
|
+
spacing: spacingOverride ?? spacing,
|
|
49755
|
+
className: sectionClasses,
|
|
49714
49756
|
pattern,
|
|
49715
49757
|
patternOpacity,
|
|
49716
|
-
children: /* @__PURE__ */ jsx("div", { className:
|
|
49758
|
+
children: /* @__PURE__ */ jsx("div", { className: containerWrapperClasses, children: /* @__PURE__ */ jsx("div", { className: innerContainerClasses, children: /* @__PURE__ */ jsxs(
|
|
49717
49759
|
NavigationMenu,
|
|
49718
49760
|
{
|
|
49719
49761
|
className: cn(
|
|
@@ -49721,7 +49763,7 @@ var NavbarMegaMenu = ({
|
|
|
49721
49763
|
navClassName
|
|
49722
49764
|
),
|
|
49723
49765
|
children: [
|
|
49724
|
-
/* @__PURE__ */ jsxs("div", { className:
|
|
49766
|
+
/* @__PURE__ */ jsxs("div", { className: navWrapperClasses, children: [
|
|
49725
49767
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
49726
49768
|
(!open || submenuIndex === null) && renderLogo(),
|
|
49727
49769
|
open && submenuIndex !== null && /* @__PURE__ */ jsxs(
|
|
@@ -49866,7 +49908,7 @@ var NavbarMegaMenu = ({
|
|
|
49866
49908
|
)
|
|
49867
49909
|
]
|
|
49868
49910
|
}
|
|
49869
|
-
) })
|
|
49911
|
+
) }) })
|
|
49870
49912
|
}
|
|
49871
49913
|
);
|
|
49872
49914
|
};
|
|
@@ -49886,6 +49928,7 @@ var NavbarEnterpriseMega = ({
|
|
|
49886
49928
|
menuLinks,
|
|
49887
49929
|
actions,
|
|
49888
49930
|
actionsSlot,
|
|
49931
|
+
layoutVariant = "fullScreenContainerizedLinks",
|
|
49889
49932
|
background = "white",
|
|
49890
49933
|
spacing = "none",
|
|
49891
49934
|
pattern,
|
|
@@ -49954,23 +49997,31 @@ var NavbarEnterpriseMega = ({
|
|
|
49954
49997
|
] }) }, index);
|
|
49955
49998
|
});
|
|
49956
49999
|
};
|
|
50000
|
+
const {
|
|
50001
|
+
sectionClasses,
|
|
50002
|
+
containerWrapperClasses,
|
|
50003
|
+
innerContainerClasses,
|
|
50004
|
+
navWrapperClasses,
|
|
50005
|
+
spacingOverride
|
|
50006
|
+
} = getNavbarLayoutClasses(layoutVariant, { className, containerClassName });
|
|
49957
50007
|
return /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
49958
50008
|
/* @__PURE__ */ jsx(
|
|
49959
50009
|
Section,
|
|
49960
50010
|
{
|
|
49961
50011
|
background,
|
|
49962
|
-
spacing,
|
|
50012
|
+
spacing: spacingOverride ?? spacing,
|
|
49963
50013
|
className: cn(
|
|
49964
|
-
"pointer-events-auto fixed top-0 z-999 flex w-full items-center justify-center
|
|
49965
|
-
|
|
50014
|
+
"pointer-events-auto fixed top-0 z-999 flex w-full items-center justify-center",
|
|
50015
|
+
sectionClasses
|
|
49966
50016
|
),
|
|
49967
50017
|
pattern,
|
|
49968
50018
|
patternOpacity,
|
|
49969
|
-
children: /* @__PURE__ */ jsx("div", { className:
|
|
49970
|
-
"
|
|
50019
|
+
children: /* @__PURE__ */ jsx("div", { className: containerWrapperClasses, children: /* @__PURE__ */ jsx("div", { className: innerContainerClasses, children: /* @__PURE__ */ jsxs(
|
|
50020
|
+
"nav",
|
|
49971
50021
|
{
|
|
49972
50022
|
className: cn(
|
|
49973
50023
|
"flex h-16 items-center justify-between gap-8",
|
|
50024
|
+
navWrapperClasses,
|
|
49974
50025
|
navClassName
|
|
49975
50026
|
),
|
|
49976
50027
|
children: [
|
|
@@ -50021,7 +50072,7 @@ var NavbarEnterpriseMega = ({
|
|
|
50021
50072
|
] })
|
|
50022
50073
|
]
|
|
50023
50074
|
}
|
|
50024
|
-
) })
|
|
50075
|
+
) }) })
|
|
50025
50076
|
}
|
|
50026
50077
|
),
|
|
50027
50078
|
/* @__PURE__ */ jsx(
|
|
@@ -50699,6 +50750,7 @@ var NavbarFeatureGrid = ({
|
|
|
50699
50750
|
features,
|
|
50700
50751
|
authActions,
|
|
50701
50752
|
authActionsSlot,
|
|
50753
|
+
layoutVariant = "fullScreenContainerizedLinks",
|
|
50702
50754
|
background = "white",
|
|
50703
50755
|
spacing = "sm",
|
|
50704
50756
|
pattern,
|
|
@@ -50747,15 +50799,22 @@ var NavbarFeatureGrid = ({
|
|
|
50747
50799
|
] }) }, index);
|
|
50748
50800
|
});
|
|
50749
50801
|
};
|
|
50802
|
+
const {
|
|
50803
|
+
sectionClasses,
|
|
50804
|
+
containerWrapperClasses,
|
|
50805
|
+
innerContainerClasses,
|
|
50806
|
+
navWrapperClasses,
|
|
50807
|
+
spacingOverride
|
|
50808
|
+
} = getNavbarLayoutClasses(layoutVariant, { className, containerClassName });
|
|
50750
50809
|
return /* @__PURE__ */ jsx(
|
|
50751
50810
|
Section,
|
|
50752
50811
|
{
|
|
50753
50812
|
background,
|
|
50754
|
-
spacing,
|
|
50755
|
-
className:
|
|
50813
|
+
spacing: spacingOverride ?? spacing,
|
|
50814
|
+
className: sectionClasses,
|
|
50756
50815
|
pattern,
|
|
50757
50816
|
patternOpacity,
|
|
50758
|
-
children: /* @__PURE__ */ jsx("div", { className:
|
|
50817
|
+
children: /* @__PURE__ */ jsx("div", { className: containerWrapperClasses, children: /* @__PURE__ */ jsx("div", { className: innerContainerClasses, children: /* @__PURE__ */ jsxs("nav", { className: cn("flex items-center justify-between", navWrapperClasses, navClassName), children: [
|
|
50759
50818
|
renderLogo(),
|
|
50760
50819
|
/* @__PURE__ */ jsx(
|
|
50761
50820
|
NavigationMenu,
|
|
@@ -50859,7 +50918,7 @@ var NavbarFeatureGrid = ({
|
|
|
50859
50918
|
] })
|
|
50860
50919
|
] })
|
|
50861
50920
|
] })
|
|
50862
|
-
] }) })
|
|
50921
|
+
] }) }) })
|
|
50863
50922
|
}
|
|
50864
50923
|
);
|
|
50865
50924
|
};
|
|
@@ -50879,6 +50938,7 @@ var NavbarFloatingPill = ({
|
|
|
50879
50938
|
pillWrapperClassName,
|
|
50880
50939
|
navigationMenuClassName,
|
|
50881
50940
|
actionsClassName,
|
|
50941
|
+
layoutVariant = "fullScreenContainerizedLinks",
|
|
50882
50942
|
background = "white",
|
|
50883
50943
|
spacing = "none",
|
|
50884
50944
|
pattern,
|
|
@@ -50943,20 +51003,27 @@ var NavbarFloatingPill = ({
|
|
|
50943
51003
|
if (!items || items.length === 0) return null;
|
|
50944
51004
|
return items;
|
|
50945
51005
|
};
|
|
51006
|
+
const {
|
|
51007
|
+
sectionClasses,
|
|
51008
|
+
containerWrapperClasses,
|
|
51009
|
+
innerContainerClasses,
|
|
51010
|
+
navWrapperClasses,
|
|
51011
|
+
spacingOverride
|
|
51012
|
+
} = getNavbarLayoutClasses(layoutVariant, { className, containerClassName });
|
|
50946
51013
|
return /* @__PURE__ */ jsx(
|
|
50947
51014
|
Section,
|
|
50948
51015
|
{
|
|
50949
51016
|
background,
|
|
50950
|
-
spacing,
|
|
50951
|
-
className:
|
|
51017
|
+
spacing: spacingOverride ?? spacing,
|
|
51018
|
+
className: sectionClasses,
|
|
50952
51019
|
pattern,
|
|
50953
51020
|
patternOpacity,
|
|
50954
|
-
children: /* @__PURE__ */ jsxs(
|
|
50955
|
-
"
|
|
51021
|
+
children: /* @__PURE__ */ jsx("div", { className: containerWrapperClasses, children: /* @__PURE__ */ jsx("div", { className: innerContainerClasses, children: /* @__PURE__ */ jsxs(
|
|
51022
|
+
"nav",
|
|
50956
51023
|
{
|
|
50957
51024
|
className: cn(
|
|
50958
|
-
"absolute top-5 left-1/2 z-50 w-[min(90%,700px)] -translate-x-1/2 rounded-full
|
|
50959
|
-
|
|
51025
|
+
"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",
|
|
51026
|
+
navWrapperClasses
|
|
50960
51027
|
),
|
|
50961
51028
|
children: [
|
|
50962
51029
|
/* @__PURE__ */ jsxs(
|
|
@@ -51112,7 +51179,7 @@ var NavbarFloatingPill = ({
|
|
|
51112
51179
|
)
|
|
51113
51180
|
]
|
|
51114
51181
|
}
|
|
51115
|
-
)
|
|
51182
|
+
) }) })
|
|
51116
51183
|
}
|
|
51117
51184
|
);
|
|
51118
51185
|
};
|
|
@@ -51131,6 +51198,7 @@ var NavbarPlatformResources = ({
|
|
|
51131
51198
|
logoSlot,
|
|
51132
51199
|
menuLinks,
|
|
51133
51200
|
actions,
|
|
51201
|
+
layoutVariant = "fullScreenContainerizedLinks",
|
|
51134
51202
|
background = "white",
|
|
51135
51203
|
spacing = "none",
|
|
51136
51204
|
pattern,
|
|
@@ -51422,173 +51490,171 @@ var NavbarPlatformResources = ({
|
|
|
51422
51490
|
] }) }, index);
|
|
51423
51491
|
});
|
|
51424
51492
|
};
|
|
51493
|
+
const {
|
|
51494
|
+
sectionClasses,
|
|
51495
|
+
containerWrapperClasses,
|
|
51496
|
+
innerContainerClasses,
|
|
51497
|
+
navWrapperClasses,
|
|
51498
|
+
spacingOverride
|
|
51499
|
+
} = getNavbarLayoutClasses(layoutVariant, { className, containerClassName });
|
|
51425
51500
|
return /* @__PURE__ */ jsx(
|
|
51426
51501
|
Section,
|
|
51427
51502
|
{
|
|
51428
51503
|
background,
|
|
51429
|
-
spacing,
|
|
51430
|
-
className:
|
|
51504
|
+
spacing: spacingOverride ?? spacing,
|
|
51505
|
+
className: sectionClasses,
|
|
51431
51506
|
pattern,
|
|
51432
51507
|
patternOpacity,
|
|
51433
|
-
children: /* @__PURE__ */ jsx(
|
|
51434
|
-
"div",
|
|
51435
|
-
|
|
51436
|
-
|
|
51437
|
-
|
|
51438
|
-
|
|
51439
|
-
|
|
51440
|
-
|
|
51441
|
-
|
|
51442
|
-
|
|
51443
|
-
|
|
51444
|
-
|
|
51445
|
-
|
|
51446
|
-
|
|
51447
|
-
|
|
51448
|
-
|
|
51449
|
-
|
|
51450
|
-
|
|
51451
|
-
|
|
51452
|
-
children: [
|
|
51453
|
-
/* @__PURE__ */ 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 }),
|
|
51454
|
-
renderDropdownContent3(link)
|
|
51455
|
-
]
|
|
51456
|
-
},
|
|
51457
|
-
`${typeof link.label === "string" ? link.label : "menu"}-${index}`
|
|
51458
|
-
);
|
|
51459
|
-
}
|
|
51460
|
-
if (!link.href) {
|
|
51461
|
-
return null;
|
|
51462
|
-
}
|
|
51463
|
-
return /* @__PURE__ */ jsx(
|
|
51464
|
-
NavigationMenuItem,
|
|
51465
|
-
{
|
|
51466
|
-
children: /* @__PURE__ */ jsx(
|
|
51467
|
-
NavigationMenuLink,
|
|
51468
|
-
{
|
|
51469
|
-
href: link.href,
|
|
51470
|
-
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",
|
|
51471
|
-
children: link.label
|
|
51472
|
-
}
|
|
51473
|
-
)
|
|
51474
|
-
},
|
|
51475
|
-
`${typeof link.label === "string" ? link.label : "menu"}-${index}`
|
|
51476
|
-
);
|
|
51477
|
-
})
|
|
51508
|
+
children: /* @__PURE__ */ jsx("div", { className: containerWrapperClasses, children: /* @__PURE__ */ jsx("div", { className: cn(innerContainerClasses, navWrapperClasses), children: /* @__PURE__ */ jsxs(NavigationMenu, { className: cn("min-w-full", navigationMenuClassName), children: [
|
|
51509
|
+
/* @__PURE__ */ jsxs("div", { className: "flex w-full items-center justify-between gap-12 py-4", children: [
|
|
51510
|
+
renderLogo(),
|
|
51511
|
+
/* @__PURE__ */ jsx(
|
|
51512
|
+
NavigationMenuList,
|
|
51513
|
+
{
|
|
51514
|
+
className: cn("hidden lg:flex", navigationMenuListClassName),
|
|
51515
|
+
children: menuLinks?.map((link, index) => {
|
|
51516
|
+
if (hasDropdownItems(link)) {
|
|
51517
|
+
return /* @__PURE__ */ jsxs(
|
|
51518
|
+
NavigationMenuItem,
|
|
51519
|
+
{
|
|
51520
|
+
children: [
|
|
51521
|
+
/* @__PURE__ */ 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 }),
|
|
51522
|
+
renderDropdownContent3(link)
|
|
51523
|
+
]
|
|
51524
|
+
},
|
|
51525
|
+
`${typeof link.label === "string" ? link.label : "menu"}-${index}`
|
|
51526
|
+
);
|
|
51478
51527
|
}
|
|
51479
|
-
|
|
51480
|
-
|
|
51481
|
-
"div",
|
|
51482
|
-
{
|
|
51483
|
-
className: cn(
|
|
51484
|
-
"hidden items-center gap-4 lg:flex",
|
|
51485
|
-
actionsClassName
|
|
51486
|
-
),
|
|
51487
|
-
children: renderActions()
|
|
51528
|
+
if (!link.href) {
|
|
51529
|
+
return null;
|
|
51488
51530
|
}
|
|
51531
|
+
return /* @__PURE__ */ jsx(
|
|
51532
|
+
NavigationMenuItem,
|
|
51533
|
+
{
|
|
51534
|
+
children: /* @__PURE__ */ jsx(
|
|
51535
|
+
NavigationMenuLink,
|
|
51536
|
+
{
|
|
51537
|
+
href: link.href,
|
|
51538
|
+
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",
|
|
51539
|
+
children: link.label
|
|
51540
|
+
}
|
|
51541
|
+
)
|
|
51542
|
+
},
|
|
51543
|
+
`${typeof link.label === "string" ? link.label : "menu"}-${index}`
|
|
51544
|
+
);
|
|
51545
|
+
})
|
|
51546
|
+
}
|
|
51547
|
+
),
|
|
51548
|
+
/* @__PURE__ */ jsx(
|
|
51549
|
+
"div",
|
|
51550
|
+
{
|
|
51551
|
+
className: cn(
|
|
51552
|
+
"hidden items-center gap-4 lg:flex",
|
|
51553
|
+
actionsClassName
|
|
51489
51554
|
),
|
|
51490
|
-
|
|
51491
|
-
|
|
51492
|
-
|
|
51493
|
-
|
|
51494
|
-
|
|
51495
|
-
|
|
51496
|
-
|
|
51497
|
-
|
|
51498
|
-
|
|
51499
|
-
|
|
51500
|
-
|
|
51501
|
-
|
|
51502
|
-
}
|
|
51503
|
-
|
|
51504
|
-
|
|
51505
|
-
|
|
51506
|
-
|
|
51507
|
-
|
|
51508
|
-
|
|
51509
|
-
|
|
51510
|
-
|
|
51511
|
-
|
|
51512
|
-
|
|
51513
|
-
|
|
51514
|
-
|
|
51515
|
-
|
|
51516
|
-
|
|
51517
|
-
|
|
51518
|
-
|
|
51519
|
-
|
|
51520
|
-
|
|
51521
|
-
|
|
51522
|
-
|
|
51523
|
-
|
|
51524
|
-
|
|
51525
|
-
|
|
51526
|
-
|
|
51527
|
-
|
|
51528
|
-
|
|
51529
|
-
|
|
51530
|
-
|
|
51531
|
-
|
|
51532
|
-
|
|
51533
|
-
|
|
51534
|
-
|
|
51535
|
-
|
|
51536
|
-
|
|
51537
|
-
|
|
51538
|
-
|
|
51539
|
-
|
|
51540
|
-
|
|
51541
|
-
|
|
51542
|
-
|
|
51543
|
-
|
|
51544
|
-
|
|
51545
|
-
|
|
51546
|
-
|
|
51547
|
-
|
|
51548
|
-
|
|
51549
|
-
|
|
51550
|
-
|
|
51551
|
-
|
|
51552
|
-
|
|
51553
|
-
|
|
51554
|
-
|
|
51555
|
-
|
|
51556
|
-
}
|
|
51557
|
-
|
|
51558
|
-
|
|
51559
|
-
|
|
51560
|
-
|
|
51561
|
-
|
|
51555
|
+
children: renderActions()
|
|
51556
|
+
}
|
|
51557
|
+
),
|
|
51558
|
+
/* @__PURE__ */ jsx("div", { className: "flex items-center gap-4 lg:hidden", children: /* @__PURE__ */ jsxs(
|
|
51559
|
+
Pressable,
|
|
51560
|
+
{
|
|
51561
|
+
variant: "outline",
|
|
51562
|
+
size: "icon",
|
|
51563
|
+
asButton: true,
|
|
51564
|
+
"aria-label": "Main Menu",
|
|
51565
|
+
onClick: () => setOpen(!open),
|
|
51566
|
+
children: [
|
|
51567
|
+
!open && /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/menu", size: 16 }),
|
|
51568
|
+
open && /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/x", size: 16 })
|
|
51569
|
+
]
|
|
51570
|
+
}
|
|
51571
|
+
) })
|
|
51572
|
+
] }),
|
|
51573
|
+
open && /* @__PURE__ */ jsxs(
|
|
51574
|
+
"div",
|
|
51575
|
+
{
|
|
51576
|
+
className: cn(
|
|
51577
|
+
"absolute inset-0 top-[72px] flex h-[calc(100vh-72px)] w-full flex-col overflow-scroll border-t border-border bg-background lg:hidden",
|
|
51578
|
+
mobileMenuClassName
|
|
51579
|
+
),
|
|
51580
|
+
children: [
|
|
51581
|
+
/* @__PURE__ */ jsx(Accordion, { type: "single", collapsible: true, className: "w-full", children: menuLinks?.map((link, index) => {
|
|
51582
|
+
if (hasDropdownItems(link)) {
|
|
51583
|
+
return /* @__PURE__ */ jsxs(
|
|
51584
|
+
AccordionItem,
|
|
51585
|
+
{
|
|
51586
|
+
value: `menu-${index}`,
|
|
51587
|
+
className: "border-b-2 border-dashed",
|
|
51588
|
+
children: [
|
|
51589
|
+
/* @__PURE__ */ jsx(AccordionTrigger, { className: "px-2 py-4 text-left hover:no-underline", children: link.label }),
|
|
51590
|
+
/* @__PURE__ */ jsx(AccordionContent, { className: "px-2 pb-4", children: /* @__PURE__ */ jsx("div", { className: "space-y-3", children: link.links?.map((item, itemIndex) => /* @__PURE__ */ jsxs(
|
|
51591
|
+
Pressable,
|
|
51592
|
+
{
|
|
51593
|
+
href: getLinkUrl(item),
|
|
51594
|
+
className: "group flex items-start gap-4 rounded-lg p-2 hover:bg-muted",
|
|
51595
|
+
children: [
|
|
51596
|
+
item.image && /* @__PURE__ */ jsx("div", { className: "h-10 w-10 overflow-hidden rounded-md border border-border", children: /* @__PURE__ */ jsx(
|
|
51597
|
+
Img,
|
|
51598
|
+
{
|
|
51599
|
+
src: item.image,
|
|
51600
|
+
alt: typeof item.label === "string" ? item.label : "Menu item",
|
|
51601
|
+
className: "h-full w-full object-cover object-center",
|
|
51602
|
+
optixFlowConfig
|
|
51603
|
+
}
|
|
51604
|
+
) }),
|
|
51605
|
+
!item.image && (item.icon || item.iconName) && /* @__PURE__ */ 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__ */ jsx(
|
|
51606
|
+
DynamicIcon,
|
|
51607
|
+
{
|
|
51608
|
+
name: item.iconName,
|
|
51609
|
+
size: 16
|
|
51610
|
+
}
|
|
51611
|
+
) : null }),
|
|
51612
|
+
/* @__PURE__ */ jsxs("div", { className: "flex-1", children: [
|
|
51613
|
+
/* @__PURE__ */ jsx("div", { className: "text-sm font-medium text-foreground", children: item.label }),
|
|
51614
|
+
item.description && /* @__PURE__ */ jsx("div", { className: "text-xs text-muted-foreground", children: item.description })
|
|
51615
|
+
] })
|
|
51616
|
+
]
|
|
51617
|
+
},
|
|
51618
|
+
`${typeof item.label === "string" ? item.label : "item"}-${itemIndex}`
|
|
51619
|
+
)) }) })
|
|
51620
|
+
]
|
|
51621
|
+
},
|
|
51622
|
+
`${typeof link.label === "string" ? link.label : "menu"}-${index}`
|
|
51623
|
+
);
|
|
51624
|
+
}
|
|
51625
|
+
if (!link.href) {
|
|
51626
|
+
return null;
|
|
51627
|
+
}
|
|
51628
|
+
return /* @__PURE__ */ jsx(
|
|
51629
|
+
"div",
|
|
51630
|
+
{
|
|
51631
|
+
className: "border-b-2 border-dashed",
|
|
51632
|
+
children: /* @__PURE__ */ jsx(
|
|
51633
|
+
Pressable,
|
|
51562
51634
|
{
|
|
51563
|
-
|
|
51564
|
-
|
|
51565
|
-
|
|
51566
|
-
|
|
51567
|
-
|
|
51568
|
-
|
|
51569
|
-
|
|
51570
|
-
|
|
51571
|
-
|
|
51572
|
-
|
|
51573
|
-
|
|
51574
|
-
|
|
51575
|
-
|
|
51576
|
-
|
|
51577
|
-
|
|
51578
|
-
|
|
51579
|
-
|
|
51580
|
-
|
|
51581
|
-
|
|
51582
|
-
|
|
51583
|
-
|
|
51584
|
-
|
|
51585
|
-
|
|
51586
|
-
]
|
|
51587
|
-
}
|
|
51588
|
-
)
|
|
51589
|
-
] })
|
|
51590
|
-
}
|
|
51591
|
-
)
|
|
51635
|
+
href: link.href,
|
|
51636
|
+
className: "flex w-full items-center px-2 py-4 text-left text-sm font-medium",
|
|
51637
|
+
children: link.label
|
|
51638
|
+
}
|
|
51639
|
+
)
|
|
51640
|
+
},
|
|
51641
|
+
`${typeof link.label === "string" ? link.label : "menu"}-${index}`
|
|
51642
|
+
);
|
|
51643
|
+
}) }),
|
|
51644
|
+
/* @__PURE__ */ jsx(
|
|
51645
|
+
"div",
|
|
51646
|
+
{
|
|
51647
|
+
className: cn(
|
|
51648
|
+
"mx-8 mt-auto flex flex-col gap-4 py-12",
|
|
51649
|
+
actionsClassName
|
|
51650
|
+
),
|
|
51651
|
+
children: renderActions()
|
|
51652
|
+
}
|
|
51653
|
+
)
|
|
51654
|
+
]
|
|
51655
|
+
}
|
|
51656
|
+
)
|
|
51657
|
+
] }) }) })
|
|
51592
51658
|
}
|
|
51593
51659
|
);
|
|
51594
51660
|
};
|
|
@@ -51613,6 +51679,7 @@ var NavbarImagePreview = ({
|
|
|
51613
51679
|
authActionsSlot,
|
|
51614
51680
|
socialLinks,
|
|
51615
51681
|
socialLinksSlot,
|
|
51682
|
+
layoutVariant = "fullScreenContainerizedLinks",
|
|
51616
51683
|
background = "white",
|
|
51617
51684
|
spacing = "none",
|
|
51618
51685
|
pattern,
|
|
@@ -51721,12 +51788,19 @@ var NavbarImagePreview = ({
|
|
|
51721
51788
|
);
|
|
51722
51789
|
});
|
|
51723
51790
|
};
|
|
51791
|
+
const {
|
|
51792
|
+
sectionClasses,
|
|
51793
|
+
containerWrapperClasses,
|
|
51794
|
+
innerContainerClasses,
|
|
51795
|
+
navWrapperClasses,
|
|
51796
|
+
spacingOverride
|
|
51797
|
+
} = getNavbarLayoutClasses(layoutVariant, { className, containerClassName });
|
|
51724
51798
|
return /* @__PURE__ */ jsxs(
|
|
51725
51799
|
Section,
|
|
51726
51800
|
{
|
|
51727
51801
|
background,
|
|
51728
|
-
spacing,
|
|
51729
|
-
className:
|
|
51802
|
+
spacing: spacingOverride ?? spacing,
|
|
51803
|
+
className: sectionClasses,
|
|
51730
51804
|
pattern,
|
|
51731
51805
|
patternOpacity,
|
|
51732
51806
|
children: [
|
|
@@ -51735,10 +51809,10 @@ var NavbarImagePreview = ({
|
|
|
51735
51809
|
{
|
|
51736
51810
|
className: cn(
|
|
51737
51811
|
"fixed top-0 z-500 w-full bg-transparent transition-colors duration-500",
|
|
51738
|
-
|
|
51812
|
+
containerWrapperClasses
|
|
51739
51813
|
),
|
|
51740
51814
|
ref: navRef,
|
|
51741
|
-
children: /* @__PURE__ */ jsx("div", { className:
|
|
51815
|
+
children: /* @__PURE__ */ jsx("div", { className: cn(innerContainerClasses, navWrapperClasses), children: /* @__PURE__ */ jsxs(
|
|
51742
51816
|
"div",
|
|
51743
51817
|
{
|
|
51744
51818
|
className: cn(
|
|
@@ -51996,6 +52070,7 @@ var NavbarDarkIcons = ({
|
|
|
51996
52070
|
authActionsSlot,
|
|
51997
52071
|
githubUrl = "https://github.com/opensite-ai/opensite-ui",
|
|
51998
52072
|
githubSlot,
|
|
52073
|
+
layoutVariant = "fullScreenContainerizedLinks",
|
|
51999
52074
|
background = "white",
|
|
52000
52075
|
spacing = "none",
|
|
52001
52076
|
pattern,
|
|
@@ -52095,20 +52170,28 @@ var NavbarDarkIcons = ({
|
|
|
52095
52170
|
if (!githubUrl) return null;
|
|
52096
52171
|
return /* @__PURE__ */ jsx(GithubStars, { repoUrl: githubUrl });
|
|
52097
52172
|
};
|
|
52173
|
+
const {
|
|
52174
|
+
sectionClasses,
|
|
52175
|
+
containerWrapperClasses,
|
|
52176
|
+
innerContainerClasses,
|
|
52177
|
+
navWrapperClasses,
|
|
52178
|
+
spacingOverride
|
|
52179
|
+
} = getNavbarLayoutClasses(layoutVariant, { className, containerClassName });
|
|
52098
52180
|
return /* @__PURE__ */ jsxs(
|
|
52099
52181
|
Section,
|
|
52100
52182
|
{
|
|
52101
52183
|
background,
|
|
52102
|
-
spacing,
|
|
52103
|
-
className: cn("dark pointer-events-auto relative z-999",
|
|
52184
|
+
spacing: spacingOverride ?? spacing,
|
|
52185
|
+
className: cn("dark pointer-events-auto relative z-999", sectionClasses),
|
|
52104
52186
|
pattern,
|
|
52105
52187
|
patternOpacity,
|
|
52106
52188
|
children: [
|
|
52107
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
52108
|
-
"
|
|
52189
|
+
/* @__PURE__ */ jsx("div", { className: containerWrapperClasses, children: /* @__PURE__ */ jsx("div", { className: innerContainerClasses, children: /* @__PURE__ */ jsxs(
|
|
52190
|
+
"nav",
|
|
52109
52191
|
{
|
|
52110
52192
|
className: cn(
|
|
52111
|
-
"flex h-
|
|
52193
|
+
"flex h-16 items-center justify-between",
|
|
52194
|
+
navWrapperClasses,
|
|
52112
52195
|
navClassName
|
|
52113
52196
|
),
|
|
52114
52197
|
children: [
|
|
@@ -52151,7 +52234,7 @@ var NavbarDarkIcons = ({
|
|
|
52151
52234
|
] })
|
|
52152
52235
|
]
|
|
52153
52236
|
}
|
|
52154
|
-
) }),
|
|
52237
|
+
) }) }),
|
|
52155
52238
|
/* @__PURE__ */ jsx(
|
|
52156
52239
|
MobileNavigationMenu3,
|
|
52157
52240
|
{
|
|
@@ -52347,6 +52430,7 @@ var NavbarAnimatedPreview = ({
|
|
|
52347
52430
|
navigationSlot,
|
|
52348
52431
|
actions,
|
|
52349
52432
|
actionsSlot,
|
|
52433
|
+
layoutVariant = "fullScreenContainerizedLinks",
|
|
52350
52434
|
background = "white",
|
|
52351
52435
|
spacing = "none",
|
|
52352
52436
|
pattern,
|
|
@@ -52442,68 +52526,70 @@ var NavbarAnimatedPreview = ({
|
|
|
52442
52526
|
`desktop-link-${index}`
|
|
52443
52527
|
)) });
|
|
52444
52528
|
};
|
|
52445
|
-
|
|
52529
|
+
const {
|
|
52530
|
+
sectionClasses,
|
|
52531
|
+
containerWrapperClasses,
|
|
52532
|
+
innerContainerClasses,
|
|
52533
|
+
navWrapperClasses: baseNavWrapperClasses,
|
|
52534
|
+
spacingOverride
|
|
52535
|
+
} = getNavbarLayoutClasses(layoutVariant, { className, containerClassName });
|
|
52536
|
+
const navWrapperClasses = cn(
|
|
52537
|
+
"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)]!",
|
|
52538
|
+
baseNavWrapperClasses,
|
|
52539
|
+
navigationMenuClassName
|
|
52540
|
+
);
|
|
52541
|
+
return /* @__PURE__ */ jsx(
|
|
52446
52542
|
Section,
|
|
52447
52543
|
{
|
|
52448
52544
|
background,
|
|
52449
|
-
spacing,
|
|
52545
|
+
spacing: spacingOverride ?? spacing,
|
|
52450
52546
|
className: cn(
|
|
52451
52547
|
"pointer-events-auto fixed top-0 z-999 flex w-full items-center justify-center",
|
|
52452
|
-
|
|
52548
|
+
sectionClasses
|
|
52453
52549
|
),
|
|
52454
52550
|
pattern,
|
|
52455
52551
|
patternOpacity,
|
|
52456
|
-
children: [
|
|
52457
|
-
/* @__PURE__ */ jsx(
|
|
52458
|
-
|
|
52552
|
+
children: /* @__PURE__ */ jsx("div", { className: containerWrapperClasses, children: /* @__PURE__ */ jsxs("div", { className: innerContainerClasses, children: [
|
|
52553
|
+
/* @__PURE__ */ jsx(NavigationMenu, { className: navWrapperClasses, children: /* @__PURE__ */ jsxs(
|
|
52554
|
+
"div",
|
|
52459
52555
|
{
|
|
52460
52556
|
className: cn(
|
|
52461
|
-
"
|
|
52462
|
-
navigationMenuClassName
|
|
52557
|
+
"relative z-999 grid w-full grid-cols-2 items-center justify-between gap-8 xl:grid-cols-3"
|
|
52463
52558
|
),
|
|
52464
|
-
children:
|
|
52465
|
-
|
|
52466
|
-
{
|
|
52467
|
-
|
|
52468
|
-
|
|
52469
|
-
|
|
52470
|
-
|
|
52471
|
-
|
|
52472
|
-
|
|
52473
|
-
|
|
52474
|
-
|
|
52475
|
-
|
|
52476
|
-
|
|
52477
|
-
|
|
52559
|
+
children: [
|
|
52560
|
+
renderLogo(),
|
|
52561
|
+
/* @__PURE__ */ jsx("div", { className: cn("hidden xl:flex", navClassName), children: renderNavigation() }),
|
|
52562
|
+
/* @__PURE__ */ jsxs("div", { className: cn("justify-self-end", actionsClassName), children: [
|
|
52563
|
+
/* @__PURE__ */ jsx("div", { className: "hidden xl:block", children: renderActions() }),
|
|
52564
|
+
/* @__PURE__ */ jsx("div", { className: "xl:hidden", children: /* @__PURE__ */ jsx(
|
|
52565
|
+
Pressable,
|
|
52566
|
+
{
|
|
52567
|
+
className: "size-11",
|
|
52568
|
+
variant: "ghost",
|
|
52569
|
+
size: "icon",
|
|
52570
|
+
asButton: true,
|
|
52571
|
+
onClick: handleMobileMenu,
|
|
52572
|
+
children: open ? /* @__PURE__ */ jsx(
|
|
52573
|
+
DynamicIcon,
|
|
52478
52574
|
{
|
|
52479
|
-
|
|
52480
|
-
|
|
52481
|
-
|
|
52482
|
-
asButton: true,
|
|
52483
|
-
onClick: handleMobileMenu,
|
|
52484
|
-
children: open ? /* @__PURE__ */ jsx(
|
|
52485
|
-
DynamicIcon,
|
|
52486
|
-
{
|
|
52487
|
-
name: "lucide/x",
|
|
52488
|
-
size: 22,
|
|
52489
|
-
className: "stroke-foreground"
|
|
52490
|
-
}
|
|
52491
|
-
) : /* @__PURE__ */ jsx(
|
|
52492
|
-
DynamicIcon,
|
|
52493
|
-
{
|
|
52494
|
-
name: "lucide/menu",
|
|
52495
|
-
size: 22,
|
|
52496
|
-
className: "stroke-foreground"
|
|
52497
|
-
}
|
|
52498
|
-
)
|
|
52575
|
+
name: "lucide/x",
|
|
52576
|
+
size: 22,
|
|
52577
|
+
className: "stroke-foreground"
|
|
52499
52578
|
}
|
|
52500
|
-
)
|
|
52501
|
-
|
|
52502
|
-
|
|
52503
|
-
|
|
52504
|
-
|
|
52579
|
+
) : /* @__PURE__ */ jsx(
|
|
52580
|
+
DynamicIcon,
|
|
52581
|
+
{
|
|
52582
|
+
name: "lucide/menu",
|
|
52583
|
+
size: 22,
|
|
52584
|
+
className: "stroke-foreground"
|
|
52585
|
+
}
|
|
52586
|
+
)
|
|
52587
|
+
}
|
|
52588
|
+
) })
|
|
52589
|
+
] })
|
|
52590
|
+
]
|
|
52505
52591
|
}
|
|
52506
|
-
),
|
|
52592
|
+
) }),
|
|
52507
52593
|
/* @__PURE__ */ jsx(
|
|
52508
52594
|
MobileNavigationMenu4,
|
|
52509
52595
|
{
|
|
@@ -52513,7 +52599,7 @@ var NavbarAnimatedPreview = ({
|
|
|
52513
52599
|
actionsSlot
|
|
52514
52600
|
}
|
|
52515
52601
|
)
|
|
52516
|
-
]
|
|
52602
|
+
] }) })
|
|
52517
52603
|
}
|
|
52518
52604
|
);
|
|
52519
52605
|
};
|
|
@@ -52902,6 +52988,7 @@ var NavbarMultiColumnGroups = ({
|
|
|
52902
52988
|
authActionsSlot,
|
|
52903
52989
|
mobileAuthActions,
|
|
52904
52990
|
mobileAuthActionsSlot,
|
|
52991
|
+
layoutVariant = "fullScreenContainerizedLinks",
|
|
52905
52992
|
background = "white",
|
|
52906
52993
|
spacing = "none",
|
|
52907
52994
|
pattern,
|
|
@@ -52996,19 +53083,23 @@ var NavbarMultiColumnGroups = ({
|
|
|
52996
53083
|
);
|
|
52997
53084
|
});
|
|
52998
53085
|
};
|
|
53086
|
+
const {
|
|
53087
|
+
sectionClasses,
|
|
53088
|
+
containerWrapperClasses,
|
|
53089
|
+
innerContainerClasses,
|
|
53090
|
+
navWrapperClasses,
|
|
53091
|
+
spacingOverride
|
|
53092
|
+
} = getNavbarLayoutClasses(layoutVariant, { className, containerClassName });
|
|
52999
53093
|
return /* @__PURE__ */ jsxs(
|
|
53000
53094
|
Section,
|
|
53001
53095
|
{
|
|
53002
53096
|
background,
|
|
53003
|
-
spacing,
|
|
53004
|
-
className:
|
|
53005
|
-
"pointer-events-auto fixed top-0 z-999 flex h-16 w-full items-center justify-center",
|
|
53006
|
-
className
|
|
53007
|
-
),
|
|
53097
|
+
spacing: spacingOverride ?? spacing,
|
|
53098
|
+
className: sectionClasses,
|
|
53008
53099
|
pattern,
|
|
53009
53100
|
patternOpacity,
|
|
53010
53101
|
children: [
|
|
53011
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
53102
|
+
/* @__PURE__ */ jsx("div", { className: containerWrapperClasses, children: /* @__PURE__ */ jsx("div", { className: cn(innerContainerClasses, navWrapperClasses), children: /* @__PURE__ */ jsxs(
|
|
53012
53103
|
"div",
|
|
53013
53104
|
{
|
|
53014
53105
|
className: cn(
|
|
@@ -53063,7 +53154,7 @@ var NavbarMultiColumnGroups = ({
|
|
|
53063
53154
|
) })
|
|
53064
53155
|
]
|
|
53065
53156
|
}
|
|
53066
|
-
) }),
|
|
53157
|
+
) }) }),
|
|
53067
53158
|
/* @__PURE__ */ jsx(
|
|
53068
53159
|
MobileNavigationMenu5,
|
|
53069
53160
|
{
|
|
@@ -53231,6 +53322,7 @@ var NavbarSidebarMobile = ({
|
|
|
53231
53322
|
navClassName,
|
|
53232
53323
|
navigationMenuClassName,
|
|
53233
53324
|
actionsClassName,
|
|
53325
|
+
layoutVariant = "fullScreenContainerizedLinks",
|
|
53234
53326
|
background = "white",
|
|
53235
53327
|
spacing = "none",
|
|
53236
53328
|
pattern,
|
|
@@ -53299,15 +53391,22 @@ var NavbarSidebarMobile = ({
|
|
|
53299
53391
|
if (!mobileExtraLinks || mobileExtraLinks.length === 0) return null;
|
|
53300
53392
|
return mobileExtraLinks;
|
|
53301
53393
|
};
|
|
53394
|
+
const {
|
|
53395
|
+
sectionClasses,
|
|
53396
|
+
containerWrapperClasses,
|
|
53397
|
+
innerContainerClasses,
|
|
53398
|
+
navWrapperClasses,
|
|
53399
|
+
spacingOverride
|
|
53400
|
+
} = getNavbarLayoutClasses(layoutVariant, { className, containerClassName });
|
|
53302
53401
|
return /* @__PURE__ */ jsx(
|
|
53303
53402
|
Section,
|
|
53304
53403
|
{
|
|
53305
53404
|
background,
|
|
53306
|
-
spacing,
|
|
53307
|
-
className:
|
|
53405
|
+
spacing: spacingOverride ?? spacing,
|
|
53406
|
+
className: sectionClasses,
|
|
53308
53407
|
pattern,
|
|
53309
53408
|
patternOpacity,
|
|
53310
|
-
children: /* @__PURE__ */ jsx("div", { className:
|
|
53409
|
+
children: /* @__PURE__ */ jsx("div", { className: containerWrapperClasses, children: /* @__PURE__ */ jsx("div", { className: cn(innerContainerClasses, navWrapperClasses), children: /* @__PURE__ */ jsxs(
|
|
53311
53410
|
"nav",
|
|
53312
53411
|
{
|
|
53313
53412
|
className: cn("flex items-center justify-between py-4", navClassName),
|
|
@@ -53432,7 +53531,7 @@ var NavbarSidebarMobile = ({
|
|
|
53432
53531
|
] })
|
|
53433
53532
|
]
|
|
53434
53533
|
}
|
|
53435
|
-
) })
|
|
53534
|
+
) }) })
|
|
53436
53535
|
}
|
|
53437
53536
|
);
|
|
53438
53537
|
};
|
|
@@ -53454,6 +53553,7 @@ var NavbarTransparentOverlay = ({
|
|
|
53454
53553
|
authActionsSlot,
|
|
53455
53554
|
mobileAuthActions,
|
|
53456
53555
|
mobileAuthActionsSlot,
|
|
53556
|
+
layoutVariant = "fullScreenContainerizedLinks",
|
|
53457
53557
|
background = "white",
|
|
53458
53558
|
spacing = "none",
|
|
53459
53559
|
pattern,
|
|
@@ -53598,16 +53698,23 @@ var NavbarTransparentOverlay = ({
|
|
|
53598
53698
|
);
|
|
53599
53699
|
});
|
|
53600
53700
|
};
|
|
53701
|
+
const {
|
|
53702
|
+
sectionClasses,
|
|
53703
|
+
containerWrapperClasses,
|
|
53704
|
+
innerContainerClasses,
|
|
53705
|
+
navWrapperClasses,
|
|
53706
|
+
spacingOverride
|
|
53707
|
+
} = getNavbarLayoutClasses(layoutVariant, { className, containerClassName });
|
|
53601
53708
|
return /* @__PURE__ */ jsxs(
|
|
53602
53709
|
Section,
|
|
53603
53710
|
{
|
|
53604
53711
|
background,
|
|
53605
|
-
spacing,
|
|
53606
|
-
className:
|
|
53712
|
+
spacing: spacingOverride ?? spacing,
|
|
53713
|
+
className: sectionClasses,
|
|
53607
53714
|
pattern,
|
|
53608
53715
|
patternOpacity,
|
|
53609
53716
|
children: [
|
|
53610
|
-
/* @__PURE__ */ jsx(
|
|
53717
|
+
/* @__PURE__ */ jsx("div", { className: containerWrapperClasses, children: /* @__PURE__ */ jsx("div", { className: cn(innerContainerClasses, navWrapperClasses), children: /* @__PURE__ */ jsx(
|
|
53611
53718
|
"nav",
|
|
53612
53719
|
{
|
|
53613
53720
|
className: cn(
|
|
@@ -53615,7 +53722,7 @@ var NavbarTransparentOverlay = ({
|
|
|
53615
53722
|
isScrolled ? "bg-background/95 shadow-sm backdrop-blur-sm" : "bg-transparent",
|
|
53616
53723
|
navClassName
|
|
53617
53724
|
),
|
|
53618
|
-
children: /* @__PURE__ */
|
|
53725
|
+
children: /* @__PURE__ */ jsxs("div", { className: "flex h-16 items-center justify-between", children: [
|
|
53619
53726
|
renderLogo(),
|
|
53620
53727
|
/* @__PURE__ */ jsx(
|
|
53621
53728
|
NavigationMenu,
|
|
@@ -53673,9 +53780,9 @@ var NavbarTransparentOverlay = ({
|
|
|
53673
53780
|
]
|
|
53674
53781
|
}
|
|
53675
53782
|
)
|
|
53676
|
-
] })
|
|
53783
|
+
] })
|
|
53677
53784
|
}
|
|
53678
|
-
),
|
|
53785
|
+
) }) }),
|
|
53679
53786
|
/* @__PURE__ */ jsx(
|
|
53680
53787
|
"div",
|
|
53681
53788
|
{
|
|
@@ -53741,6 +53848,7 @@ var NavbarEducationPlatform = ({
|
|
|
53741
53848
|
company,
|
|
53742
53849
|
authActions,
|
|
53743
53850
|
authActionsSlot,
|
|
53851
|
+
layoutVariant = "fullScreenContainerizedLinks",
|
|
53744
53852
|
background = "white",
|
|
53745
53853
|
spacing = "none",
|
|
53746
53854
|
pattern,
|
|
@@ -53790,23 +53898,29 @@ var NavbarEducationPlatform = ({
|
|
|
53790
53898
|
] }) }, index);
|
|
53791
53899
|
});
|
|
53792
53900
|
};
|
|
53901
|
+
const {
|
|
53902
|
+
sectionClasses,
|
|
53903
|
+
containerWrapperClasses,
|
|
53904
|
+
innerContainerClasses,
|
|
53905
|
+
navWrapperClasses,
|
|
53906
|
+
spacingOverride
|
|
53907
|
+
} = getNavbarLayoutClasses(layoutVariant, { className, containerClassName });
|
|
53793
53908
|
return /* @__PURE__ */ jsxs(
|
|
53794
53909
|
Section,
|
|
53795
53910
|
{
|
|
53796
53911
|
background,
|
|
53797
|
-
spacing,
|
|
53912
|
+
spacing: spacingOverride ?? spacing,
|
|
53798
53913
|
className: cn(
|
|
53799
|
-
"border-b border-border lg:border-b",
|
|
53800
53914
|
isOpen && "border-b-0",
|
|
53801
|
-
|
|
53915
|
+
sectionClasses
|
|
53802
53916
|
),
|
|
53803
53917
|
pattern,
|
|
53804
53918
|
patternOpacity,
|
|
53805
53919
|
children: [
|
|
53806
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
53920
|
+
/* @__PURE__ */ jsx("div", { className: containerWrapperClasses, children: /* @__PURE__ */ jsx("div", { className: innerContainerClasses, children: /* @__PURE__ */ jsxs(
|
|
53807
53921
|
"nav",
|
|
53808
53922
|
{
|
|
53809
|
-
className: cn("flex items-center justify-between py-4", navClassName),
|
|
53923
|
+
className: cn("flex items-center justify-between py-4", navWrapperClasses, navClassName),
|
|
53810
53924
|
children: [
|
|
53811
53925
|
/* @__PURE__ */ jsxs("div", { className: "flex flex-1 items-center gap-9", children: [
|
|
53812
53926
|
renderLogo(),
|
|
@@ -53997,7 +54111,7 @@ var NavbarEducationPlatform = ({
|
|
|
53997
54111
|
)
|
|
53998
54112
|
]
|
|
53999
54113
|
}
|
|
54000
|
-
) }),
|
|
54114
|
+
) }) }),
|
|
54001
54115
|
isOpen && /* @__PURE__ */ jsx(
|
|
54002
54116
|
"div",
|
|
54003
54117
|
{
|
|
@@ -54134,6 +54248,7 @@ var NavbarStickyCompact = ({
|
|
|
54134
54248
|
containerClassName,
|
|
54135
54249
|
navClassName,
|
|
54136
54250
|
actionsClassName,
|
|
54251
|
+
layoutVariant = "fullScreenContainerizedLinks",
|
|
54137
54252
|
background = "white",
|
|
54138
54253
|
spacing = "none",
|
|
54139
54254
|
pattern,
|
|
@@ -54287,19 +54402,26 @@ var NavbarStickyCompact = ({
|
|
|
54287
54402
|
)
|
|
54288
54403
|
);
|
|
54289
54404
|
};
|
|
54405
|
+
const {
|
|
54406
|
+
sectionClasses,
|
|
54407
|
+
containerWrapperClasses,
|
|
54408
|
+
innerContainerClasses,
|
|
54409
|
+
navWrapperClasses,
|
|
54410
|
+
spacingOverride
|
|
54411
|
+
} = getNavbarLayoutClasses(layoutVariant, { className, containerClassName });
|
|
54290
54412
|
return /* @__PURE__ */ jsx(
|
|
54291
54413
|
Section,
|
|
54292
54414
|
{
|
|
54293
54415
|
background,
|
|
54294
|
-
spacing,
|
|
54416
|
+
spacing: spacingOverride ?? spacing,
|
|
54295
54417
|
className: cn(
|
|
54296
|
-
|
|
54297
|
-
|
|
54298
|
-
|
|
54418
|
+
sectionClasses,
|
|
54419
|
+
"fixed top-0 left-0 z-50 w-full bg-background/95 backdrop-blur-sm transition-all duration-300",
|
|
54420
|
+
isScrolled ? "shadow-sm" : ""
|
|
54299
54421
|
),
|
|
54300
54422
|
pattern,
|
|
54301
54423
|
patternOpacity,
|
|
54302
|
-
children: /* @__PURE__ */ jsx("div", { className:
|
|
54424
|
+
children: /* @__PURE__ */ jsx("div", { className: containerWrapperClasses, children: /* @__PURE__ */ jsx("div", { className: cn(innerContainerClasses, navWrapperClasses), children: /* @__PURE__ */ jsxs(
|
|
54303
54425
|
"nav",
|
|
54304
54426
|
{
|
|
54305
54427
|
className: cn(
|
|
@@ -54355,7 +54477,7 @@ var NavbarStickyCompact = ({
|
|
|
54355
54477
|
] })
|
|
54356
54478
|
]
|
|
54357
54479
|
}
|
|
54358
|
-
) })
|
|
54480
|
+
) }) })
|
|
54359
54481
|
}
|
|
54360
54482
|
);
|
|
54361
54483
|
};
|
|
@@ -54380,6 +54502,7 @@ var NavbarSearchFocused = ({
|
|
|
54380
54502
|
authActionsSlot,
|
|
54381
54503
|
mobileMenuActions,
|
|
54382
54504
|
mobileMenuActionsSlot,
|
|
54505
|
+
layoutVariant = "fullScreenContainerizedLinks",
|
|
54383
54506
|
background = "white",
|
|
54384
54507
|
spacing = "none",
|
|
54385
54508
|
pattern,
|
|
@@ -54475,15 +54598,22 @@ var NavbarSearchFocused = ({
|
|
|
54475
54598
|
);
|
|
54476
54599
|
}) });
|
|
54477
54600
|
};
|
|
54601
|
+
const {
|
|
54602
|
+
sectionClasses,
|
|
54603
|
+
containerWrapperClasses,
|
|
54604
|
+
innerContainerClasses,
|
|
54605
|
+
navWrapperClasses,
|
|
54606
|
+
spacingOverride
|
|
54607
|
+
} = getNavbarLayoutClasses(layoutVariant, { className, containerClassName });
|
|
54478
54608
|
return /* @__PURE__ */ jsx(
|
|
54479
54609
|
Section,
|
|
54480
54610
|
{
|
|
54481
54611
|
background,
|
|
54482
|
-
spacing,
|
|
54483
|
-
className:
|
|
54612
|
+
spacing: spacingOverride ?? spacing,
|
|
54613
|
+
className: sectionClasses,
|
|
54484
54614
|
pattern,
|
|
54485
54615
|
patternOpacity,
|
|
54486
|
-
children: /* @__PURE__ */ jsx("div", { className:
|
|
54616
|
+
children: /* @__PURE__ */ jsx("div", { className: containerWrapperClasses, children: /* @__PURE__ */ jsx("div", { className: cn(innerContainerClasses, navWrapperClasses), children: /* @__PURE__ */ jsxs(
|
|
54487
54617
|
"nav",
|
|
54488
54618
|
{
|
|
54489
54619
|
className: cn("flex items-center gap-4 py-3 lg:gap-8", navClassName),
|
|
@@ -54551,7 +54681,7 @@ var NavbarSearchFocused = ({
|
|
|
54551
54681
|
] })
|
|
54552
54682
|
]
|
|
54553
54683
|
}
|
|
54554
|
-
) })
|
|
54684
|
+
) }) })
|
|
54555
54685
|
}
|
|
54556
54686
|
);
|
|
54557
54687
|
};
|
|
@@ -54653,6 +54783,7 @@ var NavbarSimpleLinks = ({
|
|
|
54653
54783
|
defaultActiveItem,
|
|
54654
54784
|
actions,
|
|
54655
54785
|
actionsSlot,
|
|
54786
|
+
layoutVariant = "fullScreenContainerizedLinks",
|
|
54656
54787
|
background = "white",
|
|
54657
54788
|
spacing = "sm",
|
|
54658
54789
|
pattern,
|
|
@@ -54744,73 +54875,71 @@ var NavbarSimpleLinks = ({
|
|
|
54744
54875
|
);
|
|
54745
54876
|
});
|
|
54746
54877
|
};
|
|
54878
|
+
const {
|
|
54879
|
+
sectionClasses,
|
|
54880
|
+
containerWrapperClasses,
|
|
54881
|
+
innerContainerClasses,
|
|
54882
|
+
navWrapperClasses,
|
|
54883
|
+
spacingOverride
|
|
54884
|
+
} = getNavbarLayoutClasses(layoutVariant, { className, containerClassName });
|
|
54747
54885
|
return /* @__PURE__ */ jsx(
|
|
54748
54886
|
Section,
|
|
54749
54887
|
{
|
|
54750
54888
|
background,
|
|
54751
|
-
spacing,
|
|
54752
|
-
className:
|
|
54889
|
+
spacing: spacingOverride ?? spacing,
|
|
54890
|
+
className: sectionClasses,
|
|
54753
54891
|
pattern,
|
|
54754
54892
|
patternOpacity,
|
|
54755
|
-
children: /* @__PURE__ */ jsx(
|
|
54756
|
-
|
|
54757
|
-
|
|
54758
|
-
|
|
54759
|
-
|
|
54760
|
-
|
|
54761
|
-
|
|
54762
|
-
|
|
54763
|
-
renderLogo(),
|
|
54764
|
-
/* @__PURE__ */ jsx(
|
|
54765
|
-
NavigationMenu,
|
|
54766
|
-
{
|
|
54767
|
-
className: cn("hidden lg:block", navigationMenuClassName),
|
|
54768
|
-
children: /* @__PURE__ */ jsxs(
|
|
54769
|
-
NavigationMenuList,
|
|
54770
|
-
{
|
|
54771
|
-
ref: menuRef,
|
|
54772
|
-
className: cn(
|
|
54773
|
-
"flex items-center gap-6 rounded-4xl px-8 py-3",
|
|
54774
|
-
menuListClassName
|
|
54775
|
-
),
|
|
54776
|
-
children: [
|
|
54777
|
-
renderNavItems(),
|
|
54778
|
-
/* @__PURE__ */ jsx(
|
|
54779
|
-
"div",
|
|
54780
|
-
{
|
|
54781
|
-
ref: indicatorRef,
|
|
54782
|
-
className: "absolute bottom-2 flex h-1 items-center justify-center px-2 transition-all duration-300",
|
|
54783
|
-
children: /* @__PURE__ */ jsx("div", { className: "h-0.5 w-full rounded-t-none bg-foreground transition-all duration-300" })
|
|
54784
|
-
}
|
|
54785
|
-
)
|
|
54786
|
-
]
|
|
54787
|
-
}
|
|
54788
|
-
)
|
|
54789
|
-
}
|
|
54790
|
-
),
|
|
54791
|
-
/* @__PURE__ */ jsx(
|
|
54792
|
-
MobileNav,
|
|
54793
|
-
{
|
|
54794
|
-
navItems: navItems ?? [],
|
|
54795
|
-
activeItem,
|
|
54796
|
-
setActiveItem,
|
|
54797
|
-
actions,
|
|
54798
|
-
actionsSlot
|
|
54799
|
-
}
|
|
54800
|
-
),
|
|
54801
|
-
/* @__PURE__ */ jsx(
|
|
54802
|
-
"div",
|
|
54893
|
+
children: /* @__PURE__ */ jsx("div", { className: containerWrapperClasses, children: /* @__PURE__ */ jsx("div", { className: innerContainerClasses, children: /* @__PURE__ */ jsxs("nav", { className: cn("flex items-center justify-between", navWrapperClasses, navClassName), children: [
|
|
54894
|
+
renderLogo(),
|
|
54895
|
+
/* @__PURE__ */ jsx(
|
|
54896
|
+
NavigationMenu,
|
|
54897
|
+
{
|
|
54898
|
+
className: cn("hidden lg:block", navigationMenuClassName),
|
|
54899
|
+
children: /* @__PURE__ */ jsxs(
|
|
54900
|
+
NavigationMenuList,
|
|
54803
54901
|
{
|
|
54902
|
+
ref: menuRef,
|
|
54804
54903
|
className: cn(
|
|
54805
|
-
"
|
|
54806
|
-
|
|
54904
|
+
"flex items-center gap-6 rounded-4xl px-8 py-3",
|
|
54905
|
+
menuListClassName
|
|
54807
54906
|
),
|
|
54808
|
-
children:
|
|
54907
|
+
children: [
|
|
54908
|
+
renderNavItems(),
|
|
54909
|
+
/* @__PURE__ */ jsx(
|
|
54910
|
+
"div",
|
|
54911
|
+
{
|
|
54912
|
+
ref: indicatorRef,
|
|
54913
|
+
className: "absolute bottom-2 flex h-1 items-center justify-center px-2 transition-all duration-300",
|
|
54914
|
+
children: /* @__PURE__ */ jsx("div", { className: "h-0.5 w-full rounded-t-none bg-foreground transition-all duration-300" })
|
|
54915
|
+
}
|
|
54916
|
+
)
|
|
54917
|
+
]
|
|
54809
54918
|
}
|
|
54810
54919
|
)
|
|
54811
|
-
|
|
54812
|
-
|
|
54813
|
-
|
|
54920
|
+
}
|
|
54921
|
+
),
|
|
54922
|
+
/* @__PURE__ */ jsx(
|
|
54923
|
+
MobileNav,
|
|
54924
|
+
{
|
|
54925
|
+
navItems: navItems ?? [],
|
|
54926
|
+
activeItem,
|
|
54927
|
+
setActiveItem,
|
|
54928
|
+
actions,
|
|
54929
|
+
actionsSlot
|
|
54930
|
+
}
|
|
54931
|
+
),
|
|
54932
|
+
/* @__PURE__ */ jsx(
|
|
54933
|
+
"div",
|
|
54934
|
+
{
|
|
54935
|
+
className: cn(
|
|
54936
|
+
"hidden items-center gap-2 lg:flex",
|
|
54937
|
+
actionsClassName
|
|
54938
|
+
),
|
|
54939
|
+
children: renderActions()
|
|
54940
|
+
}
|
|
54941
|
+
)
|
|
54942
|
+
] }) }) })
|
|
54814
54943
|
}
|
|
54815
54944
|
);
|
|
54816
54945
|
};
|
|
@@ -54832,6 +54961,7 @@ var NavbarSplitCta = ({
|
|
|
54832
54961
|
navClassName,
|
|
54833
54962
|
navigationMenuClassName,
|
|
54834
54963
|
actionsClassName,
|
|
54964
|
+
layoutVariant = "fullScreenContainerizedLinks",
|
|
54835
54965
|
background = "white",
|
|
54836
54966
|
spacing = "none",
|
|
54837
54967
|
pattern,
|
|
@@ -54921,15 +55051,22 @@ var NavbarSplitCta = ({
|
|
|
54921
55051
|
if (!menu || menu.length === 0) return null;
|
|
54922
55052
|
return menu;
|
|
54923
55053
|
};
|
|
55054
|
+
const {
|
|
55055
|
+
sectionClasses,
|
|
55056
|
+
containerWrapperClasses,
|
|
55057
|
+
innerContainerClasses,
|
|
55058
|
+
navWrapperClasses,
|
|
55059
|
+
spacingOverride
|
|
55060
|
+
} = getNavbarLayoutClasses(layoutVariant, { className, containerClassName });
|
|
54924
55061
|
return /* @__PURE__ */ jsx(
|
|
54925
55062
|
Section,
|
|
54926
55063
|
{
|
|
54927
55064
|
background,
|
|
54928
|
-
spacing,
|
|
54929
|
-
className:
|
|
55065
|
+
spacing: spacingOverride ?? spacing,
|
|
55066
|
+
className: sectionClasses,
|
|
54930
55067
|
pattern,
|
|
54931
55068
|
patternOpacity,
|
|
54932
|
-
children: /* @__PURE__ */ jsx("div", { className:
|
|
55069
|
+
children: /* @__PURE__ */ jsx("div", { className: containerWrapperClasses, children: /* @__PURE__ */ jsx("div", { className: cn(innerContainerClasses, navWrapperClasses), children: /* @__PURE__ */ jsxs(
|
|
54933
55070
|
"nav",
|
|
54934
55071
|
{
|
|
54935
55072
|
className: cn("flex items-center justify-between py-4", navClassName),
|
|
@@ -55042,7 +55179,7 @@ var NavbarSplitCta = ({
|
|
|
55042
55179
|
] })
|
|
55043
55180
|
]
|
|
55044
55181
|
}
|
|
55045
|
-
) })
|
|
55182
|
+
) }) })
|
|
55046
55183
|
}
|
|
55047
55184
|
);
|
|
55048
55185
|
};
|
|
@@ -55062,6 +55199,7 @@ var NavbarIconLinks = ({
|
|
|
55062
55199
|
navClassName,
|
|
55063
55200
|
navigationMenuClassName,
|
|
55064
55201
|
actionsClassName,
|
|
55202
|
+
layoutVariant = "fullScreenContainerizedLinks",
|
|
55065
55203
|
background = "white",
|
|
55066
55204
|
spacing = "none",
|
|
55067
55205
|
pattern,
|
|
@@ -55128,18 +55266,25 @@ var NavbarIconLinks = ({
|
|
|
55128
55266
|
if (!navItems || navItems.length === 0) return null;
|
|
55129
55267
|
return navItems;
|
|
55130
55268
|
};
|
|
55269
|
+
const {
|
|
55270
|
+
sectionClasses,
|
|
55271
|
+
containerWrapperClasses,
|
|
55272
|
+
innerContainerClasses,
|
|
55273
|
+
navWrapperClasses,
|
|
55274
|
+
spacingOverride
|
|
55275
|
+
} = getNavbarLayoutClasses(layoutVariant, { className, containerClassName });
|
|
55131
55276
|
return /* @__PURE__ */ jsx(
|
|
55132
55277
|
Section,
|
|
55133
55278
|
{
|
|
55134
55279
|
background,
|
|
55135
|
-
spacing,
|
|
55136
|
-
className:
|
|
55280
|
+
spacing: spacingOverride ?? spacing,
|
|
55281
|
+
className: sectionClasses,
|
|
55137
55282
|
pattern,
|
|
55138
55283
|
patternOpacity,
|
|
55139
|
-
children: /* @__PURE__ */ jsx("div", { className:
|
|
55284
|
+
children: /* @__PURE__ */ jsx("div", { className: containerWrapperClasses, children: /* @__PURE__ */ jsx("div", { className: innerContainerClasses, children: /* @__PURE__ */ jsxs(
|
|
55140
55285
|
"nav",
|
|
55141
55286
|
{
|
|
55142
|
-
className: cn("flex items-center justify-between py-3", navClassName),
|
|
55287
|
+
className: cn("flex items-center justify-between py-3", navWrapperClasses, navClassName),
|
|
55143
55288
|
children: [
|
|
55144
55289
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-6", children: [
|
|
55145
55290
|
renderLogo(),
|
|
@@ -55233,7 +55378,7 @@ var NavbarIconLinks = ({
|
|
|
55233
55378
|
] })
|
|
55234
55379
|
]
|
|
55235
55380
|
}
|
|
55236
|
-
) })
|
|
55381
|
+
) }) })
|
|
55237
55382
|
}
|
|
55238
55383
|
);
|
|
55239
55384
|
};
|
|
@@ -55252,6 +55397,7 @@ var NavbarTabbedSections = ({
|
|
|
55252
55397
|
containerClassName,
|
|
55253
55398
|
navClassName,
|
|
55254
55399
|
actionsClassName,
|
|
55400
|
+
layoutVariant = "fullScreenContainerizedLinks",
|
|
55255
55401
|
background = "white",
|
|
55256
55402
|
spacing = "none",
|
|
55257
55403
|
pattern,
|
|
@@ -55415,15 +55561,22 @@ var NavbarTabbedSections = ({
|
|
|
55415
55561
|
)
|
|
55416
55562
|
);
|
|
55417
55563
|
};
|
|
55564
|
+
const {
|
|
55565
|
+
sectionClasses,
|
|
55566
|
+
containerWrapperClasses,
|
|
55567
|
+
innerContainerClasses,
|
|
55568
|
+
navWrapperClasses,
|
|
55569
|
+
spacingOverride
|
|
55570
|
+
} = getNavbarLayoutClasses(layoutVariant, { className, containerClassName });
|
|
55418
55571
|
return /* @__PURE__ */ jsx(
|
|
55419
55572
|
Section,
|
|
55420
55573
|
{
|
|
55421
55574
|
background,
|
|
55422
|
-
spacing,
|
|
55423
|
-
className:
|
|
55575
|
+
spacing: spacingOverride ?? spacing,
|
|
55576
|
+
className: sectionClasses,
|
|
55424
55577
|
pattern,
|
|
55425
55578
|
patternOpacity,
|
|
55426
|
-
children: /* @__PURE__ */ jsx("div", { className:
|
|
55579
|
+
children: /* @__PURE__ */ jsx("div", { className: containerWrapperClasses, children: /* @__PURE__ */ jsx("div", { className: cn(innerContainerClasses, navWrapperClasses), children: /* @__PURE__ */ jsxs(
|
|
55427
55580
|
"nav",
|
|
55428
55581
|
{
|
|
55429
55582
|
className: cn("flex items-center justify-between py-4", navClassName),
|
|
@@ -55476,7 +55629,7 @@ var NavbarTabbedSections = ({
|
|
|
55476
55629
|
] })
|
|
55477
55630
|
]
|
|
55478
55631
|
}
|
|
55479
|
-
) })
|
|
55632
|
+
) }) })
|
|
55480
55633
|
}
|
|
55481
55634
|
);
|
|
55482
55635
|
};
|
|
@@ -55497,6 +55650,7 @@ var NavbarFullscreenMenu = ({
|
|
|
55497
55650
|
overlayClassName,
|
|
55498
55651
|
menuItemsClassName,
|
|
55499
55652
|
socialLinksClassName,
|
|
55653
|
+
layoutVariant = "fullScreenContainerizedLinks",
|
|
55500
55654
|
background = "white",
|
|
55501
55655
|
spacing = "none",
|
|
55502
55656
|
pattern,
|
|
@@ -55563,20 +55717,28 @@ var NavbarFullscreenMenu = ({
|
|
|
55563
55717
|
link.label
|
|
55564
55718
|
));
|
|
55565
55719
|
};
|
|
55720
|
+
const {
|
|
55721
|
+
sectionClasses,
|
|
55722
|
+
containerWrapperClasses,
|
|
55723
|
+
innerContainerClasses,
|
|
55724
|
+
navWrapperClasses,
|
|
55725
|
+
spacingOverride
|
|
55726
|
+
} = getNavbarLayoutClasses(layoutVariant, { className, containerClassName });
|
|
55566
55727
|
return /* @__PURE__ */ jsx(
|
|
55567
55728
|
Section,
|
|
55568
55729
|
{
|
|
55569
55730
|
background,
|
|
55570
|
-
spacing,
|
|
55571
|
-
className:
|
|
55731
|
+
spacing: spacingOverride ?? spacing,
|
|
55732
|
+
className: sectionClasses,
|
|
55572
55733
|
pattern,
|
|
55573
55734
|
patternOpacity,
|
|
55574
|
-
children: /* @__PURE__ */
|
|
55735
|
+
children: /* @__PURE__ */ jsx("div", { className: containerWrapperClasses, children: /* @__PURE__ */ jsxs("div", { className: innerContainerClasses, children: [
|
|
55575
55736
|
/* @__PURE__ */ jsxs(
|
|
55576
|
-
"
|
|
55737
|
+
"nav",
|
|
55577
55738
|
{
|
|
55578
55739
|
className: cn(
|
|
55579
55740
|
"flex items-center justify-between px-6 py-6",
|
|
55741
|
+
navWrapperClasses,
|
|
55580
55742
|
headerClassName
|
|
55581
55743
|
),
|
|
55582
55744
|
children: [
|
|
@@ -55632,7 +55794,7 @@ var NavbarFullscreenMenu = ({
|
|
|
55632
55794
|
] })
|
|
55633
55795
|
}
|
|
55634
55796
|
)
|
|
55635
|
-
] })
|
|
55797
|
+
] }) })
|
|
55636
55798
|
}
|
|
55637
55799
|
);
|
|
55638
55800
|
};
|