@scrippsproduct/networks-ui-library 1.1.0-alpha.3 → 1.1.0-alpha.5
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/ScheduleLayout/ScheduleLayout.d.ts +2 -1
- package/dist/components/ScheduleLayout/ScheduleLayout.js +40 -38
- package/dist/components/ScheduleList/ScheduleList.d.ts +2 -1
- package/dist/components/ScheduleList/ScheduleList.js +71 -63
- package/dist/index.d.ts +1 -0
- package/dist/index.js +34 -32
- package/package.json +1 -1
|
@@ -11,6 +11,7 @@ type ScheduleLayoutProps = {
|
|
|
11
11
|
weeks?: Day[][];
|
|
12
12
|
handleScheduleClicks?: (details: HandleClicksDetails) => boolean | void;
|
|
13
13
|
handleDateChanged?: (date: Date) => boolean | void;
|
|
14
|
+
fetchError?: boolean;
|
|
14
15
|
};
|
|
15
|
-
export declare function ScheduleLayout({ schedule, weeks, handleScheduleClicks, handleDateChanged, }: ScheduleLayoutProps): JSX.Element;
|
|
16
|
+
export declare function ScheduleLayout({ schedule, weeks, handleScheduleClicks, handleDateChanged, fetchError, }: ScheduleLayoutProps): JSX.Element;
|
|
16
17
|
export default ScheduleLayout;
|
|
@@ -1,29 +1,30 @@
|
|
|
1
|
-
import { jsx as t, jsxs as
|
|
2
|
-
import { useRef as d, useCallback as
|
|
3
|
-
import { f as
|
|
1
|
+
import { jsx as t, jsxs as L } from "react/jsx-runtime";
|
|
2
|
+
import { useRef as d, useCallback as w, useEffect as v } from "react";
|
|
3
|
+
import { f as b } from "../../format-YhWt2D8M.mjs";
|
|
4
4
|
import { l as c } from "../../logger-C0N7U0YY.mjs";
|
|
5
|
-
import { classes as
|
|
6
|
-
import { ScheduleProvider as
|
|
7
|
-
import { useScheduleContext as
|
|
8
|
-
import { DateNavigation as
|
|
9
|
-
import { ScheduleList as
|
|
5
|
+
import { classes as E } from "../../utils/helpers.js";
|
|
6
|
+
import { ScheduleProvider as T } from "./ScheduleContext.js";
|
|
7
|
+
import { useScheduleContext as k } from "./useScheduleContext.js";
|
|
8
|
+
import { DateNavigation as q } from "../DateNavigation/DateNavigation.js";
|
|
9
|
+
import { ScheduleList as x } from "../ScheduleList/ScheduleList.js";
|
|
10
10
|
c.setComponent("ScheduleLayout");
|
|
11
|
-
import '../../assets/ScheduleLayout.css';function
|
|
12
|
-
handleScheduleClicks: f = () => !0
|
|
11
|
+
import '../../assets/ScheduleLayout.css';function C({
|
|
12
|
+
handleScheduleClicks: f = () => !0,
|
|
13
|
+
fetchError: p = !1
|
|
13
14
|
}) {
|
|
14
|
-
const { currentDate: n } =
|
|
15
|
+
const { currentDate: n } = k(), r = d(null), m = d(0), i = d(null), s = d(null), l = d(null), a = w((u) => {
|
|
15
16
|
c.log("Determining pointer position for date: ", u);
|
|
16
17
|
const o = () => {
|
|
17
18
|
let e;
|
|
18
|
-
const
|
|
19
|
-
if (
|
|
20
|
-
const
|
|
21
|
-
|
|
19
|
+
const g = document.querySelector(`.date-navigation__day[aria-controls="${b(u, "yyyy-MM-dd")}"]`);
|
|
20
|
+
if (g && (e = g.parentElement), e && r.current) {
|
|
21
|
+
const S = e.offsetLeft + e.offsetWidth / 2;
|
|
22
|
+
m.current = S, r.current.style.setProperty(
|
|
22
23
|
"--pointer-position",
|
|
23
|
-
`${
|
|
24
|
+
`${S}px`
|
|
24
25
|
);
|
|
25
26
|
}
|
|
26
|
-
},
|
|
27
|
+
}, y = () => {
|
|
27
28
|
c.log("Scrolling schedule list to top"), c.log("Schedule list element: ", s.current), c.log("Sticky wrapper element: ", l.current);
|
|
28
29
|
const e = document.querySelector(".mobile-nav");
|
|
29
30
|
s.current && l.current && (c.log("Mobile nav element: ", e), window.scrollTo({
|
|
@@ -34,22 +35,22 @@ import '../../assets/ScheduleLayout.css';function x({
|
|
|
34
35
|
};
|
|
35
36
|
if (!r.current) {
|
|
36
37
|
const e = setInterval(() => {
|
|
37
|
-
r.current = document.querySelector(".date-navigation__list"), r.current && (clearInterval(e), s.current = document.querySelector(".schedule-list"), l.current = document.querySelector("sticky-content-wrapper"), o(),
|
|
38
|
+
r.current = document.querySelector(".date-navigation__list"), r.current && (clearInterval(e), s.current = document.querySelector(".schedule-list"), l.current = document.querySelector("sticky-content-wrapper"), o(), y());
|
|
38
39
|
}, 100);
|
|
39
40
|
setTimeout(() => {
|
|
40
41
|
clearInterval(e);
|
|
41
42
|
}, 3e3);
|
|
42
43
|
return;
|
|
43
44
|
}
|
|
44
|
-
o(),
|
|
45
|
-
}, []),
|
|
45
|
+
o(), y();
|
|
46
|
+
}, []), h = w(() => {
|
|
46
47
|
i.current && clearTimeout(i.current), i.current = window.setTimeout(() => {
|
|
47
48
|
a(n);
|
|
48
49
|
}, 250);
|
|
49
50
|
}, [n, a]);
|
|
50
|
-
return
|
|
51
|
-
window.removeEventListener("resize",
|
|
52
|
-
}), [a,
|
|
51
|
+
return v(() => (window.addEventListener("resize", h), () => {
|
|
52
|
+
window.removeEventListener("resize", h), i.current && clearTimeout(i.current);
|
|
53
|
+
}), [a, h]), v(() => {
|
|
53
54
|
const u = document.querySelector(".header-divider"), o = document.querySelector("sticky-content-wrapper");
|
|
54
55
|
o && u && new IntersectionObserver(
|
|
55
56
|
([e]) => {
|
|
@@ -60,41 +61,42 @@ import '../../assets/ScheduleLayout.css';function x({
|
|
|
60
61
|
rootMargin: "-37px"
|
|
61
62
|
}
|
|
62
63
|
).observe(u);
|
|
63
|
-
}, []),
|
|
64
|
+
}, []), v(() => {
|
|
64
65
|
a(n);
|
|
65
|
-
}, [n, a]), /* @__PURE__ */
|
|
66
|
+
}, [n, a]), /* @__PURE__ */ L("schedule-layout", { children: [
|
|
66
67
|
/* @__PURE__ */ t("sticky-content-wrapper", { "data-pinned-state": "unpinned", children: /* @__PURE__ */ t(
|
|
67
68
|
"content-constrainer",
|
|
68
69
|
{
|
|
69
|
-
class:
|
|
70
|
+
class: E([
|
|
70
71
|
"content-constrainer--no-padding",
|
|
71
72
|
"content-constrainer--no-border",
|
|
72
73
|
"content-constrainer--lead-container",
|
|
73
74
|
"schedule-date-nav-constrainer"
|
|
74
75
|
]),
|
|
75
|
-
children: /* @__PURE__ */ t(
|
|
76
|
+
children: /* @__PURE__ */ t(q, {})
|
|
76
77
|
}
|
|
77
78
|
) }),
|
|
78
|
-
/* @__PURE__ */ t("section", { className: "page-section", id: "schedule-section", children: /* @__PURE__ */ t("content-constrainer", { class: "content-constrainer--no-border schedule-content-constrainer", children: /* @__PURE__ */ t("div", { id:
|
|
79
|
+
/* @__PURE__ */ t("section", { className: "page-section", id: "schedule-section", children: /* @__PURE__ */ t("content-constrainer", { class: "content-constrainer--no-border schedule-content-constrainer", children: /* @__PURE__ */ t("div", { id: b(n, "yyyy-MM-dd"), role: "tabpanel", children: /* @__PURE__ */ t(x, { fetchError: p, handleClicks: f }) }) }) })
|
|
79
80
|
] });
|
|
80
81
|
}
|
|
81
|
-
function
|
|
82
|
+
function O({
|
|
82
83
|
schedule: f = [],
|
|
83
|
-
weeks:
|
|
84
|
-
handleScheduleClicks:
|
|
85
|
-
handleDateChanged:
|
|
84
|
+
weeks: p = [],
|
|
85
|
+
handleScheduleClicks: n = () => !0,
|
|
86
|
+
handleDateChanged: r = () => !0,
|
|
87
|
+
fetchError: m = !1
|
|
86
88
|
}) {
|
|
87
89
|
return /* @__PURE__ */ t(
|
|
88
|
-
|
|
90
|
+
T,
|
|
89
91
|
{
|
|
90
|
-
handleDateChanged:
|
|
92
|
+
handleDateChanged: r,
|
|
91
93
|
schedule: f,
|
|
92
|
-
weeks:
|
|
93
|
-
children: /* @__PURE__ */ t(
|
|
94
|
+
weeks: p,
|
|
95
|
+
children: /* @__PURE__ */ t(C, { fetchError: m, handleScheduleClicks: n })
|
|
94
96
|
}
|
|
95
97
|
);
|
|
96
98
|
}
|
|
97
99
|
export {
|
|
98
|
-
|
|
99
|
-
|
|
100
|
+
O as ScheduleLayout,
|
|
101
|
+
O as default
|
|
100
102
|
};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { HandleClicksDetails } from '../../types.d.ts';
|
|
2
2
|
type ScheduleListProps = {
|
|
3
3
|
handleClicks?: (details: HandleClicksDetails) => boolean | void;
|
|
4
|
+
fetchError?: boolean;
|
|
4
5
|
};
|
|
5
|
-
export declare function ScheduleList({ handleClicks, }: ScheduleListProps): JSX.Element;
|
|
6
|
+
export declare function ScheduleList({ handleClicks, fetchError, }: ScheduleListProps): JSX.Element;
|
|
6
7
|
export default ScheduleList;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { useReducer as
|
|
1
|
+
import { jsx as a, jsxs as d } from "react/jsx-runtime";
|
|
2
|
+
import { useReducer as u, useState as R, useRef as w, useCallback as A, useEffect as c } from "react";
|
|
3
3
|
import { classes as T, getMinutesFromStr as L } from "../../utils/helpers.js";
|
|
4
|
-
import { useScheduleContext as
|
|
5
|
-
import { Loading as
|
|
6
|
-
import { SportsItem as
|
|
7
|
-
import { SeriesItem as
|
|
8
|
-
import { MovieItem as
|
|
9
|
-
import '../../assets/ScheduleList.css';const
|
|
4
|
+
import { useScheduleContext as b } from "../ScheduleLayout/useScheduleContext.js";
|
|
5
|
+
import { Loading as x } from "../Loading/Loading.js";
|
|
6
|
+
import { SportsItem as D } from "./schedule-list-items/SportsItem.js";
|
|
7
|
+
import { SeriesItem as M } from "./schedule-list-items/SeriesItem.js";
|
|
8
|
+
import { MovieItem as k } from "./schedule-list-items/MovieItem.js";
|
|
9
|
+
import '../../assets/ScheduleList.css';const f = {
|
|
10
10
|
"schedule-list__item": "_schedule-list__item_wmqq1_1",
|
|
11
11
|
"schedule-list__airdate": "_schedule-list__airdate_wmqq1_14",
|
|
12
12
|
"airdate-formatter__date": "_airdate-formatter__date_wmqq1_22",
|
|
@@ -21,11 +21,11 @@ import '../../assets/ScheduleList.css';const l = {
|
|
|
21
21
|
"date-navigation__date": "_date-navigation__date_wmqq1_113",
|
|
22
22
|
"image-card__content": "_image-card__content_wmqq1_122"
|
|
23
23
|
};
|
|
24
|
-
function
|
|
24
|
+
function S(r) {
|
|
25
25
|
return typeof r == "object" && !Array.isArray(r) && "queryStatus" in r && r.queryStatus === "no-results";
|
|
26
26
|
}
|
|
27
|
-
function
|
|
28
|
-
switch (
|
|
27
|
+
function C(r, p) {
|
|
28
|
+
switch (p.type) {
|
|
29
29
|
case "START_EXIT":
|
|
30
30
|
return "exiting";
|
|
31
31
|
case "EXIT_COMPLETE":
|
|
@@ -38,9 +38,9 @@ function k(r, a) {
|
|
|
38
38
|
return r;
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
|
-
const
|
|
42
|
-
var
|
|
43
|
-
return (
|
|
41
|
+
const v = (r) => {
|
|
42
|
+
var p, t, s, n, e, o, y, g, _, l, i;
|
|
43
|
+
return (p = r.video) != null && p.brightcove_id ? {
|
|
44
44
|
label: "Watch Preview",
|
|
45
45
|
type: "play-video",
|
|
46
46
|
href: "",
|
|
@@ -71,10 +71,10 @@ const E = (r) => {
|
|
|
71
71
|
//'film',
|
|
72
72
|
position: void 0
|
|
73
73
|
//'inline',
|
|
74
|
-
} : (((
|
|
74
|
+
} : (((t = r == null ? void 0 : r.content) == null ? void 0 : t.external_link) !== void 0 && ((s = r == null ? void 0 : r.content) == null ? void 0 : s.external_link) !== "" || ((n = r == null ? void 0 : r.content) == null ? void 0 : n.slug) !== void 0 && ((e = r == null ? void 0 : r.content) == null ? void 0 : e.slug) !== "") && !((o = r == null ? void 0 : r.content) != null && o.prevent_detail_page) ? {
|
|
75
75
|
label: (r == null ? void 0 : r.program_class) === "Episode" ? "View Series Details" : (r == null ? void 0 : r.program_class) === "Film" ? "View Movie Details" : "Learn More",
|
|
76
|
-
type: (
|
|
77
|
-
href: (
|
|
76
|
+
type: (y = r == null ? void 0 : r.content) != null && y.external_link ? "external-link" : "internal-link",
|
|
77
|
+
href: (g = r == null ? void 0 : r.content) != null && g.external_link ? (_ = r == null ? void 0 : r.content) == null ? void 0 : _.external_link : r.program_class === "Episode" ? `/show/${(l = r == null ? void 0 : r.content) == null ? void 0 : l.slug}` : `/movie/${(i = r == null ? void 0 : r.content) == null ? void 0 : i.slug}`,
|
|
78
78
|
position: "inline"
|
|
79
79
|
} : {
|
|
80
80
|
label: "",
|
|
@@ -83,26 +83,27 @@ const E = (r) => {
|
|
|
83
83
|
position: void 0
|
|
84
84
|
};
|
|
85
85
|
};
|
|
86
|
-
function
|
|
87
|
-
handleClicks: r = () => !0
|
|
86
|
+
function H({
|
|
87
|
+
handleClicks: r = () => !0,
|
|
88
|
+
fetchError: p = !1
|
|
88
89
|
}) {
|
|
89
|
-
const { schedule:
|
|
90
|
-
_.current && (clearTimeout(_.current), _.current = null), n === "exiting" ?
|
|
90
|
+
const { schedule: t, isLoading: s } = b(), [n, e] = u(C, "idle"), [o, y] = R(t), g = w(null), _ = w(null), l = A(() => {
|
|
91
|
+
_.current && (clearTimeout(_.current), _.current = null), n === "exiting" ? e({ type: "EXIT_COMPLETE" }) : n === "entering" && e({ type: "ENTER_COMPLETE" });
|
|
91
92
|
}, [n]);
|
|
92
|
-
return
|
|
93
|
-
const i =
|
|
93
|
+
return c(() => {
|
|
94
|
+
const i = g.current;
|
|
94
95
|
if (i)
|
|
95
|
-
return i.addEventListener("animationend",
|
|
96
|
-
i.removeEventListener("animationend",
|
|
96
|
+
return i.addEventListener("animationend", l), () => {
|
|
97
|
+
i.removeEventListener("animationend", l);
|
|
97
98
|
};
|
|
98
|
-
}, [
|
|
99
|
-
s && n === "idle" &&
|
|
100
|
-
}, [s, n]),
|
|
101
|
-
const i =
|
|
102
|
-
!s && n === "loading" && i && (y(
|
|
103
|
-
}, [s, n,
|
|
99
|
+
}, [l]), c(() => {
|
|
100
|
+
s && n === "idle" && e({ type: "START_EXIT" });
|
|
101
|
+
}, [s, n]), c(() => {
|
|
102
|
+
const i = S(t) || Array.isArray(t) && t.length >= 0;
|
|
103
|
+
!s && n === "loading" && i && (y(t), e({ type: "SCHEDULE_LOADED" }));
|
|
104
|
+
}, [s, n, t]), c(() => () => {
|
|
104
105
|
_.current && clearTimeout(_.current);
|
|
105
|
-
}, []), n === "loading" ? /* @__PURE__ */
|
|
106
|
+
}, []), n === "loading" ? /* @__PURE__ */ a(
|
|
106
107
|
"div",
|
|
107
108
|
{
|
|
108
109
|
style: {
|
|
@@ -111,75 +112,82 @@ function j({
|
|
|
111
112
|
minHeight: "100dvh",
|
|
112
113
|
paddingTop: "6rem"
|
|
113
114
|
},
|
|
114
|
-
children: /* @__PURE__ */
|
|
115
|
+
children: /* @__PURE__ */ a(x, {})
|
|
115
116
|
}
|
|
116
|
-
) :
|
|
117
|
+
) : p ? /* @__PURE__ */ d("div", { className: "schedule-list__no-schedule", children: [
|
|
118
|
+
/* @__PURE__ */ a("h2", { children: "There was an error loading the schedule for this day." }),
|
|
119
|
+
/* @__PURE__ */ d("p", { children: [
|
|
120
|
+
"Please try again later. If this problem persists report it at ",
|
|
121
|
+
/* @__PURE__ */ a("a", { href: "https://support.iontelevision.com/support/home", children: "our support page" }),
|
|
122
|
+
"."
|
|
123
|
+
] })
|
|
124
|
+
] }) : S(o) ? /* @__PURE__ */ d(
|
|
117
125
|
"div",
|
|
118
126
|
{
|
|
119
127
|
className: T([
|
|
120
|
-
|
|
128
|
+
f["schedule-list__no-schedule"],
|
|
121
129
|
"schedule-list__no-schedule"
|
|
122
130
|
]),
|
|
123
131
|
"data-state": n,
|
|
124
132
|
style: { animationDelay: "500ms" },
|
|
125
133
|
children: [
|
|
126
|
-
/* @__PURE__ */
|
|
127
|
-
/* @__PURE__ */
|
|
134
|
+
/* @__PURE__ */ a("h2", { children: "There are no shows scheduled for this day." }),
|
|
135
|
+
/* @__PURE__ */ d("p", { children: [
|
|
128
136
|
"Please try again later. If this problem persists report it at ",
|
|
129
|
-
/* @__PURE__ */
|
|
137
|
+
/* @__PURE__ */ a("a", { href: "https://support.iontelevision.com/support/home", children: "our support page" }),
|
|
130
138
|
"."
|
|
131
139
|
] })
|
|
132
140
|
]
|
|
133
141
|
}
|
|
134
|
-
) : Array.isArray(o) && o.length === 0 ? /* @__PURE__ */
|
|
142
|
+
) : Array.isArray(o) && o.length === 0 ? /* @__PURE__ */ d(
|
|
135
143
|
"div",
|
|
136
144
|
{
|
|
137
145
|
className: T([
|
|
138
|
-
|
|
146
|
+
f["schedule-list__no-schedule"],
|
|
139
147
|
"schedule-list__no-schedule"
|
|
140
148
|
]),
|
|
141
149
|
"data-state": n,
|
|
142
150
|
children: [
|
|
143
|
-
/* @__PURE__ */
|
|
144
|
-
/* @__PURE__ */
|
|
151
|
+
/* @__PURE__ */ a("h2", { children: "Our programming schedule for today has completed." }),
|
|
152
|
+
/* @__PURE__ */ a("p", { children: "Our programming will restart at 6am." })
|
|
145
153
|
]
|
|
146
154
|
}
|
|
147
|
-
) : /* @__PURE__ */
|
|
155
|
+
) : /* @__PURE__ */ a(
|
|
148
156
|
"ul",
|
|
149
157
|
{
|
|
150
|
-
className: `${
|
|
158
|
+
className: `${f["schedule-list"]} schedule-list`,
|
|
151
159
|
"data-state": n,
|
|
152
|
-
ref:
|
|
160
|
+
ref: g,
|
|
153
161
|
children: Array.isArray(o) && o.map((i) => {
|
|
154
|
-
const
|
|
155
|
-
return i.program_class === "Episode" ? /* @__PURE__ */
|
|
156
|
-
|
|
162
|
+
const q = L(i.element_length), E = v(i).type === "" ? [q, i.rating] : [q, i.rating, " "];
|
|
163
|
+
return i.program_class === "Episode" ? /* @__PURE__ */ a(
|
|
164
|
+
M,
|
|
157
165
|
{
|
|
158
|
-
determineCTA:
|
|
166
|
+
determineCTA: v,
|
|
159
167
|
handleClicks: r,
|
|
160
168
|
scheduleItem: i,
|
|
161
|
-
strListArr:
|
|
162
|
-
styles:
|
|
169
|
+
strListArr: E,
|
|
170
|
+
styles: f
|
|
163
171
|
},
|
|
164
172
|
`schedule-list-${i.id}`
|
|
165
|
-
) : i.program_class === "Film" || i.program_class === "Movie" || i.program_class === "Special" ? /* @__PURE__ */
|
|
166
|
-
|
|
173
|
+
) : i.program_class === "Film" || i.program_class === "Movie" || i.program_class === "Special" ? /* @__PURE__ */ a(
|
|
174
|
+
k,
|
|
167
175
|
{
|
|
168
|
-
determineCTA:
|
|
176
|
+
determineCTA: v,
|
|
169
177
|
handleClicks: r,
|
|
170
178
|
scheduleItem: i,
|
|
171
|
-
strListArr:
|
|
172
|
-
styles:
|
|
179
|
+
strListArr: E,
|
|
180
|
+
styles: f
|
|
173
181
|
},
|
|
174
182
|
`schedule-list-${i.id}`
|
|
175
|
-
) : i.program_class === "Sports" ? /* @__PURE__ */
|
|
176
|
-
|
|
183
|
+
) : i.program_class === "Sports" ? /* @__PURE__ */ a(
|
|
184
|
+
D,
|
|
177
185
|
{
|
|
178
|
-
determineCTA:
|
|
186
|
+
determineCTA: v,
|
|
179
187
|
handleClicks: r,
|
|
180
188
|
scheduleItem: i,
|
|
181
|
-
strListArr:
|
|
182
|
-
styles:
|
|
189
|
+
strListArr: E,
|
|
190
|
+
styles: f
|
|
183
191
|
},
|
|
184
192
|
`schedule-list-${i.id}`
|
|
185
193
|
) : null;
|
|
@@ -188,6 +196,6 @@ function j({
|
|
|
188
196
|
);
|
|
189
197
|
}
|
|
190
198
|
export {
|
|
191
|
-
|
|
192
|
-
|
|
199
|
+
H as ScheduleList,
|
|
200
|
+
H as default
|
|
193
201
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -67,6 +67,7 @@ export { ErrorHandler } from './components/ErrorHandler';
|
|
|
67
67
|
export { ImageReplacementAnchor } from './components/ImageReplacementAnchor';
|
|
68
68
|
export { GetAirdateWrapper } from './components/GetAirdateWrapper';
|
|
69
69
|
export { Loading } from './components/Loading';
|
|
70
|
+
export { LoadingV2 } from './components/LoadingV2';
|
|
70
71
|
export { ResponsiveImage } from './components/ResponsiveImage';
|
|
71
72
|
export { StringList } from './components/StringList';
|
|
72
73
|
export { GeneralErrorBoundary } from './error-boundries/GeneralErrorBoundry';
|
package/dist/index.js
CHANGED
|
@@ -6,7 +6,7 @@ import { PromotionsRowBlock as n } from "./components/PromotionsRowBlock/Promoti
|
|
|
6
6
|
import { SocialShareBlock as s } from "./components/SocialShareBlock/SocialShareBlock.js";
|
|
7
7
|
import { ActionButton as u } from "./components/ActionButton/ActionButton.js";
|
|
8
8
|
import { Button as g } from "./components/Button/Button.js";
|
|
9
|
-
import { GradientButton as
|
|
9
|
+
import { GradientButton as C } from "./components/GradientButton/GradientButton.js";
|
|
10
10
|
import { Carousel as B } from "./components/Carousel/Carousel.js";
|
|
11
11
|
import { CarouselSlide as A } from "./components/CarouselSlide/CarouselSlide.js";
|
|
12
12
|
import { Empty as T } from "./components/CarouselSlide/slide-layouts/Empty/Empty.js";
|
|
@@ -17,8 +17,8 @@ import { TextSlide as G } from "./components/CarouselSlide/slide-layouts/Text/Te
|
|
|
17
17
|
import { VideoSlide as N } from "./components/CarouselSlide/slide-layouts/Video/VideoSlide.js";
|
|
18
18
|
import { C as E } from "./ChoicesItem-CT9fXB0I.mjs";
|
|
19
19
|
import { ChoicesList as H } from "./components/ChoicesList/ChoicesList.js";
|
|
20
|
-
import { CreateChoiceList as
|
|
21
|
-
import { CustomDataList as
|
|
20
|
+
import { CreateChoiceList as q } from "./components/CreateChoiceList/CreateChoiceList.js";
|
|
21
|
+
import { CustomDataList as U } from "./components/CustomDataList/CustomDataList.js";
|
|
22
22
|
import { CustomSelect as W } from "./components/CustomSelect/CustomSelect.js";
|
|
23
23
|
import { Input as K } from "./components/Input/Input.js";
|
|
24
24
|
import { Select as Q } from "./components/Select/Select.js";
|
|
@@ -32,7 +32,7 @@ import { ProgramAirdate as ao } from "./components/ProgramAirdate/ProgramAirdate
|
|
|
32
32
|
import { PromotionsRowModule as no } from "./components/PromotionsRowModule/PromotionsRowModule.js";
|
|
33
33
|
import { RescanInstructions as so } from "./components/RescanInstructions/RescanInstructions.js";
|
|
34
34
|
import { ScheduleLayout as co } from "./components/ScheduleLayout/ScheduleLayout.js";
|
|
35
|
-
import { SectionedContent as
|
|
35
|
+
import { SectionedContent as Lo } from "./components/SectionedContent/SectionedContent.js";
|
|
36
36
|
import { ShowAboutLayout as So } from "./components/ShowAboutLayout/ShowAboutLayout.js";
|
|
37
37
|
import { TabbedContent as ho } from "./components/TabbedContent/TabbedContent.js";
|
|
38
38
|
import { AdjustableTwoColumnGrid as Io } from "./components/AdjustableTwoColumnGrid/AdjustableTwoColumnGrid.js";
|
|
@@ -43,8 +43,8 @@ import { ModalContainer as Fo } from "./components/ModalContainer/ModalContainer
|
|
|
43
43
|
import { PageHero as wo } from "./components/PageHero/PageHero.js";
|
|
44
44
|
import { TabContent as Do } from "./components/TabContent/TabContent.js";
|
|
45
45
|
import { FeaturedList as Mo } from "./components/FeaturedList/FeaturedList.js";
|
|
46
|
-
import { GenericList as
|
|
47
|
-
import { GridList as
|
|
46
|
+
import { GenericList as Vo } from "./components/GenericList/GenericList.js";
|
|
47
|
+
import { GridList as zo } from "./components/GridList/GridList.js";
|
|
48
48
|
import { LogoListItem as jo } from "./components/LogoListItem/LogoListItem.js";
|
|
49
49
|
import { NavList as Jo } from "./components/NavList/NavList.js";
|
|
50
50
|
import { ScheduleList as Oo } from "./components/ScheduleList/ScheduleList.js";
|
|
@@ -59,7 +59,7 @@ import { TabNavigation as ir } from "./components/TabNavigation/TabNavigation.js
|
|
|
59
59
|
import { ResultsTable as lr } from "./components/ResultsTable/ResultsTable.js";
|
|
60
60
|
import { ResultsTableBody as dr } from "./components/ResultsTableBody/ResultsTableBody.js";
|
|
61
61
|
import { ResultsTableHeader as cr } from "./components/ResultsTableHeader/ResultsTableHeader.js";
|
|
62
|
-
import { AirDateFormatter as
|
|
62
|
+
import { AirDateFormatter as Lr } from "./components/AirDateFormatter/AirDateFormatter.js";
|
|
63
63
|
import { AnchorTag as Sr } from "./components/AnchorTag/AnchorTag.js";
|
|
64
64
|
import { ButtonAnchor as hr } from "./components/ButtonAnchor/ButtonAnchor.js";
|
|
65
65
|
import { Concat as Ir } from "./components/Concat/Concat.js";
|
|
@@ -67,24 +67,25 @@ import { ErrorHandler as br } from "./components/ErrorHandler/ErrorHandler.js";
|
|
|
67
67
|
import { ImageReplacementAnchor as yr } from "./components/ImageReplacementAnchor/ImageReplacementAnchor.js";
|
|
68
68
|
import { GetAirdateWrapper as Rr } from "./components/GetAirdateWrapper/GetAirdateWrapper.js";
|
|
69
69
|
import { Loading as Fr } from "./components/Loading/Loading.js";
|
|
70
|
-
import {
|
|
71
|
-
import {
|
|
72
|
-
import {
|
|
73
|
-
import {
|
|
74
|
-
import {
|
|
75
|
-
import {
|
|
76
|
-
import {
|
|
77
|
-
import {
|
|
78
|
-
import {
|
|
70
|
+
import { LoadingV2 as wr } from "./components/LoadingV2/LoadingV2.js";
|
|
71
|
+
import { ResponsiveImage as Dr } from "./components/ResponsiveImage/ResponsiveImage.js";
|
|
72
|
+
import { StringList as Mr } from "./components/StringList/StringList.js";
|
|
73
|
+
import { GeneralErrorBoundary as Vr } from "./error-boundries/GeneralErrorBoundry.js";
|
|
74
|
+
import { BlankErrorBoundary as zr } from "./error-boundries/BlankErrorBoundry.js";
|
|
75
|
+
import { BCVideoPlayer as jr } from "./components/BCVideoPlayer/BCVideoPlayer.js";
|
|
76
|
+
import { PromotionBlock as Jr } from "./components/PromotionBlock/PromotionBlock.js";
|
|
77
|
+
import { DeviceAndPlatformLists as Or } from "./components/DeviceAndPlatformLists/DeviceAndPlatformLists.js";
|
|
78
|
+
import { InstructionsList as Xr } from "./components/InstructionsList/InstructionsList.js";
|
|
79
|
+
import { Figure as Zr } from "./components/Figure/Figure.js";
|
|
79
80
|
export {
|
|
80
81
|
u as ActionButton,
|
|
81
82
|
e as AdBlock,
|
|
82
83
|
Io as AdjustableTwoColumnGrid,
|
|
83
|
-
|
|
84
|
+
Lr as AirDateFormatter,
|
|
84
85
|
Sr as AnchorTag,
|
|
85
|
-
|
|
86
|
+
jr as BCVideoPlayer,
|
|
86
87
|
oo as BasicGridModule,
|
|
87
|
-
|
|
88
|
+
zr as BlankErrorBoundary,
|
|
88
89
|
g as Button,
|
|
89
90
|
hr as ButtonAnchor,
|
|
90
91
|
B as Carousel,
|
|
@@ -94,36 +95,37 @@ export {
|
|
|
94
95
|
E as ChoicesItem,
|
|
95
96
|
H as ChoicesList,
|
|
96
97
|
Ir as Concat,
|
|
97
|
-
|
|
98
|
+
q as CreateChoiceList,
|
|
98
99
|
m as CtaBlock,
|
|
99
|
-
|
|
100
|
+
U as CustomDataList,
|
|
100
101
|
W as CustomSelect,
|
|
101
102
|
Zo as DateNavigation,
|
|
102
103
|
_ as DatePicker,
|
|
103
|
-
|
|
104
|
+
Or as DeviceAndPlatformLists,
|
|
104
105
|
$o as DrawerNavigation,
|
|
105
106
|
T as Empty,
|
|
106
107
|
bo as EqualSizeFlexRow,
|
|
107
108
|
yo as EqualSizeGrid,
|
|
108
109
|
br as ErrorHandler,
|
|
109
110
|
Mo as FeaturedList,
|
|
110
|
-
|
|
111
|
+
Zr as Figure,
|
|
111
112
|
v as FigureSlide,
|
|
112
113
|
fo as FindUs,
|
|
113
114
|
rr as FooterNavigation,
|
|
114
|
-
|
|
115
|
-
|
|
115
|
+
Vr as GeneralErrorBoundary,
|
|
116
|
+
Vo as GenericList,
|
|
116
117
|
Rr as GetAirdateWrapper,
|
|
117
|
-
|
|
118
|
-
|
|
118
|
+
C as GradientButton,
|
|
119
|
+
zo as GridList,
|
|
119
120
|
f as ImageCard,
|
|
120
121
|
P as ImageCardSlide,
|
|
121
122
|
yr as ImageReplacementAnchor,
|
|
122
123
|
Ro as InfoPanel,
|
|
123
124
|
tr as InlineNavigation,
|
|
124
125
|
K as Input,
|
|
125
|
-
|
|
126
|
+
Xr as InstructionsList,
|
|
126
127
|
Fr as Loading,
|
|
128
|
+
wr as LoadingV2,
|
|
127
129
|
jo as LogoListItem,
|
|
128
130
|
pr as LogoNavigation,
|
|
129
131
|
Fo as ModalContainer,
|
|
@@ -131,23 +133,23 @@ export {
|
|
|
131
133
|
Jo as NavList,
|
|
132
134
|
wo as PageHero,
|
|
133
135
|
ao as ProgramAirdate,
|
|
134
|
-
|
|
136
|
+
Jr as PromotionBlock,
|
|
135
137
|
n as PromotionsRowBlock,
|
|
136
138
|
no as PromotionsRowModule,
|
|
137
139
|
so as RescanInstructions,
|
|
138
|
-
|
|
140
|
+
Dr as ResponsiveImage,
|
|
139
141
|
lr as ResultsTable,
|
|
140
142
|
dr as ResultsTableBody,
|
|
141
143
|
cr as ResultsTableHeader,
|
|
142
144
|
co as ScheduleLayout,
|
|
143
145
|
Oo as ScheduleList,
|
|
144
|
-
|
|
146
|
+
Lo as SectionedContent,
|
|
145
147
|
Q as Select,
|
|
146
148
|
So as ShowAboutLayout,
|
|
147
149
|
k as ShowSlide,
|
|
148
150
|
xr as SocialLinks,
|
|
149
151
|
s as SocialShareBlock,
|
|
150
|
-
|
|
152
|
+
Mr as StringList,
|
|
151
153
|
Do as TabContent,
|
|
152
154
|
ir as TabNavigation,
|
|
153
155
|
ho as TabbedContent,
|
package/package.json
CHANGED