@axos-web-dev/shared-components 0.0.4 → 0.0.5

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.
Files changed (83) hide show
  1. package/dist/Button/index.d.ts +10 -4
  2. package/dist/FaqAccordion/index.js +13 -3
  3. package/dist/Forms/Forms.css.d.ts +90 -0
  4. package/dist/Forms/Forms.css.js +19 -0
  5. package/dist/Forms/RenderForm.d.ts +7 -0
  6. package/dist/Forms/RenderForm.js +19 -0
  7. package/dist/Forms/SalesforceFieldsForm.d.ts +71 -0
  8. package/dist/Forms/SalesforceFieldsForm.js +137 -0
  9. package/dist/Forms/ScheduleCall.d.ts +14 -0
  10. package/dist/Forms/ScheduleCall.js +140 -0
  11. package/dist/Forms/index.d.ts +4 -0
  12. package/dist/Forms/index.js +17 -0
  13. package/dist/HeroBanner/index.js +4 -2
  14. package/dist/IconBillboard/IconBillboard.css.d.ts +3 -3
  15. package/dist/IconBillboard/IconBillboard.css.js +1 -0
  16. package/dist/Input/index.d.ts +1 -1
  17. package/dist/Input/index.js +4 -2
  18. package/dist/MainHTML/index.d.ts +5 -0
  19. package/dist/MainHTML/index.js +9 -0
  20. package/dist/Modal/index.js +10 -1
  21. package/dist/NavigationMenu/AxosAdvisor/index.js +4 -3
  22. package/dist/Table/Table.css.d.ts +21 -7
  23. package/dist/Table/Table.css.js +16 -8
  24. package/dist/Table/Table.d.ts +7 -13
  25. package/dist/Table/Table.interface.d.ts +18 -0
  26. package/dist/Table/Table.interface.js +1 -0
  27. package/dist/Table/Table.js +43 -11
  28. package/dist/Table/index.js +10 -3
  29. package/dist/TextBlock/TextBlock.css.d.ts +3 -0
  30. package/dist/TextBlock/TextBlock.css.js +11 -0
  31. package/dist/TextBlock/TextBlock.d.ts +6 -0
  32. package/dist/TextBlock/TextBlock.js +11 -0
  33. package/dist/TextBlock/index.d.ts +2 -0
  34. package/dist/TextBlock/index.js +8 -0
  35. package/dist/VideoTile/VideoInit.d.ts +1 -0
  36. package/dist/VideoTile/VideoInit.js +8 -0
  37. package/dist/VideoTile/VideoTile.css.d.ts +13 -0
  38. package/dist/VideoTile/VideoTile.css.js +32 -0
  39. package/dist/VideoTile/VideoTile.d.ts +3 -0
  40. package/dist/VideoTile/VideoTile.interface.d.ts +10 -0
  41. package/dist/VideoTile/VideoTile.interface.js +1 -0
  42. package/dist/VideoTile/VideoTile.js +88 -0
  43. package/dist/VideoTile/index.d.ts +4 -0
  44. package/dist/VideoTile/index.js +20 -0
  45. package/dist/VideoWrapper/VideoWrapper.css.d.ts +2 -0
  46. package/dist/VideoWrapper/VideoWrapper.css.js +7 -0
  47. package/dist/VideoWrapper/index.d.ts +8 -0
  48. package/dist/VideoWrapper/index.js +34 -0
  49. package/dist/assets/Button/Button.css +6 -6
  50. package/dist/assets/CallToActionBar/CallToActionBar.css +2 -2
  51. package/dist/assets/Carousel/Carousel.css +9 -9
  52. package/dist/assets/Chevron/Chevron.css +2 -2
  53. package/dist/assets/CollectInformationAlert/CollectInformationAlert.css +1 -1
  54. package/dist/assets/ContentBanner/ContentBanner.css +9 -9
  55. package/dist/assets/Forms/Forms.css +92 -0
  56. package/dist/assets/HeroBanner/HeroBanner.css +12 -15
  57. package/dist/assets/IconBillboard/IconBillboard.css +15 -12
  58. package/dist/assets/ImageBillboard/ImageBillboard.css +14 -14
  59. package/dist/assets/Input/Input.css +14 -14
  60. package/dist/assets/Inputs/Input.css +14 -14
  61. package/dist/assets/Table/Table.css +116 -68
  62. package/dist/assets/TextBlock/TextBlock.css +14 -0
  63. package/dist/assets/VideoTile/VideoTile.css +74 -0
  64. package/dist/assets/VideoWrapper/VideoWrapper.css +16 -0
  65. package/dist/assets/icons/ArrowIcon/ArrowIcon.css +2 -2
  66. package/dist/assets/icons/CheckIcon/CheckIcon.css +2 -2
  67. package/dist/assets/themes/axos.css +25 -21
  68. package/dist/assets/themes/premier.css +22 -18
  69. package/dist/icons/AxosX/index.d.ts +3 -0
  70. package/dist/icons/AxosX/index.js +30 -0
  71. package/dist/icons/index.d.ts +1 -0
  72. package/dist/icons/index.js +28 -26
  73. package/dist/main.d.ts +7 -1
  74. package/dist/main.js +60 -4
  75. package/dist/themes/axos.css.d.ts +4 -0
  76. package/dist/themes/axos.css.js +1 -1
  77. package/dist/utils/EverestValidity.d.ts +1 -0
  78. package/dist/utils/EverestValidity.js +6 -0
  79. package/dist/utils/getVariant.d.ts +1 -1
  80. package/dist/utils/getVariant.js +6 -6
  81. package/dist/utils/index.d.ts +3 -0
  82. package/dist/utils/index.js +7 -0
  83. package/package.json +9 -1
