@npm_leadtech/legal-contracts-ui 0.154.1 → 0.154.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.
|
@@ -9,7 +9,7 @@ const d = {
|
|
|
9
9
|
time: /* @__PURE__ */ e(s, { "data-testid": "icon-3", className: "size-6 md:size-10", "aria-hidden": !0 })
|
|
10
10
|
}, x = ({ benefits: t }) => /* @__PURE__ */ e("div", { className: "flex bg-neutral-200 px-6 py-4 md:justify-center md:py-6 lg:py-4", children: /* @__PURE__ */ e("div", { className: "flex flex-col gap-2 text-neutral-800 md:flex-row md:gap-12 lg:gap-20", children: t.map((i) => /* @__PURE__ */ a("div", { className: "flex items-center gap-4 md:gap-2", children: [
|
|
11
11
|
d[i.src],
|
|
12
|
-
/* @__PURE__ */ e("p", { className: "text-medium
|
|
12
|
+
/* @__PURE__ */ e("p", { className: "text-medium", children: i.text })
|
|
13
13
|
] }, i.text)) }) });
|
|
14
14
|
export {
|
|
15
15
|
x as BenefitsBar
|
package/dist/components/Item.js
CHANGED
|
@@ -1,38 +1,38 @@
|
|
|
1
|
-
import { jsxs as
|
|
1
|
+
import { jsxs as l, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
3
|
import o from "clsx";
|
|
4
|
-
import { ChevronRightIcon as
|
|
4
|
+
import { ChevronRightIcon as m } from "./ChevronRightIcon.js";
|
|
5
5
|
const b = ({
|
|
6
|
-
image:
|
|
6
|
+
image: i,
|
|
7
7
|
title: t,
|
|
8
8
|
description: a,
|
|
9
|
-
documentUrl:
|
|
9
|
+
documentUrl: s,
|
|
10
10
|
variant: r = "default",
|
|
11
|
-
className:
|
|
11
|
+
className: c = ""
|
|
12
12
|
}) => {
|
|
13
|
-
const
|
|
13
|
+
const d = {
|
|
14
14
|
default: "py-4 px-2 items-start",
|
|
15
15
|
card: "border border-0.5 border-neutral-200 shadow-lg bg-white pl-6 pr-4 py-5"
|
|
16
|
-
},
|
|
16
|
+
}, n = {
|
|
17
17
|
default: "",
|
|
18
18
|
card: "font-bold"
|
|
19
19
|
};
|
|
20
|
-
return /* @__PURE__ */
|
|
20
|
+
return /* @__PURE__ */ l(
|
|
21
21
|
"div",
|
|
22
22
|
{
|
|
23
23
|
className: o(
|
|
24
24
|
'hover:bg-primary-50 relative flex cursor-pointer items-center gap-4 rounded-sm [&_a]:before:absolute [&_a]:before:inset-0 [&_a]:before:content-[""]',
|
|
25
|
-
|
|
26
|
-
|
|
25
|
+
d[r],
|
|
26
|
+
c
|
|
27
27
|
),
|
|
28
28
|
children: [
|
|
29
|
-
|
|
30
|
-
/* @__PURE__ */
|
|
31
|
-
t && /* @__PURE__ */ e("p", { className: o("text-medium text-neutral-800",
|
|
29
|
+
/* @__PURE__ */ e("div", { className: "shrink-0", children: i }),
|
|
30
|
+
/* @__PURE__ */ l("div", { className: "flex flex-1 flex-col gap-1", children: [
|
|
31
|
+
t && /* @__PURE__ */ e("p", { className: o("text-medium text-neutral-800", n[r]), children: t }),
|
|
32
32
|
a && /* @__PURE__ */ e("p", { className: "text-extra-small text-neutral-600", children: a })
|
|
33
33
|
] }),
|
|
34
|
-
!!
|
|
35
|
-
r === "card" && /* @__PURE__ */ e(
|
|
34
|
+
!!s && /* @__PURE__ */ e("div", { className: "h-0 w-0 opacity-0", children: s }),
|
|
35
|
+
r === "card" && /* @__PURE__ */ e(m, { width: 20, height: 20 })
|
|
36
36
|
]
|
|
37
37
|
}
|
|
38
38
|
);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsxs as l, jsx as r } from "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
import { SearchBar as
|
|
3
|
+
import { SearchBar as u } from "./SearchBar.js";
|
|
4
4
|
import { CloseIcon as f } from "./CloseIcon.js";
|
|
5
|
-
import { LinkWrapper as
|
|
6
|
-
import { PhoneTalkIcon as
|
|
7
|
-
const
|
|
5
|
+
import { LinkWrapper as h } from "./LinkWrapper.js";
|
|
6
|
+
import { PhoneTalkIcon as b } from "./PhoneTalkIcon.js";
|
|
7
|
+
const k = ({
|
|
8
8
|
isOpen: s,
|
|
9
9
|
onClose: m,
|
|
10
10
|
logo: d,
|
|
@@ -12,7 +12,7 @@ const H = ({
|
|
|
12
12
|
searchBarProps: o,
|
|
13
13
|
sections: p = [],
|
|
14
14
|
contactInfo: t,
|
|
15
|
-
closeText:
|
|
15
|
+
closeText: x
|
|
16
16
|
}) => /* @__PURE__ */ l(
|
|
17
17
|
"div",
|
|
18
18
|
{
|
|
@@ -27,7 +27,7 @@ const H = ({
|
|
|
27
27
|
onClick: m,
|
|
28
28
|
"aria-label": "Close menu",
|
|
29
29
|
children: [
|
|
30
|
-
|
|
30
|
+
x,
|
|
31
31
|
/* @__PURE__ */ r(f, { fill: "var(--color-primary-700)" })
|
|
32
32
|
]
|
|
33
33
|
}
|
|
@@ -36,11 +36,11 @@ const H = ({
|
|
|
36
36
|
/* @__PURE__ */ l("div", { className: "flex flex-1 flex-col pb-6", children: [
|
|
37
37
|
/* @__PURE__ */ l("div", { className: "flex flex-col gap-6 px-6", children: [
|
|
38
38
|
/* @__PURE__ */ r("div", { className: "flex items-center gap-4", children: c }),
|
|
39
|
-
/* @__PURE__ */ r(
|
|
39
|
+
/* @__PURE__ */ r(u, { ...o })
|
|
40
40
|
] }),
|
|
41
41
|
/* @__PURE__ */ r("nav", { id: "mobile-nav", className: "flex flex-col gap-0", children: p.map((e, n) => {
|
|
42
42
|
const i = e.icon != null;
|
|
43
|
-
return e.content != null ? /* @__PURE__ */ r("div", { className: "flex items-center px-6 pb-8", children: /* @__PURE__ */ r(
|
|
43
|
+
return e.content != null ? /* @__PURE__ */ r("div", { className: "flex items-center px-6 pb-8", children: /* @__PURE__ */ r(h, { variant: "secondary-green", children: e.content }) }, e.id ?? `custom-${n.toString()}`) : /* @__PURE__ */ l(
|
|
44
44
|
"div",
|
|
45
45
|
{
|
|
46
46
|
className: e.title !== "" && !i ? "border-t border-b border-neutral-200 pt-4" : "",
|
|
@@ -70,7 +70,7 @@ const H = ({
|
|
|
70
70
|
href: `tel:${t.phoneNumber.replaceAll(" ", "")}`,
|
|
71
71
|
className: "bg-primary-700 flex w-full items-center justify-center gap-2 rounded-md p-3 text-base font-semibold text-white",
|
|
72
72
|
children: [
|
|
73
|
-
/* @__PURE__ */ r(
|
|
73
|
+
/* @__PURE__ */ r(b, { fill: "#ffff" }),
|
|
74
74
|
t.phoneNumber
|
|
75
75
|
]
|
|
76
76
|
}
|
|
@@ -80,7 +80,7 @@ const H = ({
|
|
|
80
80
|
t.contactHoursLabel,
|
|
81
81
|
" "
|
|
82
82
|
] }),
|
|
83
|
-
|
|
83
|
+
t.contactHours
|
|
84
84
|
] })
|
|
85
85
|
] })
|
|
86
86
|
] })
|
|
@@ -88,5 +88,5 @@ const H = ({
|
|
|
88
88
|
}
|
|
89
89
|
);
|
|
90
90
|
export {
|
|
91
|
-
|
|
91
|
+
k as MobileMenu
|
|
92
92
|
};
|
|
@@ -1,19 +1,27 @@
|
|
|
1
|
-
import { jsxs as
|
|
1
|
+
import { jsxs as l, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
import
|
|
3
|
+
import n from "clsx";
|
|
4
|
+
import { SectionHeading as a } from "./SectionHeading.js";
|
|
4
5
|
import { Item as d } from "./Item.js";
|
|
5
|
-
import { ChevronDownIcon as
|
|
6
|
-
const b = ({ header: o, moreDocuments:
|
|
7
|
-
/* @__PURE__ */
|
|
8
|
-
/* @__PURE__ */ e(
|
|
9
|
-
/* @__PURE__ */ e("div", { className: "grid grid-flow-col grid-rows-3", children:
|
|
6
|
+
import { ChevronDownIcon as t } from "./ChevronDownIcon.js";
|
|
7
|
+
const b = ({ header: o, moreDocuments: i = [] }) => i.length === 0 ? null : /* @__PURE__ */ l("section", { className: "mx-auto px-6 py-10 text-neutral-800 lg:px-8 lg:py-12 xl:max-w-300 xl:px-0", children: [
|
|
8
|
+
/* @__PURE__ */ l("div", { className: "hidden flex-col gap-6 md:flex", children: [
|
|
9
|
+
/* @__PURE__ */ e(a, { ...o, align: "start", className: "pl-7" }),
|
|
10
|
+
/* @__PURE__ */ e("div", { className: "grid grid-flow-col grid-rows-3", children: i.map((r, s) => /* @__PURE__ */ e(
|
|
11
|
+
"div",
|
|
12
|
+
{
|
|
13
|
+
className: n("max-w-51 border-neutral-200 px-6 lg:max-w-full", s < 6 && "border-r"),
|
|
14
|
+
children: /* @__PURE__ */ e(d, { ...r })
|
|
15
|
+
},
|
|
16
|
+
`desktop-${r.id}`
|
|
17
|
+
)) })
|
|
10
18
|
] }),
|
|
11
|
-
/* @__PURE__ */ e("div", { className: "flex flex-col gap-10 md:hidden", children: /* @__PURE__ */
|
|
12
|
-
/* @__PURE__ */
|
|
19
|
+
/* @__PURE__ */ e("div", { className: "flex flex-col gap-10 md:hidden", children: /* @__PURE__ */ l("details", { className: "group", children: [
|
|
20
|
+
/* @__PURE__ */ l("summary", { className: "flex cursor-pointer list-none items-center justify-between rounded-sm border border-neutral-200 p-4", children: [
|
|
13
21
|
/* @__PURE__ */ e("span", { children: o.title }),
|
|
14
|
-
/* @__PURE__ */ e(
|
|
22
|
+
/* @__PURE__ */ e(t, { className: "h-5 w-5 transition-transform group-open:rotate-180" })
|
|
15
23
|
] }),
|
|
16
|
-
/* @__PURE__ */ e("div", { className: "flex flex-col border-x border-b border-neutral-200", children:
|
|
24
|
+
/* @__PURE__ */ e("div", { className: "flex flex-col border-x border-b border-neutral-200", children: i.map((r) => /* @__PURE__ */ e(
|
|
17
25
|
d,
|
|
18
26
|
{
|
|
19
27
|
id: r.id,
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { Markdown as
|
|
3
|
-
const
|
|
4
|
-
/* @__PURE__ */
|
|
5
|
-
/* @__PURE__ */ e("h2", { className: "text-super-large mb-8 text-center font-bold text-neutral-800", children:
|
|
6
|
-
/* @__PURE__ */ e(
|
|
1
|
+
import { jsxs as l, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { Markdown as s } from "./Markdown.js";
|
|
3
|
+
const r = ({ trustPilot: a, content: t, title: x }) => /* @__PURE__ */ l("section", { className: "mx-auto bg-white px-6 py-8 lg:px-8 lg:py-12 xl:max-w-300 xl:px-0", children: [
|
|
4
|
+
/* @__PURE__ */ l("div", { className: "mx-auto w-fit", children: [
|
|
5
|
+
/* @__PURE__ */ e("h2", { className: "text-super-large mb-8 text-center font-bold text-neutral-800", children: x }),
|
|
6
|
+
/* @__PURE__ */ e(s, { content: t, variant: "about-us", className: "mx-auto" })
|
|
7
7
|
] }),
|
|
8
|
-
!!
|
|
8
|
+
!!a && /* @__PURE__ */ e("section", { className: "bg-white px-6 py-8 lg:px-8 lg:py-12 xl:px-0", children: /* @__PURE__ */ e("div", { className: "mx-auto w-full max-w-6xl md:h-34", children: a }) })
|
|
9
9
|
] });
|
|
10
10
|
export {
|
|
11
|
-
|
|
11
|
+
r as TrustPilotSection
|
|
12
12
|
};
|