@axos-web-dev/shared-components 0.0.167 → 0.0.169

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,26 +1,21 @@
1
- ._2lraiw0 {
2
- max-width: 1200px;
3
- }
4
1
  ._2lraiw1 {
5
- font-family: sans-serif;
6
- font-family: Roboto;
7
2
  color: var(--_1073cm811);
8
- letter-spacing: 0.2px;
9
- text-decoration: none;
10
- font-weight: 700;
11
3
  font-size: 14px;
4
+ font-weight: 700;
5
+ letter-spacing: 0.2px;
12
6
  line-height: 1.85;
7
+ text-decoration: none;
13
8
  }
14
9
  ._2lraiw1:hover {
15
10
  text-decoration: underline;
16
11
  }
17
12
  ._2lraiw2 {
13
+ align-items: center;
18
14
  display: flex;
19
- padding: 16px 32px;
20
- border-radius: 8px;
21
15
  background-color: #ebebeb;
16
+ border-radius: 8px;
22
17
  justify-content: space-between;
23
- align-items: center;
18
+ padding: 16px 32px;
24
19
  }
25
20
  ._2lraiw3:last-child:nth-child(odd) {
26
21
  grid-column: span 2;
@@ -31,13 +26,13 @@
31
26
  line-height: 1.44;
32
27
  }
33
28
  ._2lraiw2 {
29
+ background-color: #fff;
34
30
  display: grid;
35
31
  grid-template-columns: 1fr 1fr;
36
- background-color: #ffffff;
37
32
  padding: 8px 0px;
38
33
  }
39
34
  ._2lraiw3 {
40
- text-align: center;
41
35
  padding: 8px 24px;
36
+ text-align: center;
42
37
  }
43
38
  }
@@ -18,6 +18,22 @@
18
18
  gap: 24px;
19
19
  }
