@axos-web-dev/shared-components 1.0.100-dev.65 → 1.0.100-dev.67

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.
@@ -28,13 +28,13 @@ const IconBillboard = (props) => {
28
28
  if (headingRef.current) {
29
29
  const section = headingRef.current.closest(".section_spacer");
30
30
  if (section) {
31
- const existingH2 = section.querySelector("h2._1r4ovbuj");
31
+ const existingH2 = section.querySelector("h2.header_1");
32
32
  if (existingH2) {
33
33
  setHeadingLevel("h3");
34
34
  }
35
35
  }
36
36
  }
37
- }, []);
37
+ }, [headingRef]);
38
38
  const { isClickable, handleClick, chevronText } = useFullClick(callToActionRow);
39
39
  return /* @__PURE__ */ jsxs(
40
40
  "div",
@@ -54,13 +54,13 @@ const ImageBillboard = ({
54
54
  if (headingRef.current) {
55
55
  const section = headingRef.current.closest("section");
56
56
  if (section) {
57
- const existingH2 = section.querySelector("h2._1r4ovbuj");
57
+ const existingH2 = section.querySelector("h2.header_1");
58
58
  if (existingH2) {
59
59
  setHeadingLevel("h3");
60
60
  }
61
61
  }
62
62
  }
63
- }, []);
63
+ }, [headingRef]);
64
64
  const imgAlignment = (alignment) => {
65
65
  switch (alignment) {
66
66
  case "Top Left":
@@ -117,10 +117,8 @@ export declare const menuData: {
117
117
  "Business Savings": string;
118
118
  "Non-Profit Money Market": string;
119
119
  };
120
- Solutions: {
121
- "Solutions Home": string;
122
- "New Business": string;
123
- "Nonprofit Banking": string;
120
+ Bundles: {
121
+ "Axos Business Bundle": string;
124
122
  };
125
123
  Services: {
126
124
  "Services Home": string;
@@ -131,8 +129,10 @@ export declare const menuData: {
131
129
  "Insured Cash Sweep": string;
132
130
  "Digital Banking": string;
133
131
  };
134
- Bundles: {
135
- "Axos Business Bundle": string;
132
+ Solutions: {
133
+ "Solutions Home": string;
134
+ "New Business": string;
135
+ "Nonprofit Banking": string;
136
136
  };
137
137
  "Other Resources": {
138
138
  "Business Support": string;
@@ -367,15 +367,9 @@ const menuData = {
367
367
  "{AXOSBANK}/business/savings/business-money-market-accounts/non-profit-money-market"
368
368
  )
369
369
  },
370
- Solutions: {
371
- "Solutions Home": findMoreAxosDomains(
372
- "{AXOSBANK}/business/solutions/new-business"
373
- ),
374
- "New Business": findMoreAxosDomains(
375
- "{AXOSBANK}/business/solutions/new-business"
376
- ),
377
- "Nonprofit Banking": findMoreAxosDomains(
378
- "{AXOSBANK}/business/solutions/nonprofit-banking"
370
+ Bundles: {
371
+ "Axos Business Bundle": findMoreAxosDomains(
372
+ "{AXOSBANK}/business/axos-business-bundle"
379
373
  )
380
374
  },
381
375
  Services: {
@@ -399,9 +393,15 @@ const menuData = {
399
393
  "{AXOSBANK}/business/digital-business-banking"
400
394
  )
401
395
  },
402
- Bundles: {
403
- "Axos Business Bundle": findMoreAxosDomains(
404
- "{AXOSBANK}/business/axos-business-bundle"
396
+ Solutions: {
397
+ "Solutions Home": findMoreAxosDomains(
398
+ "{AXOSBANK}/business/solutions/new-business"
399
+ ),
400
+ "New Business": findMoreAxosDomains(
401
+ "{AXOSBANK}/business/solutions/new-business"
402
+ ),
403
+ "Nonprofit Banking": findMoreAxosDomains(
404
+ "{AXOSBANK}/business/solutions/nonprofit-banking"
405
405
  )
406
406
  },
407
407
  "Other Resources": {
@@ -2174,7 +2174,7 @@ function SubNavBar() {
2174
2174
  /* @__PURE__ */ jsx(
2175
2175
  Image,
2176
2176
  {
2177
- src: `https://images.axos.com/o9ov1v03uwqk/7937jPXKWwAOtAJyWzbRFJ/45d2abc8e8492c6dc06a0866f2a7a123/thumbs_up_icon.png`,
2177
+ src: `https://images.axos.com/o9ov1v03uwqk/6bS9epOgzZpJY2jeuepswo/5ee31f624370b44ab1483b537c3fa704/nav-submenu-bundles-icon.svg`,
2178
2178
  alt: "",
2179
2179
  width: 20,
2180
2180
  height: 20
@@ -2185,28 +2185,19 @@ function SubNavBar() {
2185
2185
  Link,
2186
2186
  {
2187
2187
  href: findMoreAxosDomains(
2188
- "{AXOSBANK}/business/solutions/new-business"
2188
+ "{AXOSBANK}/business/axos-business-bundle"
2189
2189
  ),
2190
2190
  role: "heading",
2191
- children: "Solutions"
2192
- }
2193
- ) }),
2194
- /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
2195
- Link,
2196
- {
2197
- href: findMoreAxosDomains(
2198
- "{AXOSBANK}/business/solutions/new-business"
2199
- ),
2200
- children: "New Business"
2191
+ children: "Bundles"
2201
2192
  }
2202
2193
  ) }),
2203
2194
  /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
2204
2195
  Link,
2205
2196
  {
2206
2197
  href: findMoreAxosDomains(
2207
- "{AXOSBANK}/business/solutions/nonprofit-banking"
2198
+ "{AXOSBANK}/business/axos-business-bundle"
2208
2199
  ),
2209
- children: "Nonprofit Banking"
2200
+ children: "Axos Business Bundle"
2210
2201
  }
2211
2202
  ) })
2212
2203
  ] })
@@ -2292,7 +2283,7 @@ function SubNavBar() {
2292
2283
  /* @__PURE__ */ jsx(
2293
2284
  Image,
2294
2285
  {
2295
- src: `https://images.axos.com/o9ov1v03uwqk/6bS9epOgzZpJY2jeuepswo/5ee31f624370b44ab1483b537c3fa704/nav-submenu-bundles-icon.svg`,
2286
+ src: `https://images.axos.com/o9ov1v03uwqk/7937jPXKWwAOtAJyWzbRFJ/45d2abc8e8492c6dc06a0866f2a7a123/thumbs_up_icon.png`,
2296
2287
  alt: "",
2297
2288
  width: 20,
2298
2289
  height: 20
@@ -2303,19 +2294,28 @@ function SubNavBar() {
2303
2294
  Link,
2304
2295
  {
2305
2296
  href: findMoreAxosDomains(
2306
- "{AXOSBANK}/business/axos-business-bundle"
2297
+ "{AXOSBANK}/business/solutions/new-business"
2307
2298
  ),
2308
2299
  role: "heading",
2309
- children: "Bundles"
2300
+ children: "Solutions"
2310
2301
  }
2311
2302
  ) }),
2312
2303
  /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
2313
2304
  Link,
2314
2305
  {
2315
2306
  href: findMoreAxosDomains(
2316
- "{AXOSBANK}/business/axos-business-bundle"
2307
+ "{AXOSBANK}/business/solutions/new-business"
2317
2308
  ),
2318
- children: "Axos Business Bundle"
2309
+ children: "New Business"
2310
+ }
2311
+ ) }),
2312
+ /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
2313
+ Link,
2314
+ {
2315
+ href: findMoreAxosDomains(
2316
+ "{AXOSBANK}/business/solutions/nonprofit-banking"
2317
+ ),
2318
+ children: "Nonprofit Banking"
2319
2319
  }
2320
2320
  ) })
2321
2321
  ] })
@@ -19,6 +19,7 @@ body {
19
19
  }
20
20
  p {
21
21
  margin-bottom: 10px;
22
+ text-wrap: pretty;
22
23
  }
23
24
  li p, p:last-child, p:only-child {
24
25
  margin-bottom: 0;
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": "1.0.100-dev.65",
4
+ "version": "1.0.100-dev.67",
5
5
  "type": "module",
6
6
  "module": "dist/main.js",
7
7
  "types": "dist/main.d.ts",