@npm_leadtech/legal-contracts-ui 0.131.2 → 0.131.4

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.
@@ -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}
@@ -42,6 +42,7 @@ export interface FaqItemProps {
42
42
  collapsedButtonText?: string;
43
43
  expandedButtonText?: string;
44
44
  variant?: 'default' | 'legal' | 'tooltip' | 'about-us' | 'pricing';
45
+ slug: string;
45
46
  }
46
47
 
47
48
  export interface FaqSectionProps {
@@ -83,6 +83,7 @@ export interface FaqItemProps {
83
83
  collapsedButtonText?: string;
84
84
  expandedButtonText?: string;
85
85
  variant?: 'default' | 'legal' | 'tooltip' | 'about-us' | 'pricing';
86
+ slug: string;
86
87
  }
87
88
 
88
89
  export interface FaqSectionProps {
@@ -64,6 +64,7 @@ export interface FaqItemProps {
64
64
  collapsedButtonText?: string;
65
65
  expandedButtonText?: string;
66
66
  variant?: 'default' | 'legal' | 'tooltip' | 'about-us' | 'pricing';
67
+ slug: string;
67
68
  }
68
69
 
69
70
  export interface FaqSectionProps {
@@ -34,6 +34,7 @@ export interface FaqItemProps {
34
34
  collapsedButtonText?: string;
35
35
  expandedButtonText?: string;
36
36
  variant?: 'default' | 'legal' | 'tooltip' | 'about-us' | 'pricing';
37
+ slug: string;
37
38
  }
38
39
 
39
40
  export interface FaqSectionProps {
@@ -9,5 +9,6 @@ export declare interface FaqItemProps {
9
9
  collapsedButtonText?: string;
10
10
  expandedButtonText?: string;
11
11
  variant?: 'default' | 'legal' | 'tooltip' | 'about-us' | 'pricing';
12
+ slug: string;
12
13
  }
13
14
 
@@ -1,22 +1,23 @@
1
1
  import { jsx as e, jsxs as r } from "react/jsx-runtime";
2
- import { useId as c } from "react";
3
- import { FaqItemWrapper as d } from "./FaqItemWrapper.js";
4
- import { Markdown as p } from "./Markdown.js";
5
- import { ChevronDownIcon as o } from "./ChevronDownIcon.js";
6
- const b = ({
2
+ import { useId as d } from "react";
3
+ import { FaqItemWrapper as p } from "./FaqItemWrapper.js";
4
+ import { Markdown as h } from "./Markdown.js";
5
+ import { ChevronDownIcon as a } from "./ChevronDownIcon.js";
6
+ const I = ({
7
7
  question: n,
8
8
  answer: l,
9
- showMoreText: a,
9
+ showMoreText: o,
10
10
  collapsedButtonText: i,
11
11
  expandedButtonText: s,
12
- variant: m
12
+ variant: m,
13
+ slug: c
13
14
  }) => {
14
- const t = `toggle-${c().replace(/:/g, "")}`;
15
- return /* @__PURE__ */ e("div", { className: "text-medium flex flex-col rounded bg-white p-4 text-neutral-800 shadow", children: /* @__PURE__ */ r(d, { question: /* @__PURE__ */ e("span", { className: "font-bold", children: n }), children: [
16
- /* @__PURE__ */ e(p, { content: l, className: "text-medium", variant: m ?? "default" }),
17
- a && /* @__PURE__ */ r("div", { className: "mt-4 rounded-lg bg-neutral-50 p-6", children: [
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 scroll-mt-12", 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" }),
18
+ o && /* @__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
- /* @__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 }),
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: o }),
20
21
  /* @__PURE__ */ r(
21
22
  "label",
22
23
  {
@@ -24,7 +25,7 @@ const b = ({
24
25
  className: "text-primary-700 flex cursor-pointer items-center gap-1 text-sm transition-colors peer-checked:hidden",
25
26
  children: [
26
27
  s,
27
- /* @__PURE__ */ e(o, { fill: "var(--color-primary-700)", className: "h-4 w-4 transition-transform duration-200" })
28
+ /* @__PURE__ */ e(a, { fill: "var(--color-primary-700)", className: "h-4 w-4 transition-transform duration-200" })
28
29
  ]
29
30
  }
30
31
  ),
@@ -36,7 +37,7 @@ const b = ({
36
37
  children: [
37
38
  i,
38
39
  /* @__PURE__ */ e(
39
- o,
40
+ a,
40
41
  {
41
42
  fill: "var(--color-primary-700)",
42
43
  className: "h-4 w-4 rotate-180 transition-transform duration-200"
@@ -49,5 +50,5 @@ const b = ({
49
50
  ] }) });
50
51
  };
51
52
  export {
52
- b as FaqItem
53
+ I as FaqItem
53
54
  };
@@ -7,6 +7,7 @@ export interface FaqItemProps {
7
7
  collapsedButtonText?: string;
8
8
  expandedButtonText?: string;
9
9
  variant?: 'default' | 'legal' | 'tooltip' | 'about-us' | 'pricing';
10
+ slug: string;
10
11
  }
11
12
 
12
13
  export declare const FaqSection: FC<FaqSectionProps>;
@@ -15,6 +15,7 @@ export interface FaqItemProps {
15
15
  collapsedButtonText?: string;
16
16
  expandedButtonText?: string;
17
17
  variant?: 'default' | 'legal' | 'tooltip' | 'about-us' | 'pricing';
18
+ slug: string;
18
19
  }
19
20
 
20
21
  export interface FaqSectionProps {
@@ -18,6 +18,7 @@ export interface FaqItemProps {
18
18
  collapsedButtonText?: string;
19
19
  expandedButtonText?: string;
20
20
  variant?: 'default' | 'legal' | 'tooltip' | 'about-us' | 'pricing';
21
+ slug: string;
21
22
  }
22
23
 
23
24
  export interface FaqSectionProps {
@@ -1,28 +1,27 @@
1
1
  import { jsx as e, jsxs as l, Fragment as n } from "react/jsx-runtime";
2
- import { Note as a } from "./Note.js";
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: c, alsoKnownAs: r }) => /* @__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: [
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(a, { children: [
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
- !!c && /* @__PURE__ */ l(n, { children: [
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(a, { children: [
14
+ /* @__PURE__ */ l(c, { children: [
15
15
  /* @__PURE__ */ e(o, { className: "size-4.5", fill: "var(--neutral-600)" }),
16
- c
16
+ r
17
17
  ] })
18
18
  ] })
19
19
  ] }),
20
- r.docs.length > 0 && /* @__PURE__ */ l("div", { className: "flex flex-wrap items-center gap-2", children: [
21
- /* @__PURE__ */ l(a, { children: [
22
- /* @__PURE__ */ e(m, { className: "size-4.5", fill: "var(--secondary-600)" }),
23
- r.label
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 {
@@ -55,6 +55,7 @@ export interface FaqItemProps {
55
55
  collapsedButtonText?: string;
56
56
  expandedButtonText?: string;
57
57
  variant?: 'default' | 'legal' | 'tooltip' | 'about-us' | 'pricing';
58
+ slug: string;
58
59
  }
59
60
 
60
61
  export interface FaqSectionProps {
@@ -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 px-6 py-10 lg:px-8 xl:px-0", children: !!i && /* @__PURE__ */ e("div", { className: "mx-auto w-full max-w-254 md:h-34", children: i }) })
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 { }