@axos-web-dev/shared-components 0.0.67 → 0.0.68
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/AwardsItem/AwardsItem.js +13 -5
- package/dist/BulletItem/BulletItem.js +1 -1
- package/dist/Calculators/Calculator.js +7 -2
- package/dist/CallToActionBar/CallToActionBar.css.d.ts +1 -0
- package/dist/CallToActionBar/CallToActionBar.css.js +18 -16
- package/dist/CallToActionBar/index.js +24 -17
- package/dist/Carousel/index.js +7 -2
- package/dist/Chevron/index.js +7 -2
- package/dist/Comparison/Comparison.css.d.ts +42 -0
- package/dist/Comparison/Comparison.css.js +27 -0
- package/dist/Comparison/Comparison.d.ts +3 -0
- package/dist/Comparison/Comparison.interface.d.ts +24 -0
- package/dist/Comparison/Comparison.interface.js +1 -0
- package/dist/Comparison/Comparison.js +143 -0
- package/dist/Comparison/ComparisonSet.d.ts +3 -0
- package/dist/{Forms/RenderForm.js → Comparison/ComparisonSet.js} +112 -36
- package/dist/Comparison/index.d.ts +3 -0
- package/dist/Comparison/index.js +15 -0
- package/dist/DownloadTile/index.js +9 -7
- package/dist/FaqAccordion/index.d.ts +6 -4
- package/dist/FooterSiteMap/AxosBank/FooterSiteMap.js +7 -2
- package/dist/Forms/ApplicationStart.d.ts +1 -1
- package/dist/Forms/ApplicationStart.js +7 -1
- package/dist/Forms/CommercialLending.d.ts +15 -0
- package/dist/Forms/CommercialLending.js +288 -0
- package/dist/Forms/ContactCompany.d.ts +2 -17
- package/dist/Forms/ContactCompany.js +7 -1
- package/dist/Forms/ContactUs.d.ts +9 -0
- package/dist/Forms/ContactUs.js +181 -0
- package/dist/Forms/ContactUsAAS.d.ts +13 -0
- package/dist/Forms/ContactUsAAS.js +330 -0
- package/dist/Forms/ContactUsBusiness.d.ts +1 -1
- package/dist/Forms/ContactUsBusiness.js +14 -3
- package/dist/Forms/DealerServices.d.ts +2 -17
- package/dist/Forms/DealerServices.js +7 -1
- package/dist/Forms/EmailOnly.d.ts +1 -1
- package/dist/Forms/EmailOnly.js +7 -2
- package/dist/Forms/EmailUs.d.ts +7 -0
- package/dist/Forms/EmailUs.js +125 -0
- package/dist/Forms/FormEnums.d.ts +2 -0
- package/dist/Forms/FormEnums.js +18 -0
- package/dist/Forms/FormProps.d.ts +17 -0
- package/dist/Forms/FormProps.js +1 -0
- package/dist/Forms/Forms.css.d.ts +8 -0
- package/dist/Forms/Forms.css.js +12 -10
- package/dist/Forms/SalesforceFieldsForm.d.ts +12 -0
- package/dist/Forms/SalesforceFieldsForm.js +4 -1
- package/dist/Forms/ScheduleCall.d.ts +5 -18
- package/dist/Forms/ScheduleCall.js +65 -6
- package/dist/Forms/ScheduleCallPremier.d.ts +1 -1
- package/dist/Forms/ScheduleCallPremier.js +15 -2
- package/dist/Forms/SuccesForm.js +7 -2
- package/dist/Forms/WcplSurvey.d.ts +8 -0
- package/dist/Forms/WcplSurvey.js +194 -0
- package/dist/Forms/index.d.ts +9 -4
- package/dist/Forms/index.js +15 -7
- package/dist/Hyperlink/index.js +7 -2
- package/dist/IconBillboard/IconBillboard.css.d.ts +2 -0
- package/dist/ImageBillboard/ImageBillboardSet.js +1 -1
- package/dist/ImageLink/ImageLink.js +14 -9
- package/dist/ImageLink/ImageLinkSet.js +5 -0
- package/dist/ImageLink/index.js +7 -2
- package/dist/Input/Checkbox.d.ts +1 -1
- package/dist/Input/DatePicker.css.d.ts +1 -0
- package/dist/Input/DatePicker.css.js +6 -0
- package/dist/Input/Datepicker.d.ts +4 -0
- package/dist/Input/Datepicker.js +40 -0
- package/dist/Input/Input.d.ts +1 -12
- package/dist/Input/Input.js +3 -1
- package/dist/Input/InputProps.d.ts +9 -0
- package/dist/Input/RadioButton.css.d.ts +15 -0
- package/dist/Input/RadioButton.css.js +10 -0
- package/dist/Input/RadioButton.d.ts +5 -0
- package/dist/Input/RadioButton.js +50 -0
- package/dist/Input/index.d.ts +1 -0
- package/dist/LoadingIndicator/LoadingIndicator.css.d.ts +16 -0
- package/dist/LoadingIndicator/LoadingIndicator.css.js +6 -0
- package/dist/LoadingIndicator/index.d.ts +10 -0
- package/dist/LoadingIndicator/index.js +20 -0
- package/dist/Modal/Modal.js +7 -2
- package/dist/SetContainer/SetContainer.css.d.ts +35 -0
- package/dist/SetContainer/SetContainer.css.js +10 -2
- package/dist/SetContainer/SetContainer.d.ts +6 -2
- package/dist/SetContainer/SetContainer.js +42 -19
- package/dist/SetContainer/index.js +6 -2
- package/dist/Tab/Tab.css.d.ts +37 -0
- package/dist/Tab/Tab.css.js +13 -0
- package/dist/Tab/Tab.d.ts +10 -0
- package/dist/Tab/Tab.js +25 -0
- package/dist/Tab/TabContainer.d.ts +5 -0
- package/dist/Tab/TabContainer.js +10 -0
- package/dist/Tab/index.d.ts +2 -0
- package/dist/Tab/index.js +6 -0
- package/dist/Table/Table.d.ts +1 -1
- package/dist/Table/Table.interface.d.ts +3 -1
- package/dist/Table/Table.js +11 -3
- package/dist/TopicalNavItem/TopicalNavItem.d.ts +1 -1
- package/dist/TopicalNavItem/TopicalNavItem.js +40 -31
- package/dist/TopicalNavSet/TopicalNavSet.js +5 -5
- package/dist/VideoTile/VideoTile.interface.d.ts +3 -0
- package/dist/VideoTile/VideoTile.js +3 -1
- package/dist/assets/CallToActionBar/CallToActionBar.css +35 -27
- package/dist/assets/Carousel/Carousel.css +2 -0
- package/dist/assets/Chevron/Chevron.css +1 -1
- package/dist/assets/Comparison/Comparison.css +141 -0
- package/dist/assets/Forms/Forms.css +46 -35
- package/dist/assets/IconBillboard/IconBillboard.css +4 -0
- package/dist/assets/Input/DatePicker.css +86 -0
- package/dist/assets/Input/Input.css +1 -0
- package/dist/assets/Input/RadioButton.css +31 -0
- package/dist/assets/LoadingIndicator/LoadingIndicator.css +27 -0
- package/dist/assets/SetContainer/SetContainer.css +63 -5
- package/dist/assets/Tab/Tab.css +49 -0
- package/dist/assets/globals.css +6 -0
- package/dist/assets/icons/Star/Star.css +6 -0
- package/dist/icons/Star/Star.css.d.ts +13 -0
- package/dist/icons/Star/Star.css.js +6 -0
- package/dist/icons/Star/index.d.ts +9 -0
- package/dist/icons/Star/index.js +26 -0
- package/dist/main.d.ts +5 -2
- package/dist/main.js +94 -63
- package/dist/utils/variant.types.d.ts +1 -0
- package/package.json +5 -3
- package/dist/Forms/RenderForm.d.ts +0 -8
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/* empty css */
|
|
2
|
+
import { createRuntimeFn } from "@vanilla-extract/recipes/createRuntimeFn";
|
|
3
|
+
var loader = createRuntimeFn({ defaultClassName: "w7xgn41", variantClassNames: { variant: { primary: "w7xgn42", secondary: "w7xgn43", tertiary: "w7xgn44", quaternary: "w7xgn45" } }, defaultVariants: {}, compoundVariants: [] });
|
|
4
|
+
export {
|
|
5
|
+
loader
|
|
6
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { QuaternaryTypes } from '../utils';
|
|
2
|
+
import { CSSProperties } from 'react';
|
|
3
|
+
|
|
4
|
+
export interface LoadingIndicatorProps {
|
|
5
|
+
width?: number;
|
|
6
|
+
height?: number;
|
|
7
|
+
variant: QuaternaryTypes;
|
|
8
|
+
style?: CSSProperties;
|
|
9
|
+
}
|
|
10
|
+
export declare const LoadingIndicator: ({ width, height, variant, style, }: LoadingIndicatorProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import { getVariant } from "../utils/getVariant.js";
|
|
3
|
+
import { loader } from "./LoadingIndicator.css.js";
|
|
4
|
+
const LoadingIndicator = ({
|
|
5
|
+
width = 50,
|
|
6
|
+
height = 50,
|
|
7
|
+
variant,
|
|
8
|
+
style
|
|
9
|
+
}) => {
|
|
10
|
+
return /* @__PURE__ */ jsx(
|
|
11
|
+
"div",
|
|
12
|
+
{
|
|
13
|
+
style: { ...style, width: `${width}px`, height: `${height}px` },
|
|
14
|
+
className: loader({ variant: getVariant(variant) })
|
|
15
|
+
}
|
|
16
|
+
);
|
|
17
|
+
};
|
|
18
|
+
export {
|
|
19
|
+
LoadingIndicator
|
|
20
|
+
};
|
package/dist/Modal/Modal.js
CHANGED
|
@@ -34,20 +34,25 @@ import "clsx";
|
|
|
34
34
|
import "react-hook-form";
|
|
35
35
|
import "../Forms/Forms.css.js";
|
|
36
36
|
import "../Forms/SalesforceFieldsForm.js";
|
|
37
|
+
import "../LoadingIndicator/LoadingIndicator.css.js";
|
|
38
|
+
import "../Input/RadioButton.js";
|
|
37
39
|
import "iframe-resizer";
|
|
38
40
|
import "../Calculators/calculator.css.js";
|
|
39
41
|
/* empty css */
|
|
40
42
|
import "../Carousel/index.js";
|
|
41
43
|
/* empty css */
|
|
44
|
+
import "../Comparison/Comparison.css.js";
|
|
42
45
|
import "../HeroBanner/HeroBanner.css.js";
|
|
46
|
+
import "../HeroBanner/SelectionBanner.css.js";
|
|
47
|
+
import "../SetContainer/SetContainer.css.js";
|
|
48
|
+
import "../Tab/Tab.css.js";
|
|
49
|
+
import "../icons/Star/Star.css.js";
|
|
43
50
|
import "../ContentBanner/ContentBanner.css.js";
|
|
44
51
|
/* empty css */
|
|
45
52
|
import "../ExecutiveBio/ExecutiveBio.css.js";
|
|
46
53
|
import "../FaqAccordion/index.js";
|
|
47
54
|
import "../FooterDisclosure/FooterDisclosure.css.js";
|
|
48
55
|
/* empty css */
|
|
49
|
-
import "../HeroBanner/SelectionBanner.css.js";
|
|
50
|
-
import "../SetContainer/SetContainer.css.js";
|
|
51
56
|
import "../ImageBillboard/ImageBillboard.css.js";
|
|
52
57
|
import "../LandingPageHeader/LandingPageHeader.css.js";
|
|
53
58
|
import "./contextApi/store.js";
|
|
@@ -8,11 +8,46 @@ export declare const set_container: import('@vanilla-extract/recipes').RuntimeFn
|
|
|
8
8
|
};
|
|
9
9
|
tertiary: {
|
|
10
10
|
background: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
11
|
+
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
11
12
|
};
|
|
12
13
|
quaternary: {
|
|
13
14
|
background: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
15
|
+
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
14
16
|
};
|
|
15
17
|
};
|
|
16
18
|
}>;
|
|
17
19
|
export declare const inline_container: string;
|
|
20
|
+
export declare const heading: string;
|
|
18
21
|
export declare const imageLinkContainer: string;
|
|
22
|
+
export declare const set_logo: string;
|
|
23
|
+
export declare const setcontainer_section_text: string;
|
|
24
|
+
export declare const isolate_container: import('@vanilla-extract/recipes').RuntimeFn<{
|
|
25
|
+
variant: {
|
|
26
|
+
primary: {
|
|
27
|
+
background: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
28
|
+
"::before": {
|
|
29
|
+
background: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
secondary: {
|
|
33
|
+
background: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
34
|
+
"::before": {
|
|
35
|
+
background: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
tertiary: {
|
|
39
|
+
background: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
40
|
+
"::before": {
|
|
41
|
+
background: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
42
|
+
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
quaternary: {
|
|
46
|
+
background: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
47
|
+
"::before": {
|
|
48
|
+
background: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
49
|
+
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
}>;
|
|
@@ -4,9 +4,17 @@
|
|
|
4
4
|
import { createRuntimeFn } from "@vanilla-extract/recipes/createRuntimeFn";
|
|
5
5
|
var set_container = createRuntimeFn({ defaultClassName: "_18ygy9m0", variantClassNames: { variant: { primary: "_18ygy9m1", secondary: "_18ygy9m2", tertiary: "_18ygy9m3", quaternary: "_18ygy9m4" } }, defaultVariants: {}, compoundVariants: [] });
|
|
6
6
|
var inline_container = "_18ygy9m5";
|
|
7
|
-
var
|
|
7
|
+
var heading = "_18ygy9m6";
|
|
8
|
+
var imageLinkContainer = "_18ygy9m7";
|
|
9
|
+
var set_logo = "_18ygy9m8";
|
|
10
|
+
var setcontainer_section_text = "_18ygy9m9";
|
|
11
|
+
var isolate_container = createRuntimeFn({ defaultClassName: "_18ygy9ma", variantClassNames: { variant: { primary: "_18ygy9mb", secondary: "_18ygy9mc", tertiary: "_18ygy9md", quaternary: "_18ygy9me" } }, defaultVariants: {}, compoundVariants: [] });
|
|
8
12
|
export {
|
|
13
|
+
heading,
|
|
9
14
|
imageLinkContainer,
|
|
10
15
|
inline_container,
|
|
11
|
-
|
|
16
|
+
isolate_container,
|
|
17
|
+
set_container,
|
|
18
|
+
set_logo,
|
|
19
|
+
setcontainer_section_text
|
|
12
20
|
};
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
import { ImageBillboardSetProps } from '../ImageBillboard/ImageBillboard.interface';
|
|
2
|
-
import { PropsWithChildren } from 'react';
|
|
2
|
+
import { CSSProperties, PropsWithChildren, ReactNode } from 'react';
|
|
3
3
|
|
|
4
4
|
export interface SetContainerProps extends Omit<ImageBillboardSetProps, "imageBillboards">, PropsWithChildren {
|
|
5
5
|
internalName?: string;
|
|
6
|
+
icon?: boolean;
|
|
7
|
+
eyebrow?: ReactNode | string;
|
|
8
|
+
style?: CSSProperties;
|
|
9
|
+
isolate?: boolean;
|
|
6
10
|
}
|
|
7
|
-
export declare const SetContainer: ({ id, variant, headline, bodyCopy, additionalDetails, children, internalName, }: SetContainerProps) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export declare const SetContainer: ({ id, variant, headline, bodyCopy, additionalDetails, children, internalName, icon, eyebrow, style, isolate, }: SetContainerProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,27 +1,29 @@
|
|
|
1
1
|
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
2
|
+
import "../Modal/contextApi/store.js";
|
|
3
|
+
import { getVariant } from "../utils/getVariant.js";
|
|
4
|
+
import clsx from "clsx";
|
|
5
|
+
import "react";
|
|
6
|
+
import "../Button/Button.css.js";
|
|
7
|
+
import "react-use";
|
|
3
8
|
import "../icons/ArrowIcon/ArrowIcon.css.js";
|
|
9
|
+
import SvgAxosX from "../icons/AxosX/index.js";
|
|
10
|
+
import SvgComponent from "../icons/AxosX/Blue.js";
|
|
4
11
|
import "../icons/CheckIcon/CheckIcon.css.js";
|
|
5
12
|
/* empty css */
|
|
6
13
|
/* empty css */
|
|
7
14
|
/* empty css */
|
|
8
15
|
/* empty css */
|
|
9
|
-
/* empty css */
|
|
10
|
-
/* empty css */
|
|
11
|
-
import { getVariant } from "../utils/getVariant.js";
|
|
12
16
|
import "../Accordion/Accordion.js";
|
|
13
17
|
import "../Accordion/Accordion.css.js";
|
|
14
18
|
import "../AlertBanner/AlertBanner.css.js";
|
|
15
|
-
import "../Modal/contextApi/store.js";
|
|
16
|
-
import clsx from "clsx";
|
|
17
|
-
import "react";
|
|
18
|
-
import "../Button/Button.css.js";
|
|
19
|
-
import "react-use";
|
|
20
19
|
/* empty css */
|
|
21
20
|
import "../Article/Article.css.js";
|
|
22
21
|
import "../ArticlesSet/ArticlesSet.css.js";
|
|
23
22
|
/* empty css */
|
|
24
23
|
/* empty css */
|
|
24
|
+
/* empty css */
|
|
25
|
+
import { header_section } from "../IconBillboard/IconBillboard.css.js";
|
|
26
|
+
/* empty css */
|
|
25
27
|
import "@hookform/resolvers/zod";
|
|
26
28
|
import "../Input/Checkbox.js";
|
|
27
29
|
import "../Input/CurrencyInput.js";
|
|
@@ -34,20 +36,24 @@ import "../Input/InputTextArea.js";
|
|
|
34
36
|
import "react-hook-form";
|
|
35
37
|
import "../Forms/Forms.css.js";
|
|
36
38
|
import "../Forms/SalesforceFieldsForm.js";
|
|
39
|
+
import "../LoadingIndicator/LoadingIndicator.css.js";
|
|
40
|
+
import "../Input/RadioButton.js";
|
|
37
41
|
import "iframe-resizer";
|
|
38
42
|
import "../Calculators/calculator.css.js";
|
|
39
43
|
/* empty css */
|
|
40
44
|
import "../Carousel/index.js";
|
|
41
45
|
/* empty css */
|
|
42
|
-
import "../
|
|
46
|
+
import "../Comparison/Comparison.css.js";
|
|
47
|
+
import { set_container, isolate_container, heading, inline_container, setcontainer_section_text } from "./SetContainer.css.js";
|
|
48
|
+
import "../Tab/Tab.css.js";
|
|
49
|
+
import "../icons/Star/Star.css.js";
|
|
50
|
+
import { heroSupertag } from "../HeroBanner/HeroBanner.css.js";
|
|
43
51
|
import "../ContentBanner/ContentBanner.css.js";
|
|
44
52
|
/* empty css */
|
|
45
53
|
import "../ExecutiveBio/ExecutiveBio.css.js";
|
|
46
54
|
import "../FaqAccordion/index.js";
|
|
47
55
|
import "../FooterDisclosure/FooterDisclosure.css.js";
|
|
48
56
|
/* empty css */
|
|
49
|
-
import "../HeroBanner/SelectionBanner.css.js";
|
|
50
|
-
import { set_container, inline_container } from "./SetContainer.css.js";
|
|
51
57
|
import "../ImageBillboard/ImageBillboard.css.js";
|
|
52
58
|
import "../LandingPageHeader/LandingPageHeader.css.js";
|
|
53
59
|
import "../Chevron/Chevron.css.js";
|
|
@@ -67,6 +73,7 @@ import "../Table/Table.css.js";
|
|
|
67
73
|
import "next/script.js";
|
|
68
74
|
/* empty css */
|
|
69
75
|
/* empty css */
|
|
76
|
+
import "../HeroBanner/SelectionBanner.css.js";
|
|
70
77
|
const SetContainer = ({
|
|
71
78
|
id,
|
|
72
79
|
variant,
|
|
@@ -74,27 +81,43 @@ const SetContainer = ({
|
|
|
74
81
|
bodyCopy,
|
|
75
82
|
additionalDetails,
|
|
76
83
|
children,
|
|
77
|
-
internalName
|
|
84
|
+
internalName,
|
|
85
|
+
icon,
|
|
86
|
+
eyebrow,
|
|
87
|
+
style,
|
|
88
|
+
isolate
|
|
78
89
|
}) => {
|
|
79
|
-
const
|
|
90
|
+
const container_variant = getVariant(variant);
|
|
80
91
|
return /* @__PURE__ */ jsx(
|
|
81
92
|
"section",
|
|
82
93
|
{
|
|
83
94
|
id: internalName ? internalName?.replace(/ /g, "-") : "",
|
|
84
|
-
className: clsx(
|
|
95
|
+
className: clsx(
|
|
96
|
+
set_container({ variant: container_variant }),
|
|
97
|
+
isolate ? isolate_container({ variant: container_variant }) : ""
|
|
98
|
+
),
|
|
99
|
+
style: { ...style },
|
|
85
100
|
children: /* @__PURE__ */ jsxs("div", { className: "containment", children: [
|
|
86
|
-
(headline || bodyCopy) && /* @__PURE__ */ jsxs("div", { className:
|
|
101
|
+
(headline || bodyCopy || icon) && /* @__PURE__ */ jsxs("div", { className: heading, children: [
|
|
102
|
+
icon && /* @__PURE__ */ jsx("div", { className: "mb_16", children: ["primary", "secondary"].includes(variant) ? /* @__PURE__ */ jsx(SvgComponent, {}) : /* @__PURE__ */ jsx(SvgAxosX, {}) }),
|
|
103
|
+
eyebrow && /* @__PURE__ */ jsx(
|
|
104
|
+
"span",
|
|
105
|
+
{
|
|
106
|
+
className: `mb_32 ${heroSupertag({ variant: container_variant })}`,
|
|
107
|
+
children: eyebrow
|
|
108
|
+
}
|
|
109
|
+
),
|
|
87
110
|
headline && /* @__PURE__ */ jsx(
|
|
88
111
|
"h2",
|
|
89
112
|
{
|
|
90
|
-
className: `header_2 ${header_section({ variant:
|
|
113
|
+
className: `header_2 mb_16 ${header_section({ variant: container_variant })}`,
|
|
91
114
|
children: headline
|
|
92
115
|
}
|
|
93
116
|
),
|
|
94
|
-
bodyCopy && /* @__PURE__ */ jsx(
|
|
117
|
+
bodyCopy && /* @__PURE__ */ jsx("div", { className: "push_up", children: bodyCopy })
|
|
95
118
|
] }),
|
|
96
119
|
/* @__PURE__ */ jsx("div", { className: inline_container, children }),
|
|
97
|
-
additionalDetails && /* @__PURE__ */ jsx("div", { className: clsx(
|
|
120
|
+
additionalDetails && /* @__PURE__ */ jsx("div", { className: clsx(setcontainer_section_text), children: /* @__PURE__ */ jsx(Fragment, { children: additionalDetails }) })
|
|
98
121
|
] })
|
|
99
122
|
},
|
|
100
123
|
id
|
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
import { SetContainer } from "./SetContainer.js";
|
|
2
|
-
import { imageLinkContainer, inline_container, set_container } from "./SetContainer.css.js";
|
|
2
|
+
import { heading, imageLinkContainer, inline_container, isolate_container, set_container, set_logo, setcontainer_section_text } from "./SetContainer.css.js";
|
|
3
3
|
export {
|
|
4
4
|
SetContainer,
|
|
5
|
+
heading,
|
|
5
6
|
imageLinkContainer,
|
|
6
7
|
inline_container,
|
|
7
|
-
|
|
8
|
+
isolate_container,
|
|
9
|
+
set_container,
|
|
10
|
+
set_logo,
|
|
11
|
+
setcontainer_section_text
|
|
8
12
|
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
export declare const tab: import('@vanilla-extract/recipes').RuntimeFn<{
|
|
2
|
+
variant: {
|
|
3
|
+
primary: {
|
|
4
|
+
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
5
|
+
};
|
|
6
|
+
secondary: {
|
|
7
|
+
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
8
|
+
};
|
|
9
|
+
tertiary: {
|
|
10
|
+
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
11
|
+
};
|
|
12
|
+
quaternary: {
|
|
13
|
+
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
}>;
|
|
17
|
+
export declare const active_tab: import('@vanilla-extract/recipes').RuntimeFn<{
|
|
18
|
+
variant: {
|
|
19
|
+
primary: {
|
|
20
|
+
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
21
|
+
borderBottom: `4px solid var(--${string})` | `4px solid var(--${string}, ${string})` | `4px solid var(--${string}, ${number})`;
|
|
22
|
+
};
|
|
23
|
+
secondary: {
|
|
24
|
+
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
25
|
+
borderBottom: `4px solid var(--${string})` | `4px solid var(--${string}, ${string})` | `4px solid var(--${string}, ${number})`;
|
|
26
|
+
};
|
|
27
|
+
tertiary: {
|
|
28
|
+
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
29
|
+
borderBottom: `4px solid var(--${string})` | `4px solid var(--${string}, ${string})` | `4px solid var(--${string}, ${number})`;
|
|
30
|
+
};
|
|
31
|
+
quaternary: {
|
|
32
|
+
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
33
|
+
borderBottom: `4px solid var(--${string})` | `4px solid var(--${string}, ${string})` | `4px solid var(--${string}, ${number})`;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
}>;
|
|
37
|
+
export declare const active_content: string;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/* empty css */
|
|
2
|
+
/* empty css */
|
|
3
|
+
/* empty css */
|
|
4
|
+
/* empty css */
|
|
5
|
+
import { createRuntimeFn } from "@vanilla-extract/recipes/createRuntimeFn";
|
|
6
|
+
var tab = createRuntimeFn({ defaultClassName: "lhhm340", variantClassNames: { variant: { primary: "lhhm341", secondary: "lhhm342", tertiary: "lhhm343", quaternary: "lhhm344" } }, defaultVariants: {}, compoundVariants: [] });
|
|
7
|
+
var active_tab = createRuntimeFn({ defaultClassName: "lhhm345", variantClassNames: { variant: { primary: "lhhm346", secondary: "lhhm347", tertiary: "lhhm348", quaternary: "lhhm349" } }, defaultVariants: {}, compoundVariants: [] });
|
|
8
|
+
var active_content = "lhhm34a";
|
|
9
|
+
export {
|
|
10
|
+
active_content,
|
|
11
|
+
active_tab,
|
|
12
|
+
tab
|
|
13
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
|
|
3
|
+
export interface TabProps {
|
|
4
|
+
headline: ReactNode | string;
|
|
5
|
+
id?: string;
|
|
6
|
+
className?: string;
|
|
7
|
+
onClick: () => void;
|
|
8
|
+
variant: string;
|
|
9
|
+
}
|
|
10
|
+
export declare const Tab: ({ id, headline, className, onClick, variant, }: TabProps) => import("react/jsx-runtime").JSX.Element;
|
package/dist/Tab/Tab.js
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import { getVariant } from "../utils/getVariant.js";
|
|
3
|
+
import clsx from "clsx";
|
|
4
|
+
import { tab } from "./Tab.css.js";
|
|
5
|
+
const Tab = ({
|
|
6
|
+
id,
|
|
7
|
+
headline,
|
|
8
|
+
className,
|
|
9
|
+
onClick,
|
|
10
|
+
variant
|
|
11
|
+
}) => {
|
|
12
|
+
return /* @__PURE__ */ jsx(
|
|
13
|
+
"button",
|
|
14
|
+
{
|
|
15
|
+
className: clsx(tab({ variant: getVariant(variant) }), className),
|
|
16
|
+
id,
|
|
17
|
+
onClick: () => onClick(),
|
|
18
|
+
children: headline
|
|
19
|
+
},
|
|
20
|
+
id
|
|
21
|
+
);
|
|
22
|
+
};
|
|
23
|
+
export {
|
|
24
|
+
Tab
|
|
25
|
+
};
|
package/dist/Table/Table.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { PropsWithChildren } from 'react';
|
|
|
2
2
|
import { CellProps, RowProps, TableContainerProps, TableProps } from './Table.interface';
|
|
3
3
|
|
|
4
4
|
export declare const TableContainer: ({ tableTitle, tableBody, tableFooter, tableType, tableDescription, internalName, id, }: TableContainerProps) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
-
export declare const Table: ({ variant, children, highlight, tableType, alternateColorRows, }: TableProps) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
export declare const Table: ({ variant, children, highlight, tableType, alternateColorRows, className, style, }: TableProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
6
|
export declare const TableRow: ({ children, ...props }: RowProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
7
|
export declare const TableHead: ({ children }: PropsWithChildren) => import("react/jsx-runtime").JSX.Element;
|
|
8
8
|
export declare const TableBody: ({ children }: PropsWithChildren) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { HtmlHTMLAttributes, PropsWithChildren, ReactNode } from 'react';
|
|
1
|
+
import { CSSProperties, HtmlHTMLAttributes, PropsWithChildren, ReactNode } from 'react';
|
|
2
2
|
|
|
3
3
|
export interface RowProps extends HtmlHTMLAttributes<HTMLTableRowElement>, PropsWithChildren {
|
|
4
4
|
}
|
|
@@ -12,6 +12,8 @@ export interface TableProps extends PropsWithChildren {
|
|
|
12
12
|
highlight?: "First Row" | "Last Row" | "First and Last Row" | undefined;
|
|
13
13
|
tableType?: "Standard" | "Rate";
|
|
14
14
|
alternateColorRows?: boolean;
|
|
15
|
+
className?: string;
|
|
16
|
+
style?: CSSProperties;
|
|
15
17
|
}
|
|
16
18
|
export interface TableContainerProps extends PropsWithChildren {
|
|
17
19
|
id?: string;
|
package/dist/Table/Table.js
CHANGED
|
@@ -33,13 +33,21 @@ const Table = ({
|
|
|
33
33
|
children,
|
|
34
34
|
highlight,
|
|
35
35
|
tableType = "Standard",
|
|
36
|
-
alternateColorRows = false
|
|
36
|
+
alternateColorRows = false,
|
|
37
|
+
className,
|
|
38
|
+
style
|
|
37
39
|
}) => {
|
|
38
40
|
return /* @__PURE__ */ jsx(
|
|
39
41
|
"div",
|
|
40
42
|
{
|
|
41
|
-
className:
|
|
42
|
-
|
|
43
|
+
className: clsx(
|
|
44
|
+
tableWrapper({ variant: getVariant(variant) }),
|
|
45
|
+
className
|
|
46
|
+
),
|
|
47
|
+
style: {
|
|
48
|
+
...style,
|
|
49
|
+
...tableType === "Rate" && { width: "90%", border: "none" }
|
|
50
|
+
},
|
|
43
51
|
children: /* @__PURE__ */ jsx(
|
|
44
52
|
"table",
|
|
45
53
|
{
|
|
@@ -6,40 +6,49 @@ const TopicalNavItem = ({
|
|
|
6
6
|
displayText,
|
|
7
7
|
targetUrl
|
|
8
8
|
}) => {
|
|
9
|
-
return /* @__PURE__ */ jsxs(
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
33
|
-
children: /* @__PURE__ */ jsx(
|
|
34
|
-
"path",
|
|
9
|
+
return /* @__PURE__ */ jsxs(
|
|
10
|
+
"a",
|
|
11
|
+
{
|
|
12
|
+
className: picker_navItem,
|
|
13
|
+
href: targetUrl,
|
|
14
|
+
id: `id_${id}`,
|
|
15
|
+
children: [
|
|
16
|
+
/* @__PURE__ */ jsxs("div", { className: picker_itemContent, children: [
|
|
17
|
+
/* @__PURE__ */ jsx(
|
|
18
|
+
"img",
|
|
19
|
+
{
|
|
20
|
+
src: icon?.src,
|
|
21
|
+
alt: "",
|
|
22
|
+
className: picker_navIcon,
|
|
23
|
+
width: 24,
|
|
24
|
+
height: 24,
|
|
25
|
+
"aria-hidden": "true"
|
|
26
|
+
}
|
|
27
|
+
),
|
|
28
|
+
/* @__PURE__ */ jsx("p", { className: picker_itemProduct, children: displayText })
|
|
29
|
+
] }),
|
|
30
|
+
/* @__PURE__ */ jsx(
|
|
31
|
+
"svg",
|
|
35
32
|
{
|
|
36
|
-
|
|
37
|
-
|
|
33
|
+
className: picker_arrow,
|
|
34
|
+
width: "12",
|
|
35
|
+
height: "20",
|
|
36
|
+
viewBox: "0 0 12 20",
|
|
37
|
+
fill: "none",
|
|
38
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
39
|
+
children: /* @__PURE__ */ jsx(
|
|
40
|
+
"path",
|
|
41
|
+
{
|
|
42
|
+
d: "M1.76378 0.46875L11.2941 9.99908L1.76378 19.5294L0.703125 18.4687L9.17295 9.99908L0.703125 1.52941L1.76378 0.46875Z",
|
|
43
|
+
fill: "#4A5560"
|
|
44
|
+
}
|
|
45
|
+
)
|
|
38
46
|
}
|
|
39
47
|
)
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
48
|
+
]
|
|
49
|
+
},
|
|
50
|
+
`id_${id}`
|
|
51
|
+
);
|
|
43
52
|
};
|
|
44
53
|
export {
|
|
45
54
|
TopicalNavItem
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { jsx
|
|
2
|
-
import { picker_section, picker_container, picker_orient } from "./TopicalNavSet.css.js";
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
3
2
|
import { TopicalNavItem } from "../TopicalNavItem/TopicalNavItem.js";
|
|
3
|
+
import { picker_section, picker_container, picker_orient } from "./TopicalNavSet.css.js";
|
|
4
4
|
const TopicalNavSet = ({
|
|
5
5
|
id,
|
|
6
6
|
topicalNavigationItems
|
|
7
7
|
}) => {
|
|
8
|
-
return /* @__PURE__ */ jsx("nav", { className: picker_section, children: /* @__PURE__ */ jsx("div", { className: picker_container, children: /* @__PURE__ */ jsx("div", { className: `${picker_orient} flex`, children: topicalNavigationItems?.map((nav
|
|
8
|
+
return /* @__PURE__ */ jsx("nav", { className: picker_section, children: /* @__PURE__ */ jsx("div", { className: picker_container, children: /* @__PURE__ */ jsx("div", { className: `${picker_orient} flex`, children: topicalNavigationItems?.map((nav) => /* @__PURE__ */ jsx(
|
|
9
9
|
TopicalNavItem,
|
|
10
10
|
{
|
|
11
11
|
id: `id_${id}`,
|
|
@@ -13,8 +13,8 @@ const TopicalNavSet = ({
|
|
|
13
13
|
displayText: nav?.displayText,
|
|
14
14
|
targetUrl: nav?.targetUrl
|
|
15
15
|
},
|
|
16
|
-
|
|
17
|
-
)
|
|
16
|
+
`id_${id}`
|
|
17
|
+
)) }) }) });
|
|
18
18
|
};
|
|
19
19
|
export {
|
|
20
20
|
TopicalNavSet
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
|
|
1
3
|
export interface VideoTileInterface {
|
|
2
4
|
id: string;
|
|
3
5
|
title: string;
|
|
@@ -7,4 +9,5 @@ export interface VideoTileInterface {
|
|
|
7
9
|
maxWidth: string | number;
|
|
8
10
|
videoPlayer: string;
|
|
9
11
|
transcript: string;
|
|
12
|
+
description?: string | ReactNode;
|
|
10
13
|
}
|
|
@@ -21,7 +21,8 @@ const VideoTile = ({
|
|
|
21
21
|
maxWidth = "588px",
|
|
22
22
|
videoPlayer,
|
|
23
23
|
transcript,
|
|
24
|
-
id
|
|
24
|
+
id,
|
|
25
|
+
description
|
|
25
26
|
}) => {
|
|
26
27
|
const [on, toggle] = useToggle(false);
|
|
27
28
|
const handleToggleClick = (event) => {
|
|
@@ -32,6 +33,7 @@ const VideoTile = ({
|
|
|
32
33
|
/* @__PURE__ */ jsx(VideoInit, {}),
|
|
33
34
|
/* @__PURE__ */ jsxs("div", { className: `containment ${video_container} flex_col`, children: [
|
|
34
35
|
title && /* @__PURE__ */ jsx("h2", { className: `${mb_8} ${video_title}`, children: title }),
|
|
36
|
+
description && /* @__PURE__ */ jsx("div", { className: "push_up", children: description }),
|
|
35
37
|
/* @__PURE__ */ jsx(
|
|
36
38
|
"div",
|
|
37
39
|
{
|