@phillips/seldon 1.46.0 → 1.48.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/assets/PhillipsLogo.svg.js +1 -1
- package/dist/components/Footer/Footer.js +5 -5
- package/dist/components/Grid/Grid.d.ts +12 -3
- package/dist/components/Grid/Grid.js +24 -8
- package/dist/components/Grid/utils.d.ts +2 -0
- package/dist/components/Grid/utils.js +8 -0
- package/dist/components/GridItem/GridItem.js +2 -2
- package/dist/components/Header/Header.d.ts +13 -4
- package/dist/components/Header/Header.js +53 -48
- package/dist/components/Header/utils.d.ts +9 -0
- package/dist/components/Header/utils.js +13 -0
- package/dist/components/LinkList/LinkList.d.ts +2 -1
- package/dist/components/Navigation/Navigation.js +35 -31
- package/dist/components/Navigation/NavigationList/NavigationList.d.ts +5 -1
- package/dist/components/Navigation/NavigationList/NavigationList.js +11 -7
- package/dist/components/Search/Search.js +121 -113
- package/dist/components/Search/SearchButton.d.ts +7 -0
- package/dist/components/Search/SearchButton.js +37 -0
- package/dist/components/Social/Social.js +1 -1
- package/dist/index.js +80 -79
- package/dist/node_modules/@babel/runtime/helpers/esm/extends.js +13 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js +7 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +10 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js +8 -0
- package/dist/node_modules/dom-helpers/esm/addClass.js +7 -0
- package/dist/node_modules/dom-helpers/esm/hasClass.js +6 -0
- package/dist/node_modules/dom-helpers/esm/removeClass.js +9 -0
- package/dist/node_modules/lodash.debounce/index.js +3 -0
- package/dist/node_modules/prop-types/index.js +11 -8
- package/dist/node_modules/react-transition-group/esm/CSSTransition.js +207 -0
- package/dist/node_modules/react-transition-group/esm/Transition.js +336 -0
- package/dist/node_modules/react-transition-group/esm/TransitionGroupContext.js +5 -0
- package/dist/node_modules/react-transition-group/esm/config.js +6 -0
- package/dist/node_modules/react-transition-group/esm/utils/PropTypes.js +21 -0
- package/dist/node_modules/react-transition-group/esm/utils/reflow.js +6 -0
- package/dist/node_modules/usehooks-ts/dist/index.js +37 -0
- package/dist/scss/_utils.scss +21 -6
- package/dist/scss/_vars.scss +95 -91
- package/dist/scss/componentStyles.scss +1 -0
- package/dist/scss/components/Footer/_footer.scss +20 -5
- package/dist/scss/components/Grid/_grid.scss +11 -0
- package/dist/scss/components/GridItem/_gridItem.scss +4 -4
- package/dist/scss/components/Header/_header.scss +30 -3
- package/dist/scss/components/HeroBanner/_heroBanner.scss +6 -5
- package/dist/scss/components/LinkList/_linkList.scss +4 -0
- package/dist/scss/components/Navigation/NavigationItem/_navigationItem.scss +2 -2
- package/dist/scss/components/Navigation/NavigationList/_navigationList.scss +14 -2
- package/dist/scss/components/Navigation/_navigation.scss +6 -16
- package/dist/scss/components/Search/SearchResults/_searchResults.scss +10 -19
- package/dist/scss/components/Search/_search.scss +52 -74
- package/dist/scss/components/Search/_searchButton.scss +41 -0
- package/dist/scss/components/Social/_social.scss +4 -4
- package/dist/scss/components/SplitPanel/_splitPanel.scss +1 -1
- package/dist/scss/components/Subscribe/_subscribe.scss +2 -2
- package/dist/utils/index.d.ts +10 -1
- package/dist/utils/index.js +42 -41
- package/package.json +5 -2
- package/dist/assets/loading_spinner.svg.js +0 -7
|
@@ -1,137 +1,145 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import * as
|
|
3
|
-
import { getCommonProps as P, encodeURLSearchParams as N } from "../../utils/index.js";
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import D from "../../assets/close.svg.js";
|
|
8
|
-
import V from "../../assets/loading_spinner.svg.js";
|
|
9
|
-
import A from "../Link/Link.js";
|
|
1
|
+
import { jsxs as p, Fragment as k, jsx as a } from "react/jsx-runtime";
|
|
2
|
+
import * as f from "react";
|
|
3
|
+
import { getCommonProps as P, px as y, encodeURLSearchParams as N } from "../../utils/index.js";
|
|
4
|
+
import u from "../../node_modules/classnames/index.js";
|
|
5
|
+
import j from "../Input/Input.js";
|
|
6
|
+
import D from "../Link/Link.js";
|
|
10
7
|
import F from "./SearchResults/SearchResults.js";
|
|
11
8
|
import { TextVariants as H } from "../Text/types.js";
|
|
12
|
-
import
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
...
|
|
9
|
+
import O from "../Text/Text.js";
|
|
10
|
+
import { useOnClickOutside as V } from "../../node_modules/usehooks-ts/dist/index.js";
|
|
11
|
+
import { HeaderContext as A } from "../Header/Header.js";
|
|
12
|
+
import { SearchButton as K } from "./SearchButton.js";
|
|
13
|
+
import M from "../../node_modules/react-transition-group/esm/CSSTransition.js";
|
|
14
|
+
const re = ({
|
|
15
|
+
onSearch: S,
|
|
16
|
+
searchResults: C = [],
|
|
17
|
+
state: c = "idle",
|
|
18
|
+
defaultValue: I = "",
|
|
19
|
+
className: R,
|
|
20
|
+
placeholder: b = "",
|
|
21
|
+
searchButtonText: l = "Search",
|
|
22
|
+
loadingText: w = "Search In Progress...",
|
|
23
|
+
invalidText: E = "Invalid search",
|
|
24
|
+
getAllResultsText: L = (e) => `View all results for ${e}`,
|
|
25
|
+
getAllResultsLink: v = (e) => `/Search?Search=${e}`,
|
|
26
|
+
...x
|
|
26
27
|
}) => {
|
|
27
|
-
var
|
|
28
|
-
const { className: e, "data-testid":
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
var i;
|
|
37
|
-
if (t.stopPropagation(), t.key === "Enter") {
|
|
38
|
-
if (t.preventDefault(), o && o.length > 2) {
|
|
39
|
-
const I = N(_(o));
|
|
40
|
-
window.location.href = I;
|
|
28
|
+
var $;
|
|
29
|
+
const { className: e, "data-testid": m, ...T } = P(x, "Search"), d = f.useContext(A), h = f.useRef(null), o = f.useRef(null), t = d.isSearchExpanded, s = ($ = h.current) == null ? void 0 : $.value;
|
|
30
|
+
V(o, () => g(!1));
|
|
31
|
+
const _ = (r) => {
|
|
32
|
+
var n;
|
|
33
|
+
if (r.stopPropagation(), r.key === "Enter") {
|
|
34
|
+
if (r.preventDefault(), s && s.length > 2) {
|
|
35
|
+
const i = N(v(s));
|
|
36
|
+
window.location.href = i;
|
|
41
37
|
}
|
|
42
|
-
|
|
38
|
+
r.currentTarget instanceof HTMLAnchorElement && r.currentTarget.click();
|
|
39
|
+
}
|
|
40
|
+
r.key === "Escape" && (d.setIsSearchExpanded(!1), (n = o.current) == null || n.reset());
|
|
41
|
+
}, g = (r) => {
|
|
42
|
+
var n, i;
|
|
43
|
+
if (d.setIsSearchExpanded(r), r) {
|
|
44
|
+
(n = h.current) == null || n.focus();
|
|
45
|
+
return;
|
|
43
46
|
}
|
|
44
|
-
|
|
47
|
+
(i = o.current) == null || i.reset();
|
|
45
48
|
};
|
|
46
|
-
return /* @__PURE__ */
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
"button",
|
|
58
|
-
{
|
|
59
|
-
type: "button",
|
|
60
|
-
"data-testid": `${r}-button`,
|
|
61
|
-
"aria-label": c,
|
|
62
|
-
className: `${e}__button ${e}__button--search`,
|
|
63
|
-
onClick: $,
|
|
64
|
-
children: /* @__PURE__ */ a(j, { "data-testid": `${r}-button-icon`, className: `${e}__button__icon` })
|
|
65
|
-
}
|
|
66
|
-
),
|
|
67
|
-
n && s === "idle" ? /* @__PURE__ */ a(
|
|
68
|
-
"button",
|
|
69
|
-
{
|
|
70
|
-
type: "button",
|
|
71
|
-
"data-testid": `${r}-close-button`,
|
|
72
|
-
"aria-label": "Close Search",
|
|
73
|
-
className: `${e}__button ${e}__button--close`,
|
|
74
|
-
onClick: $,
|
|
75
|
-
children: /* @__PURE__ */ a(D, { "data-testid": `${r}-form-icon`, className: `${e}__button__icon` })
|
|
76
|
-
}
|
|
77
|
-
) : null,
|
|
78
|
-
n && E ? /* @__PURE__ */ a(
|
|
79
|
-
V,
|
|
80
|
-
{
|
|
81
|
-
"data-testid": `${r}-form-icon`,
|
|
82
|
-
className: `${e}__button__icon ${e}__input-status-icon`
|
|
83
|
-
}
|
|
84
|
-
) : null,
|
|
85
|
-
/* @__PURE__ */ a(
|
|
49
|
+
return /* @__PURE__ */ p(k, { children: [
|
|
50
|
+
/* @__PURE__ */ a(O, { variant: H.heading3, className: `${e}__label`, children: l }),
|
|
51
|
+
/* @__PURE__ */ a(
|
|
52
|
+
"div",
|
|
53
|
+
{
|
|
54
|
+
...T,
|
|
55
|
+
className: u(e, R, { [`${e}--active`]: t }),
|
|
56
|
+
"data-testid": m,
|
|
57
|
+
role: "search",
|
|
58
|
+
...x,
|
|
59
|
+
children: /* @__PURE__ */ p(
|
|
86
60
|
"form",
|
|
87
61
|
{
|
|
88
|
-
"data-testid": `${
|
|
89
|
-
className:
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
62
|
+
"data-testid": `${m}-form`,
|
|
63
|
+
className: u(`${e}__form`, {
|
|
64
|
+
[`${e}__form--active`]: t
|
|
65
|
+
}),
|
|
66
|
+
ref: o,
|
|
67
|
+
children: [
|
|
68
|
+
/* @__PURE__ */ p(
|
|
69
|
+
"div",
|
|
95
70
|
{
|
|
96
|
-
className: `${e}
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
71
|
+
className: u(`${e}__content-wrapper`, {
|
|
72
|
+
[`${e}__content-wrapper--active`]: t
|
|
73
|
+
}),
|
|
74
|
+
role: "combobox",
|
|
75
|
+
"aria-haspopup": "listbox",
|
|
76
|
+
children: [
|
|
77
|
+
/* @__PURE__ */ a(
|
|
78
|
+
M,
|
|
79
|
+
{
|
|
80
|
+
in: t,
|
|
81
|
+
classNames: `${y}-input`,
|
|
82
|
+
addEndListener: () => {
|
|
83
|
+
},
|
|
84
|
+
children: /* @__PURE__ */ a(
|
|
85
|
+
j,
|
|
86
|
+
{
|
|
87
|
+
"aria-hidden": !t,
|
|
88
|
+
className: `${e}__input`,
|
|
89
|
+
id: "search-input",
|
|
90
|
+
hideLabel: !0,
|
|
91
|
+
labelText: l,
|
|
92
|
+
placeholder: t ? b : "",
|
|
93
|
+
type: "text",
|
|
94
|
+
defaultValue: I,
|
|
95
|
+
invalid: c === "invalid",
|
|
96
|
+
invalidText: E,
|
|
97
|
+
onKeyDown: _,
|
|
98
|
+
onChange: S ? (r) => {
|
|
99
|
+
S(r.target.value);
|
|
100
|
+
} : void 0,
|
|
101
|
+
ref: h
|
|
102
|
+
}
|
|
103
|
+
)
|
|
104
|
+
}
|
|
105
|
+
),
|
|
106
|
+
/* @__PURE__ */ a(
|
|
107
|
+
K,
|
|
108
|
+
{
|
|
109
|
+
className: e,
|
|
110
|
+
searchButtonText: l,
|
|
111
|
+
state: c,
|
|
112
|
+
testId: m,
|
|
113
|
+
isSearchExpanded: t,
|
|
114
|
+
setIsSearchExpanded: g
|
|
115
|
+
}
|
|
116
|
+
)
|
|
117
|
+
]
|
|
110
118
|
}
|
|
111
119
|
),
|
|
112
|
-
|
|
120
|
+
s && s.length > 2 ? /* @__PURE__ */ a(
|
|
113
121
|
F,
|
|
114
122
|
{
|
|
115
|
-
autoCompleteResults:
|
|
116
|
-
isLoading:
|
|
117
|
-
loadingText:
|
|
118
|
-
onKeyDown:
|
|
123
|
+
autoCompleteResults: C,
|
|
124
|
+
isLoading: c === "loading",
|
|
125
|
+
loadingText: w,
|
|
126
|
+
onKeyDown: _,
|
|
119
127
|
children: /* @__PURE__ */ a("li", { className: `${e}__result`, children: /* @__PURE__ */ a(
|
|
120
|
-
|
|
128
|
+
D,
|
|
121
129
|
{
|
|
122
|
-
href: ((
|
|
123
|
-
children: /* @__PURE__ */ a("p", { children:
|
|
130
|
+
href: ((r) => N(v(r)))(s),
|
|
131
|
+
children: /* @__PURE__ */ a("p", { children: L(s) })
|
|
124
132
|
}
|
|
125
133
|
) }, "viewAllSearchResults")
|
|
126
134
|
}
|
|
127
135
|
) : null
|
|
128
|
-
]
|
|
136
|
+
]
|
|
129
137
|
}
|
|
130
138
|
)
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
);
|
|
139
|
+
}
|
|
140
|
+
)
|
|
141
|
+
] });
|
|
134
142
|
};
|
|
135
143
|
export {
|
|
136
|
-
|
|
144
|
+
re as default
|
|
137
145
|
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { SearchProps } from './Search';
|
|
2
|
+
import { ComponentProps } from 'react';
|
|
3
|
+
export declare const SearchButton: ({ state, isSearchExpanded, setIsSearchExpanded, searchButtonText, className, testId, ...props }: {
|
|
4
|
+
testId: string;
|
|
5
|
+
isSearchExpanded: boolean;
|
|
6
|
+
setIsSearchExpanded: React.Dispatch<React.SetStateAction<boolean>>;
|
|
7
|
+
} & Pick<SearchProps, "state" | "searchButtonText"> & import("react").ClassAttributes<HTMLButtonElement> & import("react").ButtonHTMLAttributes<HTMLButtonElement>) => import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { jsx as n } from "react/jsx-runtime";
|
|
2
|
+
import b from "../../assets/search.svg.js";
|
|
3
|
+
import l from "../../assets/close.svg.js";
|
|
4
|
+
const f = ({
|
|
5
|
+
state: e,
|
|
6
|
+
isSearchExpanded: r,
|
|
7
|
+
setIsSearchExpanded: i,
|
|
8
|
+
searchButtonText: _,
|
|
9
|
+
className: t,
|
|
10
|
+
testId: o,
|
|
11
|
+
...u
|
|
12
|
+
}) => r ? r && e === "idle" ? /* @__PURE__ */ n(
|
|
13
|
+
"button",
|
|
14
|
+
{
|
|
15
|
+
...u,
|
|
16
|
+
type: "button",
|
|
17
|
+
"data-testid": `${o}-close-button`,
|
|
18
|
+
"aria-label": "Close Search",
|
|
19
|
+
className: `${t}__button ${t}__button--close`,
|
|
20
|
+
onClick: () => i(!1),
|
|
21
|
+
children: /* @__PURE__ */ n(l, { "data-testid": `${o}-form-icon`, className: `${t}__button__icon` })
|
|
22
|
+
}
|
|
23
|
+
) : null : /* @__PURE__ */ n(
|
|
24
|
+
"button",
|
|
25
|
+
{
|
|
26
|
+
...u,
|
|
27
|
+
type: "button",
|
|
28
|
+
"data-testid": `${o}-button`,
|
|
29
|
+
"aria-label": _,
|
|
30
|
+
className: `${t}__button ${t}__button--search`,
|
|
31
|
+
onClick: () => i(!0),
|
|
32
|
+
children: /* @__PURE__ */ n(b, { "data-testid": `${o}-button-icon`, className: `${t}__button__icon` })
|
|
33
|
+
}
|
|
34
|
+
);
|
|
35
|
+
export {
|
|
36
|
+
f as SearchButton
|
|
37
|
+
};
|
|
@@ -15,7 +15,7 @@ const S = ({
|
|
|
15
15
|
}) => {
|
|
16
16
|
const { className: o, ...n } = f(r, "Social");
|
|
17
17
|
return /* @__PURE__ */ c("div", { ...n, className: l(o, s), ...r, children: [
|
|
18
|
-
/* @__PURE__ */ t(N, { variant: u.
|
|
18
|
+
/* @__PURE__ */ t(N, { variant: u.heading4, className: `${o}__header`, children: e }),
|
|
19
19
|
/* @__PURE__ */ t(p, { onClick: i, variant: d.ghost, className: `${o}__button`, children: m }),
|
|
20
20
|
a
|
|
21
21
|
] });
|
package/dist/index.js
CHANGED
|
@@ -1,97 +1,98 @@
|
|
|
1
|
-
import { PaddingTokens as a,
|
|
2
|
-
import { default as
|
|
3
|
-
import { default as
|
|
4
|
-
import { ButtonVariants as
|
|
1
|
+
import { PaddingTokens as a, SpacingTokens as f, defaultYear as m, emailValidation as p, encodeURLSearchParams as d, findChildrenOfType as s, generatePaddingClassName as u, getCommonProps as i, noOp as l, px as x, useNormalizedInputProps as n } from "./utils/index.js";
|
|
2
|
+
import { default as c } from "./pages/Page.js";
|
|
3
|
+
import { default as L } from "./components/Button/Button.js";
|
|
4
|
+
import { ButtonVariants as k } from "./components/Button/types.js";
|
|
5
5
|
import { default as P } from "./components/IconButton/IconButton.js";
|
|
6
|
-
import { default as
|
|
6
|
+
import { default as N } from "./components/ErrorBoundary/ErrorBoundary.js";
|
|
7
7
|
import { default as w } from "./components/Footer/Footer.js";
|
|
8
|
-
import { Grid as
|
|
9
|
-
import { default as
|
|
10
|
-
import { default as
|
|
11
|
-
import { default as
|
|
12
|
-
import { default as
|
|
13
|
-
import { default as
|
|
14
|
-
import { default as
|
|
15
|
-
import { default as
|
|
16
|
-
import { default as
|
|
17
|
-
import { LinkVariants as
|
|
18
|
-
import { default as
|
|
19
|
-
import { default as
|
|
20
|
-
import { default as
|
|
21
|
-
import { default as
|
|
8
|
+
import { Grid as h } from "./components/Grid/Grid.js";
|
|
9
|
+
import { default as A } from "./components/Header/Header.js";
|
|
10
|
+
import { default as G } from "./components/Navigation/Navigation.js";
|
|
11
|
+
import { default as D } from "./components/Navigation/NavigationItem/NavigationItem.js";
|
|
12
|
+
import { default as M } from "./components/Navigation/NavigationItemTrigger/NavigationItemTrigger.js";
|
|
13
|
+
import { default as R } from "./components/Navigation/NavigationList/NavigationList.js";
|
|
14
|
+
import { default as z } from "./components/HeroBanner/HeroBanner.js";
|
|
15
|
+
import { default as F } from "./components/Input/Input.js";
|
|
16
|
+
import { default as j } from "./components/Link/Link.js";
|
|
17
|
+
import { LinkVariants as J } from "./components/Link/types.js";
|
|
18
|
+
import { default as Q } from "./components/LinkBlock/LinkBlock.js";
|
|
19
|
+
import { default as X } from "./components/LinkList/LinkList.js";
|
|
20
|
+
import { default as _ } from "./components/Row/Row.js";
|
|
21
|
+
import { default as ee } from "./components/GridItem/GridItem.js";
|
|
22
22
|
import { GridItemAlign as re } from "./components/GridItem/types.js";
|
|
23
|
-
import { default as
|
|
24
|
-
import { default as
|
|
25
|
-
import { default as
|
|
26
|
-
import { default as
|
|
23
|
+
import { default as ae } from "./components/Search/Search.js";
|
|
24
|
+
import { default as me } from "./components/Select/Select.js";
|
|
25
|
+
import { default as de } from "./components/SplitPanel/SplitPanel.js";
|
|
26
|
+
import { default as ue } from "./components/Subscribe/Subscribe.js";
|
|
27
27
|
import { SubscriptionState as le } from "./components/Subscribe/types.js";
|
|
28
|
-
import { default as
|
|
29
|
-
import { default as
|
|
30
|
-
import { default as
|
|
31
|
-
import { default as
|
|
28
|
+
import { default as ne } from "./components/Social/Social.js";
|
|
29
|
+
import { default as ce } from "./components/ViewingsList/ViewingsList.js";
|
|
30
|
+
import { default as Le } from "./components/Modal/Modal.js";
|
|
31
|
+
import { default as ke } from "./components/Drawer/Drawer.js";
|
|
32
32
|
import { default as Pe } from "./components/ViewingsList/StatefulViewingsList.js";
|
|
33
|
-
import { TextVariants as
|
|
33
|
+
import { TextVariants as Ne } from "./components/Text/types.js";
|
|
34
34
|
import { default as we } from "./components/Text/Text.js";
|
|
35
|
-
import { default as
|
|
36
|
-
import { default as
|
|
37
|
-
import { default as
|
|
38
|
-
import { AuthState as
|
|
39
|
-
import { SupportedLanguages as
|
|
40
|
-
import { default as
|
|
35
|
+
import { default as he } from "./components/Accordion/Accordion.js";
|
|
36
|
+
import { default as Ae } from "./components/Accordion/AccordionItem.js";
|
|
37
|
+
import { default as Ge } from "./components/UserManagement/UserManagement.js";
|
|
38
|
+
import { AuthState as De } from "./components/UserManagement/types.js";
|
|
39
|
+
import { SupportedLanguages as Me } from "./types/commonTypes.js";
|
|
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
|
|
44
|
-
import { default as
|
|
43
|
+
import { default as ze } from "./components/Dropdown/Dropdown.js";
|
|
44
|
+
import { default as Fe } from "./components/Video/Video.js";
|
|
45
45
|
export {
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
46
|
+
he as Accordion,
|
|
47
|
+
Ae as AccordionItem,
|
|
48
|
+
De as AuthState,
|
|
49
|
+
Re as Breadcrumb,
|
|
50
|
+
L as Button,
|
|
51
|
+
k as ButtonVariants,
|
|
52
|
+
ke as Drawer,
|
|
53
|
+
ze as Dropdown,
|
|
54
|
+
N as ErrorBoundary,
|
|
55
55
|
w as Footer,
|
|
56
|
-
|
|
57
|
-
|
|
56
|
+
h as Grid,
|
|
57
|
+
ee as GridItem,
|
|
58
58
|
re as GridItemAlign,
|
|
59
|
-
|
|
60
|
-
|
|
59
|
+
A as Header,
|
|
60
|
+
z as HeroBanner,
|
|
61
61
|
P as IconButton,
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
62
|
+
F as Input,
|
|
63
|
+
j as Link,
|
|
64
|
+
Q as LinkBlock,
|
|
65
|
+
X as LinkList,
|
|
66
|
+
J as LinkVariants,
|
|
67
|
+
Le as Modal,
|
|
68
|
+
G as Navigation,
|
|
69
|
+
D as NavigationItem,
|
|
70
|
+
M as NavigationItemTrigger,
|
|
71
|
+
R as NavigationList,
|
|
72
72
|
a as PaddingTokens,
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
73
|
+
c as Page,
|
|
74
|
+
_ as Row,
|
|
75
|
+
ae as Search,
|
|
76
|
+
me as Select,
|
|
77
|
+
ne as Social,
|
|
78
|
+
f as SpacingTokens,
|
|
79
|
+
de as SplitPanel,
|
|
79
80
|
Pe as StatefulViewingsList,
|
|
80
|
-
|
|
81
|
+
ue as Subscribe,
|
|
81
82
|
le as SubscriptionState,
|
|
82
|
-
|
|
83
|
+
Me as SupportedLanguages,
|
|
83
84
|
we as Text,
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
85
|
+
Ne as TextVariants,
|
|
86
|
+
Ge as UserManagement,
|
|
87
|
+
Fe as Video,
|
|
88
|
+
ce as ViewingsList,
|
|
89
|
+
m as defaultYear,
|
|
90
|
+
p as emailValidation,
|
|
91
|
+
d as encodeURLSearchParams,
|
|
92
|
+
s as findChildrenOfType,
|
|
93
|
+
u as generatePaddingClassName,
|
|
94
|
+
i as getCommonProps,
|
|
94
95
|
l as noOp,
|
|
95
|
-
|
|
96
|
-
|
|
96
|
+
x as px,
|
|
97
|
+
n as useNormalizedInputProps
|
|
97
98
|
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
function e() {
|
|
2
|
+
return e = Object.assign ? Object.assign.bind() : function(a) {
|
|
3
|
+
for (var n = 1; n < arguments.length; n++) {
|
|
4
|
+
var t = arguments[n];
|
|
5
|
+
for (var r in t)
|
|
6
|
+
Object.prototype.hasOwnProperty.call(t, r) && (a[r] = t[r]);
|
|
7
|
+
}
|
|
8
|
+
return a;
|
|
9
|
+
}, e.apply(this, arguments);
|
|
10
|
+
}
|
|
11
|
+
export {
|
|
12
|
+
e as default
|
|
13
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import i from "./hasClass.js";
|
|
2
|
+
function c(s, a) {
|
|
3
|
+
s.classList ? s.classList.add(a) : i(s, a) || (typeof s.className == "string" ? s.className = s.className + " " + a : s.setAttribute("class", (s.className && s.className.baseVal || "") + " " + a));
|
|
4
|
+
}
|
|
5
|
+
export {
|
|
6
|
+
c as default
|
|
7
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
function c(s, a) {
|
|
2
|
+
return s.replace(new RegExp("(^|\\s)" + a + "(?:\\s|$)", "g"), "$1").replace(/\s+/g, " ").replace(/^\s*|\s*$/g, "");
|
|
3
|
+
}
|
|
4
|
+
function r(s, a) {
|
|
5
|
+
s.classList ? s.classList.remove(a) : typeof s.className == "string" ? s.className = c(s.className, a) : s.setAttribute("class", c(s.className && s.className.baseVal || "", a));
|
|
6
|
+
}
|
|
7
|
+
export {
|
|
8
|
+
r as default
|
|
9
|
+
};
|
|
@@ -1,13 +1,16 @@
|
|
|
1
|
+
import { getDefaultExportFromCjs as e } from "../../_virtual/_commonjsHelpers.js";
|
|
1
2
|
import { __module as r } from "../../_virtual/index3.js";
|
|
2
|
-
import { __require as
|
|
3
|
-
import { __require as
|
|
4
|
-
import { __require as
|
|
3
|
+
import { __require as o } from "./node_modules/react-is/index.js";
|
|
4
|
+
import { __require as p } from "./factoryWithTypeCheckers.js";
|
|
5
|
+
import { __require as t } from "./factoryWithThrowingShims.js";
|
|
5
6
|
if (process.env.NODE_ENV !== "production") {
|
|
6
|
-
var s =
|
|
7
|
-
r.exports =
|
|
7
|
+
var s = o(), i = !0;
|
|
8
|
+
r.exports = p()(s.isElement, i);
|
|
8
9
|
} else
|
|
9
|
-
r.exports =
|
|
10
|
-
var
|
|
10
|
+
r.exports = t()();
|
|
11
|
+
var a = r.exports;
|
|
12
|
+
const q = /* @__PURE__ */ e(a);
|
|
11
13
|
export {
|
|
12
|
-
|
|
14
|
+
q as default,
|
|
15
|
+
a as p
|
|
13
16
|
};
|