@opensite/ui 3.4.6 → 3.4.8
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 +2 -2
- package/dist/navbar-centered-menu.d.cts +4 -2
- package/dist/navbar-centered-menu.d.ts +4 -2
- package/dist/navbar-centered-menu.js +2 -2
- package/dist/navbar-dark-icons.cjs +7 -7
- package/dist/navbar-dark-icons.d.cts +5 -3
- package/dist/navbar-dark-icons.d.ts +5 -3
- package/dist/navbar-dark-icons.js +7 -7
- package/dist/navbar-dropdown-menu.cjs +2 -2
- package/dist/navbar-dropdown-menu.d.cts +4 -2
- package/dist/navbar-dropdown-menu.d.ts +4 -2
- package/dist/navbar-dropdown-menu.js +2 -2
- 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 +12 -5
- package/dist/navbar-enterprise-mega.d.cts +10 -8
- package/dist/navbar-enterprise-mega.d.ts +10 -8
- package/dist/navbar-enterprise-mega.js +12 -5
- 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 +30 -12
- package/dist/navbar-platform-resources.d.cts +3 -1
- package/dist/navbar-platform-resources.d.ts +3 -1
- package/dist/navbar-platform-resources.js +30 -12
- 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 +2 -2
- package/dist/navbar-split-cta.d.cts +4 -2
- package/dist/navbar-split-cta.d.ts +4 -2
- package/dist/navbar-split-cta.js +2 -2
- package/dist/navbar-sticky-compact.cjs +4 -4
- package/dist/navbar-sticky-compact.d.cts +4 -2
- package/dist/navbar-sticky-compact.d.ts +4 -2
- package/dist/navbar-sticky-compact.js +4 -4
- package/dist/navbar-tabbed-sections.cjs +2 -2
- package/dist/navbar-tabbed-sections.d.cts +5 -3
- package/dist/navbar-tabbed-sections.d.ts +5 -3
- package/dist/navbar-tabbed-sections.js +2 -2
- 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 +177 -107
- package/dist/registry.js +177 -107
- package/dist/social-link-icon.d.cts +1 -1
- package/dist/social-link-icon.d.ts +1 -1
- 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
|
@@ -892,9 +892,16 @@ var NavbarAnimatedPreview = ({
|
|
|
892
892
|
className: actionClassName,
|
|
893
893
|
...pressableProps,
|
|
894
894
|
children: children ?? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
895
|
-
icon,
|
|
895
|
+
/* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: icon, size: 16, className: "shrink-0" }),
|
|
896
896
|
label,
|
|
897
|
-
|
|
897
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
898
|
+
DynamicIcon,
|
|
899
|
+
{
|
|
900
|
+
name: iconAfter ?? "lucide/chevron-right",
|
|
901
|
+
size: 16,
|
|
902
|
+
className: "shrink-0"
|
|
903
|
+
}
|
|
904
|
+
)
|
|
898
905
|
] })
|
|
899
906
|
},
|
|
900
907
|
index
|
|
@@ -1223,14 +1230,14 @@ var FeaturedLink = ({ link, optixFlowConfig }) => {
|
|
|
1223
1230
|
className: "group relative flex w-full overflow-hidden rounded-xl bg-muted px-4 pt-24 pb-4",
|
|
1224
1231
|
children: [
|
|
1225
1232
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative z-10 flex w-full items-center gap-6", children: [
|
|
1226
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex size-12 shrink-0 rounded-lg border bg-background shadow-lg", children:
|
|
1233
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex size-12 shrink-0 rounded-lg border bg-background shadow-lg", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1227
1234
|
DynamicIcon,
|
|
1228
1235
|
{
|
|
1229
|
-
name: link.iconName,
|
|
1236
|
+
name: link.icon || link.iconName,
|
|
1230
1237
|
size: 20,
|
|
1231
1238
|
className: "m-auto stroke-white"
|
|
1232
1239
|
}
|
|
1233
|
-
)
|
|
1240
|
+
) }),
|
|
1234
1241
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col text-white text-shadow-lg", children: [
|
|
1235
1242
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-lg font-semibold", children: link.label }),
|
|
1236
1243
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "font-medium", children: link.description })
|
|
@@ -1260,10 +1267,10 @@ var NavLink = React.forwardRef(
|
|
|
1260
1267
|
onMouseEnter,
|
|
1261
1268
|
onMouseLeave,
|
|
1262
1269
|
children: [
|
|
1263
|
-
(link.icon || link.iconName) && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex size-6 shrink-0 rounded-md border shadow", children:
|
|
1270
|
+
(link.icon || link.iconName) && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex size-6 shrink-0 rounded-md border shadow", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1264
1271
|
DynamicIcon,
|
|
1265
1272
|
{
|
|
1266
|
-
name: link.iconName,
|
|
1273
|
+
name: link.icon || link.iconName,
|
|
1267
1274
|
size: 14,
|
|
1268
1275
|
className: "m-auto"
|
|
1269
1276
|
}
|
|
@@ -1304,9 +1311,9 @@ var MobileNavigationMenu = ({
|
|
|
1304
1311
|
className: actionClassName,
|
|
1305
1312
|
...pressableProps,
|
|
1306
1313
|
children: children ?? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
1307
|
-
icon,
|
|
1314
|
+
/* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: icon, size: 16, className: "shrink-0" }),
|
|
1308
1315
|
label,
|
|
1309
|
-
iconAfter
|
|
1316
|
+
/* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: iconAfter, size: 16, className: "shrink-0" })
|
|
1310
1317
|
] })
|
|
1311
1318
|
},
|
|
1312
1319
|
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 { a as ILinkItem, b as IMenuLinkGroup, L as LogoConfig, N as NavbarLayoutVariant } from './types-
|
|
4
|
+
import { a as ILinkItem, b as IMenuLinkGroup, 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 { a as ILinkItem, b as IMenuLinkGroup, L as LogoConfig, N as NavbarLayoutVariant } from './types-
|
|
4
|
+
import { a as ILinkItem, b as IMenuLinkGroup, 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';
|
|
@@ -867,9 +867,16 @@ var NavbarAnimatedPreview = ({
|
|
|
867
867
|
className: actionClassName,
|
|
868
868
|
...pressableProps,
|
|
869
869
|
children: children ?? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
870
|
-
icon,
|
|
870
|
+
/* @__PURE__ */ jsx(DynamicIcon, { name: icon, size: 16, className: "shrink-0" }),
|
|
871
871
|
label,
|
|
872
|
-
|
|
872
|
+
/* @__PURE__ */ jsx(
|
|
873
|
+
DynamicIcon,
|
|
874
|
+
{
|
|
875
|
+
name: iconAfter ?? "lucide/chevron-right",
|
|
876
|
+
size: 16,
|
|
877
|
+
className: "shrink-0"
|
|
878
|
+
}
|
|
879
|
+
)
|
|
873
880
|
] })
|
|
874
881
|
},
|
|
875
882
|
index
|
|
@@ -1198,14 +1205,14 @@ var FeaturedLink = ({ link, optixFlowConfig }) => {
|
|
|
1198
1205
|
className: "group relative flex w-full overflow-hidden rounded-xl bg-muted px-4 pt-24 pb-4",
|
|
1199
1206
|
children: [
|
|
1200
1207
|
/* @__PURE__ */ jsxs("div", { className: "relative z-10 flex w-full items-center gap-6", children: [
|
|
1201
|
-
/* @__PURE__ */ jsx("div", { className: "flex size-12 shrink-0 rounded-lg border bg-background shadow-lg", children:
|
|
1208
|
+
/* @__PURE__ */ jsx("div", { className: "flex size-12 shrink-0 rounded-lg border bg-background shadow-lg", children: /* @__PURE__ */ jsx(
|
|
1202
1209
|
DynamicIcon,
|
|
1203
1210
|
{
|
|
1204
|
-
name: link.iconName,
|
|
1211
|
+
name: link.icon || link.iconName,
|
|
1205
1212
|
size: 20,
|
|
1206
1213
|
className: "m-auto stroke-white"
|
|
1207
1214
|
}
|
|
1208
|
-
)
|
|
1215
|
+
) }),
|
|
1209
1216
|
/* @__PURE__ */ jsxs("div", { className: "flex flex-col text-white text-shadow-lg", children: [
|
|
1210
1217
|
/* @__PURE__ */ jsx("div", { className: "text-lg font-semibold", children: link.label }),
|
|
1211
1218
|
/* @__PURE__ */ jsx("div", { className: "font-medium", children: link.description })
|
|
@@ -1235,10 +1242,10 @@ var NavLink = forwardRef(
|
|
|
1235
1242
|
onMouseEnter,
|
|
1236
1243
|
onMouseLeave,
|
|
1237
1244
|
children: [
|
|
1238
|
-
(link.icon || link.iconName) && /* @__PURE__ */ jsx("div", { className: "flex size-6 shrink-0 rounded-md border shadow", children:
|
|
1245
|
+
(link.icon || link.iconName) && /* @__PURE__ */ jsx("div", { className: "flex size-6 shrink-0 rounded-md border shadow", children: /* @__PURE__ */ jsx(
|
|
1239
1246
|
DynamicIcon,
|
|
1240
1247
|
{
|
|
1241
|
-
name: link.iconName,
|
|
1248
|
+
name: link.icon || link.iconName,
|
|
1242
1249
|
size: 14,
|
|
1243
1250
|
className: "m-auto"
|
|
1244
1251
|
}
|
|
@@ -1279,9 +1286,9 @@ var MobileNavigationMenu = ({
|
|
|
1279
1286
|
className: actionClassName,
|
|
1280
1287
|
...pressableProps,
|
|
1281
1288
|
children: children ?? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
1282
|
-
icon,
|
|
1289
|
+
/* @__PURE__ */ jsx(DynamicIcon, { name: icon, size: 16, className: "shrink-0" }),
|
|
1283
1290
|
label,
|
|
1284
|
-
iconAfter
|
|
1291
|
+
/* @__PURE__ */ jsx(DynamicIcon, { name: iconAfter, size: 16, className: "shrink-0" })
|
|
1285
1292
|
] })
|
|
1286
1293
|
},
|
|
1287
1294
|
index
|
|
@@ -829,9 +829,9 @@ var NavbarCenteredMenu = ({
|
|
|
829
829
|
className: actionClassName,
|
|
830
830
|
...pressableProps,
|
|
831
831
|
children: children ?? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
832
|
-
icon,
|
|
832
|
+
/* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: icon, size: 16, className: "shrink-0" }),
|
|
833
833
|
label,
|
|
834
|
-
iconAfter
|
|
834
|
+
/* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: iconAfter, size: 16, className: "shrink-0" })
|
|
835
835
|
] })
|
|
836
836
|
},
|
|
837
837
|
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';
|
|
@@ -15,7 +17,7 @@ interface MenuItem {
|
|
|
15
17
|
title: string;
|
|
16
18
|
url: string;
|
|
17
19
|
description?: string;
|
|
18
|
-
icon?:
|
|
20
|
+
icon?: DynamicIconName;
|
|
19
21
|
items?: MenuItem[];
|
|
20
22
|
}
|
|
21
23
|
/**
|
|
@@ -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';
|
|
@@ -15,7 +17,7 @@ interface MenuItem {
|
|
|
15
17
|
title: string;
|
|
16
18
|
url: string;
|
|
17
19
|
description?: string;
|
|
18
|
-
icon?:
|
|
20
|
+
icon?: DynamicIconName;
|
|
19
21
|
items?: MenuItem[];
|
|
20
22
|
}
|
|
21
23
|
/**
|
|
@@ -806,9 +806,9 @@ var NavbarCenteredMenu = ({
|
|
|
806
806
|
className: actionClassName,
|
|
807
807
|
...pressableProps,
|
|
808
808
|
children: children ?? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
809
|
-
icon,
|
|
809
|
+
/* @__PURE__ */ jsx(DynamicIcon, { name: icon, size: 16, className: "shrink-0" }),
|
|
810
810
|
label,
|
|
811
|
-
iconAfter
|
|
811
|
+
/* @__PURE__ */ jsx(DynamicIcon, { name: iconAfter, size: 16, className: "shrink-0" })
|
|
812
812
|
] })
|
|
813
813
|
},
|
|
814
814
|
index
|
|
@@ -828,9 +828,9 @@ var NavbarDarkIcons = ({
|
|
|
828
828
|
className: actionClassName,
|
|
829
829
|
...pressableProps,
|
|
830
830
|
children: children ?? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
831
|
-
icon,
|
|
831
|
+
/* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: icon, size: 16, className: "shrink-0" }),
|
|
832
832
|
label,
|
|
833
|
-
iconAfter
|
|
833
|
+
/* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: iconAfter, size: 16, className: "shrink-0" })
|
|
834
834
|
] })
|
|
835
835
|
},
|
|
836
836
|
index
|
|
@@ -969,14 +969,14 @@ var MenuSubLink = ({ link }) => {
|
|
|
969
969
|
className: "flex items-center gap-4 rounded-lg p-2 hover:bg-muted",
|
|
970
970
|
children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex w-full items-center justify-between", children: [
|
|
971
971
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex gap-2.5", children: [
|
|
972
|
-
|
|
972
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
973
973
|
DynamicIcon,
|
|
974
974
|
{
|
|
975
|
-
name: link.iconName,
|
|
975
|
+
name: link.icon || link.iconName,
|
|
976
976
|
size: 20,
|
|
977
977
|
color: link.iconColor
|
|
978
978
|
}
|
|
979
|
-
)
|
|
979
|
+
),
|
|
980
980
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-1.5", children: [
|
|
981
981
|
/* @__PURE__ */ jsxRuntime.jsx("h3", { className: "text-sm leading-none", children: link.label }),
|
|
982
982
|
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm leading-[1.2] text-muted-foreground/80", children: link.description })
|
|
@@ -1020,9 +1020,9 @@ var MobileNavigationMenu = ({
|
|
|
1020
1020
|
className: cn("w-full", actionClassName),
|
|
1021
1021
|
...pressableProps,
|
|
1022
1022
|
children: children ?? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
1023
|
-
icon,
|
|
1023
|
+
/* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: icon, size: 16, className: "shrink-0" }),
|
|
1024
1024
|
label,
|
|
1025
|
-
iconAfter
|
|
1025
|
+
/* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: iconAfter, size: 16, className: "shrink-0" })
|
|
1026
1026
|
] })
|
|
1027
1027
|
},
|
|
1028
1028
|
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,8 +13,8 @@ interface MenuLink {
|
|
|
11
13
|
label: React.ReactNode;
|
|
12
14
|
description?: React.ReactNode;
|
|
13
15
|
url?: string;
|
|
14
|
-
icon?:
|
|
15
|
-
iconName?:
|
|
16
|
+
icon?: DynamicIconName;
|
|
17
|
+
iconName?: DynamicIconName;
|
|
16
18
|
iconColor?: string;
|
|
17
19
|
}
|
|
18
20
|
interface MenuItem {
|
|
@@ -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,8 +13,8 @@ interface MenuLink {
|
|
|
11
13
|
label: React.ReactNode;
|
|
12
14
|
description?: React.ReactNode;
|
|
13
15
|
url?: string;
|
|
14
|
-
icon?:
|
|
15
|
-
iconName?:
|
|
16
|
+
icon?: DynamicIconName;
|
|
17
|
+
iconName?: DynamicIconName;
|
|
16
18
|
iconColor?: string;
|
|
17
19
|
}
|
|
18
20
|
interface MenuItem {
|
|
@@ -805,9 +805,9 @@ var NavbarDarkIcons = ({
|
|
|
805
805
|
className: actionClassName,
|
|
806
806
|
...pressableProps,
|
|
807
807
|
children: children ?? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
808
|
-
icon,
|
|
808
|
+
/* @__PURE__ */ jsx(DynamicIcon, { name: icon, size: 16, className: "shrink-0" }),
|
|
809
809
|
label,
|
|
810
|
-
iconAfter
|
|
810
|
+
/* @__PURE__ */ jsx(DynamicIcon, { name: iconAfter, size: 16, className: "shrink-0" })
|
|
811
811
|
] })
|
|
812
812
|
},
|
|
813
813
|
index
|
|
@@ -946,14 +946,14 @@ var MenuSubLink = ({ link }) => {
|
|
|
946
946
|
className: "flex items-center gap-4 rounded-lg p-2 hover:bg-muted",
|
|
947
947
|
children: /* @__PURE__ */ jsxs("div", { className: "flex w-full items-center justify-between", children: [
|
|
948
948
|
/* @__PURE__ */ jsxs("div", { className: "flex gap-2.5", children: [
|
|
949
|
-
|
|
949
|
+
/* @__PURE__ */ jsx(
|
|
950
950
|
DynamicIcon,
|
|
951
951
|
{
|
|
952
|
-
name: link.iconName,
|
|
952
|
+
name: link.icon || link.iconName,
|
|
953
953
|
size: 20,
|
|
954
954
|
color: link.iconColor
|
|
955
955
|
}
|
|
956
|
-
)
|
|
956
|
+
),
|
|
957
957
|
/* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-1.5", children: [
|
|
958
958
|
/* @__PURE__ */ jsx("h3", { className: "text-sm leading-none", children: link.label }),
|
|
959
959
|
/* @__PURE__ */ jsx("p", { className: "text-sm leading-[1.2] text-muted-foreground/80", children: link.description })
|
|
@@ -997,9 +997,9 @@ var MobileNavigationMenu = ({
|
|
|
997
997
|
className: cn("w-full", actionClassName),
|
|
998
998
|
...pressableProps,
|
|
999
999
|
children: children ?? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
1000
|
-
icon,
|
|
1000
|
+
/* @__PURE__ */ jsx(DynamicIcon, { name: icon, size: 16, className: "shrink-0" }),
|
|
1001
1001
|
label,
|
|
1002
|
-
iconAfter
|
|
1002
|
+
/* @__PURE__ */ jsx(DynamicIcon, { name: iconAfter, size: 16, className: "shrink-0" })
|
|
1003
1003
|
] })
|
|
1004
1004
|
},
|
|
1005
1005
|
index
|
|
@@ -857,9 +857,9 @@ var NavbarDropdownMenu = ({
|
|
|
857
857
|
className: actionClassName,
|
|
858
858
|
...pressableProps,
|
|
859
859
|
children: children ?? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
860
|
-
icon,
|
|
860
|
+
/* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: icon, size: 16, className: "shrink-0" }),
|
|
861
861
|
label,
|
|
862
|
-
iconAfter
|
|
862
|
+
/* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: iconAfter, size: 16, className: "shrink-0" })
|
|
863
863
|
] })
|
|
864
864
|
},
|
|
865
865
|
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';
|
|
@@ -15,7 +17,7 @@ interface MenuItem {
|
|
|
15
17
|
title: string;
|
|
16
18
|
url: string;
|
|
17
19
|
description?: string;
|
|
18
|
-
icon?:
|
|
20
|
+
icon?: DynamicIconName;
|
|
19
21
|
items?: MenuItem[];
|
|
20
22
|
}
|
|
21
23
|
/**
|
|
@@ -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';
|
|
@@ -15,7 +17,7 @@ interface MenuItem {
|
|
|
15
17
|
title: string;
|
|
16
18
|
url: string;
|
|
17
19
|
description?: string;
|
|
18
|
-
icon?:
|
|
20
|
+
icon?: DynamicIconName;
|
|
19
21
|
items?: MenuItem[];
|
|
20
22
|
}
|
|
21
23
|
/**
|
|
@@ -834,9 +834,9 @@ var NavbarDropdownMenu = ({
|
|
|
834
834
|
className: actionClassName,
|
|
835
835
|
...pressableProps,
|
|
836
836
|
children: children ?? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
837
|
-
icon,
|
|
837
|
+
/* @__PURE__ */ jsx(DynamicIcon, { name: icon, size: 16, className: "shrink-0" }),
|
|
838
838
|
label,
|
|
839
|
-
iconAfter
|
|
839
|
+
/* @__PURE__ */ jsx(DynamicIcon, { name: iconAfter, size: 16, className: "shrink-0" })
|
|
840
840
|
] })
|
|
841
841
|
},
|
|
842
842
|
index
|
|
@@ -850,9 +850,9 @@ var NavbarEducationPlatform = ({
|
|
|
850
850
|
...pressableProps
|
|
851
851
|
} = action;
|
|
852
852
|
return /* @__PURE__ */ jsxRuntime.jsx(pressable.Pressable, { className: actionClassName, ...pressableProps, children: children ?? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
853
|
-
icon,
|
|
853
|
+
/* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: icon, size: 16, className: "shrink-0" }),
|
|
854
854
|
label,
|
|
855
|
-
iconAfter
|
|
855
|
+
/* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: iconAfter, size: 16, className: "shrink-0" })
|
|
856
856
|
] }) }, index);
|
|
857
857
|
});
|
|
858
858
|
}, [authActionsSlot, authActions]);
|
|
@@ -1044,9 +1044,9 @@ var MobileNavigationMenu = ({
|
|
|
1044
1044
|
onClick: onClose,
|
|
1045
1045
|
...pressableProps,
|
|
1046
1046
|
children: children ?? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
1047
|
-
icon,
|
|
1047
|
+
/* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: icon, size: 16, className: "shrink-0" }),
|
|
1048
1048
|
label,
|
|
1049
|
-
iconAfter
|
|
1049
|
+
/* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: iconAfter, size: 16, className: "shrink-0" })
|
|
1050
1050
|
] })
|
|
1051
1051
|
},
|
|
1052
1052
|
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';
|
|
@@ -15,8 +17,8 @@ interface MenuLinkItem {
|
|
|
15
17
|
title: string;
|
|
16
18
|
/** Optional description */
|
|
17
19
|
description?: string;
|
|
18
|
-
/** Icon name for DynamicIcon */
|
|
19
|
-
icon?:
|
|
20
|
+
/** Icon name or element for DynamicIcon */
|
|
21
|
+
icon?: DynamicIconName;
|
|
20
22
|
/** Link URL */
|
|
21
23
|
href: string;
|
|
22
24
|
}
|
|
@@ -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';
|
|
@@ -15,8 +17,8 @@ interface MenuLinkItem {
|
|
|
15
17
|
title: string;
|
|
16
18
|
/** Optional description */
|
|
17
19
|
description?: string;
|
|
18
|
-
/** Icon name for DynamicIcon */
|
|
19
|
-
icon?:
|
|
20
|
+
/** Icon name or element for DynamicIcon */
|
|
21
|
+
icon?: DynamicIconName;
|
|
20
22
|
/** Link URL */
|
|
21
23
|
href: string;
|
|
22
24
|
}
|
|
@@ -826,9 +826,9 @@ var NavbarEducationPlatform = ({
|
|
|
826
826
|
...pressableProps
|
|
827
827
|
} = action;
|
|
828
828
|
return /* @__PURE__ */ jsx(Pressable, { className: actionClassName, ...pressableProps, children: children ?? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
829
|
-
icon,
|
|
829
|
+
/* @__PURE__ */ jsx(DynamicIcon, { name: icon, size: 16, className: "shrink-0" }),
|
|
830
830
|
label,
|
|
831
|
-
iconAfter
|
|
831
|
+
/* @__PURE__ */ jsx(DynamicIcon, { name: iconAfter, size: 16, className: "shrink-0" })
|
|
832
832
|
] }) }, index);
|
|
833
833
|
});
|
|
834
834
|
}, [authActionsSlot, authActions]);
|
|
@@ -1020,9 +1020,9 @@ var MobileNavigationMenu = ({
|
|
|
1020
1020
|
onClick: onClose,
|
|
1021
1021
|
...pressableProps,
|
|
1022
1022
|
children: children ?? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
1023
|
-
icon,
|
|
1023
|
+
/* @__PURE__ */ jsx(DynamicIcon, { name: icon, size: 16, className: "shrink-0" }),
|
|
1024
1024
|
label,
|
|
1025
|
-
iconAfter
|
|
1025
|
+
/* @__PURE__ */ jsx(DynamicIcon, { name: iconAfter, size: 16, className: "shrink-0" })
|
|
1026
1026
|
] })
|
|
1027
1027
|
},
|
|
1028
1028
|
index
|
|
@@ -1087,7 +1087,14 @@ var GlobalMenu = ({
|
|
|
1087
1087
|
href: location.href,
|
|
1088
1088
|
className: "group !flex !w-full items-center gap-2 rounded-lg p-2 text-left hover:bg-muted",
|
|
1089
1089
|
children: [
|
|
1090
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex size-4 shrink-0 items-center justify-center", children:
|
|
1090
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex size-4 shrink-0 items-center justify-center", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1091
|
+
DynamicIcon,
|
|
1092
|
+
{
|
|
1093
|
+
name: location.icon,
|
|
1094
|
+
size: 16,
|
|
1095
|
+
className: "shrink-0"
|
|
1096
|
+
}
|
|
1097
|
+
) }),
|
|
1091
1098
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "min-w-0 flex-1 text-sm font-medium", children: location.title })
|
|
1092
1099
|
]
|
|
1093
1100
|
},
|
|
@@ -1208,9 +1215,9 @@ var NavbarEnterpriseMega = ({
|
|
|
1208
1215
|
...pressableProps
|
|
1209
1216
|
} = action;
|
|
1210
1217
|
return /* @__PURE__ */ jsxRuntime.jsx(pressable.Pressable, { className: actionClassName, ...pressableProps, children: children ?? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
1211
|
-
icon,
|
|
1218
|
+
/* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: icon, size: 16, className: "shrink-0" }),
|
|
1212
1219
|
label,
|
|
1213
|
-
iconAfter
|
|
1220
|
+
/* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: iconAfter, size: 16, className: "shrink-0" })
|
|
1214
1221
|
] }) }, index);
|
|
1215
1222
|
});
|
|
1216
1223
|
}, [actionsSlot, actions]);
|
|
@@ -1493,9 +1500,9 @@ var MobileNavigationMenu = ({
|
|
|
1493
1500
|
className: actionClassName,
|
|
1494
1501
|
...pressableProps,
|
|
1495
1502
|
children: children ?? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
1496
|
-
icon,
|
|
1503
|
+
/* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: icon, size: 16, className: "shrink-0" }),
|
|
1497
1504
|
label,
|
|
1498
|
-
iconAfter
|
|
1505
|
+
/* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: iconAfter, size: 16, className: "shrink-0" })
|
|
1499
1506
|
] })
|
|
1500
1507
|
},
|
|
1501
1508
|
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 { a as ILinkItem, b as IMenuLinkGroup, L as LogoConfig, N as NavbarLayoutVariant } from './types-
|
|
5
|
+
import { a as ILinkItem, b as IMenuLinkGroup, 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';
|
|
@@ -18,7 +20,7 @@ interface ISubpageItem {
|
|
|
18
20
|
id: string;
|
|
19
21
|
title: string;
|
|
20
22
|
href: string;
|
|
21
|
-
icon:
|
|
23
|
+
icon: DynamicIconName;
|
|
22
24
|
}
|
|
23
25
|
/**
|
|
24
26
|
* Solution card with bordered layout and subpages
|
|
@@ -37,7 +39,7 @@ interface ITechnologyItem {
|
|
|
37
39
|
id: string;
|
|
38
40
|
title: string;
|
|
39
41
|
href: string;
|
|
40
|
-
icon:
|
|
42
|
+
icon: DynamicIconName;
|
|
41
43
|
}
|
|
42
44
|
/**
|
|
43
45
|
* Product item with image
|
|
@@ -64,7 +66,7 @@ interface IFeatureItem {
|
|
|
64
66
|
title: string;
|
|
65
67
|
description: string;
|
|
66
68
|
href: string;
|
|
67
|
-
icon:
|
|
69
|
+
icon: DynamicIconName;
|
|
68
70
|
}
|
|
69
71
|
/**
|
|
70
72
|
* Feature category grouping
|
|
@@ -79,7 +81,7 @@ interface IFeatureCategory {
|
|
|
79
81
|
interface ILocationItem {
|
|
80
82
|
title: string;
|
|
81
83
|
href: string;
|
|
82
|
-
icon:
|
|
84
|
+
icon: DynamicIconName;
|
|
83
85
|
}
|
|
84
86
|
/**
|
|
85
87
|
* Region grouping for locations
|
|
@@ -96,7 +98,7 @@ interface IResourceItem {
|
|
|
96
98
|
title: string;
|
|
97
99
|
description: string;
|
|
98
100
|
href: string;
|
|
99
|
-
icon:
|
|
101
|
+
icon: DynamicIconName;
|
|
100
102
|
}
|
|
101
103
|
/**
|
|
102
104
|
* Topic item for sidebar
|
|
@@ -105,7 +107,7 @@ interface ITopicItem {
|
|
|
105
107
|
id: string;
|
|
106
108
|
title: string;
|
|
107
109
|
href: string;
|
|
108
|
-
icon:
|
|
110
|
+
icon: DynamicIconName;
|
|
109
111
|
}
|
|
110
112
|
/**
|
|
111
113
|
* Topic group for sidebar sections
|
|
@@ -133,7 +135,7 @@ interface IPartnerCard {
|
|
|
133
135
|
title: string;
|
|
134
136
|
description: string;
|
|
135
137
|
href: string;
|
|
136
|
-
icon:
|
|
138
|
+
icon: DynamicIconName;
|
|
137
139
|
}
|
|
138
140
|
/**
|
|
139
141
|
* Mega menu layout types
|