@axos-web-dev/shared-components 1.0.100-dev.77 → 1.0.100-dev.78
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/ContentBanner/index.js +1 -1
- package/dist/ExecutiveBio/ExecutiveBio.css.d.ts +51 -1
- package/dist/ExecutiveBio/ExecutiveBio.css.js +48 -46
- package/dist/ExecutiveBio/ExecutiveBio.d.ts +1 -1
- package/dist/ExecutiveBio/ExecutiveBio.interface.d.ts +3 -1
- package/dist/ExecutiveBio/ExecutiveBio.js +142 -146
- package/dist/ExecutiveBio/ExecutiveBioSet.d.ts +1 -2
- package/dist/ExecutiveBio/ExecutiveBioSet.js +31 -17
- package/dist/ExecutiveBio/index.js +2 -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/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 +2 -2
- 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.css +59 -59
- package/dist/assets/Blockquote/Blockquote.css.css +72 -72
- package/dist/assets/ExecutiveBio/ExecutiveBio.css +271 -170
- package/dist/assets/FdicCallout/FdicCallout.css.css +48 -48
- package/dist/assets/Interstitial/Interstitial.css.css +142 -142
- package/dist/assets/NavigationMenu/AxosALTS/NavBar.css.css +264 -264
- package/dist/assets/NavigationMenu/AxosAdvisor/NavBar.css.css +609 -609
- package/dist/assets/NavigationMenu/AxosAdvisorServices/NavBar.css.css +630 -630
- package/dist/assets/NavigationMenu/AxosBank/MobileMenu/MobileMenu.css.css +353 -353
- package/dist/assets/NavigationMenu/AxosBank/NavBar.css.css +445 -445
- package/dist/assets/NavigationMenu/AxosClearing/NavBar.css.css +484 -484
- package/dist/assets/NavigationMenu/AxosFiduciary/NavBar.css.css +427 -427
- package/dist/assets/NavigationMenu/LaVictoire/NavBar.css.css +429 -429
- package/dist/assets/WalnutIframe/wrapper.css.css +48 -48
- package/dist/assets/utils/optimizeImage/optimizeImage.css.css +47 -47
- package/dist/main.js +2 -1
- package/dist/utils/optimizeImage/optimizeImage.module.js +3 -3
- package/package.json +136 -136
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 { jsxs, jsx } from "react/jsx-runtime";
|
|
3
3
|
import clsx from "clsx";
|
|
4
|
-
import React, { createContext,
|
|
4
|
+
import React, { createContext, useContext, useState } 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 { headerContent, icon, headerAccordion, bodyAccordion, hide, paragraph, accordion } 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 { alertBanner_img_section, alertBanner_body, alertBanner_cta
|
|
13
|
+
import { alertBanner, alertBanner_img_section, alertBanner_body, alertBanner_cta } 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 { ant_img, ant_content, ant_eyebrow, ant_card_title, ant_card_body, ant_card_cta
|
|
4
|
+
import { ant_article, ant_img, ant_content, ant_eyebrow, ant_card_title, ant_card_body, ant_card_cta } 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.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.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.css';const quote_spacer = "
|
|
2
|
-
const author = "
|
|
3
|
-
const quote = "
|
|
1
|
+
import '../assets/Blockquote/Blockquote.css.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,
|
|
@@ -8,7 +8,7 @@ import { getVariant } from "../../utils/getVariant.js";
|
|
|
8
8
|
import { useRef, useState, useEffect } from "react";
|
|
9
9
|
import clsx from "clsx";
|
|
10
10
|
import { calculator } from "../calculator.css.js";
|
|
11
|
-
import { calc_container, calc_block, pb0_1023, slider_block_wrapper, w100, stat_row, balance_wrapper, fb50, stat, slider_wrapper, slider, pt0_1023, text_block
|
|
11
|
+
import { container, calc_container, calc_block, pb0_1023, slider_block_wrapper, w100, stat_row, balance_wrapper, fb50, stat, slider_wrapper, slider, pt0_1023, text_block } from "./AnnualFeeCalculator.css.js";
|
|
12
12
|
const AnnualFeeCalculator = ({
|
|
13
13
|
marketingTiles,
|
|
14
14
|
variant: fullVariant = "primary"
|
|
@@ -7,7 +7,7 @@ import "react-use";
|
|
|
7
7
|
import { Chevron } from "../../Chevron/index.js";
|
|
8
8
|
import { section_container, content, headerIconBillboard, buttons } from "../../IconBillboard/IconBillboard.css.js";
|
|
9
9
|
import { getVariant } from "../../utils/getVariant.js";
|
|
10
|
-
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
|
|
10
|
+
import { container, 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 } from "./ApyCalculator.css.js";
|
|
11
11
|
const ApyCalculator = ({
|
|
12
12
|
header,
|
|
13
13
|
body,
|
|
@@ -23,7 +23,7 @@ import { z } from "zod";
|
|
|
23
23
|
import { getVariant } from "../../utils/getVariant.js";
|
|
24
24
|
import clsx from "clsx";
|
|
25
25
|
import { useForm, FormProvider } from "react-hook-form";
|
|
26
|
-
import { calculator_section, section_header, theme_header, mt_8, buydown_calculator_form, row_form, calculate_row, form_wrapper, form_disclosure
|
|
26
|
+
import { calc_container, calculator_section, section_header, theme_header, mt_8, buydown_calculator_form, row_form, calculate_row, form_wrapper, form_disclosure } from "./BuyDownCalculator.css.js";
|
|
27
27
|
const BuyDownCalculator = ({
|
|
28
28
|
header,
|
|
29
29
|
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 { field_row, errorTag, marketingTile, bodyContent, header_theme
|
|
7
|
+
import { container, field_row, errorTag, marketingTile, bodyContent, header_theme } 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 { findMoreAxosDomains } from "../../utils/allowedAxosDomains.js";
|
|
@@ -8,7 +8,7 @@ import { useState } from "react";
|
|
|
8
8
|
import clsx from "clsx";
|
|
9
9
|
import { calc_text, description_text, calc_disclosure } from "../BalanceAPYCalculator/BalanceAPYCalculator.css.js";
|
|
10
10
|
import { calculator } from "../calculator.css.js";
|
|
11
|
-
import { calc_container, h2i, inputs_container, input_container, input_box, error_message, hide_select_arrow, calculation_header, payment_results
|
|
11
|
+
import { calc_container, container, h2i, inputs_container, input_container, input_box, error_message, hide_select_arrow, calculation_header, payment_results } from "../MonthlyPaymentCalculator/MonthlyPaymentCalculator.css.js";
|
|
12
12
|
const MarineLoanMonthlyPaymentCalculator = ({ variant, header, disclosure, bodyCopy = true }) => {
|
|
13
13
|
const fullVariant = getVariant(variant);
|
|
14
14
|
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, h2i, inputs_container, input_container, input_box, error_message, calculation_header, payment_results
|
|
4
|
+
import { calc_container, container, h2i, inputs_container, input_container, input_box, error_message, calculation_header, payment_results } from "../MonthlyPaymentCalculator/MonthlyPaymentCalculator.css.js";
|
|
5
5
|
import { title } from "../../IconBillboard/IconBillboard.css.js";
|
|
6
6
|
import "../../utils/allowedAxosDomains.js";
|
|
7
7
|
import { getVariant } from "../../utils/getVariant.js";
|
|
@@ -8,7 +8,7 @@ import { useState } from "react";
|
|
|
8
8
|
import clsx from "clsx";
|
|
9
9
|
import { calc_text, description_text, calc_disclosure } from "../BalanceAPYCalculator/BalanceAPYCalculator.css.js";
|
|
10
10
|
import { calculator } from "../calculator.css.js";
|
|
11
|
-
import { calc_container, h2i, inputs_container, input_container, input_box, error_message, calculation_header, payment_results
|
|
11
|
+
import { calc_container, container, h2i, inputs_container, input_container, input_box, error_message, calculation_header, payment_results } from "./MonthlyPaymentCalculator.css.js";
|
|
12
12
|
const MonthlyPaymentCalculator = ({
|
|
13
13
|
variant,
|
|
14
14
|
header,
|
|
@@ -5,7 +5,7 @@ import "../../utils/allowedAxosDomains.js";
|
|
|
5
5
|
import { getVariant } from "../../utils/getVariant.js";
|
|
6
6
|
import { useState } from "react";
|
|
7
7
|
import { calc_disclosure } from "../BalanceAPYCalculator/BalanceAPYCalculator.css.js";
|
|
8
|
-
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
|
|
8
|
+
import { bg_vars, 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 } from "./MonthlyPaymentCalculator.css.js";
|
|
9
9
|
const MonthlyPaymentLVFCalculator = ({ variant, header, bodyCopy, disclosure }) => {
|
|
10
10
|
const theme = getVariant(variant);
|
|
11
11
|
const [loanAmountMasked, setLoanAmountMasked] = useState("50,000");
|
package/dist/Carousel/index.js
CHANGED
|
@@ -133,7 +133,7 @@ import "../StepItemSet/StepItemSet.css.js";
|
|
|
133
133
|
/* empty css */
|
|
134
134
|
/* empty css */
|
|
135
135
|
/* empty css */
|
|
136
|
-
import { icon,
|
|
136
|
+
import { icon, slide, authorLocation, author, quoteSetContainer, headerCarousel, descriptionCarousel, slides, carousel, dots, dot } from "./Carousel.css.js";
|
|
137
137
|
import { useCarousel } from "./store.js";
|
|
138
138
|
const iconVarints = /* @__PURE__ */ new Map([
|
|
139
139
|
[
|
|
@@ -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 { section_pad, section_min_pad, push_down_24, cb_eyebrow, body_copy, call_to_action_row, link
|
|
10
|
+
import { content_banner, section_pad, section_min_pad, push_down_24, cb_eyebrow, body_copy, call_to_action_row, link } from "./ContentBanner.css.js";
|
|
11
11
|
const ContentBanner = ({
|
|
12
12
|
variant,
|
|
13
13
|
icon,
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export declare const executive_bio: string;
|
|
2
|
+
export declare const compact: string;
|
|
2
3
|
export declare const item_bio: import('@vanilla-extract/recipes').RuntimeFn<{
|
|
3
4
|
variant: {
|
|
4
5
|
primary: {
|
|
@@ -93,21 +94,71 @@ export declare const headshot: string;
|
|
|
93
94
|
export declare const img_area: string;
|
|
94
95
|
export declare const media: string;
|
|
95
96
|
export declare const person: string;
|
|
97
|
+
export declare const components: import('@vanilla-extract/recipes').RuntimeFn<{
|
|
98
|
+
columns: {
|
|
99
|
+
1: {
|
|
100
|
+
gridTemplateColumns: "1fr";
|
|
101
|
+
};
|
|
102
|
+
2: {
|
|
103
|
+
gridTemplateColumns: "repeat(2, 1fr)";
|
|
104
|
+
width: "min(840px, calc(100% - 4rem))";
|
|
105
|
+
"@media": {
|
|
106
|
+
"(max-width: 768px)": {
|
|
107
|
+
gridTemplateColumns: "1fr";
|
|
108
|
+
width: "min(350px, calc(100% - 2rem))";
|
|
109
|
+
};
|
|
110
|
+
};
|
|
111
|
+
};
|
|
112
|
+
3: {
|
|
113
|
+
gridTemplateColumns: "repeat(3, 1fr)";
|
|
114
|
+
"@media": {
|
|
115
|
+
"(max-width: 1175px)": {
|
|
116
|
+
gridTemplateColumns: "repeat(2, 1fr)";
|
|
117
|
+
width: "min(840px, calc(100% - 4rem))";
|
|
118
|
+
};
|
|
119
|
+
"(max-width: 768px)": {
|
|
120
|
+
gridTemplateColumns: "1fr";
|
|
121
|
+
width: "min(350px, calc(100% - 2rem))";
|
|
122
|
+
};
|
|
123
|
+
};
|
|
124
|
+
};
|
|
125
|
+
4: {
|
|
126
|
+
gridTemplateColumns: "repeat(4, 1fr)";
|
|
127
|
+
"@media": {
|
|
128
|
+
"(max-width: 1175px)": {
|
|
129
|
+
gridTemplateColumns: "repeat(2, 1fr)";
|
|
130
|
+
width: "min(840px, calc(100% - 4rem))";
|
|
131
|
+
};
|
|
132
|
+
"(max-width: 768px)": {
|
|
133
|
+
gridTemplateColumns: "1fr";
|
|
134
|
+
width: "min(350px, calc(100% - 2rem))";
|
|
135
|
+
};
|
|
136
|
+
"(min-width: 1176px)": {
|
|
137
|
+
width: "min(1000px, 100%)";
|
|
138
|
+
};
|
|
139
|
+
};
|
|
140
|
+
};
|
|
141
|
+
};
|
|
142
|
+
}>;
|
|
96
143
|
export declare const shift: string;
|
|
97
144
|
export declare const bio_section_text: string;
|
|
98
145
|
export declare const section_theme: import('@vanilla-extract/recipes').RuntimeFn<{
|
|
99
146
|
variant: {
|
|
100
147
|
primary: {
|
|
101
148
|
background: `var(--${string})`;
|
|
149
|
+
color: `var(--${string})`;
|
|
102
150
|
};
|
|
103
151
|
secondary: {
|
|
104
152
|
background: `var(--${string})`;
|
|
153
|
+
color: `var(--${string})`;
|
|
105
154
|
};
|
|
106
155
|
tertiary: {
|
|
107
156
|
background: `var(--${string})`;
|
|
157
|
+
color: `var(--${string})`;
|
|
108
158
|
};
|
|
109
159
|
quaternary: {
|
|
110
160
|
background: `var(--${string})`;
|
|
161
|
+
color: `var(--${string})`;
|
|
111
162
|
};
|
|
112
163
|
};
|
|
113
164
|
}>;
|
|
@@ -127,7 +178,6 @@ export declare const header_theme: import('@vanilla-extract/recipes').RuntimeFn<
|
|
|
127
178
|
};
|
|
128
179
|
};
|
|
129
180
|
}>;
|
|
130
|
-
export declare const components: string;
|
|
131
181
|
export declare const details: string;
|
|
132
182
|
export declare const url_row: string;
|
|
133
183
|
export declare const flexColumn: string;
|
|
@@ -6,52 +6,53 @@ import '../assets/ExecutiveBio/ExecutiveBio.css';import '../assets/themes/victor
|
|
|
6
6
|
/* empty css */
|
|
7
7
|
import { createRuntimeFn } from "@vanilla-extract/recipes/createRuntimeFn";
|
|
8
8
|
var executive_bio = "txcb8d0";
|
|
9
|
-
var
|
|
10
|
-
var
|
|
11
|
-
var
|
|
12
|
-
var
|
|
13
|
-
var
|
|
14
|
-
var
|
|
15
|
-
var
|
|
16
|
-
var
|
|
17
|
-
var
|
|
18
|
-
var
|
|
19
|
-
var
|
|
20
|
-
var
|
|
21
|
-
var
|
|
22
|
-
var
|
|
23
|
-
var
|
|
24
|
-
var
|
|
25
|
-
var
|
|
26
|
-
var
|
|
27
|
-
var
|
|
28
|
-
var
|
|
29
|
-
var
|
|
30
|
-
var
|
|
31
|
-
var
|
|
32
|
-
var
|
|
33
|
-
var
|
|
34
|
-
var
|
|
35
|
-
var
|
|
36
|
-
var
|
|
37
|
-
var
|
|
38
|
-
var
|
|
39
|
-
var
|
|
40
|
-
var
|
|
41
|
-
var
|
|
42
|
-
var
|
|
43
|
-
var
|
|
44
|
-
var
|
|
45
|
-
var
|
|
46
|
-
var
|
|
47
|
-
var
|
|
48
|
-
var
|
|
49
|
-
var
|
|
50
|
-
var
|
|
51
|
-
var
|
|
52
|
-
var
|
|
53
|
-
var
|
|
54
|
-
var
|
|
9
|
+
var compact = "txcb8d1";
|
|
10
|
+
var item_bio = createRuntimeFn({ defaultClassName: "txcb8d2", variantClassNames: { variant: { primary: "txcb8d3", secondary: "txcb8d4", tertiary: "txcb8d5", quaternary: "txcb8d6" } }, defaultVariants: {}, compoundVariants: [] });
|
|
11
|
+
var headline_setting = createRuntimeFn({ defaultClassName: "txcb8d7", variantClassNames: { variant: { primary: "txcb8d8", secondary: "txcb8d9", tertiary: "txcb8da", quaternary: "txcb8db" } }, defaultVariants: {}, compoundVariants: [] });
|
|
12
|
+
var job_title = createRuntimeFn({ defaultClassName: "txcb8dc", variantClassNames: { variant: { primary: "txcb8dd", secondary: "txcb8de", tertiary: "txcb8df", quaternary: "txcb8dg" } }, defaultVariants: {}, compoundVariants: [] });
|
|
13
|
+
var svg_icon = createRuntimeFn({ defaultClassName: "txcb8dh", variantClassNames: { variant: { primary: "txcb8di", secondary: "txcb8dj", tertiary: "txcb8dk", quaternary: "txcb8dl" } }, defaultVariants: {}, compoundVariants: [] });
|
|
14
|
+
var description = "txcb8dm";
|
|
15
|
+
var contact_col = "txcb8dn";
|
|
16
|
+
var padding = "txcb8do";
|
|
17
|
+
var copy = "txcb8dp";
|
|
18
|
+
var contact_entry = createRuntimeFn({ defaultClassName: "txcb8dq", variantClassNames: { variant: { primary: "txcb8dr", secondary: "txcb8ds", tertiary: "txcb8dt", quaternary: "txcb8du" } }, defaultVariants: {}, compoundVariants: [] });
|
|
19
|
+
var contacts = "txcb8dv";
|
|
20
|
+
var headshot = "txcb8dw";
|
|
21
|
+
var img_area = "txcb8dx";
|
|
22
|
+
var media = "txcb8dy";
|
|
23
|
+
var person = "txcb8dz";
|
|
24
|
+
var components = createRuntimeFn({ defaultClassName: "txcb8d10", variantClassNames: { columns: { "1": "txcb8d11", "2": "txcb8d12", "3": "txcb8d13", "4": "txcb8d14" } }, defaultVariants: { columns: 1 }, compoundVariants: [] });
|
|
25
|
+
var shift = "txcb8d15";
|
|
26
|
+
var bio_section_text = "txcb8d16";
|
|
27
|
+
var section_theme = createRuntimeFn({ defaultClassName: "txcb8d17", variantClassNames: { variant: { primary: "txcb8d18", secondary: "txcb8d19", tertiary: "txcb8d1a", quaternary: "txcb8d1b" } }, defaultVariants: {}, compoundVariants: [] });
|
|
28
|
+
var header_theme = createRuntimeFn({ defaultClassName: "txcb8d1c", variantClassNames: { variant: { primary: "txcb8d1d", secondary: "txcb8d1e", tertiary: "txcb8d1f", quaternary: "txcb8d1g" } }, defaultVariants: {}, compoundVariants: [] });
|
|
29
|
+
var details = "txcb8d1h";
|
|
30
|
+
var url_row = "txcb8d1i";
|
|
31
|
+
var flexColumn = "txcb8d1j";
|
|
32
|
+
var ceoSection = createRuntimeFn({ defaultClassName: "txcb8d1k", variantClassNames: { variant: { primary: "txcb8d1l", secondary: "txcb8d1m", tertiary: "txcb8d1n", quaternary: "txcb8d1o" } }, defaultVariants: {}, compoundVariants: [] });
|
|
33
|
+
var ceoContainer = "txcb8d1p";
|
|
34
|
+
var ceoWrapper = "txcb8d1q";
|
|
35
|
+
var ceoMedia = "txcb8d1r txcb8d1j";
|
|
36
|
+
var ceoImgWrapper = "txcb8d1s";
|
|
37
|
+
var imgAlignment = "txcb8d1t";
|
|
38
|
+
var highlights = "txcb8d1u txcb8d1j";
|
|
39
|
+
var bulletsHeadline = createRuntimeFn({ defaultClassName: "txcb8d1v", variantClassNames: { variant: { primary: "txcb8d1w", secondary: "txcb8d1x", tertiary: "txcb8d1y", quaternary: "txcb8d1z" } }, defaultVariants: {}, compoundVariants: [] });
|
|
40
|
+
var bulletsWrapper = "txcb8d20 txcb8d1j";
|
|
41
|
+
var ceoContent = "txcb8d21 txcb8d1j";
|
|
42
|
+
var ceoHeader = "txcb8d22 txcb8d1j";
|
|
43
|
+
var ceoPersonalInfo = "txcb8d23 txcb8d1j";
|
|
44
|
+
var ceo_name = createRuntimeFn({ defaultClassName: "txcb8d24", variantClassNames: { variant: { primary: "txcb8d25", secondary: "txcb8d26", tertiary: "txcb8d27", quaternary: "txcb8d28" } }, defaultVariants: {}, compoundVariants: [] });
|
|
45
|
+
var ceo_title = createRuntimeFn({ defaultClassName: "txcb8d29", variantClassNames: { variant: { primary: "txcb8d2a", secondary: "txcb8d2b", tertiary: "txcb8d2c", quaternary: "txcb8d2d" } }, defaultVariants: {}, compoundVariants: [] });
|
|
46
|
+
var ceo_contacts = "txcb8d2e";
|
|
47
|
+
var svg_color = createRuntimeFn({ defaultClassName: "txcb8d2f", variantClassNames: { variant: { primary: "txcb8d2g", secondary: "txcb8d2h", tertiary: "txcb8d2i", quaternary: "txcb8d2j" } }, defaultVariants: {}, compoundVariants: [] });
|
|
48
|
+
var ceo_quote = createRuntimeFn({ defaultClassName: "txcb8d2k", variantClassNames: { variant: { primary: "txcb8d2l", secondary: "txcb8d2m", tertiary: "txcb8d2n", quaternary: "txcb8d2o" } }, defaultVariants: {}, compoundVariants: [] });
|
|
49
|
+
var ceo_body = "txcb8d2p";
|
|
50
|
+
var hover = "txcb8d2q";
|
|
51
|
+
var social = "txcb8d2r";
|
|
52
|
+
var tooltip = createRuntimeFn({ defaultClassName: "txcb8d2s", variantClassNames: { variant: { primary: "txcb8d2t", secondary: "txcb8d2u", tertiary: "txcb8d2v", quaternary: "txcb8d2w" } }, defaultVariants: {}, compoundVariants: [] });
|
|
53
|
+
var order_3 = "txcb8d2x";
|
|
54
|
+
var overlay = "txcb8d2y";
|
|
55
|
+
var stroke_color = createRuntimeFn({ defaultClassName: "txcb8d2z", variantClassNames: { variant: { primary: "txcb8d30", secondary: "txcb8d31", tertiary: "txcb8d32", quaternary: "txcb8d33" } }, defaultVariants: {}, compoundVariants: [] });
|
|
55
56
|
export {
|
|
56
57
|
bio_section_text,
|
|
57
58
|
bulletsHeadline,
|
|
@@ -69,6 +70,7 @@ export {
|
|
|
69
70
|
ceo_name,
|
|
70
71
|
ceo_quote,
|
|
71
72
|
ceo_title,
|
|
73
|
+
compact,
|
|
72
74
|
components,
|
|
73
75
|
contact_col,
|
|
74
76
|
contact_entry,
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { ExecutiveBioProps as Props } from './ExecutiveBio.interface';
|
|
2
2
|
|
|
3
|
-
export declare const ExecutiveBio: ({ id, executiveName, executiveTitle, executiveBodyCopy, executiveEmailAddress, executivePhoneNumber, executiveLinkedIn, executiveWebsite, executiveHeadshot, variant: fullVariant, bannerType, executiveTwitter, executiveFacebook, bullets, bulletsTitle, quote, backgroundOverlay, }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export declare const ExecutiveBio: ({ id, hasParentH2, executiveName, executiveTitle, executiveBodyCopy, executiveEmailAddress, executivePhoneNumber, executiveLinkedIn, executiveWebsite, executiveHeadshot, variant: fullVariant, bannerType, executiveTwitter, executiveFacebook, bullets, bulletsTitle, quote, backgroundOverlay, }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -9,10 +9,12 @@ export interface ExecutiveBioSetProps {
|
|
|
9
9
|
description?: ReactNode | string;
|
|
10
10
|
executiveBios: ExecutiveBioProps[];
|
|
11
11
|
additionalDetails?: string | ReactNode;
|
|
12
|
+
numberOfColumns?: string;
|
|
12
13
|
}
|
|
13
14
|
export interface ExecutiveBioProps {
|
|
14
15
|
id: string;
|
|
15
16
|
variant: QuaternaryTypes;
|
|
17
|
+
hasParentH2?: boolean;
|
|
16
18
|
executiveName?: string;
|
|
17
19
|
executiveTitle?: string;
|
|
18
20
|
executiveBodyCopy?: string | ReactNode;
|
|
@@ -26,6 +28,6 @@ export interface ExecutiveBioProps {
|
|
|
26
28
|
bullets?: BulletItemProps[];
|
|
27
29
|
bulletsTitle?: ReactNode | string;
|
|
28
30
|
quote?: ReactNode | string;
|
|
29
|
-
bannerType?: "Standard" | "Hero";
|
|
31
|
+
bannerType?: "Standard" | "Hero" | "Compact";
|
|
30
32
|
backgroundOverlay?: boolean;
|
|
31
33
|
}
|