@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.
Files changed (59) hide show
  1. package/dist/_virtual/_commonjsHelpers.js +15 -13
  2. package/dist/assets/PhillipsLogo.svg.js +1 -1
  3. package/dist/components/Footer/Footer.js +5 -5
  4. package/dist/components/Grid/Grid.d.ts +12 -3
  5. package/dist/components/Grid/Grid.js +24 -8
  6. package/dist/components/Grid/utils.d.ts +2 -0
  7. package/dist/components/Grid/utils.js +8 -0
  8. package/dist/components/GridItem/GridItem.js +2 -2
  9. package/dist/components/Header/Header.d.ts +13 -4
  10. package/dist/components/Header/Header.js +53 -48
  11. package/dist/components/Header/utils.d.ts +9 -0
  12. package/dist/components/Header/utils.js +13 -0
  13. package/dist/components/LinkList/LinkList.d.ts +2 -1
  14. package/dist/components/Navigation/Navigation.js +35 -31
  15. package/dist/components/Navigation/NavigationList/NavigationList.d.ts +5 -1
  16. package/dist/components/Navigation/NavigationList/NavigationList.js +11 -7
  17. package/dist/components/Search/Search.js +121 -113
  18. package/dist/components/Search/SearchButton.d.ts +7 -0
  19. package/dist/components/Search/SearchButton.js +37 -0
  20. package/dist/components/Social/Social.js +1 -1
  21. package/dist/index.js +80 -79
  22. package/dist/node_modules/@babel/runtime/helpers/esm/extends.js +13 -0
  23. package/dist/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js +7 -0
  24. package/dist/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +10 -0
  25. package/dist/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js +8 -0
  26. package/dist/node_modules/dom-helpers/esm/addClass.js +7 -0
  27. package/dist/node_modules/dom-helpers/esm/hasClass.js +6 -0
  28. package/dist/node_modules/dom-helpers/esm/removeClass.js +9 -0
  29. package/dist/node_modules/lodash.debounce/index.js +3 -0
  30. package/dist/node_modules/prop-types/index.js +11 -8
  31. package/dist/node_modules/react-transition-group/esm/CSSTransition.js +207 -0
  32. package/dist/node_modules/react-transition-group/esm/Transition.js +336 -0
  33. package/dist/node_modules/react-transition-group/esm/TransitionGroupContext.js +5 -0
  34. package/dist/node_modules/react-transition-group/esm/config.js +6 -0
  35. package/dist/node_modules/react-transition-group/esm/utils/PropTypes.js +21 -0
  36. package/dist/node_modules/react-transition-group/esm/utils/reflow.js +6 -0
  37. package/dist/node_modules/usehooks-ts/dist/index.js +37 -0
  38. package/dist/scss/_utils.scss +21 -6
  39. package/dist/scss/_vars.scss +95 -91
  40. package/dist/scss/componentStyles.scss +1 -0
  41. package/dist/scss/components/Footer/_footer.scss +20 -5
  42. package/dist/scss/components/Grid/_grid.scss +11 -0
  43. package/dist/scss/components/GridItem/_gridItem.scss +4 -4
  44. package/dist/scss/components/Header/_header.scss +30 -3
  45. package/dist/scss/components/HeroBanner/_heroBanner.scss +6 -5
  46. package/dist/scss/components/LinkList/_linkList.scss +4 -0
  47. package/dist/scss/components/Navigation/NavigationItem/_navigationItem.scss +2 -2
  48. package/dist/scss/components/Navigation/NavigationList/_navigationList.scss +14 -2
  49. package/dist/scss/components/Navigation/_navigation.scss +6 -16
  50. package/dist/scss/components/Search/SearchResults/_searchResults.scss +10 -19
  51. package/dist/scss/components/Search/_search.scss +52 -74
  52. package/dist/scss/components/Search/_searchButton.scss +41 -0
  53. package/dist/scss/components/Social/_social.scss +4 -4
  54. package/dist/scss/components/SplitPanel/_splitPanel.scss +1 -1
  55. package/dist/scss/components/Subscribe/_subscribe.scss +2 -2
  56. package/dist/utils/index.d.ts +10 -1
  57. package/dist/utils/index.js +42 -41
  58. package/package.json +5 -2
  59. package/dist/assets/loading_spinner.svg.js +0 -7
