@axos-web-dev/shared-components 0.0.84 → 0.0.86

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 (33) hide show
  1. package/dist/Calculators/AnnualFeeCalculator/index.d.ts +1 -1
  2. package/dist/Calculators/AnnualFeeCalculator/index.js +3 -3
  3. package/dist/Calculators/BalanceAPYCalculator/BalanceAPYCalculator.css.d.ts +109 -0
  4. package/dist/Calculators/BalanceAPYCalculator/BalanceAPYCalculator.css.js +41 -0
  5. package/dist/Calculators/BalanceAPYCalculator/index.d.ts +10 -0
  6. package/dist/Calculators/BalanceAPYCalculator/index.js +192 -0
  7. package/dist/Calculators/Calculator.d.ts +1 -1
  8. package/dist/Calculators/Calculator.js +50 -41
  9. package/dist/Carousel/index.js +6 -5
  10. package/dist/Chevron/index.js +6 -5
  11. package/dist/Comparison/Comparison.js +6 -5
  12. package/dist/Comparison/ComparisonSet.js +6 -5
  13. package/dist/FaqAccordion/index.js +1 -1
  14. package/dist/FooterSiteMap/AxosBank/FooterSiteMap.js +6 -5
  15. package/dist/Forms/ContactUsAAS.js +6 -62
  16. package/dist/Forms/ContactUsBusiness.js +6 -5
  17. package/dist/Forms/ContactUsNMLSId.js +6 -5
  18. package/dist/Forms/EmailOnly.js +6 -5
  19. package/dist/Forms/SuccesForm.js +7 -6
  20. package/dist/Hyperlink/index.js +6 -5
  21. package/dist/ImageLink/ImageLink.js +6 -5
  22. package/dist/ImageLink/ImageLinkSet.js +6 -5
  23. package/dist/ImageLink/index.js +6 -5
  24. package/dist/Modal/Modal.js +6 -5
  25. package/dist/NavigationMenu/AxosBank/SubNavBar.js +132 -656
  26. package/dist/SetContainer/SetContainer.js +6 -5
  27. package/dist/Table/Table.d.ts +1 -1
  28. package/dist/Table/Table.interface.d.ts +5 -3
  29. package/dist/Table/Table.js +11 -3
  30. package/dist/assets/Calculators/BalanceAPYCalculator/BalanceAPYCalculator.css +200 -0
  31. package/dist/assets/SetContainer/SetContainer.css +1 -3
  32. package/dist/utils/allowedAxosDomains.js +3 -1
  33. package/package.json +3 -1
@@ -24,6 +24,10 @@ import "../ArticlesSet/ArticlesSet.css.js";
24
24
  import "next/image.js";
25
25
  import { header_section } from "../IconBillboard/IconBillboard.css.js";
26
26
  /* empty css */
27
+ import "../Calculators/AnnualFeeCalculator/AnnualFeeCalculator.css.js";
28
+ import "../Calculators/ApyCalculator/ApyCalculator.css.js";
29
+ /* empty css */
30
+ import "../Calculators/MonthlyPaymentCalculator/MonthlyPaymentCalculator.css.js";
27
31
  import "@hookform/resolvers/zod";
28
32
  import "../Input/Checkbox.js";
29
33
  import "../Input/CurrencyInput.js";
@@ -39,11 +43,9 @@ import "../Forms/SalesforceFieldsForm.js";
39
43
  import "../LoadingIndicator/LoadingIndicator.css.js";
40
44
  import "../Input/RadioButton.js";
41
45
  import "iframe-resizer";
46
+ import "../Table/Table.css.js";
47
+ import "../Calculators/BalanceAPYCalculator/BalanceAPYCalculator.css.js";
42
48
  import "../Calculators/calculator.css.js";
43
- import "../Calculators/ApyCalculator/ApyCalculator.css.js";
44
- import "../Calculators/MonthlyPaymentCalculator/MonthlyPaymentCalculator.css.js";
45
- import "../Calculators/AnnualFeeCalculator/AnnualFeeCalculator.css.js";
46
- /* empty css */
47
49
  /* empty css */
