@axos-web-dev/shared-components 0.0.57 → 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.
Files changed (69) hide show
  1. package/dist/Article/Article.css.d.ts +230 -0
  2. package/dist/Article/Article.css.js +21 -0
  3. package/dist/Article/Article.d.ts +14 -0
  4. package/dist/Article/Article.js +51 -0
  5. package/dist/Article/index.d.ts +2 -0
  6. package/dist/Article/index.js +12 -0
  7. package/dist/ArticlesSet/ArticlesSet.css.d.ts +155 -0
  8. package/dist/ArticlesSet/ArticlesSet.css.js +21 -0
  9. package/dist/ArticlesSet/ArticlesSet.d.ts +12 -0
  10. package/dist/ArticlesSet/ArticlesSet.js +115 -0
  11. package/dist/ArticlesSet/index.d.ts +2 -0
  12. package/dist/ArticlesSet/index.js +12 -0
  13. package/dist/AwardsBanner/AwardsBanner.css.d.ts +2 -0
  14. package/dist/AwardsBanner/AwardsBanner.css.js +7 -0
  15. package/dist/AwardsBanner/AwardsBanner.d.ts +8 -0
  16. package/dist/AwardsBanner/AwardsBanner.js +18 -0
  17. package/dist/AwardsBanner/index.d.ts +2 -0
  18. package/dist/AwardsBanner/index.js +7 -0
  19. package/dist/AwardsItem/AwardsItem.css.d.ts +3 -0
  20. package/dist/AwardsItem/AwardsItem.css.js +10 -0
  21. package/dist/AwardsItem/AwardsItem.d.ts +9 -0
  22. package/dist/AwardsItem/AwardsItem.js +29 -0
  23. package/dist/AwardsItem/index.d.ts +2 -0
  24. package/dist/AwardsItem/index.js +8 -0
  25. package/dist/Carousel/index.js +5 -0
  26. package/dist/Chevron/index.js +6 -1
  27. package/dist/ExecutiveBio/ExecutiveBio.css.d.ts +1 -39
  28. package/dist/ExecutiveBio/ExecutiveBio.css.js +12 -10
  29. package/dist/ExecutiveBio/ExecutiveBio.d.ts +1 -1
  30. package/dist/ExecutiveBio/ExecutiveBio.interface.d.ts +4 -2
  31. package/dist/ExecutiveBio/ExecutiveBio.js +104 -46
  32. package/dist/ExecutiveBio/ExecutiveBioSet.d.ts +1 -1
  33. package/dist/ExecutiveBio/ExecutiveBioSet.js +22 -128
  34. package/dist/ExecutiveBio/index.js +2 -1
  35. package/dist/FooterSiteMap/AxosBank/FooterSiteMap.js +6 -1
  36. package/dist/Forms/ApplicationStart.js +1 -0
  37. package/dist/Forms/ContactCompany.d.ts +25 -0
  38. package/dist/Forms/ContactCompany.js +190 -0
  39. package/dist/Forms/ContactUsBusiness.js +5 -0
  40. package/dist/Forms/DealerServices.d.ts +32 -0
  41. package/dist/Forms/DealerServices.js +311 -0
  42. package/dist/Forms/EmailOnly.js +5 -0
  43. package/dist/Forms/RenderForm.js +5 -0
  44. package/dist/Forms/ScheduleCall.js +1 -0
  45. package/dist/Forms/ScheduleCallPremier.js +1 -0
  46. package/dist/Forms/SuccesForm.d.ts +7 -3
  47. package/dist/Forms/SuccesForm.js +76 -61
  48. package/dist/Forms/index.d.ts +2 -0
  49. package/dist/Forms/index.js +4 -0
  50. package/dist/Hyperlink/index.js +6 -1
  51. package/dist/ImageLink/ImageLink.js +5 -0
  52. package/dist/ImageLink/ImageLinkSet.js +5 -0
  53. package/dist/ImageLink/index.js +6 -1
  54. package/dist/Input/CurrencyInput.js +1 -0
  55. package/dist/Input/InputPhone.js +1 -0
  56. package/dist/Input/InputTextArea.d.ts +16 -0
  57. package/dist/Input/InputTextArea.js +48 -0
  58. package/dist/Input/index.d.ts +1 -0
  59. package/dist/Input/index.js +2 -0
  60. package/dist/Modal/Modal.js +6 -1
  61. package/dist/SetContainer/SetContainer.js +5 -0
  62. package/dist/assets/Article/Article.css +243 -0
  63. package/dist/assets/ArticlesSet/ArticlesSet.css +234 -0
  64. package/dist/assets/AwardsBanner/AwardsBanner.css +19 -0
  65. package/dist/assets/AwardsItem/AwardsItem.css +40 -0
  66. package/dist/assets/ExecutiveBio/ExecutiveBio.css +61 -65
  67. package/dist/main.d.ts +4 -0
  68. package/dist/main.js +39 -1
  69. package/package.json +1 -1
