@opensite/ui 3.2.6 → 3.2.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (37) hide show
  1. package/dist/about-developer-story.cjs +7 -1
  2. package/dist/about-developer-story.js +7 -1
  3. package/dist/badge.d.cts +1 -1
  4. package/dist/badge.d.ts +1 -1
  5. package/dist/hero-overlay-cta-grid.cjs +82 -19
  6. package/dist/hero-overlay-cta-grid.d.cts +8 -13
  7. package/dist/hero-overlay-cta-grid.d.ts +8 -13
  8. package/dist/hero-overlay-cta-grid.js +83 -20
  9. package/dist/process-expandable-timeline.cjs +1 -2
  10. package/dist/process-expandable-timeline.js +1 -2
  11. package/dist/process-icon-timeline.cjs +9 -99
  12. package/dist/process-icon-timeline.d.cts +3 -3
  13. package/dist/process-icon-timeline.d.ts +3 -3
  14. package/dist/process-icon-timeline.js +9 -99
  15. package/dist/process-mission-principles.cjs +5 -67
  16. package/dist/process-mission-principles.d.cts +3 -3
  17. package/dist/process-mission-principles.d.ts +3 -3
  18. package/dist/process-mission-principles.js +5 -67
  19. package/dist/process-numbered-services.cjs +23 -117
  20. package/dist/process-numbered-services.d.cts +3 -3
  21. package/dist/process-numbered-services.d.ts +3 -3
  22. package/dist/process-numbered-services.js +23 -117
  23. package/dist/process-scroll-image.cjs +20 -85
  24. package/dist/process-scroll-image.d.cts +3 -11
  25. package/dist/process-scroll-image.d.ts +3 -11
  26. package/dist/process-scroll-image.js +18 -83
  27. package/dist/process-steps-grid.cjs +31 -99
  28. package/dist/process-steps-grid.d.cts +3 -3
  29. package/dist/process-steps-grid.d.ts +3 -3
  30. package/dist/process-steps-grid.js +31 -99
  31. package/dist/process-sticky-steps.cjs +90 -76
  32. package/dist/process-sticky-steps.d.cts +9 -1
  33. package/dist/process-sticky-steps.d.ts +9 -1
  34. package/dist/process-sticky-steps.js +90 -76
  35. package/dist/registry.cjs +128 -182
  36. package/dist/registry.js +128 -182
  37. package/package.json +1 -1
