@opensite/ui 1.0.5 → 1.0.6

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 (35) hide show
  1. package/dist/navbar-animated-preview.cjs +2 -5
  2. package/dist/navbar-animated-preview.js +2 -5
  3. package/dist/navbar-centered-menu.cjs +2 -10
  4. package/dist/navbar-centered-menu.js +2 -10
  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 +9 -3
  10. package/dist/navbar-enterprise-mega.js +9 -3
  11. package/dist/navbar-feature-grid.cjs +17 -28
  12. package/dist/navbar-feature-grid.js +17 -28
  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 +1 -3
  18. package/dist/navbar-image-preview.js +1 -3
  19. package/dist/navbar-multi-column-groups.cjs +2 -5
  20. package/dist/navbar-multi-column-groups.js +2 -5
  21. package/dist/navbar-platform-resources.cjs +3 -7
  22. package/dist/navbar-platform-resources.js +3 -7
  23. package/dist/navbar-search-focused.cjs +1 -1
  24. package/dist/navbar-search-focused.js +1 -1
  25. package/dist/navbar-sidebar-mobile.cjs +1 -1
  26. package/dist/navbar-sidebar-mobile.js +1 -1
  27. package/dist/navbar-split-cta.cjs +1 -1
  28. package/dist/navbar-split-cta.js +1 -1
  29. package/dist/navbar-sticky-compact.cjs +1 -1
  30. package/dist/navbar-sticky-compact.js +1 -1
  31. package/dist/navbar-tabbed-sections.cjs +1 -1
  32. package/dist/navbar-tabbed-sections.js +1 -1
  33. package/dist/registry.cjs +34 -62
  34. package/dist/registry.js +34 -62
  35. 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
@@ -1847,11 +1847,8 @@ var MobileNavigationMenu = ({
1847
1847
  open,
1848
1848
  onClose: () => setOpen(false),
1849
1849
  title: "Mobile Navigation",
1850
- contentClassName: "pt-4 pb-20",
1851
1850
  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
- ) }),
1851
+ /* @__PURE__ */ jsxRuntime.jsx(Accordion, { type: "multiple", className: "w-full", children: menuLinks.map((item, index) => renderMobileMenuItem(item, index)) }),
1855
1852
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mt-6 flex flex-col gap-2", children: renderMobileActions })
1856
1853
  ] })
1857
1854
  }
@@ -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
@@ -1822,11 +1822,8 @@ var MobileNavigationMenu = ({
1822
1822
  open,
1823
1823
  onClose: () => setOpen(false),
1824
1824
  title: "Mobile Navigation",
1825
- contentClassName: "pt-4 pb-20",
1826
1825
  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
- ) }),
1826
+ /* @__PURE__ */ jsx(Accordion, { type: "multiple", className: "w-full", children: menuLinks.map((item, index) => renderMobileMenuItem(item, index)) }),
1830
1827
  /* @__PURE__ */ jsx("div", { className: "mt-6 flex flex-col gap-2", children: renderMobileActions })
1831
1828
  ] })
1832
1829
  }
