@axos-web-dev/shared-components 0.0.14 → 0.0.16
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/Chevron/index.js +0 -2
- package/dist/FaqAccordion/index.js +5 -0
- package/dist/Forms/ScheduleCall.js +90 -77
- package/dist/HeroBanner/index.js +3 -4
- package/dist/Hyperlink/index.js +0 -2
- package/dist/IconBillboard/IconBillboard.css.d.ts +1 -0
- package/dist/IconBillboard/IconBillboard.js +1 -1
- package/dist/ImageBillboard/ImageBillboard.css.d.ts +6 -0
- package/dist/ImageBillboard/ImageBillboard.css.js +14 -1
- package/dist/ImageBillboard/ImageBillboard.interface.d.ts +6 -3
- package/dist/ImageBillboard/ImageBillboard.js +1 -1
- package/dist/ImageBillboard/ImageBillboardSet.d.ts +1 -1
- package/dist/ImageBillboard/ImageBillboardSet.js +26 -8
- package/dist/ImageBillboard/index.js +8 -2
- package/dist/Input/Input.css.d.ts +10 -0
- package/dist/Input/Input.css.js +7 -7
- package/dist/Input/index.d.ts +2 -0
- package/dist/Input/index.js +9 -1
- package/dist/Modal/Modal.js +0 -2
- package/dist/NavigationMenu/AxosAdvisor/NavBar.module.js +55 -52
- package/dist/NavigationMenu/AxosAdvisor/SubNavBar.js +10 -3
- package/dist/NavigationMenu/AxosAdvisor/index.js +1 -1
- package/dist/SetContainer/SetContainer.js +0 -2
- package/dist/Table/Table.d.ts +4 -4
- package/dist/VideoTile/VideoTile.d.ts +1 -1
- package/dist/VideoTile/VideoTile.js +6 -5
- package/dist/VideoWrapper/index.d.ts +1 -0
- package/dist/VideoWrapper/index.js +27 -18
- package/dist/assets/FaqAccordion/FaqAccordion.css +6 -0
- package/dist/assets/HeroBanner/HeroBanner.css +1 -3
- package/dist/assets/IconBillboard/IconBillboard.css +1 -0
- package/dist/assets/ImageBillboard/ImageBillboard.css +47 -0
- package/dist/assets/Input/Input.css +39 -33
- package/dist/assets/NavigationMenu/AxosAdvisor/NavBar.css.css +590 -582
- package/dist/assets/Typography/Typography.css +1 -2
- package/dist/assets/globals.css +7 -2
- package/dist/icons/AxosX/Blue.d.ts +3 -0
- package/dist/icons/AxosX/Blue.js +32 -0
- package/dist/icons/index.d.ts +1 -0
- package/dist/icons/index.js +28 -26
- package/dist/main.d.ts +1 -0
- package/dist/main.js +41 -1
- package/package.json +106 -106
package/dist/Chevron/index.js
CHANGED
|
@@ -38,9 +38,7 @@ import "../ImageBillboard/ImageBillboard.css.js";
|
|
|
38
38
|
import { chevron_wrapper, chevron } from "./Chevron.css.js";
|
|
39
39
|
/* empty css */
|
|
40
40
|
/* empty css */
|
|
41
|
-
import "../NavigationMenu/AxosAdvisor/NavBar.module.js";
|
|
42
41
|
/* empty css */
|
|
43
|
-
import "../NavigationMenu/AxosFiduciary/NavBar.module.js";
|
|
44
42
|
/* empty css */
|
|
45
43
|
import "../Table/Table.css.js";
|
|
46
44
|
/* empty css */
|
|
@@ -16,6 +16,11 @@ const AccordionItem = (props) => {
|
|
|
16
16
|
const selectItem = useAccordion((state) => state.toggle);
|
|
17
17
|
const isOpen = useAccordion((state) => state.itemOpened);
|
|
18
18
|
const toggle = (event) => {
|
|
19
|
+
const ev = event.target;
|
|
20
|
+
const evClasses = ev.getAttribute("class");
|
|
21
|
+
if (!(evClasses == null ? void 0 : evClasses.includes(summary)) !== (evClasses == null ? void 0 : evClasses.includes(summaryHeader))) {
|
|
22
|
+
return;
|
|
23
|
+
}
|
|
19
24
|
event.preventDefault();
|
|
20
25
|
if (isOpen !== props.id) {
|
|
21
26
|
selectItem(props.id);
|
|
@@ -7,6 +7,7 @@ import "react";
|
|
|
7
7
|
import "react-use";
|
|
8
8
|
import { Input } from "../Input/index.js";
|
|
9
9
|
import SvgAxosX from "../icons/AxosX/index.js";
|
|
10
|
+
import SvgComponent from "../icons/AxosX/Blue.js";
|
|
10
11
|
import "../icons/CheckIcon/CheckIcon.css.js";
|
|
11
12
|
/* empty css */
|
|
12
13
|
/* empty css */
|
|
@@ -42,7 +43,7 @@ const ScheduleCall = ({
|
|
|
42
43
|
resolver: zodResolver(schema.merge(SalesforceSchema), {
|
|
43
44
|
async: true
|
|
44
45
|
}),
|
|
45
|
-
mode: "
|
|
46
|
+
mode: "all",
|
|
46
47
|
defaultValues: {
|
|
47
48
|
email: ""
|
|
48
49
|
}
|
|
@@ -56,83 +57,95 @@ const ScheduleCall = ({
|
|
|
56
57
|
await onSubmit(data);
|
|
57
58
|
};
|
|
58
59
|
const variant = getVariant(fullVariant);
|
|
59
|
-
return /* @__PURE__ */ jsx(
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
...register("lastName", { required: true }),
|
|
82
|
-
label: "Last Name",
|
|
83
|
-
sizes: "medium",
|
|
84
|
-
placeholder: "Last Name",
|
|
85
|
-
required: true,
|
|
86
|
-
error: !!errors.lastName,
|
|
87
|
-
helperText: (_b = errors.lastName) == null ? void 0 : _b.message
|
|
88
|
-
}
|
|
89
|
-
) }),
|
|
90
|
-
/* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
|
|
91
|
-
Input,
|
|
92
|
-
{
|
|
93
|
-
id: "email",
|
|
94
|
-
...register("email", {
|
|
95
|
-
required: true,
|
|
96
|
-
validate: {
|
|
97
|
-
isValid: associatedEmail
|
|
60
|
+
return /* @__PURE__ */ jsx(
|
|
61
|
+
"section",
|
|
62
|
+
{
|
|
63
|
+
id: `id_${id}`,
|
|
64
|
+
className: clsx(formContainer({ variant })),
|
|
65
|
+
children: /* @__PURE__ */ jsxs(FormProvider, { ...methods, children: [
|
|
66
|
+
icon && /* @__PURE__ */ jsx("div", { className: clsx("text_center", iconForm), children: ["primary", "secondary"].includes(variant) ? /* @__PURE__ */ jsx(SvgComponent, {}) : /* @__PURE__ */ jsx(SvgAxosX, {}) }),
|
|
67
|
+
/* @__PURE__ */ jsx("div", { className: clsx("header_2 text_center", headerForm({ variant })), children: headline }),
|
|
68
|
+
/* @__PURE__ */ jsxs("form", { className: form, onSubmit: handleSubmit(submitForm), children: [
|
|
69
|
+
/* @__PURE__ */ jsxs("div", { className: clsx(formWrapper({ variant })), children: [
|
|
70
|
+
/* @__PURE__ */ jsx("div", { className: "", children: /* @__PURE__ */ jsx(
|
|
71
|
+
Input,
|
|
72
|
+
{
|
|
73
|
+
id: "firstName",
|
|
74
|
+
...register("firstName", { required: true }),
|
|
75
|
+
label: "First Name",
|
|
76
|
+
sizes: "medium",
|
|
77
|
+
placeholder: "First Name",
|
|
78
|
+
required: true,
|
|
79
|
+
error: !!errors.firstName,
|
|
80
|
+
helperText: (_a = errors.firstName) == null ? void 0 : _a.message,
|
|
81
|
+
variant
|
|
98
82
|
}
|
|
99
|
-
}),
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
83
|
+
) }),
|
|
84
|
+
/* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
|
|
85
|
+
Input,
|
|
86
|
+
{
|
|
87
|
+
id: "lastName",
|
|
88
|
+
...register("lastName", { required: true }),
|
|
89
|
+
label: "Last Name",
|
|
90
|
+
sizes: "medium",
|
|
91
|
+
placeholder: "Last Name",
|
|
92
|
+
required: true,
|
|
93
|
+
error: !!errors.lastName,
|
|
94
|
+
helperText: (_b = errors.lastName) == null ? void 0 : _b.message,
|
|
95
|
+
variant
|
|
96
|
+
}
|
|
97
|
+
) }),
|
|
98
|
+
/* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
|
|
99
|
+
Input,
|
|
100
|
+
{
|
|
101
|
+
id: "email",
|
|
102
|
+
...register("email", {
|
|
103
|
+
required: true,
|
|
104
|
+
validate: {
|
|
105
|
+
isValid: associatedEmail
|
|
106
|
+
}
|
|
107
|
+
}),
|
|
108
|
+
label: "Email",
|
|
109
|
+
sizes: "medium",
|
|
110
|
+
placeholder: "Email",
|
|
111
|
+
required: true,
|
|
112
|
+
error: !!errors.email,
|
|
113
|
+
helperText: (_c = errors.email) == null ? void 0 : _c.message,
|
|
114
|
+
variant
|
|
115
|
+
}
|
|
116
|
+
) }),
|
|
117
|
+
/* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
|
|
118
|
+
Input,
|
|
119
|
+
{
|
|
120
|
+
id: "phone",
|
|
121
|
+
...register("phone", { required: true }),
|
|
122
|
+
label: "Phone",
|
|
123
|
+
sizes: "medium",
|
|
124
|
+
placeholder: "Phone",
|
|
125
|
+
required: true,
|
|
126
|
+
error: !!errors.phone,
|
|
127
|
+
helperText: (_d = errors.phone) == null ? void 0 : _d.message,
|
|
128
|
+
variant
|
|
129
|
+
}
|
|
130
|
+
) })
|
|
131
|
+
] }),
|
|
132
|
+
children,
|
|
133
|
+
/* @__PURE__ */ jsx("div", { className: disclosureForm({ variant }), children: disclosure }),
|
|
134
|
+
/* @__PURE__ */ jsx("div", { className: actions, children: /* @__PURE__ */ jsx(
|
|
135
|
+
Button,
|
|
136
|
+
{
|
|
137
|
+
color: getVariant(callToAction == null ? void 0 : callToAction.variant),
|
|
138
|
+
as: "button",
|
|
139
|
+
type: "submit",
|
|
140
|
+
disabled: !isValid,
|
|
141
|
+
children: callToAction == null ? void 0 : callToAction.displayText
|
|
142
|
+
}
|
|
143
|
+
) })
|
|
144
|
+
] })
|
|
145
|
+
] })
|
|
146
|
+
},
|
|
147
|
+
id
|
|
148
|
+
);
|
|
136
149
|
};
|
|
137
150
|
export {
|
|
138
151
|
ScheduleCall
|
package/dist/HeroBanner/index.js
CHANGED
|
@@ -20,16 +20,15 @@ const HeroBanner = ({
|
|
|
20
20
|
return /* @__PURE__ */ jsx(
|
|
21
21
|
"section",
|
|
22
22
|
{
|
|
23
|
-
className: `${bannerType !== "Hero" ? logout : ""}
|
|
24
|
-
${hero_banner({ variant: getVariant(variant) })}`,
|
|
23
|
+
className: `${bannerType !== "Hero" ? logout : ""} ${hero_banner({ variant: getVariant(variant) })}`,
|
|
25
24
|
children: /* @__PURE__ */ jsx("div", { className: "containment", children: /* @__PURE__ */ jsxs(
|
|
26
25
|
"div",
|
|
27
26
|
{
|
|
28
27
|
className: `${hero_content} ${imagePlacement !== "Right" ? reversed : ""}`,
|
|
29
28
|
children: [
|
|
30
29
|
/* @__PURE__ */ jsxs("div", { className: hero_text, children: [
|
|
31
|
-
/* @__PURE__ */ jsx("
|
|
32
|
-
/* @__PURE__ */ jsx("h1", { className: headline_text({ variant: getVariant(variant) }), children: headline }),
|
|
30
|
+
eyebrow && /* @__PURE__ */ jsx("h1", { className: supertag({ variant: getVariant(variant) }), children: eyebrow }),
|
|
31
|
+
eyebrow ? /* @__PURE__ */ jsx("h2", { className: headline_text({ variant: getVariant(variant) }), children: headline }) : /* @__PURE__ */ jsx("h1", { className: headline_text({ variant: getVariant(variant) }), children: headline }),
|
|
33
32
|
/* @__PURE__ */ jsx(Fragment, { children: bodyCopy }),
|
|
34
33
|
callToActionRow && /* @__PURE__ */ jsx("div", { className: `${hero_btns}`, children: callToActionRow.map(
|
|
35
34
|
({
|
package/dist/Hyperlink/index.js
CHANGED
|
@@ -36,9 +36,7 @@ import "react-hook-form";
|
|
|
36
36
|
import "../ImageBillboard/ImageBillboard.css.js";
|
|
37
37
|
/* empty css */
|
|
38
38
|
/* empty css */
|
|
39
|
-
import "../NavigationMenu/AxosAdvisor/NavBar.module.js";
|
|
40
39
|
/* empty css */
|
|
41
|
-
import "../NavigationMenu/AxosFiduciary/NavBar.module.js";
|
|
42
40
|
/* empty css */
|
|
43
41
|
import "../Table/Table.css.js";
|
|
44
42
|
/* empty css */
|
|
@@ -3,6 +3,7 @@ export declare const containerIconBillboard: import("@vanilla-extract/recipes").
|
|
|
3
3
|
variant: {
|
|
4
4
|
primary: {
|
|
5
5
|
background: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
6
|
+
border: "1px solid #D4D4D4";
|
|
6
7
|
};
|
|
7
8
|
secondary: {
|
|
8
9
|
background: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
@@ -30,7 +30,7 @@ const IconBillboard = (props) => {
|
|
|
30
30
|
),
|
|
31
31
|
children: [
|
|
32
32
|
/* @__PURE__ */ jsxs("div", { className: `middle ${layout({ side })}`, children: [
|
|
33
|
-
icon && /* @__PURE__ */ jsx("div", { className: billboard_icon, children: /* @__PURE__ */ jsx("img", { src: icon == null ? void 0 : icon.src, className: "img_fluid", alt: icon == null ? void 0 : icon.alt }) }),
|
|
33
|
+
icon && /* @__PURE__ */ jsx("div", { className: billboard_icon, role: "presentation", children: /* @__PURE__ */ jsx("img", { src: icon == null ? void 0 : icon.src, className: "img_fluid", alt: icon == null ? void 0 : icon.alt }) }),
|
|
34
34
|
/* @__PURE__ */ jsxs("div", { className: content, children: [
|
|
35
35
|
/* @__PURE__ */ jsxs("div", { className: headerIconBillboard, children: [
|
|
36
36
|
/* @__PURE__ */ jsx("div", { className: title({ variant }), children: headline }),
|
|
@@ -129,3 +129,9 @@ export declare const three_inline: string;
|
|
|
129
129
|
export declare const section_text_ImageBillboard: string;
|
|
130
130
|
export declare const billboard_image: string;
|
|
131
131
|
export declare const mh_330: string;
|
|
132
|
+
export declare const image_background: string;
|
|
133
|
+
export declare const rate_container: string;
|
|
134
|
+
export declare const rate_pad: string;
|
|
135
|
+
export declare const up_to: string;
|
|
136
|
+
export declare const rate_billboard: string;
|
|
137
|
+
export declare const apy_billboard: string;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
/* empty css */
|
|
2
|
+
/* empty css */
|
|
2
3
|
/* empty css */
|
|
3
4
|
/* empty css */
|
|
4
5
|
/* empty css */
|
|
@@ -19,7 +20,14 @@ var three_inline = "_1m7m2aq";
|
|
|
19
20
|
var section_text_ImageBillboard = "_1m7m2ar";
|
|
20
21
|
var billboard_image = "_1m7m2as";
|
|
21
22
|
var mh_330 = "_1m7m2at";
|
|
23
|
+
var image_background = "_1m7m2au";
|
|
24
|
+
var rate_container = "_1m7m2av";
|
|
25
|
+
var rate_pad = "_1m7m2aw";
|
|
26
|
+
var up_to = "_1m7m2ax";
|
|
27
|
+
var rate_billboard = "_1m7m2ay";
|
|
28
|
+
var apy_billboard = "_1m7m2az";
|
|
22
29
|
export {
|
|
30
|
+
apy_billboard,
|
|
23
31
|
billboard,
|
|
24
32
|
billboard_body,
|
|
25
33
|
billboard_container,
|
|
@@ -30,10 +38,15 @@ export {
|
|
|
30
38
|
body,
|
|
31
39
|
header,
|
|
32
40
|
imagePlacement,
|
|
41
|
+
image_background,
|
|
33
42
|
mh_330,
|
|
43
|
+
rate_billboard,
|
|
44
|
+
rate_container,
|
|
45
|
+
rate_pad,
|
|
34
46
|
section_text_ImageBillboard,
|
|
35
47
|
single_container,
|
|
36
48
|
supertag,
|
|
37
49
|
three_inline,
|
|
38
|
-
two_inline
|
|
50
|
+
two_inline,
|
|
51
|
+
up_to
|
|
39
52
|
};
|
|
@@ -15,15 +15,18 @@ export interface ImageBillboardSetProps {
|
|
|
15
15
|
}
|
|
16
16
|
export interface ImageBillboardInterface {
|
|
17
17
|
id: string;
|
|
18
|
+
headline: string | ReactNode;
|
|
19
|
+
bodyCopy: string | ReactNode;
|
|
18
20
|
bordered: boolean;
|
|
19
21
|
imagePlacement: "right" | "left";
|
|
20
22
|
className?: string;
|
|
21
23
|
variant: QuaternaryTypes;
|
|
22
24
|
eyebrow: string | ReactNode;
|
|
23
|
-
headline: string | ReactNode;
|
|
24
|
-
bodyCopy: string | ReactNode;
|
|
25
25
|
bullets: BulletItemProps[];
|
|
26
|
-
image
|
|
26
|
+
image?: ImageInterface;
|
|
27
27
|
callToActionRow: ChevronProps[];
|
|
28
28
|
set?: boolean;
|
|
29
|
+
textImageLineOneSmall?: ReactNode | string;
|
|
30
|
+
textImageLineTwoBig?: ReactNode | string;
|
|
31
|
+
textImageLineThreeSmall?: ReactNode | string;
|
|
29
32
|
}
|
|
@@ -50,7 +50,7 @@ const ImageBillboardSet = ({
|
|
|
50
50
|
${billboard({ variant: billboard_variant })} ${inline ? "" : billboard_container}
|
|
51
51
|
rounded flex ${inline ? "flex_col" : "flex_row"} ${bordered ? "bordered" : ""} ${imagePlacement.toLowerCase() === "left" && !inline ? "reversed" : ""}`,
|
|
52
52
|
children: [
|
|
53
|
-
/* @__PURE__ */ jsx("div", { "background-image": image.src, "aria-label": image.alt }),
|
|
53
|
+
/* @__PURE__ */ jsx("div", { "background-image": image == null ? void 0 : image.src, "aria-label": image == null ? void 0 : image.alt }),
|
|
54
54
|
/* @__PURE__ */ jsxs("div", { className: body, children: [
|
|
55
55
|
/* @__PURE__ */ jsxs("div", { className: billboard_body, children: [
|
|
56
56
|
/* @__PURE__ */ jsxs("div", { className: `${billboard_header_section}`, children: [
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { ImageBillboardInterface } from "./ImageBillboard.interface";
|
|
2
|
-
export declare const ImageBillboard: ({ id, variant, headline, bodyCopy, bordered, bullets, callToActionRow, eyebrow, image, imagePlacement: position, set, }: ImageBillboardInterface) => import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
export declare const ImageBillboard: ({ id, variant, headline, bodyCopy, bordered, bullets, callToActionRow, eyebrow, image, imagePlacement: position, set, textImageLineOneSmall, textImageLineTwoBig, textImageLineThreeSmall, }: ImageBillboardInterface) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -10,19 +10,22 @@ import SvgCheckIcon from "../icons/CheckIcon/index.js";
|
|
|
10
10
|
/* empty css */
|
|
11
11
|
import { getVariant } from "../utils/getVariant.js";
|
|
12
12
|
import clsx from "clsx";
|
|
13
|
-
import { billboard, imagePlacement, billboard_img,
|
|
13
|
+
import { billboard, imagePlacement, billboard_img, image_background, rate_container, rate_pad, up_to, rate_billboard, apy_billboard, body, billboard_body, billboard_header_section, supertag, header, billboard_ctas } from "./ImageBillboard.css.js";
|
|
14
14
|
const ImageBillboard = ({
|
|
15
15
|
id,
|
|
16
16
|
variant,
|
|
17
17
|
headline,
|
|
18
18
|
bodyCopy,
|
|
19
|
-
bordered,
|
|
19
|
+
bordered = false,
|
|
20
20
|
bullets,
|
|
21
21
|
callToActionRow,
|
|
22
22
|
eyebrow,
|
|
23
23
|
image,
|
|
24
24
|
imagePlacement: position = "left",
|
|
25
|
-
set
|
|
25
|
+
set,
|
|
26
|
+
textImageLineOneSmall,
|
|
27
|
+
textImageLineTwoBig,
|
|
28
|
+
textImageLineThreeSmall
|
|
26
29
|
}) => {
|
|
27
30
|
const billboard_variant = getVariant(variant);
|
|
28
31
|
position = position == null ? void 0 : position.toLocaleLowerCase();
|
|
@@ -41,12 +44,27 @@ const ImageBillboard = ({
|
|
|
41
44
|
imagePlacement({ position: position == null ? void 0 : position.toLowerCase() })
|
|
42
45
|
),
|
|
43
46
|
children: [
|
|
44
|
-
/* @__PURE__ */ jsx("div", { className: `${billboard_img} flex`, children: /* @__PURE__ */ jsx(
|
|
45
|
-
"
|
|
47
|
+
/* @__PURE__ */ jsx("div", { className: `${billboard_img} flex`, children: image ? /* @__PURE__ */ jsx(
|
|
48
|
+
"div",
|
|
46
49
|
{
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
+
className: image_background,
|
|
51
|
+
style: { backgroundImage: `url(${image.src})` },
|
|
52
|
+
"aria-label": image.alt
|
|
53
|
+
}
|
|
54
|
+
) : /* @__PURE__ */ jsx(
|
|
55
|
+
"div",
|
|
56
|
+
{
|
|
57
|
+
className: clsx(
|
|
58
|
+
billboard_img,
|
|
59
|
+
rate_container,
|
|
60
|
+
"flex_row middle center"
|
|
61
|
+
),
|
|
62
|
+
role: "presentation",
|
|
63
|
+
children: /* @__PURE__ */ jsxs("div", { className: clsx(rate_pad, "text_center", "flex", "flex_col"), children: [
|
|
64
|
+
/* @__PURE__ */ jsx("span", { className: up_to, children: textImageLineOneSmall }),
|
|
65
|
+
/* @__PURE__ */ jsx("span", { className: rate_billboard, children: textImageLineTwoBig }),
|
|
66
|
+
/* @__PURE__ */ jsx("span", { className: clsx(apy_billboard, "push_up"), children: textImageLineThreeSmall })
|
|
67
|
+
] })
|
|
50
68
|
}
|
|
51
69
|
) }),
|
|
52
70
|
/* @__PURE__ */ jsxs("div", { className: body, children: [
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { ImageBillboardSet } from "./ImageBillboard.js";
|
|
2
|
-
import { billboard, billboard_body, billboard_container, billboard_ctas, billboard_header_section, billboard_image, billboard_img, body, header, imagePlacement, mh_330, section_text_ImageBillboard, single_container, supertag, three_inline, two_inline } from "./ImageBillboard.css.js";
|
|
2
|
+
import { apy_billboard, billboard, billboard_body, billboard_container, billboard_ctas, billboard_header_section, billboard_image, billboard_img, body, header, imagePlacement, image_background, mh_330, rate_billboard, rate_container, rate_pad, section_text_ImageBillboard, single_container, supertag, three_inline, two_inline, up_to } from "./ImageBillboard.css.js";
|
|
3
3
|
import { ImageBillboard } from "./ImageBillboardSet.js";
|
|
4
4
|
export {
|
|
5
5
|
ImageBillboard,
|
|
6
6
|
ImageBillboardSet,
|
|
7
|
+
apy_billboard,
|
|
7
8
|
billboard,
|
|
8
9
|
billboard_body,
|
|
9
10
|
billboard_container,
|
|
@@ -14,10 +15,15 @@ export {
|
|
|
14
15
|
body,
|
|
15
16
|
header,
|
|
16
17
|
imagePlacement,
|
|
18
|
+
image_background,
|
|
17
19
|
mh_330,
|
|
20
|
+
rate_billboard,
|
|
21
|
+
rate_container,
|
|
22
|
+
rate_pad,
|
|
18
23
|
section_text_ImageBillboard,
|
|
19
24
|
single_container,
|
|
20
25
|
supertag,
|
|
21
26
|
three_inline,
|
|
22
|
-
two_inline
|
|
27
|
+
two_inline,
|
|
28
|
+
up_to
|
|
23
29
|
};
|
|
@@ -15,6 +15,16 @@ export declare const icon: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
|
15
15
|
};
|
|
16
16
|
}>;
|
|
17
17
|
export declare const labelClassName: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
18
|
+
variant: {
|
|
19
|
+
primary: {};
|
|
20
|
+
secondary: {};
|
|
21
|
+
tertiary: {
|
|
22
|
+
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
23
|
+
};
|
|
24
|
+
quaternary: {
|
|
25
|
+
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
18
28
|
error: {
|
|
19
29
|
true: {
|
|
20
30
|
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
package/dist/Input/Input.css.js
CHANGED
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
/* empty css */
|
|
4
4
|
import { createRuntimeFn } from "@vanilla-extract/recipes/createRuntimeFn";
|
|
5
5
|
var icon = createRuntimeFn({ defaultClassName: "_18du0la0", variantClassNames: { size: { small: "_18du0la1", medium: "_18du0la2", large: "_18du0la3" } }, defaultVariants: {}, compoundVariants: [] });
|
|
6
|
-
var labelClassName = createRuntimeFn({ defaultClassName: "_18du0la4", variantClassNames: { error: { true: "
|
|
7
|
-
var iconContainerBase = "
|
|
8
|
-
var iconContainer = { left: "
|
|
9
|
-
var container = createRuntimeFn({ defaultClassName: "
|
|
10
|
-
var input = createRuntimeFn({ defaultClassName: "
|
|
11
|
-
var wrapper = createRuntimeFn({ defaultClassName: "
|
|
12
|
-
var helperText = createRuntimeFn({ defaultClassName: "
|
|
6
|
+
var labelClassName = createRuntimeFn({ defaultClassName: "_18du0la4", variantClassNames: { variant: { primary: "_18du0la5", secondary: "_18du0la6", tertiary: "_18du0la7", quaternary: "_18du0la8" }, error: { true: "_18du0la9" }, disabled: { true: "_18du0laa" } }, defaultVariants: {}, compoundVariants: [] });
|
|
7
|
+
var iconContainerBase = "_18du0lab";
|
|
8
|
+
var iconContainer = { left: "_18du0lac _18du0lab", right: "_18du0lad _18du0lab" };
|
|
9
|
+
var container = createRuntimeFn({ defaultClassName: "_18du0lae", variantClassNames: { size: { small: "_18du0laf", medium: "_18du0lag", large: "_18du0lah" }, error: { true: "_18du0lai" }, disabled: { true: "_18du0laj" } }, defaultVariants: {}, compoundVariants: [] });
|
|
10
|
+
var input = createRuntimeFn({ defaultClassName: "_18du0lak", variantClassNames: { size: { small: "_18du0lal", medium: "_18du0lam", large: "_18du0lan" }, error: { true: "_18du0lao" }, disabled: { true: "_18du0lap" } }, defaultVariants: {}, compoundVariants: [] });
|
|
11
|
+
var wrapper = createRuntimeFn({ defaultClassName: "_18du0laq", variantClassNames: {}, defaultVariants: {}, compoundVariants: [] });
|
|
12
|
+
var helperText = createRuntimeFn({ defaultClassName: "_18du0lar", variantClassNames: { disabled: { true: "_18du0las" }, error: { true: "_18du0lat" } }, defaultVariants: {}, compoundVariants: [] });
|
|
13
13
|
export {
|
|
14
14
|
container,
|
|
15
15
|
helperText,
|
package/dist/Input/index.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { QuaternaryTypes } from '../utils';
|
|
1
2
|
import { InputHTMLAttributes, ReactNode } from "react";
|
|
2
3
|
export interface InputProps extends InputHTMLAttributes<HTMLInputElement> {
|
|
3
4
|
label?: ReactNode;
|
|
@@ -7,5 +8,6 @@ export interface InputProps extends InputHTMLAttributes<HTMLInputElement> {
|
|
|
7
8
|
error?: boolean | undefined;
|
|
8
9
|
skeleton?: boolean | undefined;
|
|
9
10
|
helperText?: ReactNode;
|
|
11
|
+
variant?: QuaternaryTypes;
|
|
10
12
|
}
|
|
11
13
|
export declare const Input: import("react").ForwardRefExoticComponent<InputProps & import("react").RefAttributes<HTMLInputElement>>;
|
package/dist/Input/index.js
CHANGED
|
@@ -13,10 +13,18 @@ const Input = forwardRef((props, ref) => {
|
|
|
13
13
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
14
14
|
skeleton = false,
|
|
15
15
|
helperText: helper,
|
|
16
|
+
variant,
|
|
16
17
|
...rest
|
|
17
18
|
} = props;
|
|
18
19
|
return /* @__PURE__ */ jsxs("div", { className: wrapper(), children: [
|
|
19
|
-
label && /* @__PURE__ */ jsx(
|
|
20
|
+
label && /* @__PURE__ */ jsx(
|
|
21
|
+
"label",
|
|
22
|
+
{
|
|
23
|
+
className: labelClassName({ error, variant }),
|
|
24
|
+
htmlFor: props.name,
|
|
25
|
+
children: label
|
|
26
|
+
}
|
|
27
|
+
),
|
|
20
28
|
/* @__PURE__ */ jsxs("div", { className: container({ size: sizes, error }), children: [
|
|
21
29
|
iconLeft && /* @__PURE__ */ jsx("span", { className: iconContainer["left"], children: /* @__PURE__ */ jsx("div", { className: icon({ size: sizes }), children: iconLeft }) }),
|
|
22
30
|
/* @__PURE__ */ jsx(
|
package/dist/Modal/Modal.js
CHANGED
|
@@ -33,9 +33,7 @@ import "react-hook-form";
|
|
|
33
33
|
import "../ImageBillboard/ImageBillboard.css.js";
|
|
34
34
|
import "./contextApi/store.js";
|
|
35
35
|
/* empty css */
|
|
36
|
-
import "../NavigationMenu/AxosAdvisor/NavBar.module.js";
|
|
37
36
|
/* empty css */
|
|
38
|
-
import "../NavigationMenu/AxosFiduciary/NavBar.module.js";
|
|
39
37
|
/* empty css */
|
|
40
38
|
import "../Table/Table.css.js";
|
|
41
39
|
/* empty css */
|