@npm_leadtech/legal-contracts-ui 0.151.0 → 0.152.1
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/components/AboutUsTemplate.d.ts +5 -8
- package/dist/components/Anchor.js +5 -5
- package/dist/components/CtaSection.d.ts +2 -5
- package/dist/components/FaqItem.js +1 -1
- package/dist/components/FaqSection.js +1 -1
- package/dist/components/GuidelinesSection.d.ts +2 -5
- package/dist/components/Input.js +54 -60
- package/dist/components/IntroSection.d.ts +2 -5
- package/dist/components/LinkWrapper.d.ts +3 -3
- package/dist/components/LinkWrapper.js +8 -1
- package/dist/components/Modal.js +41 -41
- package/dist/components/NavMenuItem.js +51 -43
- package/dist/components/PricingTemplate.d.ts +2 -14
- package/dist/components/UploadZone.js +5 -4
- package/dist/components/Video.js +4 -1
- package/dist/components/WeHelpSection.d.ts +2 -5
- package/package.json +1 -17
- package/dist/components/HowItWorksLawGeniusSection.d.ts +0 -16
- package/dist/components/HowItWorksLawGeniusSection.js +0 -41
- package/dist/components/LegalSection.d.ts +0 -9
- package/dist/components/LegalSection.js +0 -5
- package/dist/components/LegalesTemplate.d.ts +0 -20
- package/dist/components/LegalesTemplate.js +0 -10
- package/dist/components/PricingHeroSection.d.ts +0 -13
- package/dist/components/PricingHeroSection.js +0 -21
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { FC } from 'react';
|
|
2
|
-
import { JSX } from 'react/jsx-runtime';
|
|
3
2
|
import { ReactNode } from 'react';
|
|
4
3
|
|
|
5
4
|
export declare const AboutUsTemplate: FC<AboutUsTemplateProps>;
|
|
@@ -38,7 +37,7 @@ export interface ContactUsSectionProps {
|
|
|
38
37
|
export interface CtaSectionProps {
|
|
39
38
|
title: string;
|
|
40
39
|
paragraph?: ReactNode;
|
|
41
|
-
cta:
|
|
40
|
+
cta: LinkWrapperProps;
|
|
42
41
|
children?: ReactNode;
|
|
43
42
|
className?: string;
|
|
44
43
|
contentClassName?: string;
|
|
@@ -65,7 +64,7 @@ export interface GuidelinesSectionProps {
|
|
|
65
64
|
title: string;
|
|
66
65
|
image: ReactNode;
|
|
67
66
|
content: string;
|
|
68
|
-
cta:
|
|
67
|
+
cta: LinkWrapperProps;
|
|
69
68
|
};
|
|
70
69
|
}
|
|
71
70
|
|
|
@@ -74,7 +73,7 @@ export type IconPosition = 'left' | 'right' | 'top';
|
|
|
74
73
|
export interface IntroSectionProps {
|
|
75
74
|
image: ReactNode;
|
|
76
75
|
children: ReactNode;
|
|
77
|
-
cta?:
|
|
76
|
+
cta?: LinkWrapperProps;
|
|
78
77
|
className?: string;
|
|
79
78
|
containerClassName?: string;
|
|
80
79
|
firstColumnClassName?: string;
|
|
@@ -89,7 +88,7 @@ export interface Jumbotron2Props {
|
|
|
89
88
|
variant?: 'default' | 'contact';
|
|
90
89
|
}
|
|
91
90
|
|
|
92
|
-
export interface
|
|
91
|
+
export interface LinkWrapperProps {
|
|
93
92
|
children: ReactNode;
|
|
94
93
|
size?: ButtonSize;
|
|
95
94
|
variant?: ResponsiveButtonVariant;
|
|
@@ -98,8 +97,6 @@ export interface LinkWrapper {
|
|
|
98
97
|
className?: string;
|
|
99
98
|
}
|
|
100
99
|
|
|
101
|
-
declare const LinkWrapper: ({ size, variant, iconPosition, disabled, className, children }: LinkWrapper) => JSX.Element;
|
|
102
|
-
|
|
103
100
|
export interface MissionSectionProps {
|
|
104
101
|
title: string;
|
|
105
102
|
body: string;
|
|
@@ -157,7 +154,7 @@ export interface ValuesSectionProps {
|
|
|
157
154
|
export interface WeHelpSectionProps {
|
|
158
155
|
title: string;
|
|
159
156
|
image: ReactNode;
|
|
160
|
-
cta:
|
|
157
|
+
cta: LinkWrapperProps;
|
|
161
158
|
body: string;
|
|
162
159
|
}
|
|
163
160
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as x } from "react/jsx-runtime";
|
|
2
2
|
import m from "clsx";
|
|
3
|
-
const w = ({ children:
|
|
3
|
+
const w = ({ children: l, variant: o = "default", className: c = "", ...t }) => {
|
|
4
4
|
const e = t.href || "", n = e.toLowerCase(), u = n.startsWith("mailto:"), a = n.startsWith("tel:"), r = "cursor-pointer text-primary-700", i = {
|
|
5
5
|
default: "text-neutral-900 underline",
|
|
6
6
|
legal: r,
|
|
@@ -10,15 +10,15 @@ const w = ({ children: o, variant: l = "default", className: c = "", ...t }) =>
|
|
|
10
10
|
unsubscribe: r,
|
|
11
11
|
cookies: "text-white",
|
|
12
12
|
story: "text-neutral-800 underline"
|
|
13
|
-
}, f = i[
|
|
13
|
+
}, f = i[o] ?? i.default, h = e.startsWith("http"), d = (() => {
|
|
14
14
|
if (!a) return e;
|
|
15
15
|
try {
|
|
16
|
-
return decodeURIComponent(e).
|
|
16
|
+
return decodeURIComponent(e).replaceAll(/\s/g, "");
|
|
17
17
|
} catch {
|
|
18
|
-
return e.
|
|
18
|
+
return e.replaceAll("%20", "").replaceAll(/\s/g, "");
|
|
19
19
|
}
|
|
20
20
|
})(), s = t.target === "_blank" || h && !a && !u ? "_blank" : t.target, g = s === "_blank" ? "noopener noreferrer" : t.rel;
|
|
21
|
-
return /* @__PURE__ */ x("a", { ...t, href: d, className: m(c, f), target: s, rel: g, children:
|
|
21
|
+
return /* @__PURE__ */ x("a", { ...t, href: d, className: m(c, f), target: s, rel: g, children: l });
|
|
22
22
|
};
|
|
23
23
|
export {
|
|
24
24
|
w as Anchor
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { FC } from 'react';
|
|
2
|
-
import { JSX } from 'react/jsx-runtime';
|
|
3
2
|
import { ReactNode } from 'react';
|
|
4
3
|
|
|
5
4
|
export type ButtonSize = 'small' | 'default' | 'large';
|
|
@@ -27,7 +26,7 @@ export declare const CtaSection: FC<CtaSectionProps>;
|
|
|
27
26
|
export declare interface CtaSectionProps {
|
|
28
27
|
title: string;
|
|
29
28
|
paragraph?: ReactNode;
|
|
30
|
-
cta:
|
|
29
|
+
cta: LinkWrapperProps;
|
|
31
30
|
children?: ReactNode;
|
|
32
31
|
className?: string;
|
|
33
32
|
contentClassName?: string;
|
|
@@ -38,7 +37,7 @@ export declare const CtaSummarizedTag: FC<CtaFeatureTagProps>;
|
|
|
38
37
|
|
|
39
38
|
export type IconPosition = 'left' | 'right' | 'top';
|
|
40
39
|
|
|
41
|
-
export interface
|
|
40
|
+
export interface LinkWrapperProps {
|
|
42
41
|
children: ReactNode;
|
|
43
42
|
size?: ButtonSize;
|
|
44
43
|
variant?: ResponsiveButtonVariant;
|
|
@@ -47,8 +46,6 @@ export interface LinkWrapper {
|
|
|
47
46
|
className?: string;
|
|
48
47
|
}
|
|
49
48
|
|
|
50
|
-
declare const LinkWrapper: ({ size, variant, iconPosition, disabled, className, children }: LinkWrapper) => JSX.Element;
|
|
51
|
-
|
|
52
49
|
export type ResponsiveButtonVariant = ButtonVariant | {
|
|
53
50
|
initial?: ButtonVariant;
|
|
54
51
|
sm?: ButtonVariant;
|
|
@@ -12,7 +12,7 @@ const I = ({
|
|
|
12
12
|
variant: m,
|
|
13
13
|
slug: c
|
|
14
14
|
}) => {
|
|
15
|
-
const t = `toggle-${d().
|
|
15
|
+
const t = `toggle-${d().replaceAll(":", "")}`;
|
|
16
16
|
return /* @__PURE__ */ e("div", { id: c, className: "text-medium flex scroll-mt-24 flex-col rounded bg-white p-4 text-neutral-800 shadow", children: /* @__PURE__ */ r(p, { question: /* @__PURE__ */ e("h3", { className: "font-bold", children: n }), children: [
|
|
17
17
|
/* @__PURE__ */ e(h, { content: l, className: "text-medium", variant: m ?? "default" }),
|
|
18
18
|
o && /* @__PURE__ */ r("div", { className: "mt-4 rounded-lg bg-neutral-50 p-6", children: [
|
|
@@ -5,7 +5,7 @@ import { Markdown as i } from "./Markdown.js";
|
|
|
5
5
|
import { FaqItem as x } from "./FaqItem.js";
|
|
6
6
|
const g = ({ title: l, description: o, faqItems: r, className: a = "", variant: c }) => {
|
|
7
7
|
if (r.length === 0) return null;
|
|
8
|
-
const m = l.toLowerCase().
|
|
8
|
+
const m = l.toLowerCase().replaceAll(/\s+/g, "-");
|
|
9
9
|
return /* @__PURE__ */ s("div", { id: m, className: n("flex scroll-mt-24 flex-col gap-2 p-0.5 text-neutral-800", a), children: [
|
|
10
10
|
/* @__PURE__ */ s("div", { className: "mb-4 flex flex-col", children: [
|
|
11
11
|
/* @__PURE__ */ e("h2", { className: "text-super-large font-bold", children: l }),
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { FC } from 'react';
|
|
2
|
-
import { JSX } from 'react/jsx-runtime';
|
|
3
2
|
import { ReactNode } from 'react';
|
|
4
3
|
|
|
5
4
|
export type ButtonSize = 'small' | 'default' | 'large';
|
|
@@ -19,13 +18,13 @@ export declare interface GuidelinesSectionProps {
|
|
|
19
18
|
title: string;
|
|
20
19
|
image: ReactNode;
|
|
21
20
|
content: string;
|
|
22
|
-
cta:
|
|
21
|
+
cta: LinkWrapperProps;
|
|
23
22
|
};
|
|
24
23
|
}
|
|
25
24
|
|
|
26
25
|
export type IconPosition = 'left' | 'right' | 'top';
|
|
27
26
|
|
|
28
|
-
export interface
|
|
27
|
+
export interface LinkWrapperProps {
|
|
29
28
|
children: ReactNode;
|
|
30
29
|
size?: ButtonSize;
|
|
31
30
|
variant?: ResponsiveButtonVariant;
|
|
@@ -34,8 +33,6 @@ export interface LinkWrapper {
|
|
|
34
33
|
className?: string;
|
|
35
34
|
}
|
|
36
35
|
|
|
37
|
-
declare const LinkWrapper: ({ size, variant, iconPosition, disabled, className, children }: LinkWrapper) => JSX.Element;
|
|
38
|
-
|
|
39
36
|
export type ResponsiveButtonVariant = ButtonVariant | {
|
|
40
37
|
initial?: ButtonVariant;
|
|
41
38
|
sm?: ButtonVariant;
|
package/dist/components/Input.js
CHANGED
|
@@ -19,7 +19,7 @@ const z = ({
|
|
|
19
19
|
errorMessage: v,
|
|
20
20
|
...w
|
|
21
21
|
}) => {
|
|
22
|
-
const [n, c] = p(!1), [N,
|
|
22
|
+
const [n, c] = p(!1), [N, r] = p(!1);
|
|
23
23
|
return /* @__PURE__ */ t("div", { className: `flex flex-col gap-2 ${g}`, children: [
|
|
24
24
|
/* @__PURE__ */ t("div", { className: "flex items-center gap-2", children: [
|
|
25
25
|
/* @__PURE__ */ t("label", { htmlFor: l, className: "font-bold text-neutral-800", children: [
|
|
@@ -27,64 +27,58 @@ const z = ({
|
|
|
27
27
|
" ",
|
|
28
28
|
o && /* @__PURE__ */ e("span", { className: "text-neutral-800", children: "*" })
|
|
29
29
|
] }),
|
|
30
|
-
i && /* @__PURE__ */ t(
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
30
|
+
i && /* @__PURE__ */ t("span", { className: "group relative inline-flex", children: [
|
|
31
|
+
/* @__PURE__ */ e(
|
|
32
|
+
"button",
|
|
33
|
+
{
|
|
34
|
+
className: "cursor-pointer rounded-full p-0",
|
|
35
|
+
type: "button",
|
|
36
|
+
"aria-expanded": n,
|
|
37
|
+
onMouseEnter: () => {
|
|
38
|
+
r(!1);
|
|
39
|
+
},
|
|
40
|
+
onClick: () => {
|
|
41
|
+
r(!1), c((a) => !a);
|
|
42
|
+
},
|
|
43
|
+
children: /* @__PURE__ */ e(y, { "aria-hidden": "true" })
|
|
44
|
+
}
|
|
45
|
+
),
|
|
46
|
+
/* @__PURE__ */ t(
|
|
47
|
+
"span",
|
|
48
|
+
{
|
|
49
|
+
className: u(
|
|
50
|
+
"invisible absolute top-6 -left-21 z-10 w-max max-w-60 rounded bg-neutral-800 p-2 transition-opacity lg:max-w-80 xl:-left-15 xl:max-w-112",
|
|
51
|
+
"opacity-0",
|
|
52
|
+
!N && "group-focus-within:visible group-focus-within:opacity-100 group-hover:visible group-hover:opacity-100",
|
|
53
|
+
n && "visible opacity-100"
|
|
49
54
|
),
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
"
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
children:
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
/* @__PURE__ */ e(
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
},
|
|
78
|
-
children: /* @__PURE__ */ e(I, { width: 20, height: 20, fill: "white" })
|
|
79
|
-
}
|
|
80
|
-
)
|
|
81
|
-
] })
|
|
82
|
-
]
|
|
83
|
-
}
|
|
84
|
-
)
|
|
85
|
-
]
|
|
86
|
-
}
|
|
87
|
-
)
|
|
55
|
+
role: "tooltip",
|
|
56
|
+
children: [
|
|
57
|
+
/* @__PURE__ */ e(
|
|
58
|
+
"span",
|
|
59
|
+
{
|
|
60
|
+
className: "absolute -top-1 right-[calc(100%-5.75rem)] h-2 w-2 translate-x-1/2 rotate-45 bg-neutral-800 xl:right-[calc(100%-4.25rem)]",
|
|
61
|
+
"aria-hidden": "true"
|
|
62
|
+
}
|
|
63
|
+
),
|
|
64
|
+
/* @__PURE__ */ t("span", { className: "text-extra-small inline-flex items-center gap-2 px-1 py-2 leading-none font-bold text-white", children: [
|
|
65
|
+
/* @__PURE__ */ e("span", { children: i }),
|
|
66
|
+
/* @__PURE__ */ e(
|
|
67
|
+
"button",
|
|
68
|
+
{
|
|
69
|
+
type: "button",
|
|
70
|
+
className: "cursor-pointer p-0",
|
|
71
|
+
onClick: () => {
|
|
72
|
+
r(!0), c(!1);
|
|
73
|
+
},
|
|
74
|
+
children: /* @__PURE__ */ e(I, { width: 20, height: 20, fill: "white" })
|
|
75
|
+
}
|
|
76
|
+
)
|
|
77
|
+
] })
|
|
78
|
+
]
|
|
79
|
+
}
|
|
80
|
+
)
|
|
81
|
+
] })
|
|
88
82
|
] }),
|
|
89
83
|
/* @__PURE__ */ e(
|
|
90
84
|
"input",
|
|
@@ -99,8 +93,8 @@ const z = ({
|
|
|
99
93
|
"text-small focus-visible:outline-primary-500 w-full rounded border p-3 text-neutral-800 placeholder:text-neutral-600 focus-visible:outline-2",
|
|
100
94
|
s ? "border-error-500 bg-error-25" : "bg-neutral-25 border-neutral-400"
|
|
101
95
|
),
|
|
102
|
-
onChange: (
|
|
103
|
-
b?.(
|
|
96
|
+
onChange: (a) => {
|
|
97
|
+
b?.(a.target.value);
|
|
104
98
|
},
|
|
105
99
|
...w
|
|
106
100
|
}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { FC } from 'react';
|
|
2
|
-
import { JSX } from 'react/jsx-runtime';
|
|
3
2
|
import { ReactNode } from 'react';
|
|
4
3
|
|
|
5
4
|
export type ButtonSize = 'small' | 'default' | 'large';
|
|
@@ -13,14 +12,14 @@ export declare const IntroSection: FC<IntroSectionProps>;
|
|
|
13
12
|
export declare interface IntroSectionProps {
|
|
14
13
|
image: ReactNode;
|
|
15
14
|
children: ReactNode;
|
|
16
|
-
cta?:
|
|
15
|
+
cta?: LinkWrapperProps;
|
|
17
16
|
className?: string;
|
|
18
17
|
containerClassName?: string;
|
|
19
18
|
firstColumnClassName?: string;
|
|
20
19
|
secondColumnClassName?: string;
|
|
21
20
|
}
|
|
22
21
|
|
|
23
|
-
export interface
|
|
22
|
+
export interface LinkWrapperProps {
|
|
24
23
|
children: ReactNode;
|
|
25
24
|
size?: ButtonSize;
|
|
26
25
|
variant?: ResponsiveButtonVariant;
|
|
@@ -29,8 +28,6 @@ export interface LinkWrapper {
|
|
|
29
28
|
className?: string;
|
|
30
29
|
}
|
|
31
30
|
|
|
32
|
-
declare const LinkWrapper: ({ size, variant, iconPosition, disabled, className, children }: LinkWrapper) => JSX.Element;
|
|
33
|
-
|
|
34
31
|
export type ResponsiveButtonVariant = ButtonVariant | {
|
|
35
32
|
initial?: ButtonVariant;
|
|
36
33
|
sm?: ButtonVariant;
|
|
@@ -7,7 +7,9 @@ export type ButtonVariant = 'primary-green' | 'primary-darkgreen' | 'primary-yel
|
|
|
7
7
|
|
|
8
8
|
export type IconPosition = 'left' | 'right' | 'top';
|
|
9
9
|
|
|
10
|
-
export declare
|
|
10
|
+
export declare const LinkWrapper: ({ size, variant, iconPosition, disabled, className, children }: LinkWrapperProps) => JSX.Element;
|
|
11
|
+
|
|
12
|
+
export declare interface LinkWrapperProps {
|
|
11
13
|
children: ReactNode;
|
|
12
14
|
size?: ButtonSize;
|
|
13
15
|
variant?: ResponsiveButtonVariant;
|
|
@@ -16,8 +18,6 @@ export declare interface LinkWrapper {
|
|
|
16
18
|
className?: string;
|
|
17
19
|
}
|
|
18
20
|
|
|
19
|
-
export declare const LinkWrapper: ({ size, variant, iconPosition, disabled, className, children }: LinkWrapper) => JSX.Element;
|
|
20
|
-
|
|
21
21
|
export type ResponsiveButtonVariant = ButtonVariant | {
|
|
22
22
|
initial?: ButtonVariant;
|
|
23
23
|
sm?: ButtonVariant;
|
|
@@ -1,7 +1,14 @@
|
|
|
1
1
|
import { jsx as f } from "react/jsx-runtime";
|
|
2
2
|
import { getButtonClasses as l } from "./Button.utils.js";
|
|
3
3
|
import { clsx as m } from "clsx";
|
|
4
|
-
const b = ({
|
|
4
|
+
const b = ({
|
|
5
|
+
size: e,
|
|
6
|
+
variant: s,
|
|
7
|
+
iconPosition: o,
|
|
8
|
+
disabled: r = !1,
|
|
9
|
+
className: t,
|
|
10
|
+
children: a
|
|
11
|
+
}) => {
|
|
5
12
|
const n = l(e, s, o, r, t);
|
|
6
13
|
return /* @__PURE__ */ f("span", { className: m(n, 'relative [&_a]:before:absolute [&_a]:before:inset-0 [&_a]:before:content-[""]'), children: a });
|
|
7
14
|
};
|
package/dist/components/Modal.js
CHANGED
|
@@ -1,64 +1,64 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { jsxs as
|
|
2
|
+
import { jsxs as t, Fragment as u, jsx as e } from "react/jsx-runtime";
|
|
3
3
|
import { useEffect as m } from "react";
|
|
4
|
-
import { createPortal as
|
|
5
|
-
import { CloseIcon as
|
|
6
|
-
const
|
|
7
|
-
const
|
|
8
|
-
|
|
4
|
+
import { createPortal as f } from "react-dom";
|
|
5
|
+
import { CloseIcon as b } from "./CloseIcon.js";
|
|
6
|
+
const x = ({ trigger: r, children: a, isOpen: o, setIsOpen: l, showClose: s, onTrigger: i }) => {
|
|
7
|
+
const c = () => {
|
|
8
|
+
i?.(), l(!0);
|
|
9
9
|
}, n = () => {
|
|
10
10
|
l(!1);
|
|
11
|
-
}, u = (e) => {
|
|
12
|
-
e.target === e.currentTarget && n();
|
|
13
11
|
};
|
|
14
12
|
return m(() => {
|
|
15
|
-
if (!
|
|
16
|
-
const
|
|
13
|
+
if (!o) return;
|
|
14
|
+
const d = document.body.style.overflow;
|
|
17
15
|
return document.body.style.overflow = "hidden", () => {
|
|
18
|
-
document.body.style.overflow =
|
|
16
|
+
document.body.style.overflow = d;
|
|
19
17
|
};
|
|
20
|
-
}, [
|
|
21
|
-
!!r && /* @__PURE__ */
|
|
18
|
+
}, [o]), /* @__PURE__ */ t(u, { children: [
|
|
19
|
+
!!r && /* @__PURE__ */ e(
|
|
22
20
|
"button",
|
|
23
21
|
{
|
|
24
22
|
type: "button",
|
|
25
23
|
"aria-label": "zoom",
|
|
26
|
-
onClick:
|
|
24
|
+
onClick: c,
|
|
27
25
|
className: "flex w-full cursor-pointer justify-center",
|
|
28
26
|
children: r
|
|
29
27
|
}
|
|
30
28
|
),
|
|
31
|
-
|
|
32
|
-
/* @__PURE__ */
|
|
29
|
+
o && f(
|
|
30
|
+
/* @__PURE__ */ t(
|
|
33
31
|
"div",
|
|
34
32
|
{
|
|
35
33
|
role: "dialog",
|
|
36
34
|
"aria-modal": "true",
|
|
37
|
-
"data-testid": "modal-backdrop",
|
|
38
35
|
className: "bg-primary-900/80 fixed inset-0 z-1001 flex items-center justify-center",
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
36
|
+
children: [
|
|
37
|
+
/* @__PURE__ */ e(
|
|
38
|
+
"button",
|
|
39
|
+
{
|
|
40
|
+
type: "button",
|
|
41
|
+
tabIndex: -1,
|
|
42
|
+
"data-testid": "modal-backdrop",
|
|
43
|
+
className: "absolute inset-0 cursor-default border-none bg-transparent p-0",
|
|
44
|
+
onClick: n,
|
|
45
|
+
"aria-label": "Close modal"
|
|
46
|
+
}
|
|
47
|
+
),
|
|
48
|
+
/* @__PURE__ */ e("div", { className: "pointer-events-none relative flex max-h-screen w-full items-start justify-center overflow-y-auto px-6 py-24", children: /* @__PURE__ */ t("div", { className: "pointer-events-auto relative", children: [
|
|
49
|
+
s && /* @__PURE__ */ e(
|
|
50
|
+
"button",
|
|
51
|
+
{
|
|
52
|
+
type: "button",
|
|
53
|
+
className: "absolute top-4 right-4 z-10 cursor-pointer rounded-full p-2 transition-colors hover:bg-neutral-100 focus:outline-none",
|
|
54
|
+
onClick: n,
|
|
55
|
+
"aria-label": "Close",
|
|
56
|
+
children: /* @__PURE__ */ e(b, {})
|
|
57
|
+
}
|
|
58
|
+
),
|
|
59
|
+
a
|
|
60
|
+
] }) })
|
|
61
|
+
]
|
|
62
62
|
}
|
|
63
63
|
),
|
|
64
64
|
document.body
|
|
@@ -66,5 +66,5 @@ const w = ({ trigger: r, children: i, isOpen: t, setIsOpen: l, showClose: s, onT
|
|
|
66
66
|
] });
|
|
67
67
|
};
|
|
68
68
|
export {
|
|
69
|
-
|
|
69
|
+
x as Modal
|
|
70
70
|
};
|
|
@@ -1,67 +1,75 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { jsxs as
|
|
3
|
-
import { useState as
|
|
4
|
-
import { ChevronDownIcon as
|
|
5
|
-
import { ChevronRightIcon as
|
|
6
|
-
const
|
|
7
|
-
const { hasDropdown:
|
|
2
|
+
import { jsxs as u, jsx as t } from "react/jsx-runtime";
|
|
3
|
+
import { useState as g, useCallback as v, useRef as w, useEffect as x } from "react";
|
|
4
|
+
import { ChevronDownIcon as R } from "./ChevronDownIcon.js";
|
|
5
|
+
import { ChevronRightIcon as D } from "./ChevronRightIcon.js";
|
|
6
|
+
const _ = (l) => {
|
|
7
|
+
const { hasDropdown: C, isNested: I, isOpen: b, onToggle: r, dataQa: N } = l, [k, L] = g(!1), [O, m] = g(null), s = b ?? k, n = v(
|
|
8
8
|
(e) => {
|
|
9
|
-
e ||
|
|
9
|
+
e || m(null), r ? r(e) : L(e);
|
|
10
10
|
},
|
|
11
|
-
[
|
|
12
|
-
),
|
|
13
|
-
|
|
11
|
+
[r]
|
|
12
|
+
), c = w(null);
|
|
13
|
+
x(() => {
|
|
14
14
|
if (!s) return;
|
|
15
|
-
const e = (
|
|
16
|
-
|
|
15
|
+
const e = (d) => {
|
|
16
|
+
c.current && !c.current.contains(d.target) && n(!1);
|
|
17
17
|
};
|
|
18
18
|
return document.addEventListener("mousedown", e), () => {
|
|
19
19
|
document.removeEventListener("mousedown", e);
|
|
20
20
|
};
|
|
21
21
|
}, [s, n]);
|
|
22
|
-
const
|
|
22
|
+
const f = {
|
|
23
23
|
topLevel: {
|
|
24
24
|
liClass: "relative py-2",
|
|
25
25
|
triggerClass: "hover:text-neutral-600",
|
|
26
26
|
dropdownPosition: "top-full left-0",
|
|
27
|
-
Icon:
|
|
27
|
+
Icon: R
|
|
28
28
|
},
|
|
29
29
|
nested: {
|
|
30
30
|
liClass: "relative",
|
|
31
31
|
triggerClass: "p-1 hover:bg-primary-100 w-full rounded min-w-48.5",
|
|
32
32
|
dropdownPosition: "top-0 left-full -mt-4 pl-6",
|
|
33
|
-
Icon:
|
|
33
|
+
Icon: D
|
|
34
34
|
}
|
|
35
|
-
}, o =
|
|
35
|
+
}, o = I ? f.nested : f.topLevel, y = o.Icon, a = v(() => {
|
|
36
36
|
n(!1), l.onItemClick && l.onItemClick();
|
|
37
|
-
},
|
|
37
|
+
}, [l.onItemClick, n]), h = w(null);
|
|
38
|
+
x(() => {
|
|
39
|
+
const e = h.current;
|
|
40
|
+
if (e)
|
|
41
|
+
return e.addEventListener("click", a), () => {
|
|
42
|
+
e.removeEventListener("click", a);
|
|
43
|
+
};
|
|
44
|
+
}, [a]);
|
|
45
|
+
const E = (e) => {
|
|
38
46
|
e.stopPropagation(), n(!s);
|
|
39
|
-
},
|
|
47
|
+
}, M = () => {
|
|
40
48
|
globalThis.window.matchMedia("(hover: hover)").matches && n(!0);
|
|
41
|
-
},
|
|
49
|
+
}, T = () => {
|
|
42
50
|
globalThis.window.matchMedia("(hover: hover)").matches && n(!1);
|
|
43
51
|
};
|
|
44
|
-
if (
|
|
45
|
-
const { dropdownItems: e, label:
|
|
46
|
-
return /* @__PURE__ */
|
|
52
|
+
if (C) {
|
|
53
|
+
const { dropdownItems: e, label: d } = l;
|
|
54
|
+
return /* @__PURE__ */ u(
|
|
47
55
|
"li",
|
|
48
56
|
{
|
|
49
|
-
ref:
|
|
57
|
+
ref: c,
|
|
50
58
|
className: o.liClass,
|
|
51
|
-
onMouseEnter:
|
|
52
|
-
onMouseLeave:
|
|
59
|
+
onMouseEnter: M,
|
|
60
|
+
onMouseLeave: T,
|
|
53
61
|
children: [
|
|
54
|
-
/* @__PURE__ */
|
|
62
|
+
/* @__PURE__ */ u(
|
|
55
63
|
"button",
|
|
56
64
|
{
|
|
57
|
-
"data-qa":
|
|
65
|
+
"data-qa": N,
|
|
58
66
|
className: `text-small flex w-full cursor-pointer items-center justify-between gap-1 text-nowrap text-neutral-800 transition-colors ${o.triggerClass}`,
|
|
59
67
|
"aria-haspopup": "menu",
|
|
60
68
|
"aria-expanded": s,
|
|
61
|
-
onClick:
|
|
69
|
+
onClick: E,
|
|
62
70
|
children: [
|
|
63
|
-
/* @__PURE__ */ t("span", { className: "text-medium", children:
|
|
64
|
-
/* @__PURE__ */ t(
|
|
71
|
+
/* @__PURE__ */ t("span", { className: "text-medium", children: d }),
|
|
72
|
+
/* @__PURE__ */ t(y, { fill: "#000", width: 20, height: 20 })
|
|
65
73
|
]
|
|
66
74
|
}
|
|
67
75
|
),
|
|
@@ -69,18 +77,18 @@ const D = (l) => {
|
|
|
69
77
|
"div",
|
|
70
78
|
{
|
|
71
79
|
className: `absolute z-50 min-w-48 transition-all duration-200 ${o.dropdownPosition} ${s ? "pointer-events-auto opacity-100" : "pointer-events-none opacity-0"}`,
|
|
72
|
-
children: /* @__PURE__ */ t("div", { className: "rounded-md border border-neutral-200 bg-white p-4 shadow-lg", children: /* @__PURE__ */ t("ul", { className: "flex flex-col gap-2", children: e.map((
|
|
73
|
-
|
|
80
|
+
children: /* @__PURE__ */ t("div", { className: "rounded-md border border-neutral-200 bg-white p-4 shadow-lg", children: /* @__PURE__ */ t("ul", { className: "flex flex-col gap-2", children: e.map((i) => /* @__PURE__ */ t(
|
|
81
|
+
_,
|
|
74
82
|
{
|
|
75
|
-
...
|
|
83
|
+
...i,
|
|
76
84
|
isNested: !0,
|
|
77
|
-
onItemClick:
|
|
78
|
-
isOpen:
|
|
79
|
-
onToggle: (
|
|
80
|
-
|
|
85
|
+
onItemClick: a,
|
|
86
|
+
isOpen: O === i.id,
|
|
87
|
+
onToggle: (P) => {
|
|
88
|
+
m(P ? i.id : null);
|
|
81
89
|
}
|
|
82
90
|
},
|
|
83
|
-
|
|
91
|
+
i.id
|
|
84
92
|
)) }) })
|
|
85
93
|
}
|
|
86
94
|
)
|
|
@@ -88,18 +96,18 @@ const D = (l) => {
|
|
|
88
96
|
}
|
|
89
97
|
);
|
|
90
98
|
}
|
|
91
|
-
const { link:
|
|
92
|
-
return /* @__PURE__ */ t("li", { className: o.liClass,
|
|
99
|
+
const { link: $, tag: p, bold: j } = l;
|
|
100
|
+
return /* @__PURE__ */ t("li", { ref: h, className: o.liClass, children: /* @__PURE__ */ u(
|
|
93
101
|
"span",
|
|
94
102
|
{
|
|
95
103
|
className: `text-small relative flex w-full items-center gap-1 text-nowrap text-neutral-800 transition-colors ${o.triggerClass} `,
|
|
96
104
|
children: [
|
|
97
|
-
/* @__PURE__ */ t("span", { className: `text-medium flex-1 ${
|
|
98
|
-
|
|
105
|
+
/* @__PURE__ */ t("span", { className: `text-medium flex-1 ${j ? "font-bold" : ""} [&_a]:after:absolute [&_a]:after:inset-0`, children: $ }),
|
|
106
|
+
p && /* @__PURE__ */ t("span", { className: "bg-secondary-200 text-extra-small flex h-4.5 w-5.25 items-center justify-center rounded align-middle font-bold", children: p })
|
|
99
107
|
]
|
|
100
108
|
}
|
|
101
109
|
) });
|
|
102
110
|
};
|
|
103
111
|
export {
|
|
104
|
-
|
|
112
|
+
_ as NavMenuItem
|
|
105
113
|
};
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { FC } from 'react';
|
|
2
|
-
import { JSX } from 'react/jsx-runtime';
|
|
3
2
|
import { ReactNode } from 'react';
|
|
4
3
|
|
|
5
4
|
export type ButtonSize = 'small' | 'default' | 'large';
|
|
@@ -34,7 +33,7 @@ export type IconPosition = 'left' | 'right' | 'top';
|
|
|
34
33
|
export interface IntroSectionProps {
|
|
35
34
|
image: ReactNode;
|
|
36
35
|
children: ReactNode;
|
|
37
|
-
cta?:
|
|
36
|
+
cta?: LinkWrapperProps;
|
|
38
37
|
className?: string;
|
|
39
38
|
containerClassName?: string;
|
|
40
39
|
firstColumnClassName?: string;
|
|
@@ -49,7 +48,7 @@ export interface Jumbotron2Props {
|
|
|
49
48
|
variant?: 'default' | 'contact';
|
|
50
49
|
}
|
|
51
50
|
|
|
52
|
-
export interface
|
|
51
|
+
export interface LinkWrapperProps {
|
|
53
52
|
children: ReactNode;
|
|
54
53
|
size?: ButtonSize;
|
|
55
54
|
variant?: ResponsiveButtonVariant;
|
|
@@ -58,16 +57,6 @@ export interface LinkWrapper {
|
|
|
58
57
|
className?: string;
|
|
59
58
|
}
|
|
60
59
|
|
|
61
|
-
declare const LinkWrapper: ({ size, variant, iconPosition, disabled, className, children }: LinkWrapper) => JSX.Element;
|
|
62
|
-
|
|
63
|
-
export interface PricingHeroSectionProps {
|
|
64
|
-
eyebrow: string;
|
|
65
|
-
title: string;
|
|
66
|
-
titleClassName?: string;
|
|
67
|
-
image: ReactNode;
|
|
68
|
-
paragraphs: ReactNode[];
|
|
69
|
-
}
|
|
70
|
-
|
|
71
60
|
export interface PricingOfferingItem {
|
|
72
61
|
id: string;
|
|
73
62
|
icon: ReactNode;
|
|
@@ -129,7 +118,6 @@ export declare const PricingTemplate: FC<PricingTemplateProps>;
|
|
|
129
118
|
export declare interface PricingTemplateProps {
|
|
130
119
|
jumbotron: Jumbotron2Props;
|
|
131
120
|
intro: IntroSectionProps;
|
|
132
|
-
hero: PricingHeroSectionProps;
|
|
133
121
|
plans: PricingPlansSectionProps;
|
|
134
122
|
resources: PricingResourcesSectionProps;
|
|
135
123
|
support: PricingSupportTeaserSectionProps;
|
|
@@ -10,12 +10,13 @@ const b = ({
|
|
|
10
10
|
fileSizeText: o,
|
|
11
11
|
disclaimer: i,
|
|
12
12
|
onAddDocument: r,
|
|
13
|
-
onDropDocument:
|
|
14
|
-
containerClassName:
|
|
13
|
+
onDropDocument: s,
|
|
14
|
+
containerClassName: m = "",
|
|
15
15
|
dataQa: p
|
|
16
16
|
}) => /* @__PURE__ */ l(
|
|
17
17
|
"div",
|
|
18
18
|
{
|
|
19
|
+
role: "presentation",
|
|
19
20
|
onDragOver: (e) => {
|
|
20
21
|
e.preventDefault();
|
|
21
22
|
},
|
|
@@ -23,11 +24,11 @@ const b = ({
|
|
|
23
24
|
e.preventDefault();
|
|
24
25
|
},
|
|
25
26
|
onDrop: (e) => {
|
|
26
|
-
e.preventDefault(),
|
|
27
|
+
e.preventDefault(), s?.(e);
|
|
27
28
|
},
|
|
28
29
|
className: c(
|
|
29
30
|
"group rounded-3xl bg-neutral-200/50 p-4 backdrop-blur-xs md:max-w-80 lg:max-w-120 xl:max-w-140",
|
|
30
|
-
|
|
31
|
+
m
|
|
31
32
|
),
|
|
32
33
|
children: [
|
|
33
34
|
/* @__PURE__ */ t("input", { type: "file", id: "file-upload", className: "sr-only", onChange: r, multiple: !0 }),
|
package/dist/components/Video.js
CHANGED
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
-
const r = ({ children: o }) =>
|
|
2
|
+
const r = ({ children: o }) => (
|
|
3
|
+
// eslint-disable-next-line jsx-a11y/media-has-caption
|
|
4
|
+
/* @__PURE__ */ e("video", { className: "my-4 w-full max-w-2xl rounded-lg", controls: !0, children: o })
|
|
5
|
+
);
|
|
3
6
|
export {
|
|
4
7
|
r as Video
|
|
5
8
|
};
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { FC } from 'react';
|
|
2
|
-
import { JSX } from 'react/jsx-runtime';
|
|
3
2
|
import { ReactNode } from 'react';
|
|
4
3
|
|
|
5
4
|
export type ButtonSize = 'small' | 'default' | 'large';
|
|
@@ -8,7 +7,7 @@ export type ButtonVariant = 'primary-green' | 'primary-darkgreen' | 'primary-yel
|
|
|
8
7
|
|
|
9
8
|
export type IconPosition = 'left' | 'right' | 'top';
|
|
10
9
|
|
|
11
|
-
export interface
|
|
10
|
+
export interface LinkWrapperProps {
|
|
12
11
|
children: ReactNode;
|
|
13
12
|
size?: ButtonSize;
|
|
14
13
|
variant?: ResponsiveButtonVariant;
|
|
@@ -17,8 +16,6 @@ export interface LinkWrapper {
|
|
|
17
16
|
className?: string;
|
|
18
17
|
}
|
|
19
18
|
|
|
20
|
-
declare const LinkWrapper: ({ size, variant, iconPosition, disabled, className, children }: LinkWrapper) => JSX.Element;
|
|
21
|
-
|
|
22
19
|
export type ResponsiveButtonVariant = ButtonVariant | {
|
|
23
20
|
initial?: ButtonVariant;
|
|
24
21
|
sm?: ButtonVariant;
|
|
@@ -32,7 +29,7 @@ export declare const WeHelpSection: FC<WeHelpSectionProps>;
|
|
|
32
29
|
export declare interface WeHelpSectionProps {
|
|
33
30
|
title: string;
|
|
34
31
|
image: ReactNode;
|
|
35
|
-
cta:
|
|
32
|
+
cta: LinkWrapperProps;
|
|
36
33
|
body: string;
|
|
37
34
|
}
|
|
38
35
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@npm_leadtech/legal-contracts-ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.152.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -506,10 +506,6 @@
|
|
|
506
506
|
"import": "./dist/components/HeroSection.js",
|
|
507
507
|
"types": "./dist/components/HeroSection.d.ts"
|
|
508
508
|
},
|
|
509
|
-
"./components/HowItWorksLawGeniusSection": {
|
|
510
|
-
"import": "./dist/components/HowItWorksLawGeniusSection.js",
|
|
511
|
-
"types": "./dist/components/HowItWorksLawGeniusSection.d.ts"
|
|
512
|
-
},
|
|
513
509
|
"./components/HowItWorksSection": {
|
|
514
510
|
"import": "./dist/components/HowItWorksSection.js",
|
|
515
511
|
"types": "./dist/components/HowItWorksSection.d.ts"
|
|
@@ -538,10 +534,6 @@
|
|
|
538
534
|
"import": "./dist/components/Jumbotron3.js",
|
|
539
535
|
"types": "./dist/components/Jumbotron3.d.ts"
|
|
540
536
|
},
|
|
541
|
-
"./components/LegalSection": {
|
|
542
|
-
"import": "./dist/components/LegalSection.js",
|
|
543
|
-
"types": "./dist/components/LegalSection.d.ts"
|
|
544
|
-
},
|
|
545
537
|
"./components/MissionSection": {
|
|
546
538
|
"import": "./dist/components/MissionSection.js",
|
|
547
539
|
"types": "./dist/components/MissionSection.d.ts"
|
|
@@ -570,10 +562,6 @@
|
|
|
570
562
|
"import": "./dist/components/PreviewSection.js",
|
|
571
563
|
"types": "./dist/components/PreviewSection.d.ts"
|
|
572
564
|
},
|
|
573
|
-
"./components/PricingHeroSection": {
|
|
574
|
-
"import": "./dist/components/PricingHeroSection.js",
|
|
575
|
-
"types": "./dist/components/PricingHeroSection.d.ts"
|
|
576
|
-
},
|
|
577
565
|
"./components/PricingOfferingsSection": {
|
|
578
566
|
"import": "./dist/components/PricingOfferingsSection.js",
|
|
579
567
|
"types": "./dist/components/PricingOfferingsSection.d.ts"
|
|
@@ -674,10 +662,6 @@
|
|
|
674
662
|
"import": "./dist/components/LegalTemplate.js",
|
|
675
663
|
"types": "./dist/components/LegalTemplate.d.ts"
|
|
676
664
|
},
|
|
677
|
-
"./components/LegalesTemplate": {
|
|
678
|
-
"import": "./dist/components/LegalesTemplate.js",
|
|
679
|
-
"types": "./dist/components/LegalesTemplate.d.ts"
|
|
680
|
-
},
|
|
681
665
|
"./components/NotFoundTemplate": {
|
|
682
666
|
"import": "./dist/components/NotFoundTemplate.js",
|
|
683
667
|
"types": "./dist/components/NotFoundTemplate.d.ts"
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { ReactNode } from 'react';
|
|
3
|
-
|
|
4
|
-
export declare const HowItWorksLawGeniusSection: FC<HowItWorksLawGeniusSectionProps>;
|
|
5
|
-
|
|
6
|
-
export declare interface HowItWorksLawGeniusSectionProps {
|
|
7
|
-
sectionTitle: string;
|
|
8
|
-
contentMarkdown: string;
|
|
9
|
-
descriptionMarkdown: string;
|
|
10
|
-
steps: ReactNode;
|
|
11
|
-
belowStepsMarkdown: string;
|
|
12
|
-
cta: ReactNode;
|
|
13
|
-
imageUrl: string | null;
|
|
14
|
-
imageAlt: string;
|
|
15
|
-
}
|
|
16
|
-
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import { jsx as e, jsxs as l } from "react/jsx-runtime";
|
|
2
|
-
import { howItWorksLawGeniusBelowStepsMarkdownClassName as h } from "./HowItWorksTemplateTokens.js";
|
|
3
|
-
import { LawGeniusImageShell as p } from "./LawGeniusImageShell.js";
|
|
4
|
-
import { Markdown as t } from "./Markdown.js";
|
|
5
|
-
const v = ({
|
|
6
|
-
sectionTitle: s,
|
|
7
|
-
contentMarkdown: r,
|
|
8
|
-
descriptionMarkdown: a,
|
|
9
|
-
steps: m,
|
|
10
|
-
belowStepsMarkdown: i,
|
|
11
|
-
cta: n,
|
|
12
|
-
imageUrl: c,
|
|
13
|
-
imageAlt: x
|
|
14
|
-
}) => {
|
|
15
|
-
const d = a.trim().length > 0, o = i.trim().length > 0;
|
|
16
|
-
return /* @__PURE__ */ e("section", { className: "bg-neutral-25 lg:px-ds-10xl px-6 pt-16 pb-12 sm:px-10", children: /* @__PURE__ */ e("div", { className: "bg-ratafia mx-auto w-full max-w-6xl rounded-3xl px-8 pt-16 pb-8 text-white shadow-[0_25px_80px_rgba(3,42,56,0.35)] sm:px-10 sm:pt-16 sm:pb-10", children: /* @__PURE__ */ l("div", { className: "flex w-full flex-col gap-8 lg:gap-10", children: [
|
|
17
|
-
/* @__PURE__ */ l("div", { className: "flex flex-col gap-4 text-center text-white", children: [
|
|
18
|
-
/* @__PURE__ */ e("h2", { className: "lg:text-super-large text-3xl font-bold lg:leading-tight", children: s }),
|
|
19
|
-
/* @__PURE__ */ e("div", { className: "[&_p]:text-medium [&_p]:text-white/80 [&_p:last-child]:mb-0", children: /* @__PURE__ */ e(t, { variant: "ratafia", content: r }) }),
|
|
20
|
-
d && /* @__PURE__ */ e("div", { className: "[&_p]:text-medium [&_p]:text-white/80 [&_p:last-child]:mb-0", children: /* @__PURE__ */ e(t, { variant: "ratafia", content: a }) })
|
|
21
|
-
] }),
|
|
22
|
-
/* @__PURE__ */ l("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: [
|
|
23
|
-
/* @__PURE__ */ l("div", { className: "flex min-h-0 flex-col gap-6", children: [
|
|
24
|
-
m,
|
|
25
|
-
o && /* @__PURE__ */ e(
|
|
26
|
-
t,
|
|
27
|
-
{
|
|
28
|
-
variant: "ratafia",
|
|
29
|
-
content: i,
|
|
30
|
-
className: h
|
|
31
|
-
}
|
|
32
|
-
),
|
|
33
|
-
/* @__PURE__ */ e("div", { className: "w-full lg:w-fit", children: n })
|
|
34
|
-
] }),
|
|
35
|
-
/* @__PURE__ */ e("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: /* @__PURE__ */ e(p, { src: c, alt: x }) })
|
|
36
|
-
] })
|
|
37
|
-
] }) }) });
|
|
38
|
-
};
|
|
39
|
-
export {
|
|
40
|
-
v as HowItWorksLawGeniusSection
|
|
41
|
-
};
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { jsx as l } from "react/jsx-runtime";
|
|
2
|
-
const o = ({ children: e }) => /* @__PURE__ */ l("section", { className: "px-4 py-10 sm:py-12 lg:py-16", children: /* @__PURE__ */ l("div", { className: "mx-auto flex w-full max-w-5xl flex-col gap-8", children: e }) });
|
|
3
|
-
export {
|
|
4
|
-
o as LegalSection
|
|
5
|
-
};
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { ReactNode } from 'react';
|
|
3
|
-
|
|
4
|
-
export interface Jumbotron3Props {
|
|
5
|
-
title: string;
|
|
6
|
-
domain: string;
|
|
7
|
-
className?: string;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
export declare const LegalesTemplate: FC<LegalesTemplateProps>;
|
|
11
|
-
|
|
12
|
-
export declare interface LegalesTemplateProps {
|
|
13
|
-
jumbotron: Jumbotron3Props;
|
|
14
|
-
legalSection: LegalSectionProps;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
export interface LegalSectionProps {
|
|
18
|
-
children: ReactNode;
|
|
19
|
-
}
|
|
20
|
-
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { jsxs as l, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { LegalSection as t } from "./LegalSection.js";
|
|
3
|
-
import { Jumbotron3 as m } from "./Jumbotron3.js";
|
|
4
|
-
const s = ({ jumbotron: o, legalSection: r }) => /* @__PURE__ */ l("main", { className: "bg-neutral-white flex w-full flex-col", children: [
|
|
5
|
-
/* @__PURE__ */ e(m, { ...o }),
|
|
6
|
-
/* @__PURE__ */ e(t, { ...r })
|
|
7
|
-
] });
|
|
8
|
-
export {
|
|
9
|
-
s as LegalesTemplate
|
|
10
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { ReactNode } from 'react';
|
|
3
|
-
|
|
4
|
-
export declare const PricingHeroSection: FC<PricingHeroSectionProps>;
|
|
5
|
-
|
|
6
|
-
export declare interface PricingHeroSectionProps {
|
|
7
|
-
eyebrow: string;
|
|
8
|
-
title: string;
|
|
9
|
-
titleClassName?: string;
|
|
10
|
-
image: ReactNode;
|
|
11
|
-
paragraphs: ReactNode[];
|
|
12
|
-
}
|
|
13
|
-
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { jsx as e, jsxs as l } from "react/jsx-runtime";
|
|
2
|
-
const m = ({
|
|
3
|
-
eyebrow: a,
|
|
4
|
-
title: t,
|
|
5
|
-
titleClassName: r = "font-lora text-hero text-neutral-800",
|
|
6
|
-
image: c,
|
|
7
|
-
paragraphs: s
|
|
8
|
-
}) => /* @__PURE__ */ e("section", { className: "bg-primary-50 px-6 py-12 md:px-12 lg:px-24 lg:py-16", children: /* @__PURE__ */ l("div", { className: "mx-auto flex max-w-6xl flex-col gap-10", children: [
|
|
9
|
-
/* @__PURE__ */ l("div", { className: "flex flex-col items-center gap-3 text-center", children: [
|
|
10
|
-
/* @__PURE__ */ e("span", { className: "text-small font-bold tracking-[0.2em] text-neutral-600", children: a }),
|
|
11
|
-
/* @__PURE__ */ e("div", { className: "h-px w-24 bg-neutral-200" }),
|
|
12
|
-
/* @__PURE__ */ e("h1", { className: r, children: t })
|
|
13
|
-
] }),
|
|
14
|
-
/* @__PURE__ */ l("div", { className: "flex flex-col gap-8 lg:flex-row", children: [
|
|
15
|
-
/* @__PURE__ */ e("div", { className: "lg:w-1/2", children: c }),
|
|
16
|
-
/* @__PURE__ */ e("div", { className: "text-medium space-y-4 text-neutral-800 lg:w-1/2", children: s.map((i, n) => /* @__PURE__ */ e("p", { children: i }, `hero-paragraph-${n.toString()}`)) })
|
|
17
|
-
] })
|
|
18
|
-
] }) });
|
|
19
|
-
export {
|
|
20
|
-
m as PricingHeroSection
|
|
21
|
-
};
|