@npm_leadtech/legal-contracts-ui 0.73.2 → 0.73.4
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.
|
@@ -1,18 +1,6 @@
|
|
|
1
1
|
import { FC } from 'react';
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
3
|
|
|
4
|
-
export interface AlternativeSubtypeDocumentProps extends BaseSubtypeDocumentProps {
|
|
5
|
-
format: 'Alternative';
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
export interface BaseSubtypeDocumentProps {
|
|
9
|
-
id: string;
|
|
10
|
-
link: ReactNode;
|
|
11
|
-
sampleImage: ReactNode;
|
|
12
|
-
pdfDownload: ReactNode;
|
|
13
|
-
wordDownload: ReactNode;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
4
|
export interface BlogSectionProps {
|
|
17
5
|
header: SectionHeadingProps;
|
|
18
6
|
articles: {
|
|
@@ -39,31 +27,10 @@ export declare interface CategoryProductTemplateProps {
|
|
|
39
27
|
breadcrumb: BreadcrumbProps;
|
|
40
28
|
categories: DocumentCategoriesProps;
|
|
41
29
|
documentSections: DocumentSectionProps[];
|
|
42
|
-
contentItems: ContentItemProps[];
|
|
43
30
|
faqSection: FaqSectionProps;
|
|
44
31
|
articles: BlogSectionProps;
|
|
45
32
|
}
|
|
46
33
|
|
|
47
|
-
export interface ContentItemProps {
|
|
48
|
-
id: string;
|
|
49
|
-
title: string | null;
|
|
50
|
-
content: string | null;
|
|
51
|
-
linkedProducts: LinkedProductProps[];
|
|
52
|
-
sampleImage: ImageWithPreviewProps | null;
|
|
53
|
-
cta: ReactNode | null;
|
|
54
|
-
docsModules: {
|
|
55
|
-
pdfDownload: ReactNode;
|
|
56
|
-
wordDownload: ReactNode;
|
|
57
|
-
} | null;
|
|
58
|
-
subtypeDocs: SubtypeDocumentProps[];
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
export interface DefaultSubtypeDocumentProps extends BaseSubtypeDocumentProps {
|
|
62
|
-
format: 'Default';
|
|
63
|
-
createDocButton: ReactNode;
|
|
64
|
-
description: string;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
34
|
export interface DocumentCategoriesProps {
|
|
68
35
|
title: string;
|
|
69
36
|
categories: {
|
|
@@ -103,11 +70,6 @@ export interface FaqSectionProps {
|
|
|
103
70
|
className?: string;
|
|
104
71
|
}
|
|
105
72
|
|
|
106
|
-
export interface ImageWithPreviewProps {
|
|
107
|
-
small: ReactNode;
|
|
108
|
-
large: ReactNode;
|
|
109
|
-
}
|
|
110
|
-
|
|
111
73
|
export interface JumboCardProps {
|
|
112
74
|
title: string;
|
|
113
75
|
description: string;
|
|
@@ -116,11 +78,6 @@ export interface JumboCardProps {
|
|
|
116
78
|
lastUpdate?: string;
|
|
117
79
|
}
|
|
118
80
|
|
|
119
|
-
export interface LinkedProductProps {
|
|
120
|
-
slug: string;
|
|
121
|
-
children: ReactNode;
|
|
122
|
-
}
|
|
123
|
-
|
|
124
81
|
export interface SectionHeadingProps {
|
|
125
82
|
title: string;
|
|
126
83
|
description?: string;
|
|
@@ -128,6 +85,4 @@ export interface SectionHeadingProps {
|
|
|
128
85
|
titleClass?: string;
|
|
129
86
|
className?: string;
|
|
130
87
|
}
|
|
131
|
-
|
|
132
|
-
export type SubtypeDocumentProps = DefaultSubtypeDocumentProps | AlternativeSubtypeDocumentProps;
|
|
133
88
|
|
|
@@ -1,33 +1,30 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { JumboCard as
|
|
3
|
-
import { DocumentCategories as
|
|
4
|
-
import { DocumentSection as
|
|
1
|
+
import { jsxs as a, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { JumboCard as i } from "./JumboCard.js";
|
|
3
|
+
import { DocumentCategories as s } from "./DocumentCategories.js";
|
|
4
|
+
import { DocumentSection as x } from "./DocumentSection.js";
|
|
5
5
|
import { Breadcrumb as f } from "./Breadcrumb.js";
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
breadcrumb: t,
|
|
6
|
+
import { FaqSection as n } from "./FaqSection.js";
|
|
7
|
+
import { BlogSection as d } from "./BlogSection.js";
|
|
8
|
+
const C = ({
|
|
9
|
+
jumbo: l,
|
|
10
|
+
breadcrumb: m,
|
|
12
11
|
categories: o,
|
|
13
12
|
documentSections: r,
|
|
14
|
-
|
|
15
|
-
faqSection: i,
|
|
13
|
+
faqSection: p,
|
|
16
14
|
articles: c
|
|
17
|
-
}) => /* @__PURE__ */
|
|
18
|
-
/* @__PURE__ */ e(
|
|
19
|
-
/* @__PURE__ */ e(f, { ...
|
|
20
|
-
/* @__PURE__ */
|
|
21
|
-
/* @__PURE__ */ e("aside", { className: "sticky top-24 hidden self-start md:block", children: /* @__PURE__ */ e(
|
|
22
|
-
/* @__PURE__ */
|
|
23
|
-
r.map((
|
|
15
|
+
}) => /* @__PURE__ */ a("main", { className: "mx-auto flex flex-1 flex-col gap-4 px-6 pt-8 pb-16 lg:px-8 xl:max-w-300 xl:px-0", children: [
|
|
16
|
+
/* @__PURE__ */ e(i, { ...l }),
|
|
17
|
+
/* @__PURE__ */ e(f, { ...m, className: "pt-2" }),
|
|
18
|
+
/* @__PURE__ */ a("div", { className: "mx-auto flex justify-center gap-4 text-neutral-800 lg:gap-26.5 xl:gap-31.5", children: [
|
|
19
|
+
/* @__PURE__ */ e("aside", { className: "sticky top-24 hidden self-start md:block", children: /* @__PURE__ */ e(s, { ...o }) }),
|
|
20
|
+
/* @__PURE__ */ a("div", { className: "flex flex-col gap-10", children: [
|
|
21
|
+
r.map((t) => /* @__PURE__ */ e(x, { ...t }, t.id)),
|
|
24
22
|
/* @__PURE__ */ e("span", { className: "h-px w-full bg-neutral-200" }),
|
|
25
|
-
/* @__PURE__ */ e(
|
|
26
|
-
/* @__PURE__ */ e(
|
|
27
|
-
/* @__PURE__ */ e(g, { ...c })
|
|
23
|
+
/* @__PURE__ */ e(n, { ...p }),
|
|
24
|
+
/* @__PURE__ */ e(d, { ...c })
|
|
28
25
|
] })
|
|
29
26
|
] })
|
|
30
27
|
] });
|
|
31
28
|
export {
|
|
32
|
-
|
|
29
|
+
C as CategoryProductTemplate
|
|
33
30
|
};
|