@@ -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
@@ -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
@@ -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
@@ -1929,7 +1929,14 @@ var renderMobileDropdownContent = (item) => {
1929
1929
  switch (item.layout) {
1930
1930
  case "solutions-with-platform":
1931
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 }),
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);
@@ -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
@@ -1906,7 +1906,14 @@ var renderMobileDropdownContent = (item) => {
1906
1906
  switch (item.layout) {
1907
1907
  case "solutions-with-platform":
1908
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 }),
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);
@@ -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,31 +1415,23 @@ 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 text-foreground hover:no-underline", children: "Features" }),
1422
+ /* @__PURE__ */ jsxRuntime.jsx(AccordionContent, { className: "max-h-[60dvh] overflow-y-auto space-y-2", 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 text-muted-foreground hover:text-foreground",
1427
+ children: /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
1428
+ /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mb-1 font-semibold", children: feature.title }),
1429
+ /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm text-muted-foreground", children: feature.description })
1430
+ ] })
1431
+ },
1432
+ index
1433
+ )) })
1434
+ ] }),
1443
1435
  menu?.map((item, index) => /* @__PURE__ */ jsxRuntime.jsx(
1444
1436
  Pressable,
1445
1437
  {
@@ -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,31 +1392,23 @@ 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 text-foreground hover:no-underline", children: "Features" }),
1399
+ /* @__PURE__ */ jsx(AccordionContent, { className: "max-h-[60dvh] overflow-y-auto space-y-2", 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 text-muted-foreground hover:text-foreground",
1404
+ children: /* @__PURE__ */ jsxs("div", { children: [
1405
+ /* @__PURE__ */ jsx("p", { className: "mb-1 font-semibold", children: feature.title }),
1406
+ /* @__PURE__ */ jsx("p", { className: "text-sm text-muted-foreground", children: feature.description })
1407
+ ] })
1408
+ },
1409
+ index
1410
+ )) })
1411
+ ] }),
1420
1412
  menu?.map((item, index) => /* @__PURE__ */ jsx(
1421
1413
  Pressable,
1422
1414
  {
@@ -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: [
@@ -1152,8 +1152,8 @@ var NavbarFloatingPill = ({
1152
1152
  menuSlot,
1153
1153
  authActions,
1154
1154
  authActionsSlot,
1155
- className,
1156
- containerClassName,
1155
+ className = "px-4 md:px-0",
1156
+ containerClassName = "container px-0 sm:px-0 lg:px-0",
1157
1157
  pillWrapperClassName,
1158
1158
  navigationMenuClassName,
1159
1159
  actionsClassName,
@@ -1222,7 +1222,7 @@ var NavbarFloatingPill = ({
1222
1222
  "nav",
1223
1223
  {
1224
1224
  className: cn(
1225
- "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",
1225
+ "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",
1226
1226
  navWrapperClasses
1227
1227
  ),
1228
1228
  children: [
@@ -1051,7 +1051,7 @@ var NavbarMobileMenu = ({
1051
1051
  "div",
1052
1052
  {
1053
1053
  className: cn(
1054
- "fixed inset-0 z-[998] flex flex-col bg-background",
1054
+ "fixed inset-0 z-998 flex flex-col bg-background",
1055
1055
  "animate-in slide-in-from-top duration-300",
1056
1056
  "data-[state=closed]:animate-out data-[state=closed]:slide-out-to-top data-[state=closed]:duration-300",
1057
1057
  className
@@ -1028,7 +1028,7 @@ var NavbarMobileMenu = ({
1028
1028
  "div",
1029
1029
  {
1030
1030
  className: cn(
1031
- "fixed inset-0 z-[998] flex flex-col bg-background",
1031
+ "fixed inset-0 z-998 flex flex-col bg-background",
1032
1032
  "animate-in slide-in-from-top duration-300",
1033
1033
  "data-[state=closed]:animate-out data-[state=closed]:slide-out-to-top data-[state=closed]:duration-300",
1034
1034
  className
@@ -1152,7 +1152,7 @@ var NavbarMobileMenu = ({
1152
1152
  "div",
1153
1153
  {
1154
1154
  className: cn(
1155
- "fixed inset-0 z-[998] flex flex-col bg-background",
1155
+ "fixed inset-0 z-998 flex flex-col bg-background",
1156
1156
  "animate-in slide-in-from-top duration-300",
1157
1157
  "data-[state=closed]:animate-out data-[state=closed]:slide-out-to-top data-[state=closed]:duration-300",
1158
1158
  className
@@ -1588,8 +1588,6 @@ var MobileNavigationMenu = ({
1588
1588
  open,
1589
1589
  onClose: () => setOpen(false),
1590
1590
  title: "Mobile Navigation",
1591
- className: "bg-primary text-primary-foreground",
1592
- contentClassName: "pt-24 pb-12",
1593
1591
  children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "max-w-screen-sm mx-auto", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex h-full flex-col justify-between gap-30", children: [
1594
1592
  renderMobileNavigation,
1595
1593
  renderSocialLinks,
@@ -1130,7 +1130,7 @@ var NavbarMobileMenu = ({
1130
1130
  "div",
1131
1131
  {
1132
1132
  className: cn(
1133
- "fixed inset-0 z-[998] flex flex-col bg-background",
1133
+ "fixed inset-0 z-998 flex flex-col bg-background",
1134
1134
  "animate-in slide-in-from-top duration-300",
1135
1135
  "data-[state=closed]:animate-out data-[state=closed]:slide-out-to-top data-[state=closed]:duration-300",
1136
1136
  className
@@ -1566,8 +1566,6 @@ var MobileNavigationMenu = ({
1566
1566
  open,
1567
1567
  onClose: () => setOpen(false),
1568
1568
  title: "Mobile Navigation",
1569
- className: "bg-primary text-primary-foreground",
1570
- contentClassName: "pt-24 pb-12",
1571
1569
  children: /* @__PURE__ */ jsx("div", { className: "max-w-screen-sm mx-auto", children: /* @__PURE__ */ jsxs("div", { className: "flex h-full flex-col justify-between gap-30", children: [
1572
1570
  renderMobileNavigation,
1573
1571
  renderSocialLinks,
@@ -1214,7 +1214,7 @@ var NavbarMobileMenu = ({
1214
1214
  "div",
1215
1215
  {
1216
1216
  className: cn(
1217
- "fixed inset-0 z-[998] flex flex-col bg-background",
1217
+ "fixed inset-0 z-998 flex flex-col bg-background",
1218
1218
  "animate-in slide-in-from-top duration-300",
1219
1219
  "data-[state=closed]:animate-out data-[state=closed]:slide-out-to-top data-[state=closed]:duration-300",
1220
1220
  className
@@ -1548,11 +1548,8 @@ var MobileNavigationMenu = ({
1548
1548
  onClose: () => setOpen(false),
1549
1549
  title: "Mobile Navigation",
1550
1550
  className: "dark",
1551
- contentClassName: "pt-10 pb-20",
1552
1551
  children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "max-w-screen-sm mx-auto", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-6", children: [
1553
- /* @__PURE__ */ jsxRuntime.jsx(Accordion, { type: "multiple", className: "w-full", children: navigation.map(
1554
- (item, index) => renderMobileMenuItem(item, index)
1555
- ) }),
1552
+ /* @__PURE__ */ jsxRuntime.jsx(Accordion, { type: "multiple", className: "w-full", children: navigation.map((item, index) => renderMobileMenuItem(item, index)) }),
1556
1553
  renderMobileAuthActions
1557
1554
  ] }) })
1558
1555
  }
@@ -1191,7 +1191,7 @@ var NavbarMobileMenu = ({
1191
1191
  "div",
1192
1192
  {
1193
1193
  className: cn(
1194
- "fixed inset-0 z-[998] flex flex-col bg-background",
1194
+ "fixed inset-0 z-998 flex flex-col bg-background",
1195
1195
  "animate-in slide-in-from-top duration-300",
1196
1196
  "data-[state=closed]:animate-out data-[state=closed]:slide-out-to-top data-[state=closed]:duration-300",
1197
1197
  className
@@ -1525,11 +1525,8 @@ var MobileNavigationMenu = ({
1525
1525
  onClose: () => setOpen(false),
1526
1526
  title: "Mobile Navigation",
1527
1527
  className: "dark",
1528
- contentClassName: "pt-10 pb-20",
1529
1528
  children: /* @__PURE__ */ jsx("div", { className: "max-w-screen-sm mx-auto", children: /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-6", children: [
1530
- /* @__PURE__ */ jsx(Accordion, { type: "multiple", className: "w-full", children: navigation.map(
1531
- (item, index) => renderMobileMenuItem(item, index)
1532
- ) }),
1529
+ /* @__PURE__ */ jsx(Accordion, { type: "multiple", className: "w-full", children: navigation.map((item, index) => renderMobileMenuItem(item, index)) }),
1533
1530
  renderMobileAuthActions
1534
1531
  ] }) })
1535
1532
  }
@@ -1214,7 +1214,7 @@ var NavbarMobileMenu = ({
1214
1214
  "div",
1215
1215
  {
1216
1216
  className: cn(
1217
- "fixed inset-0 z-[998] flex flex-col bg-background",
1217
+ "fixed inset-0 z-998 flex flex-col bg-background",
1218
1218
  "animate-in slide-in-from-top duration-300",
1219
1219
  "data-[state=closed]:animate-out data-[state=closed]:slide-out-to-top data-[state=closed]:duration-300",
1220
1220
  className
@@ -1672,7 +1672,6 @@ var NavbarPlatformResources = ({
1672
1672
  open,
1673
1673
  onClose: () => setOpen(false),
1674
1674
  title: "Mobile Navigation",
1675
- contentClassName: "pt-10 pb-20",
1676
1675
  children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "max-w-screen-sm mx-auto", children: [
1677
1676
  /* @__PURE__ */ jsxRuntime.jsx(Accordion, { type: "multiple", className: "w-full", children: menuLinks?.map((link, index) => {
1678
1677
  if (hasDropdownItems(link)) {
@@ -1683,7 +1682,7 @@ var NavbarPlatformResources = ({
1683
1682
  className: "border-b-0",
1684
1683
  children: [
1685
1684
  /* @__PURE__ */ jsxRuntime.jsx(AccordionTrigger, { className: "h-15 items-center text-base font-normal text-foreground hover:no-underline", children: link.label }),
1686
- /* @__PURE__ */ jsxRuntime.jsx(AccordionContent, { className: "max-h-[60dvh] overflow-y-auto space-y-2", children: link.links?.map((item, itemIndex) => /* @__PURE__ */ jsxRuntime.jsxs(
1685
+ /* @__PURE__ */ jsxRuntime.jsx(AccordionContent, { className: "max-h-[60dvh] overflow-y-auto space-y-4", children: link.links?.map((item, itemIndex) => /* @__PURE__ */ jsxRuntime.jsxs(
1687
1686
  Pressable,
1688
1687
  {
1689
1688
  href: getLinkUrl(item),
@@ -1722,10 +1721,7 @@ var NavbarPlatformResources = ({
1722
1721
  /* @__PURE__ */ jsxRuntime.jsx(
1723
1722
  "div",
1724
1723
  {
1725
- className: cn(
1726
- "mt-6 flex flex-col gap-4",
1727
- actionsClassName
1728
- ),
1724
+ className: cn("mt-6 flex flex-col gap-4", actionsClassName),
1729
1725
  children: renderActions
1730
1726
  }
1731
1727
  )
@@ -1191,7 +1191,7 @@ var NavbarMobileMenu = ({
1191
1191
  "div",
1192
1192
  {
1193
1193
  className: cn(
1194
- "fixed inset-0 z-[998] flex flex-col bg-background",
1194
+ "fixed inset-0 z-998 flex flex-col bg-background",
1195
1195
  "animate-in slide-in-from-top duration-300",
1196
1196
  "data-[state=closed]:animate-out data-[state=closed]:slide-out-to-top data-[state=closed]:duration-300",
1197
1197
  className
@@ -1649,7 +1649,6 @@ var NavbarPlatformResources = ({
1649
1649
  open,
1650
1650
  onClose: () => setOpen(false),
1651
1651
  title: "Mobile Navigation",
1652
- contentClassName: "pt-10 pb-20",
1653
1652
  children: /* @__PURE__ */ jsxs("div", { className: "max-w-screen-sm mx-auto", children: [
1654
1653
  /* @__PURE__ */ jsx(Accordion, { type: "multiple", className: "w-full", children: menuLinks?.map((link, index) => {
1655
1654
  if (hasDropdownItems(link)) {
@@ -1660,7 +1659,7 @@ var NavbarPlatformResources = ({
1660
1659
  className: "border-b-0",
1661
1660
  children: [
1662
1661
  /* @__PURE__ */ jsx(AccordionTrigger, { className: "h-15 items-center text-base font-normal text-foreground hover:no-underline", children: link.label }),
1663
- /* @__PURE__ */ jsx(AccordionContent, { className: "max-h-[60dvh] overflow-y-auto space-y-2", children: link.links?.map((item, itemIndex) => /* @__PURE__ */ jsxs(
1662
+ /* @__PURE__ */ jsx(AccordionContent, { className: "max-h-[60dvh] overflow-y-auto space-y-4", children: link.links?.map((item, itemIndex) => /* @__PURE__ */ jsxs(
1664
1663
  Pressable,
1665
1664
  {
1666
1665
  href: getLinkUrl(item),
@@ -1699,10 +1698,7 @@ var NavbarPlatformResources = ({
1699
1698
  /* @__PURE__ */ jsx(
1700
1699
  "div",
1701
1700
  {
1702
- className: cn(
1703
- "mt-6 flex flex-col gap-4",
1704
- actionsClassName
1705
- ),
1701
+ className: cn("mt-6 flex flex-col gap-4", actionsClassName),
1706
1702
  children: renderActions
1707
1703
  }
1708
1704
  )
@@ -1109,7 +1109,7 @@ var NavbarMobileMenu = ({
1109
1109
  "div",
1110
1110
  {
1111
1111
  className: cn(
1112
- "fixed inset-0 z-[998] flex flex-col bg-background",
1112
+ "fixed inset-0 z-998 flex flex-col bg-background",
1113
1113
  "animate-in slide-in-from-top duration-300",
1114
1114
  "data-[state=closed]:animate-out data-[state=closed]:slide-out-to-top data-[state=closed]:duration-300",
1115
1115
  className
@@ -1087,7 +1087,7 @@ var NavbarMobileMenu = ({
1087
1087
  "div",
1088
1088
  {
1089
1089
  className: cn(
1090
- "fixed inset-0 z-[998] flex flex-col bg-background",
1090
+ "fixed inset-0 z-998 flex flex-col bg-background",
1091
1091
  "animate-in slide-in-from-top duration-300",
1092
1092
  "data-[state=closed]:animate-out data-[state=closed]:slide-out-to-top data-[state=closed]:duration-300",
1093
1093
  className
@@ -1214,7 +1214,7 @@ var NavbarMobileMenu = ({
1214
1214
  "div",
1215
1215
  {
1216
1216
  className: cn(
1217
- "fixed inset-0 z-[998] flex flex-col bg-background",
1217
+ "fixed inset-0 z-998 flex flex-col bg-background",
1218
1218
  "animate-in slide-in-from-top duration-300",
1219
1219
  "data-[state=closed]:animate-out data-[state=closed]:slide-out-to-top data-[state=closed]:duration-300",
1220
1220
  className
@@ -1191,7 +1191,7 @@ var NavbarMobileMenu = ({
1191
1191
  "div",
1192
1192
  {
1193
1193
  className: cn(
1194
- "fixed inset-0 z-[998] flex flex-col bg-background",
1194
+ "fixed inset-0 z-998 flex flex-col bg-background",
1195
1195
  "animate-in slide-in-from-top duration-300",
1196
1196
  "data-[state=closed]:animate-out data-[state=closed]:slide-out-to-top data-[state=closed]:duration-300",
1197
1197
  className
@@ -1152,7 +1152,7 @@ var NavbarMobileMenu = ({
1152
1152
  "div",
1153
1153
  {
1154
1154
  className: cn(
1155
- "fixed inset-0 z-[998] flex flex-col bg-background",
1155
+ "fixed inset-0 z-998 flex flex-col bg-background",
1156
1156
  "animate-in slide-in-from-top duration-300",
1157
1157
  "data-[state=closed]:animate-out data-[state=closed]:slide-out-to-top data-[state=closed]:duration-300",
1158
1158
  className
@@ -1130,7 +1130,7 @@ var NavbarMobileMenu = ({
1130
1130
  "div",
1131
1131
  {
1132
1132
  className: cn(
1133
- "fixed inset-0 z-[998] flex flex-col bg-background",
1133
+ "fixed inset-0 z-998 flex flex-col bg-background",
1134
1134
  "animate-in slide-in-from-top duration-300",
1135
1135
  "data-[state=closed]:animate-out data-[state=closed]:slide-out-to-top data-[state=closed]:duration-300",
1136
1136
  className
@@ -1152,7 +1152,7 @@ var NavbarMobileMenu = ({
1152
1152
  "div",
1153
1153
  {
1154
1154
  className: cn(
1155
- "fixed inset-0 z-[998] flex flex-col bg-background",
1155
+ "fixed inset-0 z-998 flex flex-col bg-background",
1156
1156
  "animate-in slide-in-from-top duration-300",
1157
1157
  "data-[state=closed]:animate-out data-[state=closed]:slide-out-to-top data-[state=closed]:duration-300",
1158
1158
  className
@@ -1130,7 +1130,7 @@ var NavbarMobileMenu = ({
1130
1130
  "div",
1131
1131
  {
1132
1132
  className: cn(
1133
- "fixed inset-0 z-[998] flex flex-col bg-background",
1133
+ "fixed inset-0 z-998 flex flex-col bg-background",
1134
1134
  "animate-in slide-in-from-top duration-300",
1135
1135
  "data-[state=closed]:animate-out data-[state=closed]:slide-out-to-top data-[state=closed]:duration-300",
1136
1136
  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
@@ -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
package/dist/registry.cjs CHANGED
@@ -57124,7 +57124,7 @@ var NavbarMobileMenu = ({
57124
57124
  "div",
57125
57125
  {
57126
57126
  className: cn(
57127
- "fixed inset-0 z-[998] flex flex-col bg-background",
57127
+ "fixed inset-0 z-998 flex flex-col bg-background",
57128
57128
  "animate-in slide-in-from-top duration-300",
57129
57129
  "data-[state=closed]:animate-out data-[state=closed]:slide-out-to-top data-[state=closed]:duration-300",
57130
57130
  className
@@ -57667,16 +57667,8 @@ var NavbarCenteredMenu = ({
57667
57667
  open,
57668
57668
  onClose: () => setOpen(false),
57669
57669
  title: "Mobile Navigation",
57670
- contentClassName: "pt-10 pb-20",
57671
57670
  children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "max-w-screen-sm mx-auto", children: [
57672
- /* @__PURE__ */ jsxRuntime.jsx(
57673
- Accordion,
57674
- {
57675
- type: "multiple",
57676
- className: "w-full",
57677
- children: renderMobileMenu
57678
- }
57679
- ),
57671
+ /* @__PURE__ */ jsxRuntime.jsx(Accordion, { type: "multiple", className: "w-full", children: renderMobileMenu }),
57680
57672
  /* @__PURE__ */ jsxRuntime.jsx(
57681
57673
  "div",
57682
57674
  {
@@ -58817,7 +58809,14 @@ var renderMobileDropdownContent = (item) => {
58817
58809
  switch (item.layout) {
58818
58810
  case "solutions-with-platform":
58819
58811
  return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "space-y-4", children: item.solutionCards?.map((solution) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-2", children: [
58820
- /* @__PURE__ */ jsxRuntime.jsx(Pressable, { href: solution.href, className: "mb-2 text-sm font-medium", children: solution.title }),
58812
+ /* @__PURE__ */ jsxRuntime.jsx(
58813
+ Pressable,
58814
+ {
58815
+ href: solution.href,
58816
+ className: "block pb-2 text-sm font-medium",
58817
+ children: solution.title
58818
+ }
58819
+ ),
58821
58820
  solution.subpages.map((subpage) => /* @__PURE__ */ jsxRuntime.jsxs(
58822
58821
  Pressable,
58823
58822
  {
@@ -58910,7 +58909,6 @@ var MobileNavigationMenu = ({
58910
58909
  open,
58911
58910
  onClose: () => setOpen(false),
58912
58911
  title: "Mobile Navigation",
58913
- contentClassName: "pt-10 pb-20",
58914
58912
  children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "max-w-screen-sm mx-auto", children: [
58915
58913
  /* @__PURE__ */ jsxRuntime.jsx(Accordion, { type: "multiple", className: "w-full", children: menuLinks.map((item, index) => {
58916
58914
  const hasDropdown = Boolean(item.layout);
@@ -59074,31 +59072,23 @@ var NavbarFeatureGrid = ({
59074
59072
  open,
59075
59073
  onClose: () => setOpen(false),
59076
59074
  title: "Mobile Navigation",
59077
- contentClassName: "pt-10 pb-20",
59078
59075
  children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "max-w-screen-sm mx-auto", children: [
59079
59076
  /* @__PURE__ */ jsxRuntime.jsxs(Accordion, { type: "multiple", className: "w-full", children: [
59080
- features && features.length > 0 && /* @__PURE__ */ jsxRuntime.jsxs(
59081
- AccordionItem,
59082
- {
59083
- value: "features",
59084
- className: "border-b-0",
59085
- children: [
59086
- /* @__PURE__ */ jsxRuntime.jsx(AccordionTrigger, { className: "h-15 items-center text-base font-normal text-foreground hover:no-underline", children: "Features" }),
59087
- /* @__PURE__ */ jsxRuntime.jsx(AccordionContent, { className: "max-h-[60dvh] overflow-y-auto space-y-2", children: features.map((feature, index) => /* @__PURE__ */ jsxRuntime.jsx(
59088
- Pressable,
59089
- {
59090
- href: feature.href,
59091
- className: "flex items-start gap-2 pl-4 text-sm text-muted-foreground hover:text-foreground",
59092
- children: /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
59093
- /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mb-1 font-semibold", children: feature.title }),
59094
- /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm text-muted-foreground", children: feature.description })
59095
- ] })
59096
- },
59097
- index
59098
- )) })
59099
- ]
59100
- }
59101
- ),
59077
+ features && features.length > 0 && /* @__PURE__ */ jsxRuntime.jsxs(AccordionItem, { value: "features", className: "border-b-0", children: [
59078
+ /* @__PURE__ */ jsxRuntime.jsx(AccordionTrigger, { className: "h-15 items-center text-base font-normal text-foreground hover:no-underline", children: "Features" }),
59079
+ /* @__PURE__ */ jsxRuntime.jsx(AccordionContent, { className: "max-h-[60dvh] overflow-y-auto space-y-2", children: features.map((feature, index) => /* @__PURE__ */ jsxRuntime.jsx(
59080
+ Pressable,
59081
+ {
59082
+ href: feature.href,
59083
+ className: "flex items-start gap-2 pl-4 text-sm text-muted-foreground hover:text-foreground",
59084
+ children: /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
59085
+ /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mb-1 font-semibold", children: feature.title }),
59086
+ /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm text-muted-foreground", children: feature.description })
59087
+ ] })
59088
+ },
59089
+ index
59090
+ )) })
59091
+ ] }),
59102
59092
  menu?.map((item, index) => /* @__PURE__ */ jsxRuntime.jsx(
59103
59093
  Pressable,
59104
59094
  {
@@ -59112,10 +59102,7 @@ var NavbarFeatureGrid = ({
59112
59102
  /* @__PURE__ */ jsxRuntime.jsx(
59113
59103
  "div",
59114
59104
  {
59115
- className: cn(
59116
- "mt-6 flex flex-col gap-4",
59117
- actionsClassName
59118
- ),
59105
+ className: cn("mt-6 flex flex-col gap-4", actionsClassName),
59119
59106
  children: renderAuthActions
59120
59107
  }
59121
59108
  )
@@ -59136,8 +59123,8 @@ var NavbarFloatingPill = ({
59136
59123
  menuSlot,
59137
59124
  authActions,
59138
59125
  authActionsSlot,
59139
- className,
59140
- containerClassName,
59126
+ className = "px-4 md:px-0",
59127
+ containerClassName = "container px-0 sm:px-0 lg:px-0",
59141
59128
  pillWrapperClassName,
59142
59129
  navigationMenuClassName,
59143
59130
  actionsClassName,
@@ -59206,7 +59193,7 @@ var NavbarFloatingPill = ({
59206
59193
  "nav",
59207
59194
  {
59208
59195
  className: cn(
59209
- "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",
59196
+ "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",
59210
59197
  navWrapperClasses
59211
59198
  ),
59212
59199
  children: [
@@ -59771,7 +59758,6 @@ var NavbarPlatformResources = ({
59771
59758
  open,
59772
59759
  onClose: () => setOpen(false),
59773
59760
  title: "Mobile Navigation",
59774
- contentClassName: "pt-10 pb-20",
59775
59761
  children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "max-w-screen-sm mx-auto", children: [
59776
59762
  /* @__PURE__ */ jsxRuntime.jsx(Accordion, { type: "multiple", className: "w-full", children: menuLinks?.map((link, index) => {
59777
59763
  if (hasDropdownItems(link)) {
@@ -59782,7 +59768,7 @@ var NavbarPlatformResources = ({
59782
59768
  className: "border-b-0",
59783
59769
  children: [
59784
59770
  /* @__PURE__ */ jsxRuntime.jsx(AccordionTrigger, { className: "h-15 items-center text-base font-normal text-foreground hover:no-underline", children: link.label }),
59785
- /* @__PURE__ */ jsxRuntime.jsx(AccordionContent, { className: "max-h-[60dvh] overflow-y-auto space-y-2", children: link.links?.map((item, itemIndex) => /* @__PURE__ */ jsxRuntime.jsxs(
59771
+ /* @__PURE__ */ jsxRuntime.jsx(AccordionContent, { className: "max-h-[60dvh] overflow-y-auto space-y-4", children: link.links?.map((item, itemIndex) => /* @__PURE__ */ jsxRuntime.jsxs(
59786
59772
  Pressable,
59787
59773
  {
59788
59774
  href: getLinkUrl(item),
@@ -59821,10 +59807,7 @@ var NavbarPlatformResources = ({
59821
59807
  /* @__PURE__ */ jsxRuntime.jsx(
59822
59808
  "div",
59823
59809
  {
59824
- className: cn(
59825
- "mt-6 flex flex-col gap-4",
59826
- actionsClassName
59827
- ),
59810
+ className: cn("mt-6 flex flex-col gap-4", actionsClassName),
59828
59811
  children: renderActions
59829
59812
  }
59830
59813
  )
@@ -60198,8 +60181,6 @@ var MobileNavigationMenu2 = ({
60198
60181
  open,
60199
60182
  onClose: () => setOpen(false),
60200
60183
  title: "Mobile Navigation",
60201
- className: "bg-primary text-primary-foreground",
60202
- contentClassName: "pt-24 pb-12",
60203
60184
  children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "max-w-screen-sm mx-auto", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex h-full flex-col justify-between gap-30", children: [
60204
60185
  renderMobileNavigation,
60205
60186
  renderSocialLinks,
@@ -60479,11 +60460,8 @@ var MobileNavigationMenu3 = ({
60479
60460
  onClose: () => setOpen(false),
60480
60461
  title: "Mobile Navigation",
60481
60462
  className: "dark",
60482
- contentClassName: "pt-4",
60483
60463
  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: [
60484
- /* @__PURE__ */ jsxRuntime.jsx(Accordion, { type: "multiple", className: "w-full", children: navigation.map(
60485
- (item, index) => renderMobileMenuItem3(item, index)
60486
- ) }),
60464
+ /* @__PURE__ */ jsxRuntime.jsx(Accordion, { type: "multiple", className: "w-full", children: navigation.map((item, index) => renderMobileMenuItem3(item, index)) }),
60487
60465
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex flex-col gap-2 pb-20", children: renderMobileAuthActions })
60488
60466
  ] }) })
60489
60467
  }
@@ -61049,11 +61027,8 @@ var MobileNavigationMenu4 = ({
61049
61027
  open,
61050
61028
  onClose: () => setOpen(false),
61051
61029
  title: "Mobile Navigation",
61052
- contentClassName: "pt-4 pb-20",
61053
61030
  children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "max-w-screen-sm mx-auto", children: [
61054
- /* @__PURE__ */ jsxRuntime.jsx(Accordion, { type: "multiple", className: "w-full", children: menuLinks.map(
61055
- (item, index) => renderMobileMenuItem4(item, index)
61056
- ) }),
61031
+ /* @__PURE__ */ jsxRuntime.jsx(Accordion, { type: "multiple", className: "w-full", children: menuLinks.map((item, index) => renderMobileMenuItem4(item, index)) }),
61057
61032
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mt-6 flex flex-col gap-2", children: renderMobileActions })
61058
61033
  ] })
61059
61034
  }
@@ -61355,11 +61330,8 @@ var MobileNavigationMenu5 = ({
61355
61330
  onClose: () => setOpen(false),
61356
61331
  title: "Mobile Navigation",
61357
61332
  className: "dark",
61358
- contentClassName: "pt-10 pb-20",
61359
61333
  children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "max-w-screen-sm mx-auto", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-6", children: [
61360
- /* @__PURE__ */ jsxRuntime.jsx(Accordion, { type: "multiple", className: "w-full", children: navigation.map(
61361
- (item, index) => renderMobileMenuItem5(item, index)
61362
- ) }),
61334
+ /* @__PURE__ */ jsxRuntime.jsx(Accordion, { type: "multiple", className: "w-full", children: navigation.map((item, index) => renderMobileMenuItem5(item, index)) }),
61363
61335
  renderMobileAuthActions
61364
61336
  ] }) })
61365
61337
  }
package/dist/registry.js CHANGED
@@ -57084,7 +57084,7 @@ var NavbarMobileMenu = ({
57084
57084
  "div",
57085
57085
  {
57086
57086
  className: cn(
57087
- "fixed inset-0 z-[998] flex flex-col bg-background",
57087
+ "fixed inset-0 z-998 flex flex-col bg-background",
57088
57088
  "animate-in slide-in-from-top duration-300",
57089
57089
  "data-[state=closed]:animate-out data-[state=closed]:slide-out-to-top data-[state=closed]:duration-300",
57090
57090
  className
@@ -57627,16 +57627,8 @@ var NavbarCenteredMenu = ({
57627
57627
  open,
57628
57628
  onClose: () => setOpen(false),
57629
57629
  title: "Mobile Navigation",
57630
- contentClassName: "pt-10 pb-20",
57631
57630
  children: /* @__PURE__ */ jsxs("div", { className: "max-w-screen-sm mx-auto", children: [
57632
- /* @__PURE__ */ jsx(
57633
- Accordion,
57634
- {
57635
- type: "multiple",
57636
- className: "w-full",
57637
- children: renderMobileMenu
57638
- }
57639
- ),
57631
+ /* @__PURE__ */ jsx(Accordion, { type: "multiple", className: "w-full", children: renderMobileMenu }),
57640
57632
  /* @__PURE__ */ jsx(
57641
57633
  "div",
57642
57634
  {
@@ -58777,7 +58769,14 @@ var renderMobileDropdownContent = (item) => {
58777
58769
  switch (item.layout) {
58778
58770
  case "solutions-with-platform":
58779
58771
  return /* @__PURE__ */ jsx("div", { className: "space-y-4", children: item.solutionCards?.map((solution) => /* @__PURE__ */ jsxs("div", { className: "space-y-2", children: [
58780
- /* @__PURE__ */ jsx(Pressable, { href: solution.href, className: "mb-2 text-sm font-medium", children: solution.title }),
58772
+ /* @__PURE__ */ jsx(
58773
+ Pressable,
58774
+ {
58775
+ href: solution.href,
58776
+ className: "block pb-2 text-sm font-medium",
58777
+ children: solution.title
58778
+ }
58779
+ ),
58781
58780
  solution.subpages.map((subpage) => /* @__PURE__ */ jsxs(
58782
58781
  Pressable,
58783
58782
  {
@@ -58870,7 +58869,6 @@ var MobileNavigationMenu = ({
58870
58869
  open,
58871
58870
  onClose: () => setOpen(false),
58872
58871
  title: "Mobile Navigation",
58873
- contentClassName: "pt-10 pb-20",
58874
58872
  children: /* @__PURE__ */ jsxs("div", { className: "max-w-screen-sm mx-auto", children: [
58875
58873
  /* @__PURE__ */ jsx(Accordion, { type: "multiple", className: "w-full", children: menuLinks.map((item, index) => {
58876
58874
  const hasDropdown = Boolean(item.layout);
@@ -59034,31 +59032,23 @@ var NavbarFeatureGrid = ({
59034
59032
  open,
59035
59033
  onClose: () => setOpen(false),
59036
59034
  title: "Mobile Navigation",
59037
- contentClassName: "pt-10 pb-20",
59038
59035
  children: /* @__PURE__ */ jsxs("div", { className: "max-w-screen-sm mx-auto", children: [
59039
59036
  /* @__PURE__ */ jsxs(Accordion, { type: "multiple", className: "w-full", children: [
59040
- features && features.length > 0 && /* @__PURE__ */ jsxs(
59041
- AccordionItem,
59042
- {
59043
- value: "features",
59044
- className: "border-b-0",
59045
- children: [
59046
- /* @__PURE__ */ jsx(AccordionTrigger, { className: "h-15 items-center text-base font-normal text-foreground hover:no-underline", children: "Features" }),
59047
- /* @__PURE__ */ jsx(AccordionContent, { className: "max-h-[60dvh] overflow-y-auto space-y-2", children: features.map((feature, index) => /* @__PURE__ */ jsx(
59048
- Pressable,
59049
- {
59050
- href: feature.href,
59051
- className: "flex items-start gap-2 pl-4 text-sm text-muted-foreground hover:text-foreground",
59052
- children: /* @__PURE__ */ jsxs("div", { children: [
59053
- /* @__PURE__ */ jsx("p", { className: "mb-1 font-semibold", children: feature.title }),
59054
- /* @__PURE__ */ jsx("p", { className: "text-sm text-muted-foreground", children: feature.description })
59055
- ] })
59056
- },
59057
- index
59058
- )) })
59059
- ]
59060
- }
59061
- ),
59037
+ features && features.length > 0 && /* @__PURE__ */ jsxs(AccordionItem, { value: "features", className: "border-b-0", children: [
59038
+ /* @__PURE__ */ jsx(AccordionTrigger, { className: "h-15 items-center text-base font-normal text-foreground hover:no-underline", children: "Features" }),
59039
+ /* @__PURE__ */ jsx(AccordionContent, { className: "max-h-[60dvh] overflow-y-auto space-y-2", children: features.map((feature, index) => /* @__PURE__ */ jsx(
59040
+ Pressable,
59041
+ {
59042
+ href: feature.href,
59043
+ className: "flex items-start gap-2 pl-4 text-sm text-muted-foreground hover:text-foreground",
59044
+ children: /* @__PURE__ */ jsxs("div", { children: [
59045
+ /* @__PURE__ */ jsx("p", { className: "mb-1 font-semibold", children: feature.title }),
59046
+ /* @__PURE__ */ jsx("p", { className: "text-sm text-muted-foreground", children: feature.description })
59047
+ ] })
59048
+ },
59049
+ index
59050
+ )) })
59051
+ ] }),
59062
59052
  menu?.map((item, index) => /* @__PURE__ */ jsx(
59063
59053
  Pressable,
59064
59054
  {
@@ -59072,10 +59062,7 @@ var NavbarFeatureGrid = ({
59072
59062
  /* @__PURE__ */ jsx(
59073
59063
  "div",
59074
59064
  {
59075
- className: cn(
59076
- "mt-6 flex flex-col gap-4",
59077
- actionsClassName
59078
- ),
59065
+ className: cn("mt-6 flex flex-col gap-4", actionsClassName),
59079
59066
  children: renderAuthActions
59080
59067
  }
59081
59068
  )
@@ -59096,8 +59083,8 @@ var NavbarFloatingPill = ({
59096
59083
  menuSlot,
59097
59084
  authActions,
59098
59085
  authActionsSlot,
59099
- className,
59100
- containerClassName,
59086
+ className = "px-4 md:px-0",
59087
+ containerClassName = "container px-0 sm:px-0 lg:px-0",
59101
59088
  pillWrapperClassName,
59102
59089
  navigationMenuClassName,
59103
59090
  actionsClassName,
@@ -59166,7 +59153,7 @@ var NavbarFloatingPill = ({
59166
59153
  "nav",
59167
59154
  {
59168
59155
  className: cn(
59169
- "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",
59156
+ "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",
59170
59157
  navWrapperClasses
59171
59158
  ),
59172
59159
  children: [
@@ -59731,7 +59718,6 @@ var NavbarPlatformResources = ({
59731
59718
  open,
59732
59719
  onClose: () => setOpen(false),
59733
59720
  title: "Mobile Navigation",
59734
- contentClassName: "pt-10 pb-20",
59735
59721
  children: /* @__PURE__ */ jsxs("div", { className: "max-w-screen-sm mx-auto", children: [
59736
59722
  /* @__PURE__ */ jsx(Accordion, { type: "multiple", className: "w-full", children: menuLinks?.map((link, index) => {
59737
59723
  if (hasDropdownItems(link)) {
@@ -59742,7 +59728,7 @@ var NavbarPlatformResources = ({
59742
59728
  className: "border-b-0",
59743
59729
  children: [
59744
59730
  /* @__PURE__ */ jsx(AccordionTrigger, { className: "h-15 items-center text-base font-normal text-foreground hover:no-underline", children: link.label }),
59745
- /* @__PURE__ */ jsx(AccordionContent, { className: "max-h-[60dvh] overflow-y-auto space-y-2", children: link.links?.map((item, itemIndex) => /* @__PURE__ */ jsxs(
59731
+ /* @__PURE__ */ jsx(AccordionContent, { className: "max-h-[60dvh] overflow-y-auto space-y-4", children: link.links?.map((item, itemIndex) => /* @__PURE__ */ jsxs(
59746
59732
  Pressable,
59747
59733
  {
59748
59734
  href: getLinkUrl(item),
@@ -59781,10 +59767,7 @@ var NavbarPlatformResources = ({
59781
59767
  /* @__PURE__ */ jsx(
59782
59768
  "div",
59783
59769
  {
59784
- className: cn(
59785
- "mt-6 flex flex-col gap-4",
59786
- actionsClassName
59787
- ),
59770
+ className: cn("mt-6 flex flex-col gap-4", actionsClassName),
59788
59771
  children: renderActions
59789
59772
  }
59790
59773
  )
@@ -60158,8 +60141,6 @@ var MobileNavigationMenu2 = ({
60158
60141
  open,
60159
60142
  onClose: () => setOpen(false),
60160
60143
  title: "Mobile Navigation",
60161
- className: "bg-primary text-primary-foreground",
60162
- contentClassName: "pt-24 pb-12",
60163
60144
  children: /* @__PURE__ */ jsx("div", { className: "max-w-screen-sm mx-auto", children: /* @__PURE__ */ jsxs("div", { className: "flex h-full flex-col justify-between gap-30", children: [
60164
60145
  renderMobileNavigation,
60165
60146
  renderSocialLinks,
@@ -60439,11 +60420,8 @@ var MobileNavigationMenu3 = ({
60439
60420
  onClose: () => setOpen(false),
60440
60421
  title: "Mobile Navigation",
60441
60422
  className: "dark",
60442
- contentClassName: "pt-4",
60443
60423
  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: [
60444
- /* @__PURE__ */ jsx(Accordion, { type: "multiple", className: "w-full", children: navigation.map(
60445
- (item, index) => renderMobileMenuItem3(item, index)
60446
- ) }),
60424
+ /* @__PURE__ */ jsx(Accordion, { type: "multiple", className: "w-full", children: navigation.map((item, index) => renderMobileMenuItem3(item, index)) }),
60447
60425
  /* @__PURE__ */ jsx("div", { className: "flex flex-col gap-2 pb-20", children: renderMobileAuthActions })
60448
60426
  ] }) })
60449
60427
  }
@@ -61009,11 +60987,8 @@ var MobileNavigationMenu4 = ({
61009
60987
  open,
61010
60988
  onClose: () => setOpen(false),
61011
60989
  title: "Mobile Navigation",
61012
- contentClassName: "pt-4 pb-20",
61013
60990
  children: /* @__PURE__ */ jsxs("div", { className: "max-w-screen-sm mx-auto", children: [
61014
- /* @__PURE__ */ jsx(Accordion, { type: "multiple", className: "w-full", children: menuLinks.map(
61015
- (item, index) => renderMobileMenuItem4(item, index)
61016
- ) }),
60991
+ /* @__PURE__ */ jsx(Accordion, { type: "multiple", className: "w-full", children: menuLinks.map((item, index) => renderMobileMenuItem4(item, index)) }),
61017
60992
  /* @__PURE__ */ jsx("div", { className: "mt-6 flex flex-col gap-2", children: renderMobileActions })
61018
60993
  ] })
61019
60994
  }
@@ -61315,11 +61290,8 @@ var MobileNavigationMenu5 = ({
61315
61290
  onClose: () => setOpen(false),
61316
61291
  title: "Mobile Navigation",
61317
61292
  className: "dark",
61318
- contentClassName: "pt-10 pb-20",
61319
61293
  children: /* @__PURE__ */ jsx("div", { className: "max-w-screen-sm mx-auto", children: /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-6", children: [
61320
- /* @__PURE__ */ jsx(Accordion, { type: "multiple", className: "w-full", children: navigation.map(
61321
- (item, index) => renderMobileMenuItem5(item, index)
61322
- ) }),
61294
+ /* @__PURE__ */ jsx(Accordion, { type: "multiple", className: "w-full", children: navigation.map((item, index) => renderMobileMenuItem5(item, index)) }),
61323
61295
  renderMobileAuthActions
61324
61296
  ] }) })
61325
61297
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opensite/ui",
3
- "version": "1.0.5",
3
+ "version": "1.0.6",
4
4
  "description": "Foundational UI component library for OpenSite Semantic Site Builder with tree-shakable exports and abstract styling",
5
5
  "keywords": [
6
6
  "react",