@axos-web-dev/shared-components 0.0.65 → 0.0.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.
Files changed (35) hide show
  1. package/dist/AlertBanner/index.js +1 -1
  2. package/dist/ArticlesSet/ArticlesSet.d.ts +1 -1
  3. package/dist/ArticlesSet/ArticlesSet.js +1 -1
  4. package/dist/AwardsBanner/AwardsBanner.js +3 -3
  5. package/dist/Calculators/calculators.js +20 -0
  6. package/dist/Carousel/index.js +1 -1
  7. package/dist/ExecutiveBio/ExecutiveBio.js +5 -4
  8. package/dist/Forms/SuccesForm.js +1 -1
  9. package/dist/LandingPageHeader/LandingPageHeader.d.ts +2 -1
  10. package/dist/LandingPageHeader/LandingPageHeader.js +85 -70
  11. package/dist/LandingPageHeader/index.d.ts +1 -0
  12. package/dist/LandingPageHeader/index.js +6 -1
  13. package/dist/NavigationMenu/AxosAdvisorServices/NavBar.module.js +56 -53
  14. package/dist/NavigationMenu/AxosAdvisorServices/NavData.js +1 -1
  15. package/dist/NavigationMenu/AxosAdvisorServices/SubNavBar.d.ts +1 -1
  16. package/dist/NavigationMenu/AxosAdvisorServices/SubNavBar.js +15 -11
  17. package/dist/NavigationMenu/AxosAdvisorServices/index.js +1 -1
  18. package/dist/Table/Table.d.ts +2 -2
  19. package/dist/assets/NavigationMenu/AxosAdvisorServices/NavBar.css.css +610 -602
  20. package/dist/icons/Logos/AAS.d.ts +6 -0
  21. package/dist/icons/Logos/AAS.js +33 -0
  22. package/dist/icons/Logos/AFS.d.ts +6 -0
  23. package/dist/icons/Logos/AFS.js +33 -0
  24. package/dist/icons/Logos/AXA.d.ts +6 -0
  25. package/dist/icons/Logos/AXA.js +35 -0
  26. package/dist/icons/Logos/AXC.d.ts +6 -0
  27. package/dist/icons/Logos/AXC.js +33 -0
  28. package/dist/icons/Logos/AXI.d.ts +6 -0
  29. package/dist/icons/Logos/AXI.js +59 -0
  30. package/dist/icons/Logos/AXOS.d.ts +6 -0
  31. package/dist/icons/Logos/AXOS.js +34 -0
  32. package/dist/icons/index.d.ts +7 -1
  33. package/dist/icons/index.js +24 -12
  34. package/dist/main.js +29 -12
  35. package/package.json +1 -1
@@ -5,9 +5,9 @@ import "../icons/CheckIcon/CheckIcon.css.js";
5
5
  /* empty css */
6
6
  /* empty css */
7
7
  /* empty css */
8
+ /* empty css */
8
9
  import SvgLockIcon from "../icons/LockIcon/index.js";
9
10
  import { SvgWarningIcon } from "../icons/WarningIcon/index.js";
10
- /* empty css */
11
11
  import { alertBanner, alertBanner_img_section, alertBanner_body, alertBanner_cta } from "./AlertBanner.css.js";