package/dist/registry.cjs CHANGED
@@ -7571,7 +7571,13 @@ function AboutDeveloperStory({
7571
7571
  containerClassName,
7572
7572
  children: [
7573
7573
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mx-auto flex max-w-4xl flex-col items-center gap-8 text-center", children: [
7574
- /* @__PURE__ */ jsxRuntime.jsx(ContentGroup, { items: contentItems }),
7574
+ /* @__PURE__ */ jsxRuntime.jsx(
7575
+ ContentGroup,
7576
+ {
7577
+ items: contentItems,
7578
+ className: "flex flex-col justify-center items-center gap-6"
7579
+ }
7580
+ ),
7575
7581
  /* @__PURE__ */ jsxRuntime.jsx(
7576
7582
  BlockActions,
7577
7583
  {
@@ -49354,9 +49360,9 @@ function HeroOverlayCtaGrid({
49354
49360
  badgeSlot,
49355
49361
  heading,
49356
49362
  description,
49357
- primaryCta,
49358
- secondaryCta,
49363
+ actions,
49359
49364
  actionsSlot,
49365
+ actionsClassName,
49360
49366
  cards,
49361
49367
  cardsSlot,
49362
49368
  backgroundImage,
@@ -49381,24 +49387,16 @@ function HeroOverlayCtaGrid({
49381
49387
  badgeText
49382
49388
  ] });
49383
49389
  }, [badgeSlot, badgeText, badgeIcon]);
49384
- const renderActions = React30.useMemo(() => {
49385
- if (actionsSlot) return actionsSlot;
49386
- if (!primaryCta && !secondaryCta) return null;
49387
- return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mt-8 flex flex-col items-center justify-center gap-4 sm:flex-row", children: [
49388
- primaryCta && /* @__PURE__ */ jsxRuntime.jsx(pressable.Pressable, { href: primaryCta.href, size: "lg", variant: "default", children: primaryCta.label }),
49389
- secondaryCta && /* @__PURE__ */ jsxRuntime.jsx(pressable.Pressable, { href: secondaryCta.href, size: "lg", variant: "secondary", children: secondaryCta.label })
49390
- ] });
49391
- }, [actionsSlot, primaryCta, secondaryCta]);
49392
49390
  const renderCards = React30.useMemo(() => {
49393
49391
  if (cardsSlot) return cardsSlot;
49394
49392
  if (!cards || cards.length === 0) return null;
49395
- return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mx-auto w-full max-w-6xl overflow-hidden rounded-3xl border border-border bg-white/95 shadow-2xl px-0", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid grid-cols-1 divide-y divide-border md:grid-cols-3 md:divide-x md:divide-y-0", children: cards.map((card) => /* @__PURE__ */ jsxRuntime.jsxs(
49393
+ return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mx-auto w-full max-w-6xl overflow-hidden rounded-3xl border border-border bg-card shadow-2xl px-0", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid grid-cols-1 divide-y divide-border md:grid-cols-3 md:divide-x md:divide-y-0", children: cards.map((card) => /* @__PURE__ */ jsxRuntime.jsxs(
49396
49394
  pressable.Pressable,
49397
49395
  {
49398
49396
  href: card.href,
49399
49397
  className: "group flex items-center gap-4 px-6 py-6 transition-colors",
49400
49398
  children: [
49401
- /* @__PURE__ */ jsxRuntime.jsx(
49399
+ card.icon ? /* @__PURE__ */ jsxRuntime.jsx(
49402
49400
  "div",
49403
49401
  {
49404
49402
  className: cn(
@@ -49406,19 +49404,19 @@ function HeroOverlayCtaGrid({
49406
49404
  ),
49407
49405
  children: /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: card.icon, size: 22 })
49408
49406
  }
49409
- ),
49407
+ ) : null,
49410
49408
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "min-w-0", children: [
49411
- /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-base font-semibold ", children: card.label }),
49412
- /* @__PURE__ */ jsxRuntime.jsx("p", { className: cn("text-sm text-black"), children: card.subtitle })
49409
+ /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-base font-semibold text-card-foreground", children: card.label }),
49410
+ /* @__PURE__ */ jsxRuntime.jsx("p", { className: cn("text-sm text-card-foreground"), children: card.subtitle })
49413
49411
  ] }),
49414
- /* @__PURE__ */ jsxRuntime.jsx(
49412
+ card.href ? /* @__PURE__ */ jsxRuntime.jsx(
49415
49413
  DynamicIcon,
49416
49414
  {
49417
49415
  name: "lucide/arrow-right",
49418
49416
  size: 18,
49419
- className: cn("ml-auto flex-none text-muted")
49417
+ className: cn("ml-auto flex-none text-card-foreground")
49420
49418
  }
49421
- )
49419
+ ) : null
49422
49420
  ]
49423
49421
  },
49424
49422
  card.label
@@ -49503,7 +49501,14 @@ function HeroOverlayCtaGrid({
49503
49501
  children: description
49504
49502
  }
49505
49503
  )),
49506
- renderActions
49504
+ /* @__PURE__ */ jsxRuntime.jsx(
49505
+ BlockActions,
49506
+ {
49507
+ actions,
49508
+ actionsSlot,
49509
+ actionsClassName
49510
+ }
49511
+ )
49507
49512
  ]
49508
49513
  }
49509
49514
  ),
@@ -78265,46 +78270,11 @@ function ProcessStickySteps({
78265
78270
  stepsClassName,
78266
78271
  stepItemClassName,
78267
78272
  background,
78268
- spacing = "py-6 md:py-32",
78273
+ spacing = "lg",
78269
78274
  pattern,
78270
- patternOpacity
78275
+ patternOpacity,
78276
+ containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8"
78271
78277
  }) {
78272
- const renderActions = React30.useMemo(() => {
78273
- return () => {
78274
- if (actionsSlot) return actionsSlot;
78275
- if (!actions?.length) return null;
78276
- return /* @__PURE__ */ jsxRuntime.jsx(
78277
- "div",
78278
- {
78279
- className: cn("flex flex-wrap items-center gap-2", actionsClassName),
78280
- children: actions.map((action, index) => {
78281
- const {
78282
- label,
78283
- icon,
78284
- iconAfter,
78285
- children,
78286
- className: actionClassName,
78287
- ...pressableProps
78288
- } = action;
78289
- return /* @__PURE__ */ jsxRuntime.jsx(
78290
- pressable.Pressable,
78291
- {
78292
- asButton: true,
78293
- className: cn(actionClassName),
78294
- ...pressableProps,
78295
- children: children ?? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
78296
- icon,
78297
- label,
78298
- iconAfter
78299
- ] })
78300
- },
78301
- index
78302
- );
78303
- })
78304
- }
78305
- );
78306
- };
78307
- }, [actionsSlot, actions, actionsClassName]);
78308
78278
  const renderSteps = React30.useMemo(() => {
78309
78279
  if (stepsSlot) return stepsSlot;
78310
78280
  if (!steps?.length) return null;
@@ -78317,21 +78287,28 @@ function ProcessStickySteps({
78317
78287
  step.className
78318
78288
  ),
78319
78289
  children: [
78320
- /* @__PURE__ */ jsxRuntime.jsx(CornerIllustration, { className: "absolute top-4 right-0" }),
78290
+ /* @__PURE__ */ jsxRuntime.jsx(
78291
+ pressable.Pressable,
78292
+ {
78293
+ href: step.href,
78294
+ "aria-label": typeof step.title === "string" ? step.title : "View step",
78295
+ className: "absolute top-4 right-0 inline-flex",
78296
+ children: /* @__PURE__ */ jsxRuntime.jsx(CornerIllustration, {})
78297
+ }
78298
+ ),
78321
78299
  /* @__PURE__ */ jsxRuntime.jsx(
78322
78300
  "div",
78323
78301
  {
78324
78302
  className: cn(
78325
78303
  "flex size-12 items-center justify-center px-4 py-1 tracking-tighter",
78326
- getNestedCardBg(background, "muted"),
78327
- getNestedCardTextColor(background)
78304
+ "bg-muted text-muted-foreground"
78328
78305
  ),
78329
78306
  children: step.step ?? `0${index + 1}`
78330
78307
  }
78331
78308
  ),
78332
78309
  /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
78333
- step.title && (typeof step.title === "string" ? /* @__PURE__ */ jsxRuntime.jsx("h3", { className: "mb-4 text-2xl font-semibold tracking-tighter lg:text-3xl", children: step.title }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-4", children: step.title })),
78334
- step.description && (typeof step.description === "string" ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: "", children: step.description }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: "", children: step.description }))
78310
+ step.title && (typeof step.title === "string" ? /* @__PURE__ */ jsxRuntime.jsx(pressable.Pressable, { href: step.href, className: "mb-4 block", children: /* @__PURE__ */ jsxRuntime.jsx("h3", { className: "text-2xl font-semibold tracking-tighter lg:text-3xl", children: step.title }) }) : /* @__PURE__ */ jsxRuntime.jsx(pressable.Pressable, { href: step.href, className: "mb-4 block", children: step.title })),
78311
+ step.description && (typeof step.description === "string" ? /* @__PURE__ */ jsxRuntime.jsx("p", { children: step.description }) : step.description)
78335
78312
  ] })
