@npm_leadtech/legal-contracts-ui 0.128.8 → 0.129.0
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.
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { jsxs as
|
|
3
|
-
import { useState as
|
|
2
|
+
import { jsxs as a, jsx as e } from "react/jsx-runtime";
|
|
3
|
+
import { useState as n } from "react";
|
|
4
4
|
import { ZoomIcon as c } from "./ZoomIcon.js";
|
|
5
5
|
import { Modal as m } from "./Modal.js";
|
|
6
|
-
const
|
|
7
|
-
const [
|
|
8
|
-
return /* @__PURE__ */
|
|
9
|
-
/* @__PURE__ */ e("div", { className: "h-full w-full [&_img]:h-full [&_img]:w-full [&_img]:object-cover", children:
|
|
10
|
-
/* @__PURE__ */ e("div", { className: "absolute inset-0 flex items-center justify-center", children: /* @__PURE__ */ e(m, { trigger: /* @__PURE__ */ e(c, { className: "bg-primary-700 size-8 rounded p-2 opacity-80 hover:opacity-100" }), isOpen:
|
|
11
|
-
|
|
12
|
-
},
|
|
6
|
+
const b = ({ small: l, large: s, onZoomClick: r }) => {
|
|
7
|
+
const [t, o] = n(!1);
|
|
8
|
+
return /* @__PURE__ */ a("div", { className: "relative aspect-3/4 w-75 self-center overflow-hidden border border-neutral-200", children: [
|
|
9
|
+
/* @__PURE__ */ e("div", { className: "h-full w-full [&_img]:h-full [&_img]:w-full [&_img]:object-cover", children: l }),
|
|
10
|
+
/* @__PURE__ */ e("div", { className: "absolute inset-0 flex items-center justify-center", children: /* @__PURE__ */ e(m, { trigger: /* @__PURE__ */ e(c, { className: "bg-primary-700 size-8 rounded p-2 opacity-80 hover:opacity-100" }), isOpen: t, setIsOpen: (i) => {
|
|
11
|
+
o(i), i && r && r();
|
|
12
|
+
}, children: s }) })
|
|
13
13
|
] });
|
|
14
14
|
};
|
|
15
15
|
export {
|
|
16
|
-
|
|
16
|
+
b as ImageWithPreview
|
|
17
17
|
};
|
|
@@ -13,40 +13,40 @@ import { PreviewSection as C } from "./PreviewSection.js";
|
|
|
13
13
|
import { TryNowSection as F } from "./TryNowSection.js";
|
|
14
14
|
import { FreeDocumentModal as I } from "./FreeDocumentModal.js";
|
|
15
15
|
const M = ({
|
|
16
|
-
jumbotron:
|
|
16
|
+
jumbotron: p,
|
|
17
17
|
jumboDocs: r,
|
|
18
|
-
preform:
|
|
18
|
+
preform: t,
|
|
19
19
|
productInfo: f,
|
|
20
|
-
benefitsBar:
|
|
21
|
-
breadcrumb:
|
|
22
|
-
tableOfContents:
|
|
23
|
-
contentItems:
|
|
20
|
+
benefitsBar: n,
|
|
21
|
+
breadcrumb: s,
|
|
22
|
+
tableOfContents: c,
|
|
23
|
+
contentItems: x,
|
|
24
24
|
faqSection: d,
|
|
25
25
|
previewDownload: w,
|
|
26
|
-
previewSection:
|
|
27
|
-
tryNowSection:
|
|
28
|
-
freeDocModal:
|
|
29
|
-
}) =>
|
|
30
|
-
/* @__PURE__ */ m(u, { ...
|
|
26
|
+
previewSection: e,
|
|
27
|
+
tryNowSection: l,
|
|
28
|
+
freeDocModal: i
|
|
29
|
+
}) => /* @__PURE__ */ o("main", { className: "min-w-0 flex-1", children: [
|
|
30
|
+
/* @__PURE__ */ m(u, { ...p }),
|
|
31
31
|
r && /* @__PURE__ */ m(g, { ...r }),
|
|
32
|
-
|
|
32
|
+
t && /* @__PURE__ */ m(h, { ...t }),
|
|
33
33
|
/* @__PURE__ */ m(N, { ...f }),
|
|
34
|
-
/* @__PURE__ */ m(b, { ...
|
|
34
|
+
/* @__PURE__ */ m(b, { ...n }),
|
|
35
35
|
/* @__PURE__ */ m("section", { className: "px-4 pt-6 pb-10 text-neutral-800 md:px-6 lg:px-8 xl:px-30", children: /* @__PURE__ */ o("div", { className: "mx-auto flex w-full max-w-300 flex-col gap-6", children: [
|
|
36
|
-
/* @__PURE__ */ m(P, { ...
|
|
36
|
+
/* @__PURE__ */ m(P, { ...s }),
|
|
37
37
|
/* @__PURE__ */ o("div", { className: "flex w-full min-w-0 items-start md:gap-4 lg:gap-26.5 xl:gap-31", children: [
|
|
38
38
|
/* @__PURE__ */ o("div", { className: "flex w-full max-w-100 min-w-0 flex-col gap-8 lg:max-w-137.5 xl:max-w-172.5", children: [
|
|
39
|
-
/* @__PURE__ */ m(v, { ...
|
|
40
|
-
|
|
39
|
+
/* @__PURE__ */ m(v, { ...c }),
|
|
40
|
+
x.map((a) => /* @__PURE__ */ m(B, { ...a }, a.id)),
|
|
41
41
|
/* @__PURE__ */ m(T, { ...d })
|
|
42
42
|
] }),
|
|
43
43
|
/* @__PURE__ */ m("aside", { className: "sticky top-20 hidden pt-4 md:block", children: /* @__PURE__ */ m(k, { ...w }) })
|
|
44
44
|
] })
|
|
45
45
|
] }) }),
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
] })
|
|
46
|
+
e && /* @__PURE__ */ m(C, { ...e }),
|
|
47
|
+
l && /* @__PURE__ */ m(F, { ...l }),
|
|
48
|
+
i && /* @__PURE__ */ m(I, { ...i })
|
|
49
|
+
] });
|
|
50
50
|
export {
|
|
51
51
|
M as ProductTemplate
|
|
52
52
|
};
|