@npm_leadtech/legal-contracts-ui 0.122.1 → 0.122.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.
@@ -79,10 +79,10 @@ export interface IntroSectionProps {
79
79
  }
80
80
 
81
81
  export interface Jumbotron2Props {
82
- title: string;
82
+ title: ReactNode;
83
83
  subtitle?: string;
84
84
  className?: string;
85
- children?: React.ReactNode;
85
+ children?: ReactNode;
86
86
  variant?: 'default' | 'contact';
87
87
  }
88
88
 
@@ -101,10 +101,10 @@ export declare interface ContactUsTemplateProps {
101
101
  export type IconPosition = 'left' | 'right' | 'top';
102
102
 
103
103
  export interface Jumbotron2Props {
104
- title: string;
104
+ title: ReactNode;
105
105
  subtitle?: string;
106
106
  className?: string;
107
- children?: React.ReactNode;
107
+ children?: ReactNode;
108
108
  variant?: 'default' | 'contact';
109
109
  }
110
110
 
@@ -1,4 +1,5 @@
1
1
  import { FC } from 'react';
2
+ import { ReactNode } from 'react';
2
3
 
3
4
  export interface AsideNavMenuProps {
4
5
  menuItems: Array<{
@@ -33,10 +34,10 @@ export declare interface FaqsTemplateProps {
33
34
  }
34
35
 
35
36
  export interface Jumbotron2Props {
36
- title: string;
37
+ title: ReactNode;
37
38
  subtitle?: string;
38
39
  className?: string;
39
- children?: React.ReactNode;
40
+ children?: ReactNode;
40
41
  variant?: 'default' | 'contact';
41
42
  }
42
43
 
@@ -0,0 +1,10 @@
1
+ import { FC } from 'react';
2
+
3
+ export declare const HeroImageShell: FC<HeroImageShellProps>;
4
+
5
+ export declare interface HeroImageShellProps {
6
+ src: string | null;
7
+ alt: string;
8
+ priority?: boolean;
9
+ }
10
+
@@ -0,0 +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(
3
+ "img",
4
+ {
5
+ src: l,
6
+ alt: o,
7
+ width: r.w,
8
+ height: r.h,
9
+ className: "h-auto w-full max-w-full object-cover",
10
+ ...d ? { loading: "eager" } : { loading: "lazy" }
11
+ }
12
+ ) }) : /* @__PURE__ */ e(a, { empty: !0 });
13
+ export {
14
+ n as HeroImageShell
15
+ };
@@ -4,10 +4,10 @@ import { HeroSection as n } from "./HeroSection.js";
4
4
  import { MoreTemplatesSection as f } from "./MoreTemplatesSection.js";
5
5
  import { ProcessSection as l } from "./ProcessSection.js";
6
6
  import { CategoriesSection as S } from "./CategoriesSection.js";
7
- import { RatafiaSection as x } from "./RatafiaSection.js";
8
- import { TrustSection as T } from "./TrustSection.js";
9
- import { FaqTeaserSection as b } from "./FaqTeaserSection.js";
10
- import { BlogSection as g } from "./BlogSection.js";
7
+ import { TrustSection as x } from "./TrustSection.js";
8
+ import { FaqTeaserSection as T } from "./FaqTeaserSection.js";
9
+ import { BlogSection as b } from "./BlogSection.js";
10
+ import { RatafiaSection as g } from "./RatafiaSection.js";
11
11
  const M = ({
12
12
  hero: t,
13
13
  moreTemplates: m,
@@ -22,10 +22,10 @@ const M = ({
22
22
  /* @__PURE__ */ o(f, { ...m }),
23
23
  /* @__PURE__ */ o(l, { ...e }),
24
24
  r && /* @__PURE__ */ o(S, { ...r }),
25
- /* @__PURE__ */ o(x, { ...i }),
26
- /* @__PURE__ */ o(T, { ...p }),
27
- /* @__PURE__ */ o(b, { ...s }),
28
- /* @__PURE__ */ o(g, { className: "pt-10 pb-12 lg:pb-14", ...a })
25
+ /* @__PURE__ */ o(g, { ...i }),
26
+ /* @__PURE__ */ o(x, { ...p }),
27
+ /* @__PURE__ */ o(T, { ...s }),
28
+ /* @__PURE__ */ o(b, { className: "pt-10 pb-12 lg:pb-14", ...a })
29
29
  ] });
30
30
  export {
31
31
  M as HomeTemplate
@@ -0,0 +1,16 @@
1
+ import { FC } from 'react';
2
+ import { ReactNode } from 'react';
3
+
4
+ export declare const HowItWorksLawGeniusSection: FC<HowItWorksLawGeniusSectionProps>;
5
+
6
+ export declare interface HowItWorksLawGeniusSectionProps {
7
+ sectionTitle: string;
8
+ contentMarkdown: string;
9
+ descriptionMarkdown: string;
10
+ steps: ReactNode;
11
+ belowStepsMarkdown: string;
12
+ cta: ReactNode;
13
+ imageUrl: string | null;
14
+ imageAlt: string;
15
+ }
16
+
@@ -0,0 +1,41 @@
1
+ import { jsx as e, jsxs as l } from "react/jsx-runtime";
2
+ import { howItWorksLawGeniusBelowStepsMarkdownClassName as h } from "./HowItWorksTemplateTokens.js";
3
+ import { LawGeniusImageShell as p } from "./LawGeniusImageShell.js";
4
+ import { Markdown as t } from "./Markdown.js";
5
+ const v = ({
6
+ sectionTitle: s,
7
+ contentMarkdown: m,
8
+ descriptionMarkdown: a,
9
+ steps: r,
10
+ belowStepsMarkdown: i,
11
+ cta: n,
12
+ imageUrl: c,
13
+ imageAlt: x
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: [
17
+ /* @__PURE__ */ l("div", { className: "flex flex-col gap-4 text-center text-white", children: [
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 }) })
21
+ ] }),
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
+ /* @__PURE__ */ l("div", { className: "flex min-h-0 flex-col gap-6", children: [
24
+ r,
25
+ d && /* @__PURE__ */ e(
26
+ t,
27
+ {
28
+ variant: "ratafia",
29
+ content: i,
30
+ className: h
31
+ }
32
+ ),
33
+ /* @__PURE__ */ e("div", { className: "w-full lg:w-fit", children: n })
34
+ ] }),
35
+ /* @__PURE__ */ e("div", { className: "relative z-10 mx-auto flex min-h-0 w-full max-w-77 shrink-0 items-center justify-center overflow-hidden rounded-lg md:mx-0 md:max-w-none", children: /* @__PURE__ */ e(p, { src: c, alt: x }) })
36
+ ] })
37
+ ] }) }) });
38
+ };
39
+ export {
40
+ v as HowItWorksLawGeniusSection
41
+ };
@@ -1,17 +1,4 @@
1
- import { ComponentPropsWithRef } from 'react';
2
1
  import { FC } from 'react';
