@axos-web-dev/shared-components 0.0.60 → 0.0.62

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 (71) hide show
  1. package/dist/Calculators/Calculator.d.ts +13 -0
  2. package/dist/Calculators/Calculator.js +119 -0
  3. package/dist/Calculators/calculator.css.d.ts +42 -0
  4. package/dist/Calculators/calculator.css.js +11 -0
  5. package/dist/Calculators/calculators.d.ts +7 -0
  6. package/dist/Calculators/calculators.js +83 -0
  7. package/dist/Calculators/index.d.ts +2 -0
  8. package/dist/Calculators/index.js +7 -0
  9. package/dist/Carousel/index.js +16 -11
  10. package/dist/Chevron/index.js +17 -12
  11. package/dist/ContentBanner/ContentBanner.css.d.ts +7 -2
  12. package/dist/ContentBanner/ContentBanner.css.js +10 -6
  13. package/dist/ContentBanner/ContentBanner.interface.d.ts +7 -3
  14. package/dist/ContentBanner/index.js +8 -3
  15. package/dist/ExecutiveBio/ExecutiveBio.css.d.ts +24 -128
  16. package/dist/FooterSiteMap/AxosBank/FooterSiteMap.js +17 -12
  17. package/dist/Forms/ContactUsBusiness.js +11 -6
  18. package/dist/Forms/EmailOnly.js +12 -7
  19. package/dist/Forms/RenderForm.js +7 -2
  20. package/dist/Forms/SuccesForm.js +7 -2
  21. package/dist/Hyperlink/index.js +17 -12
  22. package/dist/ImageLink/ImageLink.js +17 -12
  23. package/dist/ImageLink/ImageLinkSet.js +17 -12
  24. package/dist/ImageLink/index.js +17 -12
  25. package/dist/Modal/Modal.js +18 -13
  26. package/dist/SetContainer/SetContainer.js +17 -12
  27. package/dist/StepItem/StepItem.css.d.ts +99 -0
  28. package/dist/StepItem/StepItem.css.js +21 -0
  29. package/dist/StepItem/StepItem.d.ts +10 -0
  30. package/dist/{StepItems/StepItems.js → StepItem/StepItem.js} +9 -9
  31. package/dist/StepItem/index.d.ts +2 -0
  32. package/dist/StepItem/index.js +12 -0
  33. package/dist/StepItemSet/StepItemSet.css.d.ts +61 -0
  34. package/dist/StepItemSet/StepItemSet.css.js +30 -0
  35. package/dist/StepItemSet/StepItemSet.d.ts +17 -0
  36. package/dist/{StepItems/StepItemsSet.js → StepItemSet/StepItemSet.js} +20 -25
  37. package/dist/StepItemSet/index.d.ts +2 -0
  38. package/dist/StepItemSet/index.js +17 -0
  39. package/dist/TopicalNavItem/TopicalNavItem.css.d.ts +5 -0
  40. package/dist/TopicalNavItem/TopicalNavItem.css.js +13 -0
  41. package/dist/TopicalNavItem/TopicalNavItem.d.ts +10 -0
  42. package/dist/TopicalNavItem/TopicalNavItem.js +46 -0
  43. package/dist/TopicalNavItem/index.d.ts +2 -0
  44. package/dist/TopicalNavItem/index.js +10 -0
  45. package/dist/TopicalNavSet/TopicalNavSet.css.d.ts +3 -0
  46. package/dist/TopicalNavSet/TopicalNavSet.css.js +9 -0
  47. package/dist/TopicalNavSet/TopicalNavSet.d.ts +8 -0
  48. package/dist/TopicalNavSet/TopicalNavSet.js +21 -0
  49. package/dist/TopicalNavSet/index.d.ts +2 -0
  50. package/dist/TopicalNavSet/index.js +8 -0
  51. package/dist/assets/AwardsBanner/AwardsBanner.css +3 -0
  52. package/dist/assets/AwardsItem/AwardsItem.css +9 -3
  53. package/dist/assets/Calculators/calculator.css +47 -0
  54. package/dist/assets/ContentBanner/ContentBanner.css +33 -11
  55. package/dist/assets/ExecutiveBio/ExecutiveBio.css +28 -100
  56. package/dist/assets/StepItem/StepItem.css +144 -0
  57. package/dist/assets/StepItemSet/StepItemSet.css +119 -0
  58. package/dist/assets/TopicalNavItem/TopicalNavItem.css +102 -0
  59. package/dist/assets/TopicalNavSet/TopicalNavSet.css +21 -0
  60. package/dist/main.d.ts +6 -2
  61. package/dist/main.js +27 -7
  62. package/package.json +3 -1
  63. package/dist/StepItems/StepItems.css.d.ts +0 -132
  64. package/dist/StepItems/StepItems.css.js +0 -45
  65. package/dist/StepItems/StepItems.d.ts +0 -3
  66. package/dist/StepItems/StepItems.interface.d.ts +0 -21
  67. package/dist/StepItems/StepItems.interface.js +0 -1
  68. package/dist/StepItems/StepItemsSet.d.ts +0 -3
  69. package/dist/StepItems/index.d.ts +0 -4
  70. package/dist/StepItems/index.js +0 -26
  71. package/dist/assets/StepItems/StepItems.css +0 -249
