@npm_leadtech/legal-contracts-ui 0.79.0 → 0.79.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/Hero2Section.js +20 -20
- package/dist/components/TrustSection.js +8 -8
- package/dist/globals.css +1 -1
- package/package.json +1 -1
- package/dist/components/index.d.ts +0 -1217
|
@@ -2,23 +2,23 @@ import { jsxs as l, jsx as e, Fragment as w } from "react/jsx-runtime";
|
|
|
2
2
|
import { ChevronRightIcon as v } from "./ChevronRightIcon.js";
|
|
3
3
|
import { Button as N } from "./Button.js";
|
|
4
4
|
const B = ({
|
|
5
|
-
backgroundRight:
|
|
6
|
-
backgroundLeft:
|
|
5
|
+
backgroundRight: s = "",
|
|
6
|
+
backgroundLeft: n = "",
|
|
7
7
|
subtitle: i,
|
|
8
8
|
title: p,
|
|
9
9
|
description: u,
|
|
10
10
|
highlights: g,
|
|
11
11
|
theme: f = "light",
|
|
12
12
|
footnote: r,
|
|
13
|
-
addDocumentIcon:
|
|
14
|
-
uploadPromptText:
|
|
15
|
-
addDocumentLabel:
|
|
16
|
-
fileSizeText:
|
|
17
|
-
disclaimer:
|
|
13
|
+
addDocumentIcon: m,
|
|
14
|
+
uploadPromptText: d,
|
|
15
|
+
addDocumentLabel: c,
|
|
16
|
+
fileSizeText: x,
|
|
17
|
+
disclaimer: o,
|
|
18
18
|
onAddDocument: y,
|
|
19
|
-
uploadSlot:
|
|
19
|
+
uploadSlot: h
|
|
20
20
|
}) => {
|
|
21
|
-
const t = f === "dark", b =
|
|
21
|
+
const t = f === "dark", b = h == null && m != null && d != null && c != null && x != null && o != null;
|
|
22
22
|
return /* @__PURE__ */ l(
|
|
23
23
|
"section",
|
|
24
24
|
{
|
|
@@ -28,10 +28,10 @@ const B = ({
|
|
|
28
28
|
/* @__PURE__ */ e("div", { className: "from-primary-800/70 via-primary-900 to-primary-900 absolute inset-0 bg-gradient-to-br" }),
|
|
29
29
|
/* @__PURE__ */ e("div", { className: "absolute inset-0 bg-white/10 mix-blend-lighten" })
|
|
30
30
|
] }) : /* @__PURE__ */ l(w, { children: [
|
|
31
|
-
|
|
31
|
+
s !== "" && /* @__PURE__ */ e(
|
|
32
32
|
"img",
|
|
33
33
|
{
|
|
34
|
-
src:
|
|
34
|
+
src: s,
|
|
35
35
|
alt: "",
|
|
36
36
|
width: 400,
|
|
37
37
|
height: 400,
|
|
@@ -39,10 +39,10 @@ const B = ({
|
|
|
39
39
|
"aria-hidden": !0
|
|
40
40
|
}
|
|
41
41
|
),
|
|
42
|
-
|
|
42
|
+
n !== "" && /* @__PURE__ */ e(
|
|
43
43
|
"img",
|
|
44
44
|
{
|
|
45
|
-
src:
|
|
45
|
+
src: n,
|
|
46
46
|
alt: "",
|
|
47
47
|
width: 420,
|
|
48
48
|
height: 420,
|
|
@@ -99,13 +99,13 @@ const B = ({
|
|
|
99
99
|
) }),
|
|
100
100
|
r != null && r !== "" && /* @__PURE__ */ e("p", { className: t ? "text-small text-white/80" : "text-small text-neutral-700", children: r })
|
|
101
101
|
] }),
|
|
102
|
-
/* @__PURE__ */ e("div", { className: t ? "" : "flex flex-1 justify-center", children:
|
|
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
103
|
"div",
|
|
104
104
|
{
|
|
105
|
-
className: "relative w-full max-w-xl rounded-
|
|
105
|
+
className: "relative w-full max-w-xl rounded-3xl bg-white/70 p-4 backdrop-blur",
|
|
106
106
|
style: { boxShadow: "var(--shadow-medium)" },
|
|
107
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:
|
|
108
|
+
/* @__PURE__ */ e("p", { className: "text-medium text-neutral-400", children: d }),
|
|
109
109
|
/* @__PURE__ */ l(
|
|
110
110
|
N,
|
|
111
111
|
{
|
|
@@ -115,13 +115,13 @@ const B = ({
|
|
|
115
115
|
onClick: y,
|
|
116
116
|
type: "button",
|
|
117
117
|
children: [
|
|
118
|
-
/* @__PURE__ */ e("img", { src:
|
|
119
|
-
/* @__PURE__ */ e("span", { className: "text-medium font-bold", children:
|
|
118
|
+
/* @__PURE__ */ e("img", { src: m, alt: "", width: 24, height: 24 }),
|
|
119
|
+
/* @__PURE__ */ e("span", { className: "text-medium font-bold", children: c })
|
|
120
120
|
]
|
|
121
121
|
}
|
|
122
122
|
),
|
|
123
|
-
/* @__PURE__ */ e("p", { className: "text-extra-small mt-6 text-neutral-400", children:
|
|
124
|
-
/* @__PURE__ */ e("p", { className: "text-tiny mt-2 text-neutral-400", children:
|
|
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
125
|
] })
|
|
126
126
|
}
|
|
127
127
|
) }) : null) })
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { jsxs as l, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
import { SectionHeading as
|
|
4
|
-
import { DoneCircleIcon as
|
|
5
|
-
import { LinkWrapper as
|
|
6
|
-
const h = ({ header: r, trustReasons: c, cta:
|
|
3
|
+
import { SectionHeading as a } from "./SectionHeading.js";
|
|
4
|
+
import { DoneCircleIcon as t } from "./DoneCircleIcon.js";
|
|
5
|
+
import { LinkWrapper as d } from "./LinkWrapper.js";
|
|
6
|
+
const h = ({ header: r, trustReasons: c, cta: m, trustPilot: s }) => /* @__PURE__ */ l("section", { className: "mx-auto flex flex-col items-center gap-14 px-6 py-10 lg:px-8 lg:py-12 xl:max-w-300 xl:px-0", children: [
|
|
7
7
|
/* @__PURE__ */ l("div", { className: "flex flex-col items-center gap-10", children: [
|
|
8
|
-
/* @__PURE__ */ e(
|
|
8
|
+
/* @__PURE__ */ e(a, { ...r }),
|
|
9
9
|
/* @__PURE__ */ e("div", { className: "flex flex-col gap-6 md:grid md:grid-cols-3", children: c.map((i) => /* @__PURE__ */ l("div", { className: "flex items-start gap-2", children: [
|
|
10
|
-
/* @__PURE__ */ e("div", { className: "shrink-0", children: /* @__PURE__ */ e(
|
|
10
|
+
/* @__PURE__ */ e("div", { className: "shrink-0", children: /* @__PURE__ */ e(t, { width: 32, height: 32 }) }),
|
|
11
11
|
/* @__PURE__ */ e("p", { className: "text-neutral-600", children: i })
|
|
12
12
|
] }, i)) }),
|
|
13
|
-
/* @__PURE__ */ e(
|
|
13
|
+
/* @__PURE__ */ e(d, { className: "w-full md:w-fit", children: m })
|
|
14
14
|
] }),
|
|
15
|
-
|
|
15
|
+
/* @__PURE__ */ e("div", { className: "w-full md:h-34", children: s })
|
|
16
16
|
] });
|
|
17
17
|
export {
|
|
18
18
|
h as TrustSection
|