@npm_leadtech/legal-contracts-ui 0.37.2 → 0.37.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.
|
@@ -4,18 +4,14 @@ import { ReactNode } from 'react';
|
|
|
4
4
|
export declare const ContentItem: FC<ContentItemProps>;
|
|
5
5
|
|
|
6
6
|
export declare interface ContentItemProps {
|
|
7
|
-
|
|
7
|
+
id: string;
|
|
8
|
+
title: string | null;
|
|
9
|
+
content: string | null;
|
|
10
|
+
linkedProducts: LinkedProductProps[];
|
|
8
11
|
}
|
|
9
12
|
|
|
10
13
|
export interface LinkedProductProps {
|
|
11
14
|
slug: string;
|
|
12
15
|
children: ReactNode;
|
|
13
16
|
}
|
|
14
|
-
|
|
15
|
-
export declare interface SingleContentItemProps {
|
|
16
|
-
id: string;
|
|
17
|
-
title: string | null;
|
|
18
|
-
content: string | null;
|
|
19
|
-
linkedProducts: LinkedProductProps[];
|
|
20
|
-
}
|
|
21
17
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { LinkedProducts as
|
|
3
|
-
import { Markdown as
|
|
4
|
-
const
|
|
5
|
-
t
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
] },
|
|
1
|
+
import { jsxs as s, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { LinkedProducts as a } from "./LinkedProducts.js";
|
|
3
|
+
import { Markdown as l } from "./Markdown.js";
|
|
4
|
+
const f = ({ id: r, title: t, content: m, linkedProducts: o }) => /* @__PURE__ */ s("div", { id: r, className: "flex flex-col gap-6 text-neutral-800", children: [
|
|
5
|
+
t && /* @__PURE__ */ e("h2", { className: "text-super-large font-bold", children: t }),
|
|
6
|
+
m && /* @__PURE__ */ e(l, { content: m, className: "text-medium" }),
|
|
7
|
+
o.length > 0 && /* @__PURE__ */ e(a, { linkedProducts: o })
|
|
8
|
+
] }, r);
|
|
9
9
|
export {
|
|
10
|
-
|
|
10
|
+
f as ContentItem
|
|
11
11
|
};
|
|
@@ -29,7 +29,10 @@ export type ButtonSize = 'small' | 'default' | 'large';
|
|
|
29
29
|
export type ButtonVariant = 'primary-green' | 'primary-darkgreen' | 'primary-yellow' | 'primary-white' | 'secondary-green' | 'secondary-yellow' | 'secondary-red' | 'tertiary-bold' | 'tertiary-thin' | 'tertiary-icon' | 'tertiary-link' | 'icon-black' | 'icon-grey' | 'icon-mobile';
|
|
30
30
|
|
|
31
31
|
export interface ContentItemProps {
|
|
32
|
-
|
|
32
|
+
id: string;
|
|
33
|
+
title: string | null;
|
|
34
|
+
content: string | null;
|
|
35
|
+
linkedProducts: LinkedProductProps[];
|
|
33
36
|
}
|
|
34
37
|
|
|
35
38
|
export interface FaqItemProps {
|
|
@@ -103,20 +106,13 @@ export declare interface ProductTemplateProps {
|
|
|
103
106
|
benefitsBar: BenefitsBarProps;
|
|
104
107
|
breadcrumb: BreadcrumbProps;
|
|
105
108
|
tableOfContents: TableOfContentsProps;
|
|
106
|
-
contentItems: ContentItemProps;
|
|
109
|
+
contentItems: ContentItemProps[];
|
|
107
110
|
faqSection: FaqSectionProps;
|
|
108
111
|
previewDownload: PreviewDownloadProps;
|
|
109
112
|
previewSection: PreviewSectionProps;
|
|
110
113
|
tryNowSection: TryNowSectionProps;
|
|
111
114
|
}
|
|
112
115
|
|
|
113
|
-
export interface SingleContentItemProps {
|
|
114
|
-
id: string;
|
|
115
|
-
title: string | null;
|
|
116
|
-
content: string | null;
|
|
117
|
-
linkedProducts: LinkedProductProps[];
|
|
118
|
-
}
|
|
119
|
-
|
|
120
116
|
export interface TableOfContentsProps {
|
|
121
117
|
title: string;
|
|
122
118
|
contents: {
|
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
import { jsxs as r, jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import { Jumbotron as
|
|
3
|
-
import { Preform as
|
|
4
|
-
import { ProductInfo as
|
|
5
|
-
import { BenefitsBar as
|
|
6
|
-
import { Breadcrumb as
|
|
7
|
-
import { TableOfContents as
|
|
8
|
-
import { ContentItem as
|
|
9
|
-
import { FaqSection as
|
|
10
|
-
import { PreviewDownload as
|
|
11
|
-
import { PreviewSection as
|
|
12
|
-
import { TryNowSection as
|
|
13
|
-
const
|
|
14
|
-
jumbotron:
|
|
15
|
-
preform:
|
|
16
|
-
productInfo:
|
|
17
|
-
benefitsBar:
|
|
18
|
-
breadcrumb:
|
|
19
|
-
tableOfContents:
|
|
20
|
-
contentItems:
|
|
21
|
-
faqSection:
|
|
22
|
-
previewDownload:
|
|
23
|
-
previewSection:
|
|
24
|
-
tryNowSection:
|
|
2
|
+
import { Jumbotron as d } from "./Jumbotron.js";
|
|
3
|
+
import { Preform as g } from "./Preform.js";
|
|
4
|
+
import { ProductInfo as u } from "./ProductInfo.js";
|
|
5
|
+
import { BenefitsBar as w } from "./BenefitsBar.js";
|
|
6
|
+
import { Breadcrumb as h } from "./Breadcrumb.js";
|
|
7
|
+
import { TableOfContents as N } from "./TableOfContents.js";
|
|
8
|
+
import { ContentItem as b } from "./ContentItem.js";
|
|
9
|
+
import { FaqSection as v } from "./FaqSection.js";
|
|
10
|
+
import { PreviewDownload as P } from "./PreviewDownload.js";
|
|
11
|
+
import { PreviewSection as B } from "./PreviewSection.js";
|
|
12
|
+
import { TryNowSection as S } from "./TryNowSection.js";
|
|
13
|
+
const A = ({
|
|
14
|
+
jumbotron: e,
|
|
15
|
+
preform: t,
|
|
16
|
+
productInfo: i,
|
|
17
|
+
benefitsBar: l,
|
|
18
|
+
breadcrumb: a,
|
|
19
|
+
tableOfContents: p,
|
|
20
|
+
contentItems: c,
|
|
21
|
+
faqSection: f,
|
|
22
|
+
previewDownload: n,
|
|
23
|
+
previewSection: s,
|
|
24
|
+
tryNowSection: x
|
|
25
25
|
}) => /* @__PURE__ */ r("main", { className: "flex-1", children: [
|
|
26
|
-
/* @__PURE__ */ o(x, { ...m }),
|
|
27
26
|
/* @__PURE__ */ o(d, { ...e }),
|
|
28
27
|
/* @__PURE__ */ o(g, { ...t }),
|
|
29
28
|
/* @__PURE__ */ o(u, { ...i }),
|
|
29
|
+
/* @__PURE__ */ o(w, { ...l }),
|
|
30
30
|
/* @__PURE__ */ o("section", { className: "px-4 pt-6 pb-10 text-neutral-800 md:px-6 lg:px-8 xl:px-30", children: /* @__PURE__ */ r("div", { className: "mx-auto flex w-full max-w-300 flex-col gap-6", children: [
|
|
31
|
-
/* @__PURE__ */ o(
|
|
31
|
+
/* @__PURE__ */ o(h, { ...a }),
|
|
32
32
|
/* @__PURE__ */ r("div", { className: "flex items-start md:gap-4 lg:gap-26.5 xl:gap-31", children: [
|
|
33
33
|
/* @__PURE__ */ r("div", { className: "flex flex-col gap-8 lg:max-w-137.5 xl:max-w-172.5", children: [
|
|
34
|
-
/* @__PURE__ */ o(h, { ...a }),
|
|
35
34
|
/* @__PURE__ */ o(N, { ...p }),
|
|
36
|
-
/* @__PURE__ */ o(b, { ...
|
|
35
|
+
c.map((m) => /* @__PURE__ */ o(b, { ...m }, m.id)),
|
|
36
|
+
/* @__PURE__ */ o(v, { ...f })
|
|
37
37
|
] }),
|
|
38
|
-
/* @__PURE__ */ o("aside", { className: "sticky top-10 hidden pt-4 md:block", children: /* @__PURE__ */ o(
|
|
38
|
+
/* @__PURE__ */ o("aside", { className: "sticky top-10 hidden pt-4 md:block", children: /* @__PURE__ */ o(P, { ...n }) })
|
|
39
39
|
] })
|
|
40
40
|
] }) }),
|
|
41
|
-
/* @__PURE__ */ o(
|
|
42
|
-
/* @__PURE__ */ o(
|
|
41
|
+
/* @__PURE__ */ o(B, { ...s }),
|
|
42
|
+
/* @__PURE__ */ o(S, { ...x })
|
|
43
43
|
] });
|
|
44
44
|
export {
|
|
45
|
-
|
|
45
|
+
A as ProductTemplate
|
|
46
46
|
};
|
|
@@ -149,7 +149,10 @@ export declare interface ContactUsSectionProps {
|
|
|
149
149
|
export declare const ContentItem: FC<ContentItemProps>;
|
|
150
150
|
|
|
151
151
|
export declare interface ContentItemProps {
|
|
152
|
-
|
|
152
|
+
id: string;
|
|
153
|
+
title: string | null;
|
|
154
|
+
content: string | null;
|
|
155
|
+
linkedProducts: LinkedProductProps[];
|
|
153
156
|
}
|
|
154
157
|
|
|
155
158
|
export declare const CtaSection: FC<CtaSectionProps>;
|
|
@@ -662,13 +665,6 @@ export declare interface SelectProps extends React.SelectHTMLAttributes<HTMLSele
|
|
|
662
665
|
}[];
|
|
663
666
|
}
|
|
664
667
|
|
|
665
|
-
export declare interface SingleContentItemProps {
|
|
666
|
-
id: string;
|
|
667
|
-
title: string | null;
|
|
668
|
-
content: string | null;
|
|
669
|
-
linkedProducts: LinkedProductProps[];
|
|
670
|
-
}
|
|
671
|
-
|
|
672
668
|
export declare const StarsIcon: React_2.FC<React_2.SVGProps<SVGSVGElement>>;
|
|
673
669
|
|
|
674
670
|
export declare const Storyline: FC<StorylineProps>;
|