48
50
  import "../Carousel/index.js";
49
51
  /* empty css */
@@ -73,7 +75,6 @@ import "next/link.js";
73
75
  /* empty css */
74
76
  import "../StepItem/StepItem.css.js";
75
77
  import "../StepItemSet/StepItemSet.css.js";
76
- import "../Table/Table.css.js";
77
78
  /* empty css */
78
79
  /* empty css */
79
80
  /* empty css */
@@ -2,7 +2,7 @@ import { PropsWithChildren } from 'react';
2
2
  import { CellProps, RowProps, TableContainerProps, TableProps } from './Table.interface';
3
3
 
4
4
  export declare const TableContainer: ({ tableTitle, tableBody, tableFooter, tableType, tableDescription, internalName, id, }: TableContainerProps) => import("react/jsx-runtime").JSX.Element;
5
- export declare const Table: ({ variant, children, highlight, tableType, alternateColorRows, }: TableProps) => import("react/jsx-runtime").JSX.Element;
5
+ export declare const Table: ({ variant, children, highlight, tableType, alternateColorRows, style, className, }: TableProps) => import("react/jsx-runtime").JSX.Element;
6
6
  export declare const TableRow: ({ children, ...props }: RowProps) => import("react/jsx-runtime").JSX.Element;
7
7
  export declare const TableHead: ({ children }: PropsWithChildren) => import("react/jsx-runtime").JSX.Element;
8
8
  export declare const TableBody: ({ children }: PropsWithChildren) => import("react/jsx-runtime").JSX.Element;
@@ -1,4 +1,4 @@
1
- import { HtmlHTMLAttributes, PropsWithChildren, ReactNode } from 'react';
1
+ import { CSSProperties, HtmlHTMLAttributes, PropsWithChildren, ReactNode } from 'react';
2
2
 
3
3
  export interface RowProps extends HtmlHTMLAttributes<HTMLTableRowElement>, PropsWithChildren {
4
4
  }
@@ -12,13 +12,15 @@ export interface TableProps extends PropsWithChildren {
12
12
  highlight?: "First Row" | "Last Row" | "First and Last Row" | undefined;
13
13
  tableType?: "Standard" | "Rate";
14
14
  alternateColorRows?: boolean;
15
+ style?: CSSProperties;
16
+ className?: string;
15
17
  }