78336
78313
  ]
78337
78314
  },
@@ -78347,6 +78324,7 @@ function ProcessStickySteps({
78347
78324
  className,
78348
78325
  pattern,
78349
78326
  patternOpacity,
78327
+ containerClassName,
78350
78328
  children: /* @__PURE__ */ jsxRuntime.jsxs(
78351
78329
  "div",
78352
78330
  {
@@ -78357,7 +78335,7 @@ function ProcessStickySteps({
78357
78335
  children: [
78358
78336
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "top-10 col-span-2 h-fit w-fit gap-3 space-y-7 py-8 lg:sticky", children: [
78359
78337
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative w-fit text-5xl font-semibold tracking-tight lg:text-7xl", children: [
78360
- heading && (typeof heading === "string" ? /* @__PURE__ */ jsxRuntime.jsx("h1", { className: cn("w-fit", headingClassName), children: heading }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: headingClassName, children: heading })),
78338
+ heading && (typeof heading === "string" ? /* @__PURE__ */ jsxRuntime.jsx("h1", { className: cn("w-fit", headingClassName), children: heading }) : heading),
78361
78339
  /* @__PURE__ */ jsxRuntime.jsx(
78362
78340
  DynamicIcon,
78363
78341
  {
@@ -78367,8 +78345,15 @@ function ProcessStickySteps({
78367
78345
  }
78368
78346
  )
78369
78347
  ] }),
78370
- description && (typeof description === "string" ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: cn("text-base ", descriptionClassName), children: description }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: descriptionClassName, children: description })),
78371
- renderActions()
78348
+ description && (typeof description === "string" ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: cn("text-base ", descriptionClassName), children: description }) : description),
78349
+ /* @__PURE__ */ jsxRuntime.jsx(
78350
+ BlockActions,
78351
+ {
78352
+ actions,
78353
+ actionsSlot,
78354
+ actionsClassName
78355
+ }
78356
+ )
78372
78357
  ] }),
