@npm_leadtech/legal-contracts-ui 0.84.2 → 0.84.3
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 +5 -3
- package/dist/components/ElectronicSignatureTemplate.d.ts +5 -3
- package/dist/components/HowItWorksSection.d.ts +5 -3
- package/dist/components/HowItWorksSection.js +32 -18
- package/dist/components/ValuesSection.js +9 -9
- package/dist/globals.css +1 -1
- package/package.json +1 -1
- package/dist/components/index.d.ts +0 -1215
|
@@ -103,17 +103,19 @@ export interface Hero2SectionProps {
|
|
|
103
103
|
}
|
|
104
104
|
|
|
105
105
|
export interface HowItWorksSectionProps {
|
|
106
|
-
|
|
106
|
+
imageSrc: string;
|
|
107
|
+
imageAlt: string;
|
|
107
108
|
title: string;
|
|
108
109
|
description: string;
|
|
109
110
|
steps: HowItWorksStep[];
|
|
111
|
+
/** Optional overlays (badges, labels) absolutely positioned on the media */
|
|
112
|
+
imageOverlay?: ReactNode;
|
|
110
113
|
}
|
|
111
114
|
|
|
112
115
|
export interface HowItWorksStep {
|
|
113
|
-
id: string;
|
|
114
116
|
title: string;
|
|
115
117
|
description: string;
|
|
116
|
-
icon: ReactNode;
|
|
118
|
+
icon: string | ReactNode;
|
|
117
119
|
}
|
|
118
120
|
|
|
119
121
|
export interface LawgeniusAskQuestionsSectionProps {
|
|
@@ -69,17 +69,19 @@ export interface Hero2SectionProps {
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
export interface HowItWorksSectionProps {
|
|
72
|
-
|
|
72
|
+
imageSrc: string;
|
|
73
|
+
imageAlt: string;
|
|
73
74
|
title: string;
|
|
74
75
|
description: string;
|
|
75
76
|
steps: HowItWorksStep[];
|
|
77
|
+
/** Optional overlays (badges, labels) absolutely positioned on the media */
|
|
78
|
+
imageOverlay?: ReactNode;
|
|
76
79
|
}
|
|
77
80
|
|
|
78
81
|
export interface HowItWorksStep {
|
|
79
|
-
id: string;
|
|
80
82
|
title: string;
|
|
81
83
|
description: string;
|
|
82
|
-
icon: ReactNode;
|
|
84
|
+
icon: string | ReactNode;
|
|
83
85
|
}
|
|
84
86
|
|
|
85
87
|
export interface OnlineBenefit {
|
|
@@ -4,16 +4,18 @@ import { ReactNode } from 'react';
|
|
|
4
4
|
export declare const HowItWorksSection: FC<HowItWorksSectionProps>;
|
|
5
5
|
|
|
6
6
|
export declare interface HowItWorksSectionProps {
|
|
7
|
-
|
|
7
|
+
imageSrc: string;
|
|
8
|
+
imageAlt: string;
|
|
8
9
|
title: string;
|
|
9
10
|
description: string;
|
|
10
11
|
steps: HowItWorksStep[];
|
|
12
|
+
/** Optional overlays (badges, labels) absolutely positioned on the media */
|
|
13
|
+
imageOverlay?: ReactNode;
|
|
11
14
|
}
|
|
12
15
|
|
|
13
16
|
export declare interface HowItWorksStep {
|
|
14
|
-
id: string;
|
|
15
17
|
title: string;
|
|
16
18
|
description: string;
|
|
17
|
-
icon: ReactNode;
|
|
19
|
+
icon: string | ReactNode;
|
|
18
20
|
}
|
|
19
21
|
|
|
@@ -1,22 +1,36 @@
|
|
|
1
|
-
import { jsx as e, jsxs as
|
|
2
|
-
import {
|
|
3
|
-
const
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
1
|
+
import { jsx as e, jsxs as i } from "react/jsx-runtime";
|
|
2
|
+
import { SectionHeading as n } from "./SectionHeading.js";
|
|
3
|
+
const h = ({
|
|
4
|
+
imageSrc: a,
|
|
5
|
+
imageAlt: r,
|
|
6
|
+
title: s,
|
|
7
|
+
description: t,
|
|
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(
|
|
18
|
+
"article",
|
|
19
|
+
{
|
|
20
|
+
className: "bg-neutral-25 rounded-lg p-5",
|
|
21
|
+
style: { boxShadow: "var(--shadow-small)" },
|
|
22
|
+
children: /* @__PURE__ */ i("div", { className: "flex items-start gap-3", children: [
|
|
23
|
+
typeof l.icon == "string" ? /* @__PURE__ */ e("img", { src: l.icon, alt: "", width: 24, height: 24, className: "h-6 w-6" }) : /* @__PURE__ */ e("span", { className: "inline-flex h-6 w-6 shrink-0 items-center justify-center", children: l.icon }),
|
|
24
|
+
/* @__PURE__ */ i("div", { children: [
|
|
25
|
+
/* @__PURE__ */ e("p", { className: "text-medium font-bold text-neutral-800", children: l.title }),
|
|
26
|
+
/* @__PURE__ */ e("p", { className: "text-small text-neutral-800", children: l.description })
|
|
27
|
+
] })
|
|
28
|
+
] })
|
|
29
|
+
},
|
|
30
|
+
l.title
|
|
31
|
+
)) })
|
|
18
32
|
] })
|
|
19
33
|
] }) });
|
|
20
34
|
export {
|
|
21
|
-
|
|
35
|
+
h as HowItWorksSection
|
|
22
36
|
};
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { jsx as e, jsxs as
|
|
2
|
-
import { TwoColumnSection as
|
|
3
|
-
const
|
|
4
|
-
|
|
1
|
+
import { jsx as e, jsxs as t } from "react/jsx-runtime";
|
|
2
|
+
import { TwoColumnSection as a } from "./TwoColumnSection.js";
|
|
3
|
+
const o = ({ title: s, children: l, image: r }) => /* @__PURE__ */ e(
|
|
4
|
+
a,
|
|
5
5
|
{
|
|
6
|
-
containerClassName: "gap-20 items-center",
|
|
7
|
-
firstColumn: /* @__PURE__ */ e("div", { className: "flex-1", children: /* @__PURE__ */ e("div", { className: "bg-primary-50 rounded-3xl p-6", children:
|
|
8
|
-
secondColumn: /* @__PURE__ */
|
|
6
|
+
containerClassName: "gap-20 items-center flex-col-reverse",
|
|
7
|
+
firstColumn: /* @__PURE__ */ e("div", { className: "flex-1", children: /* @__PURE__ */ e("div", { className: "bg-primary-50 rounded-3xl p-6", children: r }) }),
|
|
8
|
+
secondColumn: /* @__PURE__ */ t("div", { className: "flex-1 space-y-6 text-neutral-800", children: [
|
|
9
9
|
/* @__PURE__ */ e("p", { className: "text-super-large font-bold text-neutral-900", children: s }),
|
|
10
|
-
/* @__PURE__ */ e("div", { className: "text-medium space-y-4", children:
|
|
10
|
+
/* @__PURE__ */ e("div", { className: "text-medium space-y-4", children: l })
|
|
11
11
|
] })
|
|
12
12
|
}
|
|
13
13
|
);
|
|
14
14
|
export {
|
|
15
|
-
|
|
15
|
+
o as ValuesSection
|
|
16
16
|
};
|