@npm_leadtech/legal-contracts-ui 0.97.4 → 0.98.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/components/AboutUsTemplate.d.ts +1 -5
- package/dist/components/AiLegalDocumentReviewerTemplate.d.ts +4 -3
- package/dist/components/AiLegalDocumentReviewerTemplate.js +17 -17
- package/dist/components/CtaSection.d.ts +1 -23
- package/dist/components/CtaSection.js +10 -51
- package/dist/components/ElectronicSignatureTemplate.d.ts +4 -3
- package/dist/components/ElectronicSignatureTemplate.js +14 -14
- package/dist/components/HowItWorksSection.d.ts +1 -0
- package/dist/components/HowItWorksSection.js +32 -19
- package/dist/components/index.d.ts +1166 -0
- package/dist/globals.css +1 -1
- package/package.json +1 -1
|
@@ -42,12 +42,8 @@ export interface ContactUsSectionProps {
|
|
|
42
42
|
|
|
43
43
|
export interface CtaSectionProps {
|
|
44
44
|
title: string;
|
|
45
|
-
paragraph?: ReactNode;
|
|
46
45
|
cta: ButtonProps;
|
|
47
|
-
children
|
|
48
|
-
className?: string;
|
|
49
|
-
contentClassName?: string;
|
|
50
|
-
childrenClassName?: string;
|
|
46
|
+
children: ReactNode;
|
|
51
47
|
}
|
|
52
48
|
|
|
53
49
|
export interface ExpertsSectionProps {
|
|
@@ -5,13 +5,13 @@ export declare const AiLegalDocumentReviewerTemplate: FC<AiLegalDocumentReviewer
|
|
|
5
5
|
|
|
6
6
|
export declare type AiLegalDocumentReviewerTemplateProps = {
|
|
7
7
|
hero: Omit<Hero2SectionProps, 'variant'>;
|
|
8
|
-
howItWorks: HowItWorksSectionProps
|
|
8
|
+
howItWorks: Omit<HowItWorksSectionProps, 'variant'>;
|
|
9
9
|
fastAndSimple: Omit<FastAndSimpleSectionProps, 'variant'>;
|
|
10
10
|
conversion: ConversionSectionProps;
|
|
11
11
|
insights: FeaturesSectionProps;
|
|
12
12
|
trustPilot: ReactNode;
|
|
13
|
-
askQuestions: BannerTagSectionProps
|
|
14
|
-
faq: FaqSectionProps
|
|
13
|
+
askQuestions: Omit<BannerTagSectionProps, 'variant'>;
|
|
14
|
+
faq: Omit<FaqSectionProps, 'className'>;
|
|
15
15
|
toast?: ToastProps;
|
|
16
16
|
};
|
|
17
17
|
|
|
@@ -94,6 +94,7 @@ export interface HowItWorksSectionProps {
|
|
|
94
94
|
title: string;
|
|
95
95
|
description: string;
|
|
96
96
|
steps: HowItWorksStep[];
|
|
97
|
+
variant: 'esign' | 'ratafia';
|
|
97
98
|
}
|
|
98
99
|
|
|
99
100
|
export interface HowItWorksStep {
|
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
import { jsxs as c, jsx as
|
|
1
|
+
import { jsxs as c, jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import { ConversionSection as s } from "./ConversionSection.js";
|
|
3
|
-
import { Hero2Section as
|
|
4
|
-
import { HowItWorksSection as
|
|
3
|
+
import { Hero2Section as f } from "./Hero2Section.js";
|
|
4
|
+
import { HowItWorksSection as x } from "./HowItWorksSection.js";
|
|
5
5
|
import { FastAndSimpleSection as g } from "./FastAndSimpleSection.js";
|
|
6
6
|
import { FeaturesSection as u } from "./FeaturesSection.js";
|
|
7
7
|
import { BannerTagSection as S } from "./BannerTagSection.js";
|
|
8
|
-
import { FaqSection as
|
|
9
|
-
import { Toast as
|
|
8
|
+
import { FaqSection as v } from "./FaqSection.js";
|
|
9
|
+
import { Toast as w } from "./Toast.js";
|
|
10
10
|
const H = ({
|
|
11
11
|
hero: o,
|
|
12
12
|
howItWorks: t,
|
|
13
|
-
fastAndSimple:
|
|
14
|
-
conversion:
|
|
13
|
+
fastAndSimple: i,
|
|
14
|
+
conversion: e,
|
|
15
15
|
insights: m,
|
|
16
16
|
trustPilot: n,
|
|
17
17
|
askQuestions: l,
|
|
18
18
|
faq: p,
|
|
19
|
-
toast:
|
|
19
|
+
toast: r
|
|
20
20
|
}) => /* @__PURE__ */ c("main", { className: "bg-neutral-25 w-full flex-1", children: [
|
|
21
|
-
/* @__PURE__ */
|
|
22
|
-
/* @__PURE__ */
|
|
23
|
-
/* @__PURE__ */
|
|
24
|
-
/* @__PURE__ */
|
|
25
|
-
/* @__PURE__ */
|
|
26
|
-
/* @__PURE__ */
|
|
27
|
-
/* @__PURE__ */
|
|
28
|
-
/* @__PURE__ */
|
|
29
|
-
|
|
21
|
+
/* @__PURE__ */ a(f, { ...o, variant: "ratafia" }),
|
|
22
|
+
/* @__PURE__ */ a(x, { ...t, variant: "ratafia" }),
|
|
23
|
+
/* @__PURE__ */ a(g, { ...i, variant: "ratafia" }),
|
|
24
|
+
/* @__PURE__ */ a(u, { ...m }),
|
|
25
|
+
/* @__PURE__ */ a(s, { ...e }),
|
|
26
|
+
/* @__PURE__ */ a("section", { className: "bg-white px-6 py-8 lg:px-8 lg:py-12 xl:px-0", children: /* @__PURE__ */ a("div", { className: "mx-auto w-full max-w-254 md:h-34", children: n }) }),
|
|
27
|
+
/* @__PURE__ */ a(S, { ...l, variant: "ratafia" }),
|
|
28
|
+
/* @__PURE__ */ a(v, { ...p, className: "mx-auto max-w-250 px-6 py-12 lg:px-8 lg:pb-20 xl:px-0" }),
|
|
29
|
+
r && /* @__PURE__ */ a(w, { ...r })
|
|
30
30
|
] });
|
|
31
31
|
export {
|
|
32
32
|
H as AiLegalDocumentReviewerTemplate
|
|
@@ -13,36 +13,14 @@ export type ButtonSize = 'small' | 'default' | 'large';
|
|
|
13
13
|
|
|
14
14
|
export type ButtonVariant = 'primary-green' | 'primary-darkgreen' | 'primary-yellow' | 'primary-white' | 'secondary-green' | 'secondary-yellow' | 'secondary-red' | 'secondary-black' | 'tertiary-bold' | 'tertiary-thin' | 'tertiary-icon' | 'tertiary-link' | 'icon-black' | 'icon-grey' | 'icon-mobile';
|
|
15
15
|
|
|
16
|
-
export declare const CtaFeatureTag: FC<CtaFeatureTagProps>;
|
|
17
|
-
|
|
18
|
-
export declare interface CtaFeatureTagProps {
|
|
19
|
-
icon: string;
|
|
20
|
-
text: string;
|
|
21
|
-
className?: string;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
export declare const CtaSample: FC<CtaSampleProps>;
|
|
25
|
-
|
|
26
|
-
export declare interface CtaSampleProps {
|
|
27
|
-
image: ReactNode;
|
|
28
|
-
children?: ReactNode;
|
|
29
|
-
className?: string;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
16
|
export declare const CtaSection: FC<CtaSectionProps>;
|
|
33
17
|
|
|
34
18
|
export declare interface CtaSectionProps {
|
|
35
19
|
title: string;
|
|
36
|
-
paragraph?: ReactNode;
|
|
37
20
|
cta: ButtonProps;
|
|
38
|
-
children
|
|
39
|
-
className?: string;
|
|
40
|
-
contentClassName?: string;
|
|
41
|
-
childrenClassName?: string;
|
|
21
|
+
children: ReactNode;
|
|
42
22
|
}
|
|
43
23
|
|
|
44
|
-
export declare const CtaSummarizedTag: FC<CtaFeatureTagProps>;
|
|
45
|
-
|
|
46
24
|
export type IconPosition = 'left' | 'right' | 'top';
|
|
47
25
|
|
|
48
26
|
export type ResponsiveButtonVariant = ButtonVariant | {
|
|
@@ -1,53 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { Button as
|
|
3
|
-
const
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
className:
|
|
9
|
-
|
|
10
|
-
childrenClassName: d = "hidden lg:flex"
|
|
11
|
-
}) => /* @__PURE__ */ e("section", { className: `flex w-full justify-center px-6 py-8 md:px-8 md:py-12 ${m}`, children: /* @__PURE__ */ r(
|
|
12
|
-
"div",
|
|
13
|
-
{
|
|
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}`,
|
|
15
|
-
children: [
|
|
16
|
-
/* @__PURE__ */ r("div", { className: "flex flex-1 flex-col items-start justify-center gap-8 pb-8 md:pb-12 lg:pb-[3rem]", children: [
|
|
17
|
-
/* @__PURE__ */ r("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 }),
|
|
19
|
-
!!l && /* @__PURE__ */ e("div", { className: "text-super-medium text-neutral-500", children: l })
|
|
20
|
-
] }),
|
|
21
|
-
/* @__PURE__ */ e(c, { size: "large", variant: "primary-darkgreen", className: "px-4 py-2.5", ...t })
|
|
22
|
-
] }),
|
|
23
|
-
!!s && /* @__PURE__ */ e("div", { className: `w-full justify-center lg:w-auto lg:items-end ${d}`, children: s })
|
|
24
|
-
]
|
|
25
|
-
}
|
|
26
|
-
) }), o = ({ image: a, children: l, className: t = "" }) => /* @__PURE__ */ r("div", { className: `relative flex items-end ${t}`, 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 }),
|
|
28
|
-
l
|
|
29
|
-
] }), g = ({ icon: a, text: l, className: t = "" }) => /* @__PURE__ */ r(
|
|
30
|
-
"div",
|
|
31
|
-
{
|
|
32
|
-
className: `bg-primary-50 border-primary-200 shadow-small absolute flex items-center justify-center gap-1 rounded-md border p-1 ${t}`,
|
|
33
|
-
children: [
|
|
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
|
-
), u = ({ icon: a, text: l, className: t = "" }) => /* @__PURE__ */ r(
|
|
39
|
-
"div",
|
|
40
|
-
{
|
|
41
|
-
className: `shadow-small absolute flex items-center justify-center gap-1 rounded-md bg-neutral-50 p-2 ${t}`,
|
|
42
|
-
children: [
|
|
43
|
-
/* @__PURE__ */ e("img", { src: a, alt: "", role: "img", className: "h-5 w-5" }),
|
|
44
|
-
/* @__PURE__ */ e("span", { className: "text-small text-neutral-500", children: l })
|
|
45
|
-
]
|
|
46
|
-
}
|
|
47
|
-
);
|
|
1
|
+
import { jsx as e, jsxs as a } from "react/jsx-runtime";
|
|
2
|
+
import { Button as t } from "./Button.js";
|
|
3
|
+
const d = ({ title: r, cta: l, children: s }) => /* @__PURE__ */ e("section", { className: "px-4 py-16", children: /* @__PURE__ */ a("div", { className: "bg-primary-50 mx-auto max-w-6xl rounded-3xl p-10 shadow-sm lg:flex lg:items-center lg:gap-10", children: [
|
|
4
|
+
/* @__PURE__ */ a("div", { className: "flex-1 space-y-6", children: [
|
|
5
|
+
/* @__PURE__ */ e("p", { className: "text-super-large text-primary-900 font-bold", children: r }),
|
|
6
|
+
/* @__PURE__ */ e(t, { size: "large", variant: "primary-darkgreen", ...l })
|
|
7
|
+
] }),
|
|
8
|
+
/* @__PURE__ */ e("div", { className: "mt-10 lg:mt-0", children: /* @__PURE__ */ e("div", { className: "relative rounded-3xl bg-white shadow-lg", children: s }) })
|
|
9
|
+
] }) });
|
|
48
10
|
export {
|
|
49
|
-
|
|
50
|
-
o as CtaSample,
|
|
51
|
-
p as CtaSection,
|
|
52
|
-
g as CtaSummarizedTag
|
|
11
|
+
d as CtaSection
|
|
53
12
|
};
|
|
@@ -18,12 +18,12 @@ export declare const ElectronicSignatureTemplate: FC<ElectronicSignatureTemplate
|
|
|
18
18
|
|
|
19
19
|
export declare interface ElectronicSignatureTemplateProps {
|
|
20
20
|
hero: Omit<Hero2SectionProps, 'variant'>;
|
|
21
|
-
howItWorks: HowItWorksSectionProps
|
|
21
|
+
howItWorks: Omit<HowItWorksSectionProps, 'variant'>;
|
|
22
22
|
fastAndSimple: Omit<FastAndSimpleSectionProps, 'variant'>;
|
|
23
23
|
benefits: FeaturesSectionProps;
|
|
24
24
|
trustPilot: ReactNode;
|
|
25
|
-
signAndSend: BannerTagSectionProps
|
|
26
|
-
faq: FaqSectionProps
|
|
25
|
+
signAndSend: Omit<BannerTagSectionProps, 'variant'>;
|
|
26
|
+
faq: Omit<FaqSectionProps, 'className'>;
|
|
27
27
|
toast?: ToastProps;
|
|
28
28
|
}
|
|
29
29
|
|
|
@@ -87,6 +87,7 @@ export interface HowItWorksSectionProps {
|
|
|
87
87
|
title: string;
|
|
88
88
|
description: string;
|
|
89
89
|
steps: HowItWorksStep[];
|
|
90
|
+
variant: 'esign' | 'ratafia';
|
|
90
91
|
}
|
|
91
92
|
|
|
92
93
|
export interface HowItWorksStep {
|
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
import { jsxs as p, jsx as
|
|
1
|
+
import { jsxs as p, jsx as i } from "react/jsx-runtime";
|
|
2
2
|
import { Hero2Section as s } from "./Hero2Section.js";
|
|
3
3
|
import { HowItWorksSection as c } from "./HowItWorksSection.js";
|
|
4
4
|
import { FastAndSimpleSection as x } from "./FastAndSimpleSection.js";
|
|
5
|
-
import { FeaturesSection as
|
|
6
|
-
import { BannerTagSection as
|
|
5
|
+
import { FeaturesSection as g } from "./FeaturesSection.js";
|
|
6
|
+
import { BannerTagSection as f } from "./BannerTagSection.js";
|
|
7
7
|
import { Toast as S } from "./Toast.js";
|
|
8
8
|
import { FaqSection as u } from "./FaqSection.js";
|
|
9
9
|
const T = ({
|
|
10
|
-
hero:
|
|
10
|
+
hero: o,
|
|
11
11
|
howItWorks: r,
|
|
12
12
|
fastAndSimple: t,
|
|
13
|
-
benefits:
|
|
14
|
-
trustPilot:
|
|
13
|
+
benefits: a,
|
|
14
|
+
trustPilot: m,
|
|
15
15
|
signAndSend: n,
|
|
16
16
|
faq: l,
|
|
17
17
|
toast: e
|
|
18
18
|
}) => /* @__PURE__ */ p("main", { className: "bg-neutral-25 w-full flex-1", children: [
|
|
19
|
-
/* @__PURE__ */
|
|
20
|
-
/* @__PURE__ */
|
|
21
|
-
/* @__PURE__ */
|
|
22
|
-
/* @__PURE__ */
|
|
23
|
-
/* @__PURE__ */
|
|
24
|
-
/* @__PURE__ */
|
|
25
|
-
/* @__PURE__ */
|
|
26
|
-
e && /* @__PURE__ */
|
|
19
|
+
/* @__PURE__ */ i(s, { ...o, variant: "esign" }),
|
|
20
|
+
/* @__PURE__ */ i(c, { ...r, variant: "esign" }),
|
|
21
|
+
/* @__PURE__ */ i(x, { ...t, variant: "esign" }),
|
|
22
|
+
/* @__PURE__ */ i(g, { ...a }),
|
|
23
|
+
/* @__PURE__ */ i("section", { className: "bg-white px-6 py-8 lg:px-8 lg:py-12 xl:px-0", children: /* @__PURE__ */ i("div", { className: "mx-auto w-full max-w-254 md:h-34", children: m }) }),
|
|
24
|
+
/* @__PURE__ */ i(f, { ...n, variant: "esign" }),
|
|
25
|
+
/* @__PURE__ */ i(u, { ...l, className: "mx-auto max-w-250 px-6 py-12 lg:px-8 lg:pb-20 xl:px-0" }),
|
|
26
|
+
e && /* @__PURE__ */ i(S, { ...e })
|
|
27
27
|
] });
|
|
28
28
|
export {
|
|
29
29
|
T as ElectronicSignatureTemplate
|
|
@@ -1,22 +1,35 @@
|
|
|
1
1
|
import { jsx as e, jsxs as l } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
]
|
|
2
|
+
import i from "clsx";
|
|
3
|
+
import { Markdown as m } from "./Markdown.js";
|
|
4
|
+
const f = ({ media: o, title: s, description: a, steps: t, variant: c }) => {
|
|
5
|
+
const d = c === "ratafia";
|
|
6
|
+
return /* @__PURE__ */ e("section", { className: "bg-white", children: /* @__PURE__ */ l("div", { className: "mx-auto flex w-full flex-col gap-8 px-6 py-8 md:gap-12 lg:px-8 lg:py-12 xl:max-w-300 xl:flex-row xl:items-center xl:px-0", children: [
|
|
7
|
+
/* @__PURE__ */ e(
|
|
8
|
+
"div",
|
|
9
|
+
{
|
|
10
|
+
className: i(
|
|
11
|
+
"relative overflow-hidden rounded-md shadow lg:mx-auto xl:shrink-0",
|
|
12
|
+
d ? "order-1" : "order-2 md:order-1"
|
|
13
|
+
),
|
|
14
|
+
children: o
|
|
15
|
+
}
|
|
16
|
+
),
|
|
17
|
+
/* @__PURE__ */ l("div", { className: i("flex flex-col gap-6 text-neutral-800", d ? "order-2" : "order-1 md:order-2"), children: [
|
|
18
|
+
/* @__PURE__ */ e("h2", { className: "text-super-large font-bold", children: s }),
|
|
19
|
+
!!a && /* @__PURE__ */ e(m, { className: "text-medium [&_a]:text-primary-700 [&_p:last-child]:mb-0", content: a }),
|
|
20
|
+
/* @__PURE__ */ e("div", { className: "grid grid-cols-1 gap-4 lg:grid-cols-3 xl:grid-cols-1", children: t.map((r) => /* @__PURE__ */ e("article", { className: "bg-neutral-25 rounded p-6", children: /* @__PURE__ */ l("div", { className: "flex flex-col items-start gap-2", children: [
|
|
21
|
+
/* @__PURE__ */ l("div", { className: "flex justify-center gap-2", children: [
|
|
22
|
+
r.icon,
|
|
23
|
+
/* @__PURE__ */ e("p", { className: "text-medium font-bold", children: r.title })
|
|
24
|
+
] }),
|
|
25
|
+
/* @__PURE__ */ l("p", { className: "text-small", children: [
|
|
26
|
+
r.description,
|
|
27
|
+
" "
|
|
28
|
+
] })
|
|
29
|
+
] }) }, r.id)) })
|
|
30
|
+
] })
|
|
31
|
+
] }) });
|
|
32
|
+
};
|
|
20
33
|
export {
|
|
21
|
-
|
|
34
|
+
f as HowItWorksSection
|
|
22
35
|
};
|