@npm_leadtech/legal-contracts-ui 0.119.0 → 0.122.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.
- package/dist/components/Anchor.d.ts +1 -1
- package/dist/components/Anchor.js +9 -8
- package/dist/components/Blockquote.d.ts +1 -1
- package/dist/components/Blockquote.js +9 -9
- package/dist/components/Footer.js +15 -15
- package/dist/components/Header2.d.ts +1 -1
- package/dist/components/Header2.js +5 -4
- package/dist/components/HowItWorksTemplate.d.ts +10 -2
- package/dist/components/HowItWorksTemplate.js +80 -84
- package/dist/components/IntroSection.js +10 -10
- package/dist/components/Markdown.d.ts +1 -1
- package/dist/components/OrderedList.d.ts +1 -1
- package/dist/components/OrderedList.js +10 -9
- package/dist/components/Paragraph.d.ts +1 -1
- package/dist/components/Paragraph.js +6 -2
- package/dist/components/RatafiaSection.js +23 -23
- package/dist/components/TwoColumnSection.js +8 -8
- package/dist/components/UiComponents.d.ts +6 -6
- package/dist/components/UnorderedList.d.ts +1 -1
- package/dist/components/UnorderedList.js +13 -5
- package/dist/components/UnsubscribeTemplate.d.ts +1 -1
- package/dist/components/index.d.ts +1 -1
- package/dist/globals.css +1 -1
- package/package.json +1 -1
|
@@ -3,6 +3,6 @@ import { JSX } from 'react/jsx-runtime';
|
|
|
3
3
|
export declare const Anchor: ({ children, variant, className, ...props }: AnchorProps) => JSX.Element;
|
|
4
4
|
|
|
5
5
|
export interface AnchorProps extends React.ComponentProps<'a'> {
|
|
6
|
-
variant?: 'default' | 'legal' | 'tooltip' | 'about-us' | 'pricing' | 'unsubscribe' | 'cookies';
|
|
6
|
+
variant?: 'default' | 'legal' | 'ratafia' | 'tooltip' | 'about-us' | 'pricing' | 'unsubscribe' | 'cookies';
|
|
7
7
|
}
|
|
8
8
|
|
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
import { jsx as d } from "react/jsx-runtime";
|
|
2
2
|
import p from "clsx";
|
|
3
|
-
const
|
|
4
|
-
const t = r.href || "",
|
|
3
|
+
const b = ({ children: a, variant: c = "default", className: l = "", ...r }) => {
|
|
4
|
+
const t = r.href || "", n = t.toLowerCase(), u = n.startsWith("mailto:"), o = n.startsWith("tel:"), e = "cursor-pointer text-primary-700", s = {
|
|
5
5
|
default: "text-neutral-900 underline",
|
|
6
6
|
legal: e,
|
|
7
|
+
ratafia: "cursor-pointer text-primary-200 underline decoration-white/40 underline-offset-2 hover:text-white",
|
|
7
8
|
"about-us": e,
|
|
8
9
|
pricing: "cursor-pointer text-neutral-900",
|
|
9
10
|
unsubscribe: e,
|
|
10
11
|
cookies: "text-white"
|
|
11
|
-
}, f =
|
|
12
|
-
if (!
|
|
12
|
+
}, f = s[c] ?? s.default, i = t.startsWith("http") && !o && !u, h = (() => {
|
|
13
|
+
if (!o) return t;
|
|
13
14
|
try {
|
|
14
15
|
return decodeURIComponent(t).replace(/\s/g, "");
|
|
15
16
|
} catch {
|
|
@@ -22,12 +23,12 @@ const v = ({ children: i, variant: c = "default", className: l = "", ...r }) =>
|
|
|
22
23
|
...r,
|
|
23
24
|
href: h,
|
|
24
25
|
className: p(l, f),
|
|
25
|
-
target:
|
|
26
|
-
rel:
|
|
27
|
-
children:
|
|
26
|
+
target: i ? "_blank" : void 0,
|
|
27
|
+
rel: i ? "noopener noreferrer" : void 0,
|
|
28
|
+
children: a
|
|
28
29
|
}
|
|
29
30
|
);
|
|
30
31
|
};
|
|
31
32
|
export {
|
|
32
|
-
|
|
33
|
+
b as Anchor
|
|
33
34
|
};
|
|
@@ -3,6 +3,6 @@ import { JSX } from 'react/jsx-runtime';
|
|
|
3
3
|
export declare const Blockquote: ({ children, variant }: BlockquoteProps) => JSX.Element;
|
|
4
4
|
|
|
5
5
|
export interface BlockquoteProps extends React.ComponentProps<'blockquote'> {
|
|
6
|
-
variant?: 'default' | 'legal' | 'tooltip' | 'about-us' | 'pricing' | 'unsubscribe' | 'cookies';
|
|
6
|
+
variant?: 'default' | 'legal' | 'ratafia' | 'tooltip' | 'about-us' | 'pricing' | 'unsubscribe' | 'cookies';
|
|
7
7
|
}
|
|
8
8
|
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
3
|
-
const
|
|
1
|
+
import { jsx as l } from "react/jsx-runtime";
|
|
2
|
+
import o from "clsx";
|
|
3
|
+
const s = ({ children: r, variant: a = "default" }) => {
|
|
4
4
|
const t = {
|
|
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
|
-
},
|
|
9
|
-
return /* @__PURE__ */
|
|
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 });
|
|
10
10
|
};
|
|
11
11
|
export {
|
|
12
|
-
|
|
12
|
+
s as Blockquote
|
|
13
13
|
};
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { jsxs as l, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
3
|
import { PhoneButton as o } from "./PhoneButton.js";
|
|
4
|
-
import { FooterNav as
|
|
4
|
+
import { FooterNav as f } from "./FooterNav.js";
|
|
5
5
|
const g = ({
|
|
6
6
|
nav: r,
|
|
7
7
|
contactInfo: t,
|
|
8
|
-
logoGray:
|
|
9
|
-
socialLinks:
|
|
10
|
-
legalLinks:
|
|
11
|
-
disclaimerText:
|
|
8
|
+
logoGray: d,
|
|
9
|
+
socialLinks: i,
|
|
10
|
+
legalLinks: x,
|
|
11
|
+
disclaimerText: c,
|
|
12
12
|
copyrightText: n,
|
|
13
|
-
trustPilot:
|
|
14
|
-
languageSelector:
|
|
15
|
-
}) => /* @__PURE__ */ l("footer", { className: "text-neutral-25", children: [
|
|
13
|
+
trustPilot: m,
|
|
14
|
+
languageSelector: s
|
|
15
|
+
}) => /* @__PURE__ */ l("footer", { className: "text-neutral-25 max-w-full overflow-x-hidden", children: [
|
|
16
16
|
/* @__PURE__ */ e("div", { className: "bg-primary-900", children: /* @__PURE__ */ l("div", { className: "mx-auto flex w-full max-w-300 flex-col items-start gap-8 px-6 py-10 md:grid md:grid-cols-3 lg:flex lg:flex-row lg:justify-between", children: [
|
|
17
|
-
r.map((a) => /* @__PURE__ */ e(
|
|
17
|
+
r.map((a) => /* @__PURE__ */ e(f, { ...a }, a.title)),
|
|
18
18
|
/* @__PURE__ */ l("div", { className: "flex flex-col gap-6 max-sm:w-full md:contents lg:flex", children: [
|
|
19
19
|
/* @__PURE__ */ l("div", { className: "", children: [
|
|
20
|
-
/* @__PURE__ */ e("div", { className: "mb-8 xl:hidden", children: !!
|
|
20
|
+
/* @__PURE__ */ e("div", { className: "mb-8 xl:hidden", children: !!s && /* @__PURE__ */ e("div", { className: "language-selector-mobile-container", children: s }) }),
|
|
21
21
|
/* @__PURE__ */ l("div", { children: [
|
|
22
22
|
/* @__PURE__ */ e("p", { className: "text-small hidden font-bold text-white sm:block", children: t.phoneNumber }),
|
|
23
23
|
/* @__PURE__ */ e("div", { className: "mb-2 w-full text-center sm:hidden", children: /* @__PURE__ */ e(o, { phoneNumber: t.phoneNumber }) }),
|
|
@@ -28,17 +28,17 @@ const g = ({
|
|
|
28
28
|
] })
|
|
29
29
|
] })
|
|
30
30
|
] }),
|
|
31
|
-
!!
|
|
31
|
+
!!m && /* @__PURE__ */ e("div", { className: "flex flex-col gap-2", children: m })
|
|
32
32
|
] })
|
|
33
33
|
] }) }),
|
|
34
34
|
/* @__PURE__ */ e("div", { className: "bg-neutral-900 px-6 py-8 text-neutral-400", children: /* @__PURE__ */ l("div", { className: "mx-auto flex w-full max-w-300 flex-col gap-6", children: [
|
|
35
35
|
/* @__PURE__ */ l("div", { className: "flex flex-col items-start gap-6 md:flex-row md:justify-between", children: [
|
|
36
|
-
|
|
37
|
-
/* @__PURE__ */ e("div", { className: "flex gap-4", children:
|
|
36
|
+
d,
|
|
37
|
+
/* @__PURE__ */ e("div", { className: "flex gap-4", children: i?.map((a) => a) })
|
|
38
38
|
] }),
|
|
39
39
|
/* @__PURE__ */ e("div", { className: "h-px w-full bg-neutral-600" }),
|
|
40
|
-
/* @__PURE__ */ e("div", { className: "text-extra-small flex flex-wrap gap-4", children:
|
|
41
|
-
/* @__PURE__ */ e("p", { className: "text-extra-small text-neutral-400", children:
|
|
40
|
+
/* @__PURE__ */ e("div", { className: "text-extra-small flex flex-wrap gap-4", children: x?.map((a) => a) }),
|
|
41
|
+
/* @__PURE__ */ e("p", { className: "text-extra-small text-neutral-400", children: c }),
|
|
42
42
|
/* @__PURE__ */ e("p", { className: "text-extra-small text-neutral-400", children: n })
|
|
43
43
|
] }) })
|
|
44
44
|
] });
|
|
@@ -3,6 +3,6 @@ import { JSX } from 'react/jsx-runtime';
|
|
|
3
3
|
export declare const Header2: ({ children, variant }: Header2Props) => JSX.Element;
|
|
4
4
|
|
|
5
5
|
export interface Header2Props extends React.ComponentProps<'h2'> {
|
|
6
|
-
variant?: 'default' | 'legal' | 'tooltip' | 'about-us' | 'pricing' | 'unsubscribe' | 'cookies';
|
|
6
|
+
variant?: 'default' | 'legal' | 'ratafia' | 'tooltip' | 'about-us' | 'pricing' | 'unsubscribe' | 'cookies';
|
|
7
7
|
}
|
|
8
8
|
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import { jsx as a } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
const
|
|
2
|
+
import m from "clsx";
|
|
3
|
+
const s = ({ children: e, variant: l = "default" }) => {
|
|
4
4
|
const t = {
|
|
5
5
|
default: "mt-5 mb-3 text-3xl text-gray-900",
|
|
6
6
|
legal: "mt-5 -mx-ds-11xl mb-6 bg-white px-ds-11xl text-left text-neutral-800 text-3xl",
|
|
7
|
+
ratafia: "mt-4 mb-3 text-left text-xl font-bold text-white lg:text-2xl",
|
|
7
8
|
unsubscribe: "mt-0 mb-0 w-full bg-white pb-4 pt-8 text-left text-3xl leading-tight text-neutral-900 font-sans tracking-tight md:text-4xl md:leading-8"
|
|
8
9
|
}, x = t[l] ?? t.default;
|
|
9
|
-
return /* @__PURE__ */ a("h2", { className:
|
|
10
|
+
return /* @__PURE__ */ a("h2", { className: m("font-bold", x), children: e });
|
|
10
11
|
};
|
|
11
12
|
export {
|
|
12
|
-
|
|
13
|
+
s as Header2
|
|
13
14
|
};
|
|
@@ -29,23 +29,31 @@ export declare type HowItWorksHeroBullet = {
|
|
|
29
29
|
text: string;
|
|
30
30
|
};
|
|
31
31
|
|
|
32
|
+
export declare const howItWorksHeroCtaLinkClassName = "font-semibold text-white";
|
|
33
|
+
|
|
34
|
+
export declare const howItWorksLawGeniusBelowStepsMarkdownClassName = "text-medium";
|
|
35
|
+
|
|
36
|
+
export declare const howItWorksLawGeniusCtaLinkClassName = "font-semibold text-white";
|
|
37
|
+
|
|
32
38
|
export declare type HowItWorksLawGeniusStep = {
|
|
33
39
|
id: string;
|
|
34
40
|
title: string;
|
|
35
|
-
description:
|
|
41
|
+
description: ReactNode;
|
|
36
42
|
icon: ReactNode;
|
|
37
43
|
};
|
|
38
44
|
|
|
39
45
|
export declare type HowItWorksProcessStep = {
|
|
40
46
|
id: string;
|
|
41
47
|
title: string;
|
|
42
|
-
/** Column with text when not reversed; swap with image when `reverse` is true. */
|
|
43
48
|
body: ReactNode;
|
|
44
49
|
image: ReactNode;
|
|
45
50
|
background: 'bg-white' | 'bg-neutral-25';
|
|
46
51
|
reverse?: boolean;
|
|
52
|
+
imageFirstOnMobile?: boolean;
|
|
47
53
|
};
|
|
48
54
|
|
|
55
|
+
export declare const howItWorksResourcesCtaLinkClassName = "font-semibold";
|
|
56
|
+
|
|
49
57
|
export declare const HowItWorksTemplate: FC<HowItWorksTemplateProps>;
|
|
50
58
|
|
|
51
59
|
export declare interface HowItWorksTemplateProps {
|
|
@@ -1,128 +1,124 @@
|
|
|
1
|
-
import { jsxs as a, jsx as e, Fragment as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { jsxs as a, jsx as e, Fragment as p } from "react/jsx-runtime";
|
|
2
|
+
import { clsx as u } from "clsx";
|
|
3
|
+
import { Button as r } from "./Button.js";
|
|
4
|
+
import { IntroSection as g } from "./IntroSection.js";
|
|
4
5
|
import { RatafiaSection as f } from "./RatafiaSection.js";
|
|
5
|
-
import { TwoColumnSection as
|
|
6
|
-
const
|
|
7
|
-
/* @__PURE__ */ a("div", { className: "flex items-
|
|
8
|
-
/* @__PURE__ */ e("span", { className: "flex h-
|
|
9
|
-
/* @__PURE__ */ e("p", { className: "text-
|
|
6
|
+
import { TwoColumnSection as o } from "./TwoColumnSection.js";
|
|
7
|
+
const S = "font-semibold text-white", _ = "font-semibold text-white", j = "font-semibold", I = "text-medium", h = ({ title: t, description: n, icon: l }) => /* @__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: l }),
|
|
10
|
+
/* @__PURE__ */ e("p", { className: "text-big min-w-0 flex-1 font-bold tracking-tight text-neutral-800", children: t })
|
|
10
11
|
] }),
|
|
11
|
-
/* @__PURE__ */ e("
|
|
12
|
-
] }),
|
|
13
|
-
const
|
|
14
|
-
/* @__PURE__ */ e("h2", { className: "font-lora text-
|
|
15
|
-
/* @__PURE__ */ e("div", { className: "text-
|
|
16
|
-
] }),
|
|
17
|
-
return
|
|
18
|
-
},
|
|
19
|
-
const
|
|
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 = (t) => {
|
|
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: t.title }),
|
|
16
|
+
/* @__PURE__ */ e("div", { className: "text-small space-y-3 text-neutral-700", children: t.body })
|
|
17
|
+
] }), l = /* @__PURE__ */ e("div", { className: "w-full shrink-0 lg:w-1/2 lg:max-w-[50%]", children: t.image });
|
|
18
|
+
return t.reverse ? { firstColumn: l, secondColumn: n } : { firstColumn: n, secondColumn: l };
|
|
19
|
+
}, L = ({ hero: t, processSteps: n, lawGenius: l, resources: m }) => {
|
|
20
|
+
const c = {
|
|
20
21
|
size: "large",
|
|
21
|
-
variant: "primary-
|
|
22
|
-
className: "text-medium w-full justify-center font-bold
|
|
23
|
-
...
|
|
24
|
-
}, { examples: i } =
|
|
25
|
-
return /* @__PURE__ */ a("main", { className: "flex flex-1 flex-col", children: [
|
|
26
|
-
/* @__PURE__ */ e("section", { className: "bg-primary-50 px-6
|
|
22
|
+
variant: "primary-green",
|
|
23
|
+
className: "!rounded-md text-medium w-full justify-center font-bold lg:w-auto",
|
|
24
|
+
...l.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: [
|
|
27
28
|
/* @__PURE__ */ a("div", { className: "text-center", children: [
|
|
28
|
-
/* @__PURE__ */
|
|
29
|
-
|
|
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: t.eyebrow }),
|
|
31
|
+
/* @__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
|
+
] }),
|
|
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: t.title })
|
|
30
34
|
] }),
|
|
31
35
|
/* @__PURE__ */ e(
|
|
32
|
-
|
|
36
|
+
g,
|
|
33
37
|
{
|
|
34
38
|
className: "bg-transparent",
|
|
35
|
-
containerClassName: "w-full !max-w-none flex-col gap-10 !px-0 !py-0 lg:flex-row lg:items-
|
|
36
|
-
image:
|
|
39
|
+
containerClassName: "w-full !max-w-none flex-col gap-10 !px-0 !py-0 lg:flex-row lg:items-stretch",
|
|
40
|
+
image: t.image,
|
|
37
41
|
cta: {
|
|
38
42
|
size: "large",
|
|
39
|
-
variant: "primary-
|
|
43
|
+
variant: "primary-green",
|
|
40
44
|
className: "text-medium mt-8 w-full justify-center font-bold",
|
|
41
|
-
...
|
|
45
|
+
...t.cta
|
|
42
46
|
},
|
|
43
|
-
children: /* @__PURE__ */ a("div", { className: "text-medium space-y-4", children: [
|
|
44
|
-
|
|
45
|
-
/* @__PURE__ */ e("ul", { className: "text-medium space-y-3", children:
|
|
46
|
-
/* @__PURE__ */ e("span", { className: "bg-primary-600 mt-1 h-2.5 w-2.5
|
|
47
|
+
children: /* @__PURE__ */ a("div", { className: "text-medium space-y-4 [&_ul]:my-8 [&_ul]:list-disc [&_ul]:pl-[1.2rem]", children: [
|
|
48
|
+
t.intro,
|
|
49
|
+
/* @__PURE__ */ e("ul", { className: "text-medium space-y-3", children: t.bullets.map((s) => /* @__PURE__ */ a("li", { className: "flex items-start gap-2", children: [
|
|
50
|
+
/* @__PURE__ */ e("span", { className: "bg-primary-600 mt-1 h-2.5 w-2.5", "aria-hidden": !0 }),
|
|
47
51
|
/* @__PURE__ */ a("span", { children: [
|
|
48
52
|
/* @__PURE__ */ a("strong", { children: [
|
|
49
|
-
|
|
53
|
+
s.strong,
|
|
50
54
|
" "
|
|
51
55
|
] }),
|
|
52
|
-
|
|
56
|
+
s.text
|
|
53
57
|
] })
|
|
54
|
-
] },
|
|
55
|
-
|
|
58
|
+
] }, s.id)) }),
|
|
59
|
+
t.closing
|
|
56
60
|
] })
|
|
57
61
|
}
|
|
58
62
|
)
|
|
59
63
|
] }) }),
|
|
60
|
-
|
|
61
|
-
const { firstColumn: d, secondColumn:
|
|
64
|
+
n.map((s) => {
|
|
65
|
+
const { firstColumn: d, secondColumn: x } = w(s);
|
|
62
66
|
return /* @__PURE__ */ e(
|
|
63
|
-
|
|
67
|
+
o,
|
|
64
68
|
{
|
|
65
|
-
className: `${
|
|
66
|
-
containerClassName:
|
|
69
|
+
className: `${s.background} lg:px-ds-10xl px-6 py-12 sm:px-10`,
|
|
70
|
+
containerClassName: u(
|
|
71
|
+
"!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"
|
|
73
|
+
),
|
|
67
74
|
firstColumn: d,
|
|
68
|
-
secondColumn:
|
|
75
|
+
secondColumn: x
|
|
69
76
|
},
|
|
70
|
-
|
|
77
|
+
s.id
|
|
71
78
|
);
|
|
72
79
|
}),
|
|
73
80
|
/* @__PURE__ */ e(
|
|
74
81
|
f,
|
|
75
82
|
{
|
|
76
|
-
title:
|
|
77
|
-
content:
|
|
78
|
-
stepsSlot: /* @__PURE__ */ e(
|
|
79
|
-
belowStepsSlot:
|
|
80
|
-
cta: /* @__PURE__ */ e(
|
|
83
|
+
title: l.title,
|
|
84
|
+
content: l.content,
|
|
85
|
+
stepsSlot: /* @__PURE__ */ e(p, { children: l.steps.map((s) => /* @__PURE__ */ e(h, { ...s }, s.id)) }),
|
|
86
|
+
belowStepsSlot: l.belowStepsSlot,
|
|
87
|
+
cta: /* @__PURE__ */ e(r, { ...c }),
|
|
81
88
|
skipCtaWrapper: !0,
|
|
82
|
-
image:
|
|
83
|
-
sectionClassName:
|
|
89
|
+
image: l.image,
|
|
90
|
+
sectionClassName: l.sectionClassName ?? "bg-neutral-25 px-6 pb-12 pt-16 sm:px-10 lg:px-ds-10xl"
|
|
84
91
|
}
|
|
85
92
|
),
|
|
86
|
-
/* @__PURE__ */ e(
|
|
87
|
-
|
|
93
|
+
/* @__PURE__ */ e(
|
|
94
|
+
o,
|
|
88
95
|
{
|
|
89
|
-
className: "bg-
|
|
90
|
-
containerClassName: "w-full !max-w-6xl
|
|
91
|
-
firstColumn: /* @__PURE__ */
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
/* @__PURE__ */ e("
|
|
97
|
-
"div",
|
|
98
|
-
{
|
|
99
|
-
className: "text-medium flex items-center justify-between border-b border-neutral-100 pb-3",
|
|
100
|
-
children: [
|
|
101
|
-
/* @__PURE__ */ e("span", { className: "text-neutral-500", children: t.label }),
|
|
102
|
-
/* @__PURE__ */ e("span", { className: "font-semibold text-neutral-900", children: t.value })
|
|
103
|
-
]
|
|
104
|
-
},
|
|
105
|
-
t.label
|
|
106
|
-
)) }),
|
|
107
|
-
/* @__PURE__ */ e("div", { className: "bg-neutral-25 rounded-2xl p-4 text-neutral-700", children: i.footer })
|
|
108
|
-
] }),
|
|
109
|
-
secondColumn: /* @__PURE__ */ a("div", { className: "bg-neutral-25 space-y-6 rounded-3xl p-8 shadow-[0_25px_70px_rgba(3,42,56,0.15)] lg:w-1/2", children: [
|
|
110
|
-
/* @__PURE__ */ e("div", { className: "relative aspect-420/306 w-full overflow-hidden rounded-2xl", children: n.image }),
|
|
111
|
-
/* @__PURE__ */ e("div", { className: "space-y-4 text-neutral-800", children: n.supportBody }),
|
|
96
|
+
className: "bg-neutral-25 lg:px-ds-10xl px-6 py-12 sm:px-10",
|
|
97
|
+
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 }),
|
|
112
104
|
/* @__PURE__ */ e(
|
|
113
|
-
|
|
105
|
+
r,
|
|
114
106
|
{
|
|
115
|
-
size: "
|
|
116
|
-
variant: "primary-
|
|
117
|
-
className: "text-
|
|
118
|
-
...
|
|
107
|
+
size: "small",
|
|
108
|
+
variant: "primary-green",
|
|
109
|
+
className: "text-small inline-flex w-auto justify-center font-bold",
|
|
110
|
+
...m.cta
|
|
119
111
|
}
|
|
120
112
|
)
|
|
121
113
|
] })
|
|
122
114
|
}
|
|
123
|
-
)
|
|
115
|
+
)
|
|
124
116
|
] });
|
|
125
117
|
};
|
|
126
118
|
export {
|
|
127
|
-
|
|
119
|
+
L as HowItWorksTemplate,
|
|
120
|
+
S as howItWorksHeroCtaLinkClassName,
|
|
121
|
+
I as howItWorksLawGeniusBelowStepsMarkdownClassName,
|
|
122
|
+
_ as howItWorksLawGeniusCtaLinkClassName,
|
|
123
|
+
j as howItWorksResourcesCtaLinkClassName
|
|
128
124
|
};
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as s, jsxs as n } from "react/jsx-runtime";
|
|
2
2
|
import { TwoColumnSection as e } from "./TwoColumnSection.js";
|
|
3
|
-
import { LinkWrapper as
|
|
4
|
-
const
|
|
3
|
+
import { LinkWrapper as o } from "./LinkWrapper.js";
|
|
4
|
+
const c = ({ image: i, children: r, cta: m, className: a, containerClassName: l }) => /* @__PURE__ */ s(
|
|
5
5
|
e,
|
|
6
6
|
{
|
|
7
|
-
className:
|
|
8
|
-
containerClassName:
|
|
9
|
-
firstColumn: /* @__PURE__ */
|
|
10
|
-
secondColumn: /* @__PURE__ */
|
|
11
|
-
|
|
12
|
-
|
|
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
13
|
] })
|
|
14
14
|
}
|
|
15
15
|
);
|
|
16
16
|
export {
|
|
17
|
-
|
|
17
|
+
c as IntroSection
|
|
18
18
|
};
|
|
@@ -6,6 +6,6 @@ export declare interface MarkdownProps {
|
|
|
6
6
|
content: string;
|
|
7
7
|
className?: string;
|
|
8
8
|
useCustom?: boolean;
|
|
9
|
-
variant?: 'default' | 'legal' | 'tooltip' | 'about-us' | 'pricing' | 'unsubscribe' | 'cookies';
|
|
9
|
+
variant?: 'default' | 'legal' | 'ratafia' | 'tooltip' | 'about-us' | 'pricing' | 'unsubscribe' | 'cookies';
|
|
10
10
|
}
|
|
11
11
|
|
|
@@ -3,6 +3,6 @@ import { JSX } from 'react/jsx-runtime';
|
|
|
3
3
|
export declare const OrderedList: ({ variant, children }: OrderedListProps) => JSX.Element;
|
|
4
4
|
|
|
5
5
|
export interface OrderedListProps extends React.ComponentProps<'ol'> {
|
|
6
|
-
variant?: 'default' | 'legal' | 'tooltip' | 'about-us' | 'pricing' | 'unsubscribe' | 'cookies';
|
|
6
|
+
variant?: 'default' | 'legal' | 'tooltip' | 'ratafia' | 'about-us' | 'pricing' | 'unsubscribe' | 'cookies';
|
|
7
7
|
}
|
|
8
8
|
|
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
3
|
-
const
|
|
1
|
+
import { jsx as i } from "react/jsx-runtime";
|
|
2
|
+
import a from "clsx";
|
|
3
|
+
const m = ({ variant: e = "default", children: l }) => {
|
|
4
4
|
const t = {
|
|
5
|
-
default: "list-inside text-gray-900 space-y-2",
|
|
6
|
-
legal: "list-outside pl-8 text-neutral-800 space-y-4",
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
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 });
|
|
10
11
|
};
|
|
11
12
|
export {
|
|
12
|
-
|
|
13
|
+
m as OrderedList
|
|
13
14
|
};
|
|
@@ -3,6 +3,6 @@ import { JSX } from 'react/jsx-runtime';
|
|
|
3
3
|
export declare const Paragraph: ({ variant, children }: ParagraphProps) => JSX.Element;
|
|
4
4
|
|
|
5
5
|
export interface ParagraphProps extends React.ComponentProps<'p'> {
|
|
6
|
-
variant?: 'default' | 'legal' | 'tooltip' | 'about-us' | 'pricing' | 'unsubscribe' | 'cookies';
|
|
6
|
+
variant?: 'default' | 'legal' | 'ratafia' | 'tooltip' | 'about-us' | 'pricing' | 'unsubscribe' | 'cookies';
|
|
7
7
|
}
|
|
8
8
|
|
|
@@ -1,12 +1,16 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
-
const
|
|
2
|
+
const b = ({ variant: a = "default", children: e }) => {
|
|
3
3
|
const t = {
|
|
4
4
|
default: "mb-4",
|
|
5
5
|
legal: "mb-4 text-neutral-800 last:mb-0 tracking-tight",
|
|
6
|
+
ratafia: "mb-3 text-white/85 last:mb-0 tracking-tight",
|
|
7
|
+
tooltip: "mb-4",
|
|
8
|
+
"about-us": "mb-4",
|
|
9
|
+
pricing: "mb-4",
|
|
6
10
|
unsubscribe: "mb-0 w-full rounded-lg bg-neutral-25 px-6 pb-6 text-left text-base leading-6 text-neutral-800 md:text-lg lg:px-ds-11xl"
|
|
7
11
|
}, l = t[a] ?? t.default;
|
|
8
12
|
return /* @__PURE__ */ r("p", { className: l, children: e });
|
|
9
13
|
};
|
|
10
14
|
export {
|
|
11
|
-
|
|
15
|
+
b as Paragraph
|
|
12
16
|
};
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import { jsx as l, jsxs as e } from "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
import { clsx as
|
|
4
|
-
import { Markdown as
|
|
3
|
+
import { clsx as i } from "clsx";
|
|
4
|
+
import { Markdown as o } from "./Markdown.js";
|
|
5
5
|
import { LinkWrapper as f } from "./LinkWrapper.js";
|
|
6
6
|
const j = ({
|
|
7
7
|
title: m,
|
|
8
|
-
content:
|
|
9
|
-
benefits:
|
|
10
|
-
stepsSlot:
|
|
8
|
+
content: r,
|
|
9
|
+
benefits: t = [],
|
|
10
|
+
stepsSlot: d,
|
|
11
11
|
belowStepsSlot: g,
|
|
12
|
-
cta:
|
|
13
|
-
image:
|
|
12
|
+
cta: s,
|
|
13
|
+
image: x,
|
|
14
14
|
skipCtaWrapper: h = !1,
|
|
15
|
-
sectionClassName:
|
|
16
|
-
innerClassName:
|
|
15
|
+
sectionClassName: c,
|
|
16
|
+
innerClassName: n
|
|
17
17
|
}) => {
|
|
18
|
-
const
|
|
19
|
-
if (
|
|
20
|
-
const a = h ? /* @__PURE__ */ l("div", { className: "w-full lg:w-fit", children:
|
|
21
|
-
return /* @__PURE__ */ l("section", { className:
|
|
18
|
+
const p = "bg-primary-50 px-6 pb-10 pt-16 lg:px-8 lg:pb-12 lg:pt-16 xl:px-0", w = "from-primary-900 via-primary-700 to-primary-900 mx-auto flex flex-col justify-between gap-8 rounded-2xl bg-linear-to-bl p-6 text-white md:flex-row md:items-center md:gap-10 md:p-10 lg:gap-16 lg:p-16 xl:mx-auto xl:max-w-300";
|
|
19
|
+
if (d != null) {
|
|
20
|
+
const a = h ? /* @__PURE__ */ l("div", { className: "w-full lg:w-fit", children: s }) : /* @__PURE__ */ l(f, { className: "w-full lg:w-fit", children: s });
|
|
21
|
+
return /* @__PURE__ */ l("section", { className: i("max-w-full overflow-x-hidden", c ?? p), children: /* @__PURE__ */ l("div", { className: i("bg-law-genius-section mx-auto w-full max-w-6xl rounded-3xl px-8 pb-8 pt-16 text-white shadow-[0_25px_80px_rgba(3,42,56,0.35)] sm:px-10 sm:pb-10 sm:pt-16", n), children: /* @__PURE__ */ e("div", { className: "flex w-full flex-col gap-8 lg:gap-10", children: [
|
|
22
22
|
/* @__PURE__ */ e("div", { className: "flex flex-col gap-4 text-center text-white", children: [
|
|
23
23
|
/* @__PURE__ */ l("h2", { className: "lg:text-super-large text-3xl font-bold lg:leading-tight", children: m }),
|
|
24
|
-
/* @__PURE__ */ l(
|
|
24
|
+
/* @__PURE__ */ l(o, { content: r, className: "[&_p]:text-medium [&_p]:text-white/80 [&_p:last-child]:mb-0" })
|
|
25
25
|
] }),
|
|
26
|
-
/* @__PURE__ */ e("div", { className: "flex w-full flex-col gap-
|
|
27
|
-
/* @__PURE__ */ e("div", { className: "flex flex-col gap-6", children: [
|
|
28
|
-
|
|
26
|
+
/* @__PURE__ */ e("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: [
|
|
27
|
+
/* @__PURE__ */ e("div", { className: "flex min-h-0 flex-col gap-6", children: [
|
|
28
|
+
d,
|
|
29
29
|
g,
|
|
30
30
|
a
|
|
31
31
|
] }),
|
|
32
|
-
/* @__PURE__ */ l("div", { className: "mx-auto flex w-full max-w-77 items-center justify-center md:mx-0 md:max-w-none
|
|
32
|
+
/* @__PURE__ */ l("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: x })
|
|
33
33
|
] })
|
|
34
34
|
] }) }) });
|
|
35
35
|
}
|
|
36
|
-
return /* @__PURE__ */ l("section", { className:
|
|
36
|
+
return /* @__PURE__ */ l("section", { className: i("max-w-full overflow-x-hidden", c ?? p), children: /* @__PURE__ */ e("div", { className: i(w, n), children: [
|
|
37
37
|
/* @__PURE__ */ e("div", { className: "flex flex-col gap-8", children: [
|
|
38
38
|
/* @__PURE__ */ e("div", { className: "flex flex-col gap-4", children: [
|
|
39
39
|
/* @__PURE__ */ l("h2", { className: "text-super-large leading-tight font-bold", children: m }),
|
|
40
|
-
/* @__PURE__ */ l(
|
|
40
|
+
/* @__PURE__ */ l(o, { content: r, className: "[&_p:last-child]:mb-0" })
|
|
41
41
|
] }),
|
|
42
|
-
|
|
42
|
+
t.length > 0 && /* @__PURE__ */ l("div", { className: "flex flex-wrap gap-3", children: t.map((a) => /* @__PURE__ */ e(
|
|
43
43
|
"span",
|
|
44
44
|
{
|
|
45
45
|
className: "bg-primary-50 text-small text-primary-800 flex flex-nowrap gap-1 rounded-md p-1 font-semibold",
|
|
@@ -50,9 +50,9 @@ const j = ({
|
|
|
50
50
|
},
|
|
51
51
|
a.id
|
|
52
52
|
)) }),
|
|
53
|
-
/* @__PURE__ */ l(f, { className: "w-full md:w-fit", children:
|
|
53
|
+
/* @__PURE__ */ l(f, { className: "w-full md:w-fit", children: s })
|
|
54
54
|
] }),
|
|
55
|
-
/* @__PURE__ */ l("div", { className: "mx-auto w-full max-w-77 md:mx-0 md:min-w-74", children:
|
|
55
|
+
/* @__PURE__ */ l("div", { className: "mx-auto w-full max-w-77 md:mx-0 md:min-w-74", children: x })
|
|
56
56
|
] }) });
|
|
57
57
|
};
|
|
58
58
|
export {
|