20
20
  ._18ygy9m6 {
21
+ display: grid;
22
+ gap: 24px;
23
+ }
24
+ ._18ygy9m7 {
25
+ grid-template-columns: repeat(auto-fit, minmax(min(600px, 100%), 1fr));
26
+ }
27
+ ._18ygy9m8 {
28
+ grid-template-columns: repeat(auto-fit, minmax(min(350px, 100%), 1fr));
29
+ }
30
+ ._18ygy9m9 {
31
+ grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
32
+ }
33
+ ._18ygy9ma {
34
+ grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
35
+ }
36
+ ._18ygy9mb {
21
37
  margin-inline: auto;
22
38
  padding-bottom: 2.5rem;
23
39
  text-align: center;
@@ -27,28 +43,28 @@
27
43
  ._18ygy9m5 .containment {
28
44
  width: 100%;
29
45
  }
30
- ._18ygy9m7 {
46
+ ._18ygy9mc {
31
47
  display: flex;
32
48
  place-items: center;
33
49
  text-align: center;
34
50
  margin-inline: auto;
35
51
  }
36
- ._18ygy9m8 {
52
+ ._18ygy9md {
37
53
  display: block;
38
54
  margin: auto;
39
55
  }
40
- ._18ygy9m9 {
56
+ ._18ygy9me {
41
57
  margin-inline: auto;
42
58
  padding-top: 2.5rem;
43
59
  text-align: center;
44
60
  max-width: 1000px;
45
61
  padding-bottom: 2.5rem;
46
62
  }
47
- ._18ygy9ma {
63
+ ._18ygy9mf {
48
64
  isolation: isolate;
49
65
  position: relative;
50
66
  }
51
- ._18ygy9ma::before {
67
+ ._18ygy9mf::before {
52
68
  content: "";
53
69
  position: absolute;
54
70
  width: 100%;
@@ -58,29 +74,29 @@
58
74
  right: 0;
59
75
  z-index: -1;
60
76
  }
61
- ._18ygy9mb {
77
+ ._18ygy9mg {
62
78
  background: var(--_1073cm88);
63
79
  }
64
- ._18ygy9mb::before {
80
+ ._18ygy9mg::before {
65
81
  background: var(--_1073cm81);
66
82
  }
67
- ._18ygy9mc {
83
+ ._18ygy9mh {
68
84
  background: var(--_1073cm81);
69
85
  }
70
- ._18ygy9mc::before {
86
+ ._18ygy9mh::before {
71
87
  background: var(--_1073cm88);
72
88
  }
73
- ._18ygy9md {
89
+ ._18ygy9mi {
74
90
  background: var(--_1073cm81);
75
91
  }
76
- ._18ygy9md::before {
92
+ ._18ygy9mi::before {
77
93
  background: var(--_1073cm8f);
78
94
  color: var(--_1073cm8n);
79
95
  }
80
- ._18ygy9me {
96
+ ._18ygy9mj {
81
97
  background: var(--_1073cm81);
82
98
  }
83
- ._18ygy9me::before {
99
+ ._18ygy9mj::before {
84
100
  background: var(--_1073cm8m);
85
101
  color: var(--_1073cm8n);
86
102
  }
@@ -88,6 +104,9 @@
88
104
  ._18ygy9m5 {
89
105
  grid-template-columns: 1fr;
90
106
  }
107
+ ._18ygy9m6 {
108
+ grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
109
+ }
91
110
  }
92
111
  @media (min-width: 1024px) {
93
112
  ._18ygy9m5:has(> :nth-child(5):last-child) {
@@ -110,27 +129,22 @@
110
129
  }
111
130
  }
112
131
  @media screen and (max-width: 768px) {
113
- ._18ygy9m6 {
132
+ ._18ygy9mb {
114
133
  padding-block: 1.5rem;
115
134
  }
116
135
  }
117
136
  @media screen and (max-width:320px) {
118
- ._18ygy9m7 {
137
+ ._18ygy9mc {
119
138
  max-width: 100%;
120
139
  }
121
140
  }
122
141
  @media screen and (max-width:768px) {
123
- ._18ygy9m7 {
142
+ ._18ygy9mc {
124
143
  max-width: 100%;
125
144
  }
126
145
  }
127
- @media screen and (max-width:641px) {
128
- ._18ygy9m5:has(._18ygy9m7) {
129
- grid-template-columns: 1fr 1fr;
130
- }
131
- }
132
- @media screen and (max-width:480px) {
133
- ._18ygy9m5:has(._18ygy9m7) {
134
- grid-template-columns: 1fr;
146
+ @media screen and (max-width:1023px) {
147
+ ._18ygy9m5:has(._18ygy9mc) {
148
+ grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
135
149
  }
136
150
  }
@@ -1,17 +1,17 @@
1
1
  @keyframes _5fvzn90 {
2
2
  0% {
3
- right: -10px;
3
+ left: 4px;
4
4
  }
5
5
  to {
6
- right: -4px;
6
+ left: 0px;
7
7
  }
8
8
  }
9
9
  @keyframes _5fvzn91 {
10
10
  0% {
11
- right: -4px;
11
+ left: 0px;
12
12
  }
13
13
  to {
14
- right: -10px;
14
+ left: 4px;
15
15
  }
16
16
  }
17
17
  * {
@@ -21,8 +21,8 @@
21
21
  a {
22
22
  box-sizing: border-box;
23
23
  color: inherit;
24
- padding: 0;
25
24
  margin: 0;
25
+ padding: 0;
26
26
  }
27
27
  a:not([class]):hover {
28
28
  opacity: 0.8;
@@ -30,34 +30,24 @@ a:not([class]):hover {
30
30
  body {
31
31
  font-family: var(--main-font-family);
32
32
  font-size: 16px;
33
- line-height: 1.39;
34
33
  letter-spacing: 0.2px;
34
+ line-height: 1.39;
35
35
  }
36
36
  p {
37
37
  margin-bottom: 10px;
38
38
  }
39
- li p {
40
- margin-bottom: 0;
41
- }
42
- p:last-child {
43
- margin-bottom: 0;
44
- }
45
- p:only-child {
39
+ li p, p:last-child, p:only-child {
46
40
  margin-bottom: 0;
47
41
  }
48
42
  .containment {
49
- width: min(1200px, calc(100% - 4rem));
50
43
  box-sizing: border-box;
51
- margin-left: auto;
52
- margin-right: auto;
44
+ margin-inline: auto;
45
+ width: min(1200px, calc(100% - 4rem));
53
46
  }
54
47
  .section_spacer {
55
48
  margin-top: 3.5rem;
56
49
  }
57
- .flex {
58
- display: flex;
59
- }
60
- [class*='flex_'] {
50
+ .flex, [class*='flex_'] {
61
51
  display: flex;
62
52
  }
63
53
  .flex_row {
@@ -125,7 +115,7 @@ p:only-child {
125
115
  .expand {
126
116
  max-height: 20rem !important;
127
117
  }
128
- .p_small {
118
+ .p_small, .fs_16 {
129
119
  font-size: 1rem;
130
120
  line-height: 1.5;
131
121
  }
@@ -142,12 +132,11 @@ p:only-child {
142
132
  padding: 48px 56px;
143
133
  }
144
134
  .supertag {
145
- font-weight: 700;
135
+ display: flex;
136
+ font-family: var(--main-font-family);
146
137
  font-size: 14px;
138
+ font-weight: 700;
147
139
  line-height: 26px;
148
- letter-spacing: 0.2px;
149
- font-family: var(--main-font-family);
150
- display: flex;
151
140
  }
152
141
  h1, h2, h3, h4, h5, h6, es_font {
153
142
  font-family: var(--header-font-family);
@@ -161,16 +150,14 @@ h1, h2, h3, h4, h5, h6, es_font {
161
150
  line-height: 1.25;
162
151
  }
163
152
  .header_3 {
164
- font-weight: 600;
165
153
  font-size: 28px;
154
+ font-weight: 600;
166
155
  line-height: 36px;
167
- letter-spacing: 0.2px;
168
156
  }
169
157
  .header_4 {
170
- font-weight: 600;
171
158
  font-size: 20px;
159
+ font-weight: 600;
172
160
  line-height: 28px;
173
- letter-spacing: 0.2px;
174
161
  }
175
162
  .gradient_text {
176
163
  background: linear-gradient(3deg, #051A3F 14.64%, #1E3860 48.42%, #4D85B0 85.36%);
@@ -188,7 +175,6 @@ h1, h2, h3, h4, h5, h6, es_font {
188
175
  .list_item {
189
176
  font-size: 1rem;
190
177
  line-height: 1.5rem;
191
- letter-spacing: 0.2px;
192
178
  -webkit-box-align: start;
193
179
  align-items: flex-start;
194
180
  }
@@ -201,19 +187,18 @@ h1, h2, h3, h4, h5, h6, es_font {
201
187
  margin-top: 2px;
202
188
  }
203
189
  .btn_link {
204
- font-weight: 600;
205
- color: #323339;
206
- letter-spacing: 0.2px;
207
- padding: 0;
208
190
  background-color: transparent;
209
191
  border: 0;
210
- text-transform: initial;
192
+ color: #323339;
193
+ display: inline-block;
194
+ font-size: 16px;
195
+ font-weight: 600;
196
+ opacity: 1;
197
+ padding: 0;
211
198
  position: relative;
212
199
  text-decoration: none;
213
- display: inline-block;
200
+ text-transform: initial;
214
201
  white-space: nowrap;
215
- opacity: 1;
216
- font-size: 16px;
217
202
  }
218
203
  .btn__secondary:hover {
219
204
  opacity: 1;
@@ -221,18 +206,18 @@ h1, h2, h3, h4, h5, h6, es_font {
221
206
  .sc__btn:hover {
222
207
  text-decoration: underline;
223
208
  }
224
- .sc__btn:hover > .arrow, .sc__btn:focus > .arrow {
225
- animation: _5fvzn91 0.1s linear 0s 1 normal forwards;
226
- }
227
- .sc__btn:hover > .arrow {
209
+ .sc__btn > .arrow {
228
210
  position: relative;
211
+ animation: _5fvzn90 0.1s linear 0s 1 normal forwards;
212
+ }
213
+ .sc__btn:hover > .arrow, .arrow, .sc__btn:focus-within > .arrow {
229
214
  transition: 0.3s;
230
- animation: _5fvzn90 0.3s ease-out 0s 1 normal forwards;
215
+ animation: _5fvzn91 0.3s ease-out 0s 1 normal forwards;
231
216
  }
232
217
  .link {
233
218
  word-break: break-word;
234
219
  }
235
- .p_16 {
220
+ .p_16, .fs_16 {
236
221
  font-size: 1rem;
237
222
  line-height: 1.5;
238
223
  }
@@ -246,9 +231,8 @@ a {
246
231
  display: none !important;
247
232
  }
248
233
  .section_header {
249
- margin-left: auto;
250
- margin-right: auto;
251
234
  margin-bottom: 2.5rem;
235
+ margin-inline: auto;
252
236
  max-width: 49.5rem;
253
237
  text-align: center;
254
238
  }
@@ -260,10 +244,7 @@ sup {
260
244
  position: relative;
261
245
  top: -0.5em;
262
246
  }
263
- p:empty {
264
- display: none;
265
- }
266
- ul:empty {
247
+ p:empty, ul:empty {
267
248
  display: none;
268
249
  }
269
250
  .margin_block {
package/dist/main.js CHANGED
@@ -108,7 +108,7 @@ import { ImageBillboardSet } from "./ImageBillboard/ImageBillboard.js";
108
108
  import { apy_billboard, billboard, billboard_body, billboard_container, billboard_ctas, billboard_header_section, billboard_image, billboard_img, body, body_copy, header, imagePlacement, image_background, mh_330, rate_billboard, rate_container, rate_pad, section_text_ImageBillboard, single_container, sub_bullets, supertag, three_inline, two_inline, up_to } from "./ImageBillboard/ImageBillboard.css.js";
109
109
  import { ImageBillboard } from "./ImageBillboard/ImageBillboardSet.js";
110
110
  import { SetContainer } from "./SetContainer/SetContainer.js";
111
- import { heading, imageLinkContainer, inline_container, isolate_container, set_container, set_logo, setcontainer_section_text } from "./SetContainer/SetContainer.css.js";
111
+ import { heading, imageLinkContainer, inline_container, isolate_container, set_container, set_container_cols, set_logo, setcontainer_section_text } from "./SetContainer/SetContainer.css.js";
112
112
  import "react";
113
113
  import { ImageLinkSet } from "./ImageLink/ImageLinkSet.js";
114
114
  import { Checkbox } from "./Input/Checkbox.js";
@@ -167,6 +167,7 @@ import { findMoreAxosDomains, isAllowedUrl } from "./utils/allowedAxosDomains.js
167
167
  import { associatedEmail } from "./utils/EverestValidity.js";
168
168
  import { getVariant, getVariantWithRegex } from "./utils/getVariant.js";
169
169
  import { isAbsoluteUrl, isEmailLink, isPhoneLink, shortUrl, validateLink } from "./utils/validateExternalLinks.js";
170
+ import { columnValues } from "./utils/variant.types.js";
170
171
  import { padding_in_footer, smb_section, smb_wrapper } from "./SocialMediaBar/SocialMediaBar.css.js";
171
172
  export {
172
173
  default20 as AASLogo,
@@ -371,6 +372,7 @@ export {
371
372
  calculator_headline,
372
373
  centerSelect,
373
374
  checkbox_group,
375
+ columnValues,
374
376
  comparison,
375
377
  comparison_buttons,
376
378
  comparison_container,
@@ -555,6 +557,7 @@ export {
555
557
  selection_section_icon,
556
558
  selection_section_icon_img,
557
559
  set_container,
560
+ set_container_cols,
558
561
  set_logo,
559
562
  setcontainer_section_text,
560
563
  shift,
@@ -29,7 +29,10 @@ const moreDomains = {
29
29
  "{JHALOAN}": process.env.JHA_LOANSPQ || "https://jha.loanspq.com",
30
30
  "{AXSECURITIES}": process.env.AXOS_SECURITIES_URL ?? "https://www.axossecurities.com",
31
31
  "{LIBSYN}": process.env.AXOS_LIBSYN || "https://sites.libsyn.com",
32
- "{AXBBUSINESSCENTER}": process.env.AXOS_BUSINESS_CENTER || "https://www.axosbusinesscenter.com"
32
+ "{AXBC}": process.env.AXOS_BUSINESS_CENTER ?? "https://www.axosbusinesscenter.com",
33
+ "{AXMWDJ}": process.env.AXOS_MY_WORK_DAY_JOBS ?? "https://axos.wd5.myworkdayjobs.com/Axos",
34
+ "{AXMHA}": process.env.AXOS_MY_HOME_ADVANTAGE ?? "https://axos.myhomeadvantage.com",
35
+ "{AXTPL}": process.env.AXOS_THIRD_PARTY_LENDING ?? "https://thirdpartylending.axosbank.com"
33
36
  };
34
37
  const isAllowedUrl = (url) => {
35
38
  const uri = new URL(url, location.href);
@@ -0,0 +1 @@
1
+ export declare const getNumOfColumns: (text: string | undefined) => 1 | 2 | 3 | 4 | undefined;
@@ -0,0 +1,17 @@
1
+ const getNumOfColumns = (text) => {
2
+ if (text) {
3
+ if (text.includes("4")) {
4
+ return 4;
5
+ } else if (text.includes("3")) {
6
+ return 3;
7
+ } else if (text.includes("2")) {
8
+ return 2;
9
+ } else if (text.includes("1")) {
10
+ return 1;
11
+ }
12
+ }
13
+ return void 0;
14
+ };
15
+ export {
16
+ getNumOfColumns
17
+ };
@@ -2,8 +2,10 @@ import { findMoreAxosDomains, isAllowedUrl } from "./allowedAxosDomains.js";
2
2
  import { associatedEmail } from "./EverestValidity.js";
3
3
  import { getVariant, getVariantWithRegex } from "./getVariant.js";
4
4
  import { isAbsoluteUrl, isEmailLink, isPhoneLink, shortUrl, validateLink } from "./validateExternalLinks.js";
5
+ import { columnValues } from "./variant.types.js";
5
6
  export {
6
7
  associatedEmail,
8
+ columnValues,
7
9
  findMoreAxosDomains,
8
10
  getVariant,
9
11
  getVariantWithRegex,
@@ -4,3 +4,5 @@ export type SecondaryTypes = "primary" | "secondary";
4
4
  export type QuaternaryTypes = "primary" | "secondary" | "tertiary" | "quaternary";
5
5
  export type SideProps = "left" | "right";
6
6
  export type StarIconTypes = "gold" | "gray";
7
+ export declare const columnValues: readonly [1, 2, 3, 4, undefined];
8
+ export type ColumnTypes = (typeof columnValues)[number];
@@ -1 +1,4 @@
1
-
1
+ const columnValues = [1, 2, 3, 4, void 0];
2
+ export {
3
+ columnValues
4
+ };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@axos-web-dev/shared-components",
3
3
  "description": "Axos shared components library for web.",
4
- "version": "0.0.167",
4
+ "version": "0.0.169",
5
5
  "type": "module",
6
6
  "module": "dist/main.js",
7
7
  "types": "dist/main.d.ts",