@npm_leadtech/legal-contracts-ui 0.80.4 → 0.82.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/AddIcon.d.ts +4 -0
- package/dist/components/AddIcon.js +12 -0
- package/dist/components/AiLegalDocumentReviewerTemplate.d.ts +15 -16
- package/dist/components/AiLegalDocumentReviewerTemplate.js +33 -33
- package/dist/components/BlogSection.d.ts +0 -1
- package/dist/components/BlogSection.js +16 -36
- package/dist/components/CategoryProductTemplate.d.ts +0 -1
- package/dist/components/CategoryProductTemplate.js +2 -4
- package/dist/components/DocEditFillIcon.js +4 -4
- package/dist/components/ElectronicSignatureTemplate.d.ts +15 -16
- package/dist/components/Hero2Section.d.ts +14 -15
- package/dist/components/Hero2Section.js +63 -125
- package/dist/components/HomeTemplate.d.ts +0 -1
- package/dist/components/StarsIcon.js +4 -4
- package/dist/components/UploadZone.d.ts +21 -0
- package/dist/components/UploadZone.js +46 -0
- package/dist/components/index.d.ts +15 -17
- package/dist/globals.css +1 -1
- package/package.json +9 -1
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import "react";
|
|
3
|
+
const h = (i) => /* @__PURE__ */ t("svg", { width: "22", height: "22", viewBox: "0 0 22 22", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...i, children: /* @__PURE__ */ t(
|
|
4
|
+
"path",
|
|
5
|
+
{
|
|
6
|
+
d: "M17.4166 11C17.4166 11.5063 17.0062 11.9167 16.4999 11.9167H11.9166V16.5C11.9166 17.0063 11.5062 17.4167 10.9999 17.4167C10.4937 17.4167 10.0833 17.0063 10.0833 16.5V11.9167H5.49992C4.99366 11.9167 4.58325 11.5063 4.58325 11C4.58325 10.4938 4.99366 10.0834 5.49992 10.0834H10.0833V5.50004C10.0833 4.99378 10.4937 4.58337 10.9999 4.58337C11.5062 4.58337 11.9166 4.99378 11.9166 5.50004V10.0834H16.4999C17.0062 10.0834 17.4166 10.4938 17.4166 11Z",
|
|
7
|
+
fill: "white"
|
|
8
|
+
}
|
|
9
|
+
) });
|
|
10
|
+
export {
|
|
11
|
+
h as AddIcon
|
|
12
|
+
};
|
|
@@ -89,31 +89,20 @@ export interface FastAndSimpleSectionProps {
|
|
|
89
89
|
variant?: 'default' | 'lawgeniusDark';
|
|
90
90
|
}
|
|
91
91
|
|
|
92
|
-
export type Hero2Highlight =
|
|
92
|
+
export type Hero2Highlight = {
|
|
93
93
|
id: string;
|
|
94
94
|
label: string;
|
|
95
95
|
icon: ReactNode;
|
|
96
96
|
};
|
|
97
97
|
|
|
98
98
|
export interface Hero2SectionProps {
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
subtitle?: string;
|
|
99
|
+
bgLeft: ReactNode | null;
|
|
100
|
+
bgRight: ReactNode | null;
|
|
102
101
|
title: string;
|
|
103
102
|
description: string;
|
|
104
103
|
highlights: Hero2Highlight[];
|
|
105
|
-
|
|
106
|
-
|
|
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;
|
|
104
|
+
variant: 'esign' | 'ratafia';
|
|
105
|
+
uploadZone: UploadZoneProps;
|
|
117
106
|
}
|
|
118
107
|
|
|
119
108
|
export interface HowItWorksSectionProps {
|
|
@@ -187,4 +176,14 @@ export interface TrustpilotSectionProps {
|
|
|
187
176
|
header: SectionHeadingProps;
|
|
188
177
|
children: ReactNode;
|
|
189
178
|
}
|
|
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
|
+
}
|
|
190
189
|
|
|
@@ -1,50 +1,50 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { AiLegalDocumentInsightsSection as
|
|
3
|
-
import { DocumentReviewUploadCard as
|
|
4
|
-
import { FaqSection as
|
|
1
|
+
import { jsxs as d, jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import { AiLegalDocumentInsightsSection as x } from "./AiLegalDocumentInsightsSection.js";
|
|
3
|
+
import { DocumentReviewUploadCard as S } from "./DocumentReviewUploadCard.js";
|
|
4
|
+
import { FaqSection as w } 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 h } from "./HowItWorksSection.js";
|
|
8
|
+
import { LawgeniusAskQuestionsSection as v } from "./LawgeniusAskQuestionsSection.js";
|
|
9
|
+
import { LawgeniusFloatingTagsIllustration as A } from "./LawgeniusFloatingTagsIllustration.js";
|
|
10
|
+
import { SignAndSendSection as R } from "./SignAndSendSection.js";
|
|
11
|
+
import { TrustpilotSection as I } from "./TrustpilotSection.js";
|
|
12
|
+
const O = ({
|
|
13
|
+
hero: t,
|
|
14
|
+
howItWorks: i,
|
|
15
|
+
fastAndSimple: e,
|
|
16
|
+
insights: r,
|
|
17
|
+
signAndSend: n,
|
|
18
|
+
trustpilot: a,
|
|
19
|
+
askQuestions: s,
|
|
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 { ...l } = t, { upload: c, leadingIcon: p, ...u } = n, { illustration: g, ...f } = s;
|
|
23
|
+
return /* @__PURE__ */ d("main", { className: "flex w-full flex-col", children: [
|
|
24
|
+
/* @__PURE__ */ o(D, { ...l }),
|
|
25
|
+
/* @__PURE__ */ o(h, { ...i }),
|
|
26
|
+
/* @__PURE__ */ o(k, { ...e, variant: "lawgeniusDark" }),
|
|
27
|
+
/* @__PURE__ */ o(x, { ...r }),
|
|
28
28
|
/* @__PURE__ */ o(
|
|
29
|
-
|
|
29
|
+
R,
|
|
30
30
|
{
|
|
31
|
-
...
|
|
31
|
+
...u,
|
|
32
32
|
variant: "lawgeniusDark",
|
|
33
|
-
leadingIcon:
|
|
34
|
-
rightColumn: /* @__PURE__ */ o(
|
|
33
|
+
leadingIcon: p,
|
|
34
|
+
rightColumn: /* @__PURE__ */ o(S, { ...c, variant: "embeddedOnDark" })
|
|
35
35
|
}
|
|
36
36
|
),
|
|
37
|
-
/* @__PURE__ */ o(
|
|
37
|
+
/* @__PURE__ */ o(I, { ...a }),
|
|
38
38
|
/* @__PURE__ */ o(
|
|
39
|
-
|
|
39
|
+
v,
|
|
40
40
|
{
|
|
41
|
-
...
|
|
42
|
-
illustration: /* @__PURE__ */ o(
|
|
41
|
+
...f,
|
|
42
|
+
illustration: /* @__PURE__ */ o(A, { ...g })
|
|
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(w, { ...m, className: "mx-auto max-w-6xl space-y-6" }) })
|
|
46
46
|
] });
|
|
47
47
|
};
|
|
48
48
|
export {
|
|
49
|
-
|
|
49
|
+
O as AiLegalDocumentReviewerTemplate
|
|
50
50
|
};
|
|
@@ -1,40 +1,20 @@
|
|
|
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
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
"
|
|
13
|
-
{
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
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
|
-
};
|
|
3
|
+
import t from "clsx";
|
|
4
|
+
import { SectionHeading as a } from "./SectionHeading.js";
|
|
5
|
+
import { LinkWrapper as d } from "./LinkWrapper.js";
|
|
6
|
+
const p = ({ header: m, articles: r, cta: o, className: n = "" }) => r.length === 0 ? null : /* @__PURE__ */ e("section", { className: t("mx-auto px-8 lg:px-12 xl:max-w-300 xl:px-0", n), children: /* @__PURE__ */ i("div", { className: "mx-auto flex flex-col items-center gap-8", children: [
|
|
7
|
+
m && /* @__PURE__ */ e(a, { ...m }),
|
|
8
|
+
/* @__PURE__ */ e("div", { className: "grid gap-6 lg:grid-cols-2", children: r.map((l) => /* @__PURE__ */ i("article", { className: "flex flex-col rounded-sm bg-white shadow md:flex-row", children: [
|
|
9
|
+
/* @__PURE__ */ e("div", { className: "relative h-42 shrink-0 overflow-hidden rounded-t-sm md:h-full md:max-w-51 md:rounded-t-none md:rounded-l-sm [&_img]:h-full [&_img]:w-full [&_img]:object-cover", children: l.image }),
|
|
10
|
+
/* @__PURE__ */ i("div", { className: "flex flex-col gap-4 p-6 text-neutral-800", children: [
|
|
11
|
+
/* @__PURE__ */ e("h3", { className: "text-big font-semibold", children: l.title }),
|
|
12
|
+
/* @__PURE__ */ e("p", { className: "text-medium", children: l.description }),
|
|
13
|
+
/* @__PURE__ */ e(d, { className: "w-fit", variant: "tertiary-bold", children: l.cta })
|
|
14
|
+
] })
|
|
15
|
+
] }, l.title)) }),
|
|
16
|
+
!!o && /* @__PURE__ */ e(d, { className: "w-full md:w-fit", variant: "secondary-green", children: o })
|
|
17
|
+
] }) });
|
|
38
18
|
export {
|
|
39
|
-
|
|
19
|
+
p as BlogSection
|
|
40
20
|
};
|
|
@@ -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 w = ({
|
|
9
9
|
jumbo: r,
|
|
10
10
|
breadcrumb: o,
|
|
11
11
|
categories: m,
|
|
@@ -25,8 +25,6 @@ const v = ({
|
|
|
25
25
|
d,
|
|
26
26
|
{
|
|
27
27
|
...a,
|
|
28
|
-
className: "px-0!",
|
|
29
|
-
variant: "column",
|
|
30
28
|
header: a.header ? {
|
|
31
29
|
...a.header,
|
|
32
30
|
align: "start",
|
|
@@ -39,5 +37,5 @@ const v = ({
|
|
|
39
37
|
] })
|
|
40
38
|
] });
|
|
41
39
|
export {
|
|
42
|
-
|
|
40
|
+
w as CategoryProductTemplate
|
|
43
41
|
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as i } from "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
const
|
|
3
|
+
const o = (l) => /* @__PURE__ */ i("svg", { xmlns: "http://www.w3.org/2000/svg", width: "32", height: "32", fill: "none", viewBox: "0 0 32 32", ...l, children: /* @__PURE__ */ i(
|
|
4
4
|
"path",
|
|
5
5
|
{
|
|
6
|
-
fill: "var(--color-primary-700)",
|
|
6
|
+
fill: l.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
|
+
o as DocEditFillIcon
|
|
12
12
|
};
|
|
@@ -52,31 +52,20 @@ export interface FastAndSimpleSectionProps {
|
|
|
52
52
|
variant?: 'default' | 'lawgeniusDark';
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
export type Hero2Highlight =
|
|
55
|
+
export type Hero2Highlight = {
|
|
56
56
|
id: string;
|
|
57
57
|
label: string;
|
|
58
58
|
icon: ReactNode;
|
|
59
59
|
};
|
|
60
60
|
|
|
61
61
|
export interface Hero2SectionProps {
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
subtitle?: string;
|
|
62
|
+
bgLeft: ReactNode | null;
|
|
63
|
+
bgRight: ReactNode | null;
|
|
65
64
|
title: string;
|
|
66
65
|
description: string;
|
|
67
66
|
highlights: Hero2Highlight[];
|
|
68
|
-
|
|
69
|
-
|
|
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;
|
|
67
|
+
variant: 'esign' | 'ratafia';
|
|
68
|
+
uploadZone: UploadZoneProps;
|
|
80
69
|
}
|
|
81
70
|
|
|
82
71
|
export interface HowItWorksSectionProps {
|
|
@@ -132,4 +121,14 @@ export interface TrustpilotSectionProps {
|
|
|
132
121
|
header: SectionHeadingProps;
|
|
133
122
|
children: ReactNode;
|
|
134
123
|
}
|
|
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
|
+
}
|
|
135
134
|
|
|
@@ -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 = {
|
|
5
5
|
id: string;
|
|
6
6
|
label: string;
|
|
7
7
|
icon: ReactNode;
|
|
@@ -10,23 +10,22 @@ export declare type Hero2Highlight = string | {
|
|
|
10
10
|
export declare const Hero2Section: FC<Hero2SectionProps>;
|
|
11
11
|
|
|
12
12
|
export declare interface Hero2SectionProps {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
subtitle?: string;
|
|
13
|
+
bgLeft: ReactNode | null;
|
|
14
|
+
bgRight: ReactNode | null;
|
|
16
15
|
title: string;
|
|
17
16
|
description: string;
|
|
18
17
|
highlights: Hero2Highlight[];
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
uploadPromptText
|
|
25
|
-
addDocumentLabel
|
|
26
|
-
fileSizeText
|
|
27
|
-
disclaimer
|
|
18
|
+
variant: 'esign' | 'ratafia';
|
|
19
|
+
uploadZone: UploadZoneProps;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
export interface UploadZoneProps {
|
|
23
|
+
uploadPromptText: string;
|
|
24
|
+
addDocumentLabel: string;
|
|
25
|
+
fileSizeText: string;
|
|
26
|
+
disclaimer: string;
|
|
27
|
+
containerClassName?: string;
|
|
28
28
|
onAddDocument?: () => void;
|
|
29
|
-
|
|
30
|
-
uploadSlot?: ReactNode;
|
|
29
|
+
onDropDocument?: () => void;
|
|
31
30
|
}
|
|
32
31
|
|
|
@@ -1,137 +1,75 @@
|
|
|
1
|
-
import { jsxs as l, jsx as
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
addDocumentIcon: m,
|
|
14
|
-
uploadPromptText: d,
|
|
15
|
-
addDocumentLabel: c,
|
|
16
|
-
fileSizeText: x,
|
|
17
|
-
disclaimer: o,
|
|
18
|
-
onAddDocument: y,
|
|
19
|
-
uploadSlot: h
|
|
1
|
+
import { jsxs as l, jsx as a, Fragment as d } from "react/jsx-runtime";
|
|
2
|
+
import { UploadZone as p } from "./UploadZone.js";
|
|
3
|
+
import t from "clsx";
|
|
4
|
+
import { Markdown as h } from "./Markdown.js";
|
|
5
|
+
const u = ({
|
|
6
|
+
title: n,
|
|
7
|
+
description: m,
|
|
8
|
+
highlights: o,
|
|
9
|
+
variant: x,
|
|
10
|
+
uploadZone: c,
|
|
11
|
+
bgLeft: r,
|
|
12
|
+
bgRight: s
|
|
20
13
|
}) => {
|
|
21
|
-
const
|
|
14
|
+
const e = x === "ratafia";
|
|
22
15
|
return /* @__PURE__ */ l(
|
|
23
16
|
"section",
|
|
24
17
|
{
|
|
25
|
-
className: t
|
|
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
|
+
),
|
|
26
23
|
children: [
|
|
27
|
-
|
|
28
|
-
/* @__PURE__ */
|
|
29
|
-
/* @__PURE__ */
|
|
30
|
-
] }) : /* @__PURE__ */ l(
|
|
31
|
-
|
|
32
|
-
|
|
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
|
-
)
|
|
24
|
+
e ? /* @__PURE__ */ l("div", { className: "pointer-events-none absolute inset-0", children: [
|
|
25
|
+
/* @__PURE__ */ a("div", { className: "from-primary-800/70 via-primary-900 to-primary-900 absolute inset-0 bg-linear-to-br" }),
|
|
26
|
+
/* @__PURE__ */ a("div", { className: "absolute inset-0 bg-white/10 mix-blend-lighten" })
|
|
27
|
+
] }) : /* @__PURE__ */ l(d, { children: [
|
|
28
|
+
!!r && /* @__PURE__ */ a("div", { className: "absolute -left-25 hidden lg:block xl:left-0", children: r }),
|
|
29
|
+
!!s && /* @__PURE__ */ a("div", { className: "absolute -right-15 bottom-0 xl:right-5", children: s })
|
|
53
30
|
] }),
|
|
54
|
-
/* @__PURE__ */ l(
|
|
55
|
-
"div",
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
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
|
-
)
|
|
31
|
+
/* @__PURE__ */ l("div", { className: "mx-auto flex max-w-300 shrink flex-col gap-10 px-6 pt-10 pb-20 md:flex-row md:items-center md:pb-26 lg:px-8 lg:pt-20 xl:gap-20 xl:px-0", children: [
|
|
32
|
+
/* @__PURE__ */ l("div", { className: "flex flex-col gap-4", children: [
|
|
33
|
+
/* @__PURE__ */ a(
|
|
34
|
+
"h1",
|
|
35
|
+
{
|
|
36
|
+
className: t(
|
|
37
|
+
"text-extra-large leading-tight font-bold",
|
|
38
|
+
e && "text-white",
|
|
39
|
+
!e && "text-primary-900"
|
|
40
|
+
),
|
|
41
|
+
children: n
|
|
42
|
+
}
|
|
43
|
+
),
|
|
44
|
+
/* @__PURE__ */ a(
|
|
45
|
+
h,
|
|
46
|
+
{
|
|
47
|
+
className: t("text-medium [&_p:last-child]:mb-0", e ? "text-white" : "text-neutral-800"),
|
|
48
|
+
content: m
|
|
49
|
+
}
|
|
50
|
+
),
|
|
51
|
+
/* @__PURE__ */ a("div", { className: "flex gap-4", children: o.map((i) => /* @__PURE__ */ l(
|
|
52
|
+
"span",
|
|
53
|
+
{
|
|
54
|
+
className: t(
|
|
55
|
+
"text-small flex flex-nowrap items-center gap-1 rounded p-1",
|
|
56
|
+
e && "bg-primary-50 text-primary-800 font-semibold",
|
|
57
|
+
!e && "bg-primary-800 text-primary-50"
|
|
58
|
+
),
|
|
59
|
+
children: [
|
|
60
|
+
i.icon,
|
|
61
|
+
i.label
|
|
62
|
+
]
|
|
63
|
+
},
|
|
64
|
+
i.id
|
|
65
|
+
)) })
|
|
66
|
+
] }),
|
|
67
|
+
/* @__PURE__ */ a(p, { ...c, containerClassName: "md:min-w-85 lg:min-w-115 xl:min-w-140" })
|
|
68
|
+
] })
|
|
131
69
|
]
|
|
132
70
|
}
|
|
133
71
|
);
|
|
134
72
|
};
|
|
135
73
|
export {
|
|
136
|
-
|
|
74
|
+
u as Hero2Section
|
|
137
75
|
};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as c } from "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
const
|
|
3
|
+
const e = (l) => /* @__PURE__ */ c("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none", viewBox: "0 0 16 16", ...l, children: /* @__PURE__ */ c(
|
|
4
4
|
"path",
|
|
5
5
|
{
|
|
6
|
-
fill: "var(--color-primary-700)",
|
|
6
|
+
fill: l.fill ?? "var(--color-primary-700)",
|
|
7
7
|
fillRule: "evenodd",
|
|
8
8
|
d: "M13.174 1.14c-.228-.631-1.12-.631-1.348 0l-.333.922a.72.72 0 0 1-.431.431l-.923.333c-.63.228-.63 1.12 0 1.348l.923.333c.2.072.358.23.43.43l.334.923c.227.632 1.12.632 1.348 0l.333-.922c.072-.2.23-.359.43-.43l.923-.334c.631-.228.631-1.12 0-1.348l-.923-.333a.72.72 0 0 1-.43-.43zm-5.14 3.101c-.455-1.262-2.24-1.262-2.696 0l-.76 2.104c-.144.401-.46.717-.86.862l-2.105.759c-1.262.455-1.262 2.24 0 2.696l2.104.76c.401.144.717.46.862.86l.759 2.105c.455 1.262 2.24 1.262 2.696 0l.76-2.104c.144-.401.46-.717.86-.862l2.105-.76c1.262-.455 1.262-2.24 0-2.695l-2.104-.76a1.43 1.43 0 0 1-.862-.861z",
|
|
9
9
|
clipRule: "evenodd"
|
|
10
10
|
}
|
|
11
11
|
) });
|
|
12
12
|
export {
|
|
13
|
-
|
|
13
|
+
e as StarsIcon
|
|
14
14
|
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { ReactNode } from 'react';
|
|
3
|
+
|
|
4
|
+
export declare type Hero2Highlight = {
|
|
5
|
+
id: string;
|
|
6
|
+
label: string;
|
|
7
|
+
icon: ReactNode;
|
|
8
|
+
};
|
|
9
|
+
|
|
10
|
+
export declare const UploadZone: FC<UploadZoneProps>;
|
|
11
|
+
|
|
12
|
+
export declare interface UploadZoneProps {
|
|
13
|
+
uploadPromptText: string;
|
|
14
|
+
addDocumentLabel: string;
|
|
15
|
+
fileSizeText: string;
|
|
16
|
+
disclaimer: string;
|
|
17
|
+
containerClassName?: string;
|
|
18
|
+
onAddDocument?: () => void;
|
|
19
|
+
onDropDocument?: () => void;
|
|
20
|
+
}
|
|
21
|
+
|