@npm_leadtech/legal-contracts-ui 0.129.21 → 0.131.0

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.
@@ -0,0 +1 @@
1
+ html[data-theme=primarygreen]{--background: #ffffff;--foreground: #171717;--font-inter: "Inter", sans-serif;--font-lora: "Lora", serif;--primary-50: #eff7f5;--primary-100: #e4f8f3;--primary-200: #c0f7e8;--primary-300: #5dd8c3;--primary-400: #34b2a7;--primary-500: #078080;--primary-700: #05646e;--primary-800: #02374a;--primary-900: #032a38;--secondary-50: #fcf9f5;--secondary-100: #fcf4e5;--secondary-200: #f7e8cf;--secondary-300: #f5dab0;--secondary-400: #f4cc8c;--secondary-500: #f2bd6a;--secondary-600: #cd9a4c;--secondary-700: #936c2f;--neutral-25: #f8f9fa;--neutral-50: #f3f7fa;--neutral-200: #dbe1e5;--neutral-400: #b5babd;--neutral-600: #6d7275;--neutral-800: #3d4042;--neutral-900: #1e2021;--neutral-white: #ffffff;--error-25: #ffecef;--error-200: #f09d9e;--error-500: #d63737}html[data-theme=primaryblue]{--background: #ffffff;--foreground: #171717;--font-inter: "Poppins", sans-serif;--font-lora: "Poppins", sans-serif;--font-lora-weight: 700;--primary-50: #e9f5ff;--primary-100: #d7ecff;--primary-200: #b7daff;--primary-300: #8bc1ff;--primary-400: #5e99ff;--primary-500: #3970ff;--primary-700: #1039f5;--primary-800: #163399;--primary-900: #07144b;--secondary-50: #fff6ed;--secondary-100: #fff0d5;--secondary-200: #fedcaa;--secondary-300: #fdc374;--secondary-400: #fb9e3c;--secondary-500: #f98116;--secondary-600: #ea660c;--secondary-700: #d3530d;--neutral-25: #f5f7fa;--neutral-50: #ebeef3;--neutral-200: #d2d9e5;--neutral-400: #abbbce;--neutral-600: #496080;--neutral-800: #2f3a4b;--neutral-900: #1f2532;--neutral-white: #ffffff;--error-25: #ffecef;--error-200: #f09d9e;--error-500: #d63737}html[data-theme=secondaryorange]{--background: #ffffff;--foreground: #171717;--font-inter: "Inter", sans-serif;--font-lora: "Lora", serif;--primary-50: #fff5ee;--primary-100: #ffe1cc;--primary-200: #ffc59b;--primary-300: #ffa05c;--primary-400: #ff862e;--primary-500: #f26600;--primary-700: #c95500;--primary-800: #4f2100;--primary-900: #220f00;--secondary-50: #eff7f5;--secondary-100: #e4f8f3;--secondary-200: #c0f7e8;--secondary-300: #5dd8c3;--secondary-400: #34b2a7;--secondary-500: #078080;--secondary-600: #05646e;--secondary-700: #02374a;--secondary-900: #032a38;--neutral-25: #f8f9fa;--neutral-50: #f3f7fa;--neutral-200: #dbe1e5;--neutral-400: #b5babd;--neutral-600: #6d7275;--neutral-800: #3d4042;--neutral-900: #1e2021;--neutral-white: #ffffff;--error-25: #ffecef;--error-200: #f09d9e;--error-500: #d63737}html[data-theme=secondaryblue]{--background: #ffffff;--foreground: #171717;--font-inter: "Inter", sans-serif;--font-lora: "Lora", serif;--primary-50: #f9f9ff;--primary-100: #eceeff;--primary-200: #c3c9ff;--primary-300: #9aa4ff;--primary-400: #717fff;--primary-500: #485aff;--primary-700: #1725a6;--primary-800: #050e5a;--primary-900: #000533;--secondary-50: #eff7f5;--secondary-100: #e4f8f3;--secondary-200: #c0f7e8;--secondary-300: #5dd8c3;--secondary-400: #34b2a7;--secondary-500: #078080;--secondary-600: #05646e;--secondary-700: #02374a;--secondary-900: #032a38;--neutral-25: #f8f9fa;--neutral-50: #f3f7fa;--neutral-200: #dbe1e5;--neutral-400: #b5babd;--neutral-600: #6d7275;--neutral-800: #3d4042;--neutral-900: #1e2021;--neutral-white: #ffffff;--error-25: #ffecef;--error-200: #f09d9e;--error-500: #d63737}html[data-theme=secondarypurple]{--background: #ffffff;--foreground: #171717;--font-inter: "Inter", sans-serif;--font-lora: "Lora", serif;--primary-50: #f9f5ff;--primary-100: #e3d1ff;--primary-200: #b68aff;--primary-300: #a56dff;--primary-400: #9e63ff;--primary-500: #7d2eff;--primary-700: #320085;--primary-800: #23005c;--primary-900: #11002d;--secondary-50: #eff7f5;--secondary-100: #e4f8f3;--secondary-200: #c0f7e8;--secondary-300: #5dd8c3;--secondary-400: #34b2a7;--secondary-500: #078080;--secondary-600: #05646e;--secondary-700: #02374a;--secondary-900: #032a38;--neutral-25: #f8f9fa;--neutral-50: #f3f7fa;--neutral-200: #dbe1e5;--neutral-400: #b5babd;--neutral-600: #6d7275;--neutral-800: #3d4042;--neutral-900: #1e2021;--neutral-white: #ffffff;--error-25: #ffecef;--error-200: #f09d9e;--error-500: #d63737}html[data-theme=secondarygreen]{--background: #ffffff;--foreground: #171717;--font-inter: "Inter", sans-serif;--font-lora: "Lora", serif;--primary-50: #e7fff1;--primary-100: #d5ffe6;--primary-200: #6affa5;--primary-300: #16ff73;--primary-400: #00df59;--primary-500: #00b649;--primary-700: #008e39;--primary-800: #003c18;--primary-900: #001709;--secondary-50: #eff7f5;--secondary-100: #e4f8f3;--secondary-200: #c0f7e8;--secondary-300: #5dd8c3;--secondary-400: #34b2a7;--secondary-500: #078080;--secondary-600: #05646e;--secondary-700: #02374a;--secondary-900: #032a38;--neutral-25: #f8f9fa;--neutral-50: #f3f7fa;--neutral-200: #dbe1e5;--neutral-400: #b5babd;--neutral-600: #6d7275;--neutral-800: #3d4042;--neutral-900: #1e2021;--neutral-white: #ffffff;--error-25: #ffecef;--error-200: #f09d9e;--error-500: #d63737}html[data-theme=secondaryyellow]{--background: #ffffff;--foreground: #171717;--font-inter: "Inter", sans-serif;--font-lora: "Lora", serif;--primary-50: #f9ffea;--primary-100: #f0ffc4;--primary-200: #e6ff9f;--primary-300: #c9ff2f;--primary-400: #b1e815;--primary-500: #8ebf00;--primary-700: #6f9600;--primary-800: #384c00;--primary-900: #192101;--secondary-50: #eff7f5;--secondary-100: #e4f8f3;--secondary-200: #c0f7e8;--secondary-300: #5dd8c3;--secondary-400: #34b2a7;--secondary-500: #078080;--secondary-600: #05646e;--secondary-700: #02374a;--secondary-900: #032a38;--neutral-25: #f8f9fa;--neutral-50: #f3f7fa;--neutral-200: #dbe1e5;--neutral-400: #b5babd;--neutral-600: #6d7275;--neutral-800: #3d4042;--neutral-900: #1e2021;--neutral-white: #ffffff;--error-25: #ffecef;--error-200: #f09d9e;--error-500: #d63737}html[data-theme=secondarybrown]{--background: #ffffff;--foreground: #171717;--font-inter: "Inter", sans-serif;--font-lora: "Lora", serif;--primary-50: #fffbf2;--primary-100: #fff6e5;--primary-200: #ffe6b7;--primary-300: #ffc75c;--primary-400: #ffa800;--primary-500: #d68d00;--primary-700: #855800;--primary-800: #3d2800;--primary-900: #231700;--secondary-50: #eff7f5;--secondary-100: #e4f8f3;--secondary-200: #c0f7e8;--secondary-300: #5dd8c3;--secondary-400: #34b2a7;--secondary-500: #078080;--secondary-600: #05646e;--secondary-700: #02374a;--secondary-900: #032a38;--neutral-25: #f8f9fa;--neutral-50: #f3f7fa;--neutral-200: #dbe1e5;--neutral-400: #cacaca;--neutral-600: #6b6e6f;--neutral-800: #3d4042;--neutral-900: #1e2021;--neutral-white: #ffffff;--error-25: #ffecef;--error-200: #f09d9e;--error-500: #d63737}
@@ -77,6 +77,8 @@ export interface IntroSectionProps {
77
77
  cta?: LinkWrapper;
78
78
  className?: string;
79
79
  containerClassName?: string;
80
+ firstColumnClassName?: string;
81
+ secondColumnClassName?: string;
80
82
  }
81
83
 
82
84
  export interface Jumbotron2Props {
@@ -1,13 +1,13 @@
1
- import { jsx as l } from "react/jsx-runtime";
2
- import o from "clsx";
3
- const s = ({ children: r, variant: a = "default" }) => {
1
+ import { jsx as o } from "react/jsx-runtime";
2
+ import l from "clsx";
3
+ const b = ({ children: r, variant: e = "default" }) => {
4
4
  const t = {
5
- default: "my-4 border-l-4 border-gray-300 pl-4 text-gray-700 italic",
6
- "about-us": "my-4 text-gray-700 italic bg-neutral-25 pt-4 px-4 pb-0.5",
7
- unsubscribe: "my-4 border-l-4 border-neutral-300 pl-4 text-neutral-700 italic"
8
- }, e = t[a] ?? t.default;
9
- return /* @__PURE__ */ l("blockquote", { className: o("my-4 italic", e), children: r });
5
+ default: "border-l-4 border-gray-300 pl-4 text-gray-700 ",
6
+ "about-us": "text-gray-700 bg-neutral-25 pt-4 px-4 pb-0.5",
7
+ unsubscribe: "border-l-4 border-neutral-300 pl-4 text-neutral-700 "
8
+ }, a = t[e] ?? t.default;
9
+ return /* @__PURE__ */ o("blockquote", { className: l("my-4 italic", a), children: r });
10
10
  };
11
11
  export {
12
- s as Blockquote
12
+ b as Blockquote
13
13
  };
@@ -2,23 +2,23 @@ import { jsx as e, jsxs as i } from "react/jsx-runtime";
2
2
  import "react";
3
3
  import o from "clsx";
4
4
  import { SectionHeading as c } from "./SectionHeading.js";
5
- import { LinkWrapper as t } from "./LinkWrapper.js";
6
- const u = ({ header: r, articles: m, cta: d, className: s = "", variant: a = "row" }) => {
5
+ import { LinkWrapper as s } from "./LinkWrapper.js";
6
+ const u = ({ header: r, articles: m, cta: t, className: n = "", variant: a = "row" }) => {
7
7
  if (m.length === 0) return null;
8
- const n = a === "row";
9
- return /* @__PURE__ */ e("section", { className: o("mx-auto px-8 lg:px-12 xl:max-w-300 xl:px-0", s), children: /* @__PURE__ */ i("div", { className: "mx-auto flex flex-col items-center gap-8", children: [
8
+ const d = a === "row";
9
+ return /* @__PURE__ */ e("section", { className: o("mx-auto px-8 lg:px-12 xl:max-w-300 xl:px-0", n), children: /* @__PURE__ */ i("div", { className: "mx-auto flex flex-col items-center gap-8", children: [
10
10
  r && /* @__PURE__ */ e(c, { ...r }),
11
11
  /* @__PURE__ */ e("div", { className: "grid gap-6 lg:grid-cols-2", children: m.map((l) => /* @__PURE__ */ i(
12
12
  "article",
13
13
  {
14
- className: o("flex flex-col rounded-sm bg-white shadow", n && "md:flex-row"),
14
+ className: o("flex flex-col rounded-sm bg-white shadow", d && "md:flex-row"),
15
15
  children: [
16
16
  /* @__PURE__ */ e(
17
17
  "div",
18
18
  {
19
19
  className: o(
20
20
  "relative h-42 shrink-0 overflow-hidden rounded-t-sm [&_img]:h-full [&_img]:w-full [&_img]:object-cover",
21
- n && "md:h-full md:max-w-51 md:rounded-t-none md:rounded-l-sm"
21
+ d && "md:h-auto md:max-w-51 md:self-stretch md:rounded-t-none md:rounded-l-sm"
22
22
  ),
23
23
  children: l.image
24
24
  }
@@ -26,13 +26,13 @@ const u = ({ header: r, articles: m, cta: d, className: s = "", variant: a = "ro
26
26
  /* @__PURE__ */ i("div", { className: "flex flex-col gap-4 p-6 text-neutral-800", children: [
27
27
  /* @__PURE__ */ e("h3", { className: "text-big font-semibold", children: l.title }),
28
28
  /* @__PURE__ */ e("p", { className: "text-medium", children: l.description }),
29
- /* @__PURE__ */ e(t, { className: "w-fit", variant: "tertiary-bold", children: l.cta })
29
+ /* @__PURE__ */ e(s, { className: "w-fit", variant: "tertiary-bold", children: l.cta })
30
30
  ] })
31
31
  ]
32
32
  },
33
33
  l.title
34
34
  )) }),
35
- !!d && /* @__PURE__ */ e(t, { className: "w-full md:w-fit", variant: "secondary-green", children: d })
35
+ !!t && /* @__PURE__ */ e(s, { className: "w-full md:w-fit", variant: "secondary-green", children: t })
36
36
  ] }) });
37
37
  };
38
38
  export {
@@ -28,7 +28,7 @@ export interface ContactFormFeedbackProps {
28
28
  }
29
29
 
30
30
  export declare interface ContactFormFieldProps {
31
- dataQa: string;
31
+ dataQa?: string;
32
32
  label: string;
33
33
  id: string;
34
34
  name: string;
@@ -28,7 +28,7 @@ export interface ContactFormFeedbackProps {
28
28
  }
29
29
 
30
30
  export interface ContactFormFieldProps {
31
- dataQa: string;
31
+ dataQa?: string;
32
32
  label: string;
33
33
  id: string;
34
34
  name: string;
@@ -1,15 +1,15 @@
1
- import { jsx as e } from "react/jsx-runtime";
2
- const r = { w: 1200, h: 900 }, h = "relative aspect-[4/3] w-full overflow-hidden rounded-2xl bg-neutral-100 shadow-[0_25px_60px_rgba(3,42,56,0.12)]", t = "relative w-full overflow-hidden rounded-2xl shadow-[0_25px_60px_rgba(3,42,56,0.12)]", a = ({ empty: l, children: o }) => /* @__PURE__ */ e("div", { className: l ? h : t, "aria-hidden": l ? !0 : void 0, children: l ? null : o }), n = ({ src: l, alt: o, priority: d }) => l ? /* @__PURE__ */ e(a, { children: /* @__PURE__ */ e(
1
+ import { jsx as l } from "react/jsx-runtime";
2
+ const a = { w: 1200, h: 900 }, n = "relative mx-auto aspect-[4/3] w-full max-w-79 overflow-hidden rounded-2xl bg-neutral-100 md:mx-0 md:max-w-none", t = "relative mx-auto w-full max-w-79 overflow-hidden rounded-2xl md:mx-0 md:max-w-none", r = ({ empty: e, children: o }) => /* @__PURE__ */ l("div", { className: e ? n : t, "aria-hidden": e ? !0 : void 0, children: e ? null : o }), i = ({ src: e, alt: o, priority: d }) => e ? /* @__PURE__ */ l(r, { children: /* @__PURE__ */ l(
3
3
  "img",
4
4
  {
5
- src: l,
5
+ src: e,
6
6
  alt: o,
7
- width: r.w,
8
- height: r.h,
7
+ width: a.w,
8
+ height: a.h,
9
9
  className: "h-auto w-full max-w-full object-cover",
10
10
  ...d ? { loading: "eager" } : { loading: "lazy" }
11
11
  }
12
- ) }) : /* @__PURE__ */ e(a, { empty: !0 });
12
+ ) }) : /* @__PURE__ */ l(r, { empty: !0 });
13
13
  export {
14
- n as HeroImageShell
14
+ i as HeroImageShell
15
15
  };
@@ -4,25 +4,25 @@ import { LawGeniusImageShell as p } from "./LawGeniusImageShell.js";
4
4
  import { Markdown as t } from "./Markdown.js";
5
5
  const v = ({
6
6
  sectionTitle: s,
7
- contentMarkdown: m,
7
+ contentMarkdown: r,
8
8
  descriptionMarkdown: a,
9
- steps: r,
9
+ steps: m,
10
10
  belowStepsMarkdown: i,
11
11
  cta: n,
12
12
  imageUrl: c,
13
13
  imageAlt: x
14
14
  }) => {
15
- const o = a.trim().length > 0, d = i.trim().length > 0;
16
- return /* @__PURE__ */ e("section", { className: "bg-neutral-25 lg:px-ds-10xl px-6 pt-16 pb-12 sm:px-10", children: /* @__PURE__ */ e("div", { className: "bg-law-genius-section mx-auto w-full max-w-6xl rounded-3xl px-8 pt-16 pb-8 text-white shadow-[0_25px_80px_rgba(3,42,56,0.35)] sm:px-10 sm:pt-16 sm:pb-10", children: /* @__PURE__ */ l("div", { className: "flex w-full flex-col gap-8 lg:gap-10", children: [
15
+ const d = a.trim().length > 0, o = i.trim().length > 0;
16
+ return /* @__PURE__ */ e("section", { className: "bg-neutral-25 lg:px-ds-10xl px-6 pt-16 pb-12 sm:px-10", children: /* @__PURE__ */ e("div", { className: "bg-ratafia mx-auto w-full max-w-6xl rounded-3xl px-8 pt-16 pb-8 text-white shadow-[0_25px_80px_rgba(3,42,56,0.35)] sm:px-10 sm:pt-16 sm:pb-10", children: /* @__PURE__ */ l("div", { className: "flex w-full flex-col gap-8 lg:gap-10", children: [
17
17
  /* @__PURE__ */ l("div", { className: "flex flex-col gap-4 text-center text-white", children: [
18
18
  /* @__PURE__ */ e("h2", { className: "lg:text-super-large text-3xl font-bold lg:leading-tight", children: s }),
19
- /* @__PURE__ */ e("div", { className: "[&_p]:text-medium [&_p]:text-white/80 [&_p:last-child]:mb-0", children: /* @__PURE__ */ e(t, { variant: "ratafia", content: m }) }),
20
- o && /* @__PURE__ */ e("div", { className: "[&_p]:text-medium [&_p]:text-white/80 [&_p:last-child]:mb-0", children: /* @__PURE__ */ e(t, { variant: "ratafia", content: a }) })
19
+ /* @__PURE__ */ e("div", { className: "[&_p]:text-medium [&_p]:text-white/80 [&_p:last-child]:mb-0", children: /* @__PURE__ */ e(t, { variant: "ratafia", content: r }) }),
20
+ d && /* @__PURE__ */ e("div", { className: "[&_p]:text-medium [&_p]:text-white/80 [&_p:last-child]:mb-0", children: /* @__PURE__ */ e(t, { variant: "ratafia", content: a }) })
21
21
  ] }),
22
22
  /* @__PURE__ */ l("div", { className: "flex w-full flex-col gap-8 lg:grid lg:grid-cols-[minmax(0,1fr)_minmax(0,1.05fr)] lg:items-stretch lg:gap-10", children: [
23
23
  /* @__PURE__ */ l("div", { className: "flex min-h-0 flex-col gap-6", children: [
24
- r,
25
- d && /* @__PURE__ */ e(
24
+ m,
25
+ o && /* @__PURE__ */ e(
26
26
  t,
27
27
  {
28
28
  variant: "ratafia",
@@ -1,4 +1,5 @@
1
1
  import { FC } from 'react';
2
+ import { ReactNode } from 'react';
2
3
 
3
4
  export declare type HowItWorksExamplesProps = {
4
5
  eyebrow: string;
@@ -58,8 +59,7 @@ export declare interface HowItWorksTemplateProps {
58
59
  contentMarkdown: string;
59
60
  steps: HowItWorksLawGeniusStep[];
60
61
  belowStepsMarkdown: string;
61
- imageUrl: string | null;
62
- imageAlt: string;
62
+ image: ReactNode;
63
63
  cta: {
64
64
  href: string;
65
65
  label: string;
@@ -1,139 +1,124 @@
1
1
  import { jsx as e, jsxs as r, Fragment as w } from "react/jsx-runtime";
2
- import { clsx as N } from "clsx";
3
- import { howItWorksLawGeniusCtaLinkClassName as b, howItWorksHeroCtaLinkClassName as k, howItWorksLawGeniusBelowStepsMarkdownClassName as y, howItWorksResourcesSupportBodyClassName as C, howItWorksResourcesCtaLinkClassName as v } from "./HowItWorksTemplateTokens.js";
4
- import { HeroImageShell as S } from "./HeroImageShell.js";
5
- import { RatafiaSection as M } from "./RatafiaSection.js";
6
- import { LawGeniusStepCard as I } from "./LawGeniusStepCard.js";
7
- import { ResourcesImageShell as L } from "./ResourcesImageShell.js";
2
+ import { clsx as h } from "clsx";
3
+ import { howItWorksLawGeniusCtaLinkClassName as N, howItWorksHeroCtaLinkClassName as b, howItWorksLawGeniusBelowStepsMarkdownClassName as k, howItWorksResourcesSupportBodyClassName as C, howItWorksResourcesCtaLinkClassName as y } from "./HowItWorksTemplateTokens.js";
4
+ import { HeroImageShell as v } from "./HeroImageShell.js";
5
+ import { RatafiaSection as S } from "./RatafiaSection.js";
6
+ import { LawGeniusStepCard as M } from "./LawGeniusStepCard.js";
7
+ import { ResourcesImageShell as I } from "./ResourcesImageShell.js";
8
8
  import { StepImageShell as W } from "./StepImageShell.js";
9
- import { Button as o } from "./Button.js";
10
- import { IntroSection as A } from "./IntroSection.js";
11
- import { Markdown as i } from "./Markdown.js";
12
- import { TwoColumnSection as c } from "./TwoColumnSection.js";
13
- import { LawGeniusImageShell as B } from "./LawGeniusImageShell.js";
9
+ import { LinkWrapper as L } from "./LinkWrapper.js";
10
+ import { IntroSection as B } from "./IntroSection.js";
11
+ import { Markdown as m } from "./Markdown.js";
12
+ import { TwoColumnSection as o } from "./TwoColumnSection.js";
13
+ import { Button as A } from "./Button.js";
14
14
  const U = (t) => {
15
- const m = /* @__PURE__ */ r("div", { className: "min-w-0 space-y-4 text-neutral-800 lg:basis-[47%]", children: [
16
- /* @__PURE__ */ e("h2", { className: "font-lora text-[2.05rem] leading-[1.15] font-bold text-neutral-800", children: t.title }),
17
- /* @__PURE__ */ e("div", { className: "text-small space-y-3 text-neutral-700", children: /* @__PURE__ */ e(i, { variant: "legal", content: t.bodyMarkdown }) })
18
- ] }), a = /* @__PURE__ */ e("div", { className: "w-full shrink-0 lg:w-1/2 lg:max-w-[50%]", children: /* @__PURE__ */ e(W, { src: t.imageUrl, alt: t.imageAlt }) });
19
- return t.reverse ? { firstColumn: a, secondColumn: m } : { firstColumn: m, secondColumn: a };
20
- }, J = ({ hero: t, processSteps: m, lawGenius: a, resources: s }) => {
21
- const d = t.introMarkdown.trim().length > 0, p = t.closingMarkdown.trim().length > 0, x = s.supportBodyMarkdown.trim().length > 0, g = a.belowStepsMarkdown.trim().length > 0, { examples: n } = s, f = /* @__PURE__ */ e(
22
- o,
23
- {
24
- size: "large",
25
- variant: "primary-green",
26
- className: "text-medium w-full justify-center !rounded-md font-bold lg:w-auto",
27
- children: /* @__PURE__ */ e("a", { href: a.cta.href, className: b, children: a.cta.label })
28
- }
29
- );
30
- return /* @__PURE__ */ r("main", { className: "flex w-full max-w-full min-w-0 flex-1 flex-col", children: [
31
- /* @__PURE__ */ e("section", { className: "bg-primary-50 lg:px-ds-10xl px-6 pt-4 pb-12 sm:px-10", children: /* @__PURE__ */ r("div", { className: "mx-auto flex max-w-6xl flex-col gap-12", children: [
32
- /* @__PURE__ */ r("div", { className: "text-center", children: [
33
- /* @__PURE__ */ r("div", { className: "mx-auto inline-flex max-w-full flex-col items-center gap-2", children: [
34
- /* @__PURE__ */ e("p", { className: "text-small font-semibold tracking-[0.3em] whitespace-nowrap text-neutral-600 uppercase", children: t.eyebrow }),
35
- /* @__PURE__ */ e("span", { className: "h-px w-full max-w-[7.5rem] min-w-[5.5rem] shrink-0 bg-neutral-400", "aria-hidden": !0 })
36
- ] }),
37
- /* @__PURE__ */ e("h1", { className: "font-lora mx-auto mt-12 max-w-[48rem] text-4xl leading-tight font-bold tracking-tight text-neutral-800 sm:text-5xl sm:leading-tight", children: t.title })
15
+ const i = /* @__PURE__ */ r("div", { className: "w-full min-w-0 space-y-6 text-neutral-800 md:shrink md:grow-0 md:basis-1/2", children: [
16
+ /* @__PURE__ */ e("h2", { className: "text-super-large font-bold text-neutral-800", children: t.title }),
17
+ /* @__PURE__ */ e("div", { className: "text-medium space-y-3 text-neutral-800", children: /* @__PURE__ */ e(m, { variant: "legal", content: t.bodyMarkdown }) })
18
+ ] }), l = /* @__PURE__ */ e("div", { className: "w-full min-w-0 md:shrink md:grow-0 md:basis-1/2", children: /* @__PURE__ */ e(W, { src: t.imageUrl, alt: t.imageAlt }) });
19
+ return { firstColumn: i, secondColumn: l };
20
+ }, J = ({ hero: t, processSteps: i, lawGenius: l, resources: n }) => {
21
+ const c = t.introMarkdown.trim().length > 0, d = t.closingMarkdown.trim().length > 0, p = n.supportBodyMarkdown.trim().length > 0, x = l.belowStepsMarkdown.trim().length > 0, { examples: s } = n, f = /* @__PURE__ */ e(L, { size: "default", variant: "primary-green", className: "shrink-0 font-bold", children: /* @__PURE__ */ e("a", { href: l.cta.href, className: N, children: l.cta.label }) });
22
+ return /* @__PURE__ */ r("main", { className: "flex w-full max-w-full min-w-0 flex-1 flex-col overflow-x-clip", children: [
23
+ /* @__PURE__ */ e("section", { className: "bg-primary-50 lg:px-ds-10xl px-6 pt-4 pb-12", children: /* @__PURE__ */ r("div", { className: "mx-auto flex max-w-6xl flex-col items-center gap-12", children: [
24
+ /* @__PURE__ */ r("div", { className: "flex w-full flex-col items-center gap-2", children: [
25
+ /* @__PURE__ */ e("p", { className: "text-small text-center font-semibold tracking-[0.3em] text-neutral-600 uppercase", children: t.eyebrow }),
26
+ /* @__PURE__ */ e("span", { className: "max-w-ds-10xl min-w-ds-7xl h-px w-full shrink-0 bg-neutral-400", "aria-hidden": !0 })
38
27
  ] }),
28
+ /* @__PURE__ */ e("h1", { className: "font-lora text-super-hero mx-auto max-w-3xl text-center font-normal text-neutral-800", children: t.title }),
39
29
  /* @__PURE__ */ e(
40
- A,
30
+ B,
41
31
  {
42
- className: "bg-transparent",
43
- containerClassName: "w-full !max-w-none flex-col gap-10 !px-0 !py-0 lg:flex-row lg:items-stretch",
44
- image: /* @__PURE__ */ e(S, { src: t.imageUrl, alt: t.imageAlt, priority: t.imagePriority }),
32
+ className: "w-full bg-transparent",
33
+ containerClassName: "w-full !max-w-none !flex-col !gap-8 !px-0 !py-0 md:!flex-row md:!items-stretch md:!gap-16",
34
+ firstColumnClassName: "!mb-0",
35
+ secondColumnClassName: "!mt-0",
36
+ image: /* @__PURE__ */ e(v, { src: t.imageUrl, alt: t.imageAlt, priority: t.imagePriority }),
45
37
  cta: {
46
- size: "large",
38
+ size: "default",
47
39
  variant: "primary-green",
48
- className: "text-medium mt-8 w-full justify-center font-bold",
49
- children: /* @__PURE__ */ e("a", { href: t.cta.href, className: k, children: t.cta.label })
40
+ className: "text-medium w-full shrink-0 justify-center font-bold md:w-fit md:justify-start",
41
+ children: /* @__PURE__ */ e("a", { href: t.cta.href, className: b, children: t.cta.label })
50
42
  },
51
- children: /* @__PURE__ */ r("div", { className: "text-medium space-y-4 [&_ul]:my-8 [&_ul]:list-disc [&_ul]:pl-[1.2rem]", children: [
52
- d && /* @__PURE__ */ e(i, { variant: "legal", content: t.introMarkdown }),
53
- /* @__PURE__ */ e("ul", { className: "text-medium space-y-3", children: t.bullets.map((l) => /* @__PURE__ */ r("li", { className: "flex items-start gap-2", children: [
43
+ children: /* @__PURE__ */ r("div", { className: "text-medium space-y-4 [&_ul]:my-4 [&_ul]:list-disc [&_ul]:pl-[1.2rem]", children: [
44
+ c && /* @__PURE__ */ e(m, { variant: "legal", content: t.introMarkdown }),
45
+ /* @__PURE__ */ e("ul", { className: "text-medium space-y-3", children: t.bullets.map((a) => /* @__PURE__ */ r("li", { className: "flex items-start gap-2", children: [
54
46
  /* @__PURE__ */ e("span", { className: "bg-primary-600 mt-1 h-2.5 w-2.5", "aria-hidden": !0 }),
55
47
  /* @__PURE__ */ r("span", { children: [
56
48
  /* @__PURE__ */ r("strong", { children: [
57
- l.strong,
49
+ a.strong,
58
50
  " "
59
51
  ] }),
60
- l.text
52
+ a.text
61
53
  ] })
62
- ] }, l.id)) }),
63
- p && /* @__PURE__ */ e(i, { variant: "legal", content: t.closingMarkdown })
54
+ ] }, a.id)) }),
55
+ d && /* @__PURE__ */ e(m, { variant: "legal", content: t.closingMarkdown })
64
56
  ] })
65
57
  }
66
58
  )
67
59
  ] }) }),
68
- m.map((l) => {
69
- const { firstColumn: u, secondColumn: h } = U(l);
60
+ i.map((a) => {
61
+ const { firstColumn: u, secondColumn: g } = U(a);
70
62
  return /* @__PURE__ */ e(
71
- c,
63
+ o,
72
64
  {
73
- className: `${l.background} lg:px-ds-10xl px-6 py-12 sm:px-10`,
74
- containerClassName: N(
75
- "!mx-auto !w-full !max-w-6xl !px-0 !py-0 !gap-8 md:!gap-10 lg:items-start",
76
- l.imageFirstOnMobile ? "!flex-col-reverse md:!flex-row" : "!flex-col md:!flex-row"
65
+ className: `${a.background} lg:px-ds-10xl px-6 py-12`,
66
+ containerClassName: h(
67
+ "!mx-auto !w-full !max-w-6xl !px-0 !py-0 !gap-8 md:items-center lg:!gap-20",
68
+ a.imageFirstOnMobile ? "!flex-col md:!flex-row" : "!flex-col-reverse md:!flex-row",
69
+ a.reverse && "md:!flex-row-reverse"
77
70
  ),
78
71
  firstColumn: u,
79
- secondColumn: h
72
+ secondColumn: g
80
73
  },
81
- l.id
74
+ a.id
82
75
  );
83
76
  }),
84
77
  /* @__PURE__ */ e(
85
- M,
78
+ S,
86
79
  {
87
- title: a.title,
88
- content: a.contentMarkdown,
89
- stepsSlot: /* @__PURE__ */ e(w, { children: a.steps.map((l) => /* @__PURE__ */ e(
90
- I,
80
+ title: l.title,
81
+ content: l.contentMarkdown,
82
+ stepsSlot: /* @__PURE__ */ e(w, { children: l.steps.map((a) => /* @__PURE__ */ e(
83
+ M,
91
84
  {
92
- title: l.title,
93
- descriptionMarkdown: l.descriptionMarkdown,
94
- iconUrl: l.iconUrl,
95
- iconAlt: l.iconAlt ?? ""
85
+ title: a.title,
86
+ descriptionMarkdown: a.descriptionMarkdown,
87
+ iconUrl: a.iconUrl,
88
+ iconAlt: a.iconAlt ?? ""
96
89
  },
97
- l.id
90
+ a.id
98
91
  )) }),
99
- belowStepsSlot: g ? /* @__PURE__ */ e(
100
- i,
92
+ belowStepsSlot: x ? /* @__PURE__ */ e(
93
+ m,
101
94
  {
102
95
  variant: "ratafia",
103
- content: a.belowStepsMarkdown,
104
- className: y
96
+ content: l.belowStepsMarkdown,
97
+ className: k
105
98
  }
106
99
  ) : null,
107
100
  cta: f,
108
101
  skipCtaWrapper: !0,
109
- image: /* @__PURE__ */ e(B, { src: a.imageUrl, alt: a.imageAlt }),
110
- sectionClassName: a.sectionClassName ?? "bg-neutral-25 px-6 pt-16 pb-12 sm:px-10 lg:px-ds-10xl"
102
+ image: l.image,
103
+ sectionClassName: l.sectionClassName ?? "bg-primary-50 px-6 py-12 lg:px-ds-10xl"
111
104
  }
112
105
  ),
113
106
  /* @__PURE__ */ e(
114
- c,
107
+ o,
115
108
  {
116
- className: "bg-neutral-25 lg:px-ds-10xl px-6 py-12 sm:px-10",
117
- containerClassName: "!mx-auto !w-full !max-w-6xl !items-start !gap-8 !px-0 !py-0 md:!gap-10 lg:!items-stretch",
118
- firstColumn: /* @__PURE__ */ e("div", { className: "w-full min-w-0 shrink-0 rounded-2xl border border-neutral-100 bg-white p-4 lg:basis-[48%] lg:p-5", children: /* @__PURE__ */ e(L, { src: s.imageUrl, alt: s.imageAlt }) }),
119
- secondColumn: /* @__PURE__ */ r("div", { className: "w-full space-y-4 lg:basis-[52%]", children: [
120
- n.eyebrow && /* @__PURE__ */ e("p", { className: "text-xs font-semibold tracking-[0.2em] text-neutral-500 uppercase", children: n.eyebrow }),
121
- n.title && /* @__PURE__ */ e("h3", { className: "font-lora text-[2rem] leading-[1.2] font-bold text-neutral-800", children: n.title }),
122
- x && /* @__PURE__ */ e("div", { className: `text-small space-y-3 text-neutral-700 ${C}`, children: /* @__PURE__ */ e(i, { variant: "legal", content: s.supportBodyMarkdown }) }),
123
- n.rows.length > 0 && /* @__PURE__ */ e("dl", { className: "text-small space-y-2 text-neutral-700", children: n.rows.map((l) => /* @__PURE__ */ r("div", { className: "flex flex-wrap gap-x-2", children: [
124
- /* @__PURE__ */ e("dt", { className: "font-semibold", children: l.label }),
125
- /* @__PURE__ */ e("dd", { children: l.value })
126
- ] }, `${l.label}-${l.value}`)) }),
127
- n.footer && /* @__PURE__ */ e("p", { className: "text-small text-neutral-600", children: n.footer }),
128
- /* @__PURE__ */ e(
129
- o,
130
- {
131
- size: "small",
132
- variant: "primary-green",
133
- className: "text-small inline-flex w-auto justify-center font-bold",
134
- children: /* @__PURE__ */ e("a", { href: s.cta.href, className: v, children: s.cta.label })
135
- }
136
- )
109
+ className: "lg:px-ds-10xl bg-white px-6 pt-12 pb-14",
110
+ containerClassName: "!mx-auto !w-full !max-w-6xl !flex-col !items-start !gap-8 !px-0 !py-0 md:!flex-row md:!items-center lg:!gap-20",
111
+ firstColumn: /* @__PURE__ */ e("div", { className: "w-full min-w-0 md:shrink md:grow-0 md:basis-1/2", children: /* @__PURE__ */ e(I, { src: n.imageUrl, alt: n.imageAlt }) }),
112
+ secondColumn: /* @__PURE__ */ r("div", { className: "w-full min-w-0 space-y-6 md:shrink md:grow-0 md:basis-1/2", children: [
113
+ s.eyebrow && /* @__PURE__ */ e("p", { className: "text-xs font-semibold tracking-[0.2em] text-neutral-500 uppercase", children: s.eyebrow }),
114
+ s.title && /* @__PURE__ */ e("h3", { className: "text-super-large font-bold text-neutral-800", children: s.title }),
115
+ p && /* @__PURE__ */ e("div", { className: `text-medium space-y-3 text-neutral-800 ${C}`, children: /* @__PURE__ */ e(m, { variant: "legal", content: n.supportBodyMarkdown }) }),
116
+ s.rows.length > 0 && /* @__PURE__ */ e("dl", { className: "text-medium space-y-2 text-neutral-800", children: s.rows.map((a) => /* @__PURE__ */ r("div", { className: "flex flex-wrap gap-x-2", children: [
117
+ /* @__PURE__ */ e("dt", { className: "font-semibold", children: a.label }),
118
+ /* @__PURE__ */ e("dd", { children: a.value })
119
+ ] }, `${a.label}-${a.value}`)) }),
120
+ s.footer && /* @__PURE__ */ e("p", { className: "text-medium text-neutral-600", children: s.footer }),
121
+ /* @__PURE__ */ e(A, { size: "default", variant: "primary-green", className: "self-start font-bold", children: /* @__PURE__ */ e("a", { href: n.cta.href, className: y, children: n.cta.label }) })
137
122
  ] })
138
123
  }
139
124
  )
@@ -1,12 +1,10 @@
1
- /** Tailwind class strings for `next/link` / markdown in How It Works Strapi mappers (consumed by legal-contracts-web). */
2
1
  export declare const howItWorksHeroCtaLinkClassName = "font-semibold text-white";
3
2
 
4
- export declare const howItWorksLawGeniusBelowStepsMarkdownClassName = "text-medium";
3
+ export declare const howItWorksLawGeniusBelowStepsMarkdownClassName = "text-medium text-white";
5
4
 
6
- export declare const howItWorksLawGeniusCtaLinkClassName = "font-semibold text-white";
5
+ export declare const howItWorksLawGeniusCtaLinkClassName = "font-bold text-white whitespace-nowrap";
7
6
 
8
7
  export declare const howItWorksResourcesCtaLinkClassName = "font-semibold";
9
8
 
10
- /** Support column markdown: spacing for H2 vs body */
11
- export declare const howItWorksResourcesSupportBodyClassName = "[&_h2]:mb-8";
9
+ export declare const howItWorksResourcesSupportBodyClassName = "[&_h2]:text-super-large [&_h2]:mx-0 [&_h2]:mb-8 [&_h2]:bg-transparent [&_h2]:px-0 [&_h2]:font-bold [&_h2]:text-neutral-800";
12
10
 
@@ -1,8 +1,8 @@
1
- const s = "font-semibold text-white", o = "font-semibold text-white", t = "font-semibold", e = "text-medium", a = "[&_h2]:mb-8";
1
+ const t = "font-semibold text-white", e = "font-bold text-white whitespace-nowrap", o = "font-semibold", s = "text-medium text-white", a = "[&_h2]:text-super-large [&_h2]:mx-0 [&_h2]:mb-8 [&_h2]:bg-transparent [&_h2]:px-0 [&_h2]:font-bold [&_h2]:text-neutral-800";
2
2
  export {
3
- s as howItWorksHeroCtaLinkClassName,
4
- e as howItWorksLawGeniusBelowStepsMarkdownClassName,
5
- o as howItWorksLawGeniusCtaLinkClassName,
6
- t as howItWorksResourcesCtaLinkClassName,
3
+ t as howItWorksHeroCtaLinkClassName,
4
+ s as howItWorksLawGeniusBelowStepsMarkdownClassName,
5
+ e as howItWorksLawGeniusCtaLinkClassName,
6
+ o as howItWorksResourcesCtaLinkClassName,
7
7
  a as howItWorksResourcesSupportBodyClassName
8
8
  };
@@ -16,6 +16,8 @@ export declare interface IntroSectionProps {
16
16
  cta?: LinkWrapper;
17
17
  className?: string;
18
18
  containerClassName?: string;
19
+ firstColumnClassName?: string;
20
+ secondColumnClassName?: string;
19
21
  }
20
22
 
21
23
  export interface LinkWrapper {
@@ -1,18 +1,43 @@
1
- import { jsx as s, jsxs as n } from "react/jsx-runtime";
2
- import { TwoColumnSection as e } from "./TwoColumnSection.js";
3
- import { LinkWrapper as o } from "./LinkWrapper.js";
4
- const c = ({ image: i, children: r, cta: m, className: a, containerClassName: l }) => /* @__PURE__ */ s(
5
- e,
1
+ import { jsx as r, jsxs as d } from "react/jsx-runtime";
2
+ import { clsx as i } from "clsx";
3
+ import { TwoColumnSection as t } from "./TwoColumnSection.js";
4
+ import { LinkWrapper as p } from "./LinkWrapper.js";
5
+ const u = ({
6
+ image: o,
7
+ children: n,
8
+ cta: m,
9
+ className: s,
10
+ containerClassName: e,
11
+ firstColumnClassName: l,
12
+ secondColumnClassName: a
13
+ }) => /* @__PURE__ */ r(
14
+ t,
6
15
  {
7
- className: a ?? "",
8
- containerClassName: l,
9
- firstColumn: /* @__PURE__ */ s("div", { className: "mb-4 min-h-0 w-full min-w-0 shrink-0 md:mr-6 md:mb-0 md:basis-42/100 lg:mr-10 lg:basis-39/100 xl:basis-36/100", children: i }),
10
- secondColumn: /* @__PURE__ */ n("div", { className: "mt-4 basis-full md:mt-0 md:basis-56/100 lg:basis-59/100 xl:basis-60/100", children: [
11
- r,
12
- m && /* @__PURE__ */ s(o, { size: "large", variant: "primary-green", className: "mt-8", ...m })
13
- ] })
16
+ className: s ?? "",
17
+ containerClassName: i("gap-6 md:gap-10", e),
18
+ firstColumn: /* @__PURE__ */ r(
19
+ "div",
20
+ {
21
+ className: i("mb-4 min-h-0 w-full min-w-0 md:mb-0 md:shrink md:grow-0 md:basis-1/2", l),
22
+ children: o
23
+ }
24
+ ),
25
+ secondColumn: /* @__PURE__ */ d(
26
+ "div",
27
+ {
28
+ className: i(
29
+ "mt-4 w-full min-w-0 md:mt-0 md:shrink md:grow-0 md:basis-1/2",
30
+ m && "flex flex-col gap-8",
31
+ a
32
+ ),
33
+ children: [
34
+ n,
35
+ m && /* @__PURE__ */ r(p, { variant: "primary-green", ...m })
36
+ ]
37
+ }
38
+ )
14
39
  }
15
40
  );
16
41
  export {
17
- c as IntroSection
42
+ u as IntroSection
18
43
  };
@@ -1,15 +1,15 @@
1
1
  import { jsx as e } from "react/jsx-runtime";
2
- const a = { w: 898, h: 1100 }, i = "aspect-[449/550]", n = "relative w-full max-w-md overflow-hidden rounded-lg", r = `${n} bg-white`, o = `${n} bg-neutral-100 ${i}`, s = ({ empty: l, children: t }) => l ? /* @__PURE__ */ e("div", { className: o, "aria-hidden": !0 }) : /* @__PURE__ */ e("div", { className: r, children: t }), h = ({ src: l, alt: t }) => l ? /* @__PURE__ */ e(s, { children: /* @__PURE__ */ e(
2
+ const a = { w: 898, h: 1100 }, i = "aspect-[449/550]", n = "relative w-full max-w-md overflow-hidden rounded-lg", r = n, o = `${n} ${i}`, t = ({ empty: l, children: s }) => l ? /* @__PURE__ */ e("div", { className: o, "aria-hidden": !0 }) : /* @__PURE__ */ e("div", { className: r, children: s }), c = ({ src: l, alt: s }) => l ? /* @__PURE__ */ e(t, { children: /* @__PURE__ */ e(
3
3
  "img",
4
4
  {
5
5
  src: l,
6
- alt: t,
6
+ alt: s,
7
7
  width: a.w,
8
8
  height: a.h,
9
9
  className: "h-auto w-full max-w-full object-cover",
10
10
  loading: "lazy"
11
11
  }
12
- ) }) : /* @__PURE__ */ e(s, { empty: !0 });
12
+ ) }) : /* @__PURE__ */ e(t, { empty: !0 });
13
13
  export {
14
- h as LawGeniusImageShell
14
+ c as LawGeniusImageShell
15
15
  };
@@ -5,7 +5,7 @@ const m = ({
5
5
  descriptionMarkdown: i,
6
6
  iconUrl: e,
7
7
  iconAlt: n = ""
8
- }) => /* @__PURE__ */ a("div", { className: "bg-neutral-25 flex flex-col gap-2 rounded-sm p-6", children: [
8
+ }) => /* @__PURE__ */ a("div", { className: "bg-neutral-25 flex w-full flex-col gap-2 rounded p-6", children: [
9
9
  /* @__PURE__ */ a("div", { className: "flex w-full items-start gap-2", children: [
10
10
  /* @__PURE__ */ t("span", { className: "flex h-5 w-5 shrink-0 items-center justify-center [&_img]:h-5 [&_img]:w-5 [&_img]:object-contain [&_svg]:h-5 [&_svg]:w-5", children: e ? /* @__PURE__ */ t("img", { src: e, alt: n, className: "h-5 w-5 object-contain" }) : /* @__PURE__ */ t("span", { className: "inline-block h-5 w-5 shrink-0", "aria-hidden": !0 }) }),
11
11
  /* @__PURE__ */ t("p", { className: "text-big min-w-0 flex-1 font-bold tracking-tight text-neutral-800", children: l })
@@ -1,14 +1,14 @@
1
- import { jsx as i } from "react/jsx-runtime";
1
+ import { jsx as l } from "react/jsx-runtime";
2
2
  import a from "clsx";
3
- const m = ({ variant: e = "default", children: l }) => {
3
+ const u = ({ variant: e = "default", children: s }) => {
4
4
  const t = {
5
- default: "mb-4 list-inside list-decimal text-gray-900 space-y-2",
6
- legal: "list-outside list-decimal pl-8 mb-4 text-neutral-800 space-y-4",
7
- ratafia: "mb-3 list-outside list-decimal space-y-2 pl-5 text-white/85 marker:text-white/60",
8
- unsubscribe: "mb-4 w-full list-outside list-decimal space-y-2 pl-10 text-neutral-800"
9
- }, s = t[e] ?? t.default;
10
- return /* @__PURE__ */ i("ol", { className: a("mb-4 list-decimal", s), children: l });
5
+ default: "mb-4 list-inside space-y-2 text-gray-900",
6
+ legal: "mb-4 list-outside space-y-4 pl-8 text-neutral-800",
7
+ ratafia: "mb-3 list-outside space-y-2 pl-5 text-white/85 marker:text-white/60",
8
+ unsubscribe: "mb-4 w-full list-outside space-y-2 pl-10 text-neutral-800"
9
+ };
10
+ return /* @__PURE__ */ l("ol", { className: a("list-decimal", t[e] ?? t.default), children: s });
11
11
  };
12
12
  export {
13
- m as OrderedList
13
+ u as OrderedList
14
14
  };
@@ -36,6 +36,8 @@ export interface IntroSectionProps {
36
36
  cta?: LinkWrapper;
37
37
  className?: string;
38
38
  containerClassName?: string;
39
+ firstColumnClassName?: string;
40
+ secondColumnClassName?: string;
39
41
  }
40
42
 
41
43
  export interface Jumbotron2Props {