@@ -16,22 +16,11 @@ import "react-use";
16
16
  /* empty css */
17
17
  import "../Article/Article.css.js";
18
18
  import "../ArticlesSet/ArticlesSet.css.js";
19
+ /* empty css */
19
20
  /* empty css */
20
21
  /* empty css */
21
- /* empty css */
22
22
  import "../IconBillboard/IconBillboard.css.js";
23
23
  /* empty css */
24
- import "clsx";
25
- /* empty css */
26
- import "../Carousel/index.js";
27
- /* empty css */
28
- import "../HeroBanner/HeroBanner.css.js";
29
- import "../ContentBanner/ContentBanner.css.js";
30
- /* empty css */
31
- import "../ExecutiveBio/ExecutiveBio.css.js";
32
- import "../FaqAccordion/index.js";
33
- import "../FooterDisclosure/FooterDisclosure.css.js";
34
- /* empty css */
35
24
  import "@hookform/resolvers/zod";
36
25
  import "../Input/Checkbox.js";
37
26
  import "../Input/CurrencyInput.js";
@@ -41,9 +30,22 @@ import "../Input/Input.js";
41
30
  import "../Input/Input.css.js";
42
31
  import "../Input/InputPhone.js";
43
32
  import "../Input/InputTextArea.js";
33
+ import "clsx";
44
34
  import "react-hook-form";
45
35
  import "../Forms/Forms.css.js";
46
36
  import "../Forms/SalesforceFieldsForm.js";
37
+ import "iframe-resizer";
38
+ import "../Calculators/calculator.css.js";
39
+ /* empty css */
40
+ import "../Carousel/index.js";
41
+ /* empty css */
42
+ import "../HeroBanner/HeroBanner.css.js";
43
+ import "../ContentBanner/ContentBanner.css.js";
44
+ /* empty css */
45
+ import "../ExecutiveBio/ExecutiveBio.css.js";
46
+ import "../FaqAccordion/index.js";
47
+ import "../FooterDisclosure/FooterDisclosure.css.js";
48
+ /* empty css */
47
49
  import "../SetContainer/SetContainer.css.js";
48
50
  import "../ImageBillboard/ImageBillboard.css.js";
49
51
  import "../LandingPageHeader/LandingPageHeader.css.js";
@@ -54,9 +56,12 @@ import "./contextApi/store.js";
54
56
  /* empty css */
55
57
  /* empty css */
56
58
  /* empty css */
57
- import "../StepItems/StepItems.css.js";
59
+ import "../StepItem/StepItem.css.js";
60
+ import "../StepItemSet/StepItemSet.css.js";
58
61
  import "../Table/Table.css.js";
59
62
  /* empty css */
63
+ /* empty css */
64
+ /* empty css */
60
65
  import "next/script.js";
61
66
  /* empty css */
62
67
  /* empty css */
@@ -20,18 +20,8 @@ import "react-use";
20
20
  /* empty css */
21
21
  import "../Article/Article.css.js";
22
22
  import "../ArticlesSet/ArticlesSet.css.js";