@@ -0,0 +1,8 @@
1
+ import { FC } from 'react';
2
+ import { AwardsItemProps } from '../AwardsItem/AwardsItem';
3
+
4
+ export interface AwardsBannerProps {
5
+ id: string;
6
+ awardsItems: AwardsItemProps[];
7
+ }
8
+ export declare const AwardsBanner: FC<AwardsBannerProps>;
@@ -0,0 +1,18 @@
1
+ import { jsx, Fragment } from "react/jsx-runtime";
2
+ import { AwardsItem } from "../AwardsItem/AwardsItem.js";
3
+ import { awards_section, awards_row } from "./AwardsBanner.css.js";
4
+ const AwardsBanner = ({ id, awardsItems }) => {
5
+ return /* @__PURE__ */ jsx("section", { className: awards_section, id: `id_${id}`, children: /* @__PURE__ */ jsx("div", { className: "containment", children: /* @__PURE__ */ jsx("div", { className: `${awards_row} flex middle mobile`, children: awardsItems?.map((award, index) => /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsx(
6
+ AwardsItem,
7
+ {
8
+ id: `id_${id}`,
9
+ starRating: award?.starRating,
10
+ awardsName: award?.awardsName,
11
+ awardsSource: award?.awardsSource
12
+ },
13
+ index
14
+ ) })) }) }) });
15
+ };
16
+ export {
17
+ AwardsBanner
18
+ };
@@ -0,0 +1,2 @@
1
+ export * from './AwardsBanner.css';
2
+ export * from './AwardsBanner';
@@ -0,0 +1,7 @@
1
+ import { awards_row, awards_section } from "./AwardsBanner.css.js";
2
+ import { AwardsBanner } from "./AwardsBanner.js";
3
+ export {
4
+ AwardsBanner,
5
+ awards_row,
6
+ awards_section
7
+ };
@@ -0,0 +1,3 @@
1
+ export declare const award_item: string;
2
+ export declare const award_company: string;
3
+ export declare const award_name: string;
@@ -0,0 +1,10 @@
1
+ /* empty css */
2
+ /* empty css */
3
+ var award_item = "_16tnqb20";
4
+ var award_company = "_16tnqb21";
5
+ var award_name = "_16tnqb22";
6
+ export {
7
+ award_company,
8
+ award_item,
9
+ award_name
10
+ };
@@ -0,0 +1,9 @@
1
+ import { FC } from 'react';
2
+
3
+ export interface AwardsItemProps {
4
+ id: string;
5
+ starRating?: string;
6
+ awardsName: string;
7
+ awardsSource: string;
8
+ }
9
+ export declare const AwardsItem: FC<AwardsItemProps>;
@@ -0,0 +1,29 @@
1
+ import { jsxs, jsx } from "react/jsx-runtime";
2
+ import { award_item, award_name, award_company } from "./AwardsItem.css.js";
3
+ const AwardsItem = ({
4
+ id,
5
+ starRating,
6
+ awardsName,
7
+ awardsSource
8
+ }) => {
9
+ let rating;
10
+ switch (starRating) {
11
+ case "5.0 Stars":
12
+ rating = "https://images.axos.com/o9ov1v03uwqk/2fdRGVo32cUTltS5a0QKkF/9e3d0ce07b648fad2de7177bb7685f39/5-stars.svg";
13
+ break;
14
+ case "4.5 Stars":
15
+ rating = "https://images.axos.com/o9ov1v03uwqk/5kDSlcD0nHPpfsO2d9MXmj/680304bee0f48365388a9b43b0ec9aab/4point5-stars.svg";
16
+ break;
17
+ case "4.0 Stars":
18
+ rating = "https://images.axos.com/o9ov1v03uwqk/7qNXIOMTzaDfPhCAlXP41u/2a7d54670fb94594994a2beb3b3c00fc/4-stars.svg";
19
+ break;
20
+ }
21
+ return /* @__PURE__ */ jsxs("div", { className: `${award_item} text_center`, id: `id_${id}`, children: [
22
+ starRating && /* @__PURE__ */ jsx("img", { src: rating, alt: "", role: "presentation" }),
23
+ /* @__PURE__ */ jsx("p", { className: award_name, children: awardsName }),
24
+ /* @__PURE__ */ jsx("p", { className: award_company, children: awardsSource })
25
+ ] });
26
+ };
27
+ export {
28
+ AwardsItem
29
+ };
@@ -0,0 +1,2 @@
1
+ export * from './AwardsItem.css';
2
+ export * from './AwardsItem';
@@ -0,0 +1,8 @@
1
+ import { award_company, award_item, award_name } from "./AwardsItem.css.js";
2
+ import { AwardsItem } from "./AwardsItem.js";
3
+ export {
4
+ AwardsItem,
5
+ award_company,
6
+ award_item,
7
+ award_name
8
+ };
@@ -22,6 +22,10 @@ import React, { useEffect, Children, cloneElement } from "react";
22
22
  import "../Button/Button.css.js";
