@opensite/ui 0.4.4 → 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 +97 -58
- package/dist/navbar-animated-preview.d.cts +9 -64
- package/dist/navbar-animated-preview.d.ts +9 -64
- package/dist/navbar-animated-preview.js +97 -58
- package/dist/navbar-centered-menu.cjs +46 -7
- package/dist/navbar-centered-menu.d.cts +7 -11
- package/dist/navbar-centered-menu.d.ts +7 -11
- package/dist/navbar-centered-menu.js +46 -7
- package/dist/navbar-dark-icons.cjs +50 -10
- package/dist/navbar-dark-icons.d.cts +6 -11
- package/dist/navbar-dark-icons.d.ts +6 -11
- package/dist/navbar-dark-icons.js +50 -10
- package/dist/navbar-dropdown-menu.cjs +47 -8
- package/dist/navbar-dropdown-menu.d.cts +8 -12
- package/dist/navbar-dropdown-menu.d.ts +8 -12
- package/dist/navbar-dropdown-menu.js +47 -8
- package/dist/navbar-education-platform.cjs +48 -10
- package/dist/navbar-education-platform.d.cts +6 -11
- package/dist/navbar-education-platform.d.ts +6 -11
- package/dist/navbar-education-platform.js +48 -10
- package/dist/navbar-enterprise-mega.cjs +50 -10
- package/dist/navbar-enterprise-mega.d.cts +7 -37
- package/dist/navbar-enterprise-mega.d.ts +7 -37
- package/dist/navbar-enterprise-mega.js +50 -10
- package/dist/navbar-feature-grid.cjs +47 -8
- package/dist/navbar-feature-grid.d.cts +6 -11
- package/dist/navbar-feature-grid.d.ts +6 -11
- package/dist/navbar-feature-grid.js +47 -8
- package/dist/navbar-floating-pill.cjs +50 -11
- package/dist/navbar-floating-pill.d.cts +6 -11
- package/dist/navbar-floating-pill.d.ts +6 -11
- package/dist/navbar-floating-pill.js +50 -11
- package/dist/navbar-fullscreen-menu.cjs +44 -5
- package/dist/navbar-fullscreen-menu.d.cts +6 -11
- package/dist/navbar-fullscreen-menu.d.ts +6 -11
- package/dist/navbar-fullscreen-menu.js +44 -5
- package/dist/navbar-icon-links.cjs +46 -8
- package/dist/navbar-icon-links.d.cts +9 -11
- package/dist/navbar-icon-links.d.ts +9 -11
- package/dist/navbar-icon-links.js +46 -8
- package/dist/navbar-image-preview.cjs +56 -12
- package/dist/navbar-image-preview.d.cts +11 -17
- package/dist/navbar-image-preview.d.ts +11 -17
- package/dist/navbar-image-preview.js +56 -12
- package/dist/navbar-mega-menu.cjs +69 -20
- package/dist/navbar-mega-menu.d.cts +8 -74
- package/dist/navbar-mega-menu.d.ts +8 -74
- package/dist/navbar-mega-menu.js +69 -20
- package/dist/navbar-multi-column-groups.cjs +47 -11
- package/dist/navbar-multi-column-groups.d.cts +6 -11
- package/dist/navbar-multi-column-groups.d.ts +6 -11
- package/dist/navbar-multi-column-groups.js +47 -11
- package/dist/navbar-platform-resources.cjs +199 -164
- package/dist/navbar-platform-resources.d.cts +7 -37
- package/dist/navbar-platform-resources.d.ts +7 -37
- package/dist/navbar-platform-resources.js +199 -164
- package/dist/navbar-search-focused.cjs +45 -7
- package/dist/navbar-search-focused.d.cts +6 -11
- package/dist/navbar-search-focused.d.ts +6 -11
- package/dist/navbar-search-focused.js +45 -7
- package/dist/navbar-sidebar-mobile.cjs +47 -8
- package/dist/navbar-sidebar-mobile.d.cts +6 -11
- package/dist/navbar-sidebar-mobile.d.ts +6 -11
- package/dist/navbar-sidebar-mobile.js +47 -8
- package/dist/navbar-simple-links.cjs +45 -7
- package/dist/navbar-simple-links.d.cts +6 -11
- package/dist/navbar-simple-links.d.ts +6 -11
- package/dist/navbar-simple-links.js +45 -7
- package/dist/navbar-split-cta.cjs +47 -8
- package/dist/navbar-split-cta.d.cts +6 -11
- package/dist/navbar-split-cta.d.ts +6 -11
- package/dist/navbar-split-cta.js +47 -8
- package/dist/navbar-sticky-compact.cjs +49 -10
- package/dist/navbar-sticky-compact.d.cts +6 -11
- package/dist/navbar-sticky-compact.d.ts +6 -11
- package/dist/navbar-sticky-compact.js +49 -10
- package/dist/navbar-tabbed-sections.cjs +47 -8
- package/dist/navbar-tabbed-sections.d.cts +6 -11
- package/dist/navbar-tabbed-sections.d.ts +6 -11
- package/dist/navbar-tabbed-sections.js +47 -8
- package/dist/navbar-transparent-overlay.cjs +47 -9
- package/dist/navbar-transparent-overlay.d.cts +6 -11
- package/dist/navbar-transparent-overlay.d.ts +6 -11
- package/dist/navbar-transparent-overlay.js +47 -9
- package/dist/registry.cjs +522 -328
- package/dist/registry.js +522 -328
- package/dist/types-COVDidbn.d.cts +119 -0
- package/dist/types-COVDidbn.d.ts +119 -0
- 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-
|
|
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-
|
|
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
|
-
"
|
|
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,15 +49237,22 @@ 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:
|
|
49251
|
+
spacing: spacingOverride ?? spacing,
|
|
49252
|
+
className: sectionClasses,
|
|
49214
49253
|
pattern,
|
|
49215
49254
|
patternOpacity,
|
|
49216
|
-
children: /* @__PURE__ */ jsxRuntime.
|
|
49255
|
+
children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: containerWrapperClasses, children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn(innerContainerClasses, navWrapperClasses), children: [
|
|
49217
49256
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
49218
49257
|
"nav",
|
|
49219
49258
|
{
|
|
@@ -49261,7 +49300,7 @@ var NavbarDropdownMenu = ({
|
|
|
49261
49300
|
] })
|
|
49262
49301
|
] })
|
|
49263
49302
|
] }) })
|
|
49264
|
-
] })
|
|
49303
|
+
] }) })
|
|
49265
49304
|
}
|
|
49266
49305
|
);
|
|
49267
49306
|
};
|
|
@@ -49349,6 +49388,7 @@ var NavbarCenteredMenu = ({
|
|
|
49349
49388
|
mobileNavClassName,
|
|
49350
49389
|
navigationMenuClassName,
|
|
49351
49390
|
actionsClassName,
|
|
49391
|
+
layoutVariant = "fullScreenContainerizedLinks",
|
|
49352
49392
|
background = "white",
|
|
49353
49393
|
spacing = "sm",
|
|
49354
49394
|
pattern,
|
|
@@ -49416,15 +49456,22 @@ var NavbarCenteredMenu = ({
|
|
|
49416
49456
|
if (!menu || menu.length === 0) return null;
|
|
49417
49457
|
return menu.map((item) => renderMobileMenuItem2(item));
|
|
49418
49458
|
};
|
|
49459
|
+
const {
|
|
49460
|
+
sectionClasses,
|
|
49461
|
+
containerWrapperClasses,
|
|
49462
|
+
innerContainerClasses,
|
|
49463
|
+
navWrapperClasses,
|
|
49464
|
+
spacingOverride
|
|
49465
|
+
} = getNavbarLayoutClasses(layoutVariant, { className, containerClassName });
|
|
49419
49466
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
49420
49467
|
Section,
|
|
49421
49468
|
{
|
|
49422
49469
|
background,
|
|
49423
|
-
spacing,
|
|
49424
|
-
className:
|
|
49470
|
+
spacing: spacingOverride ?? spacing,
|
|
49471
|
+
className: sectionClasses,
|
|
49425
49472
|
pattern,
|
|
49426
49473
|
patternOpacity,
|
|
49427
|
-
children: /* @__PURE__ */ jsxRuntime.
|
|
49474
|
+
children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: containerWrapperClasses, children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn(innerContainerClasses, navWrapperClasses), children: [
|
|
49428
49475
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
49429
49476
|
"nav",
|
|
49430
49477
|
{
|
|
@@ -49473,10 +49520,15 @@ var NavbarCenteredMenu = ({
|
|
|
49473
49520
|
] })
|
|
49474
49521
|
] })
|
|
49475
49522
|
] }) })
|
|
49476
|
-
] })
|
|
49523
|
+
] }) })
|
|
49477
49524
|
}
|
|
49478
49525
|
);
|
|
49479
49526
|
};
|
|
49527
|
+
|
|
49528
|
+
// components/blocks/navbars/types.ts
|
|
49529
|
+
function getLinkUrl(item) {
|
|
49530
|
+
return item.href || item.url || "#";
|
|
49531
|
+
}
|
|
49480
49532
|
var DesktopMenuItem = ({
|
|
49481
49533
|
link,
|
|
49482
49534
|
index,
|
|
@@ -49505,8 +49557,8 @@ var DesktopMenuItem = ({
|
|
|
49505
49557
|
if (layout === "animated-image-preview" && link.links) {
|
|
49506
49558
|
return /* @__PURE__ */ jsxRuntime.jsxs(NavigationMenuItem, { children: [
|
|
49507
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 }),
|
|
49508
|
-
/* @__PURE__ */ jsxRuntime.jsx(NavigationMenuContent, { className: "
|
|
49509
|
-
/* @__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(
|
|
49510
49562
|
img.Img,
|
|
49511
49563
|
{
|
|
49512
49564
|
ref: (el) => {
|
|
@@ -49529,14 +49581,14 @@ var DesktopMenuItem = ({
|
|
|
49529
49581
|
/* @__PURE__ */ jsxRuntime.jsx("ul", { children: link.links.map((item, idx) => /* @__PURE__ */ jsxRuntime.jsx("li", { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
49530
49582
|
NavigationMenuLink,
|
|
49531
49583
|
{
|
|
49532
|
-
href: item
|
|
49584
|
+
href: getLinkUrl(item),
|
|
49533
49585
|
className: "flex items-center gap-4 rounded-lg px-4 py-3 hover:bg-muted",
|
|
49534
49586
|
"data-index": idx,
|
|
49535
49587
|
onMouseEnter: handleMouseEnter,
|
|
49536
49588
|
onMouseLeave: handleMouseLeave,
|
|
49537
49589
|
children: /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
49538
|
-
/* @__PURE__ */ jsxRuntime.jsx("
|
|
49539
|
-
item.description && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "leading-normal text-muted-foreground", children: item.description })
|
|
49590
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-sm font-medium", children: item.label }),
|
|
49591
|
+
item.description && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-xs leading-normal text-muted-foreground", children: item.description })
|
|
49540
49592
|
] })
|
|
49541
49593
|
}
|
|
49542
49594
|
) }, `desktop-nav-sublink-${idx}`)) })
|
|
@@ -49547,13 +49599,13 @@ var DesktopMenuItem = ({
|
|
|
49547
49599
|
if (layout === "simple-grid" && link.links) {
|
|
49548
49600
|
return /* @__PURE__ */ jsxRuntime.jsxs(NavigationMenuItem, { children: [
|
|
49549
49601
|
/* @__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 }),
|
|
49550
|
-
/* @__PURE__ */ jsxRuntime.jsx(NavigationMenuContent, { className: "min-w-[
|
|
49602
|
+
/* @__PURE__ */ jsxRuntime.jsx(NavigationMenuContent, { className: "min-w-[700px] p-6", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid grid-cols-1 gap-4 sm:grid-cols-2", children: link.links.map((item, itemIndex) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
49551
49603
|
NavigationMenuLink,
|
|
49552
49604
|
{
|
|
49553
|
-
href: item
|
|
49605
|
+
href: getLinkUrl(item),
|
|
49554
49606
|
className: "flex flex-row items-start gap-4 rounded-lg border border-input bg-background p-4 hover:bg-muted hover:text-foreground",
|
|
49555
49607
|
children: [
|
|
49556
|
-
item.image && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-
|
|
49608
|
+
item.image && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-20 w-20 shrink-0 overflow-hidden rounded-md border border-border", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
49557
49609
|
img.Img,
|
|
49558
49610
|
{
|
|
49559
49611
|
src: item.image,
|
|
@@ -49562,7 +49614,7 @@ var DesktopMenuItem = ({
|
|
|
49562
49614
|
optixFlowConfig
|
|
49563
49615
|
}
|
|
49564
49616
|
) }),
|
|
49565
|
-
!item.image && (item.icon || item.iconName) && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex h-
|
|
49617
|
+
!item.image && (item.icon || item.iconName) && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex h-10 w-10 shrink-0 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(DynamicIcon, { name: item.iconName, size: 20 }) : null }),
|
|
49566
49618
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
49567
49619
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-sm font-medium", children: item.label }),
|
|
49568
49620
|
item.description && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-sm font-normal text-muted-foreground", children: item.description })
|
|
@@ -49579,7 +49631,7 @@ var DesktopMenuItem = ({
|
|
|
49579
49631
|
/* @__PURE__ */ jsxRuntime.jsx(NavigationMenuContent, { className: "min-w-[400px] p-4", children: /* @__PURE__ */ jsxRuntime.jsx("ul", { className: "flex flex-col gap-1", children: link.links.map((item, itemIndex) => /* @__PURE__ */ jsxRuntime.jsx("li", { children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
49580
49632
|
NavigationMenuLink,
|
|
49581
49633
|
{
|
|
49582
|
-
href: item
|
|
49634
|
+
href: getLinkUrl(item),
|
|
49583
49635
|
className: "flex items-start gap-3 rounded-lg p-3 hover:bg-muted",
|
|
49584
49636
|
children: [
|
|
49585
49637
|
(item.icon || item.iconName) && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex h-8 w-8 items-center justify-center rounded-md bg-muted/40 text-muted-foreground", children: item.icon ? item.icon : item.iconName ? /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: item.iconName, size: 16 }) : null }),
|
|
@@ -49623,7 +49675,7 @@ var MobileSubmenu = ({
|
|
|
49623
49675
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
49624
49676
|
Pressable,
|
|
49625
49677
|
{
|
|
49626
|
-
href: item
|
|
49678
|
+
href: getLinkUrl(item),
|
|
49627
49679
|
className: "flex items-start gap-4 border-b border-border px-8 py-5",
|
|
49628
49680
|
children: [
|
|
49629
49681
|
item.image && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-10 w-10 overflow-hidden rounded-md border border-border", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -49663,6 +49715,7 @@ var NavbarMegaMenu = ({
|
|
|
49663
49715
|
logoSlot,
|
|
49664
49716
|
menuLinks,
|
|
49665
49717
|
actions,
|
|
49718
|
+
layoutVariant = "fullScreenContainerizedLinks",
|
|
49666
49719
|
background = "white",
|
|
49667
49720
|
spacing = "none",
|
|
49668
49721
|
pattern,
|
|
@@ -49722,15 +49775,27 @@ var NavbarMegaMenu = ({
|
|
|
49722
49775
|
] }) }, index);
|
|
49723
49776
|
});
|
|
49724
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
|
+
);
|
|
49725
49790
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
49726
49791
|
Section,
|
|
49727
49792
|
{
|
|
49728
49793
|
background,
|
|
49729
|
-
spacing,
|
|
49730
|
-
className:
|
|
49794
|
+
spacing: spacingOverride ?? spacing,
|
|
49795
|
+
className: sectionClasses,
|
|
49731
49796
|
pattern,
|
|
49732
49797
|
patternOpacity,
|
|
49733
|
-
children: /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
49798
|
+
children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: containerWrapperClasses, children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: innerContainerClasses, children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
49734
49799
|
NavigationMenu,
|
|
49735
49800
|
{
|
|
49736
49801
|
className: cn(
|
|
@@ -49738,7 +49803,7 @@ var NavbarMegaMenu = ({
|
|
|
49738
49803
|
navClassName
|
|
49739
49804
|
),
|
|
49740
49805
|
children: [
|
|
49741
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
49806
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: navWrapperClasses, children: [
|
|
49742
49807
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
49743
49808
|
(!open || submenuIndex === null) && renderLogo(),
|
|
49744
49809
|
open && submenuIndex !== null && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
@@ -49883,7 +49948,7 @@ var NavbarMegaMenu = ({
|
|
|
49883
49948
|
)
|
|
49884
49949
|
]
|
|
49885
49950
|
}
|
|
49886
|
-
) })
|
|
49951
|
+
) }) })
|
|
49887
49952
|
}
|
|
49888
49953
|
);
|
|
49889
49954
|
};
|
|
@@ -49903,6 +49968,7 @@ var NavbarEnterpriseMega = ({
|
|
|
49903
49968
|
menuLinks,
|
|
49904
49969
|
actions,
|
|
49905
49970
|
actionsSlot,
|
|
49971
|
+
layoutVariant = "fullScreenContainerizedLinks",
|
|
49906
49972
|
background = "white",
|
|
49907
49973
|
spacing = "none",
|
|
49908
49974
|
pattern,
|
|
@@ -49971,23 +50037,31 @@ var NavbarEnterpriseMega = ({
|
|
|
49971
50037
|
] }) }, index);
|
|
49972
50038
|
});
|
|
49973
50039
|
};
|
|
50040
|
+
const {
|
|
50041
|
+
sectionClasses,
|
|
50042
|
+
containerWrapperClasses,
|
|
50043
|
+
innerContainerClasses,
|
|
50044
|
+
navWrapperClasses,
|
|
50045
|
+
spacingOverride
|
|
50046
|
+
} = getNavbarLayoutClasses(layoutVariant, { className, containerClassName });
|
|
49974
50047
|
return /* @__PURE__ */ jsxRuntime.jsxs(React13.Fragment, { children: [
|
|
49975
50048
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
49976
50049
|
Section,
|
|
49977
50050
|
{
|
|
49978
50051
|
background,
|
|
49979
|
-
spacing,
|
|
50052
|
+
spacing: spacingOverride ?? spacing,
|
|
49980
50053
|
className: cn(
|
|
49981
|
-
"pointer-events-auto fixed top-0 z-999 flex w-full items-center justify-center
|
|
49982
|
-
|
|
50054
|
+
"pointer-events-auto fixed top-0 z-999 flex w-full items-center justify-center",
|
|
50055
|
+
sectionClasses
|
|
49983
50056
|
),
|
|
49984
50057
|
pattern,
|
|
49985
50058
|
patternOpacity,
|
|
49986
|
-
children: /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
49987
|
-
"
|
|
50059
|
+
children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: containerWrapperClasses, children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: innerContainerClasses, children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
50060
|
+
"nav",
|
|
49988
50061
|
{
|
|
49989
50062
|
className: cn(
|
|
49990
50063
|
"flex h-16 items-center justify-between gap-8",
|
|
50064
|
+
navWrapperClasses,
|
|
49991
50065
|
navClassName
|
|
49992
50066
|
),
|
|
49993
50067
|
children: [
|
|
@@ -50038,7 +50112,7 @@ var NavbarEnterpriseMega = ({
|
|
|
50038
50112
|
] })
|
|
50039
50113
|
]
|
|
50040
50114
|
}
|
|
50041
|
-
) })
|
|
50115
|
+
) }) })
|
|
50042
50116
|
}
|
|
50043
50117
|
),
|
|
50044
50118
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -50716,6 +50790,7 @@ var NavbarFeatureGrid = ({
|
|
|
50716
50790
|
features,
|
|
50717
50791
|
authActions,
|
|
50718
50792
|
authActionsSlot,
|
|
50793
|
+
layoutVariant = "fullScreenContainerizedLinks",
|
|
50719
50794
|
background = "white",
|
|
50720
50795
|
spacing = "sm",
|
|
50721
50796
|
pattern,
|
|
@@ -50764,15 +50839,22 @@ var NavbarFeatureGrid = ({
|
|
|
50764
50839
|
] }) }, index);
|
|
50765
50840
|
});
|
|
50766
50841
|
};
|
|
50842
|
+
const {
|
|
50843
|
+
sectionClasses,
|
|
50844
|
+
containerWrapperClasses,
|
|
50845
|
+
innerContainerClasses,
|
|
50846
|
+
navWrapperClasses,
|
|
50847
|
+
spacingOverride
|
|
50848
|
+
} = getNavbarLayoutClasses(layoutVariant, { className, containerClassName });
|
|
50767
50849
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
50768
50850
|
Section,
|
|
50769
50851
|
{
|
|
50770
50852
|
background,
|
|
50771
|
-
spacing,
|
|
50772
|
-
className:
|
|
50853
|
+
spacing: spacingOverride ?? spacing,
|
|
50854
|
+
className: sectionClasses,
|
|
50773
50855
|
pattern,
|
|
50774
50856
|
patternOpacity,
|
|
50775
|
-
children: /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
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: [
|
|
50776
50858
|
renderLogo(),
|
|
50777
50859
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
50778
50860
|
NavigationMenu,
|
|
@@ -50876,7 +50958,7 @@ var NavbarFeatureGrid = ({
|
|
|
50876
50958
|
] })
|
|
50877
50959
|
] })
|
|
50878
50960
|
] })
|
|
50879
|
-
] }) })
|
|
50961
|
+
] }) }) })
|
|
50880
50962
|
}
|
|
50881
50963
|
);
|
|
50882
50964
|
};
|
|
@@ -50896,6 +50978,7 @@ var NavbarFloatingPill = ({
|
|
|
50896
50978
|
pillWrapperClassName,
|
|
50897
50979
|
navigationMenuClassName,
|
|
50898
50980
|
actionsClassName,
|
|
50981
|
+
layoutVariant = "fullScreenContainerizedLinks",
|
|
50899
50982
|
background = "white",
|
|
50900
50983
|
spacing = "none",
|
|
50901
50984
|
pattern,
|
|
@@ -50960,20 +51043,27 @@ var NavbarFloatingPill = ({
|
|
|
50960
51043
|
if (!items || items.length === 0) return null;
|
|
50961
51044
|
return items;
|
|
50962
51045
|
};
|
|
51046
|
+
const {
|
|
51047
|
+
sectionClasses,
|
|
51048
|
+
containerWrapperClasses,
|
|
51049
|
+
innerContainerClasses,
|
|
51050
|
+
navWrapperClasses,
|
|
51051
|
+
spacingOverride
|
|
51052
|
+
} = getNavbarLayoutClasses(layoutVariant, { className, containerClassName });
|
|
50963
51053
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
50964
51054
|
Section,
|
|
50965
51055
|
{
|
|
50966
51056
|
background,
|
|
50967
|
-
spacing,
|
|
50968
|
-
className:
|
|
51057
|
+
spacing: spacingOverride ?? spacing,
|
|
51058
|
+
className: sectionClasses,
|
|
50969
51059
|
pattern,
|
|
50970
51060
|
patternOpacity,
|
|
50971
|
-
children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
50972
|
-
"
|
|
51061
|
+
children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: containerWrapperClasses, children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: innerContainerClasses, children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
51062
|
+
"nav",
|
|
50973
51063
|
{
|
|
50974
51064
|
className: cn(
|
|
50975
|
-
"absolute top-5 left-1/2 z-50 w-[min(90%,700px)] -translate-x-1/2 rounded-full
|
|
50976
|
-
|
|
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
|
|
50977
51067
|
),
|
|
50978
51068
|
children: [
|
|
50979
51069
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
@@ -51129,7 +51219,7 @@ var NavbarFloatingPill = ({
|
|
|
51129
51219
|
)
|
|
51130
51220
|
]
|
|
51131
51221
|
}
|
|
51132
|
-
)
|
|
51222
|
+
) }) })
|
|
51133
51223
|
}
|
|
51134
51224
|
);
|
|
51135
51225
|
};
|
|
@@ -51148,6 +51238,7 @@ var NavbarPlatformResources = ({
|
|
|
51148
51238
|
logoSlot,
|
|
51149
51239
|
menuLinks,
|
|
51150
51240
|
actions,
|
|
51241
|
+
layoutVariant = "fullScreenContainerizedLinks",
|
|
51151
51242
|
background = "white",
|
|
51152
51243
|
spacing = "none",
|
|
51153
51244
|
pattern,
|
|
@@ -51185,7 +51276,7 @@ var NavbarPlatformResources = ({
|
|
|
51185
51276
|
return /* @__PURE__ */ jsxRuntime.jsx(NavigationMenuContent, { className: "min-w-[640px] p-4", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-3", children: link.links?.map((item, itemIndex) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
51186
51277
|
NavigationMenuLink,
|
|
51187
51278
|
{
|
|
51188
|
-
href: item
|
|
51279
|
+
href: getLinkUrl(item),
|
|
51189
51280
|
className: "flex flex-row items-start gap-4 rounded-lg border border-input bg-background p-4 hover:bg-accent hover:text-accent-foreground",
|
|
51190
51281
|
children: [
|
|
51191
51282
|
item.image && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-12 w-12 overflow-hidden rounded-md border border-border", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -51214,7 +51305,7 @@ var NavbarPlatformResources = ({
|
|
|
51214
51305
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
51215
51306
|
NavigationMenuLink,
|
|
51216
51307
|
{
|
|
51217
|
-
href: featuredItem
|
|
51308
|
+
href: getLinkUrl(featuredItem),
|
|
51218
51309
|
className: "group w-1/3 p-0 hover:bg-transparent",
|
|
51219
51310
|
children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "overflow-clip rounded-lg border border-input bg-background", children: [
|
|
51220
51311
|
/* @__PURE__ */ jsxRuntime.jsx("div", { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -51238,7 +51329,7 @@ var NavbarPlatformResources = ({
|
|
|
51238
51329
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid grid-cols-1 gap-6 lg:grid-cols-2 lg:gap-8", children: gridItems.map((item, itemIndex) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
51239
51330
|
NavigationMenuLink,
|
|
51240
51331
|
{
|
|
51241
|
-
href: item
|
|
51332
|
+
href: getLinkUrl(item),
|
|
51242
51333
|
className: "group block p-4",
|
|
51243
51334
|
children: [
|
|
51244
51335
|
(item.icon || item.iconName) && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-5 group-hover:opacity-60", children: item.icon ? item.icon : item.iconName ? /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: item.iconName, size: 20 }) : null }),
|
|
@@ -51259,7 +51350,7 @@ var NavbarPlatformResources = ({
|
|
|
51259
51350
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid grid-cols-2 gap-4", children: link.dropdownGroups[0].links.map((item, itemIndex) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
51260
51351
|
NavigationMenuLink,
|
|
51261
51352
|
{
|
|
51262
|
-
href: item
|
|
51353
|
+
href: getLinkUrl(item),
|
|
51263
51354
|
className: "group flex flex-row items-center gap-5",
|
|
51264
51355
|
children: [
|
|
51265
51356
|
(item.icon || item.iconName) && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "group-hover:opacity-60", children: item.icon ? item.icon : item.iconName ? /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: item.iconName, size: 16 }) : null }),
|
|
@@ -51272,7 +51363,7 @@ var NavbarPlatformResources = ({
|
|
|
51272
51363
|
ctaItem && /* @__PURE__ */ jsxRuntime.jsx(
|
|
51273
51364
|
NavigationMenuLink,
|
|
51274
51365
|
{
|
|
51275
|
-
href: ctaItem
|
|
51366
|
+
href: getLinkUrl(ctaItem),
|
|
51276
51367
|
className: "group flex-1 p-0 hover:bg-transparent",
|
|
51277
51368
|
children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex h-full rounded-lg border border-input bg-background p-0 hover:bg-transparent", children: [
|
|
51278
51369
|
ctaItem.image && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "w-2/5 max-w-[310px] shrink-0 overflow-clip rounded-tl-lg rounded-bl-lg", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -51306,7 +51397,7 @@ var NavbarPlatformResources = ({
|
|
|
51306
51397
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "-ml-2.5 space-y-2.5", children: listItems.map((item, itemIndex) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
51307
51398
|
NavigationMenuLink,
|
|
51308
51399
|
{
|
|
51309
|
-
href: item
|
|
51400
|
+
href: getLinkUrl(item),
|
|
51310
51401
|
className: "group flex flex-row items-center gap-2.5 rounded-md p-2.5 focus:text-accent-foreground",
|
|
51311
51402
|
children: [
|
|
51312
51403
|
(item.icon || item.iconName) && (item.icon ? item.icon : item.iconName ? /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: item.iconName, size: 16 }) : null),
|
|
@@ -51319,7 +51410,7 @@ var NavbarPlatformResources = ({
|
|
|
51319
51410
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "max-w-[716px] flex-1 space-y-6", children: showcaseItems.map((showcase, showcaseIndex) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
51320
51411
|
NavigationMenuLink,
|
|
51321
51412
|
{
|
|
51322
|
-
href: showcase
|
|
51413
|
+
href: getLinkUrl(showcase),
|
|
51323
51414
|
className: "flex flex-row items-center overflow-clip rounded-lg border border-input bg-background p-0 hover:bg-transparent",
|
|
51324
51415
|
children: [
|
|
51325
51416
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex-1 p-5 xl:p-8", children: [
|
|
@@ -51353,7 +51444,7 @@ var NavbarPlatformResources = ({
|
|
|
51353
51444
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid flex-1 grid-cols-1 gap-6 md:grid-cols-2", children: group.links.map((item, itemIndex) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
51354
51445
|
NavigationMenuLink,
|
|
51355
51446
|
{
|
|
51356
|
-
href: item
|
|
51447
|
+
href: getLinkUrl(item),
|
|
51357
51448
|
className: "flex h-full flex-col overflow-clip rounded-lg border border-input bg-background p-5 hover:bg-accent hover:text-accent-foreground xl:p-8",
|
|
51358
51449
|
children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mt-auto", children: [
|
|
51359
51450
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-2 text-base", children: item.label }),
|
|
@@ -51370,7 +51461,7 @@ var NavbarPlatformResources = ({
|
|
|
51370
51461
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
51371
51462
|
NavigationMenuLink,
|
|
51372
51463
|
{
|
|
51373
|
-
href: ctaItem
|
|
51464
|
+
href: getLinkUrl(ctaItem),
|
|
51374
51465
|
className: "mb-6 flex flex-row overflow-clip rounded-lg border border-input bg-background p-0 hover:bg-transparent",
|
|
51375
51466
|
children: [
|
|
51376
51467
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex-1 p-5 xl:p-8", children: [
|
|
@@ -51399,7 +51490,7 @@ var NavbarPlatformResources = ({
|
|
|
51399
51490
|
return /* @__PURE__ */ jsxRuntime.jsx(NavigationMenuContent, { className: "min-w-[640px] p-4", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-3", children: link.links?.map((item, itemIndex) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
51400
51491
|
NavigationMenuLink,
|
|
51401
51492
|
{
|
|
51402
|
-
href: item
|
|
51493
|
+
href: getLinkUrl(item),
|
|
51403
51494
|
className: "flex flex-row items-start gap-4 rounded-lg border border-input bg-background p-4 hover:bg-accent hover:text-accent-foreground",
|
|
51404
51495
|
children: [
|
|
51405
51496
|
item.image && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-12 w-12 overflow-hidden rounded-md border border-border", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -51439,173 +51530,171 @@ var NavbarPlatformResources = ({
|
|
|
51439
51530
|
] }) }, index);
|
|
51440
51531
|
});
|
|
51441
51532
|
};
|
|
51533
|
+
const {
|
|
51534
|
+
sectionClasses,
|
|
51535
|
+
containerWrapperClasses,
|
|
51536
|
+
innerContainerClasses,
|
|
51537
|
+
navWrapperClasses,
|
|
51538
|
+
spacingOverride
|
|
51539
|
+
} = getNavbarLayoutClasses(layoutVariant, { className, containerClassName });
|
|
51442
51540
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
51443
51541
|
Section,
|
|
51444
51542
|
{
|
|
51445
51543
|
background,
|
|
51446
|
-
spacing,
|
|
51447
|
-
className:
|
|
51544
|
+
spacing: spacingOverride ?? spacing,
|
|
51545
|
+
className: sectionClasses,
|
|
51448
51546
|
pattern,
|
|
51449
51547
|
patternOpacity,
|
|
51450
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
51451
|
-
"div",
|
|
51452
|
-
|
|
51453
|
-
|
|
51454
|
-
|
|
51455
|
-
|
|
51456
|
-
|
|
51457
|
-
|
|
51458
|
-
|
|
51459
|
-
|
|
51460
|
-
|
|
51461
|
-
|
|
51462
|
-
|
|
51463
|
-
|
|
51464
|
-
|
|
51465
|
-
|
|
51466
|
-
|
|
51467
|
-
|
|
51468
|
-
|
|
51469
|
-
|
|
51470
|
-
|
|
51471
|
-
|
|
51472
|
-
|
|
51473
|
-
|
|
51474
|
-
|
|
51475
|
-
|
|
51476
|
-
|
|
51477
|
-
|
|
51478
|
-
return null;
|
|
51479
|
-
}
|
|
51480
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
51481
|
-
NavigationMenuItem,
|
|
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
|
+
);
|
|
51567
|
+
}
|
|
51568
|
+
if (!link.href) {
|
|
51569
|
+
return null;
|
|
51570
|
+
}
|
|
51571
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
51572
|
+
NavigationMenuItem,
|
|
51573
|
+
{
|
|
51574
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
51575
|
+
NavigationMenuLink,
|
|
51482
51576
|
{
|
|
51483
|
-
|
|
51484
|
-
|
|
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
|
|
51594
|
+
),
|
|
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,
|
|
51485
51632
|
{
|
|
51486
|
-
href:
|
|
51487
|
-
className: "group
|
|
51488
|
-
children:
|
|
51489
|
-
|
|
51490
|
-
|
|
51491
|
-
|
|
51492
|
-
|
|
51493
|
-
|
|
51494
|
-
|
|
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
|
+
);
|
|
51495
51664
|
}
|
|
51496
|
-
|
|
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,
|
|
51674
|
+
{
|
|
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
|
+
}) }),
|
|
51497
51684
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
51498
51685
|
"div",
|
|
51499
51686
|
{
|
|
51500
51687
|
className: cn(
|
|
51501
|
-
"
|
|
51688
|
+
"mx-8 mt-auto flex flex-col gap-4 py-12",
|
|
51502
51689
|
actionsClassName
|
|
51503
51690
|
),
|
|
51504
51691
|
children: renderActions()
|
|
51505
51692
|
}
|
|
51506
|
-
)
|
|
51507
|
-
|
|
51508
|
-
|
|
51509
|
-
|
|
51510
|
-
|
|
51511
|
-
size: "icon",
|
|
51512
|
-
asButton: true,
|
|
51513
|
-
"aria-label": "Main Menu",
|
|
51514
|
-
onClick: () => setOpen(!open),
|
|
51515
|
-
children: [
|
|
51516
|
-
!open && /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: "lucide/menu", size: 16 }),
|
|
51517
|
-
open && /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: "lucide/x", size: 16 })
|
|
51518
|
-
]
|
|
51519
|
-
}
|
|
51520
|
-
) })
|
|
51521
|
-
] }),
|
|
51522
|
-
open && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
51523
|
-
"div",
|
|
51524
|
-
{
|
|
51525
|
-
className: cn(
|
|
51526
|
-
"absolute inset-0 top-[72px] flex h-[calc(100vh-72px)] w-full flex-col overflow-scroll border-t border-border bg-background lg:hidden",
|
|
51527
|
-
mobileMenuClassName
|
|
51528
|
-
),
|
|
51529
|
-
children: [
|
|
51530
|
-
/* @__PURE__ */ jsxRuntime.jsx(Accordion, { type: "single", collapsible: true, className: "w-full", children: menuLinks?.map((link, index) => {
|
|
51531
|
-
if (hasDropdownItems(link)) {
|
|
51532
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
51533
|
-
AccordionItem,
|
|
51534
|
-
{
|
|
51535
|
-
value: `menu-${index}`,
|
|
51536
|
-
className: "border-b-2 border-dashed",
|
|
51537
|
-
children: [
|
|
51538
|
-
/* @__PURE__ */ jsxRuntime.jsx(AccordionTrigger, { className: "px-2 py-4 text-left hover:no-underline", children: link.label }),
|
|
51539
|
-
/* @__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(
|
|
51540
|
-
Pressable,
|
|
51541
|
-
{
|
|
51542
|
-
href: item.url,
|
|
51543
|
-
className: "group flex items-start gap-4 rounded-lg p-2 hover:bg-muted",
|
|
51544
|
-
children: [
|
|
51545
|
-
item.image && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-10 w-10 overflow-hidden rounded-md border border-border", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
51546
|
-
img.Img,
|
|
51547
|
-
{
|
|
51548
|
-
src: item.image,
|
|
51549
|
-
alt: typeof item.label === "string" ? item.label : "Menu item",
|
|
51550
|
-
className: "h-full w-full object-cover object-center",
|
|
51551
|
-
optixFlowConfig
|
|
51552
|
-
}
|
|
51553
|
-
) }),
|
|
51554
|
-
!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(
|
|
51555
|
-
DynamicIcon,
|
|
51556
|
-
{
|
|
51557
|
-
name: item.iconName,
|
|
51558
|
-
size: 16
|
|
51559
|
-
}
|
|
51560
|
-
) : null }),
|
|
51561
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex-1", children: [
|
|
51562
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-sm font-medium text-foreground", children: item.label }),
|
|
51563
|
-
item.description && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-xs text-muted-foreground", children: item.description })
|
|
51564
|
-
] })
|
|
51565
|
-
]
|
|
51566
|
-
},
|
|
51567
|
-
`${typeof item.label === "string" ? item.label : "item"}-${itemIndex}`
|
|
51568
|
-
)) }) })
|
|
51569
|
-
]
|
|
51570
|
-
},
|
|
51571
|
-
`${typeof link.label === "string" ? link.label : "menu"}-${index}`
|
|
51572
|
-
);
|
|
51573
|
-
}
|
|
51574
|
-
if (!link.href) {
|
|
51575
|
-
return null;
|
|
51576
|
-
}
|
|
51577
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
51578
|
-
"div",
|
|
51579
|
-
{
|
|
51580
|
-
className: "border-b-2 border-dashed",
|
|
51581
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
51582
|
-
Pressable,
|
|
51583
|
-
{
|
|
51584
|
-
href: link.href,
|
|
51585
|
-
className: "flex w-full items-center px-2 py-4 text-left text-sm font-medium",
|
|
51586
|
-
children: link.label
|
|
51587
|
-
}
|
|
51588
|
-
)
|
|
51589
|
-
},
|
|
51590
|
-
`${typeof link.label === "string" ? link.label : "menu"}-${index}`
|
|
51591
|
-
);
|
|
51592
|
-
}) }),
|
|
51593
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
51594
|
-
"div",
|
|
51595
|
-
{
|
|
51596
|
-
className: cn(
|
|
51597
|
-
"mx-8 mt-auto flex flex-col gap-4 py-12",
|
|
51598
|
-
actionsClassName
|
|
51599
|
-
),
|
|
51600
|
-
children: renderActions()
|
|
51601
|
-
}
|
|
51602
|
-
)
|
|
51603
|
-
]
|
|
51604
|
-
}
|
|
51605
|
-
)
|
|
51606
|
-
] })
|
|
51607
|
-
}
|
|
51608
|
-
)
|
|
51693
|
+
)
|
|
51694
|
+
]
|
|
51695
|
+
}
|
|
51696
|
+
)
|
|
51697
|
+
] }) }) })
|
|
51609
51698
|
}
|
|
51610
51699
|
);
|
|
51611
51700
|
};
|
|
@@ -51630,6 +51719,7 @@ var NavbarImagePreview = ({
|
|
|
51630
51719
|
authActionsSlot,
|
|
51631
51720
|
socialLinks,
|
|
51632
51721
|
socialLinksSlot,
|
|
51722
|
+
layoutVariant = "fullScreenContainerizedLinks",
|
|
51633
51723
|
background = "white",
|
|
51634
51724
|
spacing = "none",
|
|
51635
51725
|
pattern,
|
|
@@ -51738,12 +51828,19 @@ var NavbarImagePreview = ({
|
|
|
51738
51828
|
);
|
|
51739
51829
|
});
|
|
51740
51830
|
};
|
|
51831
|
+
const {
|
|
51832
|
+
sectionClasses,
|
|
51833
|
+
containerWrapperClasses,
|
|
51834
|
+
innerContainerClasses,
|
|
51835
|
+
navWrapperClasses,
|
|
51836
|
+
spacingOverride
|
|
51837
|
+
} = getNavbarLayoutClasses(layoutVariant, { className, containerClassName });
|
|
51741
51838
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
51742
51839
|
Section,
|
|
51743
51840
|
{
|
|
51744
51841
|
background,
|
|
51745
|
-
spacing,
|
|
51746
|
-
className:
|
|
51842
|
+
spacing: spacingOverride ?? spacing,
|
|
51843
|
+
className: sectionClasses,
|
|
51747
51844
|
pattern,
|
|
51748
51845
|
patternOpacity,
|
|
51749
51846
|
children: [
|
|
@@ -51752,10 +51849,10 @@ var NavbarImagePreview = ({
|
|
|
51752
51849
|
{
|
|
51753
51850
|
className: cn(
|
|
51754
51851
|
"fixed top-0 z-500 w-full bg-transparent transition-colors duration-500",
|
|
51755
|
-
|
|
51852
|
+
containerWrapperClasses
|
|
51756
51853
|
),
|
|
51757
51854
|
ref: navRef,
|
|
51758
|
-
children: /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
51855
|
+
children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn(innerContainerClasses, navWrapperClasses), children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
51759
51856
|
"div",
|
|
51760
51857
|
{
|
|
51761
51858
|
className: cn(
|
|
@@ -51857,14 +51954,14 @@ var DesktopMenuItem3 = ({
|
|
|
51857
51954
|
/* @__PURE__ */ jsxRuntime.jsx("ul", { children: item.links.map((link, linkIndex) => /* @__PURE__ */ jsxRuntime.jsx("li", { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
51858
51955
|
Pressable,
|
|
51859
51956
|
{
|
|
51860
|
-
href: link
|
|
51957
|
+
href: getLinkUrl(link),
|
|
51861
51958
|
className: "flex items-center gap-4 rounded-lg px-4 py-3 hover:bg-muted",
|
|
51862
51959
|
"data-index": linkIndex,
|
|
51863
51960
|
onMouseEnter: handleMouseEnter,
|
|
51864
51961
|
onMouseLeave: handleMouseLeave,
|
|
51865
51962
|
children: /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
51866
|
-
/* @__PURE__ */ jsxRuntime.jsx("h3", { className: "leading-normal font-medium", children: link.label }),
|
|
51867
|
-
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "leading-normal text-muted-foreground", children: link.description })
|
|
51963
|
+
/* @__PURE__ */ jsxRuntime.jsx("h3", { className: "text-sm leading-normal font-medium", children: link.label }),
|
|
51964
|
+
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-xs leading-normal text-muted-foreground", children: link.description })
|
|
51868
51965
|
] })
|
|
51869
51966
|
}
|
|
51870
51967
|
) }, `desktop-nav-sublink-${linkIndex}`)) })
|
|
@@ -51907,7 +52004,7 @@ var MobileNavigationMenu2 = ({
|
|
|
51907
52004
|
/* @__PURE__ */ jsxRuntime.jsx("ul", { className: "flex flex-col gap-3", children: item.links?.map((link, i) => /* @__PURE__ */ jsxRuntime.jsx("li", { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
51908
52005
|
Pressable,
|
|
51909
52006
|
{
|
|
51910
|
-
href: link
|
|
52007
|
+
href: getLinkUrl(link),
|
|
51911
52008
|
className: cn(
|
|
51912
52009
|
"text-primary-foreground leading-normal font-medium",
|
|
51913
52010
|
index === 0 ? "text-2xl" : "text-base"
|
|
@@ -52013,6 +52110,7 @@ var NavbarDarkIcons = ({
|
|
|
52013
52110
|
authActionsSlot,
|
|
52014
52111
|
githubUrl = "https://github.com/opensite-ai/opensite-ui",
|
|
52015
52112
|
githubSlot,
|
|
52113
|
+
layoutVariant = "fullScreenContainerizedLinks",
|
|
52016
52114
|
background = "white",
|
|
52017
52115
|
spacing = "none",
|
|
52018
52116
|
pattern,
|
|
@@ -52112,20 +52210,28 @@ var NavbarDarkIcons = ({
|
|
|
52112
52210
|
if (!githubUrl) return null;
|
|
52113
52211
|
return /* @__PURE__ */ jsxRuntime.jsx(GithubStars, { repoUrl: githubUrl });
|
|
52114
52212
|
};
|
|
52213
|
+
const {
|
|
52214
|
+
sectionClasses,
|
|
52215
|
+
containerWrapperClasses,
|
|
52216
|
+
innerContainerClasses,
|
|
52217
|
+
navWrapperClasses,
|
|
52218
|
+
spacingOverride
|
|
52219
|
+
} = getNavbarLayoutClasses(layoutVariant, { className, containerClassName });
|
|
52115
52220
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
52116
52221
|
Section,
|
|
52117
52222
|
{
|
|
52118
52223
|
background,
|
|
52119
|
-
spacing,
|
|
52120
|
-
className: cn("dark pointer-events-auto relative z-999",
|
|
52224
|
+
spacing: spacingOverride ?? spacing,
|
|
52225
|
+
className: cn("dark pointer-events-auto relative z-999", sectionClasses),
|
|
52121
52226
|
pattern,
|
|
52122
52227
|
patternOpacity,
|
|
52123
52228
|
children: [
|
|
52124
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
52125
|
-
"
|
|
52229
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: containerWrapperClasses, children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: innerContainerClasses, children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
52230
|
+
"nav",
|
|
52126
52231
|
{
|
|
52127
52232
|
className: cn(
|
|
52128
|
-
"flex h-
|
|
52233
|
+
"flex h-16 items-center justify-between",
|
|
52234
|
+
navWrapperClasses,
|
|
52129
52235
|
navClassName
|
|
52130
52236
|
),
|
|
52131
52237
|
children: [
|
|
@@ -52168,7 +52274,7 @@ var NavbarDarkIcons = ({
|
|
|
52168
52274
|
] })
|
|
52169
52275
|
]
|
|
52170
52276
|
}
|
|
52171
|
-
) }),
|
|
52277
|
+
) }) }),
|
|
52172
52278
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
52173
52279
|
MobileNavigationMenu3,
|
|
52174
52280
|
{
|
|
@@ -52364,6 +52470,7 @@ var NavbarAnimatedPreview = ({
|
|
|
52364
52470
|
navigationSlot,
|
|
52365
52471
|
actions,
|
|
52366
52472
|
actionsSlot,
|
|
52473
|
+
layoutVariant = "fullScreenContainerizedLinks",
|
|
52367
52474
|
background = "white",
|
|
52368
52475
|
spacing = "none",
|
|
52369
52476
|
pattern,
|
|
@@ -52459,68 +52566,70 @@ var NavbarAnimatedPreview = ({
|
|
|
52459
52566
|
`desktop-link-${index}`
|
|
52460
52567
|
)) });
|
|
52461
52568
|
};
|
|
52462
|
-
|
|
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(
|
|
52463
52582
|
Section,
|
|
52464
52583
|
{
|
|
52465
52584
|
background,
|
|
52466
|
-
spacing,
|
|
52585
|
+
spacing: spacingOverride ?? spacing,
|
|
52467
52586
|
className: cn(
|
|
52468
52587
|
"pointer-events-auto fixed top-0 z-999 flex w-full items-center justify-center",
|
|
52469
|
-
|
|
52588
|
+
sectionClasses
|
|
52470
52589
|
),
|
|
52471
52590
|
pattern,
|
|
52472
52591
|
patternOpacity,
|
|
52473
|
-
children: [
|
|
52474
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
52475
|
-
|
|
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",
|
|
52476
52595
|
{
|
|
52477
52596
|
className: cn(
|
|
52478
|
-
"
|
|
52479
|
-
navigationMenuClassName
|
|
52597
|
+
"relative z-999 grid w-full grid-cols-2 items-center justify-between gap-8 xl:grid-cols-3"
|
|
52480
52598
|
),
|
|
52481
|
-
children:
|
|
52482
|
-
|
|
52483
|
-
{
|
|
52484
|
-
|
|
52485
|
-
|
|
52486
|
-
|
|
52487
|
-
|
|
52488
|
-
|
|
52489
|
-
|
|
52490
|
-
|
|
52491
|
-
|
|
52492
|
-
|
|
52493
|
-
|
|
52494
|
-
|
|
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,
|
|
52495
52614
|
{
|
|
52496
|
-
|
|
52497
|
-
|
|
52498
|
-
|
|
52499
|
-
asButton: true,
|
|
52500
|
-
onClick: handleMobileMenu,
|
|
52501
|
-
children: open ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
52502
|
-
DynamicIcon,
|
|
52503
|
-
{
|
|
52504
|
-
name: "lucide/x",
|
|
52505
|
-
size: 22,
|
|
52506
|
-
className: "stroke-foreground"
|
|
52507
|
-
}
|
|
52508
|
-
) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
52509
|
-
DynamicIcon,
|
|
52510
|
-
{
|
|
52511
|
-
name: "lucide/menu",
|
|
52512
|
-
size: 22,
|
|
52513
|
-
className: "stroke-foreground"
|
|
52514
|
-
}
|
|
52515
|
-
)
|
|
52615
|
+
name: "lucide/x",
|
|
52616
|
+
size: 22,
|
|
52617
|
+
className: "stroke-foreground"
|
|
52516
52618
|
}
|
|
52517
|
-
)
|
|
52518
|
-
|
|
52519
|
-
|
|
52520
|
-
|
|
52521
|
-
|
|
52619
|
+
) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
52620
|
+
DynamicIcon,
|
|
52621
|
+
{
|
|
52622
|
+
name: "lucide/menu",
|
|
52623
|
+
size: 22,
|
|
52624
|
+
className: "stroke-foreground"
|
|
52625
|
+
}
|
|
52626
|
+
)
|
|
52627
|
+
}
|
|
52628
|
+
) })
|
|
52629
|
+
] })
|
|
52630
|
+
]
|
|
52522
52631
|
}
|
|
52523
|
-
),
|
|
52632
|
+
) }),
|
|
52524
52633
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
52525
52634
|
MobileNavigationMenu4,
|
|
52526
52635
|
{
|
|
@@ -52530,7 +52639,7 @@ var NavbarAnimatedPreview = ({
|
|
|
52530
52639
|
actionsSlot
|
|
52531
52640
|
}
|
|
52532
52641
|
)
|
|
52533
|
-
]
|
|
52642
|
+
] }) })
|
|
52534
52643
|
}
|
|
52535
52644
|
);
|
|
52536
52645
|
};
|
|
@@ -52723,7 +52832,7 @@ var FeaturedImageLink = ({
|
|
|
52723
52832
|
optixFlowConfig
|
|
52724
52833
|
}) => {
|
|
52725
52834
|
if (!link) return null;
|
|
52726
|
-
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "hidden xl:block", children: /* @__PURE__ */ jsxRuntime.jsx(Pressable, { href: link.url, className: "w-full max-w-147.5", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
52835
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "hidden xl:block", children: /* @__PURE__ */ jsxRuntime.jsx(Pressable, { href: link.url || "#", className: "w-full max-w-147.5", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
52727
52836
|
AspectRatio,
|
|
52728
52837
|
{
|
|
52729
52838
|
ratio: 1.77245509,
|
|
@@ -52757,7 +52866,7 @@ var FeaturedLink = ({ link, optixFlowConfig }) => {
|
|
|
52757
52866
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
52758
52867
|
Pressable,
|
|
52759
52868
|
{
|
|
52760
|
-
href: link
|
|
52869
|
+
href: getLinkUrl(link),
|
|
52761
52870
|
className: "group relative flex w-full overflow-hidden rounded-xl bg-muted px-8 py-7",
|
|
52762
52871
|
children: [
|
|
52763
52872
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative z-10 flex w-full items-center gap-6", children: [
|
|
@@ -52793,7 +52902,7 @@ var NavLink = React13.forwardRef(
|
|
|
52793
52902
|
Pressable,
|
|
52794
52903
|
{
|
|
52795
52904
|
ref,
|
|
52796
|
-
href: link
|
|
52905
|
+
href: getLinkUrl(link),
|
|
52797
52906
|
className: "flex w-full gap-2 transition-opacity duration-300",
|
|
52798
52907
|
onMouseEnter,
|
|
52799
52908
|
onMouseLeave,
|
|
@@ -52807,8 +52916,8 @@ var NavLink = React13.forwardRef(
|
|
|
52807
52916
|
}
|
|
52808
52917
|
) }),
|
|
52809
52918
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col items-start gap-2", children: [
|
|
52810
|
-
link.label && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-
|
|
52811
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-
|
|
52919
|
+
link.label && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-sm leading-normal", children: link.label }),
|
|
52920
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-xs leading-normal text-muted-foreground", children: link.description })
|
|
52812
52921
|
] })
|
|
52813
52922
|
]
|
|
52814
52923
|
}
|
|
@@ -52919,6 +53028,7 @@ var NavbarMultiColumnGroups = ({
|
|
|
52919
53028
|
authActionsSlot,
|
|
52920
53029
|
mobileAuthActions,
|
|
52921
53030
|
mobileAuthActionsSlot,
|
|
53031
|
+
layoutVariant = "fullScreenContainerizedLinks",
|
|
52922
53032
|
background = "white",
|
|
52923
53033
|
spacing = "none",
|
|
52924
53034
|
pattern,
|
|
@@ -53013,19 +53123,23 @@ var NavbarMultiColumnGroups = ({
|
|
|
53013
53123
|
);
|
|
53014
53124
|
});
|
|
53015
53125
|
};
|
|
53126
|
+
const {
|
|
53127
|
+
sectionClasses,
|
|
53128
|
+
containerWrapperClasses,
|
|
53129
|
+
innerContainerClasses,
|
|
53130
|
+
navWrapperClasses,
|
|
53131
|
+
spacingOverride
|
|
53132
|
+
} = getNavbarLayoutClasses(layoutVariant, { className, containerClassName });
|
|
53016
53133
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
53017
53134
|
Section,
|
|
53018
53135
|
{
|
|
53019
53136
|
background,
|
|
53020
|
-
spacing,
|
|
53021
|
-
className:
|
|
53022
|
-
"pointer-events-auto fixed top-0 z-999 flex h-16 w-full items-center justify-center",
|
|
53023
|
-
className
|
|
53024
|
-
),
|
|
53137
|
+
spacing: spacingOverride ?? spacing,
|
|
53138
|
+
className: sectionClasses,
|
|
53025
53139
|
pattern,
|
|
53026
53140
|
patternOpacity,
|
|
53027
53141
|
children: [
|
|
53028
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
53142
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: containerWrapperClasses, children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn(innerContainerClasses, navWrapperClasses), children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
53029
53143
|
"div",
|
|
53030
53144
|
{
|
|
53031
53145
|
className: cn(
|
|
@@ -53080,7 +53194,7 @@ var NavbarMultiColumnGroups = ({
|
|
|
53080
53194
|
) })
|
|
53081
53195
|
]
|
|
53082
53196
|
}
|
|
53083
|
-
) }),
|
|
53197
|
+
) }) }),
|
|
53084
53198
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
53085
53199
|
MobileNavigationMenu5,
|
|
53086
53200
|
{
|
|
@@ -53248,6 +53362,7 @@ var NavbarSidebarMobile = ({
|
|
|
53248
53362
|
navClassName,
|
|
53249
53363
|
navigationMenuClassName,
|
|
53250
53364
|
actionsClassName,
|
|
53365
|
+
layoutVariant = "fullScreenContainerizedLinks",
|
|
53251
53366
|
background = "white",
|
|
53252
53367
|
spacing = "none",
|
|
53253
53368
|
pattern,
|
|
@@ -53316,15 +53431,22 @@ var NavbarSidebarMobile = ({
|
|
|
53316
53431
|
if (!mobileExtraLinks || mobileExtraLinks.length === 0) return null;
|
|
53317
53432
|
return mobileExtraLinks;
|
|
53318
53433
|
};
|
|
53434
|
+
const {
|
|
53435
|
+
sectionClasses,
|
|
53436
|
+
containerWrapperClasses,
|
|
53437
|
+
innerContainerClasses,
|
|
53438
|
+
navWrapperClasses,
|
|
53439
|
+
spacingOverride
|
|
53440
|
+
} = getNavbarLayoutClasses(layoutVariant, { className, containerClassName });
|
|
53319
53441
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
53320
53442
|
Section,
|
|
53321
53443
|
{
|
|
53322
53444
|
background,
|
|
53323
|
-
spacing,
|
|
53324
|
-
className:
|
|
53445
|
+
spacing: spacingOverride ?? spacing,
|
|
53446
|
+
className: sectionClasses,
|
|
53325
53447
|
pattern,
|
|
53326
53448
|
patternOpacity,
|
|
53327
|
-
children: /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
53449
|
+
children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: containerWrapperClasses, children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn(innerContainerClasses, navWrapperClasses), children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
53328
53450
|
"nav",
|
|
53329
53451
|
{
|
|
53330
53452
|
className: cn("flex items-center justify-between py-4", navClassName),
|
|
@@ -53449,7 +53571,7 @@ var NavbarSidebarMobile = ({
|
|
|
53449
53571
|
] })
|
|
53450
53572
|
]
|
|
53451
53573
|
}
|
|
53452
|
-
) })
|
|
53574
|
+
) }) })
|
|
53453
53575
|
}
|
|
53454
53576
|
);
|
|
53455
53577
|
};
|
|
@@ -53471,6 +53593,7 @@ var NavbarTransparentOverlay = ({
|
|
|
53471
53593
|
authActionsSlot,
|
|
53472
53594
|
mobileAuthActions,
|
|
53473
53595
|
mobileAuthActionsSlot,
|
|
53596
|
+
layoutVariant = "fullScreenContainerizedLinks",
|
|
53474
53597
|
background = "white",
|
|
53475
53598
|
spacing = "none",
|
|
53476
53599
|
pattern,
|
|
@@ -53615,16 +53738,23 @@ var NavbarTransparentOverlay = ({
|
|
|
53615
53738
|
);
|
|
53616
53739
|
});
|
|
53617
53740
|
};
|
|
53741
|
+
const {
|
|
53742
|
+
sectionClasses,
|
|
53743
|
+
containerWrapperClasses,
|
|
53744
|
+
innerContainerClasses,
|
|
53745
|
+
navWrapperClasses,
|
|
53746
|
+
spacingOverride
|
|
53747
|
+
} = getNavbarLayoutClasses(layoutVariant, { className, containerClassName });
|
|
53618
53748
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
53619
53749
|
Section,
|
|
53620
53750
|
{
|
|
53621
53751
|
background,
|
|
53622
|
-
spacing,
|
|
53623
|
-
className:
|
|
53752
|
+
spacing: spacingOverride ?? spacing,
|
|
53753
|
+
className: sectionClasses,
|
|
53624
53754
|
pattern,
|
|
53625
53755
|
patternOpacity,
|
|
53626
53756
|
children: [
|
|
53627
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
53757
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: containerWrapperClasses, children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn(innerContainerClasses, navWrapperClasses), children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
53628
53758
|
"nav",
|
|
53629
53759
|
{
|
|
53630
53760
|
className: cn(
|
|
@@ -53632,7 +53762,7 @@ var NavbarTransparentOverlay = ({
|
|
|
53632
53762
|
isScrolled ? "bg-background/95 shadow-sm backdrop-blur-sm" : "bg-transparent",
|
|
53633
53763
|
navClassName
|
|
53634
53764
|
),
|
|
53635
|
-
children: /* @__PURE__ */ jsxRuntime.
|
|
53765
|
+
children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex h-16 items-center justify-between", children: [
|
|
53636
53766
|
renderLogo(),
|
|
53637
53767
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
53638
53768
|
NavigationMenu,
|
|
@@ -53690,9 +53820,9 @@ var NavbarTransparentOverlay = ({
|
|
|
53690
53820
|
]
|
|
53691
53821
|
}
|
|
53692
53822
|
)
|
|
53693
|
-
] })
|
|
53823
|
+
] })
|
|
53694
53824
|
}
|
|
53695
|
-
),
|
|
53825
|
+
) }) }),
|
|
53696
53826
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
53697
53827
|
"div",
|
|
53698
53828
|
{
|
|
@@ -53758,6 +53888,7 @@ var NavbarEducationPlatform = ({
|
|
|
53758
53888
|
company,
|
|
53759
53889
|
authActions,
|
|
53760
53890
|
authActionsSlot,
|
|
53891
|
+
layoutVariant = "fullScreenContainerizedLinks",
|
|
53761
53892
|
background = "white",
|
|
53762
53893
|
spacing = "none",
|
|
53763
53894
|
pattern,
|
|
@@ -53807,23 +53938,29 @@ var NavbarEducationPlatform = ({
|
|
|
53807
53938
|
] }) }, index);
|
|
53808
53939
|
});
|
|
53809
53940
|
};
|
|
53941
|
+
const {
|
|
53942
|
+
sectionClasses,
|
|
53943
|
+
containerWrapperClasses,
|
|
53944
|
+
innerContainerClasses,
|
|
53945
|
+
navWrapperClasses,
|
|
53946
|
+
spacingOverride
|
|
53947
|
+
} = getNavbarLayoutClasses(layoutVariant, { className, containerClassName });
|
|
53810
53948
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
53811
53949
|
Section,
|
|
53812
53950
|
{
|
|
53813
53951
|
background,
|
|
53814
|
-
spacing,
|
|
53952
|
+
spacing: spacingOverride ?? spacing,
|
|
53815
53953
|
className: cn(
|
|
53816
|
-
"border-b border-border lg:border-b",
|
|
53817
53954
|
isOpen && "border-b-0",
|
|
53818
|
-
|
|
53955
|
+
sectionClasses
|
|
53819
53956
|
),
|
|
53820
53957
|
pattern,
|
|
53821
53958
|
patternOpacity,
|
|
53822
53959
|
children: [
|
|
53823
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
53960
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: containerWrapperClasses, children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: innerContainerClasses, children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
53824
53961
|
"nav",
|
|
53825
53962
|
{
|
|
53826
|
-
className: cn("flex items-center justify-between py-4", navClassName),
|
|
53963
|
+
className: cn("flex items-center justify-between py-4", navWrapperClasses, navClassName),
|
|
53827
53964
|
children: [
|
|
53828
53965
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-1 items-center gap-9", children: [
|
|
53829
53966
|
renderLogo(),
|
|
@@ -54014,7 +54151,7 @@ var NavbarEducationPlatform = ({
|
|
|
54014
54151
|
)
|
|
54015
54152
|
]
|
|
54016
54153
|
}
|
|
54017
|
-
) }),
|
|
54154
|
+
) }) }),
|
|
54018
54155
|
isOpen && /* @__PURE__ */ jsxRuntime.jsx(
|
|
54019
54156
|
"div",
|
|
54020
54157
|
{
|
|
@@ -54151,6 +54288,7 @@ var NavbarStickyCompact = ({
|
|
|
54151
54288
|
containerClassName,
|
|
54152
54289
|
navClassName,
|
|
54153
54290
|
actionsClassName,
|
|
54291
|
+
layoutVariant = "fullScreenContainerizedLinks",
|
|
54154
54292
|
background = "white",
|
|
54155
54293
|
spacing = "none",
|
|
54156
54294
|
pattern,
|
|
@@ -54304,19 +54442,26 @@ var NavbarStickyCompact = ({
|
|
|
54304
54442
|
)
|
|
54305
54443
|
);
|
|
54306
54444
|
};
|
|
54445
|
+
const {
|
|
54446
|
+
sectionClasses,
|
|
54447
|
+
containerWrapperClasses,
|
|
54448
|
+
innerContainerClasses,
|
|
54449
|
+
navWrapperClasses,
|
|
54450
|
+
spacingOverride
|
|
54451
|
+
} = getNavbarLayoutClasses(layoutVariant, { className, containerClassName });
|
|
54307
54452
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
54308
54453
|
Section,
|
|
54309
54454
|
{
|
|
54310
54455
|
background,
|
|
54311
|
-
spacing,
|
|
54456
|
+
spacing: spacingOverride ?? spacing,
|
|
54312
54457
|
className: cn(
|
|
54313
|
-
|
|
54314
|
-
|
|
54315
|
-
|
|
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" : ""
|
|
54316
54461
|
),
|
|
54317
54462
|
pattern,
|
|
54318
54463
|
patternOpacity,
|
|
54319
|
-
children: /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
54464
|
+
children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: containerWrapperClasses, children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn(innerContainerClasses, navWrapperClasses), children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
54320
54465
|
"nav",
|
|
54321
54466
|
{
|
|
54322
54467
|
className: cn(
|
|
@@ -54372,7 +54517,7 @@ var NavbarStickyCompact = ({
|
|
|
54372
54517
|
] })
|
|
54373
54518
|
]
|
|
54374
54519
|
}
|
|
54375
|
-
) })
|
|
54520
|
+
) }) })
|
|
54376
54521
|
}
|
|
54377
54522
|
);
|
|
54378
54523
|
};
|
|
@@ -54397,6 +54542,7 @@ var NavbarSearchFocused = ({
|
|
|
54397
54542
|
authActionsSlot,
|
|
54398
54543
|
mobileMenuActions,
|
|
54399
54544
|
mobileMenuActionsSlot,
|
|
54545
|
+
layoutVariant = "fullScreenContainerizedLinks",
|
|
54400
54546
|
background = "white",
|
|
54401
54547
|
spacing = "none",
|
|
54402
54548
|
pattern,
|
|
@@ -54492,15 +54638,22 @@ var NavbarSearchFocused = ({
|
|
|
54492
54638
|
);
|
|
54493
54639
|
}) });
|
|
54494
54640
|
};
|
|
54641
|
+
const {
|
|
54642
|
+
sectionClasses,
|
|
54643
|
+
containerWrapperClasses,
|
|
54644
|
+
innerContainerClasses,
|
|
54645
|
+
navWrapperClasses,
|
|
54646
|
+
spacingOverride
|
|
54647
|
+
} = getNavbarLayoutClasses(layoutVariant, { className, containerClassName });
|
|
54495
54648
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
54496
54649
|
Section,
|
|
54497
54650
|
{
|
|
54498
54651
|
background,
|
|
54499
|
-
spacing,
|
|
54500
|
-
className:
|
|
54652
|
+
spacing: spacingOverride ?? spacing,
|
|
54653
|
+
className: sectionClasses,
|
|
54501
54654
|
pattern,
|
|
54502
54655
|
patternOpacity,
|
|
54503
|
-
children: /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
54656
|
+
children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: containerWrapperClasses, children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn(innerContainerClasses, navWrapperClasses), children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
54504
54657
|
"nav",
|
|
54505
54658
|
{
|
|
54506
54659
|
className: cn("flex items-center gap-4 py-3 lg:gap-8", navClassName),
|
|
@@ -54568,7 +54721,7 @@ var NavbarSearchFocused = ({
|
|
|
54568
54721
|
] })
|
|
54569
54722
|
]
|
|
54570
54723
|
}
|
|
54571
|
-
) })
|
|
54724
|
+
) }) })
|
|
54572
54725
|
}
|
|
54573
54726
|
);
|
|
54574
54727
|
};
|
|
@@ -54670,6 +54823,7 @@ var NavbarSimpleLinks = ({
|
|
|
54670
54823
|
defaultActiveItem,
|
|
54671
54824
|
actions,
|
|
54672
54825
|
actionsSlot,
|
|
54826
|
+
layoutVariant = "fullScreenContainerizedLinks",
|
|
54673
54827
|
background = "white",
|
|
54674
54828
|
spacing = "sm",
|
|
54675
54829
|
pattern,
|
|
@@ -54761,15 +54915,22 @@ var NavbarSimpleLinks = ({
|
|
|
54761
54915
|
);
|
|
54762
54916
|
});
|
|
54763
54917
|
};
|
|
54918
|
+
const {
|
|
54919
|
+
sectionClasses,
|
|
54920
|
+
containerWrapperClasses,
|
|
54921
|
+
innerContainerClasses,
|
|
54922
|
+
navWrapperClasses,
|
|
54923
|
+
spacingOverride
|
|
54924
|
+
} = getNavbarLayoutClasses(layoutVariant, { className, containerClassName });
|
|
54764
54925
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
54765
54926
|
Section,
|
|
54766
54927
|
{
|
|
54767
54928
|
background,
|
|
54768
|
-
spacing,
|
|
54769
|
-
className:
|
|
54929
|
+
spacing: spacingOverride ?? spacing,
|
|
54930
|
+
className: sectionClasses,
|
|
54770
54931
|
pattern,
|
|
54771
54932
|
patternOpacity,
|
|
54772
|
-
children: /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
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: [
|
|
54773
54934
|
renderLogo(),
|
|
54774
54935
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
54775
54936
|
NavigationMenu,
|
|
@@ -54818,7 +54979,7 @@ var NavbarSimpleLinks = ({
|
|
|
54818
54979
|
children: renderActions()
|
|
54819
54980
|
}
|
|
54820
54981
|
)
|
|
54821
|
-
] }) })
|
|
54982
|
+
] }) }) })
|
|
54822
54983
|
}
|
|
54823
54984
|
);
|
|
54824
54985
|
};
|
|
@@ -54840,6 +55001,7 @@ var NavbarSplitCta = ({
|
|
|
54840
55001
|
navClassName,
|
|
54841
55002
|
navigationMenuClassName,
|
|
54842
55003
|
actionsClassName,
|
|
55004
|
+
layoutVariant = "fullScreenContainerizedLinks",
|
|
54843
55005
|
background = "white",
|
|
54844
55006
|
spacing = "none",
|
|
54845
55007
|
pattern,
|
|
@@ -54929,15 +55091,22 @@ var NavbarSplitCta = ({
|
|
|
54929
55091
|
if (!menu || menu.length === 0) return null;
|
|
54930
55092
|
return menu;
|
|
54931
55093
|
};
|
|
55094
|
+
const {
|
|
55095
|
+
sectionClasses,
|
|
55096
|
+
containerWrapperClasses,
|
|
55097
|
+
innerContainerClasses,
|
|
55098
|
+
navWrapperClasses,
|
|
55099
|
+
spacingOverride
|
|
55100
|
+
} = getNavbarLayoutClasses(layoutVariant, { className, containerClassName });
|
|
54932
55101
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
54933
55102
|
Section,
|
|
54934
55103
|
{
|
|
54935
55104
|
background,
|
|
54936
|
-
spacing,
|
|
54937
|
-
className:
|
|
55105
|
+
spacing: spacingOverride ?? spacing,
|
|
55106
|
+
className: sectionClasses,
|
|
54938
55107
|
pattern,
|
|
54939
55108
|
patternOpacity,
|
|
54940
|
-
children: /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
55109
|
+
children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: containerWrapperClasses, children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn(innerContainerClasses, navWrapperClasses), children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
54941
55110
|
"nav",
|
|
54942
55111
|
{
|
|
54943
55112
|
className: cn("flex items-center justify-between py-4", navClassName),
|
|
@@ -55050,7 +55219,7 @@ var NavbarSplitCta = ({
|
|
|
55050
55219
|
] })
|
|
55051
55220
|
]
|
|
55052
55221
|
}
|
|
55053
|
-
) })
|
|
55222
|
+
) }) })
|
|
55054
55223
|
}
|
|
55055
55224
|
);
|
|
55056
55225
|
};
|
|
@@ -55070,6 +55239,7 @@ var NavbarIconLinks = ({
|
|
|
55070
55239
|
navClassName,
|
|
55071
55240
|
navigationMenuClassName,
|
|
55072
55241
|
actionsClassName,
|
|
55242
|
+
layoutVariant = "fullScreenContainerizedLinks",
|
|
55073
55243
|
background = "white",
|
|
55074
55244
|
spacing = "none",
|
|
55075
55245
|
pattern,
|
|
@@ -55136,18 +55306,25 @@ var NavbarIconLinks = ({
|
|
|
55136
55306
|
if (!navItems || navItems.length === 0) return null;
|
|
55137
55307
|
return navItems;
|
|
55138
55308
|
};
|
|
55309
|
+
const {
|
|
55310
|
+
sectionClasses,
|
|
55311
|
+
containerWrapperClasses,
|
|
55312
|
+
innerContainerClasses,
|
|
55313
|
+
navWrapperClasses,
|
|
55314
|
+
spacingOverride
|
|
55315
|
+
} = getNavbarLayoutClasses(layoutVariant, { className, containerClassName });
|
|
55139
55316
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
55140
55317
|
Section,
|
|
55141
55318
|
{
|
|
55142
55319
|
background,
|
|
55143
|
-
spacing,
|
|
55144
|
-
className:
|
|
55320
|
+
spacing: spacingOverride ?? spacing,
|
|
55321
|
+
className: sectionClasses,
|
|
55145
55322
|
pattern,
|
|
55146
55323
|
patternOpacity,
|
|
55147
|
-
children: /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
55324
|
+
children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: containerWrapperClasses, children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: innerContainerClasses, children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
55148
55325
|
"nav",
|
|
55149
55326
|
{
|
|
55150
|
-
className: cn("flex items-center justify-between py-3", navClassName),
|
|
55327
|
+
className: cn("flex items-center justify-between py-3", navWrapperClasses, navClassName),
|
|
55151
55328
|
children: [
|
|
55152
55329
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-6", children: [
|
|
55153
55330
|
renderLogo(),
|
|
@@ -55241,7 +55418,7 @@ var NavbarIconLinks = ({
|
|
|
55241
55418
|
] })
|
|
55242
55419
|
]
|
|
55243
55420
|
}
|
|
55244
|
-
) })
|
|
55421
|
+
) }) })
|
|
55245
55422
|
}
|
|
55246
55423
|
);
|
|
55247
55424
|
};
|
|
@@ -55260,6 +55437,7 @@ var NavbarTabbedSections = ({
|
|
|
55260
55437
|
containerClassName,
|
|
55261
55438
|
navClassName,
|
|
55262
55439
|
actionsClassName,
|
|
55440
|
+
layoutVariant = "fullScreenContainerizedLinks",
|
|
55263
55441
|
background = "white",
|
|
55264
55442
|
spacing = "none",
|
|
55265
55443
|
pattern,
|
|
@@ -55423,15 +55601,22 @@ var NavbarTabbedSections = ({
|
|
|
55423
55601
|
)
|
|
55424
55602
|
);
|
|
55425
55603
|
};
|
|
55604
|
+
const {
|
|
55605
|
+
sectionClasses,
|
|
55606
|
+
containerWrapperClasses,
|
|
55607
|
+
innerContainerClasses,
|
|
55608
|
+
navWrapperClasses,
|
|
55609
|
+
spacingOverride
|
|
55610
|
+
} = getNavbarLayoutClasses(layoutVariant, { className, containerClassName });
|
|
55426
55611
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
55427
55612
|
Section,
|
|
55428
55613
|
{
|
|
55429
55614
|
background,
|
|
55430
|
-
spacing,
|
|
55431
|
-
className:
|
|
55615
|
+
spacing: spacingOverride ?? spacing,
|
|
55616
|
+
className: sectionClasses,
|
|
55432
55617
|
pattern,
|
|
55433
55618
|
patternOpacity,
|
|
55434
|
-
children: /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
55619
|
+
children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: containerWrapperClasses, children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn(innerContainerClasses, navWrapperClasses), children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
55435
55620
|
"nav",
|
|
55436
55621
|
{
|
|
55437
55622
|
className: cn("flex items-center justify-between py-4", navClassName),
|
|
@@ -55484,7 +55669,7 @@ var NavbarTabbedSections = ({
|
|
|
55484
55669
|
] })
|
|
55485
55670
|
]
|
|
55486
55671
|
}
|
|
55487
|
-
) })
|
|
55672
|
+
) }) })
|
|
55488
55673
|
}
|
|
55489
55674
|
);
|
|
55490
55675
|
};
|
|
@@ -55505,6 +55690,7 @@ var NavbarFullscreenMenu = ({
|
|
|
55505
55690
|
overlayClassName,
|
|
55506
55691
|
menuItemsClassName,
|
|
55507
55692
|
socialLinksClassName,
|
|
55693
|
+
layoutVariant = "fullScreenContainerizedLinks",
|
|
55508
55694
|
background = "white",
|
|
55509
55695
|
spacing = "none",
|
|
55510
55696
|
pattern,
|
|
@@ -55571,20 +55757,28 @@ var NavbarFullscreenMenu = ({
|
|
|
55571
55757
|
link.label
|
|
55572
55758
|
));
|
|
55573
55759
|
};
|
|
55760
|
+
const {
|
|
55761
|
+
sectionClasses,
|
|
55762
|
+
containerWrapperClasses,
|
|
55763
|
+
innerContainerClasses,
|
|
55764
|
+
navWrapperClasses,
|
|
55765
|
+
spacingOverride
|
|
55766
|
+
} = getNavbarLayoutClasses(layoutVariant, { className, containerClassName });
|
|
55574
55767
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
55575
55768
|
Section,
|
|
55576
55769
|
{
|
|
55577
55770
|
background,
|
|
55578
|
-
spacing,
|
|
55579
|
-
className:
|
|
55771
|
+
spacing: spacingOverride ?? spacing,
|
|
55772
|
+
className: sectionClasses,
|
|
55580
55773
|
pattern,
|
|
55581
55774
|
patternOpacity,
|
|
55582
|
-
children: /* @__PURE__ */ jsxRuntime.
|
|
55775
|
+
children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: containerWrapperClasses, children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: innerContainerClasses, children: [
|
|
55583
55776
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
55584
|
-
"
|
|
55777
|
+
"nav",
|
|
55585
55778
|
{
|
|
55586
55779
|
className: cn(
|
|
55587
55780
|
"flex items-center justify-between px-6 py-6",
|
|
55781
|
+
navWrapperClasses,
|
|
55588
55782
|
headerClassName
|
|
55589
55783
|
),
|
|
55590
55784
|
children: [
|
|
@@ -55640,7 +55834,7 @@ var NavbarFullscreenMenu = ({
|
|
|
55640
55834
|
] })
|
|
55641
55835
|
}
|
|
55642
55836
|
)
|
|
55643
|
-
] })
|
|
55837
|
+
] }) })
|
|
55644
55838
|
}
|
|
55645
55839
|
);
|
|
55646
55840
|
};
|