@opensite/ui 3.4.8 → 3.4.9

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.
@@ -1054,20 +1054,19 @@ var NavbarTabbedSections = ({
1054
1054
  children: renderAuthActions
1055
1055
  }
1056
1056
  ),
1057
- /* @__PURE__ */ jsxRuntime.jsxs(
1057
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex lg:hidden", children: /* @__PURE__ */ jsxRuntime.jsxs(
1058
1058
  pressable.Pressable,
1059
1059
  {
1060
1060
  variant: "ghost",
1061
1061
  size: "icon",
1062
1062
  asButton: true,
1063
- className: "lg:hidden",
1064
1063
  onClick: () => setIsOpen(!isOpen),
1065
1064
  children: [
1066
1065
  /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: "lucide/menu", size: 20 }),
1067
1066
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sr-only", children: "Toggle menu" })
1068
1067
  ]
1069
1068
  }
1070
- ),
1069
+ ) }),
1071
1070
  /* @__PURE__ */ jsxRuntime.jsx(
1072
1071
  NavbarMobileMenu,
1073
1072
  {
@@ -1030,20 +1030,19 @@ var NavbarTabbedSections = ({
1030
1030
  children: renderAuthActions
1031
1031
  }
1032
1032
  ),
1033
- /* @__PURE__ */ jsxs(
1033
+ /* @__PURE__ */ jsx("div", { className: "flex lg:hidden", children: /* @__PURE__ */ jsxs(
1034
1034
  Pressable,
1035
1035
  {
1036
1036
  variant: "ghost",
1037
1037
  size: "icon",
1038
1038
  asButton: true,
1039
- className: "lg:hidden",
1040
1039
  onClick: () => setIsOpen(!isOpen),
1041
1040
  children: [
1042
1041
  /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/menu", size: 20 }),
1043
1042
  /* @__PURE__ */ jsx("span", { className: "sr-only", children: "Toggle menu" })
1044
1043
  ]
1045
1044
  }
1046
- ),
1045
+ ) }),
1047
1046
  /* @__PURE__ */ jsx(
1048
1047
  NavbarMobileMenu,
1049
1048
  {
package/dist/registry.cjs CHANGED
@@ -63089,10 +63089,10 @@ var SubMenuLink = ({
63089
63089
  return /* @__PURE__ */ jsxRuntime.jsxs(
63090
63090
  pressable.Pressable,
63091
63091
  {
63092
- className: "flex min-w-80 flex-row gap-4 rounded-md p-3 leading-none no-underline transition-colors outline-none select-none hover:bg-muted",
63092
+ className: "flex min-w-80 flex-row items-center gap-4 rounded-md p-3 leading-none no-underline transition-colors outline-none select-none hover:bg-muted",
63093
63093
  href: item.url,
63094
63094
  children: [
63095
- item.icon && /* @__PURE__ */ jsxRuntime.jsx("div", { children: /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: item.icon, size: 20, className: "shrink-0" }) }),
63095
+ item.icon && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex size-5 shrink-0 items-center justify-center text-muted-foreground", children: /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: item.icon, size: 20, className: "shrink-0" }) }),
63096
63096
  /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
63097
63097
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-sm font-semibold", children: item.title }),
63098
63098
  item.description && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm leading-snug text-muted-foreground", children: item.description })
@@ -63313,10 +63313,10 @@ var SubMenuLink2 = ({ item }) => {
63313
63313
  return /* @__PURE__ */ jsxRuntime.jsxs(
63314
63314
  pressable.Pressable,
63315
63315
  {
63316
- className: "flex flex-row gap-4 rounded-md p-3 leading-none no-underline transition-colors outline-none select-none hover:bg-muted hover:text-foreground",
63316
+ className: "flex flex-row items-center gap-4 rounded-md p-3 leading-none no-underline transition-colors outline-none select-none hover:bg-muted hover:text-foreground",
63317
63317
  href: item.url,
63318
63318
  children: [
63319
- item.icon && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-muted-foreground", children: /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: item.icon, size: 20, className: "shrink-0" }) }),
63319
+ item.icon && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex size-5 shrink-0 items-center justify-center text-muted-foreground", children: /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: item.icon, size: 20, className: "shrink-0" }) }),
63320
63320
  /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
63321
63321
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-sm font-semibold", children: item.title }),
63322
63322
  item.description && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm leading-snug text-muted-foreground", children: item.description })
@@ -64003,17 +64003,17 @@ var SolutionsMenu = ({
64003
64003
  platformItems,
64004
64004
  featuredHeroCard,
64005
64005
  optixFlowConfig
64006
- }) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid w-[1200px] grid-cols-2 gap-4", children: [
64007
- featuredHeroCard && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "col-span-1", children: /* @__PURE__ */ jsxRuntime.jsxs(
64006
+ }) => {
64007
+ const featuredCard = featuredHeroCard ? /* @__PURE__ */ jsxRuntime.jsxs(
64008
64008
  pressable.Pressable,
64009
64009
  {
64010
64010
  href: featuredHeroCard.href,
64011
64011
  className: cn(
64012
- "group flex h-full flex-col overflow-hidden rounded-lg text-primary-foreground",
64012
+ "group flex h-full min-h-[420px] flex-col overflow-hidden rounded-lg text-primary-foreground",
64013
64013
  featuredHeroCard.variant === "accent" ? "bg-accent text-accent-foreground" : "bg-primary"
64014
64014
  ),
64015
64015
  children: [
64016
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-1 flex-col justify-between p-5", children: [
64016
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex shrink-0 flex-col justify-between p-5", children: [
64017
64017
  featuredHeroCard.subtitle && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "mb-2 text-xs font-medium tracking-wider uppercase", children: featuredHeroCard.subtitle }),
64018
64018
  /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
64019
64019
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-1.5 text-base font-semibold", children: [
@@ -64030,7 +64030,7 @@ var SolutionsMenu = ({
64030
64030
  /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-2 text-sm leading-relaxed text-primary-foreground/85", children: featuredHeroCard.description })
64031
64031
  ] })
64032
64032
  ] }),
64033
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "relative aspect-video w-full overflow-hidden", children: /* @__PURE__ */ jsxRuntime.jsx(
64033
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "relative min-h-0 flex-1 overflow-hidden", children: /* @__PURE__ */ jsxRuntime.jsx(
64034
64034
  img.Img,
64035
64035
  {
64036
64036
  src: featuredHeroCard.image,
@@ -64041,35 +64041,42 @@ var SolutionsMenu = ({
64041
64041
  ) })
64042
64042
  ]
64043
64043
  }
64044
- ) }),
64045
- platformItems.length > 0 && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "col-span-1", children: [
64044
+ ) : null;
64045
+ const platformSection = platformItems.length > 0 ? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "min-w-0", children: [
64046
64046
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-3 text-left", children: /* @__PURE__ */ jsxRuntime.jsx("strong", { className: "text-xs font-medium tracking-wider text-muted-foreground uppercase", children: "Developer Platform" }) }),
64047
64047
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid grid-cols-2 gap-2", children: platformItems.map((technology) => /* @__PURE__ */ jsxRuntime.jsxs(
64048
64048
  NavigationMenuLink,
64049
64049
  {
64050
64050
  href: technology.href,
64051
- className: "group !flex !w-full items-center gap-2 rounded-lg p-2 hover:bg-muted",
64051
+ className: "group !flex !w-full min-w-0 items-center gap-2 rounded-lg p-2 hover:bg-muted",
64052
64052
  children: [
64053
- /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: technology.icon, size: 16, className: "shrink-0" }),
64053
+ /* @__PURE__ */ jsxRuntime.jsx(
64054
+ DynamicIcon,
64055
+ {
64056
+ name: technology.icon,
64057
+ size: 16,
64058
+ className: "shrink-0"
64059
+ }
64060
+ ),
64054
64061
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "min-w-0 flex-1 text-sm font-medium", children: technology.title })
64055
64062
  ]
64056
64063
  },
64057
64064
  technology.id
64058
64065
  )) })
