@axos-web-dev/shared-components 1.0.100-dev.73-slow-msg-1 → 1.0.100-dev.73-compact-executive-bio.3
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/Chatbot/ChatWindow.js +1 -1
- package/dist/Chatbot/Chatbot.js +2 -1
- package/dist/ExecutiveBio/ExecutiveBio.css.d.ts +51 -1
- package/dist/ExecutiveBio/ExecutiveBio.css.js +48 -46
- package/dist/ExecutiveBio/ExecutiveBio.d.ts +1 -1
- package/dist/ExecutiveBio/ExecutiveBio.interface.d.ts +3 -1
- package/dist/ExecutiveBio/ExecutiveBio.js +142 -146
- package/dist/ExecutiveBio/ExecutiveBioSet.d.ts +1 -2
- package/dist/ExecutiveBio/ExecutiveBioSet.js +30 -16
- package/dist/ExecutiveBio/index.js +2 -1
- package/dist/SetContainer/SetContainer.js +1 -1
- package/dist/assets/ExecutiveBio/ExecutiveBio.css +271 -170
- package/dist/main.js +2 -1
- package/package.json +1 -1
|
@@ -2,36 +2,50 @@ import { jsxs, jsx, Fragment } from "react/jsx-runtime";
|
|
|
2
2
|
import { getVariant } from "../utils/getVariant.js";
|
|
3
3
|
import { ExecutiveBio } from "./ExecutiveBio.js";
|
|
4
4
|
import { section_theme, bio_section_text, header_theme, components, details } from "./ExecutiveBio.css.js";
|
|
5
|
+
import "../utils/allowedAxosDomains.js";
|
|
6
|
+
import "react";
|
|
7
|
+
import { columnValues } from "../utils/variant.types.js";
|
|
8
|
+
import { getNumOfColumns } from "../utils/getNumber.js";
|
|
5
9
|
const ExecutiveBioSet = ({
|
|
6
10
|
id,
|
|
7
11
|
title,
|
|
8
12
|
description,
|
|
9
13
|
executiveBios,
|
|
10
14
|
additionalDetails,
|
|
11
|
-
variant: fullVariant = "primary"
|
|
15
|
+
variant: fullVariant = "primary",
|
|
16
|
+
numberOfColumns = "1 Column"
|
|
12
17
|
}) => {
|
|
13
18
|
const variant = getVariant(fullVariant);
|
|
19
|
+
const numOfCols = getNumOfColumns(numberOfColumns);
|
|
14
20
|
return /* @__PURE__ */ jsxs("section", { id, className: section_theme({ variant }), children: [
|
|
15
21
|
/* @__PURE__ */ jsx("div", { className: "containment", children: (title || description) && /* @__PURE__ */ jsxs("div", { className: bio_section_text, children: [
|
|
16
22
|
title && /* @__PURE__ */ jsx("h2", { className: `header_1 ${header_theme({ variant })}`, children: title }),
|
|
17
23
|
description && /* @__PURE__ */ jsx(Fragment, { children: description })
|
|
18
24
|
] }) }),
|
|
19
|
-
/* @__PURE__ */ jsx(
|
|
20
|
-
|
|
25
|
+
/* @__PURE__ */ jsx(
|
|
26
|
+
"div",
|
|
21
27
|
{
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
28
|
+
className: numOfCols && columnValues.includes(numOfCols) ? `${components({ columns: numOfCols })} cols_${numOfCols} containment` : "",
|
|
29
|
+
children: executiveBios.map((bio) => /* @__PURE__ */ jsx(
|
|
30
|
+
ExecutiveBio,
|
|
31
|
+
{
|
|
32
|
+
id: `id_${bio.id}`,
|
|
33
|
+
hasParentH2: Boolean(title),
|
|
34
|
+
executiveName: bio?.executiveName,
|
|
35
|
+
executiveTitle: bio?.executiveTitle,
|
|
36
|
+
executiveBodyCopy: bio?.executiveBodyCopy,
|
|
37
|
+
executiveEmailAddress: bio?.executiveEmailAddress,
|
|
38
|
+
executivePhoneNumber: bio?.executivePhoneNumber,
|
|
39
|
+
executiveLinkedIn: bio?.executiveLinkedIn,
|
|
40
|
+
executiveWebsite: bio?.executiveWebsite,
|
|
41
|
+
executiveHeadshot: { src: bio?.executiveHeadshot?.src || "" },
|
|
42
|
+
variant: bio?.variant,
|
|
43
|
+
bannerType: bio?.bannerType
|
|
44
|
+
},
|
|
45
|
+
bio.id
|
|
46
|
+
))
|
|
47
|
+
}
|
|
48
|
+
),
|
|
35
49
|
additionalDetails && /* @__PURE__ */ jsx("div", { className: "containment", children: /* @__PURE__ */ jsx("div", { className: details, children: /* @__PURE__ */ jsx(Fragment, { children: additionalDetails }) }) })
|
|
36
50
|
] });
|
|
37
51
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ExecutiveBio } from "./ExecutiveBio.js";
|
|
2
|
-
import { bio_section_text, bulletsHeadline, bulletsWrapper, ceoContainer, ceoContent, ceoHeader, ceoImgWrapper, ceoMedia, ceoPersonalInfo, ceoSection, ceoWrapper, ceo_body, ceo_contacts, ceo_name, ceo_quote, ceo_title, components, contact_col, contact_entry, contacts, copy, description, details, executive_bio, flexColumn, header_theme, headline_setting, headshot, highlights, hover, imgAlignment, img_area, item_bio, job_title, media, order_3, overlay, padding, person, section_theme, shift, social, stroke_color, svg_color, svg_icon, tooltip, url_row } from "./ExecutiveBio.css.js";
|
|
2
|
+
import { bio_section_text, bulletsHeadline, bulletsWrapper, ceoContainer, ceoContent, ceoHeader, ceoImgWrapper, ceoMedia, ceoPersonalInfo, ceoSection, ceoWrapper, ceo_body, ceo_contacts, ceo_name, ceo_quote, ceo_title, compact, components, contact_col, contact_entry, contacts, copy, description, details, executive_bio, flexColumn, header_theme, headline_setting, headshot, highlights, hover, imgAlignment, img_area, item_bio, job_title, media, order_3, overlay, padding, person, section_theme, shift, social, stroke_color, svg_color, svg_icon, tooltip, url_row } from "./ExecutiveBio.css.js";
|
|
3
3
|
import { ExecutiveBioSet } from "./ExecutiveBioSet.js";
|
|
4
4
|
export {
|
|
5
5
|
ExecutiveBio,
|
|
@@ -20,6 +20,7 @@ export {
|
|
|
20
20
|
ceo_name,
|
|
21
21
|
ceo_quote,
|
|
22
22
|
ceo_title,
|
|
23
|
+
compact,
|
|
23
24
|
components,
|
|
24
25
|
contact_col,
|
|
25
26
|
contact_entry,
|
|
@@ -89,6 +89,7 @@ import { heroSupertag } from "../HeroBanner/HeroBanner.css.js";
|
|
|
89
89
|
import "../ContentBanner/ContentBanner.css.js";
|
|
90
90
|
/* empty css */
|
|
91
91
|
import "../ExecutiveBio/ExecutiveBio.css.js";
|
|
92
|
+
import { getNumOfColumns } from "../utils/getNumber.js";
|
|
92
93
|
import "../FaqAccordion/index.js";
|
|
93
94
|
import "../FooterDisclosure/FooterDisclosure.css.js";
|
|
94
95
|
/* empty css */
|
|
@@ -133,7 +134,6 @@ import "../StepItemSet/StepItemSet.css.js";
|
|
|
133
134
|
/* empty css */
|
|
134
135
|
import "../HeroBanner/LargeBanner.css.js";
|
|
135
136
|
import "../HeroBanner/SelectionBanner.css.js";
|
|
136
|
-
import { getNumOfColumns } from "../utils/getNumber.js";
|
|
137
137
|
const SetContainer = ({
|
|
138
138
|
id,
|
|
139
139
|
variant,
|