@axos-web-dev/shared-components 1.0.100-dev.13 → 1.0.100-dev.15

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 (151) hide show
  1. package/dist/Article/Article.css.d.ts +8 -36
  2. package/dist/ArticlesSet/ArticlesSet.css.d.ts +10 -70
  3. package/dist/ArticlesSet/ArticlesSet.js +1 -1
  4. package/dist/Avatar/Avatar.module.js +7 -7
  5. package/dist/AwardsBanner/AwardsBanner.css.js +4 -1
  6. package/dist/AwardsItem/AwardsItem.css.js +1 -2
  7. package/dist/Blockquote/Blockquote.module.js +3 -3
  8. package/dist/Button/Button.css.d.ts +3 -3
  9. package/dist/Calculators/ApyCalculator/ApyCalculator.css.d.ts +2 -30
  10. package/dist/Calculators/AxosOneCalculator/BalanceAPYCalculator.css.d.ts +1 -0
  11. package/dist/Calculators/AxosOneCalculator/BalanceAPYCalculator.css.js +3 -1
  12. package/dist/Calculators/AxosOneCalculator/index.d.ts +3 -0
  13. package/dist/Calculators/AxosOneCalculator/index.js +48 -20
  14. package/dist/Calculators/BalanceAPYCalculator/BalanceAPYCalculator.css.d.ts +2 -30
  15. package/dist/Calculators/Calculator.d.ts +3 -0
  16. package/dist/Calculators/Calculator.js +6 -2
  17. package/dist/Calculators/calculator.css.d.ts +2 -8
  18. package/dist/CallToActionBar/index.js +1 -1
  19. package/dist/Carousel/Carousel.css.d.ts +8 -19
  20. package/dist/Chevron/Chevron.css.d.ts +2 -2
  21. package/dist/CollectInformationAlert/index.js +1 -1
  22. package/dist/Comparison/Comparison.js +2 -2
  23. package/dist/FooterSiteMap/AxosBank/FooterSiteMap.js +3 -3
  24. package/dist/Forms/ContactUsBusiness.d.ts +1 -1
  25. package/dist/Forms/ContactUsBusiness.js +4 -4
  26. package/dist/Forms/Forms.css.d.ts +2 -30
  27. package/dist/Forms/MortgageRate/MortgageRateForm.js +5 -2
  28. package/dist/HeroBanner/HeroBanner.css.d.ts +5 -17
  29. package/dist/HeroBanner/HeroBanner.js +1 -12
  30. package/dist/HeroBanner/SelectionBanner.css.d.ts +1 -19
  31. package/dist/HeroBanner/SelectionBanner.css.js +6 -6
  32. package/dist/Hyperlink/Hyperlink.css.d.ts +4 -4
  33. package/dist/Hyperlink/Hyperlink.css.js +4 -1
  34. package/dist/IconBillboard/IconBillboard.css.d.ts +6 -40
  35. package/dist/ImageBillboard/ImageBillboard.css.d.ts +5 -61
  36. package/dist/LoadingIndicator/LoadingIndicator.css.d.ts +4 -4
  37. package/dist/Modal/Modal.css.d.ts +1 -0
  38. package/dist/Modal/Modal.css.js +5 -3
  39. package/dist/Modal/Modal.js +3 -3
  40. package/dist/NavigationMenu/AxosAdvisor/NavBar.css.d.ts +2 -0
  41. package/dist/NavigationMenu/AxosAdvisor/NavBar.css.js +7 -2
  42. package/dist/NavigationMenu/AxosAdvisor/NavBar.module.js +52 -52
  43. package/dist/NavigationMenu/AxosAdvisor/index.js +39 -21
  44. package/dist/NavigationMenu/AxosAdvisorServices/NavBar.css.d.ts +2 -0
  45. package/dist/NavigationMenu/AxosAdvisorServices/NavBar.css.js +7 -2
  46. package/dist/NavigationMenu/AxosAdvisorServices/NavBar.module.js +53 -53
  47. package/dist/NavigationMenu/AxosAdvisorServices/SubNavbar.css.d.ts +1 -1
  48. package/dist/NavigationMenu/AxosAdvisorServices/SubNavbar.css.js +2 -2
  49. package/dist/NavigationMenu/AxosAdvisorServices/index.js +14 -8
  50. package/dist/NavigationMenu/AxosBank/MobileMenu/MobileMenu.js +2 -2
  51. package/dist/NavigationMenu/AxosBank/MobileMenu/MobileMenu.module.js +16 -16
  52. package/dist/NavigationMenu/AxosBank/MobileMenu/MobileNavData.d.ts +0 -2
  53. package/dist/NavigationMenu/AxosBank/MobileMenu/MobileNavData.js +1 -7
  54. package/dist/NavigationMenu/AxosBank/NavBar.css.js +2 -1
  55. package/dist/NavigationMenu/AxosBank/NavBar.module.js +41 -41
  56. package/dist/NavigationMenu/AxosBank/SubNavBar.js +246 -257
  57. package/dist/NavigationMenu/AxosBank/SubNavbar.css.d.ts +2 -0
  58. package/dist/NavigationMenu/AxosBank/SubNavbar.css.js +4 -0
  59. package/dist/NavigationMenu/AxosClearing/NavBar.module.js +37 -37
  60. package/dist/NavigationMenu/AxosFiduciary/NavBar.module.js +41 -41
  61. package/dist/PageNavItem/PageNavItem.css.d.ts +4 -22
  62. package/dist/Pagination/Pagination.js +6 -6
  63. package/dist/StepItem/StepItem.css.d.ts +8 -36
  64. package/dist/StepItemSet/StepItemSet.css.d.ts +4 -32
  65. package/dist/Table/Table.css.d.ts +4 -3
  66. package/dist/Table/Table.css.js +5 -5
  67. package/dist/Table/Table.js +1 -1
  68. package/dist/WalnutIframe/wrapper.module.js +3 -3
  69. package/dist/assets/Accordion/Accordion.css +2 -2
  70. package/dist/assets/Article/Article.css +47 -59
  71. package/dist/assets/ArticlesSet/ArticlesSet.css +26 -56
  72. package/dist/assets/Auth/SignIn.css +12 -12
  73. package/dist/assets/Avatar/Avatar.css.css +59 -59
  74. package/dist/assets/AwardsBanner/AwardsBanner.css +1 -1
  75. package/dist/assets/AwardsItem/AwardsItem.css +3 -4
  76. package/dist/assets/Blockquote/Blockquote.css.css +68 -68
  77. package/dist/assets/Button/Button.css +28 -28
  78. package/dist/assets/Calculators/AnnualFeeCalculator/AnnualFeeCalculator.css +8 -8
  79. package/dist/assets/Calculators/ApyCalculator/ApyCalculator.css +12 -21
  80. package/dist/assets/Calculators/AxosOneCalculator/BalanceAPYCalculator.css +23 -11
  81. package/dist/assets/Calculators/BalanceAPYCalculator/BalanceAPYCalculator.css +20 -32
  82. package/dist/assets/Calculators/BuyDownCalculator/BuyDownCalculator.css +14 -14
  83. package/dist/assets/Calculators/MonthlyPaymentCalculator/MonthlyPaymentCalculator.css +9 -9
  84. package/dist/assets/Calculators/MonthlyPaymentLVFCalculator/MonthlyPaymentCalculator.css +9 -9
  85. package/dist/assets/Calculators/SummitApyCalculator/BalanceAPYCalculator.css +10 -10
  86. package/dist/assets/Calculators/calculator.css +9 -15
  87. package/dist/assets/CallToActionBar/CallToActionBar.css +1 -4
  88. package/dist/assets/Carousel/Carousel.css +27 -41
  89. package/dist/assets/Chevron/Chevron.css +11 -10
  90. package/dist/assets/CollectInformationAlert/CollectInformationAlert.css +4 -3
  91. package/dist/assets/Comparison/Comparison.css +5 -4
  92. package/dist/assets/ContentBanner/ContentBanner.css +8 -8
  93. package/dist/assets/DownloadTile/DownloadTile.css +6 -6
  94. package/dist/assets/ExecutiveBio/ExecutiveBio.css +27 -27
  95. package/dist/assets/FaqAccordion/FaqAccordion.css +5 -5
  96. package/dist/assets/FooterDisclosure/FooterDisclosure.css +1 -1
  97. package/dist/assets/FooterSiteMap/AxosBank/FooterSiteMap.css +3 -8
  98. package/dist/assets/Forms/Forms.css +45 -63
  99. package/dist/assets/Forms/QuickPricer/UserInformation.css +1 -1
  100. package/dist/assets/HeroBanner/HeroBanner.css +81 -76
  101. package/dist/assets/HeroBanner/LargeBanner.css +15 -15
  102. package/dist/assets/HeroBanner/SelectionBanner.css +15 -29
  103. package/dist/assets/Hyperlink/Hyperlink.css +4 -4
  104. package/dist/assets/IconBillboard/IconBillboard.css +32 -48
  105. package/dist/assets/ImageBillboard/ImageBillboard.css +31 -64
  106. package/dist/assets/Input/Input.css +6 -6
  107. package/dist/assets/Inputs/Input.css +4 -4
  108. package/dist/assets/Insight/Featured/CategorySelector.css +1 -1
  109. package/dist/assets/Interstitial/Interstitial-variants.css +3 -3
  110. package/dist/assets/LandingPageHeader/LandingPageHeader.css +1 -1
  111. package/dist/assets/LoadingIndicator/LoadingIndicator.css +5 -5
  112. package/dist/assets/Modal/Modal.css +17 -28
  113. package/dist/assets/NavigationMenu/AxosALTS/NavBar.css +1 -1
  114. package/dist/assets/NavigationMenu/AxosAdvisor/NavBar.css +25 -2
  115. package/dist/assets/NavigationMenu/AxosAdvisor/NavBar.css.css +609 -597
  116. package/dist/assets/NavigationMenu/AxosAdvisor/SubNavbar.css +5 -4
  117. package/dist/assets/NavigationMenu/AxosAdvisorServices/NavBar.css +25 -2
  118. package/dist/assets/NavigationMenu/AxosAdvisorServices/NavBar.css.css +630 -618
  119. package/dist/assets/NavigationMenu/AxosAdvisorServices/SubNavbar.css +22 -4
  120. package/dist/assets/NavigationMenu/AxosBank/MobileMenu/MobileMenu.css.css +192 -191
  121. package/dist/assets/NavigationMenu/AxosBank/NavBar.css +19 -9
  122. package/dist/assets/NavigationMenu/AxosBank/NavBar.css.css +445 -473
  123. package/dist/assets/NavigationMenu/AxosBank/SubNavbar.css +35 -1
  124. package/dist/assets/NavigationMenu/AxosClearing/NavBar.css.css +484 -458
  125. package/dist/assets/NavigationMenu/AxosFiduciary/NavBar.css.css +427 -426
  126. package/dist/assets/PageNavItem/PageNavItem.css +16 -33
  127. package/dist/assets/Pagination/Pagination.css +1 -1
  128. package/dist/assets/SetContainer/SetContainer.css +4 -4
  129. package/dist/assets/StepItem/StepItem.css +26 -42
  130. package/dist/assets/StepItemSet/StepItemSet.css +13 -26
  131. package/dist/assets/Tab/Tab.css +12 -12
  132. package/dist/assets/Table/Table.css +87 -93
  133. package/dist/assets/TextBlock/TextBlock.css +1 -1
  134. package/dist/assets/TopicalNavItem/TopicalNavItem.css +2 -2
  135. package/dist/assets/TopicalNavSet/TopicalNavSet.css +1 -1
  136. package/dist/assets/VideoTile/VideoTile.css +1 -1
  137. package/dist/assets/WalnutIframe/wrapper.css.css +48 -49
  138. package/dist/assets/globals.css +8 -7
  139. package/dist/assets/icons/ArrowIcon/ArrowIcon.css +3 -3
  140. package/dist/assets/icons/DownloadIcon/DownloadIcon.css +1 -1
  141. package/dist/assets/icons/FollowIcon/FollowIcon.css +1 -1
  142. package/dist/assets/themes/axos.css +30 -30
  143. package/dist/assets/themes/premier.css +31 -31
  144. package/dist/assets/themes/victorie.css +23 -23
  145. package/dist/icons/CheckCircle.js +1 -1
  146. package/dist/icons/CheckCircleLight.js +1 -1
  147. package/dist/icons/CheckIcon/index.js +1 -1
  148. package/dist/icons/QuoteIconGrey.js +2 -2
  149. package/dist/themes/axos.css.d.ts +12 -12
  150. package/dist/themes/axos.css.js +1 -1
  151. package/package.json +136 -136