@@ -22,14 +22,23 @@ import "../ContentBanner/ContentBanner.css.js";
22
22
  /* empty css */
23
23
  import "../FaqAccordion/index.js";
24
24
  import "../FooterDisclosure/FooterDisclosure.css.js";
25
+ import "../Forms/Forms.css.js";
26
+ import "../Forms/SalesforceFieldsForm.js";
27
+ import "@hookform/resolvers/zod";
28
+ import "../Input/index.js";
25
29
  import "clsx";
30
+ import "react-hook-form";
26
31
  /* empty css */
27
32
  import "../ImageBillboard/ImageBillboard.css.js";
28
- import "../Input/Input.css.js";
33
+ import "react-use";
29
34
  import "../NavigationMenu/AxosAdvisor/NavBar.module.js";
30
35
  import "../NavigationMenu/AxosFiduciary/NavBar.module.js";
31
36
  /* empty css */
32
37
  import "../Table/Table.css.js";
38
+ /* empty css */
39
+ import "next/script.js";
40
+ /* empty css */
41
+ /* empty css */
33
42
  import { modal, modal_dialog, modal_content, modal_header, modal_title, modal_subtitle, solid, modal_body, site_link, modal_footer } from "./Modal.css.js";
34
43
  const Modal = ({
35
44
  headline,
@@ -5,6 +5,7 @@ import { useState, useRef } from "react";
5
5
  import { useClickAway } from "react-use";
6
6
  import styles from "./NavBar.module.js";
7
7
  import SubNavBar from "./SubNavBar.js";
8
+ var define_process_env_default = {};
8
9
  function NavBar() {
9
10
  const [isOpenSignIn, setisOpenSignIn] = useState(false);
10
11
  const [isOpenMobile, setisOpenMobile] = useState(false);
@@ -75,7 +76,7 @@ function NavBar() {
75
76
  /* @__PURE__ */ jsx("div", { className: styles.mobile_only, children: /* @__PURE__ */ jsx(
76
77
  "a",
77
78
  {
78
- href: `${process.env.NEXT_PUBLIC_LOGIN_APP_LOGIN_URL}/auth/login`,
79
+ href: `${define_process_env_default.NEXT_PUBLIC_LOGIN_APP_LOGIN_URL}/auth/login`,
79
80
  className: "link",
80
81
  children: "Sign In"
81
82
  }
@@ -139,7 +140,7 @@ function NavBar() {
139
140
  /* @__PURE__ */ jsx("ul", { className: "list_unstyled", children: /* @__PURE__ */ jsx("li", { className: styles.signin_subheader, children: /* @__PURE__ */ jsx(
140
141
  "a",
141
142
  {
142
- href: `${process.env.NEXT_PUBLIC_LOGIN_APP_LOGIN_URL}/auth/login`,
143
+ href: `${define_process_env_default.NEXT_PUBLIC_LOGIN_APP_LOGIN_URL}/auth/login`,
143
144
  role: "menuitem",
144
145
  children: "Account Login"
145
146
  }
@@ -371,7 +372,7 @@ function NavBar() {
371
372
  /* @__PURE__ */ jsx(
372
373
  "a",
373
374
  {
374
- href: `${process.env.NEXT_PUBLIC_LOGIN_APP_LOGIN_URL}/auth/login`,
375
+ href: `${define_process_env_default.NEXT_PUBLIC_LOGIN_APP_LOGIN_URL}/auth/login`,
375
376
  role: "menuitem",
376
377
  children: "Account Login"
377
378
  }
@@ -1,5 +1,8 @@
1
- import { RecipeVariants } from "@vanilla-extract/recipes";
2
- export declare const container: string;
1
+ export declare const table_container: string;
2
+ export declare const table_container_text: string;
3
+ export declare const table_headline: string;
4
+ export declare const highlight_first_row: string;
5
+ export declare const highlight_last_row: string;
3
6
  export declare const headerCell: string;
4
7
  export declare const headerVariants: Record<"primary" | "secondary" | "tertiary" | "quaternary", string>;
5
8
  export declare const bodyHeader: string;
@@ -8,13 +11,16 @@ export declare const th: import("@vanilla-extract/recipes").RuntimeFn<{
8
11
  primary: {
9
12
  color: "#4A5560";
10
13
  background: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
14
+ borderBottom: `1px solid var(--${string})` | `1px solid var(--${string}, ${string})` | `1px solid var(--${string}, ${number})`;
11
15
  };
12
16
  secondary: {
13
17
  color: "#4A5560";
14
18
  background: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
19
+ borderBottom: `1px solid var(--${string})` | `1px solid var(--${string}, ${string})` | `1px solid var(--${string}, ${number})`;
15
20
  };
16
21
  tertiary: {
17
22
  color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
23
+ borderBottom: "1px solid #F4F4F4";
18
24
  selectors: {
19
25
  "&:first-child": {
20
26
  background: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
@@ -24,7 +30,7 @@ export declare const th: import("@vanilla-extract/recipes").RuntimeFn<{
24
30
  "screen and (max-width: 768px)": {
25
31
  selectors: {
26
32
  "&:first-child": {
27
- background: "linear-gradient(90deg,#051A3F 14.64%, #1E3860 48.42%, #4D85B0 85.36%)";
33
+ background: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
28
34
  };
29
35
  };
30
36
  };
@@ -32,6 +38,7 @@ export declare const th: import("@vanilla-extract/recipes").RuntimeFn<{
32
38
  };
33
39
  quaternary: {
34
40
  color: "#FFFFFF";
41
+ borderBottom: "1px solid #F4F4F4";
35
42
  selectors: {
36
43
  "&:first-child": {
37
44
  background: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
@@ -41,7 +48,7 @@ export declare const th: import("@vanilla-extract/recipes").RuntimeFn<{
41
48
  "screen and (max-width: 768px)": {
42
49
  selectors: {
43
50
  "&:first-child": {
44
- background: "linear-gradient(90deg,#051A3F 14.64%, #1E3860 48.42%, #4D85B0 85.36%)";
51
+ backgroundImage: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
45
52
  };
46
53
  };
47
54
  };
@@ -57,16 +64,20 @@ export declare const td: import("@vanilla-extract/recipes").RuntimeFn<{
57
64
  primary: {
58
65
  background: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
59
66
  color: "#4A5560";
67
+ borderBottom: "1px solid #D4D4D4";
60
68
  };
61
69
  secondary: {
62
70
  background: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
63
71
  color: "#4A5560";
72
+ borderBottom: "1px solid #D4D4D4";
64
73
  };
65
74
  tertiary: {
66
75
  color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
76
+ borderBottom: "1px solid #F4F4F4";
67
77
  selectors: {
68
78
  "&:first-child": {
69
79
  background: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
80
+ color: `var(--${string}) !important` | `var(--${string}, ${string}) !important` | `var(--${string}, ${number}) !important`;
70
81
  };
71
82
  };
72
83
  "@media": {
@@ -81,9 +92,11 @@ export declare const td: import("@vanilla-extract/recipes").RuntimeFn<{
81
92
  };
82
93
  quaternary: {
83
94
  color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
95
+ borderBottom: "1px solid #F4F4F4";
84
96
  selectors: {
85
97
  "&:first-child": {
86
98
  background: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
99
+ color: `var(--${string}) !important` | `var(--${string}, ${string}) !important` | `var(--${string}, ${number}) !important`;
87
100
  };
88
101
  };
89
102
  "@media": {
@@ -105,18 +118,19 @@ export declare const table: import("@vanilla-extract/recipes").RuntimeFn<{
105
118
  variant: {
106
119
  primary: {
107
120
  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})`;
108
122
  };
109
123
  secondary: {
110
124
  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})`;
111
126
  };
112
127
  tertiary: {
113
128
  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})`;
114
130
  };
115
131
  quaternary: {
116
132
  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})`;
117
134
  };
118
135
  };
119
136
  }>;
120
- export type TableVariants = RecipeVariants<typeof table>;
121
- export type TdVariants = RecipeVariants<typeof td>;
122
- export type ThVariants = RecipeVariants<typeof th>;
@@ -2,19 +2,27 @@
2
2
  /* empty css */
3
3
  /* empty css */
4
4
  import { createRuntimeFn } from "@vanilla-extract/recipes/createRuntimeFn";
5
- var container = "_1nivbwe0";
6
- var headerCell = "_1nivbwe1";
7
- var headerVariants = { primary: "_1nivbwe2 _1nivbwe1", secondary: "_1nivbwe3 _1nivbwe1", tertiary: "_1nivbwe4 _1nivbwe1", quaternary: "_1nivbwe5 _1nivbwe1" };
8
- var bodyHeader = "_1nivbwe6";
9
- var th = createRuntimeFn({ defaultClassName: "_1nivbwe7", variantClassNames: { variant: { primary: "_1nivbwe8", secondary: "_1nivbwe9", tertiary: "_1nivbwea", quaternary: "_1nivbweb" }, highlighted: { true: "_1nivbwec" } }, defaultVariants: {}, compoundVariants: [] });
10
- var td = createRuntimeFn({ defaultClassName: "_1nivbwed", variantClassNames: { variant: { primary: "_1nivbwee", secondary: "_1nivbwef", tertiary: "_1nivbweg", quaternary: "_1nivbweh" }, highlighted: { true: "_1nivbwei" } }, defaultVariants: {}, compoundVariants: [[{ highlighted: true, variant: "primary" }, "_1nivbwej"], [{ highlighted: true, variant: "tertiary" }, "_1nivbwek"]] });
11
- var table = createRuntimeFn({ defaultClassName: "_1nivbwel", variantClassNames: { variant: { primary: "_1nivbwem", secondary: "_1nivbwen", tertiary: "_1nivbweo", quaternary: "_1nivbwep" } }, defaultVariants: {}, compoundVariants: [] });
5
+ var table_container = "_1nivbwe0";
6
+ var table_container_text = "_1nivbwe1";
7
+ var table_headline = "_1nivbwe2";
8
+ var highlight_first_row = "_1nivbwe3";
9
+ var highlight_last_row = "_1nivbwe4";
10
+ var headerCell = "_1nivbwe5";
11
+ var headerVariants = { primary: "_1nivbwe6 _1nivbwe5", secondary: "_1nivbwe7 _1nivbwe5", tertiary: "_1nivbwe8 _1nivbwe5", quaternary: "_1nivbwe9 _1nivbwe5" };
12
+ var bodyHeader = "_1nivbwea";
13
+ var th = createRuntimeFn({ defaultClassName: "_1nivbweb", variantClassNames: { variant: { primary: "_1nivbwec", secondary: "_1nivbwed", tertiary: "_1nivbwee", quaternary: "_1nivbwef" }, highlighted: { true: "_1nivbweg" } }, defaultVariants: {}, compoundVariants: [] });
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 table = createRuntimeFn({ defaultClassName: "_1nivbwep", variantClassNames: { variant: { primary: "_1nivbweq", secondary: "_1nivbwer", tertiary: "_1nivbwes", quaternary: "_1nivbwet" } }, defaultVariants: {}, compoundVariants: [] });
12
16
  export {
13
17
  bodyHeader,
14
- container,
15
18
  headerCell,
16
19
  headerVariants,
20
+ highlight_first_row,
21
+ highlight_last_row,
17
22
  table,
23
+ table_container,
24
+ table_container_text,
25
+ table_headline,
18
26
  td,
19
27
  th
20
28
  };
@@ -1,12 +1,11 @@
1
- import { HtmlHTMLAttributes, PropsWithChildren, ReactNode } from "react";
2
- import { TableVariants, TdVariants, ThVariants } from "./Table.css";
3
- export interface RowProps extends HtmlHTMLAttributes<HTMLTableRowElement>, PropsWithChildren {
4
- }
1
+ import { PropsWithChildren } from "react";
2
+ import { CellProps, RowProps, TableContainerProps, TableProps } from "./Table.interface";
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;
5
5
  export declare const TableRow: ({ children, ...props }: RowProps) => import("react/jsx-runtime").JSX.Element;
6
- export interface CellProps extends HtmlHTMLAttributes<HTMLTableCellElement>, PropsWithChildren {
7
- as?: "td" | "th";
8
- }
9
- export declare const TableCell: ({ children, as, variant, highlighted, ...props }: CellProps & TdVariants & ThVariants) => import("react").DetailedReactHTMLElement<{
6
+ export declare const TableHead: ({ children }: PropsWithChildren) => import("react/jsx-runtime").JSX.Element;
7
+ export declare const TableBody: ({ children }: PropsWithChildren) => import("react/jsx-runtime").JSX.Element;
8
+ export declare const TableCell: ({ children, as, variant, highlighted, ...props }: CellProps) => import("react").DetailedReactHTMLElement<{
10
9
  className: string;
11
10
  manifest?: string | undefined;
12
11
  defaultChecked?: boolean | undefined;
@@ -275,8 +274,3 @@ export declare const TableCell: ({ children, as, variant, highlighted, ...props
275
274
  onTransitionEnd?: import("react").TransitionEventHandler<HTMLTableCellElement> | undefined;
276
275
  onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLTableCellElement> | undefined;
277
276
  }, HTMLElement>;
278
- export interface Table extends PropsWithChildren {
279
- columns?: ReactNode;
280
- rows?: ReactNode;
281
- }
282
- export declare const Table: (props: Table & TableVariants) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,18 @@
1
+ import { HtmlHTMLAttributes, PropsWithChildren, ReactNode } from "react";
2
+ export interface RowProps extends HtmlHTMLAttributes<HTMLTableRowElement>, PropsWithChildren {
3
+ }
4
+ export interface CellProps extends HtmlHTMLAttributes<HTMLTableCellElement>, PropsWithChildren {
5
+ as?: "td" | "th";
6
+ variant: string;
7
+ highlighted?: boolean;
8
+ }
9
+ export interface TableProps extends PropsWithChildren {
10
+ variant: string;
11
+ highlight?: "First Row" | "Last Row" | "First and Last Row" | undefined;
12
+ }
13
+ export interface TableContainerProps extends PropsWithChildren {
14
+ variant: string;
15
+ tableTitle: ReactNode | string;
16
+ tableBody?: ReactNode | string;
17
+ tableFooter: ReactNode | string;
18
+ }
@@ -0,0 +1 @@
1
+
@@ -1,14 +1,50 @@
1
- import { jsx, jsxs } from "react/jsx-runtime";
1
+ import { jsxs, jsx } from "react/jsx-runtime";
2
+ import { getVariant } from "../utils/getVariant.js";
2
3
  import clsx from "clsx";
3
4
  import { createElement } from "react";
4
- import { td, th, container, table } from "./Table.css.js";
5
+ import { table_container, table_container_text, table_headline, table, highlight_first_row, highlight_last_row, td, th } from "./Table.css.js";
6
+ const TableContainer = ({
7
+ tableTitle,
8
+ tableBody,
9
+ tableFooter
10
+ }) => {
11
+ return /* @__PURE__ */ jsxs("div", { className: clsx(table_container, "containment", "section_spacer"), children: [
12
+ tableTitle && /* @__PURE__ */ jsx("div", { className: table_container_text, children: /* @__PURE__ */ jsx("h1", { className: clsx("header_1", table_headline), children: tableTitle }) }),
13
+ tableBody,
14
+ tableFooter && /* @__PURE__ */ jsx("div", { className: clsx(table_container_text, "push_up_24"), children: tableFooter })
15
+ ] });
16
+ };
17
+ const Table = ({
18
+ variant = "primary",
19
+ children,
20
+ highlight
21
+ }) => {
22
+ return /* @__PURE__ */ jsx(
23
+ "table",
24
+ {
25
+ className: clsx(
26
+ table({ variant: getVariant(variant) }),
27
+ highlight === "First Row" && highlight_first_row,
28
+ highlight === "Last Row" && highlight_last_row,
29
+ highlight === "First and Last Row" && `${highlight_first_row} ${highlight_last_row}`
30
+ ),
31
+ children
32
+ }
33
+ );
34
+ };
5
35
  const TableRow = ({ children, ...props }) => {
6
36
  return /* @__PURE__ */ jsx("tr", { ...props, children });
7
37
  };
38
+ const TableHead = ({ children }) => {
39
+ return /* @__PURE__ */ jsx("thead", { children });
40
+ };
41
+ const TableBody = ({ children }) => {
42
+ return /* @__PURE__ */ jsx("tbody", { children });
43
+ };
8
44
  const TableCell = ({
9
45
  children,
10
46
  as = "td",
11
- variant,
47
+ variant = "primary",
12
48
  highlighted,
13
49
  ...props
14
50
  }) => {
@@ -17,22 +53,18 @@ const TableCell = ({
17
53
  {
18
54
  ...props,
19
55
  className: clsx(
20
- as == "td" ? td({ variant, highlighted }) : th({ variant, highlighted }),
56
+ as == "td" ? td({ variant: getVariant(variant), highlighted }) : th({ variant: getVariant(variant), highlighted }),
21
57
  props == null ? void 0 : props.className
22
58
  )
23
59
  },
24
60
  children
25
61
  );
26
62
  };
27
- const Table = (props) => {
28
- const { variant = "primary", rows, columns } = props;
29
- return /* @__PURE__ */ jsx("div", { className: container, children: /* @__PURE__ */ jsxs("table", { className: table({ variant }), children: [
30
- /* @__PURE__ */ jsx("thead", { children: /* @__PURE__ */ jsx(TableRow, { children: columns }) }),
31
- /* @__PURE__ */ jsx("tbody", { children: rows })
32
- ] }) });
33
- };
34
63
  export {
35
64
  Table,
65
+ TableBody,
36
66
  TableCell,
67
+ TableContainer,
68
+ TableHead,
37
69
  TableRow
38
70
  };
@@ -1,14 +1,21 @@
1
- import { Table, TableCell, TableRow } from "./Table.js";
2
- import { bodyHeader, container, headerCell, headerVariants, table, td, th } from "./Table.css.js";
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";
3
3
  export {
4
4
  Table,
5
+ TableBody,
5
6
  TableCell,
7
+ TableContainer,
8
+ TableHead,
6
9
  TableRow,
7
10
  bodyHeader,
8
- container,
9
11
  headerCell,
10
12
  headerVariants,
13
+ highlight_first_row,
14
+ highlight_last_row,
11
15
  table,
16
+ table_container,
17
+ table_container_text,
18
+ table_headline,
12
19
  td,
13
20
  th
14
21
  };
@@ -0,0 +1,3 @@
1
+ export declare const textBlockParagraph: string;
2
+ export declare const textBlockHeader: string;
3
+ export declare const textBlockList: string;
@@ -0,0 +1,11 @@
1
+ /* empty css */
2
+ /* empty css */
3
+ /* empty css */
4
+ var textBlockParagraph = "_16g7rvn0";
5
+ var textBlockHeader = "_16g7rvn1";
6
+ var textBlockList = "_16g7rvn2";
7
+ export {
8
+ textBlockHeader,
9
+ textBlockList,
10
+ textBlockParagraph
11
+ };
@@ -0,0 +1,6 @@
1
+ import { ReactNode } from "react";
2
+ export interface TextBlockProps {
3
+ bodyCopy: ReactNode | string;
4
+ headline: ReactNode | string;
5
+ }
6
+ export declare const TextBlock: (props: TextBlockProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,11 @@
1
+ import { jsxs, jsx } from "react/jsx-runtime";
2
+ import { textBlockHeader } from "./TextBlock.css.js";
3
+ const TextBlock = (props) => {
4
+ return /* @__PURE__ */ jsxs("div", { className: "containment section_spacer", children: [
5
+ /* @__PURE__ */ jsx("h2", { className: `header_2 text_center ${textBlockHeader}`, children: props.headline }),
6
+ /* @__PURE__ */ jsx("div", { children: props.bodyCopy })
7
+ ] });
8
+ };
9
+ export {
10
+ TextBlock
11
+ };
@@ -0,0 +1,2 @@
1
+ export * from "./TextBlock";
2
+ export * from "./TextBlock.css";
@@ -0,0 +1,8 @@
1
+ import { TextBlock } from "./TextBlock.js";
2
+ import { textBlockHeader, textBlockList, textBlockParagraph } from "./TextBlock.css.js";
3
+ export {
4
+ TextBlock,
5
+ textBlockHeader,
6
+ textBlockList,
7
+ textBlockParagraph
8
+ };
@@ -0,0 +1 @@
1
+ export declare const VideoInit: () => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,8 @@
1
+ import { jsx } from "react/jsx-runtime";
2
+ import Script from "next/script.js";
3
+ const VideoInit = () => {
4
+ return /* @__PURE__ */ jsx(Script, { src: "https://play.vidyard.com/embed/v4.js" });
5
+ };
6
+ export {
7
+ VideoInit
8
+ };
@@ -0,0 +1,13 @@
1
+ export declare const show: string;
2
+ export declare const video_title: string;
3
+ export declare const transcript_btn: string;
4
+ export declare const item: string;
5
+ export declare const video_container: string;
6
+ export declare const mb_8: string;
7
+ export declare const toggle_container: string;
8
+ export declare const expand_icon: string;
9
+ export declare const transcript_container: string;
10
+ export declare const w_100: string;
11
+ export declare const transcript_content: string;
12
+ export declare const vidyard_height: string;
13
+ export declare const hide_transcript: string;
@@ -0,0 +1,32 @@
1
+ /* empty css */
2
+ /* empty css */
3
+ /* empty css */
4
+ /* empty css */
5
+ var show = "_16puo4g0";
6
+ var video_title = "_16puo4g1";
7
+ var transcript_btn = "_16puo4g2";
8
+ var item = "_16puo4g3";
9
+ var video_container = "_16puo4g4";
10
+ var mb_8 = "_16puo4g5";
11
+ var toggle_container = "_16puo4g6";
12
+ var expand_icon = "_16puo4g7";
13
+ var transcript_container = "_16puo4g8";
14
+ var w_100 = "_16puo4g9";
15
+ var transcript_content = "_16puo4ga";
16
+ var vidyard_height = "_16puo4gb";
17
+ var hide_transcript = "_16puo4gc";
18
+ export {
19
+ expand_icon,
20
+ hide_transcript,
21
+ item,
22
+ mb_8,
23
+ show,
24
+ toggle_container,
25
+ transcript_btn,
26
+ transcript_container,
27
+ transcript_content,
28
+ video_container,
29
+ video_title,
30
+ vidyard_height,
31
+ w_100
32
+ };
@@ -0,0 +1,3 @@
1
+ import { VideoTileInterface } from "./VideoTile.interface";
2
+ import { FC } from "react";
3
+ export declare const VideoTile: FC<VideoTileInterface>;
@@ -0,0 +1,10 @@
1
+ export interface VideoTileInterface {
2
+ id: string;
3
+ title: string;
4
+ videoId: string;
5
+ thumbnailImage: string;
6
+ displayType: string;
7
+ maxWidth: string | number;
8
+ videoPlayer: string;
9
+ transcript: string;
10
+ }
@@ -0,0 +1,88 @@
1
+ "use client";
2
+ import { jsxs, Fragment, jsx } from "react/jsx-runtime";
3
+ import ReactMarkdown from "react-markdown";
4
+ import { useToggle } from "react-use";
5
+ import "../icons/CheckIcon/CheckIcon.css.js";
6
+ import SvgChevronDown from "../icons/ChevronDown.js";
7
+ import SvgChevronUp from "../icons/ChevronUp.js";
8
+ /* empty css */
9
+ /* empty css */
10
+ /* empty css */
11
+ import { VideoInit } from "./VideoInit.js";
12
+ import { video_container, w_100, mb_8, video_title, vidyard_height, transcript_container, toggle_container, transcript_btn, expand_icon, transcript_content, show, hide_transcript } from "./VideoTile.css.js";
13
+ const VideoTile = ({
14
+ // ariaLabel,
15
+ title,
16
+ videoId,
17
+ thumbnailImage,
18
+ // displayType,
19
+ maxWidth = "588px",
20
+ videoPlayer,
21
+ transcript
22
+ }) => {
23
+ const [on, toggle] = useToggle(false);
24
+ const handleToggleClick = (event) => {
25
+ event.preventDefault();
26
+ toggle();
27
+ };
28
+ return /* @__PURE__ */ jsxs(Fragment, { children: [
29
+ /* @__PURE__ */ jsx(VideoInit, {}),
30
+ /* @__PURE__ */ jsxs("div", { className: `${video_container} ${w_100} flex flex_col`, children: [
31
+ /* @__PURE__ */ jsx("h2", { className: `${mb_8} ${video_title}`, children: title ? title : null }),
32
+ /* @__PURE__ */ jsx(
33
+ "div",
34
+ {
35
+ id: "",
36
+ className: `${mb_8} ${vidyard_height} vidyard-player-container rounded`,
37
+ "data-uuid": videoId,
38
+ children: /* @__PURE__ */ jsx(
39
+ "img",
40
+ {
41
+ style: {
42
+ width: "100%",
43
+ margin: "auto",
44
+ display: "block",
45
+ maxHeight: "304px",
46
+ maxWidth
47
+ },
48
+ alt: "",
49
+ className: "vidyard-player-embed",
50
+ src: thumbnailImage ? thumbnailImage : `https://play.vidyard.com/${videoId}.jpg`,
51
+ "data-uuid": videoId,
52
+ "data-v": "4",
53
+ "data-type": videoPlayer,
54
+ "data-width": maxWidth,
55
+ "data-height": "304px"
56
+ }
57
+ )
58
+ }
59
+ ),
60
+ /* @__PURE__ */ jsxs("div", { className: `${transcript_container}`, children: [
61
+ /* @__PURE__ */ jsxs(
62
+ "a",
63
+ {
64
+ className: `${toggle_container}`,
65
+ "aria-expanded": on,
66
+ href: "#",
67
+ "aria-label": "",
68
+ onClick: handleToggleClick,
69
+ children: [
70
+ /* @__PURE__ */ jsx("span", { className: `${transcript_btn}`, children: "Review transcript" }),
71
+ /* @__PURE__ */ jsx("span", { className: expand_icon, "aria-hidden": "true", children: on ? /* @__PURE__ */ jsx(SvgChevronUp, {}) : /* @__PURE__ */ jsx(SvgChevronDown, {}) })
72
+ ]
73
+ }
74
+ ),
75
+ /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
76
+ ReactMarkdown,
77
+ {
78
+ className: `${transcript_content} ${on ? show : hide_transcript}`,
79
+ children: transcript
80
+ }
81
+ ) })
82
+ ] })
83
+ ] })
84
+ ] });
85
+ };
86
+ export {
87
+ VideoTile
88
+ };
@@ -0,0 +1,4 @@
1
+ export * from "./VideoInit";
2
+ export * from "./VideoTile";
3
+ export * from "./VideoTile.css";
4
+ export * from "./VideoTile.interface";
@@ -0,0 +1,20 @@
1
+ import { VideoInit } from "./VideoInit.js";
2
+ import { VideoTile } from "./VideoTile.js";
3
+ import { expand_icon, hide_transcript, item, mb_8, show, toggle_container, transcript_btn, transcript_container, transcript_content, video_container, video_title, vidyard_height, w_100 } from "./VideoTile.css.js";
4
+ export {
5
+ VideoInit,
6
+ VideoTile,
7
+ expand_icon,
8
+ hide_transcript,
9
+ item,
10
+ mb_8,
11
+ show,
12
+ toggle_container,
13
+ transcript_btn,
14
+ transcript_container,
15
+ transcript_content,
16
+ video_container,
17
+ video_title,
18
+ vidyard_height,
19
+ w_100
20
+ };
@@ -0,0 +1,2 @@
1
+ export declare const grid_2: string;
2
+ export declare const grid_3: string;
@@ -0,0 +1,7 @@
1
+ /* empty css */
2
+ var grid_2 = "_2i5u4u0";
3
+ var grid_3 = "_2i5u4u1";
4
+ export {
5
+ grid_2,
6
+ grid_3
7
+ };
@@ -0,0 +1,8 @@
1
+ import { FC } from "react";
2
+ import { VideoTileInterface } from "../VideoTile";
3
+ export interface VideoWrapperProps {
4
+ videoTiles: VideoTileInterface[];
5
+ backgroundColor?: string;
6
+ title: string;
7
+ }
8
+ export declare const VideoWrapper: FC<VideoWrapperProps>;