@npm_leadtech/legal-contracts-ui 0.83.0 → 0.84.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/AiLegalDocumentReviewerTemplate.d.ts +3 -9
- package/dist/components/BlogSection.d.ts +1 -0
- package/dist/components/BlogSection.js +36 -16
- package/dist/components/CategoryProductTemplate.d.ts +1 -0
- package/dist/components/CategoryProductTemplate.js +4 -2
- package/dist/components/ElectronicSignatureTemplate.d.ts +2 -5
- package/dist/components/HomeTemplate.d.ts +1 -0
- package/dist/components/HowItWorksSection.d.ts +2 -5
- package/dist/components/HowItWorksSection.js +11 -21
- package/dist/globals.css +1 -1
- package/package.json +1 -1
- package/dist/components/index.d.ts +0 -1216
|
@@ -31,10 +31,7 @@ export interface AiLegalDocumentInsightsTab {
|
|
|
31
31
|
export declare const AiLegalDocumentReviewerTemplate: FC<AiLegalDocumentReviewerTemplateProps>;
|
|
32
32
|
|
|
33
33
|
export declare type AiLegalDocumentReviewerTemplateProps = {
|
|
34
|
-
hero:
|
|
35
|
-
theme: 'dark';
|
|
36
|
-
upload: DocumentReviewUploadCardProps;
|
|
37
|
-
};
|
|
34
|
+
hero: Hero2SectionProps;
|
|
38
35
|
howItWorks: HowItWorksSectionProps;
|
|
39
36
|
/** Same shape as e-sign `fastAndSimple`; template forces `variant="lawgeniusDark"`. */
|
|
40
37
|
fastAndSimple: Omit<FastAndSimpleSectionProps, 'variant'>;
|
|
@@ -106,19 +103,16 @@ export interface Hero2SectionProps {
|
|
|
106
103
|
}
|
|
107
104
|
|
|
108
105
|
export interface HowItWorksSectionProps {
|
|
109
|
-
|
|
110
|
-
imageAlt: string;
|
|
106
|
+
media: ReactNode;
|
|
111
107
|
title: string;
|
|
112
108
|
description: string;
|
|
113
109
|
steps: HowItWorksStep[];
|
|
114
|
-
/** Optional overlays (badges, labels) absolutely positioned on the media */
|
|
115
|
-
imageOverlay?: ReactNode;
|
|
116
110
|
}
|
|
117
111
|
|
|
118
112
|
export interface HowItWorksStep {
|
|
119
113
|
title: string;
|
|
120
114
|
description: string;
|
|
121
|
-
icon:
|
|
115
|
+
icon: ReactNode;
|
|
122
116
|
}
|
|
123
117
|
|
|
124
118
|
export interface LawgeniusAskQuestionsSectionProps {
|
|
@@ -1,20 +1,40 @@
|
|
|
1
1
|
import { jsx as e, jsxs as i } from "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
import
|
|
4
|
-
import { SectionHeading as
|
|
5
|
-
import { LinkWrapper as
|
|
6
|
-
const
|
|
7
|
-
m
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
/* @__PURE__ */
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
3
|
+
import o from "clsx";
|
|
4
|
+
import { SectionHeading as c } from "./SectionHeading.js";
|
|
5
|
+
import { LinkWrapper as t } from "./LinkWrapper.js";
|
|
6
|
+
const u = ({ header: r, articles: m, cta: d, className: s = "", variant: a = "row" }) => {
|
|
7
|
+
if (m.length === 0) return null;
|
|
8
|
+
const n = a === "row";
|
|
9
|
+
return /* @__PURE__ */ e("section", { className: o("mx-auto px-8 lg:px-12 xl:max-w-300 xl:px-0", s), children: /* @__PURE__ */ i("div", { className: "mx-auto flex flex-col items-center gap-8", children: [
|
|
10
|
+
r && /* @__PURE__ */ e(c, { ...r }),
|
|
11
|
+
/* @__PURE__ */ e("div", { className: "grid gap-6 lg:grid-cols-2", children: m.map((l) => /* @__PURE__ */ i(
|
|
12
|
+
"article",
|
|
13
|
+
{
|
|
14
|
+
className: o("flex flex-col rounded-sm bg-white shadow", n && "md:flex-row"),
|
|
15
|
+
children: [
|
|
16
|
+
/* @__PURE__ */ e(
|
|
17
|
+
"div",
|
|
18
|
+
{
|
|
19
|
+
className: o(
|
|
20
|
+
"relative h-42 shrink-0 overflow-hidden rounded-t-sm [&_img]:h-full [&_img]:w-full [&_img]:object-cover",
|
|
21
|
+
n && "md:h-full md:max-w-51 md:rounded-t-none md:rounded-l-sm"
|
|
22
|
+
),
|
|
23
|
+
children: l.image
|
|
24
|
+
}
|
|
25
|
+
),
|
|
26
|
+
/* @__PURE__ */ i("div", { className: "flex flex-col gap-4 p-6 text-neutral-800", children: [
|
|
27
|
+
/* @__PURE__ */ e("h3", { className: "text-big font-semibold", children: l.title }),
|
|
28
|
+
/* @__PURE__ */ e("p", { className: "text-medium", children: l.description }),
|
|
29
|
+
/* @__PURE__ */ e(t, { className: "w-fit", variant: "tertiary-bold", children: l.cta })
|
|
30
|
+
] })
|
|
31
|
+
]
|
|
32
|
+
},
|
|
33
|
+
l.title
|
|
34
|
+
)) }),
|
|
35
|
+
!!d && /* @__PURE__ */ e(t, { className: "w-full md:w-fit", variant: "secondary-green", children: d })
|
|
36
|
+
] }) });
|
|
37
|
+
};
|
|
18
38
|
export {
|
|
19
|
-
|
|
39
|
+
u as BlogSection
|
|
20
40
|
};
|
|
@@ -5,7 +5,7 @@ import { DocumentSection as n } from "./DocumentSection.js";
|
|
|
5
5
|
import { Breadcrumb as x } from "./Breadcrumb.js";
|
|
6
6
|
import { FaqSection as f } from "./FaqSection.js";
|
|
7
7
|
import { BlogSection as d } from "./BlogSection.js";
|
|
8
|
-
const
|
|
8
|
+
const v = ({
|
|
9
9
|
jumbo: r,
|
|
10
10
|
breadcrumb: o,
|
|
11
11
|
categories: m,
|
|
@@ -25,6 +25,8 @@ const w = ({
|
|
|
25
25
|
d,
|
|
26
26
|
{
|
|
27
27
|
...a,
|
|
28
|
+
className: "px-0!",
|
|
29
|
+
variant: "column",
|
|
28
30
|
header: a.header ? {
|
|
29
31
|
...a.header,
|
|
30
32
|
align: "start",
|
|
@@ -37,5 +39,5 @@ const w = ({
|
|
|
37
39
|
] })
|
|
38
40
|
] });
|
|
39
41
|
export {
|
|
40
|
-
|
|
42
|
+
v as CategoryProductTemplate
|
|
41
43
|
};
|
|
@@ -69,19 +69,16 @@ export interface Hero2SectionProps {
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
export interface HowItWorksSectionProps {
|
|
72
|
-
|
|
73
|
-
imageAlt: string;
|
|
72
|
+
media: ReactNode;
|
|
74
73
|
title: string;
|
|
75
74
|
description: string;
|
|
76
75
|
steps: HowItWorksStep[];
|
|
77
|
-
/** Optional overlays (badges, labels) absolutely positioned on the media */
|
|
78
|
-
imageOverlay?: ReactNode;
|
|
79
76
|
}
|
|
80
77
|
|
|
81
78
|
export interface HowItWorksStep {
|
|
82
79
|
title: string;
|
|
83
80
|
description: string;
|
|
84
|
-
icon:
|
|
81
|
+
icon: ReactNode;
|
|
85
82
|
}
|
|
86
83
|
|
|
87
84
|
export interface OnlineBenefit {
|
|
@@ -4,18 +4,15 @@ import { ReactNode } from 'react';
|
|
|
4
4
|
export declare const HowItWorksSection: FC<HowItWorksSectionProps>;
|
|
5
5
|
|
|
6
6
|
export declare interface HowItWorksSectionProps {
|
|
7
|
-
|
|
8
|
-
imageAlt: string;
|
|
7
|
+
media: ReactNode;
|
|
9
8
|
title: string;
|
|
10
9
|
description: string;
|
|
11
10
|
steps: HowItWorksStep[];
|
|
12
|
-
/** Optional overlays (badges, labels) absolutely positioned on the media */
|
|
13
|
-
imageOverlay?: ReactNode;
|
|
14
11
|
}
|
|
15
12
|
|
|
16
13
|
export declare interface HowItWorksStep {
|
|
17
14
|
title: string;
|
|
18
15
|
description: string;
|
|
19
|
-
icon:
|
|
16
|
+
icon: ReactNode;
|
|
20
17
|
}
|
|
21
18
|
|
|
@@ -1,27 +1,17 @@
|
|
|
1
|
-
import { jsx as e, jsxs as
|
|
2
|
-
import { SectionHeading as
|
|
3
|
-
const
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
steps: c,
|
|
9
|
-
imageOverlay: d
|
|
10
|
-
}) => /* @__PURE__ */ e("section", { className: "bg-white px-4 py-16", children: /* @__PURE__ */ i("div", { className: "mx-auto grid w-full max-w-6xl gap-12 lg:grid-cols-[minmax(0,1fr)_minmax(0,1fr)]", children: [
|
|
11
|
-
/* @__PURE__ */ i("div", { className: "relative order-2 overflow-hidden rounded-3xl shadow-[0_25px_80px_rgba(3,42,56,0.25)] lg:order-1", children: [
|
|
12
|
-
/* @__PURE__ */ e("img", { src: a, alt: r, width: 737, height: 524, className: "h-full w-full object-cover" }),
|
|
13
|
-
d
|
|
14
|
-
] }),
|
|
15
|
-
/* @__PURE__ */ i("div", { className: "order-1 space-y-6 lg:order-2", children: [
|
|
16
|
-
/* @__PURE__ */ e(n, { title: s, description: t, align: "start" }),
|
|
17
|
-
/* @__PURE__ */ e("div", { className: "space-y-4", children: c.map((l) => /* @__PURE__ */ e(
|
|
1
|
+
import { jsx as e, jsxs as a } from "react/jsx-runtime";
|
|
2
|
+
import { SectionHeading as t } from "./SectionHeading.js";
|
|
3
|
+
const o = ({ media: r, title: i, description: s, steps: d }) => /* @__PURE__ */ e("section", { className: "bg-white px-4 py-16", children: /* @__PURE__ */ a("div", { className: "mx-auto grid w-full max-w-6xl gap-12 lg:grid-cols-[minmax(0,1fr)_minmax(0,1fr)]", children: [
|
|
4
|
+
/* @__PURE__ */ e("div", { className: "relative order-2 overflow-hidden rounded-3xl shadow-[0_25px_80px_rgba(3,42,56,0.25)] lg:order-1", children: r }),
|
|
5
|
+
/* @__PURE__ */ a("div", { className: "order-1 space-y-6 lg:order-2", children: [
|
|
6
|
+
/* @__PURE__ */ e(t, { title: i, description: s, align: "start" }),
|
|
7
|
+
/* @__PURE__ */ e("div", { className: "space-y-4", children: d.map((l) => /* @__PURE__ */ e(
|
|
18
8
|
"article",
|
|
19
9
|
{
|
|
20
10
|
className: "bg-neutral-25 rounded-lg p-5",
|
|
21
11
|
style: { boxShadow: "var(--shadow-small)" },
|
|
22
|
-
children: /* @__PURE__ */
|
|
23
|
-
|
|
24
|
-
/* @__PURE__ */
|
|
12
|
+
children: /* @__PURE__ */ a("div", { className: "flex items-start gap-3", children: [
|
|
13
|
+
/* @__PURE__ */ e("span", { className: "inline-flex h-6 w-6 shrink-0 items-center justify-center", children: l.icon }),
|
|
14
|
+
/* @__PURE__ */ a("div", { children: [
|
|
25
15
|
/* @__PURE__ */ e("p", { className: "text-medium font-bold text-neutral-800", children: l.title }),
|
|
26
16
|
/* @__PURE__ */ e("p", { className: "text-small text-neutral-800", children: l.description })
|
|
27
17
|
] })
|
|
@@ -32,5 +22,5 @@ const h = ({
|
|
|
32
22
|
] })
|
|
33
23
|
] }) });
|
|
34
24
|
export {
|
|
35
|
-
|
|
25
|
+
o as HowItWorksSection
|
|
36
26
|
};
|