@opensite/ui 1.0.9 → 1.1.0

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 (41) hide show
  1. package/dist/navbar-animated-preview.cjs +27 -17
  2. package/dist/navbar-animated-preview.js +27 -17
  3. package/dist/navbar-centered-menu.cjs +20 -10
  4. package/dist/navbar-centered-menu.js +20 -10
  5. package/dist/navbar-dark-icons.cjs +20 -10
  6. package/dist/navbar-dark-icons.js +20 -10
  7. package/dist/navbar-dropdown-menu.cjs +20 -10
  8. package/dist/navbar-dropdown-menu.js +20 -10
  9. package/dist/navbar-education-platform.cjs +81 -56
  10. package/dist/navbar-education-platform.js +81 -56
  11. package/dist/navbar-enterprise-mega.cjs +21 -11
  12. package/dist/navbar-enterprise-mega.js +21 -11
  13. package/dist/navbar-feature-grid.cjs +20 -10
  14. package/dist/navbar-feature-grid.js +20 -10
  15. package/dist/navbar-icon-links.cjs +20 -10
  16. package/dist/navbar-icon-links.js +20 -10
  17. package/dist/navbar-image-preview.cjs +20 -10
  18. package/dist/navbar-image-preview.js +20 -10
  19. package/dist/navbar-mega-menu.cjs +20 -10
  20. package/dist/navbar-mega-menu.js +20 -10
  21. package/dist/navbar-multi-column-groups.cjs +52 -35
  22. package/dist/navbar-multi-column-groups.js +52 -35
  23. package/dist/navbar-platform-resources.cjs +20 -10
  24. package/dist/navbar-platform-resources.js +20 -10
  25. package/dist/navbar-search-focused.cjs +20 -10
  26. package/dist/navbar-search-focused.js +20 -10
  27. package/dist/navbar-sidebar-mobile.cjs +21 -10
  28. package/dist/navbar-sidebar-mobile.js +21 -10
  29. package/dist/navbar-simple-links.cjs +22 -12
  30. package/dist/navbar-simple-links.js +22 -12
  31. package/dist/navbar-split-cta.cjs +20 -10
  32. package/dist/navbar-split-cta.js +20 -10
  33. package/dist/navbar-sticky-compact.cjs +240 -123
  34. package/dist/navbar-sticky-compact.js +239 -123
  35. package/dist/navbar-tabbed-sections.cjs +20 -10
  36. package/dist/navbar-tabbed-sections.js +20 -10
  37. package/dist/navbar-transparent-overlay.cjs +21 -10
  38. package/dist/navbar-transparent-overlay.js +21 -10
  39. package/dist/registry.cjs +285 -206
  40. package/dist/registry.js +285 -206
  41. package/package.json +1 -1
@@ -1143,6 +1143,7 @@ var NavbarMobileMenu = ({
1143
1143
  children,
1144
1144
  className,
1145
1145
  contentClassName,
1146
+ closeContainerClassName = "",
1146
1147
  title = "Mobile Navigation"
1147
1148
  }) => {
1148
1149
  React__namespace.useEffect(() => {
@@ -1167,18 +1168,27 @@ var NavbarMobileMenu = ({
1167
1168
  "data-state": open ? "open" : "closed",
1168
1169
  children: [
1169
1170
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "sr-only", children: /* @__PURE__ */ jsxRuntime.jsx("h2", { children: title }) }),
1170
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute top-0 left-0 right-0 p-4 bg-background flex justify-end items-center z-10 w-screen", children: /* @__PURE__ */ jsxRuntime.jsxs(
1171
- "button",
1171
+ /* @__PURE__ */ jsxRuntime.jsx(
1172
+ "div",
1172
1173
  {
1173
- onClick: onClose,
1174
- className: "flex size-10 items-center justify-center rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none",
1175
- "aria-label": "Close mobile menu",
1176
- children: [
1177
- /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: "lucide/x", className: "size-4" }),
1178
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sr-only", children: "Close" })
1179
- ]
1174
+ className: cn(
1175
+ closeContainerClassName,
1176
+ "absolute top-0 left-0 right-0 p-4 bg-background flex justify-end items-center z-10 w-screen"
1177
+ ),
1178
+ children: /* @__PURE__ */ jsxRuntime.jsxs(
1179
+ "button",
1180
+ {
1181
+ onClick: onClose,
1182
+ className: "flex size-10 items-center justify-center rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none",
1183
+ "aria-label": "Close mobile menu",
1184
+ children: [
1185
+ /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: "lucide/x", className: "size-4" }),
1186
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sr-only", children: "Close" })
1187
+ ]
1188
+ }
1189
+ )
1180
1190
  }
1181
- ) }),
1191
+ ),
1182
1192
  /* @__PURE__ */ jsxRuntime.jsx(
1183
1193
  "div",
1184
1194
  {
@@ -1662,7 +1672,7 @@ var GroupedLinksImageDropdown = ({
1662
1672
  imageLink,
1663
1673
  optixFlowConfig
1664
1674
  }) => {
1665
- return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid grid-cols-2 gap-4", children: [
1675
+ return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid grid-cols-2 gap-8", children: [
1666
1676
  /* @__PURE__ */ jsxRuntime.jsx(GroupLinks, { groupLinks }),
1667
1677
  /* @__PURE__ */ jsxRuntime.jsx(FeaturedImageLink, { link: imageLink, optixFlowConfig })
1668
1678
  ] });
