@opensite/ui 3.4.5 → 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/contact-careers.cjs +3 -3
- package/dist/contact-careers.js +3 -3
- package/dist/contact-faq.cjs +3 -3
- package/dist/contact-faq.js +3 -3
- package/dist/faq-badge-support.cjs +3 -3
- package/dist/faq-badge-support.js +3 -3
- package/dist/faq-bordered-badge.cjs +3 -3
- package/dist/faq-bordered-badge.js +3 -3
- package/dist/faq-card-categories.cjs +2 -2
- package/dist/faq-card-categories.js +2 -2
- package/dist/faq-categorized-sections.cjs +3 -3
- package/dist/faq-categorized-sections.js +3 -3
- package/dist/faq-centered-accordion.cjs +3 -3
- package/dist/faq-centered-accordion.js +3 -3
- package/dist/faq-gradient-categories.cjs +3 -3
- package/dist/faq-gradient-categories.js +3 -3
- package/dist/faq-muted-cards.cjs +1 -1
- package/dist/faq-muted-cards.js +1 -1
- package/dist/faq-profile-sidebar.cjs +3 -3
- package/dist/faq-profile-sidebar.js +3 -3
- package/dist/faq-rounded-cards.cjs +3 -3
- package/dist/faq-rounded-cards.js +3 -3
- package/dist/faq-sidebar-navigation.cjs +3 -3
- package/dist/faq-sidebar-navigation.js +3 -3
- package/dist/faq-split-help.cjs +3 -3
- package/dist/faq-split-help.js +3 -3
- package/dist/faq-split-hero.cjs +3 -3
- package/dist/faq-split-hero.js +3 -3
- 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 +5 -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 +5 -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 +219 -149
- package/dist/registry.js +219 -149
- 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
|
@@ -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 { 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-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';
|
|
@@ -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
|
|
@@ -1064,7 +1064,14 @@ var GlobalMenu = ({
|
|
|
1064
1064
|
href: location.href,
|
|
1065
1065
|
className: "group !flex !w-full items-center gap-2 rounded-lg p-2 text-left hover:bg-muted",
|
|
1066
1066
|
children: [
|
|
1067
|
-
/* @__PURE__ */ jsx("div", { className: "flex size-4 shrink-0 items-center justify-center", children:
|
|
1067
|
+
/* @__PURE__ */ jsx("div", { className: "flex size-4 shrink-0 items-center justify-center", children: /* @__PURE__ */ jsx(
|
|
1068
|
+
DynamicIcon,
|
|
1069
|
+
{
|
|
1070
|
+
name: location.icon,
|
|
1071
|
+
size: 16,
|
|
1072
|
+
className: "shrink-0"
|
|
1073
|
+
}
|
|
1074
|
+
) }),
|
|
1068
1075
|
/* @__PURE__ */ jsx("div", { className: "min-w-0 flex-1 text-sm font-medium", children: location.title })
|
|
1069
1076
|
]
|
|
1070
1077
|
},
|
|
@@ -1185,9 +1192,9 @@ var NavbarEnterpriseMega = ({
|
|
|
1185
1192
|
...pressableProps
|
|
1186
1193
|
} = action;
|
|
1187
1194
|
return /* @__PURE__ */ jsx(Pressable, { className: actionClassName, ...pressableProps, children: children ?? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
1188
|
-
icon,
|
|
1195
|
+
/* @__PURE__ */ jsx(DynamicIcon, { name: icon, size: 16, className: "shrink-0" }),
|
|
1189
1196
|
label,
|
|
1190
|
-
iconAfter
|
|
1197
|
+
/* @__PURE__ */ jsx(DynamicIcon, { name: iconAfter, size: 16, className: "shrink-0" })
|
|
1191
1198
|
] }) }, index);
|
|
1192
1199
|
});
|
|
1193
1200
|
}, [actionsSlot, actions]);
|
|
@@ -1470,9 +1477,9 @@ var MobileNavigationMenu = ({
|
|
|
1470
1477
|
className: actionClassName,
|
|
1471
1478
|
...pressableProps,
|
|
1472
1479
|
children: children ?? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
1473
|
-
icon,
|
|
1480
|
+
/* @__PURE__ */ jsx(DynamicIcon, { name: icon, size: 16, className: "shrink-0" }),
|
|
1474
1481
|
label,
|
|
1475
|
-
iconAfter
|
|
1482
|
+
/* @__PURE__ */ jsx(DynamicIcon, { name: iconAfter, size: 16, className: "shrink-0" })
|
|
1476
1483
|
] })
|
|
1477
1484
|
},
|
|
1478
1485
|
index
|
|
@@ -798,9 +798,9 @@ var NavbarFeatureGrid = ({
|
|
|
798
798
|
...pressableProps
|
|
799
799
|
} = action;
|
|
800
800
|
return /* @__PURE__ */ jsxRuntime.jsx(pressable.Pressable, { className: actionClassName, ...pressableProps, children: children ?? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
801
|
-
icon,
|
|
801
|
+
/* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: icon, size: 16, className: "shrink-0" }),
|
|
802
802
|
label,
|
|
803
|
-
iconAfter
|
|
803
|
+
/* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: iconAfter, size: 16, className: "shrink-0" })
|
|
804
804
|
] }) }, index);
|
|
805
805
|
});
|
|
806
806
|
}, [authActionsSlot, authActions]);
|
|
@@ -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';
|
|
@@ -775,9 +775,9 @@ var NavbarFeatureGrid = ({
|
|
|
775
775
|
...pressableProps
|
|
776
776
|
} = action;
|
|
777
777
|
return /* @__PURE__ */ jsx(Pressable, { className: actionClassName, ...pressableProps, children: children ?? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
778
|
-
icon,
|
|
778
|
+
/* @__PURE__ */ jsx(DynamicIcon, { name: icon, size: 16, className: "shrink-0" }),
|
|
779
779
|
label,
|
|
780
|
-
iconAfter
|
|
780
|
+
/* @__PURE__ */ jsx(DynamicIcon, { name: iconAfter, size: 16, className: "shrink-0" })
|
|
781
781
|
] }) }, index);
|
|
782
782
|
});
|
|
783
783
|
}, [authActionsSlot, authActions]);
|
|
@@ -673,9 +673,9 @@ var NavbarFloatingPill = ({
|
|
|
673
673
|
className: actionClassName,
|
|
674
674
|
...pressableProps,
|
|
675
675
|
children: children ?? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
676
|
-
icon,
|
|
676
|
+
/* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: icon, size: 16, className: "shrink-0" }),
|
|
677
677
|
label,
|
|
678
|
-
iconAfter
|
|
678
|
+
/* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: iconAfter, size: 16, className: "shrink-0" })
|
|
679
679
|
] })
|
|
680
680
|
},
|
|
681
681
|
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';
|
|
@@ -651,9 +651,9 @@ var NavbarFloatingPill = ({
|
|
|
651
651
|
className: actionClassName,
|
|
652
652
|
...pressableProps,
|
|
653
653
|
children: children ?? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
654
|
-
icon,
|
|
654
|
+
/* @__PURE__ */ jsx(DynamicIcon, { name: icon, size: 16, className: "shrink-0" }),
|
|
655
655
|
label,
|
|
656
|
-
iconAfter
|
|
656
|
+
/* @__PURE__ */ jsx(DynamicIcon, { name: iconAfter, size: 16, className: "shrink-0" })
|
|
657
657
|
] })
|
|
658
658
|
},
|
|
659
659
|
index
|
|
@@ -2,8 +2,10 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import { SocialPlatformName } from '@opensite/hooks/usePlatformFromUrl';
|
|
4
4
|
import { S as SectionBackground, s as SectionSpacing, t as PatternName } from './community-initiatives-Cgd-IXlI.cjs';
|
|
5
|
-
import { L as LogoConfig, N as NavbarLayoutVariant } from './types-
|
|
5
|
+
import { L as LogoConfig, N as NavbarLayoutVariant } from './types-mWZcgKth.cjs';
|
|
6
6
|
import { O as OptixFlowConfig } from './blocks-DyouPohq.cjs';
|
|
7
|
+
import './dynamic-icon.cjs';
|
|
8
|
+
import '@page-speed/icon';
|
|
7
9
|
import 'class-variance-authority';
|
|
8
10
|
import '@page-speed/pressable';
|
|
9
11
|
|
|
@@ -2,8 +2,10 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import { SocialPlatformName } from '@opensite/hooks/usePlatformFromUrl';
|
|
4
4
|
import { S as SectionBackground, s as SectionSpacing, t as PatternName } from './community-initiatives-Dud0DKXB.js';
|
|
5
|
-
import { L as LogoConfig, N as NavbarLayoutVariant } from './types-
|
|
5
|
+
import { L as LogoConfig, N as NavbarLayoutVariant } from './types-hJ2R0GoH.js';
|
|
6
6
|
import { O as OptixFlowConfig } from './blocks-DyouPohq.js';
|
|
7
|
+
import './dynamic-icon.js';
|
|
8
|
+
import '@page-speed/icon';
|
|
7
9
|
import 'class-variance-authority';
|
|
8
10
|
import '@page-speed/pressable';
|
|
9
11
|
|
|
@@ -753,9 +753,16 @@ var NavbarIconLinks = ({
|
|
|
753
753
|
),
|
|
754
754
|
...pressableProps,
|
|
755
755
|
children: children ?? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
756
|
-
icon,
|
|
756
|
+
/* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: icon, size: 18, className: "shrink-0" }),
|
|
757
757
|
label && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sr-only", children: label }),
|
|
758
|
-
|
|
758
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
759
|
+
DynamicIcon,
|
|
760
|
+
{
|
|
761
|
+
name: iconAfter,
|
|
762
|
+
size: 18,
|
|
763
|
+
className: "shrink-0"
|
|
764
|
+
}
|
|
765
|
+
)
|
|
759
766
|
] })
|
|
760
767
|
}
|
|
761
768
|
) }),
|
|
@@ -890,7 +897,14 @@ var NavbarIconLinks = ({
|
|
|
890
897
|
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",
|
|
891
898
|
onClick: () => setIsOpen(false),
|
|
892
899
|
children: [
|
|
893
|
-
|
|
900
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
901
|
+
DynamicIcon,
|
|
902
|
+
{
|
|
903
|
+
name: action.icon,
|
|
904
|
+
size: 18,
|
|
905
|
+
className: "shrink-0"
|
|
906
|
+
}
|
|
907
|
+
),
|
|
894
908
|
action.label
|
|
895
909
|
]
|
|
896
910
|
},
|
|
@@ -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';
|
|
@@ -13,7 +15,7 @@ import '@opensite/hooks/usePlatformFromUrl';
|
|
|
13
15
|
interface NavItem {
|
|
14
16
|
title: string;
|
|
15
17
|
url: string;
|
|
16
|
-
icon:
|
|
18
|
+
icon: DynamicIconName;
|
|
17
19
|
}
|
|
18
20
|
/**
|
|
19
21
|
* Props for the NavbarIconLinks 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';
|
|
@@ -13,7 +15,7 @@ import '@opensite/hooks/usePlatformFromUrl';
|
|
|
13
15
|
interface NavItem {
|
|
14
16
|
title: string;
|
|
15
17
|
url: string;
|
|
16
|
-
icon:
|
|
18
|
+
icon: DynamicIconName;
|
|
17
19
|
}
|
|
18
20
|
/**
|
|
19
21
|
* Props for the NavbarIconLinks component
|
|
@@ -730,9 +730,16 @@ var NavbarIconLinks = ({
|
|
|
730
730
|
),
|
|
731
731
|
...pressableProps,
|
|
732
732
|
children: children ?? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
733
|
-
icon,
|
|
733
|
+
/* @__PURE__ */ jsx(DynamicIcon, { name: icon, size: 18, className: "shrink-0" }),
|
|
734
734
|
label && /* @__PURE__ */ jsx("span", { className: "sr-only", children: label }),
|
|
735
|
-
|
|
735
|
+
/* @__PURE__ */ jsx(
|
|
736
|
+
DynamicIcon,
|
|
737
|
+
{
|
|
738
|
+
name: iconAfter,
|
|
739
|
+
size: 18,
|
|
740
|
+
className: "shrink-0"
|
|
741
|
+
}
|
|
742
|
+
)
|
|
736
743
|
] })
|
|
737
744
|
}
|
|
738
745
|
) }),
|
|
@@ -867,7 +874,14 @@ var NavbarIconLinks = ({
|
|
|
867
874
|
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",
|
|
868
875
|
onClick: () => setIsOpen(false),
|
|
869
876
|
children: [
|
|
870
|
-
|
|
877
|
+
/* @__PURE__ */ jsx(
|
|
878
|
+
DynamicIcon,
|
|
879
|
+
{
|
|
880
|
+
name: action.icon,
|
|
881
|
+
size: 18,
|
|
882
|
+
className: "shrink-0"
|
|
883
|
+
}
|
|
884
|
+
),
|
|
871
885
|
action.label
|
|
872
886
|
]
|
|
873
887
|
},
|
|
@@ -861,9 +861,9 @@ var NavbarImagePreview = ({
|
|
|
861
861
|
className: actionClassName,
|
|
862
862
|
...pressableProps,
|
|
863
863
|
children: children ?? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
864
|
-
icon,
|
|
864
|
+
/* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: icon, size: 16, className: "shrink-0" }),
|
|
865
865
|
label,
|
|
866
|
-
iconAfter
|
|
866
|
+
/* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: iconAfter, size: 16, className: "shrink-0" })
|
|
867
867
|
] })
|
|
868
868
|
},
|
|
869
869
|
index
|
|
@@ -1052,7 +1052,7 @@ var MobileNavigationMenu = ({
|
|
|
1052
1052
|
href: link.url,
|
|
1053
1053
|
onClick: handleClose,
|
|
1054
1054
|
children: [
|
|
1055
|
-
|
|
1055
|
+
/* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: link.icon || link.iconName, size: 20 }),
|
|
1056
1056
|
!link.icon && !link.iconName && link.label
|
|
1057
1057
|
]
|
|
1058
1058
|
},
|
|
@@ -1080,9 +1080,9 @@ var MobileNavigationMenu = ({
|
|
|
1080
1080
|
onClick: handleClose,
|
|
1081
1081
|
...pressableProps,
|
|
1082
1082
|
children: children ?? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
1083
|
-
icon,
|
|
1083
|
+
/* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: icon, size: 16, className: "shrink-0" }),
|
|
1084
1084
|
label,
|
|
1085
|
-
iconAfter
|
|
1085
|
+
/* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: iconAfter, size: 16, className: "shrink-0" })
|
|
1086
1086
|
] })
|
|
1087
1087
|
},
|
|
1088
1088
|
index
|
|
@@ -1127,14 +1127,14 @@ var MobileNavigationMenu = ({
|
|
|
1127
1127
|
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",
|
|
1128
1128
|
onClick: handleClose,
|
|
1129
1129
|
children: [
|
|
1130
|
-
|
|
1130
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1131
1131
|
DynamicIcon,
|
|
1132
1132
|
{
|
|
1133
|
-
name: link.iconName,
|
|
1133
|
+
name: link.icon || link.iconName,
|
|
1134
1134
|
size: 16,
|
|
1135
1135
|
className: "stroke-muted-foreground"
|
|
1136
1136
|
}
|
|
1137
|
-
)
|
|
1137
|
+
),
|
|
1138
1138
|
link.label
|
|
1139
1139
|
]
|
|
1140
1140
|
},
|
|
@@ -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, a as ILinkItem, N as NavbarLayoutVariant } from './types-
|
|
5
|
+
import { L as LogoConfig, a as ILinkItem, 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';
|
|
@@ -21,8 +23,8 @@ interface MenuItem {
|
|
|
21
23
|
interface SocialLink {
|
|
22
24
|
label: React.ReactNode;
|
|
23
25
|
url: string;
|
|
24
|
-
icon?:
|
|
25
|
-
iconName?:
|
|
26
|
+
icon?: DynamicIconName;
|
|
27
|
+
iconName?: DynamicIconName;
|
|
26
28
|
}
|
|
27
29
|
/**
|
|
28
30
|
* Props for the NavbarImagePreview 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, a as ILinkItem, N as NavbarLayoutVariant } from './types-
|
|
5
|
+
import { L as LogoConfig, a as ILinkItem, 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';
|
|
@@ -21,8 +23,8 @@ interface MenuItem {
|
|
|
21
23
|
interface SocialLink {
|
|
22
24
|
label: React.ReactNode;
|
|
23
25
|
url: string;
|
|
24
|
-
icon?:
|
|
25
|
-
iconName?:
|
|
26
|
+
icon?: DynamicIconName;
|
|
27
|
+
iconName?: DynamicIconName;
|
|
26
28
|
}
|
|
27
29
|
/**
|
|
28
30
|
* Props for the NavbarImagePreview component
|
|
@@ -838,9 +838,9 @@ var NavbarImagePreview = ({
|
|
|
838
838
|
className: actionClassName,
|
|
839
839
|
...pressableProps,
|
|
840
840
|
children: children ?? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
841
|
-
icon,
|
|
841
|
+
/* @__PURE__ */ jsx(DynamicIcon, { name: icon, size: 16, className: "shrink-0" }),
|
|
842
842
|
label,
|
|
843
|
-
iconAfter
|
|
843
|
+
/* @__PURE__ */ jsx(DynamicIcon, { name: iconAfter, size: 16, className: "shrink-0" })
|
|
844
844
|
] })
|
|
845
845
|
},
|
|
846
846
|
index
|
|
@@ -1029,7 +1029,7 @@ var MobileNavigationMenu = ({
|
|
|
1029
1029
|
href: link.url,
|
|
1030
1030
|
onClick: handleClose,
|
|
1031
1031
|
children: [
|
|
1032
|
-
|
|
1032
|
+
/* @__PURE__ */ jsx(DynamicIcon, { name: link.icon || link.iconName, size: 20 }),
|
|
1033
1033
|
!link.icon && !link.iconName && link.label
|
|
1034
1034
|
]
|
|
1035
1035
|
},
|
|
@@ -1057,9 +1057,9 @@ var MobileNavigationMenu = ({
|
|
|
1057
1057
|
onClick: handleClose,
|
|
1058
1058
|
...pressableProps,
|
|
1059
1059
|
children: children ?? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
1060
|
-
icon,
|
|
1060
|
+
/* @__PURE__ */ jsx(DynamicIcon, { name: icon, size: 16, className: "shrink-0" }),
|
|
1061
1061
|
label,
|
|
1062
|
-
iconAfter
|
|
1062
|
+
/* @__PURE__ */ jsx(DynamicIcon, { name: iconAfter, size: 16, className: "shrink-0" })
|
|
1063
1063
|
] })
|
|
1064
1064
|
},
|
|
1065
1065
|
index
|
|
@@ -1104,14 +1104,14 @@ var MobileNavigationMenu = ({
|
|
|
1104
1104
|
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",
|
|
1105
1105
|
onClick: handleClose,
|
|
1106
1106
|
children: [
|
|
1107
|
-
|
|
1107
|
+
/* @__PURE__ */ jsx(
|
|
1108
1108
|
DynamicIcon,
|
|
1109
1109
|
{
|
|
1110
|
-
name: link.iconName,
|
|
1110
|
+
name: link.icon || link.iconName,
|
|
1111
1111
|
size: 16,
|
|
1112
1112
|
className: "stroke-muted-foreground"
|
|
1113
1113
|
}
|
|
1114
|
-
)
|
|
1114
|
+
),
|
|
1115
1115
|
link.label
|
|
1116
1116
|
]
|
|
1117
1117
|
},
|
|
@@ -858,7 +858,13 @@ var DesktopMenuItem = ({
|
|
|
858
858
|
optixFlowConfig
|
|
859
859
|
}
|
|
860
860
|
) }),
|
|
861
|
-
!item.image && (item.icon || item.iconName) && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex h-10 w-10 shrink-0 items-center justify-center rounded-md border border-border bg-muted/40 text-muted-foreground", children:
|
|
861
|
+
!item.image && (item.icon || item.iconName) && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex h-10 w-10 shrink-0 items-center justify-center rounded-md border border-border bg-muted/40 text-muted-foreground", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
862
|
+
DynamicIcon,
|
|
863
|
+
{
|
|
864
|
+
name: item.icon || item.iconName,
|
|
865
|
+
size: 20
|
|
866
|
+
}
|
|
867
|
+
) }),
|
|
862
868
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex-1", children: [
|
|
863
869
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-sm font-medium", children: item.label }),
|
|
864
870
|
item.description && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-sm font-normal text-muted-foreground", children: item.description })
|
|
@@ -885,7 +891,13 @@ var DesktopMenuItem = ({
|
|
|
885
891
|
optixFlowConfig
|
|
886
892
|
}
|
|
887
893
|
) }),
|
|
888
|
-
!item.image && (item.icon || item.iconName) && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex h-10 w-10 shrink-0 items-center justify-center rounded-md border border-border bg-muted/40 text-muted-foreground", children:
|
|
894
|
+
!item.image && (item.icon || item.iconName) && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex h-10 w-10 shrink-0 items-center justify-center rounded-md border border-border bg-muted/40 text-muted-foreground", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
895
|
+
DynamicIcon,
|
|
896
|
+
{
|
|
897
|
+
name: item.icon || item.iconName,
|
|
898
|
+
size: 20
|
|
899
|
+
}
|
|
900
|
+
) }),
|
|
889
901
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex-1", children: [
|
|
890
902
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-sm font-medium", children: item.label }),
|
|
891
903
|
item.description && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-sm font-normal text-muted-foreground", children: item.description })
|
|
@@ -924,7 +936,13 @@ var DesktopMenuItem = ({
|
|
|
924
936
|
optixFlowConfig
|
|
925
937
|
}
|
|
926
938
|
) }),
|
|
927
|
-
!item.image && (item.icon || item.iconName) && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex h-8 w-8 shrink-0 items-center justify-center rounded-md bg-muted/40 text-muted-foreground", children:
|
|
939
|
+
!item.image && (item.icon || item.iconName) && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex h-8 w-8 shrink-0 items-center justify-center rounded-md bg-muted/40 text-muted-foreground", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
940
|
+
DynamicIcon,
|
|
941
|
+
{
|
|
942
|
+
name: item.icon || item.iconName,
|
|
943
|
+
size: 16
|
|
944
|
+
}
|
|
945
|
+
) }),
|
|
928
946
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex-1", children: [
|
|
929
947
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-sm font-medium", children: item.label }),
|
|
930
948
|
item.description && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-xs text-muted-foreground", children: item.description })
|
|
@@ -953,7 +971,13 @@ var DesktopMenuItem = ({
|
|
|
953
971
|
optixFlowConfig
|
|
954
972
|
}
|
|
955
973
|
) }),
|
|
956
|
-
!item.image && (item.icon || item.iconName) && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex h-8 w-8 shrink-0 items-center justify-center rounded-md bg-muted/40 text-muted-foreground", children:
|
|
974
|
+
!item.image && (item.icon || item.iconName) && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex h-8 w-8 shrink-0 items-center justify-center rounded-md bg-muted/40 text-muted-foreground", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
975
|
+
DynamicIcon,
|
|
976
|
+
{
|
|
977
|
+
name: item.icon || item.iconName,
|
|
978
|
+
size: 16
|
|
979
|
+
}
|
|
980
|
+
) }),
|
|
957
981
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex-1", children: [
|
|
958
982
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-sm font-medium", children: item.label }),
|
|
959
983
|
item.description && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-xs text-muted-foreground", children: item.description })
|
|
@@ -1011,9 +1035,9 @@ var NavbarMegaMenu = ({
|
|
|
1011
1035
|
className: actionClassName,
|
|
1012
1036
|
...pressableProps,
|
|
1013
1037
|
children: children ?? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
1014
|
-
icon,
|
|
1038
|
+
/* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: icon, size: 16, className: "shrink-0" }),
|
|
1015
1039
|
label,
|
|
1016
|
-
iconAfter
|
|
1040
|
+
/* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: iconAfter, size: 16, className: "shrink-0" })
|
|
1017
1041
|
] })
|
|
1018
1042
|
},
|
|
1019
1043
|
index
|
|
@@ -1147,13 +1171,13 @@ var NavbarMegaMenu = ({
|
|
|
1147
1171
|
onClick: () => setOpen(false),
|
|
1148
1172
|
className: "flex items-center gap-2 rounded-md px-4 py-2 text-sm text-muted-foreground hover:bg-muted hover:text-foreground",
|
|
1149
1173
|
children: [
|
|
1150
|
-
(item.icon || item.iconName) &&
|
|
1174
|
+
(item.icon || item.iconName) && /* @__PURE__ */ jsxRuntime.jsx(
|
|
1151
1175
|
DynamicIcon,
|
|
1152
1176
|
{
|
|
1153
|
-
name: item.iconName,
|
|
1177
|
+
name: item.icon || item.iconName,
|
|
1154
1178
|
size: 14
|
|
1155
1179
|
}
|
|
1156
|
-
)
|
|
1180
|
+
),
|
|
1157
1181
|
item.label
|
|
1158
1182
|
]
|
|
1159
1183
|
},
|
|
@@ -1174,13 +1198,13 @@ var NavbarMegaMenu = ({
|
|
|
1174
1198
|
onClick: () => setOpen(false),
|
|
1175
1199
|
className: "flex items-center gap-2 rounded-md px-4 py-2 text-sm text-muted-foreground hover:bg-muted hover:text-foreground",
|
|
1176
1200
|
children: [
|
|
1177
|
-
(item.icon || item.iconName) &&
|
|
1201
|
+
(item.icon || item.iconName) && /* @__PURE__ */ jsxRuntime.jsx(
|
|
1178
1202
|
DynamicIcon,
|
|
1179
1203
|
{
|
|
1180
|
-
name: item.iconName,
|
|
1204
|
+
name: item.icon || item.iconName,
|
|
1181
1205
|
size: 14
|
|
1182
1206
|
}
|
|
1183
|
-
)
|
|
1207
|
+
),
|
|
1184
1208
|
item.label
|
|
1185
1209
|
]
|
|
1186
1210
|
},
|
|
@@ -1,9 +1,11 @@
|
|
|
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, I as IMenuLink, N as NavbarLayoutVariant } from './types-
|
|
5
|
-
export { a as ILinkItem, b as IMenuLinkGroup, M as MegaMenuLayout } from './types-
|
|
4
|
+
import { L as LogoConfig, I as IMenuLink, N as NavbarLayoutVariant } from './types-mWZcgKth.cjs';
|
|
5
|
+
export { a as ILinkItem, b as IMenuLinkGroup, M as MegaMenuLayout } from './types-mWZcgKth.cjs';
|
|
6
6
|
import { A as ActionConfig, O as OptixFlowConfig } from './blocks-DyouPohq.cjs';
|
|
7
|
+
import './dynamic-icon.cjs';
|
|
8
|
+
import '@page-speed/icon';
|
|
7
9
|
import 'class-variance-authority';
|
|
8
10
|
import '@page-speed/pressable';
|
|
9
11
|
import '@opensite/hooks/usePlatformFromUrl';
|