@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.
- package/dist/assets/ImageCard.css +1 -1
- package/dist/assets/LogoCard.css +1 -0
- package/dist/components/Carousel/Carousel.js +61 -59
- package/dist/components/CarouselSlide/slide-layouts/LogoCard/LogoCard.js +9 -0
- package/dist/components/CarouselSlide/slide-layouts/LogoCard/index.js +5 -0
- package/dist/components/CarouselSlide/slide-layouts/index.js +12 -10
- package/dist/components/GenericList/GenericList.js +8 -6
- package/dist/components/ImageCard/ImageCard.js +53 -53
- package/dist/components/ImageCard/ImageCardCore.js +23 -23
- package/dist/components/LogoCard/LogoCard.js +103 -0
- package/dist/components/LogoCard/LogoCard.test.js +80 -0
- package/dist/components/LogoCard/index.js +5 -0
- package/dist/index.js +136 -132
- package/dist/settings.js +5 -4
- package/dist/src/components/CarouselSlide/slide-layouts/LogoCard/LogoCard.d.ts +3 -0
- package/dist/src/components/CarouselSlide/slide-layouts/LogoCard/index.d.ts +2 -0
- package/dist/src/components/CarouselSlide/slide-layouts/index.d.ts +1 -0
- package/dist/src/components/GenericList/GenericList.d.ts +2 -1
- package/dist/src/components/LogoCard/LogoCard.d.ts +19 -0
- package/dist/src/components/LogoCard/index.d.ts +2 -0
- package/dist/src/index.d.ts +2 -0
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { jsxs as n, Fragment as R, jsx as
|
|
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
|
|
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
|
|
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 = (
|
|
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
|
-
},
|
|
60
|
+
}, w = (r) => {
|
|
61
61
|
var A;
|
|
62
62
|
if (!u) return null;
|
|
63
|
-
const
|
|
64
|
-
return /* @__PURE__ */
|
|
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:
|
|
67
|
+
classname: i([o["image-card__cta"], "image-card__cta"]),
|
|
68
68
|
"data-resource-id": r.relatedResourceId,
|
|
69
|
-
...
|
|
69
|
+
...N && { href: r.href },
|
|
70
70
|
label: r.label ? r.label : ((A = c.get(r.type)) == null ? void 0 : A.label) ?? "",
|
|
71
|
-
...
|
|
72
|
-
onClick: !
|
|
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:
|
|
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__ */
|
|
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__ */
|
|
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__ */
|
|
110
|
+
d !== "" && /* @__PURE__ */ a(
|
|
111
111
|
"div",
|
|
112
112
|
{
|
|
113
|
-
className:
|
|
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:
|
|
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__ */
|
|
131
|
-
/* @__PURE__ */
|
|
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:
|
|
139
|
-
T !== "" && /* @__PURE__ */
|
|
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" &&
|
|
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__ */
|
|
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
|
+
});
|
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 {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import {
|
|
45
|
-
import {
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
49
|
-
import {
|
|
50
|
-
import {
|
|
51
|
-
import {
|
|
52
|
-
import {
|
|
53
|
-
import {
|
|
54
|
-
import {
|
|
55
|
-
import {
|
|
56
|
-
import {
|
|
57
|
-
import {
|
|
58
|
-
import {
|
|
59
|
-
import {
|
|
60
|
-
import {
|
|
61
|
-
import {
|
|
62
|
-
import {
|
|
63
|
-
import {
|
|
64
|
-
import {
|
|
65
|
-
import {
|
|
66
|
-
import {
|
|
67
|
-
import {
|
|
68
|
-
import {
|
|
69
|
-
import {
|
|
70
|
-
import {
|
|
71
|
-
import {
|
|
72
|
-
import {
|
|
73
|
-
import {
|
|
74
|
-
import {
|
|
75
|
-
import {
|
|
76
|
-
import {
|
|
77
|
-
import {
|
|
78
|
-
import {
|
|
79
|
-
import {
|
|
80
|
-
import {
|
|
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
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
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
|
-
|
|
93
|
+
wr as ButtonAnchor,
|
|
92
94
|
h as Carousel,
|
|
93
95
|
I as CarouselSlide,
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
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
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
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
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
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
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
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
|
-
|
|
122
|
-
|
|
123
|
+
Ko as GridList,
|
|
124
|
+
Ho as IONShowHero,
|
|
123
125
|
f as ImageCard,
|
|
124
126
|
R as ImageCardSlide,
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
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
|
-
|
|
137
|
-
|
|
138
|
-
|
|
140
|
+
$o as NavList,
|
|
141
|
+
Do as PageHero,
|
|
142
|
+
no as ProgramAirdate,
|
|
139
143
|
n as PromotionsRowBlock,
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
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
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
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
|
|
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
|
-
]),
|
|
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
|
-
|
|
29
|
-
|
|
29
|
+
i as pageHeroLayoutsMap,
|
|
30
|
+
r as slideLayoutsMap
|
|
30
31
|
};
|