@axos-web-dev/shared-components 0.0.17 → 0.0.19
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/Accordion.js +1 -0
- 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/AlertBanner/index.js +1 -0
- package/dist/ApyCalculator/index.d.ts +2 -1
- package/dist/ApyCalculator/index.js +3 -17
- package/dist/BulletItem/BulletItem.d.ts +2 -1
- package/dist/BulletItem/BulletItem.js +1 -0
- package/dist/BulletItem/index.d.ts +1 -1
- package/dist/Button/Button.css.d.ts +13 -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 +2 -1
- package/dist/CallToActionBar/index.d.ts +3 -2
- package/dist/Carousel/Carousel.css.d.ts +6 -5
- package/dist/Carousel/index.d.ts +3 -2
- package/dist/Carousel/index.js +2 -1
- 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/Chevron/index.js +3 -3
- package/dist/CollectInformationAlert/index.d.ts +2 -1
- package/dist/CollectInformationAlert/index.js +1 -0
- 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/ContentBanner/index.js +1 -1
- package/dist/DownloadTile/DownloadTile.interface.d.ts +2 -1
- package/dist/DownloadTile/index.d.ts +3 -2
- package/dist/DownloadTile/index.js +1 -0
- package/dist/FaqAccordion/index.d.ts +3 -2
- package/dist/FaqAccordion/index.js +1 -0
- package/dist/FooterDisclosure/FooterDisclosure.css.d.ts +1 -1
- package/dist/FooterDisclosure/FooterDisclosure.d.ts +2 -1
- package/dist/FooterDisclosure/FooterDisclosure.js +16 -2
- 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 +21 -8
- package/dist/Forms/index.d.ts +4 -4
- package/dist/HeroBanner/HeroBanner.css.d.ts +5 -4
- package/dist/HeroBanner/HeroBanner.css.js +11 -9
- package/dist/HeroBanner/HeroBanner.interface.d.ts +2 -1
- package/dist/HeroBanner/index.d.ts +2 -1
- package/dist/HeroBanner/index.js +3 -3
- package/dist/Hyperlink/Hyperlink.interface.d.ts +2 -1
- package/dist/Hyperlink/index.d.ts +3 -2
- package/dist/Hyperlink/index.js +4 -3
- 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/IconBillboard.js +1 -1
- package/dist/IconBillboard/IconBillboardSet.d.ts +2 -1
- package/dist/IconBillboard/index.d.ts +4 -4
- package/dist/ImageBillboard/ImageBillboard.css.d.ts +4 -4
- package/dist/ImageBillboard/ImageBillboard.d.ts +2 -1
- package/dist/ImageBillboard/ImageBillboard.interface.d.ts +5 -4
- package/dist/ImageBillboard/ImageBillboard.js +1 -0
- package/dist/ImageBillboard/ImageBillboardSet.d.ts +2 -1
- package/dist/ImageBillboard/ImageBillboardSet.js +1 -0
- package/dist/ImageBillboard/index.d.ts +4 -4
- package/dist/Input/Input.css.d.ts +6 -6
- package/dist/Input/Input.css.js +2 -2
- package/dist/Input/Input.d.ts +14 -0
- package/dist/Input/Input.js +45 -0
- package/dist/Input/InputPhone.d.ts +3 -0
- package/dist/Input/InputPhone.js +24 -0
- package/dist/Input/index.d.ts +3 -13
- package/dist/Input/index.js +13 -43
- package/dist/Inputs/Input.css.d.ts +6 -6
- package/dist/MainHTML/index.d.ts +2 -1
- package/dist/MainHTML/index.js +8 -1
- package/dist/Modal/Modal.d.ts +3 -2
- package/dist/Modal/Modal.js +4 -3
- package/dist/Modal/contextApi/store.d.ts +3 -2
- package/dist/Modal/contextApi/store.js +11 -16
- package/dist/Modal/index.d.ts +2 -2
- package/dist/NavigationMenu/AxosAdvisor/NavBar.module.js +53 -53
- package/dist/NavigationMenu/AxosAdvisor/SubNavBar.d.ts +1 -1
- package/dist/NavigationMenu/AxosAdvisor/SubNavBar.js +138 -97
- package/dist/NavigationMenu/AxosAdvisor/index.js +13 -19
- package/dist/NavigationMenu/AxosFiduciary/NavBar.module.js +40 -40
- package/dist/NavigationMenu/index.d.ts +2 -2
- package/dist/SetContainer/SetContainer.d.ts +3 -2
- package/dist/SetContainer/SetContainer.js +4 -3
- package/dist/SetContainer/index.d.ts +2 -2
- package/dist/Table/Table.css.d.ts +16 -5
- package/dist/Table/Table.css.js +15 -13
- package/dist/Table/Table.d.ts +9 -8
- package/dist/Table/Table.interface.d.ts +3 -1
- package/dist/Table/Table.js +37 -19
- package/dist/Table/index.d.ts +2 -2
- package/dist/Table/index.js +2 -1
- 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.css.js +1 -1
- package/dist/VideoTile/VideoTile.d.ts +3 -2
- package/dist/VideoTile/VideoTile.js +4 -3
- package/dist/VideoTile/index.d.ts +4 -4
- package/dist/VideoWrapper/VideoWrapper.css.d.ts +1 -0
- package/dist/VideoWrapper/VideoWrapper.css.js +5 -3
- package/dist/VideoWrapper/index.d.ts +3 -2
- package/dist/VideoWrapper/index.js +23 -17
- package/dist/assets/Button/Button.css +14 -3
- package/dist/assets/FaqAccordion/FaqAccordion.css +12 -3
- package/dist/assets/FooterDisclosure/FooterDisclosure.css +1 -7
- package/dist/assets/Forms/Forms.css +1 -1
- package/dist/assets/HeroBanner/HeroBanner.css +100 -52
- package/dist/assets/ImageBillboard/ImageBillboard.css +6 -1
- package/dist/assets/NavigationMenu/AxosAdvisor/NavBar.css.css +594 -591
- package/dist/assets/NavigationMenu/AxosFiduciary/NavBar.css.css +84 -81
- package/dist/assets/Table/Table.css +89 -54
- package/dist/assets/TextBlock/TextBlock.css +0 -1
- package/dist/assets/VideoTile/VideoTile.css +5 -0
- package/dist/assets/VideoWrapper/VideoWrapper.css +11 -8
- package/dist/assets/globals.css +7 -2
- package/dist/assets/index.css +0 -3
- package/dist/icons/ArrowIcon/ArrowIcon.css.d.ts +1 -1
- package/dist/icons/ArrowIcon/index.d.ts +2 -1
- package/dist/icons/ArrowIcon/index.js +3 -1
- package/dist/icons/AxosX/Blue.d.ts +2 -1
- 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 -17
- package/dist/index.css.d.ts +1 -0
- package/dist/main.d.ts +2 -1
- package/dist/main.js +17 -3
- package/dist/themes/index.d.ts +2 -2
- package/dist/utils/allowedAxosDomains.js +9 -7
- 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 +107 -106
package/dist/Forms/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
3
|
-
export * from
|
|
4
|
-
export * from
|
|
1
|
+
export * from './Forms.css';
|
|
2
|
+
export * from './RenderForm';
|
|
3
|
+
export * from './SalesforceFieldsForm';
|
|
4
|
+
export * from './ScheduleCall';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
export declare const
|
|
1
|
+
export declare const logout: string;
|
|
2
|
+
export declare const hero_banner: import('@vanilla-extract/recipes').RuntimeFn<{
|
|
2
3
|
variant: {
|
|
3
4
|
primary: {
|
|
4
5
|
background: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
@@ -21,9 +22,9 @@ export declare const hero_banner: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
|
21
22
|
export declare const hero_content: string;
|
|
22
23
|
export declare const reversed: string;
|
|
23
24
|
export declare const hero_text: string;
|
|
25
|
+
export declare const hero_wrapper: string;
|
|
24
26
|
export declare const hero_img: string;
|
|
25
|
-
export declare const
|
|
26
|
-
export declare const supertag: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
27
|
+
export declare const supertag: import('@vanilla-extract/recipes').RuntimeFn<{
|
|
27
28
|
variant: {
|
|
28
29
|
primary: {
|
|
29
30
|
background: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
@@ -43,7 +44,7 @@ export declare const supertag: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
|
43
44
|
};
|
|
44
45
|
};
|
|
45
46
|
}>;
|
|
46
|
-
export declare const headline_text: import(
|
|
47
|
+
export declare const headline_text: import('@vanilla-extract/recipes').RuntimeFn<{
|
|
47
48
|
variant: {
|
|
48
49
|
primary: {
|
|
49
50
|
background: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
@@ -3,15 +3,16 @@
|
|
|
3
3
|
/* empty css */
|
|
4
4
|
/* empty css */
|
|
5
5
|
import { createRuntimeFn } from "@vanilla-extract/recipes/createRuntimeFn";
|
|
6
|
-
var
|
|
7
|
-
var
|
|
8
|
-
var
|
|
9
|
-
var
|
|
10
|
-
var
|
|
11
|
-
var
|
|
12
|
-
var
|
|
13
|
-
var
|
|
14
|
-
var
|
|
6
|
+
var logout = "_1ye8k3f0";
|
|
7
|
+
var hero_banner = createRuntimeFn({ defaultClassName: "_1ye8k3f1", variantClassNames: { variant: { primary: "_1ye8k3f2", secondary: "_1ye8k3f3", tertiary: "_1ye8k3f4", quaternary: "_1ye8k3f5" } }, defaultVariants: {}, compoundVariants: [] });
|
|
8
|
+
var hero_content = "_1ye8k3f6";
|
|
9
|
+
var reversed = "_1ye8k3f7";
|
|
10
|
+
var hero_text = "_1ye8k3f8";
|
|
11
|
+
var hero_wrapper = "_1ye8k3f9";
|
|
12
|
+
var hero_img = "_1ye8k3fa";
|
|
13
|
+
var supertag = createRuntimeFn({ defaultClassName: "_1ye8k3fb", variantClassNames: { variant: { primary: "_1ye8k3fc", secondary: "_1ye8k3fd", tertiary: "_1ye8k3fe", quaternary: "_1ye8k3ff" } }, defaultVariants: {}, compoundVariants: [] });
|
|
14
|
+
var headline_text = createRuntimeFn({ defaultClassName: "_1ye8k3fg", variantClassNames: { variant: { primary: "_1ye8k3fh", secondary: "_1ye8k3fi", tertiary: "_1ye8k3fj", quaternary: "_1ye8k3fk" } }, defaultVariants: {}, compoundVariants: [] });
|
|
15
|
+
var hero_btns = "_1ye8k3fl";
|
|
15
16
|
export {
|
|
16
17
|
headline_text,
|
|
17
18
|
hero_banner,
|
|
@@ -19,6 +20,7 @@ export {
|
|
|
19
20
|
hero_content,
|
|
20
21
|
hero_img,
|
|
21
22
|
hero_text,
|
|
23
|
+
hero_wrapper,
|
|
22
24
|
logout,
|
|
23
25
|
reversed,
|
|
24
26
|
supertag
|
|
@@ -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
|
@@ -5,7 +5,7 @@ import "react";
|
|
|
5
5
|
import "react-use";
|
|
6
6
|
import { Chevron } from "../Chevron/index.js";
|
|
7
7
|
import { getVariant } from "../utils/getVariant.js";
|
|
8
|
-
import { logout, hero_banner, hero_content, reversed, hero_text, supertag, headline_text, hero_btns, hero_img } from "./HeroBanner.css.js";
|
|
8
|
+
import { logout, hero_banner, hero_wrapper, hero_content, reversed, hero_text, supertag, headline_text, hero_btns, hero_img } from "./HeroBanner.css.js";
|
|
9
9
|
const HeroBanner = ({
|
|
10
10
|
id,
|
|
11
11
|
eyebrow,
|
|
@@ -21,7 +21,7 @@ const HeroBanner = ({
|
|
|
21
21
|
"section",
|
|
22
22
|
{
|
|
23
23
|
className: `${bannerType !== "Hero" ? logout : ""} ${hero_banner({ variant: getVariant(variant) })}`,
|
|
24
|
-
children: /* @__PURE__ */ jsx("div", { className:
|
|
24
|
+
children: /* @__PURE__ */ jsx("div", { className: `${hero_wrapper} containment`, children: /* @__PURE__ */ jsxs(
|
|
25
25
|
"div",
|
|
26
26
|
{
|
|
27
27
|
className: `${hero_content} ${imagePlacement !== "Right" ? reversed : ""}`,
|
|
@@ -30,7 +30,7 @@ const HeroBanner = ({
|
|
|
30
30
|
eyebrow && /* @__PURE__ */ jsx("h1", { className: supertag({ variant: getVariant(variant) }), children: eyebrow }),
|
|
31
31
|
eyebrow ? /* @__PURE__ */ jsx("h2", { className: headline_text({ variant: getVariant(variant) }), children: headline }) : /* @__PURE__ */ jsx("h1", { className: headline_text({ variant: getVariant(variant) }), children: headline }),
|
|
32
32
|
/* @__PURE__ */ jsx(Fragment, { children: bodyCopy }),
|
|
33
|
-
callToActionRow && /* @__PURE__ */ jsx("div", { className: `${hero_btns}`, children: callToActionRow.map(
|
|
33
|
+
callToActionRow && callToActionRow.length > 0 && /* @__PURE__ */ jsx("div", { className: `${hero_btns}`, children: callToActionRow.map(
|
|
34
34
|
({
|
|
35
35
|
id: id2,
|
|
36
36
|
variant: variant2,
|
package/dist/Hyperlink/index.js
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
3
|
import "../Accordion/Accordion.js";
|
|
4
4
|
import "../Accordion/Accordion.css.js";
|
|
5
|
+
import "../icons/ArrowIcon/ArrowIcon.css.js";
|
|
5
6
|
import "../icons/CheckIcon/CheckIcon.css.js";
|
|
6
7
|
/* empty css */
|
|
7
8
|
/* empty css */
|
|
@@ -30,15 +31,15 @@ import "../FooterDisclosure/FooterDisclosure.css.js";
|
|
|
30
31
|
import "../Forms/Forms.css.js";
|
|
31
32
|
import "../Forms/SalesforceFieldsForm.js";
|
|
32
33
|
import "@hookform/resolvers/zod";
|
|
33
|
-
import "../Input/
|
|
34
|
+
import "../Input/Input.js";
|
|
35
|
+
import "../Input/Input.css.js";
|
|
36
|
+
import "../Input/InputPhone.js";
|
|
34
37
|
import "react-hook-form";
|
|
35
38
|
/* empty css */
|
|
36
39
|
import "../ImageBillboard/ImageBillboard.css.js";
|
|
37
40
|
/* empty css */
|
|
38
41
|
/* empty css */
|
|
39
|
-
import "../NavigationMenu/AxosAdvisor/NavBar.module.js";
|
|
40
42
|
/* empty css */
|
|
41
|
-
import "../NavigationMenu/AxosFiduciary/NavBar.module.js";
|
|
42
43
|
/* empty css */
|
|
43
44
|
import "../Table/Table.css.js";
|
|
44
45
|
/* empty css */
|
|
@@ -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})`;
|
|
@@ -18,7 +19,7 @@ export declare const containerIconBillboard: import("@vanilla-extract/recipes").
|
|
|
18
19
|
};
|
|
19
20
|
};
|
|
20
21
|
}>;
|
|
21
|
-
export declare const layout: import(
|
|
22
|
+
export declare const layout: import('@vanilla-extract/recipes').RuntimeFn<{
|
|
22
23
|
side: {
|
|
23
24
|
true: {
|
|
24
25
|
flexDirection: "row";
|
|
@@ -27,7 +28,7 @@ export declare const layout: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
|
27
28
|
}>;
|
|
28
29
|
export declare const billboard_icon: string;
|
|
29
30
|
export declare const headerIconBillboard: string;
|
|
30
|
-
export declare const title: import(
|
|
31
|
+
export declare const title: import('@vanilla-extract/recipes').RuntimeFn<{
|
|
31
32
|
variant: {
|
|
32
33
|
primary: {
|
|
33
34
|
selectors: {
|
|
@@ -72,7 +73,7 @@ export declare const list: string;
|
|
|
72
73
|
export declare const listItem: string;
|
|
73
74
|
export declare const buttons: string;
|
|
74
75
|
export declare const section_text: string;
|
|
75
|
-
export declare const header_section: import(
|
|
76
|
+
export declare const header_section: import('@vanilla-extract/recipes').RuntimeFn<{
|
|
76
77
|
variant: {
|
|
77
78
|
primary: {
|
|
78
79
|
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;
|
|
@@ -36,7 +36,7 @@ const IconBillboard = (props) => {
|
|
|
36
36
|
/* @__PURE__ */ jsx("div", { className: title({ variant }), children: headline }),
|
|
37
37
|
/* @__PURE__ */ jsx("div", { children: body })
|
|
38
38
|
] }),
|
|
39
|
-
/* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx("ul", { className: list, children: items == null ? void 0 : items.map((item) => /* @__PURE__ */ jsx(BulletItem, { id: item.id, children: item.content }, item.id)) }) })
|
|
39
|
+
items && (items == null ? void 0 : items.length) > 0 && /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx("ul", { className: list, children: items == null ? void 0 : items.map((item) => /* @__PURE__ */ jsx(BulletItem, { id: item.id, children: item.content }, item.id)) }) })
|
|
40
40
|
] })
|
|
41
41
|
] }),
|
|
42
42
|
callToActionRow && /* @__PURE__ */ jsx("div", { className: buttons, children: callToActionRow.map(
|
|
@@ -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: {
|
|
@@ -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;
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
import { ImageBillboardInterface } from
|
|
1
|
+
import { ImageBillboardInterface } from './ImageBillboard.interface';
|
|
2
|
+
|
|
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;
|
|
@@ -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,4 +1,4 @@
|
|
|
1
|
-
export declare const
|
|
1
|
+
export declare const iconInput: 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
|
variant: {
|
|
19
19
|
primary: {};
|
|
20
20
|
secondary: {};
|
|
@@ -39,7 +39,7 @@ export declare const labelClassName: import("@vanilla-extract/recipes").RuntimeF
|
|
|
39
39
|
}>;
|
|
40
40
|
export declare const iconContainerBase: string;
|
|
41
41
|
export declare const iconContainer: Record<"left" | "right", string>;
|
|
42
|
-
export declare const container: import(
|
|
42
|
+
export declare const container: import('@vanilla-extract/recipes').RuntimeFn<{
|
|
43
43
|
size: {
|
|
44
44
|
small: {
|
|
45
45
|
paddingTop: number;
|
|
@@ -73,7 +73,7 @@ export declare const container: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
|
73
73
|
};
|
|
74
74
|
};
|
|
75
75
|
}>;
|
|
76
|
-
export declare const input: import(
|
|
76
|
+
export declare const input: import('@vanilla-extract/recipes').RuntimeFn<{
|
|
77
77
|
size: {
|
|
78
78
|
small: {
|
|
79
79
|
fontSize: number;
|
|
@@ -129,12 +129,12 @@ export declare const input: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
|
129
129
|
};
|
|
130
130
|
};
|
|
131
131
|
}>;
|
|
132
|
-
export declare const wrapper: import(
|
|
132
|
+
export declare const wrapper: import('@vanilla-extract/recipes').RuntimeFn<{
|
|
133
133
|
[x: string]: {
|
|
134
134
|
[x: string]: string | import("@vanilla-extract/css").ComplexStyleRule;
|
|
135
135
|
};
|
|
136
136
|
}>;
|
|
137
|
-
export declare const helperText: import(
|
|
137
|
+
export declare const helperText: import('@vanilla-extract/recipes').RuntimeFn<{
|
|
138
138
|
disabled: {
|
|
139
139
|
true: {
|
|
140
140
|
color: "#5E6A74";
|
package/dist/Input/Input.css.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* empty css */
|
|
3
3
|
/* empty css */
|
|
4
4
|
import { createRuntimeFn } from "@vanilla-extract/recipes/createRuntimeFn";
|
|
5
|
-
var
|
|
5
|
+
var iconInput = createRuntimeFn({ defaultClassName: "_18du0la0", variantClassNames: { size: { small: "_18du0la1", medium: "_18du0la2", large: "_18du0la3" } }, defaultVariants: {}, compoundVariants: [] });
|
|
6
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
7
|
var iconContainerBase = "_18du0lab";
|
|
8
8
|
var iconContainer = { left: "_18du0lac _18du0lab", right: "_18du0lad _18du0lab" };
|
|
@@ -13,9 +13,9 @@ var helperText = createRuntimeFn({ defaultClassName: "_18du0lar", variantClassNa
|
|
|
13
13
|
export {
|
|
14
14
|
container,
|
|
15
15
|
helperText,
|
|
16
|
-
icon,
|
|
17
16
|
iconContainer,
|
|
18
17
|
iconContainerBase,
|
|
18
|
+
iconInput,
|
|
19
19
|
input,
|
|
20
20
|
labelClassName,
|
|
21
21
|
wrapper
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { InputHTMLAttributes, ReactNode } from 'react';
|
|
2
|
+
import { QuaternaryTypes } from '../utils';
|
|
3
|
+
|
|
4
|
+
export interface InputProps extends InputHTMLAttributes<HTMLInputElement> {
|
|
5
|
+
label?: ReactNode;
|
|
6
|
+
iconLeft?: ReactNode;
|
|
7
|
+
iconRight?: ReactNode;
|
|
8
|
+
sizes?: "small" | "medium" | "large" | undefined;
|
|
9
|
+
error?: boolean | undefined;
|
|
10
|
+
skeleton?: boolean | undefined;
|
|
11
|
+
helperText?: ReactNode;
|
|
12
|
+
variant?: QuaternaryTypes;
|
|
13
|
+
}
|
|
14
|
+
export declare const Input: import('react').ForwardRefExoticComponent<InputProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
+
import clsx from "clsx";
|
|
3
|
+
import { forwardRef } from "react";
|
|
4
|
+
import { wrapper, labelClassName, container, iconContainer, iconInput, input, helperText } from "./Input.css.js";
|
|
5
|
+
const Input = forwardRef((props, ref) => {
|
|
6
|
+
const {
|
|
7
|
+
disabled,
|
|
8
|
+
label,
|
|
9
|
+
iconLeft,
|
|
10
|
+
iconRight,
|
|
11
|
+
sizes,
|
|
12
|
+
error = false,
|
|
13
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
14
|
+
skeleton = false,
|
|
15
|
+
helperText: helper,
|
|
16
|
+
variant,
|
|
17
|
+
...rest
|
|
18
|
+
} = props;
|
|
19
|
+
return /* @__PURE__ */ jsxs("div", { className: wrapper(), children: [
|
|
20
|
+
label && /* @__PURE__ */ jsx(
|
|
21
|
+
"label",
|
|
22
|
+
{
|
|
23
|
+
className: labelClassName({ error, variant }),
|
|
24
|
+
htmlFor: props.name,
|
|
25
|
+
children: label
|
|
26
|
+
}
|
|
27
|
+
),
|
|
28
|
+
/* @__PURE__ */ jsxs("div", { className: container({ size: sizes, error }), children: [
|
|
29
|
+
iconLeft && /* @__PURE__ */ jsx("span", { className: iconContainer["left"], children: /* @__PURE__ */ jsx("div", { className: iconInput({ size: sizes }), children: iconLeft }) }),
|
|
30
|
+
/* @__PURE__ */ jsx(
|
|
31
|
+
"input",
|
|
32
|
+
{
|
|
33
|
+
...rest,
|
|
34
|
+
ref,
|
|
35
|
+
className: clsx(props.className, input({ size: sizes }))
|
|
36
|
+
}
|
|
37
|
+
),
|
|
38
|
+
iconRight && /* @__PURE__ */ jsx("span", { className: iconContainer.right, children: /* @__PURE__ */ jsx("div", { className: iconInput({ size: sizes }), children: iconRight }) })
|
|
39
|
+
] }),
|
|
40
|
+
/* @__PURE__ */ jsx("span", { className: helperText({ disabled, error }), children: helper })
|
|
41
|
+
] });
|
|
42
|
+
});
|
|
43
|
+
export {
|
|
44
|
+
Input
|
|
45
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import { InputMask } from "@react-input/mask";
|
|
3
|
+
import { forwardRef } from "react";
|
|
4
|
+
import { Input } from "./Input.js";
|
|
5
|
+
import "./Input.css.js";
|
|
6
|
+
const InputPhone = forwardRef(
|
|
7
|
+
(props, ref) => {
|
|
8
|
+
return /* @__PURE__ */ jsx(
|
|
9
|
+
InputMask,
|
|
10
|
+
{
|
|
11
|
+
ref,
|
|
12
|
+
...props,
|
|
13
|
+
component: Input,
|
|
14
|
+
mask: "___-___-____",
|
|
15
|
+
replacement: {
|
|
16
|
+
_: /\d/
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
);
|
|
20
|
+
}
|
|
21
|
+
);
|
|
22
|
+
export {
|
|
23
|
+
InputPhone
|
|
24
|
+
};
|
package/dist/Input/index.d.ts
CHANGED
|
@@ -1,13 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
export
|
|
4
|
-
label?: ReactNode;
|
|
5
|
-
iconLeft?: ReactNode;
|
|
6
|
-
iconRight?: ReactNode;
|
|
7
|
-
sizes?: "small" | "medium" | "large" | undefined;
|
|
8
|
-
error?: boolean | undefined;
|
|
9
|
-
skeleton?: boolean | undefined;
|
|
10
|
-
helperText?: ReactNode;
|
|
11
|
-
variant?: QuaternaryTypes;
|
|
12
|
-
}
|
|
13
|
-
export declare const Input: import("react").ForwardRefExoticComponent<InputProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
1
|
+
export * from './Input';
|
|
2
|
+
export * from './Input.css';
|
|
3
|
+
export * from './InputPhone';
|
package/dist/Input/index.js
CHANGED
|
@@ -1,45 +1,15 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import { wrapper, labelClassName, container, iconContainer, icon, input, helperText } from "./Input.css.js";
|
|
5
|
-
const Input = forwardRef((props, ref) => {
|
|
6
|
-
const {
|
|
7
|
-
disabled,
|
|
8
|
-
label,
|
|
9
|
-
iconLeft,
|
|
10
|
-
iconRight,
|
|
11
|
-
sizes,
|
|
12
|
-
error = false,
|
|
13
|
-
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
14
|
-
skeleton = false,
|
|
15
|
-
helperText: helper,
|
|
16
|
-
variant,
|
|
17
|
-
...rest
|
|
18
|
-
} = props;
|
|
19
|
-
return /* @__PURE__ */ jsxs("div", { className: wrapper(), children: [
|
|
20
|
-
label && /* @__PURE__ */ jsx(
|
|
21
|
-
"label",
|
|
22
|
-
{
|
|
23
|
-
className: labelClassName({ error, variant }),
|
|
24
|
-
htmlFor: props.name,
|
|
25
|
-
children: label
|
|
26
|
-
}
|
|
27
|
-
),
|
|
28
|
-
/* @__PURE__ */ jsxs("div", { className: container({ size: sizes, error }), children: [
|
|
29
|
-
iconLeft && /* @__PURE__ */ jsx("span", { className: iconContainer["left"], children: /* @__PURE__ */ jsx("div", { className: icon({ size: sizes }), children: iconLeft }) }),
|
|
30
|
-
/* @__PURE__ */ jsx(
|
|
31
|
-
"input",
|
|
32
|
-
{
|
|
33
|
-
...rest,
|
|
34
|
-
ref,
|
|
35
|
-
className: clsx(props.className, input({ size: sizes }))
|
|
36
|
-
}
|
|
37
|
-
),
|
|
38
|
-
iconRight && /* @__PURE__ */ jsx("span", { className: iconContainer.right, children: /* @__PURE__ */ jsx("div", { className: icon({ size: sizes }), children: iconRight }) })
|
|
39
|
-
] }),
|
|
40
|
-
/* @__PURE__ */ jsx("span", { className: helperText({ disabled, error }), children: helper })
|
|
41
|
-
] });
|
|
42
|
-
});
|
|
1
|
+
import { Input } from "./Input.js";
|
|
2
|
+
import { container, helperText, iconContainer, iconContainerBase, iconInput, input, labelClassName, wrapper } from "./Input.css.js";
|
|
3
|
+
import { InputPhone } from "./InputPhone.js";
|
|
43
4
|
export {
|
|
44
|
-
Input
|
|
5
|
+
Input,
|
|
6
|
+
InputPhone,
|
|
7
|
+
container,
|
|
8
|
+
helperText,
|
|
9
|
+
iconContainer,
|
|
10
|
+
iconContainerBase,
|
|
11
|
+
iconInput,
|
|
12
|
+
input,
|
|
13
|
+
labelClassName,
|
|
14
|
+
wrapper
|
|
45
15
|
};
|
|
@@ -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