@@ -1,7 +1,7 @@
1
1
  export declare const ant_article: import('@vanilla-extract/recipes').RuntimeFn<{
2
2
  variant: {
3
3
  primary: {
4
- border: "1px solid #d4d4d4";
4
+ border: "1px solid #B9C1CE";
5
5
  };
6
6
  secondary: {
7
7
  border: "none";
@@ -25,7 +25,7 @@ export declare const ant_eyebrow: import('@vanilla-extract/recipes').RuntimeFn<{
25
25
  color: `var(--${string})`;
26
26
  };
27
27
  tertiary: {
28
- color: "#FAA74A";
28
+ color: `var(--${string})`;
29
29
  };
30
30
  quaternary: {
31
31
  color: `var(--${string})`;
@@ -35,38 +35,10 @@ export declare const ant_eyebrow: import('@vanilla-extract/recipes').RuntimeFn<{
35
35
  export declare const ant_card_title: import('@vanilla-extract/recipes').RuntimeFn<{
36
36
  variant: {
37
37
  primary: {
38
- selectors: {
39
- [x: string]: {
40
- WebkitBackgroundClip: "text";
41
- backgroundImage: `var(--${string})`;
42
- WebkitTextFillColor: "transparent";
43
- textShadow: "0px 0px #00000000";
44
- color?: undefined;
45
- } | {
46
- color: `var(--${string})`;
47
- WebkitBackgroundClip?: undefined;
48
- backgroundImage?: undefined;
49
- WebkitTextFillColor?: undefined;
50
- textShadow?: undefined;
51
- };
52
- };
38
+ color: `var(--${string})`;
53
39
  };
54
40
  secondary: {
55
- selectors: {
56
- [x: string]: {
57
- WebkitBackgroundClip: "text";
58
- backgroundImage: `var(--${string})`;
59
- WebkitTextFillColor: "transparent";
60
- textShadow: "0px 0px #00000000";
61
- color?: undefined;
62
- } | {
63
- color: `var(--${string})`;
64
- WebkitBackgroundClip?: undefined;
65
- backgroundImage?: undefined;
66
- WebkitTextFillColor?: undefined;
67
- textShadow?: undefined;
68
- };
69
- };
41
+ color: `var(--${string})`;
70
42
  };
71
43
  tertiary: {
72
44
  color: `var(--${string})`;
@@ -127,30 +99,30 @@ export declare const ant_card_cta: import('@vanilla-extract/recipes').RuntimeFn<
127
99
  };
128
100
  };
129
101
  tertiary: {
130
- color: `var(--${string})`;
131
102
  backgroundColor: `var(--${string})`;
103
+ color: `var(--${string})`;
132
104
  selectors: {
133
105
  "&:hover": {
134
106
  borderColor: `var(--${string})`;
135
107
  color: `var(--${string})`;
136
108
  };
137
109
  "&:active": {
138
- color: `var(--${string})`;
139
110
  backgroundColor: `var(--${string})`;
111
+ color: `var(--${string})`;
140
112
  };
141
113
  };
142
114
  };
143
115
  quaternary: {
144
- color: `var(--${string})`;
145
116
  backgroundColor: `var(--${string})`;
117
+ color: `var(--${string})`;
146
118
  selectors: {
147
119
  "&:hover": {
148
120
  borderColor: `var(--${string})`;
149
121
  color: `var(--${string})`;
150
122
  };
151
123
  "&:active": {
152
- color: `var(--${string})`;
153
124
  backgroundColor: `var(--${string})`;
125
+ color: `var(--${string})`;
154
126
  };
155
127
  };
156
128
  };
@@ -9,102 +9,42 @@ export declare const ant_sec_title: import('@vanilla-extract/recipes').RuntimeFn
9
9
  color: `var(--${string})`;
10
10
  };
11
11
  tertiary: {
12
- selectors: {
13
- [x: string]: {
14
- color: `var(--${string})`;
15
- } | {
16
- color: "#1E262F";
17
- };
18
- };
12
+ color: `var(--${string})`;
19
13
  };
20
14
  quaternary: {
21
- selectors: {
22
- [x: string]: {
23
- color: `var(--${string})`;
24
- } | {
25
- color: "#1E262F";
26
- };
27
- };
15
+ color: `var(--${string})`;
28
16
  };
29
17
  };
30
18
  }>;
31
19
  export declare const ant_blog_cta: import('@vanilla-extract/recipes').RuntimeFn<{
32
20
  variant: {
33
21
  primary: {
34
- selectors: {
35
- [x: string]: {
36
- color: "#2F5B88";
37
- } | {
38
- color: `var(--${string})`;
39
- };
40
- };
22
+ color: `var(--${string})`;
41
23
  };
42
24
  secondary: {
43
- selectors: {
44
- [x: string]: {
45
- color: "#2F5B88";
46
- } | {
47
- color: `var(--${string})`;
48
- };
49
- };
25
+ color: `var(--${string})`;
50
26
  };
51
27
  tertiary: {
52
- selectors: {
53
- [x: string]: {
54
- color: "#2F5B88";
55
- } | {
56
- color: "#1E262F";
57
- };
58
- };
28
+ color: `var(--${string})`;
59
29
  };
60
30
  quaternary: {
61
- selectors: {
62
- [x: string]: {
63
- color: "#2F5B88";
64
- } | {
65
- color: "#1E262F";
66
- };
67
- };
31
+ color: `var(--${string})`;
68
32
  };
69
33
  };
70
34
  }>;
71
35
  export declare const ant_svg_fill: import('@vanilla-extract/recipes').RuntimeFn<{
72
36
  variant: {
73
37
  primary: {
74
- selectors: {
75
- [x: string]: {
76
- fill: "#2F5B88";
77
- } | {
78
- fill: `var(--${string})`;
79
- };
80
- };
38
+ fill: `var(--${string})`;
81
39
  };
82
40
  secondary: {
83
- selectors: {
84
- [x: string]: {
85
- fill: "#2F5B88";
86
- } | {
87
- fill: `var(--${string})`;
88
- };
89
- };
41
+ fill: `var(--${string})`;
90
42
  };
91
43
  tertiary: {
92
- selectors: {
93
- [x: string]: {
94
- fill: "#2F5B88";
95
- } | {
96
- fill: "#1E262F";
97
- };
98
- };
44
+ fill: `var(--${string})`;
99
45
  };
100
46
  quaternary: {
101
- selectors: {
102
- [x: string]: {
103
- fill: "#2F5B88";
104
- } | {
105
- fill: "#1E262F";
106
- };
107
- };
47
+ fill: `var(--${string})`;
108
48
  };
109
49
  };
110
50
  }>;
@@ -79,7 +79,7 @@ const ArticlesSet = ({
79
79
  className: `${ant_svg_fill({ variant })}`,
80
80
  d: "M1.13491422,0.187942261 C0.94986252,0.00203917967 0.649789062,0.00203917967 0.464737367,0.187942261 L0.187303721,0.466652324 C0.00225202625,0.652555405 0.00225202625,0.95391307 0.187303721,1.13991252 L4.55851447,5.53075249 L0.187303721,9.92149608 C0.00225202625,10.1074955 0.00225202625,10.4088532 0.187303721,10.5947563 L0.464737367,10.8734663 C0.649789062,11.0593694 0.94986252,11.0593694 1.13491422,10.8734663 L6.45248835,5.53075249 L1.13491422,0.187942261 Z",
81
81
  id: "Fill-1",
82
- fill: "#2F5B88",
82
+ fill: "#1E629A",
83
83
  fillRule: "evenodd",
84
84
  mask: "url(#mask-2)"
85
85
  }
@@ -1,10 +1,10 @@
1
- import '../assets/Avatar/Avatar.css.css';const avatar_sec = "_avatar_sec_1bnm9_1";
2
- const container = "_container_1bnm9_5";
3
- const image = "_image_1bnm9_14";
4
- const text = "_text_1bnm9_23";
5
- const name = "_name_1bnm9_29";
6
- const title = "_title_1bnm9_37";
7
- const description = "_description_1bnm9_44";
1
+ import '../assets/Avatar/Avatar.css.css';const avatar_sec = "_avatar_sec_q4a8z_1";
2
+ const container = "_container_q4a8z_9";
3
+ const image = "_image_q4a8z_27";
4
+ const text = "_text_q4a8z_45";
5
+ const name = "_name_q4a8z_57";
6
+ const title = "_title_q4a8z_73";
7
+ const description = "_description_q4a8z_87";
8
8
  const css = {
9
9
  avatar_sec,
10
10
  container,
@@ -1,4 +1,7 @@
1
- import '../assets/AwardsBanner/AwardsBanner.css';/* empty css */
1
+ import '../assets/AwardsBanner/AwardsBanner.css';import '../assets/themes/victorie.css';import '../assets/themes/premier.css';import '../assets/themes/axos.css';/* empty css */
2
+ /* empty css */
3
+ /* empty css */
4
+ /* empty css */
2
5
  var awards_section = "_1amgyqo0";
3
6
  var awards_row = "_1amgyqo1";
4
7
  export {
@@ -1,5 +1,4 @@
1
- import '../assets/AwardsItem/AwardsItem.css';import '../assets/Typography/Typography.css';/* empty css */
2
- /* empty css */
1
+ import '../assets/AwardsItem/AwardsItem.css';/* empty css */
3
2
  var award_item = "_16tnqb20";
4
3
  var award_company = "_16tnqb21";
5
4
  var award_name = "_16tnqb22";
@@ -1,6 +1,6 @@
1
- import '../assets/Blockquote/Blockquote.css.css';const quote_spacer = "_quote_spacer_1mzku_1";
2
- const author = "_author_1mzku_7";
3
- const quote = "_quote_1mzku_1";
1
+ import '../assets/Blockquote/Blockquote.css.css';const quote_spacer = "_quote_spacer_168r9_1";
2
+ const author = "_author_168r9_13";
3
+ const quote = "_quote_168r9_1";
4
4
  const css = {
5
5
  quote_spacer,
6
6
  author,
@@ -118,13 +118,13 @@ export declare const button: import('@vanilla-extract/recipes').RuntimeFn<{
118
118
  flexDirection: "column";
119
119
  justifyContent: "center";
120
120
  background: "#fff";
121
- color: "#333D46";
121
+ color: "#1F1F1F";
122
122
  border: "1px solid #EBEBEB";
123
123
  alignItems: "center";
124
124
  gap: number;
125
125
  ":hover": {
126
- background: "#EBEBEB";
127
- color: "#333D46";
126
+ background: "#E9F8FF";
127
+ color: "#1F1F1F";
128
128
  };
129
129
  "@media": {
130
130
  "screen and (max-width:768px)": {
@@ -39,38 +39,10 @@ export declare const bodyContent: string;
39
39
  export declare const header_theme: import('@vanilla-extract/recipes').RuntimeFn<{
40
40
  variant: {
41
41
  primary: {
42
- selectors: {
43
- [x: string]: {
44
- WebkitBackgroundClip: "text";
45
- backgroundImage: `var(--${string})`;
46
- WebkitTextFillColor: "transparent";
47
- textShadow: "0px 0px #00000000";
48
- color?: undefined;
49
- } | {
50
- color: `var(--${string})`;
51
- WebkitBackgroundClip?: undefined;
52
- backgroundImage?: undefined;
53
- WebkitTextFillColor?: undefined;
54
- textShadow?: undefined;
55
- };
56
- };
42
+ color: `var(--${string})`;
57
43
  };
58
44
  secondary: {
59
- selectors: {
60
- [x: string]: {
61
- WebkitBackgroundClip: "text";
62
- backgroundImage: `var(--${string})`;
63
- WebkitTextFillColor: "transparent";
64
- textShadow: "0px 0px #00000000";
65
- color?: undefined;
66
- } | {
67
- color: `var(--${string})`;
68
- WebkitBackgroundClip?: undefined;
69
- backgroundImage?: undefined;
70
- WebkitTextFillColor?: undefined;
71
- textShadow?: undefined;
72
- };
73
- };
45
+ color: `var(--${string})`;
74
46
  };
75
47
  tertiary: {
76
48
  color: `var(--${string})`;
@@ -43,3 +43,4 @@ export declare const ax1_calc_disclosure: import('@vanilla-extract/recipes').Run
43
43
  };
44
44
  };
45
45
  }>;
46
+ export declare const call_to_action_row: string;
@@ -19,6 +19,7 @@ var ax1_header_calc = "_11b2y8zb";
19
19
  var ax1_calc_text = "_11b2y8zc";
20
20
  var ax1_description_text = createRuntimeFn({ defaultClassName: "_11b2y8zd", variantClassNames: { variant: { primary: "_11b2y8ze", secondary: "_11b2y8zf", tertiary: "_11b2y8zg", quaternary: "_11b2y8zh" } }, defaultVariants: {}, compoundVariants: [] });
21
21
  var ax1_calc_disclosure = createRuntimeFn({ defaultClassName: "_11b2y8zi", variantClassNames: { variant: { primary: "_11b2y8zj", secondary: "_11b2y8zk", tertiary: "_11b2y8zl", quaternary: "_11b2y8zm" } }, defaultVariants: {}, compoundVariants: [] });
22
+ var call_to_action_row = "_11b2y8zn";
22
23
  export {
23
24
  ax1_calc_disclosure,
24
25
  ax1_calc_icon,
@@ -34,5 +35,6 @@ export {
34
35
  ax1_input_container,
35
36
  ax1_input_label,
36
37
  ax1_m_label,
37
- ax1_table_container
38
+ ax1_table_container,
39
+ call_to_action_row
38
40
  };
@@ -1,4 +1,5 @@
1
1
  import { default as React, FC } from 'react';
2
+ import { ChevronProps } from '../../Chevron/Chevron.interface';
2
3
 
3
4
  export interface AxosOneCalculatorProps {
4
5
  headline?: React.ReactNode | string;
@@ -6,5 +7,7 @@ export interface AxosOneCalculatorProps {
6
7
  bodyCopy?: React.ReactNode | string;
7
8
  disclosure: React.ReactNode | string;
8
9
  variant: string;
10
+ initialBalance?: number;
11
+ callToActionRow?: ChevronProps[];
9
12
  }
10
13
  export declare const AxosOneCalculator: FC<AxosOneCalculatorProps>;
@@ -18,25 +18,36 @@ import { headerCell } from "../../Table/Table.css.js";
18
18
  import "../../utils/allowedAxosDomains.js";
19
19
  import { getVariant } from "../../utils/getVariant.js";
20
20
  import clsx from "clsx";
21
- import { ax1_calc_icon, ax1_header_container, ax1_header_calc, ax1_calc_text, ax1_description_text, ax1_calculator_wrapper, ax1_input_container, ax1_input_label, ax1_calculator_input, ax1_calculator_button, ax1_d_label, ax1_m_label, ax1_table_container, ax1_calc_disclosure, ax1_container } from "./BalanceAPYCalculator.css.js";
21
+ import { ax1_calc_icon, ax1_header_container, ax1_header_calc, ax1_calc_text, ax1_description_text, ax1_calculator_wrapper, ax1_input_container, ax1_input_label, ax1_calculator_input, ax1_calculator_button, ax1_d_label, ax1_m_label, ax1_table_container, call_to_action_row, ax1_calc_disclosure, ax1_container } from "./BalanceAPYCalculator.css.js";
22
22
  const AxosOneCalculator = ({
23
23
  headline,
24
24
  bodyCopy,
25
25
  disclosure,
26
26
  icon,
27
- variant
27
+ variant,
28
+ initialBalance,
29
+ callToActionRow
28
30
  }) => {
29
31
  const calc_variant = getVariant(variant);
30
32
  const AXOS_ONE_APY = +process.env.NEXT_PUBLIC_AXOS_ONE_APY;
31
- const [balance, setBalance] = useState(1e4);
33
+ const startingBalance = Number.isFinite(Number(initialBalance)) && Number(initialBalance) >= 0 ? Number(initialBalance) : 1e4;
34
+ const [balance, setBalance] = useState(startingBalance);
32
35
  const [axbAPY, _setAxbAPY] = useState(AXOS_ONE_APY);
33
- const [axbEarning, setAxbEarning] = useState(AXOS_ONE_APY * 100);
36
+ const [axbEarning, setAxbEarning] = useState(
37
+ AXOS_ONE_APY / 100 * startingBalance
38
+ );
34
39
  const [chaseAPY, _setChaseAPY] = useState(0.01);
35
- const [chaseEarning, setChaseEarning] = useState(1);
40
+ const [chaseEarning, setChaseEarning] = useState(
41
+ 0.01 / 100 * startingBalance
42
+ );
36
43
  const [bofaAPY, _setBofaAPY] = useState(0.01);
37
- const [bofaEarning, setBofaEarning] = useState(1);
44
+ const [bofaEarning, setBofaEarning] = useState(
45
+ 0.01 / 100 * startingBalance
46
+ );
38
47
  const [fargoAPY, _setFargoAPY] = useState(0.05);
39
- const [fargoEarning, setFargoEarning] = useState(5);
48
+ const [fargoEarning, setFargoEarning] = useState(
49
+ 0.05 / 100 * startingBalance
50
+ );
40
51
  const removeNonNumeric = (value) => {
41
52
  if (value === "") {
42
53
  value = "0";
@@ -59,7 +70,19 @@ const AxosOneCalculator = ({
59
70
  setBalance(0);
60
71
  }
61
72
  };
62
- return /* @__PURE__ */ jsx("section", { className: clsx(ax1_container), children: /* @__PURE__ */ jsxs("div", { className: clsx("containment"), children: [
73
+ const formatUSD = (value) => {
74
+ if (Number.isInteger(value)) {
75
+ return value.toLocaleString(void 0, {
76
+ minimumFractionDigits: 0,
77
+ maximumFractionDigits: 0
78
+ });
79
+ }
80
+ return value.toLocaleString(void 0, {
81
+ minimumFractionDigits: 2,
82
+ maximumFractionDigits: 2
83
+ });
84
+ };
85
+ return /* @__PURE__ */ jsx("section", { className: clsx(ax1_container), id: "axoapycalc", children: /* @__PURE__ */ jsxs("div", { className: clsx("containment"), children: [
63
86
  icon && /* @__PURE__ */ jsx("div", { className: clsx("text_center", ax1_calc_icon), children: ["primary", "secondary"].includes(variant) ? /* @__PURE__ */ jsx(SvgComponent, {}) : /* @__PURE__ */ jsx(SvgAxosX, {}) }),
64
87
  (headline || bodyCopy) && /* @__PURE__ */ jsxs("div", { className: `${ax1_header_container} text_center`, children: [
65
88
  headline && /* @__PURE__ */ jsx("h2", { className: clsx("header_2", ax1_header_calc), children: headline }),
@@ -134,9 +157,7 @@ const AxosOneCalculator = ({
134
157
  ] }) }),
135
158
  /* @__PURE__ */ jsx(TableCell, { variant: "primary", children: /* @__PURE__ */ jsxs("b", { children: [
136
159
  "$",
137
- axbEarning.toLocaleString(void 0, {
138
- maximumFractionDigits: 2
139
- })
160
+ formatUSD(axbEarning)
140
161
  ] }) })
141
162
  ] }),
142
163
  /* @__PURE__ */ jsxs(TableRow, { children: [
@@ -150,9 +171,7 @@ const AxosOneCalculator = ({
150
171
  ] }),
151
172
  /* @__PURE__ */ jsxs(TableCell, { variant: "primary", children: [
152
173
  "$",
153
- fargoEarning.toLocaleString(void 0, {
154
- maximumFractionDigits: 2
155
- })
174
+ formatUSD(fargoEarning)
156
175
  ] })
157
176
  ] }),
158
177
  /* @__PURE__ */ jsxs(TableRow, { children: [
@@ -166,9 +185,7 @@ const AxosOneCalculator = ({
166
185
  ] }),
167
186
  /* @__PURE__ */ jsxs(TableCell, { variant: "primary", children: [
168
187
  "$",
169
- bofaEarning.toLocaleString(void 0, {
170
- maximumFractionDigits: 2
171
- })
188
+ formatUSD(bofaEarning)
172
189
  ] })
173
190
  ] }),
174
191
  /* @__PURE__ */ jsxs(TableRow, { children: [
@@ -182,9 +199,7 @@ const AxosOneCalculator = ({
182
199
  ] }),
183
200
  /* @__PURE__ */ jsxs(TableCell, { variant: "primary", children: [
184
201
  "$",
185
- chaseEarning.toLocaleString(void 0, {
186
- maximumFractionDigits: 2
187
- })
202
+ formatUSD(chaseEarning)
188
203
  ] })
189
204
  ] })
190
205
  ] })
@@ -192,6 +207,19 @@ const AxosOneCalculator = ({
192
207
  }
193
208
  )
194
209
  ] }),
210
+ Array.isArray(callToActionRow) && callToActionRow.length > 0 && /* @__PURE__ */ jsx("div", { className: `${call_to_action_row}`, children: callToActionRow?.map(
211
+ ({ id, variant: variant2, displayText, targetUrl }) => /* @__PURE__ */ jsx(
212
+ Button,
213
+ {
214
+ targetUrl,
215
+ color: getVariant(variant2),
216
+ size: "medium",
217
+ rounded: "medium",
218
+ children: displayText
219
+ },
220
+ id
221
+ )
222
+ ) }),
195
223
  disclosure && /* @__PURE__ */ jsx("div", { className: ax1_calc_disclosure({ variant: calc_variant }), children: disclosure })
196
224
  ] }) });
197
225
  };
@@ -33,38 +33,10 @@ export declare const header_container: string;
33
33
  export declare const header_calc: import('@vanilla-extract/recipes').RuntimeFn<{
34
34
  variant: {
35
35
  primary: {
36
- readonly selectors: {
37
- [x: string]: {
38
- WebkitBackgroundClip: string;
39
- backgroundImage: `var(--${string})`;
40
- WebkitTextFillColor: string;
41
- textShadow: string;
42
- color?: undefined;
43
- } | {
44
- color: `var(--${string})`;
45
- WebkitBackgroundClip?: undefined;
46
- backgroundImage?: undefined;
47
- WebkitTextFillColor?: undefined;
48
- textShadow?: undefined;
49
- };
50
- };
36
+ color: `var(--${string})`;
51
37
  };
52
38
  secondary: {
53
- selectors: {
54
- [x: string]: {
55
- WebkitBackgroundClip: "text";
56
- backgroundImage: `var(--${string})`;
57
- WebkitTextFillColor: "transparent";
58
- textShadow: "0px 0px #00000000";
59
- color?: undefined;
60
- } | {
61
- color: `var(--${string})`;
62
- WebkitBackgroundClip?: undefined;
63
- backgroundImage?: undefined;
64
- WebkitTextFillColor?: undefined;
65
- textShadow?: undefined;
66
- };
67
- };
39
+ color: `var(--${string})`;
68
40
  };
69
41
  tertiary: {
70
42
  color: `var(--${string})`;
@@ -1,5 +1,6 @@
1
1
  import { IconBillboardProps } from '../IconBillboard/IconBillboard.interface';
2
2
  import { default as React } from 'react';
3
+ import { ChevronProps } from '../Chevron/Chevron.interface';
3
4
 
4
5
  export interface CalculatorProps {
5
6
  id?: string;
@@ -11,5 +12,7 @@ export interface CalculatorProps {
11
12
  bodyCopy?: React.ReactNode;
12
13
  disclosure?: React.ReactNode;
13
14
  marketingTiles?: IconBillboardProps[];
15
+ initialBalance?: number;
16
+ callToActionRow?: ChevronProps[];
14
17
  }
15
18
  export declare const Calculator: (props: CalculatorProps) => import("react/jsx-runtime").JSX.Element;
@@ -142,7 +142,9 @@ const Calculator = (props) => {
142
142
  disclosure,
143
143
  headline,
144
144
  name,
145
- marketingTiles
145
+ marketingTiles,
146
+ initialBalance,
147
+ callToActionRow
146
148
  } = props;
147
149
  const ref = useRef(null);
148
150
  const iframe = calculators.get(name || "");
@@ -233,7 +235,9 @@ const Calculator = (props) => {
233
235
  bodyCopy,
234
236
  variant,
235
237
  disclosure,
236
- icon
238
+ icon,
239
+ initialBalance,
240
+ callToActionRow
237
241
  }
238
242
  );
239
243
  } else if (name === "APY Balance Summit Savings") {
@@ -22,16 +22,10 @@ export declare const calculator_description: import('@vanilla-extract/recipes').
22
22
  export declare const calculator_headline: import('@vanilla-extract/recipes').RuntimeFn<{
23
23
  variant: {
24
24
  primary: {
25
- background: `var(--${string})`;
26
- backgroundClip: "text";
27
- WebkitTextFillColor: "transparent";
28
- textShadow: "0px 0px #00000000";
25
+ color: `var(--${string})`;
29
26
  };
30
27
  secondary: {
31
- background: `var(--${string})`;
32
- backgroundClip: "text";
33
- WebkitTextFillColor: "transparent";
34
- textShadow: "0px 0px #00000000";
28
+ color: `var(--${string})`;
35
29
  };
36
30
  tertiary: {
37
31
  color: `var(--${string})`;
@@ -107,7 +107,7 @@ const CallToActionBar = ({
107
107
  ),
108
108
  children: [
109
109
  headline && /* @__PURE__ */ jsx("h2", { className: "header_3", children: headline }),
110
- banner_size === "large" && bodyCopy && /* @__PURE__ */ jsx(Fragment, { children: bodyCopy })
110
+ banner_size === "large" && bodyCopy && /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsx("div", { className: "push_up", children: bodyCopy }) })
111
111
  ]
112
112
  }
113
113
  ),