@npm_leadtech/legal-contracts-ui 0.74.2 → 0.75.0
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.d.ts +3 -2
- package/dist/components/BlogSection.js +10 -9
- package/dist/components/CategoryProductTemplate.d.ts +3 -47
- package/dist/components/CategoryProductTemplate.js +36 -28
- package/dist/components/DocumentSection.js +8 -7
- package/dist/components/HeroSection.d.ts +4 -2
- package/dist/components/HeroSection.js +26 -15
- package/dist/components/HomeTemplate.d.ts +7 -4
- package/dist/components/HomeTemplate.js +18 -18
- package/dist/components/Item.d.ts +3 -1
- 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 +3 -1
- package/dist/components/MoreTemplatesSection.js +11 -10
- package/dist/components/ProductTemplate.d.ts +1 -1
- package/dist/components/SectionHeading.js +8 -7
- package/dist/components/index.d.ts +1028 -0
- package/dist/globals.css +1 -1
- package/package.json +1 -1
|
@@ -4,14 +4,15 @@ import { ReactNode } from 'react';
|
|
|
4
4
|
export declare const BlogSection: FC<BlogSectionProps>;
|
|
5
5
|
|
|
6
6
|
export declare interface BlogSectionProps {
|
|
7
|
-
header: SectionHeadingProps;
|
|
7
|
+
header: SectionHeadingProps | null;
|
|
8
8
|
articles: {
|
|
9
9
|
title: string;
|
|
10
10
|
image: ReactNode;
|
|
11
11
|
description: string;
|
|
12
12
|
cta: ReactNode;
|
|
13
13
|
}[];
|
|
14
|
-
cta: ReactNode;
|
|
14
|
+
cta: ReactNode | null;
|
|
15
|
+
className?: string;
|
|
15
16
|
}
|
|
16
17
|
|
|
17
18
|
export interface SectionHeadingProps {
|
|
@@ -1,19 +1,20 @@
|
|
|
1
1
|
import { jsx as e, jsxs as i } from "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
3
|
+
import s from "clsx";
|
|
4
|
+
import { SectionHeading as n } from "./SectionHeading.js";
|
|
5
|
+
import { LinkWrapper as o } from "./LinkWrapper.js";
|
|
6
|
+
const h = ({ header: r, articles: a, cta: m, className: t = "" }) => a.length === 0 ? null : /* @__PURE__ */ e("section", { className: s("mx-auto px-8 lg:px-12 xl:max-w-300 xl:px-0", t), children: /* @__PURE__ */ i("div", { className: "mx-auto flex flex-col items-center gap-8", children: [
|
|
7
|
+
r && /* @__PURE__ */ e(n, { ...r }),
|
|
8
|
+
/* @__PURE__ */ e("div", { className: "grid gap-6 lg:grid-cols-2", children: a.map((l) => /* @__PURE__ */ i("article", { className: "flex flex-col rounded-sm bg-white shadow md:flex-row", children: [
|
|
9
|
+
/* @__PURE__ */ e("div", { className: "relative h-42 shrink-0 overflow-hidden rounded-l-sm md:h-50 lg:h-auto lg:max-w-51 [&_img]:h-full [&_img]:w-full [&_img]:object-cover", children: l.image }),
|
|
9
10
|
/* @__PURE__ */ i("div", { className: "flex flex-col gap-4 p-6 text-neutral-800", children: [
|
|
10
11
|
/* @__PURE__ */ e("h3", { className: "text-big font-semibold", children: l.title }),
|
|
11
12
|
/* @__PURE__ */ e("p", { className: "text-medium", children: l.description }),
|
|
12
|
-
/* @__PURE__ */ e(
|
|
13
|
+
/* @__PURE__ */ e(o, { className: "w-fit", variant: "tertiary-bold", children: l.cta })
|
|
13
14
|
] })
|
|
14
15
|
] }, l.title)) }),
|
|
15
|
-
/* @__PURE__ */ e(
|
|
16
|
+
!!m && /* @__PURE__ */ e(o, { className: "w-full md:w-fit", variant: "secondary-green", children: m })
|
|
16
17
|
] }) });
|
|
17
18
|
export {
|
|
18
|
-
|
|
19
|
+
h as BlogSection
|
|
19
20
|
};
|
|
@@ -1,27 +1,16 @@
|
|
|
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
|
-
header: SectionHeadingProps;
|
|
5
|
+
header: SectionHeadingProps | null;
|
|
18
6
|
articles: {
|
|
19
7
|
title: string;
|
|
20
8
|
image: ReactNode;
|
|
21
9
|
description: string;
|
|
22
10
|
cta: ReactNode;
|
|
23
11
|
}[];
|
|
24
|
-
cta: ReactNode;
|
|
12
|
+
cta: ReactNode | null;
|
|
13
|
+
className?: string;
|
|
25
14
|
}
|
|
26
15
|
|
|
27
16
|
export interface BreadcrumbProps {
|
|
@@ -39,31 +28,10 @@ export declare interface CategoryProductTemplateProps {
|
|
|
39
28
|
breadcrumb: BreadcrumbProps;
|
|
40
29
|
categories: DocumentCategoriesProps;
|
|
41
30
|
documentSections: DocumentSectionProps[];
|
|
42
|
-
contentItems: ContentItemProps[];
|
|
43
31
|
faqSection: FaqSectionProps;
|
|
44
32
|
articles: BlogSectionProps;
|
|
45
33
|
}
|
|
46
34
|
|
|
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
35
|
export interface DocumentCategoriesProps {
|
|
68
36
|
title: string;
|
|
69
37
|
categories: {
|
|
@@ -103,11 +71,6 @@ export interface FaqSectionProps {
|
|
|
103
71
|
className?: string;
|
|
104
72
|
}
|
|
105
73
|
|
|
106
|
-
export interface ImageWithPreviewProps {
|
|
107
|
-
small: ReactNode;
|
|
108
|
-
large: ReactNode;
|
|
109
|
-
}
|
|
110
|
-
|
|
111
74
|
export interface JumboCardProps {
|
|
112
75
|
title: string;
|
|
113
76
|
description: string;
|
|
@@ -116,11 +79,6 @@ export interface JumboCardProps {
|
|
|
116
79
|
lastUpdate?: string;
|
|
117
80
|
}
|
|
118
81
|
|
|
119
|
-
export interface LinkedProductProps {
|
|
120
|
-
slug: string;
|
|
121
|
-
children: ReactNode;
|
|
122
|
-
}
|
|
123
|
-
|
|
124
82
|
export interface SectionHeadingProps {
|
|
125
83
|
title: string;
|
|
126
84
|
description?: string;
|
|
@@ -128,6 +86,4 @@ export interface SectionHeadingProps {
|
|
|
128
86
|
titleClass?: string;
|
|
129
87
|
className?: string;
|
|
130
88
|
}
|
|
131
|
-
|
|
132
|
-
export type SubtypeDocumentProps = DefaultSubtypeDocumentProps | AlternativeSubtypeDocumentProps;
|
|
133
89
|
|
|
@@ -1,33 +1,41 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { JumboCard as
|
|
3
|
-
import { DocumentCategories as
|
|
4
|
-
import { DocumentSection as
|
|
5
|
-
import { Breadcrumb as
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
/* @__PURE__ */
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
/* @__PURE__ */
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
1
|
+
import { jsxs as l, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { JumboCard as i } from "./JumboCard.js";
|
|
3
|
+
import { DocumentCategories as c } from "./DocumentCategories.js";
|
|
4
|
+
import { DocumentSection as n } from "./DocumentSection.js";
|
|
5
|
+
import { Breadcrumb as x } from "./Breadcrumb.js";
|
|
6
|
+
import { FaqSection as f } from "./FaqSection.js";
|
|
7
|
+
import { BlogSection as d } from "./BlogSection.js";
|
|
8
|
+
const w = ({
|
|
9
|
+
jumbo: r,
|
|
10
|
+
breadcrumb: o,
|
|
11
|
+
categories: m,
|
|
12
|
+
documentSections: s,
|
|
13
|
+
faqSection: p,
|
|
14
|
+
articles: a
|
|
15
|
+
}) => /* @__PURE__ */ l("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, { ...r }),
|
|
17
|
+
/* @__PURE__ */ e(x, { ...o, className: "pt-2" }),
|
|
18
|
+
/* @__PURE__ */ l("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(c, { ...m }) }),
|
|
20
|
+
/* @__PURE__ */ l("div", { className: "flex flex-col gap-10", children: [
|
|
21
|
+
s.map((t) => /* @__PURE__ */ e(n, { ...t }, t.id)),
|
|
22
|
+
/* @__PURE__ */ e("span", { className: "h-px w-full bg-neutral-200" }),
|
|
23
|
+
/* @__PURE__ */ e(f, { ...p }),
|
|
24
|
+
/* @__PURE__ */ e(
|
|
25
|
+
d,
|
|
26
|
+
{
|
|
27
|
+
...a,
|
|
28
|
+
header: a.header ? {
|
|
29
|
+
...a.header,
|
|
30
|
+
align: "start",
|
|
31
|
+
titleClass: "font-bold font-inter text-super-large",
|
|
32
|
+
className: "w-full"
|
|
33
|
+
} : null
|
|
34
|
+
}
|
|
35
|
+
)
|
|
28
36
|
] })
|
|
29
37
|
] })
|
|
30
38
|
] });
|
|
31
39
|
export {
|
|
32
|
-
|
|
40
|
+
w as CategoryProductTemplate
|
|
33
41
|
};
|
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
import { jsxs as l, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { DocumentItem as
|
|
3
|
-
|
|
2
|
+
import { DocumentItem as i } from "./DocumentItem.js";
|
|
3
|
+
import { Markdown as o } from "./Markdown.js";
|
|
4
|
+
const x = ({ id: r, title: t, description: s, icon: c, documents: m }) => /* @__PURE__ */ l("article", { id: r, className: "flex scroll-mt-24 flex-col gap-6", children: [
|
|
4
5
|
/* @__PURE__ */ l("div", { className: "flex items-start gap-4 rounded bg-neutral-50 p-6", children: [
|
|
5
|
-
|
|
6
|
+
c,
|
|
6
7
|
/* @__PURE__ */ l("div", { className: "flex flex-1 flex-col gap-2 text-neutral-800", children: [
|
|
7
|
-
/* @__PURE__ */ e("p", { className: "font-lora text-super-large", children:
|
|
8
|
-
/* @__PURE__ */ e(
|
|
8
|
+
/* @__PURE__ */ e("p", { className: "font-lora text-super-large", children: t }),
|
|
9
|
+
/* @__PURE__ */ e(o, { className: "text-medium [&_p:last-child]:mb-0", content: s })
|
|
9
10
|
] })
|
|
10
11
|
] }),
|
|
11
|
-
/* @__PURE__ */ e("div", { className: "grid grid-cols-1 gap-6 lg:grid-cols-2", children:
|
|
12
|
+
/* @__PURE__ */ e("div", { className: "grid grid-cols-1 gap-6 lg:grid-cols-2", children: m.map((a) => /* @__PURE__ */ e(i, { ...a, className: "w-full" }, a.id)) })
|
|
12
13
|
] });
|
|
13
14
|
export {
|
|
14
|
-
|
|
15
|
+
x as DocumentSection
|
|
15
16
|
};
|
|
@@ -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;
|
|
10
9
|
cta?: ReactNode;
|
|
11
10
|
heroDocuments: ItemProps[];
|
|
12
11
|
listTitle?: string;
|
|
12
|
+
backgroundImage?: string;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
export interface ItemProps {
|
|
@@ -17,8 +17,10 @@ export interface ItemProps {
|
|
|
17
17
|
image: ReactNode;
|
|
18
18
|
title?: string;
|
|
19
19
|
description?: string;
|
|
20
|
-
documentUrl?:
|
|
20
|
+
documentUrl?: string;
|
|
21
|
+
actions?: ReactNode;
|
|
21
22
|
variant?: 'default' | 'card';
|
|
22
23
|
className?: string;
|
|
24
|
+
titleClassName?: string;
|
|
23
25
|
}
|
|
24
26
|
|
|
@@ -1,21 +1,32 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { jsx as e, jsxs as t } from "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
import { Item as
|
|
3
|
+
import { Item as c } 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
|
-
|
|
5
|
+
const g = ({
|
|
6
|
+
title: i,
|
|
7
|
+
description: s,
|
|
8
|
+
cta: l,
|
|
9
|
+
heroDocuments: m,
|
|
10
|
+
listTitle: n,
|
|
11
|
+
backgroundImage: r
|
|
12
|
+
}) => /* @__PURE__ */ e("section", { className: "bg-primary-50", children: /* @__PURE__ */ e(
|
|
13
|
+
"div",
|
|
14
|
+
{
|
|
15
|
+
className: "bg-none bg-size-[420px_442px] bg-bottom-right bg-no-repeat xl:bg-(image:--hero-bg)",
|
|
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
|
+
] })
|
|
16
27
|
] })
|
|
17
|
-
|
|
18
|
-
|
|
28
|
+
}
|
|
29
|
+
) });
|
|
19
30
|
export {
|
|
20
31
|
g as HeroSection
|
|
21
32
|
};
|
|
@@ -2,14 +2,15 @@ import { FC } from 'react';
|
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
3
|
|
|
4
4
|
export interface BlogSectionProps {
|
|
5
|
-
header: SectionHeadingProps;
|
|
5
|
+
header: SectionHeadingProps | null;
|
|
6
6
|
articles: {
|
|
7
7
|
title: string;
|
|
8
8
|
image: ReactNode;
|
|
9
9
|
description: string;
|
|
10
10
|
cta: ReactNode;
|
|
11
11
|
}[];
|
|
12
|
-
cta: ReactNode;
|
|
12
|
+
cta: ReactNode | null;
|
|
13
|
+
className?: string;
|
|
13
14
|
}
|
|
14
15
|
|
|
15
16
|
export interface CategoriesSectionProps {
|
|
@@ -36,10 +37,10 @@ export interface FaqTeaserSectionProps {
|
|
|
36
37
|
export interface HeroSectionProps {
|
|
37
38
|
title: string;
|
|
38
39
|
description?: string;
|
|
39
|
-
bgImage: ReactNode | null;
|
|
40
40
|
cta?: ReactNode;
|
|
41
41
|
heroDocuments: ItemProps[];
|
|
42
42
|
listTitle?: string;
|
|
43
|
+
backgroundImage?: string;
|
|
43
44
|
}
|
|
44
45
|
|
|
45
46
|
export interface HomeStepsProps {
|
|
@@ -71,9 +72,11 @@ export interface ItemProps {
|
|
|
71
72
|
image: ReactNode;
|
|
72
73
|
title?: string;
|
|
73
74
|
description?: string;
|
|
74
|
-
documentUrl?:
|
|
75
|
+
documentUrl?: string;
|
|
76
|
+
actions?: ReactNode;
|
|
75
77
|
variant?: 'default' | 'card';
|
|
76
78
|
className?: string;
|
|
79
|
+
titleClassName?: string;
|
|
77
80
|
}
|
|
78
81
|
|
|
79
82
|
export interface LawGeniusSectionProps {
|
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
import { jsxs as
|
|
1
|
+
import { jsxs as c, jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
import { HeroSection as
|
|
4
|
-
import { MoreTemplatesSection as
|
|
5
|
-
import { ProcessSection as
|
|
6
|
-
import { CategoriesSection as
|
|
3
|
+
import { HeroSection as n } from "./HeroSection.js";
|
|
4
|
+
import { MoreTemplatesSection as f } from "./MoreTemplatesSection.js";
|
|
5
|
+
import { ProcessSection as l } from "./ProcessSection.js";
|
|
6
|
+
import { CategoriesSection as S } from "./CategoriesSection.js";
|
|
7
7
|
import { RatafiaSection as x } from "./RatafiaSection.js";
|
|
8
8
|
import { TrustSection as T } from "./TrustSection.js";
|
|
9
|
-
import { FaqTeaserSection as
|
|
10
|
-
import { BlogSection as
|
|
11
|
-
const
|
|
9
|
+
import { FaqTeaserSection as b } from "./FaqTeaserSection.js";
|
|
10
|
+
import { BlogSection as g } from "./BlogSection.js";
|
|
11
|
+
const M = ({
|
|
12
12
|
hero: t,
|
|
13
13
|
moreTemplates: m,
|
|
14
14
|
process: e,
|
|
15
15
|
categories: r,
|
|
16
16
|
ratafia: i,
|
|
17
17
|
trust: p,
|
|
18
|
-
faqTeaser:
|
|
19
|
-
articles:
|
|
20
|
-
}) => /* @__PURE__ */
|
|
21
|
-
/* @__PURE__ */ o(
|
|
22
|
-
/* @__PURE__ */ o(
|
|
23
|
-
/* @__PURE__ */ o(
|
|
24
|
-
r && /* @__PURE__ */ o(
|
|
18
|
+
faqTeaser: s,
|
|
19
|
+
articles: a
|
|
20
|
+
}) => /* @__PURE__ */ c("main", { className: "flex-1", children: [
|
|
21
|
+
/* @__PURE__ */ o(n, { ...t }),
|
|
22
|
+
/* @__PURE__ */ o(f, { ...m }),
|
|
23
|
+
/* @__PURE__ */ o(l, { ...e }),
|
|
24
|
+
r && /* @__PURE__ */ o(S, { ...r }),
|
|
25
25
|
/* @__PURE__ */ o(x, { ...i }),
|
|
26
26
|
/* @__PURE__ */ o(T, { ...p }),
|
|
27
|
-
/* @__PURE__ */ o(
|
|
28
|
-
/* @__PURE__ */ o(
|
|
27
|
+
/* @__PURE__ */ o(b, { ...s }),
|
|
28
|
+
/* @__PURE__ */ o(g, { className: "pt-10 pb-12 lg:pb-14", ...a })
|
|
29
29
|
] });
|
|
30
30
|
export {
|
|
31
|
-
|
|
31
|
+
M as HomeTemplate
|
|
32
32
|
};
|
|
@@ -8,8 +8,10 @@ export declare interface ItemProps {
|
|
|
8
8
|
image: ReactNode;
|
|
9
9
|
title?: string;
|
|
10
10
|
description?: string;
|
|
11
|
-
documentUrl?:
|
|
11
|
+
documentUrl?: string;
|
|
12
|
+
actions?: ReactNode;
|
|
12
13
|
variant?: 'default' | 'card';
|
|
13
14
|
className?: string;
|
|
15
|
+
titleClassName?: string;
|
|
14
16
|
}
|
|
15
17
|
|
package/dist/components/Item.js
CHANGED
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
import { jsxs as
|
|
1
|
+
import { jsxs as t, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
image: l,
|
|
7
|
-
title: t,
|
|
3
|
+
const h = ({
|
|
4
|
+
image: s,
|
|
5
|
+
title: r,
|
|
8
6
|
description: a,
|
|
9
|
-
documentUrl:
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
"
|
|
7
|
+
documentUrl: l,
|
|
8
|
+
actions: d,
|
|
9
|
+
variant: n = "default",
|
|
10
|
+
className: m = "",
|
|
11
|
+
titleClassName: o = ""
|
|
12
|
+
}) => /* @__PURE__ */ t(
|
|
13
|
+
"a",
|
|
14
14
|
{
|
|
15
|
-
|
|
15
|
+
href: l,
|
|
16
|
+
className: `hover:bg-primary-50 flex cursor-pointer items-center gap-4 rounded-sm p-4 pl-6 ${{
|
|
16
17
|
default: "",
|
|
17
18
|
card: "border border-0.5 border-neutral-200 shadow-lg bg-white"
|
|
18
|
-
}[
|
|
19
|
+
}[n]} ${m}`,
|
|
19
20
|
children: [
|
|
20
|
-
|
|
21
|
-
/* @__PURE__ */
|
|
22
|
-
|
|
21
|
+
s,
|
|
22
|
+
/* @__PURE__ */ t("div", { className: "flex-1", children: [
|
|
23
|
+
r && /* @__PURE__ */ e("p", { className: `text-medium font-semibold text-neutral-900 ${o}`, children: r }),
|
|
23
24
|
a && /* @__PURE__ */ e("p", { className: "text-extra-small text-neutral-600", children: a })
|
|
24
25
|
] }),
|
|
25
|
-
|
|
26
|
-
r === "card" && /* @__PURE__ */ e(c, { width: 20, height: 20 })
|
|
26
|
+
/* @__PURE__ */ e("div", { children: d })
|
|
27
27
|
]
|
|
28
28
|
}
|
|
29
29
|
);
|
|
30
30
|
export {
|
|
31
|
-
|
|
31
|
+
h as Item
|
|
32
32
|
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { jsxs as
|
|
1
|
+
import { jsxs as t, jsx as e } 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: a, description: r, bgImage: o }) => /* @__PURE__ */ t("section", { className: "bg-primary-900 relative isolate overflow-hidden p-6 text-white", children: [
|
|
4
|
+
/* @__PURE__ */ t("div", { className: "mx-auto flex max-w-250 flex-col gap-4 md:text-center", children: [
|
|
5
|
+
/* @__PURE__ */ e("h1", { className: "font-lora text-large text-neutral-25 md:text-jumbotron", children: a }),
|
|
6
|
+
/* @__PURE__ */ e(l, { content: r, className: "text-small text-neutral-25 mx-auto max-w-201 xl:max-w-250" })
|
|
7
7
|
] }),
|
|
8
|
-
|
|
8
|
+
o
|
|
9
9
|
] });
|
|
10
10
|
export {
|
|
11
11
|
n as Jumbotron
|
|
@@ -6,9 +6,11 @@ export interface ItemProps {
|
|
|
6
6
|
image: ReactNode;
|
|
7
7
|
title?: string;
|
|
8
8
|
description?: string;
|
|
9
|
-
documentUrl?:
|
|
9
|
+
documentUrl?: string;
|
|
10
|
+
actions?: ReactNode;
|
|
10
11
|
variant?: 'default' | 'card';
|
|
11
12
|
className?: string;
|
|
13
|
+
titleClassName?: string;
|
|
12
14
|
}
|
|
13
15
|
|
|
14
16
|
export declare const MoreTemplatesSection: FC<PopularDocumentsProps>;
|
|
@@ -1,25 +1,26 @@
|
|
|
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 s } from "./SectionHeading.js";
|
|
4
|
+
import { Item as o } from "./Item.js";
|
|
5
|
+
import { ChevronDownIcon as a } from "./ChevronDownIcon.js";
|
|
6
|
+
const x = ({ header: n, 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(s, { ...n, align: "start" }),
|
|
9
|
+
/* @__PURE__ */ e("div", { className: "grid grid-cols-3", children: l.map((r) => /* @__PURE__ */ e("div", { className: "border-neutral-200 px-6 not-nth-[3n]:border-r", children: /* @__PURE__ */ e(o, { ...r, className: "items-start! px-2!", titleClassName: "font-normal!" }) }, `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: n.title }),
|
|
14
|
+
/* @__PURE__ */ e(a, { 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
|
+
o,
|
|
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,
|
|
23
24
|
className: "border-b border-neutral-200 p-6 last:border-b-0",
|
|
24
25
|
documentUrl: r.documentUrl
|
|
25
26
|
},
|
|
@@ -28,5 +29,5 @@ const b = ({ header: o, moreDocuments: l = [] }) => l.length === 0 ? null : /* @
|
|
|
28
29
|
] }) })
|
|
29
30
|
] });
|
|
30
31
|
export {
|
|
31
|
-
|
|
32
|
+
x as MoreTemplatesSection
|
|
32
33
|
};
|
|
@@ -1,21 +1,22 @@
|
|
|
1
|
-
import { jsxs as
|
|
1
|
+
import { jsxs as c, jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
|
|
3
|
+
import { Markdown as m } from "./Markdown.js";
|
|
4
|
+
const i = ({
|
|
4
5
|
title: r,
|
|
5
6
|
description: e,
|
|
6
7
|
align: l = "center",
|
|
7
8
|
titleClass: a = "font-lora text-super-large",
|
|
8
|
-
className:
|
|
9
|
-
}) => /* @__PURE__ */
|
|
9
|
+
className: n = ""
|
|
10
|
+
}) => /* @__PURE__ */ c(
|
|
10
11
|
"div",
|
|
11
12
|
{
|
|
12
|
-
className: `flex flex-col gap-4 text-neutral-800 ${
|
|
13
|
+
className: `flex flex-col gap-4 text-neutral-800 ${n} ${l === "center" ? "items-center text-center" : "text-left"}`,
|
|
13
14
|
children: [
|
|
14
15
|
/* @__PURE__ */ t("h2", { className: a, children: r }),
|
|
15
|
-
e && /* @__PURE__ */ t(
|
|
16
|
+
e && /* @__PURE__ */ t(m, { className: "text-medium max-w-3xl [&_p:last-child]:mb-0", content: e })
|
|
16
17
|
]
|
|
17
18
|
}
|
|
18
19
|
);
|
|
19
20
|
export {
|
|
20
|
-
|
|
21
|
+
i as SectionHeading
|
|
21
22
|
};
|