@npm_leadtech/legal-contracts-ui 0.93.1 → 0.93.2
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 +7 -1
- package/dist/components/AboutUsTemplate.js +35 -34
- package/dist/components/Anchor.d.ts +1 -1
- package/dist/components/Anchor.js +11 -10
- package/dist/components/Blockquote.d.ts +5 -1
- package/dist/components/Blockquote.js +5 -2
- package/dist/components/ContactBanner.js +6 -6
- package/dist/components/ElectronicSignatureTemplate.d.ts +0 -10
- package/dist/components/ElectronicSignatureTemplate.js +21 -24
- package/dist/components/ExpertsSection.js +18 -11
- package/dist/components/Header2.d.ts +1 -1
- package/dist/components/InfoIcon.js +5 -7
- package/dist/components/Markdown.d.ts +1 -1
- package/dist/components/Markdown.js +31 -31
- package/dist/components/OrderedList.d.ts +1 -1
- package/dist/components/Paragraph.d.ts +1 -1
- package/dist/components/ProductInfo.js +4 -4
- package/dist/components/TrustPilotSection.d.ts +10 -0
- package/dist/components/TrustPilotSection.js +10 -0
- package/dist/components/UiComponents.d.ts +10 -6
- package/dist/components/UnorderedList.d.ts +1 -1
- package/dist/components/UnsubscribeTemplate.d.ts +1 -1
- package/dist/globals.css +1 -1
- package/package.json +5 -9
- package/dist/components/SinglePhoneIcon.d.ts +0 -4
- package/dist/components/SinglePhoneIcon.js +0 -12
- package/dist/components/Toast.d.ts +0 -13
- package/dist/components/Toast.js +0 -47
|
@@ -13,7 +13,7 @@ export declare interface AboutUsTemplateProps {
|
|
|
13
13
|
howWeHelp: WeHelpSectionProps;
|
|
14
14
|
guidelines: GuidelinesSectionProps;
|
|
15
15
|
experts: ExpertsSectionProps;
|
|
16
|
-
trustPilot:
|
|
16
|
+
trustPilot: TrustPilotSectionProps;
|
|
17
17
|
partners: PartnersSectionProps;
|
|
18
18
|
cta: CtaSectionProps;
|
|
19
19
|
contactUs: ContactUsSectionProps;
|
|
@@ -128,6 +128,12 @@ export interface StorylineProps {
|
|
|
128
128
|
}[];
|
|
129
129
|
}
|
|
130
130
|
|
|
131
|
+
export interface TrustPilotSectionProps {
|
|
132
|
+
trustPilot: React.ReactNode;
|
|
133
|
+
content: string;
|
|
134
|
+
title: string;
|
|
135
|
+
}
|
|
136
|
+
|
|
131
137
|
export interface ValuesSectionProps {
|
|
132
138
|
title: string;
|
|
133
139
|
children: ReactNode;
|
|
@@ -1,42 +1,43 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { MissionSection as
|
|
3
|
-
import { ValuesSection as
|
|
4
|
-
import { Storyline as
|
|
5
|
-
import { WeHelpSection as
|
|
6
|
-
import { GuidelinesSection as
|
|
7
|
-
import { ExpertsSection as
|
|
1
|
+
import { jsxs as S, jsx as o } from "react/jsx-runtime";
|
|
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";
|
|
8
9
|
import { PartnersSection as N } from "./PartnersSection.js";
|
|
9
|
-
import { CtaSection as
|
|
10
|
-
import { ContactUsSection as
|
|
11
|
-
import { Jumbotron2 as
|
|
12
|
-
import { IntroSection as
|
|
13
|
-
const
|
|
14
|
-
jumbotron:
|
|
15
|
-
intro:
|
|
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
|
+
const v = ({
|
|
15
|
+
jumbotron: t,
|
|
16
|
+
intro: r,
|
|
16
17
|
mission: m,
|
|
17
|
-
coreValues:
|
|
18
|
-
storyline:
|
|
18
|
+
coreValues: i,
|
|
19
|
+
storyline: e,
|
|
19
20
|
howWeHelp: n,
|
|
20
|
-
guidelines:
|
|
21
|
-
experts:
|
|
22
|
-
trustPilot:
|
|
23
|
-
partners:
|
|
24
|
-
cta:
|
|
21
|
+
guidelines: p,
|
|
22
|
+
experts: f,
|
|
23
|
+
trustPilot: s,
|
|
24
|
+
partners: c,
|
|
25
|
+
cta: l,
|
|
25
26
|
contactUs: a
|
|
26
|
-
}) => /* @__PURE__ */
|
|
27
|
-
/* @__PURE__ */ o(
|
|
28
|
-
/* @__PURE__ */ o(
|
|
29
|
-
/* @__PURE__ */ o(
|
|
30
|
-
/* @__PURE__ */ o(
|
|
31
|
-
/* @__PURE__ */ o(
|
|
32
|
-
/* @__PURE__ */ o(
|
|
33
|
-
/* @__PURE__ */ o(h, { ...l }),
|
|
34
|
-
/* @__PURE__ */ o(w, { ...s }),
|
|
35
|
-
/* @__PURE__ */ o("div", { className: "w-full max-w-254 md:h-34", children: c }),
|
|
36
|
-
/* @__PURE__ */ o(N, { ...f }),
|
|
27
|
+
}) => /* @__PURE__ */ S("main", { className: "mx-auto flex w-full flex-1 flex-col text-neutral-800", children: [
|
|
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 }),
|
|
37
34
|
/* @__PURE__ */ o(j, { ...p }),
|
|
38
|
-
/* @__PURE__ */ o(y, { ...
|
|
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 })
|
|
39
40
|
] });
|
|
40
41
|
export {
|
|
41
|
-
|
|
42
|
+
v as AboutUsTemplate
|
|
42
43
|
};
|
|
@@ -3,6 +3,6 @@ import { JSX } from 'react/jsx-runtime';
|
|
|
3
3
|
export declare const Anchor: ({ children, variant, className, ...props }: AnchorProps) => JSX.Element;
|
|
4
4
|
|
|
5
5
|
export interface AnchorProps extends React.ComponentProps<'a'> {
|
|
6
|
-
variant?: 'default' | 'legal' | 'tooltip';
|
|
6
|
+
variant?: 'default' | 'legal' | 'tooltip' | 'about-us';
|
|
7
7
|
}
|
|
8
8
|
|
|
@@ -1,23 +1,24 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
3
|
-
const v = ({ children: o, variant: i = "default", className:
|
|
4
|
-
const t = e.href || "", r = t.toLowerCase(),
|
|
1
|
+
import { jsx as d } from "react/jsx-runtime";
|
|
2
|
+
import p from "clsx";
|
|
3
|
+
const v = ({ children: o, variant: i = "default", className: c = "", ...e }) => {
|
|
4
|
+
const t = e.href || "", r = t.toLowerCase(), l = r.startsWith("mailto:"), a = r.startsWith("tel:"), n = {
|
|
5
5
|
default: "text-neutral-900 underline ",
|
|
6
|
-
legal: "text-primary-700 cursor-pointer"
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
legal: "text-primary-700 cursor-pointer",
|
|
7
|
+
"about-us": "text-primary-700 cursor-pointer"
|
|
8
|
+
}, f = n[i] ?? n.default, s = t.startsWith("http") && !a && !l, u = (() => {
|
|
9
|
+
if (!a) return t;
|
|
9
10
|
try {
|
|
10
11
|
return decodeURIComponent(t).replace(/\s/g, "");
|
|
11
12
|
} catch {
|
|
12
13
|
return t.replace(/%20/g, "").replace(/\s/g, "");
|
|
13
14
|
}
|
|
14
15
|
})();
|
|
15
|
-
return /* @__PURE__ */
|
|
16
|
+
return /* @__PURE__ */ d(
|
|
16
17
|
"a",
|
|
17
18
|
{
|
|
18
19
|
...e,
|
|
19
|
-
href:
|
|
20
|
-
className:
|
|
20
|
+
href: u,
|
|
21
|
+
className: p(c, f),
|
|
21
22
|
target: s ? "_blank" : void 0,
|
|
22
23
|
rel: s ? "noopener noreferrer" : void 0,
|
|
23
24
|
children: o
|
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
import { JSX } from 'react/jsx-runtime';
|
|
2
2
|
|
|
3
|
-
export declare const Blockquote: ({ children }:
|
|
3
|
+
export declare const Blockquote: ({ children, variant }: BlockquoteProps) => JSX.Element;
|
|
4
|
+
|
|
5
|
+
export interface BlockquoteProps extends React.ComponentProps<'blockquote'> {
|
|
6
|
+
variant?: 'default' | 'legal' | 'tooltip' | 'about-us';
|
|
7
|
+
}
|
|
4
8
|
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
-
const
|
|
2
|
+
const l = ({ children: t, variant: a = "default" }) => /* @__PURE__ */ r("blockquote", { className: {
|
|
3
|
+
default: "my-4 border-l-4 border-gray-300 pl-4 text-gray-700 italic",
|
|
4
|
+
"about-us": "my-4 text-gray-700 italic bg-neutral-25 pt-4 px-4 pb-0.5"
|
|
5
|
+
}[a], children: t });
|
|
3
6
|
export {
|
|
4
|
-
|
|
7
|
+
l as Blockquote
|
|
5
8
|
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsx as e, jsxs as n } from "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
import { useScroll as
|
|
4
|
-
import {
|
|
5
|
-
const
|
|
6
|
-
const
|
|
3
|
+
import { useScroll as i } from "../shared/hooks/useScroll.js";
|
|
4
|
+
import { InfoIcon as d } from "./InfoIcon.js";
|
|
5
|
+
const h = ({ contactText: s, phoneNumber: l, contactHoursText: t, contactHours: a }) => {
|
|
6
|
+
const r = i(10);
|
|
7
7
|
return /* @__PURE__ */ e(
|
|
8
8
|
"section",
|
|
9
9
|
{
|
|
10
|
-
className: `flex w-full justify-center border-b border-neutral-200 bg-neutral-50 px-4 transition-all duration-500 ease-in-out ${
|
|
10
|
+
className: `flex w-full justify-center border-b border-neutral-200 bg-neutral-50 px-4 transition-all duration-500 ease-in-out ${r ? "h-0 py-0" : "h-8.75 py-2"}`,
|
|
11
11
|
children: /* @__PURE__ */ n("div", { className: "flex flex-wrap items-center justify-center gap-4 text-center text-neutral-900 md:text-left", children: [
|
|
12
12
|
s && /* @__PURE__ */ e("p", { className: "text-small hidden sm:block", children: s }),
|
|
13
13
|
/* @__PURE__ */ e("div", { className: "h-5 w-5", children: /* @__PURE__ */ e(d, {}) }),
|
|
@@ -22,5 +22,5 @@ const f = ({ contactText: s, phoneNumber: l, contactHoursText: t, contactHours:
|
|
|
22
22
|
);
|
|
23
23
|
};
|
|
24
24
|
export {
|
|
25
|
-
|
|
25
|
+
h as ContactBanner
|
|
26
26
|
};
|
|
@@ -23,7 +23,6 @@ export declare interface ElectronicSignatureTemplateProps {
|
|
|
23
23
|
trustPilot: ReactNode;
|
|
24
24
|
signAndSend: BannerTagSectionProps;
|
|
25
25
|
faq: FaqSectionProps;
|
|
26
|
-
toast: ToastProps;
|
|
27
26
|
}
|
|
28
27
|
|
|
29
28
|
export interface FaqItemProps {
|
|
@@ -109,15 +108,6 @@ export interface TagProps {
|
|
|
109
108
|
className?: string;
|
|
110
109
|
}
|
|
111
110
|
|
|
112
|
-
export interface ToastProps {
|
|
113
|
-
show: boolean;
|
|
114
|
-
title: string;
|
|
115
|
-
message: string;
|
|
116
|
-
type?: 'success' | 'error' | 'default';
|
|
117
|
-
onClose: () => void;
|
|
118
|
-
duration?: number;
|
|
119
|
-
}
|
|
120
|
-
|
|
121
111
|
export interface UploadZoneProps {
|
|
122
112
|
uploadPromptText: string;
|
|
123
113
|
addDocumentLabel: string;
|
|
@@ -1,30 +1,27 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { Hero2Section as
|
|
1
|
+
import { jsxs as l, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { Hero2Section as s } from "./Hero2Section.js";
|
|
3
3
|
import { HowItWorksSection as c } from "./HowItWorksSection.js";
|
|
4
|
-
import { FastAndSimpleSection as
|
|
5
|
-
import { FeaturesSection as
|
|
6
|
-
import { BannerTagSection as
|
|
7
|
-
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
benefits: i,
|
|
4
|
+
import { FastAndSimpleSection as p } from "./FastAndSimpleSection.js";
|
|
5
|
+
import { FeaturesSection as x } from "./FeaturesSection.js";
|
|
6
|
+
import { BannerTagSection as f } from "./BannerTagSection.js";
|
|
7
|
+
import { FaqSection as g } from "./FaqSection.js";
|
|
8
|
+
const y = ({
|
|
9
|
+
hero: o,
|
|
10
|
+
howItWorks: t,
|
|
11
|
+
fastAndSimple: i,
|
|
12
|
+
benefits: r,
|
|
14
13
|
trustPilot: m,
|
|
15
14
|
signAndSend: a,
|
|
16
|
-
faq: n
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
/* @__PURE__ */
|
|
20
|
-
/* @__PURE__ */
|
|
21
|
-
/* @__PURE__ */
|
|
22
|
-
/* @__PURE__ */
|
|
23
|
-
/* @__PURE__ */
|
|
24
|
-
/* @__PURE__ */
|
|
25
|
-
/* @__PURE__ */ o(u, { ...n, className: "mx-auto max-w-4xl px-4 py-16" }),
|
|
26
|
-
/* @__PURE__ */ o(S, { ...l })
|
|
15
|
+
faq: n
|
|
16
|
+
}) => /* @__PURE__ */ l("main", { className: "bg-neutral-25 w-full flex-1", children: [
|
|
17
|
+
/* @__PURE__ */ e(s, { ...o, variant: "esign" }),
|
|
18
|
+
/* @__PURE__ */ e(c, { ...t }),
|
|
19
|
+
/* @__PURE__ */ e(p, { ...i, variant: "esign" }),
|
|
20
|
+
/* @__PURE__ */ e(x, { ...r }),
|
|
21
|
+
/* @__PURE__ */ e("section", { className: "bg-white px-6 py-8 lg:px-8 lg:py-12 xl:px-0", children: /* @__PURE__ */ e("div", { className: "mx-auto w-full max-w-254 md:h-34", children: m }) }),
|
|
22
|
+
/* @__PURE__ */ e(f, { ...a }),
|
|
23
|
+
/* @__PURE__ */ e(g, { ...n, className: "mx-auto max-w-4xl px-4 py-16" })
|
|
27
24
|
] });
|
|
28
25
|
export {
|
|
29
|
-
|
|
26
|
+
y as ElectronicSignatureTemplate
|
|
30
27
|
};
|
|
@@ -1,15 +1,22 @@
|
|
|
1
|
-
import { jsx as e, jsxs as
|
|
1
|
+
import { jsx as e, jsxs as l } from "react/jsx-runtime";
|
|
2
2
|
import { SectionHeading as n } from "./SectionHeading.js";
|
|
3
|
-
const
|
|
4
|
-
/* @__PURE__ */ e(n, { ...
|
|
5
|
-
/* @__PURE__ */ e("div", { className: "
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
3
|
+
const r = ({ 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 xl:max-w-7xl", 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 }) }),
|
|
5
|
+
/* @__PURE__ */ e("div", { className: "mt-8 flex flex-col items-center justify-center gap-8 md:flex-row md:flex-wrap", children: a.map((t) => /* @__PURE__ */ l(
|
|
6
|
+
"article",
|
|
7
|
+
{
|
|
8
|
+
className: "flex w-80 flex-row items-center justify-start gap-6 rounded-2xl bg-white p-4 shadow-sm lg:w-96",
|
|
9
|
+
children: [
|
|
10
|
+
/* @__PURE__ */ e("div", { className: "min-w-28 shrink-0 [&_img]:h-auto [&_img]:w-full [&_img]:rounded-lg", children: t.image }),
|
|
11
|
+
/* @__PURE__ */ l("div", { className: "flex flex-col items-start justify-start", children: [
|
|
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
|
+
/* @__PURE__ */ e("p", { className: "font-sans text-base leading-snug font-normal tracking-tight text-neutral-800", children: t.title })
|
|
14
|
+
] })
|
|
15
|
+
]
|
|
16
|
+
},
|
|
17
|
+
t.name
|
|
18
|
+
)) })
|
|
12
19
|
] }) });
|
|
13
20
|
export {
|
|
14
|
-
|
|
21
|
+
r as ExpertsSection
|
|
15
22
|
};
|
|
@@ -3,6 +3,6 @@ import { JSX } from 'react/jsx-runtime';
|
|
|
3
3
|
export declare const Header2: ({ children, variant }: Header2Props) => JSX.Element;
|
|
4
4
|
|
|
5
5
|
export interface Header2Props extends React.ComponentProps<'h2'> {
|
|
6
|
-
variant?: 'default' | 'legal' | 'tooltip';
|
|
6
|
+
variant?: 'default' | 'legal' | 'tooltip' | 'about-us';
|
|
7
7
|
}
|
|
8
8
|
|
|
@@ -1,14 +1,12 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
const
|
|
3
|
+
const n = (t) => /* @__PURE__ */ o("svg", { xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", fill: "none", viewBox: "0 0 20 20", ...t, children: /* @__PURE__ */ o(
|
|
4
4
|
"path",
|
|
5
5
|
{
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
d: "M2 12C2 6.47 6.47 2 12 2C17.53 2 22 6.47 22 12C22 17.53 17.53 22 12 22C6.47 22 2 17.53 2 12ZM4 12C4 16.41 7.59 20 12 20C16.41 20 20 16.41 20 12C20 7.59 16.41 4 12 4C7.59 4 4 7.59 4 12ZM11 12C11 11.4477 11.4477 11 12 11C12.5523 11 13 11.4477 13 12V16C13 16.5523 12.5523 17 12 17C11.4477 17 11 16.5523 11 16V12ZM12 7C11.4477 7 11 7.44772 11 8C11 8.55228 11.4477 9 12 9C12.5523 9 13 8.55228 13 8C13 7.44772 12.5523 7 12 7Z",
|
|
9
|
-
fill: C.fill ?? "#1E2021"
|
|
6
|
+
fill: "var(--neutral-900)",
|
|
7
|
+
d: "M16.675 12.817a9.5 9.5 0 0 1-2.942-.467.81.81 0 0 0-.841.2l-1.309 1.642c-2.358-1.125-4.566-3.25-5.741-5.692l1.625-1.383a.85.85 0 0 0 .2-.85A9.3 9.3 0 0 1 7.2 3.325a.83.83 0 0 0-.825-.825H3.492c-.45 0-.992.2-.992.825C2.5 11.067 8.942 17.5 16.675 17.5c.592 0 .825-.525.825-.983v-2.875a.83.83 0 0 0-.825-.825"
|
|
10
8
|
}
|
|
11
9
|
) });
|
|
12
10
|
export {
|
|
13
|
-
|
|
11
|
+
n as InfoIcon
|
|
14
12
|
};
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import a, { defaultUrlTransform as
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import { Anchor as
|
|
6
|
-
import { Blockquote as
|
|
7
|
-
import { Code as
|
|
2
|
+
import a, { defaultUrlTransform as s } from "react-markdown";
|
|
3
|
+
import i from "rehype-raw";
|
|
4
|
+
import l from "remark-gfm";
|
|
5
|
+
import { Anchor as f } from "./Anchor.js";
|
|
6
|
+
import { Blockquote as c } from "./Blockquote.js";
|
|
7
|
+
import { Code as d } from "./Code.js";
|
|
8
8
|
import { Header1 as h } from "./Header1.js";
|
|
9
9
|
import { Header2 as u } from "./Header2.js";
|
|
10
10
|
import { Header3 as C } from "./Header3.js";
|
|
11
|
-
import { Header4 as
|
|
12
|
-
import { OrderedList as
|
|
13
|
-
import { Paragraph as
|
|
14
|
-
import { TableRow as w, TableHeader as g, TableData as H, Table as
|
|
15
|
-
import { UnorderedList as
|
|
16
|
-
import { Video as
|
|
17
|
-
import { Emphasis as
|
|
18
|
-
import
|
|
19
|
-
const y = (
|
|
11
|
+
import { Header4 as b } from "./Header4.js";
|
|
12
|
+
import { OrderedList as k } from "./OrderedList.js";
|
|
13
|
+
import { Paragraph as T } from "./Paragraph.js";
|
|
14
|
+
import { TableRow as w, TableHeader as g, TableData as H, Table as q } from "./Table.js";
|
|
15
|
+
import { UnorderedList as x } from "./UnorderedList.js";
|
|
16
|
+
import { Video as P } from "./Video.js";
|
|
17
|
+
import { Emphasis as R } from "./Emphasis.js";
|
|
18
|
+
import U from "clsx";
|
|
19
|
+
const y = (m) => m.startsWith("tel:") ? m : s(m), v = ({ content: m, className: t = "", useCustom: n = !0, variant: e = "default" }) => {
|
|
20
20
|
const p = {
|
|
21
21
|
h1: h,
|
|
22
|
-
h2: (o) => /* @__PURE__ */ r(u, { variant:
|
|
22
|
+
h2: (o) => /* @__PURE__ */ r(u, { variant: e, ...o }),
|
|
23
23
|
h3: C,
|
|
24
|
-
h4:
|
|
25
|
-
p: (o) => /* @__PURE__ */ r(
|
|
26
|
-
a: (o) => /* @__PURE__ */ r(
|
|
27
|
-
ul: (o) => /* @__PURE__ */ r(
|
|
28
|
-
ol: (o) => /* @__PURE__ */ r(
|
|
29
|
-
code:
|
|
30
|
-
blockquote:
|
|
31
|
-
video:
|
|
32
|
-
table:
|
|
24
|
+
h4: b,
|
|
25
|
+
p: (o) => /* @__PURE__ */ r(T, { variant: e, ...o }),
|
|
26
|
+
a: (o) => /* @__PURE__ */ r(f, { variant: e, ...o }),
|
|
27
|
+
ul: (o) => /* @__PURE__ */ r(x, { variant: e, ...o }),
|
|
28
|
+
ol: (o) => /* @__PURE__ */ r(k, { variant: e, ...o }),
|
|
29
|
+
code: d,
|
|
30
|
+
blockquote: (o) => /* @__PURE__ */ r(c, { variant: e, ...o }),
|
|
31
|
+
video: P,
|
|
32
|
+
table: q,
|
|
33
33
|
td: H,
|
|
34
34
|
th: g,
|
|
35
35
|
tr: w,
|
|
36
|
-
em:
|
|
36
|
+
em: R
|
|
37
37
|
};
|
|
38
|
-
return /* @__PURE__ */ r("div", { className:
|
|
38
|
+
return /* @__PURE__ */ r("div", { className: U("w-full min-w-0", t), children: /* @__PURE__ */ r(
|
|
39
39
|
a,
|
|
40
40
|
{
|
|
41
|
-
rehypePlugins: [
|
|
42
|
-
remarkPlugins: [
|
|
41
|
+
rehypePlugins: [i],
|
|
42
|
+
remarkPlugins: [l],
|
|
43
43
|
urlTransform: y,
|
|
44
44
|
components: n ? p : void 0,
|
|
45
|
-
children:
|
|
45
|
+
children: m
|
|
46
46
|
}
|
|
47
47
|
) });
|
|
48
48
|
};
|
|
49
49
|
export {
|
|
50
|
-
|
|
50
|
+
v as Markdown
|
|
51
51
|
};
|
|
@@ -3,6 +3,6 @@ import { JSX } from 'react/jsx-runtime';
|
|
|
3
3
|
export declare const OrderedList: ({ variant, children }: OrderedListProps) => JSX.Element;
|
|
4
4
|
|
|
5
5
|
export interface OrderedListProps extends React.ComponentProps<'ol'> {
|
|
6
|
-
variant?: 'default' | 'tooltip' | 'legal';
|
|
6
|
+
variant?: 'default' | 'tooltip' | 'legal' | 'about-us';
|
|
7
7
|
}
|
|
8
8
|
|
|
@@ -3,6 +3,6 @@ import { JSX } from 'react/jsx-runtime';
|
|
|
3
3
|
export declare const Paragraph: ({ variant, children }: ParagraphProps) => JSX.Element;
|
|
4
4
|
|
|
5
5
|
export interface ParagraphProps extends React.ComponentProps<'p'> {
|
|
6
|
-
variant?: 'default' | 'legal' | 'tooltip';
|
|
6
|
+
variant?: 'default' | 'legal' | 'tooltip' | 'about-us';
|
|
7
7
|
}
|
|
8
8
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as e, jsxs as l, Fragment as s } from "react/jsx-runtime";
|
|
2
2
|
import { Note as a } from "./Note.js";
|
|
3
3
|
import { HistoryIcon as i } from "./HistoryIcon.js";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
4
|
+
import { DoneCircleIcon as m } from "./DoneCircleIcon.js";
|
|
5
|
+
import { DocOutlineIcon as o } from "./DocOutlineIcon.js";
|
|
6
6
|
const u = ({ lastUpdate: n, reviewer: t, alsoKnownAs: r }) => /* @__PURE__ */ e("section", { className: "bg-neutral-25 px-6 py-4 text-neutral-800 lg:px-8 xl:px-30", children: /* @__PURE__ */ e("div", { className: "mx-auto flex w-full max-w-300 flex-col gap-6", children: /* @__PURE__ */ l("div", { className: "text-small flex flex-col gap-2 text-neutral-600", children: [
|
|
7
7
|
/* @__PURE__ */ l("div", { className: "flex flex-wrap items-center gap-2 sm:gap-4", children: [
|
|
8
8
|
/* @__PURE__ */ l(a, { children: [
|
|
@@ -12,14 +12,14 @@ const u = ({ lastUpdate: n, reviewer: t, alsoKnownAs: r }) => /* @__PURE__ */ e(
|
|
|
12
12
|
!!t && /* @__PURE__ */ l(s, { children: [
|
|
13
13
|
/* @__PURE__ */ e("span", { className: "hidden h-5 w-px bg-neutral-600 sm:block", "aria-hidden": !0 }),
|
|
14
14
|
/* @__PURE__ */ l(a, { children: [
|
|
15
|
-
/* @__PURE__ */ e(
|
|
15
|
+
/* @__PURE__ */ e(m, { className: "size-4.5", fill: "var(--neutral-600)" }),
|
|
16
16
|
t
|
|
17
17
|
] })
|
|
18
18
|
] })
|
|
19
19
|
] }),
|
|
20
20
|
r.docs.length > 0 && /* @__PURE__ */ l("div", { className: "flex flex-wrap items-center gap-2", children: [
|
|
21
21
|
/* @__PURE__ */ l(a, { children: [
|
|
22
|
-
/* @__PURE__ */ e(
|
|
22
|
+
/* @__PURE__ */ e(o, { className: "size-4.5", fill: "var(--neutral-600)" }),
|
|
23
23
|
" ",
|
|
24
24
|
r.label
|
|
25
25
|
] }),
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { JSX } from 'react/jsx-runtime';
|
|
2
|
+
|
|
3
|
+
export declare const TrustPilotSection: ({ trustPilot, content, title }: TrustPilotSectionProps) => JSX.Element;
|
|
4
|
+
|
|
5
|
+
export declare interface TrustPilotSectionProps {
|
|
6
|
+
trustPilot: React.ReactNode;
|
|
7
|
+
content: string;
|
|
8
|
+
title: string;
|
|
9
|
+
}
|
|
10
|
+
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { jsxs as s, jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import { Markdown as a } from "./Markdown.js";
|
|
3
|
+
const i = ({ trustPilot: e, content: l, title: r }) => /* @__PURE__ */ s("section", { className: "bg-white px-6 py-8 lg:px-8 lg:py-12 xl:px-0", children: [
|
|
4
|
+
/* @__PURE__ */ t("h2", { className: "text-super-large mb-8 text-center font-bold text-neutral-800", children: r }),
|
|
5
|
+
/* @__PURE__ */ t(a, { content: l, variant: "about-us" }),
|
|
6
|
+
/* @__PURE__ */ t("section", { className: "bg-white px-6 py-8 lg:px-8 lg:py-12 xl:px-0", children: /* @__PURE__ */ t("div", { className: "mx-auto w-full max-w-254 md:h-34", children: e }) })
|
|
7
|
+
] });
|
|
8
|
+
export {
|
|
9
|
+
i as TrustPilotSection
|
|
10
|
+
};
|
|
@@ -3,10 +3,14 @@ import { JSX } from 'react/jsx-runtime';
|
|
|
3
3
|
export declare const Anchor: ({ children, variant, className, ...props }: AnchorProps) => JSX.Element;
|
|
4
4
|
|
|
5
5
|
export interface AnchorProps extends React.ComponentProps<'a'> {
|
|
6
|
-
variant?: 'default' | 'legal' | 'tooltip';
|
|
6
|
+
variant?: 'default' | 'legal' | 'tooltip' | 'about-us';
|
|
7
7
|
}
|
|
8
8
|
|
|
9
|
-
export declare const Blockquote: ({ children }:
|
|
9
|
+
export declare const Blockquote: ({ children, variant }: BlockquoteProps) => JSX.Element;
|
|
10
|
+
|
|
11
|
+
export interface BlockquoteProps extends React.ComponentProps<'blockquote'> {
|
|
12
|
+
variant?: 'default' | 'legal' | 'tooltip' | 'about-us';
|
|
13
|
+
}
|
|
10
14
|
|
|
11
15
|
export declare const Code: ({ children, className }: React.ComponentProps<"code">) => JSX.Element;
|
|
12
16
|
|
|
@@ -17,7 +21,7 @@ export declare const Header1: ({ children }: React.ComponentProps<"h1">) => JSX.
|
|
|
17
21
|
export declare const Header2: ({ children, variant }: Header2Props) => JSX.Element;
|
|
18
22
|
|
|
19
23
|
export interface Header2Props extends React.ComponentProps<'h2'> {
|
|
20
|
-
variant?: 'default' | 'legal' | 'tooltip';
|
|
24
|
+
variant?: 'default' | 'legal' | 'tooltip' | 'about-us';
|
|
21
25
|
}
|
|
22
26
|
|
|
23
27
|
export declare const Header3: ({ children }: React.ComponentProps<"h3">) => JSX.Element;
|
|
@@ -27,13 +31,13 @@ export declare const Header4: ({ children }: React.ComponentProps<"h4">) => JSX.
|
|
|
27
31
|
export declare const OrderedList: ({ variant, children }: OrderedListProps) => JSX.Element;
|
|
28
32
|
|
|
29
33
|
export interface OrderedListProps extends React.ComponentProps<'ol'> {
|
|
30
|
-
variant?: 'default' | 'tooltip' | 'legal';
|
|
34
|
+
variant?: 'default' | 'tooltip' | 'legal' | 'about-us';
|
|
31
35
|
}
|
|
32
36
|
|
|
33
37
|
export declare const Paragraph: ({ variant, children }: ParagraphProps) => JSX.Element;
|
|
34
38
|
|
|
35
39
|
export interface ParagraphProps extends React.ComponentProps<'p'> {
|
|
36
|
-
variant?: 'default' | 'legal' | 'tooltip';
|
|
40
|
+
variant?: 'default' | 'legal' | 'tooltip' | 'about-us';
|
|
37
41
|
}
|
|
38
42
|
|
|
39
43
|
export declare const Table: ({ children }: React.ComponentProps<"table">) => JSX.Element;
|
|
@@ -47,7 +51,7 @@ export declare const TableRow: ({ children }: React.ComponentProps<"tr">) => JSX
|
|
|
47
51
|
export declare const UnorderedList: ({ variant, children }: UnorderedListProps) => JSX.Element;
|
|
48
52
|
|
|
49
53
|
export interface UnorderedListProps extends React.ComponentProps<'ul'> {
|
|
50
|
-
variant?: 'default' | 'tooltip' | '
|
|
54
|
+
variant?: 'default' | 'legal' | 'tooltip' | 'about-us';
|
|
51
55
|
}
|
|
52
56
|
|
|
53
57
|
export declare const Video: ({ children }: React.ComponentProps<"video">) => JSX.Element;
|
|
@@ -3,6 +3,6 @@ import { JSX } from 'react/jsx-runtime';
|
|
|
3
3
|
export declare const UnorderedList: ({ variant, children }: UnorderedListProps) => JSX.Element;
|
|
4
4
|
|
|
5
5
|
export interface UnorderedListProps extends React.ComponentProps<'ul'> {
|
|
6
|
-
variant?: 'default' | 'tooltip' | '
|
|
6
|
+
variant?: 'default' | 'legal' | 'tooltip' | 'about-us';
|
|
7
7
|
}
|
|
8
8
|
|
|
@@ -8,7 +8,7 @@ export interface MarkdownProps {
|
|
|
8
8
|
content: string;
|
|
9
9
|
className?: string;
|
|
10
10
|
useCustom?: boolean;
|
|
11
|
-
variant?: 'default' | 'legal' | 'tooltip';
|
|
11
|
+
variant?: 'default' | 'legal' | 'tooltip' | 'about-us';
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
export declare const UnsubscribeTemplate: FC<UnsubscribeTemplateProps>;
|