23
- /* empty css */
24
- /* empty css */
25
- /* empty css */
26
- import "../Carousel/index.js";
27
- /* empty css */
28
- import "../HeroBanner/HeroBanner.css.js";
29
- import "../ContentBanner/ContentBanner.css.js";
30
23
  /* empty css */
31
- import "../ExecutiveBio/ExecutiveBio.css.js";
32
- import "../FaqAccordion/index.js";
33
- import "../FooterDisclosure/FooterDisclosure.css.js";
34
- /* empty css */
24
+ /* empty css */
35
25
  import "@hookform/resolvers/zod";
36
26
  import "../Input/Checkbox.js";
37
27
  import "../Input/CurrencyInput.js";
@@ -44,6 +34,18 @@ import "../Input/InputTextArea.js";
44
34
  import "react-hook-form";
45
35
  import "../Forms/Forms.css.js";
46
36
  import "../Forms/SalesforceFieldsForm.js";
37
+ import "iframe-resizer";
38
+ import "../Calculators/calculator.css.js";
39
+ /* empty css */
40
+ import "../Carousel/index.js";
41
+ /* empty css */
42
+ import "../HeroBanner/HeroBanner.css.js";
43
+ import "../ContentBanner/ContentBanner.css.js";
44
+ /* empty css */
45
+ import "../ExecutiveBio/ExecutiveBio.css.js";
46
+ import "../FaqAccordion/index.js";
47
+ import "../FooterDisclosure/FooterDisclosure.css.js";
48
+ /* empty css */
47
49
  import { set_container, inline_container } from "./SetContainer.css.js";
48
50
  import "../ImageBillboard/ImageBillboard.css.js";
49
51
  import "../LandingPageHeader/LandingPageHeader.css.js";
@@ -55,9 +57,12 @@ import "../Chevron/Chevron.css.js";
55
57
  /* empty css */
56
58
  /* empty css */
57
59
  /* empty css */
58
- import "../StepItems/StepItems.css.js";
60
+ import "../StepItem/StepItem.css.js";
61
+ import "../StepItemSet/StepItemSet.css.js";
59
62
  import "../Table/Table.css.js";
60
63
  /* empty css */
64
+ /* empty css */
65
+ /* empty css */
61
66
  import "next/script.js";
62
67
  /* empty css */
63
68
  /* empty css */
