@scrippsproduct/networks-ui-library 2.0.5 → 2.0.6

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 (70) hide show
  1. package/dist/components/ActionButton/ActionButton.test.js +3 -3
  2. package/dist/components/AdBlock/AdBlock.test.js +2 -2
  3. package/dist/components/AdjustableTwoColumnGrid/AdjustableTwoColumnGrid.test.js +2 -2
  4. package/dist/components/AirDateFormatter/AirDateFormatter.test.js +2 -2
  5. package/dist/components/AnchorTag/AnchorTag.test.js +3 -3
  6. package/dist/components/BCVideoPlayer/BCVideoPlayer.test.js +2 -2
  7. package/dist/components/BasicGridModule/BasicGridModule.test.js +2 -2
  8. package/dist/components/Button/Button.test.js +3 -3
  9. package/dist/components/ButtonAnchor/ButtonAnchor.test.js +3 -3
  10. package/dist/components/Carousel/Carousel.js +52 -49
  11. package/dist/components/Carousel/Carousel.suspense-regression.test.js +66 -0
  12. package/dist/components/Carousel/Carousel.test.js +2 -2
  13. package/dist/components/Carousel/CarouselUtils.class.js +11 -11
  14. package/dist/components/Carousel/navigations/Pagination.test.js +2 -2
  15. package/dist/components/CarouselSlide/CarouselSlide.test.js +2 -2
  16. package/dist/components/CastInfoLayout/CastInfoLayout.test.js +2 -2
  17. package/dist/components/ChannelSearch/ChannelSearch.test.js +2 -2
  18. package/dist/components/ChoicesItem/ChoicesItem.test.js +2 -2
  19. package/dist/components/Concat/Concat.test.js +2 -2
  20. package/dist/components/CtaBlock/CtaBlock.test.js +3 -3
  21. package/dist/components/CustomSelect/CustomSelect.test.js +3 -3
  22. package/dist/components/DateNavigation/DateNavigation.test.js +3 -3
  23. package/dist/components/DeviceAndPlatformLists/DeviceAndPlatformLists.test.js +2 -2
  24. package/dist/components/DrawerNavigation/DrawerNavigation.test.js +3 -3
  25. package/dist/components/EqualSizeFlexRow/EqualSizeFlexRow.test.js +2 -2
  26. package/dist/components/EqualSizeGrid/EqualSizeGrid.test.js +2 -2
  27. package/dist/components/ErrorHandler/ErrorHandler.test.js +2 -2
  28. package/dist/components/FeaturedList/FeaturedList.test.js +3 -3
  29. package/dist/components/Figure/Figure.test.js +2 -2
  30. package/dist/components/FindUs/FindUs.test.js +2 -2
  31. package/dist/components/FooterNavigation/FooterNavigation.test.js +2 -2
  32. package/dist/components/GenericList/GenericList.test.js +2 -2
  33. package/dist/components/GetAirdateWrapper/GetAirdateWrapper.test.js +2 -2
  34. package/dist/components/GradientButton/GradientButton.test.js +2 -2
  35. package/dist/components/GridList/GridList.test.js +1 -1
  36. package/dist/components/ImageCard/ImageCard.test.js +2 -2
  37. package/dist/components/ImageCard/ImageCardCore.test.js +2 -2
  38. package/dist/components/ImageReplacementAnchor/ImageReplacementAnchor.test.js +1 -1
  39. package/dist/components/InlineNavigation/InlineNavigation.test.js +1 -1
  40. package/dist/components/Input/Input.test.js +2 -2
  41. package/dist/components/InstructionsList/InstructionsList.test.js +1 -1
  42. package/dist/components/LogoListItem/LogoListItem.test.js +1 -1
  43. package/dist/components/LogoNavigation/LogoNavigation.test.js +1 -1
  44. package/dist/components/NavList/NavList.test.js +2 -2
  45. package/dist/components/Overlay/Overlay.test.js +1 -1
  46. package/dist/components/PageHero/PageHero.test.js +1 -1
  47. package/dist/components/ProgramAirdate/ProgramAirdate.test.js +1 -1
  48. package/dist/components/PromotionsRowBlock/PromotionsRowBlock.test.js +2 -2
  49. package/dist/components/PromotionsRowModule/PromotionsRowModule.test.js +2 -2
  50. package/dist/components/RescanInstructions/RescanInstructions.test.js +1 -1
  51. package/dist/components/ResponsiveImage/ResponsiveImage.test.js +2 -2
  52. package/dist/components/ResultsTable/ResultsTable.test.js +1 -1
  53. package/dist/components/ResultsTableBody/ResultsTableBody.test.js +1 -1
  54. package/dist/components/ResultsTableHeader/ResultsTableHeader.test.js +1 -1
  55. package/dist/components/SectionedContent/SectionedContent.test.js +2 -2
  56. package/dist/components/Select/Select.test.js +2 -2
  57. package/dist/components/ShowAboutContent/ShowAboutContent.test.js +2 -2
  58. package/dist/components/ShowAboutLayout/ShowAboutLayout.test.js +2 -2
  59. package/dist/components/StringList/StringList.test.js +1 -1
  60. package/dist/components/TabContent/TabContent.test.js +1 -1
  61. package/dist/components/TabNavigation/TabNavigation.test.js +1 -1
  62. package/dist/components/TabbedContent/TabbedContent.test.js +1 -1
  63. package/dist/components/UpcomingList/UpcomingList.test.js +2 -2
  64. package/dist/index-B03xsUba.mjs +3 -0
  65. package/dist/{index-CtAlHlVY.mjs → index-C-uizG4-.mjs} +1 -1
  66. package/dist/{matchers-35e4d3bd-ExgmEmtr.mjs → matchers-35e4d3bd-BckKR3wh.mjs} +1 -1
  67. package/dist/{react.esm-S2Q_NbYC.mjs → react.esm-CUNRDkfQ.mjs} +3 -2
  68. package/dist/test/setupTests.js +2 -2
  69. package/package.json +1 -1
  70. package/dist/index-BZQHStQa.mjs +0 -3
@@ -1,7 +1,7 @@
1
1
  import { jsx as n } from "react/jsx-runtime";
2
- import { v as b, d as r, b as m, a as p, i as s, r as a, g as o, s as l, c as d, w as h } from "../../react.esm-S2Q_NbYC.mjs";
3
- import { u } from "../../index-CtAlHlVY.mjs";
4
- import "../../index-BZQHStQa.mjs";
2
+ import { v as b, d as r, b as m, a as p, i as s, r as a, g as o, s as l, c as d, w as h } from "../../react.esm-CUNRDkfQ.mjs";
3
+ import { u } from "../../index-C-uizG4-.mjs";
4
+ import "../../index-B03xsUba.mjs";
5
5
  import { ActionButton as c } from "./ActionButton.js";
