@phillips/seldon 1.36.0 → 1.38.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/_virtual/_commonjsHelpers.js +15 -13
- package/dist/_virtual/attributes-to-props.js +4 -0
- package/dist/_virtual/constants.js +4 -0
- package/dist/_virtual/dom-to-react.js +4 -0
- package/dist/_virtual/domparser.js +4 -0
- package/dist/_virtual/html-to-dom.js +4 -0
- package/dist/_virtual/index10.js +4 -0
- package/dist/_virtual/index4.js +2 -2
- package/dist/_virtual/index6.js +4 -0
- package/dist/_virtual/index7.js +4 -0
- package/dist/_virtual/index8.js +4 -0
- package/dist/_virtual/index9.js +4 -0
- package/dist/_virtual/node.js +4 -0
- package/dist/_virtual/possibleStandardNamesOptimized.js +4 -0
- package/dist/_virtual/utilities.js +4 -0
- package/dist/_virtual/utilities2.js +4 -0
- package/dist/_virtual/utilities3.js +4 -0
- package/dist/components/HTMLParser/HTMLParser.d.ts +24 -0
- package/dist/components/HTMLParser/HTMLParser.js +21 -0
- package/dist/components/HTMLParser/index.d.ts +1 -0
- package/dist/components/HTMLParser/utils.d.ts +7 -0
- package/dist/components/HTMLParser/utils.js +31 -0
- package/dist/components/Link/Link.d.ts +1 -1
- package/dist/components/Link/Link.js +14 -13
- package/dist/components/Link/index.d.ts +2 -0
- package/dist/components/Link/types.d.ts +16 -0
- package/dist/components/Link/types.js +4 -0
- package/dist/components/Link/utils.d.ts +2 -1
- package/dist/components/UserManagement/UserManagement.d.ts +6 -2
- package/dist/components/UserManagement/UserManagement.js +35 -34
- package/dist/components/UserManagement/types.d.ts +8 -0
- package/dist/components/UserManagement/types.js +4 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +39 -35
- package/dist/node_modules/domelementtype/lib/index.js +12 -0
- package/dist/node_modules/domhandler/lib/index.js +84 -0
- package/dist/node_modules/domhandler/lib/node.js +356 -0
- package/dist/node_modules/dompurify/dist/purify.es.js +522 -0
- package/dist/node_modules/exenv/index.js +1 -1
- package/dist/node_modules/html-dom-parser/lib/client/constants.js +38 -0
- package/dist/node_modules/html-dom-parser/lib/client/domparser.js +56 -0
- package/dist/node_modules/html-dom-parser/lib/client/html-to-dom.js +20 -0
- package/dist/node_modules/html-dom-parser/lib/client/utilities.js +55 -0
- package/dist/node_modules/html-react-parser/esm/index.js +7 -0
- package/dist/node_modules/html-react-parser/lib/attributes-to-props.js +40 -0
- package/dist/node_modules/html-react-parser/lib/dom-to-react.js +60 -0
- package/dist/node_modules/html-react-parser/lib/index.js +42 -0
- package/dist/node_modules/html-react-parser/lib/utilities.js +58 -0
- package/dist/node_modules/inline-style-parser/index.js +86 -0
- package/dist/node_modules/prop-types/node_modules/react-is/index.js +1 -1
- package/dist/node_modules/react-property/lib/index.js +440 -0
- package/dist/node_modules/react-property/lib/possibleStandardNamesOptimized.js +493 -0
- package/dist/node_modules/style-to-js/cjs/index.js +19 -0
- package/dist/node_modules/style-to-js/cjs/utilities.js +16 -0
- package/dist/node_modules/style-to-object/cjs/index.js +21 -0
- package/dist/scss/components/Footer/_footer.scss +44 -1
- package/dist/scss/components/HTMLParser/_htmlParser.scss +3 -0
- package/dist/scss/components/Social/_social.scss +1 -0
- package/dist/scss/components/UserManagement/_userManagement.scss +4 -0
- package/dist/scss/styles.scss +1 -0
- package/package.json +5 -1
|
@@ -1,26 +1,28 @@
|
|
|
1
|
-
|
|
1
|
+
var u = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
|
|
2
|
+
function f(e) {
|
|
2
3
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
3
4
|
}
|
|
4
|
-
function
|
|
5
|
+
function l(e) {
|
|
5
6
|
if (e.__esModule) return e;
|
|
6
|
-
var
|
|
7
|
-
if (typeof
|
|
8
|
-
var t = function
|
|
9
|
-
return this instanceof
|
|
7
|
+
var r = e.default;
|
|
8
|
+
if (typeof r == "function") {
|
|
9
|
+
var t = function o() {
|
|
10
|
+
return this instanceof o ? Reflect.construct(r, arguments, this.constructor) : r.apply(this, arguments);
|
|
10
11
|
};
|
|
11
|
-
t.prototype =
|
|
12
|
+
t.prototype = r.prototype;
|
|
12
13
|
} else t = {};
|
|
13
|
-
return Object.defineProperty(t, "__esModule", { value: !0 }), Object.keys(e).forEach(function(
|
|
14
|
-
var
|
|
15
|
-
Object.defineProperty(t,
|
|
14
|
+
return Object.defineProperty(t, "__esModule", { value: !0 }), Object.keys(e).forEach(function(o) {
|
|
15
|
+
var n = Object.getOwnPropertyDescriptor(e, o);
|
|
16
|
+
Object.defineProperty(t, o, n.get ? n : {
|
|
16
17
|
enumerable: !0,
|
|
17
18
|
get: function() {
|
|
18
|
-
return e[
|
|
19
|
+
return e[o];
|
|
19
20
|
}
|
|
20
21
|
});
|
|
21
22
|
}), t;
|
|
22
23
|
}
|
|
23
24
|
export {
|
|
24
|
-
|
|
25
|
-
|
|
25
|
+
u as commonjsGlobal,
|
|
26
|
+
l as getAugmentedNamespace,
|
|
27
|
+
f as getDefaultExportFromCjs
|
|
26
28
|
};
|
package/dist/_virtual/index4.js
CHANGED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export interface HTMLParserProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
2
|
+
/**
|
|
3
|
+
* Rich Text content to be displayed
|
|
4
|
+
*/
|
|
5
|
+
html: string;
|
|
6
|
+
/**
|
|
7
|
+
* Optional flag to only sanitize the content and bypass the transforms to our components
|
|
8
|
+
*/
|
|
9
|
+
isOnlySanitize?: boolean;
|
|
10
|
+
/**
|
|
11
|
+
* Optional class name to add to the component
|
|
12
|
+
*/
|
|
13
|
+
className?: string;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* ## Overview
|
|
17
|
+
*
|
|
18
|
+
* A component for taking in rich text content from CMS and safely rendering the content in a consistent manner.
|
|
19
|
+
*
|
|
20
|
+
*
|
|
21
|
+
* [Storybook Link](https://phillips-seldon.netlify.app/?path=/docs/components-htmlparser--overview)
|
|
22
|
+
*/
|
|
23
|
+
declare const HTMLParser: ({ className, html, isOnlySanitize, ...props }: HTMLParserProps) => import("react/jsx-runtime").JSX.Element;
|
|
24
|
+
export default HTMLParser;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { jsx as o, Fragment as c } from "react/jsx-runtime";
|
|
2
|
+
import n from "../../node_modules/classnames/index.js";
|
|
3
|
+
import f from "../../node_modules/dompurify/dist/purify.es.js";
|
|
4
|
+
import p from "../../node_modules/html-react-parser/esm/index.js";
|
|
5
|
+
import { getCommonProps as d } from "../../utils/index.js";
|
|
6
|
+
import { options as g } from "./utils.js";
|
|
7
|
+
const N = ({ className: s, html: r, isOnlySanitize: i = !1, ...e }) => {
|
|
8
|
+
const { className: t, ...a } = d(e, "HTMLParser"), m = f.sanitize(r), l = p(m, g);
|
|
9
|
+
return /* @__PURE__ */ o(c, { children: typeof r == "string" && r.length > 0 ? i ? /* @__PURE__ */ o(
|
|
10
|
+
"div",
|
|
11
|
+
{
|
|
12
|
+
...a,
|
|
13
|
+
className: n(`${t}`, s),
|
|
14
|
+
...e,
|
|
15
|
+
dangerouslySetInnerHTML: { __html: m }
|
|
16
|
+
}
|
|
17
|
+
) : /* @__PURE__ */ o("div", { ...a, className: n(`${t}`, s), ...e, children: l }) : null });
|
|
18
|
+
};
|
|
19
|
+
export {
|
|
20
|
+
N as default
|
|
21
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as HTMLParser, type HTMLParserProps } from './HTMLParser';
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { jsx as i } from "react/jsx-runtime";
|
|
2
|
+
import "../../node_modules/html-react-parser/esm/index.js";
|
|
3
|
+
import { TextVariants as e } from "../Text/types.js";
|
|
4
|
+
import n from "../Text/Text.js";
|
|
5
|
+
import { LinkVariants as m } from "../Link/types.js";
|
|
6
|
+
import d from "../Link/Link.js";
|
|
7
|
+
import "../../node_modules/html-react-parser/lib/index.js";
|
|
8
|
+
import { __exports as r } from "../../_virtual/index4.js";
|
|
9
|
+
const a = {
|
|
10
|
+
replace({ attribs: s, children: t, name: o }) {
|
|
11
|
+
if (o === "h1")
|
|
12
|
+
return /* @__PURE__ */ i(n, { variant: e.display1, children: r.domToReact(t, a) });
|
|
13
|
+
if (o === "h2")
|
|
14
|
+
return /* @__PURE__ */ i(n, { variant: e.heading2, children: r.domToReact(t, a) });
|
|
15
|
+
if (o === "h3")
|
|
16
|
+
return /* @__PURE__ */ i(n, { variant: e.heading3, children: r.domToReact(t, a) });
|
|
17
|
+
if (o === "h4")
|
|
18
|
+
return /* @__PURE__ */ i(n, { variant: e.heading4, children: r.domToReact(t, a) });
|
|
19
|
+
if (o === "blockquote")
|
|
20
|
+
return /* @__PURE__ */ i(n, { variant: e.blockquote, children: r.domToReact(t, a) });
|
|
21
|
+
if (o === "p")
|
|
22
|
+
return /* @__PURE__ */ i(n, { variant: e.body1, children: r.domToReact(t, a) });
|
|
23
|
+
if (o === "a") {
|
|
24
|
+
const { class: f, ...p } = s, c = r.attributesToProps(p);
|
|
25
|
+
return /* @__PURE__ */ i(d, { variant: m.inline, ...c, children: r.domToReact(t, a) });
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
};
|
|
29
|
+
export {
|
|
30
|
+
a as options
|
|
31
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { HTMLAttributes } from 'react';
|
|
2
|
-
import { LinkVariants } from './
|
|
2
|
+
import { LinkVariants } from './types';
|
|
3
3
|
export interface LinkProps extends HTMLAttributes<HTMLAnchorElement> {
|
|
4
4
|
/**
|
|
5
5
|
* Describes where the link is used. It controls the styling of the link so we apply consistent styles. Defaults to `standalone`. See the documentation [here](https://www.figma.com/file/xMuOXOAKVt5HC7hgYjF3ot/Components-v2.0?type=design&node-id=5731-12815) to see where each variant is used.
|
|
@@ -1,30 +1,31 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as m } from "react/jsx-runtime";
|
|
2
2
|
import k from "../../node_modules/classnames/index.js";
|
|
3
3
|
import { getCommonProps as x } from "../../utils/index.js";
|
|
4
|
-
import { getLinkVariantClassName as L, isLinkExternal as N
|
|
5
|
-
import {
|
|
4
|
+
import { getLinkVariantClassName as L, isLinkExternal as N } from "./utils.js";
|
|
5
|
+
import { LinkVariants as s } from "./types.js";
|
|
6
|
+
import { TextVariants as t } from "../Text/types.js";
|
|
6
7
|
import d from "../Text/Text.js";
|
|
7
|
-
const
|
|
8
|
+
const j = ({
|
|
8
9
|
children: n,
|
|
9
10
|
className: i,
|
|
10
11
|
element: a = "a",
|
|
11
|
-
variant: r =
|
|
12
|
-
href:
|
|
13
|
-
...
|
|
12
|
+
variant: r = s.standalone,
|
|
13
|
+
href: o,
|
|
14
|
+
...e
|
|
14
15
|
}) => {
|
|
15
|
-
const { className: l, ...c } = x(
|
|
16
|
-
return /* @__PURE__ */
|
|
16
|
+
const { className: l, ...c } = x(e, "Link"), p = k(l, L(r), i), f = N(o);
|
|
17
|
+
return /* @__PURE__ */ m(
|
|
17
18
|
a,
|
|
18
19
|
{
|
|
19
20
|
...c,
|
|
20
|
-
href:
|
|
21
|
+
href: o,
|
|
21
22
|
className: p,
|
|
22
23
|
...f && a === "a" ? { rel: "noopener noreferrer", target: "_blank" } : {},
|
|
23
|
-
...
|
|
24
|
-
children: /* @__PURE__ */
|
|
24
|
+
...e,
|
|
25
|
+
children: /* @__PURE__ */ m(d, { variant: r === s.email ? t.email : t.ctaSm, children: n })
|
|
25
26
|
}
|
|
26
27
|
);
|
|
27
28
|
};
|
|
28
29
|
export {
|
|
29
|
-
|
|
30
|
+
j as default
|
|
30
31
|
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export declare enum LinkVariants {
|
|
2
|
+
/** Default variant, used */
|
|
3
|
+
standalone = "standalone",
|
|
4
|
+
/** link rendering emailto: */
|
|
5
|
+
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
|
+
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
import { LinkVariants as UpdatedLinkVariants } from './types';
|
|
2
|
+
export declare const getLinkVariantClassName: (variant: keyof typeof UpdatedLinkVariants) => string;
|
|
2
3
|
export declare const isLinkExternal: (href?: string) => boolean;
|
|
3
4
|
export declare enum LinkVariants {
|
|
4
5
|
/** Default variant, used */
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import React, { ReactNode } from 'react';
|
|
2
2
|
import { LinkProps } from '../Link/Link';
|
|
3
3
|
import { SupportedLanguages } from '../../types/commonTypes';
|
|
4
|
+
import { AuthState } from './types';
|
|
4
5
|
export interface UserManagementProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
5
6
|
languageOptions?: {
|
|
6
7
|
label: string;
|
|
@@ -8,12 +9,15 @@ export interface UserManagementProps extends React.HTMLAttributes<HTMLDivElement
|
|
|
8
9
|
}[];
|
|
9
10
|
currentLanguage?: SupportedLanguages;
|
|
10
11
|
onLanguageChange?: (language: SupportedLanguages) => void;
|
|
11
|
-
|
|
12
|
+
/**
|
|
13
|
+
* The authentication state for the current user
|
|
14
|
+
*/
|
|
15
|
+
authState?: AuthState;
|
|
12
16
|
onLogin?: () => void;
|
|
13
17
|
onLogout?: () => void;
|
|
14
18
|
accountDetailsLink?: React.ElementType<LinkProps>;
|
|
15
19
|
loginLabel?: ReactNode;
|
|
16
20
|
logoutLabel?: ReactNode;
|
|
17
21
|
}
|
|
18
|
-
declare const UserManagement: ({ accountDetailsLink, children, className, currentLanguage, languageOptions, onLanguageChange,
|
|
22
|
+
declare const UserManagement: ({ accountDetailsLink, children, className, currentLanguage, languageOptions, onLanguageChange, onLogin, onLogout, authState, loginLabel, logoutLabel, ...props }: React.PropsWithChildren<UserManagementProps>) => import("react/jsx-runtime").JSX.Element;
|
|
19
23
|
export default UserManagement;
|
|
@@ -1,47 +1,48 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { getCommonProps as j, px as
|
|
1
|
+
import { jsxs as p, jsx as a, Fragment as S } from "react/jsx-runtime";
|
|
2
|
+
import { getCommonProps as j, px as w, noOp as o } from "../../utils/index.js";
|
|
3
3
|
import M from "../Input/Input.js";
|
|
4
4
|
import P from "../../assets/account_circle.svg.js";
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import { SupportedLanguages as
|
|
9
|
-
import
|
|
10
|
-
|
|
11
|
-
|
|
5
|
+
import T from "../Navigation/NavigationItemTrigger/NavigationItemTrigger.js";
|
|
6
|
+
import U from "../Navigation/NavigationList/NavigationList.js";
|
|
7
|
+
import y from "../Navigation/NavigationItem/NavigationItem.js";
|
|
8
|
+
import { SupportedLanguages as m } from "../../types/commonTypes.js";
|
|
9
|
+
import z from "../../node_modules/classnames/index.js";
|
|
10
|
+
import { AuthState as r } from "./types.js";
|
|
11
|
+
const V = ({
|
|
12
|
+
accountDetailsLink: n,
|
|
12
13
|
children: v,
|
|
13
|
-
className:
|
|
14
|
-
currentLanguage:
|
|
14
|
+
className: f,
|
|
15
|
+
currentLanguage: s = m.en,
|
|
15
16
|
languageOptions: t = [
|
|
16
|
-
{ label: "English", value:
|
|
17
|
-
{ label: "中文", value:
|
|
17
|
+
{ label: "English", value: m.en },
|
|
18
|
+
{ label: "中文", value: m.zh }
|
|
18
19
|
],
|
|
19
|
-
onLanguageChange:
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
loginLabel:
|
|
24
|
-
logoutLabel:
|
|
25
|
-
...
|
|
20
|
+
onLanguageChange: _ = o,
|
|
21
|
+
onLogin: N = o,
|
|
22
|
+
onLogout: b = o,
|
|
23
|
+
authState: i = r.LoggedOut,
|
|
24
|
+
loginLabel: C = "Login",
|
|
25
|
+
logoutLabel: $ = "Logout",
|
|
26
|
+
...g
|
|
26
27
|
}) => {
|
|
27
|
-
var
|
|
28
|
-
const { className: l, ...
|
|
29
|
-
var
|
|
30
|
-
(
|
|
28
|
+
var u, d;
|
|
29
|
+
const { className: l, ...x } = j(g, "UserManagement"), I = (d = (u = t.find((e) => e.value === s)) == null ? void 0 : u.label) != null ? d : "English", L = n != null ? n : "a", c = i === r.LoggedIn, A = i !== r.Loading, E = (e) => {
|
|
30
|
+
var h;
|
|
31
|
+
(h = document.activeElement) == null || h.blur(), _(e);
|
|
31
32
|
};
|
|
32
|
-
return /* @__PURE__ */
|
|
33
|
-
/* @__PURE__ */
|
|
34
|
-
|
|
33
|
+
return /* @__PURE__ */ p("div", { ...x, className: z(l, f), ...g, children: [
|
|
34
|
+
/* @__PURE__ */ a("ul", { className: `${l}__account-wrapper`, children: A && /* @__PURE__ */ p(S, { children: [
|
|
35
|
+
/* @__PURE__ */ a(L, { children: /* @__PURE__ */ a(P, { className: `${l}__account-icon` }) }),
|
|
35
36
|
/* @__PURE__ */ a(
|
|
36
|
-
|
|
37
|
+
y,
|
|
37
38
|
{
|
|
38
39
|
className: `${l}__login`,
|
|
39
|
-
onClick:
|
|
40
|
-
label:
|
|
40
|
+
onClick: c ? b : N,
|
|
41
|
+
label: c ? $ : C
|
|
41
42
|
}
|
|
42
43
|
)
|
|
43
|
-
] }),
|
|
44
|
-
/* @__PURE__ */ a(
|
|
44
|
+
] }) }),
|
|
45
|
+
/* @__PURE__ */ a(T, { className: `${l}__language`, label: I, children: /* @__PURE__ */ a(U, { id: `${w}-langauge-selection-list`, className: `${l}__language__selections`, children: t.map((e) => /* @__PURE__ */ a("li", { children: /* @__PURE__ */ a(
|
|
45
46
|
M,
|
|
46
47
|
{
|
|
47
48
|
type: "radio",
|
|
@@ -50,7 +51,7 @@ const K = ({
|
|
|
50
51
|
value: e.value,
|
|
51
52
|
inline: !0,
|
|
52
53
|
name: "languages",
|
|
53
|
-
checked: e.value ===
|
|
54
|
+
checked: e.value === s,
|
|
54
55
|
onChange: () => E(e.value)
|
|
55
56
|
}
|
|
56
57
|
) }, e.value)) }) }),
|
|
@@ -58,5 +59,5 @@ const K = ({
|
|
|
58
59
|
] });
|
|
59
60
|
};
|
|
60
61
|
export {
|
|
61
|
-
|
|
62
|
+
V as default
|
|
62
63
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -31,7 +31,9 @@ export { default as Modal, type ModalProps } from './components/Modal/Modal';
|
|
|
31
31
|
export { default as Drawer } from './components/Drawer/Drawer';
|
|
32
32
|
export { default as StatefulViewingsList, type StatefulViewingsListProps, } from './components/ViewingsList/StatefulViewingsList';
|
|
33
33
|
export * from './components/Text';
|
|
34
|
+
export * from './components/HTMLParser';
|
|
34
35
|
export * from './components/Accordion';
|
|
35
36
|
export { default as UserManagement, type UserManagementProps } from './components/UserManagement/UserManagement';
|
|
37
|
+
export { AuthState } from './components/UserManagement/types';
|
|
36
38
|
export * from './types/commonTypes';
|
|
37
39
|
export { Breadcrumb, type BreadcrumbProps } from './components/Breadcrumb';
|
package/dist/index.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { PaddingTokens as a, defaultYear as f, emailValidation as m, encodeURLSearchParams as p, findChildrenOfType as
|
|
1
|
+
import { PaddingTokens as a, defaultYear as f, emailValidation as m, encodeURLSearchParams as p, findChildrenOfType as s, generatePaddingClassName as d, getCommonProps as u, noOp as l, px as i, useNormalizedInputProps as x } from "./utils/index.js";
|
|
2
2
|
import { default as g } from "./pages/Page.js";
|
|
3
3
|
import { default as L } from "./components/Button/Button.js";
|
|
4
4
|
import { ButtonVariants as I } from "./components/Button/types.js";
|
|
5
|
-
import { default as
|
|
5
|
+
import { default as B } from "./components/IconButton/IconButton.js";
|
|
6
6
|
import { default as N } from "./components/ErrorBoundary/ErrorBoundary.js";
|
|
7
|
-
import { default as
|
|
8
|
-
import { Grid as
|
|
9
|
-
import { default as
|
|
7
|
+
import { default as V } from "./components/Footer/Footer.js";
|
|
8
|
+
import { Grid as h } from "./components/Grid/Grid.js";
|
|
9
|
+
import { default as w } from "./components/Header/Header.js";
|
|
10
10
|
import { default as C } from "./components/Navigation/Navigation.js";
|
|
11
|
-
import { default as
|
|
12
|
-
import { default as
|
|
11
|
+
import { default as H } from "./components/Navigation/NavigationItem/NavigationItem.js";
|
|
12
|
+
import { default as y } from "./components/Navigation/NavigationItemTrigger/NavigationItemTrigger.js";
|
|
13
13
|
import { default as R } from "./components/Navigation/NavigationList/NavigationList.js";
|
|
14
14
|
import { default as z } from "./components/HeroBanner/HeroBanner.js";
|
|
15
15
|
import { default as E } from "./components/Input/Input.js";
|
|
@@ -20,40 +20,44 @@ import { default as W } from "./components/LinkList/LinkList.js";
|
|
|
20
20
|
import { default as Z } from "./components/Row/Row.js";
|
|
21
21
|
import { default as $ } from "./components/GridItem/GridItem.js";
|
|
22
22
|
import { GridItemAlign as re } from "./components/GridItem/types.js";
|
|
23
|
-
import { default as
|
|
23
|
+
import { default as oe } from "./components/Search/Search.js";
|
|
24
24
|
import { default as fe } from "./components/Select/Select.js";
|
|
25
25
|
import { default as pe } from "./components/SplitPanel/SplitPanel.js";
|
|
26
|
-
import { default as
|
|
26
|
+
import { default as de } from "./components/Subscribe/Subscribe.js";
|
|
27
27
|
import { SubscriptionState as le } from "./components/Subscribe/types.js";
|
|
28
28
|
import { default as xe } from "./components/Social/Social.js";
|
|
29
29
|
import { default as ge } from "./components/ViewingsList/ViewingsList.js";
|
|
30
30
|
import { default as Le } from "./components/Modal/Modal.js";
|
|
31
31
|
import { default as Ie } from "./components/Drawer/Drawer.js";
|
|
32
|
-
import { default as
|
|
32
|
+
import { default as Be } from "./components/ViewingsList/StatefulViewingsList.js";
|
|
33
33
|
import { TextVariants as Ne } from "./components/Text/types.js";
|
|
34
|
-
import { default as
|
|
35
|
-
import { default as
|
|
36
|
-
import { default as
|
|
37
|
-
import { default as Ce } from "./components/
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
34
|
+
import { default as Ve } from "./components/Text/Text.js";
|
|
35
|
+
import { default as he } from "./components/HTMLParser/HTMLParser.js";
|
|
36
|
+
import { default as we } from "./components/Accordion/Accordion.js";
|
|
37
|
+
import { default as Ce } from "./components/Accordion/AccordionItem.js";
|
|
38
|
+
import { default as He } from "./components/UserManagement/UserManagement.js";
|
|
39
|
+
import { AuthState as ye } from "./components/UserManagement/types.js";
|
|
40
|
+
import { SupportedLanguages as Re } from "./types/commonTypes.js";
|
|
41
|
+
import { default as ze } from "./components/Breadcrumb/Breadcrumb.js";
|
|
40
42
|
import "react/jsx-runtime";
|
|
41
43
|
import "./node_modules/classnames/index.js";
|
|
42
44
|
export {
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
45
|
+
we as Accordion,
|
|
46
|
+
Ce as AccordionItem,
|
|
47
|
+
ye as AuthState,
|
|
48
|
+
ze as Breadcrumb,
|
|
46
49
|
L as Button,
|
|
47
50
|
I as ButtonVariants,
|
|
48
51
|
Ie as Drawer,
|
|
49
52
|
N as ErrorBoundary,
|
|
50
|
-
|
|
51
|
-
|
|
53
|
+
V as Footer,
|
|
54
|
+
h as Grid,
|
|
52
55
|
$ as GridItem,
|
|
53
56
|
re as GridItemAlign,
|
|
54
|
-
|
|
57
|
+
he as HTMLParser,
|
|
58
|
+
w as Header,
|
|
55
59
|
z as HeroBanner,
|
|
56
|
-
|
|
60
|
+
B as IconButton,
|
|
57
61
|
E as Input,
|
|
58
62
|
Y as Link,
|
|
59
63
|
K as LinkBlock,
|
|
@@ -61,31 +65,31 @@ export {
|
|
|
61
65
|
q as LinkVariants,
|
|
62
66
|
Le as Modal,
|
|
63
67
|
C as Navigation,
|
|
64
|
-
|
|
65
|
-
|
|
68
|
+
H as NavigationItem,
|
|
69
|
+
y as NavigationItemTrigger,
|
|
66
70
|
R as NavigationList,
|
|
67
71
|
a as PaddingTokens,
|
|
68
72
|
g as Page,
|
|
69
73
|
Z as Row,
|
|
70
|
-
|
|
74
|
+
oe as Search,
|
|
71
75
|
fe as Select,
|
|
72
76
|
xe as Social,
|
|
73
77
|
pe as SplitPanel,
|
|
74
|
-
|
|
75
|
-
|
|
78
|
+
Be as StatefulViewingsList,
|
|
79
|
+
de as Subscribe,
|
|
76
80
|
le as SubscriptionState,
|
|
77
|
-
|
|
78
|
-
|
|
81
|
+
Re as SupportedLanguages,
|
|
82
|
+
Ve as Text,
|
|
79
83
|
Ne as TextVariants,
|
|
80
|
-
|
|
84
|
+
He as UserManagement,
|
|
81
85
|
ge as ViewingsList,
|
|
82
86
|
f as defaultYear,
|
|
83
87
|
m as emailValidation,
|
|
84
88
|
p as encodeURLSearchParams,
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
89
|
+
s as findChildrenOfType,
|
|
90
|
+
d as generatePaddingClassName,
|
|
91
|
+
u as getCommonProps,
|
|
88
92
|
l as noOp,
|
|
89
|
-
|
|
93
|
+
i as px,
|
|
90
94
|
x as useNormalizedInputProps
|
|
91
95
|
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { __exports as D } from "../../../_virtual/index9.js";
|
|
2
|
+
(function(i) {
|
|
3
|
+
Object.defineProperty(i, "__esModule", { value: !0 }), i.Doctype = i.CDATA = i.Tag = i.Style = i.Script = i.Comment = i.Directive = i.Text = i.Root = i.isTag = i.ElementType = void 0;
|
|
4
|
+
var t;
|
|
5
|
+
(function(c) {
|
|
6
|
+
c.Root = "root", c.Text = "text", c.Directive = "directive", c.Comment = "comment", c.Script = "script", c.Style = "style", c.Tag = "tag", c.CDATA = "cdata", c.Doctype = "doctype";
|
|
7
|
+
})(t = i.ElementType || (i.ElementType = {}));
|
|
8
|
+
function a(c) {
|
|
9
|
+
return c.type === t.Tag || c.type === t.Script || c.type === t.Style;
|
|
10
|
+
}
|
|
11
|
+
i.isTag = a, i.Root = t.Root, i.Text = t.Text, i.Directive = t.Directive, i.Comment = t.Comment, i.Script = t.Script, i.Style = t.Style, i.Tag = t.Tag, i.CDATA = t.CDATA, i.Doctype = t.Doctype;
|
|
12
|
+
})(D);
|