@axos-web-dev/shared-components 2.0.0-dev.4 → 2.0.0-dev.5
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/Accordion/Accordion.js +3 -3
- package/dist/AlertBanner/index.js +1 -1
- package/dist/Article/Article.js +1 -1
- package/dist/Avatar/Avatar.module.js +7 -7
- package/dist/Blockquote/Blockquote.module.js +3 -3
- package/dist/Calculators/AnnualFeeCalculator/index.js +1 -1
- package/dist/Calculators/ApyCalculator/index.js +1 -1
- package/dist/Calculators/BuyDownCalculator/index.js +1 -1
- package/dist/Calculators/MarginTradingCalculator/index.js +1 -1
- package/dist/Calculators/MarineLoanMonthlyPaymentCalculator/index.js +1 -1
- package/dist/Calculators/MaxLoanCalculator/index.js +1 -1
- package/dist/Calculators/MonthlyPaymentCalculator/index.js +1 -1
- package/dist/Calculators/MonthlyPaymentLVFCalculator/index.js +1 -1
- package/dist/Carousel/index.js +1 -1
- package/dist/Chatbot/Chatbot.js +12 -10
- package/dist/ContentBanner/index.js +1 -1
- package/dist/ExecutiveBio/ExecutiveBio.js +1 -1
- package/dist/ExecutiveBio/ExecutiveBioSet.js +1 -1
- package/dist/FaqAccordion/index.js +1 -1
- package/dist/FdicCallout/FdicCallout.module.js +2 -2
- package/dist/FooterDisclosure/FooterDisclosure.js +1 -1
- package/dist/Forms/BoatMooringLocation.d.ts +2 -0
- package/dist/Forms/BoatMooringLocation.js +56 -0
- package/dist/Forms/MortgageRate/MortgageRateForm.js +1 -1
- package/dist/HeroBanner/HeroBanner.js +2 -2
- package/dist/IconBillboard/IconBillboardSet.js +1 -1
- package/dist/ImageBillboard/ImageBillboard.js +1 -1
- package/dist/Input/Checkbox.js +2 -2
- package/dist/Input/DownPaymentInput.js +1 -1
- package/dist/Input/Dropdown.js +1 -1
- package/dist/Input/Input.js +1 -1
- package/dist/Input/InputTextArea.js +1 -1
- package/dist/Insight/Featured/Featured.js +2 -2
- package/dist/Interstitial/Interstitial.module.js +10 -10
- package/dist/LandingPageHeader/LandingPageHeader.js +1 -1
- package/dist/Modal/contextApi/store.js +1 -1
- 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/PageNavItem/PageNavItem.js +1 -1
- package/dist/SetContainer/SetContainer.js +1 -1
- package/dist/StepItem/StepItem.js +1 -1
- package/dist/StepItemSet/StepItemSet.js +1 -1
- package/dist/Table/Table.js +1 -1
- package/dist/Topic/Topic.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/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 +148 -148
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,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
3
|
import clsx from "clsx";
|
|
4
|
-
import React, { createContext,
|
|
4
|
+
import React, { createContext, useState, useContext } from "react";
|
|
5
5
|
import "../icons/ArrowIcon/ArrowIcon.css.js";
|
|
6
6
|
import "../icons/CheckIcon/CheckIcon.css.js";
|
|
7
7
|
import SvgChevronDown from "../icons/ChevronDown.js";
|
|
@@ -12,7 +12,7 @@ import '../assets/icons/FollowIcon/FollowIcon.css';import '../assets/icons/Downl
|
|
|
12
12
|
/* empty css */
|
|
13
13
|
/* empty css */
|
|
14
14
|
/* empty css */
|
|
15
|
-
import {
|
|
15
|
+
import { bodyAccordion, hide, paragraph, accordion, headerContent, icon, headerAccordion } from "./Accordion.css.js";
|
|
16
16
|
const AccordionCtx = createContext({
|
|
17
17
|
isOpen: false,
|
|
18
18
|
onclick: () => {
|
|
@@ -10,7 +10,7 @@ import '../assets/icons/FollowIcon/FollowIcon.css';import '../assets/icons/Downl
|
|
|
10
10
|
/* empty css */
|
|
11
11
|
import SvgLockIcon from "../icons/LockIcon/index.js";
|
|
12
12
|
import { SvgWarningIcon } from "../icons/WarningIcon/index.js";
|
|
13
|
-
import {
|
|
13
|
+
import { alertBanner_img_section, alertBanner_body, alertBanner_cta, alertBanner } from "./AlertBanner.css.js";
|
|
14
14
|
const AlertBanner = ({
|
|
15
15
|
alertType,
|
|
16
16
|
message,
|
package/dist/Article/Article.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs, jsx, Fragment } from "react/jsx-runtime";
|
|
2
2
|
import { getVariant } from "../utils/getVariant.js";
|
|
3
3
|
import { OptimizeImage } from "../utils/optimizeImage/OptimizeImage.js";
|
|
4
|
-
import {
|
|
4
|
+
import { ant_img, ant_content, ant_eyebrow, ant_card_title, ant_card_body, ant_card_cta, ant_article } from "./Article.css.js";
|
|
5
5
|
import { Button } from "../Button/Button.js";
|
|
6
6
|
import "../Button/Button.css.js";
|
|
7
7
|
import "react";
|
|
@@ -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_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,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_lqs2u_1";
|
|
2
|
+
const author = "_author_lqs2u_13";
|
|
3
|
+
const quote = "_quote_lqs2u_1";
|
|
4
4
|
const css = {
|
|
5
5
|
quote_spacer,
|
|
6
6
|
author,
|
|
@@ -7,7 +7,7 @@ import { getVariant } from "../../utils/getVariant.js";
|
|
|
7
7
|
import { useRef, useState, useEffect } from "react";
|
|
8
8
|
import clsx from "clsx";
|
|
9
9
|
import { calculator } from "../calculator.css.js";
|
|
10
|
-
import {
|
|
10
|
+
import { calc_container, calc_block, pb0_1023, slider_block_wrapper, w100, stat_row, balance_wrapper, fb50, stat, slider_wrapper, slider, pt0_1023, text_block, container } from "./AnnualFeeCalculator.css.js";
|
|
11
11
|
const AnnualFeeCalculator = ({
|
|
12
12
|
marketingTiles,
|
|
13
13
|
variant: fullVariant = "primary"
|
|
@@ -8,7 +8,7 @@ import { Chevron } from "../../Chevron/index.js";
|
|
|
8
8
|
import { section_container, content, headerIconBillboard, buttons } from "../../IconBillboard/IconBillboard.css.js";
|
|
9
9
|
import { useGlobalContext } from "../../Modal/contextApi/store.js";
|
|
10
10
|
import { getVariant } from "../../utils/getVariant.js";
|
|
11
|
-
import {
|
|
11
|
+
import { apy_calculator, calculator_section, section_header, header_theme, mt_8, apy_calculator_form, pis_0, errorTag, fieldset, field_row, relative, label_symbol, cash, prefix_pad, percent, submit_section, span_12, form_disclosure, marketing, marketingTile, bodyContent, container } from "./ApyCalculator.css.js";
|
|
12
12
|
const ApyCalculator = ({
|
|
13
13
|
header,
|
|
14
14
|
body,
|
|
@@ -22,7 +22,7 @@ import { z } from "zod";
|
|
|
22
22
|
import { getVariant } from "../../utils/getVariant.js";
|
|
23
23
|
import clsx from "clsx";
|
|
24
24
|
import { useForm, FormProvider } from "react-hook-form";
|
|
25
|
-
import {
|
|
25
|
+
import { calculator_section, section_header, theme_header, mt_8, buydown_calculator_form, row_form, calculate_row, form_wrapper, form_disclosure, calc_container } from "./BuyDownCalculator.css.js";
|
|
26
26
|
const BuyDownCalculator = ({
|
|
27
27
|
header,
|
|
28
28
|
body,
|
|
@@ -4,7 +4,7 @@ import { Button } from "../../Button/Button.js";
|
|
|
4
4
|
import { button } from "../../Button/Button.css.js";
|
|
5
5
|
import { useEffect } from "react";
|
|
6
6
|
import "react-use";
|
|
7
|
-
import {
|
|
7
|
+
import { field_row, errorTag, marketingTile, bodyContent, header_theme, container } from "../ApyCalculator/ApyCalculator.css.js";
|
|
8
8
|
import { Chevron } from "../../Chevron/index.js";
|
|
9
9
|
import { content, headerIconBillboard, buttons } from "../../IconBillboard/IconBillboard.css.js";
|
|
10
10
|
import { getVariant } from "../../utils/getVariant.js";
|
|
@@ -7,7 +7,7 @@ import { useState } from "react";
|
|
|
7
7
|
import clsx from "clsx";
|
|
8
8
|
import { calc_text, description_text, calc_disclosure } from "../BalanceAPYCalculator/BalanceAPYCalculator.css.js";
|
|
9
9
|
import { calculator } from "../calculator.css.js";
|
|
10
|
-
import { calc_container,
|
|
10
|
+
import { calc_container, h2i, inputs_container, input_container, input_box, error_message, hide_select_arrow, calculation_header, payment_results, container } from "../MonthlyPaymentCalculator/MonthlyPaymentCalculator.css.js";
|
|
11
11
|
const MarineLoanMonthlyPaymentCalculator = ({ variant, header, disclosure, bodyCopy = true }) => {
|
|
12
12
|
const fullVariant = getVariant(variant);
|
|
13
13
|
const [loanAmountDisplay, setLoanAmountDisplay] = useState("$75,000");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { button } from "../../Button/Button.css.js";
|
|
4
|
-
import { calc_container,
|
|
4
|
+
import { calc_container, h2i, inputs_container, input_container, input_box, error_message, calculation_header, payment_results, container } from "../MonthlyPaymentCalculator/MonthlyPaymentCalculator.css.js";
|
|
5
5
|
import { title } from "../../IconBillboard/IconBillboard.css.js";
|
|
6
6
|
import { getVariant } from "../../utils/getVariant.js";
|
|
7
7
|
import { useState } from "react";
|
|
@@ -7,7 +7,7 @@ import { useState } from "react";
|
|
|
7
7
|
import clsx from "clsx";
|
|
8
8
|
import { calc_text, description_text, calc_disclosure } from "../BalanceAPYCalculator/BalanceAPYCalculator.css.js";
|
|
9
9
|
import { calculator } from "../calculator.css.js";
|
|
10
|
-
import { calc_container,
|
|
10
|
+
import { calc_container, h2i, inputs_container, input_container, input_box, error_message, calculation_header, payment_results, container } from "./MonthlyPaymentCalculator.css.js";
|
|
11
11
|
const MonthlyPaymentCalculator = ({
|
|
12
12
|
variant,
|
|
13
13
|
header,
|
|
@@ -4,7 +4,7 @@ import { button } from "../../Button/Button.css.js";
|
|
|
4
4
|
import { getVariant } from "../../utils/getVariant.js";
|
|
5
5
|
import { useState } from "react";
|
|
6
6
|
import { calc_disclosure } from "../BalanceAPYCalculator/BalanceAPYCalculator.css.js";
|
|
7
|
-
import {
|
|
7
|
+
import { calc_content_area, calc_h2, calc_bodycopy, lvf_calc_wrapper, lvf_calc_header, calc_wrapper_inner, calc_input_wrap, rounded_cell, calc_input_styles, error_dialog, results_wrap, result_header, result_value, waves, parallax, bg_vars } from "./MonthlyPaymentCalculator.css.js";
|
|
8
8
|
const MonthlyPaymentLVFCalculator = ({ variant, header, bodyCopy, disclosure }) => {
|
|
9
9
|
const theme = getVariant(variant);
|
|
10
10
|
const [loanAmountMasked, setLoanAmountMasked] = useState("50,000");
|
package/dist/Carousel/index.js
CHANGED
|
@@ -128,7 +128,7 @@ import "../StepItemSet/StepItemSet.css.js";
|
|
|
128
128
|
/* empty css */
|
|
129
129
|
/* empty css */
|
|
130
130
|
/* empty css */
|
|
131
|
-
import { icon,
|
|
131
|
+
import { icon, quoteSetContainer, headerCarousel, descriptionCarousel, slides, carousel, slide, authorLocation, author, dots, dot } from "./Carousel.css.js";
|
|
132
132
|
import { useCarousel } from "./store.js";
|
|
133
133
|
const iconVarints = /* @__PURE__ */ new Map([
|
|
134
134
|
[
|
package/dist/Chatbot/Chatbot.js
CHANGED
|
@@ -9,16 +9,18 @@ import { chatbotUFB, chatbotAXB } from "./Chatbot.css.js";
|
|
|
9
9
|
import { ChatWindow } from "./ChatWindow.js";
|
|
10
10
|
import { useOpenChat } from "./store/chat.js";
|
|
11
11
|
import { useMessages } from "./store/messages.js";
|
|
12
|
-
const __vite_import_meta_env__ = {
|
|
12
|
+
const __vite_import_meta_env__ = {};
|
|
13
13
|
const env = __vite_import_meta_env__ || process.env;
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
14
|
+
if (typeof window !== "undefined") {
|
|
15
|
+
const OriginalAudio = window.Audio;
|
|
16
|
+
class PatchedAudio extends OriginalAudio {
|
|
17
|
+
constructor(src) {
|
|
18
|
+
const newSrc = src === "https://websdk.ujet.co/v3/ping.mp3" ? notificationSound : src;
|
|
19
|
+
super(newSrc);
|
|
20
|
+
}
|
|
19
21
|
}
|
|
22
|
+
window.Audio = PatchedAudio;
|
|
20
23
|
}
|
|
21
|
-
window.Audio = PatchedAudio;
|
|
22
24
|
const Chatbot = ({
|
|
23
25
|
project = "axos",
|
|
24
26
|
projectEnv = "dev",
|
|
@@ -287,14 +289,14 @@ const Chatbot = ({
|
|
|
287
289
|
console.error("Error creating chat:", err);
|
|
288
290
|
} finally {
|
|
289
291
|
if (clientRef?.current?.chat?.state?.status == "va_assigned") {
|
|
290
|
-
const
|
|
291
|
-
class
|
|
292
|
+
const OriginalAudio = window.Audio;
|
|
293
|
+
class PatchedAudio extends OriginalAudio {
|
|
292
294
|
constructor(src) {
|
|
293
295
|
const newSrc = src === "https://websdk.ujet.co/v3/ping.mp3" ? notificationSound : src;
|
|
294
296
|
super(newSrc);
|
|
295
297
|
}
|
|
296
298
|
}
|
|
297
|
-
window.Audio =
|
|
299
|
+
window.Audio = PatchedAudio;
|
|
298
300
|
}
|
|
299
301
|
}
|
|
300
302
|
};
|
|
@@ -7,7 +7,7 @@ import { getVariant } from "../utils/getVariant.js";
|
|
|
7
7
|
import { Button } from "../Button/Button.js";
|
|
8
8
|
import "../Button/Button.css.js";
|
|
9
9
|
import "react-use";
|
|
10
|
-
import {
|
|
10
|
+
import { section_pad, section_min_pad, push_down_24, cb_eyebrow, body_copy, call_to_action_row, link, content_banner } from "./ContentBanner.css.js";
|
|
11
11
|
const ContentBanner = ({
|
|
12
12
|
variant,
|
|
13
13
|
icon,
|
|
@@ -4,7 +4,7 @@ import { getVariant } from "../utils/getVariant.js";
|
|
|
4
4
|
import { Chevron } from "../Chevron/index.js";
|
|
5
5
|
import { OptimizeImage } from "../utils/optimizeImage/OptimizeImage.js";
|
|
6
6
|
import { Overlay } from "./Overlay.js";
|
|
7
|
-
import { executive_bio, compact, padding,
|
|
7
|
+
import { executive_bio, compact, padding, shift, media, headshot, img_area, description, person, headline_setting, job_title, copy, contacts, contact_col, svg_icon, contact_entry, url_row, item_bio, ceoContainer, ceoWrapper, ceoMedia, ceoImgWrapper, imgAlignment, highlights, bulletsHeadline, bulletsWrapper, ceoContent, ceoHeader, ceoPersonalInfo, ceo_name, ceo_title, ceo_contacts, social, hover, svg_color, tooltip, ceo_quote, ceo_body, order_3, overlay, ceoSection } from "./ExecutiveBio.css.js";
|
|
8
8
|
import "../Accordion/Accordion.js";
|
|
9
9
|
import "../Accordion/Accordion.css.js";
|
|
10
10
|
import "../icons/ArrowIcon/ArrowIcon.css.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs, jsx, Fragment } from "react/jsx-runtime";
|
|
2
2
|
import { getVariant } from "../utils/getVariant.js";
|
|
3
3
|
import { ExecutiveBio } from "./ExecutiveBio.js";
|
|
4
|
-
import {
|
|
4
|
+
import { bio_section_text, header_theme, components, details, section_theme } from "./ExecutiveBio.css.js";
|
|
5
5
|
import "react";
|
|
6
6
|
import { columnValues } from "../utils/variant.types.js";
|
|
7
7
|
import { getNumOfColumns } from "../utils/getNumber.js";
|
|
@@ -130,7 +130,7 @@ import "../StepItemSet/StepItemSet.css.js";
|
|
|
130
130
|
/* empty css */
|
|
131
131
|
import { getLevelNumber } from "../utils/faqAccordionOptions.js";
|
|
132
132
|
import { create } from "zustand";
|
|
133
|
-
import { summary, summaryHeader,
|
|
133
|
+
import { content, summary, summaryHeader, header, faqAccordion, faqAccordion_section } from "./FaqAccordion.css.js";
|
|
134
134
|
const useAccordion = create()((set) => ({
|
|
135
135
|
itemsOpened: [],
|
|
136
136
|
addItem: (id) => {
|
|
@@ -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_eqzgp_1";
|
|
2
|
+
const inner_container = "_inner_container_eqzgp_11";
|
|
3
3
|
const css = {
|
|
4
4
|
fdic_callout,
|
|
5
5
|
inner_container
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import clsx from "clsx";
|
|
3
|
-
import {
|
|
3
|
+
import { footerDisclosure, iconsContent, footerParagraph } from "./FooterDisclosure.css.js";
|
|
4
4
|
const FooterContent = (props) => {
|
|
5
5
|
return /* @__PURE__ */ jsx(
|
|
6
6
|
"div",
|
|
@@ -55,6 +55,8 @@ const BoatMooringLocation = ({
|
|
|
55
55
|
email: z.string().email({ message: "Email is required." }).refine(cachedEmailValidator, { message: "Invalid email address." }),
|
|
56
56
|
firstName: z.string().regex(/^[A-Za-z][^0-9_!¡?÷?¿/\\+=@#$%ˆ&*,.^(){}|~<>;:[\]]{1,}$/g).trim().min(1, { message: "First Name is required." }),
|
|
57
57
|
lastName: z.string().regex(/^[A-Za-z][^0-9_!¡?÷?¿/\\+=@#$%ˆ&*,.^(){}|~<>;:[\]]{1,}$/g).trim().min(1, { message: "First Name is required." }),
|
|
58
|
+
boatOwnedByLlc: z.string().trim().optional().or(z.literal("")),
|
|
59
|
+
llcName: z.string().trim().optional().or(z.literal("")),
|
|
58
60
|
boatName: z.string().trim(),
|
|
59
61
|
marinaAddress: z.string().trim(),
|
|
60
62
|
marinaAddress2: z.string().trim().optional().or(z.literal("")),
|
|
@@ -80,6 +82,13 @@ const BoatMooringLocation = ({
|
|
|
80
82
|
message: "fields are not valid."
|
|
81
83
|
});
|
|
82
84
|
}
|
|
85
|
+
if (data.boatOwnedByLlc === "Yes" && !String(data.llcName ?? "").trim()) {
|
|
86
|
+
ctx.addIssue({
|
|
87
|
+
code: z.ZodIssueCode.custom,
|
|
88
|
+
message: "Name of LLC is required.",
|
|
89
|
+
path: ["llcName"]
|
|
90
|
+
});
|
|
91
|
+
}
|
|
83
92
|
});
|
|
84
93
|
const methods = useForm({
|
|
85
94
|
resolver: zodResolver(gen_schema),
|
|
@@ -97,8 +106,10 @@ const BoatMooringLocation = ({
|
|
|
97
106
|
} = methods;
|
|
98
107
|
const seasonMove = watch("seasonallyMove");
|
|
99
108
|
const isCharter = watch("charter");
|
|
109
|
+
const boatOwnedByLlc = watch("boatOwnedByLlc");
|
|
100
110
|
const renderExtraFields = seasonMove === "Yes";
|
|
101
111
|
const renderCharterFields = isCharter === "Yes";
|
|
112
|
+
const renderLlcNameField = boatOwnedByLlc === "Yes";
|
|
102
113
|
const submitForm = async (data) => {
|
|
103
114
|
await onSubmit(data);
|
|
104
115
|
};
|
|
@@ -160,6 +171,51 @@ const BoatMooringLocation = ({
|
|
|
160
171
|
variant
|
|
161
172
|
}
|
|
162
173
|
) }),
|
|
174
|
+
/* @__PURE__ */ jsx("div", { className: fullRowForm, children: /* @__PURE__ */ jsxs(
|
|
175
|
+
RadioButtonSet,
|
|
176
|
+
{
|
|
177
|
+
id: "boatOwnedByLlc",
|
|
178
|
+
label: "Is your boat owned by an LLC?",
|
|
179
|
+
sizes: "medium",
|
|
180
|
+
required: true,
|
|
181
|
+
error: !!errors.boatOwnedByLlc,
|
|
182
|
+
helperText: errors.boatOwnedByLlc?.message,
|
|
183
|
+
variant,
|
|
184
|
+
children: [
|
|
185
|
+
/* @__PURE__ */ jsx(
|
|
186
|
+
RadioButton,
|
|
187
|
+
{
|
|
188
|
+
...register("boatOwnedByLlc"),
|
|
189
|
+
value: "Yes",
|
|
190
|
+
radioText: "Yes",
|
|
191
|
+
groupName: "boatOwnedByLlc"
|
|
192
|
+
}
|
|
193
|
+
),
|
|
194
|
+
/* @__PURE__ */ jsx(
|
|
195
|
+
RadioButton,
|
|
196
|
+
{
|
|
197
|
+
...register("boatOwnedByLlc"),
|
|
198
|
+
value: "No",
|
|
199
|
+
radioText: "No",
|
|
200
|
+
groupName: "boatOwnedByLlc"
|
|
201
|
+
}
|
|
202
|
+
)
|
|
203
|
+
]
|
|
204
|
+
}
|
|
205
|
+
) }),
|
|
206
|
+
renderLlcNameField && /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
|
|
207
|
+
Input,
|
|
208
|
+
{
|
|
209
|
+
id: "llcName",
|
|
210
|
+
...register("llcName"),
|
|
211
|
+
label: "Name of LLC",
|
|
212
|
+
sizes: "medium",
|
|
213
|
+
required: true,
|
|
214
|
+
error: !!errors.llcName,
|
|
215
|
+
helperText: errors.llcName?.message,
|
|
216
|
+
variant
|
|
217
|
+
}
|
|
218
|
+
) }),
|
|
163
219
|
/* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
|
|
164
220
|
Input,
|
|
165
221
|
{
|
|
@@ -47,7 +47,7 @@ import "../../Input/RadioButton.js";
|
|
|
47
47
|
import "../../Input/PercentageInput.js";
|
|
48
48
|
import { useForm, FormProvider } from "react-hook-form";
|
|
49
49
|
import "../../Calculators/BuyDownCalculator/BuyDownCalculator.css.js";
|
|
50
|
-
import { iconForm, headerForm, form, descriptionField, headerContainer, fullRowSelect,
|
|
50
|
+
import { iconForm, headerForm, form, descriptionField, headerContainer, fullRowSelect, centerSelect, formWrapper, mt2rem, fullRowForm, disclosureForm, actions, formBtns, na_cursor, formContainer } from "../Forms.css.js";
|
|
51
51
|
import { honeyPotSchema, isValidHoneyPot, HoneyPot } from "../HoneyPot/index.js";
|
|
52
52
|
import { SalesforceSchema } from "../SalesforceFieldsForm.js";
|
|
53
53
|
import "../../Input/RadioButton.css.js";
|
|
@@ -16,8 +16,8 @@ import '../assets/icons/FollowIcon/FollowIcon.css';import '../assets/icons/Downl
|
|
|
16
16
|
import { getVariant } from "../utils/getVariant.js";
|
|
17
17
|
import Image from "next/image.js";
|
|
18
18
|
import clsx from "clsx";
|
|
19
|
-
import { logout,
|
|
20
|
-
import {
|
|
19
|
+
import { logout, hero_wrapper, hero_content, reversed, hero_text, heroSupertag, headline_text, hero_bullet_item, hero_sub_bullets, hero_btns, hero_img, img_contents, hero_banner, reversed_lg_image } from "./HeroBanner.css.js";
|
|
20
|
+
import { lg_hero_content, lg_hero_eyebrow, lg_headline_text, lg_hero_text, lg_hero_img, lg_hero_sizing, lg_hero_banner } from "./LargeBanner.css.js";
|
|
21
21
|
import { selection_section_icon_img, selection_section_icon, selection_section, selection_section_bg, selection_section_content, selection_headline_text } from "./SelectionBanner.css.js";
|
|
22
22
|
const HeroBanner = ({
|
|
23
23
|
id,
|
|
@@ -7,7 +7,7 @@ import { Button } from "../Button/Button.js";
|
|
|
7
7
|
import "../Button/Button.css.js";
|
|
8
8
|
import "react";
|
|
9
9
|
import "react-use";
|
|
10
|
-
import { section_text, header_section, section_body, section_container,
|
|
10
|
+
import { section_text, header_section, section_body, section_container, billboard_icon, content, headerIconBillboard, title, list, layout, buttons, containerIconBillboard } from "./IconBillboard.css.js";
|
|
11
11
|
const IconBillboardSet = ({
|
|
12
12
|
variant,
|
|
13
13
|
side = false,
|
|
@@ -15,7 +15,7 @@ import "../Button/Button.css.js";
|
|
|
15
15
|
import "react";
|
|
16
16
|
import "react-use";
|
|
17
17
|
import { inline_container } from "../SetContainer/SetContainer.css.js";
|
|
18
|
-
import { section_text_ImageBillboard, header,
|
|
18
|
+
import { section_text_ImageBillboard, header, billboard_container, body, billboard_body, billboard_header_section, supertag, billboard_ctas, billboard } from "./ImageBillboard.css.js";
|
|
19
19
|
const ImageBillboardSet = ({
|
|
20
20
|
id,
|
|
21
21
|
variant,
|