@axos-web-dev/shared-components 0.0.13 → 0.0.15
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/Accordion/Accordion.css.d.ts +4 -3
- package/dist/Accordion/Accordion.d.ts +2 -1
- package/dist/Accordion/index.d.ts +2 -2
- package/dist/AlertBanner/AlertBanner.css.d.ts +1 -1
- package/dist/AlertBanner/AlertBanner.interface.d.ts +2 -1
- package/dist/AlertBanner/index.d.ts +3 -2
- package/dist/ApyCalculator/index.d.ts +2 -1
- package/dist/BulletItem/BulletItem.d.ts +2 -1
- package/dist/BulletItem/index.d.ts +1 -1
- package/dist/Button/Button.css.d.ts +3 -2
- package/dist/Button/Button.d.ts +4 -3
- package/dist/Button/Button.interface.d.ts +2 -1
- package/dist/Button/GoBackButton.d.ts +3 -2
- package/dist/Button/index.d.ts +3 -3
- package/dist/CallToActionBar/CallToActionBar.interface.d.ts +3 -1
- package/dist/CallToActionBar/index.d.ts +3 -2
- package/dist/CallToActionBar/index.js +3 -1
- package/dist/Carousel/Carousel.css.d.ts +6 -5
- package/dist/Carousel/index.d.ts +3 -2
- package/dist/Carousel/store.d.ts +1 -1
- package/dist/Chevron/Chevron.css.d.ts +1 -1
- package/dist/Chevron/Chevron.interface.d.ts +2 -1
- package/dist/Chevron/index.d.ts +3 -2
- package/dist/CollectInformationAlert/index.d.ts +2 -1
- package/dist/ContentBanner/ContentBanner.css.d.ts +2 -2
- package/dist/ContentBanner/ContentBanner.interface.d.ts +2 -1
- package/dist/ContentBanner/index.d.ts +3 -2
- package/dist/DownloadTile/DownloadTile.interface.d.ts +2 -1
- package/dist/DownloadTile/index.d.ts +3 -2
- package/dist/FaqAccordion/index.d.ts +3 -2
- package/dist/FaqAccordion/index.js +5 -0
- package/dist/FooterDisclosure/FooterDisclosure.css.d.ts +1 -1
- package/dist/FooterDisclosure/FooterDisclosure.d.ts +2 -1
- package/dist/FooterDisclosure/index.d.ts +2 -2
- package/dist/Forms/Forms.css.d.ts +4 -4
- package/dist/Forms/RenderForm.d.ts +3 -2
- package/dist/Forms/SalesforceFieldsForm.d.ts +1 -1
- package/dist/Forms/ScheduleCall.d.ts +3 -2
- package/dist/Forms/ScheduleCall.js +90 -77
- package/dist/Forms/index.d.ts +4 -4
- package/dist/HeroBanner/HeroBanner.css.d.ts +3 -3
- package/dist/HeroBanner/HeroBanner.interface.d.ts +2 -1
- package/dist/HeroBanner/index.d.ts +2 -1
- package/dist/HeroBanner/index.js +3 -4
- package/dist/Hyperlink/Hyperlink.interface.d.ts +2 -1
- package/dist/Hyperlink/index.d.ts +3 -2
- package/dist/IconBillboard/IconBillboard.css.d.ts +6 -5
- package/dist/IconBillboard/IconBillboard.d.ts +4 -3
- package/dist/IconBillboard/IconBillboard.interface.d.ts +4 -3
- package/dist/IconBillboard/IconBillboardSet.d.ts +2 -1
- package/dist/IconBillboard/index.d.ts +4 -4
- package/dist/ImageBillboard/ImageBillboard.css.d.ts +12 -4
- package/dist/ImageBillboard/ImageBillboard.css.js +18 -1
- package/dist/ImageBillboard/ImageBillboard.d.ts +2 -1
- package/dist/ImageBillboard/ImageBillboard.interface.d.ts +11 -7
- package/dist/ImageBillboard/ImageBillboard.js +2 -10
- package/dist/ImageBillboard/ImageBillboardSet.d.ts +3 -2
- package/dist/ImageBillboard/ImageBillboardSet.js +30 -5
- package/dist/ImageBillboard/index.d.ts +4 -4
- package/dist/ImageBillboard/index.js +10 -2
- package/dist/Input/Input.css.d.ts +16 -6
- package/dist/Input/Input.css.js +7 -7
- package/dist/Input/index.d.ts +5 -2
- package/dist/Input/index.js +9 -1
- package/dist/Inputs/Input.css.d.ts +6 -6
- package/dist/MainHTML/index.d.ts +2 -1
- package/dist/Modal/Modal.d.ts +3 -2
- package/dist/Modal/contextApi/store.d.ts +3 -2
- package/dist/Modal/index.d.ts +2 -2
- package/dist/NavigationMenu/AxosAdvisor/SubNavBar.d.ts +1 -1
- package/dist/NavigationMenu/AxosAdvisor/SubNavBar.js +138 -97
- package/dist/NavigationMenu/index.d.ts +2 -2
- package/dist/SetContainer/SetContainer.d.ts +3 -2
- package/dist/SetContainer/index.d.ts +2 -2
- package/dist/Table/Table.css.d.ts +4 -4
- package/dist/Table/Table.d.ts +4 -3
- package/dist/Table/Table.interface.d.ts +2 -1
- package/dist/Table/index.d.ts +2 -2
- package/dist/TextBlock/TextBlock.d.ts +2 -1
- package/dist/TextBlock/index.d.ts +2 -2
- package/dist/Typography/Typography.css.d.ts +4 -3
- package/dist/Typography/Typography.d.ts +3 -2
- package/dist/Typography/index.d.ts +1 -1
- package/dist/VideoTile/VideoTile.d.ts +3 -2
- package/dist/VideoTile/VideoTile.js +8 -8
- package/dist/VideoTile/index.d.ts +4 -4
- package/dist/VideoWrapper/index.d.ts +4 -2
- package/dist/VideoWrapper/index.js +27 -18
- package/dist/assets/HeroBanner/HeroBanner.css +1 -3
- package/dist/assets/IconBillboard/IconBillboard.css +1 -1
- package/dist/assets/ImageBillboard/ImageBillboard.css +55 -11
- package/dist/assets/Input/Input.css +39 -33
- package/dist/assets/VideoTile/VideoTile.css +1 -12
- package/dist/assets/globals.css +1 -0
- package/dist/icons/ArrowIcon/ArrowIcon.css.d.ts +1 -1
- package/dist/icons/ArrowIcon/index.d.ts +2 -1
- package/dist/icons/AxosX/Blue.d.ts +4 -0
- package/dist/icons/AxosX/Blue.js +32 -0
- package/dist/icons/AxosX/index.d.ts +2 -1
- package/dist/icons/CheckCircle.d.ts +2 -1
- package/dist/icons/CheckCircleLight.d.ts +2 -1
- package/dist/icons/CheckIcon/CheckIcon.css.d.ts +3 -2
- package/dist/icons/CheckIcon/index.d.ts +2 -1
- package/dist/icons/ChevronDown.d.ts +2 -1
- package/dist/icons/ChevronUp.d.ts +2 -1
- package/dist/icons/CloseIcon/index.d.ts +2 -1
- package/dist/icons/DownloadIcon/index.d.ts +2 -1
- package/dist/icons/EqualHousingLender.d.ts +2 -1
- package/dist/icons/LockIcon/index.d.ts +2 -1
- package/dist/icons/MemberFdicLogo.d.ts +2 -1
- package/dist/icons/QuoteIconGrey.d.ts +2 -1
- package/dist/icons/QuoteIconWhite.d.ts +2 -1
- package/dist/icons/QuoteIconYellow.d.ts +2 -1
- package/dist/icons/WarningIcon/index.d.ts +2 -1
- package/dist/icons/index.d.ts +17 -16
- package/dist/icons/index.js +28 -26
- package/dist/index.css.d.ts +1 -0
- package/dist/main.d.ts +2 -1
- package/dist/main.js +43 -1
- package/dist/themes/index.d.ts +2 -2
- package/dist/utils/ctaOptions.d.ts +1 -0
- package/dist/utils/getVariant.d.ts +2 -1
- package/dist/utils/index.d.ts +5 -5
- package/package.json +106 -106
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const hero_banner: import(
|
|
1
|
+
export declare const hero_banner: import('@vanilla-extract/recipes').RuntimeFn<{
|
|
2
2
|
variant: {
|
|
3
3
|
primary: {
|
|
4
4
|
background: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
@@ -23,7 +23,7 @@ export declare const reversed: string;
|
|
|
23
23
|
export declare const hero_text: string;
|
|
24
24
|
export declare const hero_img: string;
|
|
25
25
|
export declare const logout: string;
|
|
26
|
-
export declare const supertag: import(
|
|
26
|
+
export declare const supertag: import('@vanilla-extract/recipes').RuntimeFn<{
|
|
27
27
|
variant: {
|
|
28
28
|
primary: {
|
|
29
29
|
background: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
@@ -43,7 +43,7 @@ export declare const supertag: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
|
43
43
|
};
|
|
44
44
|
};
|
|
45
45
|
}>;
|
|
46
|
-
export declare const headline_text: import(
|
|
46
|
+
export declare const headline_text: import('@vanilla-extract/recipes').RuntimeFn<{
|
|
47
47
|
variant: {
|
|
48
48
|
primary: {
|
|
49
49
|
background: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
import { HeroBannerInterface } from
|
|
1
|
+
import { HeroBannerInterface } from './HeroBanner.interface';
|
|
2
|
+
|
|
2
3
|
export declare const HeroBanner: ({ id, eyebrow, headline, bodyCopy, callToActionRow, bannerType, image, imagePlacement, variant, }: HeroBannerInterface) => import("react/jsx-runtime").JSX.Element;
|
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
|
({
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { RecipeVariants } from
|
|
2
|
-
|
|
1
|
+
import { RecipeVariants } from '@vanilla-extract/recipes';
|
|
2
|
+
|
|
3
|
+
export declare const containerIconBillboard: import('@vanilla-extract/recipes').RuntimeFn<{
|
|
3
4
|
variant: {
|
|
4
5
|
primary: {
|
|
5
6
|
background: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
@@ -17,7 +18,7 @@ export declare const containerIconBillboard: import("@vanilla-extract/recipes").
|
|
|
17
18
|
};
|
|
18
19
|
};
|
|
19
20
|
}>;
|
|
20
|
-
export declare const layout: import(
|
|
21
|
+
export declare const layout: import('@vanilla-extract/recipes').RuntimeFn<{
|
|
21
22
|
side: {
|
|
22
23
|
true: {
|
|
23
24
|
flexDirection: "row";
|
|
@@ -26,7 +27,7 @@ export declare const layout: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
|
26
27
|
}>;
|
|
27
28
|
export declare const billboard_icon: string;
|
|
28
29
|
export declare const headerIconBillboard: string;
|
|
29
|
-
export declare const title: import(
|
|
30
|
+
export declare const title: import('@vanilla-extract/recipes').RuntimeFn<{
|
|
30
31
|
variant: {
|
|
31
32
|
primary: {
|
|
32
33
|
selectors: {
|
|
@@ -71,7 +72,7 @@ export declare const list: string;
|
|
|
71
72
|
export declare const listItem: string;
|
|
72
73
|
export declare const buttons: string;
|
|
73
74
|
export declare const section_text: string;
|
|
74
|
-
export declare const header_section: import(
|
|
75
|
+
export declare const header_section: import('@vanilla-extract/recipes').RuntimeFn<{
|
|
75
76
|
variant: {
|
|
76
77
|
primary: {
|
|
77
78
|
background: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import { ContainerVariants, LayoutVariants } from './IconBillboard.css';
|
|
2
|
+
import { ImageInterface } from '.';
|
|
3
|
+
import { ReactNode } from 'react';
|
|
1
4
|
import { ChevronProps } from '../Chevron/Chevron.interface';
|
|
2
|
-
|
|
3
|
-
import { ImageInterface } from ".";
|
|
4
|
-
import { ContainerVariants, LayoutVariants } from "./IconBillboard.css";
|
|
5
|
+
|
|
5
6
|
export interface FocusProps {
|
|
6
7
|
icon?: ImageInterface;
|
|
7
8
|
headline?: ReactNode | undefined;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { ChevronProps } from '../Chevron/Chevron.interface';
|
|
1
|
+
import { ReactNode } from 'react';
|
|
3
2
|
import { QuaternaryTypes } from '../utils/variant.types';
|
|
4
|
-
import {
|
|
3
|
+
import { ChevronProps } from '../Chevron/Chevron.interface';
|
|
4
|
+
import { BulletItemProps } from '../BulletItem';
|
|
5
|
+
|
|
5
6
|
export interface IconBillboardSet {
|
|
6
7
|
id: string;
|
|
7
8
|
headline: ReactNode | string;
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { Props } from './IconBillboard.interface';
|
|
2
|
+
|
|
2
3
|
export declare const IconBillboardSet: ({ variant, side, iconBillboards, headline, bodyCopy, additionalDetails, }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
3
|
-
export type { IconBillboardSet, ImageInterface, } from
|
|
4
|
-
export * from
|
|
1
|
+
export * from './IconBillboard';
|
|
2
|
+
export * from './IconBillboard.css';
|
|
3
|
+
export type { IconBillboardSet, ImageInterface, } from './IconBillboard.interface';
|
|
4
|
+
export * from './IconBillboardSet';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const billboard: import(
|
|
1
|
+
export declare const billboard: import('@vanilla-extract/recipes').RuntimeFn<{
|
|
2
2
|
variant: {
|
|
3
3
|
primary: {
|
|
4
4
|
background: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
@@ -18,7 +18,7 @@ export declare const billboard: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
|
18
18
|
};
|
|
19
19
|
};
|
|
20
20
|
}>;
|
|
21
|
-
export declare const imagePlacement: import(
|
|
21
|
+
export declare const imagePlacement: import('@vanilla-extract/recipes').RuntimeFn<{
|
|
22
22
|
position: {
|
|
23
23
|
left: {
|
|
24
24
|
selectors: {
|
|
@@ -37,7 +37,7 @@ export declare const imagePlacement: import("@vanilla-extract/recipes").RuntimeF
|
|
|
37
37
|
};
|
|
38
38
|
};
|
|
39
39
|
}>;
|
|
40
|
-
export declare const supertag: import(
|
|
40
|
+
export declare const supertag: import('@vanilla-extract/recipes').RuntimeFn<{
|
|
41
41
|
variant: {
|
|
42
42
|
primary: {
|
|
43
43
|
selectors: {
|
|
@@ -77,7 +77,7 @@ export declare const supertag: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
|
77
77
|
};
|
|
78
78
|
};
|
|
79
79
|
}>;
|
|
80
|
-
export declare const header: import(
|
|
80
|
+
export declare const header: import('@vanilla-extract/recipes').RuntimeFn<{
|
|
81
81
|
variant: {
|
|
82
82
|
primary: {
|
|
83
83
|
selectors: {
|
|
@@ -127,3 +127,11 @@ export declare const single_container: string;
|
|
|
127
127
|
export declare const two_inline: string;
|
|
128
128
|
export declare const three_inline: string;
|
|
129
129
|
export declare const section_text_ImageBillboard: string;
|
|
130
|
+
export declare const billboard_image: string;
|
|
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 */
|
|
@@ -17,19 +18,35 @@ var single_container = "_1m7m2ao";
|
|
|
17
18
|
var two_inline = "_1m7m2ap";
|
|
18
19
|
var three_inline = "_1m7m2aq";
|
|
19
20
|
var section_text_ImageBillboard = "_1m7m2ar";
|
|
21
|
+
var billboard_image = "_1m7m2as";
|
|
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";
|
|
20
29
|
export {
|
|
30
|
+
apy_billboard,
|
|
21
31
|
billboard,
|
|
22
32
|
billboard_body,
|
|
23
33
|
billboard_container,
|
|
24
34
|
billboard_ctas,
|
|
25
35
|
billboard_header_section,
|
|
36
|
+
billboard_image,
|
|
26
37
|
billboard_img,
|
|
27
38
|
body,
|
|
28
39
|
header,
|
|
29
40
|
imagePlacement,
|
|
41
|
+
image_background,
|
|
42
|
+
mh_330,
|
|
43
|
+
rate_billboard,
|
|
44
|
+
rate_container,
|
|
45
|
+
rate_pad,
|
|
30
46
|
section_text_ImageBillboard,
|
|
31
47
|
single_container,
|
|
32
48
|
supertag,
|
|
33
49
|
three_inline,
|
|
34
|
-
two_inline
|
|
50
|
+
two_inline,
|
|
51
|
+
up_to
|
|
35
52
|
};
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { Props } from './ImageBillboard.interface';
|
|
2
|
+
|
|
2
3
|
export declare const ImageBillboardSet: ({ id, variant, headline, bodyCopy, additionalDetails, imageBillboards, }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { ChevronProps } from '../Chevron/Chevron.interface';
|
|
3
|
-
import { ImageInterface } from '../IconBillboard';
|
|
1
|
+
import { ReactNode } from 'react';
|
|
4
2
|
import { QuaternaryTypes } from '../utils/variant.types';
|
|
5
|
-
import {
|
|
3
|
+
import { ImageInterface } from '../IconBillboard';
|
|
4
|
+
import { ChevronProps } from '../Chevron/Chevron.interface';
|
|
5
|
+
import { BulletItemProps } from '../BulletItem';
|
|
6
|
+
|
|
6
7
|
export interface ImageBillboardSetProps {
|
|
7
8
|
id: string;
|
|
8
9
|
headline?: string | ReactNode;
|
|
@@ -15,15 +16,18 @@ export interface ImageBillboardSetProps {
|
|
|
15
16
|
}
|
|
16
17
|
export interface ImageBillboardInterface {
|
|
17
18
|
id: string;
|
|
19
|
+
headline: string | ReactNode;
|
|
20
|
+
bodyCopy: string | ReactNode;
|
|
18
21
|
bordered: boolean;
|
|
19
22
|
imagePlacement: "right" | "left";
|
|
20
23
|
className?: string;
|
|
21
24
|
variant: QuaternaryTypes;
|
|
22
25
|
eyebrow: string | ReactNode;
|
|
23
|
-
headline: string | ReactNode;
|
|
24
|
-
bodyCopy: string | ReactNode;
|
|
25
26
|
bullets: BulletItemProps[];
|
|
26
|
-
image
|
|
27
|
+
image?: ImageInterface;
|
|
27
28
|
callToActionRow: ChevronProps[];
|
|
28
29
|
set?: boolean;
|
|
30
|
+
textImageLineOneSmall?: ReactNode | string;
|
|
31
|
+
textImageLineTwoBig?: ReactNode | string;
|
|
32
|
+
textImageLineThreeSmall?: ReactNode | string;
|
|
29
33
|
}
|
|
@@ -5,13 +5,12 @@ import SvgCheckIcon from "../icons/CheckIcon/index.js";
|
|
|
5
5
|
/* empty css */
|
|
6
6
|
/* empty css */
|
|
7
7
|
import { getVariant } from "../utils/getVariant.js";
|
|
8
|
-
import clsx from "clsx";
|
|
9
8
|
import { Button } from "../Button/Button.js";
|
|
10
9
|
import "../Button/Button.css.js";
|
|
11
10
|
import "react";
|
|
12
11
|
import "react-use";
|
|
13
12
|
import { inline_container } from "../SetContainer/SetContainer.css.js";
|
|
14
|
-
import { section_text_ImageBillboard, header, billboard, billboard_container,
|
|
13
|
+
import { section_text_ImageBillboard, header, billboard, billboard_container, body, billboard_body, billboard_header_section, supertag, billboard_ctas } from "./ImageBillboard.css.js";
|
|
15
14
|
const ImageBillboardSet = ({
|
|
16
15
|
id,
|
|
17
16
|
variant,
|
|
@@ -51,14 +50,7 @@ const ImageBillboardSet = ({
|
|
|
51
50
|
${billboard({ variant: billboard_variant })} ${inline ? "" : billboard_container}
|
|
52
51
|
rounded flex ${inline ? "flex_col" : "flex_row"} ${bordered ? "bordered" : ""} ${imagePlacement.toLowerCase() === "left" && !inline ? "reversed" : ""}`,
|
|
53
52
|
children: [
|
|
54
|
-
/* @__PURE__ */ jsx("div", {
|
|
55
|
-
"img",
|
|
56
|
-
{
|
|
57
|
-
src: image == null ? void 0 : image.src,
|
|
58
|
-
className: clsx("img_fluid", billboard_img),
|
|
59
|
-
alt: image.alt
|
|
60
|
-
}
|
|
61
|
-
) }),
|
|
53
|
+
/* @__PURE__ */ jsx("div", { "background-image": image == null ? void 0 : image.src, "aria-label": image == null ? void 0 : image.alt }),
|
|
62
54
|
/* @__PURE__ */ jsxs("div", { className: body, children: [
|
|
63
55
|
/* @__PURE__ */ jsxs("div", { className: billboard_body, children: [
|
|
64
56
|
/* @__PURE__ */ jsxs("div", { className: `${billboard_header_section}`, children: [
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
import { ImageBillboardInterface } from
|
|
2
|
-
|
|
1
|
+
import { ImageBillboardInterface } from './ImageBillboard.interface';
|
|
2
|
+
|
|
3
|
+
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, body, billboard_body, billboard_header_section, supertag, header, billboard_ctas } from "./ImageBillboard.css.js";
|
|
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,7 +44,29 @@ 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(
|
|
47
|
+
/* @__PURE__ */ jsx("div", { className: `${billboard_img} flex`, children: image ? /* @__PURE__ */ jsx(
|
|
48
|
+
"div",
|
|
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
|
+
] })
|
|
68
|
+
}
|
|
69
|
+
) }),
|
|
45
70
|
/* @__PURE__ */ jsxs("div", { className: body, children: [
|
|
46
71
|
/* @__PURE__ */ jsxs("div", { className: billboard_body, children: [
|
|
47
72
|
/* @__PURE__ */ jsxs("div", { className: `${billboard_header_section}`, children: [
|
|
@@ -71,7 +96,7 @@ const ImageBillboard = ({
|
|
|
71
96
|
/* @__PURE__ */ jsx("span", { children: copy })
|
|
72
97
|
] }, id2)) })
|
|
73
98
|
] }),
|
|
74
|
-
callToActionRow && /* @__PURE__ */ jsx(
|
|
99
|
+
callToActionRow.length > 0 && /* @__PURE__ */ jsx(
|
|
75
100
|
"div",
|
|
76
101
|
{
|
|
77
102
|
className: clsx(
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
3
|
-
export type * from
|
|
4
|
-
export * from
|
|
1
|
+
export * from './ImageBillboard';
|
|
2
|
+
export * from './ImageBillboard.css';
|
|
3
|
+
export type * from './ImageBillboard.interface';
|
|
4
|
+
export * from './ImageBillboardSet';
|
|
@@ -1,21 +1,29 @@
|
|
|
1
1
|
import { ImageBillboardSet } from "./ImageBillboard.js";
|
|
2
|
-
import { billboard, billboard_body, billboard_container, billboard_ctas, billboard_header_section, billboard_img, body, header, imagePlacement, 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,
|
|
10
11
|
billboard_ctas,
|
|
11
12
|
billboard_header_section,
|
|
13
|
+
billboard_image,
|
|
12
14
|
billboard_img,
|
|
13
15
|
body,
|
|
14
16
|
header,
|
|
15
17
|
imagePlacement,
|
|
18
|
+
image_background,
|
|
19
|
+
mh_330,
|
|
20
|
+
rate_billboard,
|
|
21
|
+
rate_container,
|
|
22
|
+
rate_pad,
|
|
16
23
|
section_text_ImageBillboard,
|
|
17
24
|
single_container,
|
|
18
25
|
supertag,
|
|
19
26
|
three_inline,
|
|
20
|
-
two_inline
|
|
27
|
+
two_inline,
|
|
28
|
+
up_to
|
|
21
29
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const icon: import(
|
|
1
|
+
export declare const icon: import('@vanilla-extract/recipes').RuntimeFn<{
|
|
2
2
|
size: {
|
|
3
3
|
small: {
|
|
4
4
|
width: number;
|
|
@@ -14,7 +14,17 @@ export declare const icon: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
|
14
14
|
};
|
|
15
15
|
};
|
|
16
16
|
}>;
|
|
17
|
-
export declare const labelClassName: import(
|
|
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})`;
|
|
@@ -29,7 +39,7 @@ export declare const labelClassName: import("@vanilla-extract/recipes").RuntimeF
|
|
|
29
39
|
}>;
|
|
30
40
|
export declare const iconContainerBase: string;
|
|
31
41
|
export declare const iconContainer: Record<"left" | "right", string>;
|
|
32
|
-
export declare const container: import(
|
|
42
|
+
export declare const container: import('@vanilla-extract/recipes').RuntimeFn<{
|
|
33
43
|
size: {
|
|
34
44
|
small: {
|
|
35
45
|
paddingTop: number;
|
|
@@ -63,7 +73,7 @@ export declare const container: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
|
63
73
|
};
|
|
64
74
|
};
|
|
65
75
|
}>;
|
|
66
|
-
export declare const input: import(
|
|
76
|
+
export declare const input: import('@vanilla-extract/recipes').RuntimeFn<{
|
|
67
77
|
size: {
|
|
68
78
|
small: {
|
|
69
79
|
fontSize: number;
|
|
@@ -119,12 +129,12 @@ export declare const input: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
|
119
129
|
};
|
|
120
130
|
};
|
|
121
131
|
}>;
|
|
122
|
-
export declare const wrapper: import(
|
|
132
|
+
export declare const wrapper: import('@vanilla-extract/recipes').RuntimeFn<{
|
|
123
133
|
[x: string]: {
|
|
124
134
|
[x: string]: string | import("@vanilla-extract/css").ComplexStyleRule;
|
|
125
135
|
};
|
|
126
136
|
}>;
|
|
127
|
-
export declare const helperText: import(
|
|
137
|
+
export declare const helperText: import('@vanilla-extract/recipes').RuntimeFn<{
|
|
128
138
|
disabled: {
|
|
129
139
|
true: {
|
|
130
140
|
color: "#5E6A74";
|
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,4 +1,6 @@
|
|
|
1
|
-
import { InputHTMLAttributes, ReactNode } from
|
|
1
|
+
import { InputHTMLAttributes, ReactNode } from 'react';
|
|
2
|
+
import { QuaternaryTypes } from '../utils';
|
|
3
|
+
|
|
2
4
|
export interface InputProps extends InputHTMLAttributes<HTMLInputElement> {
|
|
3
5
|
label?: ReactNode;
|
|
4
6
|
iconLeft?: ReactNode;
|
|
@@ -7,5 +9,6 @@ export interface InputProps extends InputHTMLAttributes<HTMLInputElement> {
|
|
|
7
9
|
error?: boolean | undefined;
|
|
8
10
|
skeleton?: boolean | undefined;
|
|
9
11
|
helperText?: ReactNode;
|
|
12
|
+
variant?: QuaternaryTypes;
|
|
10
13
|
}
|
|
11
|
-
export declare const Input: import(
|
|
14
|
+
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(
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const icon: import(
|
|
1
|
+
export declare const icon: import('@vanilla-extract/recipes').RuntimeFn<{
|
|
2
2
|
size: {
|
|
3
3
|
small: {
|
|
4
4
|
width: number;
|
|
@@ -14,7 +14,7 @@ export declare const icon: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
|
14
14
|
};
|
|
15
15
|
};
|
|
16
16
|
}>;
|
|
17
|
-
export declare const labelClassName: import(
|
|
17
|
+
export declare const labelClassName: import('@vanilla-extract/recipes').RuntimeFn<{
|
|
18
18
|
error: {
|
|
19
19
|
true: {
|
|
20
20
|
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
@@ -29,7 +29,7 @@ export declare const labelClassName: import("@vanilla-extract/recipes").RuntimeF
|
|
|
29
29
|
}>;
|
|
30
30
|
export declare const iconContainerBase: string;
|
|
31
31
|
export declare const iconContainer: Record<"left" | "right", string>;
|
|
32
|
-
export declare const container: import(
|
|
32
|
+
export declare const container: import('@vanilla-extract/recipes').RuntimeFn<{
|
|
33
33
|
size: {
|
|
34
34
|
small: {
|
|
35
35
|
paddingTop: number;
|
|
@@ -63,7 +63,7 @@ export declare const container: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
|
63
63
|
};
|
|
64
64
|
};
|
|
65
65
|
}>;
|
|
66
|
-
export declare const input: import(
|
|
66
|
+
export declare const input: import('@vanilla-extract/recipes').RuntimeFn<{
|
|
67
67
|
size: {
|
|
68
68
|
small: {
|
|
69
69
|
fontSize: number;
|
|
@@ -119,12 +119,12 @@ export declare const input: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
|
119
119
|
};
|
|
120
120
|
};
|
|
121
121
|
}>;
|
|
122
|
-
export declare const wrapper: import(
|
|
122
|
+
export declare const wrapper: import('@vanilla-extract/recipes').RuntimeFn<{
|
|
123
123
|
[x: string]: {
|
|
124
124
|
[x: string]: string | import("@vanilla-extract/css").ComplexStyleRule;
|
|
125
125
|
};
|
|
126
126
|
}>;
|
|
127
|
-
export declare const helperText: import(
|
|
127
|
+
export declare const helperText: import('@vanilla-extract/recipes').RuntimeFn<{
|
|
128
128
|
disabled: {
|
|
129
129
|
true: {
|
|
130
130
|
color: "#5E6A74";
|
package/dist/MainHTML/index.d.ts
CHANGED
package/dist/Modal/Modal.d.ts
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { Dispatch, PropsWithChildren, SetStateAction } from
|
|
1
|
+
import { Dispatch, PropsWithChildren, SetStateAction } from 'react';
|
|
2
|
+
|
|
2
3
|
export interface ContextProps {
|
|
3
4
|
targetLinkUrl: string;
|
|
4
5
|
setTargetLinkUrl: Dispatch<SetStateAction<string>>;
|
|
5
6
|
openModal: boolean;
|
|
6
7
|
setOpenModal: Dispatch<SetStateAction<boolean>>;
|
|
7
8
|
}
|
|
8
|
-
export declare const GlobalContext: import(
|
|
9
|
+
export declare const GlobalContext: import('react').Context<ContextProps>;
|
|
9
10
|
export declare const GlobalContextProvider: ({ children }: PropsWithChildren) => import("react/jsx-runtime").JSX.Element;
|
|
10
11
|
export declare const useGlobalContext: () => ContextProps;
|