@opensite/ui 3.3.1 → 3.3.3

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.
package/dist/registry.cjs CHANGED
@@ -27166,7 +27166,7 @@ function FeatureCapabilitiesGrid({
27166
27166
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute -left-2 -bottom-2 h-3 w-3 bg-background" }),
27167
27167
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute -right-2 -bottom-2 h-3 w-3 bg-background" })
27168
27168
  ] }),
27169
- /* @__PURE__ */ jsxRuntime.jsxs(CardHeader, { className: "relative z-10 flex flex-row items-start gap-3 p-6", children: [
27169
+ /* @__PURE__ */ jsxRuntime.jsxs(CardHeader, { className: "relative z-10 flex flex-row items-start gap-3 pt-6 px-6 pb-0", children: [
27170
27170
  iconContent && /* @__PURE__ */ jsxRuntime.jsx(
27171
27171
  "div",
27172
27172
  {
@@ -27182,31 +27182,13 @@ function FeatureCapabilitiesGrid({
27182
27182
  {
27183
27183
  href: item.href,
27184
27184
  className: "flex-1 h-full flex items-center",
27185
- children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2", children: [
27186
- item.title && (typeof item.title === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
27187
- "h3",
27188
- {
27189
- className: cn("text-lg font-medium", item.titleClassName),
27190
- children: item.title
27191
- }
27192
- ) : /* @__PURE__ */ jsxRuntime.jsx(
27193
- "div",
27194
- {
27195
- className: cn("text-lg font-medium", item.titleClassName),
27196
- children: item.title
27197
- }
27198
- )),
27199
- item.badge && /* @__PURE__ */ jsxRuntime.jsx(
27200
- "span",
27201
- {
27202
- className: cn(
27203
- "rounded-full border px-2 py-0.5 text-[10px] leading-none",
27204
- item.badgeClassName
27205
- ),
27206
- children: item.badge
27207
- }
27208
- )
27209
- ] })
27185
+ children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex items-center gap-2", children: item.title && (typeof item.title === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
27186
+ "h3",
27187
+ {
27188
+ className: cn("text-lg font-medium", item.titleClassName),
27189
+ children: item.title
27190
+ }
27191
+ ) : item.title) })
27210
27192
  }
27211
27193
  )
27212
27194
  ] }),
@@ -27248,13 +27230,7 @@ function FeatureCapabilitiesGrid({
27248
27230
  containerClassName,
27249
27231
  children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col space-y-6 md:space-y-16", children: [
27250
27232
  eyebrow || heading ? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col space-y-4 md:space-y-6", children: [
27251
- eyebrow && (typeof eyebrow === "string" ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: cn("text-sm tracking-widest", eyebrowClassName), children: eyebrow }) : /* @__PURE__ */ jsxRuntime.jsx(
27252
- "div",
27253
- {
27254
- className: cn("text-sm tracking-widest", eyebrowClassName),
27255
- children: eyebrow
27256
- }
27257
- )),
27233
+ eyebrow && (typeof eyebrow === "string" ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: cn("text-sm tracking-widest", eyebrowClassName), children: eyebrow }) : eyebrow),
27258
27234
  heading && (typeof heading === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
27259
27235
  "h2",
27260
27236
  {
@@ -27264,16 +27240,7 @@ function FeatureCapabilitiesGrid({
27264
27240
  ),
27265
27241
  children: heading
27266
27242
  }
27267
- ) : /* @__PURE__ */ jsxRuntime.jsx(
27268
- "div",
27269
- {
27270
- className: cn(
27271
- "text-4xl font-semibold sm:text-5xl",
27272
- headingClassName
27273
- ),
27274
- children: heading
27275
- }
27276
- ))
27243
+ ) : heading)
27277
27244
  ] }) : null,
