@opensite/ui 1.0.3 → 1.0.5

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 (47) hide show
  1. package/dist/navbar-animated-preview.cjs +67 -82
  2. package/dist/navbar-animated-preview.js +67 -81
  3. package/dist/navbar-centered-menu.cjs +101 -125
  4. package/dist/navbar-centered-menu.js +101 -124
  5. package/dist/navbar-dark-icons.cjs +67 -81
  6. package/dist/navbar-dark-icons.js +67 -80
  7. package/dist/navbar-dropdown-menu.cjs +87 -122
  8. package/dist/navbar-dropdown-menu.js +87 -121
  9. package/dist/navbar-education-platform.cjs +1 -1
  10. package/dist/navbar-education-platform.js +1 -1
  11. package/dist/navbar-enterprise-mega.cjs +7 -7
  12. package/dist/navbar-enterprise-mega.js +7 -7
  13. package/dist/navbar-feature-grid.cjs +131 -150
  14. package/dist/navbar-feature-grid.d.cts +9 -1
  15. package/dist/navbar-feature-grid.d.ts +9 -1
  16. package/dist/navbar-feature-grid.js +131 -149
  17. package/dist/navbar-floating-pill.cjs +2 -2
  18. package/dist/navbar-floating-pill.js +2 -2
  19. package/dist/navbar-fullscreen-menu.cjs +1 -1
  20. package/dist/navbar-fullscreen-menu.js +1 -1
  21. package/dist/navbar-icon-links.cjs +102 -138
  22. package/dist/navbar-icon-links.js +102 -137
  23. package/dist/navbar-image-preview.cjs +64 -95
  24. package/dist/navbar-image-preview.js +64 -94
  25. package/dist/navbar-mega-menu.cjs +1 -1
  26. package/dist/navbar-mega-menu.js +1 -1
  27. package/dist/navbar-multi-column-groups.cjs +67 -81
  28. package/dist/navbar-multi-column-groups.js +67 -80
  29. package/dist/navbar-platform-resources.cjs +80 -42
  30. package/dist/navbar-platform-resources.js +80 -42
  31. package/dist/navbar-search-focused.cjs +76 -93
  32. package/dist/navbar-search-focused.js +76 -92
  33. package/dist/navbar-sidebar-mobile.cjs +76 -93
  34. package/dist/navbar-sidebar-mobile.js +76 -92
  35. package/dist/navbar-simple-links.cjs +1 -1
  36. package/dist/navbar-simple-links.js +1 -1
  37. package/dist/navbar-split-cta.cjs +78 -95
  38. package/dist/navbar-split-cta.js +78 -94
  39. package/dist/navbar-sticky-compact.cjs +82 -100
  40. package/dist/navbar-sticky-compact.js +82 -99
  41. package/dist/navbar-tabbed-sections.cjs +91 -115
  42. package/dist/navbar-tabbed-sections.js +91 -114
  43. package/dist/navbar-transparent-overlay.cjs +1 -1
  44. package/dist/navbar-transparent-overlay.js +1 -1
  45. package/dist/registry.cjs +594 -618
  46. package/dist/registry.js +593 -617
  47. package/package.json +1 -1
@@ -8,7 +8,6 @@ var classVarianceAuthority = require('class-variance-authority');
8
8
  var jsxRuntime = require('react/jsx-runtime');
9
9
  var img = require('@page-speed/img');
10
10
  var NavigationMenuPrimitive = require('@radix-ui/react-navigation-menu');
11
- var SheetPrimitive = require('@radix-ui/react-dialog');
12
11
 
