@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-sticky-compact.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 SheetTrigger({
1139
- ...props
1140
- }) {
1141
- return /* @__PURE__ */ jsxRuntime.jsx(SheetPrimitive__namespace.Trigger, { "data-slot": "sheet-trigger", ...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/layout-variant-utils.ts
1211
1191
  function getNavbarLayoutClasses(layoutVariant = "fullScreenContainerizedLinks", customClasses) {
@@ -1222,7 +1202,7 @@ function getNavbarLayoutClasses(layoutVariant = "fullScreenContainerizedLinks",
1222
1202
  // Outer container wrapper (only for floating bar - this containerizes the entire navbar)
1223
1203
  containerWrapperClasses: cn(
1224
1204
  "w-full",
1225
- isFloatingBar && "mx-auto w-full px-2 sm:px-4 lg:px-8 max-w-7xl relative z-10"
1205
+ isFloatingBar && "mx-auto container relative z-10 px-0 sm:px-0 lg:px-0"
1226
1206
  ),
1227
1207
  // Inner container classes (only for fullScreenContainerizedLinks - this containerizes the content inside the navbar)
1228
1208
  innerContainerClasses: cn(
@@ -1428,31 +1408,33 @@ var NavbarStickyCompact = ({
1428
1408
  children: renderAuthActions
1429
1409
  }
1430
1410
  ),
1431
- /* @__PURE__ */ jsxRuntime.jsxs(Sheet, { open: isOpen, onOpenChange: setIsOpen, children: [
1432
- /* @__PURE__ */ jsxRuntime.jsx(SheetTrigger, { asChild: true, className: "lg:hidden", children: /* @__PURE__ */ jsxRuntime.jsxs(
1433
- Pressable,
1434
- {
1435
- variant: "ghost",
1436
- size: isScrolled ? "sm" : "icon",
1437
- asButton: true,
1438
- onClick: () => {
1439
- },
1440
- className: "transition-all duration-300",
1441
- children: [
1442
- /* @__PURE__ */ jsxRuntime.jsx(
1443
- DynamicIcon,
1444
- {
1445
- name: "lucide/menu",
1446
- size: isScrolled ? 18 : 20
1447
- }
1448
- ),
1449
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sr-only", children: "Toggle menu" })
1450
- ]
1451
- }
1452
- ) }),
1453
- /* @__PURE__ */ jsxRuntime.jsxs(SheetContent, { side: "right", className: "w-[280px]", children: [
1454
- /* @__PURE__ */ jsxRuntime.jsx(SheetTitle, { className: "sr-only", children: "Navigation Menu" }),
1455
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-4 pt-8", children: [
1411
+ /* @__PURE__ */ jsxRuntime.jsxs(
1412
+ Pressable,
1413
+ {
1414
+ variant: "ghost",
1415
+ size: isScrolled ? "sm" : "icon",
1416
+ asButton: true,
1417
+ className: "lg:hidden transition-all duration-300",
1418
+ onClick: () => setIsOpen(!isOpen),
1419
+ children: [
1420
+ /* @__PURE__ */ jsxRuntime.jsx(
1421
+ DynamicIcon,
1422
+ {
1423
+ name: "lucide/menu",
1424
+ size: isScrolled ? 18 : 20
1425
+ }
1426
+ ),
1427
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sr-only", children: "Toggle menu" })
1428
+ ]
1429
+ }
1430
+ ),
1431
+ /* @__PURE__ */ jsxRuntime.jsx(
1432
+ NavbarMobileMenu,
1433
+ {
1434
+ open: isOpen,
1435
+ onClose: () => setIsOpen(false),
1436
+ title: "Navigation Menu",
1437
+ children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "max-w-screen-sm mx-auto", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-4", children: [
1456
1438
  renderMobileMenu,
1457
1439
  /* @__PURE__ */ jsxRuntime.jsx(
1458
1440
  "div",
@@ -1464,9 +1446,9 @@ var NavbarStickyCompact = ({
1464
1446
  children: renderAuthActions
1465
1447
  }
1466
1448
  )
1467
- ] })
1468
- ] })
1469
- ] })
1449
+ ] }) })
1450
+ }
1451
+ )
1470
1452
  ]
1471
1453
  }
