@npm_leadtech/legal-contracts-ui 0.89.0 → 0.90.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/AiLegalDocumentReviewerTemplate.d.ts +16 -53
- package/dist/components/AiLegalDocumentReviewerTemplate.js +26 -43
- package/dist/components/BannerTagSection.d.ts +24 -0
- package/dist/components/BannerTagSection.js +29 -0
- package/dist/components/ElectronicSignatureTemplate.d.ts +17 -12
- package/dist/components/ElectronicSignatureTemplate.js +14 -14
- package/dist/components/index.d.ts +21 -43
- package/dist/globals.css +1 -1
- package/package.json +5 -13
- package/dist/components/LawgeniusAskQuestionsSection.d.ts +0 -15
- package/dist/components/LawgeniusAskQuestionsSection.js +0 -32
- package/dist/components/LawgeniusFloatingTagsIllustration.d.ts +0 -18
- package/dist/components/LawgeniusFloatingTagsIllustration.js +0 -20
- package/dist/components/SignAndSendSection.d.ts +0 -19
- package/dist/components/SignAndSendSection.js +0 -61
|
@@ -8,31 +8,24 @@ export declare type AiLegalDocumentReviewerTemplateProps = {
|
|
|
8
8
|
howItWorks: HowItWorksSectionProps;
|
|
9
9
|
fastAndSimple: Omit<FastAndSimpleSectionProps, 'variant'>;
|
|
10
10
|
insights: FeaturesSectionProps;
|
|
11
|
-
signAndSend:
|
|
12
|
-
leadingIcon: ReactNode;
|
|
13
|
-
upload: DocumentReviewUploadCardProps;
|
|
14
|
-
};
|
|
11
|
+
signAndSend: BannerTagSectionProps;
|
|
15
12
|
trustPilot: ReactNode;
|
|
16
|
-
askQuestions:
|
|
17
|
-
illustration: LawgeniusFloatingTagsIllustrationProps;
|
|
18
|
-
};
|
|
13
|
+
askQuestions: BannerTagSectionProps;
|
|
19
14
|
faq: FaqSectionProps;
|
|
20
15
|
};
|
|
21
16
|
|
|
22
|
-
export interface
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
17
|
+
export interface BannerTagSectionProps {
|
|
18
|
+
title: string;
|
|
19
|
+
description: string;
|
|
20
|
+
cta: ReactNode;
|
|
21
|
+
rightImage: ReactNode | null;
|
|
22
|
+
tags: {
|
|
23
|
+
top: TagProps | null;
|
|
24
|
+
middle: TagProps | null;
|
|
25
|
+
bottom: TagProps | null;
|
|
26
|
+
};
|
|
32
27
|
}
|
|
33
28
|
|
|
34
|
-
export type DocumentReviewUploadCardVariant = 'glassOnDark' | 'embeddedOnDark';
|
|
35
|
-
|
|
36
29
|
export interface FaqItemProps {
|
|
37
30
|
question: string;
|
|
38
31
|
answer: string;
|
|
@@ -102,29 +95,6 @@ export interface HowItWorksStep {
|
|
|
102
95
|
icon: ReactNode;
|
|
103
96
|
}
|
|
104
97
|
|
|
105
|
-
export interface LawgeniusAskQuestionsSectionProps {
|
|
106
|
-
title: string;
|
|
107
|
-
description: string;
|
|
108
|
-
paragraphs: string[];
|
|
109
|
-
ctaLabel: string;
|
|
110
|
-
onCtaClick?: () => void;
|
|
111
|
-
illustration: ReactNode;
|
|
112
|
-
className?: string;
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
export interface LawgeniusFloatingTag {
|
|
116
|
-
id: string;
|
|
117
|
-
className: string;
|
|
118
|
-
children: ReactNode;
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
export interface LawgeniusFloatingTagsIllustrationProps {
|
|
122
|
-
imageSrc: string;
|
|
123
|
-
imageAlt: string;
|
|
124
|
-
tags: LawgeniusFloatingTag[];
|
|
125
|
-
className?: string;
|
|
126
|
-
}
|
|
127
|
-
|
|
128
98
|
export interface QuickBenefit {
|
|
129
99
|
id: string;
|
|
130
100
|
title: string;
|
|
@@ -132,18 +102,11 @@ export interface QuickBenefit {
|
|
|
132
102
|
icon: ReactNode;
|
|
133
103
|
}
|
|
134
104
|
|
|
135
|
-
export interface
|
|
105
|
+
export interface TagProps {
|
|
136
106
|
title: string;
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
imageAlt?: string;
|
|
141
|
-
/** When set, replaces the image column (e.g. upload card for Lawgenius) */
|
|
142
|
-
rightColumn?: ReactNode;
|
|
143
|
-
leadingIcon?: ReactNode;
|
|
144
|
-
onCtaClick?: () => void;
|
|
145
|
-
/** `default`: neutral card (e-sign). `lawgeniusDark`: primary-900 rounded panel + light text */
|
|
146
|
-
variant?: 'default' | 'lawgeniusDark';
|
|
107
|
+
icon: ReactNode;
|
|
108
|
+
variant: 'default' | 'highlight' | 'dark';
|
|
109
|
+
className?: string;
|
|
147
110
|
}
|
|
148
111
|
|
|
149
112
|
export interface UploadZoneProps {
|
|
@@ -1,49 +1,32 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
fastAndSimple: i,
|
|
15
|
-
insights: e,
|
|
16
|
-
signAndSend: r,
|
|
1
|
+
import { jsxs as p, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { Hero2Section as f } from "./Hero2Section.js";
|
|
3
|
+
import { HowItWorksSection as x } from "./HowItWorksSection.js";
|
|
4
|
+
import { FastAndSimpleSection as u } from "./FastAndSimpleSection.js";
|
|
5
|
+
import { FeaturesSection as S } from "./FeaturesSection.js";
|
|
6
|
+
import { BannerTagSection as a } from "./BannerTagSection.js";
|
|
7
|
+
import { FaqSection as d } from "./FaqSection.js";
|
|
8
|
+
const y = ({
|
|
9
|
+
hero: o,
|
|
10
|
+
howItWorks: r,
|
|
11
|
+
fastAndSimple: t,
|
|
12
|
+
insights: m,
|
|
13
|
+
signAndSend: i,
|
|
17
14
|
trustPilot: n,
|
|
18
|
-
askQuestions:
|
|
19
|
-
faq:
|
|
15
|
+
askQuestions: l,
|
|
16
|
+
faq: s
|
|
20
17
|
}) => {
|
|
21
|
-
const { ...
|
|
22
|
-
return /* @__PURE__ */
|
|
23
|
-
/* @__PURE__ */
|
|
24
|
-
/* @__PURE__ */
|
|
25
|
-
/* @__PURE__ */
|
|
26
|
-
/* @__PURE__ */
|
|
27
|
-
/* @__PURE__ */
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
variant: "lawgeniusDark",
|
|
32
|
-
leadingIcon: p,
|
|
33
|
-
rightColumn: /* @__PURE__ */ o(x, { ...c, variant: "embeddedOnDark" })
|
|
34
|
-
}
|
|
35
|
-
),
|
|
36
|
-
/* @__PURE__ */ o("div", { className: "w-full max-w-254 md:h-34", children: n }),
|
|
37
|
-
/* @__PURE__ */ o(
|
|
38
|
-
w,
|
|
39
|
-
{
|
|
40
|
-
...f,
|
|
41
|
-
illustration: /* @__PURE__ */ o(S, { ...d })
|
|
42
|
-
}
|
|
43
|
-
),
|
|
44
|
-
/* @__PURE__ */ o("section", { className: "bg-neutral-25 px-6 py-16 sm:px-10 lg:px-32", children: /* @__PURE__ */ o(D, { ...m, className: "mx-auto max-w-6xl space-y-6" }) })
|
|
18
|
+
const { ...c } = o;
|
|
19
|
+
return /* @__PURE__ */ p("main", { className: "flex w-full flex-col", children: [
|
|
20
|
+
/* @__PURE__ */ e(f, { ...c, variant: "ratafia" }),
|
|
21
|
+
/* @__PURE__ */ e(x, { ...r }),
|
|
22
|
+
/* @__PURE__ */ e(u, { ...t, variant: "ratafia" }),
|
|
23
|
+
/* @__PURE__ */ e(S, { ...m }),
|
|
24
|
+
/* @__PURE__ */ e(a, { ...i }),
|
|
25
|
+
/* @__PURE__ */ e("div", { className: "w-full max-w-254 md:h-34", children: n }),
|
|
26
|
+
/* @__PURE__ */ e(a, { ...l }),
|
|
27
|
+
/* @__PURE__ */ e("section", { className: "bg-neutral-25 px-6 py-16 sm:px-10 lg:px-32", children: /* @__PURE__ */ e(d, { ...s, className: "mx-auto max-w-6xl space-y-6" }) })
|
|
45
28
|
] });
|
|
46
29
|
};
|
|
47
30
|
export {
|
|
48
|
-
|
|
31
|
+
y as AiLegalDocumentReviewerTemplate
|
|
49
32
|
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { ReactNode } from 'react';
|
|
3
|
+
|
|
4
|
+
export declare const BannerTagSection: FC<BannerTagSectionProps>;
|
|
5
|
+
|
|
6
|
+
export declare interface BannerTagSectionProps {
|
|
7
|
+
title: string;
|
|
8
|
+
description: string;
|
|
9
|
+
cta: ReactNode;
|
|
10
|
+
rightImage: ReactNode | null;
|
|
11
|
+
tags: {
|
|
12
|
+
top: TagProps | null;
|
|
13
|
+
middle: TagProps | null;
|
|
14
|
+
bottom: TagProps | null;
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export interface TagProps {
|
|
19
|
+
title: string;
|
|
20
|
+
icon: ReactNode;
|
|
21
|
+
variant: 'default' | 'highlight' | 'dark';
|
|
22
|
+
className?: string;
|
|
23
|
+
}
|
|
24
|
+
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { jsx as e, jsxs as t } from "react/jsx-runtime";
|
|
2
|
+
import s from "clsx";
|
|
3
|
+
import { Markdown as n } from "./Markdown.js";
|
|
4
|
+
import { LinkWrapper as m } from "./LinkWrapper.js";
|
|
5
|
+
const d = ({ title: r, icon: a, variant: o, className: i = "" }) => /* @__PURE__ */ t("div", { className: s("text-small flex items-center gap-1 rounded shadow-lg", {
|
|
6
|
+
default: "text-neutral-600 bg-neutral-25 p-2",
|
|
7
|
+
highlight: "text-primary-500 font-bold bg-primary-100 border border-primary-300 p-1",
|
|
8
|
+
dark: "text-white font-bold bg-primary-800 p-2"
|
|
9
|
+
}[o], i), children: [
|
|
10
|
+
a,
|
|
11
|
+
r
|
|
12
|
+
] }), g = ({ title: r, description: a, cta: o, rightImage: i, tags: l }) => /* @__PURE__ */ e("section", { className: "bg-white px-6 py-8 lg:px-8 lg:py-12 xl:px-0", children: /* @__PURE__ */ t("div", { className: "bg-neutral-25 mx-auto flex w-full max-w-298 rounded-2xl p-8 lg:gap-20 lg:px-16 lg:pt-12 lg:pb-0", children: [
|
|
13
|
+
/* @__PURE__ */ t("div", { className: "flex flex-col gap-8 lg:pb-12", children: [
|
|
14
|
+
/* @__PURE__ */ t("div", { className: "flex flex-col gap-4", children: [
|
|
15
|
+
/* @__PURE__ */ e("h3", { className: "text-super-large text-primary-900 font-bold", children: r }),
|
|
16
|
+
/* @__PURE__ */ e(n, { className: "text-medium text-neutral-800 [&_p:last-child]:mb-0", content: a })
|
|
17
|
+
] }),
|
|
18
|
+
/* @__PURE__ */ e(m, { className: "w-fit", variant: "primary-green", children: o })
|
|
19
|
+
] }),
|
|
20
|
+
/* @__PURE__ */ t("div", { className: "relative hidden shrink-0 self-end lg:block", children: [
|
|
21
|
+
/* @__PURE__ */ e("div", { className: "overflow-hidden rounded-t-lg shadow", children: i }),
|
|
22
|
+
l.top && /* @__PURE__ */ e(d, { ...l.top, className: "absolute -top-3 left-20" }),
|
|
23
|
+
l.middle && /* @__PURE__ */ e(d, { ...l.middle, className: "absolute bottom-36 -left-4" }),
|
|
24
|
+
l.bottom && /* @__PURE__ */ e(d, { ...l.bottom, className: "absolute top-19 -right-4" })
|
|
25
|
+
] })
|
|
26
|
+
] }) });
|
|
27
|
+
export {
|
|
28
|
+
g as BannerTagSection
|
|
29
|
+
};
|
|
@@ -1,6 +1,18 @@
|
|
|
1
1
|
import { FC } from 'react';
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
3
|
|
|
4
|
+
export interface BannerTagSectionProps {
|
|
5
|
+
title: string;
|
|
6
|
+
description: string;
|
|
7
|
+
cta: ReactNode;
|
|
8
|
+
rightImage: ReactNode | null;
|
|
9
|
+
tags: {
|
|
10
|
+
top: TagProps | null;
|
|
11
|
+
middle: TagProps | null;
|
|
12
|
+
bottom: TagProps | null;
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
|
|
4
16
|
export declare const ElectronicSignatureTemplate: FC<ElectronicSignatureTemplateProps>;
|
|
5
17
|
|
|
6
18
|
export declare interface ElectronicSignatureTemplateProps {
|
|
@@ -9,7 +21,7 @@ export declare interface ElectronicSignatureTemplateProps {
|
|
|
9
21
|
fastAndSimple: Omit<FastAndSimpleSectionProps, 'variant'>;
|
|
10
22
|
benefits: FeaturesSectionProps;
|
|
11
23
|
trustPilot: ReactNode;
|
|
12
|
-
signAndSend:
|
|
24
|
+
signAndSend: BannerTagSectionProps;
|
|
13
25
|
faq: FaqSectionProps;
|
|
14
26
|
}
|
|
15
27
|
|
|
@@ -89,18 +101,11 @@ export interface QuickBenefit {
|
|
|
89
101
|
icon: ReactNode;
|
|
90
102
|
}
|
|
91
103
|
|
|
92
|
-
export interface
|
|
104
|
+
export interface TagProps {
|
|
93
105
|
title: string;
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
imageAlt?: string;
|
|
98
|
-
/** When set, replaces the image column (e.g. upload card for Lawgenius) */
|
|
99
|
-
rightColumn?: ReactNode;
|
|
100
|
-
leadingIcon?: ReactNode;
|
|
101
|
-
onCtaClick?: () => void;
|
|
102
|
-
/** `default`: neutral card (e-sign). `lawgeniusDark`: primary-900 rounded panel + light text */
|
|
103
|
-
variant?: 'default' | 'lawgeniusDark';
|
|
106
|
+
icon: ReactNode;
|
|
107
|
+
variant: 'default' | 'highlight' | 'dark';
|
|
108
|
+
className?: string;
|
|
104
109
|
}
|
|
105
110
|
|
|
106
111
|
export interface UploadZoneProps {
|
|
@@ -3,24 +3,24 @@ import { Hero2Section as s } from "./Hero2Section.js";
|
|
|
3
3
|
import { HowItWorksSection as c } from "./HowItWorksSection.js";
|
|
4
4
|
import { FastAndSimpleSection as p } from "./FastAndSimpleSection.js";
|
|
5
5
|
import { FeaturesSection as f } from "./FeaturesSection.js";
|
|
6
|
-
import {
|
|
7
|
-
import { FaqSection as
|
|
6
|
+
import { BannerTagSection as x } from "./BannerTagSection.js";
|
|
7
|
+
import { FaqSection as S } from "./FaqSection.js";
|
|
8
8
|
const N = ({
|
|
9
|
-
hero:
|
|
10
|
-
howItWorks:
|
|
11
|
-
fastAndSimple:
|
|
12
|
-
benefits:
|
|
9
|
+
hero: r,
|
|
10
|
+
howItWorks: e,
|
|
11
|
+
fastAndSimple: t,
|
|
12
|
+
benefits: i,
|
|
13
13
|
trustPilot: m,
|
|
14
|
-
signAndSend:
|
|
15
|
-
faq:
|
|
14
|
+
signAndSend: a,
|
|
15
|
+
faq: n
|
|
16
16
|
}) => /* @__PURE__ */ l("main", { className: "w-full flex-1 bg-neutral-50", children: [
|
|
17
|
-
/* @__PURE__ */ o(s, { ...
|
|
18
|
-
/* @__PURE__ */ o(c, { ...
|
|
19
|
-
/* @__PURE__ */ o(p, { ...
|
|
20
|
-
/* @__PURE__ */ o(f, { ...
|
|
17
|
+
/* @__PURE__ */ o(s, { ...r, variant: "esign" }),
|
|
18
|
+
/* @__PURE__ */ o(c, { ...e }),
|
|
19
|
+
/* @__PURE__ */ o(p, { ...t, variant: "esign" }),
|
|
20
|
+
/* @__PURE__ */ o(f, { ...i }),
|
|
21
21
|
/* @__PURE__ */ o("div", { className: "w-full max-w-254 md:h-34", children: m }),
|
|
22
|
-
/* @__PURE__ */ o(
|
|
23
|
-
/* @__PURE__ */ o(
|
|
22
|
+
/* @__PURE__ */ o(x, { ...a }),
|
|
23
|
+
/* @__PURE__ */ o(S, { ...n, className: "mx-auto max-w-4xl px-4 py-16" })
|
|
24
24
|
] });
|
|
25
25
|
export {
|
|
26
26
|
N as ElectronicSignatureTemplate
|
|
@@ -30,6 +30,20 @@ export declare interface BadgeProps {
|
|
|
30
30
|
className?: string;
|
|
31
31
|
}
|
|
32
32
|
|
|
33
|
+
export declare const BannerTagSection: FC<BannerTagSectionProps>;
|
|
34
|
+
|
|
35
|
+
export declare interface BannerTagSectionProps {
|
|
36
|
+
title: string;
|
|
37
|
+
description: string;
|
|
38
|
+
cta: ReactNode;
|
|
39
|
+
rightImage: ReactNode | null;
|
|
40
|
+
tags: {
|
|
41
|
+
top: TagProps | null;
|
|
42
|
+
middle: TagProps | null;
|
|
43
|
+
bottom: TagProps | null;
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
|
|
33
47
|
export declare interface BaseSubtypeDocumentProps {
|
|
34
48
|
id: string;
|
|
35
49
|
link: ReactNode;
|
|
@@ -600,33 +614,6 @@ export declare interface LanguageSelectorProps {
|
|
|
600
614
|
|
|
601
615
|
export declare type LanguageSelectorVariant = 'default' | 'compact';
|
|
602
616
|
|
|
603
|
-
export declare const LawgeniusAskQuestionsSection: FC<LawgeniusAskQuestionsSectionProps>;
|
|
604
|
-
|
|
605
|
-
export declare interface LawgeniusAskQuestionsSectionProps {
|
|
606
|
-
title: string;
|
|
607
|
-
description: string;
|
|
608
|
-
paragraphs: string[];
|
|
609
|
-
ctaLabel: string;
|
|
610
|
-
onCtaClick?: () => void;
|
|
611
|
-
illustration: ReactNode;
|
|
612
|
-
className?: string;
|
|
613
|
-
}
|
|
614
|
-
|
|
615
|
-
export declare interface LawgeniusFloatingTag {
|
|
616
|
-
id: string;
|
|
617
|
-
className: string;
|
|
618
|
-
children: ReactNode;
|
|
619
|
-
}
|
|
620
|
-
|
|
621
|
-
export declare const LawgeniusFloatingTagsIllustration: FC<LawgeniusFloatingTagsIllustrationProps>;
|
|
622
|
-
|
|
623
|
-
export declare interface LawgeniusFloatingTagsIllustrationProps {
|
|
624
|
-
imageSrc: string;
|
|
625
|
-
imageAlt: string;
|
|
626
|
-
tags: LawgeniusFloatingTag[];
|
|
627
|
-
className?: string;
|
|
628
|
-
}
|
|
629
|
-
|
|
630
617
|
export declare interface LawGeniusSectionProps {
|
|
631
618
|
title: string;
|
|
632
619
|
content: string;
|
|
@@ -1023,22 +1010,6 @@ export declare interface SelectProps extends React.SelectHTMLAttributes<HTMLSele
|
|
|
1023
1010
|
containerClassName?: string;
|
|
1024
1011
|
}
|
|
1025
1012
|
|
|
1026
|
-
export declare const SignAndSendSection: FC<SignAndSendSectionProps>;
|
|
1027
|
-
|
|
1028
|
-
export declare interface SignAndSendSectionProps {
|
|
1029
|
-
title: string;
|
|
1030
|
-
description: string;
|
|
1031
|
-
ctaLabel: string;
|
|
1032
|
-
imageSrc?: string;
|
|
1033
|
-
imageAlt?: string;
|
|
1034
|
-
/** When set, replaces the image column (e.g. upload card for Lawgenius) */
|
|
1035
|
-
rightColumn?: ReactNode;
|
|
1036
|
-
leadingIcon?: ReactNode;
|
|
1037
|
-
onCtaClick?: () => void;
|
|
1038
|
-
/** `default`: neutral card (e-sign). `lawgeniusDark`: primary-900 rounded panel + light text */
|
|
1039
|
-
variant?: 'default' | 'lawgeniusDark';
|
|
1040
|
-
}
|
|
1041
|
-
|
|
1042
1013
|
export declare const SparkIcon: React_2.FC<React_2.SVGProps<SVGSVGElement>>;
|
|
1043
1014
|
|
|
1044
1015
|
export declare const StarsIcon: React_2.FC<React_2.SVGProps<SVGSVGElement>>;
|
|
@@ -1072,6 +1043,13 @@ export declare const TableOfContentsWrapper: FC<{
|
|
|
1072
1043
|
children: ReactNode;
|
|
1073
1044
|
}>;
|
|
1074
1045
|
|
|
1046
|
+
export interface TagProps {
|
|
1047
|
+
title: string;
|
|
1048
|
+
icon: ReactNode;
|
|
1049
|
+
variant: 'default' | 'highlight' | 'dark';
|
|
1050
|
+
className?: string;
|
|
1051
|
+
}
|
|
1052
|
+
|
|
1075
1053
|
export declare const Textarea: FC<TextareaProps>;
|
|
1076
1054
|
|
|
1077
1055
|
export declare interface TextareaProps extends React.TextareaHTMLAttributes<HTMLTextAreaElement> {
|