13
12
  function _interopNamespace(e) {
14
13
  if (e && e.__esModule) return e;
@@ -30,7 +29,6 @@ function _interopNamespace(e) {
30
29
 
31
30
  var React__namespace = /*#__PURE__*/_interopNamespace(React);
32
31
  var NavigationMenuPrimitive__namespace = /*#__PURE__*/_interopNamespace(NavigationMenuPrimitive);
33
- var SheetPrimitive__namespace = /*#__PURE__*/_interopNamespace(SheetPrimitive);
34
32
 
35
33
  // components/blocks/navbars/navbar-image-preview.tsx
36
34
  function cn(...inputs) {
@@ -826,14 +824,14 @@ function PatternBackground({
826
824
  );
827
825
  }
828
826
  if (pattern in patternOverlays) {
829
- const Overlay2 = patternOverlays[pattern];
827
+ const Overlay = patternOverlays[pattern];
830
828
  return /* @__PURE__ */ jsxRuntime.jsx(
831
829
  "div",
832
830
  {
833
831
  className: cn("pointer-events-none absolute inset-0 z-0", className),
834
832
  style: { opacity, ...style },
835
833
  "aria-hidden": "true",
836
- children: Overlay2()
834
+ children: Overlay()
837
835
  }
838
836
  );
839
837
  }
@@ -1132,80 +1130,62 @@ function NavigationMenuLink({
1132
1130
  }
1133
1131
  );
1134
1132
  }
1135
- function Sheet({ ...props }) {
1136
- return /* @__PURE__ */ jsxRuntime.jsx(SheetPrimitive__namespace.Root, { "data-slot": "sheet", ...props });
1137
- }
1138
- function SheetClose({
1139
- ...props
1140
- }) {
1141
- return /* @__PURE__ */ jsxRuntime.jsx(SheetPrimitive__namespace.Close, { "data-slot": "sheet-close", ...props });
1142
- }
1143
- function SheetPortal({
1144
- ...props
1145
- }) {
1146
- return /* @__PURE__ */ jsxRuntime.jsx(SheetPrimitive__namespace.Portal, { "data-slot": "sheet-portal", ...props });
1147
- }
1148
- function SheetOverlay({
1133
+ var NavbarMobileMenu = ({
1134
+ open,
1135
+ onClose,
1136
+ children,
1149
1137
  className,
1150
- ...props
1151
- }) {
1152
- return /* @__PURE__ */ jsxRuntime.jsx(
1153
- SheetPrimitive__namespace.Overlay,
1138
+ contentClassName,
1139
+ title = "Mobile Navigation"
1140
+ }) => {
1141
+ React__namespace.useEffect(() => {
1142
+ if (open) {
1143
+ const originalOverflow = document.body.style.overflow;
1144
+ document.body.style.overflow = "hidden";
1145
+ return () => {
1146
+ document.body.style.overflow = originalOverflow;
1147
+ };
1148
+ }
1149
+ }, [open]);
1150
+ if (!open) return null;
1151
+ return /* @__PURE__ */ jsxRuntime.jsxs(
1152
+ "div",
1154
1153
  {
1155
- "data-slot": "sheet-overlay",
1156
1154
  className: cn(
1157
- "data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",
1155
+ "fixed inset-0 z-[998] flex flex-col bg-background",
1156
+ "animate-in slide-in-from-top duration-300",
1157
+ "data-[state=closed]:animate-out data-[state=closed]:slide-out-to-top data-[state=closed]:duration-300",
1158
1158
  className
1159
1159
  ),
1160
- ...props
1161
- }
1162
- );
1163
- }
1164
- function SheetContent({
1165
- className,
1166
- children,
1167
- side = "right",
1168
- ...props
1169
- }) {
1170
- return /* @__PURE__ */ jsxRuntime.jsxs(SheetPortal, { children: [
1171
- /* @__PURE__ */ jsxRuntime.jsx(SheetOverlay, {}),
1172
- /* @__PURE__ */ jsxRuntime.jsxs(
1173
- SheetPrimitive__namespace.Content,
1174
- {
1175
- "data-slot": "sheet-content",
1176
- className: cn(
1177
- "bg-background data-[state=open]:animate-in data-[state=closed]:animate-out fixed z-50 flex flex-col gap-4 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500",
1178
- side === "right" && "data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right inset-y-0 right-0 h-full w-3/4 border-l sm:max-w-sm",
1179
- side === "left" && "data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left inset-y-0 left-0 h-full w-3/4 border-r sm:max-w-sm",
1180
- side === "top" && "data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top inset-x-0 top-0 h-auto border-b",
1181
- side === "bottom" && "data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom inset-x-0 bottom-0 h-auto border-t",
1182
- className
1183
- ),
1184
- ...props,
1185
- children: [
1186
- children,
1187
- /* @__PURE__ */ jsxRuntime.jsxs(SheetPrimitive__namespace.Close, { className: "ring-offset-background focus:ring-ring data-[state=open]:bg-secondary absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none", children: [
1188
- /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: "lucide/x", className: "size-4" }),
1189
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sr-only", children: "Close" })
1190
- ] })
1191
- ]
1192
- }
1193
- )
1194
- ] });
1195
- }
1196
- function SheetTitle({
1197
- className,
1198
- ...props
1199
- }) {
1200
- return /* @__PURE__ */ jsxRuntime.jsx(
1201
- SheetPrimitive__namespace.Title,
1202
- {
1203
- "data-slot": "sheet-title",
1204
- className: cn("text-foreground font-semibold", className),
1205
- ...props
1160
+ "data-state": open ? "open" : "closed",
1161
+ children: [
1162
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "sr-only", children: /* @__PURE__ */ jsxRuntime.jsx("h2", { children: title }) }),
1163
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute top-4 right-4 z-10", children: /* @__PURE__ */ jsxRuntime.jsxs(
1164
+ "button",
1165
+ {
1166
+ onClick: onClose,
1167
+ 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",
1168
+ "aria-label": "Close mobile menu",
1169
+ children: [
1170
+ /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: "lucide/x", className: "size-4" }),
1171
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sr-only", children: "Close" })
1172
+ ]
1173
+ }
1174
+ ) }),
1175
+ /* @__PURE__ */ jsxRuntime.jsx(
1176
+ "div",
1177
+ {
1178
+ className: cn(
1179
+ "h-full overflow-y-auto pt-20 pb-8 px-4 sm:px-6",
1180
+ contentClassName
1181
+ ),
1182
+ children
1183
+ }
1184
+ )
1185
+ ]
1206
1186
  }