1472
1454
  ) }) }) })
@@ -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-sticky-compact.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 SheetTrigger({
1116
- ...props
1117
- }) {
1118
- return /* @__PURE__ */ jsx(SheetPrimitive.Trigger, { "data-slot": "sheet-trigger", ...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/layout-variant-utils.ts
1188
1169
  function getNavbarLayoutClasses(layoutVariant = "fullScreenContainerizedLinks", customClasses) {
@@ -1199,7 +1180,7 @@ function getNavbarLayoutClasses(layoutVariant = "fullScreenContainerizedLinks",
1199
1180
  // Outer container wrapper (only for floating bar - this containerizes the entire navbar)
1200
1181
  containerWrapperClasses: cn(
1201
1182
  "w-full",
1202
- isFloatingBar && "mx-auto w-full px-2 sm:px-4 lg:px-8 max-w-7xl relative z-10"
1183
+ isFloatingBar && "mx-auto container relative z-10 px-0 sm:px-0 lg:px-0"
1203
1184
  ),
1204
1185
  // Inner container classes (only for fullScreenContainerizedLinks - this containerizes the content inside the navbar)
1205
1186
  innerContainerClasses: cn(
@@ -1405,31 +1386,33 @@ var NavbarStickyCompact = ({
1405
1386
  children: renderAuthActions
1406
1387
  }
1407
1388
  ),
1408
- /* @__PURE__ */ jsxs(Sheet, { open: isOpen, onOpenChange: setIsOpen, children: [
1409
- /* @__PURE__ */ jsx(SheetTrigger, { asChild: true, className: "lg:hidden", children: /* @__PURE__ */ jsxs(
1410
- Pressable,
1411
- {
1412
- variant: "ghost",
1413
- size: isScrolled ? "sm" : "icon",
1414
- asButton: true,
1415
- onClick: () => {
1416
- },
1417
- className: "transition-all duration-300",
1418
- children: [
1419
- /* @__PURE__ */ jsx(
1420
- DynamicIcon,
1421
- {
1422
- name: "lucide/menu",
1423
- size: isScrolled ? 18 : 20
1424
- }
1425
- ),
1426
- /* @__PURE__ */ jsx("span", { className: "sr-only", children: "Toggle menu" })
1427
- ]
1428
- }
1429
- ) }),
1430
- /* @__PURE__ */ jsxs(SheetContent, { side: "right", className: "w-[280px]", children: [
1431
- /* @__PURE__ */ jsx(SheetTitle, { className: "sr-only", children: "Navigation Menu" }),
1432
- /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-4 pt-8", children: [
1389
+ /* @__PURE__ */ jsxs(
1390
+ Pressable,
1391
+ {
1392
+ variant: "ghost",
1393
+ size: isScrolled ? "sm" : "icon",
1394
+ asButton: true,
1395
+ className: "lg:hidden transition-all duration-300",
1396
+ onClick: () => setIsOpen(!isOpen),
1397
+ children: [
1398
+ /* @__PURE__ */ jsx(
1399
+ DynamicIcon,
1400
+ {
1401
+ name: "lucide/menu",
1402
+ size: isScrolled ? 18 : 20
1403
+ }
1404
+ ),
1405
+ /* @__PURE__ */ jsx("span", { className: "sr-only", children: "Toggle menu" })
1406
+ ]
1407
+ }
1408
+ ),
1409
+ /* @__PURE__ */ jsx(
1410
+ NavbarMobileMenu,
1411
+ {
1412
+ open: isOpen,
1413
+ onClose: () => setIsOpen(false),
1414
+ title: "Navigation Menu",
1415
+ children: /* @__PURE__ */ jsx("div", { className: "max-w-screen-sm mx-auto", children: /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-4", children: [
1433
1416
  renderMobileMenu,
1434
1417
  /* @__PURE__ */ jsx(
1435
1418
  "div",
@@ -1441,9 +1424,9 @@ var NavbarStickyCompact = ({
1441
1424
  children: renderAuthActions
1442
1425
  }
1443
1426
  )
1444
- ] })
1445
- ] })
1446
- ] })
1427
+ ] }) })
1428
+ }
1429
+ )
1447
1430
  ]
1448
1431
  }
1449
1432
  ) }) }) })