@npm_leadtech/legal-contracts-ui 0.80.2 → 0.80.4
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/AiLegalDocumentReviewerTemplate.d.ts +16 -15
- package/dist/components/AiLegalDocumentReviewerTemplate.js +33 -33
- package/dist/components/BlogSection.d.ts +1 -0
- package/dist/components/BlogSection.js +36 -16
- package/dist/components/CategoryProductTemplate.d.ts +1 -0
- package/dist/components/CategoryProductTemplate.js +4 -2
- package/dist/components/DocEditFillIcon.js +4 -4
- package/dist/components/ElectronicSignatureTemplate.d.ts +16 -15
- package/dist/components/Hero2Section.d.ts +15 -14
- package/dist/components/Hero2Section.js +125 -63
- package/dist/components/HomeTemplate.d.ts +1 -0
- package/dist/components/index.d.ts +17 -15
- package/dist/globals.css +1 -1
- package/package.json +1 -9
- package/dist/components/AddIcon.d.ts +0 -4
- package/dist/components/AddIcon.js +0 -12
- package/dist/components/UploadZone.d.ts +0 -21
- package/dist/components/UploadZone.js +0 -45
|
@@ -89,20 +89,31 @@ export interface FastAndSimpleSectionProps {
|
|
|
89
89
|
variant?: 'default' | 'lawgeniusDark';
|
|
90
90
|
}
|
|
91
91
|
|
|
92
|
-
export type Hero2Highlight = {
|
|
92
|
+
export type Hero2Highlight = string | {
|
|
93
93
|
id: string;
|
|
94
94
|
label: string;
|
|
95
95
|
icon: ReactNode;
|
|
96
96
|
};
|
|
97
97
|
|
|
98
98
|
export interface Hero2SectionProps {
|
|
99
|
-
|
|
100
|
-
|
|
99
|
+
backgroundRight?: string;
|
|
100
|
+
backgroundLeft?: string;
|
|
101
|
+
subtitle?: string;
|
|
101
102
|
title: string;
|
|
102
103
|
description: string;
|
|
103
104
|
highlights: Hero2Highlight[];
|
|
104
|
-
|
|
105
|
-
|
|
105
|
+
/** Light (e-sign): default pills with chevron. Dark (Lawgenius): gradient hero, optional icon pills */
|
|
106
|
+
theme?: 'light' | 'dark';
|
|
107
|
+
/** Shown under highlight pills (e.g. Lawgenius) */
|
|
108
|
+
footnote?: string;
|
|
109
|
+
addDocumentIcon?: string;
|
|
110
|
+
uploadPromptText?: string;
|
|
111
|
+
addDocumentLabel?: string;
|
|
112
|
+
fileSizeText?: string;
|
|
113
|
+
disclaimer?: ReactNode;
|
|
114
|
+
onAddDocument?: () => void;
|
|
115
|
+
/** Replaces the default upload card (e.g. wrap `DocumentReviewUploadCard`) */
|
|
116
|
+
uploadSlot?: ReactNode;
|
|
106
117
|
}
|
|
107
118
|
|
|
108
119
|
export interface HowItWorksSectionProps {
|
|
@@ -176,14 +187,4 @@ export interface TrustpilotSectionProps {
|
|
|
176
187
|
header: SectionHeadingProps;
|
|
177
188
|
children: ReactNode;
|
|
178
189
|
}
|
|
179
|
-
|
|
180
|
-
export interface UploadZoneProps {
|
|
181
|
-
uploadPromptText: string;
|
|
182
|
-
addDocumentLabel: string;
|
|
183
|
-
fileSizeText: string;
|
|
184
|
-
disclaimer: string;
|
|
185
|
-
containerClassName?: string;
|
|
186
|
-
onAddDocument?: () => void;
|
|
187
|
-
onDropDocument?: () => void;
|
|
188
|
-
}
|
|
189
190
|
|
|
@@ -1,50 +1,50 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { AiLegalDocumentInsightsSection as
|
|
3
|
-
import { DocumentReviewUploadCard as
|
|
4
|
-
import { FaqSection as
|
|
1
|
+
import { jsxs as x, jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import { AiLegalDocumentInsightsSection as w } from "./AiLegalDocumentInsightsSection.js";
|
|
3
|
+
import { DocumentReviewUploadCard as t } from "./DocumentReviewUploadCard.js";
|
|
4
|
+
import { FaqSection as h } from "./FaqSection.js";
|
|
5
5
|
import { FastAndSimpleSection as k } from "./FastAndSimpleSection.js";
|
|
6
6
|
import { Hero2Section as D } from "./Hero2Section.js";
|
|
7
|
-
import { HowItWorksSection as
|
|
8
|
-
import { LawgeniusAskQuestionsSection as
|
|
9
|
-
import { LawgeniusFloatingTagsIllustration as
|
|
10
|
-
import { SignAndSendSection as
|
|
11
|
-
import { TrustpilotSection as
|
|
12
|
-
const
|
|
13
|
-
hero:
|
|
14
|
-
howItWorks:
|
|
15
|
-
fastAndSimple:
|
|
16
|
-
insights:
|
|
17
|
-
signAndSend:
|
|
18
|
-
trustpilot:
|
|
19
|
-
askQuestions:
|
|
7
|
+
import { HowItWorksSection as v } from "./HowItWorksSection.js";
|
|
8
|
+
import { LawgeniusAskQuestionsSection as A } from "./LawgeniusAskQuestionsSection.js";
|
|
9
|
+
import { LawgeniusFloatingTagsIllustration as R } from "./LawgeniusFloatingTagsIllustration.js";
|
|
10
|
+
import { SignAndSendSection as I } from "./SignAndSendSection.js";
|
|
11
|
+
import { TrustpilotSection as L } from "./TrustpilotSection.js";
|
|
12
|
+
const P = ({
|
|
13
|
+
hero: i,
|
|
14
|
+
howItWorks: e,
|
|
15
|
+
fastAndSimple: r,
|
|
16
|
+
insights: n,
|
|
17
|
+
signAndSend: a,
|
|
18
|
+
trustpilot: s,
|
|
19
|
+
askQuestions: l,
|
|
20
20
|
faq: m
|
|
21
21
|
}) => {
|
|
22
|
-
const { ...
|
|
23
|
-
return /* @__PURE__ */
|
|
24
|
-
/* @__PURE__ */ o(D, { ...
|
|
25
|
-
/* @__PURE__ */ o(
|
|
26
|
-
/* @__PURE__ */ o(k, { ...
|
|
27
|
-
/* @__PURE__ */ o(
|
|
22
|
+
const { upload: p, ...c } = i, { upload: u, leadingIcon: d, ...g } = a, { illustration: f, ...S } = l;
|
|
23
|
+
return /* @__PURE__ */ x("main", { className: "flex w-full flex-col", children: [
|
|
24
|
+
/* @__PURE__ */ o(D, { ...c, uploadSlot: /* @__PURE__ */ o(t, { ...p }) }),
|
|
25
|
+
/* @__PURE__ */ o(v, { ...e }),
|
|
26
|
+
/* @__PURE__ */ o(k, { ...r, variant: "lawgeniusDark" }),
|
|
27
|
+
/* @__PURE__ */ o(w, { ...n }),
|
|
28
28
|
/* @__PURE__ */ o(
|
|
29
|
-
|
|
29
|
+
I,
|
|
30
30
|
{
|
|
31
|
-
...
|
|
31
|
+
...g,
|
|
32
32
|
variant: "lawgeniusDark",
|
|
33
|
-
leadingIcon:
|
|
34
|
-
rightColumn: /* @__PURE__ */ o(
|
|
33
|
+
leadingIcon: d,
|
|
34
|
+
rightColumn: /* @__PURE__ */ o(t, { ...u, variant: "embeddedOnDark" })
|
|
35
35
|
}
|
|
36
36
|
),
|
|
37
|
-
/* @__PURE__ */ o(
|
|
37
|
+
/* @__PURE__ */ o(L, { ...s }),
|
|
38
38
|
/* @__PURE__ */ o(
|
|
39
|
-
|
|
39
|
+
A,
|
|
40
40
|
{
|
|
41
|
-
...
|
|
42
|
-
illustration: /* @__PURE__ */ o(
|
|
41
|
+
...S,
|
|
42
|
+
illustration: /* @__PURE__ */ o(R, { ...f })
|
|
43
43
|
}
|
|
44
44
|
),
|
|
45
|
-
/* @__PURE__ */ o("section", { className: "bg-neutral-25 px-6 py-16 sm:px-10 lg:px-32", children: /* @__PURE__ */ o(
|
|
45
|
+
/* @__PURE__ */ o("section", { className: "bg-neutral-25 px-6 py-16 sm:px-10 lg:px-32", children: /* @__PURE__ */ o(h, { ...m, className: "mx-auto max-w-6xl space-y-6" }) })
|
|
46
46
|
] });
|
|
47
47
|
};
|
|
48
48
|
export {
|
|
49
|
-
|
|
49
|
+
P as AiLegalDocumentReviewerTemplate
|
|
50
50
|
};
|
|
@@ -1,20 +1,40 @@
|
|
|
1
1
|
import { jsx as e, jsxs as i } from "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
import
|
|
4
|
-
import { SectionHeading as
|
|
5
|
-
import { LinkWrapper as
|
|
6
|
-
const
|
|
7
|
-
m
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
/* @__PURE__ */
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
3
|
+
import o from "clsx";
|
|
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" }) => {
|
|
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: [
|
|
10
|
+
r && /* @__PURE__ */ e(c, { ...r }),
|
|
11
|
+
/* @__PURE__ */ e("div", { className: "grid gap-6 lg:grid-cols-2", children: m.map((l) => /* @__PURE__ */ i(
|
|
12
|
+
"article",
|
|
13
|
+
{
|
|
14
|
+
className: o("flex flex-col rounded-sm bg-white shadow", n && "md:flex-row"),
|
|
15
|
+
children: [
|
|
16
|
+
/* @__PURE__ */ e(
|
|
17
|
+
"div",
|
|
18
|
+
{
|
|
19
|
+
className: o(
|
|
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"
|
|
22
|
+
),
|
|
23
|
+
children: l.image
|
|
24
|
+
}
|
|
25
|
+
),
|
|
26
|
+
/* @__PURE__ */ i("div", { className: "flex flex-col gap-4 p-6 text-neutral-800", children: [
|
|
27
|
+
/* @__PURE__ */ e("h3", { className: "text-big font-semibold", children: l.title }),
|
|
28
|
+
/* @__PURE__ */ e("p", { className: "text-medium", children: l.description }),
|
|
29
|
+
/* @__PURE__ */ e(t, { className: "w-fit", variant: "tertiary-bold", children: l.cta })
|
|
30
|
+
] })
|
|
31
|
+
]
|
|
32
|
+
},
|
|
33
|
+
l.title
|
|
34
|
+
)) }),
|
|
35
|
+
!!d && /* @__PURE__ */ e(t, { className: "w-full md:w-fit", variant: "secondary-green", children: d })
|
|
36
|
+
] }) });
|
|
37
|
+
};
|
|
18
38
|
export {
|
|
19
|
-
|
|
39
|
+
u as BlogSection
|
|
20
40
|
};
|
|
@@ -5,7 +5,7 @@ import { DocumentSection as n } from "./DocumentSection.js";
|
|
|
5
5
|
import { Breadcrumb as x } from "./Breadcrumb.js";
|
|
6
6
|
import { FaqSection as f } from "./FaqSection.js";
|
|
7
7
|
import { BlogSection as d } from "./BlogSection.js";
|
|
8
|
-
const
|
|
8
|
+
const v = ({
|
|
9
9
|
jumbo: r,
|
|
10
10
|
breadcrumb: o,
|
|
11
11
|
categories: m,
|
|
@@ -25,6 +25,8 @@ const w = ({
|
|
|
25
25
|
d,
|
|
26
26
|
{
|
|
27
27
|
...a,
|
|
28
|
+
className: "px-0!",
|
|
29
|
+
variant: "column",
|
|
28
30
|
header: a.header ? {
|
|
29
31
|
...a.header,
|
|
30
32
|
align: "start",
|
|
@@ -37,5 +39,5 @@ const w = ({
|
|
|
37
39
|
] })
|
|
38
40
|
] });
|
|
39
41
|
export {
|
|
40
|
-
|
|
42
|
+
v as CategoryProductTemplate
|
|
41
43
|
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as l } from "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
const
|
|
3
|
+
const i = (o) => /* @__PURE__ */ l("svg", { xmlns: "http://www.w3.org/2000/svg", width: "32", height: "32", fill: "none", viewBox: "0 0 32 32", ...o, children: /* @__PURE__ */ l(
|
|
4
4
|
"path",
|
|
5
5
|
{
|
|
6
|
-
fill:
|
|
6
|
+
fill: "var(--color-primary-700)",
|
|
7
7
|
d: "M8 29.333a2.57 2.57 0 0 1-1.883-.783 2.57 2.57 0 0 1-.784-1.884V5.334q0-1.099.784-1.883A2.57 2.57 0 0 1 8 2.666h9.567a2.63 2.63 0 0 1 1.866.767L25.9 9.9q.367.367.567.85.2.482.2 1.017v2.1a.97.97 0 0 1-.217.633 1.33 1.33 0 0 1-.55.4 5 5 0 0 0-1.016.516 5.5 5.5 0 0 0-.884.717l-7.2 7.2a2.8 2.8 0 0 0-.583.85A2.5 2.5 0 0 0 16 25.2V28q0 .566-.383.95a1.3 1.3 0 0 1-.95.383zM18.667 28v-2.2q0-.267.1-.517t.3-.45l6.967-6.933q.3-.3.666-.433.368-.134.733-.134a2 2 0 0 1 1.434.6l1.233 1.233q.267.3.417.667t.15.734-.134.75A1.8 1.8 0 0 1 30.1 22l-6.933 6.933a1.3 1.3 0 0 1-.45.3 1.4 1.4 0 0 1-.517.1H20a1.3 1.3 0 0 1-.95-.383 1.3 1.3 0 0 1-.383-.95m8.766-6.134 1.234-1.3-1.234-1.233-1.266 1.267zM18.667 12H24l-6.666-6.667v5.333q0 .567.383.95.383.384.95.384"
|
|
8
8
|
}
|
|
9
9
|
) });
|
|
10
10
|
export {
|
|
11
|
-
|
|
11
|
+
i as DocEditFillIcon
|
|
12
12
|
};
|
|
@@ -52,20 +52,31 @@ export interface FastAndSimpleSectionProps {
|
|
|
52
52
|
variant?: 'default' | 'lawgeniusDark';
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
export type Hero2Highlight = {
|
|
55
|
+
export type Hero2Highlight = string | {
|
|
56
56
|
id: string;
|
|
57
57
|
label: string;
|
|
58
58
|
icon: ReactNode;
|
|
59
59
|
};
|
|
60
60
|
|
|
61
61
|
export interface Hero2SectionProps {
|
|
62
|
-
|
|
63
|
-
|
|
62
|
+
backgroundRight?: string;
|
|
63
|
+
backgroundLeft?: string;
|
|
64
|
+
subtitle?: string;
|
|
64
65
|
title: string;
|
|
65
66
|
description: string;
|
|
66
67
|
highlights: Hero2Highlight[];
|
|
67
|
-
|
|
68
|
-
|
|
68
|
+
/** Light (e-sign): default pills with chevron. Dark (Lawgenius): gradient hero, optional icon pills */
|
|
69
|
+
theme?: 'light' | 'dark';
|
|
70
|
+
/** Shown under highlight pills (e.g. Lawgenius) */
|
|
71
|
+
footnote?: string;
|
|
72
|
+
addDocumentIcon?: string;
|
|
73
|
+
uploadPromptText?: string;
|
|
74
|
+
addDocumentLabel?: string;
|
|
75
|
+
fileSizeText?: string;
|
|
76
|
+
disclaimer?: ReactNode;
|
|
77
|
+
onAddDocument?: () => void;
|
|
78
|
+
/** Replaces the default upload card (e.g. wrap `DocumentReviewUploadCard`) */
|
|
79
|
+
uploadSlot?: ReactNode;
|
|
69
80
|
}
|
|
70
81
|
|
|
71
82
|
export interface HowItWorksSectionProps {
|
|
@@ -121,14 +132,4 @@ export interface TrustpilotSectionProps {
|
|
|
121
132
|
header: SectionHeadingProps;
|
|
122
133
|
children: ReactNode;
|
|
123
134
|
}
|
|
124
|
-
|
|
125
|
-
export interface UploadZoneProps {
|
|
126
|
-
uploadPromptText: string;
|
|
127
|
-
addDocumentLabel: string;
|
|
128
|
-
fileSizeText: string;
|
|
129
|
-
disclaimer: string;
|
|
130
|
-
containerClassName?: string;
|
|
131
|
-
onAddDocument?: () => void;
|
|
132
|
-
onDropDocument?: () => void;
|
|
133
|
-
}
|
|
134
135
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { FC } from 'react';
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
3
|
|
|
4
|
-
export declare type Hero2Highlight = {
|
|
4
|
+
export declare type Hero2Highlight = string | {
|
|
5
5
|
id: string;
|
|
6
6
|
label: string;
|
|
7
7
|
icon: ReactNode;
|
|
@@ -10,22 +10,23 @@ export declare type Hero2Highlight = {
|
|
|
10
10
|
export declare const Hero2Section: FC<Hero2SectionProps>;
|
|
11
11
|
|
|
12
12
|
export declare interface Hero2SectionProps {
|
|
13
|
-
|
|
14
|
-
|
|
13
|
+
backgroundRight?: string;
|
|
14
|
+
backgroundLeft?: string;
|
|
15
|
+
subtitle?: string;
|
|
15
16
|
title: string;
|
|
16
17
|
description: string;
|
|
17
18
|
highlights: Hero2Highlight[];
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
uploadPromptText
|
|
24
|
-
addDocumentLabel
|
|
25
|
-
fileSizeText
|
|
26
|
-
disclaimer
|
|
27
|
-
containerClassName?: string;
|
|
19
|
+
/** Light (e-sign): default pills with chevron. Dark (Lawgenius): gradient hero, optional icon pills */
|
|
20
|
+
theme?: 'light' | 'dark';
|
|
21
|
+
/** Shown under highlight pills (e.g. Lawgenius) */
|
|
22
|
+
footnote?: string;
|
|
23
|
+
addDocumentIcon?: string;
|
|
24
|
+
uploadPromptText?: string;
|
|
25
|
+
addDocumentLabel?: string;
|
|
26
|
+
fileSizeText?: string;
|
|
27
|
+
disclaimer?: ReactNode;
|
|
28
28
|
onAddDocument?: () => void;
|
|
29
|
-
|
|
29
|
+
/** Replaces the default upload card (e.g. wrap `DocumentReviewUploadCard`) */
|
|
30
|
+
uploadSlot?: ReactNode;
|
|
30
31
|
}
|
|
31
32
|
|
|
@@ -1,75 +1,137 @@
|
|
|
1
|
-
import { jsxs as l, jsx as
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
1
|
+
import { jsxs as l, jsx as e, Fragment as w } from "react/jsx-runtime";
|
|
2
|
+
import { ChevronRightIcon as v } from "./ChevronRightIcon.js";
|
|
3
|
+
import { Button as N } from "./Button.js";
|
|
4
|
+
const B = ({
|
|
5
|
+
backgroundRight: s = "",
|
|
6
|
+
backgroundLeft: n = "",
|
|
7
|
+
subtitle: i,
|
|
8
|
+
title: p,
|
|
9
|
+
description: u,
|
|
10
|
+
highlights: g,
|
|
11
|
+
theme: f = "light",
|
|
12
|
+
footnote: r,
|
|
13
|
+
addDocumentIcon: m,
|
|
14
|
+
uploadPromptText: d,
|
|
15
|
+
addDocumentLabel: c,
|
|
16
|
+
fileSizeText: x,
|
|
17
|
+
disclaimer: o,
|
|
18
|
+
onAddDocument: y,
|
|
19
|
+
uploadSlot: h
|
|
13
20
|
}) => {
|
|
14
|
-
const
|
|
21
|
+
const t = f === "dark", b = h == null && m != null && d != null && c != null && x != null && o != null;
|
|
15
22
|
return /* @__PURE__ */ l(
|
|
16
23
|
"section",
|
|
17
24
|
{
|
|
18
|
-
className: t
|
|
19
|
-
"relative flex justify-center overflow-hidden",
|
|
20
|
-
e && "bg-primary-900 isolate px-6 py-16 text-white sm:px-10 lg:px-24",
|
|
21
|
-
!e && "bg-neutral-50"
|
|
22
|
-
),
|
|
25
|
+
className: t ? "bg-primary-900 relative isolate overflow-hidden px-6 py-16 text-white sm:px-10 lg:px-24" : "relative overflow-hidden bg-neutral-50",
|
|
23
26
|
children: [
|
|
24
|
-
|
|
25
|
-
/* @__PURE__ */
|
|
26
|
-
/* @__PURE__ */
|
|
27
|
-
] }) : /* @__PURE__ */ l(
|
|
28
|
-
|
|
29
|
-
|
|
27
|
+
t ? /* @__PURE__ */ l("div", { className: "pointer-events-none absolute inset-0", children: [
|
|
28
|
+
/* @__PURE__ */ e("div", { className: "from-primary-800/70 via-primary-900 to-primary-900 absolute inset-0 bg-gradient-to-br" }),
|
|
29
|
+
/* @__PURE__ */ e("div", { className: "absolute inset-0 bg-white/10 mix-blend-lighten" })
|
|
30
|
+
] }) : /* @__PURE__ */ l(w, { children: [
|
|
31
|
+
s !== "" && /* @__PURE__ */ e(
|
|
32
|
+
"img",
|
|
33
|
+
{
|
|
34
|
+
src: s,
|
|
35
|
+
alt: "",
|
|
36
|
+
width: 400,
|
|
37
|
+
height: 400,
|
|
38
|
+
className: "pointer-events-none absolute top-8 -right-20 z-0 hidden opacity-40 mix-blend-luminosity lg:block",
|
|
39
|
+
"aria-hidden": !0
|
|
40
|
+
}
|
|
41
|
+
),
|
|
42
|
+
n !== "" && /* @__PURE__ */ e(
|
|
43
|
+
"img",
|
|
44
|
+
{
|
|
45
|
+
src: n,
|
|
46
|
+
alt: "",
|
|
47
|
+
width: 420,
|
|
48
|
+
height: 420,
|
|
49
|
+
className: "pointer-events-none absolute -top-20 -left-40 z-0 hidden opacity-40 mix-blend-luminosity lg:block",
|
|
50
|
+
"aria-hidden": !0
|
|
51
|
+
}
|
|
52
|
+
)
|
|
30
53
|
] }),
|
|
31
|
-
/* @__PURE__ */ l(
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
className:
|
|
55
|
-
"
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
54
|
+
/* @__PURE__ */ l(
|
|
55
|
+
"div",
|
|
56
|
+
{
|
|
57
|
+
className: t ? "relative mx-auto grid max-w-6xl gap-12 lg:grid-cols-2" : "relative z-10 mx-auto flex w-full max-w-6xl flex-col gap-12 px-4 py-12 lg:flex-row lg:items-center lg:gap-16 lg:py-16",
|
|
58
|
+
children: [
|
|
59
|
+
/* @__PURE__ */ l("div", { className: `space-y-6 ${t ? "" : "flex-1"}`, children: [
|
|
60
|
+
/* @__PURE__ */ l("div", { className: "space-y-2", children: [
|
|
61
|
+
i != null && i !== "" && /* @__PURE__ */ e(
|
|
62
|
+
"p",
|
|
63
|
+
{
|
|
64
|
+
className: t ? "text-small text-secondary-300 font-semibold tracking-[0.3em] uppercase" : "text-extra-small font-bold tracking-[0.2em] text-neutral-600 uppercase",
|
|
65
|
+
children: i
|
|
66
|
+
}
|
|
67
|
+
),
|
|
68
|
+
/* @__PURE__ */ e(
|
|
69
|
+
"h1",
|
|
70
|
+
{
|
|
71
|
+
className: t ? "text-4xl leading-tight font-semibold text-white sm:text-5xl lg:text-6xl" : "font-lora text-extra-large text-primary-900 md:text-hero",
|
|
72
|
+
children: p
|
|
73
|
+
}
|
|
74
|
+
)
|
|
75
|
+
] }),
|
|
76
|
+
/* @__PURE__ */ e("p", { className: t ? "text-medium text-white/80" : "text-medium text-neutral-800", children: u }),
|
|
77
|
+
/* @__PURE__ */ e("div", { className: "flex flex-wrap gap-3", children: g.map(
|
|
78
|
+
(a) => typeof a == "string" ? /* @__PURE__ */ l(
|
|
79
|
+
"span",
|
|
80
|
+
{
|
|
81
|
+
className: "bg-primary-800 text-small text-primary-50 inline-flex items-center gap-2 rounded-md px-3 py-1 font-semibold",
|
|
82
|
+
children: [
|
|
83
|
+
/* @__PURE__ */ e(v, { className: "text-primary-50 h-4 w-4", "aria-hidden": !0 }),
|
|
84
|
+
a
|
|
85
|
+
]
|
|
86
|
+
},
|
|
87
|
+
a
|
|
88
|
+
) : /* @__PURE__ */ l(
|
|
89
|
+
"span",
|
|
90
|
+
{
|
|
91
|
+
className: "text-small inline-flex items-center gap-2 rounded-full bg-white/10 px-4 py-2 font-semibold text-white",
|
|
92
|
+
children: [
|
|
93
|
+
a.icon,
|
|
94
|
+
a.label
|
|
95
|
+
]
|
|
96
|
+
},
|
|
97
|
+
a.id
|
|
98
|
+
)
|
|
99
|
+
) }),
|
|
100
|
+
r != null && r !== "" && /* @__PURE__ */ e("p", { className: t ? "text-small text-white/80" : "text-small text-neutral-700", children: r })
|
|
101
|
+
] }),
|
|
102
|
+
/* @__PURE__ */ e("div", { className: t ? "" : "flex flex-1 justify-center", children: h ?? (b ? /* @__PURE__ */ e("div", { className: "flex flex-1 justify-center", children: /* @__PURE__ */ e(
|
|
103
|
+
"div",
|
|
104
|
+
{
|
|
105
|
+
className: "relative w-full max-w-xl rounded-3xl bg-white/70 p-4 backdrop-blur",
|
|
106
|
+
style: { boxShadow: "var(--shadow-medium)" },
|
|
107
|
+
children: /* @__PURE__ */ l("div", { className: "rounded-2xl bg-white p-8 text-center shadow-lg", children: [
|
|
108
|
+
/* @__PURE__ */ e("p", { className: "text-medium text-neutral-400", children: d }),
|
|
109
|
+
/* @__PURE__ */ l(
|
|
110
|
+
N,
|
|
111
|
+
{
|
|
112
|
+
size: "large",
|
|
113
|
+
variant: "primary-white",
|
|
114
|
+
className: "bg-primary-700 hover:bg-primary-600 focus-visible:outline-primary-700 mt-6 w-full justify-center text-white",
|
|
115
|
+
onClick: y,
|
|
116
|
+
type: "button",
|
|
117
|
+
children: [
|
|
118
|
+
/* @__PURE__ */ e("img", { src: m, alt: "", width: 24, height: 24 }),
|
|
119
|
+
/* @__PURE__ */ e("span", { className: "text-medium font-bold", children: c })
|
|
120
|
+
]
|
|
121
|
+
}
|
|
122
|
+
),
|
|
123
|
+
/* @__PURE__ */ e("p", { className: "text-extra-small mt-6 text-neutral-400", children: x }),
|
|
124
|
+
/* @__PURE__ */ e("p", { className: "text-tiny mt-2 text-neutral-400", children: o })
|
|
125
|
+
] })
|
|
126
|
+
}
|
|
127
|
+
) }) : null) })
|
|
128
|
+
]
|
|
129
|
+
}
|
|
130
|
+
)
|
|
69
131
|
]
|
|
70
132
|
}
|
|
71
133
|
);
|
|
72
134
|
};
|
|
73
135
|
export {
|
|
74
|
-
|
|
136
|
+
B as Hero2Section
|
|
75
137
|
};
|
|
@@ -113,6 +113,7 @@ export declare interface BlogSectionProps {
|
|
|
113
113
|
}[];
|
|
114
114
|
cta: ReactNode | null;
|
|
115
115
|
className?: string;
|
|
116
|
+
variant?: 'column' | 'row';
|
|
116
117
|
}
|
|
117
118
|
|
|
118
119
|
export declare const Breadcrumb: FC<BreadcrumbProps>;
|
|
@@ -459,7 +460,7 @@ export declare interface HeaderProps {
|
|
|
459
460
|
|
|
460
461
|
export declare const HelpGuideIcon: React_2.FC<React_2.SVGProps<SVGSVGElement>>;
|
|
461
462
|
|
|
462
|
-
export declare type Hero2Highlight = {
|
|
463
|
+
export declare type Hero2Highlight = string | {
|
|
463
464
|
id: string;
|
|
464
465
|
label: string;
|
|
465
466
|
icon: ReactNode;
|
|
@@ -468,13 +469,24 @@ export declare type Hero2Highlight = {
|
|
|
468
469
|
export declare const Hero2Section: FC<Hero2SectionProps>;
|
|
469
470
|
|
|
470
471
|
export declare interface Hero2SectionProps {
|
|
471
|
-
|
|
472
|
-
|
|
472
|
+
backgroundRight?: string;
|
|
473
|
+
backgroundLeft?: string;
|
|
474
|
+
subtitle?: string;
|
|
473
475
|
title: string;
|
|
474
476
|
description: string;
|
|
475
477
|
highlights: Hero2Highlight[];
|
|
476
|
-
|
|
477
|
-
|
|
478
|
+
/** Light (e-sign): default pills with chevron. Dark (Lawgenius): gradient hero, optional icon pills */
|
|
479
|
+
theme?: 'light' | 'dark';
|
|
480
|
+
/** Shown under highlight pills (e.g. Lawgenius) */
|
|
481
|
+
footnote?: string;
|
|
482
|
+
addDocumentIcon?: string;
|
|
483
|
+
uploadPromptText?: string;
|
|
484
|
+
addDocumentLabel?: string;
|
|
485
|
+
fileSizeText?: string;
|
|
486
|
+
disclaimer?: ReactNode;
|
|
487
|
+
onAddDocument?: () => void;
|
|
488
|
+
/** Replaces the default upload card (e.g. wrap `DocumentReviewUploadCard`) */
|
|
489
|
+
uploadSlot?: ReactNode;
|
|
478
490
|
}
|
|
479
491
|
|
|
480
492
|
export declare const HeroSection: FC<HeroSectionProps>;
|
|
@@ -1183,16 +1195,6 @@ export declare interface UnsubscribeSectionProps {
|
|
|
1183
1195
|
children: ReactNode;
|
|
1184
1196
|
}
|
|
1185
1197
|
|
|
1186
|
-
export interface UploadZoneProps {
|
|
1187
|
-
uploadPromptText: string;
|
|
1188
|
-
addDocumentLabel: string;
|
|
1189
|
-
fileSizeText: string;
|
|
1190
|
-
disclaimer: string;
|
|
1191
|
-
containerClassName?: string;
|
|
1192
|
-
onAddDocument?: () => void;
|
|
1193
|
-
onDropDocument?: () => void;
|
|
1194
|
-
}
|
|
1195
|
-
|
|
1196
1198
|
export declare const UsFlagIcon: React_2.FC<React_2.SVGProps<SVGSVGElement>>;
|
|
1197
1199
|
|
|
1198
1200
|
export declare const ValuesSection: FC<ValuesSectionProps>;
|