64059
- ] }),
64060
- solutionCards.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "col-span-2 mt-2 grid grid-cols-4 gap-3", children: solutionCards.map((solution) => /* @__PURE__ */ jsxRuntime.jsxs(
64066
+ ] }) : null;
64067
+ const solutionSection = solutionCards.length > 0 ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid grid-cols-2 gap-3", children: solutionCards.map((solution) => /* @__PURE__ */ jsxRuntime.jsxs(
64061
64068
  "div",
64062
64069
  {
64063
- className: "col-span-1 flex w-full flex-col rounded-lg border border-border p-4",
64070
+ className: "flex min-w-0 flex-col rounded-lg border border-border p-4",
64064
64071
  children: [
64065
64072
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "border-b border-border pb-3", children: /* @__PURE__ */ jsxRuntime.jsxs(
64066
64073
  pressable.Pressable,
64067
64074
  {
64068
64075
  href: solution.href,
64069
- className: "group flex flex-col text-left",
64076
+ className: "group flex min-w-0 flex-col text-left",
64070
64077
  children: [
64071
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-1", children: [
64072
- /* @__PURE__ */ jsxRuntime.jsx("strong", { className: "text-sm font-medium", children: solution.title }),
64078
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex min-w-0 items-center gap-1", children: [
64079
+ /* @__PURE__ */ jsxRuntime.jsx("strong", { className: "min-w-0 break-words text-sm font-medium", children: solution.title }),
64073
64080
  /* @__PURE__ */ jsxRuntime.jsx(
64074
64081
  DynamicIcon,
64075
64082
  {
@@ -64079,7 +64086,7 @@ var SolutionsMenu = ({
64079
64086
  }
64080
64087
  )
64081
64088
  ] }),
64082
- /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-1 text-xs text-muted-foreground", children: solution.description })
64089
+ /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-1 break-words text-xs text-muted-foreground", children: solution.description })
64083
64090
  ]
64084
64091
  }
64085
64092
  ) }),
