@axos-web-dev/shared-components 1.0.99-dev.1 → 1.0.99-feature-brand
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/dist/Article/Article.css.d.ts +8 -36
- package/dist/ArticlesSet/ArticlesSet.css.d.ts +10 -70
- package/dist/ArticlesSet/ArticlesSet.js +1 -1
- package/dist/AwardsBanner/AwardsBanner.css.js +4 -1
- package/dist/AwardsItem/AwardsItem.css.js +1 -2
- package/dist/Blockquote/Blockquote.module.js +3 -3
- package/dist/Button/Button.css.d.ts +3 -3
- package/dist/Calculators/ApyCalculator/ApyCalculator.css.d.ts +2 -30
- package/dist/Calculators/BalanceAPYCalculator/BalanceAPYCalculator.css.d.ts +2 -30
- package/dist/Calculators/BuyDownCalculator/index.js +1 -1
- package/dist/Calculators/calculator.css.d.ts +2 -8
- package/dist/CallToActionBar/index.js +1 -1
- package/dist/Carousel/Carousel.css.d.ts +8 -19
- package/dist/Chevron/Chevron.css.d.ts +2 -2
- package/dist/CollectInformationAlert/index.js +1 -1
- package/dist/Comparison/Comparison.js +2 -2
- package/dist/FooterSiteMap/AxosBank/FooterSiteMap.js +3 -3
- package/dist/Forms/Forms.css.d.ts +2 -30
- package/dist/HeroBanner/HeroBanner.css.d.ts +5 -17
- package/dist/HeroBanner/HeroBanner.js +1 -12
- package/dist/HeroBanner/SelectionBanner.css.d.ts +1 -19
- package/dist/HeroBanner/SelectionBanner.css.js +6 -6
- package/dist/IconBillboard/IconBillboard.css.d.ts +6 -40
- package/dist/ImageBillboard/ImageBillboard.css.d.ts +5 -61
- package/dist/LoadingIndicator/LoadingIndicator.css.d.ts +4 -4
- package/dist/Modal/Modal.css.d.ts +1 -0
- package/dist/Modal/Modal.css.js +5 -3
- package/dist/Modal/Modal.js +3 -3
- package/dist/NavigationMenu/AxosBank/MobileMenu/MobileMenu.js +2 -2
- package/dist/NavigationMenu/AxosBank/MobileMenu/MobileMenu.module.js +16 -16
- package/dist/NavigationMenu/AxosBank/NavBar.css.js +2 -1
- package/dist/NavigationMenu/AxosBank/NavBar.module.js +41 -41
- package/dist/NavigationMenu/AxosBank/SubNavBar.js +227 -220
- package/dist/NavigationMenu/AxosBank/SubNavbar.css.d.ts +2 -0
- package/dist/NavigationMenu/AxosBank/SubNavbar.css.js +4 -0
- package/dist/PageNavItem/PageNavItem.css.d.ts +4 -22
- package/dist/Pagination/Pagination.js +6 -6
- package/dist/StepItem/StepItem.css.d.ts +8 -36
- package/dist/StepItemSet/StepItemSet.css.d.ts +4 -32
- package/dist/StepItemSet/StepItemSet.d.ts +1 -1
- package/dist/StepItemSet/StepItemSet.js +18 -82
- package/dist/StepItemSet/index.d.ts +5 -0
- package/dist/StepItemSet/index.js +10 -0
- package/dist/StepItemSet/sections/AdditionalDetailsSection.d.ts +7 -0
- package/dist/StepItemSet/sections/AdditionalDetailsSection.js +11 -0
- package/dist/StepItemSet/sections/CallToActionSection.d.ts +8 -0
- package/dist/StepItemSet/sections/CallToActionSection.js +39 -0
- package/dist/StepItemSet/sections/HeaderSection.d.ts +10 -0
- package/dist/StepItemSet/sections/HeaderSection.js +45 -0
- package/dist/StepItemSet/sections/ImageSection.d.ts +8 -0
- package/dist/StepItemSet/sections/ImageSection.js +10 -0
- package/dist/StepItemSet/sections/StepsList.d.ts +10 -0
- package/dist/StepItemSet/sections/StepsList.js +21 -0
- package/dist/Table/Table.css.d.ts +3 -2
- package/dist/Table/Table.js +1 -1
- package/dist/assets/Accordion/Accordion.css +1 -1
- package/dist/assets/Article/Article.css +47 -59
- package/dist/assets/ArticlesSet/ArticlesSet.css +26 -56
- package/dist/assets/Auth/SignIn.css +12 -12
- package/dist/assets/AwardsBanner/AwardsBanner.css +1 -1
- package/dist/assets/AwardsItem/AwardsItem.css +3 -4
- package/dist/assets/Blockquote/Blockquote.css.css +16 -16
- package/dist/assets/Button/Button.css +21 -21
- package/dist/assets/Calculators/AnnualFeeCalculator/AnnualFeeCalculator.css +8 -8
- package/dist/assets/Calculators/ApyCalculator/ApyCalculator.css +12 -21
- package/dist/assets/Calculators/AxosOneCalculator/BalanceAPYCalculator.css +9 -9
- package/dist/assets/Calculators/BalanceAPYCalculator/BalanceAPYCalculator.css +19 -31
- package/dist/assets/Calculators/BuyDownCalculator/BuyDownCalculator.css +14 -14
- package/dist/assets/Calculators/MonthlyPaymentCalculator/MonthlyPaymentCalculator.css +9 -9
- package/dist/assets/Calculators/MonthlyPaymentLVFCalculator/MonthlyPaymentCalculator.css +9 -9
- package/dist/assets/Calculators/SummitApyCalculator/BalanceAPYCalculator.css +9 -9
- package/dist/assets/Calculators/calculator.css +9 -15
- package/dist/assets/CallToActionBar/CallToActionBar.css +1 -4
- package/dist/assets/Carousel/Carousel.css +27 -41
- package/dist/assets/Chevron/Chevron.css +6 -6
- package/dist/assets/CollectInformationAlert/CollectInformationAlert.css +4 -3
- package/dist/assets/Comparison/Comparison.css +3 -3
- package/dist/assets/ContentBanner/ContentBanner.css +8 -8
- package/dist/assets/DownloadTile/DownloadTile.css +3 -3
- package/dist/assets/ExecutiveBio/ExecutiveBio.css +23 -23
- package/dist/assets/FaqAccordion/FaqAccordion.css +4 -4
- package/dist/assets/FooterDisclosure/FooterDisclosure.css +1 -1
- package/dist/assets/FooterSiteMap/AxosBank/FooterSiteMap.css +3 -8
- package/dist/assets/Forms/Forms.css +38 -56
- package/dist/assets/Forms/QuickPricer/UserInformation.css +1 -1
- package/dist/assets/HeroBanner/HeroBanner.css +81 -76
- package/dist/assets/HeroBanner/LargeBanner.css +13 -13
- package/dist/assets/HeroBanner/SelectionBanner.css +15 -29
- package/dist/assets/IconBillboard/IconBillboard.css +25 -48
- package/dist/assets/ImageBillboard/ImageBillboard.css +28 -61
- package/dist/assets/Input/Input.css +6 -6
- package/dist/assets/Inputs/Input.css +4 -4
- package/dist/assets/Insight/Featured/CategorySelector.css +1 -1
- package/dist/assets/Interstitial/Interstitial-variants.css +3 -3
- package/dist/assets/LandingPageHeader/LandingPageHeader.css +1 -1
- package/dist/assets/LoadingIndicator/LoadingIndicator.css +5 -5
- package/dist/assets/Modal/Modal.css +17 -28
- package/dist/assets/NavigationMenu/AxosALTS/NavBar.css +1 -1
- package/dist/assets/NavigationMenu/AxosAdvisor/NavBar.css +2 -2
- package/dist/assets/NavigationMenu/AxosAdvisor/SubNavbar.css +4 -4
- package/dist/assets/NavigationMenu/AxosAdvisorServices/NavBar.css +2 -2
- package/dist/assets/NavigationMenu/AxosAdvisorServices/SubNavbar.css +4 -4
- package/dist/assets/NavigationMenu/AxosBank/MobileMenu/MobileMenu.css.css +25 -25
- package/dist/assets/NavigationMenu/AxosBank/NavBar.css +19 -9
- package/dist/assets/NavigationMenu/AxosBank/NavBar.css.css +118 -146
- package/dist/assets/NavigationMenu/AxosBank/SubNavbar.css +35 -1
- package/dist/assets/PageNavItem/PageNavItem.css +16 -33
- package/dist/assets/Pagination/Pagination.css +1 -1
- package/dist/assets/SetContainer/SetContainer.css +4 -4
- package/dist/assets/StepItem/StepItem.css +26 -42
- package/dist/assets/StepItemSet/StepItemSet.css +13 -26
- package/dist/assets/Tab/Tab.css +12 -12
- package/dist/assets/Table/Table.css +48 -56
- package/dist/assets/TextBlock/TextBlock.css +1 -1
- package/dist/assets/TopicalNavItem/TopicalNavItem.css +2 -2
- package/dist/assets/TopicalNavSet/TopicalNavSet.css +1 -1
- package/dist/assets/VideoTile/VideoTile.css +1 -1
- package/dist/assets/globals.css +5 -6
- package/dist/assets/icons/ArrowIcon/ArrowIcon.css +3 -3
- package/dist/assets/icons/DownloadIcon/DownloadIcon.css +1 -1
- package/dist/assets/icons/FollowIcon/FollowIcon.css +1 -1
- package/dist/assets/themes/axos.css +30 -30
- package/dist/assets/themes/premier.css +31 -31
- package/dist/assets/themes/victorie.css +23 -23
- package/dist/icons/CheckCircle.js +1 -1
- package/dist/icons/CheckCircleLight.js +1 -1
- package/dist/icons/CheckIcon/index.js +1 -1
- package/dist/icons/QuoteIconGrey.js +2 -2
- package/dist/main.js +10 -0
- package/dist/themes/axos.css.d.ts +12 -12
- package/dist/themes/axos.css.js +1 -1
- package/package.json +133 -133
- package/dist/NavigationMenu/NavDataJson.d.ts +0 -2
- package/dist/NavigationMenu/NavDataJson.js +0 -308
- package/dist/NavigationMenu/Navbar.d.ts +0 -5
- package/dist/NavigationMenu/Navbar.js +0 -194
- package/dist/NavigationMenu/SignInNavButton.d.ts +0 -1
- package/dist/NavigationMenu/SignInNavButton.js +0 -362
- package/dist/icons/Logos/AXB.d.ts +0 -8
- package/dist/icons/Logos/AXB.js +0 -74
|
@@ -18,48 +18,20 @@ export declare const line_points: import('@vanilla-extract/recipes').RuntimeFn<{
|
|
|
18
18
|
export declare const point: import('@vanilla-extract/recipes').RuntimeFn<{
|
|
19
19
|
variant: {
|
|
20
20
|
primary: {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
borderColor: "#4D85B0";
|
|
24
|
-
background: `var(--${string})`;
|
|
25
|
-
} | {
|
|
26
|
-
borderColor: "#4A5560";
|
|
27
|
-
background: `var(--${string})`;
|
|
28
|
-
};
|
|
29
|
-
};
|
|
21
|
+
borderColor: `var(--${string})`;
|
|
22
|
+
background: `var(--${string})`;
|
|
30
23
|
};
|
|
31
24
|
secondary: {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
borderColor: "#4D85B0";
|
|
35
|
-
background: `var(--${string})`;
|
|
36
|
-
} | {
|
|
37
|
-
borderColor: "#4A5560";
|
|
38
|
-
background: `var(--${string})`;
|
|
39
|
-
};
|
|
40
|
-
};
|
|
25
|
+
borderColor: `var(--${string})`;
|
|
26
|
+
background: `var(--${string})`;
|
|
41
27
|
};
|
|
42
28
|
tertiary: {
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
borderColor: "#FAA74A";
|
|
46
|
-
background: "#1E3860";
|
|
47
|
-
} | {
|
|
48
|
-
borderColor: "#FAA74A";
|
|
49
|
-
background: `var(--${string})`;
|
|
50
|
-
};
|
|
51
|
-
};
|
|
29
|
+
borderColor: `var(--${string})`;
|
|
30
|
+
background: `var(--${string})`;
|
|
52
31
|
};
|
|
53
32
|
quaternary: {
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
borderColor: "#FAA74A";
|
|
57
|
-
background: "#1E3860";
|
|
58
|
-
} | {
|
|
59
|
-
borderColor: "#FAA74A";
|
|
60
|
-
background: `var(--${string})`;
|
|
61
|
-
};
|
|
62
|
-
};
|
|
33
|
+
borderColor: `var(--${string})`;
|
|
34
|
+
background: `var(--${string})`;
|
|
63
35
|
};
|
|
64
36
|
};
|
|
65
37
|
}>;
|
|
@@ -29,48 +29,20 @@ export declare const modifier: import('@vanilla-extract/recipes').RuntimeFn<{
|
|
|
29
29
|
fill: "#1E3860";
|
|
30
30
|
};
|
|
31
31
|
tertiary: {
|
|
32
|
-
fill: "#
|
|
32
|
+
fill: "#FFFFFF";
|
|
33
33
|
};
|
|
34
34
|
quaternary: {
|
|
35
|
-
fill: "#
|
|
35
|
+
fill: "#FFFFFF";
|
|
36
36
|
};
|
|
37
37
|
};
|
|
38
38
|
}>;
|
|
39
39
|
export declare const sec_title: import('@vanilla-extract/recipes').RuntimeFn<{
|
|
40
40
|
variant: {
|
|
41
41
|
primary: {
|
|
42
|
-
|
|
43
|
-
[x: string]: {
|
|
44
|
-
WebkitBackgroundClip: "text";
|
|
45
|
-
backgroundImage: `var(--${string})`;
|
|
46
|
-
WebkitTextFillColor: "transparent";
|
|
47
|
-
textShadow: "0px 0px #00000000";
|
|
48
|
-
color?: undefined;
|
|
49
|
-
} | {
|
|
50
|
-
color: `var(--${string})`;
|
|
51
|
-
WebkitBackgroundClip?: undefined;
|
|
52
|
-
backgroundImage?: undefined;
|
|
53
|
-
WebkitTextFillColor?: undefined;
|
|
54
|
-
textShadow?: undefined;
|
|
55
|
-
};
|
|
56
|
-
};
|
|
42
|
+
color: `var(--${string})`;
|
|
57
43
|
};
|
|
58
44
|
secondary: {
|
|
59
|
-
|
|
60
|
-
[x: string]: {
|
|
61
|
-
WebkitBackgroundClip: "text";
|
|
62
|
-
backgroundImage: `var(--${string})`;
|
|
63
|
-
WebkitTextFillColor: "transparent";
|
|
64
|
-
textShadow: "0px 0px #00000000";
|
|
65
|
-
color?: undefined;
|
|
66
|
-
} | {
|
|
67
|
-
color: `var(--${string})`;
|
|
68
|
-
WebkitBackgroundClip?: undefined;
|
|
69
|
-
backgroundImage?: undefined;
|
|
70
|
-
WebkitTextFillColor?: undefined;
|
|
71
|
-
textShadow?: undefined;
|
|
72
|
-
};
|
|
73
|
-
};
|
|
45
|
+
color: `var(--${string})`;
|
|
74
46
|
};
|
|
75
47
|
tertiary: {
|
|
76
48
|
color: `var(--${string})`;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ChevronProps } from '../Chevron/Chevron.interface';
|
|
2
1
|
import { ImageInterface } from '../IconBillboard';
|
|
3
2
|
import { QuaternaryTypes } from '../utils/variant.types';
|
|
4
3
|
import { FC, ReactNode } from 'react';
|
|
4
|
+
import { ChevronProps } from '../Chevron/Chevron.interface';
|
|
5
5
|
import { StepItemProps } from '../StepItem';
|
|
6
6
|
|
|
7
7
|
export interface StepItemSetProps {
|
|
@@ -1,14 +1,11 @@
|
|
|
1
|
-
import { jsx, jsxs
|
|
2
|
-
import { Button } from "../Button/Button.js";
|
|
3
|
-
import "../Button/Button.css.js";
|
|
4
|
-
import "react";
|
|
5
|
-
import "react-use";
|
|
6
|
-
import { Chevron } from "../Chevron/index.js";
|
|
1
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
2
|
import { getVariant } from "../utils/getVariant.js";
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import "
|
|
11
|
-
import {
|
|
3
|
+
import { bs_section, bs_wrapper, tablet_col } from "./StepItemSet.css.js";
|
|
4
|
+
import { HeaderSection } from "./sections/HeaderSection.js";
|
|
5
|
+
import { ImageSection } from "./sections/ImageSection.js";
|
|
6
|
+
import { StepsList } from "./sections/StepsList.js";
|
|
7
|
+
import { CallToActionSection } from "./sections/CallToActionSection.js";
|
|
8
|
+
import { AdditionalDetailsSection } from "./sections/AdditionalDetailsSection.js";
|
|
12
9
|
const StepItemSet = ({
|
|
13
10
|
id,
|
|
14
11
|
variant: fullVariant = "primary",
|
|
@@ -21,81 +18,20 @@ const StepItemSet = ({
|
|
|
21
18
|
}) => {
|
|
22
19
|
const variant = getVariant(fullVariant);
|
|
23
20
|
return /* @__PURE__ */ jsx("section", { className: `${bs_section({ variant })}`, id, children: /* @__PURE__ */ jsxs("div", { className: `${bs_wrapper} containment`, children: [
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
"svg",
|
|
27
|
-
{
|
|
28
|
-
className: svg_logo,
|
|
29
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
30
|
-
width: "40",
|
|
31
|
-
height: "40",
|
|
32
|
-
fill: "none",
|
|
33
|
-
children: [
|
|
34
|
-
/* @__PURE__ */ jsx(
|
|
35
|
-
"path",
|
|
36
|
-
{
|
|
37
|
-
fill: "#FAA74A",
|
|
38
|
-
d: "M4.012.513a1.726 1.726 0 0 0-2.455 0L.539 1.53a1.726 1.726 0 0 0 0 2.456L16.536 20 .539 36.014a1.726 1.726 0 0 0 0 2.456l1.018 1.017a1.726 1.726 0 0 0 2.455 0L23.464 20 4.012.513Z"
|
|
39
|
-
}
|
|
40
|
-
),
|
|
41
|
-
/* @__PURE__ */ jsx(
|
|
42
|
-
"path",
|
|
43
|
-
{
|
|
44
|
-
fill: "#1E3860",
|
|
45
|
-
fillRule: "evenodd",
|
|
46
|
-
d: "m38.443.513 1.018 1.017c.684.684.684 1.79 0 2.456L25.902 17.562l-3.473-3.473L35.988.513a1.726 1.726 0 0 1 2.455 0Zm0 38.974 1.018-1.017a1.726 1.726 0 0 0 0-2.456L25.902 22.438l-3.473 3.473 13.559 13.576a1.726 1.726 0 0 0 2.455 0Z",
|
|
47
|
-
clipRule: "evenodd",
|
|
48
|
-
className: `${modifier({ variant })}`
|
|
49
|
-
}
|
|
50
|
-
)
|
|
51
|
-
]
|
|
52
|
-
}
|
|
53
|
-
),
|
|
54
|
-
title && /* @__PURE__ */ jsx("h2", { className: `header_1 ${sec_title({ variant })}`, children: title }),
|
|
55
|
-
description && /* @__PURE__ */ jsx("div", { className: sec_subtitle, children: /* @__PURE__ */ jsx(Fragment, { children: description }) })
|
|
56
|
-
] }),
|
|
57
|
-
/* @__PURE__ */ jsxs("div", { className: `push_up_32 flex ${tablet_col}`, children: [
|
|
58
|
-
image && /* @__PURE__ */ jsx("div", { className: bs_image, role: "presentation", children: /* @__PURE__ */ jsx(OptimizeImage, { src: image?.src, alt: "" }) }),
|
|
59
|
-
/* @__PURE__ */ jsx("div", { className: steps_wrapper, children: /* @__PURE__ */ jsx("ol", { className: ol, children: stepItems?.map((step, index) => /* @__PURE__ */ jsx(
|
|
60
|
-
StepItem,
|
|
61
|
-
{
|
|
62
|
-
id: `id_${step.id}`,
|
|
63
|
-
counter: index + 1,
|
|
64
|
-
title: step?.title,
|
|
65
|
-
description: step?.description,
|
|
66
|
-
variant
|
|
67
|
-
},
|
|
68
|
-
step?.id
|
|
69
|
-
)) }) })
|
|
70
|
-
] }),
|
|
71
|
-
Array.isArray(callToActionRow) && callToActionRow?.length > 0 && /* @__PURE__ */ jsx(
|
|
72
|
-
"div",
|
|
21
|
+
/* @__PURE__ */ jsx(
|
|
22
|
+
HeaderSection,
|
|
73
23
|
{
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
Button,
|
|
78
|
-
{
|
|
79
|
-
targetUrl,
|
|
80
|
-
color: getVariant(variant2),
|
|
81
|
-
size: "large",
|
|
82
|
-
rounded: "medium",
|
|
83
|
-
children: displayText
|
|
84
|
-
},
|
|
85
|
-
id2
|
|
86
|
-
) : /* @__PURE__ */ jsx(
|
|
87
|
-
Chevron,
|
|
88
|
-
{
|
|
89
|
-
targetUrl,
|
|
90
|
-
variant: getVariant(variant2),
|
|
91
|
-
children: displayText
|
|
92
|
-
},
|
|
93
|
-
id2
|
|
94
|
-
)
|
|
95
|
-
)
|
|
24
|
+
title,
|
|
25
|
+
description,
|
|
26
|
+
variant
|
|
96
27
|
}
|
|
97
28
|
),
|
|
98
|
-
|
|
29
|
+
/* @__PURE__ */ jsxs("div", { className: `push_up_32 flex ${tablet_col}`, children: [
|
|
30
|
+
/* @__PURE__ */ jsx(ImageSection, { image }),
|
|
31
|
+
/* @__PURE__ */ jsx(StepsList, { stepItems, variant })
|
|
32
|
+
] }),
|
|
33
|
+
/* @__PURE__ */ jsx(CallToActionSection, { callToActionRow }),
|
|
34
|
+
/* @__PURE__ */ jsx(AdditionalDetailsSection, { additionalDetails })
|
|
99
35
|
] }) });
|
|
100
36
|
};
|
|
101
37
|
export {
|
|
@@ -1,2 +1,7 @@
|
|
|
1
1
|
export * from './StepItemSet';
|
|
2
2
|
export * from './StepItemSet.css';
|
|
3
|
+
export * from './sections/HeaderSection';
|
|
4
|
+
export * from './sections/ImageSection';
|
|
5
|
+
export * from './sections/StepsList';
|
|
6
|
+
export * from './sections/CallToActionSection';
|
|
7
|
+
export * from './sections/AdditionalDetailsSection';
|
|
@@ -1,7 +1,17 @@
|
|
|
1
1
|
import { StepItemSet } from "./StepItemSet.js";
|
|
2
2
|
import { bs_add_details, bs_btns, bs_image, bs_section, bs_wrapper, modifier, ol, sec_subtitle, sec_title, steps_wrapper, svg_logo, tablet_col } from "./StepItemSet.css.js";
|
|
3
|
+
import { HeaderSection } from "./sections/HeaderSection.js";
|
|
4
|
+
import { ImageSection } from "./sections/ImageSection.js";
|
|
5
|
+
import { StepsList } from "./sections/StepsList.js";
|
|
6
|
+
import { CallToActionSection } from "./sections/CallToActionSection.js";
|
|
7
|
+
import { AdditionalDetailsSection } from "./sections/AdditionalDetailsSection.js";
|
|
3
8
|
export {
|
|
9
|
+
AdditionalDetailsSection,
|
|
10
|
+
CallToActionSection,
|
|
11
|
+
HeaderSection,
|
|
12
|
+
ImageSection,
|
|
4
13
|
StepItemSet,
|
|
14
|
+
StepsList,
|
|
5
15
|
bs_add_details,
|
|
6
16
|
bs_btns,
|
|
7
17
|
bs_image,
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { jsx, Fragment } from "react/jsx-runtime";
|
|
2
|
+
import { bs_add_details } from "../StepItemSet.css.js";
|
|
3
|
+
const AdditionalDetailsSection = ({
|
|
4
|
+
additionalDetails
|
|
5
|
+
}) => {
|
|
6
|
+
if (!additionalDetails) return null;
|
|
7
|
+
return /* @__PURE__ */ jsx("div", { className: "containment push_up_24", children: /* @__PURE__ */ jsx("div", { className: bs_add_details, children: /* @__PURE__ */ jsx(Fragment, { children: additionalDetails }) }) });
|
|
8
|
+
};
|
|
9
|
+
export {
|
|
10
|
+
AdditionalDetailsSection
|
|
11
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { ChevronProps } from '../../Chevron/Chevron.interface';
|
|
3
|
+
|
|
4
|
+
interface CallToActionSectionProps {
|
|
5
|
+
callToActionRow?: boolean | ChevronProps[];
|
|
6
|
+
}
|
|
7
|
+
export declare const CallToActionSection: FC<CallToActionSectionProps>;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import { Button } from "../../Button/Button.js";
|
|
3
|
+
import "../../Button/Button.css.js";
|
|
4
|
+
import "react";
|
|
5
|
+
import "react-use";
|
|
6
|
+
import { Chevron } from "../../Chevron/index.js";
|
|
7
|
+
import { getVariant } from "../../utils/getVariant.js";
|
|
8
|
+
import { bs_btns } from "../StepItemSet.css.js";
|
|
9
|
+
const CallToActionSection = ({
|
|
10
|
+
callToActionRow
|
|
11
|
+
}) => {
|
|
12
|
+
if (!Array.isArray(callToActionRow) || callToActionRow.length === 0) {
|
|
13
|
+
return null;
|
|
14
|
+
}
|
|
15
|
+
return /* @__PURE__ */ jsx("div", { className: `flex middle center push_up_32 text_center ${bs_btns}`, children: callToActionRow.map(
|
|
16
|
+
({ id, variant, displayText, targetUrl, type }) => type === "Button" ? /* @__PURE__ */ jsx(
|
|
17
|
+
Button,
|
|
18
|
+
{
|
|
19
|
+
targetUrl,
|
|
20
|
+
color: getVariant(variant),
|
|
21
|
+
size: "large",
|
|
22
|
+
rounded: "medium",
|
|
23
|
+
children: displayText
|
|
24
|
+
},
|
|
25
|
+
id
|
|
26
|
+
) : /* @__PURE__ */ jsx(
|
|
27
|
+
Chevron,
|
|
28
|
+
{
|
|
29
|
+
targetUrl,
|
|
30
|
+
variant: getVariant(variant),
|
|
31
|
+
children: displayText
|
|
32
|
+
},
|
|
33
|
+
id
|
|
34
|
+
)
|
|
35
|
+
) });
|
|
36
|
+
};
|
|
37
|
+
export {
|
|
38
|
+
CallToActionSection
|
|
39
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { FC, ReactNode } from 'react';
|
|
2
|
+
import { QuaternaryTypes } from '../../utils/variant.types';
|
|
3
|
+
|
|
4
|
+
interface HeaderSectionProps {
|
|
5
|
+
title?: string | ReactNode;
|
|
6
|
+
description?: string | ReactNode;
|
|
7
|
+
variant: QuaternaryTypes;
|
|
8
|
+
}
|
|
9
|
+
export declare const HeaderSection: FC<HeaderSectionProps>;
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { jsxs, jsx, Fragment } from "react/jsx-runtime";
|
|
2
|
+
import { svg_logo, modifier, sec_title, sec_subtitle } from "../StepItemSet.css.js";
|
|
3
|
+
const HeaderSection = ({
|
|
4
|
+
title,
|
|
5
|
+
description,
|
|
6
|
+
variant
|
|
7
|
+
}) => {
|
|
8
|
+
if (!title && !description) return null;
|
|
9
|
+
return /* @__PURE__ */ jsxs("div", { className: "text_center", children: [
|
|
10
|
+
/* @__PURE__ */ jsxs(
|
|
11
|
+
"svg",
|
|
12
|
+
{
|
|
13
|
+
className: svg_logo,
|
|
14
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
15
|
+
width: "40",
|
|
16
|
+
height: "40",
|
|
17
|
+
fill: "none",
|
|
18
|
+
children: [
|
|
19
|
+
/* @__PURE__ */ jsx(
|
|
20
|
+
"path",
|
|
21
|
+
{
|
|
22
|
+
fill: "#FAA74A",
|
|
23
|
+
d: "M4.012.513a1.726 1.726 0 0 0-2.455 0L.539 1.53a1.726 1.726 0 0 0 0 2.456L16.536 20 .539 36.014a1.726 1.726 0 0 0 0 2.456l1.018 1.017a1.726 1.726 0 0 0 2.455 0L23.464 20 4.012.513Z"
|
|
24
|
+
}
|
|
25
|
+
),
|
|
26
|
+
/* @__PURE__ */ jsx(
|
|
27
|
+
"path",
|
|
28
|
+
{
|
|
29
|
+
fill: "#1E3860",
|
|
30
|
+
fillRule: "evenodd",
|
|
31
|
+
d: "m38.443.513 1.018 1.017c.684.684.684 1.79 0 2.456L25.902 17.562l-3.473-3.473L35.988.513a1.726 1.726 0 0 1 2.455 0Zm0 38.974 1.018-1.017a1.726 1.726 0 0 0 0-2.456L25.902 22.438l-3.473 3.473 13.559 13.576a1.726 1.726 0 0 0 2.455 0Z",
|
|
32
|
+
clipRule: "evenodd",
|
|
33
|
+
className: `${modifier({ variant })}`
|
|
34
|
+
}
|
|
35
|
+
)
|
|
36
|
+
]
|
|
37
|
+
}
|
|
38
|
+
),
|
|
39
|
+
title && /* @__PURE__ */ jsx("h2", { className: `header_1 ${sec_title({ variant })}`, children: title }),
|
|
40
|
+
description && /* @__PURE__ */ jsx("div", { className: sec_subtitle, children: /* @__PURE__ */ jsx(Fragment, { children: description }) })
|
|
41
|
+
] });
|
|
42
|
+
};
|
|
43
|
+
export {
|
|
44
|
+
HeaderSection
|
|
45
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import { OptimizeImage } from "../../utils/optimizeImage/OptimizeImage.js";
|
|
3
|
+
import { bs_image } from "../StepItemSet.css.js";
|
|
4
|
+
const ImageSection = ({ image }) => {
|
|
5
|
+
if (!image) return null;
|
|
6
|
+
return /* @__PURE__ */ jsx("div", { className: bs_image, role: "presentation", children: /* @__PURE__ */ jsx(OptimizeImage, { src: image?.src, alt: "" }) });
|
|
7
|
+
};
|
|
8
|
+
export {
|
|
9
|
+
ImageSection
|
|
10
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { QuaternaryTypes } from '../../utils/variant.types';
|
|
3
|
+
import { StepItemProps } from '../../StepItem';
|
|
4
|
+
|
|
5
|
+
interface StepsListProps {
|
|
6
|
+
stepItems?: StepItemProps[];
|
|
7
|
+
variant: QuaternaryTypes;
|
|
8
|
+
}
|
|
9
|
+
export declare const StepsList: FC<StepsListProps>;
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import { StepItem } from "../../StepItem/StepItem.js";
|
|
3
|
+
import "../../StepItem/StepItem.css.js";
|
|
4
|
+
import { steps_wrapper, ol } from "../StepItemSet.css.js";
|
|
5
|
+
const StepsList = ({ stepItems, variant }) => {
|
|
6
|
+
if (!stepItems || stepItems.length === 0) return null;
|
|
7
|
+
return /* @__PURE__ */ jsx("div", { className: steps_wrapper, children: /* @__PURE__ */ jsx("ol", { className: ol, children: stepItems.map((step, index) => /* @__PURE__ */ jsx(
|
|
8
|
+
StepItem,
|
|
9
|
+
{
|
|
10
|
+
id: `id_${step.id}`,
|
|
11
|
+
counter: index + 1,
|
|
12
|
+
title: step?.title,
|
|
13
|
+
description: step?.description,
|
|
14
|
+
variant
|
|
15
|
+
},
|
|
16
|
+
step?.id
|
|
17
|
+
)) }) });
|
|
18
|
+
};
|
|
19
|
+
export {
|
|
20
|
+
StepsList
|
|
21
|
+
};
|
|
@@ -2,11 +2,12 @@ export declare const table_section: string;
|
|
|
2
2
|
export declare const table_container: import('@vanilla-extract/recipes').RuntimeFn<{
|
|
3
3
|
variant: {
|
|
4
4
|
apy: {
|
|
5
|
-
background:
|
|
5
|
+
background: `var(--${string})`;
|
|
6
|
+
border: "1px solid #f1f1f1";
|
|
6
7
|
padding: "2rem 0";
|
|
7
8
|
};
|
|
8
9
|
standard: {
|
|
9
|
-
background: "
|
|
10
|
+
background: "#ffffff";
|
|
10
11
|
};
|
|
11
12
|
};
|
|
12
13
|
}>;
|
package/dist/Table/Table.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
+
import clsx from "clsx";
|
|
2
3
|
import "../icons/ArrowIcon/ArrowIcon.css.js";
|
|
3
4
|
import SvgComponent from "../icons/AxosX/Blue.js";
|
|
4
5
|
import "../icons/CheckIcon/CheckIcon.css.js";
|
|
@@ -9,7 +10,6 @@ import '../assets/icons/FollowIcon/FollowIcon.css';import '../assets/icons/Downl
|
|
|
9
10
|
/* empty css */
|
|
10
11
|
import "../utils/allowedAxosDomains.js";
|
|
11
12
|
import { getVariant } from "../utils/getVariant.js";
|
|
12
|
-
import clsx from "clsx";
|
|
13
13
|
import { createElement } from "react";
|
|
14
14
|
import { table_section, table_container_text, table_headline, table_description_text, table_container, table, highlight_first_row, highlight_last_row, alternate_color_rows, apy_table, tableWrapper, td, th } from "./Table.css.js";
|
|
15
15
|
const TableContainer = ({
|