@axos-web-dev/shared-components 0.0.56 → 0.0.58
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/AlertBanner/index.d.ts +1 -1
- package/dist/Article/Article.css.d.ts +230 -0
- package/dist/Article/Article.css.js +21 -0
- package/dist/Article/Article.d.ts +14 -0
- package/dist/Article/Article.js +51 -0
- package/dist/Article/index.d.ts +2 -0
- package/dist/Article/index.js +12 -0
- package/dist/ArticlesSet/ArticlesSet.css.d.ts +155 -0
- package/dist/ArticlesSet/ArticlesSet.css.js +21 -0
- package/dist/ArticlesSet/ArticlesSet.d.ts +12 -0
- package/dist/ArticlesSet/ArticlesSet.js +115 -0
- package/dist/ArticlesSet/index.d.ts +2 -0
- package/dist/ArticlesSet/index.js +12 -0
- package/dist/AwardsBanner/AwardsBanner.css.d.ts +2 -0
- package/dist/AwardsBanner/AwardsBanner.css.js +7 -0
- package/dist/AwardsBanner/AwardsBanner.d.ts +8 -0
- package/dist/AwardsBanner/AwardsBanner.js +18 -0
- package/dist/AwardsBanner/index.d.ts +2 -0
- package/dist/AwardsBanner/index.js +7 -0
- package/dist/AwardsItem/AwardsItem.css.d.ts +3 -0
- package/dist/AwardsItem/AwardsItem.css.js +10 -0
- package/dist/AwardsItem/AwardsItem.d.ts +9 -0
- package/dist/AwardsItem/AwardsItem.js +29 -0
- package/dist/AwardsItem/index.d.ts +2 -0
- package/dist/AwardsItem/index.js +8 -0
- package/dist/Button/Button.d.ts +1 -1
- package/dist/Button/GoBackButton.d.ts +1 -1
- package/dist/CallToActionBar/CallToActionBar.interface.d.ts +1 -1
- package/dist/CallToActionBar/index.d.ts +1 -1
- package/dist/Carousel/Carousel.css.d.ts +44 -0
- package/dist/Carousel/Carousel.css.js +12 -8
- package/dist/Carousel/index.d.ts +3 -1
- package/dist/Carousel/index.js +89 -31
- package/dist/Chevron/Chevron.interface.d.ts +1 -1
- package/dist/Chevron/index.d.ts +1 -1
- package/dist/Chevron/index.js +6 -1
- package/dist/ContentBanner/ContentBanner.interface.d.ts +1 -1
- package/dist/ContentBanner/index.d.ts +1 -1
- package/dist/DownloadTile/index.d.ts +1 -1
- package/dist/ExecutiveBio/ExecutiveBio.css.d.ts +1 -39
- package/dist/ExecutiveBio/ExecutiveBio.css.js +12 -10
- package/dist/ExecutiveBio/ExecutiveBio.d.ts +1 -1
- package/dist/ExecutiveBio/ExecutiveBio.interface.d.ts +6 -4
- package/dist/ExecutiveBio/ExecutiveBio.js +104 -46
- package/dist/ExecutiveBio/ExecutiveBioSet.d.ts +2 -2
- package/dist/ExecutiveBio/ExecutiveBioSet.js +22 -128
- package/dist/ExecutiveBio/index.js +2 -1
- package/dist/FaqAccordion/index.d.ts +2 -1
- package/dist/FaqAccordion/index.js +26 -13
- package/dist/FooterSiteMap/AxosBank/FooterSiteMap.js +6 -1
- package/dist/Forms/ApplicationStart.js +1 -0
- package/dist/Forms/ContactCompany.d.ts +25 -0
- package/dist/Forms/ContactCompany.js +190 -0
- package/dist/Forms/ContactUsBusiness.js +5 -0
- package/dist/Forms/DealerServices.d.ts +32 -0
- package/dist/Forms/DealerServices.js +311 -0
- package/dist/Forms/EmailOnly.js +5 -0
- package/dist/Forms/RenderForm.d.ts +1 -1
- package/dist/Forms/RenderForm.js +5 -0
- package/dist/Forms/ScheduleCall.d.ts +2 -2
- package/dist/Forms/ScheduleCall.js +8 -1
- package/dist/Forms/ScheduleCallPremier.js +1 -0
- package/dist/Forms/SuccesForm.d.ts +7 -3
- package/dist/Forms/SuccesForm.js +76 -61
- package/dist/Forms/index.d.ts +2 -0
- package/dist/Forms/index.js +4 -0
- package/dist/HeroBanner/HeroBanner.interface.d.ts +1 -1
- package/dist/Hyperlink/index.d.ts +1 -1
- package/dist/Hyperlink/index.js +6 -1
- package/dist/IconBillboard/IconBillboard.d.ts +3 -3
- package/dist/IconBillboard/IconBillboard.interface.d.ts +3 -3
- package/dist/ImageBillboard/ImageBillboard.interface.d.ts +4 -4
- package/dist/ImageLink/ImageLink.js +5 -0
- package/dist/ImageLink/ImageLinkSet.d.ts +2 -2
- package/dist/ImageLink/ImageLinkSet.js +5 -0
- package/dist/ImageLink/index.js +6 -1
- package/dist/Input/CurrencyInput.js +1 -0
- package/dist/Input/Input.d.ts +1 -1
- package/dist/Input/InputPhone.js +1 -0
- package/dist/Input/InputProps.d.ts +1 -1
- package/dist/Input/InputTextArea.d.ts +16 -0
- package/dist/Input/InputTextArea.js +48 -0
- package/dist/Input/index.d.ts +1 -0
- package/dist/Input/index.js +2 -0
- package/dist/Modal/Modal.d.ts +1 -1
- package/dist/Modal/Modal.js +6 -1
- package/dist/SetContainer/SetContainer.d.ts +1 -1
- package/dist/SetContainer/SetContainer.js +5 -0
- package/dist/StepItems/StepItems.interface.d.ts +3 -3
- package/dist/Table/Table.d.ts +1 -1
- package/dist/Typography/Typography.d.ts +1 -1
- package/dist/VideoTile/VideoTile.d.ts +1 -1
- package/dist/VideoWrapper/index.d.ts +1 -1
- package/dist/assets/Article/Article.css +243 -0
- package/dist/assets/ArticlesSet/ArticlesSet.css +234 -0
- package/dist/assets/AwardsBanner/AwardsBanner.css +19 -0
- package/dist/assets/AwardsItem/AwardsItem.css +40 -0
- package/dist/assets/Carousel/Carousel.css +68 -29
- package/dist/assets/ExecutiveBio/ExecutiveBio.css +61 -65
- package/dist/assets/IconBillboard/IconBillboard.css +3 -0
- package/dist/icons/ArrowIcon/index.d.ts +1 -1
- package/dist/main.d.ts +4 -0
- package/dist/main.js +39 -1
- package/dist/utils/faqAccordionOptions.d.ts +1 -0
- package/dist/utils/faqAccordionOptions.js +20 -0
- package/package.json +17 -17
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { getVariant } from "../utils/getVariant.js";
|
|
3
|
-
import { padding, item_bio, shift, media, headshot, img_area, description, person, bio_name, job_title, copy, contacts, contact_col, svg_icon, contact_entry } from "./ExecutiveBio.css.js";
|
|
3
|
+
import { padding, item_bio, shift, media, headshot, img_area, description, person, bio_name, job_title, copy, contacts, contact_col, svg_icon, contact_entry, contact_links } from "./ExecutiveBio.css.js";
|
|
4
4
|
const ExecutiveBio = ({
|
|
5
5
|
id,
|
|
6
6
|
executiveName,
|
|
@@ -8,6 +8,8 @@ const ExecutiveBio = ({
|
|
|
8
8
|
executiveBodyCopy,
|
|
9
9
|
executiveEmailAddress,
|
|
10
10
|
executivePhoneNumber,
|
|
11
|
+
executiveLinkedIn,
|
|
12
|
+
executiveWebsite,
|
|
11
13
|
executiveHeadshot,
|
|
12
14
|
variant: fullVariant = "primary"
|
|
13
15
|
}) => {
|
|
@@ -30,52 +32,108 @@ const ExecutiveBio = ({
|
|
|
30
32
|
/* @__PURE__ */ jsx("h3", { className: `${job_title({ variant })}`, children: executiveTitle }),
|
|
31
33
|
/* @__PURE__ */ jsx("div", { className: copy, children: executiveBodyCopy })
|
|
32
34
|
] }),
|
|
33
|
-
(executiveEmailAddress || executivePhoneNumber) && /* @__PURE__ */
|
|
34
|
-
executivePhoneNumber && /* @__PURE__ */ jsxs("div", { className:
|
|
35
|
-
/* @__PURE__ */
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
"
|
|
45
|
-
|
|
46
|
-
"
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
35
|
+
(executiveEmailAddress || executivePhoneNumber || executiveLinkedIn || executiveWebsite) && /* @__PURE__ */ jsxs("div", { className: `${contacts} flex between push_up_24`, children: [
|
|
36
|
+
(executivePhoneNumber || executiveEmailAddress) && /* @__PURE__ */ jsxs("div", { className: contact_col, children: [
|
|
37
|
+
executivePhoneNumber && /* @__PURE__ */ jsxs("div", { className: "flex middle", children: [
|
|
38
|
+
/* @__PURE__ */ jsx(
|
|
39
|
+
"svg",
|
|
40
|
+
{
|
|
41
|
+
width: "24",
|
|
42
|
+
height: "24",
|
|
43
|
+
viewBox: "0 0 24 24",
|
|
44
|
+
fill: "none",
|
|
45
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
46
|
+
"aria-hidden": "true",
|
|
47
|
+
children: /* @__PURE__ */ jsx(
|
|
48
|
+
"path",
|
|
49
|
+
{
|
|
50
|
+
"fill-rule": "evenodd",
|
|
51
|
+
"clip-rule": "evenodd",
|
|
52
|
+
d: "M5.25 4.5C5.25 2.84315 6.59315 1.5 8.25 1.5H15.75C17.4069 1.5 18.75 2.84315 18.75 4.5V19.5C18.75 21.1569 17.4069 22.5 15.75 22.5H8.25C6.59315 22.5 5.25 21.1569 5.25 19.5V4.5ZM6.75 4.5C6.75 3.67157 7.42157 3 8.25 3C8.25 3.82843 8.92157 4.5 9.75 4.5H14.25C15.0784 4.5 15.75 3.82843 15.75 3C16.5784 3 17.25 3.67157 17.25 4.5V19.5C17.25 20.3284 16.5784 21 15.75 21H8.25C7.42157 21 6.75 20.3284 6.75 19.5V4.5Z",
|
|
53
|
+
fill: "#1E3860",
|
|
54
|
+
className: svg_icon({ variant })
|
|
55
|
+
}
|
|
56
|
+
)
|
|
57
|
+
}
|
|
58
|
+
),
|
|
59
|
+
/* @__PURE__ */ jsx("div", { className: contact_entry({ variant }), children: /* @__PURE__ */ jsx("a", { href: `tel:${executivePhoneNumber}`, children: executivePhoneNumber }) })
|
|
60
|
+
] }),
|
|
61
|
+
executiveEmailAddress && /* @__PURE__ */ jsxs("div", { className: "flex middle", children: [
|
|
62
|
+
/* @__PURE__ */ jsx(
|
|
63
|
+
"svg",
|
|
64
|
+
{
|
|
65
|
+
width: "24",
|
|
66
|
+
height: "24",
|
|
67
|
+
viewBox: "0 0 24 24",
|
|
68
|
+
fill: "none",
|
|
69
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
70
|
+
"aria-hidden": "true",
|
|
71
|
+
children: /* @__PURE__ */ jsx(
|
|
72
|
+
"path",
|
|
73
|
+
{
|
|
74
|
+
d: "M21 4.5C21.8284 4.5 22.5 5.17157 22.5 6V18C22.5 18.8284 21.8284 19.5 21 19.5H3C2.17157 19.5 1.5 18.8284 1.5 18V6C1.5 5.17157 2.17157 4.5 3 4.5H21ZM14.3932 12.455L14.1963 12.6098C12.8873 13.5569 11.1127 13.5569 9.80369 12.6098L9.60517 12.455L4.059 18H19.9395L14.3932 12.455ZM21 6.8655L15.5437 11.483L21 16.9395V6.8655ZM3 6.867V16.938L8.45467 11.483L3 6.867ZM19.701 6H4.2975L10.5466 11.2878C11.3296 11.9503 12.4523 11.9944 13.2806 11.4203L13.4534 11.2878L19.701 6Z",
|
|
75
|
+
fill: "#1E3860",
|
|
76
|
+
className: svg_icon({ variant })
|
|
77
|
+
}
|
|
78
|
+
)
|
|
79
|
+
}
|
|
80
|
+
),
|
|
81
|
+
/* @__PURE__ */ jsx("div", { className: contact_entry({ variant }), children: /* @__PURE__ */ jsx("a", { href: `mailto:${executiveEmailAddress}`, children: executiveEmailAddress }) })
|
|
82
|
+
] })
|
|
56
83
|
] }),
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
{
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
84
|
+
(executiveLinkedIn || executiveWebsite) && /* @__PURE__ */ jsxs(
|
|
85
|
+
"div",
|
|
86
|
+
{
|
|
87
|
+
className: `${contact_col} ${contact_links} flex_col between`,
|
|
88
|
+
children: [
|
|
89
|
+
executiveLinkedIn && /* @__PURE__ */ jsxs("div", { className: "flex middle", children: [
|
|
90
|
+
/* @__PURE__ */ jsx("a", { href: `${executiveLinkedIn}`, className: "btn_link", children: "LinkedIn" }),
|
|
91
|
+
/* @__PURE__ */ jsx(
|
|
92
|
+
"svg",
|
|
93
|
+
{
|
|
94
|
+
width: "16",
|
|
95
|
+
height: "16",
|
|
96
|
+
viewBox: "0 0 24 24",
|
|
97
|
+
fill: "none",
|
|
98
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
99
|
+
"aria-hidden": "true",
|
|
100
|
+
children: /* @__PURE__ */ jsx(
|
|
101
|
+
"path",
|
|
102
|
+
{
|
|
103
|
+
d: "M7.81069 2.25L17.341 11.7803L7.81069 21.3107L6.75003 20.25L15.2199 11.7803L6.75003 3.31066L7.81069 2.25Z",
|
|
104
|
+
fill: "#2F5B88",
|
|
105
|
+
className: svg_icon({ variant })
|
|
106
|
+
}
|
|
107
|
+
)
|
|
108
|
+
}
|
|
109
|
+
)
|
|
110
|
+
] }),
|
|
111
|
+
executiveWebsite && /* @__PURE__ */ jsxs("div", { className: "flex middle", children: [
|
|
112
|
+
/* @__PURE__ */ jsx("a", { href: `${executiveWebsite}`, className: "btn_link", children: "Website" }),
|
|
113
|
+
/* @__PURE__ */ jsx(
|
|
114
|
+
"svg",
|
|
115
|
+
{
|
|
116
|
+
width: "16",
|
|
117
|
+
height: "16",
|
|
118
|
+
viewBox: "0 0 24 24",
|
|
119
|
+
fill: "none",
|
|
120
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
121
|
+
"aria-hidden": "true",
|
|
122
|
+
children: /* @__PURE__ */ jsx(
|
|
123
|
+
"path",
|
|
124
|
+
{
|
|
125
|
+
d: "M7.81069 2.25L17.341 11.7803L7.81069 21.3107L6.75003 20.25L15.2199 11.7803L6.75003 3.31066L7.81069 2.25Z",
|
|
126
|
+
fill: "#2F5B88",
|
|
127
|
+
className: svg_icon({ variant })
|
|
128
|
+
}
|
|
129
|
+
)
|
|
130
|
+
}
|
|
131
|
+
)
|
|
132
|
+
] })
|
|
133
|
+
]
|
|
134
|
+
}
|
|
135
|
+
)
|
|
136
|
+
] })
|
|
79
137
|
] })
|
|
80
138
|
] }) }) }) });
|
|
81
139
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ExecutiveBioSetProps as Props } from './ExecutiveBio.interface';
|
|
2
1
|
import { SetContainerProps } from '../SetContainer';
|
|
2
|
+
import { ExecutiveBioSetProps as Props } from './ExecutiveBio.interface';
|
|
3
3
|
|
|
4
|
-
export declare const ExecutiveBioSet: ({ id, title, description, executiveBios, additionalDetails,
|
|
4
|
+
export declare const ExecutiveBioSet: ({ id, title, description, executiveBios, additionalDetails, headline, variant: fullVariant, }: Props & SetContainerProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,144 +1,38 @@
|
|
|
1
1
|
import { jsxs, jsx, Fragment } from "react/jsx-runtime";
|
|
2
2
|
import { getVariant } from "../utils/getVariant.js";
|
|
3
|
-
import {
|
|
3
|
+
import { ExecutiveBio } from "./ExecutiveBio.js";
|
|
4
|
+
import { section_theme, bio_section_text, header_theme, components, details } from "./ExecutiveBio.css.js";
|
|
4
5
|
const ExecutiveBioSet = ({
|
|
5
6
|
id,
|
|
6
7
|
title,
|
|
7
8
|
description,
|
|
8
9
|
executiveBios,
|
|
9
10
|
additionalDetails,
|
|
10
|
-
|
|
11
|
-
|
|
11
|
+
headline,
|
|
12
|
+
variant: fullVariant = "primary"
|
|
12
13
|
}) => {
|
|
14
|
+
const variant = getVariant(fullVariant);
|
|
13
15
|
return /* @__PURE__ */ jsxs("section", { id, className: section_theme({ variant }), children: [
|
|
14
16
|
/* @__PURE__ */ jsx("div", { className: "containment", children: (title || description) && /* @__PURE__ */ jsxs("div", { className: bio_section_text, children: [
|
|
15
|
-
headline && /* @__PURE__ */ jsx(
|
|
16
|
-
"h2",
|
|
17
|
-
{
|
|
18
|
-
className: `header_1 ${header_theme({ variant: getVariant(variant) })}`,
|
|
19
|
-
children: title
|
|
20
|
-
}
|
|
21
|
-
),
|
|
17
|
+
headline && /* @__PURE__ */ jsx("h2", { className: `header_1 ${header_theme({ variant })}`, children: title }),
|
|
22
18
|
description && /* @__PURE__ */ jsx(Fragment, { children: description })
|
|
23
19
|
] }) }),
|
|
24
|
-
/* @__PURE__ */ jsx("div", { className: components, children: executiveBios.map(
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
"div",
|
|
41
|
-
{
|
|
42
|
-
className: img_area,
|
|
43
|
-
style: {
|
|
44
|
-
backgroundImage: `url(${executiveHeadshot?.src})`
|
|
45
|
-
},
|
|
46
|
-
role: "presentation",
|
|
47
|
-
children: " "
|
|
48
|
-
}
|
|
49
|
-
) }) }),
|
|
50
|
-
/* @__PURE__ */ jsxs("div", { className: `${description} flex_col between`, children: [
|
|
51
|
-
/* @__PURE__ */ jsxs("div", { className: person, children: [
|
|
52
|
-
title ? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
53
|
-
/* @__PURE__ */ jsx(
|
|
54
|
-
"h3",
|
|
55
|
-
{
|
|
56
|
-
className: `${bio_name({ variant: getVariant(variant2) })} header_3`,
|
|
57
|
-
children: executiveName
|
|
58
|
-
}
|
|
59
|
-
),
|
|
60
|
-
/* @__PURE__ */ jsx(
|
|
61
|
-
"h4",
|
|
62
|
-
{
|
|
63
|
-
className: `${job_title({ variant: getVariant(variant2) })}`,
|
|
64
|
-
children: executiveTitle
|
|
65
|
-
}
|
|
66
|
-
)
|
|
67
|
-
] }) : /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
68
|
-
/* @__PURE__ */ jsx(
|
|
69
|
-
"h2",
|
|
70
|
-
{
|
|
71
|
-
className: `${bio_name({ variant: getVariant(variant2) })} header_3`,
|
|
72
|
-
children: executiveName
|
|
73
|
-
}
|
|
74
|
-
),
|
|
75
|
-
/* @__PURE__ */ jsx(
|
|
76
|
-
"h3",
|
|
77
|
-
{
|
|
78
|
-
className: `${job_title({ variant: getVariant(variant2) })}`,
|
|
79
|
-
children: executiveTitle
|
|
80
|
-
}
|
|
81
|
-
)
|
|
82
|
-
] }),
|
|
83
|
-
/* @__PURE__ */ jsx("div", { className: copy, children: executiveBodyCopy })
|
|
84
|
-
] }),
|
|
85
|
-
executiveEmailAddress || executivePhoneNumber && /* @__PURE__ */ jsx(
|
|
86
|
-
"div",
|
|
87
|
-
{
|
|
88
|
-
className: `${contacts} flex between push_up_24`,
|
|
89
|
-
children: /* @__PURE__ */ jsxs("div", { className: `${contact_col} flex`, children: [
|
|
90
|
-
executivePhoneNumber && /* @__PURE__ */ jsxs("div", { className: "flex middle", children: [
|
|
91
|
-
/* @__PURE__ */ jsx(
|
|
92
|
-
"svg",
|
|
93
|
-
{
|
|
94
|
-
width: "24",
|
|
95
|
-
height: "24",
|
|
96
|
-
viewBox: "0 0 24 24",
|
|
97
|
-
fill: "none",
|
|
98
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
99
|
-
children: /* @__PURE__ */ jsx(
|
|
100
|
-
"path",
|
|
101
|
-
{
|
|
102
|
-
className: svg_icon({ variant: variant2 }),
|
|
103
|
-
"fill-rule": "evenodd",
|
|
104
|
-
"clip-rule": "evenodd",
|
|
105
|
-
d: "M5.25 4.5C5.25 2.84315 6.59315 1.5 8.25 1.5H15.75C17.4069 1.5 18.75 2.84315 18.75 4.5V19.5C18.75 21.1569 17.4069 22.5 15.75 22.5H8.25C6.59315 22.5 5.25 21.1569 5.25 19.5V4.5ZM6.75 4.5C6.75 3.67157 7.42157 3 8.25 3C8.25 3.82843 8.92157 4.5 9.75 4.5H14.25C15.0784 4.5 15.75 3.82843 15.75 3C16.5784 3 17.25 3.67157 17.25 4.5V19.5C17.25 20.3284 16.5784 21 15.75 21H8.25C7.42157 21 6.75 20.3284 6.75 19.5V4.5Z",
|
|
106
|
-
fill: "#1E3860"
|
|
107
|
-
}
|
|
108
|
-
)
|
|
109
|
-
}
|
|
110
|
-
),
|
|
111
|
-
/* @__PURE__ */ jsx("div", { className: contact_entry({ variant: variant2 }), children: /* @__PURE__ */ jsx("a", { href: `tel:${executivePhoneNumber}`, children: executivePhoneNumber }) })
|
|
112
|
-
] }),
|
|
113
|
-
executivePhoneNumber && /* @__PURE__ */ jsxs("div", { className: "flex middle", children: [
|
|
114
|
-
/* @__PURE__ */ jsx(
|
|
115
|
-
"svg",
|
|
116
|
-
{
|
|
117
|
-
className: svg_icon({ variant: variant2 }),
|
|
118
|
-
width: "24",
|
|
119
|
-
height: "24",
|
|
120
|
-
viewBox: "0 0 24 24",
|
|
121
|
-
fill: "none",
|
|
122
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
123
|
-
children: /* @__PURE__ */ jsx(
|
|
124
|
-
"path",
|
|
125
|
-
{
|
|
126
|
-
d: "M21 4.5C21.8284 4.5 22.5 5.17157 22.5 6V18C22.5 18.8284 21.8284 19.5 21 19.5H3C2.17157 19.5 1.5 18.8284 1.5 18V6C1.5 5.17157 2.17157 4.5 3 4.5H21ZM14.3932 12.455L14.1963 12.6098C12.8873 13.5569 11.1127 13.5569 9.80369 12.6098L9.60517 12.455L4.059 18H19.9395L14.3932 12.455ZM21 6.8655L15.5437 11.483L21 16.9395V6.8655ZM3 6.867V16.938L8.45467 11.483L3 6.867ZM19.701 6H4.2975L10.5466 11.2878C11.3296 11.9503 12.4523 11.9944 13.2806 11.4203L13.4534 11.2878L19.701 6Z",
|
|
127
|
-
fill: "#1E3860"
|
|
128
|
-
}
|
|
129
|
-
)
|
|
130
|
-
}
|
|
131
|
-
),
|
|
132
|
-
/* @__PURE__ */ jsx("div", { className: contact_entry({ variant: variant2 }), children: /* @__PURE__ */ jsx("a", { href: `mailto:${executiveEmailAddress}`, children: executiveEmailAddress }) })
|
|
133
|
-
] })
|
|
134
|
-
] })
|
|
135
|
-
}
|
|
136
|
-
)
|
|
137
|
-
] })
|
|
138
|
-
] })
|
|
139
|
-
}
|
|
140
|
-
) }) }, id2)
|
|
141
|
-
) }),
|
|
20
|
+
/* @__PURE__ */ jsx("div", { className: components, children: executiveBios.map((bio, index) => /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsx(
|
|
21
|
+
ExecutiveBio,
|
|
22
|
+
{
|
|
23
|
+
id: `id_${bio.id}`,
|
|
24
|
+
executiveName: bio?.executiveName,
|
|
25
|
+
executiveTitle: bio?.executiveTitle,
|
|
26
|
+
executiveBodyCopy: bio?.executiveBodyCopy,
|
|
27
|
+
executiveEmailAddress: bio?.executiveEmailAddress,
|
|
28
|
+
executivePhoneNumber: bio?.executivePhoneNumber,
|
|
29
|
+
executiveLinkedIn: bio?.executiveLinkedIn,
|
|
30
|
+
executiveWebsite: bio?.executiveWebsite,
|
|
31
|
+
executiveHeadshot: bio?.executiveHeadshot,
|
|
32
|
+
variant: bio?.variant
|
|
33
|
+
},
|
|
34
|
+
index
|
|
35
|
+
) })) }),
|
|
142
36
|
additionalDetails && /* @__PURE__ */ jsx("div", { className: "containment", children: /* @__PURE__ */ jsx("div", { className: details, children: /* @__PURE__ */ jsx(Fragment, { children: additionalDetails }) }) })
|
|
143
37
|
] });
|
|
144
38
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ExecutiveBio } from "./ExecutiveBio.js";
|
|
2
|
-
import { bio_name, bio_section_text, components, contact_col, contact_entry, contacts, copy, description, details, header_theme, headshot, img_area, item_bio, job_title, media, padding, person, section_theme, shift, svg_icon } from "./ExecutiveBio.css.js";
|
|
2
|
+
import { bio_name, bio_section_text, components, contact_col, contact_entry, contact_links, contacts, copy, description, details, header_theme, headshot, img_area, item_bio, job_title, media, padding, person, section_theme, shift, svg_icon } from "./ExecutiveBio.css.js";
|
|
3
3
|
import { ExecutiveBioSet } from "./ExecutiveBioSet.js";
|
|
4
4
|
export {
|
|
5
5
|
ExecutiveBio,
|
|
@@ -9,6 +9,7 @@ export {
|
|
|
9
9
|
components,
|
|
10
10
|
contact_col,
|
|
11
11
|
contact_entry,
|
|
12
|
+
contact_links,
|
|
12
13
|
contacts,
|
|
13
14
|
copy,
|
|
14
15
|
description,
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { header } from './FaqAccordion.css';
|
|
2
1
|
import { PropsWithChildren } from 'react';
|
|
3
2
|
|
|
4
3
|
export interface AccordionItemProps extends PropsWithChildren {
|
|
@@ -7,8 +6,10 @@ export interface AccordionItemProps extends PropsWithChildren {
|
|
|
7
6
|
export declare const AccordionItem: (props: AccordionItemProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
7
|
export declare const AccordionItemSummary: (props: {
|
|
9
8
|
id: string;
|
|
9
|
+
level: string;
|
|
10
10
|
} & PropsWithChildren) => import("react/jsx-runtime").JSX.Element;
|
|
11
11
|
export declare const AccordionItemContent: (props: PropsWithChildren) => import("react/jsx-runtime").JSX.Element;
|
|
12
12
|
export declare const FaqAccordion: (props: {
|
|
13
13
|
header?: string;
|
|
14
|
+
accordionEmbedLevel?: string;
|
|
14
15
|
} & PropsWithChildren) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -7,17 +7,30 @@ import SvgChevronUp from "../icons/ChevronUp.js";
|
|
|
7
7
|
/* empty css */
|
|
8
8
|
/* empty css */
|
|
9
9
|
/* empty css */
|
|
10
|
+
import { getLevelNumber } from "../utils/faqAccordionOptions.js";
|
|
10
11
|
import { create } from "zustand";
|
|
11
12
|
import { icon } from "../Accordion/Accordion.css.js";
|
|
12
13
|
import { summary, summaryHeader, content, header, faqAccordion } from "./FaqAccordion.css.js";
|
|
13
14
|
const useAccordion = create()((set) => ({
|
|
14
|
-
|
|
15
|
-
|
|
15
|
+
itemsOpened: [],
|
|
16
|
+
addItem: (id) => {
|
|
17
|
+
set((state) => ({
|
|
18
|
+
itemsOpened: [...state.itemsOpened, id]
|
|
19
|
+
}));
|
|
20
|
+
},
|
|
21
|
+
removeItem: (id) => {
|
|
22
|
+
set((state) => ({
|
|
23
|
+
itemsOpened: state.itemsOpened.filter((item) => item !== id)
|
|
24
|
+
}));
|
|
25
|
+
}
|
|
16
26
|
}));
|
|
17
27
|
const AccordionItem = (props) => {
|
|
18
|
-
const
|
|
19
|
-
const
|
|
28
|
+
const addItem = useAccordion((state) => state.addItem);
|
|
29
|
+
const removeItem = useAccordion((state) => state.removeItem);
|
|
30
|
+
const isOpen = useAccordion((state) => state.itemsOpened);
|
|
20
31
|
const toggle = (event) => {
|
|
32
|
+
event.stopPropagation();
|
|
33
|
+
event.preventDefault();
|
|
21
34
|
const ev = event.target;
|
|
22
35
|
let evClasses = ev.getAttribute("class");
|
|
23
36
|
if (!evClasses) {
|
|
@@ -26,11 +39,10 @@ const AccordionItem = (props) => {
|
|
|
26
39
|
if (!evClasses?.includes(summary) !== (evClasses?.includes(summaryHeader) || evClasses?.includes(icon))) {
|
|
27
40
|
return;
|
|
28
41
|
}
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
selectItem(props.id);
|
|
42
|
+
if (!isOpen.includes(props.id)) {
|
|
43
|
+
addItem(props.id);
|
|
32
44
|
} else {
|
|
33
|
-
|
|
45
|
+
removeItem(props.id);
|
|
34
46
|
}
|
|
35
47
|
};
|
|
36
48
|
return /* @__PURE__ */ jsx(
|
|
@@ -40,16 +52,17 @@ const AccordionItem = (props) => {
|
|
|
40
52
|
toggle(e);
|
|
41
53
|
return;
|
|
42
54
|
},
|
|
43
|
-
open: isOpen
|
|
55
|
+
open: isOpen.includes(props.id),
|
|
44
56
|
children: props.children
|
|
45
57
|
}
|
|
46
58
|
);
|
|
47
59
|
};
|
|
48
60
|
const AccordionItemSummary = (props) => {
|
|
49
|
-
const
|
|
61
|
+
const level = getLevelNumber(props.level);
|
|
62
|
+
const isOpen = useAccordion((state) => state.itemsOpened);
|
|
50
63
|
return /* @__PURE__ */ jsxs("summary", { className: summary, children: [
|
|
51
|
-
/* @__PURE__ */ jsx("
|
|
52
|
-
/* @__PURE__ */ jsx("div", { className: icon, children: isOpen
|
|
64
|
+
level === 1 ? /* @__PURE__ */ jsx("h3", { className: summaryHeader, children: props.children }) : level === 2 ? /* @__PURE__ */ jsx("h4", { className: summaryHeader, children: props.children }) : /* @__PURE__ */ jsx("h5", { className: summaryHeader, children: props.children }),
|
|
65
|
+
/* @__PURE__ */ jsx("div", { className: icon, children: isOpen.includes(props.id) ? /* @__PURE__ */ jsx(SvgChevronUp, {}) : /* @__PURE__ */ jsx(SvgChevronDown, {}) })
|
|
53
66
|
] });
|
|
54
67
|
};
|
|
55
68
|
const AccordionItemContent = (props) => {
|
|
@@ -58,7 +71,7 @@ const AccordionItemContent = (props) => {
|
|
|
58
71
|
const FaqAccordion = (props) => {
|
|
59
72
|
const { children } = props;
|
|
60
73
|
return /* @__PURE__ */ jsxs("section", { children: [
|
|
61
|
-
props.header && /* @__PURE__ */ jsx("
|
|
74
|
+
props.header && /* @__PURE__ */ jsx("h2", { className: header, children: props.header }),
|
|
62
75
|
/* @__PURE__ */ jsx("div", { className: faqAccordion, children })
|
|
63
76
|
] });
|
|
64
77
|
};
|
|
@@ -16,8 +16,12 @@ import "react";
|
|
|
16
16
|
import "../../Button/Button.css.js";
|
|
17
17
|
import "react-use";
|
|
18
18
|
/* empty css */
|
|
19
|
-
import "../../
|
|
19
|
+
import "../../Article/Article.css.js";
|
|
20
|
+
import "../../ArticlesSet/ArticlesSet.css.js";
|
|
21
|
+
/* empty css */
|
|
20
22
|
/* empty css */
|
|
23
|
+
/* empty css */
|
|
24
|
+
import "../../IconBillboard/IconBillboard.css.js";
|
|
21
25
|
/* empty css */
|
|
22
26
|
/* empty css */
|
|
23
27
|
import "../../Carousel/index.js";
|
|
@@ -37,6 +41,7 @@ import "../../Input/Dropdown.js";
|
|
|
37
41
|
import "../../Input/Input.js";
|
|
38
42
|
import "../../Input/Input.css.js";
|
|
39
43
|
import "../../Input/InputPhone.js";
|
|
44
|
+
import "../../Input/InputTextArea.js";
|
|
40
45
|
import "react-hook-form";
|
|
41
46
|
import "../../Forms/Forms.css.js";
|
|
42
47
|
import "../../Forms/SalesforceFieldsForm.js";
|
|
@@ -13,6 +13,7 @@ import "../Input/Dropdown.js";
|
|
|
13
13
|
import { Input } from "../Input/Input.js";
|
|
14
14
|
import "../Input/Input.css.js";
|
|
15
15
|
import { InputPhone } from "../Input/InputPhone.js";
|
|
16
|
+
import "../Input/InputTextArea.js";
|
|
16
17
|
import "../icons/ArrowIcon/ArrowIcon.css.js";
|
|
17
18
|
import SvgAxosX from "../icons/AxosX/index.js";
|
|
18
19
|
import SvgComponent from "../icons/AxosX/Blue.js";
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { ChevronProps } from '../Chevron/Chevron.interface';
|
|
2
|
+
import { QuaternaryTypes } from '../utils/variant.types';
|
|
3
|
+
import { PropsWithChildren, ReactNode } from 'react';
|
|
4
|
+
|
|
5
|
+
export type ContactCompanyInputs = {
|
|
6
|
+
first_name: string;
|
|
7
|
+
last_name: string;
|
|
8
|
+
email: string;
|
|
9
|
+
phone: string;
|
|
10
|
+
company: string;
|
|
11
|
+
};
|
|
12
|
+
export interface ContactCompanyFormProps extends PropsWithChildren {
|
|
13
|
+
id?: string;
|
|
14
|
+
onSubmit?: (values: {
|
|
15
|
+
[index: string]: string;
|
|
16
|
+
}) => void;
|
|
17
|
+
icon?: boolean;
|
|
18
|
+
headline?: ReactNode | string;
|
|
19
|
+
description?: ReactNode | string;
|
|
20
|
+
disclosure?: ReactNode | string;
|
|
21
|
+
variant?: QuaternaryTypes;
|
|
22
|
+
validateEmail: (email: string) => Promise<boolean>;
|
|
23
|
+
callToAction: Omit<ChevronProps, "targetUrl">;
|
|
24
|
+
}
|
|
25
|
+
export declare const ContactCompany: ({ icon, children, onSubmit, disclosure, variant: fullVariant, headline, description, callToAction, validateEmail, id, }: ContactCompanyFormProps) => import("react/jsx-runtime").JSX.Element;
|