@npm_leadtech/legal-contracts-ui 0.154.2 → 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.
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,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
|
};
|