@opensite/ui 1.1.2 → 1.1.4

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 (45) hide show
  1. package/dist/navbar-animated-preview.cjs +3 -3
  2. package/dist/navbar-animated-preview.js +3 -3
  3. package/dist/navbar-centered-menu.cjs +1 -1
  4. package/dist/navbar-centered-menu.js +1 -1
  5. package/dist/navbar-dark-icons.cjs +1 -1
  6. package/dist/navbar-dark-icons.js +1 -1
  7. package/dist/navbar-dropdown-menu.cjs +1 -1
  8. package/dist/navbar-dropdown-menu.js +1 -1
  9. package/dist/navbar-education-platform.cjs +2 -2
  10. package/dist/navbar-education-platform.js +2 -2
  11. package/dist/navbar-enterprise-mega.cjs +1 -1
  12. package/dist/navbar-enterprise-mega.js +1 -1
  13. package/dist/navbar-feature-grid.cjs +3 -3
  14. package/dist/navbar-feature-grid.js +3 -3
  15. package/dist/navbar-floating-pill.cjs +1 -1
  16. package/dist/navbar-floating-pill.js +1 -1
  17. package/dist/navbar-fullscreen-menu.cjs +1 -1
  18. package/dist/navbar-fullscreen-menu.js +1 -1
  19. package/dist/navbar-icon-links.cjs +1 -1
  20. package/dist/navbar-icon-links.js +1 -1
  21. package/dist/navbar-image-preview.cjs +114 -108
  22. package/dist/navbar-image-preview.js +114 -108
  23. package/dist/navbar-mega-menu.cjs +1 -2
  24. package/dist/navbar-mega-menu.js +1 -2
  25. package/dist/navbar-multi-column-groups.cjs +1 -1
  26. package/dist/navbar-multi-column-groups.js +1 -1
  27. package/dist/navbar-platform-resources.cjs +1 -1
  28. package/dist/navbar-platform-resources.js +1 -1
  29. package/dist/navbar-search-focused.cjs +2 -2
  30. package/dist/navbar-search-focused.js +2 -2
  31. package/dist/navbar-sidebar-mobile.cjs +1 -1
  32. package/dist/navbar-sidebar-mobile.js +1 -1
  33. package/dist/navbar-simple-links.cjs +1 -1
  34. package/dist/navbar-simple-links.js +1 -1
  35. package/dist/navbar-split-cta.cjs +2 -2
  36. package/dist/navbar-split-cta.js +2 -2
  37. package/dist/navbar-sticky-compact.cjs +4 -4
  38. package/dist/navbar-sticky-compact.js +4 -4
  39. package/dist/navbar-tabbed-sections.cjs +133 -44
  40. package/dist/navbar-tabbed-sections.js +132 -44
  41. package/dist/navbar-transparent-overlay.cjs +4 -12
  42. package/dist/navbar-transparent-overlay.js +4 -12
  43. package/dist/registry.cjs +197 -173
  44. package/dist/registry.js +197 -173
  45. package/package.json +1 -1
