@opensite/ui 1.0.5 → 1.0.7

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 (37) hide show
  1. package/dist/navbar-animated-preview.cjs +32 -42
  2. package/dist/navbar-animated-preview.js +32 -42
  3. package/dist/navbar-centered-menu.cjs +4 -12
  4. package/dist/navbar-centered-menu.js +4 -12
  5. package/dist/navbar-dark-icons.cjs +2 -5
  6. package/dist/navbar-dark-icons.js +2 -5
  7. package/dist/navbar-dropdown-menu.cjs +1 -1
  8. package/dist/navbar-dropdown-menu.js +1 -1
  9. package/dist/navbar-enterprise-mega.cjs +11 -5
  10. package/dist/navbar-enterprise-mega.js +11 -5
  11. package/dist/navbar-feature-grid.cjs +18 -29
  12. package/dist/navbar-feature-grid.js +18 -29
  13. package/dist/navbar-floating-pill.cjs +3 -3
  14. package/dist/navbar-floating-pill.js +3 -3
  15. package/dist/navbar-icon-links.cjs +1 -1
  16. package/dist/navbar-icon-links.js +1 -1
  17. package/dist/navbar-image-preview.cjs +3 -5
  18. package/dist/navbar-image-preview.js +3 -5
  19. package/dist/navbar-mega-menu.cjs +162 -119
  20. package/dist/navbar-mega-menu.js +161 -119
  21. package/dist/navbar-multi-column-groups.cjs +32 -42
  22. package/dist/navbar-multi-column-groups.js +32 -42
  23. package/dist/navbar-platform-resources.cjs +26 -27
  24. package/dist/navbar-platform-resources.js +26 -27
  25. package/dist/navbar-search-focused.cjs +1 -1
  26. package/dist/navbar-search-focused.js +1 -1
  27. package/dist/navbar-sidebar-mobile.cjs +1 -1
  28. package/dist/navbar-sidebar-mobile.js +1 -1
  29. package/dist/navbar-split-cta.cjs +1 -1
  30. package/dist/navbar-split-cta.js +1 -1
  31. package/dist/navbar-sticky-compact.cjs +1 -1
  32. package/dist/navbar-sticky-compact.js +1 -1
  33. package/dist/navbar-tabbed-sections.cjs +1 -1
  34. package/dist/navbar-tabbed-sections.js +1 -1
  35. package/dist/registry.cjs +168 -282
  36. package/dist/registry.js +168 -282
  37. package/package.json +1 -1
@@ -1159,7 +1159,7 @@ var NavbarMobileMenu = ({
1159
1159
  "div",
1160
1160
  {
1161
1161
  className: cn(
1162
- "fixed inset-0 z-[998] flex flex-col bg-background",
1162
+ "fixed inset-0 z-998 flex flex-col bg-background",
1163
1163
  "animate-in slide-in-from-top duration-300",
1164
1164
  "data-[state=closed]:animate-out data-[state=closed]:slide-out-to-top data-[state=closed]:duration-300",
1165
1165
  className
@@ -1448,21 +1448,21 @@ var NavbarAnimatedPreview = ({
1448
1448
  "h-full max-w-full after:absolute after:inset-0 after:z-998 after:block after:size-full after:content-[''] [&>div:last-child>div]:mt-0 [&>div:last-child>div]:animate-none [&>div:last-child>div]:rounded-none [&>div:last-child>div]:border-0 [&>div:last-child>div]:shadow-[0px_-1px_0px_0px_rgba(0,0,0,0.05),0px_0px_0px_1px_rgba(17,26,37,0.05),0px_2px_5px_0px_rgba(16,25,36,0.1),0px_5px_20px_0px_rgba(16,25,36,0.1)]!",
1449
1449
  navigationMenuClassName
1450
1450
  );
1451
- return /* @__PURE__ */ jsxRuntime.jsx(
1452
- Section,
1453
- {
1454
- background,
1455
- spacing: spacingOverride ?? spacing,
1456
- className: cn(
1457
- "pointer-events-auto fixed top-0 z-999 flex w-full items-center justify-center",
1458
- sectionClasses
1459
- ),
1460
- pattern,
1461
- patternOpacity,
1462
- containerClassName: sectionContainerClassName,
1463
- containerMaxWidth: sectionContainerMaxWidth,
1464
- children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: containerWrapperClasses, children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: baseNavWrapperClasses, children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: innerContainerClasses, children: [
1465
- /* @__PURE__ */ jsxRuntime.jsx(NavigationMenu, { className: navWrapperClasses, children: /* @__PURE__ */ jsxRuntime.jsxs(
1451
+ return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
1452
+ /* @__PURE__ */ jsxRuntime.jsx(
1453
+ Section,
1454
+ {
1455
+ background,
1456
+ spacing: spacingOverride ?? spacing,
1457
+ className: cn(
1458
+ "pointer-events-auto fixed top-0 z-999 flex w-full items-center justify-center",
1459
+ sectionClasses
1460
+ ),
1461
+ pattern,
1462
+ patternOpacity,
1463
+ containerClassName: sectionContainerClassName,
1464
+ containerMaxWidth: sectionContainerMaxWidth,
1465
+ children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: containerWrapperClasses, children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: baseNavWrapperClasses, children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: innerContainerClasses, children: /* @__PURE__ */ jsxRuntime.jsx(NavigationMenu, { className: navWrapperClasses, children: /* @__PURE__ */ jsxRuntime.jsxs(
1466
1466
  "div",
1467
1467
  {
1468
1468
  className: cn(
@@ -1489,14 +1489,7 @@ var NavbarAnimatedPreview = ({
1489
1489
  size: "icon",
1490
1490
  asButton: true,
1491
1491
  onClick: handleMobileMenu,
1492
- children: open ? /* @__PURE__ */ jsxRuntime.jsx(
1493
- DynamicIcon,
1494
- {
1495
- name: "lucide/x",
1496
- size: 22,
1497
- className: "stroke-foreground"
1498
- }
1499
- ) : /* @__PURE__ */ jsxRuntime.jsx(
1492
+ children: /* @__PURE__ */ jsxRuntime.jsx(
1500
1493
  DynamicIcon,
1501
1494
  {
1502
1495
  name: "lucide/menu",
@@ -1509,20 +1502,20 @@ var NavbarAnimatedPreview = ({
1509
1502
  ] })
1510
1503
  ]
1511
1504
  }
1512
- ) }),
1513
- /* @__PURE__ */ jsxRuntime.jsx(
1514
- MobileNavigationMenu,
1515
- {
1516
- open,
1517
- setOpen,
1518
- menuLinks: menuLinks ?? [],
1519
- actions,
1520
- actionsSlot
1521
- }
1522
- )
1523
- ] }) }) })
1524
- }
1525
- );
1505
+ ) }) }) }) })
1506
+ }
1507
+ ),
1508
+ /* @__PURE__ */ jsxRuntime.jsx(
1509
+ MobileNavigationMenu,
1510
+ {
1511
+ open,
1512
+ setOpen,
1513
+ menuLinks: menuLinks ?? [],
1514
+ actions,
1515
+ actionsSlot
1516
+ }
1517
+ )
1518
+ ] });
1526
1519
  };
