@npm_leadtech/legal-contracts-ui 0.103.4 → 0.104.1
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/Jumbotron2.js +13 -13
- package/dist/components/NotFoundTemplate.d.ts +4 -76
- package/dist/components/NotFoundTemplate.js +20 -8
- package/dist/components/index.d.ts +1258 -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,24 +1,24 @@
|
|
|
1
|
-
import { jsxs as
|
|
1
|
+
import { jsxs as r, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import a from "clsx";
|
|
3
|
-
const p = ({ title:
|
|
4
|
-
const
|
|
5
|
-
return /* @__PURE__ */
|
|
6
|
-
/* @__PURE__ */
|
|
7
|
-
/* @__PURE__ */
|
|
8
|
-
/* @__PURE__ */
|
|
3
|
+
const p = ({ title: s, subtitle: l, className: o, children: x, variant: m = "default" }) => {
|
|
4
|
+
const t = m === "contact";
|
|
5
|
+
return /* @__PURE__ */ r("section", { className: `mx-auto px-4 pb-10 text-center md:px-8 ${o ?? ""}`, children: [
|
|
6
|
+
/* @__PURE__ */ r("div", { className: "mx-auto mb-8 flex w-fit flex-col items-center gap-2", children: [
|
|
7
|
+
/* @__PURE__ */ e("h1", { className: a("text-small font-bold text-neutral-600 uppercase"), children: s }),
|
|
8
|
+
/* @__PURE__ */ e("span", { className: a("h-px w-24 w-full bg-neutral-200"), "aria-hidden": !0 })
|
|
9
9
|
] }),
|
|
10
|
-
|
|
10
|
+
l && /* @__PURE__ */ e(
|
|
11
11
|
"h2",
|
|
12
12
|
{
|
|
13
13
|
className: a(
|
|
14
|
-
"font-lora text-neutral-
|
|
15
|
-
|
|
16
|
-
!
|
|
14
|
+
"font-lora mx-auto max-w-6xl text-3xl text-neutral-800 md:text-4xl",
|
|
15
|
+
t && "text-super-large md:text-hero lg:text-super-hero",
|
|
16
|
+
!t && "text-super-hero"
|
|
17
17
|
),
|
|
18
|
-
children:
|
|
18
|
+
children: l
|
|
19
19
|
}
|
|
20
20
|
),
|
|
21
|
-
!!
|
|
21
|
+
!!x && /* @__PURE__ */ e("div", { className: a(!t && "mt-4", t && "xl:max-w-202"), children: x })
|
|
22
22
|
] });
|
|
23
23
|
};
|
|
24
24
|
export {
|
|
@@ -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,22 @@
|
|
|
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 a } from "./LinkWrapper.js";
|
|
3
|
+
const s = ({ image: l, title: t, message: m, cta: r }) => /* @__PURE__ */ e("main", { className: "flex-1", children: /* @__PURE__ */ n("div", { className: "bg-neutral-white flex flex-col items-center justify-center px-5 py-12 text-center md:flex-row md:items-center md:gap-6 md:px-20 md:py-12 md:text-left lg:gap-20 lg:px-60 lg:py-20", children: [
|
|
4
|
+
l != null ? /* @__PURE__ */ e("div", { className: "mb-4 md:mb-0 md:h-[332px] md:w-[344px] md:shrink-0 [&_img]:h-auto [&_img]:w-full [&_img]:rounded-2xl md:[&_img]:h-full md:[&_img]:object-cover", children: l }) : null,
|
|
5
|
+
/* @__PURE__ */ n("div", { className: "mt-4 flex flex-col items-center gap-6 md:mt-0 md:items-start", children: [
|
|
6
|
+
t != null ? /* @__PURE__ */ e("h1", { className: "font-lora text-extra-large font-normal text-neutral-800", children: t }) : null,
|
|
7
|
+
m != null ? /* @__PURE__ */ e("p", { className: "text-medium text-neutral-800", children: m }) : null,
|
|
8
|
+
r != null ? /* @__PURE__ */ e(
|
|
9
|
+
a,
|
|
10
|
+
{
|
|
11
|
+
disabled: !1,
|
|
12
|
+
variant: "primary-darkgreen",
|
|
13
|
+
size: "large",
|
|
14
|
+
className: "flex w-full justify-center md:justify-start",
|
|
15
|
+
children: r
|
|
16
|
+
}
|
|
17
|
+
) : null
|
|
18
|
+
] })
|
|
19
|
+
] }) });
|
|
8
20
|
export {
|
|
9
|
-
|
|
21
|
+
s as NotFoundTemplate
|
|
10
22
|
};
|