@axos-web-dev/shared-components 0.0.58 → 0.0.59

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.
@@ -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, contact_links } from "./ExecutiveBio.css.js";
3
+ import { padding, item_bio, shift, media, headshot, img_area, description, person, headline_setting, 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,
@@ -28,7 +28,7 @@ const ExecutiveBio = ({
28
28
  ) }) }),
29
29
  /* @__PURE__ */ jsxs("div", { className: `${description} flex_col between`, children: [
30
30
  /* @__PURE__ */ jsxs("div", { className: person, children: [
31
- /* @__PURE__ */ jsx("h2", { className: `${bio_name({ variant })} header_3`, children: executiveName }),
31
+ /* @__PURE__ */ jsx("h2", { className: `${headline_setting({ variant })} header_3`, children: executiveName }),
32
32
  /* @__PURE__ */ jsx("h3", { className: `${job_title({ variant })}`, children: executiveTitle }),
33
33
  /* @__PURE__ */ jsx("div", { className: copy, children: executiveBodyCopy })
34
34
  ] }),
@@ -87,7 +87,14 @@ const ExecutiveBio = ({
87
87
  className: `${contact_col} ${contact_links} flex_col between`,
88
88
  children: [
89
89
  executiveLinkedIn && /* @__PURE__ */ jsxs("div", { className: "flex middle", children: [
90
- /* @__PURE__ */ jsx("a", { href: `${executiveLinkedIn}`, className: "btn_link", children: "LinkedIn" }),
90
+ /* @__PURE__ */ jsx(
91
+ "a",
92
+ {
93
+ href: `${executiveLinkedIn}`,
94
+ className: `${headline_setting({ variant })} btn_link`,
95
+ children: "LinkedIn"
96
+ }
97
+ ),
91
98
  /* @__PURE__ */ jsx(
92
99
  "svg",
93
100
  {
@@ -109,7 +116,14 @@ const ExecutiveBio = ({
109
116
  )
110
117
  ] }),
111
118
  executiveWebsite && /* @__PURE__ */ jsxs("div", { className: "flex middle", children: [
112
- /* @__PURE__ */ jsx("a", { href: `${executiveWebsite}`, className: "btn_link", children: "Website" }),
119
+ /* @__PURE__ */ jsx(
120
+ "a",
121
+ {
122
+ href: `${executiveWebsite}`,
123
+ className: `${headline_setting({ variant })} btn_link`,
124
+ children: "Website"
125
+ }
126
+ ),
113
127
  /* @__PURE__ */ jsx(
114
128
  "svg",
115
129
  {
@@ -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, headline, variant: fullVariant, }: Props & SetContainerProps) => import("react/jsx-runtime").JSX.Element;
4
+ export declare const ExecutiveBioSet: ({ id, title, description, executiveBios, additionalDetails, variant: fullVariant, }: Props & SetContainerProps) => import("react/jsx-runtime").JSX.Element;
@@ -8,13 +8,12 @@ const ExecutiveBioSet = ({
8
8
  description,
9
9
  executiveBios,
10
10
  additionalDetails,
11
- headline,
12
11
  variant: fullVariant = "primary"
13
12
  }) => {
14
13
  const variant = getVariant(fullVariant);
15
14
  return /* @__PURE__ */ jsxs("section", { id, className: section_theme({ variant }), children: [
16
15
  /* @__PURE__ */ jsx("div", { className: "containment", children: (title || description) && /* @__PURE__ */ jsxs("div", { className: bio_section_text, children: [
17
- headline && /* @__PURE__ */ jsx("h2", { className: `header_1 ${header_theme({ variant })}`, children: title }),
16
+ title && /* @__PURE__ */ jsx("h2", { className: `header_1 ${header_theme({ variant })}`, children: title }),
18
17
  description && /* @__PURE__ */ jsx(Fragment, { children: description })
19
18
  ] }) }),
20
19
  /* @__PURE__ */ jsx("div", { className: components, children: executiveBios.map((bio, index) => /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsx(
@@ -28,7 +27,7 @@ const ExecutiveBioSet = ({
28
27
  executivePhoneNumber: bio?.executivePhoneNumber,
29
28
  executiveLinkedIn: bio?.executiveLinkedIn,
30
29
  executiveWebsite: bio?.executiveWebsite,
31
- executiveHeadshot: bio?.executiveHeadshot,
30
+ executiveHeadshot: { src: bio?.executiveHeadshot?.src || "" },
32
31
  variant: bio?.variant
33
32
  },
34
33
  index
@@ -1,10 +1,9 @@
1
1
  import { ExecutiveBio } from "./ExecutiveBio.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";
2
+ import { bio_section_text, components, contact_col, contact_entry, contact_links, contacts, copy, description, details, header_theme, headline_setting, 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,
6
6
  ExecutiveBioSet,
7
- bio_name,
8
7
  bio_section_text,
9
8
  components,
10
9
  contact_col,
@@ -15,6 +14,7 @@ export {
15
14
  description,
16
15
  details,
17
16
  header_theme,
17
+ headline_setting,
18
18
  headshot,
19
19
  img_area,
20
20
  item_bio,
@@ -19,7 +19,7 @@ const subNavItems = {
19
19
  id: "ps_2"
20
20
  },
21
21
  {
22
- name: "Client Service Team",
22
+ name: "Sales Team",
23
23
  url: "/personalized-support/sales-team",
24
24
  id: "ps_3"
25
25
  }
@@ -1,25 +1,13 @@
1
- ._1073cm80 .n5hj5p1 {
1
+ .n5hj5p1 {
2
2
  border: 1px solid #d4d4d4;
3
3
  }
4
- ._1es6o1h0 .n5hj5p1 {
5
- border: 1px solid #d4d4d4;
6
- }
7
- ._1073cm80 .n5hj5p2 {
8
- border: none;
9
- }
10
- ._1es6o1h0 .n5hj5p2 {
11
- border: none;
12
- }
13
- ._1073cm80 .n5hj5p3 {
4
+ .n5hj5p2 {
14
5
  border: none;
15
6
  }
16
- ._1es6o1h0 .n5hj5p3 {
7
+ .n5hj5p3 {
17
8
  border: none;
18
9
  }
19
- ._1073cm80 .n5hj5p4 {
20
- border: none;
21
- }
22
- ._1es6o1h0 .n5hj5p4 {
10
+ .n5hj5p4 {
23
11
  border: none;
24
12
  }
25
13
  .n5hj5p5 {
@@ -36,28 +24,16 @@
36
24
  font: 700 18px / 1.44 var(--main-font-family);
37
25
  display: block;
38
26
  }
39
- ._1073cm80 .n5hj5p8 {
27
+ .n5hj5p8 {
40
28
  color: var(--_1073cm83);
41
29
  }
42
- ._1es6o1h0 .n5hj5p8 {
43
- color: var(--_1073cm83);
44
- }
45
- ._1073cm80 .n5hj5p9 {
30
+ .n5hj5p9 {
46
31
  color: var(--_1073cm8a);
47
32
  }
48
- ._1es6o1h0 .n5hj5p9 {
49
- color: var(--_1073cm8a);
50
- }
51
- ._1073cm80 .n5hj5pa {
52
- color: #FAA74A;
53
- }
54
- ._1es6o1h0 .n5hj5pa {
33
+ .n5hj5pa {
55
34
  color: #FAA74A;
56
35
  }
57
- ._1073cm80 .n5hj5pb {
58
- color: var(--_1073cm8o);
59
- }
60
- ._1es6o1h0 .n5hj5pb {
36
+ .n5hj5pb {
61
37
  color: var(--_1073cm8o);
62
38
  }
63
39
  .n5hj5pc {
@@ -81,47 +57,25 @@
81
57
  ._1es6o1h0 .n5hj5pe {
82
58
  color: var(--_1073cm8a);
83
59
  }
84
- ._1073cm80 .n5hj5pf {
60
+ .n5hj5pf {
85
61
  color: var(--_1073cm8h);
86
62
  }
87
- ._1es6o1h0 .n5hj5pf {
88
- color: var(--_1073cm8h);
89
- }
90
- ._1073cm80 .n5hj5pg {
63
+ .n5hj5pg {
91
64
  color: var(--_1073cm8o);
92
65
  }
93
- ._1es6o1h0 .n5hj5pg {
94
- color: var(--_1073cm8o);
95
- }
96
- ._1073cm80 .n5hj5pi {
66
+ .n5hj5pi {
97
67
  color: var(--_1073cm82);
98
68
  background: var(--_1073cm81);
99
69
  }
100
- ._1es6o1h0 .n5hj5pi {
101
- color: var(--_1073cm82);
102
- background: var(--_1073cm81);
103
- }
104
- ._1073cm80 .n5hj5pj {
105
- color: var(--_1073cm89);
106
- background: var(--_1073cm88);
107
- }
108
- ._1es6o1h0 .n5hj5pj {
70
+ .n5hj5pj {
109
71
  color: var(--_1073cm89);
110
72
  background: var(--_1073cm88);
111
73
  }
112
- ._1073cm80 .n5hj5pk {
74
+ .n5hj5pk {
113
75
  color: var(--_1073cm8g);
114
76
  background: var(--_1073cm8f);
115
77
  }
116
- ._1es6o1h0 .n5hj5pk {
117
- color: var(--_1073cm8g);
118
- background: var(--_1073cm8f);
119
- }
120
- ._1073cm80 .n5hj5pl {
121
- color: var(--_1073cm8n);
122
- background: var(--_1073cm8m);
123
- }
124
- ._1es6o1h0 .n5hj5pl {
78
+ .n5hj5pl {
125
79
  color: var(--_1073cm8n);
126
80
  background: var(--_1073cm8m);
127
81
  }
@@ -145,35 +99,51 @@
145
99
  .n5hj5pm:hover {
146
100
  background-color: transparent;
147
101
  }
148
- ._1073cm80 .n5hj5pn {
102
+ .n5hj5pn {
149
103
  background: var(--_1073cm86);
150
104
  color: var(--_1073cm85);
151
105
  }
152
- ._1es6o1h0 .n5hj5pn {
153
- background: var(--_1073cm86);
154
- color: var(--_1073cm85);
106
+ .n5hj5pn:hover {
107
+ border-color: var(--_1073cm86);
108
+ color: var(--_1073cm86);
109
+ }
110
+ .n5hj5pn:active {
111
+ background-color: var(--_1073cm86);
112
+ color: var(--_1073cm86);
155
113
  }
156
- ._1073cm80 .n5hj5po {
114
+ .n5hj5po {
157
115
  background: var(--_1073cm8d);
158
116
  color: var(--_1073cm8c);
159
117
  }
160
- ._1es6o1h0 .n5hj5po {
161
- background: var(--_1073cm8d);
118
+ .n5hj5po:hover {
119
+ border-color: var(--_1073cm8d);
120
+ color: var(--_1073cm8d);
121
+ }
122
+ .n5hj5po:active {
123
+ background-color: var(--_1073cm8d);
162
124
  color: var(--_1073cm8c);
163
125
  }
164
- ._1073cm80 .n5hj5pp {
126
+ .n5hj5pp {
165
127
  color: var(--_1073cm8j);
166
128
  background-color: var(--_1073cm86);
167
129
  }
168
- ._1es6o1h0 .n5hj5pp {
130
+ .n5hj5pp:hover {
131
+ border-color: var(--_1073cm8k);
132
+ color: var(--_1073cm86);
133
+ }
134
+ .n5hj5pp:active {
169
135
  color: var(--_1073cm8j);
170
- background-color: var(--_1073cm8k);
136
+ background-color: var(--_1073cm86);
171
137
  }
172
- ._1073cm80 .n5hj5pq {
138
+ .n5hj5pq {
173
139
  color: var(--_1073cm8q);
174
140
  background-color: var(--_1073cm8r);
175
141
  }
176
- ._1es6o1h0 .n5hj5pq {
142
+ .n5hj5pq:hover {
143
+ border-color: var(--_1073cm8r);
144
+ color: var(--_1073cm8r);
145
+ }
146
+ .n5hj5pq:active {
177
147
  color: var(--_1073cm8q);
178
148
  background-color: var(--_1073cm8r);
179
149
  }
@@ -200,33 +170,7 @@
200
170
  font-size: 1.5rem;
201
171
  line-height: 1.28;
202
172
  }
203
- options => {
204
- var className = config.defaultClassName;
205
- var selections = _objectSpread2(_objectSpread2({}, config.defaultVariants), options);
206
- for (var variantName in selections) {
207
- var _selections$variantNa;
208
- var variantSelection = (_selections$variantNa = selections[variantName]) !== null && _selections$variantNa !== void 0 ? _selections$variantNa : config.defaultVariants[variantName];
209
- if (variantSelection != null) {
210
- var selection = variantSelection;
211
- if (typeof selection === 'boolean') {
212
- // @ts-expect-error
213
- selection = selection === true ? 'true' : 'false';
214
- }
215
- var selectionClassName =
216
- // @ts-expect-error
217
- config.variantClassNames[variantName][selection];
218
- if (selectionClassName) {
219
- className += ' ' + selectionClassName;
220
- }
221
- }
222
- }
223
- for (var [compoundCheck, compoundClassName] of config.compoundVariants) {
224
- if (shouldApplyCompound(compoundCheck, selections, config.defaultVariants)) {
225
- className += ' ' + compoundClassName;
226
- }
227
- }
228
- return className;
229
- } > * {
173
+ .n5hj5ph > * {
230
174
  font-size: 15px;
231
175
  line-height: 1.4;
232
176
  }
@@ -5,16 +5,10 @@
5
5
  .kjcqgc1 {
6
6
  margin-bottom: 40px;
7
7
  }
8
- ._1073cm80 .kjcqgc3 {
8
+ .kjcqgc3 {
9
9
  color: var(--_1073cm83);
10
10
  }
11
- ._1es6o1h0 .kjcqgc3 {
12
- color: var(--_1073cm83);
13
- }
14
- ._1073cm80 .kjcqgc4 {
15
- color: var(--_1073cm8a);
16
- }
17
- ._1es6o1h0 .kjcqgc4 {
11
+ .kjcqgc4 {
18
12
  color: var(--_1073cm8a);
19
13
  }
20
14
  ._1073cm80 .kjcqgc5 {
@@ -32,6 +26,7 @@
32
26
  .kjcqgc7 {
33
27
  font: 700 18px/1.44 var(--main-font-family);
34
28
  text-decoration: none;
29
+ margin-right: 1em;
35
30
  }
36
31
  .kjcqgc7:hover {
37
32
  opacity: 0.7;
@@ -60,33 +55,7 @@
60
55
  ._1es6o1h0 .kjcqgcb {
61
56
  color: #1E262F;
62
57
  }
63
- options => {
64
- var className = config.defaultClassName;
65
- var selections = _objectSpread2(_objectSpread2({}, config.defaultVariants), options);
66
- for (var variantName in selections) {
67
- var _selections$variantNa;
68
- var variantSelection = (_selections$variantNa = selections[variantName]) !== null && _selections$variantNa !== void 0 ? _selections$variantNa : config.defaultVariants[variantName];
69
- if (variantSelection != null) {
70
- var selection = variantSelection;
71
- if (typeof selection === 'boolean') {
72
- // @ts-expect-error
73
- selection = selection === true ? 'true' : 'false';
74
- }
75
- var selectionClassName =
76
- // @ts-expect-error
77
- config.variantClassNames[variantName][selection];
78
- if (selectionClassName) {
79
- className += ' ' + selectionClassName;
80
- }
81
- }
82
- }
83
- for (var [compoundCheck, compoundClassName] of config.compoundVariants) {
84
- if (shouldApplyCompound(compoundCheck, selections, config.defaultVariants)) {
85
- className += ' ' + compoundClassName;
86
- }
87
- }
88
- return className;
89
- } + .sc__btn {
58
+ .kjcqgc2 + .sc__btn {
90
59
  display: inline-block;
91
60
  }
92
61
  ._1073cm80 .kjcqgcd {
@@ -116,35 +85,19 @@ options => {
116
85
  .kjcqgch article {
117
86
  flex: 1 1 0%;
118
87
  }
119
- ._1073cm80 .kjcqgcj {
88
+ .kjcqgcj {
120
89
  color: var(--_1073cm82);
121
90
  background: var(--_1073cm81);
122
91
  }
123
- ._1es6o1h0 .kjcqgcj {
124
- color: var(--_1073cm82);
125
- background: var(--_1073cm81);
126
- }
127
- ._1073cm80 .kjcqgck {
128
- color: var(--_1073cm89);
129
- background: var(--_1073cm88);
130
- }
131
- ._1es6o1h0 .kjcqgck {
92
+ .kjcqgck {
132
93
  color: var(--_1073cm89);
133
94
  background: var(--_1073cm88);
134
95
  }
135
- ._1073cm80 .kjcqgcl {
136
- color: var(--_1073cm8g);
137
- background: var(--_1073cm8f);
138
- }
139
- ._1es6o1h0 .kjcqgcl {
96
+ .kjcqgcl {
140
97
  color: var(--_1073cm8g);
141
98
  background: var(--_1073cm8f);
142
99
  }
143
- ._1073cm80 .kjcqgcm {
144
- color: var(--_1073cm8n);
145
- background: var(--_1073cm8m);
146
- }
147
- ._1es6o1h0 .kjcqgcm {
100
+ .kjcqgcm {
148
101
  color: var(--_1073cm8n);
149
102
  background: var(--_1073cm8m);
150
103
  }
@@ -155,33 +108,7 @@ options => {
155
108
  .kjcqgc1 {
156
109
  margin-bottom: 32px;
157
110
  }
158
- options => {
159
- var className = config.defaultClassName;
160
- var selections = _objectSpread2(_objectSpread2({}, config.defaultVariants), options);
161
- for (var variantName in selections) {
162
- var _selections$variantNa;
163
- var variantSelection = (_selections$variantNa = selections[variantName]) !== null && _selections$variantNa !== void 0 ? _selections$variantNa : config.defaultVariants[variantName];
164
- if (variantSelection != null) {
165
- var selection = variantSelection;
166
- if (typeof selection === 'boolean') {
167
- // @ts-expect-error
168
- selection = selection === true ? 'true' : 'false';
169
- }
170
- var selectionClassName =
171
- // @ts-expect-error
172
- config.variantClassNames[variantName][selection];
173
- if (selectionClassName) {
174
- className += ' ' + selectionClassName;
175
- }
176
- }
177
- }
178
- for (var [compoundCheck, compoundClassName] of config.compoundVariants) {
179
- if (shouldApplyCompound(compoundCheck, selections, config.defaultVariants)) {
180
- className += ' ' + compoundClassName;
181
- }
182
- }
183
- return className;
184
- } + .sc__btn {
111
+ .kjcqgc2 + .sc__btn {
185
112
  margin-top: 16px;
186
113
  }
187
114
  }
@@ -201,33 +128,7 @@ options => {
201
128
  }
202
129
  }
203
130
  @media (max-width:1023px) and (min-width:769px) {
204
- options => {
205
- var className = config.defaultClassName;
206
- var selections = _objectSpread2(_objectSpread2({}, config.defaultVariants), options);
207
- for (var variantName in selections) {
208
- var _selections$variantNa;
209
- var variantSelection = (_selections$variantNa = selections[variantName]) !== null && _selections$variantNa !== void 0 ? _selections$variantNa : config.defaultVariants[variantName];
210
- if (variantSelection != null) {
211
- var selection = variantSelection;
212
- if (typeof selection === 'boolean') {
213
- // @ts-expect-error
214
- selection = selection === true ? 'true' : 'false';
215
- }
216
- var selectionClassName =
217
- // @ts-expect-error
218
- config.variantClassNames[variantName][selection];
219
- if (selectionClassName) {
220
- className += ' ' + selectionClassName;
221
- }
222
- }
223
- }
224
- for (var [compoundCheck, compoundClassName] of config.compoundVariants) {
225
- if (shouldApplyCompound(compoundCheck, selections, config.defaultVariants)) {
226
- className += ' ' + compoundClassName;
227
- }
228
- }
229
- return className;
230
- } > * {
131
+ .kjcqgci > * {
231
132
  font-size: 15px;
232
133
  line-height: 1.4;
233
134
  }