78373
78358
  renderSteps
78374
78359
  ]
@@ -78413,10 +78398,10 @@ var ProcessCard = ({
78413
78398
  step.className
78414
78399
  ),
78415
78400
  children: [
78416
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex w-fit items-center justify-center px-4 py-1 text-9xl tracking-tighter", children: step.step ?? `0${index + 1}` }),
78401
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex w-fit items-center justify-center px-4 py-1 text-5xl md:text-7xl tracking-tighter", children: step.step ?? `0${index + 1}` }),
78417
78402
  /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
78418
78403
  step.title && (typeof step.title === "string" ? /* @__PURE__ */ jsxRuntime.jsx("h3", { className: "mb-4 text-2xl font-semibold tracking-tighter lg:text-3xl", children: step.title }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-4", children: step.title })),
78419
- step.description && (typeof step.description === "string" ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: getTextColor(background, "muted"), children: step.description }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: getTextColor(background, "muted"), children: step.description }))
78404
+ step.description && (typeof step.description === "string" ? /* @__PURE__ */ jsxRuntime.jsx("p", { children: step.description }) : step.description)
78420
78405
  ] })
78421
78406
  ]
78422
78407
  }
@@ -78444,29 +78429,12 @@ function ProcessScrollImage({
78444
78429
  pattern,
78445
78430
  patternOpacity,
78446
78431
  optixFlowConfig,
78447
- // Backwards compatibility
78448
- title,
78449
- ctaText,
78450
- ctaUrl
78432
+ containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8"
78451
78433
  }) {
78452
78434
  const [active, setActive] = React30__namespace.useState(0);
78453
78435
  const previousActive = usePrevious(active);
78454
- const resolvedHeading = title ?? heading;
78455
- const resolvedActions = actions ?? (ctaText && ctaUrl ? [
78456
- {
78457
- label: ctaText,
78458
- href: ctaUrl,
78459
- variant: "ghost",
78460
- icon: /* @__PURE__ */ jsxRuntime.jsx(
78461
- DynamicIcon,
78462
- {
78463
- name: "lucide/corner-down-right",
78464
- size: 20,
78465
- className: getAccentColor(background)
78466
- }
78467
- )
78468
- }
78469
- ] : []);
78436
+ const resolvedHeading = heading;
78437
+ const resolvedActions = actions || [];
78470
78438
  const renderActions = React30.useMemo(() => {
78471
78439
  return () => {
78472
78440
  if (actionsSlot) return actionsSlot;
@@ -78535,6 +78503,7 @@ function ProcessScrollImage({
78535
78503
  className,
78536
78504
  pattern,
78537
78505
  patternOpacity,
78506
+ containerClassName,
78538
78507
  children: /* @__PURE__ */ jsxRuntime.jsxs(
78539
78508
  "div",
78540
78509
  {
@@ -78560,18 +78529,8 @@ function ProcessScrollImage({
78560
78529
  ),
78561
78530
  children: resolvedHeading
78562
78531
  }
78563
- ) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: headingClassName, children: resolvedHeading })),
78564
- description && (typeof description === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
78565
- "p",
78566
- {
78567
- className: cn(
78568
- "text-base",
78569
- getTextColor(background, "muted"),
78570
- descriptionClassName
78571
- ),
78572
- children: description
78573
- }
78574
- ) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: descriptionClassName, children: description })),
78532
+ ) : resolvedHeading),
78533
+ description && (typeof description === "string" ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: cn("text-base", descriptionClassName), children: description }) : description),
78575
78534
  /* @__PURE__ */ jsxRuntime.jsxs(
78576
78535
  "div",
78577
78536
  {
@@ -78810,10 +78769,9 @@ function ProcessIconTimeline({
78810
78769
  spacing,
78811
78770
  pattern,
78812
78771
  patternOpacity,
78813
- // Backwards compatibility
78814
- title
78772
+ containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8"
78815
78773
  }) {
78816
- const resolvedHeading = title ?? heading;
78774
+ const resolvedHeading = heading;
78817
78775
  const renderSteps = React30.useMemo(() => {
78818
78776
  if (stepsSlot) return stepsSlot;
78819
78777
  if (!steps?.length) return null;
@@ -78849,14 +78807,13 @@ function ProcessIconTimeline({
78849
78807
  {
78850
78808
  className: cn(
78851
78809
  "rounded-lg border p-6 shadow-sm",
78852
- getNestedCardBg(background, "card"),
78853
- getNestedCardTextColor(background),
78810
+ "bg-card text-card-foreground",
78854
78811
  index % 2 === 0 ? "lg:mr-12" : "lg:ml-12",
78855
78812
  stepCardClassName
78856
78813
  ),
78857
78814
  children: [
78858
78815
  step.title && (typeof step.title === "string" ? /* @__PURE__ */ jsxRuntime.jsx("h3", { className: "mb-2 text-xl font-semibold tracking-tight", children: step.title }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-2 text-xl font-semibold tracking-tight", children: step.title })),
78859
- step.description && (typeof step.description === "string" ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: cn("mb-4", getTextColor(background, "muted")), children: step.description }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("mb-4", getTextColor(background, "muted")), children: step.description })),
78816
+ step.description && (typeof step.description === "string" ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: cn("mb-4"), children: step.description }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("mb-4"), children: step.description })),
78860
78817
  step.highlights?.length ? /* @__PURE__ */ jsxRuntime.jsx(
78861
78818
  "div",
78862
78819
  {
@@ -78869,8 +78826,7 @@ function ProcessIconTimeline({
78869
78826
  {
78870
78827
  className: cn(
78871
78828
  "rounded-full px-3 py-1 text-xs font-medium",
78872
- getNestedCardBg(background, "muted"),
78873
- getNestedCardTextColor(background)
78829
+ "bg-primary text-primary-foreground"
78874
78830
  ),
78875
78831
  children: highlight
78876
78832
  },
@@ -78898,6 +78854,7 @@ function ProcessIconTimeline({
78898
78854
  className,
78899
78855
  pattern,
78900
78856
  patternOpacity,
78857
+ containerClassName,
78901
78858
  children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: contentClassName, children: [
78902
78859
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("mb-16 max-w-2xl", headerClassName), children: [
78903
78860
  resolvedHeading && (typeof resolvedHeading === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
@@ -78909,18 +78866,8 @@ function ProcessIconTimeline({
78909
78866
  ),
78910
78867
  children: resolvedHeading
78911
78868
  }
78912
- ) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: headingClassName, children: resolvedHeading })),
78913
- description && (typeof description === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
78914
- "p",
78915
- {
78916
- className: cn(
78917
- "text-lg",
78918
- getTextColor(background, "muted"),
78919
- descriptionClassName
78920
- ),
78921
- children: description
78922
- }
78923
- ) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: descriptionClassName, children: description }))
78869
+ ) : resolvedHeading),
78870
+ description && (typeof description === "string" ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: cn("text-lg", descriptionClassName), children: description }) : description)
78924
78871
  ] }),
