@phillips/seldon 1.34.0 → 1.36.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/Button/Button.d.ts +2 -1
- package/dist/components/Button/Button.js +17 -16
- package/dist/components/Button/types.d.ts +5 -0
- package/dist/components/Button/types.js +4 -0
- package/dist/components/Header/Header.js +34 -34
- package/dist/components/IconButton/IconButton.js +13 -12
- package/dist/components/Input/Input.js +24 -24
- package/dist/components/Search/Search.d.ts +44 -3
- package/dist/components/Search/Search.js +113 -43
- package/dist/components/Search/SearchResults/SearchResults.d.ts +13 -0
- package/dist/components/Search/SearchResults/SearchResults.js +16 -0
- package/dist/components/Social/Social.js +14 -13
- package/dist/components/Subscribe/Subscribe.d.ts +5 -1
- package/dist/components/Subscribe/Subscribe.js +48 -35
- package/dist/components/ViewingsList/ViewingsListCard.js +145 -114
- package/dist/index.d.ts +1 -0
- package/dist/index.js +84 -80
- package/dist/scss/components/Input/_input.scss +7 -4
- package/dist/scss/components/Navigation/NavigationItem/_navigationItem.scss +2 -2
- package/dist/scss/components/Search/_search.scss +54 -5
- package/dist/scss/components/Subscribe/_subscribe.scss +20 -11
- package/dist/utils/index.d.ts +10 -0
- package/dist/utils/index.js +40 -31
- package/package.json +2 -2
|
@@ -1,52 +1,65 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import
|
|
1
|
+
import { jsxs as B, jsx as n } from "react/jsx-runtime";
|
|
2
|
+
import C from "../../node_modules/classnames/index.js";
|
|
3
3
|
import { getCommonProps as I } from "../../utils/index.js";
|
|
4
4
|
import L from "../Input/Input.js";
|
|
5
|
-
import
|
|
5
|
+
import S from "../Button/Button.js";
|
|
6
6
|
import { SubscriptionState as o } from "./types.js";
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
7
|
+
import { ButtonVariants as T } from "../Button/types.js";
|
|
8
|
+
const z = ({
|
|
9
|
+
blurb: s,
|
|
10
|
+
buttonText: t = "Sign Up",
|
|
11
|
+
buttonProps: c,
|
|
12
|
+
className: a,
|
|
13
|
+
element: d = "form",
|
|
14
|
+
inputLabelText: u = "Enter Your Email Address To Sign Up*",
|
|
15
|
+
inputPlaceholder: p = "example@email.com",
|
|
16
|
+
title: f = "Never Miss A Moment",
|
|
17
|
+
loadingText: g = "Loading...",
|
|
18
|
+
invalidText: _ = "",
|
|
19
|
+
errorText: h = "An error occurred. Please try again.",
|
|
20
|
+
successText: v,
|
|
21
|
+
privacyText: i = "By signing up, you agree to receive email communications from Phillips.",
|
|
20
22
|
subscriptionState: e = o.Default,
|
|
21
|
-
...
|
|
23
|
+
...l
|
|
22
24
|
}) => {
|
|
23
|
-
const { className: r, ...
|
|
24
|
-
invalid:
|
|
25
|
-
success:
|
|
26
|
-
loading:
|
|
27
|
-
error:
|
|
28
|
-
},
|
|
29
|
-
return /* @__PURE__ */
|
|
30
|
-
/* @__PURE__ */
|
|
31
|
-
|
|
32
|
-
/* @__PURE__ */
|
|
25
|
+
const { className: r, ...x } = I(l, "Subscribe"), N = e === o.Invalid, y = e === o.Loading, $ = e === o.Success, b = e === o.Error, E = {
|
|
26
|
+
invalid: _,
|
|
27
|
+
success: v,
|
|
28
|
+
loading: g,
|
|
29
|
+
error: h
|
|
30
|
+
}, m = e !== o.Default ? E[e] : "", P = $ || y, A = N || b;
|
|
31
|
+
return /* @__PURE__ */ B(d, { ...x, className: C(r, a), noValidate: !0, ...l, children: [
|
|
32
|
+
/* @__PURE__ */ n("h3", { className: `${r}__title`, children: f }),
|
|
33
|
+
s ? /* @__PURE__ */ n("p", { className: `${r}__blurb`, children: s }) : null,
|
|
34
|
+
/* @__PURE__ */ n(
|
|
33
35
|
L,
|
|
34
36
|
{
|
|
35
37
|
className: `${r}__input`,
|
|
36
38
|
type: "email",
|
|
37
39
|
name: "email",
|
|
38
|
-
placeholder:
|
|
39
|
-
labelText:
|
|
40
|
-
invalid:
|
|
41
|
-
invalidText:
|
|
42
|
-
warn:
|
|
43
|
-
warnText:
|
|
40
|
+
placeholder: p,
|
|
41
|
+
labelText: u,
|
|
42
|
+
invalid: A,
|
|
43
|
+
invalidText: m,
|
|
44
|
+
warn: P,
|
|
45
|
+
warnText: m,
|
|
44
46
|
required: !0
|
|
45
47
|
}
|
|
46
48
|
),
|
|
47
|
-
/* @__PURE__ */
|
|
49
|
+
/* @__PURE__ */ n(
|
|
50
|
+
S,
|
|
51
|
+
{
|
|
52
|
+
className: `${r}__button ${a}`,
|
|
53
|
+
variant: T.secondary,
|
|
54
|
+
size: "sm",
|
|
55
|
+
type: "submit",
|
|
56
|
+
...c,
|
|
57
|
+
children: t
|
|
58
|
+
}
|
|
59
|
+
),
|
|
60
|
+
i ? /* @__PURE__ */ n("p", { className: `${r}__privacy`, children: i }) : null
|
|
48
61
|
] });
|
|
49
62
|
};
|
|
50
63
|
export {
|
|
51
|
-
|
|
64
|
+
z as default
|
|
52
65
|
};
|
|
@@ -1,87 +1,88 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import * as
|
|
3
|
-
import
|
|
4
|
-
import { px as
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
1
|
+
import { jsxs as u, jsx as t, Fragment as E } from "react/jsx-runtime";
|
|
2
|
+
import * as a from "react";
|
|
3
|
+
import mt from "../../node_modules/classnames/index.js";
|
|
4
|
+
import { px as d } from "../../utils/index.js";
|
|
5
|
+
import y from "../Input/Input.js";
|
|
6
|
+
import c from "../Button/Button.js";
|
|
7
|
+
import { ButtonVariants as l } from "../Button/types.js";
|
|
8
|
+
import ft from "./ViewingsListCardForm.js";
|
|
9
|
+
const i = `${d}-viewings-list-card`, $t = ({
|
|
10
|
+
address1: $,
|
|
11
|
+
address1Label: C,
|
|
12
|
+
addressUrl: O,
|
|
13
|
+
addressUrlLabel: w,
|
|
14
|
+
address2: v,
|
|
15
|
+
address2Label: x,
|
|
16
|
+
address3: z,
|
|
17
|
+
address3Label: A,
|
|
18
|
+
cancelBtnLabel: L = "CANCEL",
|
|
19
|
+
cardTitle: T = "Add New Viewing",
|
|
20
|
+
deleteBtnLabel: V = "DELETE",
|
|
21
|
+
editBtnLabel: _ = "EDIT",
|
|
22
|
+
isEditState: s,
|
|
23
|
+
enableOnSite: m = "false",
|
|
24
|
+
enableOnSiteToggleLabel: k = "Enabled on website",
|
|
25
|
+
email: I,
|
|
26
|
+
emailLabel: N = "Email",
|
|
27
|
+
emailLink: S,
|
|
28
|
+
emailLinkLabel: j = "Email Address",
|
|
29
|
+
emailOn: B = "false",
|
|
29
30
|
emailToggleLabel: D = "Include Email Address",
|
|
30
31
|
id: e,
|
|
31
32
|
invalidFields: n,
|
|
32
33
|
location: R,
|
|
33
34
|
locationLabel: q = "Location",
|
|
34
|
-
onCancel:
|
|
35
|
-
onEdit:
|
|
36
|
-
onDelete:
|
|
37
|
-
onSave:
|
|
38
|
-
previewDates:
|
|
39
|
-
previewDatesLabel:
|
|
40
|
-
previewHours1:
|
|
41
|
-
previewHours1Label:
|
|
42
|
-
previewHours2:
|
|
43
|
-
previewHours2Label:
|
|
44
|
-
previewLabel:
|
|
45
|
-
previewLabelValue:
|
|
46
|
-
previewOn:
|
|
47
|
-
previewToggleLabel:
|
|
48
|
-
saveBtnLabel:
|
|
49
|
-
viewingLabel:
|
|
50
|
-
viewingLabelValue:
|
|
51
|
-
viewingDates:
|
|
52
|
-
viewingDatesLabel:
|
|
53
|
-
viewingHours1:
|
|
54
|
-
viewingHours1Label:
|
|
35
|
+
onCancel: f,
|
|
36
|
+
onEdit: p,
|
|
37
|
+
onDelete: h,
|
|
38
|
+
onSave: b,
|
|
39
|
+
previewDates: G,
|
|
40
|
+
previewDatesLabel: H,
|
|
41
|
+
previewHours1: J,
|
|
42
|
+
previewHours1Label: K,
|
|
43
|
+
previewHours2: M,
|
|
44
|
+
previewHours2Label: P,
|
|
45
|
+
previewLabel: Q,
|
|
46
|
+
previewLabelValue: U,
|
|
47
|
+
previewOn: W,
|
|
48
|
+
previewToggleLabel: X,
|
|
49
|
+
saveBtnLabel: Y = "SAVE DETAILS",
|
|
50
|
+
viewingLabel: Z,
|
|
51
|
+
viewingLabelValue: F,
|
|
52
|
+
viewingDates: tt,
|
|
53
|
+
viewingDatesLabel: et,
|
|
54
|
+
viewingHours1: nt,
|
|
55
|
+
viewingHours1Label: st,
|
|
55
56
|
viewingHours2: ot,
|
|
56
|
-
viewingHours2Label:
|
|
57
|
+
viewingHours2Label: rt
|
|
57
58
|
}) => {
|
|
58
|
-
const [
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
}, [
|
|
62
|
-
var
|
|
63
|
-
n &&
|
|
59
|
+
const [at, ct] = a.useState(m === "true"), r = a.useRef(null);
|
|
60
|
+
a.useEffect(() => {
|
|
61
|
+
s && r.current && r.current.focus();
|
|
62
|
+
}, [s]), a.useEffect(() => {
|
|
63
|
+
var o, g;
|
|
64
|
+
n && r.current && ((g = (o = r.current.closest(".phillips-viewings-list-card")) == null ? void 0 : o.querySelector(".phillips-input--invalid input")) == null || g.focus());
|
|
64
65
|
}, [n]);
|
|
65
66
|
const lt = () => {
|
|
67
|
+
typeof f == "function" && f();
|
|
68
|
+
}, it = () => {
|
|
66
69
|
typeof p == "function" && p();
|
|
67
|
-
}, ut = () => {
|
|
68
|
-
typeof
|
|
69
|
-
}, at = (s) => {
|
|
70
|
-
typeof h == "function" && h(s);
|
|
70
|
+
}, ut = (o) => {
|
|
71
|
+
typeof b == "function" && b(o);
|
|
71
72
|
};
|
|
72
|
-
return /* @__PURE__ */
|
|
73
|
+
return /* @__PURE__ */ u(
|
|
73
74
|
"section",
|
|
74
75
|
{
|
|
75
76
|
"data-testid": `viewings-list-card-${e}`,
|
|
76
77
|
id: e,
|
|
77
|
-
className:
|
|
78
|
+
className: mt(`${i}`, { [`${i}--edit-state`]: s }),
|
|
78
79
|
children: [
|
|
79
|
-
/* @__PURE__ */ t("h3", { className: `${
|
|
80
|
+
/* @__PURE__ */ t("h3", { className: `${i}__title`, children: T }),
|
|
80
81
|
/* @__PURE__ */ t("input", { type: "hidden", name: "id", value: e }),
|
|
81
82
|
/* @__PURE__ */ t(
|
|
82
|
-
|
|
83
|
+
y,
|
|
83
84
|
{
|
|
84
|
-
ref:
|
|
85
|
+
ref: r,
|
|
85
86
|
id: `location-${e}`,
|
|
86
87
|
defaultValue: R,
|
|
87
88
|
labelText: q,
|
|
@@ -89,80 +90,110 @@ const u = `${E}-viewings-list-card`, Et = ({
|
|
|
89
90
|
name: "location",
|
|
90
91
|
invalid: n == null ? void 0 : n.location,
|
|
91
92
|
invalidText: n == null ? void 0 : n.location,
|
|
92
|
-
readOnly: !
|
|
93
|
+
readOnly: !s
|
|
93
94
|
}
|
|
94
95
|
),
|
|
95
|
-
|
|
96
|
-
|
|
96
|
+
s ? /* @__PURE__ */ t(
|
|
97
|
+
ft,
|
|
97
98
|
{
|
|
98
|
-
address1:
|
|
99
|
-
address1Label:
|
|
100
|
-
addressUrl:
|
|
101
|
-
addressUrlLabel:
|
|
102
|
-
address2:
|
|
103
|
-
address2Label:
|
|
104
|
-
address3:
|
|
105
|
-
address3Label:
|
|
106
|
-
email:
|
|
107
|
-
emailLabel:
|
|
108
|
-
emailLink:
|
|
109
|
-
emailLinkLabel:
|
|
110
|
-
emailOn:
|
|
99
|
+
address1: $,
|
|
100
|
+
address1Label: C,
|
|
101
|
+
addressUrl: O,
|
|
102
|
+
addressUrlLabel: w,
|
|
103
|
+
address2: v,
|
|
104
|
+
address2Label: x,
|
|
105
|
+
address3: z,
|
|
106
|
+
address3Label: A,
|
|
107
|
+
email: I,
|
|
108
|
+
emailLabel: N,
|
|
109
|
+
emailLink: S,
|
|
110
|
+
emailLinkLabel: j,
|
|
111
|
+
emailOn: B,
|
|
111
112
|
emailToggleLabel: D,
|
|
112
113
|
id: e,
|
|
113
114
|
invalidFields: n,
|
|
114
|
-
previewDates:
|
|
115
|
-
previewDatesLabel:
|
|
116
|
-
previewHours1:
|
|
117
|
-
previewHours1Label:
|
|
118
|
-
previewHours2:
|
|
119
|
-
previewHours2Label:
|
|
120
|
-
previewLabel:
|
|
121
|
-
previewLabelValue:
|
|
122
|
-
previewOn:
|
|
123
|
-
previewToggleLabel:
|
|
124
|
-
viewingLabel:
|
|
125
|
-
viewingLabelValue:
|
|
126
|
-
viewingDates:
|
|
127
|
-
viewingDatesLabel:
|
|
128
|
-
viewingHours1:
|
|
129
|
-
viewingHours1Label:
|
|
115
|
+
previewDates: G,
|
|
116
|
+
previewDatesLabel: H,
|
|
117
|
+
previewHours1: J,
|
|
118
|
+
previewHours1Label: K,
|
|
119
|
+
previewHours2: M,
|
|
120
|
+
previewHours2Label: P,
|
|
121
|
+
previewLabel: Q,
|
|
122
|
+
previewLabelValue: U,
|
|
123
|
+
previewOn: W,
|
|
124
|
+
previewToggleLabel: X,
|
|
125
|
+
viewingLabel: Z,
|
|
126
|
+
viewingLabelValue: F,
|
|
127
|
+
viewingDates: tt,
|
|
128
|
+
viewingDatesLabel: et,
|
|
129
|
+
viewingHours1: nt,
|
|
130
|
+
viewingHours1Label: st,
|
|
130
131
|
viewingHours2: ot,
|
|
131
|
-
viewingHours2Label:
|
|
132
|
+
viewingHours2Label: rt
|
|
132
133
|
}
|
|
133
134
|
) : null,
|
|
134
135
|
/* @__PURE__ */ t(
|
|
135
|
-
|
|
136
|
+
y,
|
|
136
137
|
{
|
|
137
138
|
id: `enableOnSite-${e}`,
|
|
138
139
|
type: "toggle",
|
|
139
|
-
defaultChecked:
|
|
140
|
-
labelText:
|
|
140
|
+
defaultChecked: m === "true",
|
|
141
|
+
labelText: k,
|
|
141
142
|
size: "md",
|
|
142
143
|
inline: !0,
|
|
143
144
|
value: "true",
|
|
144
145
|
name: "enableOnSite",
|
|
145
|
-
onChange: () =>
|
|
146
|
-
readOnly: !
|
|
146
|
+
onChange: () => ct((o) => !o),
|
|
147
|
+
readOnly: !s
|
|
147
148
|
}
|
|
148
149
|
),
|
|
149
|
-
|
|
150
|
+
at ? null : /* @__PURE__ */ t("input", { type: "hidden", name: "enableOnSite", value: "false" }),
|
|
150
151
|
/* @__PURE__ */ t("hr", {}),
|
|
151
|
-
/* @__PURE__ */ t("div", { className: `${
|
|
152
|
-
/* @__PURE__ */ t(l, { id: `vlc-save-btn-${e}`, buttonType: "ghost", type: "submit", size: "sm", onClick: at, children: X }),
|
|
153
|
-
/* @__PURE__ */ t(l, { id: `vlc-cancel-btn-${e}`, buttonType: "ghost", type: "button", size: "sm", onClick: lt, children: A })
|
|
154
|
-
] }) : /* @__PURE__ */ a(y, { children: [
|
|
155
|
-
/* @__PURE__ */ t(l, { id: `vlc-edit-btn-${e}`, buttonType: "ghost", type: "button", size: "sm", onClick: ut, children: k }),
|
|
152
|
+
/* @__PURE__ */ t("div", { className: `${i}__btn-group ${d}-button__group`, children: s ? /* @__PURE__ */ u(E, { children: [
|
|
156
153
|
/* @__PURE__ */ t(
|
|
157
|
-
|
|
154
|
+
c,
|
|
158
155
|
{
|
|
159
|
-
id: `vlc-
|
|
160
|
-
|
|
156
|
+
id: `vlc-save-btn-${e}`,
|
|
157
|
+
variant: l.ghost,
|
|
158
|
+
type: "submit",
|
|
159
|
+
size: "sm",
|
|
160
|
+
onClick: ut,
|
|
161
|
+
children: Y
|
|
162
|
+
}
|
|
163
|
+
),
|
|
164
|
+
/* @__PURE__ */ t(
|
|
165
|
+
c,
|
|
166
|
+
{
|
|
167
|
+
id: `vlc-cancel-btn-${e}`,
|
|
168
|
+
variant: l.ghost,
|
|
161
169
|
type: "button",
|
|
162
170
|
size: "sm",
|
|
163
|
-
onClick:
|
|
171
|
+
onClick: lt,
|
|
172
|
+
children: L
|
|
173
|
+
}
|
|
174
|
+
)
|
|
175
|
+
] }) : /* @__PURE__ */ u(E, { children: [
|
|
176
|
+
/* @__PURE__ */ t(
|
|
177
|
+
c,
|
|
178
|
+
{
|
|
179
|
+
id: `vlc-edit-btn-${e}`,
|
|
180
|
+
variant: l.ghost,
|
|
181
|
+
type: "button",
|
|
182
|
+
size: "sm",
|
|
183
|
+
onClick: it,
|
|
164
184
|
children: _
|
|
165
185
|
}
|
|
186
|
+
),
|
|
187
|
+
/* @__PURE__ */ t(
|
|
188
|
+
c,
|
|
189
|
+
{
|
|
190
|
+
id: `vlc-delete-btn-${e}`,
|
|
191
|
+
variant: l.ghost,
|
|
192
|
+
type: "button",
|
|
193
|
+
size: "sm",
|
|
194
|
+
onClick: () => typeof h == "function" && h(e),
|
|
195
|
+
children: V
|
|
196
|
+
}
|
|
166
197
|
)
|
|
167
198
|
] }) })
|
|
168
199
|
]
|
|
@@ -170,5 +201,5 @@ const u = `${E}-viewings-list-card`, Et = ({
|
|
|
170
201
|
);
|
|
171
202
|
};
|
|
172
203
|
export {
|
|
173
|
-
|
|
204
|
+
$t as default
|
|
174
205
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from './utils';
|
|
2
2
|
export { default as Page } from './pages/Page';
|
|
3
3
|
export { default as Button, type ButtonProps } from './components/Button/Button';
|
|
4
|
+
export { ButtonVariants } from './components/Button/types';
|
|
4
5
|
export { default as IconButton } from './components/IconButton/IconButton';
|
|
5
6
|
export { default as ErrorBoundary, type ErrorBoundaryProps } from './components/ErrorBoundary/ErrorBoundary';
|
|
6
7
|
export { default as Footer, type FooterProps } from './components/Footer/Footer';
|
package/dist/index.js
CHANGED
|
@@ -1,87 +1,91 @@
|
|
|
1
|
-
import { PaddingTokens as a, defaultYear as f, emailValidation as m,
|
|
2
|
-
import { default as
|
|
3
|
-
import { default as
|
|
4
|
-
import {
|
|
5
|
-
import { default as
|
|
6
|
-
import { default as
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import { default as
|
|
10
|
-
import { default as
|
|
11
|
-
import { default as
|
|
12
|
-
import { default as M } from "./components/Navigation/
|
|
13
|
-
import { default as
|
|
14
|
-
import { default as
|
|
15
|
-
import { default as
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import { default as
|
|
19
|
-
import { default as
|
|
20
|
-
import { default as
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import { default as
|
|
24
|
-
import { default as
|
|
25
|
-
import { default as
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import { default as
|
|
29
|
-
import { default as
|
|
30
|
-
import { default as
|
|
31
|
-
import { default as
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import { default as
|
|
35
|
-
import { default as
|
|
36
|
-
import { default as
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
1
|
+
import { PaddingTokens as a, defaultYear as f, emailValidation as m, encodeURLSearchParams as p, findChildrenOfType as d, generatePaddingClassName as s, getCommonProps as i, noOp as l, px as u, useNormalizedInputProps as x } from "./utils/index.js";
|
|
2
|
+
import { default as g } from "./pages/Page.js";
|
|
3
|
+
import { default as L } from "./components/Button/Button.js";
|
|
4
|
+
import { ButtonVariants as I } from "./components/Button/types.js";
|
|
5
|
+
import { default as P } from "./components/IconButton/IconButton.js";
|
|
6
|
+
import { default as N } from "./components/ErrorBoundary/ErrorBoundary.js";
|
|
7
|
+
import { default as T } from "./components/Footer/Footer.js";
|
|
8
|
+
import { Grid as v } from "./components/Grid/Grid.js";
|
|
9
|
+
import { default as h } 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 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 E } from "./components/Input/Input.js";
|
|
16
|
+
import { default as Y } from "./components/Link/Link.js";
|
|
17
|
+
import { LinkVariants as q } from "./components/Link/utils.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";
|
|
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";
|
|
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 Le } from "./components/Modal/Modal.js";
|
|
31
|
+
import { default as Ie } from "./components/Drawer/Drawer.js";
|
|
32
|
+
import { default as Pe } from "./components/ViewingsList/StatefulViewingsList.js";
|
|
33
|
+
import { TextVariants as Ne } from "./components/Text/types.js";
|
|
34
|
+
import { default as Te } from "./components/Text/Text.js";
|
|
35
|
+
import { default as ve } from "./components/Accordion/Accordion.js";
|
|
36
|
+
import { default as he } from "./components/Accordion/AccordionItem.js";
|
|
37
|
+
import { default as Ce } from "./components/UserManagement/UserManagement.js";
|
|
38
|
+
import { SupportedLanguages as ye } from "./types/commonTypes.js";
|
|
39
|
+
import { default as Me } from "./components/Breadcrumb/Breadcrumb.js";
|
|
39
40
|
import "react/jsx-runtime";
|
|
40
41
|
import "./node_modules/classnames/index.js";
|
|
41
42
|
export {
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
Y as
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
M as
|
|
43
|
+
ve as Accordion,
|
|
44
|
+
he as AccordionItem,
|
|
45
|
+
Me as Breadcrumb,
|
|
46
|
+
L as Button,
|
|
47
|
+
I as ButtonVariants,
|
|
48
|
+
Ie as Drawer,
|
|
49
|
+
N as ErrorBoundary,
|
|
50
|
+
T as Footer,
|
|
51
|
+
v as Grid,
|
|
52
|
+
$ as GridItem,
|
|
53
|
+
re as GridItemAlign,
|
|
54
|
+
h as Header,
|
|
55
|
+
z as HeroBanner,
|
|
56
|
+
P as IconButton,
|
|
57
|
+
E as Input,
|
|
58
|
+
Y as Link,
|
|
59
|
+
K as LinkBlock,
|
|
60
|
+
W as LinkList,
|
|
61
|
+
q as LinkVariants,
|
|
62
|
+
Le as Modal,
|
|
63
|
+
C as Navigation,
|
|
64
|
+
y as NavigationItem,
|
|
65
|
+
M as NavigationItemTrigger,
|
|
66
|
+
R as NavigationList,
|
|
65
67
|
a as PaddingTokens,
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
68
|
+
g as Page,
|
|
69
|
+
Z as Row,
|
|
70
|
+
te as Search,
|
|
71
|
+
fe as Select,
|
|
72
|
+
xe as Social,
|
|
73
|
+
pe as SplitPanel,
|
|
74
|
+
Pe as StatefulViewingsList,
|
|
75
|
+
se as Subscribe,
|
|
76
|
+
le as SubscriptionState,
|
|
77
|
+
ye as SupportedLanguages,
|
|
78
|
+
Te as Text,
|
|
79
|
+
Ne as TextVariants,
|
|
80
|
+
Ce as UserManagement,
|
|
81
|
+
ge as ViewingsList,
|
|
80
82
|
f as defaultYear,
|
|
81
83
|
m as emailValidation,
|
|
82
|
-
p as
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
84
|
+
p as encodeURLSearchParams,
|
|
85
|
+
d as findChildrenOfType,
|
|
86
|
+
s as generatePaddingClassName,
|
|
87
|
+
i as getCommonProps,
|
|
88
|
+
l as noOp,
|
|
89
|
+
u as px,
|
|
90
|
+
x as useNormalizedInputProps
|
|
87
91
|
};
|
|
@@ -15,11 +15,10 @@ $lg: #{$px}-input--lg;
|
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
&__label {
|
|
18
|
-
color: $
|
|
19
|
-
font-size: 0.
|
|
18
|
+
color: $pure-black;
|
|
19
|
+
font-size: 0.75rem;
|
|
20
20
|
font-weight: 600;
|
|
21
21
|
margin-bottom: 0.5rem;
|
|
22
|
-
text-transform: uppercase;
|
|
23
22
|
word-break: break-word;
|
|
24
23
|
|
|
25
24
|
&--hidden {
|
|
@@ -105,6 +104,10 @@ $lg: #{$px}-input--lg;
|
|
|
105
104
|
&--invalid {
|
|
106
105
|
color: $error-red;
|
|
107
106
|
|
|
107
|
+
label {
|
|
108
|
+
color: $error-red;
|
|
109
|
+
}
|
|
110
|
+
|
|
108
111
|
.#{$px}-input__input,
|
|
109
112
|
.#{$px}-input__input::placeholder,
|
|
110
113
|
.#{$px}-input__validation {
|
|
@@ -126,7 +129,7 @@ $lg: #{$px}-input--lg;
|
|
|
126
129
|
|
|
127
130
|
.#{$px}-input__validation {
|
|
128
131
|
animation: reveal 0.45s linear forwards;
|
|
129
|
-
|
|
132
|
+
padding-bottom: 0.5rem;
|
|
130
133
|
}
|
|
131
134
|
}
|
|
132
135
|
|