@axos-web-dev/shared-components 0.0.11 → 0.0.13
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/ApyCalculator/index.js +3 -2
- package/dist/Button/Button.d.ts +24 -0
- package/dist/Button/Button.js +47 -0
- package/dist/Button/GoBackButton.d.ts +3 -0
- package/dist/Button/GoBackButton.js +15 -0
- package/dist/Button/index.d.ts +3 -21
- package/dist/Button/index.js +5 -20
- package/dist/CallToActionBar/index.js +30 -36
- package/dist/Chevron/index.js +53 -1
- package/dist/CollectInformationAlert/index.js +4 -1
- package/dist/ContentBanner/index.js +4 -1
- package/dist/Forms/Forms.css.d.ts +1 -0
- package/dist/Forms/Forms.css.js +2 -0
- package/dist/Forms/ScheduleCall.d.ts +2 -1
- package/dist/Forms/ScheduleCall.js +11 -13
- package/dist/Forms/index.js +2 -1
- package/dist/HeroBanner/index.js +4 -1
- package/dist/Hyperlink/index.js +58 -1
- package/dist/IconBillboard/IconBillboard.d.ts +3 -1
- package/dist/IconBillboard/IconBillboard.interface.d.ts +2 -0
- package/dist/IconBillboard/IconBillboard.js +49 -34
- package/dist/IconBillboard/IconBillboardSet.js +50 -56
- package/dist/ImageBillboard/ImageBillboard.css.d.ts +1 -0
- package/dist/ImageBillboard/ImageBillboard.interface.d.ts +3 -0
- package/dist/ImageBillboard/ImageBillboard.js +4 -1
- package/dist/ImageBillboard/ImageBillboardSet.d.ts +1 -1
- package/dist/ImageBillboard/ImageBillboardSet.js +12 -3
- package/dist/MainHTML/index.d.ts +1 -1
- package/dist/MainHTML/index.js +1 -1
- package/dist/Modal/Modal.d.ts +3 -0
- package/dist/Modal/Modal.js +95 -0
- package/dist/Modal/contextApi/store.d.ts +10 -0
- package/dist/Modal/contextApi/store.js +55 -0
- package/dist/Modal/index.d.ts +2 -3
- package/dist/Modal/index.js +7 -92
- package/dist/NavigationMenu/AxosAdvisor/NavBar.css.d.ts +2 -0
- package/dist/NavigationMenu/AxosAdvisor/NavBar.css.js +9 -0
- package/dist/NavigationMenu/AxosAdvisor/NavBar.module.js +52 -52
- package/dist/NavigationMenu/AxosAdvisor/NavData.d.ts +4 -0
- package/dist/NavigationMenu/AxosAdvisor/NavData.js +10 -0
- package/dist/NavigationMenu/AxosAdvisor/SubNavBar.js +44 -47
- package/dist/NavigationMenu/AxosAdvisor/SubNavbar.css.d.ts +4 -0
- package/dist/NavigationMenu/AxosAdvisor/SubNavbar.css.js +13 -0
- package/dist/NavigationMenu/AxosAdvisor/index.js +273 -203
- package/dist/NavigationMenu/AxosFiduciary/NavBar.module.js +40 -40
- package/dist/NavigationMenu/AxosFiduciary/index.js +12 -6
- package/dist/SecondaryFooter/index.js +2 -1
- package/dist/SetContainer/SetContainer.js +30 -1
- package/dist/Table/Table.css.d.ts +19 -6
- package/dist/Table/Table.css.js +5 -1
- package/dist/Table/Table.d.ts +3 -5
- package/dist/Table/Table.interface.d.ts +2 -0
- package/dist/Table/Table.js +8 -5
- package/dist/Table/index.js +3 -1
- package/dist/VideoTile/VideoTile.js +2 -2
- package/dist/assets/CallToActionBar/CallToActionBar.css +19 -8
- package/dist/assets/ContentBanner/ContentBanner.css +2 -0
- package/dist/assets/FaqAccordion/FaqAccordion.css +2 -2
- package/dist/assets/Forms/Forms.css +9 -1
- package/dist/assets/IconBillboard/IconBillboard.css +8 -2
- package/dist/assets/ImageBillboard/ImageBillboard.css +29 -0
- package/dist/assets/Input/Input.css +2 -1
- package/dist/assets/Modal/Modal.css +3 -3
- package/dist/assets/NavigationMenu/AxosAdvisor/NavBar.css +9 -0
- package/dist/assets/NavigationMenu/AxosAdvisor/NavBar.css.css +125 -122
- package/dist/assets/NavigationMenu/AxosAdvisor/SubNavbar.css +17 -0
- package/dist/assets/NavigationMenu/AxosFiduciary/NavBar.css.css +82 -82
- package/dist/assets/SecondaryFooter/SecondaryFooter.css +0 -2
- package/dist/assets/SetContainer/SetContainer.css +6 -1
- package/dist/assets/Table/Table.css +61 -21
- package/dist/assets/VideoTile/VideoTile.css +1 -0
- package/dist/assets/globals.css +0 -3
- package/dist/main.js +24 -4
- package/dist/utils/allowedAxosDomains.d.ts +2 -0
- package/dist/utils/allowedAxosDomains.js +40 -0
- package/dist/utils/index.d.ts +2 -0
- package/dist/utils/index.js +10 -1
- package/dist/utils/validateExternalLinks.d.ts +5 -0
- package/dist/utils/validateExternalLinks.js +32 -0
- package/package.json +4 -2
- package/dist/NavigationMenu/AxosFiduciary/MobileToggle.d.ts +0 -2
- package/dist/NavigationMenu/AxosFiduciary/MobileToggle.js +0 -120
|
@@ -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_101h6_1";
|
|
2
|
+
const wrapper = "_wrapper_101h6_5";
|
|
3
|
+
const header_main_row = "_header_main_row_101h6_11";
|
|
4
|
+
const mobile_header = "_mobile_header_101h6_12";
|
|
5
|
+
const logo_wrap = "_logo_wrap_101h6_18";
|
|
6
|
+
const primary_links = "_primary_links_101h6_22";
|
|
7
|
+
const main_nav = "_main_nav_101h6_26";
|
|
8
|
+
const main_nav_link = "_main_nav_link_101h6_33";
|
|
9
|
+
const sub_nav_link = "_sub_nav_link_101h6_55";
|
|
10
|
+
const signin_wrap = "_signin_wrap_101h6_57";
|
|
11
|
+
const signin_btn = "_signin_btn_101h6_58";
|
|
12
|
+
const sub_nav = "_sub_nav_101h6_55";
|
|
13
|
+
const header_sub_row = "_header_sub_row_101h6_99";
|
|
14
|
+
const shadow = "_shadow_101h6_115";
|
|
15
|
+
const opacity = "_opacity_101h6_131";
|
|
16
|
+
const fadeInDown = "_fadeInDown_101h6_1";
|
|
17
|
+
const footer = "_footer_101h6_137";
|
|
18
|
+
const open = "_open_101h6_153";
|
|
19
|
+
const mt_8 = "_mt_8_101h6_161";
|
|
20
|
+
const mt_16 = "_mt_16_101h6_165";
|
|
21
|
+
const ml_8 = "_ml_8_101h6_169";
|
|
22
|
+
const reversed_row = "_reversed_row_101h6_173";
|
|
23
|
+
const nav_anchor = "_nav_anchor_101h6_177";
|
|
24
|
+
const site_lists = "_site_lists_101h6_188";
|
|
25
|
+
const hamburger = "_hamburger_101h6_192";
|
|
26
|
+
const mobile_logo = "_mobile_logo_101h6_206";
|
|
27
|
+
const mobile_nav = "_mobile_nav_101h6_229";
|
|
28
|
+
const mobile_opened = "_mobile_opened_101h6_241";
|
|
29
|
+
const mobile_nav_item = "_mobile_nav_item_101h6_245";
|
|
30
|
+
const icon_wrap = "_icon_wrap_101h6_260";
|
|
31
|
+
const mobile_footer = "_mobile_footer_101h6_265";
|
|
32
|
+
const mobile_footer_content = "_mobile_footer_content_101h6_271";
|
|
33
|
+
const mobile_footer_media = "_mobile_footer_media_101h6_285";
|
|
34
|
+
const footer_cta = "_footer_cta_101h6_292";
|
|
35
|
+
const inner_wrapper = "_inner_wrapper_101h6_324";
|
|
36
|
+
const btn = "_btn_101h6_328";
|
|
37
|
+
const sub_menu = "_sub_menu_101h6_333";
|
|
38
|
+
const main = "_main_101h6_26";
|
|
39
|
+
const desktop_only = "_desktop_only_101h6_362";
|
|
40
|
+
const mobile_only = "_mobile_only_101h6_409";
|
|
41
41
|
const styles = {
|
|
42
42
|
header,
|
|
43
43
|
wrapper,
|
|
@@ -123,12 +123,18 @@ const NavBarAFS = () => {
|
|
|
123
123
|
}
|
|
124
124
|
) })
|
|
125
125
|
] }),
|
|
126
|
-
/* @__PURE__ */ jsx("div", { className: styles.mobile_body, children: /* @__PURE__ */
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
126
|
+
/* @__PURE__ */ jsx("div", { className: styles.mobile_body, children: /* @__PURE__ */ jsx("ul", { className: "list_unstyled", children: navItems.map(
|
|
127
|
+
(item, i) => /* @__PURE__ */ jsx(
|
|
128
|
+
NavItem,
|
|
129
|
+
{
|
|
130
|
+
className: styles.mobile_nav_item,
|
|
131
|
+
index: i,
|
|
132
|
+
name: item.name,
|
|
133
|
+
url: item.url
|
|
134
|
+
},
|
|
135
|
+
`dd_${i}`
|
|
136
|
+
)
|
|
137
|
+
) }) }),
|
|
132
138
|
/* @__PURE__ */ jsx("div", { className: styles.mobile_footer, children: /* @__PURE__ */ jsxs("div", { className: "flex_row between", children: [
|
|
133
139
|
/* @__PURE__ */ jsxs(
|
|
134
140
|
"div",
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import clsx from "clsx";
|
|
2
3
|
import { secondary_footer, footer_items_wrapper, footer_item, footer_link } from "./SecondaryFooter.css.js";
|
|
3
4
|
const SecondaryFooter = (props) => {
|
|
4
5
|
const { items } = props;
|
|
5
|
-
return /* @__PURE__ */ jsx("div", { className:
|
|
6
|
+
return /* @__PURE__ */ jsx("div", { className: clsx(secondary_footer, "containment section_spacer"), children: /* @__PURE__ */ jsx("div", { className: footer_items_wrapper, children: items == null ? void 0 : items.map((item) => /* @__PURE__ */ jsx("div", { className: footer_item, children: /* @__PURE__ */ jsx("a", { href: item.targetURL, className: footer_link, "aria-label": "", children: item.displayText }) }, item.id)) }) });
|
|
6
7
|
};
|
|
7
8
|
export {
|
|
8
9
|
SecondaryFooter
|
|
@@ -6,12 +6,41 @@ import "../icons/CheckIcon/CheckIcon.css.js";
|
|
|
6
6
|
/* empty css */
|
|
7
7
|
/* empty css */
|
|
8
8
|
/* empty css */
|
|
9
|
+
import "../Accordion/Accordion.js";
|
|
10
|
+
import "../Accordion/Accordion.css.js";
|
|
11
|
+
import "../AlertBanner/AlertBanner.css.js";
|
|
12
|
+
import "../Modal/contextApi/store.js";
|
|
9
13
|
import { getVariant } from "../utils/getVariant.js";
|
|
10
|
-
import "../Chevron/Chevron.css.js";
|
|
11
14
|
import "clsx";
|
|
12
15
|
import "react";
|
|
13
16
|
import "../Button/Button.css.js";
|
|
17
|
+
import "react-use";
|
|
18
|
+
/* empty css */
|
|
19
|
+
/* empty css */
|
|
20
|
+
import "../Carousel/index.js";
|
|
21
|
+
/* empty css */
|
|
22
|
+
import "../HeroBanner/HeroBanner.css.js";
|
|
23
|
+
import "../ContentBanner/ContentBanner.css.js";
|
|
24
|
+
/* empty css */
|
|
25
|
+
import "../FaqAccordion/index.js";
|
|
26
|
+
import "../FooterDisclosure/FooterDisclosure.css.js";
|
|
27
|
+
import "../Forms/Forms.css.js";
|
|
28
|
+
import "../Forms/SalesforceFieldsForm.js";
|
|
29
|
+
import "@hookform/resolvers/zod";
|
|
30
|
+
import "../Input/index.js";
|
|
31
|
+
import "react-hook-form";
|
|
14
32
|
import { inline_container } from "./SetContainer.css.js";
|
|
33
|
+
import "../ImageBillboard/ImageBillboard.css.js";
|
|
34
|
+
import "../Chevron/Chevron.css.js";
|
|
35
|
+
/* empty css */
|
|
36
|
+
/* empty css */
|
|
37
|
+
/* empty css */
|
|
38
|
+
/* empty css */
|
|
39
|
+
import "../Table/Table.css.js";
|
|
40
|
+
/* empty css */
|
|
41
|
+
import "next/script.js";
|
|
42
|
+
/* empty css */
|
|
43
|
+
/* empty css */
|
|
15
44
|
const SetContainer = ({
|
|
16
45
|
id,
|
|
17
46
|
variant,
|
|
@@ -77,7 +77,7 @@ export declare const td: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
|
77
77
|
selectors: {
|
|
78
78
|
"&:first-child": {
|
|
79
79
|
background: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
80
|
-
color: `var(--${string})
|
|
80
|
+
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
81
81
|
};
|
|
82
82
|
};
|
|
83
83
|
"@media": {
|
|
@@ -96,7 +96,7 @@ export declare const td: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
|
96
96
|
selectors: {
|
|
97
97
|
"&:first-child": {
|
|
98
98
|
background: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
99
|
-
color: `var(--${string})
|
|
99
|
+
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
100
100
|
};
|
|
101
101
|
};
|
|
102
102
|
"@media": {
|
|
@@ -114,23 +114,36 @@ export declare const td: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
|
114
114
|
true: {};
|
|
115
115
|
};
|
|
116
116
|
}>;
|
|
117
|
+
export declare const tableWrapper: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
118
|
+
variant: {
|
|
119
|
+
primary: {
|
|
120
|
+
border: `1px solid var(--${string})` | `1px solid var(--${string}, ${string})` | `1px solid var(--${string}, ${number})`;
|
|
121
|
+
};
|
|
122
|
+
secondary: {
|
|
123
|
+
border: `1px solid var(--${string})` | `1px solid var(--${string}, ${string})` | `1px solid var(--${string}, ${number})`;
|
|
124
|
+
};
|
|
125
|
+
tertiary: {
|
|
126
|
+
border: "none";
|
|
127
|
+
};
|
|
128
|
+
quaternary: {
|
|
129
|
+
border: "none";
|
|
130
|
+
};
|
|
131
|
+
};
|
|
132
|
+
}>;
|
|
117
133
|
export declare const table: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
118
134
|
variant: {
|
|
119
135
|
primary: {
|
|
120
136
|
background: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
121
|
-
border: `1px solid var(--${string})` | `1px solid var(--${string}, ${string})` | `1px solid var(--${string}, ${number})`;
|
|
122
137
|
};
|
|
123
138
|
secondary: {
|
|
124
139
|
background: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
125
|
-
border: `1px solid var(--${string})` | `1px solid var(--${string}, ${string})` | `1px solid var(--${string}, ${number})`;
|
|
126
140
|
};
|
|
127
141
|
tertiary: {
|
|
128
142
|
background: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
129
|
-
border: `1px solid var(--${string})` | `1px solid var(--${string}, ${string})` | `1px solid var(--${string}, ${number})`;
|
|
130
143
|
};
|
|
131
144
|
quaternary: {
|
|
132
145
|
background: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
133
|
-
border: `1px solid var(--${string})` | `1px solid var(--${string}, ${string})` | `1px solid var(--${string}, ${number})`;
|
|
134
146
|
};
|
|
135
147
|
};
|
|
136
148
|
}>;
|
|
149
|
+
export declare const alternate_color_rows: string;
|
package/dist/Table/Table.css.js
CHANGED
|
@@ -12,14 +12,18 @@ var headerVariants = { primary: "_1nivbwe6 _1nivbwe5", secondary: "_1nivbwe7 _1n
|
|
|
12
12
|
var bodyHeader = "_1nivbwea";
|
|
13
13
|
var th = createRuntimeFn({ defaultClassName: "_1nivbweb", variantClassNames: { variant: { primary: "_1nivbwec", secondary: "_1nivbwed", tertiary: "_1nivbwee", quaternary: "_1nivbwef" }, highlighted: { true: "_1nivbweg" } }, defaultVariants: {}, compoundVariants: [] });
|
|
14
14
|
var td = createRuntimeFn({ defaultClassName: "_1nivbweh", variantClassNames: { variant: { primary: "_1nivbwei", secondary: "_1nivbwej", tertiary: "_1nivbwek", quaternary: "_1nivbwel" }, highlighted: { true: "_1nivbwem" } }, defaultVariants: {}, compoundVariants: [[{ highlighted: true, variant: "primary" }, "_1nivbwen"], [{ highlighted: true, variant: "tertiary" }, "_1nivbweo"]] });
|
|
15
|
-
var
|
|
15
|
+
var tableWrapper = createRuntimeFn({ defaultClassName: "_1nivbwep", variantClassNames: { variant: { primary: "_1nivbweq", secondary: "_1nivbwer", tertiary: "_1nivbwes", quaternary: "_1nivbwet" } }, defaultVariants: {}, compoundVariants: [] });
|
|
16
|
+
var table = createRuntimeFn({ defaultClassName: "_1nivbweu", variantClassNames: { variant: { primary: "_1nivbwev", secondary: "_1nivbwew", tertiary: "_1nivbwex", quaternary: "_1nivbwey" } }, defaultVariants: {}, compoundVariants: [] });
|
|
17
|
+
var alternate_color_rows = "_1nivbwez";
|
|
16
18
|
export {
|
|
19
|
+
alternate_color_rows,
|
|
17
20
|
bodyHeader,
|
|
18
21
|
headerCell,
|
|
19
22
|
headerVariants,
|
|
20
23
|
highlight_first_row,
|
|
21
24
|
highlight_last_row,
|
|
22
25
|
table,
|
|
26
|
+
tableWrapper,
|
|
23
27
|
table_container,
|
|
24
28
|
table_container_text,
|
|
25
29
|
table_headline,
|
package/dist/Table/Table.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PropsWithChildren } from "react";
|
|
2
2
|
import { CellProps, RowProps, TableContainerProps, TableProps } from "./Table.interface";
|
|
3
3
|
export declare const TableContainer: ({ tableTitle, tableBody, tableFooter, }: TableContainerProps) => import("react/jsx-runtime").JSX.Element;
|
|
4
|
-
export declare const Table: ({ variant, children, highlight, }: TableProps) => import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
export declare const Table: ({ variant, children, highlight, tableType, alternateColorRows, }: TableProps) => import("react/jsx-runtime").JSX.Element;
|
|
5
5
|
export declare const TableRow: ({ children, ...props }: RowProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
6
|
export declare const TableHead: ({ children }: PropsWithChildren) => import("react/jsx-runtime").JSX.Element;
|
|
7
7
|
export declare const TableBody: ({ children }: PropsWithChildren) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -53,7 +53,7 @@ export declare const TableCell: ({ children, as, variant, highlighted, ...props
|
|
|
53
53
|
results?: number | undefined;
|
|
54
54
|
security?: string | undefined;
|
|
55
55
|
unselectable?: "on" | "off" | undefined;
|
|
56
|
-
inputMode?: "search" | "none" | "text" | "
|
|
56
|
+
inputMode?: "search" | "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
|
|
57
57
|
is?: string | undefined;
|
|
58
58
|
"aria-activedescendant"?: string | undefined;
|
|
59
59
|
"aria-atomic"?: (boolean | "false" | "true") | undefined;
|
|
@@ -67,7 +67,7 @@ export declare const TableCell: ({ children, as, variant, highlighted, ...props
|
|
|
67
67
|
"aria-colindextext"?: string | undefined;
|
|
68
68
|
"aria-colspan"?: number | undefined;
|
|
69
69
|
"aria-controls"?: string | undefined;
|
|
70
|
-
"aria-current"?: boolean | "page" | "false" | "true" | "time" | "
|
|
70
|
+
"aria-current"?: boolean | "page" | "false" | "true" | "time" | "step" | "location" | "date" | undefined;
|
|
71
71
|
"aria-describedby"?: string | undefined;
|
|
72
72
|
"aria-description"?: string | undefined;
|
|
73
73
|
"aria-details"?: string | undefined;
|
|
@@ -250,9 +250,7 @@ export declare const TableCell: ({ children, as, variant, highlighted, ...props
|
|
|
250
250
|
onPointerCancel?: import("react").PointerEventHandler<HTMLTableCellElement> | undefined;
|
|
251
251
|
onPointerCancelCapture?: import("react").PointerEventHandler<HTMLTableCellElement> | undefined;
|
|
252
252
|
onPointerEnter?: import("react").PointerEventHandler<HTMLTableCellElement> | undefined;
|
|
253
|
-
onPointerEnterCapture?: import("react").PointerEventHandler<HTMLTableCellElement> | undefined;
|
|
254
253
|
onPointerLeave?: import("react").PointerEventHandler<HTMLTableCellElement> | undefined;
|
|
255
|
-
onPointerLeaveCapture?: import("react").PointerEventHandler<HTMLTableCellElement> | undefined;
|
|
256
254
|
onPointerOver?: import("react").PointerEventHandler<HTMLTableCellElement> | undefined;
|
|
257
255
|
onPointerOverCapture?: import("react").PointerEventHandler<HTMLTableCellElement> | undefined;
|
|
258
256
|
onPointerOut?: import("react").PointerEventHandler<HTMLTableCellElement> | undefined;
|
|
@@ -9,6 +9,8 @@ export interface CellProps extends HtmlHTMLAttributes<HTMLTableCellElement>, Pro
|
|
|
9
9
|
export interface TableProps extends PropsWithChildren {
|
|
10
10
|
variant: string;
|
|
11
11
|
highlight?: "First Row" | "Last Row" | "First and Last Row" | undefined;
|
|
12
|
+
tableType?: "Standard" | "Rate";
|
|
13
|
+
alternateColorRows?: boolean;
|
|
12
14
|
}
|
|
13
15
|
export interface TableContainerProps extends PropsWithChildren {
|
|
14
16
|
variant: string;
|
package/dist/Table/Table.js
CHANGED
|
@@ -2,7 +2,7 @@ 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, table, highlight_first_row, highlight_last_row, 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, td, th } from "./Table.css.js";
|
|
6
6
|
const TableContainer = ({
|
|
7
7
|
tableTitle,
|
|
8
8
|
tableBody,
|
|
@@ -17,20 +17,23 @@ const TableContainer = ({
|
|
|
17
17
|
const Table = ({
|
|
18
18
|
variant = "primary",
|
|
19
19
|
children,
|
|
20
|
-
highlight
|
|
20
|
+
highlight,
|
|
21
|
+
tableType,
|
|
22
|
+
alternateColorRows = false
|
|
21
23
|
}) => {
|
|
22
|
-
return /* @__PURE__ */ jsx(
|
|
24
|
+
return /* @__PURE__ */ jsx("div", { className: tableWrapper({ variant: getVariant(variant) }), children: /* @__PURE__ */ jsx(
|
|
23
25
|
"table",
|
|
24
26
|
{
|
|
25
27
|
className: clsx(
|
|
26
28
|
table({ variant: getVariant(variant) }),
|
|
27
29
|
highlight === "First Row" && highlight_first_row,
|
|
28
30
|
highlight === "Last Row" && highlight_last_row,
|
|
29
|
-
highlight === "First and Last Row" && `${highlight_first_row} ${highlight_last_row}
|
|
31
|
+
highlight === "First and Last Row" && `${highlight_first_row} ${highlight_last_row}`,
|
|
32
|
+
alternateColorRows || tableType === "Rate" ? alternate_color_rows : ""
|
|
30
33
|
),
|
|
31
34
|
children
|
|
32
35
|
}
|
|
33
|
-
);
|
|
36
|
+
) });
|
|
34
37
|
};
|
|
35
38
|
const TableRow = ({ children, ...props }) => {
|
|
36
39
|
return /* @__PURE__ */ jsx("tr", { ...props, children });
|
package/dist/Table/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Table, TableBody, TableCell, TableContainer, TableHead, TableRow } from "./Table.js";
|
|
2
|
-
import { bodyHeader, headerCell, headerVariants, highlight_first_row, highlight_last_row, table, table_container, table_container_text, table_headline, td, th } from "./Table.css.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";
|
|
3
3
|
export {
|
|
4
4
|
Table,
|
|
5
5
|
TableBody,
|
|
@@ -7,12 +7,14 @@ export {
|
|
|
7
7
|
TableContainer,
|
|
8
8
|
TableHead,
|
|
9
9
|
TableRow,
|
|
10
|
+
alternate_color_rows,
|
|
10
11
|
bodyHeader,
|
|
11
12
|
headerCell,
|
|
12
13
|
headerVariants,
|
|
13
14
|
highlight_first_row,
|
|
14
15
|
highlight_last_row,
|
|
15
16
|
table,
|
|
17
|
+
tableWrapper,
|
|
16
18
|
table_container,
|
|
17
19
|
table_container_text,
|
|
18
20
|
table_headline,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { jsxs,
|
|
2
|
+
import { jsxs, jsx } from "react/jsx-runtime";
|
|
3
3
|
import ReactMarkdown from "react-markdown";
|
|
4
4
|
import { useToggle } from "react-use";
|
|
5
5
|
import "../icons/CheckIcon/CheckIcon.css.js";
|
|
@@ -25,7 +25,7 @@ const VideoTile = ({
|
|
|
25
25
|
event.preventDefault();
|
|
26
26
|
toggle();
|
|
27
27
|
};
|
|
28
|
-
return /* @__PURE__ */ jsxs(
|
|
28
|
+
return /* @__PURE__ */ jsxs("div", { className: `flex center`, children: [
|
|
29
29
|
/* @__PURE__ */ jsx(VideoInit, {}),
|
|
30
30
|
/* @__PURE__ */ jsxs("div", { className: `${video_container} ${w_100} flex flex_col`, children: [
|
|
31
31
|
/* @__PURE__ */ jsx("h2", { className: `${mb_8} ${video_title}`, children: title ? title : null }),
|
|
@@ -8,7 +8,6 @@
|
|
|
8
8
|
}
|
|
9
9
|
._1tdyl740 .flex {
|
|
10
10
|
align-items: center;
|
|
11
|
-
gap: 24px;
|
|
12
11
|
}
|
|
13
12
|
._1tdyl741 {
|
|
14
13
|
height: -webkit-fit-content;
|
|
@@ -54,9 +53,6 @@
|
|
|
54
53
|
position: relative;
|
|
55
54
|
top: -20px;
|
|
56
55
|
}
|
|
57
|
-
._1tdyl74d {
|
|
58
|
-
gap: 24px;
|
|
59
|
-
}
|
|
60
56
|
._1tdyl74e {
|
|
61
57
|
filter: drop-shadow(0 1px 3px rgb(255 255 255/0.4));
|
|
62
58
|
}
|
|
@@ -98,11 +94,9 @@
|
|
|
98
94
|
}
|
|
99
95
|
._1tdyl740 .flex {
|
|
100
96
|
flex-direction: column;
|
|
101
|
-
gap: 0;
|
|
102
97
|
}
|
|
103
98
|
._1tdyl74d {
|
|
104
99
|
text-align: center;
|
|
105
|
-
padding: 24px;
|
|
106
100
|
flex-direction: column;
|
|
107
101
|
}
|
|
108
102
|
._1tdyl74d p {
|
|
@@ -119,13 +113,25 @@
|
|
|
119
113
|
._1tdyl741 > img {
|
|
120
114
|
position: unset;
|
|
121
115
|
margin-top: 32px;
|
|
122
|
-
width: 375px;
|
|
123
|
-
height: 196px;
|
|
116
|
+
width: 375px !important;
|
|
117
|
+
height: 196px !important;
|
|
118
|
+
object-fit: cover;
|
|
124
119
|
}
|
|
125
120
|
._1tdyl74g {
|
|
126
121
|
justify-content: center;
|
|
127
122
|
padding: 24px;
|
|
128
123
|
}
|
|
124
|
+
._1tdyl74h {
|
|
125
|
+
margin-top: 1rem;
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
@media screen and (min-width:1024px) {
|
|
129
|
+
._1tdyl740 .flex {
|
|
130
|
+
gap: 24px;
|
|
131
|
+
}
|
|
132
|
+
._1tdyl74d {
|
|
133
|
+
gap: 24px;
|
|
134
|
+
}
|
|
129
135
|
}
|
|
130
136
|
@media screen and (max-width:510px) {
|
|
131
137
|
._1tdyl74g {
|
|
@@ -133,4 +139,9 @@
|
|
|
133
139
|
flex-direction: column;
|
|
134
140
|
margin-right: 0;
|
|
135
141
|
}
|
|
142
|
+
}
|
|
143
|
+
@media screen and (max-width: 1023px) {
|
|
144
|
+
._1tdyl746 ._1tdyl74g, ._1tdyl747 ._1tdyl74g {
|
|
145
|
+
margin-top: 0;
|
|
146
|
+
}
|
|
136
147
|
}
|
|
@@ -46,6 +46,7 @@
|
|
|
46
46
|
display: flex;
|
|
47
47
|
justify-content: center;
|
|
48
48
|
margin-top: 1.5rem;
|
|
49
|
+
gap: 48px;
|
|
49
50
|
}
|
|
50
51
|
._1bwl51gd {
|
|
51
52
|
margin-left: 48px;
|
|
@@ -57,6 +58,7 @@
|
|
|
57
58
|
}
|
|
58
59
|
._1bwl51gc {
|
|
59
60
|
flex-direction: column;
|
|
61
|
+
gap: 16px;
|
|
60
62
|
}
|
|
61
63
|
._1bwl51gd {
|
|
62
64
|
margin-top: 24px;
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
cursor: pointer;
|
|
27
27
|
}
|
|
28
28
|
details[open] .ph6wj62 {
|
|
29
|
-
background-color: #
|
|
29
|
+
background-color: #F4F4F4;
|
|
30
30
|
}
|
|
31
31
|
.ph6wj63 {
|
|
32
32
|
max-width: 80%;
|
|
@@ -37,5 +37,5 @@ details[open] .ph6wj62 {
|
|
|
37
37
|
}
|
|
38
38
|
.ph6wj64 {
|
|
39
39
|
padding: 24px;
|
|
40
|
-
background-color: #
|
|
40
|
+
background-color: #F4F4F4;
|
|
41
41
|
}
|
|
@@ -3,6 +3,9 @@
|
|
|
3
3
|
padding-inline: 120px;
|
|
4
4
|
padding-top: 48px;
|
|
5
5
|
padding-bottom: 48px;
|
|
6
|
+
display: flex;
|
|
7
|
+
flex-direction: column;
|
|
8
|
+
align-items: center;
|
|
6
9
|
}
|
|
7
10
|
.tfms6a1 {
|
|
8
11
|
background: var(--_1073cm81);
|
|
@@ -82,10 +85,15 @@
|
|
|
82
85
|
.tfms6al {
|
|
83
86
|
color: var(--_1073cm8n);
|
|
84
87
|
}
|
|
85
|
-
|
|
88
|
+
.tfms6am {
|
|
89
|
+
max-width: 860px;
|
|
90
|
+
}
|
|
91
|
+
@media screen and (max-width:1023px) {
|
|
86
92
|
.tfms6a0 {
|
|
87
93
|
padding-inline: 0;
|
|
88
94
|
}
|
|
95
|
+
}
|
|
96
|
+
@media screen and (max-width:480px) {
|
|
89
97
|
.tfms6ab {
|
|
90
98
|
grid-template-columns: 1fr;
|
|
91
99
|
}
|
|
@@ -30,7 +30,8 @@
|
|
|
30
30
|
}
|
|
31
31
|
._1r4ovbu7 {
|
|
32
32
|
text-align: center;
|
|
33
|
-
|
|
33
|
+
width: 48px;
|
|
34
|
+
height: 48px;
|
|
34
35
|
}
|
|
35
36
|
._1r4ovbu8 {
|
|
36
37
|
text-align: center;
|
|
@@ -118,7 +119,7 @@
|
|
|
118
119
|
._1r4ovbuo {
|
|
119
120
|
display: grid;
|
|
120
121
|
grid-template-columns: repeat( auto-fit, minmax(250px, 1fr) );
|
|
121
|
-
|
|
122
|
+
gap: 24px;
|
|
122
123
|
}
|
|
123
124
|
@media screen and (max-width: 380px) {
|
|
124
125
|
._1r4ovbuh {
|
|
@@ -127,4 +128,9 @@
|
|
|
127
128
|
._1r4ovbuh:first-child {
|
|
128
129
|
margin-bottom: 1em;
|
|
129
130
|
}
|
|
131
|
+
}
|
|
132
|
+
@media screen and (max-width: 1024px) {
|
|
133
|
+
._1r4ovbuo {
|
|
134
|
+
grid-template-columns: auto;
|
|
135
|
+
}
|
|
130
136
|
}
|
|
@@ -28,6 +28,14 @@
|
|
|
28
28
|
}
|
|
29
29
|
._18ygy9m0 ._1m7m2a7 {
|
|
30
30
|
flex-direction: column-reverse;
|
|
31
|
+
justify-content: space-between;
|
|
32
|
+
}
|
|
33
|
+
._18ygy9m0 > .billboard > div {
|
|
34
|
+
width: 100%;
|
|
35
|
+
max-width: 100%;
|
|
36
|
+
}
|
|
37
|
+
._18ygy9m0 .billboard {
|
|
38
|
+
width: 100%;
|
|
31
39
|
}
|
|
32
40
|
._1073cm80 ._1m7m2a9 {
|
|
33
41
|
-webkit-background-clip: text;
|
|
@@ -77,6 +85,13 @@
|
|
|
77
85
|
width: 100%;
|
|
78
86
|
max-width: 50%;
|
|
79
87
|
}
|
|
88
|
+
._1m7m2aj {
|
|
89
|
+
max-width: 50%;
|
|
90
|
+
width: 100%;
|
|
91
|
+
}
|
|
92
|
+
._18ygy9m0 .billboard ._1m7m2aj img {
|
|
93
|
+
max-height: 300px;
|
|
94
|
+
}
|
|
80
95
|
._1m7m2aj img {
|
|
81
96
|
vertical-align: middle;
|
|
82
97
|
align-self: flex-end;
|
|
@@ -88,6 +103,14 @@
|
|
|
88
103
|
}
|
|
89
104
|
._1m7m2an {
|
|
90
105
|
padding: 32px 28px;
|
|
106
|
+
width: 100%;
|
|
107
|
+
max-width: 50%;
|
|
108
|
+
}
|
|
109
|
+
._18ygy9m0 ._1m7m2an {
|
|
110
|
+
height: 100%;
|
|
111
|
+
display: flex;
|
|
112
|
+
flex-direction: column;
|
|
113
|
+
justify-content: space-between;
|
|
91
114
|
}
|
|
92
115
|
._1m7m2ao {
|
|
93
116
|
display: flex;
|
|
@@ -118,6 +141,9 @@
|
|
|
118
141
|
._1m7m2ai > * {
|
|
119
142
|
max-width: 100%;
|
|
120
143
|
}
|
|
144
|
+
._1m7m2aj {
|
|
145
|
+
max-width: 100%;
|
|
146
|
+
}
|
|
121
147
|
._1m7m2aj img {
|
|
122
148
|
width: 100%;
|
|
123
149
|
}
|
|
@@ -125,6 +151,9 @@
|
|
|
125
151
|
display: flex;
|
|
126
152
|
flex-direction: column;
|
|
127
153
|
}
|
|
154
|
+
._1m7m2an {
|
|
155
|
+
max-width: 100%;
|
|
156
|
+
}
|
|
128
157
|
}
|
|
129
158
|
@media screen and (max-width:475px) {
|
|
130
159
|
._1m7m2am {
|
|
@@ -138,7 +138,7 @@
|
|
|
138
138
|
}
|
|
139
139
|
._18du0lam:focus-within {
|
|
140
140
|
border-width: 2px;
|
|
141
|
-
font-weight:
|
|
141
|
+
font-weight: 500;
|
|
142
142
|
color: var(--_1073cm86);
|
|
143
143
|
}
|
|
144
144
|
._18du0lan {
|
|
@@ -146,6 +146,7 @@
|
|
|
146
146
|
letter-spacing: 0.2px;
|
|
147
147
|
line-height: 16px;
|
|
148
148
|
padding-inline: 16px;
|
|
149
|
+
margin-top: 4px;
|
|
149
150
|
}
|
|
150
151
|
._18du0lao {
|
|
151
152
|
color: #5E6A74;
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
margin: auto;
|
|
17
17
|
max-width: 800px;
|
|
18
18
|
position: relative;
|
|
19
|
-
top:
|
|
19
|
+
top: 25%;
|
|
20
20
|
width: calc(100% - 3rem);
|
|
21
21
|
background-color: #FFFFFF;
|
|
22
22
|
}
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
color: #4a5560;
|
|
43
43
|
}
|
|
44
44
|
._427id38 {
|
|
45
|
-
min-height:
|
|
45
|
+
min-height: 120px;
|
|
46
46
|
padding: 16px;
|
|
47
47
|
color: #4a5560;
|
|
48
48
|
width: 100%;
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
}
|
|
66
66
|
@media screen and (max-width:600px) {
|
|
67
67
|
._427id33 {
|
|
68
|
-
top:
|
|
68
|
+
top: 15%;
|
|
69
69
|
}
|
|
70
70
|
}
|
|
71
71
|
@media screen and (max-width:767px) {
|