12
12
  const AlertBanner = ({
13
13
  alertType,
@@ -1,5 +1,5 @@
1
- import { FC, ReactNode } from 'react';
2
1
  import { QuaternaryTypes } from '../utils/variant.types';
2
+ import { FC, ReactNode } from 'react';
3
3
  import { ArticleProps } from '../Article';
4
4
 
5
5
  export interface ArticleSetProps {
@@ -48,7 +48,7 @@ const ArticlesSet = ({
48
48
  {
49
49
  id: "Symbols",
50
50
  stroke: "none",
51
- "stroke-width": "1",
51
+ strokeWidth: "1",
52
52
  fill: "none",
53
53
  "fill-rule": "evenodd",
54
54
  transform: "rotate(90deg)",
@@ -2,15 +2,15 @@ import { jsx, Fragment } from "react/jsx-runtime";
2
2
  import { AwardsItem } from "../AwardsItem/AwardsItem.js";
3
3
  import { awards_section, awards_row } from "./AwardsBanner.css.js";
4
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(
5
+ return /* @__PURE__ */ jsx("section", { className: awards_section, id, children: /* @__PURE__ */ jsx("div", { className: "containment", children: /* @__PURE__ */ jsx("div", { className: `${awards_row} flex middle mobile`, children: awardsItems?.map((award) => /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsx(
6
6
  AwardsItem,
7
7
  {
8
- id: `id_${id}`,
8
+ id: award?.id,
9
9
  starRating: award?.starRating,
10
10
  awardsName: award?.awardsName,
11
11
  awardsSource: award?.awardsSource
12
12
  },
13
- index
13
+ award?.id
14
14
  ) })) }) }) });
15
15
  };
16
16
  export {
@@ -76,6 +76,26 @@ const calculators = /* @__PURE__ */ new Map([
76
76
  [
77
77
  "Calculate a Loan Payment",
78
78
  { src: "https://www.fintactix.com/bofi/tools/debt/d08" }
79
+ ],
80
+ [
81
+ "Compare Two Vehicle Loans",
82
+ {
83
+ src: "https://www.fintactix.com/bofi/tools/auto/a05"
84
+ }
85
+ ],
86
+ [
87
+ "Calculate a Mortgage Payment",
88
+ {
89
+ src: "https://www.fintactix.com/bofi/tools/mortgage/m01"
90
+ }
91
+ ],
92
+ [
93
+ "Time to Refinance?",
94
+ { src: "https://www.fintactix.com/bofi/tools/mortgage/m07" }
95
+ ],
96
+ [
97
+ "Rent or buy?",
98
+ { src: "https://www.fintactix.com/bofi/tools/mortgage/m02" }
79
99
  ]
80
100
  ]);
81
101
  export {
@@ -6,10 +6,10 @@ import "../icons/CheckIcon/CheckIcon.css.js";
6
6
  /* empty css */
7
7
  /* empty css */
8
8
  /* empty css */
9
+ /* empty css */
9
10
  import SvgQuoteIconGrey from "../icons/QuoteIconGrey.js";
10
11
  import SvgQuoteIconWhite from "../icons/QuoteIconWhite.js";
11
12
  import SvgQuoteIconYellow from "../icons/QuoteIconYellow.js";
12
- /* empty css */
13
13
  /* empty css */
14
14
  /* empty css */
15
15
  import { getVariant } from "../utils/getVariant.js";
@@ -1,4 +1,5 @@
1
1
  import { jsx, jsxs } from "react/jsx-runtime";
2
+ import { Hyperlink } from "../Hyperlink/index.js";
2
3
  import { getVariant } from "../utils/getVariant.js";
3
4
  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
5
  const ExecutiveBio = ({
@@ -88,9 +89,9 @@ const ExecutiveBio = ({
88
89
  children: [
89
90
  executiveLinkedIn && /* @__PURE__ */ jsxs("div", { className: "flex middle", children: [
90
91
  /* @__PURE__ */ jsx(
91
- "a",
92
+ Hyperlink,
92
93
  {
93
- href: `${executiveLinkedIn}`,
94
+ targetUrl: `${executiveLinkedIn}`,
94
95
  className: `${headline_setting({ variant })} btn_link`,
95
96
  children: "LinkedIn"
96
97
  }
@@ -117,9 +118,9 @@ const ExecutiveBio = ({
117
118
  ] }),
118
119
  executiveWebsite && /* @__PURE__ */ jsxs("div", { className: "flex middle", children: [
119
120
  /* @__PURE__ */ jsx(
120
- "a",
121
+ Hyperlink,
121
122
  {
122
- href: `${executiveWebsite}`,
123
+ targetUrl: `${executiveWebsite}`,
123
124
  className: `${headline_setting({ variant })} btn_link`,
124
125
  children: "Website"
125
126
  }
@@ -134,7 +134,7 @@ function SuccesFormWrapper({
134
134
  }
135
135
  ),
136
136
  /* @__PURE__ */ jsx("h1", { id: "submittedText", children: headline || "Submitted!" }),
137
- /* @__PURE__ */ jsx("p", { id: "thankYouText", children: bodyCopy ? bodyCopy : /* @__PURE__ */ jsxs(Fragment, { children: [
137
+ /* @__PURE__ */ jsx("div", { id: "thankYouText", children: bodyCopy ? bodyCopy : /* @__PURE__ */ jsxs(Fragment, { children: [
138
138
  "Thank you!",
139
139
  /* @__PURE__ */ jsx("br", {}),
140
140
  "A Banking expert will be in contact with you shortly"
@@ -3,5 +3,6 @@ import { QuaternaryTypes } from '../utils/variant.types';
3
3
  export interface LandingPageHeaderProps {
4
4
  id: string;
5
5
  variant: QuaternaryTypes;
6
+ project?: string;
6
7
  }
7
- export declare const LandingPageHeader: ({ id, variant: fullVariant, }: LandingPageHeaderProps) => import("react/jsx-runtime").JSX.Element;
8
+ export declare const LandingPageHeader: ({ id, variant: fullVariant, project, }: LandingPageHeaderProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,84 +1,99 @@
1
- import { jsx, jsxs } from "react/jsx-runtime";
1
+ import { jsx } from "react/jsx-runtime";
2
+ import "../icons/ArrowIcon/ArrowIcon.css.js";
3
+ import "../icons/CheckIcon/CheckIcon.css.js";
4
+ /* empty css */
5
+ /* empty css */
6
+ /* empty css */
7
+ /* empty css */
8
+ import SvgComponent$3 from "../icons/Logos/AAS.js";
9
+ import SvgComponent$1 from "../icons/Logos/AFS.js";
10
+ import SvgComponent from "../icons/Logos/AXA.js";
11
+ import SvgComponent$2 from "../icons/Logos/AXC.js";
12
+ import SvgComponent$4 from "../icons/Logos/AXI.js";
13
+ import SvgComponent$5 from "../icons/Logos/AXOS.js";
2
14
  import { getVariant } from "../utils/getVariant.js";
3
- import { lp_theme, lp_container, lp_hover, svg_fill } from "./LandingPageHeader.css.js";
15
+ import { svg_fill, lp_theme, lp_container, lp_hover } from "./LandingPageHeader.css.js";
4
16
  const LandingPageHeader = ({
5
17
  id,
6
- variant: fullVariant = "primary"
18
+ variant: fullVariant = "primary",
19
+ project = "AXB"
7
20
  }) => {
8
21
  const variant = getVariant(fullVariant);
22
+ const website = /* @__PURE__ */ new Map([
23
+ [
24
+ "AXA",
25
+ /* @__PURE__ */ jsx(
26
+ SvgComponent,
27
+ {
28
+ classNameFill: `${svg_fill({ variant })}`,
29
+ height: 36,
30
+ width: 120
31
+ }
32
+ )
33
+ ],
34
+ [
35
+ "AFS",
36
+ /* @__PURE__ */ jsx(
37
+ SvgComponent$1,
38
+ {
39
+ classNameFill: `${svg_fill({ variant })}`,
40
+ height: 36,
41
+ width: 120
42
+ }
43
+ )
44
+ ],
45
+ [
46
+ "AXC",
47
+ /* @__PURE__ */ jsx(
48
+ SvgComponent$2,
49
+ {
50
+ classNameFill: `${svg_fill({ variant })}`,
51
+ height: 36,
52
+ width: 120
53
+ }
54
+ )
55
+ ],
56
+ [
57
+ "AAS",
58
+ /* @__PURE__ */ jsx(
59
+ SvgComponent$3,
60
+ {
61
+ classNameFill: `${svg_fill({ variant })}`,
62
+ height: 36,
63
+ width: 120
64
+ }
65
+ )
66
+ ],
67
+ [
68
+ "AXI",
69
+ /* @__PURE__ */ jsx(
70
+ SvgComponent$4,
71
+ {
72
+ classNameFill: `${svg_fill({ variant })}`,
73
+ height: 36,
74
+ width: 120
75
+ }
76
+ )
77
+ ],
78
+ [
79
+ "AXB",
80
+ /* @__PURE__ */ jsx(
81
+ SvgComponent$5,
82
+ {
83
+ height: 30,
84
+ width: 120,
85
+ classNameFill: `${svg_fill({ variant })}`
86
+ }
87
+ )
88
+ ]
89
+ ]);
9
90
  return /* @__PURE__ */ jsx("header", { className: `${lp_theme({ variant })}`, id: `id_${id}`, children: /* @__PURE__ */ jsx("div", { className: `${lp_container} flex center middle`, children: /* @__PURE__ */ jsx(
10
91
  "a",
11
92
  {
12
93
  href: "/",
13
94
  className: lp_hover,
14
95
  "aria-label": "axos logo, return to homepage",
15
- children: /* @__PURE__ */ jsxs(
16
- "svg",
17
- {
18
- width: "120",
19
- height: "27",
20
- viewBox: "0 0 120 27",
21
- fill: "none",
22
- xmlns: "http://www.w3.org/2000/svg",
23
- children: [
24
- /* @__PURE__ */ jsx(
25
- "path",
26
- {
27
- d: "M35.9428 0.576394C35.4899 0.123506 34.79 0.123506 34.3371 0.576394L33.6784 1.23514C33.2255 1.68803 33.2255 2.38794 33.6784 2.84083L44.0948 13.2984L33.6784 23.756C33.2255 24.2089 33.2255 24.9088 33.6784 25.3617L34.3371 26.0204C34.79 26.4733 35.4899 26.4733 35.9428 26.0204L48.6237 13.2984L35.9428 0.576394Z",
28
- fill: "#FAA74A"
29
- }
30
- ),
31
- /* @__PURE__ */ jsx(
32
- "path",
33
- {
34
- d: "M115.157 2.38795C115.157 1.02929 116.186 0 117.545 0C118.903 0 119.933 1.02929 119.933 2.38795C119.933 3.74661 118.903 4.7759 117.545 4.7759C116.186 4.7759 115.157 3.74661 115.157 2.38795ZM119.645 2.38795C119.645 1.1528 118.78 0.288201 117.545 0.288201C116.31 0.288201 115.445 1.19398 115.445 2.38795C115.445 3.6231 116.31 4.4877 117.545 4.4877C118.739 4.52887 119.645 3.58193 119.645 2.38795ZM117.133 3.58193H116.804V1.11163C116.968 1.07046 117.174 1.07046 117.38 1.07046C117.998 1.07046 118.368 1.35866 118.368 1.89389C118.368 2.30561 118.08 2.55264 117.792 2.63498L118.615 3.6231H118.245L117.504 2.71732H117.174L117.133 3.58193ZM117.133 2.42912H117.421C117.751 2.42912 118.039 2.26444 118.039 1.89389C118.039 1.56452 117.792 1.39983 117.38 1.39983C117.298 1.39983 117.174 1.39983 117.092 1.39983L117.133 2.42912Z",
35
- fill: "#1e3860",
36
- className: `${svg_fill({ variant })}`
37
- }
38
- ),
39
- /* @__PURE__ */ jsx(
40
- "path",
41
- {
42
- d: "M105.687 11.8162C105.687 11.8162 104.493 11.528 103.835 11.281C101.735 10.5399 99.7999 9.42828 99.7999 7.41088C99.7999 5.0641 101.817 3.4584 104.864 3.4584C106.881 3.4584 108.446 4.03481 109.558 5.14644L109.928 5.51698C110.381 5.96987 111.081 5.96987 111.534 5.51698L112.193 4.85824C112.645 4.40535 112.645 3.70543 112.193 3.25255C112.028 3.04669 111.822 2.882 111.822 2.882C110.052 1.19397 107.623 0.288193 104.864 0.288193C102.353 0.288193 100.335 0.946938 98.6471 2.34677C97.0414 3.70543 96.2592 5.39347 96.2592 7.45205C96.2592 12.475 100.953 13.7101 105.07 14.8218L105.193 14.8629C108.816 15.7275 110.628 17.1685 110.628 19.1448C110.628 21.6562 108.528 23.1384 105.07 23.1384C102.888 23.1384 100.953 22.3973 99.6352 21.0798L99.2647 20.7093C98.8118 20.2564 98.1119 20.2564 97.659 20.7093L96.8767 21.4916C96.4239 21.9444 96.4239 22.6444 96.8767 23.0972L97.2473 23.4678C99.1412 25.3205 101.859 26.3498 105.07 26.3498C107.746 26.3498 109.928 25.6911 111.657 24.3324C113.345 23.0561 114.169 21.2857 114.169 19.1036C114.251 14.4512 110.216 12.8455 105.687 11.8162Z",
43
- fill: "#1e3860",
44
- className: `${svg_fill({ variant })}`
45
- }
46
- ),
47
- /* @__PURE__ */ jsx(
48
- "path",
49
- {
50
- d: "M76.4145 0.247032C69.2094 0.247032 63.4042 6.0934 63.4042 13.2984C63.4042 20.5035 69.2094 26.3498 76.4145 26.3498C83.6195 26.3498 89.4247 20.5035 89.4247 13.2984C89.4247 6.0934 83.5783 0.247032 76.4145 0.247032ZM76.4145 3.45842C81.8491 3.45842 86.2545 7.86378 86.2545 13.2984C86.2545 18.7331 81.8491 23.1384 76.4145 23.1384C70.9798 23.1384 66.5744 18.7331 66.5744 13.2984C66.5744 7.86378 70.9798 3.45842 76.4145 3.45842Z",
51
- fill: "#1e3860",
52
- className: `${svg_fill({ variant })}`
53
- }
54
- ),
55
- /* @__PURE__ */ jsx(
56
- "path",
57
- {
58
- d: "M59.04 25.3617L58.3812 26.0204C57.9284 26.4733 57.2284 26.4733 56.7755 26.0204L47.9237 17.1685L50.1881 14.9041L59.04 23.756C59.4929 24.1677 59.4929 24.9088 59.04 25.3617Z",
59
- fill: "#1e3860",
60
- className: `${svg_fill({ variant })}`
61
- }
62
- ),
63
- /* @__PURE__ */ jsx(
64
- "path",
65
- {
66
- d: "M59.04 1.23514L58.3812 0.576394C57.9284 0.123506 57.2284 0.123506 56.7755 0.576394L47.9237 9.42828L50.1881 11.6927L59.04 2.84083C59.4929 2.42911 59.4929 1.68803 59.04 1.23514Z",
67
- fill: "#1e3860",
68
- className: `${svg_fill({ variant })}`
69
- }
70
- ),
71
- /* @__PURE__ */ jsx(
72
- "path",
73
- {
74
- d: "M22.8502 13.3396C22.8091 18.7331 18.4037 23.1384 13.0102 23.1384C7.57557 23.1384 3.17021 18.7331 3.17021 13.2984C3.17021 7.86378 7.61674 3.45842 13.0102 3.45842C18.4037 3.45842 22.8091 7.8226 22.8502 13.2573V13.3396ZM24.9088 0.247032H23.9619C23.3443 0.247032 22.8091 0.741091 22.8091 1.39984V4.73474C20.4623 1.97624 16.9627 0.247032 13.0102 0.247032C5.80519 0.247032 0 6.0934 0 13.2984C0 20.5035 5.84636 26.3498 13.0102 26.3498C16.9215 26.3498 20.4623 24.6206 22.8502 21.8621V25.197C22.8502 25.8146 23.3443 26.3498 24.003 26.3498H24.95C25.5676 26.3498 26.1028 25.8558 26.1028 25.197V1.39984C26.0616 0.782263 25.5676 0.247032 24.9088 0.247032Z",
75
- fill: "#1e3860",
76
- className: `${svg_fill({ variant })}`
77
- }
78
- )
79
- ]
80
- }
81
- )
96
+ children: website.get(project)
82
97
  }
83
98
  ) }) });
84
99
  };
@@ -1 +1,2 @@
1
1
  export * from './LandingPageHeader';
2
+ export * from './LandingPageHeader.css';
@@ -1,4 +1,9 @@
1
1
  import { LandingPageHeader } from "./LandingPageHeader.js";
2
+ import { lp_container, lp_hover, lp_theme, svg_fill } from "./LandingPageHeader.css.js";
2
3
  export {
3
- LandingPageHeader
4
+ LandingPageHeader,
5
+ lp_container,
6
+ lp_hover,
7
+ lp_theme,
8
+ svg_fill
4
9
  };
@@ -1,59 +1,61 @@
1
- const header = "_header_4yygj_1";
2
- const wrapper = "_wrapper_4yygj_9";
3
- const header_main_row = "_header_main_row_4yygj_21";
4
- const mobile_header = "_mobile_header_4yygj_23";
5
- const logo_wrap = "_logo_wrap_4yygj_35";
6
- const primary_links = "_primary_links_4yygj_43";
7
- const main_nav_link = "_main_nav_link_4yygj_51";
8
- const sub_nav_link = "_sub_nav_link_4yygj_95";
9
- const signin_wrap = "_signin_wrap_4yygj_99";
10
- const signin_btn = "_signin_btn_4yygj_101";
11
- const sub_nav = "_sub_nav_4yygj_95";
12
- const header_sub_row = "_header_sub_row_4yygj_185";
13
- const signin_dropdown = "_signin_dropdown_4yygj_217";
14
- const shadow = "_shadow_4yygj_237";
15
- const signin_header = "_signin_header_4yygj_253";
16
- const signin_subheader = "_signin_subheader_4yygj_267";
17
- const opacity = "_opacity_4yygj_311";
18
- const fadeInDown = "_fadeInDown_4yygj_1";
19
- const footer = "_footer_4yygj_323";
20
- const open = "_open_4yygj_355";
21
- const dd_wrapper = "_dd_wrapper_4yygj_379";
22
- const dd_media = "_dd_media_4yygj_389";
23
- const dd_media_img = "_dd_media_img_4yygj_399";
24
- const dd_site_navs = "_dd_site_navs_4yygj_407";
25
- const dd_media_header = "_dd_media_header_4yygj_421";
26
- const mt_8 = "_mt_8_4yygj_439";
27
- const mt_16 = "_mt_16_4yygj_447";
28
- const ml_8 = "_ml_8_4yygj_455";
29
- const dd_media_cta = "_dd_media_cta_4yygj_463";
30
- const reversed_row = "_reversed_row_4yygj_491";
31
- const headline = "_headline_4yygj_523";
32
- const nav_anchor = "_nav_anchor_4yygj_535";
33
- const headline_cta = "_headline_cta_4yygj_551";
34
- const site_lists = "_site_lists_4yygj_581";
35
- const hamburger = "_hamburger_4yygj_651";
36
- const mobile_only = "_mobile_only_4yygj_679";
37
- const mobile_logo = "_mobile_logo_4yygj_691";
38
- const highlight = "_highlight_4yygj_701";
39
- const mobile_nav = "_mobile_nav_4yygj_773";
40
- const mobile_opened = "_mobile_opened_4yygj_795";
41
- const mobile_nav_item = "_mobile_nav_item_4yygj_803";
42
- const has_dropdown = "_has_dropdown_4yygj_833";
43
- const icon_wrap = "_icon_wrap_4yygj_875";
44
- const mobile_footer = "_mobile_footer_4yygj_885";
45
- const mobile_footer_content = "_mobile_footer_content_4yygj_895";
46
- const mobile_footer_media = "_mobile_footer_media_4yygj_923";
47
- const footer_cta = "_footer_cta_4yygj_935";
48
- const inner_wrapper = "_inner_wrapper_4yygj_991";
49
- const btn = "_btn_4yygj_1001";
50
- const sub_menu = "_sub_menu_4yygj_1011";
51
- const main = "_main_4yygj_51";
52
- const dd_footer = "_dd_footer_4yygj_1061";
53
- const desktop_only = "_desktop_only_4yygj_1101";
1
+ const header = "_header_ltfms_1";
2
+ const wrapper = "_wrapper_ltfms_5";
3
+ const main_nav = "_main_nav_ltfms_11";
4
+ const header_main_row = "_header_main_row_ltfms_18";
5
+ const mobile_header = "_mobile_header_ltfms_19";
6
+ const logo_wrap = "_logo_wrap_ltfms_25";
7
+ const primary_links = "_primary_links_ltfms_29";
8
+ const main_nav_link = "_main_nav_link_ltfms_33";
9
+ const sub_nav_link = "_sub_nav_link_ltfms_55";
10
+ const signin_wrap = "_signin_wrap_ltfms_57";
11
+ const signin_btn = "_signin_btn_ltfms_58";
12
+ const sub_nav = "_sub_nav_ltfms_55";
13
+ const header_sub_row = "_header_sub_row_ltfms_100";
14
+ const signin_dropdown = "_signin_dropdown_ltfms_116";
15
+ const shadow = "_shadow_ltfms_126";
16
+ const signin_header = "_signin_header_ltfms_134";
17
+ const signin_subheader = "_signin_subheader_ltfms_141";
18
+ const opacity = "_opacity_ltfms_163";
19
+ const fadeInDown = "_fadeInDown_ltfms_1";
20
+ const footer = "_footer_ltfms_169";
21
+ const open = "_open_ltfms_185";
22
+ const dd_wrapper = "_dd_wrapper_ltfms_197";
23
+ const dd_media = "_dd_media_ltfms_202";
24
+ const dd_media_img = "_dd_media_img_ltfms_207";
25
+ const dd_site_navs = "_dd_site_navs_ltfms_211";
26
+ const dd_media_header = "_dd_media_header_ltfms_218";
27
+ const mt_8 = "_mt_8_ltfms_227";
28
+ const mt_16 = "_mt_16_ltfms_231";
29
+ const ml_8 = "_ml_8_ltfms_235";
30
+ const dd_media_cta = "_dd_media_cta_ltfms_239";
31
+ const reversed_row = "_reversed_row_ltfms_253";
32
+ const headline = "_headline_ltfms_269";
33
+ const nav_anchor = "_nav_anchor_ltfms_275";
34
+ const headline_cta = "_headline_cta_ltfms_283";
35
+ const site_lists = "_site_lists_ltfms_298";
36
+ const hamburger = "_hamburger_ltfms_333";
37
+ const mobile_only = "_mobile_only_ltfms_347";
38
+ const mobile_logo = "_mobile_logo_ltfms_353";
39
+ const highlight = "_highlight_ltfms_358";
40
+ const mobile_nav = "_mobile_nav_ltfms_394";
41
+ const mobile_opened = "_mobile_opened_ltfms_405";
42
+ const mobile_nav_item = "_mobile_nav_item_ltfms_409";
43
+ const has_dropdown = "_has_dropdown_ltfms_424";
44
+ const icon_wrap = "_icon_wrap_ltfms_445";
45
+ const mobile_footer = "_mobile_footer_ltfms_450";
46
+ const mobile_footer_content = "_mobile_footer_content_ltfms_455";
47
+ const mobile_footer_media = "_mobile_footer_media_ltfms_469";
48
+ const footer_cta = "_footer_cta_ltfms_475";
49
+ const inner_wrapper = "_inner_wrapper_ltfms_503";
50
+ const btn = "_btn_ltfms_508";
51
+ const sub_menu = "_sub_menu_ltfms_514";
52
+ const main = "_main_ltfms_11";
53
+ const dd_footer = "_dd_footer_ltfms_539";
54
+ const desktop_only = "_desktop_only_ltfms_559";
54
55
  const styles = {
55
56
  header,
56
57
  wrapper,
58
+ main_nav,
57
59
  header_main_row,
58
60
  mobile_header,
59
61
  logo_wrap,
@@ -132,6 +134,7 @@ export {
132
134
  inner_wrapper,
133
135
  logo_wrap,
134
136
  main,
137
+ main_nav,
135
138
  main_nav_link,
136
139
  ml_8,
137
140
  mobile_footer,
@@ -20,7 +20,7 @@ const subNavItems = {
20
20
  },
21
21
  {
22
22
  name: "Sales Team",
23
- url: "/personalized-support/sales-team",
23
+ url: "/sales-team",
24
24
  id: "ps_3"
25
25
  }
26
26
  ],
@@ -1 +1 @@
1
- export default function SubNavBar(): import("react/jsx-runtime").JSX.Element | null;
1
+ export default function SubNavBar(): import("react/jsx-runtime").JSX.Element;
@@ -1,5 +1,6 @@
1
1
  "use client";
2
- import { jsx, jsxs } from "react/jsx-runtime";
2
+ import { jsx, jsxs, Fragment } from "react/jsx-runtime";
3
+ import { useState, useEffect } from "react";
3
4
  import { useLocation } from "react-use";
4
5
  import styles from "./NavBar.module.js";
5
6
  import { subNavItems } from "./NavData.js";
@@ -9,15 +10,18 @@ function SubNavBar() {
9
10
  const support = subNavItems.support;
10
11
  const technology = subNavItems.technology;
11
12
  const solutions = subNavItems.solutions;
12
- if (![
13
- "/personalized-support",
14
- "/intuitive-technology",
15
- "/sales-team",
16
- "/growth-solutions"
17
- ].some((el) => pathname?.includes(el))) {
18
- return null;
19
- }
20
- return /* @__PURE__ */ jsx("div", { className: `${styles.sub_nav} ${sub_nav} ${styles.desktop_only}`, children: /* @__PURE__ */ jsx("div", { className: styles.wrapper, children: /* @__PURE__ */ jsx("div", { className: styles.header_sub_row, children: /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsxs("ul", { className: "list_unstyled flex_row middle", children: [
13
+ const [showNavbar, setShowNavbar] = useState(false);
14
+ useEffect(() => {
15
+ setShowNavbar(
16
+ () => [
17
+ "/personalized-support",
18
+ "/intuitive-technology",
19
+ "/sales-team",
20
+ "/growth-solutions"
21
+ ].some((el) => pathname?.includes(el))
22
+ );
23
+ }, [pathname]);
24
+ return showNavbar ? /* @__PURE__ */ jsx("div", { className: `${styles.sub_nav} ${sub_nav} ${styles.desktop_only}`, children: /* @__PURE__ */ jsx("div", { className: styles.wrapper, children: /* @__PURE__ */ jsx("div", { className: styles.header_sub_row, children: /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsxs("ul", { className: "list_unstyled flex_row middle", children: [
21
25
  (pathname?.includes("/personalized-support") || pathname?.includes("/sales-team")) && support?.map(
22
26
  (item) => /* @__PURE__ */ jsx("li", { className: styles.sub_nav_link, children: /* @__PURE__ */ jsx("a", { href: item.url, role: "menuitem", children: item.name }) }, `snb-${item.id}`)
23
27
  ),
@@ -27,7 +31,7 @@ function SubNavBar() {
27
31
  pathname?.includes("/growth-solutions") && solutions.map(
28
32
  (item) => /* @__PURE__ */ jsx("li", { className: styles.sub_nav_link, children: /* @__PURE__ */ jsx("a", { href: item.url, role: "menuitem", children: item.name }) }, `snb-${item.id}`)
29
33
  )
30
- ] }) }) }) }) });
34
+ ] }) }) }) }) }) : /* @__PURE__ */ jsx(Fragment, {});
31
35
  }
32
36
  export {
33
37
  SubNavBar as default
@@ -47,7 +47,7 @@ function NavBar() {
47
47
  });
48
48
  return /* @__PURE__ */ jsxs("header", { id: "header", children: [
49
49
  /* @__PURE__ */ jsx("div", { className: `${styles.header} bg_white`, children: /* @__PURE__ */ jsx("div", { className: styles.wrapper, children: /* @__PURE__ */ jsxs("div", { className: `${styles.header_main_row} flex_row between middle`, children: [
50
- /* @__PURE__ */ jsx("div", { className: `${styles.desktop_only} flex_row middle`, children: /* @__PURE__ */ jsxs("div", { className: `${styles.main_nav} flex_row middle`, children: [
50
+ /* @__PURE__ */ jsx("div", { className: `${styles.desktop_only} flex_row middle`, children: /* @__PURE__ */ jsxs("div", { className: `${styles.main_nav_link} flex_row middle`, children: [
51
51
  /* @__PURE__ */ jsx("div", { className: styles.logo_wrap, children: /* @__PURE__ */ jsx(
52
52
  "a",
53
53
  {
@@ -28,7 +28,7 @@ export declare const TableCell: ({ children, as, variant, highlighted, ...props
28
28
  style?: import('react').CSSProperties | undefined;
29
29
  tabIndex?: number | undefined;
30
30
  title?: string | undefined;
31
- translate?: "yes" | "no" | undefined;
31
+ translate?: "no" | "yes" | undefined;
32
32
  radioGroup?: string | undefined;
33
33
  role?: import('react').AriaRole | undefined;
34
34
  about?: string | undefined;
@@ -53,7 +53,7 @@ export declare const TableCell: ({ children, as, variant, highlighted, ...props
53
53
  itemRef?: string | undefined;
54
54
  results?: number | undefined;
55
55
  security?: string | undefined;
56
- unselectable?: "on" | "off" | undefined;
56
+ unselectable?: "off" | "on" | undefined;
57
57
  inputMode?: "search" | "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
58
58
  is?: string | undefined;
59
59
  "aria-activedescendant"?: string | undefined;