23
23
  import "react-use";
24
24
  /* empty css */
25
+ import "../Article/Article.css.js";
26
+ import "../ArticlesSet/ArticlesSet.css.js";
27
+ /* empty css */
28
+ /* empty css */
25
29
  /* empty css */
26
30
  /* empty css */
27
31
  import "../HeroBanner/HeroBanner.css.js";
@@ -39,6 +43,7 @@ import "../Input/Dropdown.js";
39
43
  import "../Input/Input.js";
40
44
  import "../Input/Input.css.js";
41
45
  import "../Input/InputPhone.js";
46
+ import "../Input/InputTextArea.js";
42
47
  import "react-hook-form";
43
48
  import "../Forms/Forms.css.js";
44
49
  import "../Forms/SalesforceFieldsForm.js";
@@ -18,8 +18,12 @@ import "react";
18
18
  import "../Button/Button.css.js";
19
19
  import "react-use";
20
20
  /* empty css */
21
- import "../IconBillboard/IconBillboard.css.js";
21
+ import "../Article/Article.css.js";
22
+ import "../ArticlesSet/ArticlesSet.css.js";
23
+ /* empty css */
22
24
  /* empty css */
25
+ /* empty css */
26
+ import "../IconBillboard/IconBillboard.css.js";
23
27
  /* empty css */
24
28
  /* empty css */
25
29
  import "../Carousel/index.js";
@@ -39,6 +43,7 @@ import "../Input/Dropdown.js";
39
43
  import "../Input/Input.js";
40
44
  import "../Input/Input.css.js";
41
45
  import "../Input/InputPhone.js";
46
+ import "../Input/InputTextArea.js";
42
47
  import "react-hook-form";
43
48
  import "../Forms/Forms.css.js";
44
49
  import "../Forms/SalesforceFieldsForm.js";
@@ -88,6 +88,7 @@ export declare const contact_entry: import('@vanilla-extract/recipes').RuntimeFn
88
88
  };
89
89
  }>;
90
90
  export declare const contacts: string;
91
+ export declare const contact_links: string;
91
92
  export declare const headshot: string;
92
93
  export declare const img_area: string;
93
94
  export declare const media: string;
@@ -101,51 +102,12 @@ export declare const section_theme: import('@vanilla-extract/recipes').RuntimeFn
101
102
  };
102
103
  secondary: {
103
104
  background: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
104
- paddingTop: "56px";
105
- paddingBottom: "56px";
106
- marginTop: number;
107
- "@media": {
108
- "(max-width: 1023px)": {
109
- paddingTop: "42px";
110
- paddingBottom: "42px";
111
- };
112
- "(max-width: 768px)": {
113
- paddingTop: "32px";
114
- paddingBottom: "32px";
115
- };
116
- };
117
105
  };