78925
78872
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("relative", timelineClassName), children: [
78926
78873
  /* @__PURE__ */ jsxRuntime.jsx(
@@ -78928,7 +78875,7 @@ function ProcessIconTimeline({
78928
78875
  {
78929
78876
  className: cn(
78930
78877
  "absolute left-6 top-0 bottom-0 w-px lg:left-1/2 lg:-translate-x-1/2",
78931
- getBorderColor(background, "default"),
78878
+ "border-border border",
78932
78879
  timelineLineClassName
78933
78880
  )
78934
78881
  }
@@ -79010,7 +78957,7 @@ function ProcessExpandableTimeline({
79010
78957
  onClick: () => toggleExpand(index),
79011
78958
  className: cn(
79012
78959
  "group relative flex w-full items-start gap-6 border-b p-6 text-left transition-colors",
79013
- `hover:bg-card hover:text-card-foreground`,
78960
+ "hover:bg-card hover:text-card-foreground",
79014
78961
  expandedIndex === index ? "bg-card text-card-foreground" : "",
79015
78962
  stepItemClassName
79016
78963
  ),
@@ -79127,7 +79074,6 @@ function ProcessExpandableTimeline({
79127
79074
  {
79128
79075
  className: cn(
79129
79076
  "absolute left-6 top-0 bottom-0 w-px",
79130
- "border-2 border-dashed",
79131
79077
  timelineLineClassName
79132
79078
  )
79133
79079
  }
@@ -79348,10 +79294,9 @@ function ProcessMissionPrinciples({
79348
79294
  spacing,
79349
79295
  pattern,
79350
79296
  patternOpacity,
79351
- // Backwards compatibility
79352
- missionTitle
79297
+ containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8"
79353
79298
  }) {
79354
- const resolvedMissionHeading = missionTitle ?? missionHeading;
79299
+ const resolvedMissionHeading = missionHeading;
79355
79300
  const renderPrinciples = React30.useMemo(() => {
79356
79301
  if (principlesSlot) return principlesSlot;
79357
79302
  if (!principles?.length) return null;
@@ -79367,8 +79312,7 @@ function ProcessMissionPrinciples({
79367
79312
  {
79368
79313
  className: cn(
79369
79314
  "group relative rounded-lg border p-6 transition-shadow hover:shadow-md",
79370
- getNestedCardBg(background, "card"),
79371
- getNestedCardTextColor(background),
79315
+ "bg-card text-card-foreground",
79372
79316
  principleCardClassName,
79373
79317
  principle.className
79374
79318
  ),
@@ -79385,7 +79329,7 @@ function ProcessMissionPrinciples({
79385
79329
  ),
79386
79330
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "pt-4", children: [
79387
79331
  principle.title && (typeof principle.title === "string" ? /* @__PURE__ */ jsxRuntime.jsx("h3", { className: "mb-3 text-xl font-semibold tracking-tight", children: principle.title }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-3 text-xl font-semibold tracking-tight", children: principle.title })),
79388
- principle.description && (typeof principle.description === "string" ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: cn("leading-relaxed", getTextColor(background, "muted")), children: principle.description }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("leading-relaxed", getTextColor(background, "muted")), children: principle.description }))
79332
+ principle.description && (typeof principle.description === "string" ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: cn("leading-relaxed"), children: principle.description }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("leading-relaxed"), children: principle.description }))
79389
79333
  ] })
79390
79334
  ]
79391
79335
  },
@@ -79410,6 +79354,7 @@ function ProcessMissionPrinciples({
79410
79354
  className,
79411
79355
  pattern,
79412
79356
  patternOpacity,
79357
+ containerClassName,
79413
79358
  children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: contentClassName, children: [
79414
79359
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("mb-20 max-w-3xl", missionClassName), children: [
79415
79360
  missionLabel && (typeof missionLabel === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
@@ -79417,7 +79362,6 @@ function ProcessMissionPrinciples({
79417
79362
  {
79418
79363
  className: cn(
79419
79364
  "mb-4 inline-block text-sm font-semibold uppercase tracking-wider",
79420
- getAccentColor(background),
79421
79365
  missionLabelClassName
79422
79366
  ),
79423
79367
  children: missionLabel
@@ -79479,10 +79423,9 @@ function ProcessStepsGrid({
79479
79423
  spacing,
79480
79424
  pattern,
79481
79425
  patternOpacity,
79482
- // Backwards compatibility
79483
- title
79426
+ containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8"
79484
79427
  }) {
79485
- const resolvedHeading = title ?? heading;
79428
+ const resolvedHeading = heading;
79486
79429
  const renderSteps = React30.useMemo(() => {
79487
79430
  if (stepsSlot) return stepsSlot;
79488
79431
  if (!steps || steps.length === 0) return null;
@@ -79497,30 +79440,38 @@ function ProcessStepsGrid({
79497
79440
  "div",
79498
79441
  {
79499
79442
  className: cn(
79500
- "group relative overflow-hidden rounded-lg border p-8 transition-all hover:shadow-lg",
79501
- `hover:${getBorderColor(background, "accent")}/50`,
79502
- getNestedCardBg(background, "card"),
79503
- getNestedCardTextColor(background),
79443
+ "group relative overflow-hidden rounded-lg p-8 transition-all hover:shadow-lg",
79444
+ "border border-border hover:border-primary",
79445
+ "bg-card text-card-foreground",
79504
79446
  stepCardClassName,
79505
79447
  step.className
79506
79448
  ),
79507
79449
  children: [
79508
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: cn("absolute -right-4 -top-4 text-[120px] font-bold leading-none transition-colors", getTextColor(background, "muted"), "opacity-20 group-hover:opacity-10", `group-hover:${getAccentColor(background)}`), children: String(index + 1).padStart(2, "0") }),
79450
+ /* @__PURE__ */ jsxRuntime.jsx(
79451
+ "span",
79452
+ {
79453
+ className: cn(
79454
+ "absolute -right-4 -top-4 text-[120px] font-bold leading-none transition-colors",
79455
+ "opacity-20 group-hover:opacity-100",
79456
+ "group-hover:text-primary"
79457
+ ),
79458
+ children: String(index + 1).padStart(2, "0")
79459
+ }
79460
+ ),
79509
79461
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative z-10", children: [
79510
79462
  (step.iconSlot || step.icon) && /* @__PURE__ */ jsxRuntime.jsx(
79511
79463
  "div",
79512
79464
  {
79513
79465
  className: cn(
79514
79466
  "mb-6 flex size-14 items-center justify-center rounded-lg transition-colors",
79515
- getAccentColor(background),
79516
79467
  "bg-primary/10 group-hover:bg-primary group-hover:text-primary-foreground",
79517
79468
  stepIconClassName
79518
79469
  ),
79519
79470
  children: step.iconSlot ?? (step.icon && /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: step.icon, size: 28 }))
79520
79471
  }
79521
79472
  ),
79522
- step.title && (typeof step.title === "string" ? /* @__PURE__ */ jsxRuntime.jsx("h3", { className: "mb-3 text-xl font-semibold tracking-tight", children: step.title }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-3 text-xl font-semibold tracking-tight", children: step.title })),
79523
- step.description && (typeof step.description === "string" ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: cn("leading-relaxed", getTextColor(background, "muted")), children: step.description }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("leading-relaxed", getTextColor(background, "muted")), children: step.description }))
79473
+ step.title && (typeof step.title === "string" ? /* @__PURE__ */ jsxRuntime.jsx("h3", { className: "mb-3 text-xl font-semibold tracking-tight", children: step.title }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-3", children: step.title })),
79474
+ step.description && (typeof step.description === "string" ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: cn("leading-relaxed"), children: step.description }) : step.description)
79524
79475
  ] })
79525
79476
  ]
79526
79477
  },
@@ -79528,7 +79479,14 @@ function ProcessStepsGrid({
79528
79479
  ))
79529
79480
  }
79530
79481
  );
79531
- }, [stepsSlot, steps, background, stepsGridClassName, stepCardClassName, stepIconClassName]);
79482
+ }, [
79483
+ stepsSlot,
79484
+ steps,
79485
+ background,
79486
+ stepsGridClassName,
79487
+ stepCardClassName,
79488
+ stepIconClassName
79489
+ ]);
79532
79490
  return /* @__PURE__ */ jsxRuntime.jsx(
79533
79491
  Section,
79534
79492
  {
@@ -79538,29 +79496,29 @@ function ProcessStepsGrid({
79538
79496
  className,
79539
79497
  pattern,
79540
79498
  patternOpacity,
79499
+ containerClassName,
79541
79500
  children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: contentClassName, children: [
79542
79501
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("mb-16 text-center", headerClassName), children: [
79543
79502
  resolvedHeading && (typeof resolvedHeading === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
79544
79503
  "h1",
79545
79504
  {
79546
79505
  className: cn(
79547
- "mb-4 text-4xl font-semibold tracking-tight lg:text-5xl",
79506
+ "mb-4 text-4xl font-semibold tracking-tight lg:text-5xl text-pretty",
79548
79507
  headingClassName
79549
79508
  ),
79550
79509
  children: resolvedHeading
79551
79510
  }
79552
- ) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: headingClassName, children: resolvedHeading })),
79511
+ ) : resolvedHeading),
79553
79512
  description && (typeof description === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
79554
79513
  "p",
79555
79514
  {
79556
79515
  className: cn(
79557
- "mx-auto max-w-2xl text-lg",
79558
- getTextColor(background, "muted"),
79516
+ "mx-auto max-w-2xl text-lg text-balance",
79559
79517
  descriptionClassName
79560
79518
  ),
79561
79519
  children: description
79562
79520
  }
79563
- ) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: descriptionClassName, children: description }))
79521
+ ) : description)
79564
79522
  ] }),