27278
27245
  /* @__PURE__ */ jsxRuntime.jsx(
27279
27246
  "div",
@@ -50088,36 +50055,6 @@ function HeroImageSlider({
50088
50055
  privacyNoticeClassName,
50089
50056
  gridClassName
50090
50057
  }) {
50091
- const renderActions = React30.useMemo(() => {
50092
- if (actionsSlot) return actionsSlot;
50093
- if (!actions || actions.length === 0) return null;
50094
- return actions.map((action, index) => {
50095
- const {
50096
- label,
50097
- icon,
50098
- iconAfter,
50099
- children,
50100
- className: actionClassName,
50101
- asButton,
50102
- ...pressableProps
50103
- } = action;
50104
- return /* @__PURE__ */ jsxRuntime.jsx(
50105
- pressable.Pressable,
50106
- {
50107
- asButton: asButton ?? false,
50108
- variant: "link",
50109
- className: cn("text-primary p-0 h-auto", actionClassName),
50110
- ...pressableProps,
50111
- children: children ?? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
50112
- icon,
50113
- label,
50114
- iconAfter
50115
- ] })
50116
- },
50117
- index
50118
- );
50119
- });
50120
- }, [actionsSlot, actions]);
50121
50058
  const renderContent = React30.useMemo(() => {
50122
50059
  if (contentSlot) return contentSlot;
50123
50060
  return /* @__PURE__ */ jsxRuntime.jsxs(
@@ -50158,16 +50095,14 @@ function HeroImageSlider({
50158
50095
  children: description
50159
50096
  }
50160
50097
  ) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("mt-4", descriptionClassName), children: description }) : null,
50161
- actionsSlot || actions && actions.length > 0 ? /* @__PURE__ */ jsxRuntime.jsx(
50162
- "div",
50098
+ /* @__PURE__ */ jsxRuntime.jsx(
50099
+ BlockActions,
50163
50100
  {
50164
- className: cn(
50165
- "mt-6 flex flex-col items-start gap-3 sm:flex-row",
50166
- actionsClassName
50167
- ),
50168
- children: renderActions
50101
+ actions,
50102
+ actionsSlot,
50103
+ actionsClassName
50169
50104
  }
50170
- ) : null
50105
+ )
50171
50106
  ]
50172
50107
  }
50173
50108
  );
@@ -50182,8 +50117,7 @@ function HeroImageSlider({
50182
50117
  eyebrowClassName,
50183
50118
  headingClassName,
50184
50119
  descriptionClassName,
50185
- actionsClassName,
50186
- renderActions
50120
+ actionsClassName
50187
50121
  ]);
50188
50122
  const hasForm = formEngineSetup !== void 0;
50189
50123
  return /* @__PURE__ */ jsxRuntime.jsxs(
@@ -50211,7 +50145,7 @@ function HeroImageSlider({
50211
50145
  "bg-linear-to-r from-black/70 via-black/50 to-black/30",
50212
50146
  overlayClassName
50213
50147
  ),
50214
- className: "min-h-full w-full rounded-none border-none shadow-none",
50148
+ className: "min-h-full w-full rounded-none md:rounded-2xl border-none shadow-none md:shadow-xl overflow-hidden",
50215
50149
  imageClassName: cn("scale-[1.02]", imageClassName),
50216
50150
  optixFlowConfig
50217
50151
  }
@@ -59580,7 +59514,7 @@ function HeroConversationIntelligence({
59580
59514
  imageSlot,
59581
59515
  background,
59582
59516
  containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
59583
- spacing = "py-32 md:py-32",
59517
+ spacing = "hero",
59584
59518
  pattern,
59585
59519
  patternOpacity,
59586
59520
  patternClassName,
@@ -59633,7 +59567,7 @@ function HeroConversationIntelligence({
59633
59567
  "div",
59634
59568
  {
59635
59569
  className: cn(
59636
- "relative z-10 mx-auto flex max-w-220 flex-col gap-7",
59570
+ "relative z-10 mx-auto flex max-w-full md:max-w-220 flex-col items-center gap-7",
59637
59571
  contentClassName
59638
59572
  ),
59639
59573
  children: [
@@ -59656,13 +59590,13 @@ function HeroConversationIntelligence({
59656
59590
  ),
59657
59591
  children: description
59658
59592
  }
59659
- ) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: descriptionClassName, children: description })),
59593
+ ) : description),
59660
59594
  /* @__PURE__ */ jsxRuntime.jsx(
59661
59595
  BlockActions,
59662
59596
  {
59663
59597
  actions,
59664
59598
  actionsSlot,
59665
- actionsClassName
59599
+ actionsClassName: cn(actionsClassName, "justify-center")
59666
59600
  }
59667
59601
  )
59668
59602
  ]