@@ -0,0 +1,99 @@
1
+ export declare const li: string;
2
+ export declare const line_points: import('@vanilla-extract/recipes').RuntimeFn<{
3
+ variant: {
4
+ primary: {
5
+ borderColor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
6
+ };
7
+ secondary: {
8
+ borderColor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
9
+ };
10
+ tertiary: {
11
+ borderColor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
12
+ };
13
+ quaternary: {
14
+ borderColor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
15
+ };
16
+ };
17
+ }>;
18
+ export declare const point: import('@vanilla-extract/recipes').RuntimeFn<{
19
+ variant: {
20
+ primary: {
21
+ selectors: {
22
+ [x: string]: {
23
+ borderColor: "#4D85B0";
24
+ background: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
25
+ } | {
26
+ borderColor: "#4A5560";
27
+ background: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
28
+ };
29
+ };
30
+ };
31
+ secondary: {
32
+ selectors: {
33
+ [x: string]: {
34
+ borderColor: "#4D85B0";
35
+ background: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
36
+ } | {
37
+ borderColor: "#4A5560";
38
+ background: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
39
+ };
40
+ };
41
+ };
42
+ tertiary: {
43
+ selectors: {
44
+ [x: string]: {
45
+ borderColor: "#FAA74A";
46
+ background: "#1E3860";
47
+ } | {
48
+ borderColor: "#FAA74A";
49
+ background: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
50
+ };
51
+ };
52
+ };
53
+ quaternary: {
54
+ selectors: {
55
+ [x: string]: {
56
+ borderColor: "#FAA74A";
57
+ background: "#1E3860";
58
+ } | {
59
+ borderColor: "#FAA74A";
60
+ background: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
61
+ };
62
+ };
63
+ };
64
+ };
65
+ }>;
66
+ export declare const step_num: import('@vanilla-extract/recipes').RuntimeFn<{
67
+ variant: {
68
+ primary: {
69
+ color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
70
+ };
71
+ secondary: {
72
+ color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
73
+ };
74
+ tertiary: {
75
+ color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
76
+ };
77
+ quaternary: {
78
+ color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
79
+ };
80
+ };
81
+ }>;
82
+ export declare const bullet_details: string;
83
+ export declare const bs_topic: import('@vanilla-extract/recipes').RuntimeFn<{
84
+ variant: {
85
+ primary: {
86
+ color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
87
+ };
88
+ secondary: {
89
+ color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
90
+ };
91
+ tertiary: {
92
+ color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
93
+ };
94
+ quaternary: {
95
+ color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
96
+ };
97
+ };
98
+ }>;
99
+ export declare const bs_copy: string;
@@ -0,0 +1,21 @@
1
+ /* empty css */
2
+ /* empty css */
3
+ /* empty css */
4
+ /* empty css */
5
+ import { createRuntimeFn } from "@vanilla-extract/recipes/createRuntimeFn";
6
+ var li = "_1y8r7dk0";
7
+ var line_points = createRuntimeFn({ defaultClassName: "_1y8r7dk1", variantClassNames: { variant: { primary: "_1y8r7dk2", secondary: "_1y8r7dk3", tertiary: "_1y8r7dk4", quaternary: "_1y8r7dk5" } }, defaultVariants: {}, compoundVariants: [] });
8
+ var point = createRuntimeFn({ defaultClassName: "_1y8r7dk6", variantClassNames: { variant: { primary: "_1y8r7dk7", secondary: "_1y8r7dk8", tertiary: "_1y8r7dk9", quaternary: "_1y8r7dka" } }, defaultVariants: {}, compoundVariants: [] });
9
+ var step_num = createRuntimeFn({ defaultClassName: "_1y8r7dkb", variantClassNames: { variant: { primary: "_1y8r7dkc", secondary: "_1y8r7dkd", tertiary: "_1y8r7dke", quaternary: "_1y8r7dkf" } }, defaultVariants: {}, compoundVariants: [] });
10
+ var bullet_details = "_1y8r7dkg";
11
+ var bs_topic = createRuntimeFn({ defaultClassName: "_1y8r7dkh", variantClassNames: { variant: { primary: "_1y8r7dki", secondary: "_1y8r7dkj", tertiary: "_1y8r7dkk", quaternary: "_1y8r7dkl" } }, defaultVariants: {}, compoundVariants: [] });
12
+ var bs_copy = "_1y8r7dkm";
13
+ export {
14
+ bs_copy,
15
+ bs_topic,
16
+ bullet_details,
17
+ li,
18
+ line_points,
19
+ point,
20
+ step_num
21
+ };
@@ -0,0 +1,10 @@
1
+ import { QuaternaryTypes } from '../utils/variant.types';
2
+ import { ReactNode, FC } from 'react';
3
+
4
+ export interface StepItemProps {
5
+ id: string;
6
+ title?: string | ReactNode;
7
+ description?: string | ReactNode;
8
+ variant?: QuaternaryTypes;
9
+ }
10
+ export declare const StepItem: FC<StepItemProps>;
@@ -1,25 +1,25 @@
1
- import { jsxs, jsx } from "react/jsx-runtime";
1
+ import { jsxs, jsx, Fragment } from "react/jsx-runtime";
2
2
  import { getVariant } from "../utils/getVariant.js";