1207
1187
  );
1208
- }
1188
+ };
1209
1189
 
1210
1190
  // components/blocks/navbars/types.ts
1211
1191
  function getLinkUrl(item) {
@@ -1227,7 +1207,7 @@ function getNavbarLayoutClasses(layoutVariant = "fullScreenContainerizedLinks",
1227
1207
  // Outer container wrapper (only for floating bar - this containerizes the entire navbar)
1228
1208
  containerWrapperClasses: cn(
1229
1209
  "w-full",
1230
- isFloatingBar && "mx-auto w-full px-2 sm:px-4 lg:px-8 max-w-7xl relative z-10"
1210
+ isFloatingBar && "mx-auto container relative z-10 px-0 sm:px-0 lg:px-0"
1231
1211
  ),
1232
1212
  // Inner container classes (only for fullScreenContainerizedLinks - this containerizes the content inside the navbar)
1233
1213
  innerContainerClasses: cn(
@@ -1602,32 +1582,21 @@ var MobileNavigationMenu = ({
1602
1582
  );
1603
1583
  }) });
1604
1584
  }, [authActionsSlot, authActions]);
1605
- return /* @__PURE__ */ jsxRuntime.jsx(Sheet, { open, onOpenChange: setOpen, children: /* @__PURE__ */ jsxRuntime.jsx(
1606
- SheetContent,
1585
+ return /* @__PURE__ */ jsxRuntime.jsx(
1586
+ NavbarMobileMenu,
1607
1587
  {
1608
- "aria-describedby": void 0,
1609
- side: "top",
1610
- className: "inset-0 z-600 h-dvh w-full bg-primary text-primary-foreground [&>button]:hidden",
1611
- children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex-1 overflow-y-auto", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "container pb-12", children: [
1612
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute -m-px h-px w-px overflow-hidden border-0 mask-clip-border p-0 text-nowrap whitespace-nowrap", children: /* @__PURE__ */ jsxRuntime.jsx(SheetTitle, { className: "text-primary", children: "Mobile Navigation" }) }),
1613
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex justify-end pt-5", children: /* @__PURE__ */ jsxRuntime.jsx(SheetClose, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx(
1614
- Pressable,
1615
- {
1616
- size: "icon",
1617
- asButton: true,
1618
- className: "size-9 rounded-full bg-muted/20 hover:bg-muted/20",
1619
- onClick: () => setOpen(false),
1620
- children: /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: "lucide/x", size: 22 })
1621
- }
1622
- ) }) }),
1623
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex h-full flex-col justify-between gap-30 pt-24", children: [
1624
- renderMobileNavigation,
1625
- renderSocialLinks,
1626
- renderMobileAuthActions
1627
- ] })
1588
+ open,
1589
+ onClose: () => setOpen(false),
1590
+ title: "Mobile Navigation",
1591
+ className: "bg-primary text-primary-foreground",
1592
+ contentClassName: "pt-24 pb-12",
1593
+ children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "max-w-screen-sm mx-auto", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex h-full flex-col justify-between gap-30", children: [
1594
+ renderMobileNavigation,
1595
+ renderSocialLinks,
1596
+ renderMobileAuthActions
1628
1597
  ] }) })