@@ -63616,11 +63550,20 @@ var NavbarMegaMenu = ({
63616
63550
  className: actionClassName,
63617
63551
  ...pressableProps
63618
63552
  } = action;
63619
- return /* @__PURE__ */ jsxRuntime.jsx(pressable.Pressable, { className: actionClassName, ...pressableProps, children: children ?? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
63620
- icon,
63621
- label,
63622
- iconAfter
63623
- ] }) }, index);
63553
+ return /* @__PURE__ */ jsxRuntime.jsx(
63554
+ pressable.Pressable,
63555
+ {
63556
+ asButton: true,
63557
+ className: actionClassName,
63558
+ ...pressableProps,
63559
+ children: children ?? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
63560
+ icon,
63561
+ label,
63562
+ iconAfter
63563
+ ] })
63564
+ },
63565
+ index
63566
+ );
63624
63567
  });
63625
63568
  };
63626
63569
  const {
@@ -97395,6 +97338,7 @@ function StatsGrowthTimeline({
97395
97338
  futureSlot,
97396
97339
  actions,
97397
97340
  actionsSlot,
97341
+ actionsClassName,
97398
97342
  background,
97399
97343
  pattern,
97400
97344
  patternOpacity,
@@ -97441,19 +97385,18 @@ function StatsGrowthTimeline({
97441
97385
  "div",
97442
97386
  {
97443
97387
  className: cn(
97444
- "mb-4 inline-flex h-9 w-20 items-center justify-center rounded-full text-sm font-semibold",
97445
- getNestedCardBg(background, "muted"),
97446
- getNestedCardTextColor(background)
97388
+ "bg-muted text-muted-foreground",
97389
+ "mb-4 inline-flex h-fit py-2 w-fit px-4 items-center justify-center rounded-full text-sm font-semibold"
97447
97390
  ),
97448
97391
  children: milestone.year
97449
97392
  }
97450
97393
  ),
97451
- milestone.title && (typeof milestone.title === "string" ? /* @__PURE__ */ jsxRuntime.jsx("h3", { className: "mb-2 text-xl font-bold", children: milestone.title }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-2", children: milestone.title })),
97452
- milestone.description && (typeof milestone.description === "string" ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mb-4 text-muted-foreground", children: milestone.description }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-4", children: milestone.description })),
97394
+ milestone.title && (typeof milestone.title === "string" ? /* @__PURE__ */ jsxRuntime.jsx("h3", { className: "mb-2 text-xl font-bold", children: milestone.title }) : milestone.title),
97395
+ milestone.description && (typeof milestone.description === "string" ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mb-4 text-muted-foreground", children: milestone.description }) : milestone.description),
97453
97396
  milestone.metric && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-4 rounded-lg border bg-background p-4 shadow-sm", children: [
97454
97397
  renderMilestoneIcon(milestone),
97455
97398
  /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
97456
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-3xl font-bold text-primary", children: milestone.metric.value }),
97399
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-2xl font-bold text-primary", children: milestone.metric.value }),
97457
97400
  milestone.metric.label && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-sm text-muted-foreground", children: milestone.metric.label })
97458
97401
  ] })
97459
97402
  ] })
@@ -97479,16 +97422,15 @@ function StatsGrowthTimeline({
97479
97422
  "div",
97480
97423
  {
97481
97424
  className: cn(
97482
- "mt-24 rounded-lg p-8",
97483
- getNestedCardBg(background, "muted"),
97484
- getNestedCardTextColor(background),
97425
+ "p-6 md:p-12 bg-card text-card-foreground",
97426
+ "mt-24 rounded-lg border border-border shadow-md",
97485
97427
  currentStatsClassName
97486
97428
  ),
97487
97429
  children: [
97488
- currentStatsHeading && (typeof currentStatsHeading === "string" ? /* @__PURE__ */ jsxRuntime.jsx("h3", { className: "mb-6 text-center text-2xl font-bold", children: currentStatsHeading }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-6 text-center", children: currentStatsHeading })),
97430
+ currentStatsHeading && (typeof currentStatsHeading === "string" ? /* @__PURE__ */ jsxRuntime.jsx("h3", { className: "mb-12 text-center text-4xl lg:text-5xl font-bold", children: currentStatsHeading }) : currentStatsHeading),
97489
97431
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid grid-cols-2 gap-8 md:grid-cols-4", children: currentStats.map((stat, index) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("text-center", stat.className), children: [
97490
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-2 text-3xl font-bold text-primary md:text-4xl", children: stat.value }),
97491
- stat.label && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "font-medium text-muted-foreground", children: stat.label })
97432
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-2xl font-semibold text-primary md:text-3xl xl:text-4xl", children: stat.value }),
97433
+ stat.label && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "font-medium text-balance text-sm", children: stat.label })
97492
97434
  ] }, index)) })