3
- import { li, line_points, point, step_num, bullet_details, bs_topic, bs_copy } from "./StepItems.css.js";
4
- const StepItems = ({
3
+ import { li, line_points, point, step_num, bullet_details, bs_topic, bs_copy } from "./StepItem.css.js";
4
+ const StepItem = ({
5
5
  id,
6
- variant: fullVariant = "primary",
7
6
  title,
8
- description
7
+ description,
8
+ variant: fullVariant = "primary"
9
9
  }) => {
10
10
  const variant = getVariant(fullVariant);
11
11
  let counter = 0;
12
- return /* @__PURE__ */ jsxs("li", { className: `flex ${li}`, children: [
12
+ return /* @__PURE__ */ jsxs("li", { className: `flex ${li}`, id: `id_${id}`, children: [
13
13
  /* @__PURE__ */ jsx("div", { className: `${line_points({ variant })}`, children: /* @__PURE__ */ jsxs("div", { className: "flex middle", children: [
14
14
  /* @__PURE__ */ jsx("div", { className: `${point({ variant })}`, children: " " }),
15
15
  /* @__PURE__ */ jsx("div", { className: `flex center middle ${step_num({ variant })}`, children: ++counter })
16
16
  ] }) }),
17
17
  /* @__PURE__ */ jsxs("div", { className: bullet_details, children: [
18
18
  /* @__PURE__ */ jsx("span", { className: `${bs_topic({ variant })}`, role: "heading", children: title }),
19
- /* @__PURE__ */ jsx("span", { className: bs_copy, children: description })
19
+ /* @__PURE__ */ jsx("span", { className: bs_copy, children: /* @__PURE__ */ jsx(Fragment, { children: description }) })
20
20
  ] })
21
- ] }, id);
21
+ ] });
22
22
  };
23
23
  export {
24
- StepItems
24
+ StepItem
25
25
  };
@@ -0,0 +1,2 @@
1
+ export * from './StepItem.tsx';
2
+ export * from './StepItem.css.ts';
@@ -0,0 +1,12 @@
1
+ import { StepItem } from "./StepItem.js";
2
+ import { bs_copy, bs_topic, bullet_details, li, line_points, point, step_num } from "./StepItem.css.js";
3
+ export {
4
+ StepItem,
5
+ bs_copy,
6
+ bs_topic,
7
+ bullet_details,
8
+ li,
9
+ line_points,
10
+ point,
11
+ step_num
12
+ };
@@ -0,0 +1,61 @@
1
+ export declare const bs_section: import('@vanilla-extract/recipes').RuntimeFn<{
2
+ variant: {
3
+ primary: {
4
+ background: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
5
+ color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
6
+ };
7
+ secondary: {
8
+ background: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
9
+ color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
10
+ };
11
+ tertiary: {
12
+ background: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
13
+ color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
14
+ };
15
+ quaternary: {
16
+ background: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
17
+ color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
18
+ };
19
+ };
20
+ }>;
21
+ export declare const bs_wrapper: string;
22
+ export declare const svg_logo: string;
23
+ export declare const modifier: import('@vanilla-extract/recipes').RuntimeFn<{
24
+ variant: {
25
+ primary: {
26
+ fill: "#1E3860";
27
+ };
28
+ secondary: {
29
+ fill: "#1E3860";
30
+ };
31
+ tertiary: {
32
+ fill: "#FFF";
33
+ };
34
+ quaternary: {
35
+ fill: "#FFF";
36
+ };
37
+ };
38
+ }>;
39
+ export declare const sec_title: import('@vanilla-extract/recipes').RuntimeFn<{
40
+ variant: {
41
+ primary: {
42
+ color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
43
+ };
44
+ secondary: {
45
+ color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
46
+ };
47
+ tertiary: {
48
+ color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
49
+ };
50
+ quaternary: {
51
+ color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
52
+ };
53
+ };
54
+ }>;
55
+ export declare const sec_subtitle: string;
56
+ export declare const tablet_col: string;
57
+ export declare const bs_image: string;
58
+ export declare const steps_wrapper: string;
59
+ export declare const ol: string;
60
+ export declare const bs_btns: string;
61
+ export declare const bs_add_details: string;
@@ -0,0 +1,30 @@
1
+ /* empty css */
2
+ /* empty css */
3
+ /* empty css */
4
+ import { createRuntimeFn } from "@vanilla-extract/recipes/createRuntimeFn";
5
+ var bs_section = createRuntimeFn({ defaultClassName: "_18par6f0", variantClassNames: { variant: { primary: "_18par6f1", secondary: "_18par6f2", tertiary: "_18par6f3", quaternary: "_18par6f4" } }, defaultVariants: {}, compoundVariants: [] });
6
+ var bs_wrapper = "_18par6f5";
7
+ var svg_logo = "_18par6f6";
8
+ var modifier = createRuntimeFn({ defaultClassName: "_18par6f7", variantClassNames: { variant: { primary: "_18par6f8", secondary: "_18par6f9", tertiary: "_18par6fa", quaternary: "_18par6fb" } }, defaultVariants: {}, compoundVariants: [] });
9
+ var sec_title = createRuntimeFn({ defaultClassName: "_18par6fc", variantClassNames: { variant: { primary: "_18par6fd", secondary: "_18par6fe", tertiary: "_18par6ff", quaternary: "_18par6fg" } }, defaultVariants: {}, compoundVariants: [] });
10
+ var sec_subtitle = "_18par6fh";
11
+ var tablet_col = "_18par6fi";
12
+ var bs_image = "_18par6fj";
13
+ var steps_wrapper = "_18par6fk";
14
+ var ol = "_18par6fl";
15
+ var bs_btns = "_18par6fm";
16
+ var bs_add_details = "_18par6fn";
17
+ export {
18
+ bs_add_details,
19
+ bs_btns,
20
+ bs_image,
21
+ bs_section,
22
+ bs_wrapper,
23
+ modifier,
24
+ ol,
25
+ sec_subtitle,
26
+ sec_title,
27
+ steps_wrapper,
28
+ svg_logo,
29
+ tablet_col
30
+ };
@@ -0,0 +1,17 @@
1
+ import { ChevronProps } from '../Chevron/Chevron.interface';
2
+ import { ImageInterface } from '../IconBillboard';
3
+ import { QuaternaryTypes } from '../utils/variant.types';
4
+ import { FC, ReactNode } from 'react';
5
+ import { StepItemProps } from '../StepItem';
6
+
7
+ export interface StepItemSetProps {
8
+ id: string;
9
+ variant?: QuaternaryTypes;
10
+ title?: string | ReactNode;
11
+ description?: string | ReactNode;
12
+ image?: ImageInterface;
13
+ stepItems?: StepItemProps[];
14
+ callToActionRow?: boolean | ChevronProps[];
15
+ additionalDetails?: string | ReactNode;
16
+ }
17
+ export declare const StepItemSet: FC<StepItemSetProps>;
@@ -5,8 +5,10 @@ import "react";
5
5
  import "react-use";
6
6
  import { Chevron } from "../Chevron/index.js";
7
7
  import { getVariant } from "../utils/getVariant.js";
8
- import { bs_section, bs_wrapper, svg_logo, modifier, sec_title, sec_subtitle, tablet_col, bs_image, steps_wrapper, ol, li, line_points, point, step_num, bullet_details, bs_topic, bs_copy, bs_btns, bs_add_details } from "./StepItems.css.js";
9
- const StepItemsSet = ({
8
+ import { StepItem } from "../StepItem/StepItem.js";
9
+ import "../StepItem/StepItem.css.js";
10
+ import { bs_section, bs_wrapper, svg_logo, modifier, sec_title, sec_subtitle, tablet_col, bs_image, steps_wrapper, ol, bs_btns, bs_add_details } from "./StepItemSet.css.js";
11
+ const StepItemSet = ({
10
12
  id,
11
13
  variant: fullVariant = "primary",
12
14
  title,
@@ -17,9 +19,8 @@ const StepItemsSet = ({
17
19
  additionalDetails
18
20
  }) => {
19
21
  const variant = getVariant(fullVariant);
20
- let counter = 0;
21
22
  return /* @__PURE__ */ jsx("section", { className: `${bs_section({ variant })}`, id: `id_${id}`, children: /* @__PURE__ */ jsxs("div", { className: `${bs_wrapper} containment`, children: [
22
- /* @__PURE__ */ jsxs("div", { className: "text_center", children: [
23
+ title || description && /* @__PURE__ */ jsxs("div", { className: "text_center", children: [
23
24
  /* @__PURE__ */ jsxs(
24
25
  "svg",
25
26
  {
@@ -49,11 +50,11 @@ const StepItemsSet = ({
49
50
  ]
50
51
  }
51
52
  ),
52
- /* @__PURE__ */ jsx("h2", { className: `header_1 ${sec_title({ variant })}`, children: title }),
53
- /* @__PURE__ */ jsx("div", { className: sec_subtitle, children: description })
53
+ title && /* @__PURE__ */ jsx("h2", { className: `header_1 ${sec_title({ variant })}`, children: title }),
54
+ description && /* @__PURE__ */ jsx("div", { className: sec_subtitle, children: /* @__PURE__ */ jsx(Fragment, { children: description }) })
54
55
  ] }),
55
56
  /* @__PURE__ */ jsxs("div", { className: `push_up_32 flex ${tablet_col}`, children: [
56
- /* @__PURE__ */ jsx(
57
+ image && /* @__PURE__ */ jsx(
57
58
  "div",
58
59
  {
59
60
  className: bs_image,
@@ -61,24 +62,18 @@ const StepItemsSet = ({
61
62
  children: " "
62
63
  }
63
64
  ),
64
- /* @__PURE__ */ jsx("div", { className: steps_wrapper, children: /* @__PURE__ */ jsx("ol", { className: ol, children: stepItems.map(({ id: id2, title: title2, description: description2 }) => /* @__PURE__ */ jsxs("li", { className: `flex ${li}`, children: [
65
- /* @__PURE__ */ jsx("div", { className: `${line_points({ variant })}`, children: /* @__PURE__ */ jsxs("div", { className: "flex middle", children: [
66
- /* @__PURE__ */ jsx("div", { className: `${point({ variant })}`, children: " " }),
67
- /* @__PURE__ */ jsx(
68
- "div",
69
- {
70
- className: `flex center middle ${step_num({ variant })}`,
71
- children: ++counter
72
- }
73
- )
74
- ] }) }),
75
- /* @__PURE__ */ jsxs("div", { className: bullet_details, children: [
76
- /* @__PURE__ */ jsx("span", { className: `${bs_topic({ variant })}`, role: "heading", children: title2 }),
77
- /* @__PURE__ */ jsx("span", { className: bs_copy, children: description2 })
78
- ] })
79
- ] }, id2)) }) })
65
+ /* @__PURE__ */ jsx("div", { className: steps_wrapper, children: /* @__PURE__ */ jsx("ol", { className: ol, children: stepItems?.map((step, index) => /* @__PURE__ */ jsx(
66
+ StepItem,
67
+ {
68
+ id: `id_${id}`,
69
+ title: step?.title,
70
+ description: step?.description,
71
+ variant: step?.variant
72
+ },
73
+ index
74
+ )) }) })
80
75
  ] }),
81
- callToActionRow && callToActionRow.length > 0 && /* @__PURE__ */ jsx(
76
+ Array.isArray(callToActionRow) && callToActionRow?.length > 0 && /* @__PURE__ */ jsx(
82
77
  "div",
83
78
  {
84
79
  className: `flex middle center push_up_32 text_center ${bs_btns}`,
@@ -109,5 +104,5 @@ const StepItemsSet = ({
109
104
  ] }) });
110
105
  };
111
106
  export {
112
- StepItemsSet
107
+ StepItemSet
113
108
  };
@@ -0,0 +1,2 @@
1
+ export * from './StepItemSet';
2
+ export * from './StepItemSet.css';
@@ -0,0 +1,17 @@
1
+ import { StepItemSet } from "./StepItemSet.js";
2
+ import { bs_add_details, bs_btns, bs_image, bs_section, bs_wrapper, modifier, ol, sec_subtitle, sec_title, steps_wrapper, svg_logo, tablet_col } from "./StepItemSet.css.js";
3
+ export {
4
+ StepItemSet,
5
+ bs_add_details,
6
+ bs_btns,
7
+ bs_image,
8
+ bs_section,
9
+ bs_wrapper,
10
+ modifier,
11
+ ol,
12
+ sec_subtitle,
13
+ sec_title,
14
+ steps_wrapper,
15
+ svg_logo,
16
+ tablet_col
17
+ };
@@ -0,0 +1,5 @@
1
+ export declare const picker_navItem: string;
2
+ export declare const picker_itemProduct: string;
3
+ export declare const picker_arrow: string;
4
+ export declare const picker_itemContent: string;
5
+ export declare const picker_navIcon: string;
@@ -0,0 +1,13 @@
1
+ /* empty css */
2
+ var picker_navItem = "dmebjx0";
3
+ var picker_itemProduct = "dmebjx1";
4
+ var picker_arrow = "dmebjx2";
5
+ var picker_itemContent = "dmebjx3";
6
+ var picker_navIcon = "dmebjx4";
7
+ export {
8
+ picker_arrow,
9
+ picker_itemContent,
10
+ picker_itemProduct,
11
+ picker_navIcon,
12
+ picker_navItem
13
+ };
@@ -0,0 +1,10 @@
1
+ import { FC } from 'react';
2
+ import { ImageInterface } from '../IconBillboard';
3
+
4
+ export interface TopicalItemProps {
5
+ id: string;
6
+ icon?: ImageInterface;
7
+ displayText?: string;
8
+ targetUrl: string;
9
+ }
10
+ export declare const TopicalNavItem: FC<TopicalItemProps>;
@@ -0,0 +1,46 @@
1
+ import { jsxs, jsx } from "react/jsx-runtime";
2
+ import { picker_navItem, picker_itemContent, picker_navIcon, picker_itemProduct, picker_arrow } from "./TopicalNavItem.css.js";
3
+ const TopicalNavItem = ({
4
+ id,
5
+ icon,
6
+ displayText,
7
+ targetUrl
8
+ }) => {
9
+ return /* @__PURE__ */ jsxs("a", { className: picker_navItem, href: targetUrl, id: `id_${id}`, children: [
10
+ /* @__PURE__ */ jsxs("div", { className: picker_itemContent, children: [
11
+ /* @__PURE__ */ jsx(
12
+ "img",
13
+ {
14
+ src: icon?.src,
15
+ alt: "",
16
+ className: picker_navIcon,
17
+ width: 24,
18
+ height: 24,
19
+ "aria-hidden": "true"
20
+ }
21
+ ),
22
+ /* @__PURE__ */ jsx("p", { className: picker_itemProduct, children: displayText })
23
+ ] }),
24
+ /* @__PURE__ */ jsx(
25
+ "svg",
26
+ {
27
+ className: picker_arrow,
28
+ width: "12",
29
+ height: "20",
30
+ viewBox: "0 0 12 20",
31
+ fill: "none",
32
+ xmlns: "http://www.w3.org/2000/svg",
33
+ children: /* @__PURE__ */ jsx(
34
+ "path",
35
+ {
36
+ d: "M1.76378 0.46875L11.2941 9.99908L1.76378 19.5294L0.703125 18.4687L9.17295 9.99908L0.703125 1.52941L1.76378 0.46875Z",
37
+ fill: "#4A5560"
38
+ }
39
+ )
40
+ }
41
+ )
42
+ ] });
43
+ };
44
+ export {
45
+ TopicalNavItem
46
+ };
@@ -0,0 +1,2 @@
1
+ export * from './TopicalNavItem.css';
2
+ export * from './TopicalNavItem';
@@ -0,0 +1,10 @@
1
+ import { picker_arrow, picker_itemContent, picker_itemProduct, picker_navIcon, picker_navItem } from "./TopicalNavItem.css.js";
2
+ import { TopicalNavItem } from "./TopicalNavItem.js";
3
+ export {
4
+ TopicalNavItem,
5
+ picker_arrow,
6
+ picker_itemContent,
7
+ picker_itemProduct,
8
+ picker_navIcon,
9
+ picker_navItem
10
+ };
@@ -0,0 +1,3 @@
1
+ export declare const picker_section: string;
2
+ export declare const picker_container: string;
3
+ export declare const picker_orient: string;
@@ -0,0 +1,9 @@
1
+ /* empty css */
2
+ var picker_section = "xbzzeo0";
3
+ var picker_container = "xbzzeo1";
4
+ var picker_orient = "xbzzeo2";
5
+ export {
6
+ picker_container,
7
+ picker_orient,
8
+ picker_section
9
+ };
@@ -0,0 +1,8 @@
1
+ import { FC } from 'react';
2
+ import { TopicalItemProps } from '../TopicalNavItem/TopicalNavItem';
3
+
4
+ export interface TopicalNavSetProps {
5
+ id: string;
6
+ topicalNavigationItems: TopicalItemProps[];
7
+ }
8
+ export declare const TopicalNavSet: FC<TopicalNavSetProps>;