@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
|
@@ -1,43 +1,43 @@
|
|
|
1
|
-
const header = "
|
|
2
|
-
const wrapper = "
|
|
3
|
-
const header_main_row = "
|
|
4
|
-
const mobile_header = "
|
|
5
|
-
const logo_wrap = "
|
|
6
|
-
const primary_links = "
|
|
7
|
-
const main_nav = "
|
|
8
|
-
const main_nav_link = "
|
|
9
|
-
const sub_nav_link = "
|
|
10
|
-
const signin_wrap = "
|
|
11
|
-
const signin_btn = "
|
|
12
|
-
const sub_nav = "
|
|
13
|
-
const header_sub_row = "
|
|
14
|
-
const shadow = "
|
|
15
|
-
const opacity = "
|
|
16
|
-
const fadeInDown = "
|
|
17
|
-
const footer = "
|
|
18
|
-
const open = "
|
|
19
|
-
const mt_8 = "
|
|
20
|
-
const mt_16 = "
|
|
21
|
-
const ml_8 = "
|
|
22
|
-
const reversed_row = "
|
|
23
|
-
const nav_anchor = "
|
|
24
|
-
const site_lists = "
|
|
25
|
-
const hamburger = "
|
|
26
|
-
const mobile_logo = "
|
|
27
|
-
const mobile_nav = "
|
|
28
|
-
const mobile_opened = "
|
|
29
|
-
const mobile_nav_item = "
|
|
30
|
-
const icon_wrap = "
|
|
31
|
-
const mobile_footer = "
|
|
32
|
-
const mobile_footer_content = "
|
|
33
|
-
const mobile_footer_media = "
|
|
34
|
-
const footer_cta = "
|
|
35
|
-
const inner_wrapper = "
|
|
36
|
-
const btn = "
|
|
37
|
-
const sub_menu = "
|
|
38
|
-
const main = "
|
|
39
|
-
const desktop_only = "
|
|
40
|
-
const mobile_only = "
|
|
1
|
+
const header = "_header_1witk_1";
|
|
2
|
+
const wrapper = "_wrapper_1witk_5";
|
|
3
|
+
const header_main_row = "_header_main_row_1witk_11";
|
|
4
|
+
const mobile_header = "_mobile_header_1witk_12";
|
|
5
|
+
const logo_wrap = "_logo_wrap_1witk_18";
|
|
6
|
+
const primary_links = "_primary_links_1witk_22";
|
|
7
|
+
const main_nav = "_main_nav_1witk_26";
|
|
8
|
+
const main_nav_link = "_main_nav_link_1witk_33";
|
|
9
|
+
const sub_nav_link = "_sub_nav_link_1witk_55";
|
|
10
|
+
const signin_wrap = "_signin_wrap_1witk_57";
|
|
11
|
+
const signin_btn = "_signin_btn_1witk_58";
|
|
12
|
+
const sub_nav = "_sub_nav_1witk_55";
|
|
13
|
+
const header_sub_row = "_header_sub_row_1witk_99";
|
|
14
|
+
const shadow = "_shadow_1witk_115";
|
|
15
|
+
const opacity = "_opacity_1witk_131";
|
|
16
|
+
const fadeInDown = "_fadeInDown_1witk_1";
|
|
17
|
+
const footer = "_footer_1witk_137";
|
|
18
|
+
const open = "_open_1witk_153";
|
|
19
|
+
const mt_8 = "_mt_8_1witk_161";
|
|
20
|
+
const mt_16 = "_mt_16_1witk_165";
|
|
21
|
+
const ml_8 = "_ml_8_1witk_169";
|
|
22
|
+
const reversed_row = "_reversed_row_1witk_173";
|
|
23
|
+
const nav_anchor = "_nav_anchor_1witk_177";
|
|
24
|
+
const site_lists = "_site_lists_1witk_188";
|
|
25
|
+
const hamburger = "_hamburger_1witk_192";
|
|
26
|
+
const mobile_logo = "_mobile_logo_1witk_206";
|
|
27
|
+
const mobile_nav = "_mobile_nav_1witk_229";
|
|
28
|
+
const mobile_opened = "_mobile_opened_1witk_241";
|
|
29
|
+
const mobile_nav_item = "_mobile_nav_item_1witk_245";
|
|
30
|
+
const icon_wrap = "_icon_wrap_1witk_260";
|
|
31
|
+
const mobile_footer = "_mobile_footer_1witk_265";
|
|
32
|
+
const mobile_footer_content = "_mobile_footer_content_1witk_271";
|
|
33
|
+
const mobile_footer_media = "_mobile_footer_media_1witk_285";
|
|
34
|
+
const footer_cta = "_footer_cta_1witk_292";
|
|
35
|
+
const inner_wrapper = "_inner_wrapper_1witk_324";
|
|
36
|
+
const btn = "_btn_1witk_328";
|
|
37
|
+
const sub_menu = "_sub_menu_1witk_333";
|
|
38
|
+
const main = "_main_1witk_26";
|
|
39
|
+
const desktop_only = "_desktop_only_1witk_362";
|
|
40
|
+
const mobile_only = "_mobile_only_1witk_409";
|
|
41
41
|
const styles = {
|
|
42
42
|
header,
|
|
43
43
|
wrapper,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { default as NavBarAXA } from
|
|
2
|
-
export { default as NavBarAFS } from
|
|
1
|
+
export { default as NavBarAXA } from './AxosAdvisor';
|
|
2
|
+
export { default as NavBarAFS } from './AxosFiduciary';
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
1
|
+
import { PropsWithChildren } from 'react';
|
|
2
|
+
import { ImageBillboardSetProps } from '../ImageBillboard/ImageBillboard.interface';
|
|
3
|
+
|
|
3
4
|
export interface SetContainerProps extends Omit<ImageBillboardSetProps, "imageBillboards">, PropsWithChildren {
|
|
4
5
|
}
|
|
5
6
|
export declare const SetContainer: ({ id, variant, headline, bodyCopy, additionalDetails, children, }: SetContainerProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { jsxs, jsx, Fragment } from "react/jsx-runtime";
|
|
2
2
|
import { section_text, header_section } from "../IconBillboard/IconBillboard.css.js";
|
|
3
|
+
import "../icons/ArrowIcon/ArrowIcon.css.js";
|
|
3
4
|
import "../icons/CheckIcon/CheckIcon.css.js";
|
|
4
5
|
/* empty css */
|
|
5
6
|
/* empty css */
|
|
@@ -27,16 +28,16 @@ import "../FooterDisclosure/FooterDisclosure.css.js";
|
|
|
27
28
|
import "../Forms/Forms.css.js";
|
|
28
29
|
import "../Forms/SalesforceFieldsForm.js";
|
|
29
30
|
import "@hookform/resolvers/zod";
|
|
30
|
-
import "../Input/
|
|
31
|
+
import "../Input/Input.js";
|
|
32
|
+
import "../Input/Input.css.js";
|
|
33
|
+
import "../Input/InputPhone.js";
|
|
31
34
|
import "react-hook-form";
|
|
32
35
|
import { inline_container } from "./SetContainer.css.js";
|
|
33
36
|
import "../ImageBillboard/ImageBillboard.css.js";
|
|
34
37
|
import "../Chevron/Chevron.css.js";
|
|
35
38
|
/* empty css */
|
|
36
39
|
/* empty css */
|
|
37
|
-
import "../NavigationMenu/AxosAdvisor/NavBar.module.js";
|
|
38
40
|
/* empty css */
|
|
39
|
-
import "../NavigationMenu/AxosFiduciary/NavBar.module.js";
|
|
40
41
|
/* empty css */
|
|
41
42
|
import "../Table/Table.css.js";
|
|
42
43
|
/* empty css */
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
1
|
+
export * from './SetContainer';
|
|
2
|
+
export * from './SetContainer.css';
|
|
@@ -1,4 +1,14 @@
|
|
|
1
|
-
export declare const table_container:
|
|
1
|
+
export declare const table_container: import('@vanilla-extract/recipes').RuntimeFn<{
|
|
2
|
+
variant: {
|
|
3
|
+
apy: {
|
|
4
|
+
background: "#f4f4f4";
|
|
5
|
+
padding: "2rem 0";
|
|
6
|
+
};
|
|
7
|
+
standard: {
|
|
8
|
+
background: "white";
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
}>;
|
|
2
12
|
export declare const table_container_text: string;
|
|
3
13
|
export declare const table_headline: string;
|
|
4
14
|
export declare const highlight_first_row: string;
|
|
@@ -6,7 +16,7 @@ export declare const highlight_last_row: string;
|
|
|
6
16
|
export declare const headerCell: string;
|
|
7
17
|
export declare const headerVariants: Record<"primary" | "secondary" | "tertiary" | "quaternary", string>;
|
|
8
18
|
export declare const bodyHeader: string;
|
|
9
|
-
export declare const th: import(
|
|
19
|
+
export declare const th: import('@vanilla-extract/recipes').RuntimeFn<{
|
|
10
20
|
variant: {
|
|
11
21
|
primary: {
|
|
12
22
|
color: "#4A5560";
|
|
@@ -59,7 +69,7 @@ export declare const th: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
|
59
69
|
true: {};
|
|
60
70
|
};
|
|
61
71
|
}>;
|
|
62
|
-
export declare const td: import(
|
|
72
|
+
export declare const td: import('@vanilla-extract/recipes').RuntimeFn<{
|
|
63
73
|
variant: {
|
|
64
74
|
primary: {
|
|
65
75
|
background: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
@@ -114,7 +124,7 @@ export declare const td: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
|
114
124
|
true: {};
|
|
115
125
|
};
|
|
116
126
|
}>;
|
|
117
|
-
export declare const tableWrapper: import(
|
|
127
|
+
export declare const tableWrapper: import('@vanilla-extract/recipes').RuntimeFn<{
|
|
118
128
|
variant: {
|
|
119
129
|
primary: {
|
|
120
130
|
border: `1px solid var(--${string})` | `1px solid var(--${string}, ${string})` | `1px solid var(--${string}, ${number})`;
|
|
@@ -130,7 +140,7 @@ export declare const tableWrapper: import("@vanilla-extract/recipes").RuntimeFn<
|
|
|
130
140
|
};
|
|
131
141
|
};
|
|
132
142
|
}>;
|
|
133
|
-
export declare const table: import(
|
|
143
|
+
export declare const table: import('@vanilla-extract/recipes').RuntimeFn<{
|
|
134
144
|
variant: {
|
|
135
145
|
primary: {
|
|
136
146
|
background: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
@@ -147,3 +157,4 @@ export declare const table: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
|
147
157
|
};
|
|
148
158
|
}>;
|
|
149
159
|
export declare const alternate_color_rows: string;
|
|
160
|
+
export declare const apy_table: string;
|
package/dist/Table/Table.css.js
CHANGED
|
@@ -2,21 +2,23 @@
|
|
|
2
2
|
/* empty css */
|
|
3
3
|
/* empty css */
|
|
4
4
|
import { createRuntimeFn } from "@vanilla-extract/recipes/createRuntimeFn";
|
|
5
|
-
var table_container = "_1nivbwe0";
|
|
6
|
-
var table_container_text = "
|
|
7
|
-
var table_headline = "
|
|
8
|
-
var highlight_first_row = "
|
|
9
|
-
var highlight_last_row = "
|
|
10
|
-
var headerCell = "
|
|
11
|
-
var headerVariants = { primary: "
|
|
12
|
-
var bodyHeader = "
|
|
13
|
-
var th = createRuntimeFn({ defaultClassName: "
|
|
14
|
-
var td = createRuntimeFn({ defaultClassName: "
|
|
15
|
-
var tableWrapper = createRuntimeFn({ defaultClassName: "
|
|
16
|
-
var table = createRuntimeFn({ defaultClassName: "
|
|
17
|
-
var alternate_color_rows = "
|
|
5
|
+
var table_container = createRuntimeFn({ defaultClassName: "_1nivbwe0", variantClassNames: { variant: { apy: "_1nivbwe1", standard: "_1nivbwe2" } }, defaultVariants: {}, compoundVariants: [] });
|
|
6
|
+
var table_container_text = "_1nivbwe3";
|
|
7
|
+
var table_headline = "_1nivbwe4";
|
|
8
|
+
var highlight_first_row = "_1nivbwe5";
|
|
9
|
+
var highlight_last_row = "_1nivbwe6";
|
|
10
|
+
var headerCell = "_1nivbwe7";
|
|
11
|
+
var headerVariants = { primary: "_1nivbwe8 _1nivbwe7", secondary: "_1nivbwe9 _1nivbwe7", tertiary: "_1nivbwea _1nivbwe7", quaternary: "_1nivbweb _1nivbwe7" };
|
|
12
|
+
var bodyHeader = "_1nivbwec";
|
|
13
|
+
var th = createRuntimeFn({ defaultClassName: "_1nivbwed", variantClassNames: { variant: { primary: "_1nivbwee", secondary: "_1nivbwef", tertiary: "_1nivbweg", quaternary: "_1nivbweh" }, highlighted: { true: "_1nivbwei" } }, defaultVariants: {}, compoundVariants: [] });
|
|
14
|
+
var td = createRuntimeFn({ defaultClassName: "_1nivbwej", variantClassNames: { variant: { primary: "_1nivbwek", secondary: "_1nivbwel", tertiary: "_1nivbwem", quaternary: "_1nivbwen" }, highlighted: { true: "_1nivbweo" } }, defaultVariants: {}, compoundVariants: [[{ highlighted: true, variant: "primary" }, "_1nivbwep"], [{ highlighted: true, variant: "tertiary" }, "_1nivbweq"]] });
|
|
15
|
+
var tableWrapper = createRuntimeFn({ defaultClassName: "_1nivbwer", variantClassNames: { variant: { primary: "_1nivbwes", secondary: "_1nivbwet", tertiary: "_1nivbweu", quaternary: "_1nivbwev" } }, defaultVariants: {}, compoundVariants: [] });
|
|
16
|
+
var table = createRuntimeFn({ defaultClassName: "_1nivbwew", variantClassNames: { variant: { primary: "_1nivbwex", secondary: "_1nivbwey", tertiary: "_1nivbwez", quaternary: "_1nivbwe10" } }, defaultVariants: {}, compoundVariants: [] });
|
|
17
|
+
var alternate_color_rows = "_1nivbwe11";
|
|
18
|
+
var apy_table = "_1nivbwe12";
|
|
18
19
|
export {
|
|
19
20
|
alternate_color_rows,
|
|
21
|
+
apy_table,
|
|
20
22
|
bodyHeader,
|
|
21
23
|
headerCell,
|
|
22
24
|
headerVariants,
|
package/dist/Table/Table.d.ts
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
1
|
+
import { CellProps, RowProps, TableContainerProps, TableProps } from './Table.interface';
|
|
2
|
+
import { PropsWithChildren } from 'react';
|
|
3
|
+
|
|
4
|
+
export declare const TableContainer: ({ tableTitle, tableBody, tableFooter, tableType, }: TableContainerProps) => import("react/jsx-runtime").JSX.Element;
|
|
4
5
|
export declare const Table: ({ variant, children, highlight, tableType, alternateColorRows, }: TableProps) => import("react/jsx-runtime").JSX.Element;
|
|
5
6
|
export declare const TableRow: ({ children, ...props }: RowProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
7
|
export declare const TableHead: ({ children }: PropsWithChildren) => import("react/jsx-runtime").JSX.Element;
|
|
7
8
|
export declare const TableBody: ({ children }: PropsWithChildren) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
-
export declare const TableCell: ({ children, as, variant, highlighted, ...props }: CellProps) => import(
|
|
9
|
+
export declare const TableCell: ({ children, as, variant, highlighted, ...props }: CellProps) => import('react').DetailedReactHTMLElement<{
|
|
9
10
|
className: string;
|
|
10
11
|
manifest?: string | undefined;
|
|
11
12
|
defaultChecked?: boolean | undefined;
|
|
@@ -53,7 +54,7 @@ export declare const TableCell: ({ children, as, variant, highlighted, ...props
|
|
|
53
54
|
results?: number | undefined;
|
|
54
55
|
security?: string | undefined;
|
|
55
56
|
unselectable?: "on" | "off" | undefined;
|
|
56
|
-
inputMode?: "search" | "
|
|
57
|
+
inputMode?: "search" | "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
|
|
57
58
|
is?: string | undefined;
|
|
58
59
|
"aria-activedescendant"?: string | undefined;
|
|
59
60
|
"aria-atomic"?: (boolean | "false" | "true") | undefined;
|
|
@@ -67,7 +68,7 @@ export declare const TableCell: ({ children, as, variant, highlighted, ...props
|
|
|
67
68
|
"aria-colindextext"?: string | undefined;
|
|
68
69
|
"aria-colspan"?: number | undefined;
|
|
69
70
|
"aria-controls"?: string | undefined;
|
|
70
|
-
"aria-current"?: boolean | "
|
|
71
|
+
"aria-current"?: boolean | "page" | "false" | "true" | "time" | "step" | "location" | "date" | undefined;
|
|
71
72
|
"aria-describedby"?: string | undefined;
|
|
72
73
|
"aria-description"?: string | undefined;
|
|
73
74
|
"aria-details"?: string | undefined;
|
|
@@ -77,7 +78,7 @@ export declare const TableCell: ({ children, as, variant, highlighted, ...props
|
|
|
77
78
|
"aria-expanded"?: (boolean | "false" | "true") | undefined;
|
|
78
79
|
"aria-flowto"?: string | undefined;
|
|
79
80
|
"aria-grabbed"?: (boolean | "false" | "true") | undefined;
|
|
80
|
-
"aria-haspopup"?: boolean | "
|
|
81
|
+
"aria-haspopup"?: boolean | "grid" | "listbox" | "menu" | "false" | "true" | "dialog" | "tree" | undefined;
|
|
81
82
|
"aria-hidden"?: (boolean | "false" | "true") | undefined;
|
|
82
83
|
"aria-invalid"?: boolean | "false" | "true" | "grammar" | "spelling" | undefined;
|
|
83
84
|
"aria-keyshortcuts"?: string | undefined;
|
|
@@ -94,7 +95,7 @@ export declare const TableCell: ({ children, as, variant, highlighted, ...props
|
|
|
94
95
|
"aria-posinset"?: number | undefined;
|
|
95
96
|
"aria-pressed"?: boolean | "mixed" | "false" | "true" | undefined;
|
|
96
97
|
"aria-readonly"?: (boolean | "false" | "true") | undefined;
|
|
97
|
-
"aria-relevant"?: "
|
|
98
|
+
"aria-relevant"?: "all" | "text" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
|
|
98
99
|
"aria-required"?: (boolean | "false" | "true") | undefined;
|
|
99
100
|
"aria-roledescription"?: string | undefined;
|
|
100
101
|
"aria-rowcount"?: number | undefined;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { HtmlHTMLAttributes, PropsWithChildren, ReactNode } from
|
|
1
|
+
import { HtmlHTMLAttributes, PropsWithChildren, ReactNode } from 'react';
|
|
2
|
+
|
|
2
3
|
export interface RowProps extends HtmlHTMLAttributes<HTMLTableRowElement>, PropsWithChildren {
|
|
3
4
|
}
|
|
4
5
|
export interface CellProps extends HtmlHTMLAttributes<HTMLTableCellElement>, PropsWithChildren {
|
|
@@ -17,4 +18,5 @@ export interface TableContainerProps extends PropsWithChildren {
|
|
|
17
18
|
tableTitle: ReactNode | string;
|
|
18
19
|
tableBody?: ReactNode | string;
|
|
19
20
|
tableFooter: ReactNode | string;
|
|
21
|
+
tableType?: string;
|
|
20
22
|
}
|
package/dist/Table/Table.js
CHANGED
|
@@ -2,38 +2,56 @@ import { jsxs, jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import { getVariant } from "../utils/getVariant.js";
|
|
3
3
|
import clsx from "clsx";
|
|
4
4
|
import { createElement } from "react";
|
|
5
|
-
import { table_container, table_container_text, table_headline, tableWrapper, table, highlight_first_row, highlight_last_row, alternate_color_rows, td, th } from "./Table.css.js";
|
|
5
|
+
import { table_container, table_container_text, table_headline, tableWrapper, table, highlight_first_row, highlight_last_row, alternate_color_rows, apy_table, td, th } from "./Table.css.js";
|
|
6
6
|
const TableContainer = ({
|
|
7
7
|
tableTitle,
|
|
8
8
|
tableBody,
|
|
9
|
-
tableFooter
|
|
9
|
+
tableFooter,
|
|
10
|
+
tableType = "Standard"
|
|
10
11
|
}) => {
|
|
11
|
-
return /* @__PURE__ */ jsxs(
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
12
|
+
return /* @__PURE__ */ jsxs(
|
|
13
|
+
"div",
|
|
14
|
+
{
|
|
15
|
+
className: clsx(
|
|
16
|
+
tableType === "Rate" ? table_container({ variant: "apy" }) : table_container({ variant: "standard" }),
|
|
17
|
+
"containment"
|
|
18
|
+
),
|
|
19
|
+
children: [
|
|
20
|
+
tableTitle && /* @__PURE__ */ jsx("div", { className: table_container_text, children: /* @__PURE__ */ jsx("h1", { className: clsx("header_1", table_headline), children: tableTitle }) }),
|
|
21
|
+
tableBody,
|
|
22
|
+
tableFooter && /* @__PURE__ */ jsx("div", { className: clsx(table_container_text, "push_up_24"), children: tableFooter })
|
|
23
|
+
]
|
|
24
|
+
}
|
|
25
|
+
);
|
|
16
26
|
};
|
|
17
27
|
const Table = ({
|
|
18
28
|
variant = "primary",
|
|
19
29
|
children,
|
|
20
30
|
highlight,
|
|
21
|
-
tableType,
|
|
31
|
+
tableType = "Standard",
|
|
22
32
|
alternateColorRows = false
|
|
23
33
|
}) => {
|
|
24
|
-
return /* @__PURE__ */ jsx(
|
|
25
|
-
"
|
|
34
|
+
return /* @__PURE__ */ jsx(
|
|
35
|
+
"div",
|
|
26
36
|
{
|
|
27
|
-
className:
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
37
|
+
className: tableWrapper({ variant: getVariant(variant) }),
|
|
38
|
+
style: tableType === "Rate" ? { width: "90%", border: "none" } : {},
|
|
39
|
+
children: /* @__PURE__ */ jsx(
|
|
40
|
+
"table",
|
|
41
|
+
{
|
|
42
|
+
className: clsx(
|
|
43
|
+
table({ variant: getVariant(variant) }),
|
|
44
|
+
highlight === "First Row" && highlight_first_row,
|
|
45
|
+
highlight === "Last Row" && highlight_last_row,
|
|
46
|
+
highlight === "First and Last Row" && `${highlight_first_row} ${highlight_last_row}`,
|
|
47
|
+
alternateColorRows || tableType === "Rate" ? alternate_color_rows : "",
|
|
48
|
+
tableType === "Rate" ? apy_table : ""
|
|
49
|
+
),
|
|
50
|
+
children
|
|
51
|
+
}
|
|
52
|
+
)
|
|
35
53
|
}
|
|
36
|
-
)
|
|
54
|
+
);
|
|
37
55
|
};
|
|
38
56
|
const TableRow = ({ children, ...props }) => {
|
|
39
57
|
return /* @__PURE__ */ jsx("tr", { ...props, children });
|
package/dist/Table/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
1
|
+
export * from './Table';
|
|
2
|
+
export * from './Table.css';
|
package/dist/Table/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Table, TableBody, TableCell, TableContainer, TableHead, TableRow } from "./Table.js";
|
|
2
|
-
import { alternate_color_rows, bodyHeader, headerCell, headerVariants, highlight_first_row, highlight_last_row, table, tableWrapper, table_container, table_container_text, table_headline, td, th } from "./Table.css.js";
|
|
2
|
+
import { alternate_color_rows, apy_table, bodyHeader, headerCell, headerVariants, highlight_first_row, highlight_last_row, table, tableWrapper, table_container, table_container_text, table_headline, td, th } from "./Table.css.js";
|
|
3
3
|
export {
|
|
4
4
|
Table,
|
|
5
5
|
TableBody,
|
|
@@ -8,6 +8,7 @@ export {
|
|
|
8
8
|
TableHead,
|
|
9
9
|
TableRow,
|
|
10
10
|
alternate_color_rows,
|
|
11
|
+
apy_table,
|
|
11
12
|
bodyHeader,
|
|
12
13
|
headerCell,
|
|
13
14
|
headerVariants,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
1
|
+
export * from './TextBlock';
|
|
2
|
+
export * from './TextBlock.css';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { RecipeVariants } from
|
|
1
|
+
import { RecipeVariants } from '@vanilla-extract/recipes';
|
|
2
|
+
|
|
2
3
|
/**
|
|
3
4
|
* Encode font
|
|
4
5
|
*/
|
|
@@ -8,7 +9,7 @@ export declare const headerCssVariable = "var(--header-font-family)";
|
|
|
8
9
|
*/
|
|
9
10
|
export declare const mainCssVariable = "var(--main-font-family)";
|
|
10
11
|
export declare const header: string;
|
|
11
|
-
export declare const sizes: import(
|
|
12
|
+
export declare const sizes: import('@vanilla-extract/recipes').RuntimeFn<{
|
|
12
13
|
size: {
|
|
13
14
|
xs: {
|
|
14
15
|
fontSize: number;
|
|
@@ -30,7 +31,7 @@ export declare const sizes: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
|
30
31
|
};
|
|
31
32
|
};
|
|
32
33
|
}>;
|
|
33
|
-
export declare const typography: import(
|
|
34
|
+
export declare const typography: import('@vanilla-extract/recipes').RuntimeFn<{
|
|
34
35
|
type: {
|
|
35
36
|
h1: {
|
|
36
37
|
fontFamily: "var(--header-font-family)";
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
1
|
+
import { TypographySizeVariants, TypographyVariants } from '.';
|
|
2
|
+
import { default as React } from 'react';
|
|
3
|
+
|
|
3
4
|
type AsType = "body1" | "body2" | "caption" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "inherit" | "overline" | "subtitle1" | "subtitle2" | string;
|
|
4
5
|
export interface Props extends React.PropsWithChildren {
|
|
5
6
|
as?: AsType;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from
|
|
1
|
+
export * from './Typography.css';
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
3
|
+
import "../icons/ArrowIcon/ArrowIcon.css.js";
|
|
3
4
|
import "../icons/CheckIcon/CheckIcon.css.js";
|
|
4
5
|
import SvgChevronDown from "../icons/ChevronDown.js";
|
|
5
6
|
import SvgChevronUp from "../icons/ChevronUp.js";
|
|
@@ -9,7 +10,7 @@ import SvgChevronUp from "../icons/ChevronUp.js";
|
|
|
9
10
|
import ReactMarkdown from "react-markdown";
|
|
10
11
|
import { useToggle } from "react-use";
|
|
11
12
|
import { VideoInit } from "./VideoInit.js";
|
|
12
|
-
import { video_container,
|
|
13
|
+
import { video_container, mb_8, video_title, vidyard_height, transcript_container, toggle_container, transcript_btn, expand_icon, transcript_content, show, hide_transcript } from "./VideoTile.css.js";
|
|
13
14
|
const VideoTile = ({
|
|
14
15
|
// ariaLabel,
|
|
15
16
|
title,
|
|
@@ -28,13 +29,13 @@ const VideoTile = ({
|
|
|
28
29
|
};
|
|
29
30
|
return /* @__PURE__ */ jsxs("div", { id: `id_${id}`, className: `flex center`, children: [
|
|
30
31
|
/* @__PURE__ */ jsx(VideoInit, {}),
|
|
31
|
-
/* @__PURE__ */ jsxs("div", { className:
|
|
32
|
+
/* @__PURE__ */ jsxs("div", { className: `containment ${video_container} flex_col`, children: [
|
|
32
33
|
title && /* @__PURE__ */ jsx("h2", { className: `${mb_8} ${video_title}`, children: title }),
|
|
33
34
|
/* @__PURE__ */ jsx(
|
|
34
35
|
"div",
|
|
35
36
|
{
|
|
36
37
|
id: "",
|
|
37
|
-
className: `${mb_8} ${vidyard_height} vidyard-player-container rounded`,
|
|
38
|
+
className: `${mb_8} ${vidyard_height} vidyard-player-container rounded bordered`,
|
|
38
39
|
"data-uuid": videoId,
|
|
39
40
|
children: /* @__PURE__ */ jsx(
|
|
40
41
|
"img",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
3
|
-
export * from
|
|
4
|
-
export * from
|
|
1
|
+
export * from './VideoInit';
|
|
2
|
+
export * from './VideoTile';
|
|
3
|
+
export * from './VideoTile.css';
|
|
4
|
+
export * from './VideoTile.interface';
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { VideoTileInterface } from '../VideoTile';
|
|
2
|
+
import { FC } from 'react';
|
|
3
|
+
|
|
3
4
|
export interface VideoWrapperProps {
|
|
4
5
|
videoTiles: VideoTileInterface[];
|
|
5
6
|
backgroundColor?: string;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
2
2
|
import "next/script.js";
|
|
3
3
|
import { VideoTile } from "../VideoTile/VideoTile.js";
|
|
4
|
+
/* empty css */
|
|
4
5
|
/* empty css */
|
|
5
6
|
/* empty css */
|
|
6
|
-
/* empty css */
|
|
7
7
|
/* empty css */
|
|
8
|
-
import { grid_3, grid_2 } from "./VideoWrapper.css.js";
|
|
8
|
+
import { grid_wrapper, grid_3, grid_2 } from "./VideoWrapper.css.js";
|
|
9
9
|
const VideoWrapper = ({
|
|
10
10
|
title,
|
|
11
11
|
videoTiles,
|
|
@@ -17,23 +17,29 @@ const VideoWrapper = ({
|
|
|
17
17
|
{
|
|
18
18
|
id: `id_${id}`,
|
|
19
19
|
style: backgroundColor ? { backgroundColor } : {},
|
|
20
|
-
children: /* @__PURE__ */
|
|
20
|
+
children: /* @__PURE__ */ jsx("section", { children: /* @__PURE__ */ jsxs("div", { className: "containment", children: [
|
|
21
21
|
/* @__PURE__ */ jsx("div", { className: "section_header", children: /* @__PURE__ */ jsx("h2", { className: "header_1", children: title }) }),
|
|
22
|
-
/* @__PURE__ */ jsx(
|
|
23
|
-
|
|
22
|
+
/* @__PURE__ */ jsx(
|
|
23
|
+
"div",
|
|
24
24
|
{
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
25
|
+
className: `${grid_wrapper} ${videoTiles.length % 3 === 0 ? grid_3 : grid_2}`,
|
|
26
|
+
children: videoTiles == null ? void 0 : videoTiles.map((videoItem, index) => /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsx(
|
|
27
|
+
VideoTile,
|
|
28
|
+
{
|
|
29
|
+
id: videoItem.id,
|
|
30
|
+
title: videoItem == null ? void 0 : videoItem.title,
|
|
31
|
+
videoId: videoItem == null ? void 0 : videoItem.videoId,
|
|
32
|
+
thumbnailImage: videoItem == null ? void 0 : videoItem.thumbnailImage,
|
|
33
|
+
displayType: videoItem == null ? void 0 : videoItem.displayType,
|
|
34
|
+
maxWidth: (videoItem == null ? void 0 : videoItem.maxWidth) || "588px",
|
|
35
|
+
videoPlayer: videoItem.displayType,
|
|
36
|
+
transcript: videoItem == null ? void 0 : videoItem.transcript
|
|
37
|
+
},
|
|
38
|
+
index
|
|
39
|
+
) }))
|
|
40
|
+
}
|
|
41
|
+
)
|
|
42
|
+
] }) })
|
|
37
43
|
},
|
|
38
44
|
id
|
|
39
45
|
);
|