@npm_leadtech/legal-contracts-ui 0.124.5 → 0.124.7
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 +1 -0
- package/dist/components/AiLegalDocumentReviewerTemplate.d.ts +2 -0
- package/dist/components/ContactUsSection.d.ts +1 -0
- package/dist/components/ContactUsSection.js +6 -6
- package/dist/components/ConversionSection.d.ts +2 -0
- package/dist/components/ConversionSection.js +4 -4
- package/dist/components/ElectronicSignatureTemplate.d.ts +1 -0
- package/dist/components/Footer.d.ts +1 -0
- package/dist/components/Footer.js +3 -3
- package/dist/components/Header.d.ts +1 -0
- package/dist/components/Hero2Section.d.ts +1 -0
- package/dist/components/MobileMenu.d.ts +1 -0
- package/dist/components/MobileMenu.js +5 -4
- package/dist/components/PhoneButton.d.ts +2 -1
- package/dist/components/PhoneButton.js +5 -4
- package/dist/components/Preform.d.ts +1 -0
- package/dist/components/PreformMobile.d.ts +1 -0
- package/dist/components/PreformOption.d.ts +1 -0
- package/dist/components/PreformOption.js +3 -2
- package/dist/components/ProductTemplate.d.ts +1 -0
- package/dist/components/UploadZone.d.ts +1 -0
- package/dist/components/UploadZone.js +21 -20
- package/dist/components/index.d.ts +5 -0
- package/package.json +1 -1
|
@@ -32,6 +32,7 @@ export interface ConversionSectionProps {
|
|
|
32
32
|
icon: ReactNode;
|
|
33
33
|
title: string;
|
|
34
34
|
uploadZone: UploadZoneProps;
|
|
35
|
+
dataQa?: string;
|
|
35
36
|
}
|
|
36
37
|
|
|
37
38
|
export interface FaqItemProps {
|
|
@@ -136,5 +137,6 @@ export interface UploadZoneProps {
|
|
|
136
137
|
containerClassName?: string;
|
|
137
138
|
onAddDocument?: () => void;
|
|
138
139
|
onDropDocument?: (e: React.DragEvent<HTMLDivElement>) => void;
|
|
140
|
+
dataQa?: string;
|
|
139
141
|
}
|
|
140
142
|
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { jsx as l, jsxs as r } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
2
|
+
import t from "clsx";
|
|
3
3
|
import { SectionHeading as c } from "./SectionHeading.js";
|
|
4
|
-
const d = ({ header:
|
|
5
|
-
/* @__PURE__ */ l(c, { ...
|
|
6
|
-
/* @__PURE__ */ l("div", { className: "flex flex-col items-center gap-6 sm:flex-row sm:items-start sm:justify-center", children:
|
|
4
|
+
const d = ({ header: s, contactOptions: a }) => a.length === 0 ? null : /* @__PURE__ */ l("section", { className: "bg-neutral-25 px-4 pt-16 pb-20", children: /* @__PURE__ */ r("div", { className: "mx-auto max-w-6xl space-y-10", children: [
|
|
5
|
+
/* @__PURE__ */ l(c, { ...s, className: "px-6" }),
|
|
6
|
+
/* @__PURE__ */ l("div", { className: "flex flex-col items-center gap-6 sm:flex-row sm:items-start sm:justify-center", children: a.map((e) => /* @__PURE__ */ r(
|
|
7
7
|
"article",
|
|
8
8
|
{
|
|
9
|
-
className:
|
|
9
|
+
className: t(
|
|
10
10
|
"relative flex h-36 w-52 flex-col items-center justify-center gap-4 rounded bg-white text-center shadow-sm",
|
|
11
11
|
e.url && 'cursor-pointer [&_a]:before:absolute [&_a]:before:inset-0 [&_a]:before:content-[""]'
|
|
12
12
|
),
|
|
13
13
|
children: [
|
|
14
|
-
e.url && /* @__PURE__ */ l("a", { href: e.url, children: /* @__PURE__ */ l("span", { className: "sr-only", children: e.title }) }),
|
|
14
|
+
e.url && /* @__PURE__ */ l("a", { "data-qa": e.dataQa, href: e.url, children: /* @__PURE__ */ l("span", { className: "sr-only", children: e.title }) }),
|
|
15
15
|
/* @__PURE__ */ l("div", { className: "bg-primary-50 rounded-full p-3", children: e.icon }),
|
|
16
16
|
/* @__PURE__ */ r("div", { className: "flex flex-col items-center justify-center", children: [
|
|
17
17
|
/* @__PURE__ */ l("p", { className: "text-neutral-800", children: e.title }),
|
|
@@ -7,6 +7,7 @@ export declare interface ConversionSectionProps {
|
|
|
7
7
|
icon: ReactNode;
|
|
8
8
|
title: string;
|
|
9
9
|
uploadZone: UploadZoneProps;
|
|
10
|
+
dataQa?: string;
|
|
10
11
|
}
|
|
11
12
|
|
|
12
13
|
export interface UploadZoneProps {
|
|
@@ -17,5 +18,6 @@ export interface UploadZoneProps {
|
|
|
17
18
|
containerClassName?: string;
|
|
18
19
|
onAddDocument?: () => void;
|
|
19
20
|
onDropDocument?: (e: React.DragEvent<HTMLDivElement>) => void;
|
|
21
|
+
dataQa?: string;
|
|
20
22
|
}
|
|
21
23
|
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsx as e, jsxs as l } from "react/jsx-runtime";
|
|
2
|
-
import { UploadZone as
|
|
3
|
-
const
|
|
2
|
+
import { UploadZone as m } from "./UploadZone.js";
|
|
3
|
+
const x = ({ icon: a, title: t, uploadZone: r, dataQa: s }) => /* @__PURE__ */ e("section", { className: "bg-white px-6 py-8 xl:px-0", children: /* @__PURE__ */ l("div", { className: "bg-ratafia mx-auto flex w-full max-w-300 shrink flex-col gap-6 rounded-2xl p-6 md:flex-row md:items-center md:gap-10 md:p-8 lg:pe-10 lg:pl-16 xl:items-start xl:gap-20", children: [
|
|
4
4
|
/* @__PURE__ */ l("div", { className: "flex flex-col gap-4", children: [
|
|
5
5
|
/* @__PURE__ */ e("span", { className: "xl:pt-12", children: a }),
|
|
6
6
|
/* @__PURE__ */ e("h4", { className: "text-super-large md:text-extra-large font-bold text-white", children: t })
|
|
7
7
|
] }),
|
|
8
|
-
/* @__PURE__ */ e(
|
|
8
|
+
/* @__PURE__ */ e(m, { dataQa: s, ...r, containerClassName: "md:min-w-77 lg:min-w-115" })
|
|
9
9
|
] }) });
|
|
10
10
|
export {
|
|
11
|
-
|
|
11
|
+
x as ConversionSection
|
|
12
12
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as l, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
3
|
import { PhoneButton as o } from "./PhoneButton.js";
|
|
4
|
-
import { FooterNav as
|
|
4
|
+
import { FooterNav as h } from "./FooterNav.js";
|
|
5
5
|
const g = ({
|
|
6
6
|
nav: r,
|
|
7
7
|
contactInfo: t,
|
|
@@ -14,13 +14,13 @@ const g = ({
|
|
|
14
14
|
languageSelector: s
|
|
15
15
|
}) => /* @__PURE__ */ l("footer", { className: "text-neutral-25 max-w-full overflow-x-hidden", children: [
|
|
16
16
|
/* @__PURE__ */ e("div", { className: "bg-primary-900", children: /* @__PURE__ */ l("div", { className: "mx-auto flex w-full max-w-300 flex-col items-start gap-8 px-6 py-10 md:grid md:grid-cols-3 lg:flex lg:flex-row lg:justify-between", children: [
|
|
17
|
-
r.map((a) => /* @__PURE__ */ e(
|
|
17
|
+
r.map((a) => /* @__PURE__ */ e(h, { ...a }, a.title)),
|
|
18
18
|
/* @__PURE__ */ l("div", { className: "flex flex-col gap-6 max-sm:w-full md:contents lg:flex", children: [
|
|
19
19
|
/* @__PURE__ */ l("div", { className: "", children: [
|
|
20
20
|
/* @__PURE__ */ e("div", { className: "mb-8 xl:hidden", children: !!s && /* @__PURE__ */ e("div", { className: "language-selector-mobile-container", children: s }) }),
|
|
21
21
|
/* @__PURE__ */ l("div", { children: [
|
|
22
22
|
/* @__PURE__ */ e("p", { className: "text-small hidden font-bold text-white sm:block", children: t.phoneNumber }),
|
|
23
|
-
/* @__PURE__ */ e("div", { className: "mb-2 w-full text-center sm:hidden", children: /* @__PURE__ */ e(o, { phoneNumber: t.phoneNumber }) }),
|
|
23
|
+
/* @__PURE__ */ e("div", { className: "mb-2 w-full text-center sm:hidden", children: /* @__PURE__ */ e(o, { dataQa: t.dataQa, phoneNumber: t.phoneNumber }) }),
|
|
24
24
|
/* @__PURE__ */ l("p", { className: "text-neutral-25 text-medium md:text-small text-center md:text-left", children: [
|
|
25
25
|
t.contactHoursText,
|
|
26
26
|
" ",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as l, jsx as r } from "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
import { SearchBar as
|
|
3
|
+
import { SearchBar as x } from "./SearchBar.js";
|
|
4
4
|
import { CloseIcon as f } from "./CloseIcon.js";
|
|
5
5
|
import { LinkWrapper as h } from "./LinkWrapper.js";
|
|
6
6
|
import { PhoneTalkIcon as b } from "./PhoneTalkIcon.js";
|
|
@@ -12,7 +12,7 @@ const k = ({
|
|
|
12
12
|
searchBarProps: o,
|
|
13
13
|
sections: p = [],
|
|
14
14
|
contactInfo: t,
|
|
15
|
-
closeText:
|
|
15
|
+
closeText: u
|
|
16
16
|
}) => s ? /* @__PURE__ */ l("div", { className: "fixed inset-0 z-50 flex flex-col overflow-y-auto bg-white text-neutral-800 lg:hidden", children: [
|
|
17
17
|
/* @__PURE__ */ l("div", { className: "flex items-center justify-between px-6 py-4", children: [
|
|
18
18
|
c,
|
|
@@ -23,7 +23,7 @@ const k = ({
|
|
|
23
23
|
onClick: m,
|
|
24
24
|
"aria-label": "Close menu",
|
|
25
25
|
children: [
|
|
26
|
-
|
|
26
|
+
u,
|
|
27
27
|
/* @__PURE__ */ r(f, { fill: "var(--color-primary-500)" })
|
|
28
28
|
]
|
|
29
29
|
}
|
|
@@ -32,7 +32,7 @@ const k = ({
|
|
|
32
32
|
/* @__PURE__ */ l("div", { className: "flex flex-1 flex-col pb-6", children: [
|
|
33
33
|
/* @__PURE__ */ l("div", { className: "flex flex-col gap-6 px-6", children: [
|
|
34
34
|
/* @__PURE__ */ r("div", { className: "flex items-center gap-4", children: d }),
|
|
35
|
-
/* @__PURE__ */ r(
|
|
35
|
+
/* @__PURE__ */ r(x, { ...o })
|
|
36
36
|
] }),
|
|
37
37
|
/* @__PURE__ */ r("nav", { className: "flex flex-col gap-0", children: p.map((e, n) => {
|
|
38
38
|
const i = e.icon != null;
|
|
@@ -62,6 +62,7 @@ const k = ({
|
|
|
62
62
|
/* @__PURE__ */ l(
|
|
63
63
|
"a",
|
|
64
64
|
{
|
|
65
|
+
"data-qa": "mobile_menu_contact_phone",
|
|
65
66
|
href: `tel:${t.phoneNumber.replaceAll(" ", "")}`,
|
|
66
67
|
className: "bg-primary-700 flex w-full items-center justify-center gap-2 rounded-md p-3 text-base font-semibold text-white",
|
|
67
68
|
children: [
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { JSX } from 'react/jsx-runtime';
|
|
2
2
|
|
|
3
|
-
export declare const PhoneButton: ({ phoneNumber, className }: PhoneButtonProps) => JSX.Element;
|
|
3
|
+
export declare const PhoneButton: ({ phoneNumber, className, dataQa }: PhoneButtonProps) => JSX.Element;
|
|
4
4
|
|
|
5
5
|
export interface PhoneButtonProps {
|
|
6
6
|
phoneNumber: string;
|
|
7
7
|
className?: string;
|
|
8
|
+
dataQa?: string;
|
|
8
9
|
}
|
|
9
10
|
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { PhoneIcon as
|
|
3
|
-
const h = ({ phoneNumber: t, className: i = "" }) => /* @__PURE__ */
|
|
1
|
+
import { jsxs as r, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { PhoneIcon as o } from "./PhoneIcon.js";
|
|
3
|
+
const h = ({ phoneNumber: t, className: i = "", dataQa: n }) => /* @__PURE__ */ r(
|
|
4
4
|
"a",
|
|
5
5
|
{
|
|
6
|
+
"data-qa": n,
|
|
6
7
|
href: `tel:${t}`,
|
|
7
8
|
className: `bg-primary-700 inline-flex w-full items-center justify-center gap-2 rounded py-2.75 text-[16px] font-bold text-white ${i}`,
|
|
8
9
|
children: [
|
|
9
|
-
/* @__PURE__ */ e(
|
|
10
|
+
/* @__PURE__ */ e(o, { fill: "white", width: 20, height: 20 }),
|
|
10
11
|
/* @__PURE__ */ e("span", { children: t })
|
|
11
12
|
]
|
|
12
13
|
}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { jsxs as i, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
const
|
|
3
|
+
const d = ({ value: o, label: l, selected: r, icon: n, onClick: t, dataQa: a }) => /* @__PURE__ */ i(
|
|
4
4
|
"button",
|
|
5
5
|
{
|
|
6
|
+
"data-qa": a,
|
|
6
7
|
className: `group flex w-full cursor-pointer items-center gap-2 rounded border-2 p-2 hover:bg-neutral-50 sm:flex-col sm:p-4 ${r ? "border-primary-900" : "border-neutral-200"}`,
|
|
7
8
|
onClick: () => {
|
|
8
9
|
t?.(o);
|
|
@@ -20,5 +21,5 @@ const m = ({ value: o, label: l, selected: r, icon: n, onClick: t }) => /* @__PU
|
|
|
20
21
|
}
|
|
21
22
|
);
|
|
22
23
|
export {
|
|
23
|
-
|
|
24
|
+
d as PreformOption
|
|
24
25
|
};
|
|
@@ -1,18 +1,19 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { jsxs as
|
|
3
|
-
import { AddIcon as
|
|
4
|
-
import
|
|
5
|
-
import { Button as
|
|
6
|
-
import { Markdown as
|
|
7
|
-
const
|
|
8
|
-
uploadPromptText:
|
|
2
|
+
import { jsxs as a, jsx as t } from "react/jsx-runtime";
|
|
3
|
+
import { AddIcon as x } from "./AddIcon.js";
|
|
4
|
+
import c from "clsx";
|
|
5
|
+
import { Button as d } from "./Button.js";
|
|
6
|
+
import { Markdown as u } from "./Markdown.js";
|
|
7
|
+
const b = ({
|
|
8
|
+
uploadPromptText: r,
|
|
9
9
|
addDocumentLabel: n,
|
|
10
10
|
fileSizeText: o,
|
|
11
11
|
disclaimer: i,
|
|
12
|
-
onAddDocument:
|
|
12
|
+
onAddDocument: l,
|
|
13
13
|
onDropDocument: m,
|
|
14
|
-
containerClassName: s = ""
|
|
15
|
-
|
|
14
|
+
containerClassName: s = "",
|
|
15
|
+
dataQa: p
|
|
16
|
+
}) => /* @__PURE__ */ a(
|
|
16
17
|
"div",
|
|
17
18
|
{
|
|
18
19
|
onDragOver: (e) => {
|
|
@@ -24,28 +25,28 @@ const N = ({
|
|
|
24
25
|
onDrop: (e) => {
|
|
25
26
|
e.preventDefault(), m?.(e);
|
|
26
27
|
},
|
|
27
|
-
className:
|
|
28
|
+
className: c(
|
|
28
29
|
"group rounded-3xl bg-neutral-200/50 p-4 backdrop-blur-xs md:max-w-80 lg:max-w-120 xl:max-w-140",
|
|
29
30
|
s
|
|
30
31
|
),
|
|
31
32
|
children: [
|
|
32
|
-
/* @__PURE__ */ t("input", { type: "file", id: "file-upload", className: "sr-only", onChange:
|
|
33
|
-
/* @__PURE__ */
|
|
34
|
-
/* @__PURE__ */
|
|
35
|
-
/* @__PURE__ */ t("p", { className: "text-medium text-neutral-400 transition-all duration-500 group-hover:text-neutral-900", children:
|
|
36
|
-
/* @__PURE__ */
|
|
37
|
-
/* @__PURE__ */ t(
|
|
33
|
+
/* @__PURE__ */ t("input", { type: "file", id: "file-upload", className: "sr-only", onChange: l, multiple: !0 }),
|
|
34
|
+
/* @__PURE__ */ a("div", { className: "flex flex-col gap-14 rounded-2xl bg-white px-6 pt-14 pb-2 text-center", children: [
|
|
35
|
+
/* @__PURE__ */ a("div", { className: "flex flex-col items-center gap-10", children: [
|
|
36
|
+
/* @__PURE__ */ t("p", { className: "text-medium text-neutral-400 transition-all duration-500 group-hover:text-neutral-900", children: r }),
|
|
37
|
+
/* @__PURE__ */ a(d, { "data-qa": p, variant: "primary-green", className: "w-fit", onClick: l, children: [
|
|
38
|
+
/* @__PURE__ */ t(x, {}),
|
|
38
39
|
/* @__PURE__ */ t("span", { className: "text-medium font-bold", children: n })
|
|
39
40
|
] })
|
|
40
41
|
] }),
|
|
41
|
-
/* @__PURE__ */
|
|
42
|
+
/* @__PURE__ */ a("div", { className: "flex flex-col gap-2", children: [
|
|
42
43
|
/* @__PURE__ */ t("p", { className: "text-extra-small text-neutral-400", children: o }),
|
|
43
|
-
/* @__PURE__ */ t(
|
|
44
|
+
/* @__PURE__ */ t(u, { className: "text-tiny text-neutral-400 [&_a]:text-neutral-400", content: i })
|
|
44
45
|
] })
|
|
45
46
|
] })
|
|
46
47
|
]
|
|
47
48
|
}
|
|
48
49
|
);
|
|
49
50
|
export {
|
|
50
|
-
|
|
51
|
+
b as UploadZone
|
|
51
52
|
};
|
|
@@ -240,6 +240,7 @@ export declare interface ContactUsSectionProps {
|
|
|
240
240
|
icon: ReactNode;
|
|
241
241
|
helper?: string;
|
|
242
242
|
url?: string;
|
|
243
|
+
dataQa?: string;
|
|
243
244
|
}>;
|
|
244
245
|
}
|
|
245
246
|
|
|
@@ -474,6 +475,7 @@ export declare interface FooterProps {
|
|
|
474
475
|
phoneNumber: string;
|
|
475
476
|
contactHoursText: string;
|
|
476
477
|
contactHours: string;
|
|
478
|
+
dataQa?: string;
|
|
477
479
|
};
|
|
478
480
|
logoGray?: ReactNode;
|
|
479
481
|
socialLinks?: ReactNode[];
|
|
@@ -836,6 +838,7 @@ export declare interface MobileContactInfo {
|
|
|
836
838
|
phoneNumber: string;
|
|
837
839
|
contactHoursLabel?: string;
|
|
838
840
|
contactHours?: string;
|
|
841
|
+
dataQa?: string;
|
|
839
842
|
}
|
|
840
843
|
|
|
841
844
|
export declare const MobileMenu: FC<MobileMenuProps>;
|
|
@@ -946,6 +949,7 @@ export declare interface PreformOptionProps {
|
|
|
946
949
|
label: string;
|
|
947
950
|
value: string;
|
|
948
951
|
alternativeUrl: string | null;
|
|
952
|
+
dataQa?: string;
|
|
949
953
|
icon: ReactNode;
|
|
950
954
|
selected: boolean;
|
|
951
955
|
onClick?: (str: string) => void;
|
|
@@ -1310,6 +1314,7 @@ export interface UploadZoneProps {
|
|
|
1310
1314
|
containerClassName?: string;
|
|
1311
1315
|
onAddDocument?: () => void;
|
|
1312
1316
|
onDropDocument?: (e: React.DragEvent<HTMLDivElement>) => void;
|
|
1317
|
+
dataQa?: string;
|
|
1313
1318
|
}
|
|
1314
1319
|
|
|
1315
1320
|
export declare const UsFlagIcon: React_2.FC<React_2.SVGProps<SVGSVGElement>>;
|