@opensite/ui 3.4.6 → 3.4.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (87) hide show
  1. package/dist/navbar-animated-preview.cjs +16 -9
  2. package/dist/navbar-animated-preview.d.cts +3 -1
  3. package/dist/navbar-animated-preview.d.ts +3 -1
  4. package/dist/navbar-animated-preview.js +16 -9
  5. package/dist/navbar-centered-menu.cjs +4 -4
  6. package/dist/navbar-centered-menu.d.cts +4 -2
  7. package/dist/navbar-centered-menu.d.ts +4 -2
  8. package/dist/navbar-centered-menu.js +4 -4
  9. package/dist/navbar-dark-icons.cjs +10 -9
  10. package/dist/navbar-dark-icons.d.cts +5 -3
  11. package/dist/navbar-dark-icons.d.ts +5 -3
  12. package/dist/navbar-dark-icons.js +10 -9
  13. package/dist/navbar-dropdown-menu.cjs +4 -4
  14. package/dist/navbar-dropdown-menu.d.cts +4 -2
  15. package/dist/navbar-dropdown-menu.d.ts +4 -2
  16. package/dist/navbar-dropdown-menu.js +4 -4
  17. package/dist/navbar-education-platform.cjs +4 -4
  18. package/dist/navbar-education-platform.d.cts +5 -3
  19. package/dist/navbar-education-platform.d.ts +5 -3
  20. package/dist/navbar-education-platform.js +4 -4
  21. package/dist/navbar-enterprise-mega.cjs +109 -27
  22. package/dist/navbar-enterprise-mega.d.cts +10 -8
  23. package/dist/navbar-enterprise-mega.d.ts +10 -8
  24. package/dist/navbar-enterprise-mega.js +109 -27
  25. package/dist/navbar-feature-grid.cjs +2 -2
  26. package/dist/navbar-feature-grid.d.cts +3 -1
  27. package/dist/navbar-feature-grid.d.ts +3 -1
  28. package/dist/navbar-feature-grid.js +2 -2
  29. package/dist/navbar-floating-pill.cjs +2 -2
  30. package/dist/navbar-floating-pill.d.cts +3 -1
  31. package/dist/navbar-floating-pill.d.ts +3 -1
  32. package/dist/navbar-floating-pill.js +2 -2
  33. package/dist/navbar-fullscreen-menu.d.cts +3 -1
  34. package/dist/navbar-fullscreen-menu.d.ts +3 -1
  35. package/dist/navbar-icon-links.cjs +17 -3
  36. package/dist/navbar-icon-links.d.cts +4 -2
  37. package/dist/navbar-icon-links.d.ts +4 -2
  38. package/dist/navbar-icon-links.js +17 -3
  39. package/dist/navbar-image-preview.cjs +8 -8
  40. package/dist/navbar-image-preview.d.cts +5 -3
  41. package/dist/navbar-image-preview.d.ts +5 -3
  42. package/dist/navbar-image-preview.js +8 -8
  43. package/dist/navbar-mega-menu.cjs +36 -12
  44. package/dist/navbar-mega-menu.d.cts +4 -2
  45. package/dist/navbar-mega-menu.d.ts +4 -2
  46. package/dist/navbar-mega-menu.js +36 -12
  47. package/dist/navbar-multi-column-groups.cjs +10 -10
  48. package/dist/navbar-multi-column-groups.d.cts +5 -3
  49. package/dist/navbar-multi-column-groups.d.ts +5 -3
  50. package/dist/navbar-multi-column-groups.js +10 -10
  51. package/dist/navbar-platform-resources.cjs +72 -53
  52. package/dist/navbar-platform-resources.d.cts +3 -1
  53. package/dist/navbar-platform-resources.d.ts +3 -1
  54. package/dist/navbar-platform-resources.js +72 -53
  55. package/dist/navbar-search-focused.cjs +7 -7
  56. package/dist/navbar-search-focused.d.cts +5 -3
  57. package/dist/navbar-search-focused.d.ts +5 -3
  58. package/dist/navbar-search-focused.js +7 -7
  59. package/dist/navbar-sidebar-mobile.cjs +4 -4
  60. package/dist/navbar-sidebar-mobile.d.cts +4 -2
  61. package/dist/navbar-sidebar-mobile.d.ts +4 -2
  62. package/dist/navbar-sidebar-mobile.js +4 -4
  63. package/dist/navbar-simple-links.cjs +4 -4
  64. package/dist/navbar-simple-links.d.cts +3 -1
  65. package/dist/navbar-simple-links.d.ts +3 -1
  66. package/dist/navbar-simple-links.js +4 -4
  67. package/dist/navbar-split-cta.cjs +4 -5
  68. package/dist/navbar-split-cta.d.cts +4 -2
  69. package/dist/navbar-split-cta.d.ts +4 -2
  70. package/dist/navbar-split-cta.js +4 -5
  71. package/dist/navbar-sticky-compact.cjs +14 -8
  72. package/dist/navbar-sticky-compact.d.cts +4 -2
  73. package/dist/navbar-sticky-compact.d.ts +4 -2
  74. package/dist/navbar-sticky-compact.js +14 -8
  75. package/dist/navbar-tabbed-sections.cjs +4 -5
  76. package/dist/navbar-tabbed-sections.d.cts +5 -3
  77. package/dist/navbar-tabbed-sections.d.ts +5 -3
  78. package/dist/navbar-tabbed-sections.js +4 -5
  79. package/dist/navbar-transparent-overlay.cjs +6 -6
  80. package/dist/navbar-transparent-overlay.d.cts +5 -3
  81. package/dist/navbar-transparent-overlay.d.ts +5 -3
  82. package/dist/navbar-transparent-overlay.js +6 -6
  83. package/dist/registry.cjs +337 -186
  84. package/dist/registry.js +337 -186
  85. package/dist/{types-ldjwVMcl.d.cts → types-hJ2R0GoH.d.ts} +5 -4
  86. package/dist/{types-ldjwVMcl.d.ts → types-mWZcgKth.d.cts} +5 -4
  87. package/package.json +1 -1
