@npm_leadtech/legal-contracts-ui 0.107.0 → 0.109.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.js +24 -24
- package/dist/components/ContactUsTemplate.js +6 -6
- package/dist/components/NotFoundTemplate.d.ts +4 -76
- package/dist/components/NotFoundTemplate.js +11 -8
- package/dist/components/index.d.ts +1259 -0
- package/dist/globals.css +1 -1
- package/package.json +1 -1
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { jsxs as x, 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 { 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";
|
|
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(
|
|
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(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 })
|
|
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 {
|
|
3
|
-
import {
|
|
2
|
+
import { ContactMethodsSection as o } from "./ContactMethodsSection.js";
|
|
3
|
+
import { ContactFormSection as s } from "./ContactFormSection.js";
|
|
4
|
+
import { Jumbotron2 as d } from "./Jumbotron2.js";
|
|
4
5
|
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(
|
|
16
|
+
/* @__PURE__ */ e(d, { ...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(
|
|
25
|
-
/* @__PURE__ */ e("div", { className: "md:row-span-2", children: /* @__PURE__ */ e(
|
|
24
|
+
/* @__PURE__ */ e(o, { ...i }),
|
|
25
|
+
/* @__PURE__ */ e("div", { className: "md:row-span-2", children: /* @__PURE__ */ e(s, { ...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,84 +1,12 @@
|
|
|
1
|
-
import { ChangeEvent } from 'react';
|
|
2
1
|
import { FC } from 'react';
|
|
3
|
-
import { JSX } from 'react/jsx-runtime';
|
|
4
2
|
import { ReactNode } from 'react';
|
|
5
3
|
|
|
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
|
-
|
|
49
4
|
export declare const NotFoundTemplate: FC<NotFoundTemplateProps>;
|
|
50
5
|
|
|
51
6
|
export declare interface NotFoundTemplateProps {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
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;
|
|
7
|
+
image: ReactNode;
|
|
8
|
+
title: ReactNode;
|
|
9
|
+
message: ReactNode;
|
|
10
|
+
cta: ReactNode;
|
|
83
11
|
}
|
|
84
12
|
|
|
@@ -1,10 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
/* @__PURE__ */
|
|
6
|
-
|
|
7
|
-
|
|
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
|
+
] }) });
|
|
8
11
|
export {
|
|
9
|
-
|
|
12
|
+
d as NotFoundTemplate
|
|
10
13
|
};
|