@@ -64087,10 +64094,17 @@ var SolutionsMenu = ({
64087
64094
  NavigationMenuLink,
64088
64095
  {
64089
64096
  href: subpage.href,
64090
- className: "group !flex !w-full items-center gap-2 rounded-lg p-2 text-left hover:bg-muted",
64097
+ className: "group !flex !w-full min-w-0 items-center gap-2 rounded-lg p-2 text-left hover:bg-muted",
64091
64098
  children: [
64092
- /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: subpage.icon, size: 14, className: "shrink-0" }),
64093
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "min-w-0 flex-1 text-sm font-medium", children: subpage.title })
64099
+ /* @__PURE__ */ jsxRuntime.jsx(
64100
+ DynamicIcon,
64101
+ {
64102
+ name: subpage.icon,
64103
+ size: 14,
64104
+ className: "shrink-0"
64105
+ }
64106
+ ),
64107
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "min-w-0 flex-1 break-words text-sm font-medium", children: subpage.title })
64094
64108
  ]
64095
64109
  },
64096
64110
  subpage.id
@@ -64098,8 +64112,69 @@ var SolutionsMenu = ({
64098
64112
  ]
64099
64113
  },
64100
64114
  solution.id
64101
- )) })
64102
- ] });
64115
+ )) }) : null;
64116
+ if (featuredCard) {
64117
+ return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid w-[1200px] max-w-[calc(100vw-4rem)] grid-cols-[minmax(380px,1fr)_minmax(360px,0.95fr)] gap-4", children: [
64118
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "min-w-0", children: featuredCard }),
64119
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex min-w-0 flex-col gap-4", children: [
64120
+ platformSection,
64121
+ solutionSection
64122
+ ] })
64123
+ ] });
64124
+ }
64125
+ return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid w-[1200px] max-w-[calc(100vw-4rem)] grid-cols-2 gap-4", children: [
64126
+ platformSection,
64127
+ solutionCards.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "col-span-2 grid grid-cols-4 gap-3", children: solutionCards.map((solution) => /* @__PURE__ */ jsxRuntime.jsxs(
64128
+ "div",
64129
+ {
64130
+ className: "flex min-w-0 flex-col rounded-lg border border-border p-4",
64131
+ children: [
64132
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "border-b border-border pb-3", children: /* @__PURE__ */ jsxRuntime.jsxs(
64133
+ pressable.Pressable,
64134
+ {
64135
+ href: solution.href,
64136
+ className: "group flex min-w-0 flex-col text-left",
64137
+ children: [
64138
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex min-w-0 items-center gap-1", children: [
64139
+ /* @__PURE__ */ jsxRuntime.jsx("strong", { className: "min-w-0 break-words text-sm font-medium", children: solution.title }),
64140
+ /* @__PURE__ */ jsxRuntime.jsx(
64141
+ DynamicIcon,
64142
+ {
64143
+ name: "lucide/arrow-right",
64144
+ size: 14,
64145
+ className: "shrink-0 transition-transform group-hover:translate-x-1"
64146
+ }
64147
+ )
64148
+ ] }),
64149
+ /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-1 break-words text-xs text-muted-foreground", children: solution.description })
64150
+ ]
64151
+ }
64152
+ ) }),
64153
+ /* @__PURE__ */ jsxRuntime.jsx("menu", { className: "mt-3 grid gap-2", children: solution.subpages.map((subpage) => /* @__PURE__ */ jsxRuntime.jsxs(
64154
+ NavigationMenuLink,
64155
+ {
64156
+ href: subpage.href,
64157
+ className: "group !flex !w-full min-w-0 items-center gap-2 rounded-lg p-2 text-left hover:bg-muted",
64158
+ children: [
64159
+ /* @__PURE__ */ jsxRuntime.jsx(
64160
+ DynamicIcon,
64161
+ {
64162
+ name: subpage.icon,
64163
+ size: 14,
64164
+ className: "shrink-0"
64165
+ }
64166
+ ),
64167
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "min-w-0 flex-1 break-words text-sm font-medium", children: subpage.title })
64168
+ ]
64169
+ },
64170
+ subpage.id
64171
+ )) })
64172
+ ]
64173
+ },
64174
+ solution.id
64175
+ )) })
64176
+ ] });
64177
+ };
64103
64178
  var ProductsMenu = ({
64104
64179
  productCategories,
64105
64180
  featuredHeroCard,
@@ -64578,7 +64653,7 @@ var DesktopMenuItem2 = ({
64578
64653
  if (hasDropdown) {
64579
64654
  return /* @__PURE__ */ jsxRuntime.jsxs(NavigationMenuItem, { value: `${index}`, children: [
64580
64655
  /* @__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 }),
64581
- /* @__PURE__ */ jsxRuntime.jsx(NavigationMenuContent, { className: "rounded-xl! border-0! p-4!", children: renderDropdownContent(
64656
+ /* @__PURE__ */ jsxRuntime.jsx(NavigationMenuContent, { className: "max-h-[calc(100vh-6rem)] overflow-y-auto rounded-xl! border-0! p-4!", children: renderDropdownContent(
64582
64657
  { ...item, layout: effectiveLayout },
64583
64658
  optixFlowConfig
64584
64659
  ) })
@@ -65245,14 +65320,15 @@ var NavbarPlatformResources = ({
65245
65320
  const renderDropdownContent3 = (link) => {
65246
65321
  const layout = link.layout || "simple-list";
65247
65322
  if (layout === "simple-list") {
65248
- return /* @__PURE__ */ jsxRuntime.jsx(NavigationMenuContent, { className: "w-[400px] p-3", children: /* @__PURE__ */ jsxRuntime.jsx("ul", { className: "space-y-1", children: link.links?.map((item, itemIndex) => /* @__PURE__ */ jsxRuntime.jsx(
65323
+ return /* @__PURE__ */ jsxRuntime.jsx(NavigationMenuContent, { className: "w-[400px] max-w-[calc(100vw-2rem)] p-3", children: /* @__PURE__ */ jsxRuntime.jsx("ul", { className: "w-full space-y-1", children: link.links?.map((item, itemIndex) => /* @__PURE__ */ jsxRuntime.jsx(
65249
65324
  "li",
65250
65325
  {
65326
+ className: "w-full",
65251
65327
  children: /* @__PURE__ */ jsxRuntime.jsxs(
65252
65328
  NavigationMenuLink,
65253
65329
  {
65254
65330
  href: getLinkUrl(item),
65255
- className: "group/link flex-row gap-2 px-3 py-2 transition-colors duration-200",
65331
+ className: "group/link !flex !w-full min-w-0 flex-row items-center gap-2 rounded-md px-3 py-2 transition-colors duration-200",
65256
65332
  children: [
65257
65333
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex size-8 shrink-0 rounded-lg border duration-400 fade-in group-hover/link:bg-background", children: /* @__PURE__ */ jsxRuntime.jsx(
65258
65334
  DynamicIcon,
@@ -65262,9 +65338,9 @@ var NavbarPlatformResources = ({
65262
65338
  className: "m-auto group-hover/link:stroke-black"
65263
65339
  }
65264
65340
  ) }),
65265
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-0.5", children: [
65341
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex min-w-0 flex-1 flex-col gap-0.5", children: [
65266
65342
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-sm font-medium", children: item.label }),
65267
- item.description && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-xs text-muted-foreground group-hover/link:text-foreground", children: item.description })
65343
+ item.description && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "break-words text-xs text-muted-foreground group-hover/link:text-foreground", children: item.description })
65268
65344
  ] })
65269
65345
  ]
65270
65346
  }
@@ -65276,12 +65352,12 @@ var NavbarPlatformResources = ({
65276
65352
  if (layout === "featured-grid" && link.links && link.links.length > 0) {
65277
65353
  const featuredItem = link.links[0];
65278
65354
  const gridItems = link.links.slice(1);
65279
- return /* @__PURE__ */ jsxRuntime.jsx(NavigationMenuContent, { className: "min-w-[900px] p-6", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex justify-between gap-8", children: [
65355
+ return /* @__PURE__ */ jsxRuntime.jsx(NavigationMenuContent, { className: "w-[900px] max-w-[calc(100vw-2rem)] p-6", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid grid-cols-[minmax(260px,0.8fr)_minmax(0,1.2fr)] gap-8", children: [
65280
65356
  /* @__PURE__ */ jsxRuntime.jsx(
65281
65357
  NavigationMenuLink,
65282
65358
  {
65283
65359
  href: getLinkUrl(featuredItem),
65284
- className: "group w-1/3 p-0 hover:bg-transparent",
65360
+ className: "group block h-full min-w-0 p-0 hover:bg-transparent",
65285
65361
  children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "overflow-clip rounded-lg border border-input bg-background", children: [
65286
65362
  /* @__PURE__ */ jsxRuntime.jsx("div", { children: /* @__PURE__ */ jsxRuntime.jsx(
65287
65363
  img.Img,
@@ -65299,13 +65375,13 @@ var NavbarPlatformResources = ({
65299
65375
  ] })
65300
65376
  }
65301
65377
  ),
65302
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "max-w-[760px] flex-1", children: [
65378
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "min-w-0", children: [
65303
65379
  link.dropdownGroups && link.dropdownGroups[0] && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-6 text-xs tracking-widest text-muted-foreground uppercase", children: link.dropdownGroups[0].label }),
65304
65380
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid grid-cols-1 gap-6 lg:grid-cols-2 lg:gap-8", children: gridItems.map((item, itemIndex) => /* @__PURE__ */ jsxRuntime.jsxs(
65305
65381
  NavigationMenuLink,
65306
65382
  {
65307
65383
  href: getLinkUrl(item),
65308
- className: "group block p-4",
65384
+ className: "group block h-full w-full min-w-0 rounded-md p-4",
65309
65385
  children: [
65310
65386
  (item.icon || item.iconName) && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-5 group-hover:opacity-60", children: /* @__PURE__ */ jsxRuntime.jsx(
65311
65387
  DynamicIcon,
@@ -65314,8 +65390,8 @@ var NavbarPlatformResources = ({
65314
65390
  size: 20
65315
65391
  }
65316
65392
  ) }),
65317
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-1 text-base", children: item.label }),
65318
- item.description && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-sm font-normal text-muted-foreground", children: item.description })
65393
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-1 break-words text-base", children: item.label }),
65394
+ item.description && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "break-words text-sm font-normal text-muted-foreground", children: item.description })
65319
65395
  ]
65320
65396
  },
65321
65397
  `${typeof item.label === "string" ? item.label : "item"}-${itemIndex}`
@@ -65325,14 +65401,14 @@ var NavbarPlatformResources = ({
65325
65401
  }
65326
65402
  if (layout === "two-column-cta" && link.dropdownGroups && link.dropdownGroups.length > 0) {
65327
65403
  const ctaItem = link.links && link.links.length > 0 ? link.links[link.links.length - 1] : null;
65328
- return /* @__PURE__ */ jsxRuntime.jsx(NavigationMenuContent, { className: "min-w-[900px] p-6", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex justify-between gap-4", children: [
65329
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "w-1/2 max-w-[510px]", children: link.dropdownGroups[0] && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
65404
+ return /* @__PURE__ */ jsxRuntime.jsx(NavigationMenuContent, { className: "w-[900px] max-w-[calc(100vw-2rem)] p-6", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid grid-cols-[minmax(0,1fr)_minmax(0,1fr)] gap-4", children: [
65405
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "min-w-0", children: link.dropdownGroups[0] && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
65330
65406
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-6 text-xs tracking-widest text-muted-foreground uppercase", children: link.dropdownGroups[0].label }),
65331
65407
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid grid-cols-2 gap-4", children: link.dropdownGroups[0].links.map((item, itemIndex) => /* @__PURE__ */ jsxRuntime.jsxs(
65332
65408
  NavigationMenuLink,
65333
65409
  {
65334
65410
  href: getLinkUrl(item),
65335
- className: "group flex flex-row items-center gap-5",
65411
+ className: "group !flex !w-full min-w-0 flex-row items-center gap-5 rounded-md p-2",
65336
65412
  children: [
65337
65413
  (item.icon || item.iconName) && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "group-hover:opacity-60", children: /* @__PURE__ */ jsxRuntime.jsx(
65338
65414
  DynamicIcon,
@@ -65341,7 +65417,7 @@ var NavbarPlatformResources = ({
65341
65417
  size: 16
65342
65418
  }
65343
65419
  ) }),
65344
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-base", children: item.label })
65420
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "min-w-0 break-words text-base", children: item.label })
65345
65421
  ]
65346
65422
  },
65347
65423
  `${typeof item.label === "string" ? item.label : "item"}-${itemIndex}`
@@ -65351,7 +65427,7 @@ var NavbarPlatformResources = ({
65351
65427
  NavigationMenuLink,
65352
65428
  {
65353
65429
  href: getLinkUrl(ctaItem),
65354
- className: "group flex-1 p-0 hover:bg-transparent",
65430
+ className: "group min-w-0 p-0 hover:bg-transparent",
65355
65431
  children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex h-full rounded-lg border border-input bg-background p-0 hover:bg-transparent", children: [
65356
65432
  ctaItem.image && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "w-2/5 max-w-[310px] shrink-0 overflow-clip rounded-tl-lg rounded-bl-lg", children: /* @__PURE__ */ jsxRuntime.jsx(
65357
65433
  img.Img,
@@ -65362,11 +65438,11 @@ var NavbarPlatformResources = ({
65362
65438
  optixFlowConfig
65363
65439
  }
65364
65440
  ) }),
65365
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col p-5 xl:p-8", children: [
65441
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex min-w-0 flex-col p-5 xl:p-8", children: [
65366
65442
  ctaItem.background && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-8 text-xs tracking-widest text-muted-foreground uppercase", children: ctaItem.background }),
65367
65443
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mt-auto", children: [
65368
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-4 text-xl", children: ctaItem.label }),
65369
- ctaItem.description && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-sm font-normal text-muted-foreground", children: ctaItem.description })
65444
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-4 break-words text-xl", children: ctaItem.label }),
65445
+ ctaItem.description && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "break-words text-sm font-normal text-muted-foreground", children: ctaItem.description })
65370
65446
  ] })
65371
65447
  ] })
65372
65448
  ] })
@@ -65377,15 +65453,15 @@ var NavbarPlatformResources = ({
65377
65453
  if (layout === "list-showcase" && link.dropdownGroups && link.dropdownGroups.length > 0) {
65378
65454
  const listItems = link.dropdownGroups[0].links;
65379
65455
  const showcaseItems = link.links || [];
65380
- return /* @__PURE__ */ jsxRuntime.jsx(NavigationMenuContent, { className: "min-w-[900px] p-6", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex justify-between gap-8", children: [
65381
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "w-1/3 max-w-[404px]", children: /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
65456
+ return /* @__PURE__ */ jsxRuntime.jsx(NavigationMenuContent, { className: "w-[900px] max-w-[calc(100vw-2rem)] p-6", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid grid-cols-[minmax(260px,0.7fr)_minmax(0,1.3fr)] gap-8", children: [
65457
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "min-w-0", children: /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
65382
65458
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-4 text-xs tracking-widest text-muted-foreground uppercase", children: link.dropdownGroups[0].label }),
65383
65459
  link.dropdownGroups[0].description && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-6 text-sm font-normal text-muted-foreground", children: link.dropdownGroups[0].description }),
65384
65460
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "-ml-2.5 space-y-2.5", children: listItems.map((item, itemIndex) => /* @__PURE__ */ jsxRuntime.jsxs(
65385
65461
  NavigationMenuLink,
65386
65462
  {
65387
65463
  href: getLinkUrl(item),
65388
- className: "group flex flex-row items-center gap-2.5 rounded-md p-2.5 focus:text-accent-foreground",
65464
+ className: "group !flex !w-full min-w-0 flex-row items-center gap-2.5 rounded-md p-2.5 focus:text-accent-foreground",
65389
65465
  children: [
65390
65466
  (item.icon || item.iconName) && /* @__PURE__ */ jsxRuntime.jsx(
65391
65467
  DynamicIcon,
@@ -65394,21 +65470,21 @@ var NavbarPlatformResources = ({
65394
65470
  size: 16
65395
65471
  }
65396
65472
  ),
65397
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-base", children: item.label })
65473
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "min-w-0 break-words text-base", children: item.label })
65398
65474
  ]
65399
65475
  },
65400
65476
  `${typeof item.label === "string" ? item.label : "item"}-${itemIndex}`
65401
65477
  )) })
65402
65478
  ] }) }),
65403
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "max-w-[716px] flex-1 space-y-6", children: showcaseItems.map((showcase, showcaseIndex) => /* @__PURE__ */ jsxRuntime.jsxs(
65479
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "min-w-0 space-y-6", children: showcaseItems.map((showcase, showcaseIndex) => /* @__PURE__ */ jsxRuntime.jsxs(
65404
65480
  NavigationMenuLink,
65405
65481
  {
65406
65482
  href: getLinkUrl(showcase),
65407
- className: "flex flex-row items-center overflow-clip rounded-lg border border-input bg-background p-0 hover:bg-transparent",
65483
+ className: "!flex !w-full min-w-0 flex-row items-center overflow-clip rounded-lg border border-input bg-background p-0 hover:bg-transparent",
65408
65484
  children: [
65409
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex-1 p-5 xl:p-8", children: [
65410
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-2 text-base", children: showcase.label }),
65411
- showcase.description && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-sm font-normal text-muted-foreground", children: showcase.description })
65485
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "min-w-0 flex-1 p-5 xl:p-8", children: [
65486
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-2 break-words text-base", children: showcase.label }),
65487
+ showcase.description && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "break-words text-sm font-normal text-muted-foreground", children: showcase.description })
65412
65488
  ] }),
65413
65489
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-[154px] max-w-[264px] shrink-0", children: /* @__PURE__ */ jsxRuntime.jsx(
65414
65490
  img.Img,
@@ -65427,7 +65503,7 @@ var NavbarPlatformResources = ({
65427
65503
  }
65428
65504
  if (layout === "multi-section" && link.dropdownGroups) {
65429
65505
  const ctaItem = link.links && link.links.length > 0 ? link.links[link.links.length - 1] : null;
65430
- return /* @__PURE__ */ jsxRuntime.jsx(NavigationMenuContent, { className: "min-w-[900px] p-8", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid grid-cols-2 gap-8", children: [
65506
+ return /* @__PURE__ */ jsxRuntime.jsx(NavigationMenuContent, { className: "w-[900px] max-w-[calc(100vw-2rem)] p-8", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid grid-cols-2 gap-8", children: [
65431
65507
  link.dropdownGroups.map((group, groupIndex) => /* @__PURE__ */ jsxRuntime.jsxs(
65432
65508
  "div",
65433
65509
  {
@@ -65438,10 +65514,10 @@ var NavbarPlatformResources = ({
65438
65514
  NavigationMenuLink,
65439
65515
  {
65440
65516
  href: getLinkUrl(item),
65441
- className: "flex h-full flex-col overflow-clip rounded-lg border border-input bg-background p-5 hover:bg-accent hover:text-accent-foreground xl:p-8",
65517
+ className: "!flex h-full w-full min-w-0 flex-col overflow-clip rounded-lg border border-input bg-background p-5 hover:bg-accent hover:text-accent-foreground xl:p-8",
65442
65518
  children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mt-auto", children: [
65443
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-2 text-base", children: item.label }),
65444
- item.description && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-sm font-normal text-muted-foreground", children: item.description })
65519
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-2 break-words text-base", children: item.label }),
65520
+ item.description && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "break-words text-sm font-normal text-muted-foreground", children: item.description })
65445
65521
  ] })
65446
65522
  },
65447
65523
  `${typeof item.label === "string" ? item.label : "item"}-${itemIndex}`
@@ -65455,11 +65531,11 @@ var NavbarPlatformResources = ({
65455
65531
  NavigationMenuLink,
65456
65532
  {
65457
65533
  href: getLinkUrl(ctaItem),
65458
- className: "mb-6 flex flex-row overflow-clip rounded-lg border border-input bg-background p-0 hover:bg-transparent",
65534
+ className: "mb-6 !flex !w-full min-w-0 flex-row overflow-clip rounded-lg border border-input bg-background p-0 hover:bg-transparent",
65459
65535
  children: [
65460
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex-1 p-5 xl:p-8", children: [
65461
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-2 text-base", children: ctaItem.label }),
65462
- ctaItem.description && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-sm font-normal text-muted-foreground", children: ctaItem.description })
65536
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "min-w-0 flex-1 p-5 xl:p-8", children: [
65537
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-2 break-words text-base", children: ctaItem.label }),
65538
+ ctaItem.description && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "break-words text-sm font-normal text-muted-foreground", children: ctaItem.description })
65463
65539
  ] }),
65464
65540
  ctaItem.image && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "w-1/3 max-w-[130px] shrink-0", children: /* @__PURE__ */ jsxRuntime.jsx(
65465
65541
  img.Img,
@@ -65480,13 +65556,13 @@ var NavbarPlatformResources = ({
65480
65556
  ] })
65481
65557
  ] }) });
65482
65558
  }
65483
- return /* @__PURE__ */ jsxRuntime.jsx(NavigationMenuContent, { className: "min-w-[640px] p-4", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-3", children: link.links?.map((item, itemIndex) => /* @__PURE__ */ jsxRuntime.jsxs(
65559
+ return /* @__PURE__ */ jsxRuntime.jsx(NavigationMenuContent, { className: "w-[900px] max-w-[calc(100vw-2rem)] p-4", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-3", children: link.links?.map((item, itemIndex) => /* @__PURE__ */ jsxRuntime.jsxs(
65484
65560
  NavigationMenuLink,
65485
65561
  {
65486
65562
  href: getLinkUrl(item),
65487
- className: "flex flex-row items-start gap-4 rounded-lg border border-input bg-background p-4 hover:bg-accent hover:text-accent-foreground",
65563
+ className: "!flex !w-full min-w-0 flex-row items-center gap-4 rounded-lg border border-input bg-background p-4 hover:bg-accent hover:text-accent-foreground",
65488
65564
  children: [
65489
- item.image && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-12 w-12 overflow-hidden rounded-md border border-border", children: /* @__PURE__ */ jsxRuntime.jsx(
65565
+ item.image && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-12 w-12 shrink-0 overflow-hidden rounded-md border border-border", children: /* @__PURE__ */ jsxRuntime.jsx(
65490
65566
  img.Img,
65491
65567
  {
65492
65568
  src: item.image,
@@ -65495,10 +65571,10 @@ var NavbarPlatformResources = ({
65495
65571
  optixFlowConfig
65496
65572
  }
65497
65573
  ) }),
65498
- !item.image && (item.icon || item.iconName) && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex h-12 w-12 items-center justify-center rounded-md border border-border bg-muted/40 text-muted-foreground", children: /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: item.icon || item.iconName, size: 18 }) }),
65499
- /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
65500
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-sm font-medium text-foreground", children: item.label }),
65501
- item.description && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-sm font-normal text-muted-foreground", children: item.description })
65574
+ !item.image && (item.icon || item.iconName) && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex h-12 w-12 shrink-0 items-center justify-center rounded-md border border-border bg-muted/40 text-muted-foreground", children: /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: item.icon || item.iconName, size: 18 }) }),
65575
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "min-w-0 flex-1", children: [
65576
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "break-words text-sm font-medium text-foreground", children: item.label }),
65577
+ item.description && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "break-words text-sm font-normal text-muted-foreground", children: item.description })
65502
65578
  ] })
65503
65579
  ]
65504
65580
  },
@@ -66288,13 +66364,14 @@ var MenuSubLink = ({ link }) => {
66288
66364
  href: link.url,
66289
66365
  className: "flex items-center gap-4 rounded-lg p-2 hover:bg-muted",
66290
66366
  children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex w-full items-center justify-between", children: [
66291
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex gap-2.5", children: [
66367
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2.5", children: [
66292
66368
  /* @__PURE__ */ jsxRuntime.jsx(
66293
66369
  DynamicIcon,
66294
66370
  {
66295
66371
  name: link.icon || link.iconName,
66296
66372
  size: 20,
66297
- color: link.iconColor
66373
+ color: link.iconColor,
66374
+ className: "shrink-0"
66298
66375
  }
66299
66376
  ),
66300
66377
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-1.5", children: [
@@ -68361,20 +68438,26 @@ var NavbarStickyCompact = ({
68361
68438
  children: renderAuthActions
68362
68439
  }
68363
68440
  ),
68364
- /* @__PURE__ */ jsxRuntime.jsxs(
68441
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex lg:hidden", children: /* @__PURE__ */ jsxRuntime.jsxs(
68365
68442
  pressable.Pressable,
68366
68443
  {
68367
68444
  variant: "ghost",
68368
68445
  size: isScrolled ? "sm" : "icon",
68369
68446
  asButton: true,
68370
- className: "lg:hidden transition-all duration-300",
68447
+ className: "transition-all duration-300",
68371
68448
  onClick: () => setIsOpen(!isOpen),
68372
68449
  children: [
68373
- /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: "lucide/menu", size: isScrolled ? 18 : 20 }),
68450
+ /* @__PURE__ */ jsxRuntime.jsx(
68451
+ DynamicIcon,
68452
+ {
68453
+ name: "lucide/menu",
68454
+ size: isScrolled ? 18 : 20
68455
+ }
68456
+ ),
68374
68457
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sr-only", children: "Toggle menu" })
68375
68458
  ]
68376
68459
  }
68377
- )
68460
+ ) })
68378
68461
  ]
68379
68462
  }
68380
68463
  ) }) }) })
@@ -69149,20 +69232,19 @@ var NavbarSplitCta = ({
69149
69232
  children: renderAuthActions
69150
69233
  }
69151
69234
  ),
69152
- /* @__PURE__ */ jsxRuntime.jsxs(
69235
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex lg:hidden", children: /* @__PURE__ */ jsxRuntime.jsxs(
69153
69236
  pressable.Pressable,
69154
69237
  {
69155
69238
  variant: "ghost",
69156
69239
  size: "icon",
69157
69240
  asButton: true,
69158
- className: "lg:hidden",
69159
69241
  onClick: () => setIsOpen(!isOpen),
69160
69242
  children: [
69161
69243
  /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: "lucide/menu", size: 20 }),
69162
69244
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sr-only", children: "Toggle menu" })
69163
69245
  ]
69164
69246
  }
69165
- ),
69247
+ ) }),
69166
69248
  /* @__PURE__ */ jsxRuntime.jsx(
69167
69249
  NavbarMobileMenu,
69168
69250
  {
@@ -69655,20 +69737,19 @@ var NavbarTabbedSections = ({
69655
69737
  children: renderAuthActions
69656
69738
  }
69657
69739
  ),
69658
- /* @__PURE__ */ jsxRuntime.jsxs(
69740
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex lg:hidden", children: /* @__PURE__ */ jsxRuntime.jsxs(
69659
69741
  pressable.Pressable,
69660
69742
  {
69661
69743
  variant: "ghost",
69662
69744
  size: "icon",
69663
69745
  asButton: true,
69664
- className: "lg:hidden",
69665
69746
  onClick: () => setIsOpen(!isOpen),
69666
69747
  children: [
69667
69748
  /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: "lucide/menu", size: 20 }),
69668
69749
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sr-only", children: "Toggle menu" })
69669
69750
  ]
69670
69751
  }
69671
- ),
69752
+ ) }),
69672
69753
  /* @__PURE__ */ jsxRuntime.jsx(
69673
69754
  NavbarMobileMenu,
69674
69755
  {