@npm_leadtech/legal-contracts-ui 0.74.0 → 0.74.1
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/AboutUsTemplate.d.ts +0 -1
- package/dist/components/BlogSection.d.ts +3 -2
- package/dist/components/BlogSection.js +8 -7
- package/dist/components/CategoryProductTemplate.d.ts +3 -47
- package/dist/components/CategoryProductTemplate.js +36 -28
- package/dist/components/DocumentSection.js +8 -7
- package/dist/components/HomeTemplate.d.ts +4 -11
- package/dist/components/HomeTemplate.js +18 -18
- package/dist/components/IntroSection.d.ts +0 -1
- package/dist/components/IntroSection.js +8 -9
- package/dist/components/NotFoundTemplate.d.ts +0 -1
- package/dist/components/RatafiaSection.d.ts +1 -9
- package/dist/components/RatafiaSection.js +27 -56
- package/dist/components/SectionHeading.js +8 -7
- package/dist/components/TwoColumnSection.js +7 -11
- package/dist/components/index.d.ts +4 -12
- package/dist/globals.css +1 -1
- package/package.json +1 -1
- package/dist/components/HowItWorksTemplate.d.ts +0 -88
- package/dist/components/HowItWorksTemplate.js +0 -128
|
@@ -4,14 +4,15 @@ import { ReactNode } from 'react';
|
|
|
4
4
|
export declare const BlogSection: FC<BlogSectionProps>;
|
|
5
5
|
|
|
6
6
|
export declare interface BlogSectionProps {
|
|
7
|
-
header: SectionHeadingProps;
|
|
7
|
+
header: SectionHeadingProps | null;
|
|
8
8
|
articles: {
|
|
9
9
|
title: string;
|
|
10
10
|
image: ReactNode;
|
|
11
11
|
description: string;
|
|
12
12
|
cta: ReactNode;
|
|
13
13
|
}[];
|
|
14
|
-
cta: ReactNode;
|
|
14
|
+
cta: ReactNode | null;
|
|
15
|
+
className?: string;
|
|
15
16
|
}
|
|
16
17
|
|
|
17
18
|
export interface SectionHeadingProps {
|
|
@@ -1,19 +1,20 @@
|
|
|
1
1
|
import { jsx as e, jsxs as i } from "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
import s from "clsx";
|
|
4
|
+
import { SectionHeading as n } from "./SectionHeading.js";
|
|
5
|
+
import { LinkWrapper as o } from "./LinkWrapper.js";
|
|
6
|
+
const h = ({ header: r, articles: a, cta: m, className: t = "" }) => a.length === 0 ? null : /* @__PURE__ */ e("section", { className: s("mx-auto px-8 lg:px-12 xl:max-w-300 xl:px-0", t), children: /* @__PURE__ */ i("div", { className: "mx-auto flex flex-col items-center gap-8", children: [
|
|
7
|
+
r && /* @__PURE__ */ e(n, { ...r }),
|
|
7
8
|
/* @__PURE__ */ e("div", { className: "grid gap-6 lg:grid-cols-2", children: a.map((l) => /* @__PURE__ */ i("article", { className: "flex flex-col rounded-sm bg-white shadow md:flex-row", children: [
|
|
8
9
|
/* @__PURE__ */ e("div", { className: "relative h-42 shrink-0 overflow-hidden rounded-l-sm md:h-50 lg:h-auto lg:max-w-51 [&_img]:h-full [&_img]:w-full [&_img]:object-cover", children: l.image }),
|
|
9
10
|
/* @__PURE__ */ i("div", { className: "flex flex-col gap-4 p-6 text-neutral-800", children: [
|
|
10
11
|
/* @__PURE__ */ e("h3", { className: "text-big font-semibold", children: l.title }),
|
|
11
12
|
/* @__PURE__ */ e("p", { className: "text-medium", children: l.description }),
|
|
12
|
-
/* @__PURE__ */ e(
|
|
13
|
+
/* @__PURE__ */ e(o, { className: "w-fit", variant: "tertiary-bold", children: l.cta })
|
|
13
14
|
] })
|
|
14
15
|
] }, l.title)) }),
|
|
15
|
-
/* @__PURE__ */ e(
|
|
16
|
+
!!m && /* @__PURE__ */ e(o, { className: "w-full md:w-fit", variant: "secondary-green", children: m })
|
|
16
17
|
] }) });
|
|
17
18
|
export {
|
|
18
|
-
|
|
19
|
+
h as BlogSection
|
|
19
20
|
};
|
|
@@ -1,27 +1,16 @@
|
|
|
1
1
|
import { FC } from 'react';
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
3
|
|
|
4
|
-
export interface AlternativeSubtypeDocumentProps extends BaseSubtypeDocumentProps {
|
|
5
|
-
format: 'Alternative';
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
export interface BaseSubtypeDocumentProps {
|
|
9
|
-
id: string;
|
|
10
|
-
link: ReactNode;
|
|
11
|
-
sampleImage: ReactNode;
|
|
12
|
-
pdfDownload: ReactNode;
|
|
13
|
-
wordDownload: ReactNode;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
4
|
export interface BlogSectionProps {
|
|
17
|
-
header: SectionHeadingProps;
|
|
5
|
+
header: SectionHeadingProps | null;
|
|
18
6
|
articles: {
|
|
19
7
|
title: string;
|
|
20
8
|
image: ReactNode;
|
|
21
9
|
description: string;
|
|
22
10
|
cta: ReactNode;
|
|
23
11
|
}[];
|
|
24
|
-
cta: ReactNode;
|
|
12
|
+
cta: ReactNode | null;
|
|
13
|
+
className?: string;
|
|
25
14
|
}
|
|
26
15
|
|
|
27
16
|
export interface BreadcrumbProps {
|
|
@@ -39,31 +28,10 @@ export declare interface CategoryProductTemplateProps {
|
|
|
39
28
|
breadcrumb: BreadcrumbProps;
|
|
40
29
|
categories: DocumentCategoriesProps;
|
|
41
30
|
documentSections: DocumentSectionProps[];
|
|
42
|
-
contentItems: ContentItemProps[];
|
|
43
31
|
faqSection: FaqSectionProps;
|
|
44
32
|
articles: BlogSectionProps;
|
|
45
33
|
}
|
|
46
34
|
|
|
47
|
-
export interface ContentItemProps {
|
|
48
|
-
id: string;
|
|
49
|
-
title: string | null;
|
|
50
|
-
content: string | null;
|
|
51
|
-
linkedProducts: LinkedProductProps[];
|
|
52
|
-
sampleImage: ImageWithPreviewProps | null;
|
|
53
|
-
cta: ReactNode | null;
|
|
54
|
-
docsModules: {
|
|
55
|
-
pdfDownload: ReactNode;
|
|
56
|
-
wordDownload: ReactNode;
|
|
57
|
-
} | null;
|
|
58
|
-
subtypeDocs: SubtypeDocumentProps[];
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
export interface DefaultSubtypeDocumentProps extends BaseSubtypeDocumentProps {
|
|
62
|
-
format: 'Default';
|
|
63
|
-
createDocButton: ReactNode;
|
|
64
|
-
description: string;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
35
|
export interface DocumentCategoriesProps {
|
|
68
36
|
title: string;
|
|
69
37
|
categories: {
|
|
@@ -103,11 +71,6 @@ export interface FaqSectionProps {
|
|
|
103
71
|
className?: string;
|
|
104
72
|
}
|
|
105
73
|
|
|
106
|
-
export interface ImageWithPreviewProps {
|
|
107
|
-
small: ReactNode;
|
|
108
|
-
large: ReactNode;
|
|
109
|
-
}
|
|
110
|
-
|
|
111
74
|
export interface JumboCardProps {
|
|
112
75
|
title: string;
|
|
113
76
|
description: string;
|
|
@@ -116,11 +79,6 @@ export interface JumboCardProps {
|
|
|
116
79
|
lastUpdate?: string;
|
|
117
80
|
}
|
|
118
81
|
|
|
119
|
-
export interface LinkedProductProps {
|
|
120
|
-
slug: string;
|
|
121
|
-
children: ReactNode;
|
|
122
|
-
}
|
|
123
|
-
|
|
124
82
|
export interface SectionHeadingProps {
|
|
125
83
|
title: string;
|
|
126
84
|
description?: string;
|
|
@@ -128,6 +86,4 @@ export interface SectionHeadingProps {
|
|
|
128
86
|
titleClass?: string;
|
|
129
87
|
className?: string;
|
|
130
88
|
}
|
|
131
|
-
|
|
132
|
-
export type SubtypeDocumentProps = DefaultSubtypeDocumentProps | AlternativeSubtypeDocumentProps;
|
|
133
89
|
|
|
@@ -1,33 +1,41 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { JumboCard as
|
|
3
|
-
import { DocumentCategories as
|
|
4
|
-
import { DocumentSection as
|
|
5
|
-
import { Breadcrumb as
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
/* @__PURE__ */
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
/* @__PURE__ */
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
1
|
+
import { jsxs as l, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { JumboCard as i } from "./JumboCard.js";
|
|
3
|
+
import { DocumentCategories as c } from "./DocumentCategories.js";
|
|
4
|
+
import { DocumentSection as n } from "./DocumentSection.js";
|
|
5
|
+
import { Breadcrumb as x } from "./Breadcrumb.js";
|
|
6
|
+
import { FaqSection as f } from "./FaqSection.js";
|
|
7
|
+
import { BlogSection as d } from "./BlogSection.js";
|
|
8
|
+
const w = ({
|
|
9
|
+
jumbo: r,
|
|
10
|
+
breadcrumb: o,
|
|
11
|
+
categories: m,
|
|
12
|
+
documentSections: s,
|
|
13
|
+
faqSection: p,
|
|
14
|
+
articles: a
|
|
15
|
+
}) => /* @__PURE__ */ l("main", { className: "mx-auto flex flex-1 flex-col gap-4 px-6 pt-8 pb-16 lg:px-8 xl:max-w-300 xl:px-0", children: [
|
|
16
|
+
/* @__PURE__ */ e(i, { ...r }),
|
|
17
|
+
/* @__PURE__ */ e(x, { ...o, className: "pt-2" }),
|
|
18
|
+
/* @__PURE__ */ l("div", { className: "mx-auto flex justify-center gap-4 text-neutral-800 lg:gap-26.5 xl:gap-31.5", children: [
|
|
19
|
+
/* @__PURE__ */ e("aside", { className: "sticky top-24 hidden self-start md:block", children: /* @__PURE__ */ e(c, { ...m }) }),
|
|
20
|
+
/* @__PURE__ */ l("div", { className: "flex flex-col gap-10", children: [
|
|
21
|
+
s.map((t) => /* @__PURE__ */ e(n, { ...t }, t.id)),
|
|
22
|
+
/* @__PURE__ */ e("span", { className: "h-px w-full bg-neutral-200" }),
|
|
23
|
+
/* @__PURE__ */ e(f, { ...p }),
|
|
24
|
+
/* @__PURE__ */ e(
|
|
25
|
+
d,
|
|
26
|
+
{
|
|
27
|
+
...a,
|
|
28
|
+
header: a.header ? {
|
|
29
|
+
...a.header,
|
|
30
|
+
align: "start",
|
|
31
|
+
titleClass: "font-bold font-inter text-super-large",
|
|
32
|
+
className: "w-full"
|
|
33
|
+
} : null
|
|
34
|
+
}
|
|
35
|
+
)
|
|
28
36
|
] })
|
|
29
37
|
] })
|
|
30
38
|
] });
|
|
31
39
|
export {
|
|
32
|
-
|
|
40
|
+
w as CategoryProductTemplate
|
|
33
41
|
};
|
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
import { jsxs as l, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { DocumentItem as
|
|
3
|
-
|
|
2
|
+
import { DocumentItem as i } from "./DocumentItem.js";
|
|
3
|
+
import { Markdown as o } from "./Markdown.js";
|
|
4
|
+
const x = ({ id: r, title: t, description: s, icon: c, documents: m }) => /* @__PURE__ */ l("article", { id: r, className: "flex scroll-mt-24 flex-col gap-6", children: [
|
|
4
5
|
/* @__PURE__ */ l("div", { className: "flex items-start gap-4 rounded bg-neutral-50 p-6", children: [
|
|
5
|
-
|
|
6
|
+
c,
|
|
6
7
|
/* @__PURE__ */ l("div", { className: "flex flex-1 flex-col gap-2 text-neutral-800", children: [
|
|
7
|
-
/* @__PURE__ */ e("p", { className: "font-lora text-super-large", children:
|
|
8
|
-
/* @__PURE__ */ e(
|
|
8
|
+
/* @__PURE__ */ e("p", { className: "font-lora text-super-large", children: t }),
|
|
9
|
+
/* @__PURE__ */ e(o, { className: "text-medium [&_p:last-child]:mb-0", content: s })
|
|
9
10
|
] })
|
|
10
11
|
] }),
|
|
11
|
-
/* @__PURE__ */ e("div", { className: "grid grid-cols-1 gap-6 lg:grid-cols-2", children:
|
|
12
|
+
/* @__PURE__ */ e("div", { className: "grid grid-cols-1 gap-6 lg:grid-cols-2", children: m.map((a) => /* @__PURE__ */ e(i, { ...a, className: "w-full" }, a.id)) })
|
|
12
13
|
] });
|
|
13
14
|
export {
|
|
14
|
-
|
|
15
|
+
x as DocumentSection
|
|
15
16
|
};
|
|
@@ -2,14 +2,15 @@ import { FC } from 'react';
|
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
3
|
|
|
4
4
|
export interface BlogSectionProps {
|
|
5
|
-
header: SectionHeadingProps;
|
|
5
|
+
header: SectionHeadingProps | null;
|
|
6
6
|
articles: {
|
|
7
7
|
title: string;
|
|
8
8
|
image: ReactNode;
|
|
9
9
|
description: string;
|
|
10
10
|
cta: ReactNode;
|
|
11
11
|
}[];
|
|
12
|
-
cta: ReactNode;
|
|
12
|
+
cta: ReactNode | null;
|
|
13
|
+
className?: string;
|
|
13
14
|
}
|
|
14
15
|
|
|
15
16
|
export interface CategoriesSectionProps {
|
|
@@ -81,21 +82,13 @@ export interface ItemProps {
|
|
|
81
82
|
export interface LawGeniusSectionProps {
|
|
82
83
|
title: string;
|
|
83
84
|
content: string;
|
|
84
|
-
benefits
|
|
85
|
+
benefits: {
|
|
85
86
|
id: string;
|
|
86
87
|
label: string;
|
|
87
88
|
icon: ReactNode;
|
|
88
89
|
}[];
|
|
89
|
-
/** When set, renders below the markdown instead of benefit chips (e.g. stacked AI step cards). */
|
|
90
|
-
stepsSlot?: ReactNode;
|
|
91
|
-
/** Optional copy between steps and CTA (centered + steps layout only). */
|
|
92
|
-
belowStepsSlot?: ReactNode;
|
|
93
90
|
cta: ReactNode;
|
|
94
91
|
image: ReactNode;
|
|
95
|
-
/** When true with `stepsSlot`, skips LinkWrapper around `cta` (e.g. plain Button). */
|
|
96
|
-
skipCtaWrapper?: boolean;
|
|
97
|
-
sectionClassName?: string;
|
|
98
|
-
innerClassName?: string;
|
|
99
92
|
}
|
|
100
93
|
|
|
101
94
|
export interface PopularDocumentsProps {
|
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
import { jsxs as
|
|
1
|
+
import { jsxs as c, jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
import { HeroSection as
|
|
4
|
-
import { MoreTemplatesSection as
|
|
5
|
-
import { ProcessSection as
|
|
6
|
-
import { CategoriesSection as
|
|
3
|
+
import { HeroSection as n } from "./HeroSection.js";
|
|
4
|
+
import { MoreTemplatesSection as f } from "./MoreTemplatesSection.js";
|
|
5
|
+
import { ProcessSection as l } from "./ProcessSection.js";
|
|
6
|
+
import { CategoriesSection as S } from "./CategoriesSection.js";
|
|
7
7
|
import { RatafiaSection as x } from "./RatafiaSection.js";
|
|
8
8
|
import { TrustSection as T } from "./TrustSection.js";
|
|
9
|
-
import { FaqTeaserSection as
|
|
10
|
-
import { BlogSection as
|
|
11
|
-
const
|
|
9
|
+
import { FaqTeaserSection as b } from "./FaqTeaserSection.js";
|
|
10
|
+
import { BlogSection as g } from "./BlogSection.js";
|
|
11
|
+
const M = ({
|
|
12
12
|
hero: t,
|
|
13
13
|
moreTemplates: m,
|
|
14
14
|
process: e,
|
|
15
15
|
categories: r,
|
|
16
16
|
ratafia: i,
|
|
17
17
|
trust: p,
|
|
18
|
-
faqTeaser:
|
|
19
|
-
articles:
|
|
20
|
-
}) => /* @__PURE__ */
|
|
21
|
-
/* @__PURE__ */ o(
|
|
22
|
-
/* @__PURE__ */ o(
|
|
23
|
-
/* @__PURE__ */ o(
|
|
24
|
-
r && /* @__PURE__ */ o(
|
|
18
|
+
faqTeaser: s,
|
|
19
|
+
articles: a
|
|
20
|
+
}) => /* @__PURE__ */ c("main", { className: "flex-1", children: [
|
|
21
|
+
/* @__PURE__ */ o(n, { ...t }),
|
|
22
|
+
/* @__PURE__ */ o(f, { ...m }),
|
|
23
|
+
/* @__PURE__ */ o(l, { ...e }),
|
|
24
|
+
r && /* @__PURE__ */ o(S, { ...r }),
|
|
25
25
|
/* @__PURE__ */ o(x, { ...i }),
|
|
26
26
|
/* @__PURE__ */ o(T, { ...p }),
|
|
27
|
-
/* @__PURE__ */ o(
|
|
28
|
-
/* @__PURE__ */ o(
|
|
27
|
+
/* @__PURE__ */ o(b, { ...s }),
|
|
28
|
+
/* @__PURE__ */ o(g, { className: "pt-10 pb-12 lg:pb-14", ...a })
|
|
29
29
|
] });
|
|
30
30
|
export {
|
|
31
|
-
|
|
31
|
+
M as HomeTemplate
|
|
32
32
|
};
|
|
@@ -1,18 +1,17 @@
|
|
|
1
|
-
import { jsx as s, jsxs as
|
|
2
|
-
import { TwoColumnSection as
|
|
3
|
-
import { Button as
|
|
4
|
-
const
|
|
5
|
-
|
|
1
|
+
import { jsx as s, jsxs as l } from "react/jsx-runtime";
|
|
2
|
+
import { TwoColumnSection as o } from "./TwoColumnSection.js";
|
|
3
|
+
import { Button as t } from "./Button.js";
|
|
4
|
+
const c = ({ image: m, children: r, cta: a, className: i }) => /* @__PURE__ */ s(
|
|
5
|
+
o,
|
|
6
6
|
{
|
|
7
7
|
className: i ?? "",
|
|
8
|
-
containerClassName: l,
|
|
9
8
|
firstColumn: /* @__PURE__ */ s("div", { className: "mb-4 md:mr-6 md:mb-0 md:basis-42/100 lg:mr-10 lg:basis-39/100 xl:basis-36/100", children: m }),
|
|
10
|
-
secondColumn: /* @__PURE__ */
|
|
9
|
+
secondColumn: /* @__PURE__ */ l("div", { className: "mt-4 basis-full md:mt-0 md:basis-56/100 lg:basis-59/100 xl:basis-60/100", children: [
|
|
11
10
|
r,
|
|
12
|
-
/* @__PURE__ */ s(
|
|
11
|
+
/* @__PURE__ */ s(t, { size: "large", variant: "primary-darkgreen", className: "mt-8", ...a })
|
|
13
12
|
] })
|
|
14
13
|
}
|
|
15
14
|
);
|
|
16
15
|
export {
|
|
17
|
-
|
|
16
|
+
c as IntroSection
|
|
18
17
|
};
|
|
@@ -4,21 +4,13 @@ import { ReactNode } from 'react';
|
|
|
4
4
|
export declare interface LawGeniusSectionProps {
|
|
5
5
|
title: string;
|
|
6
6
|
content: string;
|
|
7
|
-
benefits
|
|
7
|
+
benefits: {
|
|
8
8
|
id: string;
|
|
9
9
|
label: string;
|
|
10
10
|
icon: ReactNode;
|
|
11
11
|
}[];
|
|
12
|
-
/** When set, renders below the markdown instead of benefit chips (e.g. stacked AI step cards). */
|
|
13
|
-
stepsSlot?: ReactNode;
|
|
14
|
-
/** Optional copy between steps and CTA (centered + steps layout only). */
|
|
15
|
-
belowStepsSlot?: ReactNode;
|
|
16
12
|
cta: ReactNode;
|
|
17
13
|
image: ReactNode;
|
|
18
|
-
/** When true with `stepsSlot`, skips LinkWrapper around `cta` (e.g. plain Button). */
|
|
19
|
-
skipCtaWrapper?: boolean;
|
|
20
|
-
sectionClassName?: string;
|
|
21
|
-
innerClassName?: string;
|
|
22
14
|
}
|
|
23
15
|
|
|
24
16
|
export declare const RatafiaSection: FC<LawGeniusSectionProps>;
|
|
@@ -1,60 +1,31 @@
|
|
|
1
|
-
import { jsx as l, jsxs as
|
|
1
|
+
import { jsx as l, jsxs as a } from "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
stepsSlot: t,
|
|
11
|
-
belowStepsSlot: g,
|
|
12
|
-
cta: r,
|
|
13
|
-
image: c,
|
|
14
|
-
skipCtaWrapper: h = !1,
|
|
15
|
-
sectionClassName: d,
|
|
16
|
-
innerClassName: x
|
|
17
|
-
}) => {
|
|
18
|
-
const n = "bg-primary-50 px-6 py-10 lg:px-8 lg:py-12 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 (t != null) {
|
|
20
|
-
const a = h ? /* @__PURE__ */ l("div", { className: "w-full lg:w-fit", children: r }) : /* @__PURE__ */ l(f, { className: "w-full lg:w-fit", children: r });
|
|
21
|
-
return /* @__PURE__ */ l("section", { className: d ?? n, children: /* @__PURE__ */ l("div", { className: o("from-primary-900 mx-auto w-full max-w-6xl rounded-3xl bg-linear-to-bl p-10 text-white shadow-[0_25px_80px_rgba(3,42,56,0.35)]", x), children: /* @__PURE__ */ e("div", { className: "flex w-full flex-col gap-8", children: [
|
|
22
|
-
/* @__PURE__ */ e("div", { className: "flex flex-col gap-4 text-center text-white", children: [
|
|
23
|
-
/* @__PURE__ */ l("h2", { className: "lg:text-super-large text-3xl font-bold lg:leading-tight", children: m }),
|
|
24
|
-
/* @__PURE__ */ l(p, { content: i, className: "[&_p]:text-medium [&_p]:text-white/80 [&_p:last-child]:mb-0" })
|
|
25
|
-
] }),
|
|
26
|
-
/* @__PURE__ */ e("div", { className: "flex w-full flex-col gap-10 lg:grid lg:grid-cols-[minmax(0,0.9fr)_minmax(0,1.1fr)] lg:items-center", children: [
|
|
27
|
-
/* @__PURE__ */ e("div", { className: "flex flex-col gap-6", children: [
|
|
28
|
-
t,
|
|
29
|
-
g,
|
|
30
|
-
a
|
|
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 md:min-w-0", children: c })
|
|
33
|
-
] })
|
|
34
|
-
] }) }) });
|
|
35
|
-
}
|
|
36
|
-
return /* @__PURE__ */ l("section", { className: d ?? n, children: /* @__PURE__ */ e("div", { className: o(w, x), children: [
|
|
37
|
-
/* @__PURE__ */ e("div", { className: "flex flex-col gap-8", children: [
|
|
38
|
-
/* @__PURE__ */ e("div", { className: "flex flex-col gap-4", children: [
|
|
39
|
-
/* @__PURE__ */ l("h2", { className: "text-super-large leading-tight font-bold", children: m }),
|
|
40
|
-
/* @__PURE__ */ l(p, { content: i, className: "[&_p:last-child]:mb-0" })
|
|
41
|
-
] }),
|
|
42
|
-
s.length > 0 && /* @__PURE__ */ l("div", { className: "flex flex-wrap gap-3", children: s.map((a) => /* @__PURE__ */ e(
|
|
43
|
-
"span",
|
|
44
|
-
{
|
|
45
|
-
className: "bg-primary-50 text-small text-primary-800 flex flex-nowrap gap-1 rounded-md p-1 font-semibold",
|
|
46
|
-
children: [
|
|
47
|
-
a.icon,
|
|
48
|
-
a.label
|
|
49
|
-
]
|
|
50
|
-
},
|
|
51
|
-
a.id
|
|
52
|
-
)) }),
|
|
53
|
-
/* @__PURE__ */ l(f, { className: "w-full md:w-fit", children: r })
|
|
3
|
+
import { Markdown as s } from "./Markdown.js";
|
|
4
|
+
import { LinkWrapper as t } from "./LinkWrapper.js";
|
|
5
|
+
const f = ({ title: m, content: r, benefits: i, cta: p, image: d }) => /* @__PURE__ */ l("section", { className: "bg-primary-50 px-6 py-10 lg:px-8 lg:py-12 xl:px-0", children: /* @__PURE__ */ a("div", { className: "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", children: [
|
|
6
|
+
/* @__PURE__ */ a("div", { className: "flex flex-col gap-8", children: [
|
|
7
|
+
/* @__PURE__ */ a("div", { className: "flex flex-col gap-4", children: [
|
|
8
|
+
/* @__PURE__ */ l("h2", { className: "text-super-large leading-tight font-bold", children: m }),
|
|
9
|
+
/* @__PURE__ */ l(s, { content: r, className: "[&_p:last-child]:mb-0" })
|
|
54
10
|
] }),
|
|
55
|
-
/* @__PURE__ */ l("div", { className: "
|
|
56
|
-
|
|
57
|
-
|
|
11
|
+
/* @__PURE__ */ l("div", { className: "flex flex-wrap gap-3", children: i.map((e) => /* @__PURE__ */ a(
|
|
12
|
+
"span",
|
|
13
|
+
{
|
|
14
|
+
className: "bg-primary-50 text-small text-primary-800 flex flex-nowrap gap-1 rounded-md p-1 font-semibold",
|
|
15
|
+
children: [
|
|
16
|
+
e.icon,
|
|
17
|
+
e.label
|
|
18
|
+
]
|
|
19
|
+
},
|
|
20
|
+
e.id
|
|
21
|
+
)) }),
|
|
22
|
+
/* @__PURE__ */ a(t, { className: "w-full md:w-fit", children: [
|
|
23
|
+
" ",
|
|
24
|
+
p
|
|
25
|
+
] })
|
|
26
|
+
] }),
|
|
27
|
+
/* @__PURE__ */ l("div", { className: "mx-auto w-full max-w-77 md:mx-0 md:min-w-74", children: d })
|
|
28
|
+
] }) });
|
|
58
29
|
export {
|
|
59
|
-
|
|
30
|
+
f as RatafiaSection
|
|
60
31
|
};
|
|
@@ -1,21 +1,22 @@
|
|
|
1
|
-
import { jsxs as
|
|
1
|
+
import { jsxs as c, jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
|
|
3
|
+
import { Markdown as m } from "./Markdown.js";
|
|
4
|
+
const i = ({
|
|
4
5
|
title: r,
|
|
5
6
|
description: e,
|
|
6
7
|
align: l = "center",
|
|
7
8
|
titleClass: a = "font-lora text-super-large",
|
|
8
|
-
className:
|
|
9
|
-
}) => /* @__PURE__ */
|
|
9
|
+
className: n = ""
|
|
10
|
+
}) => /* @__PURE__ */ c(
|
|
10
11
|
"div",
|
|
11
12
|
{
|
|
12
|
-
className: `flex flex-col gap-4 text-neutral-800 ${
|
|
13
|
+
className: `flex flex-col gap-4 text-neutral-800 ${n} ${l === "center" ? "items-center text-center" : "text-left"}`,
|
|
13
14
|
children: [
|
|
14
15
|
/* @__PURE__ */ t("h2", { className: a, children: r }),
|
|
15
|
-
e && /* @__PURE__ */ t(
|
|
16
|
+
e && /* @__PURE__ */ t(m, { className: "text-medium max-w-3xl [&_p:last-child]:mb-0", content: e })
|
|
16
17
|
]
|
|
17
18
|
}
|
|
18
19
|
);
|
|
19
20
|
export {
|
|
20
|
-
|
|
21
|
+
i as SectionHeading
|
|
21
22
|
};
|
|
@@ -1,17 +1,13 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
|
|
3
|
-
const i = ({
|
|
1
|
+
import { jsx as s, jsxs as t } from "react/jsx-runtime";
|
|
2
|
+
const c = ({
|
|
4
3
|
firstColumn: e,
|
|
5
4
|
secondColumn: o,
|
|
6
|
-
className:
|
|
7
|
-
containerClassName:
|
|
8
|
-
}) => /* @__PURE__ */
|
|
5
|
+
className: n,
|
|
6
|
+
containerClassName: r
|
|
7
|
+
}) => /* @__PURE__ */ s("section", { className: n ?? "", children: /* @__PURE__ */ t(
|
|
9
8
|
"div",
|
|
10
9
|
{
|
|
11
|
-
className:
|
|
12
|
-
"container mx-auto flex max-w-300 flex-row justify-center px-4 py-10 md:flex-nowrap md:px-8",
|
|
13
|
-
m
|
|
14
|
-
),
|
|
10
|
+
className: `container mx-auto flex max-w-300 flex-row justify-center px-4 py-10 md:flex-nowrap md:px-8 ${r ?? ""}`,
|
|
15
11
|
children: [
|
|
16
12
|
e,
|
|
17
13
|
o
|
|
@@ -19,5 +15,5 @@ const i = ({
|
|
|
19
15
|
}
|
|
20
16
|
) });
|
|
21
17
|
export {
|
|
22
|
-
|
|
18
|
+
c as TwoColumnSection
|
|
23
19
|
};
|
|
@@ -66,14 +66,15 @@ export declare interface BenefitsOfSigningSectionProps {
|
|
|
66
66
|
export declare const BlogSection: FC<BlogSectionProps>;
|
|
67
67
|
|
|
68
68
|
export declare interface BlogSectionProps {
|
|
69
|
-
header: SectionHeadingProps;
|
|
69
|
+
header: SectionHeadingProps | null;
|
|
70
70
|
articles: {
|
|
71
71
|
title: string;
|
|
72
72
|
image: ReactNode;
|
|
73
73
|
description: string;
|
|
74
74
|
cta: ReactNode;
|
|
75
75
|
}[];
|
|
76
|
-
cta: ReactNode;
|
|
76
|
+
cta: ReactNode | null;
|
|
77
|
+
className?: string;
|
|
77
78
|
}
|
|
78
79
|
|
|
79
80
|
export declare const Breadcrumb: FC<BreadcrumbProps>;
|
|
@@ -507,7 +508,6 @@ export declare interface IntroSectionProps {
|
|
|
507
508
|
children: ReactNode;
|
|
508
509
|
cta: ButtonProps;
|
|
509
510
|
className?: string;
|
|
510
|
-
containerClassName?: string;
|
|
511
511
|
}
|
|
512
512
|
|
|
513
513
|
export declare const Item: FC<ItemProps>;
|
|
@@ -583,21 +583,13 @@ export declare type LanguageSelectorVariant = 'default' | 'compact';
|
|
|
583
583
|
export declare interface LawGeniusSectionProps {
|
|
584
584
|
title: string;
|
|
585
585
|
content: string;
|
|
586
|
-
benefits
|
|
586
|
+
benefits: {
|
|
587
587
|
id: string;
|
|
588
588
|
label: string;
|
|
589
589
|
icon: ReactNode;
|
|
590
590
|
}[];
|
|
591
|
-
/** When set, renders below the markdown instead of benefit chips (e.g. stacked AI step cards). */
|
|
592
|
-
stepsSlot?: ReactNode;
|
|
593
|
-
/** Optional copy between steps and CTA (centered + steps layout only). */
|
|
594
|
-
belowStepsSlot?: ReactNode;
|
|
595
591
|
cta: ReactNode;
|
|
596
592
|
image: ReactNode;
|
|
597
|
-
/** When true with `stepsSlot`, skips LinkWrapper around `cta` (e.g. plain Button). */
|
|
598
|
-
skipCtaWrapper?: boolean;
|
|
599
|
-
sectionClassName?: string;
|
|
600
|
-
innerClassName?: string;
|
|
601
593
|
}
|
|
602
594
|
|
|
603
595
|
export declare const LegalSection: FC<LegalSectionProps>;
|