@npm_leadtech/legal-contracts-ui 0.90.1 → 0.90.2
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/ElectronicSignatureTemplate.js +18 -18
- package/dist/components/FastAndSimpleSection.js +4 -1
- package/dist/components/GuidelinesSection.js +19 -17
- package/dist/components/HowItWorksSection.js +1 -1
- package/dist/components/UploadZone.js +18 -18
- package/dist/components/index.d.ts +1144 -0
- package/dist/globals.css +1 -1
- package/package.json +1 -1
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import { jsxs as l, jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import { Hero2Section as
|
|
3
|
-
import { HowItWorksSection as
|
|
4
|
-
import { FastAndSimpleSection as
|
|
5
|
-
import { FeaturesSection as
|
|
6
|
-
import { BannerTagSection as
|
|
2
|
+
import { Hero2Section as p } from "./Hero2Section.js";
|
|
3
|
+
import { HowItWorksSection as s } from "./HowItWorksSection.js";
|
|
4
|
+
import { FastAndSimpleSection as c } from "./FastAndSimpleSection.js";
|
|
5
|
+
import { FeaturesSection as x } from "./FeaturesSection.js";
|
|
6
|
+
import { BannerTagSection as f } from "./BannerTagSection.js";
|
|
7
7
|
import { FaqSection as S } from "./FaqSection.js";
|
|
8
|
-
const
|
|
9
|
-
hero:
|
|
10
|
-
howItWorks:
|
|
8
|
+
const F = ({
|
|
9
|
+
hero: m,
|
|
10
|
+
howItWorks: r,
|
|
11
11
|
fastAndSimple: t,
|
|
12
|
-
benefits:
|
|
13
|
-
trustPilot:
|
|
12
|
+
benefits: e,
|
|
13
|
+
trustPilot: i,
|
|
14
14
|
signAndSend: a,
|
|
15
15
|
faq: n
|
|
16
|
-
}) => /* @__PURE__ */ l("main", { className: "w-full flex-1
|
|
17
|
-
/* @__PURE__ */ o(
|
|
18
|
-
/* @__PURE__ */ o(
|
|
19
|
-
/* @__PURE__ */ o(
|
|
20
|
-
/* @__PURE__ */ o(
|
|
21
|
-
/* @__PURE__ */ o("div", { className: "w-full max-w-254 md:h-34", children:
|
|
22
|
-
/* @__PURE__ */ o(
|
|
16
|
+
}) => /* @__PURE__ */ l("main", { className: "w-full flex-1", children: [
|
|
17
|
+
/* @__PURE__ */ o(p, { ...m, variant: "esign" }),
|
|
18
|
+
/* @__PURE__ */ o(s, { ...r }),
|
|
19
|
+
/* @__PURE__ */ o(c, { ...t, variant: "esign" }),
|
|
20
|
+
/* @__PURE__ */ o(x, { ...e }),
|
|
21
|
+
/* @__PURE__ */ o("div", { className: "mx-auto w-full max-w-254 px-6 py-8 md:h-34 lg:px-8 lg:py-12 xl:px-0", children: i }),
|
|
22
|
+
/* @__PURE__ */ o(f, { ...a }),
|
|
23
23
|
/* @__PURE__ */ o(S, { ...n, className: "mx-auto max-w-4xl px-4 py-16" })
|
|
24
24
|
] });
|
|
25
25
|
export {
|
|
26
|
-
|
|
26
|
+
F as ElectronicSignatureTemplate
|
|
27
27
|
};
|
|
@@ -24,7 +24,10 @@ const g = ({
|
|
|
24
24
|
/* @__PURE__ */ e(
|
|
25
25
|
n,
|
|
26
26
|
{
|
|
27
|
-
className: t(
|
|
27
|
+
className: t(
|
|
28
|
+
"text-medium [&_a]:text-primary-700 [&_p:last-child]:mb-0",
|
|
29
|
+
l ? "text-white" : "text-neutral-800"
|
|
30
|
+
),
|
|
28
31
|
content: s
|
|
29
32
|
}
|
|
30
33
|
)
|
|
@@ -1,22 +1,24 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { SectionHeading as
|
|
3
|
-
import { Button as
|
|
4
|
-
const
|
|
5
|
-
/* @__PURE__ */
|
|
6
|
-
/* @__PURE__ */
|
|
7
|
-
/* @__PURE__ */
|
|
8
|
-
/* @__PURE__ */ l("
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
/* @__PURE__ */
|
|
1
|
+
import { jsx as e, jsxs as l } from "react/jsx-runtime";
|
|
2
|
+
import { SectionHeading as n } from "./SectionHeading.js";
|
|
3
|
+
import { Button as c } from "./Button.js";
|
|
4
|
+
const o = ({ header: t, guidelineCards: s, footerCard: a }) => /* @__PURE__ */ e("section", { className: "bg-neutral-25 px-4 py-16", children: /* @__PURE__ */ l("div", { className: "mx-auto max-w-6xl space-y-12", children: [
|
|
5
|
+
/* @__PURE__ */ e(n, { align: "start", ...t }),
|
|
6
|
+
/* @__PURE__ */ e("div", { className: "grid gap-6 lg:grid-cols-2 xl:grid-cols-3", children: s.map((i) => /* @__PURE__ */ l("article", { className: "flex h-full flex-col gap-6 rounded-2xl bg-white p-6 shadow-sm", children: [
|
|
7
|
+
/* @__PURE__ */ e("div", { className: "bg-neutral-25 h-40 w-full rounded-lg", children: i.image }),
|
|
8
|
+
/* @__PURE__ */ l("div", { className: "space-y-4", children: [
|
|
9
|
+
/* @__PURE__ */ e("p", { className: "text-big font-bold text-neutral-900", children: i.title }),
|
|
10
|
+
i.content
|
|
11
|
+
] })
|
|
12
|
+
] }, i.title)) }),
|
|
13
|
+
/* @__PURE__ */ l("div", { className: "flex flex-col gap-10 rounded-3xl bg-white p-8 shadow-sm lg:flex-row lg:items-center", children: [
|
|
14
|
+
/* @__PURE__ */ l("div", { className: "flex-1 space-y-4 text-neutral-800", children: [
|
|
15
|
+
/* @__PURE__ */ e("p", { className: "text-big font-bold text-neutral-900", children: a.title }),
|
|
16
|
+
a.content,
|
|
17
|
+
/* @__PURE__ */ e(c, { size: "large", variant: "primary-darkgreen", ...a.cta })
|
|
16
18
|
] }),
|
|
17
|
-
/* @__PURE__ */
|
|
19
|
+
/* @__PURE__ */ e("div", { className: "flex-1", children: /* @__PURE__ */ e("div", { className: "bg-secondary-50 rounded-3xl p-6", children: a.image }) })
|
|
18
20
|
] })
|
|
19
21
|
] }) });
|
|
20
22
|
export {
|
|
21
|
-
|
|
23
|
+
o as GuidelinesSection
|
|
22
24
|
};
|
|
@@ -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 [&_p:last-child]:mb-0", content: i }),
|
|
7
|
+
/* @__PURE__ */ e(c, { className: "text-medium [&_a]:text-primary-700 [&_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,41 +1,41 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { jsxs as
|
|
3
|
-
import { AddIcon as
|
|
4
|
-
import
|
|
2
|
+
import { jsxs as t, jsx as e } from "react/jsx-runtime";
|
|
3
|
+
import { AddIcon as x } from "./AddIcon.js";
|
|
4
|
+
import c from "clsx";
|
|
5
5
|
import { Button as p } from "./Button.js";
|
|
6
6
|
import { Markdown as d } from "./Markdown.js";
|
|
7
7
|
const v = ({
|
|
8
|
-
uploadPromptText:
|
|
9
|
-
addDocumentLabel:
|
|
8
|
+
uploadPromptText: r,
|
|
9
|
+
addDocumentLabel: a,
|
|
10
10
|
fileSizeText: n,
|
|
11
11
|
disclaimer: o,
|
|
12
|
-
onAddDocument:
|
|
12
|
+
onAddDocument: l,
|
|
13
13
|
onDropDocument: i,
|
|
14
14
|
containerClassName: m = ""
|
|
15
|
-
}) => /* @__PURE__ */
|
|
15
|
+
}) => /* @__PURE__ */ t(
|
|
16
16
|
"div",
|
|
17
17
|
{
|
|
18
18
|
onDragOver: (s) => {
|
|
19
19
|
s.preventDefault();
|
|
20
20
|
},
|
|
21
21
|
onDrop: i,
|
|
22
|
-
className:
|
|
23
|
-
"rounded-3xl bg-neutral-200/50 p-4 backdrop-blur-xs md:max-w-80 lg:max-w-120 xl:max-w-140",
|
|
22
|
+
className: c(
|
|
23
|
+
"group rounded-3xl bg-neutral-200/50 p-4 backdrop-blur-xs md:max-w-80 lg:max-w-120 xl:max-w-140",
|
|
24
24
|
m
|
|
25
25
|
),
|
|
26
26
|
children: [
|
|
27
|
-
/* @__PURE__ */ e("input", { type: "file", id: "file-upload", className: "sr-only", onChange:
|
|
28
|
-
/* @__PURE__ */
|
|
29
|
-
/* @__PURE__ */
|
|
30
|
-
/* @__PURE__ */ e("p", { className: "text-medium text-neutral-400", children:
|
|
31
|
-
/* @__PURE__ */
|
|
32
|
-
/* @__PURE__ */ e(
|
|
33
|
-
/* @__PURE__ */ e("span", { className: "text-medium font-bold", children:
|
|
27
|
+
/* @__PURE__ */ e("input", { type: "file", id: "file-upload", className: "sr-only", onChange: l, multiple: !0 }),
|
|
28
|
+
/* @__PURE__ */ t("div", { className: "flex flex-col gap-14 rounded-2xl bg-white px-6 pt-14 pb-2 text-center", children: [
|
|
29
|
+
/* @__PURE__ */ t("div", { className: "flex flex-col items-center gap-10", children: [
|
|
30
|
+
/* @__PURE__ */ e("p", { className: "text-medium text-neutral-400 transition-all duration-500 group-hover:text-neutral-900", children: r }),
|
|
31
|
+
/* @__PURE__ */ t(p, { variant: "primary-green", className: "w-fit", onClick: l, children: [
|
|
32
|
+
/* @__PURE__ */ e(x, {}),
|
|
33
|
+
/* @__PURE__ */ e("span", { className: "text-medium font-bold", children: a })
|
|
34
34
|
] })
|
|
35
35
|
] }),
|
|
36
|
-
/* @__PURE__ */
|
|
36
|
+
/* @__PURE__ */ t("div", { className: "flex flex-col gap-2", children: [
|
|
37
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 })
|
|
38
|
+
/* @__PURE__ */ e(d, { className: "text-tiny text-neutral-400 [&_a]:text-neutral-400", content: o })
|
|
39
39
|
] })
|
|
40
40
|
] })
|
|
41
41
|
]
|