@npm_leadtech/legal-contracts-ui 0.91.2 → 0.91.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/AiLegalDocumentReviewerTemplate.d.ts +1 -1
- package/dist/components/BannerTagSection.js +12 -12
- package/dist/components/ElectronicSignatureTemplate.d.ts +1 -1
- package/dist/components/ElectronicSignatureTemplate.js +18 -18
- package/dist/components/ExpertsSection.js +18 -11
- package/dist/components/FastAndSimpleSection.js +1 -4
- package/dist/components/Hero2Section.d.ts +1 -1
- package/dist/components/HowItWorksSection.js +1 -1
- package/dist/components/UploadZone.d.ts +1 -1
- package/dist/components/UploadZone.js +23 -28
- package/dist/globals.css +1 -1
- package/package.json +1 -1
- package/dist/components/index.d.ts +0 -1144
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import { jsx as e, jsxs as t } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
import { Markdown as
|
|
2
|
+
import s from "clsx";
|
|
3
|
+
import { Markdown as n } from "./Markdown.js";
|
|
4
4
|
import { LinkWrapper as m } from "./LinkWrapper.js";
|
|
5
|
-
const
|
|
5
|
+
const d = ({ title: r, icon: a, variant: o, className: i = "" }) => /* @__PURE__ */ t("div", { className: s("text-small flex items-center gap-1 rounded shadow-lg", {
|
|
6
6
|
default: "text-neutral-600 bg-neutral-25 p-2",
|
|
7
7
|
highlight: "text-primary-500 font-bold bg-primary-100 border border-primary-300 p-1",
|
|
8
8
|
dark: "text-white font-bold bg-primary-800 p-2"
|
|
9
|
-
}[
|
|
9
|
+
}[o], i), children: [
|
|
10
10
|
a,
|
|
11
11
|
r
|
|
12
|
-
] }),
|
|
12
|
+
] }), g = ({ title: r, description: a, cta: o, rightImage: i, tags: l }) => /* @__PURE__ */ e("section", { className: "bg-white px-6 py-8 lg:px-8 lg:py-12 xl:px-0", children: /* @__PURE__ */ t("div", { className: "bg-neutral-25 mx-auto flex w-full max-w-298 rounded-2xl p-8 lg:gap-20 lg:px-16 lg:pt-12 lg:pb-0", children: [
|
|
13
13
|
/* @__PURE__ */ t("div", { className: "flex flex-col gap-8 lg:pb-12", children: [
|
|
14
14
|
/* @__PURE__ */ t("div", { className: "flex flex-col gap-4", children: [
|
|
15
15
|
/* @__PURE__ */ e("h3", { className: "text-super-large text-primary-900 font-bold", children: r }),
|
|
16
|
-
/* @__PURE__ */ e(
|
|
16
|
+
/* @__PURE__ */ e(n, { className: "text-medium text-neutral-800 [&_p:last-child]:mb-0", content: a })
|
|
17
17
|
] }),
|
|
18
|
-
/* @__PURE__ */ e(m, { className: "w-fit", variant: "primary-green", children:
|
|
18
|
+
/* @__PURE__ */ e(m, { className: "w-fit", variant: "primary-green", children: o })
|
|
19
19
|
] }),
|
|
20
20
|
/* @__PURE__ */ t("div", { className: "relative hidden shrink-0 self-end lg:block", children: [
|
|
21
|
-
/* @__PURE__ */ e("div", { className: "overflow-hidden", children:
|
|
22
|
-
l.top && /* @__PURE__ */ e(
|
|
23
|
-
l.middle && /* @__PURE__ */ e(
|
|
24
|
-
l.bottom && /* @__PURE__ */ e(
|
|
21
|
+
/* @__PURE__ */ e("div", { className: "overflow-hidden rounded-t-lg shadow", children: i }),
|
|
22
|
+
l.top && /* @__PURE__ */ e(d, { ...l.top, className: "absolute -top-3 left-20" }),
|
|
23
|
+
l.middle && /* @__PURE__ */ e(d, { ...l.middle, className: "absolute bottom-36 -left-4" }),
|
|
24
|
+
l.bottom && /* @__PURE__ */ e(d, { ...l.bottom, className: "absolute top-19 -right-4" })
|
|
25
25
|
] })
|
|
26
26
|
] }) });
|
|
27
27
|
export {
|
|
28
|
-
|
|
28
|
+
g as BannerTagSection
|
|
29
29
|
};
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import { jsxs as l, jsx as
|
|
1
|
+
import { jsxs as l, jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import { Hero2Section as s } from "./Hero2Section.js";
|
|
3
3
|
import { HowItWorksSection as c } from "./HowItWorksSection.js";
|
|
4
4
|
import { FastAndSimpleSection as p } from "./FastAndSimpleSection.js";
|
|
5
|
-
import { FeaturesSection as
|
|
6
|
-
import { BannerTagSection as
|
|
7
|
-
import { FaqSection as
|
|
8
|
-
const
|
|
9
|
-
hero:
|
|
10
|
-
howItWorks:
|
|
11
|
-
fastAndSimple:
|
|
12
|
-
benefits:
|
|
5
|
+
import { FeaturesSection as f } from "./FeaturesSection.js";
|
|
6
|
+
import { BannerTagSection as x } from "./BannerTagSection.js";
|
|
7
|
+
import { FaqSection as S } from "./FaqSection.js";
|
|
8
|
+
const N = ({
|
|
9
|
+
hero: r,
|
|
10
|
+
howItWorks: e,
|
|
11
|
+
fastAndSimple: t,
|
|
12
|
+
benefits: i,
|
|
13
13
|
trustPilot: m,
|
|
14
14
|
signAndSend: a,
|
|
15
15
|
faq: n
|
|
16
|
-
}) => /* @__PURE__ */ l("main", { className: "
|
|
17
|
-
/* @__PURE__ */
|
|
18
|
-
/* @__PURE__ */
|
|
19
|
-
/* @__PURE__ */
|
|
20
|
-
/* @__PURE__ */
|
|
21
|
-
/* @__PURE__ */
|
|
22
|
-
/* @__PURE__ */
|
|
23
|
-
/* @__PURE__ */
|
|
16
|
+
}) => /* @__PURE__ */ l("main", { className: "w-full flex-1 bg-neutral-50", children: [
|
|
17
|
+
/* @__PURE__ */ o(s, { ...r, variant: "esign" }),
|
|
18
|
+
/* @__PURE__ */ o(c, { ...e }),
|
|
19
|
+
/* @__PURE__ */ o(p, { ...t, variant: "esign" }),
|
|
20
|
+
/* @__PURE__ */ o(f, { ...i }),
|
|
21
|
+
/* @__PURE__ */ o("div", { className: "w-full max-w-254 md:h-34", children: m }),
|
|
22
|
+
/* @__PURE__ */ o(x, { ...a }),
|
|
23
|
+
/* @__PURE__ */ o(S, { ...n, className: "mx-auto max-w-4xl px-4 py-16" })
|
|
24
24
|
] });
|
|
25
25
|
export {
|
|
26
|
-
|
|
26
|
+
N as ElectronicSignatureTemplate
|
|
27
27
|
};
|
|
@@ -1,15 +1,22 @@
|
|
|
1
|
-
import { jsx as e, jsxs as
|
|
1
|
+
import { jsx as e, jsxs as l } from "react/jsx-runtime";
|
|
2
2
|
import { SectionHeading as n } from "./SectionHeading.js";
|
|
3
|
-
const
|
|
4
|
-
/* @__PURE__ */ e(n, { ...
|
|
5
|
-
/* @__PURE__ */ e("div", { className: "
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
3
|
+
const r = ({ header: i, experts: a }) => a.length === 0 ? null : /* @__PURE__ */ e("section", { className: "bg-primary-50 px-6 pt-12 pb-8 md:pb-12", children: /* @__PURE__ */ l("div", { className: "mx-auto max-w-6xl xl:max-w-7xl", children: [
|
|
4
|
+
/* @__PURE__ */ e("div", { className: "mx-auto mb-20 w-11/12 text-center md:w-full", children: /* @__PURE__ */ e(n, { align: "center", ...i }) }),
|
|
5
|
+
/* @__PURE__ */ e("div", { className: "mt-8 flex flex-col items-center justify-center gap-8 md:flex-row md:flex-wrap", children: a.map((t) => /* @__PURE__ */ l(
|
|
6
|
+
"article",
|
|
7
|
+
{
|
|
8
|
+
className: "flex w-80 flex-row items-center justify-start gap-6 rounded-2xl bg-white p-4 shadow-sm lg:w-96",
|
|
9
|
+
children: [
|
|
10
|
+
/* @__PURE__ */ e("div", { className: "min-w-28 shrink-0 [&_img]:h-auto [&_img]:w-full [&_img]:rounded-lg", children: t.image }),
|
|
11
|
+
/* @__PURE__ */ l("div", { className: "flex flex-col items-start justify-start", children: [
|
|
12
|
+
/* @__PURE__ */ e("p", { className: "mb-2 w-3/4 min-w-fit font-sans text-lg leading-6 font-bold tracking-tight text-neutral-800", children: t.name }),
|
|
13
|
+
/* @__PURE__ */ e("p", { className: "font-sans text-base leading-snug font-normal tracking-tight text-neutral-800", children: t.title })
|
|
14
|
+
] })
|
|
15
|
+
]
|
|
16
|
+
},
|
|
17
|
+
t.name
|
|
18
|
+
)) })
|
|
12
19
|
] }) });
|
|
13
20
|
export {
|
|
14
|
-
|
|
21
|
+
r as ExpertsSection
|
|
15
22
|
};
|
|
@@ -24,10 +24,7 @@ const g = ({
|
|
|
24
24
|
/* @__PURE__ */ e(
|
|
25
25
|
n,
|
|
26
26
|
{
|
|
27
|
-
className: t(
|
|
28
|
-
"text-medium [&_a]:text-primary-700 [&_p:last-child]:mb-0",
|
|
29
|
-
l ? "text-white" : "text-neutral-800"
|
|
30
|
-
),
|
|
27
|
+
className: t("text-medium [&_p:last-child]:mb-0", l ? "text-white" : "text-neutral-800"),
|
|
31
28
|
content: s
|
|
32
29
|
}
|
|
33
30
|
)
|
|
@@ -4,7 +4,7 @@ const m = ({ media: a, title: d, description: i, steps: s }) => /* @__PURE__ */
|
|
|
4
4
|
/* @__PURE__ */ e("div", { className: "relative order-2 overflow-hidden rounded-md shadow md:order-1 lg:mx-auto xl:shrink-0", children: a }),
|
|
5
5
|
/* @__PURE__ */ l("div", { className: "order-1 flex flex-col gap-6 text-neutral-800 md:order-2", children: [
|
|
6
6
|
/* @__PURE__ */ e("h2", { className: "text-super-large font-bold", children: d }),
|
|
7
|
-
/* @__PURE__ */ e(c, { className: "text-medium [&
|
|
7
|
+
/* @__PURE__ */ e(c, { className: "text-medium [&_p:last-child]:mb-0", content: i }),
|
|
8
8
|
/* @__PURE__ */ e("div", { className: "grid grid-cols-1 gap-4 lg:grid-cols-3 xl:grid-cols-1", children: s.map((r) => /* @__PURE__ */ e("article", { className: "bg-neutral-25 rounded p-6", children: /* @__PURE__ */ l("div", { className: "flex flex-col items-start gap-2", children: [
|
|
9
9
|
/* @__PURE__ */ l("div", { className: "flex justify-center gap-2", children: [
|
|
10
10
|
r.icon,
|
|
@@ -1,51 +1,46 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { jsxs as l, jsx as
|
|
3
|
-
import { AddIcon as
|
|
2
|
+
import { jsxs as l, jsx as e } from "react/jsx-runtime";
|
|
3
|
+
import { AddIcon as c } from "./AddIcon.js";
|
|
4
4
|
import x from "clsx";
|
|
5
|
-
import { Button as
|
|
5
|
+
import { Button as p } from "./Button.js";
|
|
6
6
|
import { Markdown as d } from "./Markdown.js";
|
|
7
|
-
const
|
|
7
|
+
const v = ({
|
|
8
8
|
uploadPromptText: a,
|
|
9
|
-
addDocumentLabel:
|
|
10
|
-
fileSizeText:
|
|
11
|
-
disclaimer:
|
|
12
|
-
onAddDocument:
|
|
13
|
-
onDropDocument:
|
|
14
|
-
containerClassName:
|
|
9
|
+
addDocumentLabel: r,
|
|
10
|
+
fileSizeText: n,
|
|
11
|
+
disclaimer: o,
|
|
12
|
+
onAddDocument: t,
|
|
13
|
+
onDropDocument: i,
|
|
14
|
+
containerClassName: m = ""
|
|
15
15
|
}) => /* @__PURE__ */ l(
|
|
16
16
|
"div",
|
|
17
17
|
{
|
|
18
|
-
onDragOver: (
|
|
19
|
-
|
|
20
|
-
},
|
|
21
|
-
onDragEnter: (e) => {
|
|
22
|
-
e.preventDefault();
|
|
23
|
-
},
|
|
24
|
-
onDrop: (e) => {
|
|
25
|
-
e.preventDefault(), m?.(e);
|
|
18
|
+
onDragOver: (s) => {
|
|
19
|
+
s.preventDefault();
|
|
26
20
|
},
|
|
21
|
+
onDrop: i,
|
|
27
22
|
className: x(
|
|
28
|
-
"
|
|
29
|
-
|
|
23
|
+
"rounded-3xl bg-neutral-200/50 p-4 backdrop-blur-xs md:max-w-80 lg:max-w-120 xl:max-w-140",
|
|
24
|
+
m
|
|
30
25
|
),
|
|
31
26
|
children: [
|
|
32
|
-
/* @__PURE__ */
|
|
27
|
+
/* @__PURE__ */ e("input", { type: "file", id: "file-upload", className: "sr-only", onChange: t, multiple: !0 }),
|
|
33
28
|
/* @__PURE__ */ l("div", { className: "flex flex-col gap-14 rounded-2xl bg-white px-6 pt-14 pb-2 text-center", children: [
|
|
34
29
|
/* @__PURE__ */ l("div", { className: "flex flex-col items-center gap-10", children: [
|
|
35
|
-
/* @__PURE__ */
|
|
36
|
-
/* @__PURE__ */ l(
|
|
37
|
-
/* @__PURE__ */
|
|
38
|
-
/* @__PURE__ */
|
|
30
|
+
/* @__PURE__ */ e("p", { className: "text-medium text-neutral-400", children: a }),
|
|
31
|
+
/* @__PURE__ */ l(p, { variant: "primary-green", className: "w-fit", onClick: t, children: [
|
|
32
|
+
/* @__PURE__ */ e(c, {}),
|
|
33
|
+
/* @__PURE__ */ e("span", { className: "text-medium font-bold", children: r })
|
|
39
34
|
] })
|
|
40
35
|
] }),
|
|
41
36
|
/* @__PURE__ */ l("div", { className: "flex flex-col gap-2", children: [
|
|
42
|
-
/* @__PURE__ */
|
|
43
|
-
/* @__PURE__ */
|
|
37
|
+
/* @__PURE__ */ e("p", { className: "text-extra-small text-nowrap text-neutral-400", children: n }),
|
|
38
|
+
/* @__PURE__ */ e(d, { className: "text-tiny text-neutral-400", content: o })
|
|
44
39
|
] })
|
|
45
40
|
] })
|
|
46
41
|
]
|
|
47
42
|
}
|
|
48
43
|
);
|
|
49
44
|
export {
|
|
50
|
-
|
|
45
|
+
v as UploadZone
|
|
51
46
|
};
|