@@ -1683,7 +1693,7 @@ var GroupLinks = ({ groupLinks }) => {
1683
1693
  };
1684
1694
  if (!groupLinks) return null;
1685
1695
  let linkIndex = 0;
1686
- return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex items-center justify-between gap-4", children: groupLinks.map((group, index1) => /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
1696
+ return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex items-center gap-4", children: groupLinks.map((group, index1) => /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
1687
1697
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-4 text-xs", children: group.label }),
1688
1698
  /* @__PURE__ */ jsxRuntime.jsx("ul", { className: "flex flex-col gap-4", children: group.links.map((link, index2) => {
1689
1699
  const idx = linkIndex++;
@@ -1741,7 +1751,7 @@ var FeaturedLink = ({ link, optixFlowConfig }) => {
1741
1751
  Pressable,
1742
1752
  {
1743
1753
  href: getLinkUrl(link),
1744
- className: "group relative flex w-full overflow-hidden rounded-xl bg-muted px-8 py-12",
1754
+ className: "group relative flex w-full overflow-hidden rounded-xl bg-muted px-4 pt-12 pb-4",
1745
1755
  children: [
1746
1756
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative z-10 flex w-full items-center gap-6", children: [
1747
1757
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex size-12 shrink-0 rounded-lg border bg-background shadow-lg", children: link.icon ? link.icon : link.iconName ? /* @__PURE__ */ jsxRuntime.jsx(
@@ -1857,10 +1867,10 @@ var renderMobileMenuItem = (item, index) => {
1857
1867
  children: [
1858
1868
  /* @__PURE__ */ jsxRuntime.jsx(AccordionTrigger, { className: "h-10 items-center text-base font-normal text-foreground hover:no-underline", children: item.label }),
1859
1869
  /* @__PURE__ */ jsxRuntime.jsxs(AccordionContent, { className: "flex flex-col gap-6 p-2", children: [
1860
- item.featuredLinks && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex flex-col gap-2 p-2", children: item.featuredLinks.map((link, idx) => /* @__PURE__ */ jsxRuntime.jsx(NavLink, { link }, `default-nav-link-${idx}`)) }),
1861
- item.links && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex flex-col gap-2 p-2", children: item.links.map((link, idx) => /* @__PURE__ */ jsxRuntime.jsx(NavLink, { link }, `default-nav-link-${idx}`)) }),
1862
- item.groupLinks && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex flex-col gap-2 p-2", children: item.groupLinks.map((group, groupIdx) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mb-8 last:mb-0", children: [
1863
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-4 text-xs text-muted-foreground", children: group.label }),
1870
+ item.featuredLinks && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex flex-col gap-4 p-2", children: item.featuredLinks.map((link, idx) => /* @__PURE__ */ jsxRuntime.jsx(NavLink, { link }, `default-nav-link-${idx}`)) }),
1871
+ item.links && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex flex-col gap-4 p-2", children: item.links.map((link, idx) => /* @__PURE__ */ jsxRuntime.jsx(NavLink, { link }, `default-nav-link-${idx}`)) }),
1872
+ item.groupLinks && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex flex-col gap-4 p-2", children: item.groupLinks.map((group, groupIdx) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative", children: [
1873
+ group.label && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-4 text-xs text-muted-foreground", children: group.label }),
1864
1874
  /* @__PURE__ */ jsxRuntime.jsx("ul", { className: "flex flex-col gap-2", children: group.links.map((link, linkIdx) => /* @__PURE__ */ jsxRuntime.jsx("li", { children: /* @__PURE__ */ jsxRuntime.jsx(NavLink, { link }) }, `group-link-${groupIdx}-${linkIdx}`)) })
1865
1875
  ] }, `group-link-${groupIdx}`)) })
1866
1876
  ] })
@@ -1118,6 +1118,7 @@ var NavbarMobileMenu = ({
1118
1118
  children,
1119
1119
  className,
1120
1120
  contentClassName,
1121
+ closeContainerClassName = "",
1121
1122
  title = "Mobile Navigation"
1122
1123
  }) => {
1123
1124
  React.useEffect(() => {
@@ -1142,18 +1143,27 @@ var NavbarMobileMenu = ({
1142
1143
  "data-state": open ? "open" : "closed",
1143
1144
  children: [
1144
1145
  /* @__PURE__ */ jsx("div", { className: "sr-only", children: /* @__PURE__ */ jsx("h2", { children: title }) }),
1145
- /* @__PURE__ */ jsx("div", { className: "absolute top-0 left-0 right-0 p-4 bg-background flex justify-end items-center z-10 w-screen", children: /* @__PURE__ */ jsxs(
1146
- "button",
1146
+ /* @__PURE__ */ jsx(
1147
+ "div",
1147
1148
  {
1148
- onClick: onClose,
1149
- className: "flex size-10 items-center justify-center rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none",
1150
- "aria-label": "Close mobile menu",
1151
- children: [
1152
- /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/x", className: "size-4" }),
1153
- /* @__PURE__ */ jsx("span", { className: "sr-only", children: "Close" })
1154
- ]
1149
+ className: cn(
1150
+ closeContainerClassName,
1151
+ "absolute top-0 left-0 right-0 p-4 bg-background flex justify-end items-center z-10 w-screen"
1152
+ ),
1153
+ children: /* @__PURE__ */ jsxs(
1154
+ "button",
1155
+ {
1156
+ onClick: onClose,
1157
+ className: "flex size-10 items-center justify-center rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none",
1158
+ "aria-label": "Close mobile menu",
1159
+ children: [
1160
+ /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/x", className: "size-4" }),
1161
+ /* @__PURE__ */ jsx("span", { className: "sr-only", children: "Close" })
1162
+ ]
1163
+ }
1164
+ )
1155
1165
  }
1156
- ) }),
1166
+ ),
1157
1167
  /* @__PURE__ */ jsx(
1158
1168
  "div",
1159
1169
  {
@@ -1637,7 +1647,7 @@ var GroupedLinksImageDropdown = ({
1637
1647
  imageLink,
1638
1648
  optixFlowConfig
1639
1649
  }) => {
1640
- return /* @__PURE__ */ jsxs("div", { className: "grid grid-cols-2 gap-4", children: [
1650
+ return /* @__PURE__ */ jsxs("div", { className: "grid grid-cols-2 gap-8", children: [
1641
1651
  /* @__PURE__ */ jsx(GroupLinks, { groupLinks }),
1642
1652
  /* @__PURE__ */ jsx(FeaturedImageLink, { link: imageLink, optixFlowConfig })
1643
1653
  ] });
@@ -1658,7 +1668,7 @@ var GroupLinks = ({ groupLinks }) => {
1658
1668
  };
1659
1669
  if (!groupLinks) return null;
1660
1670
  let linkIndex = 0;
1661
- return /* @__PURE__ */ jsx("div", { className: "flex items-center justify-between gap-4", children: groupLinks.map((group, index1) => /* @__PURE__ */ jsxs("div", { children: [
1671
+ return /* @__PURE__ */ jsx("div", { className: "flex items-center gap-4", children: groupLinks.map((group, index1) => /* @__PURE__ */ jsxs("div", { children: [
1662
1672
  /* @__PURE__ */ jsx("div", { className: "mb-4 text-xs", children: group.label }),
1663
1673
  /* @__PURE__ */ jsx("ul", { className: "flex flex-col gap-4", children: group.links.map((link, index2) => {
1664
1674
  const idx = linkIndex++;
@@ -1716,7 +1726,7 @@ var FeaturedLink = ({ link, optixFlowConfig }) => {
1716
1726
  Pressable,
1717
1727
  {
1718
1728
  href: getLinkUrl(link),
1719
- className: "group relative flex w-full overflow-hidden rounded-xl bg-muted px-8 py-12",
1729
+ className: "group relative flex w-full overflow-hidden rounded-xl bg-muted px-4 pt-12 pb-4",
1720
1730
  children: [
1721
1731
  /* @__PURE__ */ jsxs("div", { className: "relative z-10 flex w-full items-center gap-6", children: [
1722
1732
  /* @__PURE__ */ jsx("div", { className: "flex size-12 shrink-0 rounded-lg border bg-background shadow-lg", children: link.icon ? link.icon : link.iconName ? /* @__PURE__ */ jsx(
@@ -1832,10 +1842,10 @@ var renderMobileMenuItem = (item, index) => {
1832
1842
  children: [
1833
1843
  /* @__PURE__ */ jsx(AccordionTrigger, { className: "h-10 items-center text-base font-normal text-foreground hover:no-underline", children: item.label }),
1834
1844
  /* @__PURE__ */ jsxs(AccordionContent, { className: "flex flex-col gap-6 p-2", children: [
1835
- item.featuredLinks && /* @__PURE__ */ jsx("div", { className: "flex flex-col gap-2 p-2", children: item.featuredLinks.map((link, idx) => /* @__PURE__ */ jsx(NavLink, { link }, `default-nav-link-${idx}`)) }),
1836
- item.links && /* @__PURE__ */ jsx("div", { className: "flex flex-col gap-2 p-2", children: item.links.map((link, idx) => /* @__PURE__ */ jsx(NavLink, { link }, `default-nav-link-${idx}`)) }),
1837
- item.groupLinks && /* @__PURE__ */ jsx("div", { className: "flex flex-col gap-2 p-2", children: item.groupLinks.map((group, groupIdx) => /* @__PURE__ */ jsxs("div", { className: "mb-8 last:mb-0", children: [
1838
- /* @__PURE__ */ jsx("div", { className: "mb-4 text-xs text-muted-foreground", children: group.label }),
1845
+ item.featuredLinks && /* @__PURE__ */ jsx("div", { className: "flex flex-col gap-4 p-2", children: item.featuredLinks.map((link, idx) => /* @__PURE__ */ jsx(NavLink, { link }, `default-nav-link-${idx}`)) }),
1846
+ item.links && /* @__PURE__ */ jsx("div", { className: "flex flex-col gap-4 p-2", children: item.links.map((link, idx) => /* @__PURE__ */ jsx(NavLink, { link }, `default-nav-link-${idx}`)) }),
1847
+ item.groupLinks && /* @__PURE__ */ jsx("div", { className: "flex flex-col gap-4 p-2", children: item.groupLinks.map((group, groupIdx) => /* @__PURE__ */ jsxs("div", { className: "relative", children: [
1848
+ group.label && /* @__PURE__ */ jsx("div", { className: "mb-4 text-xs text-muted-foreground", children: group.label }),
1839
1849
  /* @__PURE__ */ jsx("ul", { className: "flex flex-col gap-2", children: group.links.map((link, linkIdx) => /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(NavLink, { link }) }, `group-link-${groupIdx}-${linkIdx}`)) })
1840
1850
  ] }, `group-link-${groupIdx}`)) })
1841
1851
  ] })
@@ -1091,6 +1091,7 @@ var NavbarMobileMenu = ({
1091
1091
  children,
1092
1092
  className,
1093
1093
  contentClassName,
1094
+ closeContainerClassName = "",
1094
1095
  title = "Mobile Navigation"
1095
1096
  }) => {
1096
1097
  React__namespace.useEffect(() => {
@@ -1115,18 +1116,27 @@ var NavbarMobileMenu = ({
1115
1116
  "data-state": open ? "open" : "closed",
1116
1117
  children: [
1117
1118
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "sr-only", children: /* @__PURE__ */ jsxRuntime.jsx("h2", { children: title }) }),
1118
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute top-0 left-0 right-0 p-4 bg-background flex justify-end items-center z-10 w-screen", children: /* @__PURE__ */ jsxRuntime.jsxs(
1119
- "button",
1119
+ /* @__PURE__ */ jsxRuntime.jsx(
1120
+ "div",
1120
1121
  {
1121
- onClick: onClose,
1122
- className: "flex size-10 items-center justify-center rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none",
1123
- "aria-label": "Close mobile menu",
1124
- children: [
1125
- /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: "lucide/x", className: "size-4" }),
1126
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sr-only", children: "Close" })
1127
- ]
1122
+ className: cn(
1123
+ closeContainerClassName,
1124
+ "absolute top-0 left-0 right-0 p-4 bg-background flex justify-end items-center z-10 w-screen"
1125
+ ),
1126
+ children: /* @__PURE__ */ jsxRuntime.jsxs(
1127
+ "button",
1128
+ {
1129
+ onClick: onClose,
1130
+ className: "flex size-10 items-center justify-center rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none",
1131
+ "aria-label": "Close mobile menu",
1132
+ children: [
1133
+ /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: "lucide/x", className: "size-4" }),
1134
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sr-only", children: "Close" })
1135
+ ]
1136
+ }
1137
+ )
1128
1138
  }
1129
- ) }),
1139
+ ),
1130
1140
  /* @__PURE__ */ jsxRuntime.jsx(
1131
1141
  "div",
1132
1142
  {
@@ -1068,6 +1068,7 @@ var NavbarMobileMenu = ({
1068
1068
  children,
1069
1069
  className,
1070
1070
  contentClassName,
1071
+ closeContainerClassName = "",
1071
1072
  title = "Mobile Navigation"
1072
1073
  }) => {
1073
1074
  React.useEffect(() => {
@@ -1092,18 +1093,27 @@ var NavbarMobileMenu = ({
1092
1093
  "data-state": open ? "open" : "closed",
1093
1094
  children: [
1094
1095
  /* @__PURE__ */ jsx("div", { className: "sr-only", children: /* @__PURE__ */ jsx("h2", { children: title }) }),
1095
- /* @__PURE__ */ jsx("div", { className: "absolute top-0 left-0 right-0 p-4 bg-background flex justify-end items-center z-10 w-screen", children: /* @__PURE__ */ jsxs(
1096
- "button",
1096
+ /* @__PURE__ */ jsx(
1097
+ "div",
1097
1098
  {
1098
- onClick: onClose,
1099
- className: "flex size-10 items-center justify-center rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none",
1100
- "aria-label": "Close mobile menu",
1101
- children: [
1102
- /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/x", className: "size-4" }),
1103
- /* @__PURE__ */ jsx("span", { className: "sr-only", children: "Close" })
1104
- ]
1099
+ className: cn(
1100
+ closeContainerClassName,
1101
+ "absolute top-0 left-0 right-0 p-4 bg-background flex justify-end items-center z-10 w-screen"
1102
+ ),
1103
+ children: /* @__PURE__ */ jsxs(
1104
+ "button",
1105
+ {
1106
+ onClick: onClose,
1107
+ className: "flex size-10 items-center justify-center rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none",
1108
+ "aria-label": "Close mobile menu",
1109
+ children: [
1110
+ /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/x", className: "size-4" }),
1111
+ /* @__PURE__ */ jsx("span", { className: "sr-only", children: "Close" })
1112
+ ]
1113
+ }
1114
+ )
1105
1115
  }
1106
- ) }),
1116
+ ),
1107
1117
  /* @__PURE__ */ jsx(
1108
1118
  "div",
1109
1119
  {
@@ -1138,6 +1138,7 @@ var NavbarMobileMenu = ({
1138
1138
  children,
1139
1139
  className,
1140
1140
  contentClassName,
1141
+ closeContainerClassName = "",
1141
1142
  title = "Mobile Navigation"
1142
1143
  }) => {
1143
1144
  React__namespace.useEffect(() => {
@@ -1162,18 +1163,27 @@ var NavbarMobileMenu = ({
1162
1163
  "data-state": open ? "open" : "closed",
1163
1164
  children: [
1164
1165
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "sr-only", children: /* @__PURE__ */ jsxRuntime.jsx("h2", { children: title }) }),
1165
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute top-0 left-0 right-0 p-4 bg-background flex justify-end items-center z-10 w-screen", children: /* @__PURE__ */ jsxRuntime.jsxs(
1166
- "button",
1166
+ /* @__PURE__ */ jsxRuntime.jsx(
1167
+ "div",
1167
1168
  {
1168
- onClick: onClose,
1169
- className: "flex size-10 items-center justify-center rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none",
1170
- "aria-label": "Close mobile menu",
1171
- children: [
1172
- /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: "lucide/x", className: "size-4" }),
1173
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sr-only", children: "Close" })
1174
- ]
1169
+ className: cn(
1170
+ closeContainerClassName,
1171
+ "absolute top-0 left-0 right-0 p-4 bg-background flex justify-end items-center z-10 w-screen"
1172
+ ),
1173
+ children: /* @__PURE__ */ jsxRuntime.jsxs(
1174
+ "button",
1175
+ {
1176
+ onClick: onClose,
1177
+ className: "flex size-10 items-center justify-center rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none",
1178
+ "aria-label": "Close mobile menu",
1179
+ children: [
1180
+ /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: "lucide/x", className: "size-4" }),
1181
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sr-only", children: "Close" })
1182
+ ]
1183
+ }
1184
+ )
1175
1185
  }
1176
- ) }),
1186
+ ),
1177
1187
  /* @__PURE__ */ jsxRuntime.jsx(
1178
1188
  "div",
1179
1189
  {
@@ -1115,6 +1115,7 @@ var NavbarMobileMenu = ({
1115
1115
  children,
1116
1116
  className,
1117
1117
  contentClassName,
1118
+ closeContainerClassName = "",
1118
1119
  title = "Mobile Navigation"
1119
1120
  }) => {
1120
1121
  React.useEffect(() => {
@@ -1139,18 +1140,27 @@ var NavbarMobileMenu = ({
1139
1140
  "data-state": open ? "open" : "closed",
1140
1141
  children: [
1141
1142
  /* @__PURE__ */ jsx("div", { className: "sr-only", children: /* @__PURE__ */ jsx("h2", { children: title }) }),
1142
- /* @__PURE__ */ jsx("div", { className: "absolute top-0 left-0 right-0 p-4 bg-background flex justify-end items-center z-10 w-screen", children: /* @__PURE__ */ jsxs(
1143
- "button",
1143
+ /* @__PURE__ */ jsx(
1144
+ "div",
1144
1145
  {
1145
- onClick: onClose,
1146
- className: "flex size-10 items-center justify-center rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none",
1147
- "aria-label": "Close mobile menu",
1148
- children: [
1149
- /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/x", className: "size-4" }),
1150
- /* @__PURE__ */ jsx("span", { className: "sr-only", children: "Close" })
1151
- ]
1146
+ className: cn(
1147
+ closeContainerClassName,
1148
+ "absolute top-0 left-0 right-0 p-4 bg-background flex justify-end items-center z-10 w-screen"
1149
+ ),
1150
+ children: /* @__PURE__ */ jsxs(
1151
+ "button",
1152
+ {
1153
+ onClick: onClose,
1154
+ className: "flex size-10 items-center justify-center rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none",
1155
+ "aria-label": "Close mobile menu",
1156
+ children: [
1157
+ /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/x", className: "size-4" }),
1158
+ /* @__PURE__ */ jsx("span", { className: "sr-only", children: "Close" })
1159
+ ]
1160
+ }
1161
+ )
1152
1162
  }
1153
- ) }),
1163
+ ),
1154
1164
  /* @__PURE__ */ jsx(
1155
1165
  "div",
1156
1166
  {
@@ -1138,6 +1138,7 @@ var NavbarMobileMenu = ({
1138
1138
  children,
1139
1139
  className,
1140
1140
  contentClassName,
1141
+ closeContainerClassName = "",
1141
1142
  title = "Mobile Navigation"
1142
1143
  }) => {
1143
1144
  React__namespace.useEffect(() => {
@@ -1162,18 +1163,27 @@ var NavbarMobileMenu = ({
1162
1163
  "data-state": open ? "open" : "closed",
1163
1164
  children: [
1164
1165
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "sr-only", children: /* @__PURE__ */ jsxRuntime.jsx("h2", { children: title }) }),
1165
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute top-0 left-0 right-0 p-4 bg-background flex justify-end items-center z-10 w-screen", children: /* @__PURE__ */ jsxRuntime.jsxs(
1166
- "button",
1166
+ /* @__PURE__ */ jsxRuntime.jsx(
1167
+ "div",
1167
1168
  {
1168
- onClick: onClose,
1169
- className: "flex size-10 items-center justify-center rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none",
1170
- "aria-label": "Close mobile menu",
1171
- children: [
1172
- /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: "lucide/x", className: "size-4" }),
1173
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sr-only", children: "Close" })
1174
- ]
1169
+ className: cn(
1170
+ closeContainerClassName,
1171
+ "absolute top-0 left-0 right-0 p-4 bg-background flex justify-end items-center z-10 w-screen"
1172
+ ),
1173
+ children: /* @__PURE__ */ jsxRuntime.jsxs(
1174
+ "button",
1175
+ {
1176
+ onClick: onClose,
1177
+ className: "flex size-10 items-center justify-center rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none",
1178
+ "aria-label": "Close mobile menu",
1179
+ children: [
1180
+ /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: "lucide/x", className: "size-4" }),
1181
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sr-only", children: "Close" })
1182
+ ]
1183
+ }
1184
+ )
1175
1185
  }
1176
- ) }),
1186
+ ),
1177
1187
  /* @__PURE__ */ jsxRuntime.jsx(
1178
1188
  "div",
1179
1189
  {
@@ -1115,6 +1115,7 @@ var NavbarMobileMenu = ({
1115
1115
  children,
1116
1116
  className,
1117
1117
  contentClassName,
1118
+ closeContainerClassName = "",
1118
1119
  title = "Mobile Navigation"
1119
1120
  }) => {
1120
1121
  React.useEffect(() => {
@@ -1139,18 +1140,27 @@ var NavbarMobileMenu = ({
1139
1140
  "data-state": open ? "open" : "closed",
1140
1141
  children: [
1141
1142
  /* @__PURE__ */ jsx("div", { className: "sr-only", children: /* @__PURE__ */ jsx("h2", { children: title }) }),
1142
- /* @__PURE__ */ jsx("div", { className: "absolute top-0 left-0 right-0 p-4 bg-background flex justify-end items-center z-10 w-screen", children: /* @__PURE__ */ jsxs(
1143
- "button",
1143
+ /* @__PURE__ */ jsx(
1144
+ "div",
1144
1145
  {
1145
- onClick: onClose,
1146
- className: "flex size-10 items-center justify-center rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none",
1147
- "aria-label": "Close mobile menu",
1148
- children: [
1149
- /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/x", className: "size-4" }),
1150
- /* @__PURE__ */ jsx("span", { className: "sr-only", children: "Close" })
1151
- ]
1146
+ className: cn(
1147
+ closeContainerClassName,
1148
+ "absolute top-0 left-0 right-0 p-4 bg-background flex justify-end items-center z-10 w-screen"
1149
+ ),
1150
+ children: /* @__PURE__ */ jsxs(
1151
+ "button",
1152
+ {
1153
+ onClick: onClose,
1154
+ className: "flex size-10 items-center justify-center rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none",
1155
+ "aria-label": "Close mobile menu",
1156
+ children: [
1157
+ /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/x", className: "size-4" }),
1158
+ /* @__PURE__ */ jsx("span", { className: "sr-only", children: "Close" })
1159
+ ]
1160
+ }
1161
+ )
1152
1162
  }
1153
- ) }),
1163
+ ),
1154
1164
  /* @__PURE__ */ jsx(
1155
1165
  "div",
1156
1166
  {