@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.
@@ -1,52 +1,65 @@
1
- import { jsxs as C, jsx as s } from "react/jsx-runtime";
2
- import E from "../../node_modules/classnames/index.js";
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 P from "../Button/Button.js";
5
+ import S from "../Button/Button.js";
6
6
  import { SubscriptionState as o } from "./types.js";
7
- const U = ({
8
- blurb: a,
9
- buttonText: i = "Sign Up",
10
- buttonProps: m,
11
- className: n,
12
- element: c = "form",
13
- inputLabelText: d = "Email*",
14
- inputPlaceholder: u = "example@email.com",
15
- title: p = "Subscribe to Newsletter",
16
- loadingText: f = "Loading...",
17
- invalidText: x = "",
18
- errorText: _ = "An error occurred. Please try again.",
19
- successText: b,
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
- ...t
23
+ ...l
22
24
  }) => {
23
- const { className: r, ...g } = I(t, "Subscribe"), N = e === o.Invalid, h = e === o.Loading, v = e === o.Success, y = e === o.Error, $ = {
24
- invalid: x,
25
- success: b,
26
- loading: f,
27
- error: _
28
- }, l = e !== o.Default ? $[e] : "", T = v || h, w = N || y;
29
- return /* @__PURE__ */ C(c, { ...g, className: E(r, n), noValidate: !0, ...t, children: [
30
- /* @__PURE__ */ s("h3", { className: `${r}__title`, children: p }),
31
- a ? /* @__PURE__ */ s("p", { className: `${r}__blurb`, children: a }) : null,
32
- /* @__PURE__ */ s(
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: u,
39
- labelText: d,
40
- invalid: w,
41
- invalidText: l,
42
- warn: T,
43
- warnText: l,
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__ */ s(P, { className: `${r}__button ${n}`, buttonType: "secondary", type: "submit", ...m, children: i })
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
- U as default
64
+ z as default
52
65
  };
@@ -1,87 +1,88 @@
1
- import { jsxs as a, jsx as t, Fragment as y } from "react/jsx-runtime";
2
- import * as r from "react";
3
- import it from "../../node_modules/classnames/index.js";
4
- import { px as E } from "../../utils/index.js";
5
- import g from "../Input/Input.js";
6
- import l from "../Button/Button.js";
7
- import pt from "./ViewingsListCardForm.js";
8
- const u = `${E}-viewings-list-card`, Et = ({
9
- address1: d,
10
- address1Label: $,
11
- addressUrl: C,
12
- addressUrlLabel: T,
13
- address2: O,
14
- address2Label: w,
15
- address3: x,
16
- address3Label: z,
17
- cancelBtnLabel: A = "CANCEL",
18
- cardTitle: L = "Add New Viewing",
19
- deleteBtnLabel: _ = "DELETE",
20
- editBtnLabel: k = "EDIT",
21
- isEditState: o,
22
- enableOnSite: i = "false",
23
- enableOnSiteToggleLabel: I = "Enabled on website",
24
- email: N,
25
- emailLabel: S = "Email",
26
- emailLink: V,
27
- emailLinkLabel: v = "Email Address",
28
- emailOn: j = "false",
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: p,
35
- onEdit: m,
36
- onDelete: f,
37
- onSave: h,
38
- previewDates: B,
39
- previewDatesLabel: G,
40
- previewHours1: H,
41
- previewHours1Label: J,
42
- previewHours2: K,
43
- previewHours2Label: M,
44
- previewLabel: P,
45
- previewLabelValue: Q,
46
- previewOn: U,
47
- previewToggleLabel: W,
48
- saveBtnLabel: X = "SAVE DETAILS",
49
- viewingLabel: Y,
50
- viewingLabelValue: Z,
51
- viewingDates: F,
52
- viewingDatesLabel: tt,
53
- viewingHours1: et,
54
- viewingHours1Label: nt,
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: st
57
+ viewingHours2Label: rt
57
58
  }) => {
58
- const [ct, rt] = r.useState(i === "true"), c = r.useRef(null);
59
- r.useEffect(() => {
60
- o && c.current && c.current.focus();
61
- }, [o]), r.useEffect(() => {
62
- var s, b;
63
- n && c.current && ((b = (s = c.current.closest(".phillips-viewings-list-card")) == null ? void 0 : s.querySelector(".phillips-input--invalid input")) == null || b.focus());
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 m == "function" && m();
69
- }, at = (s) => {
70
- typeof h == "function" && h(s);
70
+ }, ut = (o) => {
71
+ typeof b == "function" && b(o);
71
72
  };
72
- return /* @__PURE__ */ a(
73
+ return /* @__PURE__ */ u(
73
74
  "section",
74
75
  {
75
76
  "data-testid": `viewings-list-card-${e}`,
76
77
  id: e,
77
- className: it(`${u}`, { [`${u}--edit-state`]: o }),
78
+ className: mt(`${i}`, { [`${i}--edit-state`]: s }),
78
79
  children: [
79
- /* @__PURE__ */ t("h3", { className: `${u}__title`, children: L }),
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
- g,
83
+ y,
83
84
  {
84
- ref: c,
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: !o
93
+ readOnly: !s
93
94
  }
94
95
  ),
95
- o ? /* @__PURE__ */ t(
96
- pt,
96
+ s ? /* @__PURE__ */ t(
97
+ ft,
97
98
  {
98
- address1: d,
99
- address1Label: $,
100
- addressUrl: C,
101
- addressUrlLabel: T,
102
- address2: O,
103
- address2Label: w,
104
- address3: x,
105
- address3Label: z,
106
- email: N,
107
- emailLabel: S,
108
- emailLink: V,
109
- emailLinkLabel: v,
110
- emailOn: j,
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: B,
115
- previewDatesLabel: G,
116
- previewHours1: H,
117
- previewHours1Label: J,
118
- previewHours2: K,
119
- previewHours2Label: M,
120
- previewLabel: P,
121
- previewLabelValue: Q,
122
- previewOn: U,
123
- previewToggleLabel: W,
124
- viewingLabel: Y,
125
- viewingLabelValue: Z,
126
- viewingDates: F,
127
- viewingDatesLabel: tt,
128
- viewingHours1: et,
129
- viewingHours1Label: nt,
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: st
132
+ viewingHours2Label: rt
132
133
  }
133
134
  ) : null,
134
135
  /* @__PURE__ */ t(
135
- g,
136
+ y,
136
137
  {
137
138
  id: `enableOnSite-${e}`,
138
139
  type: "toggle",
139
- defaultChecked: i === "true",
140
- labelText: I,
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: () => rt((s) => !s),
146
- readOnly: !o
146
+ onChange: () => ct((o) => !o),
147
+ readOnly: !s
147
148
  }
148
149
  ),
149
- ct ? null : /* @__PURE__ */ t("input", { type: "hidden", name: "enableOnSite", value: "false" }),
150
+ at ? null : /* @__PURE__ */ t("input", { type: "hidden", name: "enableOnSite", value: "false" }),
150
151
  /* @__PURE__ */ t("hr", {}),
151
- /* @__PURE__ */ t("div", { className: `${u}__btn-group ${E}-button__group`, children: o ? /* @__PURE__ */ a(y, { children: [
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
- l,
154
+ c,
158
155
  {
159
- id: `vlc-delete-btn-${e}`,
160
- buttonType: "ghost",
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: () => typeof f == "function" && f(e),
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
- Et as default
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, generatePaddingClassName as p, getCommonProps as s, noOp as d, px as l, useNormalizedInputProps as u } from "./utils/index.js";
2
- import { default as x } from "./pages/Page.js";
3
- import { default as g } from "./components/Button/Button.js";
4
- import { default as L } from "./components/IconButton/IconButton.js";
5
- import { default as I } from "./components/ErrorBoundary/ErrorBoundary.js";
6
- import { default as B } from "./components/Footer/Footer.js";
7
- import { Grid as P } from "./components/Grid/Grid.js";
8
- import { default as b } from "./components/Header/Header.js";
9
- import { default as w } from "./components/Navigation/Navigation.js";
10
- import { default as A } from "./components/Navigation/NavigationItem/NavigationItem.js";
11
- import { default as C } from "./components/Navigation/NavigationItemTrigger/NavigationItemTrigger.js";
12
- import { default as M } from "./components/Navigation/NavigationList/NavigationList.js";
13
- import { default as y } from "./components/HeroBanner/HeroBanner.js";
14
- import { default as D } from "./components/Input/Input.js";
15
- import { default as F } from "./components/Link/Link.js";
16
- import { LinkVariants as R } from "./components/Link/utils.js";
17
- import { default as Y } from "./components/LinkBlock/LinkBlock.js";
18
- import { default as q } from "./components/LinkList/LinkList.js";
19
- import { default as K } from "./components/Row/Row.js";
20
- import { default as W } from "./components/GridItem/GridItem.js";
21
- import { GridItemAlign as Z } from "./components/GridItem/types.js";
22
- import { default as $ } from "./components/Search/Search.js";
23
- import { default as re } from "./components/Select/Select.js";
24
- import { default as te } from "./components/SplitPanel/SplitPanel.js";
25
- import { default as fe } from "./components/Subscribe/Subscribe.js";
26
- import { SubscriptionState as pe } from "./components/Subscribe/types.js";
27
- import { default as de } from "./components/Social/Social.js";
28
- import { default as ue } from "./components/ViewingsList/ViewingsList.js";
29
- import { default as xe } from "./components/Modal/Modal.js";
30
- import { default as ge } from "./components/Drawer/Drawer.js";
31
- import { default as Le } from "./components/ViewingsList/StatefulViewingsList.js";
32
- import { TextVariants as Ie } from "./components/Text/types.js";
33
- import { default as Be } from "./components/Text/Text.js";
34
- import { default as Pe } from "./components/Accordion/Accordion.js";
35
- import { default as be } from "./components/Accordion/AccordionItem.js";
36
- import { default as we } from "./components/UserManagement/UserManagement.js";
37
- import { SupportedLanguages as Ae } from "./types/commonTypes.js";
38
- import { default as Ce } from "./components/Breadcrumb/Breadcrumb.js";
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
- Pe as Accordion,
43
- be as AccordionItem,
44
- Ce as Breadcrumb,
45
- g as Button,
46
- ge as Drawer,
47
- I as ErrorBoundary,
48
- B as Footer,
49
- P as Grid,
50
- W as GridItem,
51
- Z as GridItemAlign,
52
- b as Header,
53
- y as HeroBanner,
54
- L as IconButton,
55
- D as Input,
56
- F as Link,
57
- Y as LinkBlock,
58
- q as LinkList,
59
- R as LinkVariants,
60
- xe as Modal,
61
- w as Navigation,
62
- A as NavigationItem,
63
- C as NavigationItemTrigger,
64
- M as NavigationList,
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
- x as Page,
67
- K as Row,
68
- $ as Search,
69
- re as Select,
70
- de as Social,
71
- te as SplitPanel,
72
- Le as StatefulViewingsList,
73
- fe as Subscribe,
74
- pe as SubscriptionState,
75
- Ae as SupportedLanguages,
76
- Be as Text,
77
- Ie as TextVariants,
78
- we as UserManagement,
79
- ue as ViewingsList,
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 generatePaddingClassName,
83
- s as getCommonProps,
84
- d as noOp,
85
- l as px,
86
- u as useNormalizedInputProps
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: $keyline-gray;
19
- font-size: 0.8125rem;
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
- margin-bottom: 0.5rem;
132
+ padding-bottom: 0.5rem;
130
133
  }
131
134
  }
132
135