3
- import { ReactNode } from 'react';
4
-
5
- export interface ButtonProps extends Omit<ComponentPropsWithRef<'button'>, 'children'> {
6
- children: ReactNode;
7
- size?: ButtonSize;
8
- variant?: ResponsiveButtonVariant;
9
- iconPosition?: IconPosition;
10
- }
11
-
12
- export type ButtonSize = 'small' | 'default' | 'large';
13
-
14
- export type ButtonVariant = 'primary-green' | 'primary-darkgreen' | 'primary-yellow' | 'primary-white' | 'secondary-green' | 'secondary-yellow' | 'secondary-red' | 'secondary-black' | 'tertiary-bold' | 'tertiary-thin' | 'tertiary-icon' | 'tertiary-link' | 'icon-black' | 'icon-grey' | 'icon-mobile';
15
2
 
16
3
  export declare type HowItWorksExamplesProps = {
17
4
  eyebrow: string;
@@ -32,15 +19,17 @@ export declare type HowItWorksHeroBullet = {
32
19
  export declare type HowItWorksLawGeniusStep = {
33
20
  id: string;
34
21
  title: string;
35
- description: ReactNode;
36
- icon: ReactNode;
22
+ descriptionMarkdown: string;
23
+ iconUrl: string | null;
24
+ iconAlt?: string;
37
25
  };
38
26
 
39
27
  export declare type HowItWorksProcessStep = {
40
28
  id: string;
41
29
  title: string;
42
- body: ReactNode;
43
- image: ReactNode;
30
+ bodyMarkdown: string;
31
+ imageUrl: string | null;
32
+ imageAlt: string;
44
33
  background: 'bg-white' | 'bg-neutral-25';
45
34
  reverse?: boolean;
46
35
  imageFirstOnMobile?: boolean;
@@ -52,37 +41,40 @@ export declare interface HowItWorksTemplateProps {
52
41
  hero: {
53
42
  eyebrow: string;
54
43
  title: string;
55
- image: ReactNode;
56
- intro: ReactNode;
44
+ imageUrl: string | null;
45
+ imageAlt: string;
46
+ imagePriority?: boolean;
47
+ introMarkdown: string;
57
48
  bullets: HowItWorksHeroBullet[];
58
- closing: ReactNode;
59
- cta: ButtonProps;
49
+ closingMarkdown: string;
50
+ cta: {
51
+ href: string;
52
+ label: string;
53
+ };
60
54
  };
61
55
  processSteps: HowItWorksProcessStep[];
62
56
  lawGenius: {
63
57
  title: string;
64
- content: string;
58
+ contentMarkdown: string;
65
59
  steps: HowItWorksLawGeniusStep[];
66
- belowStepsSlot: ReactNode;
67
- cta: ButtonProps;
68
- image: ReactNode;
60
+ belowStepsMarkdown: string;
61
+ imageUrl: string | null;
62
+ imageAlt: string;
63
+ cta: {
64
+ href: string;
65
+ label: string;
66
+ };
69
67
  sectionClassName?: string;
70
68
  };
71
69
  resources: {
72
70
  examples: HowItWorksExamplesProps;
73
- image: ReactNode;
74
- supportBody: ReactNode;
75
- cta: ButtonProps;
71
+ supportBodyMarkdown: string;
72
+ imageUrl: string | null;
73
+ imageAlt: string;
74
+ cta: {
75
+ href: string;
76
+ label: string;
77
+ };
76
78
  };
77
79
  }
78
-
79
- export type IconPosition = 'left' | 'right' | 'top';
80
-
81
- export type ResponsiveButtonVariant = ButtonVariant | {
82
- initial?: ButtonVariant;
83
- sm?: ButtonVariant;
84
- md?: ButtonVariant;
85
- lg?: ButtonVariant;
86
- xl?: ButtonVariant;
87
- };
88
80
 
@@ -1,93 +1,113 @@
1
- import { jsxs as a, jsx as e, Fragment as p } from "react/jsx-runtime";
2
- import { clsx as g } from "clsx";
3
- import { Button as r } from "./Button.js";
4
- import { IntroSection as u } from "./IntroSection.js";
5
- import { RatafiaSection as f } from "./RatafiaSection.js";
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";
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";
6
12
  import { TwoColumnSection as c } from "./TwoColumnSection.js";
7
- const h = ({ title: l, description: n, icon: t }) => /* @__PURE__ */ a("div", { className: "bg-neutral-25 flex flex-col gap-2 rounded-sm p-6", children: [
8
- /* @__PURE__ */ a("div", { className: "flex w-full items-start gap-2", children: [
9
- /* @__PURE__ */ e("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: t }),
10
- /* @__PURE__ */ e("p", { className: "text-big min-w-0 flex-1 font-bold tracking-tight text-neutral-800", children: l })
11
- ] }),
12
- /* @__PURE__ */ e("div", { className: "text-small w-full min-w-0 tracking-tight text-neutral-800 [&_p:last-child]:mb-0 [&_strong]:font-bold", children: n })
13
- ] }), w = (l) => {
14
- const n = /* @__PURE__ */ a("div", { className: "min-w-0 space-y-4 text-neutral-800 lg:basis-[47%]", children: [
15
- /* @__PURE__ */ e("h2", { className: "font-lora text-[2.05rem] leading-[1.15] font-bold text-neutral-800", children: l.title }),
16
- /* @__PURE__ */ e("div", { className: "text-small space-y-3 text-neutral-700", children: l.body })
17
- ] }), t = /* @__PURE__ */ e("div", { className: "w-full shrink-0 lg:w-1/2 lg:max-w-[50%]", children: l.image });
18
- return l.reverse ? { firstColumn: t, secondColumn: n } : { firstColumn: n, secondColumn: t };
19
- }, S = ({ hero: l, processSteps: n, lawGenius: t, resources: m }) => {
20
- const o = {
21
- size: "large",
22
- variant: "primary-green",
23
- className: "!rounded-md text-medium w-full justify-center font-bold lg:w-auto",
24
- ...t.cta
25
- }, { examples: i } = m;
26
- return /* @__PURE__ */ a("main", { className: "flex w-full max-w-full min-w-0 flex-1 flex-col", children: [
27
- /* @__PURE__ */ e("section", { className: "bg-primary-50 lg:px-ds-10xl px-6 pt-4 pb-12 sm:px-10", children: /* @__PURE__ */ a("div", { className: "mx-auto flex max-w-6xl flex-col gap-12", children: [
28
- /* @__PURE__ */ a("div", { className: "text-center", children: [
29
- /* @__PURE__ */ a("div", { className: "mx-auto inline-flex max-w-full flex-col items-center gap-2", children: [
30
- /* @__PURE__ */ e("p", { className: "text-small font-semibold tracking-[0.3em] whitespace-nowrap text-neutral-600 uppercase", children: l.eyebrow }),
13
+ import { LawGeniusImageShell as B } from "./LawGeniusImageShell.js";
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 }),
31
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 })
32
36
  ] }),
33
- /* @__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: l.title })
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 })
34
38
  ] }),
35
39
  /* @__PURE__ */ e(
36
- u,
40
+ A,
37
41
  {
38
42
  className: "bg-transparent",
39
43
  containerClassName: "w-full !max-w-none flex-col gap-10 !px-0 !py-0 lg:flex-row lg:items-stretch",
40
- image: l.image,
44
+ image: /* @__PURE__ */ e(S, { src: t.imageUrl, alt: t.imageAlt, priority: t.imagePriority }),
41
45
  cta: {
42
46
  size: "large",
43
47
  variant: "primary-green",
44
48
  className: "text-medium mt-8 w-full justify-center font-bold",
45
- ...l.cta
49
+ children: /* @__PURE__ */ e("a", { href: t.cta.href, className: k, children: t.cta.label })
46
50
  },
47
- children: /* @__PURE__ */ a("div", { className: "text-medium space-y-4 [&_ul]:my-8 [&_ul]:list-disc [&_ul]:pl-[1.2rem]", children: [
48
- l.intro,
49
- /* @__PURE__ */ e("ul", { className: "text-medium space-y-3", children: l.bullets.map((s) => /* @__PURE__ */ a("li", { className: "flex items-start gap-2", children: [
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: [
50
54
  /* @__PURE__ */ e("span", { className: "bg-primary-600 mt-1 h-2.5 w-2.5", "aria-hidden": !0 }),
51
- /* @__PURE__ */ a("span", { children: [
52
- /* @__PURE__ */ a("strong", { children: [
53
- s.strong,
55
+ /* @__PURE__ */ r("span", { children: [
56
+ /* @__PURE__ */ r("strong", { children: [
57
+ l.strong,
54
58
  " "
55
59
  ] }),
56
- s.text
60
+ l.text
57
61
  ] })
58
- ] }, s.id)) }),
59
- l.closing
62
+ ] }, l.id)) }),
63
+ p && /* @__PURE__ */ e(i, { variant: "legal", content: t.closingMarkdown })
60
64
  ] })
61
65
  }
62
66
  )
63
67
  ] }) }),
64
- n.map((s) => {
65
- const { firstColumn: x, secondColumn: d } = w(s);
68
+ m.map((l) => {
69
+ const { firstColumn: u, secondColumn: h } = U(l);
66
70
  return /* @__PURE__ */ e(
67
71
  c,
68
72
  {
69
- className: `${s.background} lg:px-ds-10xl px-6 py-12 sm:px-10`,
70
- containerClassName: g(
73
+ className: `${l.background} lg:px-ds-10xl px-6 py-12 sm:px-10`,
74
+ containerClassName: N(
71
75
  "!mx-auto !w-full !max-w-6xl !px-0 !py-0 !gap-8 md:!gap-10 lg:items-start",
72
- s.imageFirstOnMobile ? "!flex-col-reverse md:!flex-row" : "!flex-col md:!flex-row"
76
+ l.imageFirstOnMobile ? "!flex-col-reverse md:!flex-row" : "!flex-col md:!flex-row"
73
77
  ),
74
- firstColumn: x,
75
- secondColumn: d
78
+ firstColumn: u,
79
+ secondColumn: h
76
80
  },
77
- s.id
81
+ l.id
78
82
  );
79
83
  }),
80
84
  /* @__PURE__ */ e(
81
- f,
85
+ M,
82
86
  {
83
- title: t.title,
84
- content: t.content,
85
- stepsSlot: /* @__PURE__ */ e(p, { children: t.steps.map((s) => /* @__PURE__ */ e(h, { ...s }, s.id)) }),
86
- belowStepsSlot: t.belowStepsSlot,
87
- cta: /* @__PURE__ */ e(r, { ...o }),
87
+ title: a.title,
88
+ content: a.contentMarkdown,
89
+ stepsSlot: /* @__PURE__ */ e(w, { children: a.steps.map((l) => /* @__PURE__ */ e(
90
+ I,
91
+ {
92
+ title: l.title,
93
+ descriptionMarkdown: l.descriptionMarkdown,
94
+ iconUrl: l.iconUrl,
95
+ iconAlt: l.iconAlt ?? ""
96
+ },
97
+ l.id
98
+ )) }),
99
+ belowStepsSlot: g ? /* @__PURE__ */ e(
100
+ i,
101
+ {
102
+ variant: "ratafia",
103
+ content: a.belowStepsMarkdown,
104
+ className: y
105
+ }
106
+ ) : null,
107
+ cta: f,
88
108
  skipCtaWrapper: !0,
89
- image: t.image,
90
- sectionClassName: t.sectionClassName ?? "bg-neutral-25 px-6 pb-12 pt-16 sm:px-10 lg:px-ds-10xl"
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"
91
111
  }
92
112
  ),
93
113
  /* @__PURE__ */ e(
@@ -95,19 +115,23 @@ const h = ({ title: l, description: n, icon: t }) => /* @__PURE__ */ a("div", {
95
115
  {
96
116
  className: "bg-neutral-25 lg:px-ds-10xl px-6 py-12 sm:px-10",
97
117
  containerClassName: "!mx-auto !w-full !max-w-6xl !items-start !gap-8 !px-0 !py-0 md:!gap-10 lg:!items-stretch",
98
- 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: m.image }),
99
- secondColumn: /* @__PURE__ */ a("div", { className: "w-full space-y-4 lg:basis-[52%]", children: [
100
- i.eyebrow && /* @__PURE__ */ e("p", { className: "text-xs font-semibold tracking-[0.2em] text-neutral-500 uppercase", children: i.eyebrow }),
101
- i.title && /* @__PURE__ */ e("h3", { className: "font-lora text-[2rem] leading-[1.2] font-bold text-neutral-800", children: i.title }),
102
- /* @__PURE__ */ e("div", { className: "text-small space-y-3 text-neutral-700", children: m.supportBody }),
103
- i.footer && /* @__PURE__ */ e("p", { className: "text-small text-neutral-600", children: i.footer }),
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 }),
104
128
  /* @__PURE__ */ e(
105
- r,
129
+ o,
106
130
  {
107
131
  size: "small",
108
132
  variant: "primary-green",
109
133
  className: "text-small inline-flex w-auto justify-center font-bold",
110
- ...m.cta
134
+ children: /* @__PURE__ */ e("a", { href: s.cta.href, className: v, children: s.cta.label })
111
135
  }
112
136
  )
113
137
  ] })
@@ -116,5 +140,5 @@ const h = ({ title: l, description: n, icon: t }) => /* @__PURE__ */ a("div", {
116
140
  ] });
117
141
  };
118
142
  export {
119
- S as HowItWorksTemplate
143
+ J as HowItWorksTemplate
120
144
  };
@@ -1,12 +1,13 @@
1
1
  import { FC } from 'react';
2
+ import { ReactNode } from 'react';
2
3
 
3
4
  export declare const Jumbotron2: FC<Jumbotron2Props>;
4
5
 
5
6
  export declare interface Jumbotron2Props {
6
- title: string;
7
+ title: ReactNode;
7
8
  subtitle?: string;
8
9
  className?: string;
9
- children?: React.ReactNode;
10
+ children?: ReactNode;
10
11
  variant?: 'default' | 'contact';
11
12
  }
12
13
 
@@ -0,0 +1,9 @@
1
+ import { FC } from 'react';
2
+
3
+ export declare const LawGeniusImageShell: FC<LawGeniusImageShellProps>;
4
+
5
+ export declare interface LawGeniusImageShellProps {
6
+ src: string | null;
7
+ alt: string;
8
+ }
9
+
@@ -0,0 +1,15 @@
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(
3
+ "img",
4
+ {
5
+ src: l,
6
+ alt: t,
7
+ width: a.w,
8
+ height: a.h,
9
+ className: "h-auto w-full max-w-full object-cover",
10
+ loading: "lazy"
11
+ }
12
+ ) }) : /* @__PURE__ */ e(s, { empty: !0 });
13
+ export {
14
+ h as LawGeniusImageShell
15
+ };
@@ -0,0 +1,11 @@
1
+ import { FC } from 'react';
2
+
3
+ export declare const LawGeniusStepCard: FC<LawGeniusStepCardProps>;
4
+
5
+ export declare interface LawGeniusStepCardProps {
6
+ title: string;
7
+ descriptionMarkdown: string;
8
+ iconUrl: string | null;
9
+ iconAlt?: string;
10
+ }
11
+
@@ -0,0 +1,17 @@
1
+ import { jsxs as a, jsx as t } from "react/jsx-runtime";
2
+ import { Markdown as s } from "./Markdown.js";
3
+ const m = ({
4
+ title: l,
5
+ descriptionMarkdown: i,
6
+ iconUrl: e,
7
+ iconAlt: n = ""
8
+ }) => /* @__PURE__ */ a("div", { className: "bg-neutral-25 flex flex-col gap-2 rounded-sm p-6", children: [
9
+ /* @__PURE__ */ a("div", { className: "flex w-full items-start gap-2", children: [
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
+ /* @__PURE__ */ t("p", { className: "text-big min-w-0 flex-1 font-bold tracking-tight text-neutral-800", children: l })
12
+ ] }),
13
+ /* @__PURE__ */ t("div", { className: "text-small w-full min-w-0 tracking-tight text-neutral-800 [&_p:last-child]:mb-0 [&_strong]:font-bold", children: /* @__PURE__ */ t(s, { variant: "legal", content: i }) })
14
+ ] });
15
+ export {
16
+ m as LawGeniusStepCard
17
+ };
@@ -39,10 +39,10 @@ export interface IntroSectionProps {
39
39
  }
40
40
 
41
41
  export interface Jumbotron2Props {
42
- title: string;
42
+ title: ReactNode;
43
43
  subtitle?: string;
44
44
  className?: string;
45
- children?: React.ReactNode;
45
+ children?: ReactNode;
46
46
  variant?: 'default' | 'contact';
47
47
  }
48
48
 
@@ -0,0 +1,9 @@
1
+ import { FC } from 'react';
2
+
3
+ export declare const ResourcesImageShell: FC<ResourcesImageShellProps>;
4
+
5
+ export declare interface ResourcesImageShellProps {
6
+ src: string | null;
7
+ alt: string;
8
+ }
9
+
@@ -0,0 +1,15 @@
1
+ import { jsx as l } from "react/jsx-runtime";
2
+ const o = { w: 840, h: 612 }, t = "relative aspect-420/306 w-full overflow-hidden rounded-2xl bg-neutral-100", a = "relative w-full overflow-hidden rounded-2xl", s = ({ empty: e, children: r }) => /* @__PURE__ */ l("div", { className: e ? t : a, "aria-hidden": e ? !0 : void 0, children: e ? null : r }), i = ({ src: e, alt: r }) => e ? /* @__PURE__ */ l(s, { children: /* @__PURE__ */ l(
3
+ "img",
4
+ {
5
+ src: e,
6
+ alt: r,
7
+ width: o.w,
8
+ height: o.h,
9
+ className: "h-auto w-full max-w-full object-cover",
10
+ loading: "lazy"
11
+ }
12
+ ) }) : /* @__PURE__ */ l(s, { empty: !0 });
13
+ export {
14
+ i as ResourcesImageShell
15
+ };
@@ -0,0 +1,9 @@
1
+ import { FC } from 'react';
2
+
3
+ export declare const StepImageShell: FC<StepImageShellProps>;
4
+
5
+ export declare interface StepImageShellProps {
6
+ src: string | null;
7
+ alt: string;
8
+ }
9
+
@@ -0,0 +1,15 @@
1
+ import { jsx as e } from "react/jsx-runtime";
2
+ const a = { w: 1120, h: 816 }, r = "relative aspect-[560/408] w-full overflow-hidden rounded-2xl bg-neutral-100 shadow-[0_25px_60px_rgba(3,42,56,0.15)]", d = "relative w-full overflow-hidden rounded-2xl shadow-[0_25px_60px_rgba(3,42,56,0.15)]", o = ({ empty: l, children: t }) => /* @__PURE__ */ e("div", { className: l ? r : d, "aria-hidden": l ? !0 : void 0, children: l ? null : t }), h = ({ src: l, alt: t }) => l ? /* @__PURE__ */ e(o, { children: /* @__PURE__ */ e(
3
+ "img",
4
+ {
5
+ src: l,
6
+ alt: t,
7
+ width: a.w,
8
+ height: a.h,
9
+ className: "h-auto w-full max-w-full object-cover",
10
+ loading: "lazy"
11
+ }
12
+ ) }) : /* @__PURE__ */ e(o, { empty: !0 });
13
+ export {
14
+ h as StepImageShell
15
+ };