@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 n, jsx as e } from "react/jsx-runtime";
3
- import { useState as o } from "react";
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 v = ({ small: s, large: t, onZoomClick: r }) => {
7
- const [l, a] = o(!1);
8
- return /* @__PURE__ */ n("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: s }),
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: l, setIsOpen: (i) => {
11
- a(i), i && r && r();
12
- }, onTrigger: r, children: t }) })
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
- v as ImageWithPreview
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: n,
16
+ jumbotron: p,
17
17
  jumboDocs: r,
18
- preform: e,
18
+ preform: t,
19
19
  productInfo: f,
20
- benefitsBar: s,
21
- breadcrumb: c,
22
- tableOfContents: x,
23
- contentItems: l,
20
+ benefitsBar: n,
21
+ breadcrumb: s,
22
+ tableOfContents: c,
23
+ contentItems: x,
24
24
  faqSection: d,
25
25
  previewDownload: w,
26
- previewSection: t,
27
- tryNowSection: i,
28
- freeDocModal: a
29
- }) => (console.log("contentItems", l), /* @__PURE__ */ o("main", { className: "min-w-0 flex-1", children: [
30
- /* @__PURE__ */ m(u, { ...n }),
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
- e && /* @__PURE__ */ m(h, { ...e }),
32
+ t && /* @__PURE__ */ m(h, { ...t }),
33
33
  /* @__PURE__ */ m(N, { ...f }),
34
- /* @__PURE__ */ m(b, { ...s }),
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, { ...c }),
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, { ...x }),
40
- l.map((p) => /* @__PURE__ */ m(B, { ...p }, p.id)),
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
- t && /* @__PURE__ */ m(C, { ...t }),
47
- i && /* @__PURE__ */ m(F, { ...i }),
48
- a && /* @__PURE__ */ m(I, { ...a })
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
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@npm_leadtech/legal-contracts-ui",
3
- "version": "0.128.8",
3
+ "version": "0.129.0",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",