@npm_leadtech/legal-contracts-ui 0.165.0 → 0.165.2
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/ContactFormSection.js +31 -31
- package/dist/components/ContinueEditingBanner.d.ts +27 -0
- package/dist/components/ContinueEditingBanner.js +31 -0
- package/dist/components/CookiesBar.js +1 -1
- package/dist/components/CtaSection.d.ts +3 -2
- package/dist/components/CtaSection.js +33 -28
- package/dist/components/HomeTemplate.d.ts +25 -0
- package/dist/components/HomeTemplate.js +29 -25
- package/dist/components/ProductTemplate.js +19 -19
- package/dist/components/Toast.js +3 -3
- package/package.json +5 -1
- package/dist/components/index.d.ts +0 -1332
|
@@ -3,70 +3,70 @@ import { Textarea as b } from "./Textarea.js";
|
|
|
3
3
|
import { Checkbox as v } from "./Checkbox.js";
|
|
4
4
|
import { ClearIcon as y } from "./ClearIcon.js";
|
|
5
5
|
import { DoneIcon as w } from "./DoneIcon.js";
|
|
6
|
-
import { Input as
|
|
6
|
+
import { Input as n } from "./Input.js";
|
|
7
7
|
import { Select as j } from "./Select.js";
|
|
8
|
-
import { Markdown as
|
|
9
|
-
import { InfoIcon as
|
|
8
|
+
import { Markdown as I } from "./Markdown.js";
|
|
9
|
+
import { InfoIcon as S } from "./InfoIcon.js";
|
|
10
10
|
import { Button as o } from "./Button.js";
|
|
11
|
-
import { LinkWrapper as
|
|
12
|
-
const C = () => /* @__PURE__ */ e("div", { role: "status", "aria-live": "polite", className: "mt-6 flex items-center justify-center rounded py-6", children: /* @__PURE__ */ e("div", { className: "border-primary-500 h-[25px] w-[25px] animate-spin rounded-full border-3 border-t-transparent" }) }),
|
|
11
|
+
import { LinkWrapper as k } from "./LinkWrapper.js";
|
|
12
|
+
const C = () => /* @__PURE__ */ e("div", { role: "status", "aria-live": "polite", className: "mt-6 flex items-center justify-center rounded py-6", children: /* @__PURE__ */ e("div", { className: "border-primary-500 h-[25px] w-[25px] animate-spin rounded-full border-3 border-t-transparent" }) }), L = ({ title: r, message: l, cta: i }) => /* @__PURE__ */ t("div", { role: "status", "aria-live": "polite", className: "flex flex-col items-center justify-center gap-8 px-4 py-3", children: [
|
|
13
13
|
/* @__PURE__ */ t("div", { className: "flex flex-col items-center gap-2", children: [
|
|
14
14
|
/* @__PURE__ */ e("div", { className: "bg-error-20 w-fit rounded-full p-3", children: /* @__PURE__ */ e(y, { width: 48, height: 48, fill: "var(--error-500)" }) }),
|
|
15
15
|
/* @__PURE__ */ e("p", { className: "text-big font-bold text-neutral-800", children: r }),
|
|
16
|
-
/* @__PURE__ */ e("p", {
|
|
16
|
+
/* @__PURE__ */ e("p", { className: "text-medium text-neutral-800", children: l })
|
|
17
17
|
] }),
|
|
18
|
-
/* @__PURE__ */ e(o, { ...
|
|
19
|
-
] }),
|
|
18
|
+
/* @__PURE__ */ e(o, { ...i, variant: "primary-green" })
|
|
19
|
+
] }), B = ({ title: r, message: l, cta: i }) => /* @__PURE__ */ t("div", { role: "status", "aria-live": "polite", className: "flex flex-col items-center justify-center gap-8 px-4 py-3", children: [
|
|
20
20
|
/* @__PURE__ */ t("div", { className: "flex flex-col items-center gap-2", children: [
|
|
21
21
|
/* @__PURE__ */ e("div", { className: "bg-primary-100 w-fit rounded-full p-3", children: /* @__PURE__ */ e(w, { width: 48, height: 48, fill: "var(--color-primary-500)" }) }),
|
|
22
22
|
/* @__PURE__ */ e("p", { className: "text-big font-bold text-neutral-800", children: r }),
|
|
23
|
-
/* @__PURE__ */ e("p", {
|
|
23
|
+
/* @__PURE__ */ e("p", { className: "text-medium text-neutral-800", children: l })
|
|
24
24
|
] }),
|
|
25
|
-
/* @__PURE__ */ e(
|
|
25
|
+
/* @__PURE__ */ e(k, { className: "w-fit", children: i })
|
|
26
26
|
] }), G = ({
|
|
27
27
|
title: r,
|
|
28
|
-
subjectOptions:
|
|
29
|
-
fullNameField:
|
|
28
|
+
subjectOptions: l,
|
|
29
|
+
fullNameField: i,
|
|
30
30
|
emailField: m,
|
|
31
31
|
referenceNumberField: d,
|
|
32
32
|
subjectField: p,
|
|
33
33
|
messageField: f,
|
|
34
|
-
privacyField:
|
|
34
|
+
privacyField: s,
|
|
35
35
|
requiredFieldsText: h,
|
|
36
|
-
securityHint:
|
|
37
|
-
status:
|
|
38
|
-
successFeedback:
|
|
39
|
-
errorFeedback:
|
|
40
|
-
onSubmit:
|
|
41
|
-
button:
|
|
36
|
+
securityHint: x,
|
|
37
|
+
status: a = "default",
|
|
38
|
+
successFeedback: u,
|
|
39
|
+
errorFeedback: N,
|
|
40
|
+
onSubmit: g,
|
|
41
|
+
button: c
|
|
42
42
|
}) => /* @__PURE__ */ t("section", { className: "rounded-sm bg-white p-8 shadow-sm", children: [
|
|
43
43
|
/* @__PURE__ */ t("div", { className: "space-y-4", children: [
|
|
44
44
|
/* @__PURE__ */ e("p", { className: "text-big font-bold text-neutral-600", children: r }),
|
|
45
45
|
/* @__PURE__ */ e("div", { className: "h-px w-full bg-neutral-200", "aria-hidden": "true" })
|
|
46
46
|
] }),
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
/* @__PURE__ */ e(
|
|
52
|
-
/* @__PURE__ */ e(
|
|
53
|
-
/* @__PURE__ */ e(
|
|
54
|
-
/* @__PURE__ */ e(j, { ...p, options:
|
|
47
|
+
a === "loading" && /* @__PURE__ */ e(C, {}),
|
|
48
|
+
a === "error" && /* @__PURE__ */ e(L, { ...N }),
|
|
49
|
+
a === "success" && /* @__PURE__ */ e(B, { ...u }),
|
|
50
|
+
a === "default" && /* @__PURE__ */ t("form", { className: "mt-6 flex flex-col gap-6", noValidate: !0, onSubmit: g, children: [
|
|
51
|
+
/* @__PURE__ */ e(n, { ...i, type: "text" }),
|
|
52
|
+
/* @__PURE__ */ e(n, { ...m, type: "email" }),
|
|
53
|
+
/* @__PURE__ */ e(n, { ...d }),
|
|
54
|
+
/* @__PURE__ */ e(j, { ...p, options: l }),
|
|
55
55
|
/* @__PURE__ */ e(b, { ...f }),
|
|
56
56
|
/* @__PURE__ */ e("p", { className: "text-medium text-neutral-600", children: h }),
|
|
57
|
-
/* @__PURE__ */ e(v, { ...
|
|
57
|
+
/* @__PURE__ */ e(v, { ...s, children: /* @__PURE__ */ e(I, { className: "text-medium [&_p:last-child]:mb-0", content: s.label }) }),
|
|
58
58
|
/* @__PURE__ */ t(
|
|
59
59
|
"div",
|
|
60
60
|
{
|
|
61
61
|
id: "security-hint",
|
|
62
62
|
className: "text-small flex items-start gap-2 rounded bg-neutral-50 p-4 text-neutral-600",
|
|
63
63
|
children: [
|
|
64
|
-
/* @__PURE__ */ e(
|
|
65
|
-
/* @__PURE__ */ e("p", { children:
|
|
64
|
+
/* @__PURE__ */ e(S, { width: 24, height: 24, "aria-hidden": "true" }),
|
|
65
|
+
/* @__PURE__ */ e("p", { children: x })
|
|
66
66
|
]
|
|
67
67
|
}
|
|
68
68
|
),
|
|
69
|
-
/* @__PURE__ */ e(o, { ...
|
|
69
|
+
/* @__PURE__ */ e(o, { ...c, className: "w-fit self-center", type: "submit", children: c.children })
|
|
70
70
|
] })
|
|
71
71
|
] });
|
|
72
72
|
export {
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
|
|
3
|
+
export declare const ContinueEditingBanner: FC<ContinueEditingBannerProps>;
|
|
4
|
+
|
|
5
|
+
export declare interface ContinueEditingBannerProps {
|
|
6
|
+
latestApplicationInProgress?: LatestApplication;
|
|
7
|
+
editFormClicked?: (latestApplication: LatestApplication) => void;
|
|
8
|
+
token: string;
|
|
9
|
+
tagLine: string;
|
|
10
|
+
title: string;
|
|
11
|
+
buttonLabel: string;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export declare interface LatestApplication {
|
|
15
|
+
id: string;
|
|
16
|
+
state?: string;
|
|
17
|
+
link: string;
|
|
18
|
+
lastStep?: number;
|
|
19
|
+
continueFromHome?: boolean;
|
|
20
|
+
form: {
|
|
21
|
+
name: string;
|
|
22
|
+
url: string;
|
|
23
|
+
type: string;
|
|
24
|
+
subType?: string;
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as e, jsxs as l } from "react/jsx-runtime";
|
|
3
|
+
import "react";
|
|
4
|
+
import { Button as m } from "./Button.js";
|
|
5
|
+
const u = ({
|
|
6
|
+
latestApplicationInProgress: t,
|
|
7
|
+
editFormClicked: n,
|
|
8
|
+
tagLine: r,
|
|
9
|
+
title: a,
|
|
10
|
+
token: s,
|
|
11
|
+
buttonLabel: i
|
|
12
|
+
}) => t == null || s.length === 0 ? null : /* @__PURE__ */ e("div", { className: "bg-primary-50 px-ds-sm py-0", children: /* @__PURE__ */ l("div", { className: "gap-ds-sm bg-neutral-white p-ds-lg flex flex-col items-center rounded-sm text-center", children: [
|
|
13
|
+
/* @__PURE__ */ l("div", { className: "gap-ds-2xs flex flex-col", children: [
|
|
14
|
+
/* @__PURE__ */ e("span", { className: "font-lora text-large text-primary-800 lg:text-super-large", children: a }),
|
|
15
|
+
/* @__PURE__ */ e("span", { className: "text-medium text-neutral-600", children: r })
|
|
16
|
+
] }),
|
|
17
|
+
/* @__PURE__ */ e(
|
|
18
|
+
m,
|
|
19
|
+
{
|
|
20
|
+
"data-qa": "continue-editing-banner-button",
|
|
21
|
+
className: "lg:w-auto",
|
|
22
|
+
onClick: () => {
|
|
23
|
+
n?.(t);
|
|
24
|
+
},
|
|
25
|
+
children: i
|
|
26
|
+
}
|
|
27
|
+
)
|
|
28
|
+
] }) });
|
|
29
|
+
export {
|
|
30
|
+
u as ContinueEditingBanner
|
|
31
|
+
};
|
|
@@ -2,7 +2,7 @@ import { jsx as t, jsxs as a } from "react/jsx-runtime";
|
|
|
2
2
|
import "react";
|
|
3
3
|
import { Button as m } from "./Button.js";
|
|
4
4
|
import { Markdown as o } from "./Markdown.js";
|
|
5
|
-
const n = ({ policyMessage: e, acceptButton: l }) => /* @__PURE__ */ t("aside", { className: "fixed bottom-0 left-0 z-
|
|
5
|
+
const n = ({ policyMessage: e, acceptButton: l }) => /* @__PURE__ */ t("aside", { className: "fixed bottom-0 left-0 z-9 w-full bg-neutral-900", children: /* @__PURE__ */ a("div", { className: "mx-auto flex w-full flex-col gap-6 p-6 md:flex-row md:items-center md:gap-10 md:py-6 xl:max-w-300 xl:px-0", children: [
|
|
6
6
|
/* @__PURE__ */ t(o, { className: "text-small text-white [&_p:last-child]:mb-0", variant: "cookies", content: e }),
|
|
7
7
|
/* @__PURE__ */ t(m, { variant: "primary-yellow", className: "w-full text-nowrap md:w-fit", ...l })
|
|
8
8
|
] }) });
|
|
@@ -8,10 +8,9 @@ export type ButtonVariant = 'primary-green' | 'primary-darkgreen' | 'primary-yel
|
|
|
8
8
|
export declare const CtaFeatureTag: FC<CtaFeatureTagProps>;
|
|
9
9
|
|
|
10
10
|
export declare interface CtaFeatureTagProps {
|
|
11
|
-
icon:
|
|
11
|
+
icon: string;
|
|
12
12
|
text: string;
|
|
13
13
|
className?: string;
|
|
14
|
-
variant?: 'primary' | 'white';
|
|
15
14
|
}
|
|
16
15
|
|
|
17
16
|
export declare const CtaSample: FC<CtaSampleProps>;
|
|
@@ -34,6 +33,8 @@ export declare interface CtaSectionProps {
|
|
|
34
33
|
childrenClassName?: string;
|
|
35
34
|
}
|
|
36
35
|
|
|
36
|
+
export declare const CtaSummarizedTag: FC<CtaFeatureTagProps>;
|
|
37
|
+
|
|
37
38
|
export type IconPosition = 'left' | 'right' | 'top';
|
|
38
39
|
|
|
39
40
|
export interface LinkWrapperProps {
|
|
@@ -1,48 +1,53 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
title: r,
|
|
1
|
+
import { jsxs as t, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { LinkWrapper as c } from "./LinkWrapper.js";
|
|
3
|
+
const x = ({
|
|
4
|
+
title: a,
|
|
6
5
|
paragraph: l,
|
|
7
|
-
cta:
|
|
8
|
-
children:
|
|
6
|
+
cta: r,
|
|
7
|
+
children: m,
|
|
9
8
|
className: s = "",
|
|
10
|
-
contentClassName:
|
|
9
|
+
contentClassName: i = "",
|
|
11
10
|
childrenClassName: d = "hidden lg:flex"
|
|
12
|
-
}) => /* @__PURE__ */ e("section", { className: `flex w-full justify-center px-6 py-8 md:px-8 md:py-12 ${s}`, children: /* @__PURE__ */
|
|
11
|
+
}) => /* @__PURE__ */ e("section", { className: `flex w-full justify-center px-6 py-8 md:px-8 md:py-12 ${s}`, children: /* @__PURE__ */ t(
|
|
13
12
|
"div",
|
|
14
13
|
{
|
|
15
|
-
className: `bg-primary-50 mx-auto flex w-full max-w-6xl flex-col items-center rounded-[1.25rem] px-8 pt-8 pb-0 md:px-16 md:pt-12 md:pb-0 lg:flex-row lg:items-stretch lg:gap-20 xl:pr-20 xl:pl-16 ${
|
|
14
|
+
className: `bg-primary-50 mx-auto flex w-full max-w-6xl flex-col items-center rounded-[1.25rem] px-8 pt-8 pb-0 md:px-16 md:pt-12 md:pb-0 lg:flex-row lg:items-stretch lg:gap-20 xl:pr-20 xl:pl-16 ${i}`,
|
|
16
15
|
children: [
|
|
17
|
-
/* @__PURE__ */
|
|
18
|
-
/* @__PURE__ */
|
|
19
|
-
/* @__PURE__ */ e("h2", { className: "text-primary-900 text-[28px] leading-[32px] font-bold tracking-tight", children:
|
|
16
|
+
/* @__PURE__ */ t("div", { className: "flex flex-1 flex-col items-start justify-center gap-8 pb-8 md:pb-12 lg:pb-[3rem]", children: [
|
|
17
|
+
/* @__PURE__ */ t("div", { className: "flex flex-col items-start gap-4", children: [
|
|
18
|
+
/* @__PURE__ */ e("h2", { className: "text-primary-900 text-[28px] leading-[32px] font-bold tracking-tight", children: a }),
|
|
20
19
|
!!l && /* @__PURE__ */ e("div", { className: "text-super-medium text-neutral-500", children: l })
|
|
21
20
|
] }),
|
|
22
|
-
/* @__PURE__ */ e(
|
|
21
|
+
/* @__PURE__ */ e(c, { size: "large", variant: "primary-darkgreen", className: "bg-primary-700 px-4 py-2.5", ...r })
|
|
23
22
|
] }),
|
|
24
|
-
!!
|
|
23
|
+
!!m && /* @__PURE__ */ e("div", { className: `w-full justify-center lg:w-auto lg:items-end ${d}`, children: m })
|
|
25
24
|
]
|
|
26
25
|
}
|
|
27
|
-
) }),
|
|
28
|
-
/* @__PURE__ */ e("div", { className: "[&_img]:rounded-t-[0.75rem] [&_img]:shadow-[0px_-2px_6px_0px_rgba(2,55,74,0.15)] md:[&_img]:max-w-[25rem] lg:[&_img]:max-h-[30rem]", children:
|
|
26
|
+
) }), o = ({ image: a, children: l, className: r = "" }) => /* @__PURE__ */ t("div", { className: `relative flex items-end ${r}`, children: [
|
|
27
|
+
/* @__PURE__ */ e("div", { className: "[&_img]:rounded-t-[0.75rem] [&_img]:shadow-[0px_-2px_6px_0px_rgba(2,55,74,0.15)] md:[&_img]:max-w-[25rem] lg:[&_img]:max-h-[30rem]", children: a }),
|
|
29
28
|
l
|
|
30
|
-
] }),
|
|
29
|
+
] }), g = ({ icon: a, text: l, className: r = "" }) => /* @__PURE__ */ t(
|
|
31
30
|
"div",
|
|
32
31
|
{
|
|
33
|
-
className:
|
|
34
|
-
"shadow-small absolute flex items-center justify-center gap-1 rounded-md p-2",
|
|
35
|
-
a === "primary" ? "bg-primary-100" : "bg-primary-800",
|
|
36
|
-
t
|
|
37
|
-
),
|
|
32
|
+
className: `bg-primary-50 border-primary-200 shadow-small absolute flex items-center justify-center gap-1 rounded-md border p-1 ${r}`,
|
|
38
33
|
children: [
|
|
39
|
-
|
|
40
|
-
/* @__PURE__ */ e("span", { className:
|
|
34
|
+
/* @__PURE__ */ e("img", { src: a, alt: "", role: "img", className: "h-4 w-4" }),
|
|
35
|
+
/* @__PURE__ */ e("span", { className: "text-primary-900 text-small font-bold", children: l })
|
|
36
|
+
]
|
|
37
|
+
}
|
|
38
|
+
), f = ({ icon: a, text: l, className: r = "" }) => /* @__PURE__ */ t(
|
|
39
|
+
"div",
|
|
40
|
+
{
|
|
41
|
+
className: `shadow-small absolute flex items-center justify-center gap-1 rounded-md bg-neutral-50 p-2 ${r}`,
|
|
42
|
+
children: [
|
|
43
|
+
/* @__PURE__ */ e("img", { src: a, alt: "", role: "img", className: "h-5 w-5" }),
|
|
44
|
+
/* @__PURE__ */ e("span", { className: "text-small text-primary-500", children: l })
|
|
41
45
|
]
|
|
42
46
|
}
|
|
43
47
|
);
|
|
44
48
|
export {
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
49
|
+
f as CtaFeatureTag,
|
|
50
|
+
o as CtaSample,
|
|
51
|
+
x as CtaSection,
|
|
52
|
+
g as CtaSummarizedTag
|
|
48
53
|
};
|
|
@@ -29,6 +29,15 @@ export interface CategoriesSectionProps {
|
|
|
29
29
|
cta: ReactNode;
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
+
export interface ContinueEditingBannerProps {
|
|
33
|
+
latestApplicationInProgress?: LatestApplication;
|
|
34
|
+
editFormClicked?: (latestApplication: LatestApplication) => void;
|
|
35
|
+
token: string;
|
|
36
|
+
tagLine: string;
|
|
37
|
+
title: string;
|
|
38
|
+
buttonLabel: string;
|
|
39
|
+
}
|
|
40
|
+
|
|
32
41
|
export interface FaqTeaserSectionProps {
|
|
33
42
|
header: SectionHeadingProps;
|
|
34
43
|
questions: {
|
|
@@ -70,6 +79,8 @@ export declare interface HomeTemplateProps {
|
|
|
70
79
|
trust: TrustSectionProps;
|
|
71
80
|
faqTeaser: FaqTeaserSectionProps;
|
|
72
81
|
articles: BlogSectionProps;
|
|
82
|
+
continueEditingBanner?: ContinueEditingBannerProps;
|
|
83
|
+
continueEditingBannerSlot?: ReactNode;
|
|
73
84
|
}
|
|
74
85
|
|
|
75
86
|
export interface ItemProps {
|
|
@@ -82,6 +93,20 @@ export interface ItemProps {
|
|
|
82
93
|
className?: string;
|
|
83
94
|
}
|
|
84
95
|
|
|
96
|
+
export interface LatestApplication {
|
|
97
|
+
id: string;
|
|
98
|
+
state?: string;
|
|
99
|
+
link: string;
|
|
100
|
+
lastStep?: number;
|
|
101
|
+
continueFromHome?: boolean;
|
|
102
|
+
form: {
|
|
103
|
+
name: string;
|
|
104
|
+
url: string;
|
|
105
|
+
type: string;
|
|
106
|
+
subType?: string;
|
|
107
|
+
};
|
|
108
|
+
}
|
|
109
|
+
|
|
85
110
|
export interface LawGeniusSectionProps {
|
|
86
111
|
title: string;
|
|
87
112
|
content: string;
|
|
@@ -1,32 +1,36 @@
|
|
|
1
1
|
import { jsxs as c, jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
3
|
+
import { ContinueEditingBanner as n } from "./ContinueEditingBanner.js";
|
|
4
|
+
import { HeroSection as S } from "./HeroSection.js";
|
|
5
|
+
import { MoreTemplatesSection as x } from "./MoreTemplatesSection.js";
|
|
6
|
+
import { ProcessSection as T } from "./ProcessSection.js";
|
|
7
|
+
import { CategoriesSection as u } from "./CategoriesSection.js";
|
|
8
|
+
import { TrustSection as b } from "./TrustSection.js";
|
|
9
|
+
import { FaqTeaserSection as j } from "./FaqTeaserSection.js";
|
|
10
|
+
import { BlogSection as C } from "./BlogSection.js";
|
|
11
|
+
import { RatafiaSection as H } from "./RatafiaSection.js";
|
|
12
|
+
const w = ({
|
|
13
|
+
hero: e,
|
|
14
|
+
moreTemplates: i,
|
|
15
|
+
process: p,
|
|
15
16
|
categories: r,
|
|
16
|
-
ratafia:
|
|
17
|
-
trust:
|
|
18
|
-
faqTeaser:
|
|
19
|
-
articles:
|
|
17
|
+
ratafia: s,
|
|
18
|
+
trust: f,
|
|
19
|
+
faqTeaser: a,
|
|
20
|
+
articles: l,
|
|
21
|
+
continueEditingBanner: m,
|
|
22
|
+
continueEditingBannerSlot: t
|
|
20
23
|
}) => /* @__PURE__ */ c("main", { className: "flex-1", children: [
|
|
21
|
-
/* @__PURE__ */ o(n, { ...
|
|
22
|
-
/* @__PURE__ */ o(
|
|
23
|
-
/* @__PURE__ */ o(
|
|
24
|
-
|
|
25
|
-
/* @__PURE__ */ o(
|
|
26
|
-
/* @__PURE__ */ o(
|
|
27
|
-
/* @__PURE__ */ o(
|
|
28
|
-
/* @__PURE__ */ o(
|
|
24
|
+
t ?? (m != null && /* @__PURE__ */ o(n, { ...m })),
|
|
25
|
+
/* @__PURE__ */ o(S, { ...e }),
|
|
26
|
+
/* @__PURE__ */ o(x, { ...i }),
|
|
27
|
+
/* @__PURE__ */ o(T, { ...p }),
|
|
28
|
+
r && /* @__PURE__ */ o(u, { ...r }),
|
|
29
|
+
/* @__PURE__ */ o(H, { ...s }),
|
|
30
|
+
/* @__PURE__ */ o(b, { ...f }),
|
|
31
|
+
/* @__PURE__ */ o(j, { ...a }),
|
|
32
|
+
/* @__PURE__ */ o(C, { className: "pt-10 pb-12 lg:pb-14", ...l })
|
|
29
33
|
] });
|
|
30
34
|
export {
|
|
31
|
-
|
|
35
|
+
w as HomeTemplate
|
|
32
36
|
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { jsxs as
|
|
1
|
+
import { jsxs as o, jsx as m } from "react/jsx-runtime";
|
|
2
2
|
import { Jumbotron as u } from "./Jumbotron.js";
|
|
3
3
|
import { JumboDocs as g } from "./JumboDocs.js";
|
|
4
4
|
import { Preform as h } from "./Preform.js";
|
|
5
5
|
import { ProductInfo as N } from "./ProductInfo.js";
|
|
6
6
|
import { BenefitsBar as b } from "./BenefitsBar.js";
|
|
7
|
-
import { Breadcrumb as
|
|
8
|
-
import { TableOfContents as
|
|
7
|
+
import { Breadcrumb as P } from "./Breadcrumb.js";
|
|
8
|
+
import { TableOfContents as v } from "./TableOfContents.js";
|
|
9
9
|
import { ContentItem as B } from "./ContentItem.js";
|
|
10
10
|
import { FaqSection as T } from "./FaqSection.js";
|
|
11
11
|
import { PreviewDownload as k } from "./PreviewDownload.js";
|
|
@@ -14,10 +14,10 @@ import { TryNowSection as F } from "./TryNowSection.js";
|
|
|
14
14
|
import { FreeDocumentModal as I } from "./FreeDocumentModal.js";
|
|
15
15
|
const M = ({
|
|
16
16
|
jumbotron: p,
|
|
17
|
-
jumboDocs:
|
|
17
|
+
jumboDocs: r,
|
|
18
18
|
preform: t,
|
|
19
|
-
productInfo:
|
|
20
|
-
benefitsBar:
|
|
19
|
+
productInfo: f,
|
|
20
|
+
benefitsBar: n,
|
|
21
21
|
breadcrumb: s,
|
|
22
22
|
tableOfContents: c,
|
|
23
23
|
contentItems: x,
|
|
@@ -25,27 +25,27 @@ const M = ({
|
|
|
25
25
|
previewDownload: w,
|
|
26
26
|
previewSection: e,
|
|
27
27
|
tryNowSection: l,
|
|
28
|
-
freeDocModal:
|
|
29
|
-
}) => /* @__PURE__ */
|
|
28
|
+
freeDocModal: i
|
|
29
|
+
}) => /* @__PURE__ */ o("main", { className: "min-w-0 flex-1", children: [
|
|
30
30
|
/* @__PURE__ */ m(u, { ...p }),
|
|
31
|
-
|
|
31
|
+
r && /* @__PURE__ */ m(g, { ...r }),
|
|
32
32
|
t && /* @__PURE__ */ m(h, { ...t }),
|
|
33
|
-
/* @__PURE__ */ m(N, { ...
|
|
34
|
-
/* @__PURE__ */ m(b, { ...
|
|
35
|
-
/* @__PURE__ */ m("section", { className: "px-4 pt-6 pb-10 text-neutral-800 md:px-6 lg:px-8 xl:px-30", children: /* @__PURE__ */
|
|
36
|
-
/* @__PURE__ */ m(
|
|
37
|
-
/* @__PURE__ */
|
|
38
|
-
/* @__PURE__ */
|
|
39
|
-
/* @__PURE__ */ m(
|
|
40
|
-
x.map((
|
|
41
|
-
/* @__PURE__ */ m(T, { ...d
|
|
33
|
+
/* @__PURE__ */ m(N, { ...f }),
|
|
34
|
+
/* @__PURE__ */ m(b, { ...n }),
|
|
35
|
+
/* @__PURE__ */ m("section", { className: "px-4 pt-6 pb-10 text-neutral-800 md:px-6 lg:px-8 xl:px-30", children: /* @__PURE__ */ o("div", { className: "mx-auto flex w-full max-w-300 flex-col gap-6", children: [
|
|
36
|
+
/* @__PURE__ */ m(P, { ...s }),
|
|
37
|
+
/* @__PURE__ */ o("div", { className: "flex w-full min-w-0 items-start md:gap-4 lg:gap-26.5 xl:gap-31", children: [
|
|
38
|
+
/* @__PURE__ */ o("div", { className: "flex w-full max-w-100 min-w-0 flex-col gap-8 lg:max-w-137.5 xl:max-w-172.5", children: [
|
|
39
|
+
/* @__PURE__ */ m(v, { ...c }),
|
|
40
|
+
x.map((a) => /* @__PURE__ */ m(B, { ...a }, a.id)),
|
|
41
|
+
/* @__PURE__ */ m(T, { ...d })
|
|
42
42
|
] }),
|
|
43
43
|
/* @__PURE__ */ m("aside", { className: "sticky top-20 hidden pt-4 md:block", children: /* @__PURE__ */ m(k, { ...w }) })
|
|
44
44
|
] })
|
|
45
45
|
] }) }),
|
|
46
46
|
e && /* @__PURE__ */ m(C, { ...e }),
|
|
47
47
|
l && /* @__PURE__ */ m(F, { ...l }),
|
|
48
|
-
|
|
48
|
+
i && /* @__PURE__ */ m(I, { ...i })
|
|
49
49
|
] });
|
|
50
50
|
export {
|
|
51
51
|
M as ProductTemplate
|
package/dist/components/Toast.js
CHANGED
|
@@ -18,8 +18,8 @@ const u = {
|
|
|
18
18
|
icon: /* @__PURE__ */ e(l, { fill: "white", width: 24, height: 24 }),
|
|
19
19
|
bg: "bg-neutral-500"
|
|
20
20
|
}
|
|
21
|
-
}, v = ({ show: i, title: s, message:
|
|
22
|
-
const [t, n] = h(i), o = u[
|
|
21
|
+
}, v = ({ show: i, title: s, message: c, type: a = "default", onClose: d }) => {
|
|
22
|
+
const [t, n] = h(i), o = u[a];
|
|
23
23
|
i && !t && n(!0);
|
|
24
24
|
const m = () => {
|
|
25
25
|
i || n(!1);
|
|
@@ -37,7 +37,7 @@ const u = {
|
|
|
37
37
|
/* @__PURE__ */ e("div", { className: "shrink-0", children: o.icon }),
|
|
38
38
|
/* @__PURE__ */ r("div", { className: "flex grow flex-col text-sm text-white", children: [
|
|
39
39
|
/* @__PURE__ */ e("p", { className: "font-bold", children: s }),
|
|
40
|
-
/* @__PURE__ */ e("p", {
|
|
40
|
+
/* @__PURE__ */ e("p", { children: c })
|
|
41
41
|
] }),
|
|
42
42
|
/* @__PURE__ */ e("button", { onClick: d, className: "cursor-pointer", children: /* @__PURE__ */ e(p, { fill: "white", className: "h-4 w-4" }) })
|
|
43
43
|
]
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@npm_leadtech/legal-contracts-ui",
|
|
3
|
-
"version": "0.165.
|
|
3
|
+
"version": "0.165.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -294,6 +294,10 @@
|
|
|
294
294
|
"import": "./dist/components/ContentItem.js",
|
|
295
295
|
"types": "./dist/components/ContentItem.d.ts"
|
|
296
296
|
},
|
|
297
|
+
"./components/ContinueEditingBanner": {
|
|
298
|
+
"import": "./dist/components/ContinueEditingBanner.js",
|
|
299
|
+
"types": "./dist/components/ContinueEditingBanner.d.ts"
|
|
300
|
+
},
|
|
297
301
|
"./components/CookiesBar": {
|
|
298
302
|
"import": "./dist/components/CookiesBar.js",
|
|
299
303
|
"types": "./dist/components/CookiesBar.d.ts"
|