79565
79523
  renderSteps
79566
79524
  ] })
@@ -79583,13 +79541,12 @@ function ProcessNumberedServices({
79583
79541
  serviceBadgeClassName,
79584
79542
  capabilitiesClassName,
79585
79543
  background,
79586
- spacing = "py-6 md:py-32",
79544
+ spacing = "md",
79587
79545
  pattern,
79588
79546
  patternOpacity,
79589
- // Backwards compatibility
79590
- title
79547
+ containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8"
79591
79548
  }) {
79592
- const resolvedHeading = title ?? heading;
79549
+ const resolvedHeading = heading;
79593
79550
  const renderServiceAction = React30.useMemo(() => {
79594
79551
  return (service) => {
79595
79552
  if (service.actionSlot) return service.actionSlot;
@@ -79607,11 +79564,19 @@ function ProcessNumberedServices({
79607
79564
  className: actionClassName,
79608
79565
  ...pressableProps
79609
79566
  } = action;
79610
- return /* @__PURE__ */ jsxRuntime.jsx(pressable.Pressable, { asButton: true, className: cn(actionClassName), ...pressableProps, children: children ?? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
79611
- icon,
79612
- label,
79613
- iconAfter && iconAfter
79614
- ] }) });
79567
+ return /* @__PURE__ */ jsxRuntime.jsx(
79568
+ pressable.Pressable,
79569
+ {
79570
+ asButton: true,
79571
+ className: cn(actionClassName, "mt-4"),
79572
+ ...pressableProps,
79573
+ children: children ?? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
79574
+ icon,
79575
+ label,
79576
+ iconAfter && iconAfter
79577
+ ] })
79578
+ }
79579
+ );
79615
79580
  };