1629
1598
  }
1630
- ) });
1599
+ );
1631
1600
  };
1632
1601
 
1633
1602
  exports.NavbarImagePreview = NavbarImagePreview;
@@ -7,7 +7,6 @@ import { cva } from 'class-variance-authority';
7
7
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
8
8
  import { Img } from '@page-speed/img';
9
9
  import * as NavigationMenuPrimitive from '@radix-ui/react-navigation-menu';
10
- import * as SheetPrimitive from '@radix-ui/react-dialog';
11
10
 
12
11
  // components/blocks/navbars/navbar-image-preview.tsx
13
12
  function cn(...inputs) {
@@ -803,14 +802,14 @@ function PatternBackground({
803
802
  );
804
803
  }
805
804
  if (pattern in patternOverlays) {
806
- const Overlay2 = patternOverlays[pattern];
805
+ const Overlay = patternOverlays[pattern];
807
806
  return /* @__PURE__ */ jsx(
808
807
  "div",
809
808
  {
810
809
  className: cn("pointer-events-none absolute inset-0 z-0", className),
811
810
  style: { opacity, ...style },
812
811
  "aria-hidden": "true",
813
- children: Overlay2()
812
+ children: Overlay()
814
813
  }
815
814
  );
816
815
  }
@@ -1109,80 +1108,62 @@ function NavigationMenuLink({
1109
1108
  }
1110
1109
  );
1111
1110
  }
