@phillips/seldon 1.16.0 → 1.17.1
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.
|
@@ -43,6 +43,18 @@ const o = `${X}-viewings-list-card-form`, l = ({
|
|
|
43
43
|
return T.useEffect(() => {
|
|
44
44
|
f(p === "true");
|
|
45
45
|
}, [p]), /* @__PURE__ */ a(W, { children: [
|
|
46
|
+
/* @__PURE__ */ t(
|
|
47
|
+
u,
|
|
48
|
+
{
|
|
49
|
+
id: `viewingLabel-${r}`,
|
|
50
|
+
name: "viewingLabelValue",
|
|
51
|
+
defaultValue: Z,
|
|
52
|
+
labelText: Y,
|
|
53
|
+
size: "sm",
|
|
54
|
+
invalid: e == null ? void 0 : e.viewingLabelValue,
|
|
55
|
+
invalidText: e == null ? void 0 : e.viewingLabelValue
|
|
56
|
+
}
|
|
57
|
+
),
|
|
46
58
|
/* @__PURE__ */ t(
|
|
47
59
|
u,
|
|
48
60
|
{
|
|
@@ -79,18 +91,6 @@ const o = `${X}-viewings-list-card-form`, l = ({
|
|
|
79
91
|
invalidText: e == null ? void 0 : e.viewingHours2
|
|
80
92
|
}
|
|
81
93
|
),
|
|
82
|
-
/* @__PURE__ */ t(
|
|
83
|
-
u,
|
|
84
|
-
{
|
|
85
|
-
id: `viewingLabel-${r}`,
|
|
86
|
-
name: "viewingLabelValue",
|
|
87
|
-
defaultValue: Z,
|
|
88
|
-
labelText: Y,
|
|
89
|
-
size: "sm",
|
|
90
|
-
invalid: e == null ? void 0 : e.viewingLabelValue,
|
|
91
|
-
invalidText: e == null ? void 0 : e.viewingLabelValue
|
|
92
|
-
}
|
|
93
|
-
),
|
|
94
94
|
/* @__PURE__ */ t(
|
|
95
95
|
u,
|
|
96
96
|
{
|
|
@@ -113,6 +113,19 @@ const o = `${X}-viewings-list-card-form`, l = ({
|
|
|
113
113
|
{
|
|
114
114
|
className: b(`${o}__preview-set`, { [`${o}__preview-set--hidden`]: !m }),
|
|
115
115
|
children: [
|
|
116
|
+
/* @__PURE__ */ t(
|
|
117
|
+
u,
|
|
118
|
+
{
|
|
119
|
+
id: `previewLabel-${r}`,
|
|
120
|
+
name: "previewLabelValue",
|
|
121
|
+
defaultValue: I,
|
|
122
|
+
labelText: j,
|
|
123
|
+
size: "sm",
|
|
124
|
+
invalid: e == null ? void 0 : e.previewLabelValue,
|
|
125
|
+
invalidText: e == null ? void 0 : e.previewLabelValue,
|
|
126
|
+
hidden: !m
|
|
127
|
+
}
|
|
128
|
+
),
|
|
116
129
|
/* @__PURE__ */ t(
|
|
117
130
|
u,
|
|
118
131
|
{
|
|
@@ -151,19 +164,6 @@ const o = `${X}-viewings-list-card-form`, l = ({
|
|
|
151
164
|
invalidText: e == null ? void 0 : e.previewHours2,
|
|
152
165
|
hidden: !m
|
|
153
166
|
}
|
|
154
|
-
),
|
|
155
|
-
/* @__PURE__ */ t(
|
|
156
|
-
u,
|
|
157
|
-
{
|
|
158
|
-
id: `previewLabel-${r}`,
|
|
159
|
-
name: "previewLabelValue",
|
|
160
|
-
defaultValue: I,
|
|
161
|
-
labelText: j,
|
|
162
|
-
size: "sm",
|
|
163
|
-
invalid: e == null ? void 0 : e.previewLabelValue,
|
|
164
|
-
invalidText: e == null ? void 0 : e.previewLabelValue,
|
|
165
|
-
hidden: !m
|
|
166
|
-
}
|
|
167
167
|
)
|
|
168
168
|
]
|
|
169
169
|
}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export { default as Button } from './components/Button/Button';
|
|
2
|
-
export { default as ErrorBoundary } from './components/ErrorBoundary/ErrorBoundary';
|
|
3
|
-
export { default as Grid } from './components/Grid/Grid';
|
|
4
|
-
export { default as Header } from './components/Header/Header';
|
|
5
|
-
export { default as HeroBanner } from './components/HeroBanner/HeroBanner';
|
|
6
|
-
export { default as Input } from './components/Input/Input';
|
|
7
|
-
export { default as Select } from './components/Select/Select';
|
|
8
|
-
export { default as ViewingsList } from './components/ViewingsList/ViewingsList';
|
|
9
|
-
export { default as StatefulViewingsList } from './components/ViewingsList/StatefulViewingsList';
|
|
1
|
+
export { default as Button, type ButtonProps } from './components/Button/Button';
|
|
2
|
+
export { default as ErrorBoundary, type ErrorBoundaryProps } from './components/ErrorBoundary/ErrorBoundary';
|
|
3
|
+
export { default as Grid, type GridProps } from './components/Grid/Grid';
|
|
4
|
+
export { default as Header, type HeaderProps } from './components/Header/Header';
|
|
5
|
+
export { default as HeroBanner, type HeroBannerProps } from './components/HeroBanner/HeroBanner';
|
|
6
|
+
export { default as Input, type InputProps } from './components/Input/Input';
|
|
7
|
+
export { default as Select, type SelectProps } from './components/Select/Select';
|
|
8
|
+
export { default as ViewingsList, type ViewingsListProps } from './components/ViewingsList/ViewingsList';
|
|
9
|
+
export { default as StatefulViewingsList, type StatefulViewingsListProps, } from './components/ViewingsList/StatefulViewingsList';
|
|
10
10
|
export { default as Page } from './pages/Page';
|
package/dist/scss/_vars.scss
CHANGED
|
@@ -8,10 +8,11 @@ $px: phillips;
|
|
|
8
8
|
// Primary color palette
|
|
9
9
|
$pure-black: #000000;
|
|
10
10
|
$primary-black: #323232;
|
|
11
|
-
$
|
|
11
|
+
$white: #ffffff;
|
|
12
|
+
|
|
12
13
|
// Secondary color palette
|
|
13
14
|
$soft-black: #545454;
|
|
14
|
-
$dark-gray: #
|
|
15
|
+
$dark-gray: #7b7474;
|
|
15
16
|
// Utilititarian color palette
|
|
16
17
|
$keyline-gray: #949494;
|
|
17
18
|
$medium-gray: #c3bebb;
|
|
@@ -21,15 +22,25 @@ $off-white: #f4f2f1;
|
|
|
21
22
|
$error-red: #ff0000;
|
|
22
23
|
$error-pink: rgba(255, 229, 229, 0.9);
|
|
23
24
|
$warn-yellow: #d6d141;
|
|
24
|
-
$post-sale-
|
|
25
|
-
$
|
|
26
|
-
|
|
27
|
-
$
|
|
28
|
-
$
|
|
25
|
+
$post-sale-pink: #ff0086;
|
|
26
|
+
$cta-blue: #4a90e2;
|
|
27
|
+
// AM color palette
|
|
28
|
+
$widget-blue: #4a90e2;
|
|
29
|
+
$widget-green: #6a9c53;
|
|
30
|
+
$widget-maroon: #6b0000;
|
|
31
|
+
$widget-red: #b00000;
|
|
32
|
+
$clock-widget-blue: $widget-blue;
|
|
33
|
+
$clock-widget-green: $widget-green;
|
|
34
|
+
$clock-widget-maroon: $widget-maroon;
|
|
35
|
+
$clock-widget-red: $widget-red;
|
|
29
36
|
// Articker color palette
|
|
30
37
|
$articker-red: #fc1e2b;
|
|
31
38
|
$articker-orange: #ff8201;
|
|
32
39
|
$articker-red-orange-gradient: linear-gradient(90deg, #fc1e2b, #ff8201);
|
|
40
|
+
// Legacy mapping
|
|
41
|
+
$pure-white: $white;
|
|
42
|
+
$post-sale-magenta: $post-sale-pink;
|
|
43
|
+
|
|
33
44
|
// Text variables
|
|
34
45
|
$header-color: $pure-black;
|
|
35
46
|
$text-color: $soft-black;
|