79616
79581
  }, []);
79617
79582
  const renderServices = React30.useMemo(() => {
@@ -79630,9 +79595,7 @@ function ProcessNumberedServices({
79630
79595
  "div",
79631
79596
  {
79632
79597
  className: cn(
79633
- "flex size-16 items-center justify-center rounded-full border-2 text-xl font-bold transition-colors",
79634
- getBorderColor(background, "accent"),
79635
- getAccentColor(background),
79598
+ "flex size-16 items-center justify-center rounded-full border-2 border-primary text-primary text-xl font-bold transition-colors",
79636
79599
  "bg-primary/5 group-hover:bg-primary group-hover:text-primary-foreground",
79637
79600
  serviceBadgeClassName
79638
79601
  ),
@@ -79640,8 +79603,8 @@ function ProcessNumberedServices({
79640
79603
  }
79641
79604
  ) }),
79642
79605
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "lg:col-span-4", children: [
79643
- service.title && (typeof service.title === "string" ? /* @__PURE__ */ jsxRuntime.jsx("h3", { className: "mb-3 text-2xl font-semibold tracking-tight", children: service.title }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-3 text-2xl font-semibold tracking-tight", children: service.title })),
79644
- service.description && (typeof service.description === "string" ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: cn("leading-relaxed", getTextColor(background, "muted")), children: service.description }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("leading-relaxed", getTextColor(background, "muted")), children: service.description })),
79606
+ service.title && (typeof service.title === "string" ? /* @__PURE__ */ jsxRuntime.jsx("h3", { className: "mb-3 text-2xl font-semibold tracking-tight", children: service.title }) : service.title),
79607
+ service.description && (typeof service.description === "string" ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: cn("leading-relaxed"), children: service.description }) : service.description),
79645
79608
  renderServiceAction(service)
79646
79609
  ] }),
