@npm_leadtech/legal-contracts-ui 0.72.1 → 0.72.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/HeroSection.d.ts +0 -1
- package/dist/components/HomeTemplate.d.ts +0 -1
- package/dist/components/Item.d.ts +0 -1
- package/dist/components/Item.js +12 -12
- package/dist/components/MoreTemplatesSection.d.ts +0 -1
- package/dist/components/MoreTemplatesSection.js +9 -9
- package/dist/components/index.d.ts +1016 -0
- package/dist/globals.css +1 -1
- package/package.json +1 -1
package/dist/components/Item.js
CHANGED
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import { jsxs as o, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
import
|
|
4
|
-
|
|
3
|
+
import d from "clsx";
|
|
4
|
+
import { ChevronRightIcon as c } from "./ChevronRightIcon.js";
|
|
5
|
+
const x = ({
|
|
5
6
|
image: l,
|
|
6
|
-
title:
|
|
7
|
+
title: t,
|
|
7
8
|
description: a,
|
|
8
|
-
documentUrl:
|
|
9
|
-
variant:
|
|
10
|
-
className: i = ""
|
|
11
|
-
titleClassName: n = ""
|
|
9
|
+
documentUrl: s,
|
|
10
|
+
variant: r = "default",
|
|
11
|
+
className: i = ""
|
|
12
12
|
}) => /* @__PURE__ */ o(
|
|
13
13
|
"div",
|
|
14
14
|
{
|
|
15
15
|
className: `hover:bg-primary-50 relative flex cursor-pointer items-center gap-4 rounded-sm p-4 pl-6 [&_a]:before:absolute [&_a]:before:inset-0 [&_a]:before:content-[""] ${{
|
|
16
16
|
default: "",
|
|
17
17
|
card: "border border-0.5 border-neutral-200 shadow-lg bg-white"
|
|
18
|
-
}[
|
|
18
|
+
}[r]} ${i}`,
|
|
19
19
|
children: [
|
|
20
20
|
l,
|
|
21
21
|
/* @__PURE__ */ o("div", { className: "flex-1", children: [
|
|
22
|
-
|
|
22
|
+
t && /* @__PURE__ */ e("p", { className: d("text-medium text-neutral-900", r === "card" && "font-semibold"), children: t }),
|
|
23
23
|
a && /* @__PURE__ */ e("p", { className: "text-extra-small text-neutral-600", children: a })
|
|
24
24
|
] }),
|
|
25
|
-
!!
|
|
26
|
-
|
|
25
|
+
!!s && /* @__PURE__ */ e("div", { className: "h-0 w-0 opacity-0", children: s }),
|
|
26
|
+
r === "card" && /* @__PURE__ */ e(c, { width: 20, height: 20 })
|
|
27
27
|
]
|
|
28
28
|
}
|
|
29
29
|
);
|
|
30
30
|
export {
|
|
31
|
-
|
|
31
|
+
x as Item
|
|
32
32
|
};
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { jsxs as i, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
import { SectionHeading as
|
|
4
|
-
import { Item as
|
|
5
|
-
import { ChevronDownIcon as
|
|
6
|
-
const
|
|
3
|
+
import { SectionHeading as a } from "./SectionHeading.js";
|
|
4
|
+
import { Item as s } from "./Item.js";
|
|
5
|
+
import { ChevronDownIcon as n } from "./ChevronDownIcon.js";
|
|
6
|
+
const b = ({ header: o, moreDocuments: l = [] }) => l.length === 0 ? null : /* @__PURE__ */ i("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: [
|
|
7
7
|
/* @__PURE__ */ i("div", { className: "hidden flex-col gap-6 md:flex", children: [
|
|
8
|
-
/* @__PURE__ */ e(
|
|
9
|
-
/* @__PURE__ */ e("div", { className: "grid grid-
|
|
8
|
+
/* @__PURE__ */ e(a, { ...o, align: "start", className: "pl-7" }),
|
|
9
|
+
/* @__PURE__ */ e("div", { className: "grid grid-flow-col grid-rows-3", children: l.map((r, d) => /* @__PURE__ */ e("div", { className: `border-neutral-200 px-6 ${d < 6 ? "border-r" : ""} `, children: /* @__PURE__ */ e(s, { ...r, className: "items-start! px-2!" }) }, `desktop-${r.id}`)) })
|
|
10
10
|
] }),
|
|
11
11
|
/* @__PURE__ */ e("div", { className: "flex flex-col gap-10 md:hidden", children: /* @__PURE__ */ i("details", { className: "group", children: [
|
|
12
12
|
/* @__PURE__ */ i("summary", { className: "flex cursor-pointer list-none items-center justify-between rounded-sm border border-neutral-200 p-4", children: [
|
|
13
13
|
/* @__PURE__ */ e("span", { children: o.title }),
|
|
14
|
-
/* @__PURE__ */ e(
|
|
14
|
+
/* @__PURE__ */ e(n, { className: "h-5 w-5 transition-transform group-open:rotate-180" })
|
|
15
15
|
] }),
|
|
16
16
|
/* @__PURE__ */ e("div", { className: "flex flex-col border-x border-b border-neutral-200", children: l.map((r) => /* @__PURE__ */ e(
|
|
17
|
-
|
|
17
|
+
s,
|
|
18
18
|
{
|
|
19
19
|
id: r.id,
|
|
20
20
|
image: r.image,
|
|
@@ -28,5 +28,5 @@ const x = ({ header: o, moreDocuments: l = [] }) => l.length === 0 ? null : /* @
|
|
|
28
28
|
] }) })
|
|
29
29
|
] });
|
|
30
30
|
export {
|
|
31
|
-
|
|
31
|
+
b as MoreTemplatesSection
|
|
32
32
|
};
|