@npm_leadtech/legal-contracts-ui 0.129.21 → 0.131.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,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 {
@@ -1,45 +1,55 @@
1
1
  import { jsx as l, jsxs as e } from "react/jsx-runtime";
2
2
  import "react";
3
- import { clsx as i } from "clsx";
4
- import { Markdown as o } from "./Markdown.js";
3
+ import { clsx as m } from "clsx";
4
+ import { Markdown as d } from "./Markdown.js";
5
5
  import { LinkWrapper as f } from "./LinkWrapper.js";
6
- const j = ({
7
- title: m,
6
+ const C = ({
7
+ title: i,
8
8
  content: r,
9
- benefits: t = [],
10
- stepsSlot: d,
11
- belowStepsSlot: g,
9
+ benefits: c = [],
10
+ stepsSlot: n,
11
+ belowStepsSlot: h,
12
12
  cta: s,
13
- image: x,
14
- skipCtaWrapper: h = !1,
15
- sectionClassName: c,
16
- innerClassName: n
13
+ image: t,
14
+ skipCtaWrapper: w = !1,
15
+ sectionClassName: x,
16
+ innerClassName: o
17
17
  }) => {
18
- const p = "bg-primary-50 px-6 pb-10 pt-16 lg:px-8 lg:pb-12 lg:pt-16 xl:px-0", w = "from-primary-900 via-primary-700 to-primary-900 mx-auto flex flex-col justify-between gap-8 rounded-2xl bg-linear-to-bl p-6 text-white md:flex-row md:items-center md:gap-10 md:p-10 lg:gap-16 lg:p-16 xl:mx-auto xl:max-w-300";
19
- if (d != null) {
20
- const a = h ? /* @__PURE__ */ l("div", { className: "w-full lg:w-fit", children: s }) : /* @__PURE__ */ l(f, { className: "w-full lg:w-fit", children: s });
21
- return /* @__PURE__ */ l("section", { className: i("max-w-full overflow-x-hidden", c ?? p), children: /* @__PURE__ */ l("div", { className: i("bg-law-genius-section mx-auto w-full max-w-6xl rounded-3xl px-8 pb-8 pt-16 text-white shadow-[0_25px_80px_rgba(3,42,56,0.35)] sm:px-10 sm:pb-10 sm:pt-16", n), children: /* @__PURE__ */ e("div", { className: "flex w-full flex-col gap-8 lg:gap-10", children: [
22
- /* @__PURE__ */ e("div", { className: "flex flex-col gap-4 text-center text-white", children: [
23
- /* @__PURE__ */ l("h2", { className: "lg:text-super-large text-3xl font-bold lg:leading-tight", children: m }),
24
- /* @__PURE__ */ l(o, { content: r, className: "[&_p]:text-medium [&_p]:text-white/80 [&_p:last-child]:mb-0" })
25
- ] }),
26
- /* @__PURE__ */ e("div", { className: "flex w-full flex-col gap-8 lg:grid lg:grid-cols-[minmax(0,1fr)_minmax(0,1.05fr)] lg:items-stretch lg:gap-10", children: [
27
- /* @__PURE__ */ e("div", { className: "flex min-h-0 flex-col gap-6", children: [
28
- d,
29
- g,
30
- a
31
- ] }),
32
- /* @__PURE__ */ l("div", { className: "relative z-10 mx-auto flex min-h-0 w-full max-w-77 shrink-0 items-center justify-center overflow-hidden rounded-lg md:mx-0 md:max-w-none", children: x })
33
- ] })
34
- ] }) }) });
18
+ const g = "bg-primary-50 px-6 py-10 lg:px-8 lg:py-12 xl:px-0", u = "from-primary-900 via-primary-700 to-primary-900 mx-auto flex flex-col justify-between gap-8 rounded-2xl bg-linear-to-bl p-6 text-white md:flex-row md:items-center md:gap-10 md:p-10 lg:gap-16 lg:p-16 xl:mx-auto xl:max-w-300";
19
+ if (n != null) {
20
+ const a = r.trim().length > 0, p = "[&_p]:text-medium [&_p]:text-white [&_p:last-child]:mb-0", N = w ? /* @__PURE__ */ l("div", { className: "self-start", children: s }) : /* @__PURE__ */ l(f, { className: "self-start", children: s });
21
+ return /* @__PURE__ */ l(
22
+ "section",
23
+ {
24
+ className: m(
25
+ "max-w-full overflow-x-hidden",
26
+ x ?? "bg-neutral-25 md:px-ds-10xl px-6 pt-16 pb-12"
27
+ ),
28
+ children: /* @__PURE__ */ l("div", { className: m("bg-ratafia mx-auto w-full max-w-6xl rounded-2xl px-6 py-12 text-white md:py-ds-4xl md:pl-ds-4xl md:pr-ds-7xl", o), children: /* @__PURE__ */ e("div", { className: "flex w-full flex-col gap-12 md:gap-10", children: [
29
+ /* @__PURE__ */ l("h2", { className: "text-super-large text-center leading-tight font-bold", children: i }),
30
+ /* @__PURE__ */ e("div", { className: "flex flex-col gap-6", children: [
31
+ a && /* @__PURE__ */ l("div", { className: "hidden text-center md:block", children: /* @__PURE__ */ l(d, { content: r, className: p }) }),
32
+ /* @__PURE__ */ e("div", { className: "flex w-full flex-col gap-10 min-[48.0625rem]:flex-row min-[48.0625rem]:items-start", children: [
33
+ /* @__PURE__ */ e("div", { className: "order-2 flex min-w-0 flex-1 flex-col gap-8 min-[48.0625rem]:order-1", children: [
34
+ a && /* @__PURE__ */ l("div", { className: "md:hidden", children: /* @__PURE__ */ l(d, { content: r, className: p }) }),
35
+ /* @__PURE__ */ l("div", { className: "flex w-full flex-col gap-4", children: n }),
36
+ h,
37
+ N
38
+ ] }),
39
+ /* @__PURE__ */ l("div", { className: "relative order-1 mx-auto aspect-[449/550] w-full max-w-[17rem] shrink-0 overflow-hidden rounded-lg min-[48.0625rem]:order-2 min-[48.0625rem]:mx-0 min-[48.0625rem]:w-[calc((100%-2.5rem)/2)] min-[48.0625rem]:max-w-[calc((100%-2.5rem)/2)] xl:w-[449px] xl:max-w-[449px] xl:flex-none [&_img]:size-full [&_img]:object-contain", children: t })
40
+ ] })
41
+ ] })
42
+ ] }) })
43
+ }
44
+ );
35
45
  }
36
- return /* @__PURE__ */ l("section", { className: i("max-w-full overflow-x-hidden", c ?? p), children: /* @__PURE__ */ e("div", { className: i(w, n), children: [
46
+ return /* @__PURE__ */ l("section", { className: m("max-w-full overflow-x-hidden", x ?? g), children: /* @__PURE__ */ e("div", { className: m(u, o), children: [
37
47
  /* @__PURE__ */ e("div", { className: "flex flex-col gap-8", children: [
38
48
  /* @__PURE__ */ e("div", { className: "flex flex-col gap-4", children: [
39
- /* @__PURE__ */ l("h2", { className: "text-super-large leading-tight font-bold", children: m }),
40
- /* @__PURE__ */ l(o, { content: r, className: "[&_p:last-child]:mb-0" })
49
+ /* @__PURE__ */ l("h2", { className: "text-super-large leading-tight font-bold", children: i }),
50
+ /* @__PURE__ */ l(d, { content: r, className: "[&_p:last-child]:mb-0" })
41
51
  ] }),
42
- t.length > 0 && /* @__PURE__ */ l("div", { className: "flex flex-wrap gap-3", children: t.map((a) => /* @__PURE__ */ e(
52
+ c.length > 0 && /* @__PURE__ */ l("div", { className: "flex flex-wrap gap-3", children: c.map((a) => /* @__PURE__ */ e(
43
53
  "span",
44
54
  {
45
55
  className: "bg-primary-50 text-small text-primary-800 flex flex-nowrap gap-1 rounded-md p-1 font-semibold",
@@ -52,9 +62,9 @@ const j = ({
52
62
  )) }),
53
63
  /* @__PURE__ */ l(f, { className: "w-full md:w-fit", children: s })
54
64
  ] }),
55
- /* @__PURE__ */ l("div", { className: "mx-auto w-full max-w-77 md:mx-0 md:min-w-74", children: x })
65
+ /* @__PURE__ */ l("div", { className: "mx-auto w-full max-w-77 md:mx-0 md:min-w-74", children: t })
56
66
  ] }) });
57
67
  };
58
68
  export {
59
- j as RatafiaSection
69
+ C as RatafiaSection
60
70
  };
@@ -1,15 +1,15 @@
1
1
  import { jsx as e } from "react/jsx-runtime";
2
- const a = { w: 1120, h: 816 }, r = "relative aspect-[560/408] w-full overflow-hidden rounded-2xl bg-neutral-100 shadow-[0_25px_60px_rgba(3,42,56,0.15)]", d = "relative w-full overflow-hidden rounded-2xl shadow-[0_25px_60px_rgba(3,42,56,0.15)]", o = ({ empty: l, children: t }) => /* @__PURE__ */ e("div", { className: l ? r : d, "aria-hidden": l ? !0 : void 0, children: l ? null : t }), h = ({ src: l, alt: t }) => l ? /* @__PURE__ */ e(o, { children: /* @__PURE__ */ e(
2
+ const o = { w: 1120, h: 816 }, a = "relative aspect-[560/408] w-full overflow-hidden rounded-2xl bg-neutral-100", d = "relative w-full overflow-hidden rounded-2xl", r = ({ empty: l, children: t }) => /* @__PURE__ */ e("div", { className: l ? a : d, "aria-hidden": l ? !0 : void 0, children: l ? null : t }), n = ({ src: l, alt: t }) => l ? /* @__PURE__ */ e(r, { children: /* @__PURE__ */ e(
3
3
  "img",
4
4
  {
5
5
  src: l,
6
6
  alt: t,
7
- width: a.w,
8
- height: a.h,
7
+ width: o.w,
8
+ height: o.h,
9
9
  className: "h-auto w-full max-w-full object-cover",
10
10
  loading: "lazy"
11
11
  }
12
- ) }) : /* @__PURE__ */ e(o, { empty: !0 });
12
+ ) }) : /* @__PURE__ */ e(r, { empty: !0 });
13
13
  export {
14
- h as StepImageShell
14
+ n as StepImageShell
15
15
  };
@@ -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
@@ -1,20 +1,20 @@
1
- import { jsx as n, jsxs as x } from "react/jsx-runtime";
1
+ import { jsx as r, jsxs as x } from "react/jsx-runtime";
2
2
  import { clsx as c } from "clsx";
3
3
  const t = ({
4
- firstColumn: e,
5
- secondColumn: o,
6
- className: m,
7
- containerClassName: r
8
- }) => /* @__PURE__ */ n("section", { className: m ?? "", children: /* @__PURE__ */ x(
4
+ firstColumn: o,
5
+ secondColumn: e,
6
+ className: l,
7
+ containerClassName: m
8
+ }) => /* @__PURE__ */ r("section", { className: l ?? "", children: /* @__PURE__ */ x(
9
9
  "div",
10
10
  {
11
11
  className: c(
12
- "container mx-auto flex max-w-300 min-w-0 flex-col justify-center px-4 py-10 md:flex-row md:flex-nowrap md:px-8",
13
- r
12
+ "mx-auto flex w-full max-w-300 min-w-0 flex-col justify-center overflow-x-clip px-4 py-10 md:flex-row md:px-8",
13
+ m
14
14
  ),
15
15
  children: [
16
- e,
17
- o
16
+ o,
17
+ e
18
18
  ]
19
19
  }
20
20
  ) });
@@ -0,0 +1 @@
1
+ export { }
@@ -166,7 +166,7 @@ export interface ContactFormFeedbackProps {
166
166
  }
167
167
 
168
168
  export declare interface ContactFormFieldProps {
169
- dataQa: string;
169
+ dataQa?: string;
170
170
  label: string;
171
171
  id: string;
172
172
  name: string;
@@ -675,6 +675,8 @@ export declare interface IntroSectionProps {
675
675
  cta?: LinkWrapper;
676
676
  className?: string;
677
677
  containerClassName?: string;
678
+ firstColumnClassName?: string;
679
+ secondColumnClassName?: string;
678
680
  }
679
681
 
680
682
  export declare const Item: FC<ItemProps>;