6
6
  b.mock("../../utils/events", async () => ({
7
7
  ...await b.importActual("../../utils/events"),
@@ -2,8 +2,8 @@ var f = Object.defineProperty;
2
2
  var v = (o, n, e) => n in o ? f(o, n, { enumerable: !0, configurable: !0, writable: !0, value: e }) : o[n] = e;
3
3
  var m = (o, n, e) => v(o, typeof n != "symbol" ? n + "" : n, e);
4
4
  import { jsx as r } from "react/jsx-runtime";
5
- import { v as d, d as u, b as I, a as x, i, r as s, g as t, s as l, c as y } from "../../react.esm-S2Q_NbYC.mjs";
6
- import { u as T } from "../../index-CtAlHlVY.mjs";
5
+ import { v as d, d as u, b as I, a as x, i, r as s, g as t, s as l, c as y } from "../../react.esm-CUNRDkfQ.mjs";
6
+ import { u as T } from "../../index-C-uizG4-.mjs";
7
7
  import { AdBlock as c } from "./AdBlock.js";
8
8
  const B = d.fn();
9
9
  u("AdBlock", () => {
@@ -1,6 +1,6 @@
1
1
  import { jsxs as u, jsx as e, Fragment as s } from "react/jsx-runtime";
2
- import { d as a, i as n, r as c, g as o, s as d } from "../../react.esm-S2Q_NbYC.mjs";
3
- import "../../index-BZQHStQa.mjs";
2
+ import { d as a, i as n, r as c, g as o, s as d } from "../../react.esm-CUNRDkfQ.mjs";
3
+ import "../../index-B03xsUba.mjs";
4
4
  import { AdjustableTwoColumnGrid as i } from "./AdjustableTwoColumnGrid.js";
5
5
  a("AdjustableTwoColumnGrid", () => {
6
6
  a("Basic Rendering", () => {
@@ -1,6 +1,6 @@
1
1
  import { jsx as r } from "react/jsx-runtime";
2
- import { d as u, b as y, a as p, i as n, r as i, g as e, s as c, v as m } from "../../react.esm-S2Q_NbYC.mjs";
3
- import "../../index-BZQHStQa.mjs";
2
+ import { d as u, b as y, a as p, i as n, r as i, g as e, s as c, v as m } from "../../react.esm-CUNRDkfQ.mjs";
3
+ import "../../index-B03xsUba.mjs";
4
4
  import { AirDateFormatter as s } from "./AirDateFormatter.js";
5
5
  u("AirDateFormatter", () => {
6
6
  const h = /* @__PURE__ */ new Date("2024-01-15T14:00:00-05:00");
@@ -1,7 +1,7 @@
1
1
  import { jsx as a } from "react/jsx-runtime";
2
- import { d as c, i as n, r as i, g as t, s, v as g } from "../../react.esm-S2Q_NbYC.mjs";
3
- import { u as m } from "../../index-CtAlHlVY.mjs";
4
- import "../../index-BZQHStQa.mjs";
2
+ import { d as c, i as n, r as i, g as t, s, v as g } from "../../react.esm-CUNRDkfQ.mjs";
3
+ import { u as m } from "../../index-C-uizG4-.mjs";
4
+ import "../../index-B03xsUba.mjs";
5
5
  import { AnchorTag as o } from "./AnchorTag.js";
6
6
  c("AnchorTag", () => {
7
7
  c("Basic Rendering", () => {
@@ -1,6 +1,6 @@
1
1
  import { jsx as t } from "react/jsx-runtime";
2
- import { v as l, d, b as h, a as I, i as a, r as c, g as r, f as u, w as y } from "../../react.esm-S2Q_NbYC.mjs";
3
- import "../../index-BZQHStQa.mjs";
2
+ import { v as l, d, b as h, a as I, i as a, r as c, g as r, f as u, w as y } from "../../react.esm-CUNRDkfQ.mjs";
3
+ import "../../index-B03xsUba.mjs";
4
4
  import { BCVideoPlayer as n } from "./BCVideoPlayer.js";
5
5
  const w = {
6
6
  play: l.fn().mockResolvedValue(void 0),
@@ -1,6 +1,6 @@
1
1
  import { jsx as n, jsxs as m } from "react/jsx-runtime";
2
- import { v as a, d as c, b as h, i as r, r as i, g as o, s as l } from "../../react.esm-S2Q_NbYC.mjs";
3
- import "../../index-BZQHStQa.mjs";
2
+ import { v as a, d as c, b as h, i as r, r as i, g as o, s as l } from "../../react.esm-CUNRDkfQ.mjs";
3
+ import "../../index-B03xsUba.mjs";
4
4
  import { BasicGridModule as d } from "./BasicGridModule.js";
5
5
  a.mock("../EqualSizeGrid/index.ts", () => ({
6
6
  default: ({ children: e, classname: t, gap: s, itemsPerRow: u }) => /* @__PURE__ */ n(
@@ -1,7 +1,7 @@
1
1
  import { jsx as l } from "react/jsx-runtime";
2
- import { d as b, i as n, r as s, s as e, g as o, v as u } from "../../react.esm-S2Q_NbYC.mjs";
3
- import { u as i } from "../../index-CtAlHlVY.mjs";
4
- import "../../index-BZQHStQa.mjs";
2
+ import { d as b, i as n, r as s, s as e, g as o, v as u } from "../../react.esm-CUNRDkfQ.mjs";
3
+ import { u as i } from "../../index-C-uizG4-.mjs";
4
+ import "../../index-B03xsUba.mjs";
5
5
  import { Button as a } from "./Button.js";
6
6
  b("Button", () => {
7
7
  b("Basic Rendering", () => {
@@ -1,7 +1,7 @@
1
1
  import { jsx as o } from "react/jsx-runtime";
2
- import { d as r, i as n, r as s, g as e, s as a, v as i } from "../../react.esm-S2Q_NbYC.mjs";
3
- import { u } from "../../index-CtAlHlVY.mjs";
4
- import "../../index-BZQHStQa.mjs";
2
+ import { d as r, i as n, r as s, g as e, s as a, v as i } from "../../react.esm-CUNRDkfQ.mjs";
3
+ import { u } from "../../index-C-uizG4-.mjs";
4
+ import "../../index-B03xsUba.mjs";
5
5
  import { ButtonAnchor as l } from "./ButtonAnchor.js";
6
6
  r("ButtonAnchor", () => {
7
7
  r("Basic Rendering", () => {
@@ -1,17 +1,17 @@
1
- import { jsx as l, Fragment as Y, jsxs as j } from "react/jsx-runtime";
2
- import { useRef as a, useState as m, useEffect as B, useCallback as u, Suspense as Z } from "react";
3
- import { chunkArray as ee, classes as g } from "../../utils/helpers.js";
4
- import re from "./CarouselUtils.class.js";
5
- import { CarouselSlide as te } from "../CarouselSlide/CarouselSlide.js";
6
- import { Loading as ne } from "../Loading/Loading.js";
1
+ import { jsx as l, Fragment as Z, jsxs as B } from "react/jsx-runtime";
2
+ import { useRef as a, useState as m, useEffect as G, useCallback as u, Suspense as ee } from "react";
3
+ import { chunkArray as re, classes as g } from "../../utils/helpers.js";
4
+ import te from "./CarouselUtils.class.js";
5
+ import { CarouselSlide as ne } from "../CarouselSlide/CarouselSlide.js";
6
+ import { Loading as le } from "../Loading/Loading.js";
7
7
  import { c as i } from "../../Carousel.module-Nwf_zL9b.mjs";
8
- import { C as le } from "../../chevron-left-D0UjbrKw.mjs";
9
- import { C as ce } from "../../chevron-right-0ZF3LruR.mjs";
8
+ import { C as ce } from "../../chevron-left-D0UjbrKw.mjs";
9
+ import { C as oe } from "../../chevron-right-0ZF3LruR.mjs";
10
10
  const A = window.matchMedia("(width <= 600px)"), P = window.matchMedia("(width <= 800px"), b = window.matchMedia("(width <= 1024px"), z = window.matchMedia("(width <= 1280px");
11
- function me({
11
+ function ge({
12
12
  id: E,
13
13
  cells: L,
14
- options: I = {
14
+ options: x = {
15
15
  paginationType: "dots",
16
16
  showControls: !0,
17
17
  controlArrowSize: 48,
@@ -32,8 +32,8 @@ function me({
32
32
  wrapAround: !0
33
33
  }
34
34
  }) {
35
- const f = a(`carousel-${E}`), x = a(null), c = a(null), R = a(null), p = a([...L]), $ = a(null), w = a(null), r = a(null), e = a(I), o = a(I), N = a("-50%"), [T, G] = m([]), [M, H] = m([]), [k, U] = m(0), [F, D] = m(!1);
36
- B(() => {
35
+ const h = a(`carousel-${E}`), I = a(null), c = a(null), R = a(null), p = a([...L]), $ = a(null), w = a(null), r = a(null), e = a(x), o = a(x), N = a("-50%"), [T, H] = m([]), [M, U] = m([]), [k, q] = m(0), [F, D] = m(!1);
36
+ G(() => {
37
37
  const t = () => {
38
38
  A.matches ? e.current = {
39
39
  ...o.current,
@@ -71,33 +71,33 @@ function me({
71
71
  };
72
72
  t();
73
73
  const n = () => {
74
- U((s) => s + 1), t();
74
+ q((s) => s + 1), t();
75
75
  };
76
76
  return A.addEventListener("change", n), P.addEventListener("change", n), b.addEventListener("change", n), z.addEventListener("change", n), () => {
77
77
  A.removeEventListener("change", n), P.removeEventListener("change", n), b.removeEventListener("change", n), z.removeEventListener("change", n);
78
78
  };
79
79
  }, []);
80
80
  const O = u((t, n) => {
81
- const s = ee(n, t);
82
- H([...s]);
81
+ const s = re(n, t);
82
+ U([...s]);
83
83
  let y = [];
84
- for (let h = 0; h <= s.length - 1; h++)
85
- y[h] = {
86
- ariaLabel: `${h + 1} of ${s.length}`,
87
- layout: s[h][0].layout || "",
84
+ for (let f = 0; f <= s.length - 1; f++)
85
+ y[f] = {
86
+ ariaLabel: `${f + 1} of ${s.length}`,
87
+ layout: s[f][0].layout || "",
88
88
  cells: [
89
- ...s[h]
89
+ ...s[f]
90
90
  ]
91
91
  };
92
- const _ = [...y], C = [...y], Q = _.slice(-1), X = _.slice(0);
93
- return C.push(X[0]), C.unshift(Q[0]), e.current.wrapAround && t.length > n ? C : _;
92
+ const _ = [...y], C = [...y], X = _.slice(-1), Y = _.slice(0);
93
+ return C.push(Y[0]), C.unshift(X[0]), e.current.wrapAround && t.length > n ? C : _;
94
94
  }, []), d = u(() => {
95
95
  e.current.autoplay && r.current && r.current.clearTimer();
96
96
  }, []), W = u((t) => {
97
97
  d();
98
98
  const n = t.key;
99
99
  n === "ArrowLeft" ? (t.preventDefault(), r.current && r.current.determineScrollAction(-1)) : n === "ArrowRight" && (t.preventDefault(), r.current && r.current.determineScrollAction(1));
100
- }, [d]), q = u(() => {
100
+ }, [d]), J = u(() => {
101
101
  d(), c.current !== null && c.current.addEventListener("scrollend", () => {
102
102
  r.current && r.current.handleScrollEnd();
103
103
  }, { once: !0 });
@@ -105,15 +105,15 @@ function me({
105
105
  d(), c.current !== null && c.current.addEventListener("scrollend", () => {
106
106
  r.current && r.current.handleScrollEnd(), c.current && c.current.addEventListener("scroll", S, { once: !0 });
107
107
  }, { once: !0 });
108
- }, [d]), J = () => {
108
+ }, [d]), Q = () => {
109
109
  var t;
110
110
  (t = r.current) == null || t.destroy();
111
111
  }, v = u(() => {
112
112
  //! make sure class is only instantiated once because of reacts
113
113
  //! "strict" mode double do hocus pocus
114
114
  var t, n;
115
- r.current !== null && k > 0 && ((n = (t = r.current).destroy) == null || n.call(t), r.current = null), D(!1), r.current = new re({
116
- carouselEl: x.current,
115
+ r.current !== null && k > 0 && ((n = (t = r.current).destroy) == null || n.call(t), r.current = null), D(!1), r.current = new te({
116
+ carouselEl: I.current,
117
117
  scrollerEl: c.current,
118
118
  paginationEl: R.current,
119
119
  cells: p.current,
@@ -121,7 +121,7 @@ function me({
121
121
  next: $.current,
122
122
  previous: w.current
123
123
  },
124
- id: f.current,
124
+ id: h.current,
125
125
  options: {
126
126
  autoplay: e.current.autoplay,
127
127
  wrapAround: e.current.wrapAround && p.current.length > (e.current.cellsPerSlide || 1),
@@ -135,39 +135,42 @@ function me({
135
135
  }), D(!0);
136
136
  }, [k]), V = u(() => {
137
137
  c.current && c.current.addEventListener("scroll", S, { once: !0 });
138
- }, [S]), K = u(() => {
138
+ }, [S]), K = () => {
139
+ var t;
140
+ return ((t = c.current) == null ? void 0 : t.querySelectorAll("[data-index]").length) ?? 0;
141
+ }, j = u(() => {
139
142
  const t = O(p.current, e.current.cellsPerSlide ?? 1);
140
- G(t);
143
+ H(t);
141
144
  const n = t.length;
142
145
  if (p.current.length > (e.current.cellsPerSlide ?? 1)) {
143
146
  let s = setInterval(() => {
144
- c.current !== null && c.current.children.length >= n && (w.current !== null && e.current.showControls || !e.current.showControls) && (clearInterval(s), V(), v());
147
+ c.current !== null && K() >= n && (w.current !== null && e.current.showControls || !e.current.showControls) && (clearInterval(s), V(), v());
145
148
  }, 100);
146
149
  } else {
147
150
  let s = setInterval(() => {
148
- c.current !== null && c.current.children.length >= n && (clearInterval(s), v());
151
+ c.current !== null && K() >= n && (clearInterval(s), v());
149
152
  }, 100);
150
153
  }
151
154
  }, [O, V, v]);
152
- return B(() => {
155
+ return G(() => {
153
156
  if (e.current !== null) {
154
157
  if (e.current.showControls) {
155
158
  let t = 0;
156
159
  e.current.showPagination && (t = t + 25), e.current.showScrollbar && (t = t + 6), N.current = `calc(-50% - ${t}px)`;
157
160
  }
158
- K();
161
+ j();
159
162
  }
160
163
  return () => {
161
- J();
164
+ Q();
162
165
  };
163
- }, [K, e]), /* @__PURE__ */ l(Y, { children: e.current !== null && /* @__PURE__ */ j(
166
+ }, [j, e]), /* @__PURE__ */ l(Z, { children: e.current !== null && /* @__PURE__ */ B(
164
167
  "div",
165
168
  {
166
169
  "aria-label": e.current.title,
167
170
  "aria-roledescription": "carousel",
168
171
  className: i.carousel,
169
- id: f.current,
170
- ref: x,
172
+ id: h.current,
173
+ ref: I,
171
174
  role: "region",
172
175
  style: {
173
176
  "--_carousel-gutters": e.current.wrapAround ? `${(e.current.gutterSize ?? 25) <= 25 ? e.current.gutterSize ?? 25 : 25}%` : `0 ${(e.current.gutterSize ?? 25) <= 25 ? e.current.gutterSize ?? 25 : 25}%`,
@@ -199,9 +202,9 @@ function me({
199
202
  onMouseLeave: () => {
200
203
  e.current.autoplay && r.current !== null && r.current.startTimer();
201
204
  },
202
- onTouchStart: q,
205
+ onTouchStart: J,
203
206
  children: /* @__PURE__ */ l(
204
- Z,
207
+ ee,
205
208
  {
206
209
  fallback: /* @__PURE__ */ l(
207
210
  "li",
@@ -209,11 +212,11 @@ function me({
209
212
  className: g([i["carousel__loading-slide"], "carousel__loading-slide"]),
210
213
  role: "presentation",
211
214
  style: { aspectRatio: "var(--_slide-aspect-ratio)", width: "100%" },
212
- children: /* @__PURE__ */ l(ne, {})
215
+ children: /* @__PURE__ */ l(le, {})
213
216
  }
214
217
  ),
215
218
  children: T.length > 0 && T.map((t, n) => /* @__PURE__ */ l(
216
- te,
219
+ ne,
217
220
  {
218
221
  currentIndex: e.current.wrapAround ? 1 : 0,
219
222
  index: n,
@@ -226,11 +229,11 @@ function me({
226
229
  )
227
230
  }
228
231
  ),
229
- e.current.showControls && L.length > (e.current.cellsPerSlide ?? 1) && /* @__PURE__ */ j("div", { className: i["carousel-controls"], children: [
232
+ e.current.showControls && L.length > (e.current.cellsPerSlide ?? 1) && /* @__PURE__ */ B("div", { className: i["carousel-controls"], children: [
230
233
  /* @__PURE__ */ l(
231
234
  "button",
232
235
  {
233
- "aria-controls": f.current,
236
+ "aria-controls": h.current,
234
237
  "aria-label": "Previous Item",
235
238
  className: g([
236
239
  i["carousel-controls__btn"],
@@ -249,13 +252,13 @@ function me({
249
252
  onMouseLeave: () => {
250
253
  e.current.autoplay && r.current !== null && r.current.startTimer();
251
254
  },
252
- children: /* @__PURE__ */ l("i", { "aria-hidden": "true", children: /* @__PURE__ */ l(le, { height: e.current.controlArrowSize, width: e.current.controlArrowSize }) })
255
+ children: /* @__PURE__ */ l("i", { "aria-hidden": "true", children: /* @__PURE__ */ l(ce, { height: e.current.controlArrowSize, width: e.current.controlArrowSize }) })
253
256
  }
254
257
  ),
255
258
  /* @__PURE__ */ l(
256
259
  "button",
257
260
  {
258
- "aria-controls": f.current,
261
+ "aria-controls": h.current,
259
262
  "aria-label": "Next Item",
260
263
  className: g([i["carousel-controls__btn"], i["carousel-controls__next"], "carousel-controls__next"]),
261
264
  ref: $,
@@ -270,7 +273,7 @@ function me({
270
273
  onMouseLeave: () => {
271
274
  e.current.autoplay && r.current !== null && r.current.startTimer();
272
275
  },
273
- children: /* @__PURE__ */ l("i", { "aria-hidden": "true", children: /* @__PURE__ */ l(ce, { height: e.current.controlArrowSize, width: e.current.controlArrowSize }) })
276
+ children: /* @__PURE__ */ l("i", { "aria-hidden": "true", children: /* @__PURE__ */ l(oe, { height: e.current.controlArrowSize, width: e.current.controlArrowSize }) })
274
277
  }
275
278
  )
276
279
  ] }),
@@ -284,13 +287,13 @@ function me({
284
287
  r.current && r.current.navigateToIndex(n);
285
288
  }
286
289
  },
287
- `carousel${f}-nav-${n}`
290
+ `carousel${h}-nav-${n}`
288
291
  )) }) })
289
292
  ]
290
293
  }
291
294
  ) });
292
295
  }
293
296
  export {
294
- me as Carousel,
295
- me as default
297
+ ge as Carousel,
298
+ ge as default
296
299
  };
@@ -0,0 +1,66 @@
1
+ import { jsx as i } from "react/jsx-runtime";
2
+ import { v as l, d as f, b as m, i as g, r as p, s as d, g as s, e as v, w as c } from "../../react.esm-CUNRDkfQ.mjs";
3
+ import "../../index-B03xsUba.mjs";
4
+ import { Carousel as C } from "./Carousel.js";
5
+ const o = [];
6
+ l.mock("./CarouselUtils.class", () => ({
7
+ default: l.fn().mockImplementation(({ scrollerEl: e }) => (o.push([...e.children]), {
8
+ determineScrollAction: l.fn(),
9
+ navigateToIndex: l.fn(),
10
+ clearTimer: l.fn(),
11
+ startTimer: l.fn(),
12
+ handleScrollEnd: l.fn(),
13
+ destroy: l.fn()
14
+ }))
15
+ }));
16
+ let h = () => {
17
+ }, n = !1;
18
+ const u = new Promise((e) => {
19
+ h = () => {
20
+ n = !0, e();
21
+ };
22
+ });
23
+ l.mock("../CarouselSlide", () => ({
24
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
25
+ CarouselSlide: ({ slide: e, index: t }) => {
26
+ if (!n) throw u;
27
+ return /* @__PURE__ */ i("li", { "data-index": t, "data-testid": `carousel-slide-${t}`, children: e.ariaLabel });
28
+ },
29
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
30
+ default: ({ slide: e, index: t }) => {
31
+ if (!n) throw u;
32
+ return /* @__PURE__ */ i("li", { "data-index": t, "data-testid": `carousel-slide-${t}`, children: e.ariaLabel });
33
+ }
34
+ }));
35
+ l.mock("react-feather", () => ({
36
+ ChevronLeft: () => /* @__PURE__ */ i("span", { "data-testid": "chevron-left", children: "Left" }),
37
+ ChevronRight: () => /* @__PURE__ */ i("span", { "data-testid": "chevron-right", children: "Right" })
38
+ }));
39
+ l.mock("../../utils/helpers", () => ({
40
+ classes: (e) => e.filter(Boolean).join(" "),
41
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
42
+ chunkArray: (e, t) => {
43
+ let r = [];
44
+ for (let a = 0; a <= Math.floor(t.length / e); a++)
45
+ t.slice(a * e, e * (a + 1)).length && r.push(t.slice(a * e, e * (a + 1)));
46
+ return r;
47
+ }
48
+ }));
49
+ f("Carousel - single slide Suspense regression", () => {
50
+ const e = [
51
+ { id: 1, props: { title: "Cell 1" }, title: "Cell 1", layout: "default" }
52
+ ];
53
+ m(() => {
54
+ o.length = 0;
55
+ }), g("does not instantiate CarouselUtils against the Suspense fallback placeholder", async () => {
56
+ p(/* @__PURE__ */ i(C, { cells: e, id: "single" }));
57
+ const t = d.getByRole("group", { name: "Items Scroller" });
58
+ s(v(t).queryByTestId("carousel-slide-0")).not.toBeInTheDocument(), s(t.querySelector(".carousel__loading-slide")).toBeInTheDocument(), await new Promise((r) => setTimeout(r, 250)), s(o).toHaveLength(0), h(), await c(() => {
59
+ s(d.getByTestId("carousel-slide-0")).toBeInTheDocument();
60
+ }), await c(() => {
61
+ s(o.length).toBeGreaterThan(0);
62
+ }), o.forEach((r) => {
63
+ s(r).toHaveLength(1), s(r[0].getAttribute("data-index")).toBe("0");
64
+ });
65
+ });
66
+ });
@@ -1,6 +1,6 @@
1
1
  import { jsx as s, jsxs as g, Fragment as m } from "react/jsx-runtime";
2
- import { v as h, d as u, b as B, a as w, i as r, r as a, g as o, s as i, w as c, f as p } from "../../react.esm-S2Q_NbYC.mjs";
3
- import "../../index-BZQHStQa.mjs";
2
+ import { v as h, d as u, b as B, a as w, i as r, r as a, g as o, s as i, w as c, f as p } from "../../react.esm-CUNRDkfQ.mjs";
3
+ import "../../index-B03xsUba.mjs";
4
4
  import { Carousel as n } from "./Carousel.js";
5
5
  h.mock("./CarouselUtils.class", () => ({
6
6
  default: h.fn().mockImplementation(() => ({
@@ -7,25 +7,25 @@ var n = (r, t, e) => B(r, typeof t != "symbol" ? t + "" : t, e), L = (r, t, e) =
7
7
  var w = (r, t, e) => t.has(r) ? g("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(r) : t.set(r, e);
8
8
  var l = (r, t, e) => (L(r, t, "access private method"), e);
9
9
  if (typeof window < "u" && !("onscrollend" in window)) {
10
- let e = function(o, i, p) {
10
+ let e = function(o, i, m) {
11
11
  let d = o[i];
12
12
  o[i] = function() {
13
13
  let a = Array.prototype.slice.apply(arguments, [0]);
14
- d.apply(this, a), a.unshift(d), p.apply(this, a);
14
+ d.apply(this, a), a.unshift(d), m.apply(this, a);
15
15
  };
16
- }, h = function(o, i, p, d) {
16
+ }, h = function(o, i, m, d) {
17
17
  if (i != "scroll" && i != "scrollend") return;
18
18
  let a = this, u = t.get(a);
19
19
  if (u === void 0) {
20
- let m = 0;
20
+ let I = 0;
21
21
  u = { scrollListener: (O) => {
22
- clearTimeout(m), m = setTimeout(() => {
23
- r.size ? setTimeout(u.scrollListener, 100) : (a && a.dispatchEvent(new Event("scrollend")), m = 0);
22
+ clearTimeout(I), I = setTimeout(() => {
23
+ r.size ? setTimeout(u.scrollListener, 100) : (a && a.dispatchEvent(new Event("scrollend")), I = 0);
24
24
  }, 100);
25
25
  }, listeners: 0 }, o.apply(a, ["scroll", u.scrollListener, { passive: !0 }]), t.set(a, u);
26
26
  }
27
27
  u.listeners++;
28
- }, c = function(o, i, p) {
28
+ }, c = function(o, i, m) {
29
29
  if (i != "scroll" && i != "scrollend") return;
30
30
  let d = this, a = t.get(d);
31
31
  a !== void 0 && (--a.listeners > 0 || (o.apply(d, ["scroll", a.scrollListener]), t.delete(d)));
@@ -41,7 +41,7 @@ if (typeof window < "u" && !("onscrollend" in window)) {
41
41
  let t = /* @__PURE__ */ new WeakMap();
42
42
  e(Element.prototype, "addEventListener", h), e(window, "addEventListener", h), e(document, "addEventListener", h), e(Element.prototype, "removeEventListener", c), e(window, "removeEventListener", c), e(document, "removeEventListener", c);
43
43
  }
44
- var s, E, b, x, y, f, v, S, I, A;
44
+ var s, E, b, x, y, f, v, S, p, A;
45
45
  class C {
46
46
  constructor({
47
47
  carouselEl: t,
@@ -173,7 +173,7 @@ x = function() {
173
173
  */
174
174
  y = function() {
175
175
  var t, e;
176
- this.options.wrapAround ? (this.scrollerEl.style.scrollBehavior = "auto", this.scrollerEl.scrollTo(0, 0), l(this, s, E).call(this, { scrollport: this.scrollerEl, element: this.scrollerEl.children[1] })) : this.options.showControls ? (this.navBtnEls && ((t = this.navBtnEls) != null && t.previous) && ((e = this.navBtnEls) == null || e.previous.setAttribute("disabled", "disabled")), l(this, s, v).call(this)) : l(this, s, I).call(this), this.totalSlideEls === 1 && this.slideEls[0].removeAttribute("inert");
176
+ this.options.wrapAround ? (this.scrollerEl.style.scrollBehavior = "auto", this.scrollerEl.scrollTo(0, 0), l(this, s, E).call(this, { scrollport: this.scrollerEl, element: this.scrollerEl.children[1] })) : this.options.showControls ? (this.navBtnEls && ((t = this.navBtnEls) != null && t.previous) && ((e = this.navBtnEls) == null || e.previous.setAttribute("disabled", "disabled")), l(this, s, v).call(this)) : l(this, s, p).call(this), this.totalSlideEls === 1 && l(this, s, p).call(this);
177
177
  }, /**
178
178
  * Scrolls the carousel in a specified direction by a specified distance
179
179
  *
@@ -195,7 +195,7 @@ f = function(t, e = 1) {
195
195
  * when scroller is scrolled
196
196
  */
197
197
  v = function() {
198
- l(this, s, I).call(this), this.showPagination && l(this, s, A).call(this), this.options.wrapAround || l(this, s, S).call(this);
198
+ l(this, s, p).call(this), this.showPagination && l(this, s, A).call(this), this.options.wrapAround || l(this, s, S).call(this);
199
199
  }, /**
200
200
  * Sets the control arrow buttons to disabled if the carousel is at the start or end
201
201
  */
@@ -204,7 +204,7 @@ S = function() {
204
204
  }, /**
205
205
  * Sets the inert attribute on all slides that are not the current slide
206
206
  */
207
- I = function() {
207
+ p = function() {
208
208
  const t = this.options.wrapAround ? this.currentIndex + 1 : this.currentIndex;
209
209
  this.slideEls.length === 1 ? this.slideEls[0].removeAttribute("inert") : this.slideEls.forEach((e, h) => {
210
210
  e.toggleAttribute("inert", h !== t);
@@ -1,7 +1,7 @@
1
1
  import { jsx as o } from "react/jsx-runtime";
2
2
  import { createRef as m } from "react";
3
- import { d as c, i as l, r, s as a, g as t } from "../../../react.esm-S2Q_NbYC.mjs";
4
- import "../../../index-BZQHStQa.mjs";
3
+ import { d as c, i as l, r, s as a, g as t } from "../../../react.esm-CUNRDkfQ.mjs";
4
+ import "../../../index-B03xsUba.mjs";
5
5
  import { Pagination as i } from "./Pagination.js";
6
6
  const n = Array.from({ length: 5 }), u = Array.from({ length: 1 });
7
7
  c("Pagination", () => {
@@ -1,6 +1,6 @@
1
1
  import { jsx as l } from "react/jsx-runtime";
2
- import { v as y, d, b as p, i as r, r as a, w as u, g as i, s as c } from "../../react.esm-S2Q_NbYC.mjs";
3
- import "../../index-BZQHStQa.mjs";
2
+ import { v as y, d, b as p, i as r, r as a, w as u, g as i, s as c } from "../../react.esm-CUNRDkfQ.mjs";
3
+ import "../../index-B03xsUba.mjs";
4
4
  import { CarouselSlide as n } from "./CarouselSlide.js";
5
5
  y.mock("@scrippsproduct/console-logger", () => ({
6
6
  default: {
@@ -1,6 +1,6 @@
1
1
  import { jsx as a, jsxs as g } from "react/jsx-runtime";
2
- import { v as h, d as m, b as y, a as u, i as s, r as c, g as e, s as r } from "../../react.esm-S2Q_NbYC.mjs";
3
- import "../../index-BZQHStQa.mjs";
2
+ import { v as h, d as m, b as y, a as u, i as s, r as c, g as e, s as r } from "../../react.esm-CUNRDkfQ.mjs";
3
+ import "../../index-B03xsUba.mjs";
4
4
  import { CastInfoLayout as i } from "./CastInfoLayout.js";
5
5
  h.mock("../Concat", () => ({
6
6
  default: ({ list: n }) => /* @__PURE__ */ a("div", { "data-testid": "concat", children: n.filter(Boolean).map((l, d) => /* @__PURE__ */ a("span", { dangerouslySetInnerHTML: { __html: l || "" } }, d)) })
@@ -1,6 +1,6 @@
1
1
  import { jsx as a, jsxs as w } from "react/jsx-runtime";
2
- import { v as y, d as k, b as B, a as T, i as r, r as i, g as c, s as e, f as l, w as h } from "../../react.esm-S2Q_NbYC.mjs";
3
- import "../../index-BZQHStQa.mjs";
2
+ import { v as y, d as k, b as B, a as T, i as r, r as i, g as c, s as e, f as l, w as h } from "../../react.esm-CUNRDkfQ.mjs";
3
+ import "../../index-B03xsUba.mjs";
4
4
  import { ChannelSearch as u } from "./ChannelSearch.js";
5
5
  y.mock("../Input", () => ({
6
6
  default: ({ name: o, placeholder: s }) => /* @__PURE__ */ a("input", { "data-testid": `input-${o}`, name: o, placeholder: s })
@@ -1,6 +1,6 @@
1
1
  import { jsx as l } from "react/jsx-runtime";
2
- import { v as a, d as u, b as k, i as d, r as h, g as s, s as m } from "../../react.esm-S2Q_NbYC.mjs";
3
- import { u as g } from "../../index-CtAlHlVY.mjs";
2
+ import { v as a, d as u, b as k, i as d, r as h, g as s, s as m } from "../../react.esm-CUNRDkfQ.mjs";
3
+ import { u as g } from "../../index-C-uizG4-.mjs";
4
4
  import { C as o } from "../../ChoicesItem-CT9fXB0I.mjs";
5
5
  const C = a.fn((i) => i.filter(Boolean).join(" "));
6
6
  a.mock("../../utils/helpers", () => ({
@@ -1,6 +1,6 @@
1
1
  import { jsx as n, jsxs as d } from "react/jsx-runtime";
2
- import { d as a, i as l, r as s, g as t, s as r } from "../../react.esm-S2Q_NbYC.mjs";
3
- import "../../index-BZQHStQa.mjs";
2
+ import { d as a, i as l, r as s, g as t, s as r } from "../../react.esm-CUNRDkfQ.mjs";
3
+ import "../../index-B03xsUba.mjs";
4
4
  import { Concat as i } from "./Concat.js";
5
5
  a("Concat", () => {
6
6
  a("Basic Rendering", () => {
@@ -1,7 +1,7 @@
1
1
  import { jsx as n, jsxs as u } from "react/jsx-runtime";
2
- import { d as i, i as o, r as l, g as e, s as r } from "../../react.esm-S2Q_NbYC.mjs";
3
- import { u as h } from "../../index-CtAlHlVY.mjs";
4
- import "../../index-BZQHStQa.mjs";
2
+ import { d as i, i as o, r as l, g as e, s as r } from "../../react.esm-CUNRDkfQ.mjs";
3
+ import { u as h } from "../../index-C-uizG4-.mjs";
4
+ import "../../index-B03xsUba.mjs";
5
5
  import { CtaBlock as a } from "./CtaBlock.js";
6
6
  i("CtaBlock", () => {
7
7
  i("Basic Rendering", () => {
@@ -1,7 +1,7 @@
1
1
  import { jsx as s } from "react/jsx-runtime";
2
- import { v as w, d as r, i as n, r as c, s as m, g as o, w as h, f as d } from "../../react.esm-S2Q_NbYC.mjs";
3
- import { u as y } from "../../index-CtAlHlVY.mjs";
4
- import "../../index-BZQHStQa.mjs";
2
+ import { v as w, d as r, i as n, r as c, s as m, g as o, w as h, f as d } from "../../react.esm-CUNRDkfQ.mjs";
3
+ import { u as y } from "../../index-C-uizG4-.mjs";
4
+ import "../../index-B03xsUba.mjs";
5
5
  import { CustomSelect as l } from "./CustomSelect.js";
6
6
  Element.prototype.scrollTo = w.fn();
7
7
  r("CustomSelect", () => {
@@ -1,7 +1,7 @@
1
1
  import { jsx as o } from "react/jsx-runtime";
2
- import { v as b, d, b as S, i as a, r as s, g as n, s as r, w as h } from "../../react.esm-S2Q_NbYC.mjs";
3
- import { u as i } from "../../index-CtAlHlVY.mjs";
4
- import "../../index-BZQHStQa.mjs";
2
+ import { v as b, d, b as S, i as a, r as s, g as n, s as r, w as h } from "../../react.esm-CUNRDkfQ.mjs";
3
+ import { u as i } from "../../index-C-uizG4-.mjs";
4
+ import "../../index-B03xsUba.mjs";
5
5
  import { DateNavigation as l } from "./DateNavigation.js";
6
6
  import { S as v } from "../../useScheduleContext-D7FdzNxe.mjs";
7
7
  const y = b.fn(), w = () => [[
@@ -1,6 +1,6 @@
1
1
  import { jsx as n } from "react/jsx-runtime";
2
- import { d as p, i as l, r, g as s, s as a } from "../../react.esm-S2Q_NbYC.mjs";
3
- import "../../index-BZQHStQa.mjs";
2
+ import { d as p, i as l, r, g as s, s as a } from "../../react.esm-CUNRDkfQ.mjs";
3
+ import "../../index-B03xsUba.mjs";
4
4
  import { DeviceAndPlatformLists as c } from "./DeviceAndPlatformLists.js";
5
5
  const f = () => [
6
6
  {
@@ -1,7 +1,7 @@
1
1
  import { jsx as o } from "react/jsx-runtime";
2
- import { d, b, a as w, i as a, r, g as n, s, w as p, f as B, c as _, v as T } from "../../react.esm-S2Q_NbYC.mjs";
3
- import { u } from "../../index-CtAlHlVY.mjs";
4
- import "../../index-BZQHStQa.mjs";
2
+ import { d, b, a as w, i as a, r, g as n, s, w as p, f as B, c as _, v as T } from "../../react.esm-CUNRDkfQ.mjs";
3
+ import { u } from "../../index-C-uizG4-.mjs";
4
+ import "../../index-B03xsUba.mjs";
5
5
  import { DrawerNavigation as i } from "./DrawerNavigation.js";
6
6
  const h = () => [
7
7
  { href: "/home", label: "Home" },
@@ -1,6 +1,6 @@
1
1
  import { jsxs as d, jsx as e } from "react/jsx-runtime";
2
- import { d as s, b as u, a as C, i as r, r as o, g as t } from "../../react.esm-S2Q_NbYC.mjs";
3
- import "../../index-BZQHStQa.mjs";
2
+ import { d as s, b as u, a as C, i as r, r as o, g as t } from "../../react.esm-CUNRDkfQ.mjs";
3
+ import "../../index-B03xsUba.mjs";
4
4
  import { EqualSizeFlexRow as n } from "./EqualSizeFlexRow.js";
5
5
  s("EqualSizeFlexRow", () => {
6
6
  let h;
@@ -1,6 +1,6 @@
1
1
  import { jsxs as o, jsx as e } from "react/jsx-runtime";
2
- import { d as s, b as m, a as g, i as d, r, g as i } from "../../react.esm-S2Q_NbYC.mjs";
3
- import "../../index-BZQHStQa.mjs";
2
+ import { d as s, b as m, a as g, i as d, r, g as i } from "../../react.esm-CUNRDkfQ.mjs";
3
+ import "../../index-B03xsUba.mjs";
4
4
  import { EqualSizeGrid as n } from "./EqualSizeGrid.js";
5
5
  s("EqualSizeGrid", () => {
6
6
  let a;
@@ -1,6 +1,6 @@
1
1
  import { jsx as r, jsxs as d, Fragment as u } from "react/jsx-runtime";
2
- import { d as m, b as T, a as B, i as n, r as s, g as e, s as a, v as y } from "../../react.esm-S2Q_NbYC.mjs";
3
- import "../../index-BZQHStQa.mjs";
2
+ import { d as m, b as T, a as B, i as n, r as s, g as e, s as a, v as y } from "../../react.esm-CUNRDkfQ.mjs";
3
+ import "../../index-B03xsUba.mjs";
4
4
  import { ErrorHandler as o } from "./ErrorHandler.js";
5
5
  m("ErrorHandler", () => {
6
6
  let g;
@@ -1,7 +1,7 @@
1
1
  import { jsxs as f, jsx as s } from "react/jsx-runtime";
2
- import { v as u, d as m, b as y, a as T, i as o, r as n, g as i, s as l } from "../../react.esm-S2Q_NbYC.mjs";
3
- import { u as p } from "../../index-CtAlHlVY.mjs";
4
- import "../../index-BZQHStQa.mjs";
2
+ import { v as u, d as m, b as y, a as T, i as o, r as n, g as i, s as l } from "../../react.esm-CUNRDkfQ.mjs";
3
+ import { u as p } from "../../index-C-uizG4-.mjs";
4
+ import "../../index-B03xsUba.mjs";
5
5
  import { FeaturedList as r } from "./FeaturedList.js";
6
6
  u.mock("../ImageCard", () => ({
7
7
  default: ({ cta: d, content: a, image: e, fullCardClickable: t, displayCTA: c, handleClicks: g, relatedResourceId: h }) => /* @__PURE__ */ f(
@@ -1,6 +1,6 @@
1
1
  import { jsx as n, jsxs as p, Fragment as h } from "react/jsx-runtime";
2
- import { d as l, b as d, a as T, i, r, g as t, s } from "../../react.esm-S2Q_NbYC.mjs";
3
- import "../../index-BZQHStQa.mjs";
2
+ import { d as l, b as d, a as T, i, r, g as t, s } from "../../react.esm-CUNRDkfQ.mjs";
3
+ import "../../index-B03xsUba.mjs";
4
4
  import { Figure as a } from "./Figure.js";
5
5
  l("Figure", () => {
6
6
  let g;
@@ -1,6 +1,6 @@
1
1
  import { jsx as n } from "react/jsx-runtime";
2
- import { v as w, d as h, b as A, a as b, i as r, r as c, w as s, g as t, s as i } from "../../react.esm-S2Q_NbYC.mjs";
3
- import "../../index-BZQHStQa.mjs";
2
+ import { v as w, d as h, b as A, a as b, i as r, r as c, w as s, g as t, s as i } from "../../react.esm-CUNRDkfQ.mjs";
3
+ import "../../index-B03xsUba.mjs";
4
4
  import { FindUs as l } from "./FindUs.js";
5
5
  w.mock("../ChannelSearch", () => ({
6
6
  default: ({ network: d, baseApiUrl: a, allowStateSearch: o, allowZipcodeSearch: e, allowAutoScroll: u, autoScrollOffset: y, compactLayout: f, ad: p }) => /* @__PURE__ */ n(
@@ -1,6 +1,6 @@
1
1
  import { jsxs as h, jsx as n } from "react/jsx-runtime";
2
- import { v as u, d as c, b as g, a as y, i, r as a, g as e, s as l } from "../../react.esm-S2Q_NbYC.mjs";
3
- import "../../index-BZQHStQa.mjs";
2
+ import { v as u, d as c, b as g, a as y, i, r as a, g as e, s as l } from "../../react.esm-CUNRDkfQ.mjs";
3
+ import "../../index-B03xsUba.mjs";
4
4
  import { FooterNavigation as o } from "./FooterNavigation.js";
5
5
  u.mock("../NavList", () => ({
6
6
  default: ({ classname: d, title: t, links: s }) => /* @__PURE__ */ h(
@@ -1,6 +1,6 @@
1
1
  import { jsx as o, jsxs as h } from "react/jsx-runtime";
2
- import { v as d, d as m, b as y, a as g, i as s, r as l, g as t, s as i } from "../../react.esm-S2Q_NbYC.mjs";
3
- import "../../index-BZQHStQa.mjs";
2
+ import { v as d, d as m, b as y, a as g, i as s, r as l, g as t, s as i } from "../../react.esm-CUNRDkfQ.mjs";
3
+ import "../../index-B03xsUba.mjs";
4
4
  import { GenericList as n } from "./GenericList.js";
5
5
  d.mock("html-react-parser", () => ({
6
6
  default: (c) => {
@@ -1,6 +1,6 @@
1
1
  import { jsxs as y, jsx as i } from "react/jsx-runtime";
2
- import { v as I, d as E, b as _, a as k, i as m, r as l, w as s, g as t, s as p } from "../../react.esm-S2Q_NbYC.mjs";
3
- import "../../index-BZQHStQa.mjs";
2
+ import { v as I, d as E, b as _, a as k, i as m, r as l, w as s, g as t, s as p } from "../../react.esm-CUNRDkfQ.mjs";
3
+ import "../../index-B03xsUba.mjs";
4
4
  import { GetAirdateWrapper as n } from "./GetAirdateWrapper.js";
5
5
  const a = I.fn();
6
6
  I.mock("../../hooks/useGetUpcoming", () => ({
@@ -1,6 +1,6 @@
1
1
  import { jsx as a } from "react/jsx-runtime";
2
- import { v as u, d as i, b as c, a as g, i as l, r, s as o, g as e } from "../../react.esm-S2Q_NbYC.mjs";
3
- import { u as b } from "../../index-CtAlHlVY.mjs";
2
+ import { v as u, d as i, b as c, a as g, i as l, r, s as o, g as e } from "../../react.esm-CUNRDkfQ.mjs";
3
+ import { u as b } from "../../index-C-uizG4-.mjs";
4
4
  import { GradientButton as n } from "./GradientButton.js";
5
5
  u.mock("../../utils/helpers", () => ({
6
6
  classes: (t) => t.filter(Boolean).join(" ")
@@ -1,5 +1,5 @@
1
1
  import { jsxs as m, jsx as e, Fragment as a } from "react/jsx-runtime";
2
- import { v as c, d as r, b as g, a as y, i as s, r as o, s as i, g as t } from "../../react.esm-S2Q_NbYC.mjs";
2
+ import { v as c, d as r, b as g, a as y, i as s, r as o, s as i, g as t } from "../../react.esm-CUNRDkfQ.mjs";
3
3
  import { GridList as n } from "./GridList.js";
4
4
  c.mock("../../utils/helpers", () => ({
5
5
  classes: (l) => l.filter(Boolean).join(" ")
@@ -1,6 +1,6 @@
1
1
  import { jsx as a } from "react/jsx-runtime";
2
- import { v as y, d as u, b as k, a as C, i as l, r, g as t, s as c } from "../../react.esm-S2Q_NbYC.mjs";
3
- import { u as g } from "../../index-CtAlHlVY.mjs";
2
+ import { v as y, d as u, b as k, a as C, i as l, r, g as t, s as c } from "../../react.esm-CUNRDkfQ.mjs";
3
+ import { u as g } from "../../index-C-uizG4-.mjs";
4
4
  import f from "react";
5
5
  import { ImageCard as o } from "./ImageCard.js";
6
6
  y.mock("../../utils/helpers", () => ({
@@ -1,6 +1,6 @@
1
1
  import { jsx as n } from "react/jsx-runtime";
2
- import { v as y, d as p, b as T, a as B, i as l, r as a, g as t, s as c } from "../../react.esm-S2Q_NbYC.mjs";
3
- import { u as g } from "../../index-CtAlHlVY.mjs";
2
+ import { v as y, d as p, b as T, a as B, i as l, r as a, g as t, s as c } from "../../react.esm-CUNRDkfQ.mjs";
3
+ import { u as g } from "../../index-C-uizG4-.mjs";
4
4
  import v from "react";
5
5
  import i from "./ImageCardCore.js";
6
6
  y.mock("html-react-parser", () => ({
@@ -1,5 +1,5 @@
1
1
  import { jsx as a } from "react/jsx-runtime";
2
- import { v as m, d as u, b as d, a as h, i as s, r, g as o, s as i } from "../../react.esm-S2Q_NbYC.mjs";
2
+ import { v as m, d as u, b as d, a as h, i as s, r, g as o, s as i } from "../../react.esm-CUNRDkfQ.mjs";
3
3
  import { ImageReplacementAnchor as l } from "./ImageReplacementAnchor.js";
4
4
  m.mock("../../utils/helpers", () => ({
5
5
  classes: (n) => n.filter(Boolean).join(" ")
@@ -1,5 +1,5 @@
1
1
  import { jsx as a } from "react/jsx-runtime";
2
- import { v as u, d, b as r, i as s, r as o, s as n, g as e } from "../../react.esm-S2Q_NbYC.mjs";
2
+ import { v as u, d, b as r, i as s, r as o, s as n, g as e } from "../../react.esm-CUNRDkfQ.mjs";
3
3
  import { InlineNavigation as i } from "./InlineNavigation.js";
4
4
  u.mock("../NavList", () => ({
5
5
  default: ({ classname: c, links: t }) => /* @__PURE__ */ a("ul", { "data-classname": c, "data-links-count": t.length, "data-testid": "nav-list", children: t.map(
@@ -1,6 +1,6 @@
1
1
  import { jsx as l } from "react/jsx-runtime";
2
- import { v as c, d as r, b as m, i as s, r as n, s as t, g as a } from "../../react.esm-S2Q_NbYC.mjs";
3
- import { u } from "../../index-CtAlHlVY.mjs";
2
+ import { v as c, d as r, b as m, i as s, r as n, s as t, g as a } from "../../react.esm-CUNRDkfQ.mjs";
3
+ import { u } from "../../index-C-uizG4-.mjs";
4
4
  import { Input as i } from "./Input.js";
5
5
  c.mock("react-feather", () => ({
6
6
  CheckCircle: () => /* @__PURE__ */ l("span", { "data-testid": "check-circle", children: "✓" }),
@@ -1,5 +1,5 @@
1
1
  import { jsx as o } from "react/jsx-runtime";
2
- import { v as d, d as a, i, r as l, g as t, s as n } from "../../react.esm-S2Q_NbYC.mjs";
2
+ import { v as d, d as a, i, r as l, g as t, s as n } from "../../react.esm-CUNRDkfQ.mjs";
3
3
  import { InstructionsList as r } from "./InstructionsList.js";
4
4
  d.mock("html-react-parser", () => ({
5
5
  default: (e) => e
@@ -1,5 +1,5 @@
1
1
  import { jsx as o } from "react/jsx-runtime";
2
- import { v as c, d as s, i as n, r as a, s as i, g as t } from "../../react.esm-S2Q_NbYC.mjs";
2
+ import { v as c, d as s, i as n, r as a, s as i, g as t } from "../../react.esm-CUNRDkfQ.mjs";
3
3
  import { LogoListItem as l } from "./LogoListItem.js";
4
4
  c.mock("../../utils/helpers", () => ({
5
5
  classes: (e) => e.filter(Boolean).join(" ")
@@ -1,5 +1,5 @@
1
1
  import { jsx as o } from "react/jsx-runtime";
2
- import { v as c, d as m, i as n, r as s, g as t, s as r } from "../../react.esm-S2Q_NbYC.mjs";
2
+ import { v as c, d as m, i as n, r as s, g as t, s as r } from "../../react.esm-CUNRDkfQ.mjs";
3
3
  import { LogoNavigation as i } from "./LogoNavigation.js";
4
4
  c.mock("../ImageReplacementAnchor", () => ({
5
5
  default: ({ href: l, text: a, image: e, height: g, baselineAdjustment: h, target: d }) => /* @__PURE__ */ o(
@@ -1,6 +1,6 @@
1
1
  import { jsx as a } from "react/jsx-runtime";
2
- import { v as u, d as c, b as v, i as l, r as s, g as t, s as i } from "../../react.esm-S2Q_NbYC.mjs";
3
- import { u as g } from "../../index-CtAlHlVY.mjs";
2
+ import { v as u, d as c, b as v, i as l, r as s, g as t, s as i } from "../../react.esm-CUNRDkfQ.mjs";
3
+ import { u as g } from "../../index-C-uizG4-.mjs";
4
4
  import { NavList as o } from "./NavList.js";
5
5
  u.mock("../AnchorTag", () => ({
6
6
  default: ({
@@ -1,5 +1,5 @@
1
1
  import { jsx as n } from "react/jsx-runtime";
2
- import { v as a, d, b as u, a as y, i as s, r as l, g as t, w as m } from "../../react.esm-S2Q_NbYC.mjs";
2
+ import { v as a, d, b as u, a as y, i as s, r as l, g as t, w as m } from "../../react.esm-CUNRDkfQ.mjs";
3
3
  import { Overlay as o } from "./Overlay.js";
4
4
  a.mock("./Overlay.module.scss", () => ({
5
5
  default: {
@@ -1,5 +1,5 @@
1
1
  import { jsx as o, jsxs as p } from "react/jsx-runtime";
2
- import { v as d, d as r, b as g, i as l, r as s, g as t, s as i } from "../../react.esm-S2Q_NbYC.mjs";
2
+ import { v as d, d as r, b as g, i as l, r as s, g as t, s as i } from "../../react.esm-CUNRDkfQ.mjs";
3
3
  import { PageHero as n } from "./PageHero.js";
4
4
  import { l as h } from "../../logger-C0N7U0YY.mjs";
5
5
  d.mock("../../settings", () => {
@@ -1,5 +1,5 @@
1
1
  import { jsx as a } from "react/jsx-runtime";
2
- import { v as m, d as c, b as p, i as s, r as n, g as r, s as d } from "../../react.esm-S2Q_NbYC.mjs";
2
+ import { v as m, d as c, b as p, i as s, r as n, g as r, s as d } from "../../react.esm-CUNRDkfQ.mjs";
3
3
  import { ProgramAirdate as l } from "./ProgramAirdate.js";
4
4
  m.mock("html-react-parser", () => ({
5
5
  default: (t) => t
@@ -1,6 +1,6 @@
1
1
  import { jsx as e, jsxs as h, Fragment as g } from "react/jsx-runtime";
2
- import { v as m, d as s, a as w, i as n, r as d, g as o, s as i } from "../../react.esm-S2Q_NbYC.mjs";
3
- import "../../index-BZQHStQa.mjs";
2
+ import { v as m, d as s, a as w, i as n, r as d, g as o, s as i } from "../../react.esm-CUNRDkfQ.mjs";
3
+ import "../../index-B03xsUba.mjs";
4
4
  import { PromotionsRowBlock as r } from "./PromotionsRowBlock.js";
5
5
  m.mock("../EqualSizeFlexRow", () => ({
6
6
  default: ({ children: t, gap: l }) => /* @__PURE__ */ e("div", { "data-gap": l, "data-testid": "equal-size-flex-row", children: t })
@@ -1,6 +1,6 @@
1
1
  import { jsx as a, jsxs as B } from "react/jsx-runtime";
2
- import { v as h, d as m, b as I, a as v, i as r, r as l, g as n, s as c, w as u } from "../../react.esm-S2Q_NbYC.mjs";
3
- import "../../index-BZQHStQa.mjs";
2
+ import { v as h, d as m, b as I, a as v, i as r, r as l, g as n, s as c, w as u } from "../../react.esm-CUNRDkfQ.mjs";
3
+ import "../../index-B03xsUba.mjs";
4
4
  import { PromotionsRowModule as s } from "./PromotionsRowModule.js";
5
5
  h.mock("../PromotionsRowBlock", () => ({
6
6
  default: ({ children: o, gap: e }) => /* @__PURE__ */ a("div", { "data-gap": e, "data-testid": "promotions-row-block", children: o })
@@ -1,5 +1,5 @@
1
1
  import { jsxs as h, jsx as e } from "react/jsx-runtime";
2
- import { v as d, d as c, b as m, i as s, r as o, g as n, s as a } from "../../react.esm-S2Q_NbYC.mjs";
2
+ import { v as d, d as c, b as m, i as s, r as o, g as n, s as a } from "../../react.esm-CUNRDkfQ.mjs";
3
3
  import { RescanInstructions as i } from "./RescanInstructions.js";
4
4
  d.mock("../InstructionsList", () => ({
5
5
  default: ({ headerHtml: t, instructions: r }) => /* @__PURE__ */ h(
@@ -1,6 +1,6 @@
1
1
  import { jsx as s } from "react/jsx-runtime";
2
- import { d as c, b as h, i as a, r, g as o, s as m, v as g } from "../../react.esm-S2Q_NbYC.mjs";
3
- import { u as d } from "../../index-CtAlHlVY.mjs";
2
+ import { d as c, b as h, i as a, r, g as o, s as m, v as g } from "../../react.esm-CUNRDkfQ.mjs";
3
+ import { u as d } from "../../index-C-uizG4-.mjs";
4
4
  import { ResponsiveImage as l } from "./ResponsiveImage.js";
5
5
  c("ResponsiveImage", () => {
6
6
  h(() => {
@@ -1,5 +1,5 @@
1
1
  import { jsx as o } from "react/jsx-runtime";
2
- import { v as y, d, i as a, r, g as l, s as u } from "../../react.esm-S2Q_NbYC.mjs";
2
+ import { v as y, d, i as a, r, g as l, s as u } from "../../react.esm-CUNRDkfQ.mjs";
3
3
  import { ResultsTable as n } from "./ResultsTable.js";
4
4
  y.mock("../ResultsTableHeader", () => ({
5
5
  default: ({ columns: t }) => /* @__PURE__ */ o("div", { "data-columns": JSON.stringify(t), "data-testid": "results-table-header", children: "ResultsTableHeader Mock" })
@@ -1,5 +1,5 @@
1
1
  import { jsx as n } from "react/jsx-runtime";
2
- import { d as m, i as u, r, g as l, s as c } from "../../react.esm-S2Q_NbYC.mjs";
2
+ import { d as m, i as u, r, g as l, s as c } from "../../react.esm-CUNRDkfQ.mjs";
3
3
  import { ResultsTableBody as a } from "./ResultsTableBody.js";
4
4
  m("ResultsTableBody", () => {
5
5
  m("Basic Rendering", () => {
@@ -1,5 +1,5 @@
1
1
  import { jsx as o } from "react/jsx-runtime";
2
- import { d as m, i as n, r, g as s, s as c } from "../../react.esm-S2Q_NbYC.mjs";
2
+ import { d as m, i as n, r, g as s, s as c } from "../../react.esm-CUNRDkfQ.mjs";
3
3
  import { ResultsTableHeader as a } from "./ResultsTableHeader.js";
4
4
  m("ResultsTableHeader", () => {
5
5
  m("Basic Rendering", () => {
@@ -1,6 +1,6 @@
1
1
  import { jsx as c } from "react/jsx-runtime";
2
- import { v as y, d, b as m, i as s, r as i, g as t } from "../../react.esm-S2Q_NbYC.mjs";
3
- import "../../index-BZQHStQa.mjs";
2
+ import { v as y, d, b as m, i as s, r as i, g as t } from "../../react.esm-CUNRDkfQ.mjs";
3
+ import "../../index-B03xsUba.mjs";
4
4
  import { SectionedContent as r } from "./SectionedContent.js";
5
5
  const h = y.fn((o) => o.join(" "));
6
6
  y.mock("../../utils/helpers", () => ({
@@ -1,6 +1,6 @@
1
1
  import { jsx as l } from "react/jsx-runtime";
2
- import { v as p, d, b, i as a, r as n, g as o, s as r, f as u } from "../../react.esm-S2Q_NbYC.mjs";
3
- import "../../index-BZQHStQa.mjs";
2
+ import { v as p, d, b, i as a, r as n, g as o, s as r, f as u } from "../../react.esm-CUNRDkfQ.mjs";
3
+ import "../../index-B03xsUba.mjs";
4
4
  import { Select as s } from "./Select.js";
5
5
  p.mock("react-feather", () => ({
6
6
  CheckCircle: () => /* @__PURE__ */ l("div", { "data-testid": "check-circle", children: "CheckCircle" }),
@@ -1,6 +1,6 @@
1
1
  import { jsx as n } from "react/jsx-runtime";
2
- import { v as m, d as g, b as S, i as a, r as c, g as e, s as h } from "../../react.esm-S2Q_NbYC.mjs";
3
- import "../../index-BZQHStQa.mjs";
2
+ import { v as m, d as g, b as S, i as a, r as c, g as e, s as h } from "../../react.esm-CUNRDkfQ.mjs";
3
+ import "../../index-B03xsUba.mjs";
4
4
  import { ShowAboutContent as r } from "./ShowAboutContent.js";
5
5
  m.mock("../SectionedContent", () => ({
6
6
  default: ({ sections: d }) => /* @__PURE__ */ n("div", { "data-sections": JSON.stringify(d), "data-testid": "sectioned-content", children: "SectionedContent Mock" })
@@ -1,6 +1,6 @@
1
1
  import { jsx as s } from "react/jsx-runtime";
2
- import { v as g, d as m, b as T, i as n, r, g as t, s as i } from "../../react.esm-S2Q_NbYC.mjs";
3
- import "../../index-BZQHStQa.mjs";
2
+ import { v as g, d as m, b as T, i as n, r, g as t, s as i } from "../../react.esm-CUNRDkfQ.mjs";
3
+ import "../../index-B03xsUba.mjs";
4
4
  import { ShowAboutLayout as a } from "./ShowAboutLayout.js";
5
5
  g.mock("../Concat", () => ({
6
6
  default: ({ list: o }) => /* @__PURE__ */ s("div", { "data-list-length": o.length, "data-testid": "concat", children: "Concat Mock" })
@@ -1,5 +1,5 @@
1
1
  import { jsx as n } from "react/jsx-runtime";
2
- import { v as m, d as c, b as C, i as o, r as s, g as e, s as h } from "../../react.esm-S2Q_NbYC.mjs";
2
+ import { v as m, d as c, b as C, i as o, r as s, g as e, s as h } from "../../react.esm-CUNRDkfQ.mjs";
3
3
  import { StringList as i } from "./StringList.js";
4
4
  const p = m.fn((t) => t.filter(Boolean).join(" "));
5
5
  m.mock("./../../utils/helpers", () => ({
@@ -1,5 +1,5 @@
1
1
  import { jsx as e, jsxs as m, Fragment as p } from "react/jsx-runtime";
2
- import { v as h, d as i, b as u, i as a, r as s, g as n } from "../../react.esm-S2Q_NbYC.mjs";
2
+ import { v as h, d as i, b as u, i as a, r as s, g as n } from "../../react.esm-CUNRDkfQ.mjs";
3
3
  import { TabContent as c } from "./TabContent.js";
4
4
  const l = h.fn((t) => t);
5
5
  h.mock("html-react-parser", () => ({
@@ -1,5 +1,5 @@
1
1
  import { jsxs as f, jsx as a } from "react/jsx-runtime";
2
- import { v as C, d as h, b as y, i as l, r, g as o, s as i, f as u } from "../../react.esm-S2Q_NbYC.mjs";
2
+ import { v as C, d as h, b as y, i as l, r, g as o, s as i, f as u } from "../../react.esm-CUNRDkfQ.mjs";
3
3
  import { TabNavigation as b } from "./TabNavigation.js";
4
4
  C.mock("../GradientButton", () => ({
5
5
  default: ({ label: t, onClick: s, disabled: c }) => /* @__PURE__ */ f(
@@ -1,5 +1,5 @@
1
1
  import { jsxs as T, jsx as o } from "react/jsx-runtime";
2
- import { v, d, b as m, i, r as s, g as n, w as r } from "../../react.esm-S2Q_NbYC.mjs";
2
+ import { v, d, b as m, i, r as s, g as n, w as r } from "../../react.esm-CUNRDkfQ.mjs";
3
3
  import { act as b } from "react";
4
4
  import { TabbedContent as c } from "./TabbedContent.js";
5
5
  import { TabNavigation as h } from "../TabNavigation/TabNavigation.js";
@@ -1,6 +1,6 @@
1
1
  import { jsx as a } from "react/jsx-runtime";
2
- import { v as i, d as h, b as f, i as l, r, g as s, s as C } from "../../react.esm-S2Q_NbYC.mjs";
3
- import "../../index-BZQHStQa.mjs";
2
+ import { v as i, d as h, b as f, i as l, r, g as s, s as C } from "../../react.esm-CUNRDkfQ.mjs";
3
+ import "../../index-B03xsUba.mjs";
4
4
  import { UpcomingList as c } from "./UpcomingList.js";
5
5
  const p = i.fn(), m = i.fn(), u = i.fn();
6
6
  i.mock("../../utils/helpers", () => ({
@@ -0,0 +1,3 @@
1
+ import { e } from "./matchers-35e4d3bd-BckKR3wh.mjs";
2
+ import "./react.esm-CUNRDkfQ.mjs";
3
+ expect.extend(e);
@@ -1,4 +1,4 @@
1
- import { h as H } from "./react.esm-S2Q_NbYC.mjs";
1
+ import { j as H } from "./react.esm-CUNRDkfQ.mjs";
2
2
  function a(e, t, n) {
3
3
  return e.namespaceURI && e.namespaceURI !== "http://www.w3.org/1999/xhtml" || (t = Array.isArray(t) ? t : [
4
4
  t
@@ -2,7 +2,7 @@ var It = Object.defineProperty;
2
2
  var Ht = (e, t, n) => t in e ? It(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
3
  var P = (e, t, n) => Ht(e, typeof t != "symbol" ? t + "" : t, n);
4
4
  import { g as pe, c as ve } from "./_commonjsHelpers-DaMA6jEr.mjs";
5
- import { l as he } from "./react.esm-S2Q_NbYC.mjs";
5
+ import { l as he } from "./react.esm-CUNRDkfQ.mjs";
6
6
  var J, ye;
7
7
  function Tt() {
8
8
  return ye || (ye = 1, J = (e) => {
@@ -49618,11 +49618,12 @@ export {
49618
49618
  sX as b,
49619
49619
  hy as c,
49620
49620
  oX as d,
49621
- Dz as e,
49621
+ wB as e,
49622
49622
  la as f,
49623
49623
  a7 as g,
49624
- vn as h,
49624
+ Dz as h,
49625
49625
  uX as i,
49626
+ vn as j,
49626
49627
  Li as l,
49627
49628
  tX as r,
49628
49629
  fX as s,
@@ -1,5 +1,5 @@
1
- import { g as t, v as e, a as s, e as o } from "../react.esm-S2Q_NbYC.mjs";
2
- import { t as n, a as r, b as i, c as l, d as c, f as v, g as d, h as m, i as p, j as H, k as f, l as B, m as u, n as b, o as E, p as h, q as y, r as g, s as A, u as D, v as C, w as M, x as P, y as L, z as O, A as T, B as V, C as j, D as k, E as w, F as x, G as I, H as S } from "../matchers-35e4d3bd-ExgmEmtr.mjs";
1
+ import { g as t, v as e, a as s, h as o } from "../react.esm-CUNRDkfQ.mjs";
2
+ import { t as n, a as r, b as i, c as l, d as c, f as v, g as d, h as m, i as p, j as H, k as f, l as B, m as u, n as b, o as E, p as h, q as y, r as g, s as A, u as D, v as C, w as M, x as P, y as L, z as O, A as T, B as V, C as j, D as k, E as w, F as x, G as I, H as S } from "../matchers-35e4d3bd-BckKR3wh.mjs";
3
3
  const _ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4
4
  __proto__: null,
5
5
  toAppearAfter: n,
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "2.0.5",
2
+ "version": "2.0.6",
3
3
  "name": "@scrippsproduct/networks-ui-library",
4
4
  "description": "React Component Library for use in Scripps Networks external applications",
5
5
  "author": {
@@ -1,3 +0,0 @@
1
- import { e } from "./matchers-35e4d3bd-ExgmEmtr.mjs";
2
- import "./react.esm-S2Q_NbYC.mjs";
3
- expect.extend(e);