@opensite/ui 0.9.1 → 0.9.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 (49) hide show
  1. package/dist/link-page-bento-layout.cjs +56 -15
  2. package/dist/link-page-bento-layout.js +56 -15
  3. package/dist/link-tree-block.cjs +2 -87
  4. package/dist/link-tree-block.js +2 -87
  5. package/dist/navbar-animated-preview.cjs +1 -1
  6. package/dist/navbar-animated-preview.js +1 -1
  7. package/dist/navbar-centered-menu.cjs +1 -1
  8. package/dist/navbar-centered-menu.js +1 -1
  9. package/dist/navbar-dark-icons.cjs +1 -1
  10. package/dist/navbar-dark-icons.js +1 -1
  11. package/dist/navbar-dropdown-menu.cjs +1 -1
  12. package/dist/navbar-dropdown-menu.js +1 -1
  13. package/dist/navbar-education-platform.cjs +1 -1
  14. package/dist/navbar-education-platform.js +1 -1
  15. package/dist/navbar-enterprise-mega.cjs +11 -9
  16. package/dist/navbar-enterprise-mega.js +11 -9
  17. package/dist/navbar-feature-grid.cjs +1 -1
  18. package/dist/navbar-feature-grid.js +1 -1
  19. package/dist/navbar-floating-pill.cjs +1 -1
  20. package/dist/navbar-floating-pill.js +1 -1
  21. package/dist/navbar-fullscreen-menu.cjs +1 -1
  22. package/dist/navbar-fullscreen-menu.js +1 -1
  23. package/dist/navbar-icon-links.cjs +1 -1
  24. package/dist/navbar-icon-links.js +1 -1
  25. package/dist/navbar-image-preview.cjs +1 -1
  26. package/dist/navbar-image-preview.js +1 -1
  27. package/dist/navbar-mega-menu.cjs +17 -5
  28. package/dist/navbar-mega-menu.js +17 -5
  29. package/dist/navbar-multi-column-groups.cjs +1 -1
  30. package/dist/navbar-multi-column-groups.js +1 -1
  31. package/dist/navbar-platform-resources.cjs +1 -1
  32. package/dist/navbar-platform-resources.js +1 -1
  33. package/dist/navbar-search-focused.cjs +1 -1
  34. package/dist/navbar-search-focused.js +1 -1
  35. package/dist/navbar-sidebar-mobile.cjs +1 -1
  36. package/dist/navbar-sidebar-mobile.js +1 -1
  37. package/dist/navbar-simple-links.cjs +1 -1
  38. package/dist/navbar-simple-links.js +1 -1
  39. package/dist/navbar-split-cta.cjs +1 -1
  40. package/dist/navbar-split-cta.js +1 -1
  41. package/dist/navbar-sticky-compact.cjs +1 -1
  42. package/dist/navbar-sticky-compact.js +1 -1
  43. package/dist/navbar-tabbed-sections.cjs +1 -1
  44. package/dist/navbar-tabbed-sections.js +1 -1
  45. package/dist/navbar-transparent-overlay.cjs +1 -1
  46. package/dist/navbar-transparent-overlay.js +1 -1
  47. package/dist/registry.cjs +85 -37
  48. package/dist/registry.js +85 -37
  49. package/package.json +1 -1
