@npm_leadtech/legal-contracts-ui 0.101.3 → 0.101.4
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 -0
- package/dist/components/ContactFormSection.js +51 -76
- package/dist/components/ContactUsTemplate.d.ts +2 -0
- package/dist/components/ContactUsTemplate.js +32 -22
- package/dist/components/FaqsTemplate.d.ts +1 -0
- package/dist/components/Input.js +108 -54
- package/dist/components/Jumbotron2.d.ts +1 -0
- package/dist/components/Jumbotron2.js +24 -10
- package/dist/components/QuestionOutlineIcon.d.ts +4 -0
- package/dist/components/QuestionOutlineIcon.js +15 -0
- package/dist/components/index.d.ts +3 -0
- package/dist/globals.css +1 -1
- package/package.json +5 -1
|
@@ -1,75 +1,60 @@
|
|
|
1
1
|
import { jsxs as t, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { LinkWrapper as j } from "./LinkWrapper.js";
|
|
7
|
-
import { Button as m } from "./Button.js";
|
|
2
|
+
import { Textarea as b } from "./Textarea.js";
|
|
3
|
+
import { Checkbox as v } from "./Checkbox.js";
|
|
4
|
+
import { ClearIcon as y } from "./ClearIcon.js";
|
|
5
|
+
import { DoneIcon as w } from "./DoneIcon.js";
|
|
8
6
|
import { Input as n } from "./Input.js";
|
|
9
|
-
import { Select as
|
|
10
|
-
import { Markdown as
|
|
7
|
+
import { Select as j } from "./Select.js";
|
|
8
|
+
import { Markdown as I } from "./Markdown.js";
|
|
11
9
|
import { InfoIcon as S } from "./InfoIcon.js";
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
messageField: u,
|
|
20
|
-
privacyField: d,
|
|
21
|
-
requiredFieldsText: x,
|
|
22
|
-
securityHint: N,
|
|
23
|
-
status: l = "default",
|
|
24
|
-
successFeedback: i,
|
|
25
|
-
errorFeedback: s,
|
|
26
|
-
onSubmit: g,
|
|
27
|
-
button: a
|
|
28
|
-
}) => l === "success" ? /* @__PURE__ */ t("section", { className: "rounded-sm bg-white p-8 shadow-sm", children: [
|
|
29
|
-
/* @__PURE__ */ t("div", { className: "space-y-4", children: [
|
|
30
|
-
/* @__PURE__ */ e("p", { className: "text-big font-bold text-neutral-600", children: r }),
|
|
31
|
-
/* @__PURE__ */ e("div", { className: "h-px w-full bg-neutral-200", "aria-hidden": "true" })
|
|
32
|
-
] }),
|
|
33
|
-
/* @__PURE__ */ t("div", { role: "status", "aria-live": "polite", className: "flex flex-col items-center justify-center gap-8 px-4 py-3", children: [
|
|
34
|
-
/* @__PURE__ */ t("div", { className: "flex flex-col items-center gap-2", children: [
|
|
35
|
-
/* @__PURE__ */ e("div", { className: "bg-primary-100 w-fit rounded-full p-3", children: /* @__PURE__ */ e(b, { width: 48, height: 48, fill: "var(--primary-500)" }) }),
|
|
36
|
-
/* @__PURE__ */ e("p", { className: "text-big font-bold text-neutral-800", children: i.title }),
|
|
37
|
-
/* @__PURE__ */ e("p", { className: "text-medium text-neutral-800", children: i.message })
|
|
38
|
-
] }),
|
|
39
|
-
/* @__PURE__ */ e(j, { className: "w-fit", children: i.cta })
|
|
40
|
-
] })
|
|
41
|
-
] }) : l === "error" ? /* @__PURE__ */ t("section", { className: "rounded-sm bg-white p-8 shadow-sm", children: [
|
|
42
|
-
/* @__PURE__ */ t("div", { className: "space-y-4", children: [
|
|
43
|
-
/* @__PURE__ */ e("p", { className: "text-big font-bold text-neutral-600", children: r }),
|
|
44
|
-
/* @__PURE__ */ e("div", { className: "h-px w-full bg-neutral-200", "aria-hidden": "true" })
|
|
10
|
+
import { Button as o } from "./Button.js";
|
|
11
|
+
import { LinkWrapper as k } from "./LinkWrapper.js";
|
|
12
|
+
const C = () => /* @__PURE__ */ e("div", { role: "status", "aria-live": "polite", className: "mt-6 flex items-center justify-center rounded py-6", children: /* @__PURE__ */ e("div", { className: "border-primary-500 h-[25px] w-[25px] animate-spin rounded-full border-3 border-t-transparent" }) }), L = ({ title: r, message: l, cta: i }) => /* @__PURE__ */ t("div", { role: "status", "aria-live": "polite", className: "flex flex-col items-center justify-center gap-8 px-4 py-3", children: [
|
|
13
|
+
/* @__PURE__ */ t("div", { className: "flex flex-col items-center gap-2", children: [
|
|
14
|
+
/* @__PURE__ */ e("div", { className: "bg-error-20 w-fit rounded-full p-3", children: /* @__PURE__ */ e(y, { width: 48, height: 48, fill: "var(--error-500)" }) }),
|
|
15
|
+
/* @__PURE__ */ e("p", { className: "text-big font-bold text-neutral-800", children: r }),
|
|
16
|
+
/* @__PURE__ */ e("p", { className: "text-medium text-neutral-800", children: l })
|
|
45
17
|
] }),
|
|
46
|
-
/* @__PURE__ */
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
/* @__PURE__ */ e(m, { ...s.cta, variant: "primary-green" })
|
|
53
|
-
] })
|
|
54
|
-
] }) : l === "loading" ? /* @__PURE__ */ t("section", { className: "rounded-sm bg-white p-8 shadow-sm", children: [
|
|
55
|
-
/* @__PURE__ */ t("div", { className: "space-y-4", children: [
|
|
56
|
-
/* @__PURE__ */ e("p", { className: "text-big font-bold text-neutral-600", children: r }),
|
|
57
|
-
/* @__PURE__ */ e("div", { className: "h-px w-full bg-neutral-200", "aria-hidden": "true" })
|
|
18
|
+
/* @__PURE__ */ e(o, { ...i, variant: "primary-green" })
|
|
19
|
+
] }), B = ({ title: r, message: l, cta: i }) => /* @__PURE__ */ t("div", { role: "status", "aria-live": "polite", className: "flex flex-col items-center justify-center gap-8 px-4 py-3", children: [
|
|
20
|
+
/* @__PURE__ */ t("div", { className: "flex flex-col items-center gap-2", children: [
|
|
21
|
+
/* @__PURE__ */ e("div", { className: "bg-primary-100 w-fit rounded-full p-3", children: /* @__PURE__ */ e(w, { width: 48, height: 48, fill: "var(--primary-500)" }) }),
|
|
22
|
+
/* @__PURE__ */ e("p", { className: "text-big font-bold text-neutral-800", children: r }),
|
|
23
|
+
/* @__PURE__ */ e("p", { className: "text-medium text-neutral-800", children: l })
|
|
58
24
|
] }),
|
|
59
|
-
/* @__PURE__ */ e(
|
|
60
|
-
] })
|
|
25
|
+
/* @__PURE__ */ e(k, { className: "w-fit", children: i })
|
|
26
|
+
] }), G = ({
|
|
27
|
+
title: r,
|
|
28
|
+
subjectOptions: l,
|
|
29
|
+
fullNameField: i,
|
|
30
|
+
emailField: m,
|
|
31
|
+
referenceNumberField: d,
|
|
32
|
+
subjectField: p,
|
|
33
|
+
messageField: f,
|
|
34
|
+
privacyField: s,
|
|
35
|
+
requiredFieldsText: h,
|
|
36
|
+
securityHint: x,
|
|
37
|
+
status: a = "default",
|
|
38
|
+
successFeedback: u,
|
|
39
|
+
errorFeedback: N,
|
|
40
|
+
onSubmit: g,
|
|
41
|
+
button: c
|
|
42
|
+
}) => /* @__PURE__ */ t("section", { className: "rounded-sm bg-white p-8 shadow-sm", children: [
|
|
61
43
|
/* @__PURE__ */ t("div", { className: "space-y-4", children: [
|
|
62
44
|
/* @__PURE__ */ e("p", { className: "text-big font-bold text-neutral-600", children: r }),
|
|
63
45
|
/* @__PURE__ */ e("div", { className: "h-px w-full bg-neutral-200", "aria-hidden": "true" })
|
|
64
46
|
] }),
|
|
65
|
-
/* @__PURE__ */
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
/* @__PURE__ */ e(
|
|
70
|
-
/* @__PURE__ */ e(
|
|
71
|
-
/* @__PURE__ */ e(
|
|
72
|
-
/* @__PURE__ */ e(
|
|
47
|
+
a === "loading" && /* @__PURE__ */ e(C, {}),
|
|
48
|
+
a === "error" && /* @__PURE__ */ e(L, { ...N }),
|
|
49
|
+
a === "success" && /* @__PURE__ */ e(B, { ...u }),
|
|
50
|
+
a === "default" && /* @__PURE__ */ t("form", { className: "mt-6 flex flex-col gap-6", noValidate: !0, onSubmit: g, children: [
|
|
51
|
+
/* @__PURE__ */ e(n, { ...i, type: "text" }),
|
|
52
|
+
/* @__PURE__ */ e(n, { ...m, type: "email" }),
|
|
53
|
+
/* @__PURE__ */ e(n, { ...d }),
|
|
54
|
+
/* @__PURE__ */ e(j, { ...p, options: l }),
|
|
55
|
+
/* @__PURE__ */ e(b, { ...f }),
|
|
56
|
+
/* @__PURE__ */ e("p", { className: "text-medium text-neutral-600", children: h }),
|
|
57
|
+
/* @__PURE__ */ e(v, { ...s, children: /* @__PURE__ */ e(I, { className: "text-medium [&_p:last-child]:mb-0", content: s.label }) }),
|
|
73
58
|
/* @__PURE__ */ t(
|
|
74
59
|
"div",
|
|
75
60
|
{
|
|
@@ -77,23 +62,13 @@ const E = ({
|
|
|
77
62
|
className: "text-small flex items-start gap-2 rounded bg-neutral-50 p-4 text-neutral-600",
|
|
78
63
|
children: [
|
|
79
64
|
/* @__PURE__ */ e(S, { width: 24, height: 24, "aria-hidden": "true" }),
|
|
80
|
-
/* @__PURE__ */ e("p", { children:
|
|
65
|
+
/* @__PURE__ */ e("p", { children: x })
|
|
81
66
|
]
|
|
82
67
|
}
|
|
83
68
|
),
|
|
84
|
-
/* @__PURE__ */ e(
|
|
85
|
-
m,
|
|
86
|
-
{
|
|
87
|
-
...a,
|
|
88
|
-
variant: "primary-green",
|
|
89
|
-
className: "w-fit self-center",
|
|
90
|
-
type: a.type ?? "submit",
|
|
91
|
-
disabled: a.disabled,
|
|
92
|
-
children: a.children
|
|
93
|
-
}
|
|
94
|
-
)
|
|
69
|
+
/* @__PURE__ */ e(o, { ...c, className: "w-fit self-center", type: "submit", children: c.children })
|
|
95
70
|
] })
|
|
96
71
|
] });
|
|
97
72
|
export {
|
|
98
|
-
|
|
73
|
+
G as ContactFormSection
|
|
99
74
|
};
|
|
@@ -95,6 +95,7 @@ export declare interface ContactUsTemplateProps {
|
|
|
95
95
|
faqText: string;
|
|
96
96
|
faqCta: ReactNode;
|
|
97
97
|
};
|
|
98
|
+
bgImage: ReactNode | null;
|
|
98
99
|
}
|
|
99
100
|
|
|
100
101
|
export type IconPosition = 'left' | 'right' | 'top';
|
|
@@ -104,6 +105,7 @@ export interface Jumbotron2Props {
|
|
|
104
105
|
subtitle?: string;
|
|
105
106
|
className?: string;
|
|
106
107
|
children?: React.ReactNode;
|
|
108
|
+
variant?: 'default' | 'contact';
|
|
107
109
|
}
|
|
108
110
|
|
|
109
111
|
export type ResponsiveButtonVariant = ButtonVariant | {
|
|
@@ -1,26 +1,36 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { ContactFormSection as
|
|
3
|
-
import { Jumbotron2 as
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { LinkWrapper as
|
|
7
|
-
const
|
|
8
|
-
jumbotron:
|
|
9
|
-
contactMethods:
|
|
10
|
-
contactForm:
|
|
11
|
-
faqSection:
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
/* @__PURE__ */
|
|
15
|
-
|
|
16
|
-
/* @__PURE__ */
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
1
|
+
import { jsxs as a, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { ContactFormSection as o } from "./ContactFormSection.js";
|
|
3
|
+
import { Jumbotron2 as s } from "./Jumbotron2.js";
|
|
4
|
+
import { Markdown as m } from "./Markdown.js";
|
|
5
|
+
import { ContactMethodsSection as d } from "./ContactMethodsSection.js";
|
|
6
|
+
import { LinkWrapper as n } from "./LinkWrapper.js";
|
|
7
|
+
const v = ({
|
|
8
|
+
jumbotron: t,
|
|
9
|
+
contactMethods: i,
|
|
10
|
+
contactForm: c,
|
|
11
|
+
faqSection: l,
|
|
12
|
+
bgImage: r
|
|
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
|
+
!!r && /* @__PURE__ */ e("div", { className: "absolute right-0 bottom-0 hidden md:block", children: r }),
|
|
15
|
+
/* @__PURE__ */ a("div", { className: "relative mx-auto flex w-full max-w-300 flex-col gap-12", children: [
|
|
16
|
+
/* @__PURE__ */ e(s, { ...t, className: "flex flex-col gap-4 pb-0!", variant: "contact", children: /* @__PURE__ */ e(
|
|
17
|
+
m,
|
|
18
|
+
{
|
|
19
|
+
content: t.children,
|
|
20
|
+
className: "text-medium text-neutral-600 [&_p:last-child]:mb-0"
|
|
21
|
+
}
|
|
22
|
+
) }),
|
|
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(d, { ...i }),
|
|
25
|
+
/* @__PURE__ */ e("div", { className: "md:row-span-2", children: /* @__PURE__ */ e(o, { ...c }) }),
|
|
26
|
+
/* @__PURE__ */ a("div", { className: "flex flex-col gap-8 px-6", children: [
|
|
27
|
+
/* @__PURE__ */ e("h3", { className: "text-large text-primary-700 font-bold", children: l.faqTitle }),
|
|
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" }) }),
|
|
29
|
+
/* @__PURE__ */ e(n, { className: "w-fit", variant: "secondary-green", children: l.faqCta })
|
|
30
|
+
] })
|
|
21
31
|
] })
|
|
22
32
|
] })
|
|
23
|
-
] })
|
|
33
|
+
] });
|
|
24
34
|
export {
|
|
25
|
-
|
|
35
|
+
v as ContactUsTemplate
|
|
26
36
|
};
|
package/dist/components/Input.js
CHANGED
|
@@ -1,60 +1,114 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { jsxs as t, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { useState as p } from "react";
|
|
3
|
+
import u from "clsx";
|
|
4
|
+
import { QuestionOutlineIcon as N } from "./QuestionOutlineIcon.js";
|
|
5
|
+
import { CloseIcon as y } from "./CloseIcon.js";
|
|
6
|
+
import { InfoIcon as I } from "./InfoIcon.js";
|
|
7
|
+
const $ = ({
|
|
8
|
+
label: m,
|
|
6
9
|
id: l,
|
|
7
|
-
name:
|
|
8
|
-
type:
|
|
9
|
-
placeholder:
|
|
10
|
-
required:
|
|
11
|
-
tooltip:
|
|
12
|
-
onInputChange:
|
|
13
|
-
containerClassName:
|
|
14
|
-
error:
|
|
15
|
-
errorMessage:
|
|
16
|
-
...
|
|
17
|
-
}) =>
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
" ",
|
|
22
|
-
|
|
10
|
+
name: d,
|
|
11
|
+
type: f = "text",
|
|
12
|
+
placeholder: h,
|
|
13
|
+
required: i = !1,
|
|
14
|
+
tooltip: o,
|
|
15
|
+
onInputChange: x,
|
|
16
|
+
containerClassName: g = "",
|
|
17
|
+
error: s = !1,
|
|
18
|
+
errorMessage: b,
|
|
19
|
+
...v
|
|
20
|
+
}) => {
|
|
21
|
+
const [n, c] = p(!1), [w, r] = p(!1);
|
|
22
|
+
return /* @__PURE__ */ t("div", { className: `flex flex-col gap-2 ${g}`, children: [
|
|
23
|
+
/* @__PURE__ */ t("div", { className: "flex items-center gap-2", children: [
|
|
24
|
+
/* @__PURE__ */ t("label", { htmlFor: l, className: "font-bold text-neutral-800", children: [
|
|
25
|
+
m,
|
|
26
|
+
" ",
|
|
27
|
+
i && /* @__PURE__ */ e("span", { className: "text-neutral-800", children: "*" })
|
|
28
|
+
] }),
|
|
29
|
+
o && /* @__PURE__ */ t(
|
|
30
|
+
"span",
|
|
31
|
+
{
|
|
32
|
+
className: "group relative inline-flex",
|
|
33
|
+
onMouseLeave: () => {
|
|
34
|
+
r(!1);
|
|
35
|
+
},
|
|
36
|
+
children: [
|
|
37
|
+
/* @__PURE__ */ e(
|
|
38
|
+
"button",
|
|
39
|
+
{
|
|
40
|
+
className: "cursor-pointer rounded-full p-0",
|
|
41
|
+
"aria-expanded": n,
|
|
42
|
+
onClick: () => {
|
|
43
|
+
r(!1), c((a) => !a);
|
|
44
|
+
},
|
|
45
|
+
children: /* @__PURE__ */ e(N, { "aria-hidden": "true" })
|
|
46
|
+
}
|
|
47
|
+
),
|
|
48
|
+
/* @__PURE__ */ t(
|
|
49
|
+
"span",
|
|
50
|
+
{
|
|
51
|
+
className: u(
|
|
52
|
+
"invisible absolute top-6 -left-21 z-10 w-max max-w-60 rounded bg-neutral-800 p-2 transition-opacity lg:max-w-80 xl:-left-15 xl:max-w-112",
|
|
53
|
+
"opacity-0",
|
|
54
|
+
!w && "group-focus-within:visible group-focus-within:opacity-100 group-hover:visible group-hover:opacity-100",
|
|
55
|
+
n && "visible opacity-100"
|
|
56
|
+
),
|
|
57
|
+
role: "tooltip",
|
|
58
|
+
children: [
|
|
59
|
+
/* @__PURE__ */ e(
|
|
60
|
+
"span",
|
|
61
|
+
{
|
|
62
|
+
className: "absolute -top-1 right-[calc(100%-5.75rem)] h-2 w-2 translate-x-1/2 rotate-45 bg-neutral-800 xl:right-[calc(100%-4.25rem)]",
|
|
63
|
+
"aria-hidden": "true"
|
|
64
|
+
}
|
|
65
|
+
),
|
|
66
|
+
/* @__PURE__ */ t("span", { className: "text-extra-small inline-flex items-center gap-2 px-1 py-2 leading-none font-bold text-white", children: [
|
|
67
|
+
/* @__PURE__ */ e("span", { children: o }),
|
|
68
|
+
/* @__PURE__ */ e(
|
|
69
|
+
"button",
|
|
70
|
+
{
|
|
71
|
+
type: "button",
|
|
72
|
+
className: "cursor-pointer p-0",
|
|
73
|
+
onClick: () => {
|
|
74
|
+
r(!0), c(!1);
|
|
75
|
+
},
|
|
76
|
+
children: /* @__PURE__ */ e(y, { width: 20, height: 20, fill: "white" })
|
|
77
|
+
}
|
|
78
|
+
)
|
|
79
|
+
] })
|
|
80
|
+
]
|
|
81
|
+
}
|
|
82
|
+
)
|
|
83
|
+
]
|
|
84
|
+
}
|
|
85
|
+
)
|
|
23
86
|
] }),
|
|
24
|
-
|
|
25
|
-
"
|
|
87
|
+
/* @__PURE__ */ e(
|
|
88
|
+
"input",
|
|
26
89
|
{
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
90
|
+
id: l,
|
|
91
|
+
name: d,
|
|
92
|
+
type: f,
|
|
93
|
+
placeholder: h,
|
|
94
|
+
required: i,
|
|
95
|
+
className: u(
|
|
96
|
+
"text-small focus-visible:outline-primary-500 w-full rounded border p-3 text-neutral-800 placeholder:text-neutral-600 focus-visible:outline-2",
|
|
97
|
+
s ? "border-error-500 bg-error-25" : "bg-neutral-25 border-neutral-400"
|
|
98
|
+
),
|
|
99
|
+
onChange: (a) => {
|
|
100
|
+
x?.(a.target.value);
|
|
101
|
+
},
|
|
102
|
+
...v
|
|
31
103
|
}
|
|
32
|
-
)
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
placeholder: c,
|
|
41
|
-
required: t,
|
|
42
|
-
className: p(
|
|
43
|
-
"text-small focus-visible:outline-primary-500 w-full rounded border p-3 text-neutral-800 placeholder:text-neutral-600 focus-visible:outline-2",
|
|
44
|
-
n ? "border-error-500 bg-error-25" : "bg-neutral-25 border-neutral-400"
|
|
45
|
-
),
|
|
46
|
-
onChange: (f) => {
|
|
47
|
-
d?.(f.target.value);
|
|
48
|
-
},
|
|
49
|
-
...x
|
|
50
|
-
}
|
|
51
|
-
),
|
|
52
|
-
n && /* @__PURE__ */ e("p", { id: `${l}-error-message`, className: "text-small text-error-500 flex items-center gap-1", children: [
|
|
53
|
-
/* @__PURE__ */ r(h, { width: 20, height: 20, fill: "var(--color-error-500)", "aria-hidden": "true" }),
|
|
54
|
-
" ",
|
|
55
|
-
u
|
|
56
|
-
] })
|
|
57
|
-
] });
|
|
104
|
+
),
|
|
105
|
+
s && /* @__PURE__ */ t("p", { id: `${l}-error-message`, className: "text-small text-error-500 flex items-center gap-1", children: [
|
|
106
|
+
/* @__PURE__ */ e(I, { width: 20, height: 20, fill: "var(--color-error-500)", "aria-hidden": "true" }),
|
|
107
|
+
" ",
|
|
108
|
+
b
|
|
109
|
+
] })
|
|
110
|
+
] });
|
|
111
|
+
};
|
|
58
112
|
export {
|
|
59
|
-
|
|
113
|
+
$ as Input
|
|
60
114
|
};
|
|
@@ -1,12 +1,26 @@
|
|
|
1
|
-
import { jsxs as s, jsx as
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
] })
|
|
1
|
+
import { jsxs as s, jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import a from "clsx";
|
|
3
|
+
const p = ({ title: o, subtitle: r, className: n, children: l, variant: c = "default" }) => {
|
|
4
|
+
const e = c === "contact";
|
|
5
|
+
return /* @__PURE__ */ s("section", { className: `mx-auto px-4 pb-10 text-center md:px-8 ${n ?? ""}`, children: [
|
|
6
|
+
/* @__PURE__ */ s("div", { className: "flex flex-col items-center gap-2", children: [
|
|
7
|
+
/* @__PURE__ */ t("h1", { className: a("text-small font-bold", e ? "text-neutral-600" : "text-neutral-900"), children: o }),
|
|
8
|
+
/* @__PURE__ */ t("span", { className: a("h-px w-24", e ? "bg-neutral-400" : "bg-neutral-200"), "aria-hidden": !0 })
|
|
9
|
+
] }),
|
|
10
|
+
r && /* @__PURE__ */ t(
|
|
11
|
+
"h2",
|
|
12
|
+
{
|
|
13
|
+
className: a(
|
|
14
|
+
"font-lora text-neutral-900",
|
|
15
|
+
e && "text-super-large md:text-hero lg:text-super-hero",
|
|
16
|
+
!e && "text-super-hero"
|
|
17
|
+
),
|
|
18
|
+
children: r
|
|
19
|
+
}
|
|
20
|
+
),
|
|
21
|
+
!!l && /* @__PURE__ */ t("div", { className: a(!e && "mt-4"), children: l })
|
|
22
|
+
] });
|
|
23
|
+
};
|
|
10
24
|
export {
|
|
11
|
-
|
|
25
|
+
p as Jumbotron2
|
|
12
26
|
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { jsx as C } from "react/jsx-runtime";
|
|
2
|
+
import "react";
|
|
3
|
+
const n = ({
|
|
4
|
+
fill: o = "var(--color-primary-900)",
|
|
5
|
+
...t
|
|
6
|
+
}) => /* @__PURE__ */ C("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...t, children: /* @__PURE__ */ C(
|
|
7
|
+
"path",
|
|
8
|
+
{
|
|
9
|
+
d: "M7.96665 12C8.19998 12 8.3972 11.9195 8.55831 11.7584C8.71942 11.5973 8.79998 11.4 8.79998 11.1667C8.79998 10.9334 8.71942 10.7362 8.55831 10.575C8.3972 10.4139 8.19998 10.3334 7.96665 10.3334C7.73331 10.3334 7.53609 10.4139 7.37498 10.575C7.21387 10.7362 7.13331 10.9334 7.13331 11.1667C7.13331 11.4 7.21387 11.5973 7.37498 11.7584C7.53609 11.9195 7.73331 12 7.96665 12ZM7.99998 14.6667C7.07776 14.6667 6.21109 14.4917 5.39998 14.1417C4.58887 13.7917 3.88331 13.3167 3.28331 12.7167C2.68331 12.1167 2.20831 11.4112 1.85831 10.6C1.50831 9.78893 1.33331 8.92226 1.33331 8.00004C1.33331 7.07782 1.50831 6.21115 1.85831 5.40004C2.20831 4.58893 2.68331 3.88337 3.28331 3.28337C3.88331 2.68337 4.58887 2.20837 5.39998 1.85837C6.21109 1.50837 7.07776 1.33337 7.99998 1.33337C8.9222 1.33337 9.78887 1.50837 10.6 1.85837C11.4111 2.20837 12.1166 2.68337 12.7166 3.28337C13.3166 3.88337 13.7916 4.58893 14.1416 5.40004C14.4916 6.21115 14.6666 7.07782 14.6666 8.00004C14.6666 8.92226 14.4916 9.78893 14.1416 10.6C13.7916 11.4112 13.3166 12.1167 12.7166 12.7167C12.1166 13.3167 11.4111 13.7917 10.6 14.1417C9.78887 14.4917 8.9222 14.6667 7.99998 14.6667ZM7.99998 13.3334C9.48887 13.3334 10.75 12.8167 11.7833 11.7834C12.8166 10.75 13.3333 9.48893 13.3333 8.00004C13.3333 6.51115 12.8166 5.25004 11.7833 4.21671C10.75 3.18337 9.48887 2.66671 7.99998 2.66671C6.51109 2.66671 5.24998 3.18337 4.21665 4.21671C3.18331 5.25004 2.66665 6.51115 2.66665 8.00004C2.66665 9.48893 3.18331 10.75 4.21665 11.7834C5.24998 12.8167 6.51109 13.3334 7.99998 13.3334ZM8.06665 5.13337C8.34442 5.13337 8.58609 5.22226 8.79165 5.40004C8.9972 5.57782 9.09998 5.80004 9.09998 6.06671C9.09998 6.31115 9.02498 6.52782 8.87498 6.71671C8.72498 6.9056 8.55553 7.08337 8.36665 7.25004C8.11109 7.47226 7.88609 7.71671 7.69165 7.98337C7.4972 8.25004 7.39998 8.55004 7.39998 8.88337C7.39998 9.03893 7.45831 9.16949 7.57498 9.27504C7.69165 9.3806 7.82776 9.43337 7.98331 9.43337C8.14998 9.43337 8.29165 9.37782 8.40831 9.26671C8.52498 9.1556 8.59998 9.01671 8.63331 8.85004C8.67776 8.61671 8.77776 8.40837 8.93331 8.22504C9.08887 8.04171 9.25554 7.86671 9.43331 7.70004C9.68887 7.4556 9.90831 7.18893 10.0916 6.90004C10.275 6.61115 10.3666 6.28893 10.3666 5.93337C10.3666 5.36671 10.1361 4.90282 9.67498 4.54171C9.21387 4.1806 8.67776 4.00004 8.06665 4.00004C7.64442 4.00004 7.24165 4.08893 6.85831 4.26671C6.47498 4.44448 6.18331 4.71671 5.98331 5.08337C5.90553 5.21671 5.88054 5.35837 5.90831 5.50837C5.93609 5.65837 6.01109 5.77226 6.13331 5.85004C6.28887 5.93893 6.44998 5.96671 6.61665 5.93337C6.78331 5.90004 6.9222 5.8056 7.03331 5.65004C7.15554 5.48337 7.30831 5.3556 7.49165 5.26671C7.67498 5.17782 7.86665 5.13337 8.06665 5.13337Z",
|
|
10
|
+
fill: o
|
|
11
|
+
}
|
|
12
|
+
) });
|
|
13
|
+
export {
|
|
14
|
+
n as QuestionOutlineIcon
|
|
15
|
+
};
|
|
@@ -672,6 +672,7 @@ export declare interface Jumbotron2Props {
|
|
|
672
672
|
subtitle?: string;
|
|
673
673
|
className?: string;
|
|
674
674
|
children?: React.ReactNode;
|
|
675
|
+
variant?: 'default' | 'contact';
|
|
675
676
|
}
|
|
676
677
|
|
|
677
678
|
export declare const Jumbotron3: FC<Jumbotron3Props>;
|
|
@@ -1017,6 +1018,8 @@ export declare interface ProductInfoProps {
|
|
|
1017
1018
|
|
|
1018
1019
|
export declare const QuestionIcon: React_2.FC<React_2.SVGProps<SVGSVGElement>>;
|
|
1019
1020
|
|
|
1021
|
+
export declare const QuestionOutlineIcon: React_2.FC<React_2.SVGProps<SVGSVGElement>>;
|
|
1022
|
+
|
|
1020
1023
|
export declare interface QuickBenefit {
|
|
1021
1024
|
id: string;
|
|
1022
1025
|
title: string;
|