@@ -1339,7 +1339,7 @@ function getNavbarLayoutClasses(layoutVariant = "fullScreenContainerizedLinks",
1339
1339
  // Section wrapper classes - always full width for non-floating variants
1340
1340
  sectionClasses: cn(
1341
1341
  "inset-x-0 z-20",
1342
- isFloatingBar ? "sticky top-4" : "top-0",
1342
+ isFloatingBar ? "sticky top-4" : "fixed top-0",
1343
1343
  customClasses?.className
1344
1344
  ),
1345
1345
  // Outer container wrapper (only for floating bar - this containerizes the entire navbar)
@@ -1697,9 +1697,9 @@ var GroupLinks = ({ groupLinks }) => {
1697
1697
  };
1698
1698
  if (!groupLinks) return null;
1699
1699
  let linkIndex = 0;
1700
- return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex items-center gap-4", children: groupLinks.map((group, index1) => /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
1700
+ return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex items-center gap-4 w-full", children: groupLinks.map((group, index1) => /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
1701
1701
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-4 text-xs", children: group.label }),
1702
- /* @__PURE__ */ jsxRuntime.jsx("ul", { className: "flex flex-col gap-4", children: group.links.map((link, index2) => {
1702
+ /* @__PURE__ */ jsxRuntime.jsx("ul", { className: "flex flex-col gap-4 w-full", children: group.links.map((link, index2) => {
1703
1703
  const idx = linkIndex++;
1704
1704
  return /* @__PURE__ */ jsxRuntime.jsx("li", { children: /* @__PURE__ */ jsxRuntime.jsx(
1705
1705
  NavLink,
@@ -1314,7 +1314,7 @@ function getNavbarLayoutClasses(layoutVariant = "fullScreenContainerizedLinks",
1314
1314
  // Section wrapper classes - always full width for non-floating variants
1315
1315
  sectionClasses: cn(
1316
1316
  "inset-x-0 z-20",
1317
- isFloatingBar ? "sticky top-4" : "top-0",
1317
+ isFloatingBar ? "sticky top-4" : "fixed top-0",
1318
1318
  customClasses?.className
1319
1319
  ),
1320
1320
  // Outer container wrapper (only for floating bar - this containerizes the entire navbar)
@@ -1672,9 +1672,9 @@ var GroupLinks = ({ groupLinks }) => {
1672
1672
  };
1673
1673
  if (!groupLinks) return null;
1674
1674
  let linkIndex = 0;
1675
- return /* @__PURE__ */ jsx("div", { className: "flex items-center gap-4", children: groupLinks.map((group, index1) => /* @__PURE__ */ jsxs("div", { children: [
1675
+ return /* @__PURE__ */ jsx("div", { className: "flex items-center gap-4 w-full", children: groupLinks.map((group, index1) => /* @__PURE__ */ jsxs("div", { children: [
1676
1676
  /* @__PURE__ */ jsx("div", { className: "mb-4 text-xs", children: group.label }),
1677
- /* @__PURE__ */ jsx("ul", { className: "flex flex-col gap-4", children: group.links.map((link, index2) => {
1677
+ /* @__PURE__ */ jsx("ul", { className: "flex flex-col gap-4 w-full", children: group.links.map((link, index2) => {
1678
1678
  const idx = linkIndex++;
1679
1679
  return /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
1680
1680
  NavLink,
@@ -1225,7 +1225,7 @@ function getNavbarLayoutClasses(layoutVariant = "fullScreenContainerizedLinks",
1225
1225
  // Section wrapper classes - always full width for non-floating variants
1226
1226
  sectionClasses: cn(
1227
1227
  "inset-x-0 z-20",
1228
- isFloatingBar ? "sticky top-4" : "top-0",
1228
+ isFloatingBar ? "sticky top-4" : "fixed top-0",
1229
1229
  customClasses?.className
1230
1230
  ),
1231
1231
  // Outer container wrapper (only for floating bar - this containerizes the entire navbar)
@@ -1202,7 +1202,7 @@ function getNavbarLayoutClasses(layoutVariant = "fullScreenContainerizedLinks",
1202
1202
  // Section wrapper classes - always full width for non-floating variants
1203
1203
  sectionClasses: cn(
1204
1204
  "inset-x-0 z-20",
1205
- isFloatingBar ? "sticky top-4" : "top-0",
1205
+ isFloatingBar ? "sticky top-4" : "fixed top-0",
1206
1206
  customClasses?.className
1207
1207
  ),
1208
1208
  // Outer container wrapper (only for floating bar - this containerizes the entire navbar)
@@ -1272,7 +1272,7 @@ function getNavbarLayoutClasses(layoutVariant = "fullScreenContainerizedLinks",
1272
1272
  // Section wrapper classes - always full width for non-floating variants
1273
1273
  sectionClasses: cn(
1274
1274
  "inset-x-0 z-20",
1275
- isFloatingBar ? "sticky top-4" : "top-0",
1275
+ isFloatingBar ? "sticky top-4" : "fixed top-0",
1276
1276
  customClasses?.className
1277
1277
  ),
1278
1278
  // Outer container wrapper (only for floating bar - this containerizes the entire navbar)
@@ -1249,7 +1249,7 @@ function getNavbarLayoutClasses(layoutVariant = "fullScreenContainerizedLinks",
1249
1249
  // Section wrapper classes - always full width for non-floating variants
1250
1250
  sectionClasses: cn(
1251
1251
  "inset-x-0 z-20",
1252
- isFloatingBar ? "sticky top-4" : "top-0",
1252
+ isFloatingBar ? "sticky top-4" : "fixed top-0",
1253
1253
  customClasses?.className
1254
1254
  ),
1255
1255
  // Outer container wrapper (only for floating bar - this containerizes the entire navbar)
@@ -1272,7 +1272,7 @@ function getNavbarLayoutClasses(layoutVariant = "fullScreenContainerizedLinks",
1272
1272
  // Section wrapper classes - always full width for non-floating variants
1273
1273
  sectionClasses: cn(
1274
1274
  "inset-x-0 z-20",
1275
- isFloatingBar ? "sticky top-4" : "top-0",
1275
+ isFloatingBar ? "sticky top-4" : "fixed top-0",
1276
1276
  customClasses?.className
1277
1277
  ),
1278
1278
  // Outer container wrapper (only for floating bar - this containerizes the entire navbar)
@@ -1249,7 +1249,7 @@ function getNavbarLayoutClasses(layoutVariant = "fullScreenContainerizedLinks",
1249
1249
  // Section wrapper classes - always full width for non-floating variants
1250
1250
  sectionClasses: cn(
1251
1251
  "inset-x-0 z-20",
1252
- isFloatingBar ? "sticky top-4" : "top-0",
1252
+ isFloatingBar ? "sticky top-4" : "fixed top-0",
1253
1253
  customClasses?.className
1254
1254
  ),
1255
1255
  // Outer container wrapper (only for floating bar - this containerizes the entire navbar)
@@ -1294,7 +1294,7 @@ function getNavbarLayoutClasses(layoutVariant = "fullScreenContainerizedLinks",
1294
1294
  // Section wrapper classes - always full width for non-floating variants
1295
1295
  sectionClasses: cn(
1296
1296
  "inset-x-0 z-20",
1297
- isFloatingBar ? "sticky top-4" : "top-0",
1297
+ isFloatingBar ? "sticky top-4" : "fixed top-0",
1298
1298
  customClasses?.className
1299
1299
  ),
1300
1300
  // Outer container wrapper (only for floating bar - this containerizes the entire navbar)
@@ -1513,7 +1513,7 @@ var DesktopMenuItem = ({
1513
1513
  Pressable,
1514
1514
  {
1515
1515
  href: link.href,
1516
- className: "group flex cursor-pointer flex-row gap-3",
1516
+ className: "group flex cursor-pointer justify-start! flex-row gap-3",
1517
1517
  children: [
1518
1518
  link.icon && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "flex size-10 shrink-0 items-center justify-center rounded-md border border-border bg-background", children: /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: link.icon, size: 20 }) }),
1519
1519
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col", children: [
@@ -1270,7 +1270,7 @@ function getNavbarLayoutClasses(layoutVariant = "fullScreenContainerizedLinks",
1270
1270
  // Section wrapper classes - always full width for non-floating variants
1271
1271
  sectionClasses: cn(
1272
1272
  "inset-x-0 z-20",
1273
- isFloatingBar ? "sticky top-4" : "top-0",
1273
+ isFloatingBar ? "sticky top-4" : "fixed top-0",
1274
1274
  customClasses?.className
1275
1275
  ),
1276
1276
  // Outer container wrapper (only for floating bar - this containerizes the entire navbar)
@@ -1489,7 +1489,7 @@ var DesktopMenuItem = ({
1489
1489
  Pressable,
1490
1490
  {
1491
1491
  href: link.href,
1492
- className: "group flex cursor-pointer flex-row gap-3",
1492
+ className: "group flex cursor-pointer justify-start! flex-row gap-3",
1493
1493
  children: [
1494
1494
  link.icon && /* @__PURE__ */ jsx("span", { className: "flex size-10 shrink-0 items-center justify-center rounded-md border border-border bg-background", children: /* @__PURE__ */ jsx(DynamicIcon, { name: link.icon, size: 20 }) }),
1495
1495
  /* @__PURE__ */ jsxs("div", { className: "flex flex-col", children: [
@@ -1272,7 +1272,7 @@ function getNavbarLayoutClasses(layoutVariant = "fullScreenContainerizedLinks",
1272
1272
  // Section wrapper classes - always full width for non-floating variants
1273
1273
  sectionClasses: cn(
1274
1274
  "inset-x-0 z-20",
1275
- isFloatingBar ? "sticky top-4" : "top-0",
1275
+ isFloatingBar ? "sticky top-4" : "fixed top-0",
1276
1276
  customClasses?.className
1277
1277
  ),
1278
1278
  // Outer container wrapper (only for floating bar - this containerizes the entire navbar)
@@ -1249,7 +1249,7 @@ function getNavbarLayoutClasses(layoutVariant = "fullScreenContainerizedLinks",
1249
1249
  // Section wrapper classes - always full width for non-floating variants
1250
1250
  sectionClasses: cn(
1251
1251
  "inset-x-0 z-20",
1252
- isFloatingBar ? "sticky top-4" : "top-0",
1252
+ isFloatingBar ? "sticky top-4" : "fixed top-0",
1253
1253
  customClasses?.className
1254
1254
  ),
1255
1255
  // Outer container wrapper (only for floating bar - this containerizes the entire navbar)
@@ -1272,7 +1272,7 @@ function getNavbarLayoutClasses(layoutVariant = "fullScreenContainerizedLinks",
1272
1272
  // Section wrapper classes - always full width for non-floating variants
1273
1273
  sectionClasses: cn(
1274
1274
  "inset-x-0 z-20",
1275
- isFloatingBar ? "sticky top-4" : "top-0",
1275
+ isFloatingBar ? "sticky top-4" : "fixed top-0",
1276
1276
  customClasses?.className
1277
1277
  ),
1278
1278
  // Outer container wrapper (only for floating bar - this containerizes the entire navbar)
@@ -1433,12 +1433,12 @@ var NavbarFeatureGrid = ({
1433
1433
  /* @__PURE__ */ jsxRuntime.jsxs(Accordion, { type: "multiple", className: "w-full", children: [
1434
1434
  features && features.length > 0 && /* @__PURE__ */ jsxRuntime.jsxs(AccordionItem, { value: "features", className: "border-b-0", children: [
1435
1435
  /* @__PURE__ */ jsxRuntime.jsx(AccordionTrigger, { className: "h-15 items-center text-base font-normal hover:no-underline", children: "Features" }),
1436
- /* @__PURE__ */ jsxRuntime.jsx(AccordionContent, { className: "overflow-x-none", children: features.map((feature, index) => /* @__PURE__ */ jsxRuntime.jsx(
1436
+ /* @__PURE__ */ jsxRuntime.jsx(AccordionContent, { className: "overflow-x-none space-y-4", children: features.map((feature, index) => /* @__PURE__ */ jsxRuntime.jsx(
1437
1437
  Pressable,
1438
1438
  {
1439
1439
  href: feature.href,
1440
1440
  className: "flex items-start gap-2 pl-4 text-sm",
1441
- children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-2", children: [
1441
+ children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-0", children: [
1442
1442
  /* @__PURE__ */ jsxRuntime.jsx("p", { className: "font-semibold", children: feature.title }),
1443
1443
  /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm", children: feature.description })
1444
1444
  ] })
@@ -1249,7 +1249,7 @@ function getNavbarLayoutClasses(layoutVariant = "fullScreenContainerizedLinks",
1249
1249
  // Section wrapper classes - always full width for non-floating variants
1250
1250
  sectionClasses: cn(
1251
1251
  "inset-x-0 z-20",
1252
- isFloatingBar ? "sticky top-4" : "top-0",
1252
+ isFloatingBar ? "sticky top-4" : "fixed top-0",
1253
1253
  customClasses?.className
1254
1254
  ),
1255
1255
  // Outer container wrapper (only for floating bar - this containerizes the entire navbar)
@@ -1410,12 +1410,12 @@ var NavbarFeatureGrid = ({
1410
1410
  /* @__PURE__ */ jsxs(Accordion, { type: "multiple", className: "w-full", children: [
1411
1411
  features && features.length > 0 && /* @__PURE__ */ jsxs(AccordionItem, { value: "features", className: "border-b-0", children: [
1412
1412
  /* @__PURE__ */ jsx(AccordionTrigger, { className: "h-15 items-center text-base font-normal hover:no-underline", children: "Features" }),
1413
- /* @__PURE__ */ jsx(AccordionContent, { className: "overflow-x-none", children: features.map((feature, index) => /* @__PURE__ */ jsx(
1413
+ /* @__PURE__ */ jsx(AccordionContent, { className: "overflow-x-none space-y-4", children: features.map((feature, index) => /* @__PURE__ */ jsx(
1414
1414
  Pressable,
1415
1415
  {
1416
1416
  href: feature.href,
1417
1417
  className: "flex items-start gap-2 pl-4 text-sm",
1418
- children: /* @__PURE__ */ jsxs("div", { className: "space-y-2", children: [
1418
+ children: /* @__PURE__ */ jsxs("div", { className: "space-y-0", children: [
1419
1419
  /* @__PURE__ */ jsx("p", { className: "font-semibold", children: feature.title }),
1420
1420
  /* @__PURE__ */ jsx("p", { className: "text-sm", children: feature.description })
1421
1421
  ] })
@@ -1140,7 +1140,7 @@ function getNavbarLayoutClasses(layoutVariant = "fullScreenContainerizedLinks",
1140
1140
  // Section wrapper classes - always full width for non-floating variants
1141
1141
  sectionClasses: cn(
1142
1142
  "inset-x-0 z-20",
1143
- isFloatingBar ? "sticky top-4" : "top-0",
1143
+ isFloatingBar ? "sticky top-4" : "fixed top-0",
1144
1144
  customClasses?.className
1145
1145
  ),
1146
1146
  // Outer container wrapper (only for floating bar - this containerizes the entire navbar)
@@ -1118,7 +1118,7 @@ function getNavbarLayoutClasses(layoutVariant = "fullScreenContainerizedLinks",
1118
1118
  // Section wrapper classes - always full width for non-floating variants
1119
1119
  sectionClasses: cn(
1120
1120
  "inset-x-0 z-20",
1121
- isFloatingBar ? "sticky top-4" : "top-0",
1121
+ isFloatingBar ? "sticky top-4" : "fixed top-0",
1122
1122
  customClasses?.className
1123
1123
  ),
1124
1124
  // Outer container wrapper (only for floating bar - this containerizes the entire navbar)
@@ -1049,7 +1049,7 @@ function getNavbarLayoutClasses(layoutVariant = "fullScreenContainerizedLinks",
1049
1049
  // Section wrapper classes - always full width for non-floating variants
1050
1050
  sectionClasses: cn(
1051
1051
  "inset-x-0 z-20",
1052
- isFloatingBar ? "sticky top-4" : "top-0",
1052
+ isFloatingBar ? "sticky top-4" : "fixed top-0",
1053
1053
  customClasses?.className
1054
1054
  ),
1055
1055
  // Outer container wrapper (only for floating bar - this containerizes the entire navbar)
@@ -1028,7 +1028,7 @@ function getNavbarLayoutClasses(layoutVariant = "fullScreenContainerizedLinks",
1028
1028
  // Section wrapper classes - always full width for non-floating variants
1029
1029
  sectionClasses: cn(
1030
1030
  "inset-x-0 z-20",
1031
- isFloatingBar ? "sticky top-4" : "top-0",
1031
+ isFloatingBar ? "sticky top-4" : "fixed top-0",
1032
1032
  customClasses?.className
1033
1033
  ),
1034
1034
  // Outer container wrapper (only for floating bar - this containerizes the entire navbar)
@@ -1215,7 +1215,7 @@ function getNavbarLayoutClasses(layoutVariant = "fullScreenContainerizedLinks",
1215
1215
  // Section wrapper classes - always full width for non-floating variants
1216
1216
  sectionClasses: cn(
1217
1217
  "inset-x-0 z-20",
1218
- isFloatingBar ? "sticky top-4" : "top-0",
1218
+ isFloatingBar ? "sticky top-4" : "fixed top-0",
1219
1219
  customClasses?.className
1220
1220
  ),
1221
1221
  // Outer container wrapper (only for floating bar - this containerizes the entire navbar)
@@ -1192,7 +1192,7 @@ function getNavbarLayoutClasses(layoutVariant = "fullScreenContainerizedLinks",
1192
1192
  // Section wrapper classes - always full width for non-floating variants
1193
1193
  sectionClasses: cn(
1194
1194
  "inset-x-0 z-20",
1195
- isFloatingBar ? "sticky top-4" : "top-0",
1195
+ isFloatingBar ? "sticky top-4" : "fixed top-0",
1196
1196
  customClasses?.className
1197
1197
  ),
1198
1198
  // Outer container wrapper (only for floating bar - this containerizes the entire navbar)
@@ -1277,7 +1277,7 @@ function getNavbarLayoutClasses(layoutVariant = "fullScreenContainerizedLinks",
1277
1277
  // Section wrapper classes - always full width for non-floating variants
1278
1278
  sectionClasses: cn(
1279
1279
  "inset-x-0 z-20",
1280
- isFloatingBar ? "sticky top-4" : "top-0",
1280
+ isFloatingBar ? "sticky top-4" : "fixed top-0",
1281
1281
  customClasses?.className
1282
1282
  ),
1283
1283
  // Outer container wrapper (only for floating bar - this containerizes the entire navbar)
@@ -1424,65 +1424,55 @@ var NavbarImagePreview = ({
1424
1424
  containerClassName: sectionContainerClassName,
1425
1425
  containerMaxWidth: sectionContainerMaxWidth,
1426
1426
  children: [
1427
- /* @__PURE__ */ jsxRuntime.jsx(
1427
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("z-500 w-full", containerWrapperClasses), ref: navRef, children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: navWrapperClasses, children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: innerContainerClasses, children: /* @__PURE__ */ jsxRuntime.jsxs(
1428
1428
  "div",
1429
1429
  {
1430
1430
  className: cn(
1431
- "fixed top-0 z-500 w-full bg-transparent transition-colors duration-500",
1432
- containerWrapperClasses
1431
+ "flex items-center justify-between gap-3.5 py-5",
1432
+ navClassName
1433
1433
  ),
1434
- ref: navRef,
1435
- children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: navWrapperClasses, children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: innerContainerClasses, children: /* @__PURE__ */ jsxRuntime.jsxs(
1436
- "div",
1437
- {
1438
- className: cn(
1439
- "flex items-center justify-between gap-3.5 py-5",
1440
- navClassName
1441
- ),
1442
- children: [
1443
- /* @__PURE__ */ jsxRuntime.jsx(
1444
- NavbarLogo,
1445
- {
1446
- logo,
1447
- logoSlot,
1448
- logoClassName,
1449
- optixFlowConfig
1450
- }
1451
- ),
1452
- /* @__PURE__ */ jsxRuntime.jsx(
1453
- NavigationMenu,
1454
- {
1455
- className: cn(
1456
- "hidden lg:flex [&>div:nth-child(2)]:left-1/2 [&>div:nth-child(2)]:-translate-x-1/2",
1457
- navigationMenuClassName
1458
- ),
1459
- children: renderNavigation
1460
- }
1434
+ children: [
1435
+ /* @__PURE__ */ jsxRuntime.jsx(
1436
+ NavbarLogo,
1437
+ {
1438
+ logo,
1439
+ logoSlot,
1440
+ logoClassName,
1441
+ optixFlowConfig
1442
+ }
1443
+ ),
1444
+ /* @__PURE__ */ jsxRuntime.jsx(
1445
+ NavigationMenu,
1446
+ {
1447
+ className: cn(
1448
+ "hidden lg:flex [&>div:nth-child(2)]:left-1/2 [&>div:nth-child(2)]:-translate-x-1/2",
1449
+ navigationMenuClassName
1461
1450
  ),
1462
- /* @__PURE__ */ jsxRuntime.jsxs(
1463
- "div",
1464
- {
1465
- className: cn("flex items-center gap-3.5", actionsClassName),
1466
- children: [
1467
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "hidden lg:flex lg:items-center lg:gap-3.5", children: renderAuthActions }),
1468
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "lg:hidden", children: /* @__PURE__ */ jsxRuntime.jsx(
1469
- Pressable,
1470
- {
1471
- variant: "ghost",
1472
- size: "icon",
1473
- asButton: true,
1474
- onClick: handleMobileMenu,
1475
- children: /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: "lucide/menu", size: 22 })
1476
- }
1477
- ) })
1478
- ]
1479
- }
1480
- )
1481
- ]
1482
- }
1483
- ) }) })
1451
+ children: renderNavigation
1452
+ }
1453
+ ),
1454
+ /* @__PURE__ */ jsxRuntime.jsxs(
1455
+ "div",
1456
+ {
1457
+ className: cn("flex items-center gap-3.5", actionsClassName),
1458
+ children: [
1459
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "hidden lg:flex lg:items-center lg:gap-3.5", children: renderAuthActions }),
1460
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "lg:hidden", children: /* @__PURE__ */ jsxRuntime.jsx(
1461
+ Pressable,
1462
+ {
1463
+ variant: "ghost",
1464
+ size: "icon",
1465
+ asButton: true,
1466
+ onClick: handleMobileMenu,
1467
+ children: /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: "lucide/menu", size: 22 })
1468
+ }
1469
+ ) })
1470
+ ]
1471
+ }
1472
+ )
1473
+ ]
1484
1474
  }
1485
- ),
1475
+ ) }) }) }),
1486
1476
  /* @__PURE__ */ jsxRuntime.jsx(
1487
1477
  MobileNavigationMenu,
1488
1478
  {
@@ -1633,61 +1623,77 @@ var MobileNavigationMenu = ({
1633
1623
  }) });
1634
1624
  }, [authActionsSlot, authActions, handleClose]);
1635
1625
  if (mobileNavigationSlot) {
1636
- return /* @__PURE__ */ jsxRuntime.jsx(NavbarMobileMenu, { open, onClose: handleClose, title: "Mobile Navigation", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "max-w-screen-sm mx-auto", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-6", children: [
1637
- mobileNavigationSlot,
1638
- renderSocialLinks,
1639
- renderMobileAuthActions
1640
- ] }) }) });
1641
- }
1642
- return /* @__PURE__ */ jsxRuntime.jsx(NavbarMobileMenu, { open, onClose: handleClose, title: "Mobile Navigation", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "max-w-screen-sm mx-auto", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-6", children: [
1643
- /* @__PURE__ */ jsxRuntime.jsx(Accordion, { type: "multiple", className: "w-full", children: mobileNavigation.map((item, index) => {
1644
- if (item.links && item.links.length > 0) {
1645
- return /* @__PURE__ */ jsxRuntime.jsxs(
1646
- AccordionItem,
1647
- {
1648
- value: `nav-${index}`,
1649
- className: "border-b-0",
1650
- children: [
1651
- /* @__PURE__ */ jsxRuntime.jsx(AccordionTrigger, { className: "h-15 items-center p-0 px-4! text-base leading-[3.75] font-normal text-muted-foreground hover:bg-muted hover:no-underline", children: item.title }),
1652
- /* @__PURE__ */ jsxRuntime.jsx(AccordionContent, { className: "overflow-x-none", children: item.links.map((link, linkIndex) => /* @__PURE__ */ jsxRuntime.jsxs(
1653
- Pressable,
1654
- {
1655
- href: getLinkUrl(link),
1656
- className: "flex min-h-12 items-center gap-2 rounded-lg px-4 text-muted-foreground transition-colors duration-300 hover:bg-muted hover:text-foreground",
1657
- onClick: handleClose,
1658
- children: [
1659
- link.icon ? link.icon : link.iconName ? /* @__PURE__ */ jsxRuntime.jsx(
1660
- DynamicIcon,
1661
- {
1662
- name: link.iconName,
1663
- size: 16,
1664
- className: "stroke-muted-foreground"
1665
- }
1666
- ) : null,
1667
- link.label
1668
- ]
1669
- },
1670
- `mobile-link-${linkIndex}`
1671
- )) })
1672
- ]
1673
- },
1674
- `nav-item-${index}`
1675
- );
1626
+ return /* @__PURE__ */ jsxRuntime.jsx(
1627
+ NavbarMobileMenu,
1628
+ {
1629
+ open,
1630
+ onClose: handleClose,
1631
+ title: "Mobile Navigation",
1632
+ children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "max-w-screen-sm mx-auto", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-6", children: [
1633
+ mobileNavigationSlot,
1634
+ renderSocialLinks,
1635
+ renderMobileAuthActions
1636
+ ] }) })
1676
1637
  }
1677
- return /* @__PURE__ */ jsxRuntime.jsx(
1678
- Pressable,
1679
- {
1680
- href: item.url,
1681
- className: "flex h-15 items-center rounded-md p-0 px-4 text-left text-base leading-[3.75] font-normal text-muted-foreground ring-ring/10 outline-ring/50 transition-all hover:bg-muted focus-visible:ring-4 focus-visible:outline-1",
1682
- onClick: handleClose,
1683
- children: item.title
1684
- },
1685
- `nav-link-${index}`
1686
- );
1687
- }) }),
1688
- renderSocialLinks,
1689
- renderMobileAuthActions
1690
- ] }) }) });
1638
+ );
1639
+ }
1640
+ return /* @__PURE__ */ jsxRuntime.jsx(
1641
+ NavbarMobileMenu,
1642
+ {
1643
+ open,
1644
+ onClose: handleClose,
1645
+ title: "Mobile Navigation",
1646
+ children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "max-w-screen-sm mx-auto", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-6", children: [
1647
+ /* @__PURE__ */ jsxRuntime.jsx(Accordion, { type: "multiple", className: "w-full", children: mobileNavigation.map((item, index) => {
1648
+ if (item.links && item.links.length > 0) {
1649
+ return /* @__PURE__ */ jsxRuntime.jsxs(
1650
+ AccordionItem,
1651
+ {
1652
+ value: `nav-${index}`,
1653
+ className: "border-b-0",
1654
+ children: [
1655
+ /* @__PURE__ */ jsxRuntime.jsx(AccordionTrigger, { className: "h-15 items-center p-0 px-4! text-base leading-[3.75] font-normal text-muted-foreground hover:bg-muted hover:no-underline", children: item.title }),
1656
+ /* @__PURE__ */ jsxRuntime.jsx(AccordionContent, { className: "overflow-x-none", children: item.links.map((link, linkIndex) => /* @__PURE__ */ jsxRuntime.jsxs(
1657
+ Pressable,
1658
+ {
1659
+ href: getLinkUrl(link),
1660
+ className: "flex min-h-12 items-center gap-2 rounded-lg px-4 text-muted-foreground transition-colors duration-300 hover:bg-muted hover:text-foreground",
1661
+ onClick: handleClose,
1662
+ children: [
1663
+ link.icon ? link.icon : link.iconName ? /* @__PURE__ */ jsxRuntime.jsx(
1664
+ DynamicIcon,
1665
+ {
1666
+ name: link.iconName,
1667
+ size: 16,
1668
+ className: "stroke-muted-foreground"
1669
+ }
1670
+ ) : null,
1671
+ link.label
1672
+ ]
1673
+ },
1674
+ `mobile-link-${linkIndex}`
1675
+ )) })
1676
+ ]
1677
+ },
1678
+ `nav-item-${index}`
1679
+ );
1680
+ }
1681
+ return /* @__PURE__ */ jsxRuntime.jsx(
1682
+ Pressable,
1683
+ {
1684
+ href: item.url,
1685
+ className: "flex h-15 items-center rounded-md p-0 px-4 text-left text-base leading-[3.75] font-normal text-muted-foreground ring-ring/10 outline-ring/50 transition-all hover:bg-muted focus-visible:ring-4 focus-visible:outline-1",
1686
+ onClick: handleClose,
1687
+ children: item.title
1688
+ },
1689
+ `nav-link-${index}`
1690
+ );
1691
+ }) }),
1692
+ renderSocialLinks,
1693
+ renderMobileAuthActions
1694
+ ] }) })
1695
+ }
1696
+ );
1691
1697
  };
1692
1698
 
1693
1699
  exports.NavbarImagePreview = NavbarImagePreview;