@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.
- package/dist/navbar-animated-preview.cjs +67 -82
- package/dist/navbar-animated-preview.js +67 -81
- package/dist/navbar-centered-menu.cjs +101 -125
- package/dist/navbar-centered-menu.js +101 -124
- package/dist/navbar-dark-icons.cjs +67 -81
- package/dist/navbar-dark-icons.js +67 -80
- package/dist/navbar-dropdown-menu.cjs +87 -122
- package/dist/navbar-dropdown-menu.js +87 -121
- package/dist/navbar-education-platform.cjs +1 -1
- package/dist/navbar-education-platform.js +1 -1
- package/dist/navbar-enterprise-mega.cjs +7 -7
- package/dist/navbar-enterprise-mega.js +7 -7
- package/dist/navbar-feature-grid.cjs +131 -150
- package/dist/navbar-feature-grid.d.cts +9 -1
- package/dist/navbar-feature-grid.d.ts +9 -1
- package/dist/navbar-feature-grid.js +131 -149
- package/dist/navbar-floating-pill.cjs +2 -2
- package/dist/navbar-floating-pill.js +2 -2
- package/dist/navbar-fullscreen-menu.cjs +1 -1
- package/dist/navbar-fullscreen-menu.js +1 -1
- package/dist/navbar-icon-links.cjs +102 -138
- package/dist/navbar-icon-links.js +102 -137
- package/dist/navbar-image-preview.cjs +64 -95
- package/dist/navbar-image-preview.js +64 -94
- package/dist/navbar-mega-menu.cjs +1 -1
- package/dist/navbar-mega-menu.js +1 -1
- package/dist/navbar-multi-column-groups.cjs +67 -81
- package/dist/navbar-multi-column-groups.js +67 -80
- package/dist/navbar-platform-resources.cjs +80 -42
- package/dist/navbar-platform-resources.js +80 -42
- package/dist/navbar-search-focused.cjs +76 -93
- package/dist/navbar-search-focused.js +76 -92
- package/dist/navbar-sidebar-mobile.cjs +76 -93
- package/dist/navbar-sidebar-mobile.js +76 -92
- package/dist/navbar-simple-links.cjs +1 -1
- package/dist/navbar-simple-links.js +1 -1
- package/dist/navbar-split-cta.cjs +78 -95
- package/dist/navbar-split-cta.js +78 -94
- package/dist/navbar-sticky-compact.cjs +82 -100
- package/dist/navbar-sticky-compact.js +82 -99
- package/dist/navbar-tabbed-sections.cjs +91 -115
- package/dist/navbar-tabbed-sections.js +91 -114
- package/dist/navbar-transparent-overlay.cjs +1 -1
- package/dist/navbar-transparent-overlay.js +1 -1
- package/dist/registry.cjs +594 -618
- package/dist/registry.js +593 -617
- package/package.json +1 -1
|
@@ -9,7 +9,6 @@ var jsxRuntime = require('react/jsx-runtime');
|
|
|
9
9
|
var img = require('@page-speed/img');
|
|
10
10
|
var AccordionPrimitive = require('@radix-ui/react-accordion');
|
|
11
11
|
var NavigationMenuPrimitive = require('@radix-ui/react-navigation-menu');
|
|
12
|
-
var SheetPrimitive = require('@radix-ui/react-dialog');
|
|
13
12
|
|
|
14
13
|
function _interopNamespace(e) {
|
|
15
14
|
if (e && e.__esModule) return e;
|
|
@@ -32,7 +31,6 @@ function _interopNamespace(e) {
|
|
|
32
31
|
var React__namespace = /*#__PURE__*/_interopNamespace(React);
|
|
33
32
|
var AccordionPrimitive__namespace = /*#__PURE__*/_interopNamespace(AccordionPrimitive);
|
|
34
33
|
var NavigationMenuPrimitive__namespace = /*#__PURE__*/_interopNamespace(NavigationMenuPrimitive);
|
|
35
|
-
var SheetPrimitive__namespace = /*#__PURE__*/_interopNamespace(SheetPrimitive);
|
|
36
34
|
|
|
37
35
|
// components/blocks/navbars/navbar-sidebar-mobile.tsx
|
|
38
36
|
function cn(...inputs) {
|
|
@@ -828,14 +826,14 @@ function PatternBackground({
|
|
|
828
826
|
);
|
|
829
827
|
}
|
|
830
828
|
if (pattern in patternOverlays) {
|
|
831
|
-
const
|
|
829
|
+
const Overlay = patternOverlays[pattern];
|
|
832
830
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
833
831
|
"div",
|
|
834
832
|
{
|
|
835
833
|
className: cn("pointer-events-none absolute inset-0 z-0", className),
|
|
836
834
|
style: { opacity, ...style },
|
|
837
835
|
"aria-hidden": "true",
|
|
838
|
-
children:
|
|
836
|
+
children: Overlay()
|
|
839
837
|
}
|
|
840
838
|
);
|
|
841
839
|
}
|
|
@@ -1194,80 +1192,62 @@ function NavigationMenuLink({
|
|
|
1194
1192
|
}
|
|
1195
1193
|
);
|
|
1196
1194
|
}
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
...props
|
|
1202
|
-
}) {
|
|
1203
|
-
return /* @__PURE__ */ jsxRuntime.jsx(SheetPrimitive__namespace.Trigger, { "data-slot": "sheet-trigger", ...props });
|
|
1204
|
-
}
|
|
1205
|
-
function SheetPortal({
|
|
1206
|
-
...props
|
|
1207
|
-
}) {
|
|
1208
|
-
return /* @__PURE__ */ jsxRuntime.jsx(SheetPrimitive__namespace.Portal, { "data-slot": "sheet-portal", ...props });
|
|
1209
|
-
}
|
|
1210
|
-
function SheetOverlay({
|
|
1195
|
+
var NavbarMobileMenu = ({
|
|
1196
|
+
open,
|
|
1197
|
+
onClose,
|
|
1198
|
+
children,
|
|
1211
1199
|
className,
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1200
|
+
contentClassName,
|
|
1201
|
+
title = "Mobile Navigation"
|
|
1202
|
+
}) => {
|
|
1203
|
+
React__namespace.useEffect(() => {
|
|
1204
|
+
if (open) {
|
|
1205
|
+
const originalOverflow = document.body.style.overflow;
|
|
1206
|
+
document.body.style.overflow = "hidden";
|
|
1207
|
+
return () => {
|
|
1208
|
+
document.body.style.overflow = originalOverflow;
|
|
1209
|
+
};
|
|
1210
|
+
}
|
|
1211
|
+
}, [open]);
|
|
1212
|
+
if (!open) return null;
|
|
1213
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1214
|
+
"div",
|
|
1216
1215
|
{
|
|
1217
|
-
"data-slot": "sheet-overlay",
|
|
1218
1216
|
className: cn(
|
|
1219
|
-
"
|
|
1217
|
+
"fixed inset-0 z-[998] flex flex-col bg-background",
|
|
1218
|
+
"animate-in slide-in-from-top duration-300",
|
|
1219
|
+
"data-[state=closed]:animate-out data-[state=closed]:slide-out-to-top data-[state=closed]:duration-300",
|
|
1220
1220
|
className
|
|
1221
1221
|
),
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
children,
|
|
1249
|
-
/* @__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: [
|
|
1250
|
-
/* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: "lucide/x", className: "size-4" }),
|
|
1251
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "sr-only", children: "Close" })
|
|
1252
|
-
] })
|
|
1253
|
-
]
|
|
1254
|
-
}
|
|
1255
|
-
)
|
|
1256
|
-
] });
|
|
1257
|
-
}
|
|
1258
|
-
function SheetTitle({
|
|
1259
|
-
className,
|
|
1260
|
-
...props
|
|
1261
|
-
}) {
|
|
1262
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1263
|
-
SheetPrimitive__namespace.Title,
|
|
1264
|
-
{
|
|
1265
|
-
"data-slot": "sheet-title",
|
|
1266
|
-
className: cn("text-foreground font-semibold", className),
|
|
1267
|
-
...props
|
|
1222
|
+
"data-state": open ? "open" : "closed",
|
|
1223
|
+
children: [
|
|
1224
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "sr-only", children: /* @__PURE__ */ jsxRuntime.jsx("h2", { children: title }) }),
|
|
1225
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute top-4 right-4 z-10", children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1226
|
+
"button",
|
|
1227
|
+
{
|
|
1228
|
+
onClick: onClose,
|
|
1229
|
+
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",
|
|
1230
|
+
"aria-label": "Close mobile menu",
|
|
1231
|
+
children: [
|
|
1232
|
+
/* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: "lucide/x", className: "size-4" }),
|
|
1233
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "sr-only", children: "Close" })
|
|
1234
|
+
]
|
|
1235
|
+
}
|
|
1236
|
+
) }),
|
|
1237
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1238
|
+
"div",
|
|
1239
|
+
{
|
|
1240
|
+
className: cn(
|
|
1241
|
+
"h-full overflow-y-auto pt-20 pb-8 px-4 sm:px-6",
|
|
1242
|
+
contentClassName
|
|
1243
|
+
),
|
|
1244
|
+
children
|
|
1245
|
+
}
|
|
1246
|
+
)
|
|
1247
|
+
]
|
|
1268
1248
|
}
|
|
1269
1249
|
);
|
|
1270
|
-
}
|
|
1250
|
+
};
|
|
1271
1251
|
|
|
1272
1252
|
// components/blocks/navbars/layout-variant-utils.ts
|
|
1273
1253
|
function getNavbarLayoutClasses(layoutVariant = "fullScreenContainerizedLinks", customClasses) {
|
|
@@ -1284,7 +1264,7 @@ function getNavbarLayoutClasses(layoutVariant = "fullScreenContainerizedLinks",
|
|
|
1284
1264
|
// Outer container wrapper (only for floating bar - this containerizes the entire navbar)
|
|
1285
1265
|
containerWrapperClasses: cn(
|
|
1286
1266
|
"w-full",
|
|
1287
|
-
isFloatingBar && "mx-auto
|
|
1267
|
+
isFloatingBar && "mx-auto container relative z-10 px-0 sm:px-0 lg:px-0"
|
|
1288
1268
|
),
|
|
1289
1269
|
// Inner container classes (only for fullScreenContainerizedLinks - this containerizes the content inside the navbar)
|
|
1290
1270
|
innerContainerClasses: cn(
|
|
@@ -1451,24 +1431,27 @@ var NavbarSidebarMobile = ({
|
|
|
1451
1431
|
children: renderAuthActions()
|
|
1452
1432
|
}
|
|
1453
1433
|
),
|
|
1454
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
1455
|
-
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
|
|
1434
|
+
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
1435
|
+
Pressable,
|
|
1436
|
+
{
|
|
1437
|
+
variant: "outline",
|
|
1438
|
+
size: "icon",
|
|
1439
|
+
asButton: true,
|
|
1440
|
+
className: "lg:hidden",
|
|
1441
|
+
onClick: () => setIsOpen(!isOpen),
|
|
1442
|
+
children: [
|
|
1443
|
+
/* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: "lucide/menu", size: 20 }),
|
|
1444
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "sr-only", children: "Toggle menu" })
|
|
1445
|
+
]
|
|
1446
|
+
}
|
|
1447
|
+
),
|
|
1448
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1449
|
+
NavbarMobileMenu,
|
|
1450
|
+
{
|
|
1451
|
+
open: isOpen,
|
|
1452
|
+
onClose: () => setIsOpen(false),
|
|
1453
|
+
title: "Navigation Menu",
|
|
1454
|
+
children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "max-w-screen-sm mx-auto", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex h-full flex-col", children: [
|
|
1472
1455
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex items-center justify-between border-b pb-4", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1473
1456
|
NavbarLogo,
|
|
1474
1457
|
{
|
|
@@ -1530,9 +1513,9 @@ var NavbarSidebarMobile = ({
|
|
|
1530
1513
|
index
|
|
1531
1514
|
)) })
|
|
1532
1515
|
] })
|
|
1533
|
-
] })
|
|
1534
|
-
|
|
1535
|
-
|
|
1516
|
+
] }) })
|
|
1517
|
+
}
|
|
1518
|
+
)
|
|
1536
1519
|
]
|
|
1537
1520
|
}
|
|
1538
1521
|
) }) }) })
|
|
@@ -8,7 +8,6 @@ import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
|
8
8
|
import { Img } from '@page-speed/img';
|
|
9
9
|
import * as AccordionPrimitive from '@radix-ui/react-accordion';
|
|
10
10
|
import * as NavigationMenuPrimitive from '@radix-ui/react-navigation-menu';
|
|
11
|
-
import * as SheetPrimitive from '@radix-ui/react-dialog';
|
|
12
11
|
|
|
13
12
|
// components/blocks/navbars/navbar-sidebar-mobile.tsx
|
|
14
13
|
function cn(...inputs) {
|
|
@@ -804,14 +803,14 @@ function PatternBackground({
|
|
|
804
803
|
);
|
|
805
804
|
}
|
|
806
805
|
if (pattern in patternOverlays) {
|
|
807
|
-
const
|
|
806
|
+
const Overlay = patternOverlays[pattern];
|
|
808
807
|
return /* @__PURE__ */ jsx(
|
|
809
808
|
"div",
|
|
810
809
|
{
|
|
811
810
|
className: cn("pointer-events-none absolute inset-0 z-0", className),
|
|
812
811
|
style: { opacity, ...style },
|
|
813
812
|
"aria-hidden": "true",
|
|
814
|
-
children:
|
|
813
|
+
children: Overlay()
|
|
815
814
|
}
|
|
816
815
|
);
|
|
817
816
|
}
|
|
@@ -1170,80 +1169,62 @@ function NavigationMenuLink({
|
|
|
1170
1169
|
}
|
|
1171
1170
|
);
|
|
1172
1171
|
}
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
...props
|
|
1178
|
-
}) {
|
|
1179
|
-
return /* @__PURE__ */ jsx(SheetPrimitive.Trigger, { "data-slot": "sheet-trigger", ...props });
|
|
1180
|
-
}
|
|
1181
|
-
function SheetPortal({
|
|
1182
|
-
...props
|
|
1183
|
-
}) {
|
|
1184
|
-
return /* @__PURE__ */ jsx(SheetPrimitive.Portal, { "data-slot": "sheet-portal", ...props });
|
|
1185
|
-
}
|
|
1186
|
-
function SheetOverlay({
|
|
1172
|
+
var NavbarMobileMenu = ({
|
|
1173
|
+
open,
|
|
1174
|
+
onClose,
|
|
1175
|
+
children,
|
|
1187
1176
|
className,
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1177
|
+
contentClassName,
|
|
1178
|
+
title = "Mobile Navigation"
|
|
1179
|
+
}) => {
|
|
1180
|
+
React.useEffect(() => {
|
|
1181
|
+
if (open) {
|
|
1182
|
+
const originalOverflow = document.body.style.overflow;
|
|
1183
|
+
document.body.style.overflow = "hidden";
|
|
1184
|
+
return () => {
|
|
1185
|
+
document.body.style.overflow = originalOverflow;
|
|
1186
|
+
};
|
|
1187
|
+
}
|
|
1188
|
+
}, [open]);
|
|
1189
|
+
if (!open) return null;
|
|
1190
|
+
return /* @__PURE__ */ jsxs(
|
|
1191
|
+
"div",
|
|
1192
1192
|
{
|
|
1193
|
-
"data-slot": "sheet-overlay",
|
|
1194
1193
|
className: cn(
|
|
1195
|
-
"
|
|
1194
|
+
"fixed inset-0 z-[998] flex flex-col bg-background",
|
|
1195
|
+
"animate-in slide-in-from-top duration-300",
|
|
1196
|
+
"data-[state=closed]:animate-out data-[state=closed]:slide-out-to-top data-[state=closed]:duration-300",
|
|
1196
1197
|
className
|
|
1197
1198
|
),
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
children,
|
|
1225
|
-
/* @__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: [
|
|
1226
|
-
/* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/x", className: "size-4" }),
|
|
1227
|
-
/* @__PURE__ */ jsx("span", { className: "sr-only", children: "Close" })
|
|
1228
|
-
] })
|
|
1229
|
-
]
|
|
1230
|
-
}
|
|
1231
|
-
)
|
|
1232
|
-
] });
|
|
1233
|
-
}
|
|
1234
|
-
function SheetTitle({
|
|
1235
|
-
className,
|
|
1236
|
-
...props
|
|
1237
|
-
}) {
|
|
1238
|
-
return /* @__PURE__ */ jsx(
|
|
1239
|
-
SheetPrimitive.Title,
|
|
1240
|
-
{
|
|
1241
|
-
"data-slot": "sheet-title",
|
|
1242
|
-
className: cn("text-foreground font-semibold", className),
|
|
1243
|
-
...props
|
|
1199
|
+
"data-state": open ? "open" : "closed",
|
|
1200
|
+
children: [
|
|
1201
|
+
/* @__PURE__ */ jsx("div", { className: "sr-only", children: /* @__PURE__ */ jsx("h2", { children: title }) }),
|
|
1202
|
+
/* @__PURE__ */ jsx("div", { className: "absolute top-4 right-4 z-10", children: /* @__PURE__ */ jsxs(
|
|
1203
|
+
"button",
|
|
1204
|
+
{
|
|
1205
|
+
onClick: onClose,
|
|
1206
|
+
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",
|
|
1207
|
+
"aria-label": "Close mobile menu",
|
|
1208
|
+
children: [
|
|
1209
|
+
/* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/x", className: "size-4" }),
|
|
1210
|
+
/* @__PURE__ */ jsx("span", { className: "sr-only", children: "Close" })
|
|
1211
|
+
]
|
|
1212
|
+
}
|
|
1213
|
+
) }),
|
|
1214
|
+
/* @__PURE__ */ jsx(
|
|
1215
|
+
"div",
|
|
1216
|
+
{
|
|
1217
|
+
className: cn(
|
|
1218
|
+
"h-full overflow-y-auto pt-20 pb-8 px-4 sm:px-6",
|
|
1219
|
+
contentClassName
|
|
1220
|
+
),
|
|
1221
|
+
children
|
|
1222
|
+
}
|
|
1223
|
+
)
|
|
1224
|
+
]
|
|
1244
1225
|
}
|
|
1245
1226
|
);
|
|
1246
|
-
}
|
|
1227
|
+
};
|
|
1247
1228
|
|
|
1248
1229
|
// components/blocks/navbars/layout-variant-utils.ts
|
|
1249
1230
|
function getNavbarLayoutClasses(layoutVariant = "fullScreenContainerizedLinks", customClasses) {
|
|
@@ -1260,7 +1241,7 @@ function getNavbarLayoutClasses(layoutVariant = "fullScreenContainerizedLinks",
|
|
|
1260
1241
|
// Outer container wrapper (only for floating bar - this containerizes the entire navbar)
|
|
1261
1242
|
containerWrapperClasses: cn(
|
|
1262
1243
|
"w-full",
|
|
1263
|
-
isFloatingBar && "mx-auto
|
|
1244
|
+
isFloatingBar && "mx-auto container relative z-10 px-0 sm:px-0 lg:px-0"
|
|
1264
1245
|
),
|
|
1265
1246
|
// Inner container classes (only for fullScreenContainerizedLinks - this containerizes the content inside the navbar)
|
|
1266
1247
|
innerContainerClasses: cn(
|
|
@@ -1427,24 +1408,27 @@ var NavbarSidebarMobile = ({
|
|
|
1427
1408
|
children: renderAuthActions()
|
|
1428
1409
|
}
|
|
1429
1410
|
),
|
|
1430
|
-
/* @__PURE__ */ jsxs(
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
|
|
1411
|
+
/* @__PURE__ */ jsxs(
|
|
1412
|
+
Pressable,
|
|
1413
|
+
{
|
|
1414
|
+
variant: "outline",
|
|
1415
|
+
size: "icon",
|
|
1416
|
+
asButton: true,
|
|
1417
|
+
className: "lg:hidden",
|
|
1418
|
+
onClick: () => setIsOpen(!isOpen),
|
|
1419
|
+
children: [
|
|
1420
|
+
/* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/menu", size: 20 }),
|
|
1421
|
+
/* @__PURE__ */ jsx("span", { className: "sr-only", children: "Toggle menu" })
|
|
1422
|
+
]
|
|
1423
|
+
}
|
|
1424
|
+
),
|
|
1425
|
+
/* @__PURE__ */ jsx(
|
|
1426
|
+
NavbarMobileMenu,
|
|
1427
|
+
{
|
|
1428
|
+
open: isOpen,
|
|
1429
|
+
onClose: () => setIsOpen(false),
|
|
1430
|
+
title: "Navigation Menu",
|
|
1431
|
+
children: /* @__PURE__ */ jsx("div", { className: "max-w-screen-sm mx-auto", children: /* @__PURE__ */ jsxs("div", { className: "flex h-full flex-col", children: [
|
|
1448
1432
|
/* @__PURE__ */ jsx("div", { className: "flex items-center justify-between border-b pb-4", children: /* @__PURE__ */ jsx(
|
|
1449
1433
|
NavbarLogo,
|
|
1450
1434
|
{
|
|
@@ -1506,9 +1490,9 @@ var NavbarSidebarMobile = ({
|
|
|
1506
1490
|
index
|
|
1507
1491
|
)) })
|
|
1508
1492
|
] })
|
|
1509
|
-
] })
|
|
1510
|
-
|
|
1511
|
-
|
|
1493
|
+
] }) })
|
|
1494
|
+
}
|
|
1495
|
+
)
|
|
1512
1496
|
]
|
|
1513
1497
|
}
|
|
1514
1498
|
) }) }) })
|
|
@@ -1135,7 +1135,7 @@ function getNavbarLayoutClasses(layoutVariant = "fullScreenContainerizedLinks",
|
|
|
1135
1135
|
// Outer container wrapper (only for floating bar - this containerizes the entire navbar)
|
|
1136
1136
|
containerWrapperClasses: cn(
|
|
1137
1137
|
"w-full",
|
|
1138
|
-
isFloatingBar && "mx-auto
|
|
1138
|
+
isFloatingBar && "mx-auto container relative z-10 px-0 sm:px-0 lg:px-0"
|
|
1139
1139
|
),
|
|
1140
1140
|
// Inner container classes (only for fullScreenContainerizedLinks - this containerizes the content inside the navbar)
|
|
1141
1141
|
innerContainerClasses: cn(
|
|
@@ -1112,7 +1112,7 @@ function getNavbarLayoutClasses(layoutVariant = "fullScreenContainerizedLinks",
|
|
|
1112
1112
|
// Outer container wrapper (only for floating bar - this containerizes the entire navbar)
|
|
1113
1113
|
containerWrapperClasses: cn(
|
|
1114
1114
|
"w-full",
|
|
1115
|
-
isFloatingBar && "mx-auto
|
|
1115
|
+
isFloatingBar && "mx-auto container relative z-10 px-0 sm:px-0 lg:px-0"
|
|
1116
1116
|
),
|
|
1117
1117
|
// Inner container classes (only for fullScreenContainerizedLinks - this containerizes the content inside the navbar)
|
|
1118
1118
|
innerContainerClasses: cn(
|