@opensite/ui 3.4.6 → 3.4.9
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 +16 -9
- package/dist/navbar-animated-preview.d.cts +3 -1
- package/dist/navbar-animated-preview.d.ts +3 -1
- package/dist/navbar-animated-preview.js +16 -9
- package/dist/navbar-centered-menu.cjs +4 -4
- package/dist/navbar-centered-menu.d.cts +4 -2
- package/dist/navbar-centered-menu.d.ts +4 -2
- package/dist/navbar-centered-menu.js +4 -4
- package/dist/navbar-dark-icons.cjs +10 -9
- package/dist/navbar-dark-icons.d.cts +5 -3
- package/dist/navbar-dark-icons.d.ts +5 -3
- package/dist/navbar-dark-icons.js +10 -9
- package/dist/navbar-dropdown-menu.cjs +4 -4
- package/dist/navbar-dropdown-menu.d.cts +4 -2
- package/dist/navbar-dropdown-menu.d.ts +4 -2
- package/dist/navbar-dropdown-menu.js +4 -4
- package/dist/navbar-education-platform.cjs +4 -4
- package/dist/navbar-education-platform.d.cts +5 -3
- package/dist/navbar-education-platform.d.ts +5 -3
- package/dist/navbar-education-platform.js +4 -4
- package/dist/navbar-enterprise-mega.cjs +109 -27
- package/dist/navbar-enterprise-mega.d.cts +10 -8
- package/dist/navbar-enterprise-mega.d.ts +10 -8
- package/dist/navbar-enterprise-mega.js +109 -27
- package/dist/navbar-feature-grid.cjs +2 -2
- package/dist/navbar-feature-grid.d.cts +3 -1
- package/dist/navbar-feature-grid.d.ts +3 -1
- package/dist/navbar-feature-grid.js +2 -2
- package/dist/navbar-floating-pill.cjs +2 -2
- package/dist/navbar-floating-pill.d.cts +3 -1
- package/dist/navbar-floating-pill.d.ts +3 -1
- package/dist/navbar-floating-pill.js +2 -2
- package/dist/navbar-fullscreen-menu.d.cts +3 -1
- package/dist/navbar-fullscreen-menu.d.ts +3 -1
- package/dist/navbar-icon-links.cjs +17 -3
- package/dist/navbar-icon-links.d.cts +4 -2
- package/dist/navbar-icon-links.d.ts +4 -2
- package/dist/navbar-icon-links.js +17 -3
- package/dist/navbar-image-preview.cjs +8 -8
- package/dist/navbar-image-preview.d.cts +5 -3
- package/dist/navbar-image-preview.d.ts +5 -3
- package/dist/navbar-image-preview.js +8 -8
- package/dist/navbar-mega-menu.cjs +36 -12
- package/dist/navbar-mega-menu.d.cts +4 -2
- package/dist/navbar-mega-menu.d.ts +4 -2
- package/dist/navbar-mega-menu.js +36 -12
- package/dist/navbar-multi-column-groups.cjs +10 -10
- package/dist/navbar-multi-column-groups.d.cts +5 -3
- package/dist/navbar-multi-column-groups.d.ts +5 -3
- package/dist/navbar-multi-column-groups.js +10 -10
- package/dist/navbar-platform-resources.cjs +72 -53
- package/dist/navbar-platform-resources.d.cts +3 -1
- package/dist/navbar-platform-resources.d.ts +3 -1
- package/dist/navbar-platform-resources.js +72 -53
- package/dist/navbar-search-focused.cjs +7 -7
- package/dist/navbar-search-focused.d.cts +5 -3
- package/dist/navbar-search-focused.d.ts +5 -3
- package/dist/navbar-search-focused.js +7 -7
- package/dist/navbar-sidebar-mobile.cjs +4 -4
- package/dist/navbar-sidebar-mobile.d.cts +4 -2
- package/dist/navbar-sidebar-mobile.d.ts +4 -2
- package/dist/navbar-sidebar-mobile.js +4 -4
- package/dist/navbar-simple-links.cjs +4 -4
- package/dist/navbar-simple-links.d.cts +3 -1
- package/dist/navbar-simple-links.d.ts +3 -1
- package/dist/navbar-simple-links.js +4 -4
- package/dist/navbar-split-cta.cjs +4 -5
- package/dist/navbar-split-cta.d.cts +4 -2
- package/dist/navbar-split-cta.d.ts +4 -2
- package/dist/navbar-split-cta.js +4 -5
- package/dist/navbar-sticky-compact.cjs +14 -8
- package/dist/navbar-sticky-compact.d.cts +4 -2
- package/dist/navbar-sticky-compact.d.ts +4 -2
- package/dist/navbar-sticky-compact.js +14 -8
- package/dist/navbar-tabbed-sections.cjs +4 -5
- package/dist/navbar-tabbed-sections.d.cts +5 -3
- package/dist/navbar-tabbed-sections.d.ts +5 -3
- package/dist/navbar-tabbed-sections.js +4 -5
- package/dist/navbar-transparent-overlay.cjs +6 -6
- package/dist/navbar-transparent-overlay.d.cts +5 -3
- package/dist/navbar-transparent-overlay.d.ts +5 -3
- package/dist/navbar-transparent-overlay.js +6 -6
- package/dist/registry.cjs +337 -186
- package/dist/registry.js +337 -186
- package/dist/{types-ldjwVMcl.d.cts → types-hJ2R0GoH.d.ts} +5 -4
- package/dist/{types-ldjwVMcl.d.ts → types-mWZcgKth.d.cts} +5 -4
- package/package.json +1 -1
package/dist/registry.js
CHANGED
|
@@ -63049,10 +63049,10 @@ var SubMenuLink = ({
|
|
|
63049
63049
|
return /* @__PURE__ */ jsxs(
|
|
63050
63050
|
Pressable,
|
|
63051
63051
|
{
|
|
63052
|
-
className: "flex min-w-80 flex-row gap-4 rounded-md p-3 leading-none no-underline transition-colors outline-none select-none hover:bg-muted",
|
|
63052
|
+
className: "flex min-w-80 flex-row items-center gap-4 rounded-md p-3 leading-none no-underline transition-colors outline-none select-none hover:bg-muted",
|
|
63053
63053
|
href: item.url,
|
|
63054
63054
|
children: [
|
|
63055
|
-
item.icon && /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(DynamicIcon, { name: item.icon, size: 20, className: "shrink-0" }) }),
|
|
63055
|
+
item.icon && /* @__PURE__ */ jsx("div", { className: "flex size-5 shrink-0 items-center justify-center text-muted-foreground", children: /* @__PURE__ */ jsx(DynamicIcon, { name: item.icon, size: 20, className: "shrink-0" }) }),
|
|
63056
63056
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
63057
63057
|
/* @__PURE__ */ jsx("div", { className: "text-sm font-semibold", children: item.title }),
|
|
63058
63058
|
item.description && /* @__PURE__ */ jsx("p", { className: "text-sm leading-snug text-muted-foreground", children: item.description })
|
|
@@ -63136,9 +63136,9 @@ var NavbarDropdownMenu = ({
|
|
|
63136
63136
|
className: actionClassName,
|
|
63137
63137
|
...pressableProps,
|
|
63138
63138
|
children: children ?? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
63139
|
-
icon,
|
|
63139
|
+
/* @__PURE__ */ jsx(DynamicIcon, { name: icon, size: 16, className: "shrink-0" }),
|
|
63140
63140
|
label,
|
|
63141
|
-
iconAfter
|
|
63141
|
+
/* @__PURE__ */ jsx(DynamicIcon, { name: iconAfter, size: 16, className: "shrink-0" })
|
|
63142
63142
|
] })
|
|
63143
63143
|
},
|
|
63144
63144
|
index
|
|
@@ -63273,10 +63273,10 @@ var SubMenuLink2 = ({ item }) => {
|
|
|
63273
63273
|
return /* @__PURE__ */ jsxs(
|
|
63274
63274
|
Pressable,
|
|
63275
63275
|
{
|
|
63276
|
-
className: "flex flex-row gap-4 rounded-md p-3 leading-none no-underline transition-colors outline-none select-none hover:bg-muted hover:text-foreground",
|
|
63276
|
+
className: "flex flex-row items-center gap-4 rounded-md p-3 leading-none no-underline transition-colors outline-none select-none hover:bg-muted hover:text-foreground",
|
|
63277
63277
|
href: item.url,
|
|
63278
63278
|
children: [
|
|
63279
|
-
item.icon && /* @__PURE__ */ jsx("div", { className: "text-muted-foreground", children: /* @__PURE__ */ jsx(DynamicIcon, { name: item.icon, size: 20, className: "shrink-0" }) }),
|
|
63279
|
+
item.icon && /* @__PURE__ */ jsx("div", { className: "flex size-5 shrink-0 items-center justify-center text-muted-foreground", children: /* @__PURE__ */ jsx(DynamicIcon, { name: item.icon, size: 20, className: "shrink-0" }) }),
|
|
63280
63280
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
63281
63281
|
/* @__PURE__ */ jsx("div", { className: "text-sm font-semibold", children: item.title }),
|
|
63282
63282
|
item.description && /* @__PURE__ */ jsx("p", { className: "text-sm leading-snug text-muted-foreground", children: item.description })
|
|
@@ -63364,9 +63364,9 @@ var NavbarCenteredMenu = ({
|
|
|
63364
63364
|
className: actionClassName,
|
|
63365
63365
|
...pressableProps,
|
|
63366
63366
|
children: children ?? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
63367
|
-
icon,
|
|
63367
|
+
/* @__PURE__ */ jsx(DynamicIcon, { name: icon, size: 16, className: "shrink-0" }),
|
|
63368
63368
|
label,
|
|
63369
|
-
iconAfter
|
|
63369
|
+
/* @__PURE__ */ jsx(DynamicIcon, { name: iconAfter, size: 16, className: "shrink-0" })
|
|
63370
63370
|
] })
|
|
63371
63371
|
},
|
|
63372
63372
|
index
|
|
@@ -63570,7 +63570,13 @@ var DesktopMenuItem = ({
|
|
|
63570
63570
|
optixFlowConfig
|
|
63571
63571
|
}
|
|
63572
63572
|
) }),
|
|
63573
|
-
!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:
|
|
63573
|
+
!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: /* @__PURE__ */ jsx(
|
|
63574
|
+
DynamicIcon,
|
|
63575
|
+
{
|
|
63576
|
+
name: item.icon || item.iconName,
|
|
63577
|
+
size: 20
|
|
63578
|
+
}
|
|
63579
|
+
) }),
|
|
63574
63580
|
/* @__PURE__ */ jsxs("div", { className: "flex-1", children: [
|
|
63575
63581
|
/* @__PURE__ */ jsx("div", { className: "text-sm font-medium", children: item.label }),
|
|
63576
63582
|
item.description && /* @__PURE__ */ jsx("div", { className: "text-sm font-normal text-muted-foreground", children: item.description })
|
|
@@ -63597,7 +63603,13 @@ var DesktopMenuItem = ({
|
|
|
63597
63603
|
optixFlowConfig
|
|
63598
63604
|
}
|
|
63599
63605
|
) }),
|
|
63600
|
-
!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:
|
|
63606
|
+
!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: /* @__PURE__ */ jsx(
|
|
63607
|
+
DynamicIcon,
|
|
63608
|
+
{
|
|
63609
|
+
name: item.icon || item.iconName,
|
|
63610
|
+
size: 20
|
|
63611
|
+
}
|
|
63612
|
+
) }),
|
|
63601
63613
|
/* @__PURE__ */ jsxs("div", { className: "flex-1", children: [
|
|
63602
63614
|
/* @__PURE__ */ jsx("div", { className: "text-sm font-medium", children: item.label }),
|
|
63603
63615
|
item.description && /* @__PURE__ */ jsx("div", { className: "text-sm font-normal text-muted-foreground", children: item.description })
|
|
@@ -63636,7 +63648,13 @@ var DesktopMenuItem = ({
|
|
|
63636
63648
|
optixFlowConfig
|
|
63637
63649
|
}
|
|
63638
63650
|
) }),
|
|
63639
|
-
!item.image && (item.icon || item.iconName) && /* @__PURE__ */ jsx("div", { className: "flex h-8 w-8 shrink-0 items-center justify-center rounded-md bg-muted/40 text-muted-foreground", children:
|
|
63651
|
+
!item.image && (item.icon || item.iconName) && /* @__PURE__ */ jsx("div", { className: "flex h-8 w-8 shrink-0 items-center justify-center rounded-md bg-muted/40 text-muted-foreground", children: /* @__PURE__ */ jsx(
|
|
63652
|
+
DynamicIcon,
|
|
63653
|
+
{
|
|
63654
|
+
name: item.icon || item.iconName,
|
|
63655
|
+
size: 16
|
|
63656
|
+
}
|
|
63657
|
+
) }),
|
|
63640
63658
|
/* @__PURE__ */ jsxs("div", { className: "flex-1", children: [
|
|
63641
63659
|
/* @__PURE__ */ jsx("div", { className: "text-sm font-medium", children: item.label }),
|
|
63642
63660
|
item.description && /* @__PURE__ */ jsx("div", { className: "text-xs text-muted-foreground", children: item.description })
|
|
@@ -63665,7 +63683,13 @@ var DesktopMenuItem = ({
|
|
|
63665
63683
|
optixFlowConfig
|
|
63666
63684
|
}
|
|
63667
63685
|
) }),
|
|
63668
|
-
!item.image && (item.icon || item.iconName) && /* @__PURE__ */ jsx("div", { className: "flex h-8 w-8 shrink-0 items-center justify-center rounded-md bg-muted/40 text-muted-foreground", children:
|
|
63686
|
+
!item.image && (item.icon || item.iconName) && /* @__PURE__ */ jsx("div", { className: "flex h-8 w-8 shrink-0 items-center justify-center rounded-md bg-muted/40 text-muted-foreground", children: /* @__PURE__ */ jsx(
|
|
63687
|
+
DynamicIcon,
|
|
63688
|
+
{
|
|
63689
|
+
name: item.icon || item.iconName,
|
|
63690
|
+
size: 16
|
|
63691
|
+
}
|
|
63692
|
+
) }),
|
|
63669
63693
|
/* @__PURE__ */ jsxs("div", { className: "flex-1", children: [
|
|
63670
63694
|
/* @__PURE__ */ jsx("div", { className: "text-sm font-medium", children: item.label }),
|
|
63671
63695
|
item.description && /* @__PURE__ */ jsx("div", { className: "text-xs text-muted-foreground", children: item.description })
|
|
@@ -63723,9 +63747,9 @@ var NavbarMegaMenu = ({
|
|
|
63723
63747
|
className: actionClassName,
|
|
63724
63748
|
...pressableProps,
|
|
63725
63749
|
children: children ?? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
63726
|
-
icon,
|
|
63750
|
+
/* @__PURE__ */ jsx(DynamicIcon, { name: icon, size: 16, className: "shrink-0" }),
|
|
63727
63751
|
label,
|
|
63728
|
-
iconAfter
|
|
63752
|
+
/* @__PURE__ */ jsx(DynamicIcon, { name: iconAfter, size: 16, className: "shrink-0" })
|
|
63729
63753
|
] })
|
|
63730
63754
|
},
|
|
63731
63755
|
index
|
|
@@ -63859,13 +63883,13 @@ var NavbarMegaMenu = ({
|
|
|
63859
63883
|
onClick: () => setOpen(false),
|
|
63860
63884
|
className: "flex items-center gap-2 rounded-md px-4 py-2 text-sm text-muted-foreground hover:bg-muted hover:text-foreground",
|
|
63861
63885
|
children: [
|
|
63862
|
-
(item.icon || item.iconName) &&
|
|
63886
|
+
(item.icon || item.iconName) && /* @__PURE__ */ jsx(
|
|
63863
63887
|
DynamicIcon,
|
|
63864
63888
|
{
|
|
63865
|
-
name: item.iconName,
|
|
63889
|
+
name: item.icon || item.iconName,
|
|
63866
63890
|
size: 14
|
|
63867
63891
|
}
|
|
63868
|
-
)
|
|
63892
|
+
),
|
|
63869
63893
|
item.label
|
|
63870
63894
|
]
|
|
63871
63895
|
},
|
|
@@ -63886,13 +63910,13 @@ var NavbarMegaMenu = ({
|
|
|
63886
63910
|
onClick: () => setOpen(false),
|
|
63887
63911
|
className: "flex items-center gap-2 rounded-md px-4 py-2 text-sm text-muted-foreground hover:bg-muted hover:text-foreground",
|
|
63888
63912
|
children: [
|
|
63889
|
-
(item.icon || item.iconName) &&
|
|
63913
|
+
(item.icon || item.iconName) && /* @__PURE__ */ jsx(
|
|
63890
63914
|
DynamicIcon,
|
|
63891
63915
|
{
|
|
63892
|
-
name: item.iconName,
|
|
63916
|
+
name: item.icon || item.iconName,
|
|
63893
63917
|
size: 14
|
|
63894
63918
|
}
|
|
63895
|
-
)
|
|
63919
|
+
),
|
|
63896
63920
|
item.label
|
|
63897
63921
|
]
|
|
63898
63922
|
},
|
|
@@ -63939,17 +63963,17 @@ var SolutionsMenu = ({
|
|
|
63939
63963
|
platformItems,
|
|
63940
63964
|
featuredHeroCard,
|
|
63941
63965
|
optixFlowConfig
|
|
63942
|
-
}) =>
|
|
63943
|
-
|
|
63966
|
+
}) => {
|
|
63967
|
+
const featuredCard = featuredHeroCard ? /* @__PURE__ */ jsxs(
|
|
63944
63968
|
Pressable,
|
|
63945
63969
|
{
|
|
63946
63970
|
href: featuredHeroCard.href,
|
|
63947
63971
|
className: cn(
|
|
63948
|
-
"group flex h-full flex-col overflow-hidden rounded-lg text-primary-foreground",
|
|
63972
|
+
"group flex h-full min-h-[420px] flex-col overflow-hidden rounded-lg text-primary-foreground",
|
|
63949
63973
|
featuredHeroCard.variant === "accent" ? "bg-accent text-accent-foreground" : "bg-primary"
|
|
63950
63974
|
),
|
|
63951
63975
|
children: [
|
|
63952
|
-
/* @__PURE__ */ jsxs("div", { className: "flex
|
|
63976
|
+
/* @__PURE__ */ jsxs("div", { className: "flex shrink-0 flex-col justify-between p-5", children: [
|
|
63953
63977
|
featuredHeroCard.subtitle && /* @__PURE__ */ jsx("span", { className: "mb-2 text-xs font-medium tracking-wider uppercase", children: featuredHeroCard.subtitle }),
|
|
63954
63978
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
63955
63979
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-1.5 text-base font-semibold", children: [
|
|
@@ -63966,7 +63990,7 @@ var SolutionsMenu = ({
|
|
|
63966
63990
|
/* @__PURE__ */ jsx("p", { className: "mt-2 text-sm leading-relaxed text-primary-foreground/85", children: featuredHeroCard.description })
|
|
63967
63991
|
] })
|
|
63968
63992
|
] }),
|
|
63969
|
-
/* @__PURE__ */ jsx("div", { className: "relative
|
|
63993
|
+
/* @__PURE__ */ jsx("div", { className: "relative min-h-0 flex-1 overflow-hidden", children: /* @__PURE__ */ jsx(
|
|
63970
63994
|
Img,
|
|
63971
63995
|
{
|
|
63972
63996
|
src: featuredHeroCard.image,
|
|
@@ -63977,35 +64001,42 @@ var SolutionsMenu = ({
|
|
|
63977
64001
|
) })
|
|
63978
64002
|
]
|
|
63979
64003
|
}
|
|
63980
|
-
)
|
|
63981
|
-
platformItems.length > 0
|
|
64004
|
+
) : null;
|
|
64005
|
+
const platformSection = platformItems.length > 0 ? /* @__PURE__ */ jsxs("div", { className: "min-w-0", children: [
|
|
63982
64006
|
/* @__PURE__ */ jsx("div", { className: "mb-3 text-left", children: /* @__PURE__ */ jsx("strong", { className: "text-xs font-medium tracking-wider text-muted-foreground uppercase", children: "Developer Platform" }) }),
|
|
63983
64007
|
/* @__PURE__ */ jsx("div", { className: "grid grid-cols-2 gap-2", children: platformItems.map((technology) => /* @__PURE__ */ jsxs(
|
|
63984
64008
|
NavigationMenuLink,
|
|
63985
64009
|
{
|
|
63986
64010
|
href: technology.href,
|
|
63987
|
-
className: "group !flex !w-full items-center gap-2 rounded-lg p-2 hover:bg-muted",
|
|
64011
|
+
className: "group !flex !w-full min-w-0 items-center gap-2 rounded-lg p-2 hover:bg-muted",
|
|
63988
64012
|
children: [
|
|
63989
|
-
/* @__PURE__ */ jsx(
|
|
64013
|
+
/* @__PURE__ */ jsx(
|
|
64014
|
+
DynamicIcon,
|
|
64015
|
+
{
|
|
64016
|
+
name: technology.icon,
|
|
64017
|
+
size: 16,
|
|
64018
|
+
className: "shrink-0"
|
|
64019
|
+
}
|
|
64020
|
+
),
|
|
63990
64021
|
/* @__PURE__ */ jsx("div", { className: "min-w-0 flex-1 text-sm font-medium", children: technology.title })
|
|
63991
64022
|
]
|
|
63992
64023
|
},
|
|
63993
64024
|
technology.id
|
|
63994
64025
|
)) })
|
|
63995
|
-
] })
|
|
63996
|
-
solutionCards.length > 0
|
|
64026
|
+
] }) : null;
|
|
64027
|
+
const solutionSection = solutionCards.length > 0 ? /* @__PURE__ */ jsx("div", { className: "grid grid-cols-2 gap-3", children: solutionCards.map((solution) => /* @__PURE__ */ jsxs(
|
|
63997
64028
|
"div",
|
|
63998
64029
|
{
|
|
63999
|
-
className: "
|
|
64030
|
+
className: "flex min-w-0 flex-col rounded-lg border border-border p-4",
|
|
64000
64031
|
children: [
|
|
64001
64032
|
/* @__PURE__ */ jsx("div", { className: "border-b border-border pb-3", children: /* @__PURE__ */ jsxs(
|
|
64002
64033
|
Pressable,
|
|
64003
64034
|
{
|
|
64004
64035
|
href: solution.href,
|
|
64005
|
-
className: "group flex flex-col text-left",
|
|
64036
|
+
className: "group flex min-w-0 flex-col text-left",
|
|
64006
64037
|
children: [
|
|
64007
|
-
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-1", children: [
|
|
64008
|
-
/* @__PURE__ */ jsx("strong", { className: "text-sm font-medium", children: solution.title }),
|
|
64038
|
+
/* @__PURE__ */ jsxs("div", { className: "flex min-w-0 items-center gap-1", children: [
|
|
64039
|
+
/* @__PURE__ */ jsx("strong", { className: "min-w-0 break-words text-sm font-medium", children: solution.title }),
|
|
64009
64040
|
/* @__PURE__ */ jsx(
|
|
64010
64041
|
DynamicIcon,
|
|
64011
64042
|
{
|
|
@@ -64015,7 +64046,7 @@ var SolutionsMenu = ({
|
|
|
64015
64046
|
}
|
|
64016
64047
|
)
|
|
64017
64048
|
] }),
|
|
64018
|
-
/* @__PURE__ */ jsx("p", { className: "mt-1 text-xs text-muted-foreground", children: solution.description })
|
|
64049
|
+
/* @__PURE__ */ jsx("p", { className: "mt-1 break-words text-xs text-muted-foreground", children: solution.description })
|
|
64019
64050
|
]
|
|
64020
64051
|
}
|
|
64021
64052
|
) }),
|
|
@@ -64023,10 +64054,17 @@ var SolutionsMenu = ({
|
|
|
64023
64054
|
NavigationMenuLink,
|
|
64024
64055
|
{
|
|
64025
64056
|
href: subpage.href,
|
|
64026
|
-
className: "group !flex !w-full items-center gap-2 rounded-lg p-2 text-left hover:bg-muted",
|
|
64057
|
+
className: "group !flex !w-full min-w-0 items-center gap-2 rounded-lg p-2 text-left hover:bg-muted",
|
|
64027
64058
|
children: [
|
|
64028
|
-
/* @__PURE__ */ jsx(
|
|
64029
|
-
|
|
64059
|
+
/* @__PURE__ */ jsx(
|
|
64060
|
+
DynamicIcon,
|
|
64061
|
+
{
|
|
64062
|
+
name: subpage.icon,
|
|
64063
|
+
size: 14,
|
|
64064
|
+
className: "shrink-0"
|
|
64065
|
+
}
|
|
64066
|
+
),
|
|
64067
|
+
/* @__PURE__ */ jsx("div", { className: "min-w-0 flex-1 break-words text-sm font-medium", children: subpage.title })
|
|
64030
64068
|
]
|
|
64031
64069
|
},
|
|
64032
64070
|
subpage.id
|
|
@@ -64034,8 +64072,69 @@ var SolutionsMenu = ({
|
|
|
64034
64072
|
]
|
|
64035
64073
|
},
|
|
64036
64074
|
solution.id
|
|
64037
|
-
)) })
|
|
64038
|
-
|
|
64075
|
+
)) }) : null;
|
|
64076
|
+
if (featuredCard) {
|
|
64077
|
+
return /* @__PURE__ */ jsxs("div", { className: "grid w-[1200px] max-w-[calc(100vw-4rem)] grid-cols-[minmax(380px,1fr)_minmax(360px,0.95fr)] gap-4", children: [
|
|
64078
|
+
/* @__PURE__ */ jsx("div", { className: "min-w-0", children: featuredCard }),
|
|
64079
|
+
/* @__PURE__ */ jsxs("div", { className: "flex min-w-0 flex-col gap-4", children: [
|
|
64080
|
+
platformSection,
|
|
64081
|
+
solutionSection
|
|
64082
|
+
] })
|
|
64083
|
+
] });
|
|
64084
|
+
}
|
|
64085
|
+
return /* @__PURE__ */ jsxs("div", { className: "grid w-[1200px] max-w-[calc(100vw-4rem)] grid-cols-2 gap-4", children: [
|
|
64086
|
+
platformSection,
|
|
64087
|
+
solutionCards.length > 0 && /* @__PURE__ */ jsx("div", { className: "col-span-2 grid grid-cols-4 gap-3", children: solutionCards.map((solution) => /* @__PURE__ */ jsxs(
|
|
64088
|
+
"div",
|
|
64089
|
+
{
|
|
64090
|
+
className: "flex min-w-0 flex-col rounded-lg border border-border p-4",
|
|
64091
|
+
children: [
|
|
64092
|
+
/* @__PURE__ */ jsx("div", { className: "border-b border-border pb-3", children: /* @__PURE__ */ jsxs(
|
|
64093
|
+
Pressable,
|
|
64094
|
+
{
|
|
64095
|
+
href: solution.href,
|
|
64096
|
+
className: "group flex min-w-0 flex-col text-left",
|
|
64097
|
+
children: [
|
|
64098
|
+
/* @__PURE__ */ jsxs("div", { className: "flex min-w-0 items-center gap-1", children: [
|
|
64099
|
+
/* @__PURE__ */ jsx("strong", { className: "min-w-0 break-words text-sm font-medium", children: solution.title }),
|
|
64100
|
+
/* @__PURE__ */ jsx(
|
|
64101
|
+
DynamicIcon,
|
|
64102
|
+
{
|
|
64103
|
+
name: "lucide/arrow-right",
|
|
64104
|
+
size: 14,
|
|
64105
|
+
className: "shrink-0 transition-transform group-hover:translate-x-1"
|
|
64106
|
+
}
|
|
64107
|
+
)
|
|
64108
|
+
] }),
|
|
64109
|
+
/* @__PURE__ */ jsx("p", { className: "mt-1 break-words text-xs text-muted-foreground", children: solution.description })
|
|
64110
|
+
]
|
|
64111
|
+
}
|
|
64112
|
+
) }),
|
|
64113
|
+
/* @__PURE__ */ jsx("menu", { className: "mt-3 grid gap-2", children: solution.subpages.map((subpage) => /* @__PURE__ */ jsxs(
|
|
64114
|
+
NavigationMenuLink,
|
|
64115
|
+
{
|
|
64116
|
+
href: subpage.href,
|
|
64117
|
+
className: "group !flex !w-full min-w-0 items-center gap-2 rounded-lg p-2 text-left hover:bg-muted",
|
|
64118
|
+
children: [
|
|
64119
|
+
/* @__PURE__ */ jsx(
|
|
64120
|
+
DynamicIcon,
|
|
64121
|
+
{
|
|
64122
|
+
name: subpage.icon,
|
|
64123
|
+
size: 14,
|
|
64124
|
+
className: "shrink-0"
|
|
64125
|
+
}
|
|
64126
|
+
),
|
|
64127
|
+
/* @__PURE__ */ jsx("div", { className: "min-w-0 flex-1 break-words text-sm font-medium", children: subpage.title })
|
|
64128
|
+
]
|
|
64129
|
+
},
|
|
64130
|
+
subpage.id
|
|
64131
|
+
)) })
|
|
64132
|
+
]
|
|
64133
|
+
},
|
|
64134
|
+
solution.id
|
|
64135
|
+
)) })
|
|
64136
|
+
] });
|
|
64137
|
+
};
|
|
64039
64138
|
var ProductsMenu = ({
|
|
64040
64139
|
productCategories,
|
|
64041
64140
|
featuredHeroCard,
|
|
@@ -64258,7 +64357,14 @@ var GlobalMenu = ({
|
|
|
64258
64357
|
href: location.href,
|
|
64259
64358
|
className: "group !flex !w-full items-center gap-2 rounded-lg p-2 text-left hover:bg-muted",
|
|
64260
64359
|
children: [
|
|
64261
|
-
/* @__PURE__ */ jsx("div", { className: "flex size-4 shrink-0 items-center justify-center", children:
|
|
64360
|
+
/* @__PURE__ */ jsx("div", { className: "flex size-4 shrink-0 items-center justify-center", children: /* @__PURE__ */ jsx(
|
|
64361
|
+
DynamicIcon,
|
|
64362
|
+
{
|
|
64363
|
+
name: location.icon,
|
|
64364
|
+
size: 16,
|
|
64365
|
+
className: "shrink-0"
|
|
64366
|
+
}
|
|
64367
|
+
) }),
|
|
64262
64368
|
/* @__PURE__ */ jsx("div", { className: "min-w-0 flex-1 text-sm font-medium", children: location.title })
|
|
64263
64369
|
]
|
|
64264
64370
|
},
|
|
@@ -64379,9 +64485,9 @@ var NavbarEnterpriseMega = ({
|
|
|
64379
64485
|
...pressableProps
|
|
64380
64486
|
} = action;
|
|
64381
64487
|
return /* @__PURE__ */ jsx(Pressable, { className: actionClassName, ...pressableProps, children: children ?? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
64382
|
-
icon,
|
|
64488
|
+
/* @__PURE__ */ jsx(DynamicIcon, { name: icon, size: 16, className: "shrink-0" }),
|
|
64383
64489
|
label,
|
|
64384
|
-
iconAfter
|
|
64490
|
+
/* @__PURE__ */ jsx(DynamicIcon, { name: iconAfter, size: 16, className: "shrink-0" })
|
|
64385
64491
|
] }) }, index);
|
|
64386
64492
|
});
|
|
64387
64493
|
}, [actionsSlot, actions]);
|
|
@@ -64507,7 +64613,7 @@ var DesktopMenuItem2 = ({
|
|
|
64507
64613
|
if (hasDropdown) {
|
|
64508
64614
|
return /* @__PURE__ */ jsxs(NavigationMenuItem, { value: `${index}`, children: [
|
|
64509
64615
|
/* @__PURE__ */ jsx(NavigationMenuTrigger, { className: "h-auto bg-transparent px-3 py-2 font-normal hover:bg-muted focus:bg-muted data-[state=open]:bg-muted/50", children: item.label }),
|
|
64510
|
-
/* @__PURE__ */ jsx(NavigationMenuContent, { className: "rounded-xl! border-0! p-4!", children: renderDropdownContent(
|
|
64616
|
+
/* @__PURE__ */ jsx(NavigationMenuContent, { className: "max-h-[calc(100vh-6rem)] overflow-y-auto rounded-xl! border-0! p-4!", children: renderDropdownContent(
|
|
64511
64617
|
{ ...item, layout: effectiveLayout },
|
|
64512
64618
|
optixFlowConfig
|
|
64513
64619
|
) })
|
|
@@ -64664,9 +64770,9 @@ var MobileNavigationMenu = ({
|
|
|
64664
64770
|
className: actionClassName,
|
|
64665
64771
|
...pressableProps,
|
|
64666
64772
|
children: children ?? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
64667
|
-
icon,
|
|
64773
|
+
/* @__PURE__ */ jsx(DynamicIcon, { name: icon, size: 16, className: "shrink-0" }),
|
|
64668
64774
|
label,
|
|
64669
|
-
iconAfter
|
|
64775
|
+
/* @__PURE__ */ jsx(DynamicIcon, { name: iconAfter, size: 16, className: "shrink-0" })
|
|
64670
64776
|
] })
|
|
64671
64777
|
},
|
|
64672
64778
|
index
|
|
@@ -64746,9 +64852,9 @@ var NavbarFeatureGrid = ({
|
|
|
64746
64852
|
...pressableProps
|
|
64747
64853
|
} = action;
|
|
64748
64854
|
return /* @__PURE__ */ jsx(Pressable, { className: actionClassName, ...pressableProps, children: children ?? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
64749
|
-
icon,
|
|
64855
|
+
/* @__PURE__ */ jsx(DynamicIcon, { name: icon, size: 16, className: "shrink-0" }),
|
|
64750
64856
|
label,
|
|
64751
|
-
iconAfter
|
|
64857
|
+
/* @__PURE__ */ jsx(DynamicIcon, { name: iconAfter, size: 16, className: "shrink-0" })
|
|
64752
64858
|
] }) }, index);
|
|
64753
64859
|
});
|
|
64754
64860
|
}, [authActionsSlot, authActions]);
|
|
@@ -64929,9 +65035,9 @@ var NavbarFloatingPill = ({
|
|
|
64929
65035
|
className: actionClassName,
|
|
64930
65036
|
...pressableProps,
|
|
64931
65037
|
children: children ?? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
64932
|
-
icon,
|
|
65038
|
+
/* @__PURE__ */ jsx(DynamicIcon, { name: icon, size: 16, className: "shrink-0" }),
|
|
64933
65039
|
label,
|
|
64934
|
-
iconAfter
|
|
65040
|
+
/* @__PURE__ */ jsx(DynamicIcon, { name: iconAfter, size: 16, className: "shrink-0" })
|
|
64935
65041
|
] })
|
|
64936
65042
|
},
|
|
64937
65043
|
index
|
|
@@ -65174,26 +65280,27 @@ var NavbarPlatformResources = ({
|
|
|
65174
65280
|
const renderDropdownContent3 = (link) => {
|
|
65175
65281
|
const layout = link.layout || "simple-list";
|
|
65176
65282
|
if (layout === "simple-list") {
|
|
65177
|
-
return /* @__PURE__ */ jsx(NavigationMenuContent, { className: "w-[400px] p-3", children: /* @__PURE__ */ jsx("ul", { className: "space-y-1", children: link.links?.map((item, itemIndex) => /* @__PURE__ */ jsx(
|
|
65283
|
+
return /* @__PURE__ */ jsx(NavigationMenuContent, { className: "w-[400px] max-w-[calc(100vw-2rem)] p-3", children: /* @__PURE__ */ jsx("ul", { className: "w-full space-y-1", children: link.links?.map((item, itemIndex) => /* @__PURE__ */ jsx(
|
|
65178
65284
|
"li",
|
|
65179
65285
|
{
|
|
65286
|
+
className: "w-full",
|
|
65180
65287
|
children: /* @__PURE__ */ jsxs(
|
|
65181
65288
|
NavigationMenuLink,
|
|
65182
65289
|
{
|
|
65183
65290
|
href: getLinkUrl(item),
|
|
65184
|
-
className: "group/link flex-row gap-2 px-3 py-2 transition-colors duration-200",
|
|
65291
|
+
className: "group/link !flex !w-full min-w-0 flex-row items-center gap-2 rounded-md px-3 py-2 transition-colors duration-200",
|
|
65185
65292
|
children: [
|
|
65186
|
-
/* @__PURE__ */ jsx("div", { className: "flex size-8 shrink-0 rounded-lg border duration-400 fade-in group-hover/link:bg-background", children:
|
|
65293
|
+
/* @__PURE__ */ jsx("div", { className: "flex size-8 shrink-0 rounded-lg border duration-400 fade-in group-hover/link:bg-background", children: /* @__PURE__ */ jsx(
|
|
65187
65294
|
DynamicIcon,
|
|
65188
65295
|
{
|
|
65189
|
-
name: item.iconName,
|
|
65296
|
+
name: item.icon || item.iconName,
|
|
65190
65297
|
size: 16,
|
|
65191
65298
|
className: "m-auto group-hover/link:stroke-black"
|
|
65192
65299
|
}
|
|
65193
|
-
)
|
|
65194
|
-
/* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-0.5", children: [
|
|
65300
|
+
) }),
|
|
65301
|
+
/* @__PURE__ */ jsxs("div", { className: "flex min-w-0 flex-1 flex-col gap-0.5", children: [
|
|
65195
65302
|
/* @__PURE__ */ jsx("div", { className: "text-sm font-medium", children: item.label }),
|
|
65196
|
-
item.description && /* @__PURE__ */ jsx("div", { className: "text-xs text-muted-foreground group-hover/link:text-foreground", children: item.description })
|
|
65303
|
+
item.description && /* @__PURE__ */ jsx("div", { className: "break-words text-xs text-muted-foreground group-hover/link:text-foreground", children: item.description })
|
|
65197
65304
|
] })
|
|
65198
65305
|
]
|
|
65199
65306
|
}
|
|
@@ -65205,12 +65312,12 @@ var NavbarPlatformResources = ({
|
|
|
65205
65312
|
if (layout === "featured-grid" && link.links && link.links.length > 0) {
|
|
65206
65313
|
const featuredItem = link.links[0];
|
|
65207
65314
|
const gridItems = link.links.slice(1);
|
|
65208
|
-
return /* @__PURE__ */ jsx(NavigationMenuContent, { className: "
|
|
65315
|
+
return /* @__PURE__ */ jsx(NavigationMenuContent, { className: "w-[900px] max-w-[calc(100vw-2rem)] p-6", children: /* @__PURE__ */ jsxs("div", { className: "grid grid-cols-[minmax(260px,0.8fr)_minmax(0,1.2fr)] gap-8", children: [
|
|
65209
65316
|
/* @__PURE__ */ jsx(
|
|
65210
65317
|
NavigationMenuLink,
|
|
65211
65318
|
{
|
|
65212
65319
|
href: getLinkUrl(featuredItem),
|
|
65213
|
-
className: "group w-
|
|
65320
|
+
className: "group block h-full min-w-0 p-0 hover:bg-transparent",
|
|
65214
65321
|
children: /* @__PURE__ */ jsxs("div", { className: "overflow-clip rounded-lg border border-input bg-background", children: [
|
|
65215
65322
|
/* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
|
|
65216
65323
|
Img,
|
|
@@ -65228,17 +65335,23 @@ var NavbarPlatformResources = ({
|
|
|
65228
65335
|
] })
|
|
65229
65336
|
}
|
|
65230
65337
|
),
|
|
65231
|
-
/* @__PURE__ */ jsxs("div", { className: "
|
|
65338
|
+
/* @__PURE__ */ jsxs("div", { className: "min-w-0", children: [
|
|
65232
65339
|
link.dropdownGroups && link.dropdownGroups[0] && /* @__PURE__ */ jsx("div", { className: "mb-6 text-xs tracking-widest text-muted-foreground uppercase", children: link.dropdownGroups[0].label }),
|
|
65233
65340
|
/* @__PURE__ */ jsx("div", { className: "grid grid-cols-1 gap-6 lg:grid-cols-2 lg:gap-8", children: gridItems.map((item, itemIndex) => /* @__PURE__ */ jsxs(
|
|
65234
65341
|
NavigationMenuLink,
|
|
65235
65342
|
{
|
|
65236
65343
|
href: getLinkUrl(item),
|
|
65237
|
-
className: "group block p-4",
|
|
65344
|
+
className: "group block h-full w-full min-w-0 rounded-md p-4",
|
|
65238
65345
|
children: [
|
|
65239
|
-
(item.icon || item.iconName) && /* @__PURE__ */ jsx("div", { className: "mb-5 group-hover:opacity-60", children:
|
|
65240
|
-
|
|
65241
|
-
|
|
65346
|
+
(item.icon || item.iconName) && /* @__PURE__ */ jsx("div", { className: "mb-5 group-hover:opacity-60", children: /* @__PURE__ */ jsx(
|
|
65347
|
+
DynamicIcon,
|
|
65348
|
+
{
|
|
65349
|
+
name: item.icon || item.iconName,
|
|
65350
|
+
size: 20
|
|
65351
|
+
}
|
|
65352
|
+
) }),
|
|
65353
|
+
/* @__PURE__ */ jsx("div", { className: "mb-1 break-words text-base", children: item.label }),
|
|
65354
|
+
item.description && /* @__PURE__ */ jsx("div", { className: "break-words text-sm font-normal text-muted-foreground", children: item.description })
|
|
65242
65355
|
]
|
|
65243
65356
|
},
|
|
65244
65357
|
`${typeof item.label === "string" ? item.label : "item"}-${itemIndex}`
|
|
@@ -65248,17 +65361,23 @@ var NavbarPlatformResources = ({
|
|
|
65248
65361
|
}
|
|
65249
65362
|
if (layout === "two-column-cta" && link.dropdownGroups && link.dropdownGroups.length > 0) {
|
|
65250
65363
|
const ctaItem = link.links && link.links.length > 0 ? link.links[link.links.length - 1] : null;
|
|
65251
|
-
return /* @__PURE__ */ jsx(NavigationMenuContent, { className: "
|
|
65252
|
-
/* @__PURE__ */ jsx("div", { className: "
|
|
65364
|
+
return /* @__PURE__ */ jsx(NavigationMenuContent, { className: "w-[900px] max-w-[calc(100vw-2rem)] p-6", children: /* @__PURE__ */ jsxs("div", { className: "grid grid-cols-[minmax(0,1fr)_minmax(0,1fr)] gap-4", children: [
|
|
65365
|
+
/* @__PURE__ */ jsx("div", { className: "min-w-0", children: link.dropdownGroups[0] && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
65253
65366
|
/* @__PURE__ */ jsx("div", { className: "mb-6 text-xs tracking-widest text-muted-foreground uppercase", children: link.dropdownGroups[0].label }),
|
|
65254
65367
|
/* @__PURE__ */ jsx("div", { className: "grid grid-cols-2 gap-4", children: link.dropdownGroups[0].links.map((item, itemIndex) => /* @__PURE__ */ jsxs(
|
|
65255
65368
|
NavigationMenuLink,
|
|
65256
65369
|
{
|
|
65257
65370
|
href: getLinkUrl(item),
|
|
65258
|
-
className: "group flex flex-row items-center gap-5",
|
|
65371
|
+
className: "group !flex !w-full min-w-0 flex-row items-center gap-5 rounded-md p-2",
|
|
65259
65372
|
children: [
|
|
65260
|
-
(item.icon || item.iconName) && /* @__PURE__ */ jsx("div", { className: "group-hover:opacity-60", children:
|
|
65261
|
-
|
|
65373
|
+
(item.icon || item.iconName) && /* @__PURE__ */ jsx("div", { className: "group-hover:opacity-60", children: /* @__PURE__ */ jsx(
|
|
65374
|
+
DynamicIcon,
|
|
65375
|
+
{
|
|
65376
|
+
name: item.icon || item.iconName,
|
|
65377
|
+
size: 16
|
|
65378
|
+
}
|
|
65379
|
+
) }),
|
|
65380
|
+
/* @__PURE__ */ jsx("div", { className: "min-w-0 break-words text-base", children: item.label })
|
|
65262
65381
|
]
|
|
65263
65382
|
},
|
|
65264
65383
|
`${typeof item.label === "string" ? item.label : "item"}-${itemIndex}`
|
|
@@ -65268,7 +65387,7 @@ var NavbarPlatformResources = ({
|
|
|
65268
65387
|
NavigationMenuLink,
|
|
65269
65388
|
{
|
|
65270
65389
|
href: getLinkUrl(ctaItem),
|
|
65271
|
-
className: "group
|
|
65390
|
+
className: "group min-w-0 p-0 hover:bg-transparent",
|
|
65272
65391
|
children: /* @__PURE__ */ jsxs("div", { className: "flex h-full rounded-lg border border-input bg-background p-0 hover:bg-transparent", children: [
|
|
65273
65392
|
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(
|
|
65274
65393
|
Img,
|
|
@@ -65279,11 +65398,11 @@ var NavbarPlatformResources = ({
|
|
|
65279
65398
|
optixFlowConfig
|
|
65280
65399
|
}
|
|
65281
65400
|
) }),
|
|
65282
|
-
/* @__PURE__ */ jsxs("div", { className: "flex flex-col p-5 xl:p-8", children: [
|
|
65401
|
+
/* @__PURE__ */ jsxs("div", { className: "flex min-w-0 flex-col p-5 xl:p-8", children: [
|
|
65283
65402
|
ctaItem.background && /* @__PURE__ */ jsx("div", { className: "mb-8 text-xs tracking-widest text-muted-foreground uppercase", children: ctaItem.background }),
|
|
65284
65403
|
/* @__PURE__ */ jsxs("div", { className: "mt-auto", children: [
|
|
65285
|
-
/* @__PURE__ */ jsx("div", { className: "mb-4 text-xl", children: ctaItem.label }),
|
|
65286
|
-
ctaItem.description && /* @__PURE__ */ jsx("div", { className: "text-sm font-normal text-muted-foreground", children: ctaItem.description })
|
|
65404
|
+
/* @__PURE__ */ jsx("div", { className: "mb-4 break-words text-xl", children: ctaItem.label }),
|
|
65405
|
+
ctaItem.description && /* @__PURE__ */ jsx("div", { className: "break-words text-sm font-normal text-muted-foreground", children: ctaItem.description })
|
|
65287
65406
|
] })
|
|
65288
65407
|
] })
|
|
65289
65408
|
] })
|
|
@@ -65294,32 +65413,38 @@ var NavbarPlatformResources = ({
|
|
|
65294
65413
|
if (layout === "list-showcase" && link.dropdownGroups && link.dropdownGroups.length > 0) {
|
|
65295
65414
|
const listItems = link.dropdownGroups[0].links;
|
|
65296
65415
|
const showcaseItems = link.links || [];
|
|
65297
|
-
return /* @__PURE__ */ jsx(NavigationMenuContent, { className: "
|
|
65298
|
-
/* @__PURE__ */ jsx("div", { className: "
|
|
65416
|
+
return /* @__PURE__ */ jsx(NavigationMenuContent, { className: "w-[900px] max-w-[calc(100vw-2rem)] p-6", children: /* @__PURE__ */ jsxs("div", { className: "grid grid-cols-[minmax(260px,0.7fr)_minmax(0,1.3fr)] gap-8", children: [
|
|
65417
|
+
/* @__PURE__ */ jsx("div", { className: "min-w-0", children: /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
65299
65418
|
/* @__PURE__ */ jsx("div", { className: "mb-4 text-xs tracking-widest text-muted-foreground uppercase", children: link.dropdownGroups[0].label }),
|
|
65300
65419
|
link.dropdownGroups[0].description && /* @__PURE__ */ jsx("div", { className: "mb-6 text-sm font-normal text-muted-foreground", children: link.dropdownGroups[0].description }),
|
|
65301
65420
|
/* @__PURE__ */ jsx("div", { className: "-ml-2.5 space-y-2.5", children: listItems.map((item, itemIndex) => /* @__PURE__ */ jsxs(
|
|
65302
65421
|
NavigationMenuLink,
|
|
65303
65422
|
{
|
|
65304
65423
|
href: getLinkUrl(item),
|
|
65305
|
-
className: "group flex flex-row items-center gap-2.5 rounded-md p-2.5 focus:text-accent-foreground",
|
|
65424
|
+
className: "group !flex !w-full min-w-0 flex-row items-center gap-2.5 rounded-md p-2.5 focus:text-accent-foreground",
|
|
65306
65425
|
children: [
|
|
65307
|
-
(item.icon || item.iconName) &&
|
|
65308
|
-
|
|
65426
|
+
(item.icon || item.iconName) && /* @__PURE__ */ jsx(
|
|
65427
|
+
DynamicIcon,
|
|
65428
|
+
{
|
|
65429
|
+
name: item.icon || item.iconName,
|
|
65430
|
+
size: 16
|
|
65431
|
+
}
|
|
65432
|
+
),
|
|
65433
|
+
/* @__PURE__ */ jsx("div", { className: "min-w-0 break-words text-base", children: item.label })
|
|
65309
65434
|
]
|
|
65310
65435
|
},
|
|
65311
65436
|
`${typeof item.label === "string" ? item.label : "item"}-${itemIndex}`
|
|
65312
65437
|
)) })
|
|
65313
65438
|
] }) }),
|
|
65314
|
-
/* @__PURE__ */ jsx("div", { className: "
|
|
65439
|
+
/* @__PURE__ */ jsx("div", { className: "min-w-0 space-y-6", children: showcaseItems.map((showcase, showcaseIndex) => /* @__PURE__ */ jsxs(
|
|
65315
65440
|
NavigationMenuLink,
|
|
65316
65441
|
{
|
|
65317
65442
|
href: getLinkUrl(showcase),
|
|
65318
|
-
className: "flex flex-row items-center overflow-clip rounded-lg border border-input bg-background p-0 hover:bg-transparent",
|
|
65443
|
+
className: "!flex !w-full min-w-0 flex-row items-center overflow-clip rounded-lg border border-input bg-background p-0 hover:bg-transparent",
|
|
65319
65444
|
children: [
|
|
65320
|
-
/* @__PURE__ */ jsxs("div", { className: "flex-1 p-5 xl:p-8", children: [
|
|
65321
|
-
/* @__PURE__ */ jsx("div", { className: "mb-2 text-base", children: showcase.label }),
|
|
65322
|
-
showcase.description && /* @__PURE__ */ jsx("div", { className: "text-sm font-normal text-muted-foreground", children: showcase.description })
|
|
65445
|
+
/* @__PURE__ */ jsxs("div", { className: "min-w-0 flex-1 p-5 xl:p-8", children: [
|
|
65446
|
+
/* @__PURE__ */ jsx("div", { className: "mb-2 break-words text-base", children: showcase.label }),
|
|
65447
|
+
showcase.description && /* @__PURE__ */ jsx("div", { className: "break-words text-sm font-normal text-muted-foreground", children: showcase.description })
|
|
65323
65448
|
] }),
|
|
65324
65449
|
/* @__PURE__ */ jsx("div", { className: "h-[154px] max-w-[264px] shrink-0", children: /* @__PURE__ */ jsx(
|
|
65325
65450
|
Img,
|
|
@@ -65338,7 +65463,7 @@ var NavbarPlatformResources = ({
|
|
|
65338
65463
|
}
|
|
65339
65464
|
if (layout === "multi-section" && link.dropdownGroups) {
|
|
65340
65465
|
const ctaItem = link.links && link.links.length > 0 ? link.links[link.links.length - 1] : null;
|
|
65341
|
-
return /* @__PURE__ */ jsx(NavigationMenuContent, { className: "
|
|
65466
|
+
return /* @__PURE__ */ jsx(NavigationMenuContent, { className: "w-[900px] max-w-[calc(100vw-2rem)] p-8", children: /* @__PURE__ */ jsxs("div", { className: "grid grid-cols-2 gap-8", children: [
|
|
65342
65467
|
link.dropdownGroups.map((group, groupIndex) => /* @__PURE__ */ jsxs(
|
|
65343
65468
|
"div",
|
|
65344
65469
|
{
|
|
@@ -65349,10 +65474,10 @@ var NavbarPlatformResources = ({
|
|
|
65349
65474
|
NavigationMenuLink,
|
|
65350
65475
|
{
|
|
65351
65476
|
href: getLinkUrl(item),
|
|
65352
|
-
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",
|
|
65477
|
+
className: "!flex h-full w-full min-w-0 flex-col overflow-clip rounded-lg border border-input bg-background p-5 hover:bg-accent hover:text-accent-foreground xl:p-8",
|
|
65353
65478
|
children: /* @__PURE__ */ jsxs("div", { className: "mt-auto", children: [
|
|
65354
|
-
/* @__PURE__ */ jsx("div", { className: "mb-2 text-base", children: item.label }),
|
|
65355
|
-
item.description && /* @__PURE__ */ jsx("div", { className: "text-sm font-normal text-muted-foreground", children: item.description })
|
|
65479
|
+
/* @__PURE__ */ jsx("div", { className: "mb-2 break-words text-base", children: item.label }),
|
|
65480
|
+
item.description && /* @__PURE__ */ jsx("div", { className: "break-words text-sm font-normal text-muted-foreground", children: item.description })
|
|
65356
65481
|
] })
|
|
65357
65482
|
},
|
|
65358
65483
|
`${typeof item.label === "string" ? item.label : "item"}-${itemIndex}`
|
|
@@ -65366,11 +65491,11 @@ var NavbarPlatformResources = ({
|
|
|
65366
65491
|
NavigationMenuLink,
|
|
65367
65492
|
{
|
|
65368
65493
|
href: getLinkUrl(ctaItem),
|
|
65369
|
-
className: "mb-6 flex flex-row overflow-clip rounded-lg border border-input bg-background p-0 hover:bg-transparent",
|
|
65494
|
+
className: "mb-6 !flex !w-full min-w-0 flex-row overflow-clip rounded-lg border border-input bg-background p-0 hover:bg-transparent",
|
|
65370
65495
|
children: [
|
|
65371
|
-
/* @__PURE__ */ jsxs("div", { className: "flex-1 p-5 xl:p-8", children: [
|
|
65372
|
-
/* @__PURE__ */ jsx("div", { className: "mb-2 text-base", children: ctaItem.label }),
|
|
65373
|
-
ctaItem.description && /* @__PURE__ */ jsx("div", { className: "text-sm font-normal text-muted-foreground", children: ctaItem.description })
|
|
65496
|
+
/* @__PURE__ */ jsxs("div", { className: "min-w-0 flex-1 p-5 xl:p-8", children: [
|
|
65497
|
+
/* @__PURE__ */ jsx("div", { className: "mb-2 break-words text-base", children: ctaItem.label }),
|
|
65498
|
+
ctaItem.description && /* @__PURE__ */ jsx("div", { className: "break-words text-sm font-normal text-muted-foreground", children: ctaItem.description })
|
|
65374
65499
|
] }),
|
|
65375
65500
|
ctaItem.image && /* @__PURE__ */ jsx("div", { className: "w-1/3 max-w-[130px] shrink-0", children: /* @__PURE__ */ jsx(
|
|
65376
65501
|
Img,
|
|
@@ -65391,13 +65516,13 @@ var NavbarPlatformResources = ({
|
|
|
65391
65516
|
] })
|
|
65392
65517
|
] }) });
|
|
65393
65518
|
}
|
|
65394
|
-
return /* @__PURE__ */ jsx(NavigationMenuContent, { className: "
|
|
65519
|
+
return /* @__PURE__ */ jsx(NavigationMenuContent, { className: "w-[900px] max-w-[calc(100vw-2rem)] 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(
|
|
65395
65520
|
NavigationMenuLink,
|
|
65396
65521
|
{
|
|
65397
65522
|
href: getLinkUrl(item),
|
|
65398
|
-
className: "flex flex-row items-
|
|
65523
|
+
className: "!flex !w-full min-w-0 flex-row items-center gap-4 rounded-lg border border-input bg-background p-4 hover:bg-accent hover:text-accent-foreground",
|
|
65399
65524
|
children: [
|
|
65400
|
-
item.image && /* @__PURE__ */ jsx("div", { className: "h-12 w-12 overflow-hidden rounded-md border border-border", children: /* @__PURE__ */ jsx(
|
|
65525
|
+
item.image && /* @__PURE__ */ jsx("div", { className: "h-12 w-12 shrink-0 overflow-hidden rounded-md border border-border", children: /* @__PURE__ */ jsx(
|
|
65401
65526
|
Img,
|
|
65402
65527
|
{
|
|
65403
65528
|
src: item.image,
|
|
@@ -65406,10 +65531,10 @@ var NavbarPlatformResources = ({
|
|
|
65406
65531
|
optixFlowConfig
|
|
65407
65532
|
}
|
|
65408
65533
|
) }),
|
|
65409
|
-
!item.image && (item.icon || item.iconName) && /* @__PURE__ */ jsx("div", { className: "flex h-12 w-12 items-center justify-center rounded-md border border-border bg-muted/40 text-muted-foreground", children:
|
|
65410
|
-
/* @__PURE__ */ jsxs("div", { children: [
|
|
65411
|
-
/* @__PURE__ */ jsx("div", { className: "text-sm font-medium text-foreground", children: item.label }),
|
|
65412
|
-
item.description && /* @__PURE__ */ jsx("div", { className: "text-sm font-normal text-muted-foreground", children: item.description })
|
|
65534
|
+
!item.image && (item.icon || item.iconName) && /* @__PURE__ */ jsx("div", { className: "flex h-12 w-12 shrink-0 items-center justify-center rounded-md border border-border bg-muted/40 text-muted-foreground", children: /* @__PURE__ */ jsx(DynamicIcon, { name: item.icon || item.iconName, size: 18 }) }),
|
|
65535
|
+
/* @__PURE__ */ jsxs("div", { className: "min-w-0 flex-1", children: [
|
|
65536
|
+
/* @__PURE__ */ jsx("div", { className: "break-words text-sm font-medium text-foreground", children: item.label }),
|
|
65537
|
+
item.description && /* @__PURE__ */ jsx("div", { className: "break-words text-sm font-normal text-muted-foreground", children: item.description })
|
|
65413
65538
|
] })
|
|
65414
65539
|
]
|
|
65415
65540
|
},
|
|
@@ -65428,9 +65553,9 @@ var NavbarPlatformResources = ({
|
|
|
65428
65553
|
...pressableProps
|
|
65429
65554
|
} = action;
|
|
65430
65555
|
return /* @__PURE__ */ jsx(Pressable, { className: actionClassName, ...pressableProps, children: children ?? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
65431
|
-
icon,
|
|
65556
|
+
/* @__PURE__ */ jsx(DynamicIcon, { name: icon, size: 16, className: "shrink-0" }),
|
|
65432
65557
|
label,
|
|
65433
|
-
iconAfter
|
|
65558
|
+
/* @__PURE__ */ jsx(DynamicIcon, { name: iconAfter, size: 16, className: "shrink-0" })
|
|
65434
65559
|
] }) }, index);
|
|
65435
65560
|
});
|
|
65436
65561
|
}, [actions]);
|
|
@@ -65554,13 +65679,13 @@ var NavbarPlatformResources = ({
|
|
|
65554
65679
|
href: getLinkUrl(item),
|
|
65555
65680
|
className: "flex items-center gap-2 pl-4 text-sm text-muted-foreground hover:text-foreground",
|
|
65556
65681
|
children: [
|
|
65557
|
-
(item.icon || item.iconName) &&
|
|
65682
|
+
(item.icon || item.iconName) && /* @__PURE__ */ jsx(
|
|
65558
65683
|
DynamicIcon,
|
|
65559
65684
|
{
|
|
65560
|
-
name: item.iconName,
|
|
65685
|
+
name: item.icon || item.iconName,
|
|
65561
65686
|
size: 14
|
|
65562
65687
|
}
|
|
65563
|
-
)
|
|
65688
|
+
),
|
|
65564
65689
|
item.label
|
|
65565
65690
|
]
|
|
65566
65691
|
},
|
|
@@ -65693,9 +65818,9 @@ var NavbarImagePreview = ({
|
|
|
65693
65818
|
className: actionClassName,
|
|
65694
65819
|
...pressableProps,
|
|
65695
65820
|
children: children ?? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
65696
|
-
icon,
|
|
65821
|
+
/* @__PURE__ */ jsx(DynamicIcon, { name: icon, size: 16, className: "shrink-0" }),
|
|
65697
65822
|
label,
|
|
65698
|
-
iconAfter
|
|
65823
|
+
/* @__PURE__ */ jsx(DynamicIcon, { name: iconAfter, size: 16, className: "shrink-0" })
|
|
65699
65824
|
] })
|
|
65700
65825
|
},
|
|
65701
65826
|
index
|
|
@@ -65884,7 +66009,7 @@ var MobileNavigationMenu2 = ({
|
|
|
65884
66009
|
href: link.url,
|
|
65885
66010
|
onClick: handleClose,
|
|
65886
66011
|
children: [
|
|
65887
|
-
|
|
66012
|
+
/* @__PURE__ */ jsx(DynamicIcon, { name: link.icon || link.iconName, size: 20 }),
|
|
65888
66013
|
!link.icon && !link.iconName && link.label
|
|
65889
66014
|
]
|
|
65890
66015
|
},
|
|
@@ -65912,9 +66037,9 @@ var MobileNavigationMenu2 = ({
|
|
|
65912
66037
|
onClick: handleClose,
|
|
65913
66038
|
...pressableProps,
|
|
65914
66039
|
children: children ?? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
65915
|
-
icon,
|
|
66040
|
+
/* @__PURE__ */ jsx(DynamicIcon, { name: icon, size: 16, className: "shrink-0" }),
|
|
65916
66041
|
label,
|
|
65917
|
-
iconAfter
|
|
66042
|
+
/* @__PURE__ */ jsx(DynamicIcon, { name: iconAfter, size: 16, className: "shrink-0" })
|
|
65918
66043
|
] })
|
|
65919
66044
|
},
|
|
65920
66045
|
index
|
|
@@ -65959,14 +66084,14 @@ var MobileNavigationMenu2 = ({
|
|
|
65959
66084
|
className: "flex min-h-12 items-center gap-2 rounded-lg px-4 text-muted-foreground transition-colors duration-300 hover:bg-muted hover:text-foreground",
|
|
65960
66085
|
onClick: handleClose,
|
|
65961
66086
|
children: [
|
|
65962
|
-
|
|
66087
|
+
/* @__PURE__ */ jsx(
|
|
65963
66088
|
DynamicIcon,
|
|
65964
66089
|
{
|
|
65965
|
-
name: link.iconName,
|
|
66090
|
+
name: link.icon || link.iconName,
|
|
65966
66091
|
size: 16,
|
|
65967
66092
|
className: "stroke-muted-foreground"
|
|
65968
66093
|
}
|
|
65969
|
-
)
|
|
66094
|
+
),
|
|
65970
66095
|
link.label
|
|
65971
66096
|
]
|
|
65972
66097
|
},
|
|
@@ -66059,9 +66184,9 @@ var NavbarDarkIcons = ({
|
|
|
66059
66184
|
className: actionClassName,
|
|
66060
66185
|
...pressableProps,
|
|
66061
66186
|
children: children ?? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
66062
|
-
icon,
|
|
66187
|
+
/* @__PURE__ */ jsx(DynamicIcon, { name: icon, size: 16, className: "shrink-0" }),
|
|
66063
66188
|
label,
|
|
66064
|
-
iconAfter
|
|
66189
|
+
/* @__PURE__ */ jsx(DynamicIcon, { name: iconAfter, size: 16, className: "shrink-0" })
|
|
66065
66190
|
] })
|
|
66066
66191
|
},
|
|
66067
66192
|
index
|
|
@@ -66199,15 +66324,16 @@ var MenuSubLink = ({ link }) => {
|
|
|
66199
66324
|
href: link.url,
|
|
66200
66325
|
className: "flex items-center gap-4 rounded-lg p-2 hover:bg-muted",
|
|
66201
66326
|
children: /* @__PURE__ */ jsxs("div", { className: "flex w-full items-center justify-between", children: [
|
|
66202
|
-
/* @__PURE__ */ jsxs("div", { className: "flex gap-2.5", children: [
|
|
66203
|
-
|
|
66327
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2.5", children: [
|
|
66328
|
+
/* @__PURE__ */ jsx(
|
|
66204
66329
|
DynamicIcon,
|
|
66205
66330
|
{
|
|
66206
|
-
name: link.iconName,
|
|
66331
|
+
name: link.icon || link.iconName,
|
|
66207
66332
|
size: 20,
|
|
66208
|
-
color: link.iconColor
|
|
66333
|
+
color: link.iconColor,
|
|
66334
|
+
className: "shrink-0"
|
|
66209
66335
|
}
|
|
66210
|
-
)
|
|
66336
|
+
),
|
|
66211
66337
|
/* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-1.5", children: [
|
|
66212
66338
|
/* @__PURE__ */ jsx("h3", { className: "text-sm leading-none", children: link.label }),
|
|
66213
66339
|
/* @__PURE__ */ jsx("p", { className: "text-sm leading-[1.2] text-muted-foreground/80", children: link.description })
|
|
@@ -66251,9 +66377,9 @@ var MobileNavigationMenu3 = ({
|
|
|
66251
66377
|
className: cn("w-full", actionClassName),
|
|
66252
66378
|
...pressableProps,
|
|
66253
66379
|
children: children ?? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
66254
|
-
icon,
|
|
66380
|
+
/* @__PURE__ */ jsx(DynamicIcon, { name: icon, size: 16, className: "shrink-0" }),
|
|
66255
66381
|
label,
|
|
66256
|
-
iconAfter
|
|
66382
|
+
/* @__PURE__ */ jsx(DynamicIcon, { name: iconAfter, size: 16, className: "shrink-0" })
|
|
66257
66383
|
] })
|
|
66258
66384
|
},
|
|
66259
66385
|
index
|
|
@@ -66400,9 +66526,16 @@ var NavbarAnimatedPreview = ({
|
|
|
66400
66526
|
className: actionClassName,
|
|
66401
66527
|
...pressableProps,
|
|
66402
66528
|
children: children ?? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
66403
|
-
icon,
|
|
66529
|
+
/* @__PURE__ */ jsx(DynamicIcon, { name: icon, size: 16, className: "shrink-0" }),
|
|
66404
66530
|
label,
|
|
66405
|
-
|
|
66531
|
+
/* @__PURE__ */ jsx(
|
|
66532
|
+
DynamicIcon,
|
|
66533
|
+
{
|
|
66534
|
+
name: iconAfter ?? "lucide/chevron-right",
|
|
66535
|
+
size: 16,
|
|
66536
|
+
className: "shrink-0"
|
|
66537
|
+
}
|
|
66538
|
+
)
|
|
66406
66539
|
] })
|
|
66407
66540
|
},
|
|
66408
66541
|
index
|
|
@@ -66731,14 +66864,14 @@ var FeaturedLink = ({ link, optixFlowConfig }) => {
|
|
|
66731
66864
|
className: "group relative flex w-full overflow-hidden rounded-xl bg-muted px-4 pt-24 pb-4",
|
|
66732
66865
|
children: [
|
|
66733
66866
|
/* @__PURE__ */ jsxs("div", { className: "relative z-10 flex w-full items-center gap-6", children: [
|
|
66734
|
-
/* @__PURE__ */ jsx("div", { className: "flex size-12 shrink-0 rounded-lg border bg-background shadow-lg", children:
|
|
66867
|
+
/* @__PURE__ */ jsx("div", { className: "flex size-12 shrink-0 rounded-lg border bg-background shadow-lg", children: /* @__PURE__ */ jsx(
|
|
66735
66868
|
DynamicIcon,
|
|
66736
66869
|
{
|
|
66737
|
-
name: link.iconName,
|
|
66870
|
+
name: link.icon || link.iconName,
|
|
66738
66871
|
size: 20,
|
|
66739
66872
|
className: "m-auto stroke-white"
|
|
66740
66873
|
}
|
|
66741
|
-
)
|
|
66874
|
+
) }),
|
|
66742
66875
|
/* @__PURE__ */ jsxs("div", { className: "flex flex-col text-white text-shadow-lg", children: [
|
|
66743
66876
|
/* @__PURE__ */ jsx("div", { className: "text-lg font-semibold", children: link.label }),
|
|
66744
66877
|
/* @__PURE__ */ jsx("div", { className: "font-medium", children: link.description })
|
|
@@ -66768,10 +66901,10 @@ var NavLink = forwardRef(
|
|
|
66768
66901
|
onMouseEnter,
|
|
66769
66902
|
onMouseLeave,
|
|
66770
66903
|
children: [
|
|
66771
|
-
(link.icon || link.iconName) && /* @__PURE__ */ jsx("div", { className: "flex size-6 shrink-0 rounded-md border shadow", children:
|
|
66904
|
+
(link.icon || link.iconName) && /* @__PURE__ */ jsx("div", { className: "flex size-6 shrink-0 rounded-md border shadow", children: /* @__PURE__ */ jsx(
|
|
66772
66905
|
DynamicIcon,
|
|
66773
66906
|
{
|
|
66774
|
-
name: link.iconName,
|
|
66907
|
+
name: link.icon || link.iconName,
|
|
66775
66908
|
size: 14,
|
|
66776
66909
|
className: "m-auto"
|
|
66777
66910
|
}
|
|
@@ -66812,9 +66945,9 @@ var MobileNavigationMenu4 = ({
|
|
|
66812
66945
|
className: actionClassName,
|
|
66813
66946
|
...pressableProps,
|
|
66814
66947
|
children: children ?? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
66815
|
-
icon,
|
|
66948
|
+
/* @__PURE__ */ jsx(DynamicIcon, { name: icon, size: 16, className: "shrink-0" }),
|
|
66816
66949
|
label,
|
|
66817
|
-
iconAfter
|
|
66950
|
+
/* @__PURE__ */ jsx(DynamicIcon, { name: iconAfter, size: 16, className: "shrink-0" })
|
|
66818
66951
|
] })
|
|
66819
66952
|
},
|
|
66820
66953
|
index
|
|
@@ -66942,9 +67075,9 @@ var NavbarMultiColumnGroups = ({
|
|
|
66942
67075
|
className: actionClassName,
|
|
66943
67076
|
...pressableProps,
|
|
66944
67077
|
children: children ?? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
66945
|
-
icon,
|
|
67078
|
+
/* @__PURE__ */ jsx(DynamicIcon, { name: icon, size: 16, className: "shrink-0" }),
|
|
66946
67079
|
label,
|
|
66947
|
-
iconAfter
|
|
67080
|
+
/* @__PURE__ */ jsx(DynamicIcon, { name: iconAfter, size: 16, className: "shrink-0" })
|
|
66948
67081
|
] })
|
|
66949
67082
|
},
|
|
66950
67083
|
index
|
|
@@ -67055,14 +67188,14 @@ var DesktopMenuItem6 = ({ item, index }) => {
|
|
|
67055
67188
|
asChild: true,
|
|
67056
67189
|
className: "group/link flex-row gap-2 px-3 py-2 transition-colors duration-200",
|
|
67057
67190
|
children: /* @__PURE__ */ jsxs(Pressable, { href: link.url, children: [
|
|
67058
|
-
/* @__PURE__ */ jsx("div", { className: "flex size-8 shrink-0 rounded-lg border duration-400 fade-in group-hover/link:bg-background", children:
|
|
67191
|
+
/* @__PURE__ */ jsx("div", { className: "flex size-8 shrink-0 rounded-lg border duration-400 fade-in group-hover/link:bg-background", children: /* @__PURE__ */ jsx(
|
|
67059
67192
|
DynamicIcon,
|
|
67060
67193
|
{
|
|
67061
|
-
name: link.iconName,
|
|
67194
|
+
name: link.icon || link.iconName,
|
|
67062
67195
|
size: 16,
|
|
67063
67196
|
className: "m-auto group-hover/link:stroke-black"
|
|
67064
67197
|
}
|
|
67065
|
-
)
|
|
67198
|
+
) }),
|
|
67066
67199
|
/* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-0.5", children: [
|
|
67067
67200
|
/* @__PURE__ */ jsx("div", { className: "text-sm font-medium", children: link.label }),
|
|
67068
67201
|
/* @__PURE__ */ jsx("div", { className: "text-xs text-muted-foreground group-hover/link:text-foreground", children: link.description })
|
|
@@ -67110,9 +67243,9 @@ var MobileNavigationMenu5 = ({
|
|
|
67110
67243
|
onClick: handleClose,
|
|
67111
67244
|
...pressableProps,
|
|
67112
67245
|
children: children ?? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
67113
|
-
icon,
|
|
67246
|
+
/* @__PURE__ */ jsx(DynamicIcon, { name: icon, size: 16, className: "shrink-0" }),
|
|
67114
67247
|
label,
|
|
67115
|
-
iconAfter
|
|
67248
|
+
/* @__PURE__ */ jsx(DynamicIcon, { name: iconAfter, size: 16, className: "shrink-0" })
|
|
67116
67249
|
] })
|
|
67117
67250
|
},
|
|
67118
67251
|
index
|
|
@@ -67148,14 +67281,14 @@ var MobileNavigationMenu5 = ({
|
|
|
67148
67281
|
className: "flex min-h-12 items-center gap-2 rounded-lg px-4 text-muted-foreground transition-colors duration-300 hover:bg-muted hover:text-foreground",
|
|
67149
67282
|
onClick: handleClose,
|
|
67150
67283
|
children: [
|
|
67151
|
-
|
|
67284
|
+
/* @__PURE__ */ jsx(
|
|
67152
67285
|
DynamicIcon,
|
|
67153
67286
|
{
|
|
67154
|
-
name: link.iconName,
|
|
67287
|
+
name: link.icon || link.iconName,
|
|
67155
67288
|
size: 16,
|
|
67156
67289
|
className: "stroke-muted-foreground"
|
|
67157
67290
|
}
|
|
67158
|
-
)
|
|
67291
|
+
),
|
|
67159
67292
|
link.label
|
|
67160
67293
|
]
|
|
67161
67294
|
},
|
|
@@ -67250,9 +67383,9 @@ var NavbarSidebarMobile = ({
|
|
|
67250
67383
|
className: actionClassName,
|
|
67251
67384
|
...pressableProps,
|
|
67252
67385
|
children: children ?? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
67253
|
-
icon,
|
|
67386
|
+
/* @__PURE__ */ jsx(DynamicIcon, { name: icon, size: 16, className: "shrink-0" }),
|
|
67254
67387
|
label,
|
|
67255
|
-
iconAfter
|
|
67388
|
+
/* @__PURE__ */ jsx(DynamicIcon, { name: iconAfter, size: 16, className: "shrink-0" })
|
|
67256
67389
|
] })
|
|
67257
67390
|
},
|
|
67258
67391
|
index
|
|
@@ -67419,9 +67552,9 @@ var MobileNavigationMenu6 = ({
|
|
|
67419
67552
|
className: cn("w-full", actionClassName),
|
|
67420
67553
|
...pressableProps,
|
|
67421
67554
|
children: children ?? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
67422
|
-
icon,
|
|
67555
|
+
/* @__PURE__ */ jsx(DynamicIcon, { name: icon, size: 16, className: "shrink-0" }),
|
|
67423
67556
|
label,
|
|
67424
|
-
iconAfter
|
|
67557
|
+
/* @__PURE__ */ jsx(DynamicIcon, { name: iconAfter, size: 16, className: "shrink-0" })
|
|
67425
67558
|
] })
|
|
67426
67559
|
},
|
|
67427
67560
|
index
|
|
@@ -67545,7 +67678,7 @@ var NavbarTransparentOverlay = ({
|
|
|
67545
67678
|
!isScrolled ? "text-background/90 hover:text-background hover:bg-background/10" : ""
|
|
67546
67679
|
),
|
|
67547
67680
|
children: /* @__PURE__ */ jsxs(Pressable, { href: item.url, children: [
|
|
67548
|
-
|
|
67681
|
+
/* @__PURE__ */ jsx(DynamicIcon, { name: item.icon || item.iconName, size: 16 }),
|
|
67549
67682
|
item.title
|
|
67550
67683
|
] })
|
|
67551
67684
|
}
|
|
@@ -67577,9 +67710,9 @@ var NavbarTransparentOverlay = ({
|
|
|
67577
67710
|
),
|
|
67578
67711
|
...pressableProps,
|
|
67579
67712
|
children: children ?? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
67580
|
-
icon,
|
|
67713
|
+
/* @__PURE__ */ jsx(DynamicIcon, { name: icon, size: 16, className: "shrink-0" }),
|
|
67581
67714
|
label,
|
|
67582
|
-
iconAfter
|
|
67715
|
+
/* @__PURE__ */ jsx(DynamicIcon, { name: iconAfter, size: 16, className: "shrink-0" })
|
|
67583
67716
|
] })
|
|
67584
67717
|
},
|
|
67585
67718
|
index
|
|
@@ -67714,9 +67847,9 @@ var MobileNavigationMenu7 = ({
|
|
|
67714
67847
|
onClick: onClose,
|
|
67715
67848
|
...pressableProps,
|
|
67716
67849
|
children: children ?? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
67717
|
-
icon,
|
|
67850
|
+
/* @__PURE__ */ jsx(DynamicIcon, { name: icon, size: 16, className: "shrink-0" }),
|
|
67718
67851
|
label,
|
|
67719
|
-
iconAfter
|
|
67852
|
+
/* @__PURE__ */ jsx(DynamicIcon, { name: iconAfter, size: 16, className: "shrink-0" })
|
|
67720
67853
|
] })
|
|
67721
67854
|
},
|
|
67722
67855
|
index
|
|
@@ -67756,7 +67889,7 @@ var MobileNavigationMenu7 = ({
|
|
|
67756
67889
|
className: "text-3xl font-medium text-white transition-all duration-300 hover:text-white/80",
|
|
67757
67890
|
onClick: onClose,
|
|
67758
67891
|
children: [
|
|
67759
|
-
|
|
67892
|
+
/* @__PURE__ */ jsx(DynamicIcon, { name: item.icon || item.iconName, size: 24 }),
|
|
67760
67893
|
item.title
|
|
67761
67894
|
]
|
|
67762
67895
|
},
|
|
@@ -67842,9 +67975,9 @@ var NavbarEducationPlatform = ({
|
|
|
67842
67975
|
...pressableProps
|
|
67843
67976
|
} = action;
|
|
67844
67977
|
return /* @__PURE__ */ jsx(Pressable, { className: actionClassName, ...pressableProps, children: children ?? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
67845
|
-
icon,
|
|
67978
|
+
/* @__PURE__ */ jsx(DynamicIcon, { name: icon, size: 16, className: "shrink-0" }),
|
|
67846
67979
|
label,
|
|
67847
|
-
iconAfter
|
|
67980
|
+
/* @__PURE__ */ jsx(DynamicIcon, { name: iconAfter, size: 16, className: "shrink-0" })
|
|
67848
67981
|
] }) }, index);
|
|
67849
67982
|
});
|
|
67850
67983
|
}, [authActionsSlot, authActions]);
|
|
@@ -68036,9 +68169,9 @@ var MobileNavigationMenu8 = ({
|
|
|
68036
68169
|
onClick: onClose,
|
|
68037
68170
|
...pressableProps,
|
|
68038
68171
|
children: children ?? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
68039
|
-
icon,
|
|
68172
|
+
/* @__PURE__ */ jsx(DynamicIcon, { name: icon, size: 16, className: "shrink-0" }),
|
|
68040
68173
|
label,
|
|
68041
|
-
iconAfter
|
|
68174
|
+
/* @__PURE__ */ jsx(DynamicIcon, { name: iconAfter, size: 16, className: "shrink-0" })
|
|
68042
68175
|
] })
|
|
68043
68176
|
},
|
|
68044
68177
|
index
|
|
@@ -68163,9 +68296,9 @@ var NavbarStickyCompact = ({
|
|
|
68163
68296
|
className: cn("transition-all duration-300", actionClassName),
|
|
68164
68297
|
...pressableProps,
|
|
68165
68298
|
children: children ?? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
68166
|
-
icon,
|
|
68299
|
+
/* @__PURE__ */ jsx(DynamicIcon, { name: icon, size: 16, className: "shrink-0" }),
|
|
68167
68300
|
label,
|
|
68168
|
-
iconAfter
|
|
68301
|
+
/* @__PURE__ */ jsx(DynamicIcon, { name: iconAfter, size: 16, className: "shrink-0" })
|
|
68169
68302
|
] })
|
|
68170
68303
|
},
|
|
68171
68304
|
index
|
|
@@ -68265,20 +68398,26 @@ var NavbarStickyCompact = ({
|
|
|
68265
68398
|
children: renderAuthActions
|
|
68266
68399
|
}
|
|
68267
68400
|
),
|
|
68268
|
-
/* @__PURE__ */ jsxs(
|
|
68401
|
+
/* @__PURE__ */ jsx("div", { className: "flex lg:hidden", children: /* @__PURE__ */ jsxs(
|
|
68269
68402
|
Pressable,
|
|
68270
68403
|
{
|
|
68271
68404
|
variant: "ghost",
|
|
68272
68405
|
size: isScrolled ? "sm" : "icon",
|
|
68273
68406
|
asButton: true,
|
|
68274
|
-
className: "
|
|
68407
|
+
className: "transition-all duration-300",
|
|
68275
68408
|
onClick: () => setIsOpen(!isOpen),
|
|
68276
68409
|
children: [
|
|
68277
|
-
/* @__PURE__ */ jsx(
|
|
68410
|
+
/* @__PURE__ */ jsx(
|
|
68411
|
+
DynamicIcon,
|
|
68412
|
+
{
|
|
68413
|
+
name: "lucide/menu",
|
|
68414
|
+
size: isScrolled ? 18 : 20
|
|
68415
|
+
}
|
|
68416
|
+
),
|
|
68278
68417
|
/* @__PURE__ */ jsx("span", { className: "sr-only", children: "Toggle menu" })
|
|
68279
68418
|
]
|
|
68280
68419
|
}
|
|
68281
|
-
)
|
|
68420
|
+
) })
|
|
68282
68421
|
]
|
|
68283
68422
|
}
|
|
68284
68423
|
) }) }) })
|
|
@@ -68326,9 +68465,9 @@ var MobileNavigationMenu9 = ({
|
|
|
68326
68465
|
onClick: handleClose,
|
|
68327
68466
|
...pressableProps,
|
|
68328
68467
|
children: children ?? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
68329
|
-
icon,
|
|
68468
|
+
/* @__PURE__ */ jsx(DynamicIcon, { name: icon, size: 16, className: "shrink-0" }),
|
|
68330
68469
|
label,
|
|
68331
|
-
iconAfter
|
|
68470
|
+
/* @__PURE__ */ jsx(DynamicIcon, { name: iconAfter, size: 16, className: "shrink-0" })
|
|
68332
68471
|
] })
|
|
68333
68472
|
},
|
|
68334
68473
|
index
|
|
@@ -68421,7 +68560,7 @@ var NavbarSearchFocused = ({
|
|
|
68421
68560
|
asChild: true,
|
|
68422
68561
|
className: navigationMenuTriggerStyle(),
|
|
68423
68562
|
children: /* @__PURE__ */ jsxs(Pressable, { href: item.url, children: [
|
|
68424
|
-
|
|
68563
|
+
/* @__PURE__ */ jsx(DynamicIcon, { name: item.icon || item.iconName, size: 16 }),
|
|
68425
68564
|
item.title
|
|
68426
68565
|
] })
|
|
68427
68566
|
}
|
|
@@ -68448,9 +68587,9 @@ var NavbarSearchFocused = ({
|
|
|
68448
68587
|
"aria-label": ariaLabel,
|
|
68449
68588
|
...pressableProps,
|
|
68450
68589
|
children: children ?? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
68451
|
-
icon,
|
|
68590
|
+
/* @__PURE__ */ jsx(DynamicIcon, { name: icon, size: 16, className: "shrink-0" }),
|
|
68452
68591
|
label,
|
|
68453
|
-
iconAfter
|
|
68592
|
+
/* @__PURE__ */ jsx(DynamicIcon, { name: iconAfter, size: 16, className: "shrink-0" })
|
|
68454
68593
|
] })
|
|
68455
68594
|
},
|
|
68456
68595
|
index
|
|
@@ -68469,7 +68608,7 @@ var NavbarSearchFocused = ({
|
|
|
68469
68608
|
className: "flex items-center gap-2 rounded-md py-2 text-sm",
|
|
68470
68609
|
onClick: () => setIsOpen(false),
|
|
68471
68610
|
children: [
|
|
68472
|
-
icon,
|
|
68611
|
+
/* @__PURE__ */ jsx(DynamicIcon, { name: icon, size: 16, className: "shrink-0" }),
|
|
68473
68612
|
label
|
|
68474
68613
|
]
|
|
68475
68614
|
},
|
|
@@ -68612,9 +68751,9 @@ var MobileNavigationMenu10 = ({
|
|
|
68612
68751
|
onClick: handleClose,
|
|
68613
68752
|
...pressableProps,
|
|
68614
68753
|
children: children ?? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
68615
|
-
icon,
|
|
68754
|
+
/* @__PURE__ */ jsx(DynamicIcon, { name: icon, size: 16, className: "shrink-0" }),
|
|
68616
68755
|
label,
|
|
68617
|
-
iconAfter
|
|
68756
|
+
/* @__PURE__ */ jsx(DynamicIcon, { name: iconAfter, size: 16, className: "shrink-0" })
|
|
68618
68757
|
] })
|
|
68619
68758
|
},
|
|
68620
68759
|
index
|
|
@@ -68629,7 +68768,7 @@ var MobileNavigationMenu10 = ({
|
|
|
68629
68768
|
className: "flex h-15 items-center gap-2 rounded-md px-4 text-left text-base leading-[3.75] font-normal text-muted-foreground ring-ring/10 outline-ring/50 transition-all hover:bg-muted focus-visible:ring-4 focus-visible:outline-1",
|
|
68630
68769
|
onClick: handleClose,
|
|
68631
68770
|
children: [
|
|
68632
|
-
|
|
68771
|
+
/* @__PURE__ */ jsx(DynamicIcon, { name: item.icon || item.iconName, size: 16 }),
|
|
68633
68772
|
item.title
|
|
68634
68773
|
]
|
|
68635
68774
|
},
|
|
@@ -68735,9 +68874,9 @@ var NavbarSimpleLinks = ({
|
|
|
68735
68874
|
className: cn("h-10 py-2.5 text-sm font-normal", actionClassName),
|
|
68736
68875
|
...pressableProps,
|
|
68737
68876
|
children: children ?? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
68738
|
-
icon,
|
|
68877
|
+
/* @__PURE__ */ jsx(DynamicIcon, { name: icon, size: 16, className: "shrink-0" }),
|
|
68739
68878
|
label,
|
|
68740
|
-
iconAfter
|
|
68879
|
+
/* @__PURE__ */ jsx(DynamicIcon, { name: iconAfter, size: 16, className: "shrink-0" })
|
|
68741
68880
|
] })
|
|
68742
68881
|
},
|
|
68743
68882
|
index
|
|
@@ -68879,9 +69018,9 @@ var MobileNavigationMenu11 = ({
|
|
|
68879
69018
|
onClick: onClose,
|
|
68880
69019
|
...pressableProps,
|
|
68881
69020
|
children: children ?? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
68882
|
-
icon,
|
|
69021
|
+
/* @__PURE__ */ jsx(DynamicIcon, { name: icon, size: 16, className: "shrink-0" }),
|
|
68883
69022
|
label,
|
|
68884
|
-
iconAfter
|
|
69023
|
+
/* @__PURE__ */ jsx(DynamicIcon, { name: iconAfter, size: 16, className: "shrink-0" })
|
|
68885
69024
|
] })
|
|
68886
69025
|
},
|
|
68887
69026
|
index
|
|
@@ -68952,9 +69091,9 @@ var NavbarSplitCta = ({
|
|
|
68952
69091
|
className: actionClassName,
|
|
68953
69092
|
...pressableProps,
|
|
68954
69093
|
children: children ?? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
68955
|
-
icon,
|
|
69094
|
+
/* @__PURE__ */ jsx(DynamicIcon, { name: icon, size: 16, className: "shrink-0" }),
|
|
68956
69095
|
label,
|
|
68957
|
-
iconAfter
|
|
69096
|
+
/* @__PURE__ */ jsx(DynamicIcon, { name: iconAfter, size: 16, className: "shrink-0" })
|
|
68958
69097
|
] })
|
|
68959
69098
|
},
|
|
68960
69099
|
index
|
|
@@ -69053,20 +69192,19 @@ var NavbarSplitCta = ({
|
|
|
69053
69192
|
children: renderAuthActions
|
|
69054
69193
|
}
|
|
69055
69194
|
),
|
|
69056
|
-
/* @__PURE__ */ jsxs(
|
|
69195
|
+
/* @__PURE__ */ jsx("div", { className: "flex lg:hidden", children: /* @__PURE__ */ jsxs(
|
|
69057
69196
|
Pressable,
|
|
69058
69197
|
{
|
|
69059
69198
|
variant: "ghost",
|
|
69060
69199
|
size: "icon",
|
|
69061
69200
|
asButton: true,
|
|
69062
|
-
className: "lg:hidden",
|
|
69063
69201
|
onClick: () => setIsOpen(!isOpen),
|
|
69064
69202
|
children: [
|
|
69065
69203
|
/* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/menu", size: 20 }),
|
|
69066
69204
|
/* @__PURE__ */ jsx("span", { className: "sr-only", children: "Toggle menu" })
|
|
69067
69205
|
]
|
|
69068
69206
|
}
|
|
69069
|
-
),
|
|
69207
|
+
) }),
|
|
69070
69208
|
/* @__PURE__ */ jsx(
|
|
69071
69209
|
NavbarMobileMenu,
|
|
69072
69210
|
{
|
|
@@ -69164,9 +69302,16 @@ var NavbarIconLinks = ({
|
|
|
69164
69302
|
),
|
|
69165
69303
|
...pressableProps,
|
|
69166
69304
|
children: children ?? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
69167
|
-
icon,
|
|
69305
|
+
/* @__PURE__ */ jsx(DynamicIcon, { name: icon, size: 18, className: "shrink-0" }),
|
|
69168
69306
|
label && /* @__PURE__ */ jsx("span", { className: "sr-only", children: label }),
|
|
69169
|
-
|
|
69307
|
+
/* @__PURE__ */ jsx(
|
|
69308
|
+
DynamicIcon,
|
|
69309
|
+
{
|
|
69310
|
+
name: iconAfter,
|
|
69311
|
+
size: 18,
|
|
69312
|
+
className: "shrink-0"
|
|
69313
|
+
}
|
|
69314
|
+
)
|
|
69170
69315
|
] })
|
|
69171
69316
|
}
|
|
69172
69317
|
) }),
|
|
@@ -69301,7 +69446,14 @@ var NavbarIconLinks = ({
|
|
|
69301
69446
|
className: "flex items-center gap-3 rounded-md px-3 py-2 text-sm font-medium text-muted-foreground hover:bg-accent hover:text-accent-foreground",
|
|
69302
69447
|
onClick: () => setIsOpen(false),
|
|
69303
69448
|
children: [
|
|
69304
|
-
|
|
69449
|
+
/* @__PURE__ */ jsx(
|
|
69450
|
+
DynamicIcon,
|
|
69451
|
+
{
|
|
69452
|
+
name: action.icon,
|
|
69453
|
+
size: 18,
|
|
69454
|
+
className: "shrink-0"
|
|
69455
|
+
}
|
|
69456
|
+
),
|
|
69305
69457
|
action.label
|
|
69306
69458
|
]
|
|
69307
69459
|
},
|
|
@@ -69354,9 +69506,9 @@ var NavbarTabbedSections = ({
|
|
|
69354
69506
|
className: actionClassName,
|
|
69355
69507
|
...pressableProps,
|
|
69356
69508
|
children: children ?? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
69357
|
-
icon,
|
|
69509
|
+
/* @__PURE__ */ jsx(DynamicIcon, { name: icon, size: 16, className: "shrink-0" }),
|
|
69358
69510
|
label,
|
|
69359
|
-
iconAfter
|
|
69511
|
+
/* @__PURE__ */ jsx(DynamicIcon, { name: iconAfter, size: 16, className: "shrink-0" })
|
|
69360
69512
|
] })
|
|
69361
69513
|
},
|
|
69362
69514
|
index
|
|
@@ -69545,20 +69697,19 @@ var NavbarTabbedSections = ({
|
|
|
69545
69697
|
children: renderAuthActions
|
|
69546
69698
|
}
|
|
69547
69699
|
),
|
|
69548
|
-
/* @__PURE__ */ jsxs(
|
|
69700
|
+
/* @__PURE__ */ jsx("div", { className: "flex lg:hidden", children: /* @__PURE__ */ jsxs(
|
|
69549
69701
|
Pressable,
|
|
69550
69702
|
{
|
|
69551
69703
|
variant: "ghost",
|
|
69552
69704
|
size: "icon",
|
|
69553
69705
|
asButton: true,
|
|
69554
|
-
className: "lg:hidden",
|
|
69555
69706
|
onClick: () => setIsOpen(!isOpen),
|
|
69556
69707
|
children: [
|
|
69557
69708
|
/* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/menu", size: 20 }),
|
|
69558
69709
|
/* @__PURE__ */ jsx("span", { className: "sr-only", children: "Toggle menu" })
|
|
69559
69710
|
]
|
|
69560
69711
|
}
|
|
69561
|
-
),
|
|
69712
|
+
) }),
|
|
69562
69713
|
/* @__PURE__ */ jsx(
|
|
69563
69714
|
NavbarMobileMenu,
|
|
69564
69715
|
{
|