@npm_leadtech/legal-contracts-ui 0.99.7 → 0.100.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/AboutUsTemplate.d.ts +1 -2
- package/dist/components/AboutUsTemplate.js +24 -24
- package/dist/components/AllDocumentsTemplate.d.ts +0 -1
- package/dist/components/Button.d.ts +1 -2
- package/dist/components/Button.js +13 -14
- package/dist/components/CategoryProductTemplate.d.ts +0 -1
- package/dist/components/ContactMethodCard.d.ts +1 -1
- package/dist/components/ContactMethodCard.js +3 -3
- package/dist/components/ContactMethodsSection.d.ts +1 -1
- package/dist/components/ContactUsSection.d.ts +1 -1
- package/dist/components/ContactUsSection.js +12 -10
- package/dist/components/ContactUsTemplate.d.ts +1 -1
- package/dist/components/ContactUsTemplate.js +6 -6
- package/dist/components/CtaSection.d.ts +0 -1
- package/dist/components/DocumentItem.d.ts +0 -1
- package/dist/components/DocumentItem.js +11 -15
- package/dist/components/DocumentSection.d.ts +0 -1
- package/dist/components/GuidelinesSection.d.ts +0 -1
- package/dist/components/Header.d.ts +0 -2
- package/dist/components/HowItWorksTemplate.d.ts +0 -1
- package/dist/components/IntroSection.d.ts +0 -1
- package/dist/components/IntroSection.js +11 -11
- package/dist/components/MobileMenu.d.ts +0 -2
- package/dist/components/NotFoundTemplate.d.ts +72 -5
- package/dist/components/NotFoundTemplate.js +17 -20
- package/dist/components/SearchBar.d.ts +0 -2
- package/dist/components/SearchBar.js +30 -33
- package/dist/components/WeHelpSection.d.ts +0 -1
- package/dist/globals.css +1 -1
- package/package.json +1 -1
- package/dist/components/index.d.ts +0 -1192
|
@@ -24,7 +24,6 @@ export interface ButtonProps extends Omit<ComponentPropsWithRef<'button'>, 'chil
|
|
|
24
24
|
size?: ButtonSize;
|
|
25
25
|
variant?: ResponsiveButtonVariant;
|
|
26
26
|
iconPosition?: IconPosition;
|
|
27
|
-
href?: string;
|
|
28
27
|
}
|
|
29
28
|
|
|
30
29
|
export type ButtonSize = 'small' | 'default' | 'large';
|
|
@@ -35,7 +34,7 @@ export interface ContactUsSectionProps {
|
|
|
35
34
|
header: SectionHeadingProps;
|
|
36
35
|
contactOptions: Array<{
|
|
37
36
|
title: string;
|
|
38
|
-
description
|
|
37
|
+
description?: string;
|
|
39
38
|
icon: ReactNode;
|
|
40
39
|
helper?: string;
|
|
41
40
|
}>;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { jsxs as S, jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
2
|
+
import { MissionSection as u } from "./MissionSection.js";
|
|
3
|
+
import { ValuesSection as x } from "./ValuesSection.js";
|
|
4
|
+
import { Storyline as b } from "./Storyline.js";
|
|
5
|
+
import { WeHelpSection as d } from "./WeHelpSection.js";
|
|
6
|
+
import { GuidelinesSection as j } from "./GuidelinesSection.js";
|
|
7
|
+
import { ExpertsSection as y } from "./ExpertsSection.js";
|
|
8
|
+
import { TrustPilotSection as C } from "./TrustPilotSection.js";
|
|
9
|
+
import { PartnersSection as N } from "./PartnersSection.js";
|
|
10
|
+
import { CtaSection as P } from "./CtaSection.js";
|
|
11
|
+
import { ContactUsSection as T } from "./ContactUsSection.js";
|
|
12
|
+
import { Jumbotron2 as U } from "./Jumbotron2.js";
|
|
13
|
+
import { IntroSection as g } from "./IntroSection.js";
|
|
14
14
|
const v = ({
|
|
15
15
|
jumbotron: t,
|
|
16
16
|
intro: r,
|
|
@@ -25,18 +25,18 @@ const v = ({
|
|
|
25
25
|
cta: l,
|
|
26
26
|
contactUs: a
|
|
27
27
|
}) => /* @__PURE__ */ S("main", { className: "mx-auto flex w-full flex-1 flex-col text-neutral-800", children: [
|
|
28
|
-
/* @__PURE__ */ o(
|
|
29
|
-
/* @__PURE__ */ o(
|
|
30
|
-
/* @__PURE__ */ o(
|
|
31
|
-
/* @__PURE__ */ o(
|
|
32
|
-
/* @__PURE__ */ o(
|
|
33
|
-
/* @__PURE__ */ o(
|
|
34
|
-
/* @__PURE__ */ o(
|
|
35
|
-
/* @__PURE__ */ o(
|
|
36
|
-
/* @__PURE__ */ o(
|
|
37
|
-
/* @__PURE__ */ o(
|
|
38
|
-
/* @__PURE__ */ o(
|
|
39
|
-
/* @__PURE__ */ o(
|
|
28
|
+
/* @__PURE__ */ o(U, { ...t }),
|
|
29
|
+
/* @__PURE__ */ o(g, { ...r, className: "bg-primary-50" }),
|
|
30
|
+
/* @__PURE__ */ o(u, { ...m }),
|
|
31
|
+
/* @__PURE__ */ o(x, { ...i }),
|
|
32
|
+
/* @__PURE__ */ o(b, { ...e }),
|
|
33
|
+
/* @__PURE__ */ o(d, { ...n }),
|
|
34
|
+
/* @__PURE__ */ o(j, { ...p }),
|
|
35
|
+
/* @__PURE__ */ o(y, { ...f }),
|
|
36
|
+
/* @__PURE__ */ o(C, { ...s }),
|
|
37
|
+
/* @__PURE__ */ o(N, { ...c }),
|
|
38
|
+
/* @__PURE__ */ o(P, { ...l }),
|
|
39
|
+
/* @__PURE__ */ o(T, { ...a })
|
|
40
40
|
] });
|
|
41
41
|
export {
|
|
42
42
|
v as AboutUsTemplate
|
|
@@ -2,14 +2,13 @@ import { ComponentPropsWithRef } from 'react';
|
|
|
2
2
|
import { JSX } from 'react/jsx-runtime';
|
|
3
3
|
import { ReactNode } from 'react';
|
|
4
4
|
|
|
5
|
-
export declare const Button: ({ children, type, size, variant, iconPosition, className, disabled,
|
|
5
|
+
export declare const Button: ({ children, type, size, variant, iconPosition, className, disabled, ref, ...props }: ButtonProps) => JSX.Element;
|
|
6
6
|
|
|
7
7
|
export declare interface ButtonProps extends Omit<ComponentPropsWithRef<'button'>, 'children'> {
|
|
8
8
|
children: ReactNode;
|
|
9
9
|
size?: ButtonSize;
|
|
10
10
|
variant?: ResponsiveButtonVariant;
|
|
11
11
|
iconPosition?: IconPosition;
|
|
12
|
-
href?: string;
|
|
13
12
|
}
|
|
14
13
|
|
|
15
14
|
export type ButtonSize = 'small' | 'default' | 'large';
|
|
@@ -1,21 +1,20 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as l } from "react/jsx-runtime";
|
|
2
|
+
import { getButtonClasses as p } from "./Button.utils.js";
|
|
2
3
|
import "react";
|
|
3
|
-
|
|
4
|
-
const N = ({
|
|
4
|
+
const x = ({
|
|
5
5
|
children: o,
|
|
6
|
-
type:
|
|
7
|
-
size:
|
|
8
|
-
variant:
|
|
9
|
-
iconPosition:
|
|
10
|
-
className:
|
|
6
|
+
type: r = "button",
|
|
7
|
+
size: s = "default",
|
|
8
|
+
variant: e = "primary-green",
|
|
9
|
+
iconPosition: a = "left",
|
|
10
|
+
className: n,
|
|
11
11
|
disabled: t = !1,
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
...a
|
|
12
|
+
ref: m,
|
|
13
|
+
...u
|
|
15
14
|
}) => {
|
|
16
|
-
const
|
|
17
|
-
return
|
|
15
|
+
const f = p(s, e, a, t, n);
|
|
16
|
+
return /* @__PURE__ */ l("button", { ref: m, type: r, disabled: t, "aria-disabled": t, className: f, ...u, children: o });
|
|
18
17
|
};
|
|
19
18
|
export {
|
|
20
|
-
|
|
19
|
+
x as Button
|
|
21
20
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsxs as a, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
const i = ({ icon: n, label:
|
|
2
|
+
const i = ({ icon: n, label: t, helper: r, href: d }) => /* @__PURE__ */ a("article", { className: "bg-neutral-25 flex items-center gap-4 rounded-lg border border-neutral-200 p-4", children: [
|
|
3
3
|
/* @__PURE__ */ e("div", { className: "flex h-10 w-10 items-center justify-center rounded-md bg-white", "aria-hidden": "true", children: n }),
|
|
4
4
|
/* @__PURE__ */ a("div", { className: "flex-1", children: [
|
|
5
|
-
d ? /* @__PURE__ */ e("a", { href: d, className: "text-medium text-primary-800 font-bold underline-offset-4 hover:underline", children:
|
|
6
|
-
|
|
5
|
+
d ? /* @__PURE__ */ e("a", { href: d, className: "text-medium text-primary-800 font-bold underline-offset-4 hover:underline", children: t }) : /* @__PURE__ */ e("p", { className: "text-medium text-primary-800 font-bold", children: t }),
|
|
6
|
+
r && /* @__PURE__ */ e("p", { className: "text-small text-neutral-600", children: r })
|
|
7
7
|
] })
|
|
8
8
|
] });
|
|
9
9
|
export {
|
|
@@ -1,21 +1,23 @@
|
|
|
1
|
-
import { jsx as e, jsxs as
|
|
2
|
-
import { SectionHeading as
|
|
3
|
-
const
|
|
4
|
-
/* @__PURE__ */ e(
|
|
5
|
-
/* @__PURE__ */ e("div", { className: "
|
|
1
|
+
import { jsx as e, jsxs as t } from "react/jsx-runtime";
|
|
2
|
+
import { SectionHeading as c } from "./SectionHeading.js";
|
|
3
|
+
const n = ({ header: r, contactOptions: s }) => s.length === 0 ? null : /* @__PURE__ */ e("section", { className: "bg-neutral-25 px-4 pt-16 pb-20", children: /* @__PURE__ */ t("div", { className: "mx-auto max-w-6xl space-y-10", children: [
|
|
4
|
+
/* @__PURE__ */ e(c, { ...r, className: "px-6" }),
|
|
5
|
+
/* @__PURE__ */ e("div", { className: "flex flex-col items-center gap-6 sm:flex-row sm:items-start sm:justify-center", children: s.map((l) => /* @__PURE__ */ t(
|
|
6
6
|
"article",
|
|
7
7
|
{
|
|
8
|
-
className: "flex flex-col items-center gap-4 rounded
|
|
8
|
+
className: "flex h-36 w-52 flex-col items-center justify-center gap-4 rounded bg-white text-center shadow-sm",
|
|
9
9
|
children: [
|
|
10
10
|
/* @__PURE__ */ e("div", { className: "bg-primary-50 rounded-full p-3", children: l.icon }),
|
|
11
|
-
/* @__PURE__ */
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
/* @__PURE__ */ t("div", { className: "flex flex-col items-center justify-center", children: [
|
|
12
|
+
/* @__PURE__ */ e("p", { className: "text-neutral-800", children: l.title }),
|
|
13
|
+
/* @__PURE__ */ e("p", { className: "text-neutral-800", children: l.description }),
|
|
14
|
+
l.helper && /* @__PURE__ */ e("p", { className: "text-neutral-800", children: l.helper })
|
|
15
|
+
] })
|
|
14
16
|
]
|
|
15
17
|
},
|
|
16
18
|
l.title
|
|
17
19
|
)) })
|
|
18
20
|
] }) });
|
|
19
21
|
export {
|
|
20
|
-
|
|
22
|
+
n as ContactUsSection
|
|
21
23
|
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsx as e, jsxs as l } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
2
|
+
import { ContactFormSection as a } from "./ContactFormSection.js";
|
|
3
|
+
import { Jumbotron2 as t } from "./Jumbotron2.js";
|
|
4
|
+
import { ContactMethodsSection as m } from "./ContactMethodsSection.js";
|
|
5
5
|
const n = ({ jumbotron: o, contactMethods: r }) => /* @__PURE__ */ e("main", { className: "bg-primary-50 flex-1 px-4 py-12 lg:px-0", children: /* @__PURE__ */ l("div", { className: "relative mx-auto flex w-full max-w-6xl flex-col gap-12", children: [
|
|
6
|
-
/* @__PURE__ */ e(
|
|
6
|
+
/* @__PURE__ */ e(t, { ...o }),
|
|
7
7
|
/* @__PURE__ */ l("div", { className: "relative flex flex-col gap-10 lg:flex-row", children: [
|
|
8
|
-
/* @__PURE__ */ e("div", { className: "flex-1 space-y-8", children: /* @__PURE__ */ e(
|
|
9
|
-
/* @__PURE__ */ e(
|
|
8
|
+
/* @__PURE__ */ e("div", { className: "flex-1 space-y-8", children: /* @__PURE__ */ e(m, { ...r }) }),
|
|
9
|
+
/* @__PURE__ */ e(a, {})
|
|
10
10
|
] })
|
|
11
11
|
] }) });
|
|
12
12
|
export {
|
|
@@ -1,26 +1,22 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import
|
|
3
|
-
import { ChevronRightIcon as
|
|
4
|
-
const
|
|
1
|
+
import { jsxs as r, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import n from "clsx";
|
|
3
|
+
import { ChevronRightIcon as l } from "./ChevronRightIcon.js";
|
|
4
|
+
const m = ({ link: t, description: o, className: i = "" }) => /* @__PURE__ */ r(
|
|
5
5
|
"article",
|
|
6
6
|
{
|
|
7
|
-
className:
|
|
7
|
+
className: n(
|
|
8
8
|
'hover:border-primary-500 text-medium hover:ring-primary-500 relative flex cursor-pointer flex-col gap-2 rounded border border-neutral-200 bg-white pt-4 pr-4 pb-6 pl-6 text-neutral-800 transition-all hover:ring-1 hover:ring-inset [&_a]:before:absolute [&_a]:before:inset-0 [&_a]:before:content-[""]',
|
|
9
|
-
|
|
9
|
+
i
|
|
10
10
|
),
|
|
11
11
|
children: [
|
|
12
|
-
|
|
13
|
-
/* @__PURE__ */
|
|
14
|
-
/* @__PURE__ */
|
|
12
|
+
/* @__PURE__ */ r("div", { className: "flex justify-between", children: [
|
|
13
|
+
/* @__PURE__ */ e("p", { className: "flex-1 font-bold", children: t }),
|
|
14
|
+
/* @__PURE__ */ e(l, { "aria-hidden": !0 })
|
|
15
15
|
] }),
|
|
16
|
-
|
|
17
|
-
/* @__PURE__ */ r("div", { className: "flex-1 font-bold", children: e }),
|
|
18
|
-
/* @__PURE__ */ r(o, { "aria-hidden": !0 })
|
|
19
|
-
] }),
|
|
20
|
-
/* @__PURE__ */ r("p", { children: i })
|
|
16
|
+
/* @__PURE__ */ e("p", { children: o })
|
|
21
17
|
]
|
|
22
18
|
}
|
|
23
19
|
);
|
|
24
20
|
export {
|
|
25
|
-
|
|
21
|
+
m as DocumentItem
|
|
26
22
|
};
|
|
@@ -99,12 +99,10 @@ export interface SearchBarProps {
|
|
|
99
99
|
onInputChange?: (e: ChangeEvent<HTMLInputElement>) => void;
|
|
100
100
|
onClear?: () => void;
|
|
101
101
|
allDocumentsItem?: SearchItem;
|
|
102
|
-
noResultsText?: string;
|
|
103
102
|
}
|
|
104
103
|
|
|
105
104
|
export interface SearchItem {
|
|
106
105
|
id: string;
|
|
107
106
|
link: ReactNode;
|
|
108
|
-
label: string;
|
|
109
107
|
}
|
|
110
108
|
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { jsx as m, jsxs as
|
|
2
|
-
import { TwoColumnSection as
|
|
3
|
-
import { Button as
|
|
4
|
-
const
|
|
5
|
-
|
|
1
|
+
import { jsx as m, jsxs as o } from "react/jsx-runtime";
|
|
2
|
+
import { TwoColumnSection as e } from "./TwoColumnSection.js";
|
|
3
|
+
import { Button as t } from "./Button.js";
|
|
4
|
+
const b = ({ image: s, children: i, cta: l, className: r, containerClassName: a }) => /* @__PURE__ */ m(
|
|
5
|
+
e,
|
|
6
6
|
{
|
|
7
|
-
className:
|
|
8
|
-
containerClassName:
|
|
7
|
+
className: r ?? "",
|
|
8
|
+
containerClassName: a,
|
|
9
9
|
firstColumn: /* @__PURE__ */ m("div", { className: "mb-4 md:mr-6 md:mb-0 md:basis-42/100 lg:mr-10 lg:basis-39/100 xl:basis-36/100 [&_img]:h-auto [&_img]:w-full [&_img]:rounded-2xl xl:[&_img]:h-full xl:[&_img]:object-cover", children: s }),
|
|
10
|
-
secondColumn: /* @__PURE__ */
|
|
11
|
-
|
|
12
|
-
/* @__PURE__ */ m(
|
|
10
|
+
secondColumn: /* @__PURE__ */ o("div", { className: "mt-4 basis-full md:mt-0 md:basis-56/100 lg:basis-59/100 xl:basis-60/100", children: [
|
|
11
|
+
i,
|
|
12
|
+
/* @__PURE__ */ m(t, { size: "large", variant: "primary-darkgreen", className: "mt-8", ...l })
|
|
13
13
|
] })
|
|
14
14
|
}
|
|
15
15
|
);
|
|
16
16
|
export {
|
|
17
|
-
|
|
17
|
+
b as IntroSection
|
|
18
18
|
};
|
|
@@ -45,12 +45,10 @@ export interface SearchBarProps {
|
|
|
45
45
|
onInputChange?: (e: ChangeEvent<HTMLInputElement>) => void;
|
|
46
46
|
onClear?: () => void;
|
|
47
47
|
allDocumentsItem?: SearchItem;
|
|
48
|
-
noResultsText?: string;
|
|
49
48
|
}
|
|
50
49
|
|
|
51
50
|
export interface SearchItem {
|
|
52
51
|
id: string;
|
|
53
52
|
link: ReactNode;
|
|
54
|
-
label: string;
|
|
55
53
|
}
|
|
56
54
|
|
|
@@ -1,14 +1,81 @@
|
|
|
1
|
+
import { ChangeEvent } from 'react';
|
|
2
|
+
import { ComponentPropsWithRef } from 'react';
|
|
1
3
|
import { FC } from 'react';
|
|
2
4
|
import { ReactNode } from 'react';
|
|
3
5
|
|
|
6
|
+
export interface ButtonProps extends Omit<ComponentPropsWithRef<'button'>, 'children'> {
|
|
7
|
+
children: ReactNode;
|
|
8
|
+
size?: ButtonSize;
|
|
9
|
+
variant?: ResponsiveButtonVariant;
|
|
10
|
+
iconPosition?: IconPosition;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export type ButtonSize = 'small' | 'default' | 'large';
|
|
14
|
+
|
|
15
|
+
export type ButtonVariant = 'primary-green' | 'primary-darkgreen' | 'primary-yellow' | 'primary-white' | 'secondary-green' | 'secondary-yellow' | 'secondary-red' | 'secondary-black' | 'tertiary-bold' | 'tertiary-thin' | 'tertiary-icon' | 'tertiary-link' | 'icon-black' | 'icon-grey' | 'icon-mobile';
|
|
16
|
+
|
|
17
|
+
export interface ContactMethod {
|
|
18
|
+
icon: React.ReactNode;
|
|
19
|
+
label: string;
|
|
20
|
+
helper?: string;
|
|
21
|
+
href?: string;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export interface ContactMethodsSectionProps {
|
|
25
|
+
items: ContactMethod[];
|
|
26
|
+
title?: ReactNode;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export interface DocumentItemProps {
|
|
30
|
+
id: string;
|
|
31
|
+
link: ReactNode;
|
|
32
|
+
description: string;
|
|
33
|
+
className?: string;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
export type IconPosition = 'left' | 'right' | 'top';
|
|
37
|
+
|
|
38
|
+
export interface IntroSectionProps {
|
|
39
|
+
image: ReactNode;
|
|
40
|
+
children: ReactNode;
|
|
41
|
+
cta: ButtonProps;
|
|
42
|
+
className?: string;
|
|
43
|
+
containerClassName?: string;
|
|
44
|
+
}
|
|
45
|
+
|
|
4
46
|
export declare const NotFoundTemplate: FC<NotFoundTemplateProps>;
|
|
5
47
|
|
|
6
48
|
export declare interface NotFoundTemplateProps {
|
|
7
|
-
intro:
|
|
8
|
-
|
|
9
|
-
title
|
|
10
|
-
|
|
11
|
-
cta?: ReactNode;
|
|
49
|
+
intro: IntroSectionProps;
|
|
50
|
+
popularDocuments: {
|
|
51
|
+
title: ReactNode;
|
|
52
|
+
documents: DocumentItemProps[];
|
|
12
53
|
};
|
|
54
|
+
searchBar: SearchBarProps;
|
|
55
|
+
contactMethods: ContactMethodsSectionProps;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
export type ResponsiveButtonVariant = ButtonVariant | {
|
|
59
|
+
initial?: ButtonVariant;
|
|
60
|
+
sm?: ButtonVariant;
|
|
61
|
+
md?: ButtonVariant;
|
|
62
|
+
lg?: ButtonVariant;
|
|
63
|
+
xl?: ButtonVariant;
|
|
64
|
+
};
|
|
65
|
+
|
|
66
|
+
export interface SearchBarProps {
|
|
67
|
+
items: SearchItem[];
|
|
68
|
+
placeholder?: string;
|
|
69
|
+
isOpen?: boolean;
|
|
70
|
+
onToggle?: () => void;
|
|
71
|
+
searchValue?: string;
|
|
72
|
+
onInputChange?: (e: ChangeEvent<HTMLInputElement>) => void;
|
|
73
|
+
onClear?: () => void;
|
|
74
|
+
allDocumentsItem?: SearchItem;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
export interface SearchItem {
|
|
78
|
+
id: string;
|
|
79
|
+
link: ReactNode;
|
|
13
80
|
}
|
|
14
81
|
|
|
@@ -1,22 +1,19 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
) : null
|
|
18
|
-
] })
|
|
19
|
-
] }) });
|
|
1
|
+
import { jsxs as l, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { IntroSection as c } from "./IntroSection.js";
|
|
3
|
+
import { Card as o } from "./Card.js";
|
|
4
|
+
import { ContactMethodsSection as n } from "./ContactMethodsSection.js";
|
|
5
|
+
import { DocumentItem as s } from "./DocumentItem.js";
|
|
6
|
+
import { SearchBar as f } from "./SearchBar.js";
|
|
7
|
+
const g = ({ intro: m, popularDocuments: r, searchBar: t, contactMethods: i }) => /* @__PURE__ */ l("main", { className: "flex-1", children: [
|
|
8
|
+
/* @__PURE__ */ e(c, { ...m }),
|
|
9
|
+
/* @__PURE__ */ e("div", { className: "bg-neutral-25 w-full", children: /* @__PURE__ */ l("div", { className: "mx-auto flex w-full max-w-6xl flex-col gap-8 px-6 py-16 lg:flex-row", children: [
|
|
10
|
+
/* @__PURE__ */ e(o, { title: r.title, children: /* @__PURE__ */ e("div", { className: "flex flex-wrap gap-4 pb-6", children: r.documents.map((a) => /* @__PURE__ */ e(s, { ...a, className: "w-48/100 shadow-none" }, a.id)) }) }),
|
|
11
|
+
/* @__PURE__ */ l("div", { className: "flex flex-1 flex-col gap-6", children: [
|
|
12
|
+
/* @__PURE__ */ e(o, { children: /* @__PURE__ */ e(f, { ...t }) }),
|
|
13
|
+
/* @__PURE__ */ e(n, { ...i })
|
|
14
|
+
] })
|
|
15
|
+
] }) })
|
|
16
|
+
] });
|
|
20
17
|
export {
|
|
21
|
-
|
|
18
|
+
g as NotFoundTemplate
|
|
22
19
|
};
|
|
@@ -13,12 +13,10 @@ export declare interface SearchBarProps {
|
|
|
13
13
|
onInputChange?: (e: ChangeEvent<HTMLInputElement>) => void;
|
|
14
14
|
onClear?: () => void;
|
|
15
15
|
allDocumentsItem?: SearchItem;
|
|
16
|
-
noResultsText?: string;
|
|
17
16
|
}
|
|
18
17
|
|
|
19
18
|
export declare interface SearchItem {
|
|
20
19
|
id: string;
|
|
21
20
|
link: ReactNode;
|
|
22
|
-
label: string;
|
|
23
21
|
}
|
|
24
22
|
|