@npm_leadtech/legal-contracts-ui 0.106.4 → 0.107.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.
@@ -1,16 +1,16 @@
1
1
  import { jsxs as x, jsx as o } from "react/jsx-runtime";
2
- import { IntroSection as S } from "./IntroSection.js";
3
- import { MissionSection as u } from "./MissionSection.js";
4
- import { ValuesSection as b } from "./ValuesSection.js";
5
- import { Storyline as y } from "./Storyline.js";
6
- import { WeHelpSection as N } from "./WeHelpSection.js";
7
- import { GuidelinesSection as d } from "./GuidelinesSection.js";
8
- import { ExpertsSection as g } from "./ExpertsSection.js";
9
- import { TrustPilotSection as j } from "./TrustPilotSection.js";
10
- import { PartnersSection as w } from "./PartnersSection.js";
11
- import { CtaSection as C } from "./CtaSection.js";
12
- import { ContactUsSection as P } from "./ContactUsSection.js";
13
- import { Jumbotron2 as T } from "./Jumbotron2.js";
2
+ import { MissionSection as S } from "./MissionSection.js";
3
+ import { ValuesSection as u } from "./ValuesSection.js";
4
+ import { Storyline as b } from "./Storyline.js";
5
+ import { WeHelpSection as y } from "./WeHelpSection.js";
6
+ import { GuidelinesSection as N } from "./GuidelinesSection.js";
7
+ import { ExpertsSection as d } from "./ExpertsSection.js";
8
+ import { TrustPilotSection as g } from "./TrustPilotSection.js";
9
+ import { PartnersSection as j } from "./PartnersSection.js";
10
+ import { CtaSection as w } from "./CtaSection.js";
11
+ import { ContactUsSection as C } from "./ContactUsSection.js";
12
+ import { Jumbotron2 as P } from "./Jumbotron2.js";
13
+ import { IntroSection as T } from "./IntroSection.js";
14
14
  const v = ({
15
15
  jumbotron: t,
16
16
  intro: r,
@@ -25,18 +25,18 @@ const v = ({
25
25
  cta: c,
26
26
  contactUs: a
27
27
  }) => /* @__PURE__ */ x("main", { className: "mx-auto flex w-full flex-1 flex-col text-neutral-800", children: [
28
- /* @__PURE__ */ o(T, { ...t, className: "bg-primary-50 w-full py-4 text-3xl" }),
29
- /* @__PURE__ */ o(S, { ...r, className: "bg-primary-50" }),
30
- /* @__PURE__ */ o(u, { ...m }),
31
- /* @__PURE__ */ o(b, { ...i }),
32
- /* @__PURE__ */ o(y, { ...e }),
33
- /* @__PURE__ */ o(N, { ...n }),
34
- /* @__PURE__ */ o(d, { ...l }),
35
- /* @__PURE__ */ o(g, { ...p }),
36
- /* @__PURE__ */ o(j, { ...s }),
37
- /* @__PURE__ */ o(w, { ...f }),
38
- /* @__PURE__ */ o(C, { ...c }),
39
- /* @__PURE__ */ o(P, { ...a })
28
+ /* @__PURE__ */ o(P, { ...t, className: "bg-primary-50 w-full py-4 text-3xl" }),
29
+ /* @__PURE__ */ o(T, { ...r, className: "bg-primary-50" }),
30
+ /* @__PURE__ */ o(S, { ...m }),
31
+ /* @__PURE__ */ o(u, { ...i }),
32
+ /* @__PURE__ */ o(b, { ...e }),
33
+ /* @__PURE__ */ o(y, { ...n }),
34
+ /* @__PURE__ */ o(N, { ...l }),
35
+ /* @__PURE__ */ o(d, { ...p }),
36
+ /* @__PURE__ */ o(g, { ...s }),
37
+ /* @__PURE__ */ o(j, { ...f }),
38
+ /* @__PURE__ */ o(w, { ...c }),
39
+ /* @__PURE__ */ o(C, { ...a })
40
40
  ] });
41
41
  export {
42
42
  v as AboutUsTemplate
@@ -1,8 +1,8 @@
1
1
  import { jsxs as a, jsx as e } from "react/jsx-runtime";
2
- import { ContactMethodsSection as o } from "./ContactMethodsSection.js";
3
- import { ContactFormSection as s } from "./ContactFormSection.js";
4
- import { Jumbotron2 as d } from "./Jumbotron2.js";
2
+ import { ContactFormSection as o } from "./ContactFormSection.js";
3
+ import { Jumbotron2 as s } from "./Jumbotron2.js";
5
4
  import { Markdown as m } from "./Markdown.js";
5
+ import { ContactMethodsSection as d } from "./ContactMethodsSection.js";
6
6
  import { LinkWrapper as n } from "./LinkWrapper.js";
7
7
  const v = ({
8
8
  jumbotron: t,
@@ -13,7 +13,7 @@ const v = ({
13
13
  }) => /* @__PURE__ */ a("main", { className: "bg-primary-50 relative flex-1 pt-10 pb-20 md:px-6 lg:px-8 xl:px-0", children: [
14
14
  !!r && /* @__PURE__ */ e("div", { className: "absolute right-0 bottom-0 hidden md:block", children: r }),
15
15
  /* @__PURE__ */ a("div", { className: "relative mx-auto flex w-full max-w-300 flex-col gap-12", children: [
16
- /* @__PURE__ */ e(d, { ...t, className: "flex flex-col gap-4 pb-0!", variant: "contact", children: /* @__PURE__ */ e(
16
+ /* @__PURE__ */ e(s, { ...t, className: "flex flex-col gap-4 pb-0!", variant: "contact", children: /* @__PURE__ */ e(
17
17
  m,
18
18
  {
19
19
  content: t.children,
@@ -21,8 +21,8 @@ const v = ({
21
21
  }
22
22
  ) }),
23
23
  /* @__PURE__ */ a("div", { className: "relative flex flex-col gap-10 md:grid md:grid-cols-2 md:items-start md:gap-x-10 md:gap-y-8 lg:gap-x-16 xl:gap-x-20", children: [
24
- /* @__PURE__ */ e(o, { ...i }),
25
- /* @__PURE__ */ e("div", { className: "md:row-span-2", children: /* @__PURE__ */ e(s, { ...c }) }),
24
+ /* @__PURE__ */ e(d, { ...i }),
25
+ /* @__PURE__ */ e("div", { className: "md:row-span-2", children: /* @__PURE__ */ e(o, { ...c }) }),
26
26
  /* @__PURE__ */ a("div", { className: "flex flex-col gap-8 px-6", children: [
27
27
  /* @__PURE__ */ e("h3", { className: "text-large text-primary-700 font-bold", children: l.faqTitle }),
28
28
  /* @__PURE__ */ e("div", { className: "flex flex-col gap-8", children: /* @__PURE__ */ e(m, { content: l.faqText, className: "text-medium text-neutral-800 [&_p:last-child]:mb-0" }) }),
@@ -1,44 +1,44 @@
1
- import { jsxs as r, jsx as e } from "react/jsx-runtime";
1
+ import { jsxs as t, jsx as e } from "react/jsx-runtime";
2
2
  import { LinkWrapper as c } from "./LinkWrapper.js";
3
3
  const x = ({
4
4
  title: a,
5
5
  paragraph: l,
6
- cta: t,
7
- children: s,
8
- className: m = "",
6
+ cta: r,
7
+ children: m,
8
+ className: s = "",
9
9
  contentClassName: i = "",
10
10
  childrenClassName: d = "hidden lg:flex"
11
- }) => /* @__PURE__ */ e("section", { className: `flex w-full justify-center px-6 py-8 md:px-8 md:py-12 ${m}`, children: /* @__PURE__ */ r(
11
+ }) => /* @__PURE__ */ e("section", { className: `flex w-full justify-center px-6 py-8 md:px-8 md:py-12 ${s}`, children: /* @__PURE__ */ t(
12
12
  "div",
13
13
  {
14
14
  className: `bg-primary-50 mx-auto flex w-full max-w-6xl flex-col items-center rounded-[1.25rem] px-8 pt-8 pb-0 md:px-16 md:pt-12 md:pb-0 lg:flex-row lg:items-stretch lg:gap-20 xl:pr-20 xl:pl-16 ${i}`,
15
15
  children: [
16
- /* @__PURE__ */ r("div", { className: "flex flex-1 flex-col items-start justify-center gap-8 pb-8 md:pb-12 lg:pb-[3rem]", children: [
17
- /* @__PURE__ */ r("div", { className: "flex flex-col items-start gap-4", children: [
16
+ /* @__PURE__ */ t("div", { className: "flex flex-1 flex-col items-start justify-center gap-8 pb-8 md:pb-12 lg:pb-[3rem]", children: [
17
+ /* @__PURE__ */ t("div", { className: "flex flex-col items-start gap-4", children: [
18
18
  /* @__PURE__ */ e("h2", { className: "text-primary-900 text-[28px] leading-[32px] font-bold tracking-tight", children: a }),
19
19
  !!l && /* @__PURE__ */ e("div", { className: "text-super-medium text-neutral-500", children: l })
20
20
  ] }),
21
- /* @__PURE__ */ e(c, { size: "large", variant: "primary-darkgreen", className: "px-4 py-2.5", ...t })
21
+ /* @__PURE__ */ e(c, { size: "large", variant: "primary-darkgreen", className: "bg-primary-700 px-4 py-2.5", ...r })
22
22
  ] }),
23
- !!s && /* @__PURE__ */ e("div", { className: `w-full justify-center lg:w-auto lg:items-end ${d}`, children: s })
23
+ !!m && /* @__PURE__ */ e("div", { className: `w-full justify-center lg:w-auto lg:items-end ${d}`, children: m })
24
24
  ]
25
25
  }
26
- ) }), o = ({ image: a, children: l, className: t = "" }) => /* @__PURE__ */ r("div", { className: `relative flex items-end ${t}`, children: [
26
+ ) }), o = ({ image: a, children: l, className: r = "" }) => /* @__PURE__ */ t("div", { className: `relative flex items-end ${r}`, children: [
27
27
  /* @__PURE__ */ e("div", { className: "[&_img]:rounded-t-[0.75rem] [&_img]:shadow-[0px_-2px_6px_0px_rgba(2,55,74,0.15)] md:[&_img]:max-w-[25rem] lg:[&_img]:max-h-[30rem]", children: a }),
28
28
  l
29
- ] }), g = ({ icon: a, text: l, className: t = "" }) => /* @__PURE__ */ r(
29
+ ] }), g = ({ icon: a, text: l, className: r = "" }) => /* @__PURE__ */ t(
30
30
  "div",
31
31
  {
32
- className: `bg-primary-50 border-primary-200 shadow-small absolute flex items-center justify-center gap-1 rounded-md border p-1 ${t}`,
32
+ className: `bg-primary-50 border-primary-200 shadow-small absolute flex items-center justify-center gap-1 rounded-md border p-1 ${r}`,
33
33
  children: [
34
34
  /* @__PURE__ */ e("img", { src: a, alt: "", role: "img", className: "h-4 w-4" }),
35
35
  /* @__PURE__ */ e("span", { className: "text-primary-900 text-small font-bold", children: l })
36
36
  ]
37
37
  }
38
- ), f = ({ icon: a, text: l, className: t = "" }) => /* @__PURE__ */ r(
38
+ ), f = ({ icon: a, text: l, className: r = "" }) => /* @__PURE__ */ t(
39
39
  "div",
40
40
  {
41
- className: `shadow-small absolute flex items-center justify-center gap-1 rounded-md bg-neutral-50 p-2 ${t}`,
41
+ className: `shadow-small absolute flex items-center justify-center gap-1 rounded-md bg-neutral-50 p-2 ${r}`,
42
42
  children: [
43
43
  /* @__PURE__ */ e("img", { src: a, alt: "", role: "img", className: "h-5 w-5" }),
44
44
  /* @__PURE__ */ e("span", { className: "text-small text-primary-500", children: l })
@@ -1,14 +1,14 @@
1
- import { jsx as e, jsxs as a } from "react/jsx-runtime";
1
+ import { jsx as e, jsxs as l } from "react/jsx-runtime";
2
2
  import { SectionHeading as n } from "./SectionHeading.js";
3
- const r = ({ header: i, experts: l }) => l.length === 0 ? null : /* @__PURE__ */ e("section", { className: "bg-primary-50 px-6 pt-12 pb-8 md:pb-12", children: /* @__PURE__ */ a("div", { className: "mx-auto max-w-6xl", children: [
4
- /* @__PURE__ */ e("div", { className: "mx-auto mb-20 w-11/12 text-center md:w-full", children: /* @__PURE__ */ e(n, { align: "center", ...i, hasMaxWidth: !1 }) }),
5
- /* @__PURE__ */ e("div", { className: "mt-8 flex flex-col items-center justify-center gap-10 md:flex-row md:flex-wrap", children: l.map((t) => /* @__PURE__ */ a(
3
+ const m = ({ header: i, experts: a }) => a.length === 0 ? null : /* @__PURE__ */ e("section", { className: "bg-primary-50 px-6 pt-12 pb-8 md:pb-12", children: /* @__PURE__ */ l("div", { className: "mx-auto max-w-6xl", children: [
4
+ /* @__PURE__ */ e("div", { className: "mx-auto mb-20 w-11/12 text-center md:w-full", children: /* @__PURE__ */ e(n, { align: "center", ...i, hasMaxWidth: !1, titleClass: "font-bold text-super-large" }) }),
5
+ /* @__PURE__ */ e("div", { className: "mt-8 flex flex-col items-center justify-center gap-10 md:flex-row md:flex-wrap", children: a.map((t) => /* @__PURE__ */ l(
6
6
  "article",
7
7
  {
8
8
  className: "flex w-80 flex-row items-center justify-start gap-6 rounded-2xl bg-white p-4 shadow-sm",
9
9
  children: [
10
10
  /* @__PURE__ */ e("div", { className: "min-w-28 shrink-0 [&_img]:h-auto [&_img]:w-full [&_img]:rounded-lg", children: t.image }),
11
- /* @__PURE__ */ a("div", { className: "flex flex-col items-start justify-start", children: [
11
+ /* @__PURE__ */ l("div", { className: "flex flex-col items-start justify-start", children: [
12
12
  /* @__PURE__ */ e("p", { className: "mb-2 w-3/4 min-w-fit font-sans text-lg leading-6 font-bold tracking-tight text-neutral-800", children: t.name }),
13
13
  /* @__PURE__ */ e("p", { className: "font-sans text-base leading-snug font-normal tracking-tight text-neutral-800", children: t.title })
14
14
  ] })
@@ -18,5 +18,5 @@ const r = ({ header: i, experts: l }) => l.length === 0 ? null : /* @__PURE__ */
18
18
  )) })
19
19
  ] }) });
20
20
  export {
21
- r as ExpertsSection
21
+ m as ExpertsSection
22
22
  };
@@ -2,22 +2,22 @@ import { jsx as l, jsxs as a } from "react/jsx-runtime";
2
2
  import { SectionHeading as r } from "./SectionHeading.js";
3
3
  import { Markdown as i } from "./Markdown.js";
4
4
  import { LinkWrapper as m } from "./LinkWrapper.js";
5
- const f = ({ header: n, guidelineCards: s, footerCard: e }) => /* @__PURE__ */ l("section", { className: "bg-neutral-25 py-8", children: /* @__PURE__ */ a("div", { className: "mx-auto w-full max-w-6xl px-4 md:px-6", children: [
6
- /* @__PURE__ */ l(r, { ...n, align: "start", hasMaxWidth: !1 }),
5
+ const g = ({ header: n, guidelineCards: s, footerCard: e }) => /* @__PURE__ */ l("section", { className: "bg-neutral-25 py-8", children: /* @__PURE__ */ a("div", { className: "mx-auto w-full max-w-6xl px-4 md:px-6", children: [
6
+ /* @__PURE__ */ l(r, { ...n, align: "start", hasMaxWidth: !1, titleClass: "font-bold text-3xl" }),
7
7
  /* @__PURE__ */ l("div", { className: "my-8 flex flex-col gap-6 lg:mt-8 lg:mb-4 lg:flex-row", children: s.map((t) => /* @__PURE__ */ a("article", { className: "flex flex-1 flex-col rounded-2xl bg-white p-6 shadow-sm", children: [
8
8
  /* @__PURE__ */ l("div", { className: "w-full rounded-2xl", children: t.image }),
9
9
  /* @__PURE__ */ l("p", { className: "my-6 font-sans text-lg leading-6 font-bold tracking-[-0.3px] text-neutral-800", children: t.title }),
10
- /* @__PURE__ */ l("div", { className: "font-sans text-base leading-[22px] text-neutral-800 [&_li]:mb-0 [&_ol]:mb-4 [&_ol]:ml-4 [&_ol]:list-decimal [&_ul]:mb-4 [&_ul]:ml-4 [&_ul]:list-disc", children: /* @__PURE__ */ l(i, { content: t.content }) })
10
+ /* @__PURE__ */ l("div", { className: "font-sans text-base leading-[22px] text-neutral-800 [&_li]:mb-0 [&_ol]:mb-4 [&_ol]:ml-4 [&_ol]:list-decimal [&_ul]:mb-4 [&_ul]:ml-4 [&_ul]:list-disc", children: /* @__PURE__ */ l(i, { content: t.content, variant: "legal" }) })
11
11
  ] }, t.title)) }),
12
12
  /* @__PURE__ */ a("div", { className: "my-8 flex flex-col justify-between overflow-hidden rounded-2xl bg-white shadow-sm lg:mb-4 lg:flex-row lg:overflow-visible lg:p-6", children: [
13
13
  /* @__PURE__ */ a("div", { className: "order-2 flex flex-1 flex-col justify-start p-6 text-neutral-800 lg:order-1 lg:mr-12 lg:p-0", children: [
14
14
  /* @__PURE__ */ l("p", { className: "mb-4 font-sans text-[18px] leading-[24px] font-bold tracking-[-0.3px] text-neutral-800", children: e.title }),
15
- /* @__PURE__ */ l("div", { className: "[&_a]:text-primary-800 mb-6 font-sans text-[16px] leading-[22px] font-normal tracking-[-0.3px] [&_a]:font-normal", children: /* @__PURE__ */ l(i, { content: e.content }) }),
16
- /* @__PURE__ */ l("div", { className: "mt-10 self-start", children: /* @__PURE__ */ l(m, { size: "large", variant: "primary-darkgreen", className: "mt-8", ...e.cta }) })
15
+ /* @__PURE__ */ l("div", { className: "[&_a]:text-primary-800 mb-6 font-sans text-[16px] leading-[22px] font-normal tracking-[-0.3px] [&_a]:font-normal", children: /* @__PURE__ */ l(i, { content: e.content, variant: "legal" }) }),
16
+ /* @__PURE__ */ l("div", { className: "mt-10 self-start", children: /* @__PURE__ */ l(m, { size: "large", variant: "primary-green", className: "mt-8", ...e.cta }) })
17
17
  ] }),
18
18
  /* @__PURE__ */ l("div", { className: "order-1 mb-8 w-full lg:order-2 lg:mb-0 lg:w-1/2", children: /* @__PURE__ */ l("div", { className: "w-full", children: e.image }) })
19
19
  ] })
20
20
  ] }) });
21
21
  export {
22
- f as GuidelinesSection
22
+ g as GuidelinesSection
23
23
  };
@@ -1,15 +1,15 @@
1
1
  import { jsx as m, jsxs as o } from "react/jsx-runtime";
2
2
  import { TwoColumnSection as e } from "./TwoColumnSection.js";
3
3
  import { LinkWrapper as t } from "./LinkWrapper.js";
4
- const b = ({ image: s, children: i, cta: r, className: l, containerClassName: a }) => /* @__PURE__ */ m(
4
+ const b = ({ image: s, children: i, cta: l, className: r, containerClassName: a }) => /* @__PURE__ */ m(
5
5
  e,
6
6
  {
7
- className: l ?? "",
7
+ className: r ?? "",
8
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
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
11
  i,
12
- /* @__PURE__ */ m(t, { size: "large", variant: "primary-darkgreen", className: "mt-8", ...r })
12
+ /* @__PURE__ */ m(t, { size: "large", variant: "primary-green", className: "mt-8", ...l })
13
13
  ] })
14
14
  }
15
15
  );
@@ -4,6 +4,5 @@ export declare const Jumbotron3: FC<Jumbotron3Props>;
4
4
 
5
5
  export declare interface Jumbotron3Props {
6
6
  title: string;
7
- domain: string;
8
7
  }
9
8
 
@@ -1,5 +1,5 @@
1
1
  import { jsx as e } from "react/jsx-runtime";
2
- const a = ({ title: t, domain: r }) => /* @__PURE__ */ e("section", { className: "bg-white py-14", children: /* @__PURE__ */ e("div", { className: "mx-auto max-w-4xl text-center", children: /* @__PURE__ */ e("p", { className: "font-lora text-super-hero text-neutral-900", children: t + " " + r }) }) });
2
+ const a = ({ title: r }) => /* @__PURE__ */ e("section", { className: "bg-primary-50 py-14", children: /* @__PURE__ */ e("div", { className: "mx-auto max-w-4xl text-center", children: /* @__PURE__ */ e("p", { className: "font-lora text-super-hero text-neutral-900", children: r }) }) });
3
3
  export {
4
4
  a as Jumbotron3
5
5
  };
@@ -2,7 +2,6 @@ import { FC } from 'react';
2
2
 
3
3
  export interface Jumbotron3Props {
4
4
  title: string;
5
- domain: string;
6
5
  }
7
6
 
8
7
  export declare const LegalTemplate: FC<LegalTemplateProps>;
@@ -3,7 +3,6 @@ import { ReactNode } from 'react';
3
3
 
4
4
  export interface Jumbotron3Props {
5
5
  title: string;
6
- domain: string;
7
6
  }
8
7
 
9
8
  export declare const LegalesTemplate: FC<LegalesTemplateProps>;
@@ -1,13 +1,13 @@
1
- import { jsx as e, jsxs as s } from "react/jsx-runtime";
2
- import { TwoColumnSection as o } from "./TwoColumnSection.js";
3
- import { Markdown as a } from "./Markdown.js";
1
+ import { jsx as e, jsxs as a } from "react/jsx-runtime";
2
+ import { TwoColumnSection as s } from "./TwoColumnSection.js";
3
+ import { Markdown as l } from "./Markdown.js";
4
4
  const m = ({ title: r, body: t, image: n }) => /* @__PURE__ */ e(
5
- o,
5
+ s,
6
6
  {
7
7
  containerClassName: "gap-20 items-center",
8
- firstColumn: /* @__PURE__ */ s("div", { className: "flex-1 space-y-6 text-neutral-800", children: [
8
+ firstColumn: /* @__PURE__ */ a("div", { className: "flex-1 space-y-6 text-neutral-800", children: [
9
9
  /* @__PURE__ */ e("p", { className: "text-super-large font-bold text-neutral-900", children: r }),
10
- /* @__PURE__ */ e("div", { className: "text-medium space-y-4", children: /* @__PURE__ */ e(a, { content: t }) })
10
+ /* @__PURE__ */ e("div", { className: "text-medium space-y-4", children: /* @__PURE__ */ e(l, { content: t, variant: "legal" }) })
11
11
  ] }),
12
12
  secondColumn: /* @__PURE__ */ e("div", { className: "flex-1", children: /* @__PURE__ */ e("div", { className: "bg-primary-50 rounded-3xl", children: n }) })
13
13
  }
@@ -1,12 +1,84 @@
1
+ import { ChangeEvent } from 'react';
1
2
  import { FC } from 'react';
3
+ import { JSX } from 'react/jsx-runtime';
2
4
  import { ReactNode } from 'react';
3
5
 
6
+ export type ButtonSize = 'small' | 'default' | 'large';
7
+
8
+ 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';
9
+
10
+ export interface ContactMethod {
11
+ id: string;
12
+ label?: ReactNode;
13
+ helper?: string;
14
+ variant: 'phone' | 'email' | 'location';
15
+ }
16
+
17
+ export interface ContactMethodsSectionProps {
18
+ items: ContactMethod[];
19
+ }
20
+
21
+ export interface DocumentItemProps {
22
+ id: string;
23
+ link: ReactNode;
24
+ description: string;
25
+ className?: string;
26
+ }
27
+
28
+ export type IconPosition = 'left' | 'right' | 'top';
29
+
30
+ export interface IntroSectionProps {
31
+ image: ReactNode;
32
+ children: ReactNode;
33
+ cta: LinkWrapper;
34
+ className?: string;
35
+ containerClassName?: string;
36
+ }
37
+
38
+ export interface LinkWrapper {
39
+ children: ReactNode;
40
+ size?: ButtonSize;
41
+ variant?: ResponsiveButtonVariant;
42
+ iconPosition?: IconPosition;
43
+ disabled?: boolean;
44
+ className?: string;
45
+ }
46
+
47
+ declare const LinkWrapper: ({ size, variant, iconPosition, disabled, className, children }: LinkWrapper) => JSX.Element;
48
+
4
49
  export declare const NotFoundTemplate: FC<NotFoundTemplateProps>;
5
50
 
6
51
  export declare interface NotFoundTemplateProps {
7
- image: ReactNode;
8
- title: ReactNode;
9
- message: ReactNode;
10
- cta: ReactNode;
52
+ intro: IntroSectionProps;
53
+ popularDocuments: {
54
+ title: ReactNode;
55
+ documents: DocumentItemProps[];
56
+ };
57
+ searchBar: SearchBarProps;
58
+ contactMethods: ContactMethodsSectionProps;
59
+ }
60
+
61
+ export type ResponsiveButtonVariant = ButtonVariant | {
62
+ initial?: ButtonVariant;
63
+ sm?: ButtonVariant;
64
+ md?: ButtonVariant;
65
+ lg?: ButtonVariant;
66
+ xl?: ButtonVariant;
67
+ };
68
+
69
+ export interface SearchBarProps {
70
+ items: SearchItem[];
71
+ placeholder?: string;
72
+ isOpen?: boolean;
73
+ onToggle?: () => void;
74
+ searchValue?: string;
75
+ onInputChange?: (e: ChangeEvent<HTMLInputElement>) => void;
76
+ onClear?: () => void;
77
+ allDocumentsItem?: SearchItem;
78
+ }
79
+
80
+ export interface SearchItem {
81
+ id: string;
82
+ link: ReactNode;
11
83
  }
12
84
 
@@ -1,13 +1,10 @@
1
- import { jsx as e, jsxs as n } from "react/jsx-runtime";
2
- import { LinkWrapper as r } from "./LinkWrapper.js";
3
- const d = ({ image: l, title: t, message: a, cta: m }) => /* @__PURE__ */ e("main", { className: "flex-1", children: /* @__PURE__ */ n("div", { className: "bg-neutral-white flex flex-col items-center justify-center gap-8 px-5 py-12 text-center md:flex-row md:items-center md:justify-center md:gap-16 md:px-12 md:py-16 md:text-left lg:gap-20 lg:px-20 lg:py-20", children: [
4
- l != null ? /* @__PURE__ */ e("div", { className: "shrink-0 [&_img]:h-auto [&_img]:w-full [&_img]:max-w-[320px] md:[&_img]:max-w-[380px] lg:[&_img]:max-w-[420px]", children: l }) : null,
5
- /* @__PURE__ */ n("div", { className: "flex max-w-[420px] flex-col items-center gap-4 md:items-start md:gap-5", children: [
6
- t != null ? /* @__PURE__ */ e("h1", { className: "font-lora text-[32px] leading-tight font-normal text-neutral-900 md:text-[40px] lg:text-[48px]", children: t }) : null,
7
- a != null ? /* @__PURE__ */ e("p", { className: "text-base leading-relaxed text-neutral-600 md:text-lg", children: a }) : null,
8
- m != null ? /* @__PURE__ */ e("div", { className: "mt-2", children: /* @__PURE__ */ e(r, { disabled: !1, variant: "primary-darkgreen", size: "large", className: "inline-flex", children: m }) }) : null
9
- ] })
10
- ] }) });
1
+ import { jsxs as a, jsx as l } from "react/jsx-runtime";
2
+ import { IntroSection as r } from "./IntroSection.js";
3
+ import { ContactMethodsSection as t } from "./ContactMethodsSection.js";
4
+ const i = ({ intro: e, contactMethods: o }) => /* @__PURE__ */ a("main", { className: "flex-1", children: [
5
+ /* @__PURE__ */ l(r, { ...e }),
6
+ /* @__PURE__ */ l("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: /* @__PURE__ */ l("div", { className: "flex flex-1 flex-col gap-6", children: /* @__PURE__ */ l(t, { ...o }) }) }) })
7
+ ] });
11
8
  export {
12
- d as NotFoundTemplate
9
+ i as NotFoundTemplate
13
10
  };
@@ -1,9 +1,9 @@
1
- import { jsx as t, jsxs as l } from "react/jsx-runtime";
1
+ import { jsx as t, jsxs as a } from "react/jsx-runtime";
2
2
  import { Markdown as s } from "./Markdown.js";
3
- const m = ({ title: n, text: o, storyItems: a }) => /* @__PURE__ */ t("section", { className: "bg-secondary-100 p-6 md:px-6 md:py-12", children: /* @__PURE__ */ l("div", { className: "mx-auto max-w-6xl rounded-2xl bg-white p-6 md:p-12", children: [
3
+ const m = ({ title: n, text: o, storyItems: l }) => /* @__PURE__ */ t("section", { className: "bg-secondary-100 p-6 md:px-6 md:py-12", children: /* @__PURE__ */ a("div", { className: "mx-auto max-w-6xl rounded-2xl bg-white p-6 md:p-12", children: [
4
4
  /* @__PURE__ */ t("h2", { className: "pb-6 font-sans text-3xl font-bold tracking-tight text-neutral-800", children: n }),
5
- /* @__PURE__ */ t(s, { content: o }),
6
- /* @__PURE__ */ l("ul", { className: "relative mt-4 pl-6 md:mt-0", children: [
5
+ /* @__PURE__ */ t(s, { content: o, variant: "legal" }),
6
+ /* @__PURE__ */ a("ul", { className: "relative mt-4 pl-6 md:mt-0", children: [
7
7
  /* @__PURE__ */ t(
8
8
  "div",
9
9
  {
@@ -11,13 +11,13 @@ const m = ({ title: n, text: o, storyItems: a }) => /* @__PURE__ */ t("section",
11
11
  "aria-hidden": "true"
12
12
  }
13
13
  ),
14
- a.map((e, r) => /* @__PURE__ */ l(
14
+ l.map((e, r) => /* @__PURE__ */ a(
15
15
  "li",
16
16
  {
17
17
  className: "bg-neutral-25 relative mt-4 flex list-none flex-col rounded-2xl p-6 first:mt-0 md:flex-row",
18
18
  children: [
19
19
  r === 0 && /* @__PURE__ */ t("div", { className: "absolute top-0 bottom-1/2 -left-6 z-0 w-2.5 bg-white", "aria-hidden": "true" }),
20
- r === a.length - 1 && /* @__PURE__ */ t("div", { className: "absolute top-1/2 bottom-0 -left-6 z-0 w-2.5 bg-white", "aria-hidden": "true" }),
20
+ r === l.length - 1 && /* @__PURE__ */ t("div", { className: "absolute top-1/2 bottom-0 -left-6 z-0 w-2.5 bg-white", "aria-hidden": "true" }),
21
21
  /* @__PURE__ */ t(
22
22
  "div",
23
23
  {
@@ -26,7 +26,7 @@ const m = ({ title: n, text: o, storyItems: a }) => /* @__PURE__ */ t("section",
26
26
  }
27
27
  ),
28
28
  /* @__PURE__ */ t("div", { className: "flex h-10 w-10 shrink-0 items-center justify-center rounded-xl bg-neutral-200 p-2", children: e.icon }),
29
- /* @__PURE__ */ l("div", { className: "md:flex-1 md:pl-4", children: [
29
+ /* @__PURE__ */ a("div", { className: "md:flex-1 md:pl-4", children: [
30
30
  /* @__PURE__ */ t("p", { className: "mt-4 font-sans text-lg font-bold text-neutral-800 md:mt-0", children: e.title }),
31
31
  /* @__PURE__ */ t("div", { className: "mt-2 font-sans text-base font-normal text-neutral-800", children: e.description })
32
32
  ] })
@@ -2,7 +2,6 @@ import { FC } from 'react';
2
2
 
3
3
  export interface Jumbotron3Props {
4
4
  title: string;
5
- domain: string;
6
5
  }
7
6
 
8
7
  export interface MarkdownProps {
@@ -1,14 +1,14 @@
1
- import { jsx as e, jsxs as s } from "react/jsx-runtime";
1
+ import { jsx as e, jsxs as a } from "react/jsx-runtime";
2
2
  import { TwoColumnSection as n } from "./TwoColumnSection.js";
3
- import { Markdown as a } from "./Markdown.js";
4
- const m = ({ title: r, body: t, image: l }) => /* @__PURE__ */ e(
3
+ import { Markdown as s } from "./Markdown.js";
4
+ const m = ({ title: r, body: l, image: t }) => /* @__PURE__ */ e(
5
5
  n,
6
6
  {
7
7
  containerClassName: "gap-20 items-center flex-col-reverse",
8
- firstColumn: /* @__PURE__ */ e("div", { className: "flex-1", children: /* @__PURE__ */ e("div", { className: "bg-primary-50 rounded-3xl p-6", children: l }) }),
9
- secondColumn: /* @__PURE__ */ s("div", { className: "flex-1 space-y-6 text-neutral-800", children: [
8
+ firstColumn: /* @__PURE__ */ e("div", { className: "flex-1", children: /* @__PURE__ */ e("div", { className: "bg-primary-50 rounded-3xl p-6", children: t }) }),
9
+ secondColumn: /* @__PURE__ */ a("div", { className: "flex-1 space-y-6 text-neutral-800", children: [
10
10
  /* @__PURE__ */ e("p", { className: "text-super-large font-bold text-neutral-900", children: r }),
11
- /* @__PURE__ */ e("div", { className: "text-medium space-y-4", children: /* @__PURE__ */ e(a, { content: t }) })
11
+ /* @__PURE__ */ e("div", { className: "text-medium space-y-4", children: /* @__PURE__ */ e(s, { content: l, variant: "legal" }) })
12
12
  ] })
13
13
  }
14
14
  );