@npm_leadtech/legal-contracts-ui 0.131.2 → 0.131.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/assets/style/themes.css +1 -0
- package/dist/components/AiLegalDocumentReviewerTemplate.d.ts +1 -0
- package/dist/components/AllDocumentsTemplate.d.ts +1 -0
- package/dist/components/CategoryProductTemplate.d.ts +1 -0
- package/dist/components/ElectronicSignatureTemplate.d.ts +1 -0
- package/dist/components/FaqItem.d.ts +1 -0
- package/dist/components/FaqItem.js +10 -9
- package/dist/components/FaqSection.d.ts +1 -0
- package/dist/components/FaqsTemplate.d.ts +1 -0
- package/dist/components/FaqsTemplate.js +25 -11
- package/dist/components/PricingTemplate.d.ts +1 -0
- package/dist/components/ProductInfo.js +11 -12
- package/dist/components/ProductTemplate.d.ts +1 -0
- package/dist/components/TrustSection.js +1 -1
- package/dist/components/globals.d.ts +1 -0
- package/dist/globals.css +1 -319
- package/dist/globals.js +2 -0
- package/package.json +2 -2
|
@@ -0,0 +1 @@
|
|
|
1
|
+
html[data-theme=primarygreen]{--background: #ffffff;--foreground: #171717;--font-inter: "Inter", sans-serif;--font-lora: "Lora", serif;--primary-50: #eff7f5;--primary-100: #e4f8f3;--primary-200: #c0f7e8;--primary-300: #5dd8c3;--primary-400: #34b2a7;--primary-500: #078080;--primary-700: #05646e;--primary-800: #02374a;--primary-900: #032a38;--secondary-50: #fcf9f5;--secondary-100: #fcf4e5;--secondary-200: #f7e8cf;--secondary-300: #f5dab0;--secondary-400: #f4cc8c;--secondary-500: #f2bd6a;--secondary-600: #cd9a4c;--secondary-700: #936c2f;--neutral-25: #f8f9fa;--neutral-50: #f3f7fa;--neutral-200: #dbe1e5;--neutral-400: #b5babd;--neutral-600: #6d7275;--neutral-800: #3d4042;--neutral-900: #1e2021;--neutral-white: #ffffff;--error-25: #ffecef;--error-200: #f09d9e;--error-500: #d63737}html[data-theme=primaryblue]{--background: #ffffff;--foreground: #171717;--font-inter: "Poppins", sans-serif;--font-lora: "Poppins", sans-serif;--font-lora-weight: 700;--primary-50: #e9f5ff;--primary-100: #d7ecff;--primary-200: #b7daff;--primary-300: #8bc1ff;--primary-400: #5e99ff;--primary-500: #3970ff;--primary-700: #1039f5;--primary-800: #163399;--primary-900: #07144b;--secondary-50: #fff6ed;--secondary-100: #fff0d5;--secondary-200: #fedcaa;--secondary-300: #fdc374;--secondary-400: #fb9e3c;--secondary-500: #f98116;--secondary-600: #ea660c;--secondary-700: #d3530d;--neutral-25: #f5f7fa;--neutral-50: #ebeef3;--neutral-200: #d2d9e5;--neutral-400: #abbbce;--neutral-600: #496080;--neutral-800: #2f3a4b;--neutral-900: #1f2532;--neutral-white: #ffffff;--error-25: #ffecef;--error-200: #f09d9e;--error-500: #d63737}html[data-theme=secondaryorange]{--background: #ffffff;--foreground: #171717;--font-inter: "Inter", sans-serif;--font-lora: "Lora", serif;--primary-50: #fff5ee;--primary-100: #ffe1cc;--primary-200: #ffc59b;--primary-300: #ffa05c;--primary-400: #ff862e;--primary-500: #f26600;--primary-700: #c95500;--primary-800: #4f2100;--primary-900: #220f00;--secondary-50: #eff7f5;--secondary-100: #e4f8f3;--secondary-200: #c0f7e8;--secondary-300: #5dd8c3;--secondary-400: #34b2a7;--secondary-500: #078080;--secondary-600: #05646e;--secondary-700: #02374a;--secondary-900: #032a38;--neutral-25: #f8f9fa;--neutral-50: #f3f7fa;--neutral-200: #dbe1e5;--neutral-400: #b5babd;--neutral-600: #6d7275;--neutral-800: #3d4042;--neutral-900: #1e2021;--neutral-white: #ffffff;--error-25: #ffecef;--error-200: #f09d9e;--error-500: #d63737}html[data-theme=secondaryblue]{--background: #ffffff;--foreground: #171717;--font-inter: "Inter", sans-serif;--font-lora: "Lora", serif;--primary-50: #f9f9ff;--primary-100: #eceeff;--primary-200: #c3c9ff;--primary-300: #9aa4ff;--primary-400: #717fff;--primary-500: #485aff;--primary-700: #1725a6;--primary-800: #050e5a;--primary-900: #000533;--secondary-50: #eff7f5;--secondary-100: #e4f8f3;--secondary-200: #c0f7e8;--secondary-300: #5dd8c3;--secondary-400: #34b2a7;--secondary-500: #078080;--secondary-600: #05646e;--secondary-700: #02374a;--secondary-900: #032a38;--neutral-25: #f8f9fa;--neutral-50: #f3f7fa;--neutral-200: #dbe1e5;--neutral-400: #b5babd;--neutral-600: #6d7275;--neutral-800: #3d4042;--neutral-900: #1e2021;--neutral-white: #ffffff;--error-25: #ffecef;--error-200: #f09d9e;--error-500: #d63737}html[data-theme=secondarypurple]{--background: #ffffff;--foreground: #171717;--font-inter: "Inter", sans-serif;--font-lora: "Lora", serif;--primary-50: #f9f5ff;--primary-100: #e3d1ff;--primary-200: #b68aff;--primary-300: #a56dff;--primary-400: #9e63ff;--primary-500: #7d2eff;--primary-700: #320085;--primary-800: #23005c;--primary-900: #11002d;--secondary-50: #eff7f5;--secondary-100: #e4f8f3;--secondary-200: #c0f7e8;--secondary-300: #5dd8c3;--secondary-400: #34b2a7;--secondary-500: #078080;--secondary-600: #05646e;--secondary-700: #02374a;--secondary-900: #032a38;--neutral-25: #f8f9fa;--neutral-50: #f3f7fa;--neutral-200: #dbe1e5;--neutral-400: #b5babd;--neutral-600: #6d7275;--neutral-800: #3d4042;--neutral-900: #1e2021;--neutral-white: #ffffff;--error-25: #ffecef;--error-200: #f09d9e;--error-500: #d63737}html[data-theme=secondarygreen]{--background: #ffffff;--foreground: #171717;--font-inter: "Inter", sans-serif;--font-lora: "Lora", serif;--primary-50: #e7fff1;--primary-100: #d5ffe6;--primary-200: #6affa5;--primary-300: #16ff73;--primary-400: #00df59;--primary-500: #00b649;--primary-700: #008e39;--primary-800: #003c18;--primary-900: #001709;--secondary-50: #eff7f5;--secondary-100: #e4f8f3;--secondary-200: #c0f7e8;--secondary-300: #5dd8c3;--secondary-400: #34b2a7;--secondary-500: #078080;--secondary-600: #05646e;--secondary-700: #02374a;--secondary-900: #032a38;--neutral-25: #f8f9fa;--neutral-50: #f3f7fa;--neutral-200: #dbe1e5;--neutral-400: #b5babd;--neutral-600: #6d7275;--neutral-800: #3d4042;--neutral-900: #1e2021;--neutral-white: #ffffff;--error-25: #ffecef;--error-200: #f09d9e;--error-500: #d63737}html[data-theme=secondaryyellow]{--background: #ffffff;--foreground: #171717;--font-inter: "Inter", sans-serif;--font-lora: "Lora", serif;--primary-50: #f9ffea;--primary-100: #f0ffc4;--primary-200: #e6ff9f;--primary-300: #c9ff2f;--primary-400: #b1e815;--primary-500: #8ebf00;--primary-700: #6f9600;--primary-800: #384c00;--primary-900: #192101;--secondary-50: #eff7f5;--secondary-100: #e4f8f3;--secondary-200: #c0f7e8;--secondary-300: #5dd8c3;--secondary-400: #34b2a7;--secondary-500: #078080;--secondary-600: #05646e;--secondary-700: #02374a;--secondary-900: #032a38;--neutral-25: #f8f9fa;--neutral-50: #f3f7fa;--neutral-200: #dbe1e5;--neutral-400: #b5babd;--neutral-600: #6d7275;--neutral-800: #3d4042;--neutral-900: #1e2021;--neutral-white: #ffffff;--error-25: #ffecef;--error-200: #f09d9e;--error-500: #d63737}html[data-theme=secondarybrown]{--background: #ffffff;--foreground: #171717;--font-inter: "Inter", sans-serif;--font-lora: "Lora", serif;--primary-50: #fffbf2;--primary-100: #fff6e5;--primary-200: #ffe6b7;--primary-300: #ffc75c;--primary-400: #ffa800;--primary-500: #d68d00;--primary-700: #855800;--primary-800: #3d2800;--primary-900: #231700;--secondary-50: #eff7f5;--secondary-100: #e4f8f3;--secondary-200: #c0f7e8;--secondary-300: #5dd8c3;--secondary-400: #34b2a7;--secondary-500: #078080;--secondary-600: #05646e;--secondary-700: #02374a;--secondary-900: #032a38;--neutral-25: #f8f9fa;--neutral-50: #f3f7fa;--neutral-200: #dbe1e5;--neutral-400: #cacaca;--neutral-600: #6b6e6f;--neutral-800: #3d4042;--neutral-900: #1e2021;--neutral-white: #ffffff;--error-25: #ffecef;--error-200: #f09d9e;--error-500: #d63737}
|
|
@@ -1,19 +1,20 @@
|
|
|
1
1
|
import { jsx as e, jsxs as r } from "react/jsx-runtime";
|
|
2
|
-
import { useId as
|
|
3
|
-
import { FaqItemWrapper as
|
|
4
|
-
import { Markdown as
|
|
2
|
+
import { useId as d } from "react";
|
|
3
|
+
import { FaqItemWrapper as p } from "./FaqItemWrapper.js";
|
|
4
|
+
import { Markdown as h } from "./Markdown.js";
|
|
5
5
|
import { ChevronDownIcon as o } from "./ChevronDownIcon.js";
|
|
6
|
-
const
|
|
6
|
+
const I = ({
|
|
7
7
|
question: n,
|
|
8
8
|
answer: l,
|
|
9
9
|
showMoreText: a,
|
|
10
10
|
collapsedButtonText: i,
|
|
11
11
|
expandedButtonText: s,
|
|
12
|
-
variant: m
|
|
12
|
+
variant: m,
|
|
13
|
+
slug: c
|
|
13
14
|
}) => {
|
|
14
|
-
const t = `toggle-${
|
|
15
|
-
return /* @__PURE__ */ e("div", { className: "text-medium flex flex-col rounded bg-white p-4 text-neutral-800 shadow", children: /* @__PURE__ */ r(
|
|
16
|
-
/* @__PURE__ */ e(
|
|
15
|
+
const t = `toggle-${d().replace(/:/g, "")}`;
|
|
16
|
+
return /* @__PURE__ */ e("div", { id: c, className: "text-medium flex flex-col rounded bg-white p-4 text-neutral-800 shadow", children: /* @__PURE__ */ r(p, { question: /* @__PURE__ */ e("span", { className: "font-bold", children: n }), children: [
|
|
17
|
+
/* @__PURE__ */ e(h, { content: l, className: "text-medium", variant: m ?? "default" }),
|
|
17
18
|
a && /* @__PURE__ */ r("div", { className: "mt-4 rounded-lg bg-neutral-50 p-6", children: [
|
|
18
19
|
/* @__PURE__ */ e("input", { type: "checkbox", id: t, className: "peer sr-only" }),
|
|
19
20
|
/* @__PURE__ */ e("p", { className: "mb-4 line-clamp-4 text-xs leading-relaxed wrap-break-word text-neutral-800 peer-checked:line-clamp-none", children: a }),
|
|
@@ -49,5 +50,5 @@ const b = ({
|
|
|
49
50
|
] }) });
|
|
50
51
|
};
|
|
51
52
|
export {
|
|
52
|
-
|
|
53
|
+
I as FaqItem
|
|
53
54
|
};
|
|
@@ -1,14 +1,28 @@
|
|
|
1
|
-
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as r, jsxs as s } from "react/jsx-runtime";
|
|
3
|
+
import { useEffect as i } from "react";
|
|
4
|
+
import { AsideNavMenu as m } from "./AsideNavMenu.js";
|
|
5
|
+
import { Jumbotron2 as f } from "./Jumbotron2.js";
|
|
6
|
+
import { FaqSection as d } from "./FaqSection.js";
|
|
7
|
+
const v = ({ jumbotron: n, asideNavMenu: a, faqSections: c }) => (i(() => {
|
|
8
|
+
const e = window.location.hash.replace("#", "");
|
|
9
|
+
if (!e) return;
|
|
10
|
+
const o = () => {
|
|
11
|
+
const l = document.getElementById(e);
|
|
12
|
+
return l ? (l.scrollIntoView({ behavior: "smooth", block: "start" }), !0) : !1;
|
|
13
|
+
};
|
|
14
|
+
if (o()) return;
|
|
15
|
+
const t = new MutationObserver(() => {
|
|
16
|
+
o() && t.disconnect();
|
|
17
|
+
});
|
|
18
|
+
return t.observe(document.body, { childList: !0, subtree: !0 }), () => t.disconnect();
|
|
19
|
+
}, []), /* @__PURE__ */ r("main", { className: "bg-primary-50 flex-1 px-4 py-10 text-neutral-800 md:px-8", children: /* @__PURE__ */ s("div", { className: "mx-auto flex w-full max-w-300 flex-col gap-10", children: [
|
|
20
|
+
/* @__PURE__ */ r(f, { ...n }),
|
|
21
|
+
/* @__PURE__ */ s("div", { className: "flex flex-col gap-10 md:flex-row md:gap-24", children: [
|
|
22
|
+
/* @__PURE__ */ r(m, { ...a }),
|
|
23
|
+
/* @__PURE__ */ r("div", { className: "flex flex-1 flex-col gap-10", children: c.map((e) => /* @__PURE__ */ r(d, { ...e }, e.title)) })
|
|
10
24
|
] })
|
|
11
|
-
] }) });
|
|
25
|
+
] }) }));
|
|
12
26
|
export {
|
|
13
|
-
|
|
27
|
+
v as FaqsTemplate
|
|
14
28
|
};
|
|
@@ -1,28 +1,27 @@
|
|
|
1
1
|
import { jsx as e, jsxs as l, Fragment as n } from "react/jsx-runtime";
|
|
2
|
-
import { Note as
|
|
2
|
+
import { Note as c } from "./Note.js";
|
|
3
3
|
import { HistoryIcon as i } from "./HistoryIcon.js";
|
|
4
4
|
import { DocOutlineIcon as m } from "./DocOutlineIcon.js";
|
|
5
5
|
import { DoneCircleIcon as o } from "./DoneCircleIcon.js";
|
|
6
|
-
const u = ({ lastUpdate: s, reviewer:
|
|
6
|
+
const u = ({ lastUpdate: s, reviewer: r, alsoKnownAs: a }) => /* @__PURE__ */ e("section", { className: "bg-neutral-25 px-6 py-4 text-neutral-800 lg:px-8 xl:px-30", children: /* @__PURE__ */ e("div", { className: "mx-auto flex w-full max-w-300 flex-col gap-6", children: /* @__PURE__ */ l("div", { className: "text-small flex flex-col gap-2 text-neutral-600", children: [
|
|
7
7
|
/* @__PURE__ */ l("div", { className: "flex flex-wrap items-center gap-2 sm:gap-4", children: [
|
|
8
|
-
/* @__PURE__ */ l(
|
|
8
|
+
/* @__PURE__ */ l(c, { children: [
|
|
9
9
|
/* @__PURE__ */ e(i, { className: "size-4.5", fill: "var(--neutral-600)" }),
|
|
10
10
|
/* @__PURE__ */ e("span", { children: s })
|
|
11
11
|
] }),
|
|
12
|
-
!!
|
|
12
|
+
!!r && /* @__PURE__ */ l(n, { children: [
|
|
13
13
|
/* @__PURE__ */ e("span", { className: "hidden h-5 w-px bg-neutral-600 sm:block", "aria-hidden": !0 }),
|
|
14
|
-
/* @__PURE__ */ l(
|
|
14
|
+
/* @__PURE__ */ l(c, { children: [
|
|
15
15
|
/* @__PURE__ */ e(o, { className: "size-4.5", fill: "var(--neutral-600)" }),
|
|
16
|
-
|
|
16
|
+
r
|
|
17
17
|
] })
|
|
18
18
|
] })
|
|
19
19
|
] }),
|
|
20
|
-
|
|
21
|
-
/* @__PURE__ */
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
r.docs.map((t) => /* @__PURE__ */ e("span", { className: "text-small rounded border border-neutral-200 bg-white px-2 py-1", children: t }, t))
|
|
20
|
+
a.docs.length > 0 && /* @__PURE__ */ l("div", { className: "flex flex-wrap items-center gap-2", children: [
|
|
21
|
+
/* @__PURE__ */ e(m, { className: "size-4.5", fill: "var(--secondary-600)" }),
|
|
22
|
+
" ",
|
|
23
|
+
a.label,
|
|
24
|
+
a.docs.map((t) => /* @__PURE__ */ e("span", { className: "text-small rounded border border-neutral-200 bg-white px-2 py-1", children: t }, t))
|
|
26
25
|
] })
|
|
27
26
|
] }) }) });
|
|
28
27
|
export {
|
|
@@ -12,7 +12,7 @@ const g = ({ header: r, trustReasons: m, cta: c, trustPilot: i }) => /* @__PURE_
|
|
|
12
12
|
] }, a)) }),
|
|
13
13
|
/* @__PURE__ */ e(d, { className: "w-full md:w-fit", children: c })
|
|
14
14
|
] }) }),
|
|
15
|
-
/* @__PURE__ */ e("section", { className: "mx-auto w-full bg-white
|
|
15
|
+
/* @__PURE__ */ e("section", { className: "mx-auto w-full bg-white", children: !!i && /* @__PURE__ */ e("div", { className: "mx-auto w-full max-w-254 md:h-34", children: i }) })
|
|
16
16
|
] });
|
|
17
17
|
export {
|
|
18
18
|
g as TrustSection
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { }
|