97493
97435
  ]
97494
97436
  }
@@ -97500,39 +97442,29 @@ function StatsGrowthTimeline({
97500
97442
  currentStatsHeading,
97501
97443
  currentStatsClassName
97502
97444
  ]);
97503
- const actionsContent = React30.useMemo(() => {
97504
- if (actionsSlot) return actionsSlot;
97505
- if (!actions || actions.length === 0) return null;
97506
- return actions.map((action, index) => /* @__PURE__ */ jsxRuntime.jsxs(
97507
- pressable.Pressable,
97508
- {
97509
- href: action.href,
97510
- onClick: action.onClick,
97511
- variant: action.variant,
97512
- className: "inline-flex items-center font-medium text-primary hover:underline",
97513
- children: [
97514
- action.label,
97515
- /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: "lucide/arrow-right", size: 16, className: "ml-2" })
97516
- ]
97517
- },
97518
- index
97519
- ));
97520
- }, [actionsSlot, actions]);
97521
97445
  const futureContent = React30.useMemo(() => {
97522
97446
  if (futureSlot) return futureSlot;
97523
97447
  if (!futureHeading && !futureDescription && (!actions || actions.length === 0))
97524
97448
  return null;
97525
97449
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("mt-16 text-center", futureClassName), children: [
97526
97450
  futureHeading && (typeof futureHeading === "string" ? /* @__PURE__ */ jsxRuntime.jsx("h3", { className: "mb-4 text-2xl font-bold", children: futureHeading }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-4", children: futureHeading })),
97527
- futureDescription && (typeof futureDescription === "string" ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mx-auto mb-8 max-w-2xl text-muted-foreground", children: futureDescription }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mx-auto mb-8 max-w-2xl", children: futureDescription })),
97528
- actionsContent
97451
+ futureDescription && (typeof futureDescription === "string" ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mx-auto mb-8 max-w-full md:max-w-lg text-balance", children: futureDescription }) : futureDescription),
97452
+ /* @__PURE__ */ jsxRuntime.jsx(
97453
+ BlockActions,
97454
+ {
97455
+ actions,
97456
+ actionsSlot,
97457
+ actionsClassName
97458
+ }
97459
+ )
97529
97460
  ] });
97530
97461
  }, [
97531
97462
  futureSlot,
97532
97463
  futureHeading,
97533
97464
  futureDescription,
97534
97465
  futureClassName,
97535
- actionsContent,
97466
+ actionsSlot,
97467
+ actionsClassName,
97536
97468
  actions
97537
97469
  ]);
97538
97470
  const hasHeaderContent = !!(badge || badgeSlot || heading || description);
@@ -97569,7 +97501,7 @@ function StatsGrowthTimeline({
97569
97501
  ),
97570
97502
  children: description
97571
97503
  }
97572
- ) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("mx-auto max-w-3xl", descriptionClassName), children: description }))
97504
+ ) : description)
97573
97505
  ] }),
97574
97506
  milestonesContent,
97575
97507
  currentStatsContent,
package/dist/registry.js CHANGED
@@ -27126,7 +27126,7 @@ function FeatureCapabilitiesGrid({
27126
27126
  /* @__PURE__ */ jsx("div", { className: "absolute -left-2 -bottom-2 h-3 w-3 bg-background" }),
27127
27127
  /* @__PURE__ */ jsx("div", { className: "absolute -right-2 -bottom-2 h-3 w-3 bg-background" })
27128
27128
  ] }),