16
18
  export interface TableContainerProps extends PropsWithChildren {
17
19
  id?: string;
18
20
  variant: string;
19
- tableTitle: ReactNode | string;
21
+ tableTitle?: ReactNode | string;
20
22
  tableBody?: ReactNode | string;
21
- tableFooter: ReactNode | string;
23
+ tableFooter?: ReactNode | string;
22
24
  tableType?: string;
23
25
  tableDescription?: ReactNode | string;
24
26
  internalName?: string;
@@ -33,13 +33,21 @@ const Table = ({
33
33
  children,
34
34
  highlight,
35
35
  tableType = "Standard",
36
- alternateColorRows = false
36
+ alternateColorRows = false,
37
+ style,
38
+ className
37
39
  }) => {
38
40
  return /* @__PURE__ */ jsx(
39
41
  "div",
40
42
  {
41
- className: tableWrapper({ variant: getVariant(variant) }),
42
- style: tableType === "Rate" ? { width: "90%", border: "none" } : {},
43
+ className: clsx(
44
+ tableWrapper({ variant: getVariant(variant) }),
45
+ className
46
+ ),
47
+ style: {
48
+ ...tableType === "Rate" ? { width: "90%", border: "none" } : {},
49
+ ...style
50
+ },
43
51
  children: /* @__PURE__ */ jsx(
44
52
  "table",
45
53
  {
@@ -0,0 +1,200 @@
1
+ ._1mjmksf0 {
2
+ padding: 48px 0;
3
+ }
4
+ ._1mjmksf1 {
5
+ background: var(--_1073cm81);
6
+ color: var(--_1073cm82);
7
+ }
8
+ ._1mjmksf2 {
9
+ background: var(--_1073cm88);
10
+ color: var(--_1073cm89);
11
+ }
12
+ ._1mjmksf3 {
13
+ background: var(--_1073cm8f);
14
+ color: var(--_1073cm8g);
15
+ }
16
+ ._1mjmksf4 {
17
+ background: var(--_1073cm8m);
18
+ color: var(--_1073cm8n);
19
+ }
20
+ ._1mjmksf5 {
21
+ padding: 64px;
22
+ margin: 32px 0;
23
+ background: #F4F4F4;
24
+ color: #4A5560;
25
+ }
26
+ ._1mjmksf6 {
27
+ display: inline-flex;
28
+ background-color: #FFFFFF;
29
+ border-radius: 1rem;
30
+ }
31
+ ._1mjmksf7 {
32
+ align-items: center;
33
+ color: #333d46;
34
+ display: flex;
35
+ font-size: 21px;
36
+ padding: 0 1.5rem;
37
+ }
38
+ ._1mjmksf8 {
39
+ font-weight: 500;
40
+ margin-bottom: 0;
41
+ }
42
+ ._1mjmksf9 {
43
+ align-self: stretch;
44
+ border: 0;
45
+ max-width: 193px;
46
+ outline: 0;
47
+ padding-left: 8px;
48
+ overflow: visible;
49
+ font-size: 100%;
50
+ line-height: 1.15;
51
+ margin: 0;
52
+ }
53
+ ._1mjmksfb {
54
+ display: none;
55
+ }
56
+ ._1mjmksfc {
57
+ border-bottom-left-radius: 0;
58
+ border-top-left-radius: 0;
59
+ font-weight: 600;
60
+ font-size: 20px;
61
+ line-height: 1.4;
62
+ padding: 15px;
63
+ background-color: var(--_1073cm86);
64
+ color: #FFFFFF;
65
+ }
66
+ ._1mjmksfd {
67
+ letter-spacing: 0.2px;
68
+ line-height: 1.44;
69
+ margin-bottom: 0;
70
+ }
71
+ ._1mjmksfd small {
72
+ position: relative;
73
+ left: 338px;
74
+ margin-top: 7px;
75
+ font-size: 12px;
76
+ }
77
+ ._1mjmksfe {
78
+ color: #d0021b;
79
+ }
80
+ ._1mjmksff {
81
+ padding-bottom: 32px;
82
+ }
83
+ ._1mjmksfg {
84
+ margin-bottom: 32px;
85
+ }
86
+ ._1mjmksfh {
87
+ font-family: var(--header-font-family);
88
+ }
89
+ ._1073cm80 ._1mjmksfi {
90
+ -webkit-background-clip: text;
91
+ background-image: var(--_1073cm84);
92
+ -webkit-text-fill-color: transparent;
93
+ text-shadow: 0px 0px #00000000;
94
+ }
95
+ ._1es6o1h0 ._1mjmksfi {
96
+ color: var(--_1073cm83);
97
+ }
98
+ ._1073cm80 ._1mjmksfj {
99
+ -webkit-background-clip: text;
100
+ background-image: var(--_1073cm8b);
101
+ -webkit-text-fill-color: transparent;
102
+ text-shadow: 0px 0px #00000000;
103
+ }
104
+ ._1es6o1h0 ._1mjmksfj {
105
+ color: var(--_1073cm8a);
106
+ }
107
+ ._1mjmksfk {
108
+ color: var(--_1073cm8h);
109
+ }
110
+ ._1mjmksfl {
111
+ color: var(--_1073cm8o);
112
+ }
113
+ ._1mjmksfm {
114
+ margin-inline: auto;
115
+ }
116
+ ._1mjmksfn {
117
+ margin-top: 1rem;
118
+ }
119
+ ._1mjmksfo {
120
+ color: var(--_1073cm82);
121
+ }
122
+ ._1mjmksfp {
123
+ color: var(--_1073cm89);
124
+ }
125
+ ._1mjmksfq {
126
+ color: var(--_1073cm8g);
127
+ }
128
+ ._1mjmksfr {
129
+ color: var(--_1073cm8n);
130
+ }
131
+ ._1mjmksfs {
132
+ margin-top: 16px;
133
+ }
134
+ ._1mjmksft {
135
+ color: var(--_1073cm82);
136
+ }
137
+ ._1mjmksfu {
138
+ color: var(--_1073cm89);
139
+ }
140
+ ._1mjmksfv {
141
+ color: var(--_1073cm8g);
142
+ }
143
+ ._1mjmksfw {
144
+ color: var(--_1073cm8n);
145
+ }
146
+ @media screen and (max-width: 603px) {
147
+ ._1mjmksf5 {
148
+ padding: 30px 14px;
149
+ }
150
+ ._1mjmksf6 {
151
+ flex-direction: column;
152
+ align-items: center;
153
+ display: flex;
154
+ background-color: transparent;
155
+ }
156
+ ._1mjmksf9 {
157
+ border-radius: 8px;
158
+ margin-left: 0;
159
+ padding: 7px 15px;
160
+ text-align: center;
161
+ margin-top: 12px;
162
+ position: relative;
163
+ }
164
+ ._1mjmksfa {
165
+ display: none;
166
+ }
167
+ ._1mjmksfb {
168
+ display: block;
169
+ }
170
+ ._1mjmksfd {
171
+ text-align: center;
172
+ }
173
+ }
174
+ @media screen and (max-width:603px) {
175
+ ._1mjmksf7 {
176
+ flex-direction: column;
177
+ }
178
+ ._1mjmksfc {
179
+ font-weight: 700;
180
+ font-size: 18px;
181
+ border-radius: 8px;
182
+ margin-top: 20px;
183
+ padding: 5px 36px;
184
+ }
185
+ }
186
+ @media screen and (max-width: 769px) {
187
+ ._1mjmksf9 {
188
+ max-width: 145px;
189
+ }
190
+ }
191
+ @media screen and (max-width: 769px) {
192
+ ._1mjmksfd small {
193
+ left: 290px;
194
+ }
195
+ }
196
+ @media screen and (max-width: 603px) {
197
+ ._1mjmksfd small {
198
+ left: 0;
199
+ }
200
+ }
@@ -1,6 +1,3 @@
1
- ._18ygy9m0 {
2
- padding: 3rem 0;
3
- }
4
1
  ._18ygy9m1 {
5
2
  background: var(--_1073cm81);
6
3
  }
@@ -25,6 +22,7 @@
25
22
  padding-bottom: 2.5rem;
26
23
  text-align: center;
27
24
  max-width: 1000px;
25
+ padding-top: 3rem;
28
26
  }
29
27
  ._18ygy9m5 .containment {
30
28
  width: 100%;
@@ -9,7 +9,9 @@ const moreDomains = {
9
9
  "{IMAGEASSETSURL}": "https://images.axos.com",
10
10
  "{ONLINEBANKING}": "https://onlinebanking.uat.axsobank.com",
11
11
  "{UFBDIRECT}": "https://www.ufbdirect.com",
12
- "{ARMS}": "https://arms.axosadvisor.com"
12
+ "{ARMS}": "https://arms.axosadvisor.com",
13
+ "{APPS}": "https://apps.axosbank.com",
14
+ "{AFP}": "https://afp.axosbank.com"
13
15
  // "assets.axos.com": "https://assets.axos.com",
14
16
  // "images.axos.com": "https://images.axos.com",
15
17
  };
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.84",
4
+ "version": "0.0.86",
5
5
  "type": "module",
6
6
  "module": "dist/main.js",
7
7
  "types": "dist/main.d.ts",
@@ -39,6 +39,8 @@
39
39
  "@vanilla-extract/recipes": "^0.5.1",
40
40
  "clsx": "^2.1.1",
41
41
  "iframe-resizer": "4.3.11",
42
+ "moment": "^2.30.1",
43
+ "react-date-picker": "^11.0.0",
42
44
  "react-hook-form": "^7.52.0",
43
45
  "react-markdown": "^9.0.1",
44
46
  "react-use": "^17.5.0",