@@ -1234,7 +1234,7 @@ function getNavbarLayoutClasses(layoutVariant = "fullScreenContainerizedLinks",
1234
1234
  // Navigation wrapper classes (for border and shadow)
1235
1235
  navWrapperClasses: cn(
1236
1236
  "w-full",
1237
- isFloatingBar ? "border border-border/50 shadow-sm rounded-full" : "border-b border-border/50 shadow-sm"
1237
+ isFloatingBar ? "border border-border/50 shadow-sm rounded-full" : "border-b border-border/50 shadow-sm flex justify-center"
1238
1238
  ),
1239
1239
  // Section container configuration for full-width navbars
1240
1240
  sectionContainerClassName: "px-0 sm:px-0 lg:px-0",
@@ -1413,6 +1413,7 @@ var NavbarEnterpriseMega = ({
1413
1413
  MobileNavigationMenu,
1414
1414
  {
1415
1415
  open,
1416
+ setOpen,
1416
1417
  menuLinks: menuLinks ?? [],
1417
1418
  actionsClassName,
1418
1419
  actions,
@@ -1432,7 +1433,7 @@ var DesktopMenuItem = ({
1432
1433
  if (hasDropdown) {
1433
1434
  return /* @__PURE__ */ jsxRuntime.jsxs(NavigationMenuItem, { value: `${index}`, children: [
1434
1435
  /* @__PURE__ */ jsxRuntime.jsx(NavigationMenuTrigger, { className: "h-auto bg-transparent px-3 py-2 font-normal hover:bg-muted focus:bg-muted data-[state=open]:bg-muted/50", children: item.label }),
1435
- /* @__PURE__ */ jsxRuntime.jsx(NavigationMenuContent, { className: "rounded-xl! border-0! p-0!", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "w-dvw px-8 pt-6 pb-12", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "container", children: renderDropdownContent(
1436
+ /* @__PURE__ */ jsxRuntime.jsx(NavigationMenuContent, { className: "!rounded-xl !border-0 !p-0", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "w-dvw px-8 pt-6 pb-12", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "container", children: renderDropdownContent(
1436
1437
  { ...item, layout: effectiveLayout },
1437
1438
  optixFlowConfig
1438
1439
  ) }) }) })
@@ -1530,7 +1531,7 @@ var SolutionsMenu = ({
1530
1531
  ] }),
1531
1532
  /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-2 text-xs text-primary-foreground/85", children: featuredHeroCard.description })
1532
1533
  ] }),
1533
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "relative aspect-2/1 overflow-clip rounded-t pl-6 lg:max-w-64 lg:pl-0 xl:max-w-96", children: /* @__PURE__ */ jsxRuntime.jsx(
1534
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "relative aspect-2/1 overflow-clip rounded-t pl-6 lg:max-w-80 lg:pl-0 xl:max-w-[30rem]", children: /* @__PURE__ */ jsxRuntime.jsx(
1534
1535
  img.Img,
1535
1536
  {
1536
1537
  src: featuredHeroCard.image,
@@ -1621,7 +1622,7 @@ var ProductsMenu = ({
1621
1622
  featuredHeroCard,
1622
1623
  optixFlowConfig
1623
1624
  }) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid gap-y-12 lg:flex lg:space-x-8", children: [
1624
- featuredHeroCard && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "w-full shrink-0 lg:max-w-[18rem]", children: /* @__PURE__ */ jsxRuntime.jsx(
1625
+ featuredHeroCard && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "w-full shrink-0 lg:max-w-[24rem]", children: /* @__PURE__ */ jsxRuntime.jsx(
1625
1626
  Pressable,
1626
1627
  {
1627
1628
  href: featuredHeroCard.href,
@@ -1630,7 +1631,7 @@ var ProductsMenu = ({
1630
1631
  featuredHeroCard.variant === "accent" ? "bg-accent text-accent-foreground" : "bg-primary"
1631
1632
  ),
1632
1633
  children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative z-10 flex w-full flex-col text-left", children: [
1633
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "relative flex aspect-2/1 max-h-44 w-full flex-1 justify-center", children: /* @__PURE__ */ jsxRuntime.jsx(
1634
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "relative flex aspect-2/1 max-h-64 w-full flex-1 justify-center", children: /* @__PURE__ */ jsxRuntime.jsx(
1634
1635
  img.Img,
1635
1636
  {
1636
1637
  src: featuredHeroCard.image,
@@ -1664,12 +1665,12 @@ var ProductsMenu = ({
1664
1665
  href: product.href,
1665
1666
  className: "group flex flex-row items-center space-x-6 border-b border-border py-5 text-left sm:py-7 lg:space-x-4 lg:border-0 lg:py-2",
1666
1667
  children: [
1667
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "relative flex aspect-square w-6 shrink-0 items-center justify-center overflow-clip rounded md:size-9 md:p-2", children: /* @__PURE__ */ jsxRuntime.jsx(
1668
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "relative flex aspect-square w-16 shrink-0 items-center justify-center overflow-clip rounded md:size-20 md:p-2", children: /* @__PURE__ */ jsxRuntime.jsx(
1668
1669
  img.Img,
1669
1670
  {
1670
1671
  src: product.image,
1671
1672
  alt: product.title,
1672
- className: "dark:invert",
1673
+ className: "object-cover",
1673
1674
  optixFlowConfig
1674
1675
  }
1675
1676
  ) }),
@@ -1996,6 +1997,7 @@ var renderMobileDropdownContent = (item) => {
1996
1997
  };
1997
1998
  var MobileNavigationMenu = ({
1998
1999
  open,
2000
+ setOpen,
1999
2001
  menuLinks,
2000
2002
  actionsClassName,
2001
2003
  actions,
@@ -2030,12 +2032,12 @@ var MobileNavigationMenu = ({
2030
2032
  );
2031
2033
  });
2032
2034
  }, [actionsSlot, actions]);
2033
- return /* @__PURE__ */ jsxRuntime.jsx(Sheet, { open, children: /* @__PURE__ */ jsxRuntime.jsx(
2035
+ return /* @__PURE__ */ jsxRuntime.jsx(Sheet, { open, onOpenChange: setOpen, children: /* @__PURE__ */ jsxRuntime.jsx(
2034
2036
  SheetContent,
2035
2037
  {
2036
2038
  "aria-describedby": void 0,
2037
2039
  side: "top",
2038
- className: "inset-0 z-998 h-dvh w-full bg-background pt-16 [&>button]:hidden",
2040
+ className: "inset-0 z-998 h-dvh w-full bg-background pt-16",
2039
2041
  children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-full overflow-y-auto pt-4 pb-20", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "container", children: [
2040
2042
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute -m-px h-px w-px overflow-hidden border-0 mask-clip-border p-0 text-nowrap whitespace-nowrap", children: /* @__PURE__ */ jsxRuntime.jsx(SheetTitle, { className: "text-primary", children: "Mobile Navigation" }) }),
2041
2043
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("flex flex-col gap-4", actionsClassName), children: renderActions }),
@@ -1210,7 +1210,7 @@ function getNavbarLayoutClasses(layoutVariant = "fullScreenContainerizedLinks",
1210
1210
  // Navigation wrapper classes (for border and shadow)
1211
1211
  navWrapperClasses: cn(
1212
1212
  "w-full",
1213
- isFloatingBar ? "border border-border/50 shadow-sm rounded-full" : "border-b border-border/50 shadow-sm"
1213
+ isFloatingBar ? "border border-border/50 shadow-sm rounded-full" : "border-b border-border/50 shadow-sm flex justify-center"
1214
1214
  ),
1215
1215
  // Section container configuration for full-width navbars
1216
1216
  sectionContainerClassName: "px-0 sm:px-0 lg:px-0",
@@ -1389,6 +1389,7 @@ var NavbarEnterpriseMega = ({
1389
1389
  MobileNavigationMenu,
1390
1390
  {
1391
1391
  open,
1392
+ setOpen,
1392
1393
  menuLinks: menuLinks ?? [],
1393
1394
  actionsClassName,
1394
1395
  actions,
@@ -1408,7 +1409,7 @@ var DesktopMenuItem = ({
1408
1409
  if (hasDropdown) {
1409
1410
  return /* @__PURE__ */ jsxs(NavigationMenuItem, { value: `${index}`, children: [
1410
1411
  /* @__PURE__ */ jsx(NavigationMenuTrigger, { className: "h-auto bg-transparent px-3 py-2 font-normal hover:bg-muted focus:bg-muted data-[state=open]:bg-muted/50", children: item.label }),
1411
- /* @__PURE__ */ jsx(NavigationMenuContent, { className: "rounded-xl! border-0! p-0!", children: /* @__PURE__ */ jsx("div", { className: "w-dvw px-8 pt-6 pb-12", children: /* @__PURE__ */ jsx("div", { className: "container", children: renderDropdownContent(
1412
+ /* @__PURE__ */ jsx(NavigationMenuContent, { className: "!rounded-xl !border-0 !p-0", children: /* @__PURE__ */ jsx("div", { className: "w-dvw px-8 pt-6 pb-12", children: /* @__PURE__ */ jsx("div", { className: "container", children: renderDropdownContent(
1412
1413
  { ...item, layout: effectiveLayout },
1413
1414
  optixFlowConfig
1414
1415
  ) }) }) })
@@ -1506,7 +1507,7 @@ var SolutionsMenu = ({
1506
1507
  ] }),
1507
1508
  /* @__PURE__ */ jsx("p", { className: "mt-2 text-xs text-primary-foreground/85", children: featuredHeroCard.description })
1508
1509
  ] }),
1509
- /* @__PURE__ */ jsx("div", { className: "relative aspect-2/1 overflow-clip rounded-t pl-6 lg:max-w-64 lg:pl-0 xl:max-w-96", children: /* @__PURE__ */ jsx(
1510
+ /* @__PURE__ */ jsx("div", { className: "relative aspect-2/1 overflow-clip rounded-t pl-6 lg:max-w-80 lg:pl-0 xl:max-w-[30rem]", children: /* @__PURE__ */ jsx(
1510
1511
  Img,
1511
1512
  {
1512
1513
  src: featuredHeroCard.image,
@@ -1597,7 +1598,7 @@ var ProductsMenu = ({
1597
1598
  featuredHeroCard,
1598
1599
  optixFlowConfig
1599
1600
  }) => /* @__PURE__ */ jsxs("div", { className: "grid gap-y-12 lg:flex lg:space-x-8", children: [
1600
- featuredHeroCard && /* @__PURE__ */ jsx("div", { className: "w-full shrink-0 lg:max-w-[18rem]", children: /* @__PURE__ */ jsx(
1601
+ featuredHeroCard && /* @__PURE__ */ jsx("div", { className: "w-full shrink-0 lg:max-w-[24rem]", children: /* @__PURE__ */ jsx(
1601
1602
  Pressable,
1602
1603
  {
1603
1604
  href: featuredHeroCard.href,
@@ -1606,7 +1607,7 @@ var ProductsMenu = ({
1606
1607
  featuredHeroCard.variant === "accent" ? "bg-accent text-accent-foreground" : "bg-primary"
1607
1608
  ),
1608
1609
  children: /* @__PURE__ */ jsxs("div", { className: "relative z-10 flex w-full flex-col text-left", children: [
1609
- /* @__PURE__ */ jsx("div", { className: "relative flex aspect-2/1 max-h-44 w-full flex-1 justify-center", children: /* @__PURE__ */ jsx(
1610
+ /* @__PURE__ */ jsx("div", { className: "relative flex aspect-2/1 max-h-64 w-full flex-1 justify-center", children: /* @__PURE__ */ jsx(
1610
1611
  Img,
1611
1612
  {
1612
1613
  src: featuredHeroCard.image,
@@ -1640,12 +1641,12 @@ var ProductsMenu = ({
1640
1641
  href: product.href,
1641
1642
  className: "group flex flex-row items-center space-x-6 border-b border-border py-5 text-left sm:py-7 lg:space-x-4 lg:border-0 lg:py-2",
1642
1643
  children: [
1643
- /* @__PURE__ */ jsx("div", { className: "relative flex aspect-square w-6 shrink-0 items-center justify-center overflow-clip rounded md:size-9 md:p-2", children: /* @__PURE__ */ jsx(
1644
+ /* @__PURE__ */ jsx("div", { className: "relative flex aspect-square w-16 shrink-0 items-center justify-center overflow-clip rounded md:size-20 md:p-2", children: /* @__PURE__ */ jsx(
1644
1645
  Img,
1645
1646
  {
1646
1647
  src: product.image,
1647
1648
  alt: product.title,
1648
- className: "dark:invert",
1649
+ className: "object-cover",
1649
1650
  optixFlowConfig
1650
1651
  }
1651
1652
  ) }),
@@ -1972,6 +1973,7 @@ var renderMobileDropdownContent = (item) => {
1972
1973
  };
1973
1974
  var MobileNavigationMenu = ({
1974
1975
  open,
1976
+ setOpen,
1975
1977
  menuLinks,
1976
1978
  actionsClassName,
1977
1979
  actions,
@@ -2006,12 +2008,12 @@ var MobileNavigationMenu = ({
2006
2008
  );
2007
2009
  });
2008
2010
  }, [actionsSlot, actions]);
2009
- return /* @__PURE__ */ jsx(Sheet, { open, children: /* @__PURE__ */ jsx(
2011
+ return /* @__PURE__ */ jsx(Sheet, { open, onOpenChange: setOpen, children: /* @__PURE__ */ jsx(
2010
2012
  SheetContent,
2011
2013
  {
2012
2014
  "aria-describedby": void 0,
2013
2015
  side: "top",
2014
- className: "inset-0 z-998 h-dvh w-full bg-background pt-16 [&>button]:hidden",
2016
+ className: "inset-0 z-998 h-dvh w-full bg-background pt-16",
2015
2017
  children: /* @__PURE__ */ jsx("div", { className: "h-full overflow-y-auto pt-4 pb-20", children: /* @__PURE__ */ jsxs("div", { className: "container", children: [
2016
2018
  /* @__PURE__ */ jsx("div", { className: "absolute -m-px h-px w-px overflow-hidden border-0 mask-clip-border p-0 text-nowrap whitespace-nowrap", children: /* @__PURE__ */ jsx(SheetTitle, { className: "text-primary", children: "Mobile Navigation" }) }),
2017
2019
  /* @__PURE__ */ jsx("div", { className: cn("flex flex-col gap-4", actionsClassName), children: renderActions }),
@@ -1249,7 +1249,7 @@ function getNavbarLayoutClasses(layoutVariant = "fullScreenContainerizedLinks",
1249
1249
  // Navigation wrapper classes (for border and shadow)
1250
1250
  navWrapperClasses: cn(
1251
1251
  "w-full",
1252
- isFloatingBar ? "border border-border/50 shadow-sm rounded-full" : "border-b border-border/50 shadow-sm"
1252
+ isFloatingBar ? "border border-border/50 shadow-sm rounded-full" : "border-b border-border/50 shadow-sm flex justify-center"
1253
1253
  ),
1254
1254
  // Section container configuration for full-width navbars
1255
1255
  sectionContainerClassName: "px-0 sm:px-0 lg:px-0",
@@ -1225,7 +1225,7 @@ function getNavbarLayoutClasses(layoutVariant = "fullScreenContainerizedLinks",
1225
1225
  // Navigation wrapper classes (for border and shadow)
1226
1226
  navWrapperClasses: cn(
1227
1227
  "w-full",
1228
- isFloatingBar ? "border border-border/50 shadow-sm rounded-full" : "border-b border-border/50 shadow-sm"
1228
+ isFloatingBar ? "border border-border/50 shadow-sm rounded-full" : "border-b border-border/50 shadow-sm flex justify-center"
1229
1229
  ),
1230
1230
  // Section container configuration for full-width navbars
1231
1231
  sectionContainerClassName: "px-0 sm:px-0 lg:px-0",
@@ -1101,7 +1101,7 @@ function getNavbarLayoutClasses(layoutVariant = "fullScreenContainerizedLinks",
1101
1101
  // Navigation wrapper classes (for border and shadow)
1102
1102
  navWrapperClasses: cn(
1103
1103
  "w-full",
1104
- isFloatingBar ? "border border-border/50 shadow-sm rounded-full" : "border-b border-border/50 shadow-sm"
1104
+ isFloatingBar ? "border border-border/50 shadow-sm rounded-full" : "border-b border-border/50 shadow-sm flex justify-center"
1105
1105
  ),
1106
1106
  // Section container configuration for full-width navbars
1107
1107
  sectionContainerClassName: "px-0 sm:px-0 lg:px-0",
@@ -1079,7 +1079,7 @@ function getNavbarLayoutClasses(layoutVariant = "fullScreenContainerizedLinks",
1079
1079
  // Navigation wrapper classes (for border and shadow)
1080
1080
  navWrapperClasses: cn(
1081
1081
  "w-full",
1082
- isFloatingBar ? "border border-border/50 shadow-sm rounded-full" : "border-b border-border/50 shadow-sm"
1082
+ isFloatingBar ? "border border-border/50 shadow-sm rounded-full" : "border-b border-border/50 shadow-sm flex justify-center"
1083
1083
  ),
1084
1084
  // Section container configuration for full-width navbars
1085
1085
  sectionContainerClassName: "px-0 sm:px-0 lg:px-0",
@@ -856,7 +856,7 @@ function getNavbarLayoutClasses(layoutVariant = "fullScreenContainerizedLinks",
856
856
  // Navigation wrapper classes (for border and shadow)
857
857
  navWrapperClasses: cn(
858
858
  "w-full",
859
- isFloatingBar ? "border border-border/50 shadow-sm rounded-full" : "border-b border-border/50 shadow-sm"
859
+ isFloatingBar ? "border border-border/50 shadow-sm rounded-full" : "border-b border-border/50 shadow-sm flex justify-center"
860
860
  ),
861
861
  // Section container configuration for full-width navbars
862
862
  sectionContainerClassName: "px-0 sm:px-0 lg:px-0",
@@ -835,7 +835,7 @@ function getNavbarLayoutClasses(layoutVariant = "fullScreenContainerizedLinks",
835
835
  // Navigation wrapper classes (for border and shadow)
836
836
  navWrapperClasses: cn(
837
837
  "w-full",
838
- isFloatingBar ? "border border-border/50 shadow-sm rounded-full" : "border-b border-border/50 shadow-sm"
838
+ isFloatingBar ? "border border-border/50 shadow-sm rounded-full" : "border-b border-border/50 shadow-sm flex justify-center"
839
839
  ),
840
840
  // Section container configuration for full-width navbars
841
841
  sectionContainerClassName: "px-0 sm:px-0 lg:px-0",
@@ -1182,7 +1182,7 @@ function getNavbarLayoutClasses(layoutVariant = "fullScreenContainerizedLinks",
1182
1182
  // Navigation wrapper classes (for border and shadow)
1183
1183
  navWrapperClasses: cn(
1184
1184
  "w-full",
1185
- isFloatingBar ? "border border-border/50 shadow-sm rounded-full" : "border-b border-border/50 shadow-sm"
1185
+ isFloatingBar ? "border border-border/50 shadow-sm rounded-full" : "border-b border-border/50 shadow-sm flex justify-center"
1186
1186
  ),
1187
1187
  // Section container configuration for full-width navbars
1188
1188
  sectionContainerClassName: "px-0 sm:px-0 lg:px-0",
@@ -1158,7 +1158,7 @@ function getNavbarLayoutClasses(layoutVariant = "fullScreenContainerizedLinks",
1158
1158
  // Navigation wrapper classes (for border and shadow)
1159
1159
  navWrapperClasses: cn(
1160
1160
  "w-full",
1161
- isFloatingBar ? "border border-border/50 shadow-sm rounded-full" : "border-b border-border/50 shadow-sm"
1161
+ isFloatingBar ? "border border-border/50 shadow-sm rounded-full" : "border-b border-border/50 shadow-sm flex justify-center"
1162
1162
  ),
1163
1163
  // Section container configuration for full-width navbars
1164
1164
  sectionContainerClassName: "px-0 sm:px-0 lg:px-0",
@@ -1299,7 +1299,7 @@ function getNavbarLayoutClasses(layoutVariant = "fullScreenContainerizedLinks",
1299
1299
  // Navigation wrapper classes (for border and shadow)
1300
1300
  navWrapperClasses: cn(
1301
1301
  "w-full",
1302
- isFloatingBar ? "border border-border/50 shadow-sm rounded-full" : "border-b border-border/50 shadow-sm"
1302
+ isFloatingBar ? "border border-border/50 shadow-sm rounded-full" : "border-b border-border/50 shadow-sm flex justify-center"
1303
1303
  ),
1304
1304
  // Section container configuration for full-width navbars
1305
1305
  sectionContainerClassName: "px-0 sm:px-0 lg:px-0",
@@ -1276,7 +1276,7 @@ function getNavbarLayoutClasses(layoutVariant = "fullScreenContainerizedLinks",
1276
1276
  // Navigation wrapper classes (for border and shadow)
1277
1277
  navWrapperClasses: cn(
1278
1278
  "w-full",
1279
- isFloatingBar ? "border border-border/50 shadow-sm rounded-full" : "border-b border-border/50 shadow-sm"
1279
+ isFloatingBar ? "border border-border/50 shadow-sm rounded-full" : "border-b border-border/50 shadow-sm flex justify-center"
1280
1280
  ),
1281
1281
  // Section container configuration for full-width navbars
1282
1282
  sectionContainerClassName: "px-0 sm:px-0 lg:px-0",
@@ -1102,7 +1102,7 @@ function getNavbarLayoutClasses(layoutVariant = "fullScreenContainerizedLinks",
1102
1102
  // Navigation wrapper classes (for border and shadow)
1103
1103
  navWrapperClasses: cn(
1104
1104
  "w-full",
1105
- isFloatingBar ? "border border-border/50 shadow-sm rounded-full" : "border-b border-border/50 shadow-sm"
1105
+ isFloatingBar ? "border border-border/50 shadow-sm rounded-full" : "border-b border-border/50 shadow-sm flex justify-center"
1106
1106
  ),
1107
1107
  // Section container configuration for full-width navbars
1108
1108
  sectionContainerClassName: "px-0 sm:px-0 lg:px-0",
@@ -1316,13 +1316,16 @@ var NavbarMegaMenu = ({
1316
1316
  Pressable,
1317
1317
  {
1318
1318
  href: logo.url || "/",
1319
- className: cn("flex items-center gap-2", logoClassName),
1319
+ className: cn("flex items-center h-16 py-2", logoClassName),
1320
1320
  children: [
1321
1321
  /* @__PURE__ */ jsxRuntime.jsx(
1322
1322
  img.Img,
1323
1323
  {
1324
1324
  src: logo.desktopSrc,
1325
- className: cn("hidden h-7 dark:invert md:block", logo.className),
1325
+ className: cn(
1326
+ "hidden h-full w-auto object-contain dark:invert md:block",
1327
+ logo.className
1328
+ ),
1326
1329
  alt: logo.alt || "Logo",
1327
1330
  optixFlowConfig
1328
1331
  }
@@ -1331,7 +1334,10 @@ var NavbarMegaMenu = ({
1331
1334
  img.Img,
1332
1335
  {
1333
1336
  src: logo.mobileSrc,
1334
- className: cn("h-7 dark:invert md:hidden", logo.className),
1337
+ className: cn(
1338
+ "h-full w-auto object-contain dark:invert md:hidden",
1339
+ logo.className
1340
+ ),
1335
1341
  alt: logo.alt || "Logo",
1336
1342
  optixFlowConfig
1337
1343
  }
@@ -1486,7 +1492,13 @@ var NavbarMegaMenu = ({
1486
1492
  onClick: () => setSubmenuIndex(index),
1487
1493
  children: [
1488
1494
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "flex-1", children: link.label }),
1489
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "shrink-0", children: /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: "lucide/chevron-right", size: 16 }) })
1495
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "shrink-0", children: /* @__PURE__ */ jsxRuntime.jsx(
1496
+ DynamicIcon,
1497
+ {
1498
+ name: "lucide/chevron-right",
1499
+ size: 16
1500
+ }
1501
+ ) })
1490
1502
  ]
1491
1503
  },
1492
1504
  `mobile-menu-link-${index}`
@@ -1080,7 +1080,7 @@ function getNavbarLayoutClasses(layoutVariant = "fullScreenContainerizedLinks",
1080
1080
  // Navigation wrapper classes (for border and shadow)
1081
1081
  navWrapperClasses: cn(
1082
1082
  "w-full",
1083
- isFloatingBar ? "border border-border/50 shadow-sm rounded-full" : "border-b border-border/50 shadow-sm"
1083
+ isFloatingBar ? "border border-border/50 shadow-sm rounded-full" : "border-b border-border/50 shadow-sm flex justify-center"
1084
1084
  ),
1085
1085
  // Section container configuration for full-width navbars
1086
1086
  sectionContainerClassName: "px-0 sm:px-0 lg:px-0",
@@ -1294,13 +1294,16 @@ var NavbarMegaMenu = ({
1294
1294
  Pressable,
1295
1295
  {
1296
1296
  href: logo.url || "/",
1297
- className: cn("flex items-center gap-2", logoClassName),
1297
+ className: cn("flex items-center h-16 py-2", logoClassName),
1298
1298
  children: [
1299
1299
  /* @__PURE__ */ jsx(
1300
1300
  Img,
1301
1301
  {
1302
1302
  src: logo.desktopSrc,
1303
- className: cn("hidden h-7 dark:invert md:block", logo.className),
1303
+ className: cn(
1304
+ "hidden h-full w-auto object-contain dark:invert md:block",
1305
+ logo.className
1306
+ ),
1304
1307
  alt: logo.alt || "Logo",
1305
1308
  optixFlowConfig
1306
1309
  }
@@ -1309,7 +1312,10 @@ var NavbarMegaMenu = ({
1309
1312
  Img,
1310
1313
  {
1311
1314
  src: logo.mobileSrc,
1312
- className: cn("h-7 dark:invert md:hidden", logo.className),
1315
+ className: cn(
1316
+ "h-full w-auto object-contain dark:invert md:hidden",
1317
+ logo.className
1318
+ ),
1313
1319
  alt: logo.alt || "Logo",
1314
1320
  optixFlowConfig
1315
1321
  }
@@ -1464,7 +1470,13 @@ var NavbarMegaMenu = ({
1464
1470
  onClick: () => setSubmenuIndex(index),
1465
1471
  children: [
1466
1472
  /* @__PURE__ */ jsx("span", { className: "flex-1", children: link.label }),
1467
- /* @__PURE__ */ jsx("span", { className: "shrink-0", children: /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/chevron-right", size: 16 }) })
1473
+ /* @__PURE__ */ jsx("span", { className: "shrink-0", children: /* @__PURE__ */ jsx(
1474
+ DynamicIcon,
1475
+ {
1476
+ name: "lucide/chevron-right",
1477
+ size: 16
1478
+ }
1479
+ ) })
1468
1480
  ]
1469
1481
  },
1470
1482
  `mobile-menu-link-${index}`
@@ -1234,7 +1234,7 @@ function getNavbarLayoutClasses(layoutVariant = "fullScreenContainerizedLinks",
1234
1234
  // Navigation wrapper classes (for border and shadow)
1235
1235
  navWrapperClasses: cn(
1236
1236
  "w-full",
1237
- isFloatingBar ? "border border-border/50 shadow-sm rounded-full" : "border-b border-border/50 shadow-sm"
1237
+ isFloatingBar ? "border border-border/50 shadow-sm rounded-full" : "border-b border-border/50 shadow-sm flex justify-center"
1238
1238
  ),
1239
1239
  // Section container configuration for full-width navbars
1240
1240
  sectionContainerClassName: "px-0 sm:px-0 lg:px-0",
@@ -1210,7 +1210,7 @@ function getNavbarLayoutClasses(layoutVariant = "fullScreenContainerizedLinks",
1210
1210
  // Navigation wrapper classes (for border and shadow)
1211
1211
  navWrapperClasses: cn(
1212
1212
  "w-full",
1213
- isFloatingBar ? "border border-border/50 shadow-sm rounded-full" : "border-b border-border/50 shadow-sm"
1213
+ isFloatingBar ? "border border-border/50 shadow-sm rounded-full" : "border-b border-border/50 shadow-sm flex justify-center"
1214
1214
  ),
1215
1215
  // Section container configuration for full-width navbars
1216
1216
  sectionContainerClassName: "px-0 sm:px-0 lg:px-0",
@@ -1168,7 +1168,7 @@ function getNavbarLayoutClasses(layoutVariant = "fullScreenContainerizedLinks",
1168
1168
  // Navigation wrapper classes (for border and shadow)
1169
1169
  navWrapperClasses: cn(
1170
1170
  "w-full",
1171
- isFloatingBar ? "border border-border/50 shadow-sm rounded-full" : "border-b border-border/50 shadow-sm"
1171
+ isFloatingBar ? "border border-border/50 shadow-sm rounded-full" : "border-b border-border/50 shadow-sm flex justify-center"
1172
1172
  ),
1173
1173
  // Section container configuration for full-width navbars
1174
1174
  sectionContainerClassName: "px-0 sm:px-0 lg:px-0",
@@ -1145,7 +1145,7 @@ function getNavbarLayoutClasses(layoutVariant = "fullScreenContainerizedLinks",
1145
1145
  // Navigation wrapper classes (for border and shadow)
1146
1146
  navWrapperClasses: cn(
1147
1147
  "w-full",
1148
- isFloatingBar ? "border border-border/50 shadow-sm rounded-full" : "border-b border-border/50 shadow-sm"
1148
+ isFloatingBar ? "border border-border/50 shadow-sm rounded-full" : "border-b border-border/50 shadow-sm flex justify-center"
1149
1149
  ),
1150
1150
  // Section container configuration for full-width navbars
1151
1151
  sectionContainerClassName: "px-0 sm:px-0 lg:px-0",
@@ -1134,7 +1134,7 @@ function getNavbarLayoutClasses(layoutVariant = "fullScreenContainerizedLinks",
1134
1134
  // Navigation wrapper classes (for border and shadow)
1135
1135
  navWrapperClasses: cn(
1136
1136
  "w-full",
1137
- isFloatingBar ? "border border-border/50 shadow-sm rounded-full" : "border-b border-border/50 shadow-sm"
1137
+ isFloatingBar ? "border border-border/50 shadow-sm rounded-full" : "border-b border-border/50 shadow-sm flex justify-center"
1138
1138
  ),
1139
1139
  // Section container configuration for full-width navbars
1140
1140
  sectionContainerClassName: "px-0 sm:px-0 lg:px-0",
@@ -1111,7 +1111,7 @@ function getNavbarLayoutClasses(layoutVariant = "fullScreenContainerizedLinks",
1111
1111
  // Navigation wrapper classes (for border and shadow)
1112
1112
  navWrapperClasses: cn(
1113
1113
  "w-full",
1114
- isFloatingBar ? "border border-border/50 shadow-sm rounded-full" : "border-b border-border/50 shadow-sm"
1114
+ isFloatingBar ? "border border-border/50 shadow-sm rounded-full" : "border-b border-border/50 shadow-sm flex justify-center"
1115
1115
  ),
1116
1116
  // Section container configuration for full-width navbars
1117
1117
  sectionContainerClassName: "px-0 sm:px-0 lg:px-0",
@@ -1239,7 +1239,7 @@ function getNavbarLayoutClasses(layoutVariant = "fullScreenContainerizedLinks",
1239
1239
  // Navigation wrapper classes (for border and shadow)
1240
1240
  navWrapperClasses: cn(
1241
1241
  "w-full",
1242
- isFloatingBar ? "border border-border/50 shadow-sm rounded-full" : "border-b border-border/50 shadow-sm"
1242
+ isFloatingBar ? "border border-border/50 shadow-sm rounded-full" : "border-b border-border/50 shadow-sm flex justify-center"
1243
1243
  ),
1244
1244
  // Section container configuration for full-width navbars
1245
1245
  sectionContainerClassName: "px-0 sm:px-0 lg:px-0",
@@ -1215,7 +1215,7 @@ function getNavbarLayoutClasses(layoutVariant = "fullScreenContainerizedLinks",
1215
1215
  // Navigation wrapper classes (for border and shadow)
1216
1216
  navWrapperClasses: cn(
1217
1217
  "w-full",
1218
- isFloatingBar ? "border border-border/50 shadow-sm rounded-full" : "border-b border-border/50 shadow-sm"
1218
+ isFloatingBar ? "border border-border/50 shadow-sm rounded-full" : "border-b border-border/50 shadow-sm flex justify-center"
1219
1219
  ),
1220
1220
  // Section container configuration for full-width navbars
1221
1221
  sectionContainerClassName: "px-0 sm:px-0 lg:px-0",
@@ -1090,7 +1090,7 @@ function getNavbarLayoutClasses(layoutVariant = "fullScreenContainerizedLinks",
1090
1090
  // Navigation wrapper classes (for border and shadow)
1091
1091
  navWrapperClasses: cn(
1092
1092
  "w-full",
1093
- isFloatingBar ? "border border-border/50 shadow-sm rounded-full" : "border-b border-border/50 shadow-sm"
1093
+ isFloatingBar ? "border border-border/50 shadow-sm rounded-full" : "border-b border-border/50 shadow-sm flex justify-center"
1094
1094
  ),
1095
1095
  // Section container configuration for full-width navbars
1096
1096
  sectionContainerClassName: "px-0 sm:px-0 lg:px-0",
@@ -1067,7 +1067,7 @@ function getNavbarLayoutClasses(layoutVariant = "fullScreenContainerizedLinks",
1067
1067
  // Navigation wrapper classes (for border and shadow)
1068
1068
  navWrapperClasses: cn(
1069
1069
  "w-full",
1070
- isFloatingBar ? "border border-border/50 shadow-sm rounded-full" : "border-b border-border/50 shadow-sm"
1070
+ isFloatingBar ? "border border-border/50 shadow-sm rounded-full" : "border-b border-border/50 shadow-sm flex justify-center"
1071
1071
  ),
1072
1072
  // Section container configuration for full-width navbars
1073
1073
  sectionContainerClassName: "px-0 sm:px-0 lg:px-0",
@@ -1177,7 +1177,7 @@ function getNavbarLayoutClasses(layoutVariant = "fullScreenContainerizedLinks",
1177
1177
  // Navigation wrapper classes (for border and shadow)
1178
1178
  navWrapperClasses: cn(
1179
1179
  "w-full",
1180
- isFloatingBar ? "border border-border/50 shadow-sm rounded-full" : "border-b border-border/50 shadow-sm"
1180
+ isFloatingBar ? "border border-border/50 shadow-sm rounded-full" : "border-b border-border/50 shadow-sm flex justify-center"
1181
1181
  ),
1182
1182
  // Section container configuration for full-width navbars
1183
1183
  sectionContainerClassName: "px-0 sm:px-0 lg:px-0",
@@ -1154,7 +1154,7 @@ function getNavbarLayoutClasses(layoutVariant = "fullScreenContainerizedLinks",
1154
1154
  // Navigation wrapper classes (for border and shadow)
1155
1155
  navWrapperClasses: cn(
1156
1156
  "w-full",
1157
- isFloatingBar ? "border border-border/50 shadow-sm rounded-full" : "border-b border-border/50 shadow-sm"
1157
+ isFloatingBar ? "border border-border/50 shadow-sm rounded-full" : "border-b border-border/50 shadow-sm flex justify-center"
1158
1158
  ),
1159
1159
  // Section container configuration for full-width navbars
1160
1160
  sectionContainerClassName: "px-0 sm:px-0 lg:px-0",
@@ -1177,7 +1177,7 @@ function getNavbarLayoutClasses(layoutVariant = "fullScreenContainerizedLinks",
1177
1177
  // Navigation wrapper classes (for border and shadow)
1178
1178
  navWrapperClasses: cn(
1179
1179
  "w-full",
1180
- isFloatingBar ? "border border-border/50 shadow-sm rounded-full" : "border-b border-border/50 shadow-sm"
1180
+ isFloatingBar ? "border border-border/50 shadow-sm rounded-full" : "border-b border-border/50 shadow-sm flex justify-center"
1181
1181
  ),
1182
1182
  // Section container configuration for full-width navbars
1183
1183
  sectionContainerClassName: "px-0 sm:px-0 lg:px-0",
@@ -1154,7 +1154,7 @@ function getNavbarLayoutClasses(layoutVariant = "fullScreenContainerizedLinks",
1154
1154
  // Navigation wrapper classes (for border and shadow)
1155
1155
  navWrapperClasses: cn(
1156
1156
  "w-full",
1157
- isFloatingBar ? "border border-border/50 shadow-sm rounded-full" : "border-b border-border/50 shadow-sm"
1157
+ isFloatingBar ? "border border-border/50 shadow-sm rounded-full" : "border-b border-border/50 shadow-sm flex justify-center"
1158
1158
  ),
1159
1159
  // Section container configuration for full-width navbars
1160
1160
  sectionContainerClassName: "px-0 sm:px-0 lg:px-0",
@@ -1237,7 +1237,7 @@ function getNavbarLayoutClasses(layoutVariant = "fullScreenContainerizedLinks",
1237
1237
  // Navigation wrapper classes (for border and shadow)
1238
1238
  navWrapperClasses: cn(
1239
1239
  "w-full",
1240
- isFloatingBar ? "border border-border/50 shadow-sm rounded-full" : "border-b border-border/50 shadow-sm"
1240
+ isFloatingBar ? "border border-border/50 shadow-sm rounded-full" : "border-b border-border/50 shadow-sm flex justify-center"
1241
1241
  ),
1242
1242
  // Section container configuration for full-width navbars
1243
1243
  sectionContainerClassName: "px-0 sm:px-0 lg:px-0",
@@ -1213,7 +1213,7 @@ function getNavbarLayoutClasses(layoutVariant = "fullScreenContainerizedLinks",
1213
1213
  // Navigation wrapper classes (for border and shadow)
1214
1214
  navWrapperClasses: cn(
1215
1215
  "w-full",
1216
- isFloatingBar ? "border border-border/50 shadow-sm rounded-full" : "border-b border-border/50 shadow-sm"
1216
+ isFloatingBar ? "border border-border/50 shadow-sm rounded-full" : "border-b border-border/50 shadow-sm flex justify-center"
1217
1217
  ),
1218
1218
  // Section container configuration for full-width navbars
1219
1219
  sectionContainerClassName: "px-0 sm:px-0 lg:px-0",
@@ -1058,7 +1058,7 @@ function getNavbarLayoutClasses(layoutVariant = "fullScreenContainerizedLinks",
1058
1058
  // Navigation wrapper classes (for border and shadow)
1059
1059
  navWrapperClasses: cn(
1060
1060
  "w-full",
1061
- isFloatingBar ? "border border-border/50 shadow-sm rounded-full" : "border-b border-border/50 shadow-sm"
1061
+ isFloatingBar ? "border border-border/50 shadow-sm rounded-full" : "border-b border-border/50 shadow-sm flex justify-center"
1062
1062
  ),
1063
1063
  // Section container configuration for full-width navbars
1064
1064
  sectionContainerClassName: "px-0 sm:px-0 lg:px-0",
@@ -1036,7 +1036,7 @@ function getNavbarLayoutClasses(layoutVariant = "fullScreenContainerizedLinks",
1036
1036
  // Navigation wrapper classes (for border and shadow)
1037
1037
  navWrapperClasses: cn(
1038
1038
  "w-full",
1039
- isFloatingBar ? "border border-border/50 shadow-sm rounded-full" : "border-b border-border/50 shadow-sm"
1039
+ isFloatingBar ? "border border-border/50 shadow-sm rounded-full" : "border-b border-border/50 shadow-sm flex justify-center"
1040
1040
  ),
1041
1041
  // Section container configuration for full-width navbars
1042
1042
  sectionContainerClassName: "px-0 sm:px-0 lg:px-0",