@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.
- package/dist/assets/style/themes.css +1 -0
- package/dist/components/AboutUsTemplate.d.ts +2 -0
- package/dist/components/Blockquote.js +9 -9
- package/dist/components/BlogSection.js +8 -8
- package/dist/components/ContactFormSection.d.ts +1 -1
- package/dist/components/ContactUsTemplate.d.ts +1 -1
- package/dist/components/HeroImageShell.js +7 -7
- package/dist/components/HowItWorksLawGeniusSection.js +8 -8
- package/dist/components/HowItWorksTemplate.d.ts +2 -2
- package/dist/components/HowItWorksTemplate.js +80 -95
- package/dist/components/HowItWorksTemplateTokens.d.ts +3 -5
- package/dist/components/HowItWorksTemplateTokens.js +5 -5
- package/dist/components/IntroSection.d.ts +2 -0
- package/dist/components/IntroSection.js +38 -13
- package/dist/components/LawGeniusImageShell.js +4 -4
- package/dist/components/LawGeniusStepCard.js +1 -1
- package/dist/components/OrderedList.js +9 -9
- package/dist/components/PricingTemplate.d.ts +2 -0
- package/dist/components/ProductInfo.js +11 -12
- package/dist/components/RatafiaSection.js +44 -34
- package/dist/components/StepImageShell.js +5 -5
- package/dist/components/TrustSection.js +1 -1
- package/dist/components/TwoColumnSection.js +10 -10
- package/dist/components/globals.d.ts +1 -0
- package/dist/components/index.d.ts +3 -1
- package/dist/globals.css +1 -328
- package/dist/globals.js +2 -0
- package/package.json +2 -2
|
@@ -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 {
|
|
@@ -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
|
|
4
|
-
import { Markdown as
|
|
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
|
|
7
|
-
title:
|
|
6
|
+
const C = ({
|
|
7
|
+
title: i,
|
|
8
8
|
content: r,
|
|
9
|
-
benefits:
|
|
10
|
-
stepsSlot:
|
|
11
|
-
belowStepsSlot:
|
|
9
|
+
benefits: c = [],
|
|
10
|
+
stepsSlot: n,
|
|
11
|
+
belowStepsSlot: h,
|
|
12
12
|
cta: s,
|
|
13
|
-
image:
|
|
14
|
-
skipCtaWrapper:
|
|
15
|
-
sectionClassName:
|
|
16
|
-
innerClassName:
|
|
13
|
+
image: t,
|
|
14
|
+
skipCtaWrapper: w = !1,
|
|
15
|
+
sectionClassName: x,
|
|
16
|
+
innerClassName: o
|
|
17
17
|
}) => {
|
|
18
|
-
const
|
|
19
|
-
if (
|
|
20
|
-
const a =
|
|
21
|
-
return /* @__PURE__ */ l(
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
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:
|
|
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:
|
|
40
|
-
/* @__PURE__ */ l(
|
|
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
|
-
|
|
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:
|
|
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
|
-
|
|
69
|
+
C as RatafiaSection
|
|
60
70
|
};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
-
const
|
|
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:
|
|
8
|
-
height:
|
|
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(
|
|
12
|
+
) }) : /* @__PURE__ */ e(r, { empty: !0 });
|
|
13
13
|
export {
|
|
14
|
-
|
|
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
|
|
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
|
|
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:
|
|
5
|
-
secondColumn:
|
|
6
|
-
className:
|
|
7
|
-
containerClassName:
|
|
8
|
-
}) => /* @__PURE__ */
|
|
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
|
-
"
|
|
13
|
-
|
|
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
|
-
|
|
17
|
-
|
|
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
|
|
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>;
|