118
106
  tertiary: {
119
107
  background: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
120
- paddingTop: "56px";
121
- paddingBottom: "56px";
122
- marginTop: number;
123
- "@media": {
124
- "(max-width: 1023px)": {
125
- paddingTop: "42px";
126
- paddingBottom: "42px";
127
- };
128
- "(max-width: 768px)": {
129
- paddingTop: "32px";
130
- paddingBottom: "32px";
131
- };
132
- };
133
108
  };
134
109
  quaternary: {
135
110
  background: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
136
- paddingTop: "56px";
137
- paddingBottom: "56px";
138
- marginTop: number;
139
- "@media": {
140
- "(max-width: 1023px)": {
141
- paddingTop: "42px";
142
- paddingBottom: "42px";
143
- };
144
- "(max-width: 768px)": {
145
- paddingTop: "32px";
146
- paddingBottom: "32px";
147
- };
148
- };
149
111
  };
150
112
  };
151
113
  }>;
@@ -13,22 +13,24 @@ var padding = "txcb8dm";
13
13
  var copy = "txcb8dn";
14
14
  var contact_entry = createRuntimeFn({ defaultClassName: "txcb8do", variantClassNames: { variant: { primary: "txcb8dp", secondary: "txcb8dq", tertiary: "txcb8dr", quaternary: "txcb8ds" } }, defaultVariants: {}, compoundVariants: [] });
15
15
  var contacts = "txcb8dt";
