@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
|
@@ -770,26 +770,27 @@ var NavbarPlatformResources = ({
|
|
|
770
770
|
const renderDropdownContent = (link) => {
|
|
771
771
|
const layout = link.layout || "simple-list";
|
|
772
772
|
if (layout === "simple-list") {
|
|
773
|
-
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(
|
|
773
|
+
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(
|
|
774
774
|
"li",
|
|
775
775
|
{
|
|
776
|
+
className: "w-full",
|
|
776
777
|
children: /* @__PURE__ */ jsxs(
|
|
777
778
|
NavigationMenuLink,
|
|
778
779
|
{
|
|
779
780
|
href: getLinkUrl(item),
|
|
780
|
-
className: "group/link flex-row gap-2 px-3 py-2 transition-colors duration-200",
|
|
781
|
+
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",
|
|
781
782
|
children: [
|
|
782
|
-
/* @__PURE__ */ jsx("div", { className: "flex size-8 shrink-0 rounded-lg border duration-400 fade-in group-hover/link:bg-background", children:
|
|
783
|
+
/* @__PURE__ */ jsx("div", { className: "flex size-8 shrink-0 rounded-lg border duration-400 fade-in group-hover/link:bg-background", children: /* @__PURE__ */ jsx(
|
|
783
784
|
DynamicIcon,
|
|
784
785
|
{
|
|
785
|
-
name: item.iconName,
|
|
786
|
+
name: item.icon || item.iconName,
|
|
786
787
|
size: 16,
|
|
787
788
|
className: "m-auto group-hover/link:stroke-black"
|
|
788
789
|
}
|
|
789
|
-
)
|
|
790
|
-
/* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-0.5", children: [
|
|
790
|
+
) }),
|
|
791
|
+
/* @__PURE__ */ jsxs("div", { className: "flex min-w-0 flex-1 flex-col gap-0.5", children: [
|
|
791
792
|
/* @__PURE__ */ jsx("div", { className: "text-sm font-medium", children: item.label }),
|
|
792
|
-
item.description && /* @__PURE__ */ jsx("div", { className: "text-xs text-muted-foreground group-hover/link:text-foreground", children: item.description })
|
|
793
|
+
item.description && /* @__PURE__ */ jsx("div", { className: "break-words text-xs text-muted-foreground group-hover/link:text-foreground", children: item.description })
|
|
793
794
|
] })
|
|
794
795
|
]
|
|
795
796
|
}
|
|
@@ -801,12 +802,12 @@ var NavbarPlatformResources = ({
|
|
|
801
802
|
if (layout === "featured-grid" && link.links && link.links.length > 0) {
|
|
802
803
|
const featuredItem = link.links[0];
|
|
803
804
|
const gridItems = link.links.slice(1);
|
|
804
|
-
return /* @__PURE__ */ jsx(NavigationMenuContent, { className: "
|
|
805
|
+
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: [
|
|
805
806
|
/* @__PURE__ */ jsx(
|
|
806
807
|
NavigationMenuLink,
|
|
807
808
|
{
|
|
808
809
|
href: getLinkUrl(featuredItem),
|
|
809
|
-
className: "group w-
|
|
810
|
+
className: "group block h-full min-w-0 p-0 hover:bg-transparent",
|
|
810
811
|
children: /* @__PURE__ */ jsxs("div", { className: "overflow-clip rounded-lg border border-input bg-background", children: [
|
|
811
812
|
/* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
|
|
812
813
|
Img,
|
|
@@ -824,17 +825,23 @@ var NavbarPlatformResources = ({
|
|
|
824
825
|
] })
|
|
825
826
|
}
|
|
826
827
|
),
|
|
827
|
-
/* @__PURE__ */ jsxs("div", { className: "
|
|
828
|
+
/* @__PURE__ */ jsxs("div", { className: "min-w-0", children: [
|
|
828
829
|
link.dropdownGroups && link.dropdownGroups[0] && /* @__PURE__ */ jsx("div", { className: "mb-6 text-xs tracking-widest text-muted-foreground uppercase", children: link.dropdownGroups[0].label }),
|
|
829
830
|
/* @__PURE__ */ jsx("div", { className: "grid grid-cols-1 gap-6 lg:grid-cols-2 lg:gap-8", children: gridItems.map((item, itemIndex) => /* @__PURE__ */ jsxs(
|
|
830
831
|
NavigationMenuLink,
|
|
831
832
|
{
|
|
832
833
|
href: getLinkUrl(item),
|
|
833
|
-
className: "group block p-4",
|
|
834
|
+
className: "group block h-full w-full min-w-0 rounded-md p-4",
|
|
834
835
|
children: [
|
|
835
|
-
(item.icon || item.iconName) && /* @__PURE__ */ jsx("div", { className: "mb-5 group-hover:opacity-60", children:
|
|
836
|
-
|
|
837
|
-
|
|
836
|
+
(item.icon || item.iconName) && /* @__PURE__ */ jsx("div", { className: "mb-5 group-hover:opacity-60", children: /* @__PURE__ */ jsx(
|
|
837
|
+
DynamicIcon,
|
|
838
|
+
{
|
|
839
|
+
name: item.icon || item.iconName,
|
|
840
|
+
size: 20
|
|
841
|
+
}
|
|
842
|
+
) }),
|
|
843
|
+
/* @__PURE__ */ jsx("div", { className: "mb-1 break-words text-base", children: item.label }),
|
|
844
|
+
item.description && /* @__PURE__ */ jsx("div", { className: "break-words text-sm font-normal text-muted-foreground", children: item.description })
|
|
838
845
|
]
|
|
839
846
|
},
|
|
840
847
|
`${typeof item.label === "string" ? item.label : "item"}-${itemIndex}`
|
|
@@ -844,17 +851,23 @@ var NavbarPlatformResources = ({
|
|
|
844
851
|
}
|
|
845
852
|
if (layout === "two-column-cta" && link.dropdownGroups && link.dropdownGroups.length > 0) {
|
|
846
853
|
const ctaItem = link.links && link.links.length > 0 ? link.links[link.links.length - 1] : null;
|
|
847
|
-
return /* @__PURE__ */ jsx(NavigationMenuContent, { className: "
|
|
848
|
-
/* @__PURE__ */ jsx("div", { className: "
|
|
854
|
+
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: [
|
|
855
|
+
/* @__PURE__ */ jsx("div", { className: "min-w-0", children: link.dropdownGroups[0] && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
849
856
|
/* @__PURE__ */ jsx("div", { className: "mb-6 text-xs tracking-widest text-muted-foreground uppercase", children: link.dropdownGroups[0].label }),
|
|
850
857
|
/* @__PURE__ */ jsx("div", { className: "grid grid-cols-2 gap-4", children: link.dropdownGroups[0].links.map((item, itemIndex) => /* @__PURE__ */ jsxs(
|
|
851
858
|
NavigationMenuLink,
|
|
852
859
|
{
|
|
853
860
|
href: getLinkUrl(item),
|
|
854
|
-
className: "group flex flex-row items-center gap-5",
|
|
861
|
+
className: "group !flex !w-full min-w-0 flex-row items-center gap-5 rounded-md p-2",
|
|
855
862
|
children: [
|
|
856
|
-
(item.icon || item.iconName) && /* @__PURE__ */ jsx("div", { className: "group-hover:opacity-60", children:
|
|
857
|
-
|
|
863
|
+
(item.icon || item.iconName) && /* @__PURE__ */ jsx("div", { className: "group-hover:opacity-60", children: /* @__PURE__ */ jsx(
|
|
864
|
+
DynamicIcon,
|
|
865
|
+
{
|
|
866
|
+
name: item.icon || item.iconName,
|
|
867
|
+
size: 16
|
|
868
|
+
}
|
|
869
|
+
) }),
|
|
870
|
+
/* @__PURE__ */ jsx("div", { className: "min-w-0 break-words text-base", children: item.label })
|
|
858
871
|
]
|
|
859
872
|
},
|
|
860
873
|
`${typeof item.label === "string" ? item.label : "item"}-${itemIndex}`
|
|
@@ -864,7 +877,7 @@ var NavbarPlatformResources = ({
|
|
|
864
877
|
NavigationMenuLink,
|
|
865
878
|
{
|
|
866
879
|
href: getLinkUrl(ctaItem),
|
|
867
|
-
className: "group
|
|
880
|
+
className: "group min-w-0 p-0 hover:bg-transparent",
|
|
868
881
|
children: /* @__PURE__ */ jsxs("div", { className: "flex h-full rounded-lg border border-input bg-background p-0 hover:bg-transparent", children: [
|
|
869
882
|
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(
|
|
870
883
|
Img,
|
|
@@ -875,11 +888,11 @@ var NavbarPlatformResources = ({
|
|
|
875
888
|
optixFlowConfig
|
|
876
889
|
}
|
|
877
890
|
) }),
|
|
878
|
-
/* @__PURE__ */ jsxs("div", { className: "flex flex-col p-5 xl:p-8", children: [
|
|
891
|
+
/* @__PURE__ */ jsxs("div", { className: "flex min-w-0 flex-col p-5 xl:p-8", children: [
|
|
879
892
|
ctaItem.background && /* @__PURE__ */ jsx("div", { className: "mb-8 text-xs tracking-widest text-muted-foreground uppercase", children: ctaItem.background }),
|
|
880
893
|
/* @__PURE__ */ jsxs("div", { className: "mt-auto", children: [
|
|
881
|
-
/* @__PURE__ */ jsx("div", { className: "mb-4 text-xl", children: ctaItem.label }),
|
|
882
|
-
ctaItem.description && /* @__PURE__ */ jsx("div", { className: "text-sm font-normal text-muted-foreground", children: ctaItem.description })
|
|
894
|
+
/* @__PURE__ */ jsx("div", { className: "mb-4 break-words text-xl", children: ctaItem.label }),
|
|
895
|
+
ctaItem.description && /* @__PURE__ */ jsx("div", { className: "break-words text-sm font-normal text-muted-foreground", children: ctaItem.description })
|
|
883
896
|
] })
|
|
884
897
|
] })
|
|
885
898
|
] })
|
|
@@ -890,32 +903,38 @@ var NavbarPlatformResources = ({
|
|
|
890
903
|
if (layout === "list-showcase" && link.dropdownGroups && link.dropdownGroups.length > 0) {
|
|
891
904
|
const listItems = link.dropdownGroups[0].links;
|
|
892
905
|
const showcaseItems = link.links || [];
|
|
893
|
-
return /* @__PURE__ */ jsx(NavigationMenuContent, { className: "
|
|
894
|
-
/* @__PURE__ */ jsx("div", { className: "
|
|
906
|
+
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: [
|
|
907
|
+
/* @__PURE__ */ jsx("div", { className: "min-w-0", children: /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
895
908
|
/* @__PURE__ */ jsx("div", { className: "mb-4 text-xs tracking-widest text-muted-foreground uppercase", children: link.dropdownGroups[0].label }),
|
|
896
909
|
link.dropdownGroups[0].description && /* @__PURE__ */ jsx("div", { className: "mb-6 text-sm font-normal text-muted-foreground", children: link.dropdownGroups[0].description }),
|
|
897
910
|
/* @__PURE__ */ jsx("div", { className: "-ml-2.5 space-y-2.5", children: listItems.map((item, itemIndex) => /* @__PURE__ */ jsxs(
|
|
898
911
|
NavigationMenuLink,
|
|
899
912
|
{
|
|
900
913
|
href: getLinkUrl(item),
|
|
901
|
-
className: "group flex flex-row items-center gap-2.5 rounded-md p-2.5 focus:text-accent-foreground",
|
|
914
|
+
className: "group !flex !w-full min-w-0 flex-row items-center gap-2.5 rounded-md p-2.5 focus:text-accent-foreground",
|
|
902
915
|
children: [
|
|
903
|
-
(item.icon || item.iconName) &&
|
|
904
|
-
|
|
916
|
+
(item.icon || item.iconName) && /* @__PURE__ */ jsx(
|
|
917
|
+
DynamicIcon,
|
|
918
|
+
{
|
|
919
|
+
name: item.icon || item.iconName,
|
|
920
|
+
size: 16
|
|
921
|
+
}
|
|
922
|
+
),
|
|
923
|
+
/* @__PURE__ */ jsx("div", { className: "min-w-0 break-words text-base", children: item.label })
|
|
905
924
|
]
|
|
906
925
|
},
|
|
907
926
|
`${typeof item.label === "string" ? item.label : "item"}-${itemIndex}`
|
|
908
927
|
)) })
|
|
909
928
|
] }) }),
|
|
910
|
-
/* @__PURE__ */ jsx("div", { className: "
|
|
929
|
+
/* @__PURE__ */ jsx("div", { className: "min-w-0 space-y-6", children: showcaseItems.map((showcase, showcaseIndex) => /* @__PURE__ */ jsxs(
|
|
911
930
|
NavigationMenuLink,
|
|
912
931
|
{
|
|
913
932
|
href: getLinkUrl(showcase),
|
|
914
|
-
className: "flex flex-row items-center overflow-clip rounded-lg border border-input bg-background p-0 hover:bg-transparent",
|
|
933
|
+
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",
|
|
915
934
|
children: [
|
|
916
|
-
/* @__PURE__ */ jsxs("div", { className: "flex-1 p-5 xl:p-8", children: [
|
|
917
|
-
/* @__PURE__ */ jsx("div", { className: "mb-2 text-base", children: showcase.label }),
|
|
918
|
-
showcase.description && /* @__PURE__ */ jsx("div", { className: "text-sm font-normal text-muted-foreground", children: showcase.description })
|
|
935
|
+
/* @__PURE__ */ jsxs("div", { className: "min-w-0 flex-1 p-5 xl:p-8", children: [
|
|
936
|
+
/* @__PURE__ */ jsx("div", { className: "mb-2 break-words text-base", children: showcase.label }),
|
|
937
|
+
showcase.description && /* @__PURE__ */ jsx("div", { className: "break-words text-sm font-normal text-muted-foreground", children: showcase.description })
|
|
919
938
|
] }),
|
|
920
939
|
/* @__PURE__ */ jsx("div", { className: "h-[154px] max-w-[264px] shrink-0", children: /* @__PURE__ */ jsx(
|
|
921
940
|
Img,
|
|
@@ -934,7 +953,7 @@ var NavbarPlatformResources = ({
|
|
|
934
953
|
}
|
|
935
954
|
if (layout === "multi-section" && link.dropdownGroups) {
|
|
936
955
|
const ctaItem = link.links && link.links.length > 0 ? link.links[link.links.length - 1] : null;
|
|
937
|
-
return /* @__PURE__ */ jsx(NavigationMenuContent, { className: "
|
|
956
|
+
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: [
|
|
938
957
|
link.dropdownGroups.map((group, groupIndex) => /* @__PURE__ */ jsxs(
|
|
939
958
|
"div",
|
|
940
959
|
{
|
|
@@ -945,10 +964,10 @@ var NavbarPlatformResources = ({
|
|
|
945
964
|
NavigationMenuLink,
|
|
946
965
|
{
|
|
947
966
|
href: getLinkUrl(item),
|
|
948
|
-
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",
|
|
967
|
+
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",
|
|
949
968
|
children: /* @__PURE__ */ jsxs("div", { className: "mt-auto", children: [
|
|
950
|
-
/* @__PURE__ */ jsx("div", { className: "mb-2 text-base", children: item.label }),
|
|
951
|
-
item.description && /* @__PURE__ */ jsx("div", { className: "text-sm font-normal text-muted-foreground", children: item.description })
|
|
969
|
+
/* @__PURE__ */ jsx("div", { className: "mb-2 break-words text-base", children: item.label }),
|
|
970
|
+
item.description && /* @__PURE__ */ jsx("div", { className: "break-words text-sm font-normal text-muted-foreground", children: item.description })
|
|
952
971
|
] })
|
|
953
972
|
},
|
|
954
973
|
`${typeof item.label === "string" ? item.label : "item"}-${itemIndex}`
|
|
@@ -962,11 +981,11 @@ var NavbarPlatformResources = ({
|
|
|
962
981
|
NavigationMenuLink,
|
|
963
982
|
{
|
|
964
983
|
href: getLinkUrl(ctaItem),
|
|
965
|
-
className: "mb-6 flex flex-row overflow-clip rounded-lg border border-input bg-background p-0 hover:bg-transparent",
|
|
984
|
+
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",
|
|
966
985
|
children: [
|
|
967
|
-
/* @__PURE__ */ jsxs("div", { className: "flex-1 p-5 xl:p-8", children: [
|
|
968
|
-
/* @__PURE__ */ jsx("div", { className: "mb-2 text-base", children: ctaItem.label }),
|
|
969
|
-
ctaItem.description && /* @__PURE__ */ jsx("div", { className: "text-sm font-normal text-muted-foreground", children: ctaItem.description })
|
|
986
|
+
/* @__PURE__ */ jsxs("div", { className: "min-w-0 flex-1 p-5 xl:p-8", children: [
|
|
987
|
+
/* @__PURE__ */ jsx("div", { className: "mb-2 break-words text-base", children: ctaItem.label }),
|
|
988
|
+
ctaItem.description && /* @__PURE__ */ jsx("div", { className: "break-words text-sm font-normal text-muted-foreground", children: ctaItem.description })
|
|
970
989
|
] }),
|
|
971
990
|
ctaItem.image && /* @__PURE__ */ jsx("div", { className: "w-1/3 max-w-[130px] shrink-0", children: /* @__PURE__ */ jsx(
|
|
972
991
|
Img,
|
|
@@ -987,13 +1006,13 @@ var NavbarPlatformResources = ({
|
|
|
987
1006
|
] })
|
|
988
1007
|
] }) });
|
|
989
1008
|
}
|
|
990
|
-
return /* @__PURE__ */ jsx(NavigationMenuContent, { className: "
|
|
1009
|
+
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(
|
|
991
1010
|
NavigationMenuLink,
|
|
992
1011
|
{
|
|
993
1012
|
href: getLinkUrl(item),
|
|
994
|
-
className: "flex flex-row items-
|
|
1013
|
+
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",
|
|
995
1014
|
children: [
|
|
996
|
-
item.image && /* @__PURE__ */ jsx("div", { className: "h-12 w-12 overflow-hidden rounded-md border border-border", children: /* @__PURE__ */ jsx(
|
|
1015
|
+
item.image && /* @__PURE__ */ jsx("div", { className: "h-12 w-12 shrink-0 overflow-hidden rounded-md border border-border", children: /* @__PURE__ */ jsx(
|
|
997
1016
|
Img,
|
|
998
1017
|
{
|
|
999
1018
|
src: item.image,
|
|
@@ -1002,10 +1021,10 @@ var NavbarPlatformResources = ({
|
|
|
1002
1021
|
optixFlowConfig
|
|
1003
1022
|
}
|
|
1004
1023
|
) }),
|
|
1005
|
-
!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:
|
|
1006
|
-
/* @__PURE__ */ jsxs("div", { children: [
|
|
1007
|
-
/* @__PURE__ */ jsx("div", { className: "text-sm font-medium text-foreground", children: item.label }),
|
|
1008
|
-
item.description && /* @__PURE__ */ jsx("div", { className: "text-sm font-normal text-muted-foreground", children: item.description })
|
|
1024
|
+
!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 }) }),
|
|
1025
|
+
/* @__PURE__ */ jsxs("div", { className: "min-w-0 flex-1", children: [
|
|
1026
|
+
/* @__PURE__ */ jsx("div", { className: "break-words text-sm font-medium text-foreground", children: item.label }),
|
|
1027
|
+
item.description && /* @__PURE__ */ jsx("div", { className: "break-words text-sm font-normal text-muted-foreground", children: item.description })
|
|
1009
1028
|
] })
|
|
1010
1029
|
]
|
|
1011
1030
|
},
|
|
@@ -1024,9 +1043,9 @@ var NavbarPlatformResources = ({
|
|
|
1024
1043
|
...pressableProps
|
|
1025
1044
|
} = action;
|
|
1026
1045
|
return /* @__PURE__ */ jsx(Pressable, { className: actionClassName, ...pressableProps, children: children ?? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
1027
|
-
icon,
|
|
1046
|
+
/* @__PURE__ */ jsx(DynamicIcon, { name: icon, size: 16, className: "shrink-0" }),
|
|
1028
1047
|
label,
|
|
1029
|
-
iconAfter
|
|
1048
|
+
/* @__PURE__ */ jsx(DynamicIcon, { name: iconAfter, size: 16, className: "shrink-0" })
|
|
1030
1049
|
] }) }, index);
|
|
1031
1050
|
});
|
|
1032
1051
|
}, [actions]);
|
|
@@ -1150,13 +1169,13 @@ var NavbarPlatformResources = ({
|
|
|
1150
1169
|
href: getLinkUrl(item),
|
|
1151
1170
|
className: "flex items-center gap-2 pl-4 text-sm text-muted-foreground hover:text-foreground",
|
|
1152
1171
|
children: [
|
|
1153
|
-
(item.icon || item.iconName) &&
|
|
1172
|
+
(item.icon || item.iconName) && /* @__PURE__ */ jsx(
|
|
1154
1173
|
DynamicIcon,
|
|
1155
1174
|
{
|
|
1156
|
-
name: item.iconName,
|
|
1175
|
+
name: item.icon || item.iconName,
|
|
1157
1176
|
size: 14
|
|
1158
1177
|
}
|
|
1159
|
-
)
|
|
1178
|
+
),
|
|
1160
1179
|
item.label
|
|
1161
1180
|
]
|
|
1162
1181
|
},
|
|
@@ -714,7 +714,7 @@ var NavbarSearchFocused = ({
|
|
|
714
714
|
asChild: true,
|
|
715
715
|
className: navigationMenuTriggerStyle(),
|
|
716
716
|
children: /* @__PURE__ */ jsxRuntime.jsxs(pressable.Pressable, { href: item.url, children: [
|
|
717
|
-
|
|
717
|
+
/* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: item.icon || item.iconName, size: 16 }),
|
|
718
718
|
item.title
|
|
719
719
|
] })
|
|
720
720
|
}
|
|
@@ -741,9 +741,9 @@ var NavbarSearchFocused = ({
|
|
|
741
741
|
"aria-label": ariaLabel,
|
|
742
742
|
...pressableProps,
|
|
743
743
|
children: children ?? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
744
|
-
icon,
|
|
744
|
+
/* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: icon, size: 16, className: "shrink-0" }),
|
|
745
745
|
label,
|
|
746
|
-
iconAfter
|
|
746
|
+
/* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: iconAfter, size: 16, className: "shrink-0" })
|
|
747
747
|
] })
|
|
748
748
|
},
|
|
749
749
|
index
|
|
@@ -762,7 +762,7 @@ var NavbarSearchFocused = ({
|
|
|
762
762
|
className: "flex items-center gap-2 rounded-md py-2 text-sm",
|
|
763
763
|
onClick: () => setIsOpen(false),
|
|
764
764
|
children: [
|
|
765
|
-
icon,
|
|
765
|
+
/* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: icon, size: 16, className: "shrink-0" }),
|
|
766
766
|
label
|
|
767
767
|
]
|
|
768
768
|
},
|
|
@@ -905,9 +905,9 @@ var MobileNavigationMenu = ({
|
|
|
905
905
|
onClick: handleClose,
|
|
906
906
|
...pressableProps,
|
|
907
907
|
children: children ?? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
908
|
-
icon,
|
|
908
|
+
/* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: icon, size: 16, className: "shrink-0" }),
|
|
909
909
|
label,
|
|
910
|
-
iconAfter
|
|
910
|
+
/* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: iconAfter, size: 16, className: "shrink-0" })
|
|
911
911
|
] })
|
|
912
912
|
},
|
|
913
913
|
index
|
|
@@ -922,7 +922,7 @@ var MobileNavigationMenu = ({
|
|
|
922
922
|
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",
|
|
923
923
|
onClick: handleClose,
|
|
924
924
|
children: [
|
|
925
|
-
|
|
925
|
+
/* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: item.icon || item.iconName, size: 16 }),
|
|
926
926
|
item.title
|
|
927
927
|
]
|
|
928
928
|
},
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import * as React from 'react';
|
|
3
|
+
import { DynamicIconName } from './dynamic-icon.cjs';
|
|
3
4
|
import { S as SectionBackground, s as SectionSpacing, t as PatternName } from './community-initiatives-Cgd-IXlI.cjs';
|
|
4
|
-
import { L as LogoConfig, N as NavbarLayoutVariant } from './types-
|
|
5
|
+
import { L as LogoConfig, N as NavbarLayoutVariant } from './types-mWZcgKth.cjs';
|
|
5
6
|
import { A as ActionConfig, O as OptixFlowConfig } from './blocks-DyouPohq.cjs';
|
|
7
|
+
import '@page-speed/icon';
|
|
6
8
|
import 'class-variance-authority';
|
|
7
9
|
import '@page-speed/pressable';
|
|
8
10
|
import '@opensite/hooks/usePlatformFromUrl';
|
|
@@ -10,8 +12,8 @@ import '@opensite/hooks/usePlatformFromUrl';
|
|
|
10
12
|
interface NavItem {
|
|
11
13
|
title: React.ReactNode;
|
|
12
14
|
url: string;
|
|
13
|
-
icon?:
|
|
14
|
-
iconName?:
|
|
15
|
+
icon?: DynamicIconName;
|
|
16
|
+
iconName?: DynamicIconName;
|
|
15
17
|
}
|
|
16
18
|
/**
|
|
17
19
|
* Props for the NavbarSearchFocused component
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import * as React from 'react';
|
|
3
|
+
import { DynamicIconName } from './dynamic-icon.js';
|
|
3
4
|
import { S as SectionBackground, s as SectionSpacing, t as PatternName } from './community-initiatives-Dud0DKXB.js';
|
|
4
|
-
import { L as LogoConfig, N as NavbarLayoutVariant } from './types-
|
|
5
|
+
import { L as LogoConfig, N as NavbarLayoutVariant } from './types-hJ2R0GoH.js';
|
|
5
6
|
import { A as ActionConfig, O as OptixFlowConfig } from './blocks-DyouPohq.js';
|
|
7
|
+
import '@page-speed/icon';
|
|
6
8
|
import 'class-variance-authority';
|
|
7
9
|
import '@page-speed/pressable';
|
|
8
10
|
import '@opensite/hooks/usePlatformFromUrl';
|
|
@@ -10,8 +12,8 @@ import '@opensite/hooks/usePlatformFromUrl';
|
|
|
10
12
|
interface NavItem {
|
|
11
13
|
title: React.ReactNode;
|
|
12
14
|
url: string;
|
|
13
|
-
icon?:
|
|
14
|
-
iconName?:
|
|
15
|
+
icon?: DynamicIconName;
|
|
16
|
+
iconName?: DynamicIconName;
|
|
15
17
|
}
|
|
16
18
|
/**
|
|
17
19
|
* Props for the NavbarSearchFocused component
|
|
@@ -692,7 +692,7 @@ var NavbarSearchFocused = ({
|
|
|
692
692
|
asChild: true,
|
|
693
693
|
className: navigationMenuTriggerStyle(),
|
|
694
694
|
children: /* @__PURE__ */ jsxs(Pressable, { href: item.url, children: [
|
|
695
|
-
|
|
695
|
+
/* @__PURE__ */ jsx(DynamicIcon, { name: item.icon || item.iconName, size: 16 }),
|
|
696
696
|
item.title
|
|
697
697
|
] })
|
|
698
698
|
}
|
|
@@ -719,9 +719,9 @@ var NavbarSearchFocused = ({
|
|
|
719
719
|
"aria-label": ariaLabel,
|
|
720
720
|
...pressableProps,
|
|
721
721
|
children: children ?? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
722
|
-
icon,
|
|
722
|
+
/* @__PURE__ */ jsx(DynamicIcon, { name: icon, size: 16, className: "shrink-0" }),
|
|
723
723
|
label,
|
|
724
|
-
iconAfter
|
|
724
|
+
/* @__PURE__ */ jsx(DynamicIcon, { name: iconAfter, size: 16, className: "shrink-0" })
|
|
725
725
|
] })
|
|
726
726
|
},
|
|
727
727
|
index
|
|
@@ -740,7 +740,7 @@ var NavbarSearchFocused = ({
|
|
|
740
740
|
className: "flex items-center gap-2 rounded-md py-2 text-sm",
|
|
741
741
|
onClick: () => setIsOpen(false),
|
|
742
742
|
children: [
|
|
743
|
-
icon,
|
|
743
|
+
/* @__PURE__ */ jsx(DynamicIcon, { name: icon, size: 16, className: "shrink-0" }),
|
|
744
744
|
label
|
|
745
745
|
]
|
|
746
746
|
},
|
|
@@ -883,9 +883,9 @@ var MobileNavigationMenu = ({
|
|
|
883
883
|
onClick: handleClose,
|
|
884
884
|
...pressableProps,
|
|
885
885
|
children: children ?? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
886
|
-
icon,
|
|
886
|
+
/* @__PURE__ */ jsx(DynamicIcon, { name: icon, size: 16, className: "shrink-0" }),
|
|
887
887
|
label,
|
|
888
|
-
iconAfter
|
|
888
|
+
/* @__PURE__ */ jsx(DynamicIcon, { name: iconAfter, size: 16, className: "shrink-0" })
|
|
889
889
|
] })
|
|
890
890
|
},
|
|
891
891
|
index
|
|
@@ -900,7 +900,7 @@ var MobileNavigationMenu = ({
|
|
|
900
900
|
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",
|
|
901
901
|
onClick: handleClose,
|
|
902
902
|
children: [
|
|
903
|
-
|
|
903
|
+
/* @__PURE__ */ jsx(DynamicIcon, { name: item.icon || item.iconName, size: 16 }),
|
|
904
904
|
item.title
|
|
905
905
|
]
|
|
906
906
|
},
|
|
@@ -827,9 +827,9 @@ var NavbarSidebarMobile = ({
|
|
|
827
827
|
className: actionClassName,
|
|
828
828
|
...pressableProps,
|
|
829
829
|
children: children ?? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
830
|
-
icon,
|
|
830
|
+
/* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: icon, size: 16, className: "shrink-0" }),
|
|
831
831
|
label,
|
|
832
|
-
iconAfter
|
|
832
|
+
/* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: iconAfter, size: 16, className: "shrink-0" })
|
|
833
833
|
] })
|
|
834
834
|
},
|
|
835
835
|
index
|
|
@@ -996,9 +996,9 @@ var MobileNavigationMenu = ({
|
|
|
996
996
|
className: cn("w-full", actionClassName),
|
|
997
997
|
...pressableProps,
|
|
998
998
|
children: children ?? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
999
|
-
icon,
|
|
999
|
+
/* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: icon, size: 16, className: "shrink-0" }),
|
|
1000
1000
|
label,
|
|
1001
|
-
iconAfter
|
|
1001
|
+
/* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: iconAfter, size: 16, className: "shrink-0" })
|
|
1002
1002
|
] })
|
|
1003
1003
|
},
|
|
1004
1004
|
index
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import * as React from 'react';
|
|
3
|
+
import { DynamicIconName } from './dynamic-icon.cjs';
|
|
3
4
|
import { S as SectionBackground, s as SectionSpacing, t as PatternName } from './community-initiatives-Cgd-IXlI.cjs';
|
|
4
|
-
import { L as LogoConfig, N as NavbarLayoutVariant } from './types-
|
|
5
|
+
import { L as LogoConfig, N as NavbarLayoutVariant } from './types-mWZcgKth.cjs';
|
|
5
6
|
import { A as ActionConfig, O as OptixFlowConfig } from './blocks-DyouPohq.cjs';
|
|
7
|
+
import '@page-speed/icon';
|
|
6
8
|
import 'class-variance-authority';
|
|
7
9
|
import '@page-speed/pressable';
|
|
8
10
|
import '@opensite/hooks/usePlatformFromUrl';
|
|
@@ -11,7 +13,7 @@ interface SubMenuItem {
|
|
|
11
13
|
title: string;
|
|
12
14
|
url: string;
|
|
13
15
|
description?: string;
|
|
14
|
-
icon?:
|
|
16
|
+
icon?: DynamicIconName;
|
|
15
17
|
}
|
|
16
18
|
interface MenuItem {
|
|
17
19
|
title: string;
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import * as React from 'react';
|
|
3
|
+
import { DynamicIconName } from './dynamic-icon.js';
|
|
3
4
|
import { S as SectionBackground, s as SectionSpacing, t as PatternName } from './community-initiatives-Dud0DKXB.js';
|
|
4
|
-
import { L as LogoConfig, N as NavbarLayoutVariant } from './types-
|
|
5
|
+
import { L as LogoConfig, N as NavbarLayoutVariant } from './types-hJ2R0GoH.js';
|
|
5
6
|
import { A as ActionConfig, O as OptixFlowConfig } from './blocks-DyouPohq.js';
|
|
7
|
+
import '@page-speed/icon';
|
|
6
8
|
import 'class-variance-authority';
|
|
7
9
|
import '@page-speed/pressable';
|
|
8
10
|
import '@opensite/hooks/usePlatformFromUrl';
|
|
@@ -11,7 +13,7 @@ interface SubMenuItem {
|
|
|
11
13
|
title: string;
|
|
12
14
|
url: string;
|
|
13
15
|
description?: string;
|
|
14
|
-
icon?:
|
|
16
|
+
icon?: DynamicIconName;
|
|
15
17
|
}
|
|
16
18
|
interface MenuItem {
|
|
17
19
|
title: string;
|
|
@@ -804,9 +804,9 @@ var NavbarSidebarMobile = ({
|
|
|
804
804
|
className: actionClassName,
|
|
805
805
|
...pressableProps,
|
|
806
806
|
children: children ?? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
807
|
-
icon,
|
|
807
|
+
/* @__PURE__ */ jsx(DynamicIcon, { name: icon, size: 16, className: "shrink-0" }),
|
|
808
808
|
label,
|
|
809
|
-
iconAfter
|
|
809
|
+
/* @__PURE__ */ jsx(DynamicIcon, { name: iconAfter, size: 16, className: "shrink-0" })
|
|
810
810
|
] })
|
|
811
811
|
},
|
|
812
812
|
index
|
|
@@ -973,9 +973,9 @@ var MobileNavigationMenu = ({
|
|
|
973
973
|
className: cn("w-full", actionClassName),
|
|
974
974
|
...pressableProps,
|
|
975
975
|
children: children ?? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
976
|
-
icon,
|
|
976
|
+
/* @__PURE__ */ jsx(DynamicIcon, { name: icon, size: 16, className: "shrink-0" }),
|
|
977
977
|
label,
|
|
978
|
-
iconAfter
|
|
978
|
+
/* @__PURE__ */ jsx(DynamicIcon, { name: iconAfter, size: 16, className: "shrink-0" })
|
|
979
979
|
] })
|
|
980
980
|
},
|
|
981
981
|
index
|
|
@@ -755,9 +755,9 @@ var NavbarSimpleLinks = ({
|
|
|
755
755
|
className: cn("h-10 py-2.5 text-sm font-normal", actionClassName),
|
|
756
756
|
...pressableProps,
|
|
757
757
|
children: children ?? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
758
|
-
icon,
|
|
758
|
+
/* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: icon, size: 16, className: "shrink-0" }),
|
|
759
759
|
label,
|
|
760
|
-
iconAfter
|
|
760
|
+
/* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: iconAfter, size: 16, className: "shrink-0" })
|
|
761
761
|
] })
|
|
762
762
|
},
|
|
763
763
|
index
|
|
@@ -899,9 +899,9 @@ var MobileNavigationMenu = ({
|
|
|
899
899
|
onClick: onClose,
|
|
900
900
|
...pressableProps,
|
|
901
901
|
children: children ?? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
902
|
-
icon,
|
|
902
|
+
/* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: icon, size: 16, className: "shrink-0" }),
|
|
903
903
|
label,
|
|
904
|
-
iconAfter
|
|
904
|
+
/* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: iconAfter, size: 16, className: "shrink-0" })
|
|
905
905
|
] })
|
|
906
906
|
},
|
|
907
907
|
index
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import { S as SectionBackground, s as SectionSpacing, t as PatternName } from './community-initiatives-Cgd-IXlI.cjs';
|
|
4
|
-
import { L as LogoConfig, N as NavbarLayoutVariant } from './types-
|
|
4
|
+
import { L as LogoConfig, N as NavbarLayoutVariant } from './types-mWZcgKth.cjs';
|
|
5
5
|
import { A as ActionConfig, O as OptixFlowConfig } from './blocks-DyouPohq.cjs';
|
|
6
|
+
import './dynamic-icon.cjs';
|
|
7
|
+
import '@page-speed/icon';
|
|
6
8
|
import 'class-variance-authority';
|
|
7
9
|
import '@page-speed/pressable';
|
|
8
10
|
import '@opensite/hooks/usePlatformFromUrl';
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import { S as SectionBackground, s as SectionSpacing, t as PatternName } from './community-initiatives-Dud0DKXB.js';
|
|
4
|
-
import { L as LogoConfig, N as NavbarLayoutVariant } from './types-
|
|
4
|
+
import { L as LogoConfig, N as NavbarLayoutVariant } from './types-hJ2R0GoH.js';
|
|
5
5
|
import { A as ActionConfig, O as OptixFlowConfig } from './blocks-DyouPohq.js';
|
|
6
|
+
import './dynamic-icon.js';
|
|
7
|
+
import '@page-speed/icon';
|
|
6
8
|
import 'class-variance-authority';
|
|
7
9
|
import '@page-speed/pressable';
|
|
8
10
|
import '@opensite/hooks/usePlatformFromUrl';
|
|
@@ -733,9 +733,9 @@ var NavbarSimpleLinks = ({
|
|
|
733
733
|
className: cn("h-10 py-2.5 text-sm font-normal", actionClassName),
|
|
734
734
|
...pressableProps,
|
|
735
735
|
children: children ?? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
736
|
-
icon,
|
|
736
|
+
/* @__PURE__ */ jsx(DynamicIcon, { name: icon, size: 16, className: "shrink-0" }),
|
|
737
737
|
label,
|
|
738
|
-
iconAfter
|
|
738
|
+
/* @__PURE__ */ jsx(DynamicIcon, { name: iconAfter, size: 16, className: "shrink-0" })
|
|
739
739
|
] })
|
|
740
740
|
},
|
|
741
741
|
index
|
|
@@ -877,9 +877,9 @@ var MobileNavigationMenu = ({
|
|
|
877
877
|
onClick: onClose,
|
|
878
878
|
...pressableProps,
|
|
879
879
|
children: children ?? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
880
|
-
icon,
|
|
880
|
+
/* @__PURE__ */ jsx(DynamicIcon, { name: icon, size: 16, className: "shrink-0" }),
|
|
881
881
|
label,
|
|
882
|
-
iconAfter
|
|
882
|
+
/* @__PURE__ */ jsx(DynamicIcon, { name: iconAfter, size: 16, className: "shrink-0" })
|
|
883
883
|
] })
|
|
884
884
|
},
|
|
885
885
|
index
|