@@ -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
@@ -843,20 +843,19 @@ var NavbarSplitCta = ({
843
843
  children: renderAuthActions
844
844
  }
845
845
  ),
846
- /* @__PURE__ */ jsxRuntime.jsxs(
846
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex lg:hidden", children: /* @__PURE__ */ jsxRuntime.jsxs(
847
847
  pressable.Pressable,
848
848
  {
849
849
  variant: "ghost",
850
850
  size: "icon",
851
851
  asButton: true,
852
- className: "lg:hidden",
853
852
  onClick: () => setIsOpen(!isOpen),
854
853
  children: [
855
854
  /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: "lucide/menu", size: 20 }),
856
855
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sr-only", children: "Toggle menu" })
857
856
  ]
858
857
  }
859
- ),
858
+ ) }),
860
859
  /* @__PURE__ */ jsxRuntime.jsx(
861
860
  NavbarMobileMenu,
862
861
  {
@@ -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-ldjwVMcl.cjs';
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?: string;
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-ldjwVMcl.js';
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?: string;
16
+ icon?: DynamicIconName;
15
17
  }
16
18
  interface MenuItem {
17
19
  title: string;
@@ -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
@@ -821,20 +821,19 @@ var NavbarSplitCta = ({
821
821
  children: renderAuthActions
822
822
  }
823
823
  ),
824
- /* @__PURE__ */ jsxs(
824
+ /* @__PURE__ */ jsx("div", { className: "flex lg:hidden", children: /* @__PURE__ */ jsxs(
825
825
  Pressable,
826
826
  {
827
827
  variant: "ghost",
828
828
  size: "icon",
829
829
  asButton: true,
830
- className: "lg:hidden",
831
830
  onClick: () => setIsOpen(!isOpen),
832
831
  children: [
833
832
  /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/menu", size: 20 }),
834
833
  /* @__PURE__ */ jsx("span", { className: "sr-only", children: "Toggle menu" })
835
834
  ]
836
835
  }
837
- ),
836
+ ) }),
838
837
  /* @__PURE__ */ jsx(
839
838
  NavbarMobileMenu,
840
839
  {
@@ -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
@@ -915,20 +915,26 @@ var NavbarStickyCompact = ({
915
915
  children: renderAuthActions
916
916
  }
917
917
  ),
918
- /* @__PURE__ */ jsxRuntime.jsxs(
918
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex lg:hidden", children: /* @__PURE__ */ jsxRuntime.jsxs(
919
919
  pressable.Pressable,
920
920
  {
921
921
  variant: "ghost",
922
922
  size: isScrolled ? "sm" : "icon",
923
923
  asButton: true,
924
- className: "lg:hidden transition-all duration-300",
924
+ className: "transition-all duration-300",
925
925
  onClick: () => setIsOpen(!isOpen),
926
926
  children: [
927
- /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: "lucide/menu", size: isScrolled ? 18 : 20 }),
927
+ /* @__PURE__ */ jsxRuntime.jsx(
928
+ DynamicIcon,
929
+ {
930
+ name: "lucide/menu",
931
+ size: isScrolled ? 18 : 20
932
+ }
933
+ ),
928
934
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sr-only", children: "Toggle menu" })
929
935
  ]
930
936
  }
931
- )
937
+ ) })
932
938
  ]
933
939
  }
934
940
  ) }) }) })
@@ -976,9 +982,9 @@ var MobileNavigationMenu = ({
976
982
  onClick: handleClose,
977
983
  ...pressableProps,
978
984
  children: children ?? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
979
- icon,
985
+ /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: icon, size: 16, className: "shrink-0" }),
980
986
  label,
981
- iconAfter
987
+ /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: iconAfter, size: 16, className: "shrink-0" })
982
988
  ] })
983
989
  },
984
990
  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-ldjwVMcl.cjs';
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?: string;
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-ldjwVMcl.js';
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?: string;
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
@@ -892,20 +892,26 @@ var NavbarStickyCompact = ({
892
892
  children: renderAuthActions
893
893
  }
894
894
  ),
