@npm_leadtech/legal-contracts-ui 0.74.0 → 0.74.2
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/BlogSection.js +8 -8
- package/dist/components/HeroSection.d.ts +2 -4
- package/dist/components/HeroSection.js +15 -26
- package/dist/components/HomeTemplate.d.ts +2 -4
- package/dist/components/Item.d.ts +1 -3
- package/dist/components/Item.js +19 -19
- package/dist/components/Jumbotron.d.ts +1 -1
- package/dist/components/Jumbotron.js +6 -6
- package/dist/components/MoreTemplatesSection.d.ts +1 -3
- package/dist/components/MoreTemplatesSection.js +10 -11
- package/dist/components/ProductTemplate.d.ts +1 -1
- package/dist/globals.css +1 -1
- package/package.json +1 -1
- package/dist/components/index.d.ts +0 -1027
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { jsx as e, jsxs as i } from "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
import { SectionHeading as
|
|
4
|
-
import { LinkWrapper as
|
|
5
|
-
const x = ({ header:
|
|
6
|
-
/* @__PURE__ */ e(
|
|
7
|
-
/* @__PURE__ */ e("div", { className: "grid gap-6 lg:grid-cols-2", children:
|
|
8
|
-
/* @__PURE__ */ e("div", { className: "relative h-42 shrink-0 overflow-hidden rounded-
|
|
3
|
+
import { SectionHeading as a } from "./SectionHeading.js";
|
|
4
|
+
import { LinkWrapper as d } from "./LinkWrapper.js";
|
|
5
|
+
const x = ({ header: m, articles: r, cta: t }) => r.length === 0 ? null : /* @__PURE__ */ e("section", { className: "mx-auto px-8 pt-10 pb-12 lg:px-12 lg:pb-14 xl:max-w-300 xl:px-0", children: /* @__PURE__ */ i("div", { className: "mx-auto flex flex-col items-center gap-8", children: [
|
|
6
|
+
/* @__PURE__ */ e(a, { ...m }),
|
|
7
|
+
/* @__PURE__ */ e("div", { className: "grid gap-6 lg:grid-cols-2", children: r.map((l) => /* @__PURE__ */ i("article", { className: "flex flex-col rounded-sm bg-white shadow md:flex-row", children: [
|
|
8
|
+
/* @__PURE__ */ e("div", { className: "relative h-42 shrink-0 overflow-hidden rounded-t-sm md:h-full md:max-w-51 md:rounded-t-none md:rounded-l-sm [&_img]:h-full [&_img]:w-full [&_img]:object-cover", children: l.image }),
|
|
9
9
|
/* @__PURE__ */ i("div", { className: "flex flex-col gap-4 p-6 text-neutral-800", children: [
|
|
10
10
|
/* @__PURE__ */ e("h3", { className: "text-big font-semibold", children: l.title }),
|
|
11
11
|
/* @__PURE__ */ e("p", { className: "text-medium", children: l.description }),
|
|
12
|
-
/* @__PURE__ */ e(
|
|
12
|
+
/* @__PURE__ */ e(d, { className: "w-fit", variant: "tertiary-bold", children: l.cta })
|
|
13
13
|
] })
|
|
14
14
|
] }, l.title)) }),
|
|
15
|
-
/* @__PURE__ */ e(
|
|
15
|
+
/* @__PURE__ */ e(d, { className: "w-full md:w-fit", variant: "secondary-green", children: t })
|
|
16
16
|
] }) });
|
|
17
17
|
export {
|
|
18
18
|
x as BlogSection
|
|
@@ -6,10 +6,10 @@ export declare const HeroSection: FC<HeroSectionProps>;
|
|
|
6
6
|
export declare interface HeroSectionProps {
|
|
7
7
|
title: string;
|
|
8
8
|
description?: string;
|
|
9
|
+
bgImage: ReactNode | null;
|
|
9
10
|
cta?: ReactNode;
|
|
10
11
|
heroDocuments: ItemProps[];
|
|
11
12
|
listTitle?: string;
|
|
12
|
-
backgroundImage?: string;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
export interface ItemProps {
|
|
@@ -17,10 +17,8 @@ export interface ItemProps {
|
|
|
17
17
|
image: ReactNode;
|
|
18
18
|
title?: string;
|
|
19
19
|
description?: string;
|
|
20
|
-
documentUrl?:
|
|
21
|
-
actions?: ReactNode;
|
|
20
|
+
documentUrl?: ReactNode;
|
|
22
21
|
variant?: 'default' | 'card';
|
|
23
22
|
className?: string;
|
|
24
|
-
titleClassName?: string;
|
|
25
23
|
}
|
|
26
24
|
|
|
@@ -1,32 +1,21 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { jsxs as t, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
import { Item as
|
|
3
|
+
import { Item as n } from "./Item.js";
|
|
4
4
|
import { LinkWrapper as x } from "./LinkWrapper.js";
|
|
5
|
-
const g = ({
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
})
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
style: { "--hero-bg": r ? `url(${r})` : "none" },
|
|
17
|
-
children: /* @__PURE__ */ t("div", { className: "flex flex-col items-center gap-6 px-6 py-10 md:px-20 lg:flex-row lg:gap-14 lg:px-8 lg:py-12 xl:justify-center xl:gap-20", children: [
|
|
18
|
-
/* @__PURE__ */ t("div", { className: "flex flex-col items-center gap-6 pb-6 text-center lg:items-start lg:text-left xl:max-w-115", children: [
|
|
19
|
-
/* @__PURE__ */ e("h1", { className: "font-lora text-hero md:text-super-hero text-neutral-900", children: i }),
|
|
20
|
-
/* @__PURE__ */ e("p", { className: "text-big text-neutral-800", children: s }),
|
|
21
|
-
!!l && /* @__PURE__ */ e(x, { variant: "primary-darkgreen", className: "w-full md:w-fit", children: l })
|
|
22
|
-
] }),
|
|
23
|
-
/* @__PURE__ */ t("div", { className: "flex flex-col items-center justify-center gap-4 md:w-full md:items-start md:justify-start xl:max-w-115", children: [
|
|
24
|
-
/* @__PURE__ */ e("div", { className: "flex items-center justify-between", children: /* @__PURE__ */ e("p", { className: "text-big text-primary-800 font-semibold", children: n }) }),
|
|
25
|
-
/* @__PURE__ */ e("div", { className: "flex w-full flex-col gap-2", children: m.map((a) => /* @__PURE__ */ e(c, { ...a, variant: "card" }, a.title)) })
|
|
26
|
-
] })
|
|
5
|
+
const g = ({ title: i, description: s, cta: l, heroDocuments: m, listTitle: c, bgImage: r }) => /* @__PURE__ */ t("section", { className: "bg-primary-50 relative", children: [
|
|
6
|
+
!!r && r,
|
|
7
|
+
/* @__PURE__ */ t("div", { className: "flex flex-col items-center gap-6 px-6 py-10 md:px-20 lg:flex-row lg:gap-14 lg:px-8 lg:py-12 xl:justify-center xl:gap-20", children: [
|
|
8
|
+
/* @__PURE__ */ t("div", { className: "flex flex-col items-center gap-6 pb-6 text-center lg:items-start lg:text-left xl:max-w-115", children: [
|
|
9
|
+
/* @__PURE__ */ e("h1", { className: "font-lora text-hero md:text-super-hero text-neutral-900", children: i }),
|
|
10
|
+
/* @__PURE__ */ e("p", { className: "text-big text-neutral-800", children: s }),
|
|
11
|
+
!!l && /* @__PURE__ */ e(x, { variant: "primary-darkgreen", className: "w-full md:w-fit", children: l })
|
|
12
|
+
] }),
|
|
13
|
+
/* @__PURE__ */ t("div", { className: "flex flex-col items-center justify-center gap-4 md:w-full md:items-start md:justify-start xl:max-w-115", children: [
|
|
14
|
+
/* @__PURE__ */ e("div", { className: "flex items-center justify-between", children: /* @__PURE__ */ e("p", { className: "text-big text-primary-800 font-semibold", children: c }) }),
|
|
15
|
+
/* @__PURE__ */ e("div", { className: "flex w-full flex-col gap-2", children: m.map((a) => /* @__PURE__ */ e(n, { ...a, variant: "card" }, a.title)) })
|
|
27
16
|
] })
|
|
28
|
-
}
|
|
29
|
-
|
|
17
|
+
] })
|
|
18
|
+
] });
|
|
30
19
|
export {
|
|
31
20
|
g as HeroSection
|
|
32
21
|
};
|
|
@@ -36,10 +36,10 @@ export interface FaqTeaserSectionProps {
|
|
|
36
36
|
export interface HeroSectionProps {
|
|
37
37
|
title: string;
|
|
38
38
|
description?: string;
|
|
39
|
+
bgImage: ReactNode | null;
|
|
39
40
|
cta?: ReactNode;
|
|
40
41
|
heroDocuments: ItemProps[];
|
|
41
42
|
listTitle?: string;
|
|
42
|
-
backgroundImage?: string;
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
export interface HomeStepsProps {
|
|
@@ -71,11 +71,9 @@ export interface ItemProps {
|
|
|
71
71
|
image: ReactNode;
|
|
72
72
|
title?: string;
|
|
73
73
|
description?: string;
|
|
74
|
-
documentUrl?:
|
|
75
|
-
actions?: ReactNode;
|
|
74
|
+
documentUrl?: ReactNode;
|
|
76
75
|
variant?: 'default' | 'card';
|
|
77
76
|
className?: string;
|
|
78
|
-
titleClassName?: string;
|
|
79
77
|
}
|
|
80
78
|
|
|
81
79
|
export interface LawGeniusSectionProps {
|
|
@@ -8,10 +8,8 @@ export declare interface ItemProps {
|
|
|
8
8
|
image: ReactNode;
|
|
9
9
|
title?: string;
|
|
10
10
|
description?: string;
|
|
11
|
-
documentUrl?:
|
|
12
|
-
actions?: ReactNode;
|
|
11
|
+
documentUrl?: ReactNode;
|
|
13
12
|
variant?: 'default' | 'card';
|
|
14
13
|
className?: string;
|
|
15
|
-
titleClassName?: string;
|
|
16
14
|
}
|
|
17
15
|
|
package/dist/components/Item.js
CHANGED
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
import { jsxs as
|
|
1
|
+
import { jsxs as o, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
import d from "clsx";
|
|
4
|
+
import { ChevronRightIcon as c } from "./ChevronRightIcon.js";
|
|
5
|
+
const x = ({
|
|
6
|
+
image: l,
|
|
7
|
+
title: t,
|
|
6
8
|
description: a,
|
|
7
|
-
documentUrl:
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
}) => /* @__PURE__ */ t(
|
|
13
|
-
"a",
|
|
9
|
+
documentUrl: s,
|
|
10
|
+
variant: r = "default",
|
|
11
|
+
className: i = ""
|
|
12
|
+
}) => /* @__PURE__ */ o(
|
|
13
|
+
"div",
|
|
14
14
|
{
|
|
15
|
-
|
|
16
|
-
className: `hover:bg-primary-50 flex cursor-pointer items-center gap-4 rounded-sm p-4 pl-6 ${{
|
|
15
|
+
className: `hover:bg-primary-50 relative flex cursor-pointer items-center gap-4 rounded-sm p-4 pl-6 [&_a]:before:absolute [&_a]:before:inset-0 [&_a]:before:content-[""] ${{
|
|
17
16
|
default: "",
|
|
18
17
|
card: "border border-0.5 border-neutral-200 shadow-lg bg-white"
|
|
19
|
-
}[
|
|
18
|
+
}[r]} ${i}`,
|
|
20
19
|
children: [
|
|
21
|
-
|
|
22
|
-
/* @__PURE__ */
|
|
23
|
-
|
|
20
|
+
l,
|
|
21
|
+
/* @__PURE__ */ o("div", { className: "flex-1", children: [
|
|
22
|
+
t && /* @__PURE__ */ e("p", { className: d("text-medium text-neutral-900", r === "card" && "font-semibold"), children: t }),
|
|
24
23
|
a && /* @__PURE__ */ e("p", { className: "text-extra-small text-neutral-600", children: a })
|
|
25
24
|
] }),
|
|
26
|
-
/* @__PURE__ */ e("div", { children:
|
|
25
|
+
!!s && /* @__PURE__ */ e("div", { className: "h-0 w-0 opacity-0", children: s }),
|
|
26
|
+
r === "card" && /* @__PURE__ */ e(c, { width: 20, height: 20 })
|
|
27
27
|
]
|
|
28
28
|
}
|
|
29
29
|
);
|
|
30
30
|
export {
|
|
31
|
-
|
|
31
|
+
x as Item
|
|
32
32
|
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { jsxs as
|
|
1
|
+
import { jsxs as e, jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import { Markdown as l } from "./Markdown.js";
|
|
3
|
-
const n = ({ title:
|
|
4
|
-
/* @__PURE__ */
|
|
5
|
-
/* @__PURE__ */
|
|
6
|
-
/* @__PURE__ */
|
|
3
|
+
const n = ({ title: o, description: r, bgImage: t }) => /* @__PURE__ */ e("section", { className: "bg-primary-900 relative isolate overflow-hidden p-6 text-white", children: [
|
|
4
|
+
/* @__PURE__ */ e("div", { className: "mx-auto flex max-w-250 flex-col gap-4 md:text-center", children: [
|
|
5
|
+
/* @__PURE__ */ a("h1", { className: "font-lora text-large text-neutral-25 md:text-jumbotron", children: o }),
|
|
6
|
+
/* @__PURE__ */ a(l, { content: r, className: "text-small text-neutral-25 mx-auto max-w-201 xl:max-w-250" })
|
|
7
7
|
] }),
|
|
8
|
-
|
|
8
|
+
!!t && t
|
|
9
9
|
] });
|
|
10
10
|
export {
|
|
11
11
|
n as Jumbotron
|
|
@@ -6,11 +6,9 @@ export interface ItemProps {
|
|
|
6
6
|
image: ReactNode;
|
|
7
7
|
title?: string;
|
|
8
8
|
description?: string;
|
|
9
|
-
documentUrl?:
|
|
10
|
-
actions?: ReactNode;
|
|
9
|
+
documentUrl?: ReactNode;
|
|
11
10
|
variant?: 'default' | 'card';
|
|
12
11
|
className?: string;
|
|
13
|
-
titleClassName?: string;
|
|
14
12
|
}
|
|
15
13
|
|
|
16
14
|
export declare const MoreTemplatesSection: FC<PopularDocumentsProps>;
|
|
@@ -1,26 +1,25 @@
|
|
|
1
1
|
import { jsxs as i, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
import { SectionHeading as
|
|
4
|
-
import { Item as
|
|
5
|
-
import { ChevronDownIcon as
|
|
6
|
-
const
|
|
3
|
+
import { SectionHeading as a } from "./SectionHeading.js";
|
|
4
|
+
import { Item as s } from "./Item.js";
|
|
5
|
+
import { ChevronDownIcon as n } from "./ChevronDownIcon.js";
|
|
6
|
+
const b = ({ header: o, moreDocuments: l = [] }) => l.length === 0 ? null : /* @__PURE__ */ i("section", { className: "mx-auto px-6 py-10 text-neutral-800 lg:px-8 lg:py-12 xl:max-w-300 xl:px-0", children: [
|
|
7
7
|
/* @__PURE__ */ i("div", { className: "hidden flex-col gap-6 md:flex", children: [
|
|
8
|
-
/* @__PURE__ */ e(
|
|
9
|
-
/* @__PURE__ */ e("div", { className: "grid grid-
|
|
8
|
+
/* @__PURE__ */ e(a, { ...o, align: "start", className: "pl-7" }),
|
|
9
|
+
/* @__PURE__ */ e("div", { className: "grid grid-flow-col grid-rows-3", children: l.map((r, d) => /* @__PURE__ */ e("div", { className: `border-neutral-200 px-6 ${d < 6 ? "border-r" : ""} `, children: /* @__PURE__ */ e(s, { ...r, className: "items-start! px-2!" }) }, `desktop-${r.id}`)) })
|
|
10
10
|
] }),
|
|
11
11
|
/* @__PURE__ */ e("div", { className: "flex flex-col gap-10 md:hidden", children: /* @__PURE__ */ i("details", { className: "group", children: [
|
|
12
12
|
/* @__PURE__ */ i("summary", { className: "flex cursor-pointer list-none items-center justify-between rounded-sm border border-neutral-200 p-4", children: [
|
|
13
|
-
/* @__PURE__ */ e("span", { children:
|
|
14
|
-
/* @__PURE__ */ e(
|
|
13
|
+
/* @__PURE__ */ e("span", { children: o.title }),
|
|
14
|
+
/* @__PURE__ */ e(n, { className: "h-5 w-5 transition-transform group-open:rotate-180" })
|
|
15
15
|
] }),
|
|
16
16
|
/* @__PURE__ */ e("div", { className: "flex flex-col border-x border-b border-neutral-200", children: l.map((r) => /* @__PURE__ */ e(
|
|
17
|
-
|
|
17
|
+
s,
|
|
18
18
|
{
|
|
19
19
|
id: r.id,
|
|
20
20
|
image: r.image,
|
|
21
21
|
title: r.title,
|
|
22
22
|
description: r.description,
|
|
23
|
-
actions: null,
|
|
24
23
|
className: "border-b border-neutral-200 p-6 last:border-b-0",
|
|
25
24
|
documentUrl: r.documentUrl
|
|
26
25
|
},
|
|
@@ -29,5 +28,5 @@ const x = ({ header: n, moreDocuments: l = [] }) => l.length === 0 ? null : /* @
|
|
|
29
28
|
] }) })
|
|
30
29
|
] });
|
|
31
30
|
export {
|
|
32
|
-
|
|
31
|
+
b as MoreTemplatesSection
|
|
33
32
|
};
|