@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
|
@@ -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
|
|
@@ -742,9 +742,9 @@ var NavbarSplitCta = ({
|
|
|
742
742
|
className: actionClassName,
|
|
743
743
|
...pressableProps,
|
|
744
744
|
children: children ?? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
745
|
-
icon,
|
|
745
|
+
/* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: icon, size: 16, className: "shrink-0" }),
|
|
746
746
|
label,
|
|
747
|
-
iconAfter
|
|
747
|
+
/* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: iconAfter, size: 16, className: "shrink-0" })
|
|
748
748
|
] })
|
|
749
749
|
},
|
|
750
750
|
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;
|
package/dist/navbar-split-cta.js
CHANGED
|
@@ -720,9 +720,9 @@ var NavbarSplitCta = ({
|
|
|
720
720
|
className: actionClassName,
|
|
721
721
|
...pressableProps,
|
|
722
722
|
children: children ?? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
723
|
-
icon,
|
|
723
|
+
/* @__PURE__ */ jsx(DynamicIcon, { name: icon, size: 16, className: "shrink-0" }),
|
|
724
724
|
label,
|
|
725
|
-
iconAfter
|
|
725
|
+
/* @__PURE__ */ jsx(DynamicIcon, { name: iconAfter, size: 16, className: "shrink-0" })
|
|
726
726
|
] })
|
|
727
727
|
},
|
|
728
728
|
index
|
|
@@ -813,9 +813,9 @@ var NavbarStickyCompact = ({
|
|
|
813
813
|
className: cn("transition-all duration-300", actionClassName),
|
|
814
814
|
...pressableProps,
|
|
815
815
|
children: children ?? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
816
|
-
icon,
|
|
816
|
+
/* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: icon, size: 16, className: "shrink-0" }),
|
|
817
817
|
label,
|
|
818
|
-
iconAfter
|
|
818
|
+
/* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: iconAfter, size: 16, className: "shrink-0" })
|
|
819
819
|
] })
|
|
820
820
|
},
|
|
821
821
|
index
|
|
@@ -976,9 +976,9 @@ var MobileNavigationMenu = ({
|
|
|
976
976
|
onClick: handleClose,
|
|
977
977
|
...pressableProps,
|
|
978
978
|
children: children ?? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
979
|
-
icon,
|
|
979
|
+
/* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: icon, size: 16, className: "shrink-0" }),
|
|
980
980
|
label,
|
|
981
|
-
iconAfter
|
|
981
|
+
/* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: iconAfter, size: 16, className: "shrink-0" })
|
|
982
982
|
] })
|
|
983
983
|
},
|
|
984
984
|
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';
|
|
@@ -10,7 +12,7 @@ import '@opensite/hooks/usePlatformFromUrl';
|
|
|
10
12
|
interface SubMenuItem {
|
|
11
13
|
title: string;
|
|
12
14
|
url: string;
|
|
13
|
-
icon?:
|
|
15
|
+
icon?: DynamicIconName;
|
|
14
16
|
}
|
|
15
17
|
interface MenuItem {
|
|
16
18
|
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';
|
|
@@ -10,7 +12,7 @@ import '@opensite/hooks/usePlatformFromUrl';
|
|
|
10
12
|
interface SubMenuItem {
|
|
11
13
|
title: string;
|
|
12
14
|
url: string;
|
|
13
|
-
icon?:
|
|
15
|
+
icon?: DynamicIconName;
|
|
14
16
|
}
|
|
15
17
|
interface MenuItem {
|
|
16
18
|
title: string;
|
|
@@ -790,9 +790,9 @@ var NavbarStickyCompact = ({
|
|
|
790
790
|
className: cn("transition-all duration-300", actionClassName),
|
|
791
791
|
...pressableProps,
|
|
792
792
|
children: children ?? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
793
|
-
icon,
|
|
793
|
+
/* @__PURE__ */ jsx(DynamicIcon, { name: icon, size: 16, className: "shrink-0" }),
|
|
794
794
|
label,
|
|
795
|
-
iconAfter
|
|
795
|
+
/* @__PURE__ */ jsx(DynamicIcon, { name: iconAfter, size: 16, className: "shrink-0" })
|
|
796
796
|
] })
|
|
797
797
|
},
|
|
798
798
|
index
|
|
@@ -953,9 +953,9 @@ var MobileNavigationMenu = ({
|
|
|
953
953
|
onClick: handleClose,
|
|
954
954
|
...pressableProps,
|
|
955
955
|
children: children ?? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
956
|
-
icon,
|
|
956
|
+
/* @__PURE__ */ jsx(DynamicIcon, { name: icon, size: 16, className: "shrink-0" }),
|
|
957
957
|
label,
|
|
958
|
-
iconAfter
|
|
958
|
+
/* @__PURE__ */ jsx(DynamicIcon, { name: iconAfter, size: 16, className: "shrink-0" })
|
|
959
959
|
] })
|
|
960
960
|
},
|
|
961
961
|
index
|
|
@@ -863,9 +863,9 @@ var NavbarTabbedSections = ({
|
|
|
863
863
|
className: actionClassName,
|
|
864
864
|
...pressableProps,
|
|
865
865
|
children: children ?? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
866
|
-
icon,
|
|
866
|
+
/* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: icon, size: 16, className: "shrink-0" }),
|
|
867
867
|
label,
|
|
868
|
-
iconAfter
|
|
868
|
+
/* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: iconAfter, size: 16, className: "shrink-0" })
|
|
869
869
|
] })
|
|
870
870
|
},
|
|
871
871
|
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';
|
|
@@ -10,12 +12,12 @@ import '@opensite/hooks/usePlatformFromUrl';
|
|
|
10
12
|
interface TabItem {
|
|
11
13
|
id: string;
|
|
12
14
|
title: string;
|
|
13
|
-
icon?:
|
|
15
|
+
icon?: DynamicIconName;
|
|
14
16
|
links: {
|
|
15
17
|
title: string;
|
|
16
18
|
description?: string;
|
|
17
19
|
url: string;
|
|
18
|
-
icon?:
|
|
20
|
+
icon?: DynamicIconName;
|
|
19
21
|
}[];
|
|
20
22
|
featured?: {
|
|
21
23
|
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';
|
|
@@ -10,12 +12,12 @@ import '@opensite/hooks/usePlatformFromUrl';
|
|
|
10
12
|
interface TabItem {
|
|
11
13
|
id: string;
|
|
12
14
|
title: string;
|
|
13
|
-
icon?:
|
|
15
|
+
icon?: DynamicIconName;
|
|
14
16
|
links: {
|
|
15
17
|
title: string;
|
|
16
18
|
description?: string;
|
|
17
19
|
url: string;
|
|
18
|
-
icon?:
|
|
20
|
+
icon?: DynamicIconName;
|
|
19
21
|
}[];
|
|
20
22
|
featured?: {
|
|
21
23
|
title: string;
|
|
@@ -839,9 +839,9 @@ var NavbarTabbedSections = ({
|
|
|
839
839
|
className: actionClassName,
|
|
840
840
|
...pressableProps,
|
|
841
841
|
children: children ?? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
842
|
-
icon,
|
|
842
|
+
/* @__PURE__ */ jsx(DynamicIcon, { name: icon, size: 16, className: "shrink-0" }),
|
|
843
843
|
label,
|
|
844
|
-
iconAfter
|
|
844
|
+
/* @__PURE__ */ jsx(DynamicIcon, { name: iconAfter, size: 16, className: "shrink-0" })
|
|
845
845
|
] })
|
|
846
846
|
},
|
|
847
847
|
index
|
|
@@ -798,7 +798,7 @@ var NavbarTransparentOverlay = ({
|
|
|
798
798
|
!isScrolled ? "text-background/90 hover:text-background hover:bg-background/10" : ""
|
|
799
799
|
),
|
|
800
800
|
children: /* @__PURE__ */ jsxRuntime.jsxs(pressable.Pressable, { href: item.url, children: [
|
|
801
|
-
|
|
801
|
+
/* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: item.icon || item.iconName, size: 16 }),
|
|
802
802
|
item.title
|
|
803
803
|
] })
|
|
804
804
|
}
|
|
@@ -830,9 +830,9 @@ var NavbarTransparentOverlay = ({
|
|
|
830
830
|
),
|
|
831
831
|
...pressableProps,
|
|
832
832
|
children: children ?? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
833
|
-
icon,
|
|
833
|
+
/* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: icon, size: 16, className: "shrink-0" }),
|
|
834
834
|
label,
|
|
835
|
-
iconAfter
|
|
835
|
+
/* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: iconAfter, size: 16, className: "shrink-0" })
|
|
836
836
|
] })
|
|
837
837
|
},
|
|
838
838
|
index
|
|
@@ -967,9 +967,9 @@ var MobileNavigationMenu = ({
|
|
|
967
967
|
onClick: onClose,
|
|
968
968
|
...pressableProps,
|
|
969
969
|
children: children ?? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
970
|
-
icon,
|
|
970
|
+
/* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: icon, size: 16, className: "shrink-0" }),
|
|
971
971
|
label,
|
|
972
|
-
iconAfter
|
|
972
|
+
/* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: iconAfter, size: 16, className: "shrink-0" })
|
|
973
973
|
] })
|
|
974
974
|
},
|
|
975
975
|
index
|
|
@@ -1009,7 +1009,7 @@ var MobileNavigationMenu = ({
|
|
|
1009
1009
|
className: "text-3xl font-medium text-white transition-all duration-300 hover:text-white/80",
|
|
1010
1010
|
onClick: onClose,
|
|
1011
1011
|
children: [
|
|
1012
|
-
|
|
1012
|
+
/* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: item.icon || item.iconName, size: 24 }),
|
|
1013
1013
|
item.title
|
|
1014
1014
|
]
|
|
1015
1015
|
},
|
|
@@ -1,17 +1,19 @@
|
|
|
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 { SocialPlatformName } from '@opensite/hooks/usePlatformFromUrl';
|
|
4
5
|
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-
|
|
6
|
+
import { L as LogoConfig, N as NavbarLayoutVariant } from './types-mWZcgKth.cjs';
|
|
6
7
|
import { A as ActionConfig, O as OptixFlowConfig } from './blocks-DyouPohq.cjs';
|
|
8
|
+
import '@page-speed/icon';
|
|
7
9
|
import 'class-variance-authority';
|
|
8
10
|
import '@page-speed/pressable';
|
|
9
11
|
|
|
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
|
* Social link configuration for transparent overlay navbar
|
|
@@ -1,17 +1,19 @@
|
|
|
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 { SocialPlatformName } from '@opensite/hooks/usePlatformFromUrl';
|
|
4
5
|
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-
|
|
6
|
+
import { L as LogoConfig, N as NavbarLayoutVariant } from './types-hJ2R0GoH.js';
|
|
6
7
|
import { A as ActionConfig, O as OptixFlowConfig } from './blocks-DyouPohq.js';
|
|
8
|
+
import '@page-speed/icon';
|
|
7
9
|
import 'class-variance-authority';
|
|
8
10
|
import '@page-speed/pressable';
|
|
9
11
|
|
|
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
|
* Social link configuration for transparent overlay navbar
|
|
@@ -776,7 +776,7 @@ var NavbarTransparentOverlay = ({
|
|
|
776
776
|
!isScrolled ? "text-background/90 hover:text-background hover:bg-background/10" : ""
|
|
777
777
|
),
|
|
778
778
|
children: /* @__PURE__ */ jsxs(Pressable, { href: item.url, children: [
|
|
779
|
-
|
|
779
|
+
/* @__PURE__ */ jsx(DynamicIcon, { name: item.icon || item.iconName, size: 16 }),
|
|
780
780
|
item.title
|
|
781
781
|
] })
|
|
782
782
|
}
|
|
@@ -808,9 +808,9 @@ var NavbarTransparentOverlay = ({
|
|
|
808
808
|
),
|
|
809
809
|
...pressableProps,
|
|
810
810
|
children: children ?? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
811
|
-
icon,
|
|
811
|
+
/* @__PURE__ */ jsx(DynamicIcon, { name: icon, size: 16, className: "shrink-0" }),
|
|
812
812
|
label,
|
|
813
|
-
iconAfter
|
|
813
|
+
/* @__PURE__ */ jsx(DynamicIcon, { name: iconAfter, size: 16, className: "shrink-0" })
|
|
814
814
|
] })
|
|
815
815
|
},
|
|
816
816
|
index
|
|
@@ -945,9 +945,9 @@ var MobileNavigationMenu = ({
|
|
|
945
945
|
onClick: onClose,
|
|
946
946
|
...pressableProps,
|
|
947
947
|
children: children ?? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
948
|
-
icon,
|
|
948
|
+
/* @__PURE__ */ jsx(DynamicIcon, { name: icon, size: 16, className: "shrink-0" }),
|
|
949
949
|
label,
|
|
950
|
-
iconAfter
|
|
950
|
+
/* @__PURE__ */ jsx(DynamicIcon, { name: iconAfter, size: 16, className: "shrink-0" })
|
|
951
951
|
] })
|
|
952
952
|
},
|
|
953
953
|
index
|
|
@@ -987,7 +987,7 @@ var MobileNavigationMenu = ({
|
|
|
987
987
|
className: "text-3xl font-medium text-white transition-all duration-300 hover:text-white/80",
|
|
988
988
|
onClick: onClose,
|
|
989
989
|
children: [
|
|
990
|
-
|
|
990
|
+
/* @__PURE__ */ jsx(DynamicIcon, { name: item.icon || item.iconName, size: 24 }),
|
|
991
991
|
item.title
|
|
992
992
|
]
|
|
993
993
|
},
|