1112
- function Sheet({ ...props }) {
1113
- return /* @__PURE__ */ jsx(SheetPrimitive.Root, { "data-slot": "sheet", ...props });
1114
- }
1115
- function SheetClose({
1116
- ...props
1117
- }) {
1118
- return /* @__PURE__ */ jsx(SheetPrimitive.Close, { "data-slot": "sheet-close", ...props });
1119
- }
1120
- function SheetPortal({
1121
- ...props
1122
- }) {
1123
- return /* @__PURE__ */ jsx(SheetPrimitive.Portal, { "data-slot": "sheet-portal", ...props });
1124
- }
1125
- function SheetOverlay({
1111
+ var NavbarMobileMenu = ({
1112
+ open,
1113
+ onClose,
1114
+ children,
1126
1115
  className,
1127
- ...props
1128
- }) {
1129
- return /* @__PURE__ */ jsx(
1130
- SheetPrimitive.Overlay,
1116
+ contentClassName,
1117
+ title = "Mobile Navigation"
1118
+ }) => {
1119
+ React.useEffect(() => {
1120
+ if (open) {
1121
+ const originalOverflow = document.body.style.overflow;
1122
+ document.body.style.overflow = "hidden";
1123
+ return () => {
1124
+ document.body.style.overflow = originalOverflow;
1125
+ };
1126
+ }
1127
+ }, [open]);
1128
+ if (!open) return null;
1129
+ return /* @__PURE__ */ jsxs(
1130
+ "div",
1131
1131
  {
1132
- "data-slot": "sheet-overlay",
1133
1132
  className: cn(
1134
- "data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",
1133
+ "fixed inset-0 z-[998] flex flex-col bg-background",
1134
+ "animate-in slide-in-from-top duration-300",
1135
+ "data-[state=closed]:animate-out data-[state=closed]:slide-out-to-top data-[state=closed]:duration-300",
1135
1136
  className
1136
1137
  ),
1137
- ...props
1138
- }
1139
- );
1140
- }
1141
- function SheetContent({
1142
- className,
1143
- children,
1144
- side = "right",
1145
- ...props
1146
- }) {
1147
- return /* @__PURE__ */ jsxs(SheetPortal, { children: [
1148
- /* @__PURE__ */ jsx(SheetOverlay, {}),
1149
- /* @__PURE__ */ jsxs(
1150
- SheetPrimitive.Content,
1151
- {
1152
- "data-slot": "sheet-content",
1153
- className: cn(
1154
- "bg-background data-[state=open]:animate-in data-[state=closed]:animate-out fixed z-50 flex flex-col gap-4 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500",
1155
- side === "right" && "data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right inset-y-0 right-0 h-full w-3/4 border-l sm:max-w-sm",
1156
- side === "left" && "data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left inset-y-0 left-0 h-full w-3/4 border-r sm:max-w-sm",
1157
- side === "top" && "data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top inset-x-0 top-0 h-auto border-b",
1158
- side === "bottom" && "data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom inset-x-0 bottom-0 h-auto border-t",
1159
- className
1160
- ),
1161
- ...props,
1162
- children: [
1163
- children,
1164
- /* @__PURE__ */ jsxs(SheetPrimitive.Close, { className: "ring-offset-background focus:ring-ring data-[state=open]:bg-secondary absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none", children: [
1165
- /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/x", className: "size-4" }),
1166
- /* @__PURE__ */ jsx("span", { className: "sr-only", children: "Close" })
1167
- ] })
1168
- ]
1169
- }
1170
- )
1171
- ] });
1172
- }
1173
- function SheetTitle({
1174
- className,
1175
- ...props
1176
- }) {
1177
- return /* @__PURE__ */ jsx(
1178
- SheetPrimitive.Title,
1179
- {
1180
- "data-slot": "sheet-title",
1181
- className: cn("text-foreground font-semibold", className),
1182
- ...props
1138
+ "data-state": open ? "open" : "closed",
1139
+ children: [
1140
+ /* @__PURE__ */ jsx("div", { className: "sr-only", children: /* @__PURE__ */ jsx("h2", { children: title }) }),
1141
+ /* @__PURE__ */ jsx("div", { className: "absolute top-4 right-4 z-10", children: /* @__PURE__ */ jsxs(
1142
+ "button",
1143
+ {
1144
+ onClick: onClose,
1145
+ 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",
1146
+ "aria-label": "Close mobile menu",
1147
+ children: [
1148
+ /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/x", className: "size-4" }),
1149
+ /* @__PURE__ */ jsx("span", { className: "sr-only", children: "Close" })
1150
+ ]
1151
+ }
1152
+ ) }),
1153
+ /* @__PURE__ */ jsx(
1154
+ "div",
1155
+ {
1156
+ className: cn(
1157
+ "h-full overflow-y-auto pt-20 pb-8 px-4 sm:px-6",
1158
+ contentClassName
1159
+ ),
1160
+ children
1161
+ }
1162
+ )
1163
+ ]
1183
1164
  }
1184
1165
  );
1185
- }
1166
+ };
1186
1167
 
1187
1168
  // components/blocks/navbars/types.ts
1188
1169
  function getLinkUrl(item) {
@@ -1204,7 +1185,7 @@ function getNavbarLayoutClasses(layoutVariant = "fullScreenContainerizedLinks",
1204
1185
  // Outer container wrapper (only for floating bar - this containerizes the entire navbar)
1205
1186
  containerWrapperClasses: cn(
1206
1187
  "w-full",
1207
- isFloatingBar && "mx-auto w-full px-2 sm:px-4 lg:px-8 max-w-7xl relative z-10"
1188
+ isFloatingBar && "mx-auto container relative z-10 px-0 sm:px-0 lg:px-0"
1208
1189
  ),
1209
1190
  // Inner container classes (only for fullScreenContainerizedLinks - this containerizes the content inside the navbar)
1210
1191
  innerContainerClasses: cn(
@@ -1579,32 +1560,21 @@ var MobileNavigationMenu = ({
1579
1560
  );
1580
1561
  }) });
1581
1562
  }, [authActionsSlot, authActions]);