895
- /* @__PURE__ */ jsxs(
895
+ /* @__PURE__ */ jsx("div", { className: "flex lg:hidden", children: /* @__PURE__ */ jsxs(
896
896
  Pressable,
897
897
  {
898
898
  variant: "ghost",
899
899
  size: isScrolled ? "sm" : "icon",
900
900
  asButton: true,
901
- className: "lg:hidden transition-all duration-300",
901
+ className: "transition-all duration-300",
902
902
  onClick: () => setIsOpen(!isOpen),
903
903
  children: [
904
- /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/menu", size: isScrolled ? 18 : 20 }),
904
+ /* @__PURE__ */ jsx(
905
+ DynamicIcon,
906
+ {
907
+ name: "lucide/menu",
908
+ size: isScrolled ? 18 : 20
909
+ }
910
+ ),
905
911
  /* @__PURE__ */ jsx("span", { className: "sr-only", children: "Toggle menu" })
906
912
  ]
907
913
  }
908
- )
914
+ ) })
909
915
  ]
910
916
  }
911
917
  ) }) }) })
@@ -953,9 +959,9 @@ var MobileNavigationMenu = ({
953
959
  onClick: handleClose,
954
960
  ...pressableProps,
955
961
  children: children ?? /* @__PURE__ */ jsxs(Fragment, { children: [
956
- icon,
962
+ /* @__PURE__ */ jsx(DynamicIcon, { name: icon, size: 16, className: "shrink-0" }),
957
963
  label,
958
- iconAfter
964
+ /* @__PURE__ */ jsx(DynamicIcon, { name: iconAfter, size: 16, className: "shrink-0" })
959
965
  ] })
960
966
  },
961
967
  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
@@ -1054,20 +1054,19 @@ var NavbarTabbedSections = ({
1054
1054
  children: renderAuthActions
1055
1055
  }
1056
1056
  ),
1057
- /* @__PURE__ */ jsxRuntime.jsxs(
1057
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex lg:hidden", children: /* @__PURE__ */ jsxRuntime.jsxs(
1058
1058
  pressable.Pressable,
1059
1059
  {
1060
1060
  variant: "ghost",
1061
1061
  size: "icon",
1062
1062
  asButton: true,
1063
- className: "lg:hidden",
1064
1063
  onClick: () => setIsOpen(!isOpen),
1065
1064
  children: [
1066
1065
  /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: "lucide/menu", size: 20 }),
1067
1066
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sr-only", children: "Toggle menu" })
1068
1067
  ]
1069
1068
  }
1070
- ),
1069
+ ) }),
1071
1070
  /* @__PURE__ */ jsxRuntime.jsx(
1072
1071
  NavbarMobileMenu,
1073
1072
  {
@@ -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-ldjwVMcl.cjs';
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?: string;
15
+ icon?: DynamicIconName;
14
16
  links: {
15
17
  title: string;
16
18
  description?: string;
17
19
  url: string;
18
- icon?: string;
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-ldjwVMcl.js';
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?: string;
15
+ icon?: DynamicIconName;
14
16
  links: {
15
17
  title: string;
16
18
  description?: string;
17
19
  url: string;
18
- icon?: string;
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
@@ -1030,20 +1030,19 @@ var NavbarTabbedSections = ({
1030
1030
  children: renderAuthActions
1031
1031
  }
1032
1032
  ),
1033
- /* @__PURE__ */ jsxs(
1033
+ /* @__PURE__ */ jsx("div", { className: "flex lg:hidden", children: /* @__PURE__ */ jsxs(
1034
1034
  Pressable,
1035
1035
  {
1036
1036
  variant: "ghost",
1037
1037
  size: "icon",
1038
1038
  asButton: true,
1039
- className: "lg:hidden",
1040
1039
  onClick: () => setIsOpen(!isOpen),
1041
1040
  children: [
1042
1041
  /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/menu", size: 20 }),
1043
1042
  /* @__PURE__ */ jsx("span", { className: "sr-only", children: "Toggle menu" })
1044
1043
  ]
1045
1044
  }
1046
- ),
1045
+ ) }),
1047
1046
  /* @__PURE__ */ jsx(
1048
1047
  NavbarMobileMenu,
1049
1048
  {
@@ -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
- item.icon ?? (item.iconName && /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: item.iconName, size: 16 })),
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
- item.icon ?? (item.iconName && /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: item.iconName, size: 24 })),
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-ldjwVMcl.cjs';
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?: React.ReactNode;
14
- iconName?: string;
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-ldjwVMcl.js';
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?: React.ReactNode;
14
- iconName?: string;
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
- item.icon ?? (item.iconName && /* @__PURE__ */ jsx(DynamicIcon, { name: item.iconName, size: 16 })),
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
- item.icon ?? (item.iconName && /* @__PURE__ */ jsx(DynamicIcon, { name: item.iconName, size: 24 })),
990
+ /* @__PURE__ */ jsx(DynamicIcon, { name: item.icon || item.iconName, size: 24 }),
991
991
  item.title
992
992
  ]
993
993
  },