27129
- /* @__PURE__ */ jsxs(CardHeader, { className: "relative z-10 flex flex-row items-start gap-3 p-6", children: [
27129
+ /* @__PURE__ */ jsxs(CardHeader, { className: "relative z-10 flex flex-row items-start gap-3 pt-6 px-6 pb-0", children: [
27130
27130
  iconContent && /* @__PURE__ */ jsx(
27131
27131
  "div",
27132
27132
  {
@@ -27142,31 +27142,13 @@ function FeatureCapabilitiesGrid({
27142
27142
  {
27143
27143
  href: item.href,
27144
27144
  className: "flex-1 h-full flex items-center",
27145
- children: /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2", children: [
27146
- item.title && (typeof item.title === "string" ? /* @__PURE__ */ jsx(
27147
- "h3",
27148
- {
27149
- className: cn("text-lg font-medium", item.titleClassName),
27150
- children: item.title
27151
- }
27152
- ) : /* @__PURE__ */ jsx(
27153
- "div",
27154
- {
27155
- className: cn("text-lg font-medium", item.titleClassName),
27156
- children: item.title
27157
- }
27158
- )),
27159
- item.badge && /* @__PURE__ */ jsx(
27160
- "span",
27161
- {
27162
- className: cn(
27163
- "rounded-full border px-2 py-0.5 text-[10px] leading-none",
27164
- item.badgeClassName
27165
- ),
27166
- children: item.badge
27167
- }
27168
- )
27169
- ] })
27145
+ children: /* @__PURE__ */ jsx("div", { className: "flex items-center gap-2", children: item.title && (typeof item.title === "string" ? /* @__PURE__ */ jsx(
27146
+ "h3",
27147
+ {
27148
+ className: cn("text-lg font-medium", item.titleClassName),
27149
+ children: item.title
27150
+ }
27151
+ ) : item.title) })
27170
27152
  }
27171
27153
  )
27172
27154
  ] }),
@@ -27208,13 +27190,7 @@ function FeatureCapabilitiesGrid({
27208
27190
  containerClassName,
27209
27191
  children: /* @__PURE__ */ jsxs("div", { className: "flex flex-col space-y-6 md:space-y-16", children: [
27210
27192
  eyebrow || heading ? /* @__PURE__ */ jsxs("div", { className: "flex flex-col space-y-4 md:space-y-6", children: [
27211
- eyebrow && (typeof eyebrow === "string" ? /* @__PURE__ */ jsx("p", { className: cn("text-sm tracking-widest", eyebrowClassName), children: eyebrow }) : /* @__PURE__ */ jsx(
27212
- "div",
27213
- {
27214
- className: cn("text-sm tracking-widest", eyebrowClassName),
27215
- children: eyebrow
27216
- }
27217
- )),
27193
+ eyebrow && (typeof eyebrow === "string" ? /* @__PURE__ */ jsx("p", { className: cn("text-sm tracking-widest", eyebrowClassName), children: eyebrow }) : eyebrow),
27218
27194
  heading && (typeof heading === "string" ? /* @__PURE__ */ jsx(
27219
27195
  "h2",
27220
27196
  {
@@ -27224,16 +27200,7 @@ function FeatureCapabilitiesGrid({
27224
27200
  ),
27225
27201
  children: heading
27226
27202
  }
27227
- ) : /* @__PURE__ */ jsx(
27228
- "div",
27229
- {
27230
- className: cn(
27231
- "text-4xl font-semibold sm:text-5xl",
27232
- headingClassName
27233
- ),
27234
- children: heading
27235
- }
27236
- ))
27203
+ ) : heading)
27237
27204
  ] }) : null,
27238
27205
  /* @__PURE__ */ jsx(
27239
27206
  "div",
@@ -50048,36 +50015,6 @@ function HeroImageSlider({
50048
50015
  privacyNoticeClassName,
50049
50016
  gridClassName
50050
50017
  }) {
50051
- const renderActions = useMemo(() => {
50052
- if (actionsSlot) return actionsSlot;
50053
- if (!actions || actions.length === 0) return null;
50054
- return actions.map((action, index) => {
50055
- const {
50056
- label,
50057
- icon,
50058
- iconAfter,
50059
- children,
50060
- className: actionClassName,
50061
- asButton,
50062
- ...pressableProps
50063
- } = action;
50064
- return /* @__PURE__ */ jsx(
50065
- Pressable,
50066
- {
50067
- asButton: asButton ?? false,
50068
- variant: "link",
50069
- className: cn("text-primary p-0 h-auto", actionClassName),
50070
- ...pressableProps,
50071
- children: children ?? /* @__PURE__ */ jsxs(Fragment$1, { children: [
50072
- icon,
50073
- label,
50074
- iconAfter
50075
- ] })
50076
- },
50077
- index
50078
- );
50079
- });
50080
- }, [actionsSlot, actions]);
50081
50018
  const renderContent = useMemo(() => {
50082
50019
  if (contentSlot) return contentSlot;
50083
50020
  return /* @__PURE__ */ jsxs(
@@ -50118,16 +50055,14 @@ function HeroImageSlider({
50118
50055
  children: description
50119
50056
  }
50120
50057
  ) : /* @__PURE__ */ jsx("div", { className: cn("mt-4", descriptionClassName), children: description }) : null,
50121
- actionsSlot || actions && actions.length > 0 ? /* @__PURE__ */ jsx(
50122
- "div",
50058
+ /* @__PURE__ */ jsx(
50059
+ BlockActions,
50123
50060
  {
50124
- className: cn(
50125
- "mt-6 flex flex-col items-start gap-3 sm:flex-row",
50126
- actionsClassName
50127
- ),
50128
- children: renderActions
50061
+ actions,
50062
+ actionsSlot,
50063
+ actionsClassName
50129
50064
  }
50130
- ) : null
50065
+ )
50131
50066
  ]
50132
50067
  }
50133
50068
  );
@@ -50142,8 +50077,7 @@ function HeroImageSlider({
50142
50077
  eyebrowClassName,
50143
50078
  headingClassName,
50144
50079
  descriptionClassName,
50145
- actionsClassName,
50146
- renderActions
50080
+ actionsClassName
50147
50081
  ]);
50148
50082
  const hasForm = formEngineSetup !== void 0;
50149
50083
  return /* @__PURE__ */ jsxs(
@@ -50171,7 +50105,7 @@ function HeroImageSlider({
50171
50105
  "bg-linear-to-r from-black/70 via-black/50 to-black/30",
50172
50106
  overlayClassName
50173
50107
  ),
50174
- className: "min-h-full w-full rounded-none border-none shadow-none",
50108
+ className: "min-h-full w-full rounded-none md:rounded-2xl border-none shadow-none md:shadow-xl overflow-hidden",
50175
50109
  imageClassName: cn("scale-[1.02]", imageClassName),
50176
50110
  optixFlowConfig
50177
50111
  }
@@ -59540,7 +59474,7 @@ function HeroConversationIntelligence({
59540
59474
  imageSlot,
59541
59475
  background,
59542
59476
  containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
59543
- spacing = "py-32 md:py-32",
59477
+ spacing = "hero",
59544
59478
  pattern,
59545
59479
  patternOpacity,
59546
59480
  patternClassName,
@@ -59593,7 +59527,7 @@ function HeroConversationIntelligence({
59593
59527
  "div",
59594
59528
  {
59595
59529
  className: cn(
59596
- "relative z-10 mx-auto flex max-w-220 flex-col gap-7",
59530
+ "relative z-10 mx-auto flex max-w-full md:max-w-220 flex-col items-center gap-7",
59597
59531
  contentClassName
59598
59532
  ),
59599
59533
  children: [
@@ -59616,13 +59550,13 @@ function HeroConversationIntelligence({
59616
59550
  ),
59617
59551
  children: description
59618
59552
  }
59619
- ) : /* @__PURE__ */ jsx("div", { className: descriptionClassName, children: description })),
59553
+ ) : description),
59620
59554
  /* @__PURE__ */ jsx(
59621
59555
  BlockActions,
59622
59556
  {
59623
59557
  actions,
59624
59558
  actionsSlot,
59625
- actionsClassName
59559
+ actionsClassName: cn(actionsClassName, "justify-center")
59626
59560
  }
59627
59561
  )
59628
59562
  ]
@@ -63576,11 +63510,20 @@ var NavbarMegaMenu = ({
63576
63510
  className: actionClassName,
63577
63511
  ...pressableProps
63578
63512
  } = action;
63579
- return /* @__PURE__ */ jsx(Pressable, { className: actionClassName, ...pressableProps, children: children ?? /* @__PURE__ */ jsxs(Fragment$1, { children: [
63580
- icon,
63581
- label,
63582
- iconAfter
63583
- ] }) }, index);
63513
+ return /* @__PURE__ */ jsx(
63514
+ Pressable,
63515
+ {
63516
+ asButton: true,
63517
+ className: actionClassName,
63518
+ ...pressableProps,
63519
+ children: children ?? /* @__PURE__ */ jsxs(Fragment$1, { children: [
63520
+ icon,
63521
+ label,
63522
+ iconAfter
63523
+ ] })
63524
+ },
63525
+ index
63526
+ );
63584
63527
  });
63585
63528
  };
63586
63529
  const {
@@ -97355,6 +97298,7 @@ function StatsGrowthTimeline({
97355
97298
  futureSlot,
97356
97299
  actions,
97357
97300
  actionsSlot,
97301
+ actionsClassName,
97358
97302
  background,
97359
97303
  pattern,
97360
97304
  patternOpacity,
@@ -97401,19 +97345,18 @@ function StatsGrowthTimeline({
97401
97345
  "div",
97402
97346
  {
97403
97347
  className: cn(
97404
- "mb-4 inline-flex h-9 w-20 items-center justify-center rounded-full text-sm font-semibold",
97405
- getNestedCardBg(background, "muted"),
97406
- getNestedCardTextColor(background)
97348
+ "bg-muted text-muted-foreground",
97349
+ "mb-4 inline-flex h-fit py-2 w-fit px-4 items-center justify-center rounded-full text-sm font-semibold"
97407
97350
  ),
97408
97351
  children: milestone.year
97409
97352
  }
97410
97353
  ),
97411
- milestone.title && (typeof milestone.title === "string" ? /* @__PURE__ */ jsx("h3", { className: "mb-2 text-xl font-bold", children: milestone.title }) : /* @__PURE__ */ jsx("div", { className: "mb-2", children: milestone.title })),
97412
- milestone.description && (typeof milestone.description === "string" ? /* @__PURE__ */ jsx("p", { className: "mb-4 text-muted-foreground", children: milestone.description }) : /* @__PURE__ */ jsx("div", { className: "mb-4", children: milestone.description })),
97354
+ milestone.title && (typeof milestone.title === "string" ? /* @__PURE__ */ jsx("h3", { className: "mb-2 text-xl font-bold", children: milestone.title }) : milestone.title),
97355
+ milestone.description && (typeof milestone.description === "string" ? /* @__PURE__ */ jsx("p", { className: "mb-4 text-muted-foreground", children: milestone.description }) : milestone.description),
97413
97356
  milestone.metric && /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-4 rounded-lg border bg-background p-4 shadow-sm", children: [
97414
97357
  renderMilestoneIcon(milestone),
97415
97358
  /* @__PURE__ */ jsxs("div", { children: [
97416
- /* @__PURE__ */ jsx("div", { className: "text-3xl font-bold text-primary", children: milestone.metric.value }),
97359
+ /* @__PURE__ */ jsx("div", { className: "text-2xl font-bold text-primary", children: milestone.metric.value }),
97417
97360
  milestone.metric.label && /* @__PURE__ */ jsx("div", { className: "text-sm text-muted-foreground", children: milestone.metric.label })
97418
97361
  ] })
97419
97362
  ] })
@@ -97439,16 +97382,15 @@ function StatsGrowthTimeline({
97439
97382
  "div",
97440
97383
  {
97441
97384
  className: cn(
97442
- "mt-24 rounded-lg p-8",
97443
- getNestedCardBg(background, "muted"),
97444
- getNestedCardTextColor(background),
97385
+ "p-6 md:p-12 bg-card text-card-foreground",
97386
+ "mt-24 rounded-lg border border-border shadow-md",
97445
97387
  currentStatsClassName
97446
97388
  ),
97447
97389
  children: [
97448
- currentStatsHeading && (typeof currentStatsHeading === "string" ? /* @__PURE__ */ jsx("h3", { className: "mb-6 text-center text-2xl font-bold", children: currentStatsHeading }) : /* @__PURE__ */ jsx("div", { className: "mb-6 text-center", children: currentStatsHeading })),
97390
+ currentStatsHeading && (typeof currentStatsHeading === "string" ? /* @__PURE__ */ jsx("h3", { className: "mb-12 text-center text-4xl lg:text-5xl font-bold", children: currentStatsHeading }) : currentStatsHeading),
97449
97391
  /* @__PURE__ */ jsx("div", { className: "grid grid-cols-2 gap-8 md:grid-cols-4", children: currentStats.map((stat, index) => /* @__PURE__ */ jsxs("div", { className: cn("text-center", stat.className), children: [
97450
- /* @__PURE__ */ jsx("div", { className: "mb-2 text-3xl font-bold text-primary md:text-4xl", children: stat.value }),
97451
- stat.label && /* @__PURE__ */ jsx("p", { className: "font-medium text-muted-foreground", children: stat.label })
97392
+ /* @__PURE__ */ jsx("div", { className: "text-2xl font-semibold text-primary md:text-3xl xl:text-4xl", children: stat.value }),
97393
+ stat.label && /* @__PURE__ */ jsx("p", { className: "font-medium text-balance text-sm", children: stat.label })
97452
97394
  ] }, index)) })
97453
97395
  ]
97454
97396
  }
@@ -97460,39 +97402,29 @@ function StatsGrowthTimeline({
97460
97402
  currentStatsHeading,
97461
97403
  currentStatsClassName
97462
97404
  ]);
97463
- const actionsContent = useMemo(() => {
97464
- if (actionsSlot) return actionsSlot;
97465
- if (!actions || actions.length === 0) return null;
97466
- return actions.map((action, index) => /* @__PURE__ */ jsxs(
97467
- Pressable,
97468
- {
97469
- href: action.href,
97470
- onClick: action.onClick,
97471
- variant: action.variant,
97472
- className: "inline-flex items-center font-medium text-primary hover:underline",
97473
- children: [
97474
- action.label,
97475
- /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/arrow-right", size: 16, className: "ml-2" })
97476
- ]
97477
- },
97478
- index
97479
- ));
97480
- }, [actionsSlot, actions]);
97481
97405
  const futureContent = useMemo(() => {
97482
97406
  if (futureSlot) return futureSlot;
97483
97407
  if (!futureHeading && !futureDescription && (!actions || actions.length === 0))
97484
97408
  return null;
97485
97409
  return /* @__PURE__ */ jsxs("div", { className: cn("mt-16 text-center", futureClassName), children: [
97486
97410
  futureHeading && (typeof futureHeading === "string" ? /* @__PURE__ */ jsx("h3", { className: "mb-4 text-2xl font-bold", children: futureHeading }) : /* @__PURE__ */ jsx("div", { className: "mb-4", children: futureHeading })),
97487
- futureDescription && (typeof futureDescription === "string" ? /* @__PURE__ */ jsx("p", { className: "mx-auto mb-8 max-w-2xl text-muted-foreground", children: futureDescription }) : /* @__PURE__ */ jsx("div", { className: "mx-auto mb-8 max-w-2xl", children: futureDescription })),
97488
- actionsContent
97411
+ futureDescription && (typeof futureDescription === "string" ? /* @__PURE__ */ jsx("p", { className: "mx-auto mb-8 max-w-full md:max-w-lg text-balance", children: futureDescription }) : futureDescription),
97412
+ /* @__PURE__ */ jsx(
97413
+ BlockActions,
97414
+ {
97415
+ actions,
97416
+ actionsSlot,
97417
+ actionsClassName
97418
+ }
97419
+ )
97489
97420
  ] });
97490
97421
  }, [
97491
97422
  futureSlot,
97492
97423
  futureHeading,
97493
97424
  futureDescription,
97494
97425
  futureClassName,
97495
- actionsContent,
97426
+ actionsSlot,
97427
+ actionsClassName,
97496
97428
  actions
97497
97429
  ]);
97498
97430
  const hasHeaderContent = !!(badge || badgeSlot || heading || description);
@@ -97529,7 +97461,7 @@ function StatsGrowthTimeline({
97529
97461
  ),
97530
97462
  children: description
97531
97463
  }
97532
- ) : /* @__PURE__ */ jsx("div", { className: cn("mx-auto max-w-3xl", descriptionClassName), children: description }))
97464
+ ) : description)
97533
97465
  ] }),
97534
97466
  milestonesContent,
97535
97467
  currentStatsContent,