@axos-web-dev/shared-components 2.0.0-dev.27-evo.1 → 2.0.0-dev.28
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.
- package/README.md +111 -111
- package/dist/Avatar/Avatar.module.js +7 -7
- package/dist/Blockquote/Blockquote.module.js +3 -3
- package/dist/Calculators/ApyCalculator/ApyCalculator.css.d.ts +1 -0
- package/dist/Calculators/ApyCalculator/ApyCalculator.css.js +4 -2
- package/dist/Calculators/ApyCalculator/index.js +49 -28
- package/dist/Carousel/index.js +1 -1
- package/dist/FdicCallout/FdicCallout.module.js +2 -2
- package/dist/Forms/ApplyNow.js +1 -1
- package/dist/Forms/MortgageRate/MortgageRateForm.js +1 -1
- package/dist/Forms/MortgageRate/MortgageRateWatch.js +1 -1
- package/dist/Forms/SuccesForm.js +1 -1
- package/dist/ImageLink/ImageLink.js +1 -1
- package/dist/Insight/Featured/CategorySelector.js +1 -1
- package/dist/Insight/Featured/Featured.js +1 -1
- package/dist/Insight/Featured/Header.js +1 -1
- package/dist/Interstitial/Interstitial.module.js +10 -10
- package/dist/NavigationMenu/AxosALTS/NavBar.module.js +23 -23
- package/dist/NavigationMenu/AxosAdvisor/NavBar.module.js +52 -52
- package/dist/NavigationMenu/AxosAdvisorServices/NavBar.module.js +53 -53
- package/dist/NavigationMenu/AxosBank/MobileMenu/MobileMenu.module.js +27 -27
- package/dist/NavigationMenu/AxosBank/NavBar.module.js +39 -39
- package/dist/NavigationMenu/AxosClearing/NavBar.module.js +37 -37
- package/dist/NavigationMenu/AxosFiduciary/NavBar.module.js +41 -41
- package/dist/NavigationMenu/LaVictoire/NavBar.module.js +37 -37
- package/dist/SetContainer/SetContainer.js +1 -1
- package/dist/WalnutIframe/wrapper.module.js +3 -3
- package/dist/assets/Avatar/Avatar.css +59 -59
- package/dist/assets/Blockquote/Blockquote.css +72 -72
- package/dist/assets/Calculators/ApyCalculator/ApyCalculator.css +5 -2
- package/dist/assets/FdicCallout/FdicCallout.css +48 -48
- package/dist/assets/Interstitial/Interstitial.css +142 -142
- package/dist/assets/NavigationMenu/AxosALTS/NavBar.css +264 -264
- package/dist/assets/NavigationMenu/AxosAdvisor/NavBar.css +609 -609
- package/dist/assets/NavigationMenu/AxosAdvisorServices/NavBar.css +630 -630
- package/dist/assets/NavigationMenu/AxosBank/MobileMenu/MobileMenu.css +353 -353
- package/dist/assets/NavigationMenu/AxosBank/NavBar.css +445 -445
- package/dist/assets/NavigationMenu/AxosClearing/NavBar.css +484 -484
- package/dist/assets/NavigationMenu/AxosFiduciary/NavBar.css +427 -427
- package/dist/assets/NavigationMenu/LaVictoire/NavBar.css +429 -429
- package/dist/assets/WalnutIframe/wrapper.css +48 -48
- package/dist/assets/utils/optimizeImage/optimizeImage.css +47 -47
- package/dist/utils/optimizeImage/optimizeImage.module.js +3 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,111 +1,111 @@
|
|
|
1
|
-
# Installation
|
|
2
|
-
|
|
3
|
-
Using npm:
|
|
4
|
-
|
|
5
|
-
```shell
|
|
6
|
-
$ npm install @axos-web-dev/shared-components
|
|
7
|
-
```
|
|
8
|
-
|
|
9
|
-
To import components
|
|
10
|
-
In Node.js:
|
|
11
|
-
|
|
12
|
-
```js
|
|
13
|
-
// Import Components
|
|
14
|
-
import {
|
|
15
|
-
AlertBanner,
|
|
16
|
-
CallToActionBar,
|
|
17
|
-
DownloadTile,
|
|
18
|
-
ImageBillboard,
|
|
19
|
-
SecondaryFooter,
|
|
20
|
-
} from "@axos-web-dev/shared-components";
|
|
21
|
-
|
|
22
|
-
// Import Types/Interfaces
|
|
23
|
-
|
|
24
|
-
import { AlertBannerInterface } from "@axos-web-dev/shared-components/dist/AlertBanner/AlertBanner.interface";
|
|
25
|
-
```
|
|
26
|
-
|
|
27
|
-
In css files:
|
|
28
|
-
|
|
29
|
-
```css
|
|
30
|
-
/*** Import styles ***/
|
|
31
|
-
|
|
32
|
-
@import "@axos-web-dev/shared-components/dist/assets/AlertBanner/AlertBanner.css";
|
|
33
|
-
```
|
|
34
|
-
|
|
35
|
-
# Shared components
|
|
36
|
-
|
|
37
|
-
This project is develop using `React + TypeScript + Vite + Storybook + Vanilla-extract` to building custom components for internal use.
|
|
38
|
-
|
|
39
|
-
## How to add new component
|
|
40
|
-
|
|
41
|
-
For add a new component use the `src/lib` folder and create a folder for the component. After that you should register an export in `src/lib/main.ts` file.
|
|
42
|
-
|
|
43
|
-
Also you need create a storie for the new component. Go to `src/stories` and create a new file or folder.
|
|
44
|
-
|
|
45
|
-
```shell
|
|
46
|
-
git clone bofaz@vs-ssh.visualstudio.com:v3/bofaz/Axos%20Marketing%20Cloud/Shared%20Components shared-components
|
|
47
|
-
|
|
48
|
-
cd shared-components
|
|
49
|
-
|
|
50
|
-
npm install
|
|
51
|
-
|
|
52
|
-
# for using storybook
|
|
53
|
-
npm run storybook
|
|
54
|
-
|
|
55
|
-
# for build
|
|
56
|
-
npm run build
|
|
57
|
-
|
|
58
|
-
# for testing in other projects
|
|
59
|
-
npm run build
|
|
60
|
-
|
|
61
|
-
npm link
|
|
62
|
-
|
|
63
|
-
```
|
|
64
|
-
|
|
65
|
-
For publishing we need to udpate the version we are using [semantic versioning](https://semver.org/)
|
|
66
|
-
|
|
67
|
-
```
|
|
68
|
-
Given a version number MAJOR.MINOR.PATCH, increment the:
|
|
69
|
-
|
|
70
|
-
MAJOR version when you make incompatible API changes
|
|
71
|
-
MINOR version when you add functionality in a backward compatible manner
|
|
72
|
-
PATCH version when you make backward compatible bug fixes
|
|
73
|
-
|
|
74
|
-
Additional labels for pre-release and build metadata are available as extensions to the MAJOR.MINOR.PATCH format.
|
|
75
|
-
```
|
|
76
|
-
|
|
77
|
-
we can update the version with the following commands:
|
|
78
|
-
|
|
79
|
-
```shell
|
|
80
|
-
# bumps the patch number like 0.0.0 -> 0.0.1
|
|
81
|
-
npm version patch
|
|
82
|
-
|
|
83
|
-
# bumps the patch number like 0.0.0 -> 0.1.0
|
|
84
|
-
npm version minor
|
|
85
|
-
|
|
86
|
-
# bumps the patch number like 0.0.0 -> 1.0.0
|
|
87
|
-
npm version major
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
```
|
|
92
|
-
|
|
93
|
-
## How to publish new library version to npm
|
|
94
|
-
|
|
95
|
-
First update the version as previously described
|
|
96
|
-
|
|
97
|
-
```shell
|
|
98
|
-
npm version [...]
|
|
99
|
-
```
|
|
100
|
-
|
|
101
|
-
Then you will need to login into npm to do that write:
|
|
102
|
-
|
|
103
|
-
```shell
|
|
104
|
-
npm login --scope=@my-org
|
|
105
|
-
```
|
|
106
|
-
|
|
107
|
-
Last you to publish the new version:
|
|
108
|
-
|
|
109
|
-
```shell
|
|
110
|
-
npm publish
|
|
111
|
-
```
|
|
1
|
+
# Installation
|
|
2
|
+
|
|
3
|
+
Using npm:
|
|
4
|
+
|
|
5
|
+
```shell
|
|
6
|
+
$ npm install @axos-web-dev/shared-components
|
|
7
|
+
```
|
|
8
|
+
|
|
9
|
+
To import components
|
|
10
|
+
In Node.js:
|
|
11
|
+
|
|
12
|
+
```js
|
|
13
|
+
// Import Components
|
|
14
|
+
import {
|
|
15
|
+
AlertBanner,
|
|
16
|
+
CallToActionBar,
|
|
17
|
+
DownloadTile,
|
|
18
|
+
ImageBillboard,
|
|
19
|
+
SecondaryFooter,
|
|
20
|
+
} from "@axos-web-dev/shared-components";
|
|
21
|
+
|
|
22
|
+
// Import Types/Interfaces
|
|
23
|
+
|
|
24
|
+
import { AlertBannerInterface } from "@axos-web-dev/shared-components/dist/AlertBanner/AlertBanner.interface";
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
In css files:
|
|
28
|
+
|
|
29
|
+
```css
|
|
30
|
+
/*** Import styles ***/
|
|
31
|
+
|
|
32
|
+
@import "@axos-web-dev/shared-components/dist/assets/AlertBanner/AlertBanner.css";
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
# Shared components
|
|
36
|
+
|
|
37
|
+
This project is develop using `React + TypeScript + Vite + Storybook + Vanilla-extract` to building custom components for internal use.
|
|
38
|
+
|
|
39
|
+
## How to add new component
|
|
40
|
+
|
|
41
|
+
For add a new component use the `src/lib` folder and create a folder for the component. After that you should register an export in `src/lib/main.ts` file.
|
|
42
|
+
|
|
43
|
+
Also you need create a storie for the new component. Go to `src/stories` and create a new file or folder.
|
|
44
|
+
|
|
45
|
+
```shell
|
|
46
|
+
git clone bofaz@vs-ssh.visualstudio.com:v3/bofaz/Axos%20Marketing%20Cloud/Shared%20Components shared-components
|
|
47
|
+
|
|
48
|
+
cd shared-components
|
|
49
|
+
|
|
50
|
+
npm install
|
|
51
|
+
|
|
52
|
+
# for using storybook
|
|
53
|
+
npm run storybook
|
|
54
|
+
|
|
55
|
+
# for build
|
|
56
|
+
npm run build
|
|
57
|
+
|
|
58
|
+
# for testing in other projects
|
|
59
|
+
npm run build
|
|
60
|
+
|
|
61
|
+
npm link
|
|
62
|
+
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
For publishing we need to udpate the version we are using [semantic versioning](https://semver.org/)
|
|
66
|
+
|
|
67
|
+
```
|
|
68
|
+
Given a version number MAJOR.MINOR.PATCH, increment the:
|
|
69
|
+
|
|
70
|
+
MAJOR version when you make incompatible API changes
|
|
71
|
+
MINOR version when you add functionality in a backward compatible manner
|
|
72
|
+
PATCH version when you make backward compatible bug fixes
|
|
73
|
+
|
|
74
|
+
Additional labels for pre-release and build metadata are available as extensions to the MAJOR.MINOR.PATCH format.
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
we can update the version with the following commands:
|
|
78
|
+
|
|
79
|
+
```shell
|
|
80
|
+
# bumps the patch number like 0.0.0 -> 0.0.1
|
|
81
|
+
npm version patch
|
|
82
|
+
|
|
83
|
+
# bumps the patch number like 0.0.0 -> 0.1.0
|
|
84
|
+
npm version minor
|
|
85
|
+
|
|
86
|
+
# bumps the patch number like 0.0.0 -> 1.0.0
|
|
87
|
+
npm version major
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
## How to publish new library version to npm
|
|
94
|
+
|
|
95
|
+
First update the version as previously described
|
|
96
|
+
|
|
97
|
+
```shell
|
|
98
|
+
npm version [...]
|
|
99
|
+
```
|
|
100
|
+
|
|
101
|
+
Then you will need to login into npm to do that write:
|
|
102
|
+
|
|
103
|
+
```shell
|
|
104
|
+
npm login --scope=@my-org
|
|
105
|
+
```
|
|
106
|
+
|
|
107
|
+
Last you to publish the new version:
|
|
108
|
+
|
|
109
|
+
```shell
|
|
110
|
+
npm publish
|
|
111
|
+
```
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import '../assets/Avatar/Avatar.css';const avatar_sec = "
|
|
2
|
-
const container = "
|
|
3
|
-
const image = "
|
|
4
|
-
const text = "
|
|
5
|
-
const name = "
|
|
6
|
-
const title = "
|
|
7
|
-
const description = "
|
|
1
|
+
import '../assets/Avatar/Avatar.css';const avatar_sec = "_avatar_sec_1clr6_1";
|
|
2
|
+
const container = "_container_1clr6_5";
|
|
3
|
+
const image = "_image_1clr6_14";
|
|
4
|
+
const text = "_text_1clr6_23";
|
|
5
|
+
const name = "_name_1clr6_29";
|
|
6
|
+
const title = "_title_1clr6_37";
|
|
7
|
+
const description = "_description_1clr6_44";
|
|
8
8
|
const css = {
|
|
9
9
|
avatar_sec,
|
|
10
10
|
container,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import '../assets/Blockquote/Blockquote.css';const quote_spacer = "
|
|
2
|
-
const author = "
|
|
3
|
-
const quote = "
|
|
1
|
+
import '../assets/Blockquote/Blockquote.css';const quote_spacer = "_quote_spacer_ovx4r_1";
|
|
2
|
+
const author = "_author_ovx4r_7";
|
|
3
|
+
const quote = "_quote_ovx4r_1";
|
|
4
4
|
const css = {
|
|
5
5
|
quote_spacer,
|
|
6
6
|
author,
|
|
@@ -92,5 +92,6 @@ export declare const definitions_column: string;
|
|
|
92
92
|
export declare const definitions_item: string;
|
|
93
93
|
export declare const definitions_term: string;
|
|
94
94
|
export declare const definitions_text: string;
|
|
95
|
+
export declare const calc_btn: string;
|
|
95
96
|
export declare const marketingTile: string;
|
|
96
97
|
export declare const bodyContent: string;
|
|
@@ -50,12 +50,14 @@ var definitions_column = "_1vox1xj1i";
|
|
|
50
50
|
var definitions_item = "_1vox1xj1j";
|
|
51
51
|
var definitions_term = "_1vox1xj1k";
|
|
52
52
|
var definitions_text = "_1vox1xj1l";
|
|
53
|
-
var
|
|
54
|
-
var
|
|
53
|
+
var calc_btn = "_1vox1xj1m";
|
|
54
|
+
var marketingTile = "_1vox1xj1n";
|
|
55
|
+
var bodyContent = "_1vox1xj1o";
|
|
55
56
|
export {
|
|
56
57
|
apy_calculator,
|
|
57
58
|
apy_calculator_form,
|
|
58
59
|
bodyContent,
|
|
60
|
+
calc_btn,
|
|
59
61
|
calculator_section,
|
|
60
62
|
chevron_icon,
|
|
61
63
|
container,
|
|
@@ -3,10 +3,11 @@ import { jsxs, jsx, Fragment } from "react/jsx-runtime";
|
|
|
3
3
|
import { useGlobalContext } from "../../Modal/contextApi/store.js";
|
|
4
4
|
import { getVariant } from "../../utils/getVariant.js";
|
|
5
5
|
import Image from "next/image.js";
|
|
6
|
-
import {
|
|
6
|
+
import { button } from "../../Button/Button.css.js";
|
|
7
|
+
import { Field, Label, Input, Description, Listbox, ListboxButton, ListboxOptions, ListboxOption, Button, Disclosure, DisclosureButton, DisclosurePanel } from "@headlessui/react";
|
|
7
8
|
import { AnimatePresence, motion } from "framer-motion";
|
|
8
9
|
import { useState, useCallback, useEffect, useRef } from "react";
|
|
9
|
-
import { apy_calculator, section_header, header_theme, mt_8, calculator_section, apy_calculator_form, fieldset, field_row, relative, field_label, field_row_input, field_row_input_error, field_error, label_symbol, percent, listbox_button, chevron_icon, listbox_options, listbox_option, optional_badge, form_disclosure, results_wrapper, result_card, result_section, result_image, result_value, scrambling, result_value_label, result_item, result_item_label, result_item_value, definitions_accordion, definitions_button, definitions_h2, definitions_columns, definitions_panel, definitions_column, definitions_item, definitions_term, definitions_text, container } from "./ApyCalculator.css.js";
|
|
10
|
+
import { apy_calculator, section_header, header_theme, mt_8, calculator_section, apy_calculator_form, fieldset, field_row, relative, field_label, field_row_input, field_row_input_error, field_error, label_symbol, percent, listbox_button, chevron_icon, listbox_options, listbox_option, optional_badge, form_disclosure, calc_btn, results_wrapper, result_card, result_section, result_image, result_value, scrambling, result_value_label, result_item, result_item_label, result_item_value, definitions_accordion, definitions_button, definitions_h2, definitions_columns, definitions_panel, definitions_column, definitions_item, definitions_term, definitions_text, container } from "./ApyCalculator.css.js";
|
|
10
11
|
const COMPOUNDING_OPTIONS = [
|
|
11
12
|
{ value: 360, label: "Daily" },
|
|
12
13
|
{ value: 12, label: "Monthly" },
|
|
@@ -49,10 +50,19 @@ const CALCULATOR_DEFINITIONS = [
|
|
|
49
50
|
}
|
|
50
51
|
];
|
|
51
52
|
const SCRAMBLE_CHARS = "0123456789";
|
|
52
|
-
const
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
53
|
+
const STACKED_LAYOUT_MEDIA = "(max-width: 930px)";
|
|
54
|
+
const INTEREST_EARNED_ID = "interestEarned";
|
|
55
|
+
function useStackedLayout() {
|
|
56
|
+
const [isStacked, setIsStacked] = useState(false);
|
|
57
|
+
useEffect(() => {
|
|
58
|
+
const media = window.matchMedia(STACKED_LAYOUT_MEDIA);
|
|
59
|
+
const onChange = () => setIsStacked(media.matches);
|
|
60
|
+
onChange();
|
|
61
|
+
media.addEventListener("change", onChange);
|
|
62
|
+
return () => media.removeEventListener("change", onChange);
|
|
63
|
+
}, []);
|
|
64
|
+
return isStacked;
|
|
65
|
+
}
|
|
56
66
|
function scrambleCurrency(target, progress) {
|
|
57
67
|
const formatted = target.toLocaleString("en-US", {
|
|
58
68
|
style: "currency",
|
|
@@ -119,9 +129,10 @@ const ApyCalculator = ({
|
|
|
119
129
|
variant
|
|
120
130
|
}) => {
|
|
121
131
|
const { domains } = useGlobalContext();
|
|
132
|
+
const isStackedLayout = useStackedLayout();
|
|
122
133
|
const calculator_variant = getVariant(variant);
|
|
123
134
|
const [compoundingOption, setCompoundingOption] = useState(
|
|
124
|
-
COMPOUNDING_OPTIONS[
|
|
135
|
+
COMPOUNDING_OPTIONS[1]
|
|
125
136
|
);
|
|
126
137
|
const compounding = compoundingOption.value;
|
|
127
138
|
const getAPR = useCallback(
|
|
@@ -184,6 +195,12 @@ const ApyCalculator = ({
|
|
|
184
195
|
const midPoint = Math.ceil(CALCULATOR_DEFINITIONS.length / 2);
|
|
185
196
|
const leftDefinitions = CALCULATOR_DEFINITIONS.slice(0, midPoint);
|
|
186
197
|
const rightDefinitions = CALCULATOR_DEFINITIONS.slice(midPoint);
|
|
198
|
+
const scrollToInterestEarned = useCallback(() => {
|
|
199
|
+
document.getElementById(INTEREST_EARNED_ID)?.scrollIntoView({
|
|
200
|
+
behavior: "smooth",
|
|
201
|
+
block: "start"
|
|
202
|
+
});
|
|
203
|
+
}, []);
|
|
187
204
|
const calculate = useCallback(() => {
|
|
188
205
|
const newErrors = {};
|
|
189
206
|
if (!initialDeposit || initialDeposit <= 0 || Number.isNaN(initialDeposit)) {
|
|
@@ -199,7 +216,7 @@ const ApyCalculator = ({
|
|
|
199
216
|
newErrors.APY = "Please enter a valid APY greater than 0.";
|
|
200
217
|
}
|
|
201
218
|
setFieldErrors(newErrors);
|
|
202
|
-
if (Object.keys(newErrors).length > 0) return;
|
|
219
|
+
if (Object.keys(newErrors).length > 0) return false;
|
|
203
220
|
const APR = getAPR(APY);
|
|
204
221
|
const interestRate = 0.01 * APR;
|
|
205
222
|
let total;
|
|
@@ -225,10 +242,18 @@ const ApyCalculator = ({
|
|
|
225
242
|
setEndingBalanceRaw(total);
|
|
226
243
|
setTotalDepositsRaw(deposits);
|
|
227
244
|
setInterestEarnedRaw(interest > 0 ? interest : 0);
|
|
245
|
+
return true;
|
|
228
246
|
}, [initialDeposit, APY, months, monthlyDeposits, compounding, getAPR]);
|
|
247
|
+
const handleCalculateClick = useCallback(() => {
|
|
248
|
+
const didCalculate = calculate();
|
|
249
|
+
if (!didCalculate || !isStackedLayout) return;
|
|
250
|
+
requestAnimationFrame(() => {
|
|
251
|
+
scrollToInterestEarned();
|
|
252
|
+
});
|
|
253
|
+
}, [calculate, isStackedLayout, scrollToInterestEarned]);
|
|
229
254
|
useEffect(() => {
|
|
230
255
|
calculate();
|
|
231
|
-
}, [
|
|
256
|
+
}, []);
|
|
232
257
|
return /* @__PURE__ */ jsxs(
|
|
233
258
|
"section",
|
|
234
259
|
{
|
|
@@ -437,12 +462,22 @@ const ApyCalculator = ({
|
|
|
437
462
|
}
|
|
438
463
|
)
|
|
439
464
|
] }),
|
|
440
|
-
disclosure && /* @__PURE__ */ jsx("div", { className: `${form_disclosure} push_up_24`, children: disclosure })
|
|
465
|
+
disclosure && /* @__PURE__ */ jsx("div", { className: `${form_disclosure} push_up_24`, children: disclosure }),
|
|
466
|
+
/* @__PURE__ */ jsx("div", { className: "flex center push_up", children: /* @__PURE__ */ jsx(
|
|
467
|
+
Button,
|
|
468
|
+
{
|
|
469
|
+
type: "button",
|
|
470
|
+
onClick: handleCalculateClick,
|
|
471
|
+
className: `${button({ color: "primary", size: "large", rounded: "medium" })} ${calc_btn}`,
|
|
472
|
+
children: "Calculate"
|
|
473
|
+
}
|
|
474
|
+
) })
|
|
441
475
|
] }) }) }),
|
|
442
476
|
/* @__PURE__ */ jsx("div", { className: results_wrapper, children: /* @__PURE__ */ jsxs("div", { className: result_card, children: [
|
|
443
477
|
/* @__PURE__ */ jsxs(
|
|
444
478
|
"div",
|
|
445
479
|
{
|
|
480
|
+
id: INTEREST_EARNED_ID,
|
|
446
481
|
className: result_section,
|
|
447
482
|
"aria-live": "polite",
|
|
448
483
|
"aria-atomic": "true",
|
|
@@ -544,17 +579,10 @@ const ApyCalculator = ({
|
|
|
544
579
|
{
|
|
545
580
|
className: `${definitions_columns} ${definitions_panel}`,
|
|
546
581
|
children: [
|
|
547
|
-
/* @__PURE__ */ jsx("div", { className: definitions_column, children: leftDefinitions.map((definition
|
|
548
|
-
|
|
582
|
+
/* @__PURE__ */ jsx("div", { className: definitions_column, children: leftDefinitions.map((definition) => /* @__PURE__ */ jsxs(
|
|
583
|
+
"div",
|
|
549
584
|
{
|
|
550
585
|
className: definitions_item,
|
|
551
|
-
initial: { opacity: 0, y: 8 },
|
|
552
|
-
animate: { opacity: 1, y: 0 },
|
|
553
|
-
exit: { opacity: 0, y: 6 },
|
|
554
|
-
transition: {
|
|
555
|
-
...DEFINITIONS_ITEM_TRANSITION,
|
|
556
|
-
delay: index * 0.045
|
|
557
|
-
},
|
|
558
586
|
children: [
|
|
559
587
|
/* @__PURE__ */ jsx("h3", { className: definitions_term, children: definition.term }),
|
|
560
588
|
/* @__PURE__ */ jsx("p", { className: definitions_text, children: definition.description })
|
|
@@ -562,17 +590,10 @@ const ApyCalculator = ({
|
|
|
562
590
|
},
|
|
563
591
|
definition.term
|
|
564
592
|
)) }),
|
|
565
|
-
/* @__PURE__ */ jsx("div", { className: definitions_column, children: rightDefinitions.map((definition
|
|
566
|
-
|
|
593
|
+
/* @__PURE__ */ jsx("div", { className: definitions_column, children: rightDefinitions.map((definition) => /* @__PURE__ */ jsxs(
|
|
594
|
+
"div",
|
|
567
595
|
{
|
|
568
596
|
className: definitions_item,
|
|
569
|
-
initial: { opacity: 0, y: 8 },
|
|
570
|
-
animate: { opacity: 1, y: 0 },
|
|
571
|
-
exit: { opacity: 0, y: 6 },
|
|
572
|
-
transition: {
|
|
573
|
-
...DEFINITIONS_ITEM_TRANSITION,
|
|
574
|
-
delay: (leftDefinitions.length + index) * 0.045
|
|
575
|
-
},
|
|
576
597
|
children: [
|
|
577
598
|
/* @__PURE__ */ jsx("h3", { className: definitions_term, children: definition.term }),
|
|
578
599
|
/* @__PURE__ */ jsx("p", { className: definitions_text, children: definition.description })
|
package/dist/Carousel/index.js
CHANGED
|
@@ -26,6 +26,7 @@ import "../Calculators/calculator.css.js";
|
|
|
26
26
|
import "../Calculators/AnnualFeeCalculator/AnnualFeeCalculator.css.js";
|
|
27
27
|
import "../Modal/contextApi/store.js";
|
|
28
28
|
import "next/image.js";
|
|
29
|
+
import "../Button/Button.css.js";
|
|
29
30
|
import "../Calculators/ApyCalculator/ApyCalculator.css.js";
|
|
30
31
|
import "../Table/Table.css.js";
|
|
31
32
|
import "../Calculators/AxosOneCalculator/BalanceAPYCalculator.css.js";
|
|
@@ -61,7 +62,6 @@ import "../Hyperlink/Hyperlink.css.js";
|
|
|
61
62
|
/* empty css */
|
|
62
63
|
import "iframe-resizer";
|
|
63
64
|
/* empty css */
|
|
64
|
-
import "../Button/Button.css.js";
|
|
65
65
|
import "../Calculators/MonthlyPaymentCalculator/MonthlyPaymentCalculator.css.js";
|
|
66
66
|
import "../Calculators/MonthlyPaymentLVFCalculator/MonthlyPaymentCalculator.css.js";
|
|
67
67
|
import "../Calculators/SummitApyCalculator/BalanceAPYCalculator.css.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import '../assets/FdicCallout/FdicCallout.css';const fdic_callout = "
|
|
2
|
-
const inner_container = "
|
|
1
|
+
import '../assets/FdicCallout/FdicCallout.css';const fdic_callout = "_fdic_callout_1f6md_1";
|
|
2
|
+
const inner_container = "_inner_container_1f6md_6";
|
|
3
3
|
const css = {
|
|
4
4
|
fdic_callout,
|
|
5
5
|
inner_container
|
package/dist/Forms/ApplyNow.js
CHANGED
|
@@ -29,6 +29,7 @@ import "../Calculators/calculator.css.js";
|
|
|
29
29
|
import "../Calculators/AnnualFeeCalculator/AnnualFeeCalculator.css.js";
|
|
30
30
|
import "../Modal/contextApi/store.js";
|
|
31
31
|
import "next/image.js";
|
|
32
|
+
import "../Button/Button.css.js";
|
|
32
33
|
import "../Calculators/ApyCalculator/ApyCalculator.css.js";
|
|
33
34
|
import "../Table/Table.css.js";
|
|
34
35
|
import "../Calculators/AxosOneCalculator/BalanceAPYCalculator.css.js";
|
|
@@ -62,7 +63,6 @@ import "../Hyperlink/Hyperlink.css.js";
|
|
|
62
63
|
/* empty css */
|
|
63
64
|
import "iframe-resizer";
|
|
64
65
|
/* empty css */
|
|
65
|
-
import "../Button/Button.css.js";
|
|
66
66
|
import "../Calculators/MonthlyPaymentCalculator/MonthlyPaymentCalculator.css.js";
|
|
67
67
|
import "../Calculators/MonthlyPaymentLVFCalculator/MonthlyPaymentCalculator.css.js";
|
|
68
68
|
import "../Calculators/SummitApyCalculator/BalanceAPYCalculator.css.js";
|
|
@@ -29,6 +29,7 @@ import "../../Calculators/calculator.css.js";
|
|
|
29
29
|
import "../../Calculators/AnnualFeeCalculator/AnnualFeeCalculator.css.js";
|
|
30
30
|
import "../../Modal/contextApi/store.js";
|
|
31
31
|
import "next/image.js";
|
|
32
|
+
import { button } from "../../Button/Button.css.js";
|
|
32
33
|
import "../../Calculators/ApyCalculator/ApyCalculator.css.js";
|
|
33
34
|
import "../../Table/Table.css.js";
|
|
34
35
|
import "../../Calculators/AxosOneCalculator/BalanceAPYCalculator.css.js";
|
|
@@ -64,7 +65,6 @@ import "../../Hyperlink/Hyperlink.css.js";
|
|
|
64
65
|
/* empty css */
|
|
65
66
|
import "iframe-resizer";
|
|
66
67
|
/* empty css */
|
|
67
|
-
import { button } from "../../Button/Button.css.js";
|
|
68
68
|
import "../../Calculators/MonthlyPaymentCalculator/MonthlyPaymentCalculator.css.js";
|
|
69
69
|
import "../../Calculators/MonthlyPaymentLVFCalculator/MonthlyPaymentCalculator.css.js";
|
|
70
70
|
import "../../Calculators/SummitApyCalculator/BalanceAPYCalculator.css.js";
|
|
@@ -41,6 +41,7 @@ import "../../Calculators/calculator.css.js";
|
|
|
41
41
|
import "../../Calculators/AnnualFeeCalculator/AnnualFeeCalculator.css.js";
|
|
42
42
|
import "../../Modal/contextApi/store.js";
|
|
43
43
|
import "next/image.js";
|
|
44
|
+
import { button } from "../../Button/Button.css.js";
|
|
44
45
|
import "../../Calculators/ApyCalculator/ApyCalculator.css.js";
|
|
45
46
|
import "../../Table/Table.css.js";
|
|
46
47
|
import "../../Calculators/AxosOneCalculator/BalanceAPYCalculator.css.js";
|
|
@@ -59,7 +60,6 @@ import "../../Hyperlink/Hyperlink.css.js";
|
|
|
59
60
|
import { SuccesFormWrapper } from "../SuccesForm.js";
|
|
60
61
|
import "iframe-resizer";
|
|
61
62
|
/* empty css */
|
|
62
|
-
import { button } from "../../Button/Button.css.js";
|
|
63
63
|
import "../../Calculators/MonthlyPaymentCalculator/MonthlyPaymentCalculator.css.js";
|
|
64
64
|
import "../../Calculators/MonthlyPaymentLVFCalculator/MonthlyPaymentCalculator.css.js";
|
|
65
65
|
import "../../Calculators/SummitApyCalculator/BalanceAPYCalculator.css.js";
|
package/dist/Forms/SuccesForm.js
CHANGED
|
@@ -23,6 +23,7 @@ import "../Calculators/calculator.css.js";
|
|
|
23
23
|
import "../Calculators/AnnualFeeCalculator/AnnualFeeCalculator.css.js";
|
|
24
24
|
import "../Modal/contextApi/store.js";
|
|
25
25
|
import "next/image.js";
|
|
26
|
+
import "../Button/Button.css.js";
|
|
26
27
|
import "../Calculators/ApyCalculator/ApyCalculator.css.js";
|
|
27
28
|
import "../Table/Table.css.js";
|
|
28
29
|
import "../Calculators/AxosOneCalculator/BalanceAPYCalculator.css.js";
|
|
@@ -45,7 +46,6 @@ import "iframe-resizer";
|
|
|
45
46
|
/* empty css */
|
|
46
47
|
import "../Chevron/Chevron.css.js";
|
|
47
48
|
/* empty css */
|
|
48
|
-
import "../Button/Button.css.js";
|
|
49
49
|
import "../Calculators/MonthlyPaymentCalculator/MonthlyPaymentCalculator.css.js";
|
|
50
50
|
import "../Calculators/MonthlyPaymentLVFCalculator/MonthlyPaymentCalculator.css.js";
|
|
51
51
|
import "../Calculators/SummitApyCalculator/BalanceAPYCalculator.css.js";
|
|
@@ -22,6 +22,7 @@ import "../Calculators/calculator.css.js";
|
|
|
22
22
|
import "../Calculators/AnnualFeeCalculator/AnnualFeeCalculator.css.js";
|
|
23
23
|
import "../Modal/contextApi/store.js";
|
|
24
24
|
import "next/image.js";
|
|
25
|
+
import "../Button/Button.css.js";
|
|
25
26
|
import "../Calculators/ApyCalculator/ApyCalculator.css.js";
|
|
26
27
|
import "../Table/Table.css.js";
|
|
27
28
|
import "../Calculators/AxosOneCalculator/BalanceAPYCalculator.css.js";
|
|
@@ -56,7 +57,6 @@ import "../Inputs/Input.css.js";
|
|
|
56
57
|
/* empty css */
|
|
57
58
|
import "iframe-resizer";
|
|
58
59
|
/* empty css */
|
|
59
|
-
import "../Button/Button.css.js";
|
|
60
60
|
import "../Calculators/MonthlyPaymentCalculator/MonthlyPaymentCalculator.css.js";
|
|
61
61
|
import "../Calculators/MonthlyPaymentLVFCalculator/MonthlyPaymentCalculator.css.js";
|
|
62
62
|
import "../Calculators/SummitApyCalculator/BalanceAPYCalculator.css.js";
|
|
@@ -26,6 +26,7 @@ import "../../Calculators/calculator.css.js";
|
|
|
26
26
|
import "../../Calculators/AnnualFeeCalculator/AnnualFeeCalculator.css.js";
|
|
27
27
|
import "../../Modal/contextApi/store.js";
|
|
28
28
|
import "next/image.js";
|
|
29
|
+
import "../../Button/Button.css.js";
|
|
29
30
|
import "../../Calculators/ApyCalculator/ApyCalculator.css.js";
|
|
30
31
|
import "../../Table/Table.css.js";
|
|
31
32
|
import "../../Calculators/AxosOneCalculator/BalanceAPYCalculator.css.js";
|
|
@@ -58,7 +59,6 @@ import "../../Hyperlink/Hyperlink.css.js";
|
|
|
58
59
|
/* empty css */
|
|
59
60
|
import "iframe-resizer";
|
|
60
61
|
/* empty css */
|
|
61
|
-
import "../../Button/Button.css.js";
|
|
62
62
|
import "../../Calculators/MonthlyPaymentCalculator/MonthlyPaymentCalculator.css.js";
|
|
63
63
|
import "../../Calculators/MonthlyPaymentLVFCalculator/MonthlyPaymentCalculator.css.js";
|
|
64
64
|
import "../../Calculators/SummitApyCalculator/BalanceAPYCalculator.css.js";
|
|
@@ -23,6 +23,7 @@ import "../../Calculators/calculator.css.js";
|
|
|
23
23
|
import "../../Calculators/AnnualFeeCalculator/AnnualFeeCalculator.css.js";
|
|
24
24
|
import "../../Modal/contextApi/store.js";
|
|
25
25
|
import Image from "next/image.js";
|
|
26
|
+
import "../../Button/Button.css.js";
|
|
26
27
|
import "../../Calculators/ApyCalculator/ApyCalculator.css.js";
|
|
27
28
|
import "../../Table/Table.css.js";
|
|
28
29
|
import "../../Calculators/AxosOneCalculator/BalanceAPYCalculator.css.js";
|
|
@@ -58,7 +59,6 @@ import "../../Hyperlink/Hyperlink.css.js";
|
|
|
58
59
|
/* empty css */
|
|
59
60
|
import "iframe-resizer";
|
|
60
61
|
/* empty css */
|
|
61
|
-
import "../../Button/Button.css.js";
|
|
62
62
|
import "../../Calculators/MonthlyPaymentCalculator/MonthlyPaymentCalculator.css.js";
|
|
63
63
|
import "../../Calculators/MonthlyPaymentLVFCalculator/MonthlyPaymentCalculator.css.js";
|
|
64
64
|
import "../../Calculators/SummitApyCalculator/BalanceAPYCalculator.css.js";
|
|
@@ -21,6 +21,7 @@ import "../../Calculators/calculator.css.js";
|
|
|
21
21
|
import "../../Calculators/AnnualFeeCalculator/AnnualFeeCalculator.css.js";
|
|
22
22
|
import "../../Modal/contextApi/store.js";
|
|
23
23
|
import "next/image.js";
|
|
24
|
+
import "../../Button/Button.css.js";
|
|
24
25
|
import "../../Calculators/ApyCalculator/ApyCalculator.css.js";
|
|
25
26
|
import "../../Table/Table.css.js";
|
|
26
27
|
import "../../Calculators/AxosOneCalculator/BalanceAPYCalculator.css.js";
|
|
@@ -56,7 +57,6 @@ import "../../Hyperlink/Hyperlink.css.js";
|
|
|
56
57
|
/* empty css */
|
|
57
58
|
import "iframe-resizer";
|
|
58
59
|
/* empty css */
|
|
59
|
-
import "../../Button/Button.css.js";
|
|
60
60
|
import "../../Calculators/MonthlyPaymentCalculator/MonthlyPaymentCalculator.css.js";
|
|
61
61
|
import "../../Calculators/MonthlyPaymentLVFCalculator/MonthlyPaymentCalculator.css.js";
|
|
62
62
|
import "../../Calculators/SummitApyCalculator/BalanceAPYCalculator.css.js";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import '../assets/Interstitial/Interstitial.css';const overlay = "
|
|
2
|
-
const modal = "
|
|
3
|
-
const vanish = "
|
|
4
|
-
const appear = "
|
|
5
|
-
const close_button = "
|
|
6
|
-
const modal_content = "
|
|
7
|
-
const img_area = "
|
|
8
|
-
const body_copy = "
|
|
9
|
-
const btns = "
|
|
10
|
-
const white_modal = "
|
|
1
|
+
import '../assets/Interstitial/Interstitial.css';const overlay = "_overlay_e4cra_24";
|
|
2
|
+
const modal = "_modal_e4cra_40";
|
|
3
|
+
const vanish = "_vanish_e4cra_1";
|
|
4
|
+
const appear = "_appear_e4cra_1";
|
|
5
|
+
const close_button = "_close_button_e4cra_55";
|
|
6
|
+
const modal_content = "_modal_content_e4cra_70";
|
|
7
|
+
const img_area = "_img_area_e4cra_74";
|
|
8
|
+
const body_copy = "_body_copy_e4cra_84";
|
|
9
|
+
const btns = "_btns_e4cra_98";
|
|
10
|
+
const white_modal = "_white_modal_e4cra_139";
|
|
11
11
|
const css = {
|
|
12
12
|
overlay,
|
|
13
13
|
modal,
|