@@ -1,137 +1,145 @@
1
- import { jsxs as v, jsx as a } from "react/jsx-runtime";
2
- import * as d from "react";
3
- import { getCommonProps as P, encodeURLSearchParams as N } from "../../utils/index.js";
4
- import f from "../../node_modules/classnames/index.js";
5
- import T from "../Input/Input.js";
6
- import j from "../../assets/search.svg.js";
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 K from "../Text/Text.js";
13
- const Z = ({
14
- onSearch: h,
15
- searchResults: R = [],
16
- state: s = "idle",
17
- defaultValue: C = "",
18
- className: w,
19
- placeholder: l,
20
- searchButtonText: c = "Search",
21
- loadingText: x = "Search In Progress...",
22
- invalidText: k = "Invalid search",
23
- getAllResultsText: y = (e) => `View all results for ${e}`,
24
- getAllResultsLink: _ = (e) => `/Search?Search=${e}`,
25
- ...p
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 g;
28
- const { className: e, "data-testid": r, ...L } = P(p, "Search"), [n, b] = d.useState(!1), m = d.useRef(null), u = d.useRef(null), o = (g = m.current) == null ? void 0 : g.value, E = s === "loading" || s === "submitting", $ = () => {
29
- var t, i;
30
- if (b(!n), n) {
31
- (t = u.current) == null || t.reset();
32
- return;
33
- }
34
- (i = m.current) == null || i.focus();
35
- }, S = (t) => {
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
- t.currentTarget instanceof HTMLAnchorElement && t.currentTarget.click();
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
- t.key === "Escape" && (b(!1), (i = u.current) == null || i.reset());
47
+ (i = o.current) == null || i.reset();
45
48
  };
46
- return /* @__PURE__ */ v(
47
- "div",
48
- {
49
- ...L,
50
- className: f(e, w),
51
- "data-testid": r,
52
- role: "search",
53
- ...p,
54
- children: [
55
- /* @__PURE__ */ a(K, { variant: H.heading3, className: `${e}__label`, children: c }),
56
- n ? null : /* @__PURE__ */ a(
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": `${r}-form`,
89
- className: f(`${e}__form`, { [`${e}__form--active`]: n }),
90
- "aria-hidden": !n,
91
- ref: u,
92
- children: /* @__PURE__ */ v("div", { className: f(`${e}__content-wrapper`), role: "combobox", "aria-haspopup": "listbox", children: [
93
- /* @__PURE__ */ a(
94
- T,
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}__input`,
97
- id: "search-input",
98
- hideLabel: !0,
99
- labelText: c,
100
- placeholder: l != null ? l : null,
101
- type: "text",
102
- defaultValue: C,
103
- invalid: s === "invalid",
104
- invalidText: k,
105
- onKeyDown: S,
106
- onChange: h ? (t) => {
107
- h(t.target.value);
108
- } : void 0,
109
- ref: m
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
- o && o.length > 2 ? /* @__PURE__ */ a(
120
+ s && s.length > 2 ? /* @__PURE__ */ a(
113
121
  F,
114
122
  {
115
- autoCompleteResults: R,
116
- isLoading: s === "loading",
117
- loadingText: x,
118
- onKeyDown: S,
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
- A,
128
+ D,
121
129
  {
122
- href: ((t) => N(_(t)))(o),
123
- children: /* @__PURE__ */ a("p", { children: y(o) })
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
- Z as default
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.heading3, className: `${o}__header`, children: e }),
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, defaultYear as f, emailValidation as m, encodeURLSearchParams as p, findChildrenOfType as d, generatePaddingClassName as s, getCommonProps as u, noOp as l, px as i, useNormalizedInputProps as x } from "./utils/index.js";
2
- import { default as g } from "./pages/Page.js";
3
- import { default as S } from "./components/Button/Button.js";
4
- import { ButtonVariants as I } from "./components/Button/types.js";
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 k } from "./components/ErrorBoundary/ErrorBoundary.js";
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 b } from "./components/Grid/Grid.js";
9
- import { default as v } from "./components/Header/Header.js";
10
- import { default as C } from "./components/Navigation/Navigation.js";
11
- import { default as y } from "./components/Navigation/NavigationItem/NavigationItem.js";
12
- import { default as H } from "./components/Navigation/NavigationItemTrigger/NavigationItemTrigger.js";
13
- import { default as O } from "./components/Navigation/NavigationList/NavigationList.js";
14
- import { default as U } from "./components/HeroBanner/HeroBanner.js";
15
- import { default as E } from "./components/Input/Input.js";
16
- import { default as Y } from "./components/Link/Link.js";
17
- import { LinkVariants as q } from "./components/Link/types.js";
18
- import { default as K } from "./components/LinkBlock/LinkBlock.js";
19
- import { default as W } from "./components/LinkList/LinkList.js";
20
- import { default as Z } from "./components/Row/Row.js";
21
- import { default as $ } from "./components/GridItem/GridItem.js";
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 te } from "./components/Search/Search.js";
24
- import { default as fe } from "./components/Select/Select.js";
25
- import { default as pe } from "./components/SplitPanel/SplitPanel.js";
26
- import { default as se } from "./components/Subscribe/Subscribe.js";
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 xe } from "./components/Social/Social.js";
29
- import { default as ge } from "./components/ViewingsList/ViewingsList.js";
30
- import { default as Se } from "./components/Modal/Modal.js";
31
- import { default as Ie } from "./components/Drawer/Drawer.js";
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 ke } from "./components/Text/types.js";
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 be } from "./components/Accordion/Accordion.js";
36
- import { default as ve } from "./components/Accordion/AccordionItem.js";
37
- import { default as Ce } from "./components/UserManagement/UserManagement.js";
38
- import { AuthState as ye } from "./components/UserManagement/types.js";
39
- import { SupportedLanguages as He } from "./types/commonTypes.js";
40
- import { default as Oe } from "./components/Breadcrumb/Breadcrumb.js";
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 Ue } from "./components/Dropdown/Dropdown.js";
44
- import { default as Ee } from "./components/Video/Video.js";
43
+ import { default as ze } from "./components/Dropdown/Dropdown.js";
44
+ import { default as Fe } from "./components/Video/Video.js";
45
45
  export {
46
- be as Accordion,
47
- ve as AccordionItem,
48
- ye as AuthState,
49
- Oe as Breadcrumb,
50
- S as Button,
51
- I as ButtonVariants,
52
- Ie as Drawer,
53
- Ue as Dropdown,
54
- k as ErrorBoundary,
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
- b as Grid,
57
- $ as GridItem,
56
+ h as Grid,
57
+ ee as GridItem,
58
58
  re as GridItemAlign,
59
- v as Header,
60
- U as HeroBanner,
59
+ A as Header,
60
+ z as HeroBanner,
61
61
  P as IconButton,
62
- E as Input,
63
- Y as Link,
64
- K as LinkBlock,
65
- W as LinkList,
66
- q as LinkVariants,
67
- Se as Modal,
68
- C as Navigation,
69
- y as NavigationItem,
70
- H as NavigationItemTrigger,
71
- O as NavigationList,
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
- g as Page,
74
- Z as Row,
75
- te as Search,
76
- fe as Select,
77
- xe as Social,
78
- pe as SplitPanel,
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
- se as Subscribe,
81
+ ue as Subscribe,
81
82
  le as SubscriptionState,
82
- He as SupportedLanguages,
83
+ Me as SupportedLanguages,
83
84
  we as Text,
84
- ke as TextVariants,
85
- Ce as UserManagement,
86
- Ee as Video,
87
- ge as ViewingsList,
88
- f as defaultYear,
89
- m as emailValidation,
90
- p as encodeURLSearchParams,
91
- d as findChildrenOfType,
92
- s as generatePaddingClassName,
93
- u as getCommonProps,
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
- i as px,
96
- x as useNormalizedInputProps
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 e from "./setPrototypeOf.js";
2
+ function p(t, o) {
3
+ t.prototype = Object.create(o.prototype), t.prototype.constructor = t, e(t, o);
4
+ }
5
+ export {
6
+ p as default
7
+ };
@@ -0,0 +1,10 @@
1
+ function a(r, o) {
2
+ if (r == null) return {};
3
+ var n = {}, i = Object.keys(r), e, t;
4
+ for (t = 0; t < i.length; t++)
5
+ e = i[t], !(o.indexOf(e) >= 0) && (n[e] = r[e]);
6
+ return n;
7
+ }
8
+ export {
9
+ a as default
10
+ };
@@ -0,0 +1,8 @@
1
+ function e(o, r) {
2
+ return e = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(t, f) {
3
+ return t.__proto__ = f, t;
4
+ }, e(o, r);
5
+ }
6
+ export {
7
+ e as default
8
+ };
@@ -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,6 @@
1
+ function i(s, a) {
2
+ return s.classList ? !!a && s.classList.contains(a) : (" " + (s.className.baseVal || s.className) + " ").indexOf(" " + a + " ") !== -1;
3
+ }
4
+ export {
5
+ i as default
6
+ };
@@ -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
+ };
@@ -0,0 +1,3 @@
1
+ import { commonjsGlobal as e } from "../../_virtual/_commonjsHelpers.js";
2
+ var t = typeof e == "object" && e && e.Object === Object && e, o = typeof self == "object" && self && self.Object === Object && self;
3
+ t || o || Function("return this")();
@@ -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 e } from "./node_modules/react-is/index.js";
3
- import { __require as o } from "./factoryWithTypeCheckers.js";
4
- import { __require as p } from "./factoryWithThrowingShims.js";
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 = e(), i = !0;
7
- r.exports = o()(s.isElement, i);
7
+ var s = o(), i = !0;
8
+ r.exports = p()(s.isElement, i);
8
9
  } else
9
- r.exports = p()();
10
- var _ = r.exports;
10
+ r.exports = t()();
11
+ var a = r.exports;
12
+ const q = /* @__PURE__ */ e(a);
11
13
  export {
12
- _ as p
14
+ q as default,
15
+ a as p
13
16
  };