@phillips/seldon 1.40.0 → 1.41.0
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/components/HeroBanner/HeroBanner.js +21 -21
- package/dist/components/Link/Link.js +23 -24
- package/dist/components/Link/types.d.ts +3 -16
- package/dist/components/Link/types.js +6 -2
- package/dist/components/Link/utils.d.ts +2 -18
- package/dist/components/Link/utils.js +4 -6
- package/dist/components/LinkBlock/LinkBlock.js +8 -8
- package/dist/components/Navigation/NavigationItem/NavigationItem.d.ts +1 -1
- package/dist/components/Navigation/NavigationItem/NavigationItem.js +28 -20
- package/dist/components/Text/types.d.ts +5 -8
- package/dist/components/Text/types.js +1 -1
- package/dist/components/Text/utils.js +4 -7
- package/dist/components/Video/Video.d.ts +23 -0
- package/dist/components/Video/Video.js +26 -0
- package/dist/index.d.ts +2 -1
- package/dist/index.js +7 -5
- package/dist/scss/_type.scss +29 -62
- package/dist/scss/_vars.scss +59 -51
- package/dist/scss/componentStyles.scss +1 -0
- package/dist/scss/components/HeroBanner/_heroBanner.scss +12 -29
- package/dist/scss/components/Link/_link.scss +29 -89
- package/dist/scss/components/Navigation/NavigationItem/_navigationItem.scss +41 -92
- package/dist/scss/components/Navigation/NavigationList/_navigationList.scss +2 -49
- package/dist/scss/components/Navigation/_navigation.scss +1 -3
- package/dist/scss/components/Row/_row.scss +4 -0
- package/dist/scss/components/Search/_search.scss +1 -1
- package/dist/scss/components/Text/_text.scss +4 -2
- package/dist/scss/components/UserManagement/_userManagement.scss +0 -8
- package/dist/scss/components/Video/_video.scss +17 -0
- package/dist/utils/index.d.ts +2 -1
- package/dist/utils/index.js +7 -7
- package/package.json +4 -2
|
@@ -1,38 +1,38 @@
|
|
|
1
|
-
import { jsx as n, jsxs as
|
|
2
|
-
import { getCommonProps as
|
|
3
|
-
import
|
|
4
|
-
|
|
1
|
+
import { jsx as n, jsxs as m } from "react/jsx-runtime";
|
|
2
|
+
import { getCommonProps as u } from "../../utils/index.js";
|
|
3
|
+
import f from "../../node_modules/classnames/index.js";
|
|
4
|
+
import { TextVariants as c } from "../Text/types.js";
|
|
5
|
+
import i from "../Text/Text.js";
|
|
6
|
+
const v = ({
|
|
5
7
|
prehead: r,
|
|
6
|
-
date:
|
|
7
|
-
headerText:
|
|
8
|
+
date: l,
|
|
9
|
+
headerText: t,
|
|
8
10
|
subHeadText: a,
|
|
9
|
-
association:
|
|
11
|
+
association: s,
|
|
10
12
|
background: p,
|
|
11
13
|
className: h,
|
|
12
|
-
...
|
|
14
|
+
...o
|
|
13
15
|
}) => {
|
|
14
|
-
const { className:
|
|
16
|
+
const { className: e, ...d } = u(o, "HeroBanner");
|
|
15
17
|
return /* @__PURE__ */ n(
|
|
16
18
|
"header",
|
|
17
19
|
{
|
|
18
|
-
...
|
|
19
|
-
className:
|
|
20
|
+
...d,
|
|
21
|
+
className: f(e, h),
|
|
20
22
|
style: { "--background": p },
|
|
21
|
-
...
|
|
22
|
-
children: /* @__PURE__ */
|
|
23
|
-
r ||
|
|
23
|
+
...o,
|
|
24
|
+
children: /* @__PURE__ */ m("span", { className: `${e}__content-wrapper`, children: [
|
|
25
|
+
r || l ? /* @__PURE__ */ m("p", { className: `${e}__pre-head`, children: [
|
|
24
26
|
r ? /* @__PURE__ */ n("span", { children: r }) : null,
|
|
25
|
-
|
|
27
|
+
l ? /* @__PURE__ */ n("span", { children: l }) : null
|
|
26
28
|
] }) : null,
|
|
27
|
-
/* @__PURE__ */
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
] }),
|
|
31
|
-
c ? /* @__PURE__ */ n("p", { children: c }) : null
|
|
29
|
+
/* @__PURE__ */ n(i, { variant: c.heading1, children: t }),
|
|
30
|
+
a ? /* @__PURE__ */ n(i, { variant: c.heading2, children: a }) : null,
|
|
31
|
+
s ? /* @__PURE__ */ n("p", { children: s }) : null
|
|
32
32
|
] })
|
|
33
33
|
}
|
|
34
34
|
);
|
|
35
35
|
};
|
|
36
36
|
export {
|
|
37
|
-
|
|
37
|
+
v as default
|
|
38
38
|
};
|
|
@@ -1,31 +1,30 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
3
|
-
import { getCommonProps as
|
|
4
|
-
import { getLinkVariantClassName as
|
|
5
|
-
import { LinkVariants as
|
|
6
|
-
import
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
...e
|
|
1
|
+
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import p from "../../node_modules/classnames/index.js";
|
|
3
|
+
import { getCommonProps as f } from "../../utils/index.js";
|
|
4
|
+
import { getLinkVariantClassName as k, isLinkExternal as x } from "./utils.js";
|
|
5
|
+
import { LinkVariants as L } from "./types.js";
|
|
6
|
+
import N from "../Text/Text.js";
|
|
7
|
+
const V = ({
|
|
8
|
+
children: m,
|
|
9
|
+
className: n,
|
|
10
|
+
element: r = "a",
|
|
11
|
+
variant: o = L.link,
|
|
12
|
+
href: s,
|
|
13
|
+
...a
|
|
15
14
|
}) => {
|
|
16
|
-
const { className:
|
|
17
|
-
return /* @__PURE__ */
|
|
18
|
-
|
|
15
|
+
const { className: t, ...i } = f(a, "Link"), l = p(t, k(o), n), c = x(s);
|
|
16
|
+
return /* @__PURE__ */ e(
|
|
17
|
+
r,
|
|
19
18
|
{
|
|
20
|
-
...
|
|
21
|
-
href:
|
|
22
|
-
className:
|
|
23
|
-
...
|
|
24
|
-
...
|
|
25
|
-
children: /* @__PURE__ */
|
|
19
|
+
...i,
|
|
20
|
+
href: s,
|
|
21
|
+
className: l,
|
|
22
|
+
...c && r === "a" ? { rel: "noopener noreferrer", target: "_blank" } : {},
|
|
23
|
+
...a,
|
|
24
|
+
children: /* @__PURE__ */ e(N, { variant: o, children: m })
|
|
26
25
|
}
|
|
27
26
|
);
|
|
28
27
|
};
|
|
29
28
|
export {
|
|
30
|
-
|
|
29
|
+
V as default
|
|
31
30
|
};
|
|
@@ -1,22 +1,9 @@
|
|
|
1
1
|
export declare enum LinkVariants {
|
|
2
|
-
/** Default variant, used */
|
|
3
|
-
standalone = "standalone",
|
|
4
2
|
/** link rendering emailto: */
|
|
5
3
|
email = "email",
|
|
6
|
-
/** these links are being rendered in a list */
|
|
7
|
-
list = "list",
|
|
8
|
-
/** link is being rendered within body copy */
|
|
9
|
-
inline = "inline",
|
|
10
|
-
/** link is being rendered in the main nav bar */
|
|
11
|
-
navMain = "navMain",
|
|
12
|
-
/** link is being rendered in a nav bar flyout*/
|
|
13
|
-
navLinkLg = "navLinkLg",
|
|
14
|
-
/** link is being rendered in a nav bar flyout*/
|
|
15
|
-
navLinkSm = "navLinkSm",
|
|
16
|
-
/** link is being rendered in a footer */
|
|
17
|
-
link = "link",
|
|
18
|
-
/** link is being rendered in a footer|header */
|
|
19
4
|
snwHeaderLink = "snwHeaderLink",
|
|
20
5
|
/** link is being rendered in a footer|header */
|
|
21
|
-
snwFlyoutLink = "snwFlyoutLink"
|
|
6
|
+
snwFlyoutLink = "snwFlyoutLink",
|
|
7
|
+
/** standard link */
|
|
8
|
+
link = "link"
|
|
22
9
|
}
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
import { TextVariants as l } from "../Text/types.js";
|
|
2
|
+
import "react/jsx-runtime";
|
|
3
|
+
import "../../utils/index.js";
|
|
4
|
+
import "../../node_modules/classnames/index.js";
|
|
5
|
+
var o = ((e) => (e[e.email = l.email] = "email", e[e.snwHeaderLink = l.snwHeaderLink] = "snwHeaderLink", e[e.snwFlyoutLink = l.snwFlyoutLink] = "snwFlyoutLink", e[e.link = l.link] = "link", e))(o || {});
|
|
2
6
|
export {
|
|
3
|
-
|
|
7
|
+
o as LinkVariants
|
|
4
8
|
};
|
|
@@ -1,19 +1,3 @@
|
|
|
1
|
-
import { LinkVariants
|
|
2
|
-
export declare const getLinkVariantClassName: (variant: keyof typeof
|
|
1
|
+
import { LinkVariants } from './types';
|
|
2
|
+
export declare const getLinkVariantClassName: (variant: keyof typeof LinkVariants) => string;
|
|
3
3
|
export declare const isLinkExternal: (href?: string) => boolean;
|
|
4
|
-
export declare enum LinkVariants {
|
|
5
|
-
/** Default variant, used */
|
|
6
|
-
standalone = "standalone",
|
|
7
|
-
/** link rendering emailto: */
|
|
8
|
-
email = "email",
|
|
9
|
-
/** these links are being rendered in a list */
|
|
10
|
-
list = "list",
|
|
11
|
-
/** link is being rendered within body copy */
|
|
12
|
-
inline = "inline",
|
|
13
|
-
/** link is being rendered in the main nav bar */
|
|
14
|
-
navMain = "navMain",
|
|
15
|
-
/** link is being rendered in a nav bar flyout*/
|
|
16
|
-
navLinkLg = "navLinkLg",
|
|
17
|
-
/** link is being rendered in a nav bar flyout*/
|
|
18
|
-
navLinkSm = "navLinkSm"
|
|
19
|
-
}
|
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
import { px as
|
|
2
|
-
const
|
|
1
|
+
import { px as a } from "../../utils/index.js";
|
|
2
|
+
const n = (t) => `${a}-link--${t}`, s = (t) => !!(t != null && t.match(
|
|
3
3
|
/(http[s]?:\/\/)(?!.*phillips\.com)([a-zA-Z0-9\-.]+)(:[0-9]{1,4})?([a-zA-Z0-9/\-._~:?#[\]@!$&'()*+,;=]*)/g
|
|
4
4
|
));
|
|
5
|
-
var a = /* @__PURE__ */ ((n) => (n.standalone = "standalone", n.email = "email", n.list = "list", n.inline = "inline", n.navMain = "navMain", n.navLinkLg = "navLinkLg", n.navLinkSm = "navLinkSm", n))(a || {});
|
|
6
5
|
export {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
t as isLinkExternal
|
|
6
|
+
n as getLinkVariantClassName,
|
|
7
|
+
s as isLinkExternal
|
|
10
8
|
};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { jsxs as l, jsx as n } from "react/jsx-runtime";
|
|
2
2
|
import d from "../../node_modules/classnames/index.js";
|
|
3
|
-
import { getCommonProps as
|
|
4
|
-
import
|
|
5
|
-
import { LinkVariants as f } from "../Link/
|
|
6
|
-
const j = ({ linkProps: s, description: e, className: i, ...
|
|
3
|
+
import { getCommonProps as k } from "../../utils/index.js";
|
|
4
|
+
import p from "../Link/Link.js";
|
|
5
|
+
import { LinkVariants as f } from "../Link/types.js";
|
|
6
|
+
const j = ({ linkProps: s, description: e, className: i, ...o }) => {
|
|
7
7
|
var m;
|
|
8
|
-
const { className:
|
|
9
|
-
return /* @__PURE__ */ l("div", { ...a, className: r, ...
|
|
10
|
-
/* @__PURE__ */ n(c, { ...s, "data-testid": `${a["data-testid"]}-link`, variant: f.
|
|
11
|
-
/* @__PURE__ */ n("p", { className: `${
|
|
8
|
+
const { className: t, ...a } = k(o, "LinkBlock"), r = d(t, i), c = (m = s.element) != null ? m : p;
|
|
9
|
+
return /* @__PURE__ */ l("div", { ...a, className: r, ...o, children: [
|
|
10
|
+
/* @__PURE__ */ n(c, { ...s, "data-testid": `${a["data-testid"]}-link`, variant: f.link }),
|
|
11
|
+
/* @__PURE__ */ n("p", { className: `${t}__description`, children: e })
|
|
12
12
|
] });
|
|
13
13
|
};
|
|
14
14
|
export {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { LinkProps } from '../../Link/Link';
|
|
3
|
-
import { LinkVariants } from '../../Link/
|
|
3
|
+
import { LinkVariants } from '../../Link/types';
|
|
4
4
|
export interface NavigationItemProps extends Omit<React.HTMLAttributes<HTMLLIElement>, 'onClick'> {
|
|
5
5
|
/**
|
|
6
6
|
* Optional badge for navigation item. Used currently for location of auctions
|
|
@@ -1,36 +1,44 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as e, jsxs as p } from "react/jsx-runtime";
|
|
2
2
|
import * as f from "react";
|
|
3
|
-
import { px as
|
|
3
|
+
import { px as t } from "../../../utils/index.js";
|
|
4
4
|
import x from "../../../node_modules/classnames/index.js";
|
|
5
|
-
import
|
|
6
|
-
import { LinkVariants as
|
|
7
|
-
import { HeaderContext as
|
|
8
|
-
const
|
|
9
|
-
badge:
|
|
10
|
-
className:
|
|
11
|
-
href:
|
|
5
|
+
import _ from "../../Link/Link.js";
|
|
6
|
+
import { LinkVariants as v } from "../../Link/types.js";
|
|
7
|
+
import { HeaderContext as $ } from "../../Header/Header.js";
|
|
8
|
+
const j = ({
|
|
9
|
+
badge: a,
|
|
10
|
+
className: r = "",
|
|
11
|
+
href: i,
|
|
12
12
|
label: n,
|
|
13
13
|
navGroup: s,
|
|
14
14
|
navType: m,
|
|
15
15
|
onClick: o,
|
|
16
|
-
element: l =
|
|
17
|
-
...
|
|
16
|
+
element: l = _,
|
|
17
|
+
...d
|
|
18
18
|
}) => {
|
|
19
|
-
const { expandedItem:
|
|
20
|
-
return /* @__PURE__ */
|
|
19
|
+
const { expandedItem: c } = f.useContext($);
|
|
20
|
+
return /* @__PURE__ */ e(
|
|
21
21
|
"li",
|
|
22
22
|
{
|
|
23
|
-
...
|
|
23
|
+
...d,
|
|
24
24
|
onClick: o,
|
|
25
25
|
"data-testid": `nav-item-${n}`,
|
|
26
|
-
className: x(`${
|
|
27
|
-
children: /* @__PURE__ */ p(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
26
|
+
className: x(`${t}-nav__item`, s, r),
|
|
27
|
+
children: /* @__PURE__ */ p(
|
|
28
|
+
l,
|
|
29
|
+
{
|
|
30
|
+
href: i,
|
|
31
|
+
variant: m || v.snwHeaderLink,
|
|
32
|
+
tabIndex: c === "" ? 0 : -1,
|
|
33
|
+
children: [
|
|
34
|
+
/* @__PURE__ */ e("span", { className: `${t}-nav__item--label`, children: n }),
|
|
35
|
+
a ? /* @__PURE__ */ e("span", { className: `${t}-nav__item--badge `, children: ` • ${a}` }) : null
|
|
36
|
+
]
|
|
37
|
+
}
|
|
38
|
+
)
|
|
31
39
|
}
|
|
32
40
|
);
|
|
33
41
|
};
|
|
34
42
|
export {
|
|
35
|
-
|
|
43
|
+
j as default
|
|
36
44
|
};
|
|
@@ -1,14 +1,10 @@
|
|
|
1
1
|
export declare enum TextVariants {
|
|
2
|
-
display0 = "display0",
|
|
3
|
-
display1 = "display1",
|
|
4
|
-
display2 = "display2",
|
|
5
|
-
display3 = "display3",
|
|
6
|
-
display4 = "display4",
|
|
7
2
|
blockquote = "blockquote",
|
|
8
3
|
heading1 = "heading1",
|
|
9
4
|
heading2 = "heading2",
|
|
10
5
|
heading3 = "heading3",
|
|
11
6
|
heading4 = "heading4",
|
|
7
|
+
heading5 = "heading5",
|
|
12
8
|
title1 = "title1",
|
|
13
9
|
title2 = "title2",
|
|
14
10
|
title3 = "title3",
|
|
@@ -20,9 +16,10 @@ export declare enum TextVariants {
|
|
|
20
16
|
string2 = "string2",
|
|
21
17
|
string3 = "string3",
|
|
22
18
|
button = "button",
|
|
23
|
-
ctaLg = "ctaLg",
|
|
24
|
-
ctaSm = "ctaSm",
|
|
25
19
|
email = "email",
|
|
26
20
|
label = "label",
|
|
27
|
-
|
|
21
|
+
link = "link",
|
|
22
|
+
badge = "badge",
|
|
23
|
+
snwFlyoutLink = "snwFlyoutLink",
|
|
24
|
+
snwHeaderLink = "snwHeaderLink"
|
|
28
25
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var l = /* @__PURE__ */ ((d) => (d.
|
|
1
|
+
var l = /* @__PURE__ */ ((d) => (d.blockquote = "blockquote", d.heading1 = "heading1", d.heading2 = "heading2", d.heading3 = "heading3", d.heading4 = "heading4", d.heading5 = "heading5", d.title1 = "title1", d.title2 = "title2", d.title3 = "title3", d.title4 = "title4", d.body1 = "body1", d.body2 = "body2", d.body3 = "body3", d.string1 = "string1", d.string2 = "string2", d.string3 = "string3", d.button = "button", d.email = "email", d.label = "label", d.link = "link", d.badge = "badge", d.snwFlyoutLink = "snwFlyoutLink", d.snwHeaderLink = "snwHeaderLink", d))(l || {});
|
|
2
2
|
export {
|
|
3
3
|
l as TextVariants
|
|
4
4
|
};
|
|
@@ -1,10 +1,7 @@
|
|
|
1
|
-
import { px as
|
|
1
|
+
import { px as r } from "../../utils/index.js";
|
|
2
2
|
import { TextVariants as t } from "./types.js";
|
|
3
|
-
const
|
|
4
|
-
const r = e.replace("ctaSm", "cta-sm").replace("ctaLg", "cta-lg");
|
|
5
|
-
return `${s}-text--${r.charAt(0).toLowerCase() + r.slice(1)}`;
|
|
6
|
-
}, c = (e = t.body1) => [t.display0, t.display1].includes(e) ? "h1" : [t.display2, t.display3, t.display4].includes(e) ? "h3" : e === t.blockquote ? "blockquote" : e.includes("body") ? "p" : e === t.label ? "label" : e.includes("heading") ? `h${isNaN(parseInt(e.slice(-1))) ? 3 : parseInt(e.slice(-1))}` : "span";
|
|
3
|
+
const o = (e = t.body1) => `${r}-text--${e.charAt(0).toLowerCase() + e.slice(1)}`, u = (e = t.body1) => e === t.blockquote ? "blockquote" : e.includes("body") ? "p" : e.includes("string") || e.includes("title") ? "span" : e === t.label ? "label" : e.includes("heading") ? `h${isNaN(parseInt(e.slice(-1))) ? 3 : parseInt(e.slice(-1))}` : "span";
|
|
7
4
|
export {
|
|
8
|
-
|
|
9
|
-
|
|
5
|
+
u as determineDefaultTextElement,
|
|
6
|
+
o as determineTextClassName
|
|
10
7
|
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { ComponentProps } from 'react';
|
|
2
|
+
export interface VideoProps extends ComponentProps<'div'> {
|
|
3
|
+
/**
|
|
4
|
+
* Aspect ratio of the video
|
|
5
|
+
* Defaults to 1.777 (16/9)
|
|
6
|
+
*/
|
|
7
|
+
aspectRatio?: number;
|
|
8
|
+
/**
|
|
9
|
+
* The url of the video source
|
|
10
|
+
*/
|
|
11
|
+
videoSource: string;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* ## Overview
|
|
15
|
+
*
|
|
16
|
+
* A component for rendering a video iframe with a specified aspect ratio and height.
|
|
17
|
+
*
|
|
18
|
+
* [Figma Link](https://www.figma.com/design/Hp2FyltbOmRxTuw9kSwBAd/EPIC-About-Us?node-id=1103-5014)
|
|
19
|
+
*
|
|
20
|
+
* [Storybook Link](https://phillips-seldon.netlify.app/?path=/docs/components-video--overview)
|
|
21
|
+
*/
|
|
22
|
+
declare const Video: ({ aspectRatio, className, videoSource, ...props }: VideoProps) => import("react/jsx-runtime").JSX.Element;
|
|
23
|
+
export default Video;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import { getCommonProps as d } from "../../utils/index.js";
|
|
3
|
+
import l from "../../node_modules/classnames/index.js";
|
|
4
|
+
const u = ({ aspectRatio: s = 16 / 9, className: o, videoSource: m, ...e }) => {
|
|
5
|
+
const { className: a, "data-testid": r, ...i } = d(e, "Video"), c = {
|
|
6
|
+
className: l(a, o),
|
|
7
|
+
"data-testid": r,
|
|
8
|
+
style: { "--aspect-ratio": s },
|
|
9
|
+
...i,
|
|
10
|
+
...e
|
|
11
|
+
};
|
|
12
|
+
return /* @__PURE__ */ t("div", { ...c, children: /* @__PURE__ */ t(
|
|
13
|
+
"iframe",
|
|
14
|
+
{
|
|
15
|
+
"data-testid": `${r}-iframe`,
|
|
16
|
+
className: `${a}__iframe`,
|
|
17
|
+
src: m,
|
|
18
|
+
allowFullScreen: !0,
|
|
19
|
+
allow: "encrypted-media",
|
|
20
|
+
referrerPolicy: "no-referrer"
|
|
21
|
+
}
|
|
22
|
+
) });
|
|
23
|
+
};
|
|
24
|
+
export {
|
|
25
|
+
u as default
|
|
26
|
+
};
|
package/dist/index.d.ts
CHANGED
|
@@ -14,7 +14,7 @@ export { default as NavigationList, type NavigationListProps, } from './componen
|
|
|
14
14
|
export { default as HeroBanner, type HeroBannerProps } from './components/HeroBanner/HeroBanner';
|
|
15
15
|
export { default as Input, type InputProps } from './components/Input/Input';
|
|
16
16
|
export { default as Link, type LinkProps } from './components/Link/Link';
|
|
17
|
-
export { LinkVariants } from './components/Link/
|
|
17
|
+
export { LinkVariants } from './components/Link/types';
|
|
18
18
|
export { default as LinkBlock, type LinkBlockProps } from './components/LinkBlock/LinkBlock';
|
|
19
19
|
export { default as LinkList, type LinkListProps } from './components/LinkList/LinkList';
|
|
20
20
|
export { default as Row, type RowProps } from './components/Row/Row';
|
|
@@ -36,3 +36,4 @@ export { default as UserManagement, type UserManagementProps } from './component
|
|
|
36
36
|
export { AuthState } from './components/UserManagement/types';
|
|
37
37
|
export * from './types/commonTypes';
|
|
38
38
|
export { Breadcrumb, type BreadcrumbProps } from './components/Breadcrumb';
|
|
39
|
+
export { default as Video, type VideoProps } from './components/Video/Video';
|
package/dist/index.js
CHANGED
|
@@ -3,7 +3,7 @@ import { default as g } from "./pages/Page.js";
|
|
|
3
3
|
import { default as S } from "./components/Button/Button.js";
|
|
4
4
|
import { ButtonVariants as I } from "./components/Button/types.js";
|
|
5
5
|
import { default as P } from "./components/IconButton/IconButton.js";
|
|
6
|
-
import { default as
|
|
6
|
+
import { default as k } from "./components/ErrorBoundary/ErrorBoundary.js";
|
|
7
7
|
import { default as T } from "./components/Footer/Footer.js";
|
|
8
8
|
import { Grid as h } from "./components/Grid/Grid.js";
|
|
9
9
|
import { default as w } from "./components/Header/Header.js";
|
|
@@ -14,7 +14,7 @@ import { default as R } from "./components/Navigation/NavigationList/NavigationL
|
|
|
14
14
|
import { default as z } from "./components/HeroBanner/HeroBanner.js";
|
|
15
15
|
import { default as E } from "./components/Input/Input.js";
|
|
16
16
|
import { default as Y } from "./components/Link/Link.js";
|
|
17
|
-
import { LinkVariants as q } from "./components/Link/
|
|
17
|
+
import { LinkVariants as q } from "./components/Link/types.js";
|
|
18
18
|
import { default as K } from "./components/LinkBlock/LinkBlock.js";
|
|
19
19
|
import { default as W } from "./components/LinkList/LinkList.js";
|
|
20
20
|
import { default as Z } from "./components/Row/Row.js";
|
|
@@ -30,7 +30,7 @@ import { default as ge } from "./components/ViewingsList/ViewingsList.js";
|
|
|
30
30
|
import { default as Se } from "./components/Modal/Modal.js";
|
|
31
31
|
import { default as Ie } from "./components/Drawer/Drawer.js";
|
|
32
32
|
import { default as Pe } from "./components/ViewingsList/StatefulViewingsList.js";
|
|
33
|
-
import { TextVariants as
|
|
33
|
+
import { TextVariants as ke } from "./components/Text/types.js";
|
|
34
34
|
import { default as Te } from "./components/Text/Text.js";
|
|
35
35
|
import { default as he } from "./components/Accordion/Accordion.js";
|
|
36
36
|
import { default as we } from "./components/Accordion/AccordionItem.js";
|
|
@@ -40,6 +40,7 @@ import { SupportedLanguages as Me } from "./types/commonTypes.js";
|
|
|
40
40
|
import { default as Re } from "./components/Breadcrumb/Breadcrumb.js";
|
|
41
41
|
import "react/jsx-runtime";
|
|
42
42
|
import "./node_modules/classnames/index.js";
|
|
43
|
+
import { default as ze } from "./components/Video/Video.js";
|
|
43
44
|
export {
|
|
44
45
|
he as Accordion,
|
|
45
46
|
we as AccordionItem,
|
|
@@ -48,7 +49,7 @@ export {
|
|
|
48
49
|
S as Button,
|
|
49
50
|
I as ButtonVariants,
|
|
50
51
|
Ie as Drawer,
|
|
51
|
-
|
|
52
|
+
k as ErrorBoundary,
|
|
52
53
|
T as Footer,
|
|
53
54
|
h as Grid,
|
|
54
55
|
$ as GridItem,
|
|
@@ -78,8 +79,9 @@ export {
|
|
|
78
79
|
ie as SubscriptionState,
|
|
79
80
|
Me as SupportedLanguages,
|
|
80
81
|
Te as Text,
|
|
81
|
-
|
|
82
|
+
ke as TextVariants,
|
|
82
83
|
Ce as UserManagement,
|
|
84
|
+
ze as Video,
|
|
83
85
|
ge as ViewingsList,
|
|
84
86
|
f as defaultYear,
|
|
85
87
|
m as emailValidation,
|