79647
79610
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "lg:col-span-7", children: service.capabilities?.length ? /* @__PURE__ */ jsxRuntime.jsx(
@@ -79656,18 +79619,10 @@ function ProcessNumberedServices({
79656
79619
  {
79657
79620
  className: cn(
79658
79621
  "flex items-center gap-3 rounded-lg px-4 py-3",
79659
- getNestedCardBg(background, "muted"),
79660
- getNestedCardTextColor(background)
79622
+ "bg-muted text-muted-foreground"
79661
79623
  ),
79662
79624
  children: [
79663
- /* @__PURE__ */ jsxRuntime.jsx(
79664
- DynamicIcon,
79665
- {
79666
- name: "lucide/check-circle-2",
79667
- size: 18,
79668
- className: getAccentColor(background)
79669
- }
79670
- ),
79625
+ /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: "lucide/check-circle-2", size: 18 }),
79671
79626
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-sm font-medium", children: capability })
79672
79627
  ]
79673
79628
  },
@@ -79698,6 +79653,7 @@ function ProcessNumberedServices({
79698
79653
  className,
79699
79654
  pattern,
79700
79655
  patternOpacity,
79656
+ containerClassName,
79701
79657
  children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: contentClassName, children: [
79702
79658
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("mb-16 max-w-2xl", headerClassName), children: [
79703
79659
  resolvedHeading && (typeof resolvedHeading === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
@@ -79710,17 +79666,7 @@ function ProcessNumberedServices({
79710
79666
  children: resolvedHeading
79711
79667
  }
79712
79668
  ) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: headingClassName, children: resolvedHeading })),
79713
- description && (typeof description === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
79714
- "p",
79715
- {
79716
- className: cn(
79717
- "text-lg",
79718
- getTextColor(background, "muted"),
79719
- descriptionClassName
79720
- ),
79721
- children: description
79722
- }
79723
- ) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: descriptionClassName, children: description }))
79669
+ description && (typeof description === "string" ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: cn("text-lg", descriptionClassName), children: description }) : description)
79724
79670
  ] }),
79725
79671
  renderServices
79726
79672
  ] })