@scrippsproduct/networks-ui-library 2.0.9 → 2.0.10

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,6 +1,6 @@
1
- import { jsxs as n, Fragment as R, jsx as i } from "react/jsx-runtime";
1
+ import { jsxs as n, Fragment as R, jsx as a } from "react/jsx-runtime";
2
2
  import { p as M } from "../../index-DrfkaNHX.mjs";
3
- import { classes as a } from "../../utils/helpers.js";
3
+ import { classes as i } from "../../utils/helpers.js";
4
4
  import { AnchorTag as g } from "../AnchorTag/AnchorTag.js";
5
5
  import { ButtonAnchor as _ } from "../ButtonAnchor/ButtonAnchor.js";
6
6
  import { ResponsiveImage as V } from "../ResponsiveImage/ResponsiveImage.js";
@@ -27,7 +27,7 @@ const q = ({
27
27
  fullCardClickable: v = !1,
28
28
  styles: o = {}
29
29
  }) => {
30
- var N;
30
+ var x;
31
31
  const c = /* @__PURE__ */ new Map([
32
32
  ["play-video", {
33
33
  label: "View Video",
@@ -49,7 +49,7 @@ const q = ({
49
49
  label: "See More",
50
50
  component: _
51
51
  }]
52
- ]), b = ["play-video", "show-modal", "info-panel"], u = (N = c.get(e.type)) == null ? void 0 : N.component, s = (r) => {
52
+ ]), b = ["play-video", "show-modal", "info-panel"], u = (x = c.get(e.type)) == null ? void 0 : x.component, s = (r) => {
53
53
  r.stopPropagation(), C({
54
54
  type: e.type,
55
55
  resourceId: e.relatedResourceId,
@@ -57,19 +57,19 @@ const q = ({
57
57
  target: r.target,
58
58
  currentTarget: r.currentTarget
59
59
  });
60
- }, x = (r) => {
60
+ }, w = (r) => {
61
61
  var A;
62
62
  if (!u) return null;
63
- const k = u === g, w = r.type === "internal-link" || r.type === "external-link";
64
- return /* @__PURE__ */ i(
63
+ const N = u === g, k = r.type === "internal-link" || r.type === "external-link";
64
+ return /* @__PURE__ */ a(
65
65
  u,
66
66
  {
67
- classname: a([o["image-card__cta"], "image-card__cta"]),
67
+ classname: i([o["image-card__cta"], "image-card__cta"]),
68
68
  "data-resource-id": r.relatedResourceId,
69
- ...k && { href: r.href },
69
+ ...N && { href: r.href },
70
70
  label: r.label ? r.label : ((A = c.get(r.type)) == null ? void 0 : A.label) ?? "",
71
- ...k && w && r.type && { type: r.type },
72
- onClick: !w && r.type ? s : void 0
71
+ ...N && k && r.type && { type: r.type },
72
+ onClick: !k && r.type ? s : void 0
73
73
  }
74
74
  );
75
75
  };
@@ -77,12 +77,12 @@ const q = ({
77
77
  /* @__PURE__ */ n(
78
78
  "div",
79
79
  {
80
- className: a([
80
+ className: i([
81
81
  o["image-card__img-wrapper"],
82
82
  "image-card__img-wrapper"
83
83
  ]),
84
84
  children: [
85
- m.url !== "" && /* @__PURE__ */ i(
85
+ m.url !== "" && /* @__PURE__ */ a(
86
86
  "img",
87
87
  {
88
88
  alt: m.altText,
@@ -94,7 +94,7 @@ const q = ({
94
94
  onClick: b.includes(e.type) && !v ? s : void 0
95
95
  }
96
96
  ),
97
- /* @__PURE__ */ i(
97
+ /* @__PURE__ */ a(
98
98
  V,
99
99
  {
100
100
  altText: t.altText,
@@ -107,10 +107,10 @@ const q = ({
107
107
  sources: t.sources
108
108
  }
109
109
  ),
110
- d !== "" && /* @__PURE__ */ i(
110
+ d !== "" && /* @__PURE__ */ a(
111
111
  "div",
112
112
  {
113
- className: a([
113
+ className: i([
114
114
  o["image-card__overlay-content"],
115
115
  "image-card__overlay-content"
116
116
  ]),
@@ -120,29 +120,29 @@ const q = ({
120
120
  (e == null ? void 0 : e.type) === "play-video" && /* @__PURE__ */ n(
121
121
  "button",
122
122
  {
123
- className: a([
123
+ className: i([
124
124
  o["image-card__play-icon"],
125
125
  "image-card__play-icon"
126
126
  ]),
127
127
  type: "button",
128
128
  onClick: s,
129
129
  children: [
130
- /* @__PURE__ */ i("span", { className: "sr-only", children: "PLAY BUTTON" }),
131
- /* @__PURE__ */ i("div", { className: `${o["play-icon__triangle"]}` })
130
+ /* @__PURE__ */ a("span", { className: "sr-only", children: "PLAY BUTTON" }),
131
+ /* @__PURE__ */ a("div", { className: `${o["play-icon__triangle"]}` })
132
132
  ]
133
133
  }
134
134
  )
135
135
  ]
136
136
  }
137
137
  ),
138
- p !== "" && /* @__PURE__ */ n("div", { className: a([o["image-card__content"], "image-card__content"]), children: [
139
- T !== "" && /* @__PURE__ */ i("h2", { className: "h4", children: T }),
138
+ p !== "" && /* @__PURE__ */ n("div", { className: i([o["image-card__content"], "image-card__content"]), children: [
139
+ T !== "" && /* @__PURE__ */ a("h2", { className: "h4", children: T }),
140
140
  /* @__PURE__ */ n(R, { children: [
141
141
  typeof p == "string" ? M(p) : p,
142
- f && (e == null ? void 0 : e.type) && e.position === "inline" && x(e)
142
+ f && (e == null ? void 0 : e.type) && e.position === "inline" && w(e)
143
143
  ] })
144
144
  ] }),
145
- f && (e == null ? void 0 : e.type) && (e == null ? void 0 : e.position) === "end" && /* @__PURE__ */ i("div", { className: o["image-card__cta-wrapper"], children: x(e) })
145
+ f && (e == null ? void 0 : e.type) && (e == null ? void 0 : e.position) === "end" && /* @__PURE__ */ a("div", { className: i([o["image-card__cta-wrapper"], "image-card__cta-wrapper"]), children: w(e) })
146
146
  ] });
147
147
  };
148
148
  export {
@@ -0,0 +1,103 @@
1
+ import { jsxs as p, jsx as t } from "react/jsx-runtime";
2
+ import { p as M } from "../../index-DrfkaNHX.mjs";
3
+ import { classes as a } from "../../utils/helpers.js";
4
+ import { AnchorTag as d } from "../AnchorTag/AnchorTag.js";
5
+ import { ButtonAnchor as _ } from "../ButtonAnchor/ButtonAnchor.js";
6
+ import { ResponsiveImage as I } from "../ResponsiveImage/ResponsiveImage.js";
7
+ import '../../assets/LogoCard.css';const r = {
8
+ "logo-card__logo-box": "_logo-card__logo-box_6at8h_11",
9
+ "logo-card__logo": "_logo-card__logo_6at8h_11",
10
+ "logo-card__body": "_logo-card__body_6at8h_34",
11
+ "logo-card__content": "_logo-card__content_6at8h_42",
12
+ "logo-card__cta-wrapper": "_logo-card__cta-wrapper_6at8h_52",
13
+ "logo-card__cta": "_logo-card__cta_6at8h_52",
14
+ "logo-card--inline": "_logo-card--inline_6at8h_61"
15
+ }, u = (e) => typeof e == "number" ? `${e}px` : e, m = /* @__PURE__ */ new Map([
16
+ ["play-video", { label: "View Video", component: _ }],
17
+ ["internal-link", { label: "View More", component: d }],
18
+ ["external-link", { label: "Learn More", component: d }],
19
+ ["info-panel", { label: "View More", component: _ }],
20
+ ["show-modal", { label: "See More", component: _ }]
21
+ ]), S = ({
22
+ logo: e = { url: "", altText: "", aspectRatio: 1, sources: [] },
23
+ logoBoxWidth: h = "100%",
24
+ logoBoxHeight: y = "auto",
25
+ content: n = "",
26
+ cta: o = {
27
+ label: "",
28
+ href: "",
29
+ type: "",
30
+ relatedResourceId: "",
31
+ relatedResourceType: ""
32
+ },
33
+ displayCTA: b = !0,
34
+ displayInline: f = !1,
35
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
36
+ handleClicks: x = (c) => {
37
+ },
38
+ lazyLoad: T = !0,
39
+ decoding: w = "async",
40
+ classname: k = "",
41
+ ref: C
42
+ }) => {
43
+ var s;
44
+ const c = (s = m.get(o.type)) == null ? void 0 : s.component, R = (l) => {
45
+ l.stopPropagation(), x({
46
+ type: o.type,
47
+ resourceId: o.relatedResourceId,
48
+ resourceType: o.relatedResourceType,
49
+ target: l.target,
50
+ currentTarget: l.currentTarget
51
+ });
52
+ }, v = () => {
53
+ var g;
54
+ if (!c) return null;
55
+ const l = c === d, i = o.type === "internal-link" || o.type === "external-link";
56
+ return /* @__PURE__ */ t(
57
+ c,
58
+ {
59
+ classname: a([r["logo-card__cta"], "logo-card__cta"]),
60
+ "data-resource-id": o.relatedResourceId,
61
+ ...l && { href: o.href },
62
+ label: o.label ? o.label : ((g = m.get(o.type)) == null ? void 0 : g.label) ?? "",
63
+ ...l && i && { type: o.type },
64
+ onClick: i ? void 0 : R
65
+ }
66
+ );
67
+ }, A = {
68
+ "--logo-box-width": u(h),
69
+ "--logo-box-height": u(y)
70
+ };
71
+ return /* @__PURE__ */ p(
72
+ "logo-card",
73
+ {
74
+ class: a([
75
+ f ? r["logo-card--inline"] : null,
76
+ k
77
+ ]),
78
+ ref: C,
79
+ style: A,
80
+ children: [
81
+ e.url !== "" && /* @__PURE__ */ t("div", { className: a([r["logo-card__logo-box"], "logo-card__logo-box"]), children: /* @__PURE__ */ t(
82
+ I,
83
+ {
84
+ altText: e.altText,
85
+ classname: r["logo-card__logo"],
86
+ decoding: w,
87
+ fullSizeUrl: e.url,
88
+ loading: T ? "lazy" : void 0,
89
+ sources: e.sources
90
+ }
91
+ ) }),
92
+ /* @__PURE__ */ p("div", { className: a([r["logo-card__body"], "logo-card__body"]), children: [
93
+ n !== "" && /* @__PURE__ */ t("div", { className: a([r["logo-card__content"], "logo-card__content"]), children: typeof n == "string" ? M(n) : n }),
94
+ b && o.type && /* @__PURE__ */ t("div", { className: a([r["logo-card__cta-wrapper"], "logo-card__cta-wrapper"]), children: v() })
95
+ ] })
96
+ ]
97
+ }
98
+ );
99
+ };
100
+ export {
101
+ S as LogoCard,
102
+ S as default
103
+ };
@@ -0,0 +1,80 @@
1
+ import { jsx as o } from "react/jsx-runtime";
2
+ import { v as i, d as s, i as t, r as l, s as r, g as e } from "../../react.esm-CX7MGXBg.mjs";
3
+ import { u as g } from "../../index-DnEp_Vsr.mjs";
4
+ import m from "react";
5
+ import { LogoCard as n } from "./LogoCard.js";
6
+ i.mock("../../utils/helpers", () => ({
7
+ classes: (c) => c.filter(Boolean).join(" ")
8
+ }));
9
+ i.mock("./LogoCard.module.scss", () => ({
10
+ default: {
11
+ "logo-card--inline": "logo-card--inline-module",
12
+ "logo-card__logo-box": "logo-card__logo-box-module",
13
+ "logo-card__content": "logo-card__content-module",
14
+ "logo-card__cta-wrapper": "logo-card__cta-wrapper-module"
15
+ }
16
+ }));
17
+ s("LogoCard", () => {
18
+ const c = {
19
+ url: "https://example.com/logo.png",
20
+ altText: "Test logo",
21
+ aspectRatio: 2
22
+ }, d = {
23
+ label: "View Schedule",
24
+ href: "/schedule",
25
+ type: "internal-link"
26
+ };
27
+ s("Logo", () => {
28
+ t("renders the logo inside the logo box", () => {
29
+ l(/* @__PURE__ */ o(n, { logo: c }));
30
+ const a = r.getByAltText("Test logo");
31
+ e(a).toHaveAttribute("src", c.url), e(a.closest(".logo-card__logo-box-module")).toBeInTheDocument();
32
+ }), t("does not render the logo box when there is no logo url", () => {
33
+ l(/* @__PURE__ */ o(n, { content: "Hello" })), e(document.querySelector(".logo-card__logo-box-module")).not.toBeInTheDocument();
34
+ }), t("sets the box size css variables, treating numbers as px", () => {
35
+ l(/* @__PURE__ */ o(n, { logo: c, logoBoxHeight: "8rem", logoBoxWidth: 150 }));
36
+ const a = document.querySelector("logo-card");
37
+ e(a.style.getPropertyValue("--logo-box-width")).toBe("150px"), e(a.style.getPropertyValue("--logo-box-height")).toBe("8rem");
38
+ });
39
+ }), s("Content", () => {
40
+ t("renders html string content", () => {
41
+ l(/* @__PURE__ */ o(n, { content: "<p>Some <strong>copy</strong></p>" })), e(r.getByText("copy").tagName).toBe("STRONG");
42
+ }), t("renders JSX content", () => {
43
+ l(/* @__PURE__ */ o(n, { content: /* @__PURE__ */ o("span", { "data-testid": "jsx-content", children: "JSX" }) })), e(r.getByTestId("jsx-content")).toBeInTheDocument();
44
+ }), t("does not render the content container when content is empty", () => {
45
+ l(/* @__PURE__ */ o(n, { logo: c })), e(document.querySelector(".logo-card__content-module")).not.toBeInTheDocument();
46
+ });
47
+ }), s("CTA", () => {
48
+ t("renders a link CTA with its href", () => {
49
+ l(/* @__PURE__ */ o(n, { cta: d })), e(r.getByRole("link", { name: "View Schedule" })).toHaveAttribute("href", "/schedule");
50
+ }), t("falls back to the default label for the CTA type", () => {
51
+ l(/* @__PURE__ */ o(n, { cta: { ...d, label: "" } })), e(r.getByRole("link", { name: "View More" })).toBeInTheDocument();
52
+ }), t("renders no CTA wrapper without a cta type", () => {
53
+ l(/* @__PURE__ */ o(n, { content: "Hello" })), e(document.querySelector(".logo-card__cta-wrapper-module")).not.toBeInTheDocument();
54
+ }), t("renders no CTA when displayCTA is false", () => {
55
+ l(/* @__PURE__ */ o(n, { cta: d, displayCTA: !1 })), e(r.queryByRole("link")).not.toBeInTheDocument();
56
+ }), t("calls handleClicks for button CTA types", async () => {
57
+ const a = i.fn();
58
+ l(/* @__PURE__ */ o(n, { cta: { label: "Watch", href: "", type: "show-modal", relatedResourceId: "2", relatedResourceType: "video" }, handleClicks: a })), await g.click(r.getByRole("button", { name: "Watch" })), e(a).toHaveBeenCalledWith(e.objectContaining({
59
+ type: "show-modal",
60
+ resourceId: "2",
61
+ resourceType: "video"
62
+ }));
63
+ }), t("does not call handleClicks for link CTA types", async () => {
64
+ const a = i.fn();
65
+ l(/* @__PURE__ */ o(n, { cta: d, handleClicks: a })), await g.click(r.getByRole("link")), e(a).not.toHaveBeenCalled();
66
+ });
67
+ }), s("Layout", () => {
68
+ t("applies the inline class when displayInline is true", () => {
69
+ l(/* @__PURE__ */ o(n, { displayInline: !0 })), e(document.querySelector("logo-card")).toHaveClass("logo-card--inline-module");
70
+ }), t("does not apply the inline class by default", () => {
71
+ l(/* @__PURE__ */ o(n, {})), e(document.querySelector("logo-card")).not.toHaveClass("logo-card--inline-module");
72
+ }), t("applies a custom classname", () => {
73
+ l(/* @__PURE__ */ o(n, { classname: "custom" })), e(document.querySelector("logo-card")).toHaveClass("custom");
74
+ }), t("forwards the ref to the root element", () => {
75
+ var u;
76
+ const a = m.createRef();
77
+ l(/* @__PURE__ */ o(n, { ref: a })), e((u = a.current) == null ? void 0 : u.tagName.toLowerCase()).toBe("logo-card");
78
+ });
79
+ });
80
+ });
@@ -0,0 +1,5 @@
1
+ import { LogoCard as r, LogoCard as d } from "./LogoCard.js";
2
+ export {
3
+ r as LogoCard,
4
+ d as default
5
+ };
package/dist/index.js CHANGED
@@ -12,151 +12,155 @@ import { CarouselSlide as I } from "./components/CarouselSlide/CarouselSlide.js"
12
12
  import { Empty as T } from "./components/CarouselSlide/slide-layouts/Empty/Empty.js";
13
13
  import { FigureSlide as v } from "./components/CarouselSlide/slide-layouts/Figure/Figure.js";
14
14
  import { ImageCardSlide as R } from "./components/CarouselSlide/slide-layouts/ImageCard/ImageCard.js";
15
- import { ShowSlide as F } from "./components/CarouselSlide/slide-layouts/Show/ShowSlide.js";
16
- import { TextSlide as N } from "./components/CarouselSlide/slide-layouts/Text/TextSlide.js";
17
- import { VideoSlide as k } from "./components/CarouselSlide/slide-layouts/Video/VideoSlide.js";
18
- import { C as E } from "./ChoicesItem-CT9fXB0I.mjs";
19
- import { ChoicesList as M } from "./components/ChoicesList/ChoicesList.js";
20
- import { CreateChoiceList as q } from "./components/CreateChoiceList/CreateChoiceList.js";
21
- import { CustomDataList as U } from "./components/CustomDataList/CustomDataList.js";
22
- import { CustomSelect as O } from "./components/CustomSelect/CustomSelect.js";
23
- import { Input as J } from "./components/Input/Input.js";
24
- import { Select as Q } from "./components/Select/Select.js";
25
- import { TextArea as Y } from "./components/TextArea/TextArea.js";
26
- import { DatePicker as _ } from "./components/DatePicker/DatePicker.js";
27
- import { BasicGridModule as oo } from "./components/BasicGridModule/BasicGridModule.js";
28
- import { ChannelSearch as eo } from "./components/ChannelSearch/ChannelSearch.js";
29
- import { CastInfoLayout as mo } from "./components/CastInfoLayout/CastInfoLayout.js";
30
- import { FindUs as fo } from "./components/FindUs/FindUs.js";
31
- import { ProgramAirdate as ao } from "./components/ProgramAirdate/ProgramAirdate.js";
32
- import { PromotionsRowModule as no } from "./components/PromotionsRowModule/PromotionsRowModule.js";
33
- import { RescanInstructions as so } from "./components/RescanInstructions/RescanInstructions.js";
34
- import { ScheduleLayout as co } from "./components/ScheduleLayout/ScheduleLayout.js";
35
- import { SectionedContent as Co } from "./components/SectionedContent/SectionedContent.js";
36
- import { ShowAboutLayout as So } from "./components/ShowAboutLayout/ShowAboutLayout.js";
37
- import { TabbedContent as Bo } from "./components/TabbedContent/TabbedContent.js";
38
- import { AdjustableTwoColumnGrid as Ao } from "./components/AdjustableTwoColumnGrid/AdjustableTwoColumnGrid.js";
39
- import { EqualSizeFlexRow as bo } from "./components/EqualSizeFlexRow/EqualSizeFlexRow.js";
40
- import { EqualSizeGrid as yo } from "./components/EqualSizeGrid/EqualSizeGrid.js";
41
- import { InfoPanel as wo } from "./components/InfoPanel/InfoPanel.js";
42
- import { ModalContainer as Go } from "./components/ModalContainer/ModalContainer.js";
43
- import { PageHero as Po } from "./components/PageHero/PageHero.js";
44
- import { IONShowHero as Do } from "./components/PageHero/page-hero-layouts/IONShow/IONShowHero.js";
45
- import { ContentHero as Ho } from "./components/PageHero/page-hero-layouts/ContentHero/ContentHero.js";
46
- import { TabContent as Vo } from "./components/TabContent/TabContent.js";
47
- import { FeaturedList as zo } from "./components/FeaturedList/FeaturedList.js";
48
- import { GenericList as jo } from "./components/GenericList/GenericList.js";
49
- import { GridList as Wo } from "./components/GridList/GridList.js";
50
- import { LogoListItem as Ko } from "./components/LogoListItem/LogoListItem.js";
51
- import { NavList as Xo } from "./components/NavList/NavList.js";
52
- import { ScheduleList as Zo } from "./components/ScheduleList/ScheduleList.js";
53
- import { UpcomingList as $o } from "./components/UpcomingList/UpcomingList.js";
54
- import { DateNavigation as rr } from "./components/DateNavigation/DateNavigation.js";
55
- import { DrawerNavigation as tr } from "./components/DrawerNavigation/DrawerNavigation.js";
56
- import { FooterNavigation as pr } from "./components/FooterNavigation/FooterNavigation.js";
57
- import { InlineNavigation as xr } from "./components/InlineNavigation/InlineNavigation.js";
58
- import { LogoNavigation as ir } from "./components/LogoNavigation/LogoNavigation.js";
59
- import { SocialLinks as lr } from "./components/SocialLinks/SocialLinks.js";
60
- import { TabNavigation as dr } from "./components/TabNavigation/TabNavigation.js";
61
- import { ResultsTable as cr } from "./components/ResultsTable/ResultsTable.js";
62
- import { ResultsTableBody as Cr } from "./components/ResultsTableBody/ResultsTableBody.js";
63
- import { ResultsTableHeader as Sr } from "./components/ResultsTableHeader/ResultsTableHeader.js";
64
- import { AirDateFormatter as Br } from "./components/AirDateFormatter/AirDateFormatter.js";
65
- import { AnchorTag as Ar } from "./components/AnchorTag/AnchorTag.js";
66
- import { ButtonAnchor as br } from "./components/ButtonAnchor/ButtonAnchor.js";
67
- import { Concat as yr } from "./components/Concat/Concat.js";
68
- import { ErrorHandler as wr } from "./components/ErrorHandler/ErrorHandler.js";
69
- import { ImageReplacementAnchor as Gr } from "./components/ImageReplacementAnchor/ImageReplacementAnchor.js";
70
- import { GetAirdateWrapper as Pr } from "./components/GetAirdateWrapper/GetAirdateWrapper.js";
71
- import { Loading as Dr } from "./components/Loading/Loading.js";
72
- import { LoadingV2 as Hr } from "./components/LoadingV2/LoadingV2.js";
73
- import { ResponsiveImage as Vr } from "./components/ResponsiveImage/ResponsiveImage.js";
74
- import { StringList as zr } from "./components/StringList/StringList.js";
75
- import { GeneralErrorBoundary as jr } from "./error-boundries/GeneralErrorBoundry.js";
76
- import { BlankErrorBoundary as Wr } from "./error-boundries/BlankErrorBoundry.js";
77
- import { BCVideoPlayer as Kr } from "./components/BCVideoPlayer/BCVideoPlayer.js";
78
- import { DeviceAndPlatformLists as Xr } from "./components/DeviceAndPlatformLists/DeviceAndPlatformLists.js";
79
- import { InstructionsList as Zr } from "./components/InstructionsList/InstructionsList.js";
80
- import { Figure as $r } from "./components/Figure/Figure.js";
15
+ import { LogoCardSlide as F } from "./components/CarouselSlide/slide-layouts/LogoCard/LogoCard.js";
16
+ import { ShowSlide as N } from "./components/CarouselSlide/slide-layouts/Show/ShowSlide.js";
17
+ import { TextSlide as k } from "./components/CarouselSlide/slide-layouts/Text/TextSlide.js";
18
+ import { VideoSlide as E } from "./components/CarouselSlide/slide-layouts/Video/VideoSlide.js";
19
+ import { C as M } from "./ChoicesItem-CT9fXB0I.mjs";
20
+ import { ChoicesList as q } from "./components/ChoicesList/ChoicesList.js";
21
+ import { CreateChoiceList as U } from "./components/CreateChoiceList/CreateChoiceList.js";
22
+ import { CustomDataList as O } from "./components/CustomDataList/CustomDataList.js";
23
+ import { CustomSelect as J } from "./components/CustomSelect/CustomSelect.js";
24
+ import { Input as Q } from "./components/Input/Input.js";
25
+ import { Select as Y } from "./components/Select/Select.js";
26
+ import { TextArea as _ } from "./components/TextArea/TextArea.js";
27
+ import { DatePicker as oo } from "./components/DatePicker/DatePicker.js";
28
+ import { BasicGridModule as eo } from "./components/BasicGridModule/BasicGridModule.js";
29
+ import { ChannelSearch as mo } from "./components/ChannelSearch/ChannelSearch.js";
30
+ import { CastInfoLayout as fo } from "./components/CastInfoLayout/CastInfoLayout.js";
31
+ import { FindUs as ao } from "./components/FindUs/FindUs.js";
32
+ import { ProgramAirdate as no } from "./components/ProgramAirdate/ProgramAirdate.js";
33
+ import { PromotionsRowModule as so } from "./components/PromotionsRowModule/PromotionsRowModule.js";
34
+ import { RescanInstructions as co } from "./components/RescanInstructions/RescanInstructions.js";
35
+ import { ScheduleLayout as Co } from "./components/ScheduleLayout/ScheduleLayout.js";
36
+ import { SectionedContent as So } from "./components/SectionedContent/SectionedContent.js";
37
+ import { ShowAboutLayout as Bo } from "./components/ShowAboutLayout/ShowAboutLayout.js";
38
+ import { TabbedContent as Ao } from "./components/TabbedContent/TabbedContent.js";
39
+ import { AdjustableTwoColumnGrid as bo } from "./components/AdjustableTwoColumnGrid/AdjustableTwoColumnGrid.js";
40
+ import { EqualSizeFlexRow as yo } from "./components/EqualSizeFlexRow/EqualSizeFlexRow.js";
41
+ import { EqualSizeGrid as wo } from "./components/EqualSizeGrid/EqualSizeGrid.js";
42
+ import { InfoPanel as Go } from "./components/InfoPanel/InfoPanel.js";
43
+ import { ModalContainer as Po } from "./components/ModalContainer/ModalContainer.js";
44
+ import { PageHero as Do } from "./components/PageHero/PageHero.js";
45
+ import { IONShowHero as Ho } from "./components/PageHero/page-hero-layouts/IONShow/IONShowHero.js";
46
+ import { ContentHero as Vo } from "./components/PageHero/page-hero-layouts/ContentHero/ContentHero.js";
47
+ import { TabContent as zo } from "./components/TabContent/TabContent.js";
48
+ import { FeaturedList as jo } from "./components/FeaturedList/FeaturedList.js";
49
+ import { GenericList as Wo } from "./components/GenericList/GenericList.js";
50
+ import { GridList as Ko } from "./components/GridList/GridList.js";
51
+ import { LogoCard as Xo } from "./components/LogoCard/LogoCard.js";
52
+ import { LogoListItem as Zo } from "./components/LogoListItem/LogoListItem.js";
53
+ import { NavList as $o } from "./components/NavList/NavList.js";
54
+ import { ScheduleList as rr } from "./components/ScheduleList/ScheduleList.js";
55
+ import { UpcomingList as tr } from "./components/UpcomingList/UpcomingList.js";
56
+ import { DateNavigation as pr } from "./components/DateNavigation/DateNavigation.js";
57
+ import { DrawerNavigation as xr } from "./components/DrawerNavigation/DrawerNavigation.js";
58
+ import { FooterNavigation as ir } from "./components/FooterNavigation/FooterNavigation.js";
59
+ import { InlineNavigation as lr } from "./components/InlineNavigation/InlineNavigation.js";
60
+ import { LogoNavigation as dr } from "./components/LogoNavigation/LogoNavigation.js";
61
+ import { SocialLinks as cr } from "./components/SocialLinks/SocialLinks.js";
62
+ import { TabNavigation as Cr } from "./components/TabNavigation/TabNavigation.js";
63
+ import { ResultsTable as Sr } from "./components/ResultsTable/ResultsTable.js";
64
+ import { ResultsTableBody as Br } from "./components/ResultsTableBody/ResultsTableBody.js";
65
+ import { ResultsTableHeader as Ar } from "./components/ResultsTableHeader/ResultsTableHeader.js";
66
+ import { AirDateFormatter as br } from "./components/AirDateFormatter/AirDateFormatter.js";
67
+ import { AnchorTag as yr } from "./components/AnchorTag/AnchorTag.js";
68
+ import { ButtonAnchor as wr } from "./components/ButtonAnchor/ButtonAnchor.js";
69
+ import { Concat as Gr } from "./components/Concat/Concat.js";
70
+ import { ErrorHandler as Pr } from "./components/ErrorHandler/ErrorHandler.js";
71
+ import { ImageReplacementAnchor as Dr } from "./components/ImageReplacementAnchor/ImageReplacementAnchor.js";
72
+ import { GetAirdateWrapper as Hr } from "./components/GetAirdateWrapper/GetAirdateWrapper.js";
73
+ import { Loading as Vr } from "./components/Loading/Loading.js";
74
+ import { LoadingV2 as zr } from "./components/LoadingV2/LoadingV2.js";
75
+ import { ResponsiveImage as jr } from "./components/ResponsiveImage/ResponsiveImage.js";
76
+ import { StringList as Wr } from "./components/StringList/StringList.js";
77
+ import { GeneralErrorBoundary as Kr } from "./error-boundries/GeneralErrorBoundry.js";
78
+ import { BlankErrorBoundary as Xr } from "./error-boundries/BlankErrorBoundry.js";
79
+ import { BCVideoPlayer as Zr } from "./components/BCVideoPlayer/BCVideoPlayer.js";
80
+ import { DeviceAndPlatformLists as $r } from "./components/DeviceAndPlatformLists/DeviceAndPlatformLists.js";
81
+ import { InstructionsList as re } from "./components/InstructionsList/InstructionsList.js";
82
+ import { Figure as te } from "./components/Figure/Figure.js";
81
83
  export {
82
84
  u as ActionButton,
83
85
  e as AdBlock,
84
- Ao as AdjustableTwoColumnGrid,
85
- Br as AirDateFormatter,
86
- Ar as AnchorTag,
87
- Kr as BCVideoPlayer,
88
- oo as BasicGridModule,
89
- Wr as BlankErrorBoundary,
86
+ bo as AdjustableTwoColumnGrid,
87
+ br as AirDateFormatter,
88
+ yr as AnchorTag,
89
+ Zr as BCVideoPlayer,
90
+ eo as BasicGridModule,
91
+ Xr as BlankErrorBoundary,
90
92
  g as Button,
91
- br as ButtonAnchor,
93
+ wr as ButtonAnchor,
92
94
  h as Carousel,
93
95
  I as CarouselSlide,
94
- mo as CastInfoLayout,
95
- eo as ChannelSearch,
96
- E as ChoicesItem,
97
- M as ChoicesList,
98
- yr as Concat,
99
- Ho as ContentHero,
100
- q as CreateChoiceList,
96
+ fo as CastInfoLayout,
97
+ mo as ChannelSearch,
98
+ M as ChoicesItem,
99
+ q as ChoicesList,
100
+ Gr as Concat,
101
+ Vo as ContentHero,
102
+ U as CreateChoiceList,
101
103
  m as CtaBlock,
102
- U as CustomDataList,
103
- O as CustomSelect,
104
- rr as DateNavigation,
105
- _ as DatePicker,
106
- Xr as DeviceAndPlatformLists,
107
- tr as DrawerNavigation,
104
+ O as CustomDataList,
105
+ J as CustomSelect,
106
+ pr as DateNavigation,
107
+ oo as DatePicker,
108
+ $r as DeviceAndPlatformLists,
109
+ xr as DrawerNavigation,
108
110
  T as Empty,
109
- bo as EqualSizeFlexRow,
110
- yo as EqualSizeGrid,
111
- wr as ErrorHandler,
112
- zo as FeaturedList,
113
- $r as Figure,
111
+ yo as EqualSizeFlexRow,
112
+ wo as EqualSizeGrid,
113
+ Pr as ErrorHandler,
114
+ jo as FeaturedList,
115
+ te as Figure,
114
116
  v as FigureSlide,
115
- fo as FindUs,
116
- pr as FooterNavigation,
117
- jr as GeneralErrorBoundary,
118
- jo as GenericList,
119
- Pr as GetAirdateWrapper,
117
+ ao as FindUs,
118
+ ir as FooterNavigation,
119
+ Kr as GeneralErrorBoundary,
120
+ Wo as GenericList,
121
+ Hr as GetAirdateWrapper,
120
122
  L as GradientButton,
121
- Wo as GridList,
122
- Do as IONShowHero,
123
+ Ko as GridList,
124
+ Ho as IONShowHero,
123
125
  f as ImageCard,
124
126
  R as ImageCardSlide,
125
- Gr as ImageReplacementAnchor,
126
- wo as InfoPanel,
127
- xr as InlineNavigation,
128
- J as Input,
129
- Zr as InstructionsList,
130
- Dr as Loading,
131
- Hr as LoadingV2,
132
- Ko as LogoListItem,
133
- ir as LogoNavigation,
134
- Go as ModalContainer,
127
+ Dr as ImageReplacementAnchor,
128
+ Go as InfoPanel,
129
+ lr as InlineNavigation,
130
+ Q as Input,
131
+ re as InstructionsList,
132
+ Vr as Loading,
133
+ zr as LoadingV2,
134
+ Xo as LogoCard,
135
+ F as LogoCardSlide,
136
+ Zo as LogoListItem,
137
+ dr as LogoNavigation,
138
+ Po as ModalContainer,
135
139
  a as MultiLayeredFigure,
136
- Xo as NavList,
137
- Po as PageHero,
138
- ao as ProgramAirdate,
140
+ $o as NavList,
141
+ Do as PageHero,
142
+ no as ProgramAirdate,
139
143
  n as PromotionsRowBlock,
140
- no as PromotionsRowModule,
141
- so as RescanInstructions,
142
- Vr as ResponsiveImage,
143
- cr as ResultsTable,
144
- Cr as ResultsTableBody,
145
- Sr as ResultsTableHeader,
146
- co as ScheduleLayout,
147
- Zo as ScheduleList,
148
- Co as SectionedContent,
149
- Q as Select,
150
- So as ShowAboutLayout,
151
- F as ShowSlide,
152
- lr as SocialLinks,
144
+ so as PromotionsRowModule,
145
+ co as RescanInstructions,
146
+ jr as ResponsiveImage,
147
+ Sr as ResultsTable,
148
+ Br as ResultsTableBody,
149
+ Ar as ResultsTableHeader,
150
+ Co as ScheduleLayout,
151
+ rr as ScheduleList,
152
+ So as SectionedContent,
153
+ Y as Select,
154
+ Bo as ShowAboutLayout,
155
+ N as ShowSlide,
156
+ cr as SocialLinks,
153
157
  s as SocialShareBlock,
154
- zr as StringList,
155
- Vo as TabContent,
156
- dr as TabNavigation,
157
- Bo as TabbedContent,
158
- Y as TextArea,
159
- N as TextSlide,
160
- $o as UpcomingList,
161
- k as VideoSlide
158
+ Wr as StringList,
159
+ zo as TabContent,
160
+ Cr as TabNavigation,
161
+ Ao as TabbedContent,
162
+ _ as TextArea,
163
+ k as TextSlide,
164
+ tr as UpcomingList,
165
+ E as VideoSlide
162
166
  };
package/dist/settings.js CHANGED
@@ -1,13 +1,14 @@
1
1
  import { lazy as o } from "react";
2
- const i = /* @__PURE__ */ new Map([
2
+ const r = /* @__PURE__ */ new Map([
3
3
  ["Figure", o(() => import("./components/CarouselSlide/slide-layouts/Figure/index.js"))],
4
4
  ["ImageCard", o(() => import("./components/CarouselSlide/slide-layouts/ImageCard/index.js"))],
5
+ ["LogoCard", o(() => import("./components/CarouselSlide/slide-layouts/LogoCard/index.js"))],
5
6
  ["NetworkCalloutSlide", o(() => import("./components/CarouselSlide/slide-layouts/NetworkCallout/index.js"))],
6
7
  ["ShowSlide", o(() => import("./components/CarouselSlide/slide-layouts/Show/index.js"))],
7
8
  ["TextSlide", o(() => import("./components/CarouselSlide/slide-layouts/Text/index.js"))],
8
9
  ["TwoColumnSlide", o(() => import("./components/CarouselSlide/slide-layouts/TwoColumn/index.js"))],
9
10
  ["VideoSlide", o(() => import("./components/CarouselSlide/slide-layouts/Video/index.js"))]
10
- ]), r = /* @__PURE__ */ new Map([
11
+ ]), i = /* @__PURE__ */ new Map([
11
12
  ["ImageOnlyHero", o(() => import("./components/PageHero/page-hero-layouts/ImageOnly/index.js"))],
12
13
  ["IONShowHero", o(() => import("./components/PageHero/page-hero-layouts/IONShow/index.js"))],
13
14
  ["ContentHero", o(() => import("./components/PageHero/page-hero-layouts/ContentHero/index.js"))]
@@ -25,6 +26,6 @@ const i = /* @__PURE__ */ new Map([
25
26
  ]);
26
27
  export {
27
28
  e as blockLayoutsMap,
28
- r as pageHeroLayoutsMap,
29
- i as slideLayoutsMap
29
+ i as pageHeroLayoutsMap,
30
+ r as slideLayoutsMap
30
31
  };