1582
- return /* @__PURE__ */ jsx(Sheet, { open, onOpenChange: setOpen, children: /* @__PURE__ */ jsx(
1583
- SheetContent,
1563
+ return /* @__PURE__ */ jsx(
1564
+ NavbarMobileMenu,
1584
1565
  {
1585
- "aria-describedby": void 0,
1586
- side: "top",
1587
- className: "inset-0 z-600 h-dvh w-full bg-primary text-primary-foreground [&>button]:hidden",
1588
- children: /* @__PURE__ */ jsx("div", { className: "flex-1 overflow-y-auto", children: /* @__PURE__ */ jsxs("div", { className: "container pb-12", children: [
1589
- /* @__PURE__ */ jsx("div", { className: "absolute -m-px h-px w-px overflow-hidden border-0 mask-clip-border p-0 text-nowrap whitespace-nowrap", children: /* @__PURE__ */ jsx(SheetTitle, { className: "text-primary", children: "Mobile Navigation" }) }),
1590
- /* @__PURE__ */ jsx("div", { className: "flex justify-end pt-5", children: /* @__PURE__ */ jsx(SheetClose, { asChild: true, children: /* @__PURE__ */ jsx(
1591
- Pressable,
1592
- {
1593
- size: "icon",
1594
- asButton: true,
1595
- className: "size-9 rounded-full bg-muted/20 hover:bg-muted/20",
1596
- onClick: () => setOpen(false),
1597
- children: /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/x", size: 22 })
1598
- }
1599
- ) }) }),
1600
- /* @__PURE__ */ jsxs("div", { className: "flex h-full flex-col justify-between gap-30 pt-24", children: [
1601
- renderMobileNavigation,
1602
- renderSocialLinks,
1603
- renderMobileAuthActions
1604
- ] })
1566
+ open,
1567
+ onClose: () => setOpen(false),
1568
+ title: "Mobile Navigation",
1569
+ className: "bg-primary text-primary-foreground",
1570
+ contentClassName: "pt-24 pb-12",
1571
+ children: /* @__PURE__ */ jsx("div", { className: "max-w-screen-sm mx-auto", children: /* @__PURE__ */ jsxs("div", { className: "flex h-full flex-col justify-between gap-30", children: [
1572
+ renderMobileNavigation,
1573
+ renderSocialLinks,
1574
+ renderMobileAuthActions
1605
1575
  ] }) })
1606
1576
  }
1607
- ) });
1577
+ );
1608
1578
  };
1609
1579
 
1610
1580
  export { NavbarImagePreview };
@@ -1151,7 +1151,7 @@ function getNavbarLayoutClasses(layoutVariant = "fullScreenContainerizedLinks",
1151
1151
  // Outer container wrapper (only for floating bar - this containerizes the entire navbar)
1152
1152
  containerWrapperClasses: cn(
1153
1153
  "w-full",
1154
- isFloatingBar && "mx-auto w-full px-2 sm:px-4 lg:px-8 max-w-7xl relative z-10"
1154
+ isFloatingBar && "mx-auto container relative z-10 px-0 sm:px-0 lg:px-0"
1155
1155
  ),
1156
1156
  // Inner container classes (only for fullScreenContainerizedLinks - this containerizes the content inside the navbar)
1157
1157
  innerContainerClasses: cn(
@@ -1129,7 +1129,7 @@ function getNavbarLayoutClasses(layoutVariant = "fullScreenContainerizedLinks",
1129
1129
  // Outer container wrapper (only for floating bar - this containerizes the entire navbar)
1130
1130
  containerWrapperClasses: cn(
1131
1131
  "w-full",
1132
- isFloatingBar && "mx-auto w-full px-2 sm:px-4 lg:px-8 max-w-7xl relative z-10"
1132
+ isFloatingBar && "mx-auto container relative z-10 px-0 sm:px-0 lg:px-0"
1133
1133
  ),
1134
1134
  // Inner container classes (only for fullScreenContainerizedLinks - this containerizes the content inside the navbar)
1135
1135
  innerContainerClasses: cn(