16
- var headshot = "txcb8du";
17
- var img_area = "txcb8dv";
18
- var media = "txcb8dw";
19
- var person = "txcb8dx";
20
- var shift = "txcb8dy";
21
- var bio_section_text = "txcb8dz";
22
- var section_theme = createRuntimeFn({ defaultClassName: "txcb8d10", variantClassNames: { variant: { primary: "txcb8d11", secondary: "txcb8d12", tertiary: "txcb8d13", quaternary: "txcb8d14" } }, defaultVariants: {}, compoundVariants: [] });
23
- var header_theme = createRuntimeFn({ defaultClassName: "txcb8d15", variantClassNames: { variant: { primary: "txcb8d16", secondary: "txcb8d17", tertiary: "txcb8d18", quaternary: "txcb8d19" } }, defaultVariants: {}, compoundVariants: [] });
24
- var components = "txcb8d1a";
25
- var details = "txcb8d1b";
16
+ var contact_links = "txcb8du";
17
+ var headshot = "txcb8dv";
18
+ var img_area = "txcb8dw";
19
+ var media = "txcb8dx";
20
+ var person = "txcb8dy";
21
+ var shift = "txcb8dz";
22
+ var bio_section_text = "txcb8d10";
23
+ var section_theme = createRuntimeFn({ defaultClassName: "txcb8d11", variantClassNames: { variant: { primary: "txcb8d12", secondary: "txcb8d13", tertiary: "txcb8d14", quaternary: "txcb8d15" } }, defaultVariants: {}, compoundVariants: [] });
24
+ var header_theme = createRuntimeFn({ defaultClassName: "txcb8d16", variantClassNames: { variant: { primary: "txcb8d17", secondary: "txcb8d18", tertiary: "txcb8d19", quaternary: "txcb8d1a" } }, defaultVariants: {}, compoundVariants: [] });
25
+ var components = "txcb8d1b";
26
+ var details = "txcb8d1c";
26
27
  export {
27
28
  bio_name,
28
29
  bio_section_text,
29
30
  components,
30
31
  contact_col,
31
32
  contact_entry,
33
+ contact_links,
32
34
  contacts,
33
35
  copy,
34
36
  description,
@@ -1,3 +1,3 @@
1
1
  import { ExecutiveBioProps as Props } from './ExecutiveBio.interface';
2
2
 
3
- export declare const ExecutiveBio: ({ id, executiveName, executiveTitle, executiveBodyCopy, executiveEmailAddress, executivePhoneNumber, executiveHeadshot, variant: fullVariant, }: Props) => import("react/jsx-runtime").JSX.Element;
3
+ export declare const ExecutiveBio: ({ id, executiveName, executiveTitle, executiveBodyCopy, executiveEmailAddress, executivePhoneNumber, executiveLinkedIn, executiveWebsite, executiveHeadshot, variant: fullVariant, }: Props) => import("react/jsx-runtime").JSX.Element;
@@ -16,7 +16,9 @@ export interface ExecutiveBioProps {
16
16
  executiveName: string;
17
17
  executiveTitle: string;
18
18
  executiveBodyCopy?: string | ReactNode;
19
- executiveEmailAddress: string;
20
- executivePhoneNumber: string;
19
+ executiveEmailAddress?: string;
20
+ executivePhoneNumber?: string;
21
+ executiveLinkedIn?: string;
22
+ executiveWebsite?: string;
21
23
  executiveHeadshot?: ImageInterface;
22
24
  }
@@ -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__ */ jsx("div", { className: `${contacts} flex between push_up_24`, children: /* @__PURE__ */ jsxs("div", { className: `${contact_col} flex`, children: [
34
- executivePhoneNumber && /* @__PURE__ */ jsxs("div", { className: "flex middle", children: [
35
- /* @__PURE__ */ jsx(
36
- "svg",
37
- {
38
- width: "24",
39
- height: "24",
40
- viewBox: "0 0 24 24",
41
- fill: "none",
42
- xmlns: "http://www.w3.org/2000/svg",
43
- children: /* @__PURE__ */ jsx(
44
- "path",
45
- {
46
- "fill-rule": "evenodd",
47
- "clip-rule": "evenodd",
48
- 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",
49
- fill: "#1E3860",
50
- className: svg_icon({ variant })
51
- }
52
- )
53
- }
54
- ),
55
- /* @__PURE__ */ jsx("div", { className: contact_entry({ variant }), children: /* @__PURE__ */ jsx("a", { href: `tel:${executivePhoneNumber}`, children: executivePhoneNumber }) })
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
- executiveEmailAddress && /* @__PURE__ */ jsxs("div", { className: "flex middle", children: [
58
- /* @__PURE__ */ jsx(
59
- "svg",
60
- {
61
- width: "24",
62
- height: "24",
63
- viewBox: "0 0 24 24",
64
- fill: "none",
65
- xmlns: "http://www.w3.org/2000/svg",
66
- children: /* @__PURE__ */ jsx(
67
- "path",
68
- {
69
- 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",
70
- fill: "#1E3860",
71
- className: svg_icon({ variant })
72
- }
73
- )
74
- }
75
- ),
76
- /* @__PURE__ */ jsx("div", { className: contact_entry({ variant }), children: /* @__PURE__ */ jsx("a", { href: `mailto:${executiveEmailAddress}`, children: executiveEmailAddress }) })
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
1
  import { SetContainerProps } from '../SetContainer';
2
2
  import { ExecutiveBioSetProps as Props } from './ExecutiveBio.interface';
3
3
 
4
- export declare const ExecutiveBioSet: ({ id, title, description, executiveBios, additionalDetails, variant, headline, }: Props & SetContainerProps) => import("react/jsx-runtime").JSX.Element;
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 { section_theme, bio_section_text, header_theme, components, padding, item_bio, shift, media, headshot, img_area, person, bio_name, job_title, copy, contacts, contact_col, svg_icon, contact_entry, details } from "./ExecutiveBio.css.js";
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
- variant,
11
- headline
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
- id: id2,
27
- executiveName,
28
- executiveTitle,
29
- executiveBodyCopy,
30
- executiveEmailAddress,
31
- executivePhoneNumber,
32
- executiveHeadshot,
33
- variant: variant2
34
- }) => /* @__PURE__ */ jsx("section", { className: "section_spacer", id: `id_${id2}`, children: /* @__PURE__ */ jsx("div", { className: "containment", children: /* @__PURE__ */ jsx(
35
- "div",
36
- {
37
- className: `${padding} ${item_bio({ variant: getVariant(variant2) })} rounded`,
38
- children: /* @__PURE__ */ jsxs("div", { className: `${shift} flex`, children: [
39
- executiveHeadshot && /* @__PURE__ */ jsx("div", { className: media, children: /* @__PURE__ */ jsx("div", { className: headshot, children: /* @__PURE__ */ jsx(
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,