@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.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,15 +49197,22 @@ 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__ */
|
|
49215
|
+
children: /* @__PURE__ */ jsx("div", { className: containerWrapperClasses, children: /* @__PURE__ */ jsxs("div", { className: cn(innerContainerClasses, navWrapperClasses), children: [
|
|
49177
49216
|
/* @__PURE__ */ jsxs(
|
|
49178
49217
|
"nav",
|
|
49179
49218
|
{
|
|
@@ -49221,7 +49260,7 @@ var NavbarDropdownMenu = ({
|
|
|
49221
49260
|
] })
|
|
49222
49261
|
] })
|
|
49223
49262
|
] }) })
|
|
49224
|
-
] })
|
|
49263
|
+
] }) })
|
|
49225
49264
|
}
|
|
49226
49265
|
);
|
|
49227
49266
|
};
|
|
@@ -49309,6 +49348,7 @@ var NavbarCenteredMenu = ({
|
|
|
49309
49348
|
mobileNavClassName,
|
|
49310
49349
|
navigationMenuClassName,
|
|
49311
49350
|
actionsClassName,
|
|
49351
|
+
layoutVariant = "fullScreenContainerizedLinks",
|
|
49312
49352
|
background = "white",
|
|
49313
49353
|
spacing = "sm",
|
|
49314
49354
|
pattern,
|
|
@@ -49376,15 +49416,22 @@ var NavbarCenteredMenu = ({
|
|
|
49376
49416
|
if (!menu || menu.length === 0) return null;
|
|
49377
49417
|
return menu.map((item) => renderMobileMenuItem2(item));
|
|
49378
49418
|
};
|
|
49419
|
+
const {
|
|
49420
|
+
sectionClasses,
|
|
49421
|
+
containerWrapperClasses,
|
|
49422
|
+
innerContainerClasses,
|
|
49423
|
+
navWrapperClasses,
|
|
49424
|
+
spacingOverride
|
|
49425
|
+
} = getNavbarLayoutClasses(layoutVariant, { className, containerClassName });
|
|
49379
49426
|
return /* @__PURE__ */ jsx(
|
|
49380
49427
|
Section,
|
|
49381
49428
|
{
|
|
49382
49429
|
background,
|
|
49383
|
-
spacing,
|
|
49384
|
-
className:
|
|
49430
|
+
spacing: spacingOverride ?? spacing,
|
|
49431
|
+
className: sectionClasses,
|
|
49385
49432
|
pattern,
|
|
49386
49433
|
patternOpacity,
|
|
49387
|
-
children: /* @__PURE__ */
|
|
49434
|
+
children: /* @__PURE__ */ jsx("div", { className: containerWrapperClasses, children: /* @__PURE__ */ jsxs("div", { className: cn(innerContainerClasses, navWrapperClasses), children: [
|
|
49388
49435
|
/* @__PURE__ */ jsxs(
|
|
49389
49436
|
"nav",
|
|
49390
49437
|
{
|
|
@@ -49433,10 +49480,15 @@ var NavbarCenteredMenu = ({
|
|
|
49433
49480
|
] })
|
|
49434
49481
|
] })
|
|
49435
49482
|
] }) })
|
|
49436
|
-
] })
|
|
49483
|
+
] }) })
|
|
49437
49484
|
}
|
|
49438
49485
|
);
|
|
49439
49486
|
};
|
|
49487
|
+
|
|
49488
|
+
// components/blocks/navbars/types.ts
|
|
49489
|
+
function getLinkUrl(item) {
|
|
49490
|
+
return item.href || item.url || "#";
|
|
49491
|
+
}
|
|
49440
49492
|
var DesktopMenuItem = ({
|
|
49441
49493
|
link,
|
|
49442
49494
|
index,
|
|
@@ -49465,8 +49517,8 @@ var DesktopMenuItem = ({
|
|
|
49465
49517
|
if (layout === "animated-image-preview" && link.links) {
|
|
49466
49518
|
return /* @__PURE__ */ jsxs(NavigationMenuItem, { children: [
|
|
49467
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 }),
|
|
49468
|
-
/* @__PURE__ */ jsx(NavigationMenuContent, { className: "
|
|
49469
|
-
/* @__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(
|
|
49470
49522
|
Img,
|
|
49471
49523
|
{
|
|
49472
49524
|
ref: (el) => {
|
|
@@ -49489,14 +49541,14 @@ var DesktopMenuItem = ({
|
|
|
49489
49541
|
/* @__PURE__ */ jsx("ul", { children: link.links.map((item, idx) => /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
|
|
49490
49542
|
NavigationMenuLink,
|
|
49491
49543
|
{
|
|
49492
|
-
href: item
|
|
49544
|
+
href: getLinkUrl(item),
|
|
49493
49545
|
className: "flex items-center gap-4 rounded-lg px-4 py-3 hover:bg-muted",
|
|
49494
49546
|
"data-index": idx,
|
|
49495
49547
|
onMouseEnter: handleMouseEnter,
|
|
49496
49548
|
onMouseLeave: handleMouseLeave,
|
|
49497
49549
|
children: /* @__PURE__ */ jsxs("div", { children: [
|
|
49498
|
-
/* @__PURE__ */ jsx("
|
|
49499
|
-
item.description && /* @__PURE__ */ jsx("p", { className: "leading-normal text-muted-foreground", children: item.description })
|
|
49550
|
+
/* @__PURE__ */ jsx("div", { className: "text-sm font-medium", children: item.label }),
|
|
49551
|
+
item.description && /* @__PURE__ */ jsx("p", { className: "text-xs leading-normal text-muted-foreground", children: item.description })
|
|
49500
49552
|
] })
|
|
49501
49553
|
}
|
|
49502
49554
|
) }, `desktop-nav-sublink-${idx}`)) })
|
|
@@ -49507,13 +49559,13 @@ var DesktopMenuItem = ({
|
|
|
49507
49559
|
if (layout === "simple-grid" && link.links) {
|
|
49508
49560
|
return /* @__PURE__ */ jsxs(NavigationMenuItem, { children: [
|
|
49509
49561
|
/* @__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 }),
|
|
49510
|
-
/* @__PURE__ */ jsx(NavigationMenuContent, { className: "min-w-[
|
|
49562
|
+
/* @__PURE__ */ jsx(NavigationMenuContent, { className: "min-w-[700px] p-6", children: /* @__PURE__ */ jsx("div", { className: "grid grid-cols-1 gap-4 sm:grid-cols-2", children: link.links.map((item, itemIndex) => /* @__PURE__ */ jsxs(
|
|
49511
49563
|
NavigationMenuLink,
|
|
49512
49564
|
{
|
|
49513
|
-
href: item
|
|
49565
|
+
href: getLinkUrl(item),
|
|
49514
49566
|
className: "flex flex-row items-start gap-4 rounded-lg border border-input bg-background p-4 hover:bg-muted hover:text-foreground",
|
|
49515
49567
|
children: [
|
|
49516
|
-
item.image && /* @__PURE__ */ jsx("div", { className: "h-
|
|
49568
|
+
item.image && /* @__PURE__ */ jsx("div", { className: "h-20 w-20 shrink-0 overflow-hidden rounded-md border border-border", children: /* @__PURE__ */ jsx(
|
|
49517
49569
|
Img,
|
|
49518
49570
|
{
|
|
49519
49571
|
src: item.image,
|
|
@@ -49522,7 +49574,7 @@ var DesktopMenuItem = ({
|
|
|
49522
49574
|
optixFlowConfig
|
|
49523
49575
|
}
|
|
49524
49576
|
) }),
|
|
49525
|
-
!item.image && (item.icon || item.iconName) && /* @__PURE__ */ jsx("div", { className: "flex h-
|
|
49577
|
+
!item.image && (item.icon || item.iconName) && /* @__PURE__ */ 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__ */ jsx(DynamicIcon, { name: item.iconName, size: 20 }) : null }),
|
|
49526
49578
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
49527
49579
|
/* @__PURE__ */ jsx("div", { className: "text-sm font-medium", children: item.label }),
|
|
49528
49580
|
item.description && /* @__PURE__ */ jsx("div", { className: "text-sm font-normal text-muted-foreground", children: item.description })
|
|
@@ -49539,7 +49591,7 @@ var DesktopMenuItem = ({
|
|
|
49539
49591
|
/* @__PURE__ */ jsx(NavigationMenuContent, { className: "min-w-[400px] p-4", children: /* @__PURE__ */ jsx("ul", { className: "flex flex-col gap-1", children: link.links.map((item, itemIndex) => /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsxs(
|
|
49540
49592
|
NavigationMenuLink,
|
|
49541
49593
|
{
|
|
49542
|
-
href: item
|
|
49594
|
+
href: getLinkUrl(item),
|
|
49543
49595
|
className: "flex items-start gap-3 rounded-lg p-3 hover:bg-muted",
|
|
49544
49596
|
children: [
|
|
49545
49597
|
(item.icon || item.iconName) && /* @__PURE__ */ 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__ */ jsx(DynamicIcon, { name: item.iconName, size: 16 }) : null }),
|
|
@@ -49583,7 +49635,7 @@ var MobileSubmenu = ({
|
|
|
49583
49635
|
return /* @__PURE__ */ jsxs(
|
|
49584
49636
|
Pressable,
|
|
49585
49637
|
{
|
|
49586
|
-
href: item
|
|
49638
|
+
href: getLinkUrl(item),
|
|
49587
49639
|
className: "flex items-start gap-4 border-b border-border px-8 py-5",
|
|
49588
49640
|
children: [
|
|
49589
49641
|
item.image && /* @__PURE__ */ jsx("div", { className: "h-10 w-10 overflow-hidden rounded-md border border-border", children: /* @__PURE__ */ jsx(
|
|
@@ -49623,6 +49675,7 @@ var NavbarMegaMenu = ({
|
|
|
49623
49675
|
logoSlot,
|
|
49624
49676
|
menuLinks,
|
|
49625
49677
|
actions,
|
|
49678
|
+
layoutVariant = "fullScreenContainerizedLinks",
|
|
49626
49679
|
background = "white",
|
|
49627
49680
|
spacing = "none",
|
|
49628
49681
|
pattern,
|
|
@@ -49682,15 +49735,27 @@ var NavbarMegaMenu = ({
|
|
|
49682
49735
|
] }) }, index);
|
|
49683
49736
|
});
|
|
49684
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
|
+
);
|
|
49685
49750
|
return /* @__PURE__ */ jsx(
|
|
49686
49751
|
Section,
|
|
49687
49752
|
{
|
|
49688
49753
|
background,
|
|
49689
|
-
spacing,
|
|
49690
|
-
className:
|
|
49754
|
+
spacing: spacingOverride ?? spacing,
|
|
49755
|
+
className: sectionClasses,
|
|
49691
49756
|
pattern,
|
|
49692
49757
|
patternOpacity,
|
|
49693
|
-
children: /* @__PURE__ */ jsx("div", { className:
|
|
49758
|
+
children: /* @__PURE__ */ jsx("div", { className: containerWrapperClasses, children: /* @__PURE__ */ jsx("div", { className: innerContainerClasses, children: /* @__PURE__ */ jsxs(
|
|
49694
49759
|
NavigationMenu,
|
|
49695
49760
|
{
|
|
49696
49761
|
className: cn(
|
|
@@ -49698,7 +49763,7 @@ var NavbarMegaMenu = ({
|
|
|
49698
49763
|
navClassName
|
|
49699
49764
|
),
|
|
49700
49765
|
children: [
|
|
49701
|
-
/* @__PURE__ */ jsxs("div", { className:
|
|
49766
|
+
/* @__PURE__ */ jsxs("div", { className: navWrapperClasses, children: [
|
|
49702
49767
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
49703
49768
|
(!open || submenuIndex === null) && renderLogo(),
|
|
49704
49769
|
open && submenuIndex !== null && /* @__PURE__ */ jsxs(
|
|
@@ -49843,7 +49908,7 @@ var NavbarMegaMenu = ({
|
|
|
49843
49908
|
)
|
|
49844
49909
|
]
|
|
49845
49910
|
}
|
|
49846
|
-
) })
|
|
49911
|
+
) }) })
|
|
49847
49912
|
}
|
|
49848
49913
|
);
|
|
49849
49914
|
};
|
|
@@ -49863,6 +49928,7 @@ var NavbarEnterpriseMega = ({
|
|
|
49863
49928
|
menuLinks,
|
|
49864
49929
|
actions,
|
|
49865
49930
|
actionsSlot,
|
|
49931
|
+
layoutVariant = "fullScreenContainerizedLinks",
|
|
49866
49932
|
background = "white",
|
|
49867
49933
|
spacing = "none",
|
|
49868
49934
|
pattern,
|
|
@@ -49931,23 +49997,31 @@ var NavbarEnterpriseMega = ({
|
|
|
49931
49997
|
] }) }, index);
|
|
49932
49998
|
});
|
|
49933
49999
|
};
|
|
50000
|
+
const {
|
|
50001
|
+
sectionClasses,
|
|
50002
|
+
containerWrapperClasses,
|
|
50003
|
+
innerContainerClasses,
|
|
50004
|
+
navWrapperClasses,
|
|
50005
|
+
spacingOverride
|
|
50006
|
+
} = getNavbarLayoutClasses(layoutVariant, { className, containerClassName });
|
|
49934
50007
|
return /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
49935
50008
|
/* @__PURE__ */ jsx(
|
|
49936
50009
|
Section,
|
|
49937
50010
|
{
|
|
49938
50011
|
background,
|
|
49939
|
-
spacing,
|
|
50012
|
+
spacing: spacingOverride ?? spacing,
|
|
49940
50013
|
className: cn(
|
|
49941
|
-
"pointer-events-auto fixed top-0 z-999 flex w-full items-center justify-center
|
|
49942
|
-
|
|
50014
|
+
"pointer-events-auto fixed top-0 z-999 flex w-full items-center justify-center",
|
|
50015
|
+
sectionClasses
|
|
49943
50016
|
),
|
|
49944
50017
|
pattern,
|
|
49945
50018
|
patternOpacity,
|
|
49946
|
-
children: /* @__PURE__ */ jsx("div", { className:
|
|
49947
|
-
"
|
|
50019
|
+
children: /* @__PURE__ */ jsx("div", { className: containerWrapperClasses, children: /* @__PURE__ */ jsx("div", { className: innerContainerClasses, children: /* @__PURE__ */ jsxs(
|
|
50020
|
+
"nav",
|
|
49948
50021
|
{
|
|
49949
50022
|
className: cn(
|
|
49950
50023
|
"flex h-16 items-center justify-between gap-8",
|
|
50024
|
+
navWrapperClasses,
|
|
49951
50025
|
navClassName
|
|
49952
50026
|
),
|
|
49953
50027
|
children: [
|
|
@@ -49998,7 +50072,7 @@ var NavbarEnterpriseMega = ({
|
|
|
49998
50072
|
] })
|
|
49999
50073
|
]
|
|
50000
50074
|
}
|
|
50001
|
-
) })
|
|
50075
|
+
) }) })
|
|
50002
50076
|
}
|
|
50003
50077
|
),
|
|
50004
50078
|
/* @__PURE__ */ jsx(
|
|
@@ -50676,6 +50750,7 @@ var NavbarFeatureGrid = ({
|
|
|
50676
50750
|
features,
|
|
50677
50751
|
authActions,
|
|
50678
50752
|
authActionsSlot,
|
|
50753
|
+
layoutVariant = "fullScreenContainerizedLinks",
|
|
50679
50754
|
background = "white",
|
|
50680
50755
|
spacing = "sm",
|
|
50681
50756
|
pattern,
|
|
@@ -50724,15 +50799,22 @@ var NavbarFeatureGrid = ({
|
|
|
50724
50799
|
] }) }, index);
|
|
50725
50800
|
});
|
|
50726
50801
|
};
|
|
50802
|
+
const {
|
|
50803
|
+
sectionClasses,
|
|
50804
|
+
containerWrapperClasses,
|
|
50805
|
+
innerContainerClasses,
|
|
50806
|
+
navWrapperClasses,
|
|
50807
|
+
spacingOverride
|
|
50808
|
+
} = getNavbarLayoutClasses(layoutVariant, { className, containerClassName });
|
|
50727
50809
|
return /* @__PURE__ */ jsx(
|
|
50728
50810
|
Section,
|
|
50729
50811
|
{
|
|
50730
50812
|
background,
|
|
50731
|
-
spacing,
|
|
50732
|
-
className:
|
|
50813
|
+
spacing: spacingOverride ?? spacing,
|
|
50814
|
+
className: sectionClasses,
|
|
50733
50815
|
pattern,
|
|
50734
50816
|
patternOpacity,
|
|
50735
|
-
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: [
|
|
50736
50818
|
renderLogo(),
|
|
50737
50819
|
/* @__PURE__ */ jsx(
|
|
50738
50820
|
NavigationMenu,
|
|
@@ -50836,7 +50918,7 @@ var NavbarFeatureGrid = ({
|
|
|
50836
50918
|
] })
|
|
50837
50919
|
] })
|
|
50838
50920
|
] })
|
|
50839
|
-
] }) })
|
|
50921
|
+
] }) }) })
|
|
50840
50922
|
}
|
|
50841
50923
|
);
|
|
50842
50924
|
};
|
|
@@ -50856,6 +50938,7 @@ var NavbarFloatingPill = ({
|
|
|
50856
50938
|
pillWrapperClassName,
|
|
50857
50939
|
navigationMenuClassName,
|
|
50858
50940
|
actionsClassName,
|
|
50941
|
+
layoutVariant = "fullScreenContainerizedLinks",
|
|
50859
50942
|
background = "white",
|
|
50860
50943
|
spacing = "none",
|
|
50861
50944
|
pattern,
|
|
@@ -50920,20 +51003,27 @@ var NavbarFloatingPill = ({
|
|
|
50920
51003
|
if (!items || items.length === 0) return null;
|
|
50921
51004
|
return items;
|
|
50922
51005
|
};
|
|
51006
|
+
const {
|
|
51007
|
+
sectionClasses,
|
|
51008
|
+
containerWrapperClasses,
|
|
51009
|
+
innerContainerClasses,
|
|
51010
|
+
navWrapperClasses,
|
|
51011
|
+
spacingOverride
|
|
51012
|
+
} = getNavbarLayoutClasses(layoutVariant, { className, containerClassName });
|
|
50923
51013
|
return /* @__PURE__ */ jsx(
|
|
50924
51014
|
Section,
|
|
50925
51015
|
{
|
|
50926
51016
|
background,
|
|
50927
|
-
spacing,
|
|
50928
|
-
className:
|
|
51017
|
+
spacing: spacingOverride ?? spacing,
|
|
51018
|
+
className: sectionClasses,
|
|
50929
51019
|
pattern,
|
|
50930
51020
|
patternOpacity,
|
|
50931
|
-
children: /* @__PURE__ */ jsxs(
|
|
50932
|
-
"
|
|
51021
|
+
children: /* @__PURE__ */ jsx("div", { className: containerWrapperClasses, children: /* @__PURE__ */ jsx("div", { className: innerContainerClasses, children: /* @__PURE__ */ jsxs(
|
|
51022
|
+
"nav",
|
|
50933
51023
|
{
|
|
50934
51024
|
className: cn(
|
|
50935
|
-
"absolute top-5 left-1/2 z-50 w-[min(90%,700px)] -translate-x-1/2 rounded-full
|
|
50936
|
-
|
|
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
|
|
50937
51027
|
),
|
|
50938
51028
|
children: [
|
|
50939
51029
|
/* @__PURE__ */ jsxs(
|
|
@@ -51089,7 +51179,7 @@ var NavbarFloatingPill = ({
|
|
|
51089
51179
|
)
|
|
51090
51180
|
]
|
|
51091
51181
|
}
|
|
51092
|
-
)
|
|
51182
|
+
) }) })
|
|
51093
51183
|
}
|
|
51094
51184
|
);
|
|
51095
51185
|
};
|
|
@@ -51108,6 +51198,7 @@ var NavbarPlatformResources = ({
|
|
|
51108
51198
|
logoSlot,
|
|
51109
51199
|
menuLinks,
|
|
51110
51200
|
actions,
|
|
51201
|
+
layoutVariant = "fullScreenContainerizedLinks",
|
|
51111
51202
|
background = "white",
|
|
51112
51203
|
spacing = "none",
|
|
51113
51204
|
pattern,
|
|
@@ -51145,7 +51236,7 @@ var NavbarPlatformResources = ({
|
|
|
51145
51236
|
return /* @__PURE__ */ jsx(NavigationMenuContent, { className: "min-w-[640px] p-4", children: /* @__PURE__ */ jsx("div", { className: "grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-3", children: link.links?.map((item, itemIndex) => /* @__PURE__ */ jsxs(
|
|
51146
51237
|
NavigationMenuLink,
|
|
51147
51238
|
{
|
|
51148
|
-
href: item
|
|
51239
|
+
href: getLinkUrl(item),
|
|
51149
51240
|
className: "flex flex-row items-start gap-4 rounded-lg border border-input bg-background p-4 hover:bg-accent hover:text-accent-foreground",
|
|
51150
51241
|
children: [
|
|
51151
51242
|
item.image && /* @__PURE__ */ jsx("div", { className: "h-12 w-12 overflow-hidden rounded-md border border-border", children: /* @__PURE__ */ jsx(
|
|
@@ -51174,7 +51265,7 @@ var NavbarPlatformResources = ({
|
|
|
51174
51265
|
/* @__PURE__ */ jsx(
|
|
51175
51266
|
NavigationMenuLink,
|
|
51176
51267
|
{
|
|
51177
|
-
href: featuredItem
|
|
51268
|
+
href: getLinkUrl(featuredItem),
|
|
51178
51269
|
className: "group w-1/3 p-0 hover:bg-transparent",
|
|
51179
51270
|
children: /* @__PURE__ */ jsxs("div", { className: "overflow-clip rounded-lg border border-input bg-background", children: [
|
|
51180
51271
|
/* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
|
|
@@ -51198,7 +51289,7 @@ var NavbarPlatformResources = ({
|
|
|
51198
51289
|
/* @__PURE__ */ jsx("div", { className: "grid grid-cols-1 gap-6 lg:grid-cols-2 lg:gap-8", children: gridItems.map((item, itemIndex) => /* @__PURE__ */ jsxs(
|
|
51199
51290
|
NavigationMenuLink,
|
|
51200
51291
|
{
|
|
51201
|
-
href: item
|
|
51292
|
+
href: getLinkUrl(item),
|
|
51202
51293
|
className: "group block p-4",
|
|
51203
51294
|
children: [
|
|
51204
51295
|
(item.icon || item.iconName) && /* @__PURE__ */ jsx("div", { className: "mb-5 group-hover:opacity-60", children: item.icon ? item.icon : item.iconName ? /* @__PURE__ */ jsx(DynamicIcon, { name: item.iconName, size: 20 }) : null }),
|
|
@@ -51219,7 +51310,7 @@ var NavbarPlatformResources = ({
|
|
|
51219
51310
|
/* @__PURE__ */ jsx("div", { className: "grid grid-cols-2 gap-4", children: link.dropdownGroups[0].links.map((item, itemIndex) => /* @__PURE__ */ jsxs(
|
|
51220
51311
|
NavigationMenuLink,
|
|
51221
51312
|
{
|
|
51222
|
-
href: item
|
|
51313
|
+
href: getLinkUrl(item),
|
|
51223
51314
|
className: "group flex flex-row items-center gap-5",
|
|
51224
51315
|
children: [
|
|
51225
51316
|
(item.icon || item.iconName) && /* @__PURE__ */ jsx("div", { className: "group-hover:opacity-60", children: item.icon ? item.icon : item.iconName ? /* @__PURE__ */ jsx(DynamicIcon, { name: item.iconName, size: 16 }) : null }),
|
|
@@ -51232,7 +51323,7 @@ var NavbarPlatformResources = ({
|
|
|
51232
51323
|
ctaItem && /* @__PURE__ */ jsx(
|
|
51233
51324
|
NavigationMenuLink,
|
|
51234
51325
|
{
|
|
51235
|
-
href: ctaItem
|
|
51326
|
+
href: getLinkUrl(ctaItem),
|
|
51236
51327
|
className: "group flex-1 p-0 hover:bg-transparent",
|
|
51237
51328
|
children: /* @__PURE__ */ jsxs("div", { className: "flex h-full rounded-lg border border-input bg-background p-0 hover:bg-transparent", children: [
|
|
51238
51329
|
ctaItem.image && /* @__PURE__ */ jsx("div", { className: "w-2/5 max-w-[310px] shrink-0 overflow-clip rounded-tl-lg rounded-bl-lg", children: /* @__PURE__ */ jsx(
|
|
@@ -51266,7 +51357,7 @@ var NavbarPlatformResources = ({
|
|
|
51266
51357
|
/* @__PURE__ */ jsx("div", { className: "-ml-2.5 space-y-2.5", children: listItems.map((item, itemIndex) => /* @__PURE__ */ jsxs(
|
|
51267
51358
|
NavigationMenuLink,
|
|
51268
51359
|
{
|
|
51269
|
-
href: item
|
|
51360
|
+
href: getLinkUrl(item),
|
|
51270
51361
|
className: "group flex flex-row items-center gap-2.5 rounded-md p-2.5 focus:text-accent-foreground",
|
|
51271
51362
|
children: [
|
|
51272
51363
|
(item.icon || item.iconName) && (item.icon ? item.icon : item.iconName ? /* @__PURE__ */ jsx(DynamicIcon, { name: item.iconName, size: 16 }) : null),
|
|
@@ -51279,7 +51370,7 @@ var NavbarPlatformResources = ({
|
|
|
51279
51370
|
/* @__PURE__ */ jsx("div", { className: "max-w-[716px] flex-1 space-y-6", children: showcaseItems.map((showcase, showcaseIndex) => /* @__PURE__ */ jsxs(
|
|
51280
51371
|
NavigationMenuLink,
|
|
51281
51372
|
{
|
|
51282
|
-
href: showcase
|
|
51373
|
+
href: getLinkUrl(showcase),
|
|
51283
51374
|
className: "flex flex-row items-center overflow-clip rounded-lg border border-input bg-background p-0 hover:bg-transparent",
|
|
51284
51375
|
children: [
|
|
51285
51376
|
/* @__PURE__ */ jsxs("div", { className: "flex-1 p-5 xl:p-8", children: [
|
|
@@ -51313,7 +51404,7 @@ var NavbarPlatformResources = ({
|
|
|
51313
51404
|
/* @__PURE__ */ jsx("div", { className: "grid flex-1 grid-cols-1 gap-6 md:grid-cols-2", children: group.links.map((item, itemIndex) => /* @__PURE__ */ jsx(
|
|
51314
51405
|
NavigationMenuLink,
|
|
51315
51406
|
{
|
|
51316
|
-
href: item
|
|
51407
|
+
href: getLinkUrl(item),
|
|
51317
51408
|
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",
|
|
51318
51409
|
children: /* @__PURE__ */ jsxs("div", { className: "mt-auto", children: [
|
|
51319
51410
|
/* @__PURE__ */ jsx("div", { className: "mb-2 text-base", children: item.label }),
|
|
@@ -51330,7 +51421,7 @@ var NavbarPlatformResources = ({
|
|
|
51330
51421
|
/* @__PURE__ */ jsxs(
|
|
51331
51422
|
NavigationMenuLink,
|
|
51332
51423
|
{
|
|
51333
|
-
href: ctaItem
|
|
51424
|
+
href: getLinkUrl(ctaItem),
|
|
51334
51425
|
className: "mb-6 flex flex-row overflow-clip rounded-lg border border-input bg-background p-0 hover:bg-transparent",
|
|
51335
51426
|
children: [
|
|
51336
51427
|
/* @__PURE__ */ jsxs("div", { className: "flex-1 p-5 xl:p-8", children: [
|
|
@@ -51359,7 +51450,7 @@ var NavbarPlatformResources = ({
|
|
|
51359
51450
|
return /* @__PURE__ */ jsx(NavigationMenuContent, { className: "min-w-[640px] p-4", children: /* @__PURE__ */ jsx("div", { className: "grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-3", children: link.links?.map((item, itemIndex) => /* @__PURE__ */ jsxs(
|
|
51360
51451
|
NavigationMenuLink,
|
|
51361
51452
|
{
|
|
51362
|
-
href: item
|
|
51453
|
+
href: getLinkUrl(item),
|
|
51363
51454
|
className: "flex flex-row items-start gap-4 rounded-lg border border-input bg-background p-4 hover:bg-accent hover:text-accent-foreground",
|
|
51364
51455
|
children: [
|
|
51365
51456
|
item.image && /* @__PURE__ */ jsx("div", { className: "h-12 w-12 overflow-hidden rounded-md border border-border", children: /* @__PURE__ */ jsx(
|
|
@@ -51399,173 +51490,171 @@ var NavbarPlatformResources = ({
|
|
|
51399
51490
|
] }) }, index);
|
|
51400
51491
|
});
|
|
51401
51492
|
};
|
|
51493
|
+
const {
|
|
51494
|
+
sectionClasses,
|
|
51495
|
+
containerWrapperClasses,
|
|
51496
|
+
innerContainerClasses,
|
|
51497
|
+
navWrapperClasses,
|
|
51498
|
+
spacingOverride
|
|
51499
|
+
} = getNavbarLayoutClasses(layoutVariant, { className, containerClassName });
|
|
51402
51500
|
return /* @__PURE__ */ jsx(
|
|
51403
51501
|
Section,
|
|
51404
51502
|
{
|
|
51405
51503
|
background,
|
|
51406
|
-
spacing,
|
|
51407
|
-
className:
|
|
51504
|
+
spacing: spacingOverride ?? spacing,
|
|
51505
|
+
className: sectionClasses,
|
|
51408
51506
|
pattern,
|
|
51409
51507
|
patternOpacity,
|
|
51410
|
-
children: /* @__PURE__ */ jsx(
|
|
51411
|
-
"div",
|
|
51412
|
-
|
|
51413
|
-
|
|
51414
|
-
|
|
51415
|
-
|
|
51416
|
-
|
|
51417
|
-
|
|
51418
|
-
|
|
51419
|
-
|
|
51420
|
-
|
|
51421
|
-
|
|
51422
|
-
|
|
51423
|
-
|
|
51424
|
-
|
|
51425
|
-
|
|
51426
|
-
|
|
51427
|
-
|
|
51428
|
-
|
|
51429
|
-
|
|
51430
|
-
|
|
51431
|
-
|
|
51432
|
-
|
|
51433
|
-
|
|
51434
|
-
|
|
51435
|
-
|
|
51436
|
-
|
|
51437
|
-
|
|
51438
|
-
return null;
|
|
51439
|
-
}
|
|
51440
|
-
return /* @__PURE__ */ jsx(
|
|
51441
|
-
NavigationMenuItem,
|
|
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
|
+
);
|
|
51527
|
+
}
|
|
51528
|
+
if (!link.href) {
|
|
51529
|
+
return null;
|
|
51530
|
+
}
|
|
51531
|
+
return /* @__PURE__ */ jsx(
|
|
51532
|
+
NavigationMenuItem,
|
|
51533
|
+
{
|
|
51534
|
+
children: /* @__PURE__ */ jsx(
|
|
51535
|
+
NavigationMenuLink,
|
|
51442
51536
|
{
|
|
51443
|
-
|
|
51444
|
-
|
|
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
|
|
51554
|
+
),
|
|
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,
|
|
51445
51592
|
{
|
|
51446
|
-
href:
|
|
51447
|
-
className: "group
|
|
51448
|
-
children:
|
|
51449
|
-
|
|
51450
|
-
|
|
51451
|
-
|
|
51452
|
-
|
|
51453
|
-
|
|
51454
|
-
|
|
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
|
+
);
|
|
51455
51624
|
}
|
|
51456
|
-
|
|
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,
|
|
51634
|
+
{
|
|
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
|
+
}) }),
|
|
51457
51644
|
/* @__PURE__ */ jsx(
|
|
51458
51645
|
"div",
|
|
51459
51646
|
{
|
|
51460
51647
|
className: cn(
|
|
51461
|
-
"
|
|
51648
|
+
"mx-8 mt-auto flex flex-col gap-4 py-12",
|
|
51462
51649
|
actionsClassName
|
|
51463
51650
|
),
|
|
51464
51651
|
children: renderActions()
|
|
51465
51652
|
}
|
|
51466
|
-
)
|
|
51467
|
-
|
|
51468
|
-
|
|
51469
|
-
|
|
51470
|
-
|
|
51471
|
-
size: "icon",
|
|
51472
|
-
asButton: true,
|
|
51473
|
-
"aria-label": "Main Menu",
|
|
51474
|
-
onClick: () => setOpen(!open),
|
|
51475
|
-
children: [
|
|
51476
|
-
!open && /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/menu", size: 16 }),
|
|
51477
|
-
open && /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/x", size: 16 })
|
|
51478
|
-
]
|
|
51479
|
-
}
|
|
51480
|
-
) })
|
|
51481
|
-
] }),
|
|
51482
|
-
open && /* @__PURE__ */ jsxs(
|
|
51483
|
-
"div",
|
|
51484
|
-
{
|
|
51485
|
-
className: cn(
|
|
51486
|
-
"absolute inset-0 top-[72px] flex h-[calc(100vh-72px)] w-full flex-col overflow-scroll border-t border-border bg-background lg:hidden",
|
|
51487
|
-
mobileMenuClassName
|
|
51488
|
-
),
|
|
51489
|
-
children: [
|
|
51490
|
-
/* @__PURE__ */ jsx(Accordion, { type: "single", collapsible: true, className: "w-full", children: menuLinks?.map((link, index) => {
|
|
51491
|
-
if (hasDropdownItems(link)) {
|
|
51492
|
-
return /* @__PURE__ */ jsxs(
|
|
51493
|
-
AccordionItem,
|
|
51494
|
-
{
|
|
51495
|
-
value: `menu-${index}`,
|
|
51496
|
-
className: "border-b-2 border-dashed",
|
|
51497
|
-
children: [
|
|
51498
|
-
/* @__PURE__ */ jsx(AccordionTrigger, { className: "px-2 py-4 text-left hover:no-underline", children: link.label }),
|
|
51499
|
-
/* @__PURE__ */ jsx(AccordionContent, { className: "px-2 pb-4", children: /* @__PURE__ */ jsx("div", { className: "space-y-3", children: link.links?.map((item, itemIndex) => /* @__PURE__ */ jsxs(
|
|
51500
|
-
Pressable,
|
|
51501
|
-
{
|
|
51502
|
-
href: item.url,
|
|
51503
|
-
className: "group flex items-start gap-4 rounded-lg p-2 hover:bg-muted",
|
|
51504
|
-
children: [
|
|
51505
|
-
item.image && /* @__PURE__ */ jsx("div", { className: "h-10 w-10 overflow-hidden rounded-md border border-border", children: /* @__PURE__ */ jsx(
|
|
51506
|
-
Img,
|
|
51507
|
-
{
|
|
51508
|
-
src: item.image,
|
|
51509
|
-
alt: typeof item.label === "string" ? item.label : "Menu item",
|
|
51510
|
-
className: "h-full w-full object-cover object-center",
|
|
51511
|
-
optixFlowConfig
|
|
51512
|
-
}
|
|
51513
|
-
) }),
|
|
51514
|
-
!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(
|
|
51515
|
-
DynamicIcon,
|
|
51516
|
-
{
|
|
51517
|
-
name: item.iconName,
|
|
51518
|
-
size: 16
|
|
51519
|
-
}
|
|
51520
|
-
) : null }),
|
|
51521
|
-
/* @__PURE__ */ jsxs("div", { className: "flex-1", children: [
|
|
51522
|
-
/* @__PURE__ */ jsx("div", { className: "text-sm font-medium text-foreground", children: item.label }),
|
|
51523
|
-
item.description && /* @__PURE__ */ jsx("div", { className: "text-xs text-muted-foreground", children: item.description })
|
|
51524
|
-
] })
|
|
51525
|
-
]
|
|
51526
|
-
},
|
|
51527
|
-
`${typeof item.label === "string" ? item.label : "item"}-${itemIndex}`
|
|
51528
|
-
)) }) })
|
|
51529
|
-
]
|
|
51530
|
-
},
|
|
51531
|
-
`${typeof link.label === "string" ? link.label : "menu"}-${index}`
|
|
51532
|
-
);
|
|
51533
|
-
}
|
|
51534
|
-
if (!link.href) {
|
|
51535
|
-
return null;
|
|
51536
|
-
}
|
|
51537
|
-
return /* @__PURE__ */ jsx(
|
|
51538
|
-
"div",
|
|
51539
|
-
{
|
|
51540
|
-
className: "border-b-2 border-dashed",
|
|
51541
|
-
children: /* @__PURE__ */ jsx(
|
|
51542
|
-
Pressable,
|
|
51543
|
-
{
|
|
51544
|
-
href: link.href,
|
|
51545
|
-
className: "flex w-full items-center px-2 py-4 text-left text-sm font-medium",
|
|
51546
|
-
children: link.label
|
|
51547
|
-
}
|
|
51548
|
-
)
|
|
51549
|
-
},
|
|
51550
|
-
`${typeof link.label === "string" ? link.label : "menu"}-${index}`
|
|
51551
|
-
);
|
|
51552
|
-
}) }),
|
|
51553
|
-
/* @__PURE__ */ jsx(
|
|
51554
|
-
"div",
|
|
51555
|
-
{
|
|
51556
|
-
className: cn(
|
|
51557
|
-
"mx-8 mt-auto flex flex-col gap-4 py-12",
|
|
51558
|
-
actionsClassName
|
|
51559
|
-
),
|
|
51560
|
-
children: renderActions()
|
|
51561
|
-
}
|
|
51562
|
-
)
|
|
51563
|
-
]
|
|
51564
|
-
}
|
|
51565
|
-
)
|
|
51566
|
-
] })
|
|
51567
|
-
}
|
|
51568
|
-
)
|
|
51653
|
+
)
|
|
51654
|
+
]
|
|
51655
|
+
}
|
|
51656
|
+
)
|
|
51657
|
+
] }) }) })
|
|
51569
51658
|
}
|
|
51570
51659
|
);
|
|
51571
51660
|
};
|
|
@@ -51590,6 +51679,7 @@ var NavbarImagePreview = ({
|
|
|
51590
51679
|
authActionsSlot,
|
|
51591
51680
|
socialLinks,
|
|
51592
51681
|
socialLinksSlot,
|
|
51682
|
+
layoutVariant = "fullScreenContainerizedLinks",
|
|
51593
51683
|
background = "white",
|
|
51594
51684
|
spacing = "none",
|
|
51595
51685
|
pattern,
|
|
@@ -51698,12 +51788,19 @@ var NavbarImagePreview = ({
|
|
|
51698
51788
|
);
|
|
51699
51789
|
});
|
|
51700
51790
|
};
|
|
51791
|
+
const {
|
|
51792
|
+
sectionClasses,
|
|
51793
|
+
containerWrapperClasses,
|
|
51794
|
+
innerContainerClasses,
|
|
51795
|
+
navWrapperClasses,
|
|
51796
|
+
spacingOverride
|
|
51797
|
+
} = getNavbarLayoutClasses(layoutVariant, { className, containerClassName });
|
|
51701
51798
|
return /* @__PURE__ */ jsxs(
|
|
51702
51799
|
Section,
|
|
51703
51800
|
{
|
|
51704
51801
|
background,
|
|
51705
|
-
spacing,
|
|
51706
|
-
className:
|
|
51802
|
+
spacing: spacingOverride ?? spacing,
|
|
51803
|
+
className: sectionClasses,
|
|
51707
51804
|
pattern,
|
|
51708
51805
|
patternOpacity,
|
|
51709
51806
|
children: [
|
|
@@ -51712,10 +51809,10 @@ var NavbarImagePreview = ({
|
|
|
51712
51809
|
{
|
|
51713
51810
|
className: cn(
|
|
51714
51811
|
"fixed top-0 z-500 w-full bg-transparent transition-colors duration-500",
|
|
51715
|
-
|
|
51812
|
+
containerWrapperClasses
|
|
51716
51813
|
),
|
|
51717
51814
|
ref: navRef,
|
|
51718
|
-
children: /* @__PURE__ */ jsx("div", { className:
|
|
51815
|
+
children: /* @__PURE__ */ jsx("div", { className: cn(innerContainerClasses, navWrapperClasses), children: /* @__PURE__ */ jsxs(
|
|
51719
51816
|
"div",
|
|
51720
51817
|
{
|
|
51721
51818
|
className: cn(
|
|
@@ -51817,14 +51914,14 @@ var DesktopMenuItem3 = ({
|
|
|
51817
51914
|
/* @__PURE__ */ jsx("ul", { children: item.links.map((link, linkIndex) => /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
|
|
51818
51915
|
Pressable,
|
|
51819
51916
|
{
|
|
51820
|
-
href: link
|
|
51917
|
+
href: getLinkUrl(link),
|
|
51821
51918
|
className: "flex items-center gap-4 rounded-lg px-4 py-3 hover:bg-muted",
|
|
51822
51919
|
"data-index": linkIndex,
|
|
51823
51920
|
onMouseEnter: handleMouseEnter,
|
|
51824
51921
|
onMouseLeave: handleMouseLeave,
|
|
51825
51922
|
children: /* @__PURE__ */ jsxs("div", { children: [
|
|
51826
|
-
/* @__PURE__ */ jsx("h3", { className: "leading-normal font-medium", children: link.label }),
|
|
51827
|
-
/* @__PURE__ */ jsx("p", { className: "leading-normal text-muted-foreground", children: link.description })
|
|
51923
|
+
/* @__PURE__ */ jsx("h3", { className: "text-sm leading-normal font-medium", children: link.label }),
|
|
51924
|
+
/* @__PURE__ */ jsx("p", { className: "text-xs leading-normal text-muted-foreground", children: link.description })
|
|
51828
51925
|
] })
|
|
51829
51926
|
}
|
|
51830
51927
|
) }, `desktop-nav-sublink-${linkIndex}`)) })
|
|
@@ -51867,7 +51964,7 @@ var MobileNavigationMenu2 = ({
|
|
|
51867
51964
|
/* @__PURE__ */ jsx("ul", { className: "flex flex-col gap-3", children: item.links?.map((link, i) => /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
|
|
51868
51965
|
Pressable,
|
|
51869
51966
|
{
|
|
51870
|
-
href: link
|
|
51967
|
+
href: getLinkUrl(link),
|
|
51871
51968
|
className: cn(
|
|
51872
51969
|
"text-primary-foreground leading-normal font-medium",
|
|
51873
51970
|
index === 0 ? "text-2xl" : "text-base"
|
|
@@ -51973,6 +52070,7 @@ var NavbarDarkIcons = ({
|
|
|
51973
52070
|
authActionsSlot,
|
|
51974
52071
|
githubUrl = "https://github.com/opensite-ai/opensite-ui",
|
|
51975
52072
|
githubSlot,
|
|
52073
|
+
layoutVariant = "fullScreenContainerizedLinks",
|
|
51976
52074
|
background = "white",
|
|
51977
52075
|
spacing = "none",
|
|
51978
52076
|
pattern,
|
|
@@ -52072,20 +52170,28 @@ var NavbarDarkIcons = ({
|
|
|
52072
52170
|
if (!githubUrl) return null;
|
|
52073
52171
|
return /* @__PURE__ */ jsx(GithubStars, { repoUrl: githubUrl });
|
|
52074
52172
|
};
|
|
52173
|
+
const {
|
|
52174
|
+
sectionClasses,
|
|
52175
|
+
containerWrapperClasses,
|
|
52176
|
+
innerContainerClasses,
|
|
52177
|
+
navWrapperClasses,
|
|
52178
|
+
spacingOverride
|
|
52179
|
+
} = getNavbarLayoutClasses(layoutVariant, { className, containerClassName });
|
|
52075
52180
|
return /* @__PURE__ */ jsxs(
|
|
52076
52181
|
Section,
|
|
52077
52182
|
{
|
|
52078
52183
|
background,
|
|
52079
|
-
spacing,
|
|
52080
|
-
className: cn("dark pointer-events-auto relative z-999",
|
|
52184
|
+
spacing: spacingOverride ?? spacing,
|
|
52185
|
+
className: cn("dark pointer-events-auto relative z-999", sectionClasses),
|
|
52081
52186
|
pattern,
|
|
52082
52187
|
patternOpacity,
|
|
52083
52188
|
children: [
|
|
52084
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
52085
|
-
"
|
|
52189
|
+
/* @__PURE__ */ jsx("div", { className: containerWrapperClasses, children: /* @__PURE__ */ jsx("div", { className: innerContainerClasses, children: /* @__PURE__ */ jsxs(
|
|
52190
|
+
"nav",
|
|
52086
52191
|
{
|
|
52087
52192
|
className: cn(
|
|
52088
|
-
"flex h-
|
|
52193
|
+
"flex h-16 items-center justify-between",
|
|
52194
|
+
navWrapperClasses,
|
|
52089
52195
|
navClassName
|
|
52090
52196
|
),
|
|
52091
52197
|
children: [
|
|
@@ -52128,7 +52234,7 @@ var NavbarDarkIcons = ({
|
|
|
52128
52234
|
] })
|
|
52129
52235
|
]
|
|
52130
52236
|
}
|
|
52131
|
-
) }),
|
|
52237
|
+
) }) }),
|
|
52132
52238
|
/* @__PURE__ */ jsx(
|
|
52133
52239
|
MobileNavigationMenu3,
|
|
52134
52240
|
{
|
|
@@ -52324,6 +52430,7 @@ var NavbarAnimatedPreview = ({
|
|
|
52324
52430
|
navigationSlot,
|
|
52325
52431
|
actions,
|
|
52326
52432
|
actionsSlot,
|
|
52433
|
+
layoutVariant = "fullScreenContainerizedLinks",
|
|
52327
52434
|
background = "white",
|
|
52328
52435
|
spacing = "none",
|
|
52329
52436
|
pattern,
|
|
@@ -52419,68 +52526,70 @@ var NavbarAnimatedPreview = ({
|
|
|
52419
52526
|
`desktop-link-${index}`
|
|
52420
52527
|
)) });
|
|
52421
52528
|
};
|
|
52422
|
-
|
|
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(
|
|
52423
52542
|
Section,
|
|
52424
52543
|
{
|
|
52425
52544
|
background,
|
|
52426
|
-
spacing,
|
|
52545
|
+
spacing: spacingOverride ?? spacing,
|
|
52427
52546
|
className: cn(
|
|
52428
52547
|
"pointer-events-auto fixed top-0 z-999 flex w-full items-center justify-center",
|
|
52429
|
-
|
|
52548
|
+
sectionClasses
|
|
52430
52549
|
),
|
|
52431
52550
|
pattern,
|
|
52432
52551
|
patternOpacity,
|
|
52433
|
-
children: [
|
|
52434
|
-
/* @__PURE__ */ jsx(
|
|
52435
|
-
|
|
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",
|
|
52436
52555
|
{
|
|
52437
52556
|
className: cn(
|
|
52438
|
-
"
|
|
52439
|
-
navigationMenuClassName
|
|
52557
|
+
"relative z-999 grid w-full grid-cols-2 items-center justify-between gap-8 xl:grid-cols-3"
|
|
52440
52558
|
),
|
|
52441
|
-
children:
|
|
52442
|
-
|
|
52443
|
-
{
|
|
52444
|
-
|
|
52445
|
-
|
|
52446
|
-
|
|
52447
|
-
|
|
52448
|
-
|
|
52449
|
-
|
|
52450
|
-
|
|
52451
|
-
|
|
52452
|
-
|
|
52453
|
-
|
|
52454
|
-
|
|
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,
|
|
52455
52574
|
{
|
|
52456
|
-
|
|
52457
|
-
|
|
52458
|
-
|
|
52459
|
-
asButton: true,
|
|
52460
|
-
onClick: handleMobileMenu,
|
|
52461
|
-
children: open ? /* @__PURE__ */ jsx(
|
|
52462
|
-
DynamicIcon,
|
|
52463
|
-
{
|
|
52464
|
-
name: "lucide/x",
|
|
52465
|
-
size: 22,
|
|
52466
|
-
className: "stroke-foreground"
|
|
52467
|
-
}
|
|
52468
|
-
) : /* @__PURE__ */ jsx(
|
|
52469
|
-
DynamicIcon,
|
|
52470
|
-
{
|
|
52471
|
-
name: "lucide/menu",
|
|
52472
|
-
size: 22,
|
|
52473
|
-
className: "stroke-foreground"
|
|
52474
|
-
}
|
|
52475
|
-
)
|
|
52575
|
+
name: "lucide/x",
|
|
52576
|
+
size: 22,
|
|
52577
|
+
className: "stroke-foreground"
|
|
52476
52578
|
}
|
|
52477
|
-
)
|
|
52478
|
-
|
|
52479
|
-
|
|
52480
|
-
|
|
52481
|
-
|
|
52579
|
+
) : /* @__PURE__ */ jsx(
|
|
52580
|
+
DynamicIcon,
|
|
52581
|
+
{
|
|
52582
|
+
name: "lucide/menu",
|
|
52583
|
+
size: 22,
|
|
52584
|
+
className: "stroke-foreground"
|
|
52585
|
+
}
|
|
52586
|
+
)
|
|
52587
|
+
}
|
|
52588
|
+
) })
|
|
52589
|
+
] })
|
|
52590
|
+
]
|
|
52482
52591
|
}
|
|
52483
|
-
),
|
|
52592
|
+
) }),
|
|
52484
52593
|
/* @__PURE__ */ jsx(
|
|
52485
52594
|
MobileNavigationMenu4,
|
|
52486
52595
|
{
|
|
@@ -52490,7 +52599,7 @@ var NavbarAnimatedPreview = ({
|
|
|
52490
52599
|
actionsSlot
|
|
52491
52600
|
}
|
|
52492
52601
|
)
|
|
52493
|
-
]
|
|
52602
|
+
] }) })
|
|
52494
52603
|
}
|
|
52495
52604
|
);
|
|
52496
52605
|
};
|
|
@@ -52683,7 +52792,7 @@ var FeaturedImageLink = ({
|
|
|
52683
52792
|
optixFlowConfig
|
|
52684
52793
|
}) => {
|
|
52685
52794
|
if (!link) return null;
|
|
52686
|
-
return /* @__PURE__ */ jsx("div", { className: "hidden xl:block", children: /* @__PURE__ */ jsx(Pressable, { href: link.url, className: "w-full max-w-147.5", children: /* @__PURE__ */ jsx(
|
|
52795
|
+
return /* @__PURE__ */ jsx("div", { className: "hidden xl:block", children: /* @__PURE__ */ jsx(Pressable, { href: link.url || "#", className: "w-full max-w-147.5", children: /* @__PURE__ */ jsx(
|
|
52687
52796
|
AspectRatio,
|
|
52688
52797
|
{
|
|
52689
52798
|
ratio: 1.77245509,
|
|
@@ -52717,7 +52826,7 @@ var FeaturedLink = ({ link, optixFlowConfig }) => {
|
|
|
52717
52826
|
return /* @__PURE__ */ jsxs(
|
|
52718
52827
|
Pressable,
|
|
52719
52828
|
{
|
|
52720
|
-
href: link
|
|
52829
|
+
href: getLinkUrl(link),
|
|
52721
52830
|
className: "group relative flex w-full overflow-hidden rounded-xl bg-muted px-8 py-7",
|
|
52722
52831
|
children: [
|
|
52723
52832
|
/* @__PURE__ */ jsxs("div", { className: "relative z-10 flex w-full items-center gap-6", children: [
|
|
@@ -52753,7 +52862,7 @@ var NavLink = forwardRef(
|
|
|
52753
52862
|
Pressable,
|
|
52754
52863
|
{
|
|
52755
52864
|
ref,
|
|
52756
|
-
href: link
|
|
52865
|
+
href: getLinkUrl(link),
|
|
52757
52866
|
className: "flex w-full gap-2 transition-opacity duration-300",
|
|
52758
52867
|
onMouseEnter,
|
|
52759
52868
|
onMouseLeave,
|
|
@@ -52767,8 +52876,8 @@ var NavLink = forwardRef(
|
|
|
52767
52876
|
}
|
|
52768
52877
|
) }),
|
|
52769
52878
|
/* @__PURE__ */ jsxs("div", { className: "flex flex-col items-start gap-2", children: [
|
|
52770
|
-
link.label && /* @__PURE__ */ jsx("div", { className: "text-
|
|
52771
|
-
/* @__PURE__ */ jsx("div", { className: "text-
|
|
52879
|
+
link.label && /* @__PURE__ */ jsx("div", { className: "text-sm leading-normal", children: link.label }),
|
|
52880
|
+
/* @__PURE__ */ jsx("div", { className: "text-xs leading-normal text-muted-foreground", children: link.description })
|
|
52772
52881
|
] })
|
|
52773
52882
|
]
|
|
52774
52883
|
}
|
|
@@ -52879,6 +52988,7 @@ var NavbarMultiColumnGroups = ({
|
|
|
52879
52988
|
authActionsSlot,
|
|
52880
52989
|
mobileAuthActions,
|
|
52881
52990
|
mobileAuthActionsSlot,
|
|
52991
|
+
layoutVariant = "fullScreenContainerizedLinks",
|
|
52882
52992
|
background = "white",
|
|
52883
52993
|
spacing = "none",
|
|
52884
52994
|
pattern,
|
|
@@ -52973,19 +53083,23 @@ var NavbarMultiColumnGroups = ({
|
|
|
52973
53083
|
);
|
|
52974
53084
|
});
|
|
52975
53085
|
};
|
|
53086
|
+
const {
|
|
53087
|
+
sectionClasses,
|
|
53088
|
+
containerWrapperClasses,
|
|
53089
|
+
innerContainerClasses,
|
|
53090
|
+
navWrapperClasses,
|
|
53091
|
+
spacingOverride
|
|
53092
|
+
} = getNavbarLayoutClasses(layoutVariant, { className, containerClassName });
|
|
52976
53093
|
return /* @__PURE__ */ jsxs(
|
|
52977
53094
|
Section,
|
|
52978
53095
|
{
|
|
52979
53096
|
background,
|
|
52980
|
-
spacing,
|
|
52981
|
-
className:
|
|
52982
|
-
"pointer-events-auto fixed top-0 z-999 flex h-16 w-full items-center justify-center",
|
|
52983
|
-
className
|
|
52984
|
-
),
|
|
53097
|
+
spacing: spacingOverride ?? spacing,
|
|
53098
|
+
className: sectionClasses,
|
|
52985
53099
|
pattern,
|
|
52986
53100
|
patternOpacity,
|
|
52987
53101
|
children: [
|
|
52988
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
53102
|
+
/* @__PURE__ */ jsx("div", { className: containerWrapperClasses, children: /* @__PURE__ */ jsx("div", { className: cn(innerContainerClasses, navWrapperClasses), children: /* @__PURE__ */ jsxs(
|
|
52989
53103
|
"div",
|
|
52990
53104
|
{
|
|
52991
53105
|
className: cn(
|
|
@@ -53040,7 +53154,7 @@ var NavbarMultiColumnGroups = ({
|
|
|
53040
53154
|
) })
|
|
53041
53155
|
]
|
|
53042
53156
|
}
|
|
53043
|
-
) }),
|
|
53157
|
+
) }) }),
|
|
53044
53158
|
/* @__PURE__ */ jsx(
|
|
53045
53159
|
MobileNavigationMenu5,
|
|
53046
53160
|
{
|
|
@@ -53208,6 +53322,7 @@ var NavbarSidebarMobile = ({
|
|
|
53208
53322
|
navClassName,
|
|
53209
53323
|
navigationMenuClassName,
|
|
53210
53324
|
actionsClassName,
|
|
53325
|
+
layoutVariant = "fullScreenContainerizedLinks",
|
|
53211
53326
|
background = "white",
|
|
53212
53327
|
spacing = "none",
|
|
53213
53328
|
pattern,
|
|
@@ -53276,15 +53391,22 @@ var NavbarSidebarMobile = ({
|
|
|
53276
53391
|
if (!mobileExtraLinks || mobileExtraLinks.length === 0) return null;
|
|
53277
53392
|
return mobileExtraLinks;
|
|
53278
53393
|
};
|
|
53394
|
+
const {
|
|
53395
|
+
sectionClasses,
|
|
53396
|
+
containerWrapperClasses,
|
|
53397
|
+
innerContainerClasses,
|
|
53398
|
+
navWrapperClasses,
|
|
53399
|
+
spacingOverride
|
|
53400
|
+
} = getNavbarLayoutClasses(layoutVariant, { className, containerClassName });
|
|
53279
53401
|
return /* @__PURE__ */ jsx(
|
|
53280
53402
|
Section,
|
|
53281
53403
|
{
|
|
53282
53404
|
background,
|
|
53283
|
-
spacing,
|
|
53284
|
-
className:
|
|
53405
|
+
spacing: spacingOverride ?? spacing,
|
|
53406
|
+
className: sectionClasses,
|
|
53285
53407
|
pattern,
|
|
53286
53408
|
patternOpacity,
|
|
53287
|
-
children: /* @__PURE__ */ jsx("div", { className:
|
|
53409
|
+
children: /* @__PURE__ */ jsx("div", { className: containerWrapperClasses, children: /* @__PURE__ */ jsx("div", { className: cn(innerContainerClasses, navWrapperClasses), children: /* @__PURE__ */ jsxs(
|
|
53288
53410
|
"nav",
|
|
53289
53411
|
{
|
|
53290
53412
|
className: cn("flex items-center justify-between py-4", navClassName),
|
|
@@ -53409,7 +53531,7 @@ var NavbarSidebarMobile = ({
|
|
|
53409
53531
|
] })
|
|
53410
53532
|
]
|
|
53411
53533
|
}
|
|
53412
|
-
) })
|
|
53534
|
+
) }) })
|
|
53413
53535
|
}
|
|
53414
53536
|
);
|
|
53415
53537
|
};
|
|
@@ -53431,6 +53553,7 @@ var NavbarTransparentOverlay = ({
|
|
|
53431
53553
|
authActionsSlot,
|
|
53432
53554
|
mobileAuthActions,
|
|
53433
53555
|
mobileAuthActionsSlot,
|
|
53556
|
+
layoutVariant = "fullScreenContainerizedLinks",
|
|
53434
53557
|
background = "white",
|
|
53435
53558
|
spacing = "none",
|
|
53436
53559
|
pattern,
|
|
@@ -53575,16 +53698,23 @@ var NavbarTransparentOverlay = ({
|
|
|
53575
53698
|
);
|
|
53576
53699
|
});
|
|
53577
53700
|
};
|
|
53701
|
+
const {
|
|
53702
|
+
sectionClasses,
|
|
53703
|
+
containerWrapperClasses,
|
|
53704
|
+
innerContainerClasses,
|
|
53705
|
+
navWrapperClasses,
|
|
53706
|
+
spacingOverride
|
|
53707
|
+
} = getNavbarLayoutClasses(layoutVariant, { className, containerClassName });
|
|
53578
53708
|
return /* @__PURE__ */ jsxs(
|
|
53579
53709
|
Section,
|
|
53580
53710
|
{
|
|
53581
53711
|
background,
|
|
53582
|
-
spacing,
|
|
53583
|
-
className:
|
|
53712
|
+
spacing: spacingOverride ?? spacing,
|
|
53713
|
+
className: sectionClasses,
|
|
53584
53714
|
pattern,
|
|
53585
53715
|
patternOpacity,
|
|
53586
53716
|
children: [
|
|
53587
|
-
/* @__PURE__ */ jsx(
|
|
53717
|
+
/* @__PURE__ */ jsx("div", { className: containerWrapperClasses, children: /* @__PURE__ */ jsx("div", { className: cn(innerContainerClasses, navWrapperClasses), children: /* @__PURE__ */ jsx(
|
|
53588
53718
|
"nav",
|
|
53589
53719
|
{
|
|
53590
53720
|
className: cn(
|
|
@@ -53592,7 +53722,7 @@ var NavbarTransparentOverlay = ({
|
|
|
53592
53722
|
isScrolled ? "bg-background/95 shadow-sm backdrop-blur-sm" : "bg-transparent",
|
|
53593
53723
|
navClassName
|
|
53594
53724
|
),
|
|
53595
|
-
children: /* @__PURE__ */
|
|
53725
|
+
children: /* @__PURE__ */ jsxs("div", { className: "flex h-16 items-center justify-between", children: [
|
|
53596
53726
|
renderLogo(),
|
|
53597
53727
|
/* @__PURE__ */ jsx(
|
|
53598
53728
|
NavigationMenu,
|
|
@@ -53650,9 +53780,9 @@ var NavbarTransparentOverlay = ({
|
|
|
53650
53780
|
]
|
|
53651
53781
|
}
|
|
53652
53782
|
)
|
|
53653
|
-
] })
|
|
53783
|
+
] })
|
|
53654
53784
|
}
|
|
53655
|
-
),
|
|
53785
|
+
) }) }),
|
|
53656
53786
|
/* @__PURE__ */ jsx(
|
|
53657
53787
|
"div",
|
|
53658
53788
|
{
|
|
@@ -53718,6 +53848,7 @@ var NavbarEducationPlatform = ({
|
|
|
53718
53848
|
company,
|
|
53719
53849
|
authActions,
|
|
53720
53850
|
authActionsSlot,
|
|
53851
|
+
layoutVariant = "fullScreenContainerizedLinks",
|
|
53721
53852
|
background = "white",
|
|
53722
53853
|
spacing = "none",
|
|
53723
53854
|
pattern,
|
|
@@ -53767,23 +53898,29 @@ var NavbarEducationPlatform = ({
|
|
|
53767
53898
|
] }) }, index);
|
|
53768
53899
|
});
|
|
53769
53900
|
};
|
|
53901
|
+
const {
|
|
53902
|
+
sectionClasses,
|
|
53903
|
+
containerWrapperClasses,
|
|
53904
|
+
innerContainerClasses,
|
|
53905
|
+
navWrapperClasses,
|
|
53906
|
+
spacingOverride
|
|
53907
|
+
} = getNavbarLayoutClasses(layoutVariant, { className, containerClassName });
|
|
53770
53908
|
return /* @__PURE__ */ jsxs(
|
|
53771
53909
|
Section,
|
|
53772
53910
|
{
|
|
53773
53911
|
background,
|
|
53774
|
-
spacing,
|
|
53912
|
+
spacing: spacingOverride ?? spacing,
|
|
53775
53913
|
className: cn(
|
|
53776
|
-
"border-b border-border lg:border-b",
|
|
53777
53914
|
isOpen && "border-b-0",
|
|
53778
|
-
|
|
53915
|
+
sectionClasses
|
|
53779
53916
|
),
|
|
53780
53917
|
pattern,
|
|
53781
53918
|
patternOpacity,
|
|
53782
53919
|
children: [
|
|
53783
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
53920
|
+
/* @__PURE__ */ jsx("div", { className: containerWrapperClasses, children: /* @__PURE__ */ jsx("div", { className: innerContainerClasses, children: /* @__PURE__ */ jsxs(
|
|
53784
53921
|
"nav",
|
|
53785
53922
|
{
|
|
53786
|
-
className: cn("flex items-center justify-between py-4", navClassName),
|
|
53923
|
+
className: cn("flex items-center justify-between py-4", navWrapperClasses, navClassName),
|
|
53787
53924
|
children: [
|
|
53788
53925
|
/* @__PURE__ */ jsxs("div", { className: "flex flex-1 items-center gap-9", children: [
|
|
53789
53926
|
renderLogo(),
|
|
@@ -53974,7 +54111,7 @@ var NavbarEducationPlatform = ({
|
|
|
53974
54111
|
)
|
|
53975
54112
|
]
|
|
53976
54113
|
}
|
|
53977
|
-
) }),
|
|
54114
|
+
) }) }),
|
|
53978
54115
|
isOpen && /* @__PURE__ */ jsx(
|
|
53979
54116
|
"div",
|
|
53980
54117
|
{
|
|
@@ -54111,6 +54248,7 @@ var NavbarStickyCompact = ({
|
|
|
54111
54248
|
containerClassName,
|
|
54112
54249
|
navClassName,
|
|
54113
54250
|
actionsClassName,
|
|
54251
|
+
layoutVariant = "fullScreenContainerizedLinks",
|
|
54114
54252
|
background = "white",
|
|
54115
54253
|
spacing = "none",
|
|
54116
54254
|
pattern,
|
|
@@ -54264,19 +54402,26 @@ var NavbarStickyCompact = ({
|
|
|
54264
54402
|
)
|
|
54265
54403
|
);
|
|
54266
54404
|
};
|
|
54405
|
+
const {
|
|
54406
|
+
sectionClasses,
|
|
54407
|
+
containerWrapperClasses,
|
|
54408
|
+
innerContainerClasses,
|
|
54409
|
+
navWrapperClasses,
|
|
54410
|
+
spacingOverride
|
|
54411
|
+
} = getNavbarLayoutClasses(layoutVariant, { className, containerClassName });
|
|
54267
54412
|
return /* @__PURE__ */ jsx(
|
|
54268
54413
|
Section,
|
|
54269
54414
|
{
|
|
54270
54415
|
background,
|
|
54271
|
-
spacing,
|
|
54416
|
+
spacing: spacingOverride ?? spacing,
|
|
54272
54417
|
className: cn(
|
|
54273
|
-
|
|
54274
|
-
|
|
54275
|
-
|
|
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" : ""
|
|
54276
54421
|
),
|
|
54277
54422
|
pattern,
|
|
54278
54423
|
patternOpacity,
|
|
54279
|
-
children: /* @__PURE__ */ jsx("div", { className:
|
|
54424
|
+
children: /* @__PURE__ */ jsx("div", { className: containerWrapperClasses, children: /* @__PURE__ */ jsx("div", { className: cn(innerContainerClasses, navWrapperClasses), children: /* @__PURE__ */ jsxs(
|
|
54280
54425
|
"nav",
|
|
54281
54426
|
{
|
|
54282
54427
|
className: cn(
|
|
@@ -54332,7 +54477,7 @@ var NavbarStickyCompact = ({
|
|
|
54332
54477
|
] })
|
|
54333
54478
|
]
|
|
54334
54479
|
}
|
|
54335
|
-
) })
|
|
54480
|
+
) }) })
|
|
54336
54481
|
}
|
|
54337
54482
|
);
|
|
54338
54483
|
};
|
|
@@ -54357,6 +54502,7 @@ var NavbarSearchFocused = ({
|
|
|
54357
54502
|
authActionsSlot,
|
|
54358
54503
|
mobileMenuActions,
|
|
54359
54504
|
mobileMenuActionsSlot,
|
|
54505
|
+
layoutVariant = "fullScreenContainerizedLinks",
|
|
54360
54506
|
background = "white",
|
|
54361
54507
|
spacing = "none",
|
|
54362
54508
|
pattern,
|
|
@@ -54452,15 +54598,22 @@ var NavbarSearchFocused = ({
|
|
|
54452
54598
|
);
|
|
54453
54599
|
}) });
|
|
54454
54600
|
};
|
|
54601
|
+
const {
|
|
54602
|
+
sectionClasses,
|
|
54603
|
+
containerWrapperClasses,
|
|
54604
|
+
innerContainerClasses,
|
|
54605
|
+
navWrapperClasses,
|
|
54606
|
+
spacingOverride
|
|
54607
|
+
} = getNavbarLayoutClasses(layoutVariant, { className, containerClassName });
|
|
54455
54608
|
return /* @__PURE__ */ jsx(
|
|
54456
54609
|
Section,
|
|
54457
54610
|
{
|
|
54458
54611
|
background,
|
|
54459
|
-
spacing,
|
|
54460
|
-
className:
|
|
54612
|
+
spacing: spacingOverride ?? spacing,
|
|
54613
|
+
className: sectionClasses,
|
|
54461
54614
|
pattern,
|
|
54462
54615
|
patternOpacity,
|
|
54463
|
-
children: /* @__PURE__ */ jsx("div", { className:
|
|
54616
|
+
children: /* @__PURE__ */ jsx("div", { className: containerWrapperClasses, children: /* @__PURE__ */ jsx("div", { className: cn(innerContainerClasses, navWrapperClasses), children: /* @__PURE__ */ jsxs(
|
|
54464
54617
|
"nav",
|
|
54465
54618
|
{
|
|
54466
54619
|
className: cn("flex items-center gap-4 py-3 lg:gap-8", navClassName),
|
|
@@ -54528,7 +54681,7 @@ var NavbarSearchFocused = ({
|
|
|
54528
54681
|
] })
|
|
54529
54682
|
]
|
|
54530
54683
|
}
|
|
54531
|
-
) })
|
|
54684
|
+
) }) })
|
|
54532
54685
|
}
|
|
54533
54686
|
);
|
|
54534
54687
|
};
|
|
@@ -54630,6 +54783,7 @@ var NavbarSimpleLinks = ({
|
|
|
54630
54783
|
defaultActiveItem,
|
|
54631
54784
|
actions,
|
|
54632
54785
|
actionsSlot,
|
|
54786
|
+
layoutVariant = "fullScreenContainerizedLinks",
|
|
54633
54787
|
background = "white",
|
|
54634
54788
|
spacing = "sm",
|
|
54635
54789
|
pattern,
|
|
@@ -54721,15 +54875,22 @@ var NavbarSimpleLinks = ({
|
|
|
54721
54875
|
);
|
|
54722
54876
|
});
|
|
54723
54877
|
};
|
|
54878
|
+
const {
|
|
54879
|
+
sectionClasses,
|
|
54880
|
+
containerWrapperClasses,
|
|
54881
|
+
innerContainerClasses,
|
|
54882
|
+
navWrapperClasses,
|
|
54883
|
+
spacingOverride
|
|
54884
|
+
} = getNavbarLayoutClasses(layoutVariant, { className, containerClassName });
|
|
54724
54885
|
return /* @__PURE__ */ jsx(
|
|
54725
54886
|
Section,
|
|
54726
54887
|
{
|
|
54727
54888
|
background,
|
|
54728
|
-
spacing,
|
|
54729
|
-
className:
|
|
54889
|
+
spacing: spacingOverride ?? spacing,
|
|
54890
|
+
className: sectionClasses,
|
|
54730
54891
|
pattern,
|
|
54731
54892
|
patternOpacity,
|
|
54732
|
-
children: /* @__PURE__ */ jsx("div", { className:
|
|
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: [
|
|
54733
54894
|
renderLogo(),
|
|
54734
54895
|
/* @__PURE__ */ jsx(
|
|
54735
54896
|
NavigationMenu,
|
|
@@ -54778,7 +54939,7 @@ var NavbarSimpleLinks = ({
|
|
|
54778
54939
|
children: renderActions()
|
|
54779
54940
|
}
|
|
54780
54941
|
)
|
|
54781
|
-
] }) })
|
|
54942
|
+
] }) }) })
|
|
54782
54943
|
}
|
|
54783
54944
|
);
|
|
54784
54945
|
};
|
|
@@ -54800,6 +54961,7 @@ var NavbarSplitCta = ({
|
|
|
54800
54961
|
navClassName,
|
|
54801
54962
|
navigationMenuClassName,
|
|
54802
54963
|
actionsClassName,
|
|
54964
|
+
layoutVariant = "fullScreenContainerizedLinks",
|
|
54803
54965
|
background = "white",
|
|
54804
54966
|
spacing = "none",
|
|
54805
54967
|
pattern,
|
|
@@ -54889,15 +55051,22 @@ var NavbarSplitCta = ({
|
|
|
54889
55051
|
if (!menu || menu.length === 0) return null;
|
|
54890
55052
|
return menu;
|
|
54891
55053
|
};
|
|
55054
|
+
const {
|
|
55055
|
+
sectionClasses,
|
|
55056
|
+
containerWrapperClasses,
|
|
55057
|
+
innerContainerClasses,
|
|
55058
|
+
navWrapperClasses,
|
|
55059
|
+
spacingOverride
|
|
55060
|
+
} = getNavbarLayoutClasses(layoutVariant, { className, containerClassName });
|
|
54892
55061
|
return /* @__PURE__ */ jsx(
|
|
54893
55062
|
Section,
|
|
54894
55063
|
{
|
|
54895
55064
|
background,
|
|
54896
|
-
spacing,
|
|
54897
|
-
className:
|
|
55065
|
+
spacing: spacingOverride ?? spacing,
|
|
55066
|
+
className: sectionClasses,
|
|
54898
55067
|
pattern,
|
|
54899
55068
|
patternOpacity,
|
|
54900
|
-
children: /* @__PURE__ */ jsx("div", { className:
|
|
55069
|
+
children: /* @__PURE__ */ jsx("div", { className: containerWrapperClasses, children: /* @__PURE__ */ jsx("div", { className: cn(innerContainerClasses, navWrapperClasses), children: /* @__PURE__ */ jsxs(
|
|
54901
55070
|
"nav",
|
|
54902
55071
|
{
|
|
54903
55072
|
className: cn("flex items-center justify-between py-4", navClassName),
|
|
@@ -55010,7 +55179,7 @@ var NavbarSplitCta = ({
|
|
|
55010
55179
|
] })
|
|
55011
55180
|
]
|
|
55012
55181
|
}
|
|
55013
|
-
) })
|
|
55182
|
+
) }) })
|
|
55014
55183
|
}
|
|
55015
55184
|
);
|
|
55016
55185
|
};
|
|
@@ -55030,6 +55199,7 @@ var NavbarIconLinks = ({
|
|
|
55030
55199
|
navClassName,
|
|
55031
55200
|
navigationMenuClassName,
|
|
55032
55201
|
actionsClassName,
|
|
55202
|
+
layoutVariant = "fullScreenContainerizedLinks",
|
|
55033
55203
|
background = "white",
|
|
55034
55204
|
spacing = "none",
|
|
55035
55205
|
pattern,
|
|
@@ -55096,18 +55266,25 @@ var NavbarIconLinks = ({
|
|
|
55096
55266
|
if (!navItems || navItems.length === 0) return null;
|
|
55097
55267
|
return navItems;
|
|
55098
55268
|
};
|
|
55269
|
+
const {
|
|
55270
|
+
sectionClasses,
|
|
55271
|
+
containerWrapperClasses,
|
|
55272
|
+
innerContainerClasses,
|
|
55273
|
+
navWrapperClasses,
|
|
55274
|
+
spacingOverride
|
|
55275
|
+
} = getNavbarLayoutClasses(layoutVariant, { className, containerClassName });
|
|
55099
55276
|
return /* @__PURE__ */ jsx(
|
|
55100
55277
|
Section,
|
|
55101
55278
|
{
|
|
55102
55279
|
background,
|
|
55103
|
-
spacing,
|
|
55104
|
-
className:
|
|
55280
|
+
spacing: spacingOverride ?? spacing,
|
|
55281
|
+
className: sectionClasses,
|
|
55105
55282
|
pattern,
|
|
55106
55283
|
patternOpacity,
|
|
55107
|
-
children: /* @__PURE__ */ jsx("div", { className:
|
|
55284
|
+
children: /* @__PURE__ */ jsx("div", { className: containerWrapperClasses, children: /* @__PURE__ */ jsx("div", { className: innerContainerClasses, children: /* @__PURE__ */ jsxs(
|
|
55108
55285
|
"nav",
|
|
55109
55286
|
{
|
|
55110
|
-
className: cn("flex items-center justify-between py-3", navClassName),
|
|
55287
|
+
className: cn("flex items-center justify-between py-3", navWrapperClasses, navClassName),
|
|
55111
55288
|
children: [
|
|
55112
55289
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-6", children: [
|
|
55113
55290
|
renderLogo(),
|
|
@@ -55201,7 +55378,7 @@ var NavbarIconLinks = ({
|
|
|
55201
55378
|
] })
|
|
55202
55379
|
]
|
|
55203
55380
|
}
|
|
55204
|
-
) })
|
|
55381
|
+
) }) })
|
|
55205
55382
|
}
|
|
55206
55383
|
);
|
|
55207
55384
|
};
|
|
@@ -55220,6 +55397,7 @@ var NavbarTabbedSections = ({
|
|
|
55220
55397
|
containerClassName,
|
|
55221
55398
|
navClassName,
|
|
55222
55399
|
actionsClassName,
|
|
55400
|
+
layoutVariant = "fullScreenContainerizedLinks",
|
|
55223
55401
|
background = "white",
|
|
55224
55402
|
spacing = "none",
|
|
55225
55403
|
pattern,
|
|
@@ -55383,15 +55561,22 @@ var NavbarTabbedSections = ({
|
|
|
55383
55561
|
)
|
|
55384
55562
|
);
|
|
55385
55563
|
};
|
|
55564
|
+
const {
|
|
55565
|
+
sectionClasses,
|
|
55566
|
+
containerWrapperClasses,
|
|
55567
|
+
innerContainerClasses,
|
|
55568
|
+
navWrapperClasses,
|
|
55569
|
+
spacingOverride
|
|
55570
|
+
} = getNavbarLayoutClasses(layoutVariant, { className, containerClassName });
|
|
55386
55571
|
return /* @__PURE__ */ jsx(
|
|
55387
55572
|
Section,
|
|
55388
55573
|
{
|
|
55389
55574
|
background,
|
|
55390
|
-
spacing,
|
|
55391
|
-
className:
|
|
55575
|
+
spacing: spacingOverride ?? spacing,
|
|
55576
|
+
className: sectionClasses,
|
|
55392
55577
|
pattern,
|
|
55393
55578
|
patternOpacity,
|
|
55394
|
-
children: /* @__PURE__ */ jsx("div", { className:
|
|
55579
|
+
children: /* @__PURE__ */ jsx("div", { className: containerWrapperClasses, children: /* @__PURE__ */ jsx("div", { className: cn(innerContainerClasses, navWrapperClasses), children: /* @__PURE__ */ jsxs(
|
|
55395
55580
|
"nav",
|
|
55396
55581
|
{
|
|
55397
55582
|
className: cn("flex items-center justify-between py-4", navClassName),
|
|
@@ -55444,7 +55629,7 @@ var NavbarTabbedSections = ({
|
|
|
55444
55629
|
] })
|
|
55445
55630
|
]
|
|
55446
55631
|
}
|
|
55447
|
-
) })
|
|
55632
|
+
) }) })
|
|
55448
55633
|
}
|
|
55449
55634
|
);
|
|
55450
55635
|
};
|
|
@@ -55465,6 +55650,7 @@ var NavbarFullscreenMenu = ({
|
|
|
55465
55650
|
overlayClassName,
|
|
55466
55651
|
menuItemsClassName,
|
|
55467
55652
|
socialLinksClassName,
|
|
55653
|
+
layoutVariant = "fullScreenContainerizedLinks",
|
|
55468
55654
|
background = "white",
|
|
55469
55655
|
spacing = "none",
|
|
55470
55656
|
pattern,
|
|
@@ -55531,20 +55717,28 @@ var NavbarFullscreenMenu = ({
|
|
|
55531
55717
|
link.label
|
|
55532
55718
|
));
|
|
55533
55719
|
};
|
|
55720
|
+
const {
|
|
55721
|
+
sectionClasses,
|
|
55722
|
+
containerWrapperClasses,
|
|
55723
|
+
innerContainerClasses,
|
|
55724
|
+
navWrapperClasses,
|
|
55725
|
+
spacingOverride
|
|
55726
|
+
} = getNavbarLayoutClasses(layoutVariant, { className, containerClassName });
|
|
55534
55727
|
return /* @__PURE__ */ jsx(
|
|
55535
55728
|
Section,
|
|
55536
55729
|
{
|
|
55537
55730
|
background,
|
|
55538
|
-
spacing,
|
|
55539
|
-
className:
|
|
55731
|
+
spacing: spacingOverride ?? spacing,
|
|
55732
|
+
className: sectionClasses,
|
|
55540
55733
|
pattern,
|
|
55541
55734
|
patternOpacity,
|
|
55542
|
-
children: /* @__PURE__ */
|
|
55735
|
+
children: /* @__PURE__ */ jsx("div", { className: containerWrapperClasses, children: /* @__PURE__ */ jsxs("div", { className: innerContainerClasses, children: [
|
|
55543
55736
|
/* @__PURE__ */ jsxs(
|
|
55544
|
-
"
|
|
55737
|
+
"nav",
|
|
55545
55738
|
{
|
|
55546
55739
|
className: cn(
|
|
55547
55740
|
"flex items-center justify-between px-6 py-6",
|
|
55741
|
+
navWrapperClasses,
|
|
55548
55742
|
headerClassName
|
|
55549
55743
|
),
|
|
55550
55744
|
children: [
|
|
@@ -55600,7 +55794,7 @@ var NavbarFullscreenMenu = ({
|
|
|
55600
55794
|
] })
|
|
55601
55795
|
}
|
|
55602
55796
|
)
|
|
55603
|
-
] })
|
|
55797
|
+
] }) })
|
|
55604
55798
|
}
|
|
55605
55799
|
);
|
|
55606
55800
|
};
|