1527
1520
  var DesktopMenuItem = ({
1528
1521
  item,
@@ -1847,11 +1840,8 @@ var MobileNavigationMenu = ({
1847
1840
  open,
1848
1841
  onClose: () => setOpen(false),
1849
1842
  title: "Mobile Navigation",
1850
- contentClassName: "pt-4 pb-20",
1851
1843
  children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "max-w-screen-sm mx-auto", children: [
1852
- /* @__PURE__ */ jsxRuntime.jsx(Accordion, { type: "multiple", className: "w-full", children: menuLinks.map(
1853
- (item, index) => renderMobileMenuItem(item, index)
1854
- ) }),
1844
+ /* @__PURE__ */ jsxRuntime.jsx(Accordion, { type: "multiple", className: "w-full", children: menuLinks.map((item, index) => renderMobileMenuItem(item, index)) }),
1855
1845
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mt-6 flex flex-col gap-2", children: renderMobileActions })
1856
1846
  ] })
1857
1847
  }
@@ -1134,7 +1134,7 @@ var NavbarMobileMenu = ({
1134
1134
  "div",
1135
1135
  {
1136
1136
  className: cn(
1137
- "fixed inset-0 z-[998] flex flex-col bg-background",
1137
+ "fixed inset-0 z-998 flex flex-col bg-background",
1138
1138
  "animate-in slide-in-from-top duration-300",
1139
1139
  "data-[state=closed]:animate-out data-[state=closed]:slide-out-to-top data-[state=closed]:duration-300",
1140
1140
  className
@@ -1423,21 +1423,21 @@ var NavbarAnimatedPreview = ({
1423
1423
  "h-full max-w-full after:absolute after:inset-0 after:z-998 after:block after:size-full after:content-[''] [&>div:last-child>div]:mt-0 [&>div:last-child>div]:animate-none [&>div:last-child>div]:rounded-none [&>div:last-child>div]:border-0 [&>div:last-child>div]:shadow-[0px_-1px_0px_0px_rgba(0,0,0,0.05),0px_0px_0px_1px_rgba(17,26,37,0.05),0px_2px_5px_0px_rgba(16,25,36,0.1),0px_5px_20px_0px_rgba(16,25,36,0.1)]!",
1424
1424
  navigationMenuClassName
1425
1425
  );
1426
- return /* @__PURE__ */ jsx(
1427
- Section,
1428
- {
1429
- background,
1430
- spacing: spacingOverride ?? spacing,
1431
- className: cn(
1432
- "pointer-events-auto fixed top-0 z-999 flex w-full items-center justify-center",
1433
- sectionClasses
1434
- ),
1435
- pattern,
1436
- patternOpacity,
1437
- containerClassName: sectionContainerClassName,
1438
- containerMaxWidth: sectionContainerMaxWidth,
1439
- children: /* @__PURE__ */ jsx("div", { className: containerWrapperClasses, children: /* @__PURE__ */ jsx("div", { className: baseNavWrapperClasses, children: /* @__PURE__ */ jsxs("div", { className: innerContainerClasses, children: [
1440
- /* @__PURE__ */ jsx(NavigationMenu, { className: navWrapperClasses, children: /* @__PURE__ */ jsxs(
1426
+ return /* @__PURE__ */ jsxs(Fragment, { children: [
1427
+ /* @__PURE__ */ jsx(
1428
+ Section,
1429
+ {
1430
+ background,
1431
+ spacing: spacingOverride ?? spacing,
1432
+ className: cn(
1433
+ "pointer-events-auto fixed top-0 z-999 flex w-full items-center justify-center",
1434
+ sectionClasses
1435
+ ),
1436
+ pattern,
1437
+ patternOpacity,
1438
+ containerClassName: sectionContainerClassName,
1439
+ containerMaxWidth: sectionContainerMaxWidth,
1440
+ children: /* @__PURE__ */ jsx("div", { className: containerWrapperClasses, children: /* @__PURE__ */ jsx("div", { className: baseNavWrapperClasses, children: /* @__PURE__ */ jsx("div", { className: innerContainerClasses, children: /* @__PURE__ */ jsx(NavigationMenu, { className: navWrapperClasses, children: /* @__PURE__ */ jsxs(
1441
1441
  "div",
1442
1442
  {
1443
1443
  className: cn(
@@ -1464,14 +1464,7 @@ var NavbarAnimatedPreview = ({
1464
1464
  size: "icon",
1465
1465
  asButton: true,
1466
1466
  onClick: handleMobileMenu,
1467
- children: open ? /* @__PURE__ */ jsx(
1468
- DynamicIcon,
1469
- {
1470
- name: "lucide/x",
1471
- size: 22,
1472
- className: "stroke-foreground"
1473
- }
1474
- ) : /* @__PURE__ */ jsx(
1467
+ children: /* @__PURE__ */ jsx(
1475
1468
  DynamicIcon,
1476
1469
  {
1477
1470
  name: "lucide/menu",
@@ -1484,20 +1477,20 @@ var NavbarAnimatedPreview = ({
1484
1477
  ] })
1485
1478
  ]
1486
1479
  }
1487
- ) }),
1488
- /* @__PURE__ */ jsx(
1489
- MobileNavigationMenu,
1490
- {
1491
- open,
1492
- setOpen,
1493
- menuLinks: menuLinks ?? [],
1494
- actions,
1495
- actionsSlot
1496
- }
1497
- )
1498
- ] }) }) })
1499
- }
1500
- );
1480
+ ) }) }) }) })
1481
+ }
1482
+ ),
1483
+ /* @__PURE__ */ jsx(
1484
+ MobileNavigationMenu,
1485
+ {
1486
+ open,
1487
+ setOpen,
1488
+ menuLinks: menuLinks ?? [],
1489
+ actions,
1490
+ actionsSlot
1491
+ }
1492
+ )
1493
+ ] });
1501
1494
  };
1502
1495
  var DesktopMenuItem = ({
1503
1496
  item,
@@ -1822,11 +1815,8 @@ var MobileNavigationMenu = ({
1822
1815
  open,
1823
1816
  onClose: () => setOpen(false),
1824
1817
  title: "Mobile Navigation",
1825
- contentClassName: "pt-4 pb-20",
1826
1818
  children: /* @__PURE__ */ jsxs("div", { className: "max-w-screen-sm mx-auto", children: [
1827
- /* @__PURE__ */ jsx(Accordion, { type: "multiple", className: "w-full", children: menuLinks.map(
1828
- (item, index) => renderMobileMenuItem(item, index)
1829
- ) }),
1819
+ /* @__PURE__ */ jsx(Accordion, { type: "multiple", className: "w-full", children: menuLinks.map((item, index) => renderMobileMenuItem(item, index)) }),
1830
1820
  /* @__PURE__ */ jsx("div", { className: "mt-6 flex flex-col gap-2", children: renderMobileActions })
1831
1821
  ] })
1832
1822
  }
@@ -1107,7 +1107,7 @@ var NavbarMobileMenu = ({
1107
1107
  "div",
1108
1108
  {
1109
1109
  className: cn(
1110
- "fixed inset-0 z-[998] flex flex-col bg-background",
1110
+ "fixed inset-0 z-998 flex flex-col bg-background",
1111
1111
  "animate-in slide-in-from-top duration-300",
1112
1112
  "data-[state=closed]:animate-out data-[state=closed]:slide-out-to-top data-[state=closed]:duration-300",
1113
1113
  className
@@ -1284,11 +1284,11 @@ var renderMobileMenuItem = (item) => {
1284
1284
  if (item.items) {
1285
1285
  return /* @__PURE__ */ jsxRuntime.jsxs(AccordionItem, { value: item.title, className: "border-b-0", children: [
1286
1286
  /* @__PURE__ */ jsxRuntime.jsx(AccordionTrigger, { className: "h-15 items-center text-base font-normal text-foreground hover:no-underline", children: item.title }),
1287
- /* @__PURE__ */ jsxRuntime.jsx(AccordionContent, { className: "max-h-[60dvh] overflow-y-auto space-y-2", children: item.items.map((subItem) => /* @__PURE__ */ jsxRuntime.jsxs(
1287
+ /* @__PURE__ */ jsxRuntime.jsx(AccordionContent, { className: "overflow-x-none", children: item.items.map((subItem) => /* @__PURE__ */ jsxRuntime.jsxs(
1288
1288
  Pressable,
1289
1289
  {
1290
1290
  href: subItem.url,
1291
- className: "flex items-center gap-2 pl-4 text-sm text-muted-foreground hover:text-foreground",
1291
+ className: "flex items-center gap-2 pl-2 text-sm text-muted-foreground hover:text-foreground",
1292
1292
  children: [
1293
1293
  subItem.icon && /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: subItem.icon, size: 14 }),
1294
1294
  subItem.title
@@ -1443,16 +1443,8 @@ var NavbarCenteredMenu = ({
1443
1443
  open,
1444
1444
  onClose: () => setOpen(false),
1445
1445
  title: "Mobile Navigation",
1446
- contentClassName: "pt-10 pb-20",
1447
1446
  children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "max-w-screen-sm mx-auto", children: [
1448
- /* @__PURE__ */ jsxRuntime.jsx(
1449
- Accordion,
1450
- {
1451
- type: "multiple",
1452
- className: "w-full",
1453
- children: renderMobileMenu
1454
- }
1455
- ),
1447
+ /* @__PURE__ */ jsxRuntime.jsx(Accordion, { type: "multiple", className: "w-full", children: renderMobileMenu }),
1456
1448
  /* @__PURE__ */ jsxRuntime.jsx(
1457
1449
  "div",
1458
1450
  {
@@ -1084,7 +1084,7 @@ var NavbarMobileMenu = ({
1084
1084
  "div",
1085
1085
  {
1086
1086
  className: cn(
1087
- "fixed inset-0 z-[998] flex flex-col bg-background",
1087
+ "fixed inset-0 z-998 flex flex-col bg-background",
1088
1088
  "animate-in slide-in-from-top duration-300",
1089
1089
  "data-[state=closed]:animate-out data-[state=closed]:slide-out-to-top data-[state=closed]:duration-300",
1090
1090
  className
@@ -1261,11 +1261,11 @@ var renderMobileMenuItem = (item) => {
1261
1261
  if (item.items) {
1262
1262
  return /* @__PURE__ */ jsxs(AccordionItem, { value: item.title, className: "border-b-0", children: [
1263
1263
  /* @__PURE__ */ jsx(AccordionTrigger, { className: "h-15 items-center text-base font-normal text-foreground hover:no-underline", children: item.title }),
1264
- /* @__PURE__ */ jsx(AccordionContent, { className: "max-h-[60dvh] overflow-y-auto space-y-2", children: item.items.map((subItem) => /* @__PURE__ */ jsxs(
1264
+ /* @__PURE__ */ jsx(AccordionContent, { className: "overflow-x-none", children: item.items.map((subItem) => /* @__PURE__ */ jsxs(
1265
1265
  Pressable,
1266
1266
  {
1267
1267
  href: subItem.url,
1268
- className: "flex items-center gap-2 pl-4 text-sm text-muted-foreground hover:text-foreground",
1268
+ className: "flex items-center gap-2 pl-2 text-sm text-muted-foreground hover:text-foreground",
1269
1269
  children: [
1270
1270
  subItem.icon && /* @__PURE__ */ jsx(DynamicIcon, { name: subItem.icon, size: 14 }),
1271
1271
  subItem.title
@@ -1420,16 +1420,8 @@ var NavbarCenteredMenu = ({
1420
1420
  open,
1421
1421
  onClose: () => setOpen(false),
1422
1422
  title: "Mobile Navigation",
1423
- contentClassName: "pt-10 pb-20",
1424
1423
  children: /* @__PURE__ */ jsxs("div", { className: "max-w-screen-sm mx-auto", children: [
1425
- /* @__PURE__ */ jsx(
1426
- Accordion,
1427
- {
1428
- type: "multiple",
1429
- className: "w-full",
1430
- children: renderMobileMenu
1431
- }
1432
- ),
1424
+ /* @__PURE__ */ jsx(Accordion, { type: "multiple", className: "w-full", children: renderMobileMenu }),
1433
1425
  /* @__PURE__ */ jsx(
1434
1426
  "div",
1435
1427
  {
@@ -1154,7 +1154,7 @@ var NavbarMobileMenu = ({
1154
1154
  "div",
1155
1155
  {
1156
1156
  className: cn(
1157
- "fixed inset-0 z-[998] flex flex-col bg-background",
1157
+ "fixed inset-0 z-998 flex flex-col bg-background",
1158
1158
  "animate-in slide-in-from-top duration-300",
1159
1159
  "data-[state=closed]:animate-out data-[state=closed]:slide-out-to-top data-[state=closed]:duration-300",
1160
1160
  className
@@ -1555,11 +1555,8 @@ var MobileNavigationMenu = ({
1555
1555
  onClose: () => setOpen(false),
1556
1556
  title: "Mobile Navigation",
1557
1557
  className: "dark",
1558
- contentClassName: "pt-4",
1559
1558
  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-20", children: [
1560
- /* @__PURE__ */ jsxRuntime.jsx(Accordion, { type: "multiple", className: "w-full", children: navigation.map(
1561
- (item, index) => renderMobileMenuItem(item, index)
1562
- ) }),
1559
+ /* @__PURE__ */ jsxRuntime.jsx(Accordion, { type: "multiple", className: "w-full", children: navigation.map((item, index) => renderMobileMenuItem(item, index)) }),
1563
1560
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex flex-col gap-2 pb-20", children: renderMobileAuthActions })
1564
1561
  ] }) })
1565
1562
  }
@@ -1131,7 +1131,7 @@ var NavbarMobileMenu = ({
1131
1131
  "div",
1132
1132
  {
1133
1133
  className: cn(
1134
- "fixed inset-0 z-[998] flex flex-col bg-background",
1134
+ "fixed inset-0 z-998 flex flex-col bg-background",
1135
1135
  "animate-in slide-in-from-top duration-300",
1136
1136
  "data-[state=closed]:animate-out data-[state=closed]:slide-out-to-top data-[state=closed]:duration-300",
1137
1137
  className
@@ -1532,11 +1532,8 @@ var MobileNavigationMenu = ({
1532
1532
  onClose: () => setOpen(false),
1533
1533
  title: "Mobile Navigation",
1534
1534
  className: "dark",
1535
- contentClassName: "pt-4",
1536
1535
  children: /* @__PURE__ */ jsx("div", { className: "max-w-screen-sm mx-auto", children: /* @__PURE__ */ jsxs("div", { className: "flex h-full flex-col justify-between gap-20", children: [
1537
- /* @__PURE__ */ jsx(Accordion, { type: "multiple", className: "w-full", children: navigation.map(
1538
- (item, index) => renderMobileMenuItem(item, index)
1539
- ) }),
1536
+ /* @__PURE__ */ jsx(Accordion, { type: "multiple", className: "w-full", children: navigation.map((item, index) => renderMobileMenuItem(item, index)) }),
1540
1537
  /* @__PURE__ */ jsx("div", { className: "flex flex-col gap-2 pb-20", children: renderMobileAuthActions })
1541
1538
  ] }) })
1542
1539
  }
@@ -1154,7 +1154,7 @@ var NavbarMobileMenu = ({
1154
1154
  "div",
1155
1155
  {
1156
1156
  className: cn(
1157
- "fixed inset-0 z-[998] flex flex-col bg-background",
1157
+ "fixed inset-0 z-998 flex flex-col bg-background",
1158
1158
  "animate-in slide-in-from-top duration-300",
1159
1159
  "data-[state=closed]:animate-out data-[state=closed]:slide-out-to-top data-[state=closed]:duration-300",
1160
1160
  className
@@ -1131,7 +1131,7 @@ var NavbarMobileMenu = ({
1131
1131
  "div",
1132
1132
  {
1133
1133
  className: cn(
1134
- "fixed inset-0 z-[998] flex flex-col bg-background",
1134
+ "fixed inset-0 z-998 flex flex-col bg-background",
1135
1135
  "animate-in slide-in-from-top duration-300",
1136
1136
  "data-[state=closed]:animate-out data-[state=closed]:slide-out-to-top data-[state=closed]:duration-300",
1137
1137
  className
@@ -1154,7 +1154,7 @@ var NavbarMobileMenu = ({
1154
1154
  "div",
1155
1155
  {
1156
1156
  className: cn(
1157
- "fixed inset-0 z-[998] flex flex-col bg-background",
1157
+ "fixed inset-0 z-998 flex flex-col bg-background",
1158
1158
  "animate-in slide-in-from-top duration-300",
1159
1159
  "data-[state=closed]:animate-out data-[state=closed]:slide-out-to-top data-[state=closed]:duration-300",
1160
1160
  className
@@ -1928,8 +1928,15 @@ var renderDropdownContent = (item, optixFlowConfig) => {
1928
1928
  var renderMobileDropdownContent = (item) => {
1929
1929
  switch (item.layout) {
1930
1930
  case "solutions-with-platform":
1931
- return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "space-y-4", children: item.solutionCards?.map((solution) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-2", children: [
1932
- /* @__PURE__ */ jsxRuntime.jsx(Pressable, { href: solution.href, className: "mb-2 text-sm font-medium", children: solution.title }),
1931
+ return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "relative", children: item.solutionCards?.map((solution) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-2", children: [
1932
+ /* @__PURE__ */ jsxRuntime.jsx(
1933
+ Pressable,
1934
+ {
1935
+ href: solution.href,
1936
+ className: "block pb-2 text-sm font-medium",
1937
+ children: solution.title
1938
+ }
1939
+ ),
1933
1940
  solution.subpages.map((subpage) => /* @__PURE__ */ jsxRuntime.jsxs(
1934
1941
  Pressable,
1935
1942
  {
@@ -2022,7 +2029,6 @@ var MobileNavigationMenu = ({
2022
2029
  open,
2023
2030
  onClose: () => setOpen(false),
2024
2031
  title: "Mobile Navigation",
2025
- contentClassName: "pt-10 pb-20",
2026
2032
  children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "max-w-screen-sm mx-auto", children: [
2027
2033
  /* @__PURE__ */ jsxRuntime.jsx(Accordion, { type: "multiple", className: "w-full", children: menuLinks.map((item, index) => {
2028
2034
  const hasDropdown = Boolean(item.layout);
@@ -2034,7 +2040,7 @@ var MobileNavigationMenu = ({
2034
2040
  className: "border-b-0",
2035
2041
  children: [
2036
2042
  /* @__PURE__ */ jsxRuntime.jsx(AccordionTrigger, { className: "h-15 items-center text-base font-normal text-foreground hover:no-underline", children: item.label }),
2037
- /* @__PURE__ */ jsxRuntime.jsx(AccordionContent, { className: "max-h-[60dvh] overflow-y-auto", children: renderMobileDropdownContent(item) })
2043
+ /* @__PURE__ */ jsxRuntime.jsx(AccordionContent, { className: "overflow-x-none", children: renderMobileDropdownContent(item) })
2038
2044
  ]
2039
2045
  },
2040
2046
  typeof item.label === "string" ? item.label : `nav-${index}`
@@ -1131,7 +1131,7 @@ var NavbarMobileMenu = ({
1131
1131
  "div",
1132
1132
  {
1133
1133
  className: cn(
1134
- "fixed inset-0 z-[998] flex flex-col bg-background",
1134
+ "fixed inset-0 z-998 flex flex-col bg-background",
1135
1135
  "animate-in slide-in-from-top duration-300",
1136
1136
  "data-[state=closed]:animate-out data-[state=closed]:slide-out-to-top data-[state=closed]:duration-300",
1137
1137
  className
@@ -1905,8 +1905,15 @@ var renderDropdownContent = (item, optixFlowConfig) => {
1905
1905
  var renderMobileDropdownContent = (item) => {
1906
1906
  switch (item.layout) {
1907
1907
  case "solutions-with-platform":
1908
- return /* @__PURE__ */ jsx("div", { className: "space-y-4", children: item.solutionCards?.map((solution) => /* @__PURE__ */ jsxs("div", { className: "space-y-2", children: [
1909
- /* @__PURE__ */ jsx(Pressable, { href: solution.href, className: "mb-2 text-sm font-medium", children: solution.title }),
1908
+ return /* @__PURE__ */ jsx("div", { className: "relative", children: item.solutionCards?.map((solution) => /* @__PURE__ */ jsxs("div", { className: "space-y-2", children: [
1909
+ /* @__PURE__ */ jsx(
1910
+ Pressable,
1911
+ {
1912
+ href: solution.href,
1913
+ className: "block pb-2 text-sm font-medium",
1914
+ children: solution.title
1915
+ }
1916
+ ),
1910
1917
  solution.subpages.map((subpage) => /* @__PURE__ */ jsxs(
1911
1918
  Pressable,
1912
1919
  {
@@ -1999,7 +2006,6 @@ var MobileNavigationMenu = ({
1999
2006
  open,
2000
2007
  onClose: () => setOpen(false),
2001
2008
  title: "Mobile Navigation",
2002
- contentClassName: "pt-10 pb-20",
2003
2009
  children: /* @__PURE__ */ jsxs("div", { className: "max-w-screen-sm mx-auto", children: [
2004
2010
  /* @__PURE__ */ jsx(Accordion, { type: "multiple", className: "w-full", children: menuLinks.map((item, index) => {
2005
2011
  const hasDropdown = Boolean(item.layout);
@@ -2011,7 +2017,7 @@ var MobileNavigationMenu = ({
2011
2017
  className: "border-b-0",
2012
2018
  children: [
2013
2019
  /* @__PURE__ */ jsx(AccordionTrigger, { className: "h-15 items-center text-base font-normal text-foreground hover:no-underline", children: item.label }),
2014
- /* @__PURE__ */ jsx(AccordionContent, { className: "max-h-[60dvh] overflow-y-auto", children: renderMobileDropdownContent(item) })
2020
+ /* @__PURE__ */ jsx(AccordionContent, { className: "overflow-x-none", children: renderMobileDropdownContent(item) })
2015
2021
  ]
2016
2022
  },
2017
2023
  typeof item.label === "string" ? item.label : `nav-${index}`
@@ -1154,7 +1154,7 @@ var NavbarMobileMenu = ({
1154
1154
  "div",
1155
1155
  {
1156
1156
  className: cn(
1157
- "fixed inset-0 z-[998] flex flex-col bg-background",
1157
+ "fixed inset-0 z-998 flex flex-col bg-background",
1158
1158
  "animate-in slide-in-from-top duration-300",
1159
1159
  "data-[state=closed]:animate-out data-[state=closed]:slide-out-to-top data-[state=closed]:duration-300",
1160
1160
  className
@@ -1415,36 +1415,28 @@ var NavbarFeatureGrid = ({
1415
1415
  open,
1416
1416
  onClose: () => setOpen(false),
1417
1417
  title: "Mobile Navigation",
1418
- contentClassName: "pt-10 pb-20",
1419
1418
  children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "max-w-screen-sm mx-auto", children: [
1420
1419
  /* @__PURE__ */ jsxRuntime.jsxs(Accordion, { type: "multiple", className: "w-full", children: [
1421
- features && features.length > 0 && /* @__PURE__ */ jsxRuntime.jsxs(
1422
- AccordionItem,
1423
- {
1424
- value: "features",
1425
- className: "border-b-0",
1426
- children: [
1427
- /* @__PURE__ */ jsxRuntime.jsx(AccordionTrigger, { className: "h-15 items-center text-base font-normal text-foreground hover:no-underline", children: "Features" }),
1428
- /* @__PURE__ */ jsxRuntime.jsx(AccordionContent, { className: "max-h-[60dvh] overflow-y-auto space-y-2", children: features.map((feature, index) => /* @__PURE__ */ jsxRuntime.jsx(
1429
- Pressable,
1430
- {
1431
- href: feature.href,
1432
- className: "flex items-start gap-2 pl-4 text-sm text-muted-foreground hover:text-foreground",
1433
- children: /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
1434
- /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mb-1 font-semibold", children: feature.title }),
1435
- /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm text-muted-foreground", children: feature.description })
1436
- ] })
1437
- },
1438
- index
1439
- )) })
1440
- ]
1441
- }
1442
- ),
1420
+ features && features.length > 0 && /* @__PURE__ */ jsxRuntime.jsxs(AccordionItem, { value: "features", className: "border-b-0", children: [
1421
+ /* @__PURE__ */ jsxRuntime.jsx(AccordionTrigger, { className: "h-15 items-center text-base font-normal hover:no-underline", children: "Features" }),
1422
+ /* @__PURE__ */ jsxRuntime.jsx(AccordionContent, { className: "overflow-x-none", children: features.map((feature, index) => /* @__PURE__ */ jsxRuntime.jsx(
1423
+ Pressable,
1424
+ {
1425
+ href: feature.href,
1426
+ className: "flex items-start gap-2 pl-4 text-sm",
1427
+ children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-2", children: [
1428
+ /* @__PURE__ */ jsxRuntime.jsx("p", { className: "font-semibold", children: feature.title }),
1429
+ /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm", children: feature.description })
1430
+ ] })
1431
+ },
1432
+ index
1433
+ )) })
1434
+ ] }),
1443
1435
  menu?.map((item, index) => /* @__PURE__ */ jsxRuntime.jsx(
1444
1436
  Pressable,
1445
1437
  {
1446
1438
  href: item.url,
1447
- className: "flex h-15 items-center text-base font-normal text-foreground",
1439
+ className: "flex h-15 items-center text-base font-normal",
1448
1440
  children: item.title
1449
1441
  },
1450
1442
  index
@@ -1453,10 +1445,7 @@ var NavbarFeatureGrid = ({
1453
1445
  /* @__PURE__ */ jsxRuntime.jsx(
1454
1446
  "div",
1455
1447
  {
1456
- className: cn(
1457
- "mt-6 flex flex-col gap-4",
1458
- actionsClassName
1459
- ),
1448
+ className: cn("mt-6 flex flex-col gap-4", actionsClassName),
1460
1449
  children: renderAuthActions
1461
1450
  }
1462
1451
  )
@@ -1131,7 +1131,7 @@ var NavbarMobileMenu = ({
1131
1131
  "div",
1132
1132
  {
1133
1133
  className: cn(
1134
- "fixed inset-0 z-[998] flex flex-col bg-background",
1134
+ "fixed inset-0 z-998 flex flex-col bg-background",
1135
1135
  "animate-in slide-in-from-top duration-300",
1136
1136
  "data-[state=closed]:animate-out data-[state=closed]:slide-out-to-top data-[state=closed]:duration-300",
1137
1137
  className
@@ -1392,36 +1392,28 @@ var NavbarFeatureGrid = ({
1392
1392
  open,
1393
1393
  onClose: () => setOpen(false),
1394
1394
  title: "Mobile Navigation",
1395
- contentClassName: "pt-10 pb-20",
1396
1395
  children: /* @__PURE__ */ jsxs("div", { className: "max-w-screen-sm mx-auto", children: [
1397
1396
  /* @__PURE__ */ jsxs(Accordion, { type: "multiple", className: "w-full", children: [
1398
- features && features.length > 0 && /* @__PURE__ */ jsxs(
1399
- AccordionItem,
1400
- {
1401
- value: "features",
1402
- className: "border-b-0",
1403
- children: [
1404
- /* @__PURE__ */ jsx(AccordionTrigger, { className: "h-15 items-center text-base font-normal text-foreground hover:no-underline", children: "Features" }),
1405
- /* @__PURE__ */ jsx(AccordionContent, { className: "max-h-[60dvh] overflow-y-auto space-y-2", children: features.map((feature, index) => /* @__PURE__ */ jsx(
1406
- Pressable,
1407
- {
1408
- href: feature.href,
1409
- className: "flex items-start gap-2 pl-4 text-sm text-muted-foreground hover:text-foreground",
1410
- children: /* @__PURE__ */ jsxs("div", { children: [
1411
- /* @__PURE__ */ jsx("p", { className: "mb-1 font-semibold", children: feature.title }),
1412
- /* @__PURE__ */ jsx("p", { className: "text-sm text-muted-foreground", children: feature.description })
1413
- ] })
1414
- },
1415
- index
1416
- )) })
1417
- ]
1418
- }
1419
- ),
1397
+ features && features.length > 0 && /* @__PURE__ */ jsxs(AccordionItem, { value: "features", className: "border-b-0", children: [
1398
+ /* @__PURE__ */ jsx(AccordionTrigger, { className: "h-15 items-center text-base font-normal hover:no-underline", children: "Features" }),
1399
+ /* @__PURE__ */ jsx(AccordionContent, { className: "overflow-x-none", children: features.map((feature, index) => /* @__PURE__ */ jsx(
1400
+ Pressable,
1401
+ {
1402
+ href: feature.href,
1403
+ className: "flex items-start gap-2 pl-4 text-sm",
1404
+ children: /* @__PURE__ */ jsxs("div", { className: "space-y-2", children: [
1405
+ /* @__PURE__ */ jsx("p", { className: "font-semibold", children: feature.title }),
1406
+ /* @__PURE__ */ jsx("p", { className: "text-sm", children: feature.description })
1407
+ ] })
1408
+ },
1409
+ index
1410
+ )) })
1411
+ ] }),
1420
1412
  menu?.map((item, index) => /* @__PURE__ */ jsx(
1421
1413
  Pressable,
1422
1414
  {
1423
1415
  href: item.url,
1424
- className: "flex h-15 items-center text-base font-normal text-foreground",
1416
+ className: "flex h-15 items-center text-base font-normal",
1425
1417
  children: item.title
1426
1418
  },
1427
1419
  index
@@ -1430,10 +1422,7 @@ var NavbarFeatureGrid = ({
1430
1422
  /* @__PURE__ */ jsx(
1431
1423
  "div",
1432
1424
  {
1433
- className: cn(
1434
- "mt-6 flex flex-col gap-4",
1435
- actionsClassName
1436
- ),
1425
+ className: cn("mt-6 flex flex-col gap-4", actionsClassName),
1437
1426
  children: renderAuthActions
1438
1427
  }
1439
1428
  )
@@ -1174,8 +1174,8 @@ var NavbarFloatingPill = ({
1174
1174
  menuSlot,
1175
1175
  authActions,
1176
1176
  authActionsSlot,
1177
- className,
1178
- containerClassName,
1177
+ className = "px-4 md:px-0",
1178
+ containerClassName = "container px-0 sm:px-0 lg:px-0",
1179
1179
  pillWrapperClassName,
1180
1180
  navigationMenuClassName,
1181
1181
  actionsClassName,
@@ -1244,7 +1244,7 @@ var NavbarFloatingPill = ({
1244
1244
  "nav",
1245
1245
  {
1246
1246
  className: cn(
1247
- "absolute border top-4 left-1/2 z-50 w-[min(90%,700px)] -translate-x-1/2 rounded-full bg-background/70 backdrop-blur-md lg:top-6",
1247
+ "container absolute border top-4 left-1/2 z-50 w-[min(90%,700px)] -translate-x-1/2 rounded-full bg-background/70 backdrop-blur-md lg:top-6",
1248
1248
  navWrapperClasses
1249
1249
  ),
1250
1250
  children: [