@axos-web-dev/shared-components 0.0.17 → 0.0.18
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 +3 -2
- package/dist/Button/Button.d.ts +4 -3
- package/dist/Button/Button.interface.d.ts +2 -1
- package/dist/Button/GoBackButton.d.ts +3 -2
- package/dist/Button/index.d.ts +3 -3
- package/dist/CallToActionBar/CallToActionBar.interface.d.ts +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/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/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.d.ts +3 -2
- package/dist/VideoTile/VideoTile.js +3 -2
- package/dist/VideoTile/index.d.ts +4 -4
- package/dist/VideoWrapper/index.d.ts +3 -2
- package/dist/VideoWrapper/index.js +1 -0
- package/dist/assets/Forms/Forms.css +1 -1
- package/dist/assets/HeroBanner/HeroBanner.css +100 -51
- 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/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 +1 -1
- package/dist/main.js +15 -3
- package/dist/themes/index.d.ts +2 -2
- package/dist/utils/allowedAxosDomains.js +5 -5
- 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,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,7 +29,7 @@ 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 flex_col`, children: [
|
|
32
33
|
title && /* @__PURE__ */ jsx("h2", { className: `${mb_8} ${video_title}`, children: title }),
|
|
33
34
|
/* @__PURE__ */ jsx(
|
|
34
35
|
"div",
|
|
@@ -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;
|
|
@@ -17,6 +17,7 @@ const VideoWrapper = ({
|
|
|
17
17
|
{
|
|
18
18
|
id: `id_${id}`,
|
|
19
19
|
style: backgroundColor ? { backgroundColor } : {},
|
|
20
|
+
className: "containment",
|
|
20
21
|
children: /* @__PURE__ */ jsxs("section", { children: [
|
|
21
22
|
/* @__PURE__ */ jsx("div", { className: "section_header", children: /* @__PURE__ */ jsx("h2", { className: "header_1", children: title }) }),
|
|
22
23
|
/* @__PURE__ */ jsx("div", { className: `${videoTiles.length % 3 === 0 ? grid_3 : grid_2}`, children: videoTiles == null ? void 0 : videoTiles.map((videoItem, index) => /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsx(
|
|
@@ -1,153 +1,202 @@
|
|
|
1
|
-
.
|
|
1
|
+
._1ye8k3f1 {
|
|
2
2
|
position: relative;
|
|
3
3
|
overflow: hidden;
|
|
4
4
|
isolation: isolate;
|
|
5
5
|
}
|
|
6
|
-
.
|
|
6
|
+
._1ye8k3f2 {
|
|
7
7
|
background: var(--_1073cm81);
|
|
8
8
|
color: var(--_1073cm82);
|
|
9
9
|
}
|
|
10
|
-
.
|
|
10
|
+
._1ye8k3f3 {
|
|
11
11
|
background: var(--_1073cm88);
|
|
12
12
|
color: var(--_1073cm89);
|
|
13
13
|
}
|
|
14
|
-
.
|
|
14
|
+
._1ye8k3f4 {
|
|
15
15
|
background: var(--_1073cm8f);
|
|
16
16
|
color: var(--_1073cm8g);
|
|
17
17
|
}
|
|
18
|
-
.
|
|
18
|
+
._1ye8k3f5 {
|
|
19
19
|
background: var(--_1073cm8m);
|
|
20
20
|
color: var(--_1073cm8n);
|
|
21
21
|
}
|
|
22
|
-
.
|
|
22
|
+
._1ye8k3f6 {
|
|
23
23
|
display: flex;
|
|
24
24
|
justify-content: space-between;
|
|
25
25
|
align-items: center;
|
|
26
|
-
min-height: 480px;
|
|
27
|
-
gap: 2rem;
|
|
28
26
|
}
|
|
29
|
-
.
|
|
27
|
+
._1ye8k3f8 {
|
|
30
28
|
padding: 2rem 0;
|
|
31
29
|
}
|
|
32
|
-
.
|
|
30
|
+
._1ye8k3fa {
|
|
33
31
|
display: flex;
|
|
34
32
|
justify-content: flex-end;
|
|
33
|
+
max-width: 600px;
|
|
35
34
|
}
|
|
36
|
-
.
|
|
37
|
-
max-width:
|
|
35
|
+
._1ye8k3fa img {
|
|
36
|
+
max-width: 604px;
|
|
37
|
+
max-height: 510px;
|
|
38
38
|
object-fit: cover;
|
|
39
39
|
aspect-ratio: 1 / 1;
|
|
40
|
-
max-height: 480px;
|
|
41
40
|
}
|
|
42
|
-
.
|
|
41
|
+
._1ye8k3fb {
|
|
43
42
|
display: block;
|
|
44
43
|
font: 700 14px / 1.3 var(--main-font-family);
|
|
45
44
|
margin-bottom: 2px;
|
|
46
45
|
letter-spacing: .2px;
|
|
47
46
|
}
|
|
48
|
-
.
|
|
47
|
+
._1ye8k3fc {
|
|
49
48
|
background: var(--_1073cm84);
|
|
50
49
|
background-clip: text;
|
|
51
50
|
-webkit-text-fill-color: transparent;
|
|
52
51
|
}
|
|
53
|
-
.
|
|
52
|
+
._1ye8k3fd {
|
|
54
53
|
background: var(--_1073cm8b);
|
|
55
54
|
background-clip: text;
|
|
56
55
|
-webkit-text-fill-color: transparent;
|
|
57
56
|
}
|
|
58
|
-
.
|
|
57
|
+
._1ye8k3fe {
|
|
59
58
|
color: var(--_1073cm8k);
|
|
60
59
|
}
|
|
61
|
-
.
|
|
60
|
+
._1ye8k3ff {
|
|
62
61
|
color: var(--_1073cm8n);
|
|
63
62
|
}
|
|
64
|
-
.
|
|
65
|
-
margin-bottom: 1.5rem;
|
|
63
|
+
._1ye8k3fg {
|
|
66
64
|
font: 600 2.5rem / 1.25 var(--header-font-family);
|
|
67
65
|
}
|
|
68
|
-
.
|
|
66
|
+
._1ye8k3fh {
|
|
69
67
|
background: var(--_1073cm84);
|
|
70
68
|
background-clip: text;
|
|
71
69
|
-webkit-text-fill-color: transparent;
|
|
72
70
|
}
|
|
73
|
-
.
|
|
71
|
+
._1ye8k3fi {
|
|
74
72
|
background: var(--_1073cm8b);
|
|
75
73
|
background-clip: text;
|
|
76
74
|
-webkit-text-fill-color: transparent;
|
|
77
75
|
}
|
|
78
|
-
.
|
|
76
|
+
._1ye8k3fj {
|
|
79
77
|
color: var(--_1073cm8h);
|
|
80
78
|
}
|
|
81
|
-
.
|
|
79
|
+
._1ye8k3fk {
|
|
82
80
|
color: var(--_1073cm8o);
|
|
83
81
|
}
|
|
84
|
-
.
|
|
82
|
+
._1ye8k3f8 p {
|
|
85
83
|
font: 400 18px / 1.44 var(--main-font-family);
|
|
86
84
|
letter-spacing: .2px;
|
|
87
85
|
}
|
|
88
|
-
.
|
|
86
|
+
._1ye8k3fl {
|
|
89
87
|
margin-top: 3.5rem;
|
|
90
88
|
display: flex;
|
|
91
89
|
align-items: center;
|
|
92
90
|
gap: 2rem;
|
|
93
91
|
}
|
|
92
|
+
._1ye8k3fl:empty {
|
|
93
|
+
display: none;
|
|
94
|
+
}
|
|
95
|
+
._1ye8k3f0 ._1ye8k3fl > *:nth-child(2) {
|
|
96
|
+
margin-top: 1.5rem;
|
|
97
|
+
margin-left: 0;
|
|
98
|
+
}
|
|
99
|
+
@media screen and (max-width:1280px) {
|
|
100
|
+
._1ye8k3fl {
|
|
101
|
+
margin-top: 2.5rem;
|
|
102
|
+
}
|
|
103
|
+
._1ye8k3f0 ._1ye8k3fl {
|
|
104
|
+
flex-direction: column;
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
@media (max-width: 1280px) and (min-width: 1024px) {
|
|
108
|
+
._1ye8k3f0 ._1ye8k3f9 {
|
|
109
|
+
width: calc(100%-28px);
|
|
110
|
+
}
|
|
111
|
+
._1ye8k3fa img {
|
|
112
|
+
aspect-ratio: 1 / 1;
|
|
113
|
+
}
|
|
114
|
+
._1ye8k3f0 ._1ye8k3fl {
|
|
115
|
+
align-items: flex-start;
|
|
116
|
+
}
|
|
117
|
+
}
|
|
94
118
|
@media screen and (max-width:1024px) {
|
|
95
|
-
.
|
|
119
|
+
._1ye8k3f6 {
|
|
96
120
|
flex-direction: column;
|
|
97
121
|
}
|
|
98
|
-
.
|
|
122
|
+
._1ye8k3fl {
|
|
99
123
|
flex-direction: column;
|
|
100
124
|
}
|
|
101
125
|
}
|
|
102
|
-
@media
|
|
126
|
+
@media (max-width: 1023px) {
|
|
127
|
+
._1ye8k3fa {
|
|
128
|
+
justify-content: center;
|
|
129
|
+
width: min(375px,100%);
|
|
130
|
+
}
|
|
131
|
+
._1ye8k3fa img {
|
|
132
|
+
max-width: 100%;
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
@media (min-width: 1024px) {
|
|
103
136
|
._1ye8k3f6 {
|
|
104
|
-
|
|
137
|
+
gap: 2rem;
|
|
138
|
+
min-height: 480px;
|
|
105
139
|
}
|
|
140
|
+
._1ye8k3f0 ._1ye8k3f6 {
|
|
141
|
+
min-height: 740px;
|
|
142
|
+
gap: 1.5rem;
|
|
143
|
+
}
|
|
144
|
+
._1ye8k3fa {
|
|
145
|
+
_1ye8k3f0 & {
|
|
146
|
+
max-width: 708px;
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
@media screen and (min-width:1024px) {
|
|
106
151
|
._1ye8k3f7 {
|
|
152
|
+
flex-direction: row-reverse;
|
|
153
|
+
}
|
|
154
|
+
._1ye8k3f8 {
|
|
107
155
|
flex: 1 1;
|
|
108
156
|
max-width: 588px;
|
|
109
157
|
}
|
|
158
|
+
._1ye8k3f0 ._1ye8k3f8 {
|
|
159
|
+
max-width: 468px;
|
|
160
|
+
}
|
|
110
161
|
}
|
|
111
162
|
@media screen and (max-width:1023px) {
|
|
112
|
-
._1ye8k3f7 {
|
|
113
|
-
text-align: center;
|
|
114
|
-
}
|
|
115
163
|
._1ye8k3f8 {
|
|
116
|
-
|
|
117
|
-
width: min(375px, 100%);
|
|
164
|
+
text-align: center;
|
|
118
165
|
}
|
|
119
166
|
}
|
|
120
167
|
@media screen and (max-width:603px) {
|
|
121
|
-
.
|
|
168
|
+
._1ye8k3f8 {
|
|
122
169
|
max-width: calc(100% - 2rem);
|
|
123
170
|
margin-left: auto;
|
|
124
171
|
margin-right: auto;
|
|
125
172
|
}
|
|
126
173
|
}
|
|
127
|
-
@media (max-width:
|
|
128
|
-
.
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
._1ye8k3f5:not(._1ye8k3f9 ._1ye8k3f5) > * {
|
|
132
|
-
max-width: 50%;
|
|
133
|
-
width: 50%;
|
|
134
|
-
}
|
|
135
|
-
}
|
|
136
|
-
@media screen and (max-width:1280px) {
|
|
137
|
-
._1ye8k3fk {
|
|
138
|
-
margin-top: 2.5rem;
|
|
174
|
+
@media (max-width: 603px) {
|
|
175
|
+
._1ye8k3f9 {
|
|
176
|
+
width: 100%;
|
|
177
|
+
max-width: 100%;
|
|
139
178
|
}
|
|
140
179
|
}
|
|
141
180
|
@media screen and (max-width:768px) {
|
|
142
|
-
.
|
|
181
|
+
._1ye8k3fg {
|
|
143
182
|
font-size: 28px;
|
|
144
183
|
line-height: 1.29;
|
|
145
184
|
}
|
|
146
|
-
.
|
|
185
|
+
._1ye8k3f8 p {
|
|
147
186
|
font-size: 1rem;
|
|
148
187
|
line-height: 1.5;
|
|
149
188
|
}
|
|
150
|
-
.
|
|
189
|
+
._1ye8k3fl {
|
|
151
190
|
margin-top: 1.7rem;
|
|
152
191
|
}
|
|
192
|
+
}
|
|
193
|
+
@media (max-width:1280px) and (min-width:1024px) {
|
|
194
|
+
._1ye8k3fa:not(._1ye8k3f0 ._1ye8k3fa) {
|
|
195
|
+
flex: 1 1;
|
|
196
|
+
overflow: hidden;
|
|
197
|
+
}
|
|
198
|
+
._1ye8k3f6:not(._1ye8k3f0 ._1ye8k3f6) > * {
|
|
199
|
+
max-width: 50%;
|
|
200
|
+
width: 50%;
|
|
201
|
+
}
|
|
153
202
|
}
|