@scrippsproduct/networks-ui-library 2.0.1 → 2.0.2

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.
@@ -0,0 +1,8 @@
1
+ import './assets/PageHero.css';const e = "_hero_4ie3t_1", o = {
2
+ hero: e,
3
+ "background-image": "_background-image_4ie3t_16",
4
+ "mobile-background-image": "_mobile-background-image_4ie3t_17"
5
+ };
6
+ export {
7
+ o as s
8
+ };
@@ -1 +1 @@
1
- ._hero__content_1ktxq_1{--top-position: 0;--left-position: 0;--right-position: 0;--bottom-position: 0;position:relative;z-index:20;display:flex;flex-direction:column;align-items:center;justify-content:center}
1
+ ._hero__content_17hw5_1{position:relative;z-index:20;translate:var(--translate-offset, 0);display:flex;flex-direction:column;align-items:var(--content-alignment, center);justify-content:var(--vertical-content-alignment, center);width:calc(100% - 4rem);padding:2rem;text-wrap:pretty}
@@ -1 +1 @@
1
- ._hero_1wu3e_1{--background-hero-position: center;--mobile-background-hero-position: center;display:grid;grid-template-areas:"hero"}._hero_1wu3e_1>*{grid-area:hero}._background-image_1wu3e_11>img,._mobile-background-image_1wu3e_12{display:block;aspect-ratio:1710/600;width:100%;object-fit:cover;object-position:var(--background-image-position)}._mobile-background-image_1wu3e_12{display:none;aspect-ratio:388/594;object-position:var(--mobile-background-image-position)}@media screen and (max-width:43.75rem){._mobile-background-image_1wu3e_12{display:block}._background-image_1wu3e_11{object-position:var(--mobile-background-image-position)}._mobile-background-image_1wu3e_12~._background-image_1wu3e_11{display:none}}
1
+ ._hero_4ie3t_1{--background-hero-position: 50% 50%;--mobile-background-hero-position: 50% 50%;--hero-image-ratio: 1710/600;--hero-mobile-image-ratio: 388/594;--hero-image-fit: cover;display:grid;grid-template-areas:"hero"}._hero_4ie3t_1>*{grid-area:hero}._background-image_4ie3t_16>img,._mobile-background-image_4ie3t_17>img{display:block;aspect-ratio:var(--hero-image-ratio, 1710/600);width:100%;object-fit:var(--hero-image-fit, cover);object-position:var(--background-image-position, 50% 50%)}._mobile-background-image_4ie3t_17{display:none}._mobile-background-image_4ie3t_17>img{aspect-ratio:var(--hero-mobile-image-ratio, 388/594);object-position:var(--mobile-background-image-position, 50% 50%)}@media screen and (max-width:43.75rem){._mobile-background-image_4ie3t_17{display:block}._mobile-background-image_4ie3t_17~._background-image_4ie3t_16{display:none}}
@@ -3,7 +3,7 @@ import { useState as p, useEffect as g } from "react";
3
3
  import { classes as i } from "../../utils/helpers.js";
4
4
  import { pageHeroLayoutsMap as l } from "../../settings.js";
5
5
  import { l as f } from "../../logger-C0N7U0YY.mjs";
6
- import { s as c } from "../../PageHero.module-BM0IV1P5.mjs";
6
+ import { s as c } from "../../PageHero.module-BUEqPn6E.mjs";
7
7
  f.setComponent("PageHero");
8
8
  function w({
9
9
  layoutComponent: r = "",
@@ -1,47 +1,73 @@
1
- import { jsxs as h, jsx as s } from "react/jsx-runtime";
2
- import { ResponsiveImage as p } from "../../../ResponsiveImage/ResponsiveImage.js";
3
- import { classes as k } from "../../../../utils/helpers.js";
4
- import { s as t } from "../../../../PageHero.module-BM0IV1P5.mjs";
5
- import '../../../../assets/ContentHero.css';const u = "_hero__content_1ktxq_1", x = {
6
- hero__content: u
1
+ import { jsxs as u, jsx as n } from "react/jsx-runtime";
2
+ import { ResponsiveImage as k } from "../../../ResponsiveImage/ResponsiveImage.js";
3
+ import { classes as v } from "../../../../utils/helpers.js";
4
+ import { s as c } from "../../../../PageHero.module-BUEqPn6E.mjs";
5
+ import '../../../../assets/ContentHero.css';const x = "_hero__content_17hw5_1", y = {
6
+ hero__content: x
7
+ }, $ = {
8
+ left: "start",
9
+ center: "center",
10
+ right: "end"
11
+ }, C = {
12
+ top: "start",
13
+ center: "center",
14
+ bottom: "end"
7
15
  };
8
- function a({
9
- fullSizeImage: n,
10
- mobileImage: _ = {
16
+ function M({
17
+ fullSizeImage: e,
18
+ fullSizeImageRatio: a = 1710 / 600,
19
+ mobileImage: s = {
11
20
  url: "",
12
21
  dimensions: {
13
22
  width: 0,
14
23
  height: 0
15
24
  }
16
25
  },
17
- fullSizeImagePosition: r = [50, 50],
18
- mobileImagePosition: c = [50, 50],
19
- children: d
26
+ mobileImageRatio: h = 388 / 594,
27
+ fullSizeImagePosition: t = [50, 50],
28
+ mobileImagePosition: r = [50, 50],
29
+ imageAltText: d = "",
30
+ contentAlignment: _ = "center",
31
+ verticalContentAlignment: p = "center",
32
+ children: o
20
33
  }) {
21
- return /* @__PURE__ */ h(
34
+ return /* @__PURE__ */ u(
22
35
  "div",
23
36
  {
24
- className: t.hero,
37
+ className: c.hero,
25
38
  style: {
26
- "--background-image-position": `${(r == null ? void 0 : r[0]) ?? "50"}% ${(r == null ? void 0 : r[1]) ?? "50"}%`,
27
- "--mobile-background-image-position": `${(c == null ? void 0 : c[0]) ?? "50"}% ${(c == null ? void 0 : c[1]) ?? "50"}%`
39
+ "--background-image-position": `${(t == null ? void 0 : t[0]) ?? "50"}% ${(t == null ? void 0 : t[1]) ?? "50"}%`,
40
+ "--mobile-background-image-position": `${(r == null ? void 0 : r[0]) ?? "50"}% ${(r == null ? void 0 : r[1]) ?? "50"}%`,
41
+ "--hero-image-ratio": a,
42
+ "--hero-mobile-image-ratio": h
28
43
  },
29
44
  children: [
30
- _.url !== "" && /* @__PURE__ */ s("picture", { className: t["mobile-background-image"], children: /* @__PURE__ */ s("img", { alt: "", src: _.url }) }),
31
- /* @__PURE__ */ s(
32
- p,
45
+ s.url !== "" && /* @__PURE__ */ n("picture", { className: c["mobile-background-image"], children: /* @__PURE__ */ n("img", { alt: "", src: s.url }) }),
46
+ /* @__PURE__ */ n(
47
+ k,
33
48
  {
34
- classname: t["background-image"],
35
- fullSizeUrl: n.url,
36
- sources: n.sources
49
+ altText: d,
50
+ classname: c["background-image"],
51
+ fullSizeUrl: e.url,
52
+ sources: e.sources
37
53
  }
38
54
  ),
39
- /* @__PURE__ */ s("div", { className: k([x.hero__content, "hero__content"]), children: d })
55
+ /* @__PURE__ */ n(
56
+ "div",
57
+ {
58
+ className: v([y.hero__content, "hero__content"]),
59
+ style: {
60
+ "--content-alignment": $[_],
61
+ "--vertical-content-alignment": C[p]
62
+ },
63
+ children: o
64
+ }
65
+ )
40
66
  ]
41
67
  }
42
68
  );
43
69
  }
44
70
  export {
45
- a as ContentHero,
46
- a as default
71
+ M as ContentHero,
72
+ M as default
47
73
  };
@@ -1,11 +1,11 @@
1
1
  import { jsxs as n, jsx as r, Fragment as f } from "react/jsx-runtime";
2
2
  import { p as P } from "../../../../index-5kXULIVv.mjs";
3
- import { classes as a } from "../../../../utils/helpers.js";
3
+ import { classes as i } from "../../../../utils/helpers.js";
4
4
  import { AirDateFormatter as N } from "../../../AirDateFormatter/AirDateFormatter.js";
5
5
  import { GetAirdateWrapper as v } from "../../../GetAirdateWrapper/GetAirdateWrapper.js";
6
6
  import { StringList as $ } from "../../../StringList/StringList.js";
7
7
  import { ResponsiveImage as M } from "../../../ResponsiveImage/ResponsiveImage.js";
8
- import { s as i } from "../../../../PageHero.module-BM0IV1P5.mjs";
8
+ import { s as a } from "../../../../PageHero.module-BUEqPn6E.mjs";
9
9
  import '../../../../assets/IONShowHero.css';const t = {
10
10
  "hero-content": "_hero-content_1ygkx_1",
11
11
  "hero-content--right": "_hero-content--right_1ygkx_8",
@@ -17,20 +17,22 @@ import '../../../../assets/IONShowHero.css';const t = {
17
17
  };
18
18
  function D({
19
19
  show: e,
20
- SCHEDULE_ENDPOINT: k,
21
- NETWORK: h
20
+ SCHEDULE_ENDPOINT: h,
21
+ NETWORK: k
22
22
  }) {
23
23
  var o, l, m, g, _, p, c, d, s, b, u, y, x, I;
24
24
  return /* @__PURE__ */ n(
25
25
  "div",
26
26
  {
27
- className: i.hero,
27
+ className: a.hero,
28
28
  style: {
29
29
  "--background-image-position": `${((o = e == null ? void 0 : e.bannerImagePosition) == null ? void 0 : o[0]) ?? "50"}% ${((l = e == null ? void 0 : e.bannerImagePosition) == null ? void 0 : l[1]) ?? "50"}%`,
30
- "--mobile-background-image-position": `${((m = e == null ? void 0 : e.bannerMobileImagePosition) == null ? void 0 : m[0]) ?? "50"}% ${((g = e == null ? void 0 : e.bannerMobileImagePosition) == null ? void 0 : g[1]) ?? "50"}%`
30
+ "--mobile-background-image-position": `${((m = e == null ? void 0 : e.bannerMobileImagePosition) == null ? void 0 : m[0]) ?? "50"}% ${((g = e == null ? void 0 : e.bannerMobileImagePosition) == null ? void 0 : g[1]) ?? "50"}%`,
31
+ "--justify-items": e.heroContentAlignment === "right" ? "end" : "start",
32
+ "--align-items": "end"
31
33
  },
32
34
  children: [
33
- e.bannerMobileImage !== void 0 && ((_ = e.bannerMobileImage) == null ? void 0 : _.url) !== "" && /* @__PURE__ */ r("picture", { className: i["mobile-background-image"], children: /* @__PURE__ */ r(
35
+ e.bannerMobileImage !== void 0 && ((_ = e.bannerMobileImage) == null ? void 0 : _.url) !== "" && /* @__PURE__ */ r("picture", { className: a["mobile-background-image"], children: /* @__PURE__ */ r(
34
36
  "img",
35
37
  {
36
38
  alt: "",
@@ -41,7 +43,7 @@ function D({
41
43
  /* @__PURE__ */ r(
42
44
  M,
43
45
  {
44
- classname: i["background-image"],
46
+ classname: a["background-image"],
45
47
  fullSizeUrl: (p = e.bannerImage) == null ? void 0 : p.url,
46
48
  sources: e.bannerImage.sources
47
49
  }
@@ -49,7 +51,7 @@ function D({
49
51
  /* @__PURE__ */ n(
50
52
  "div",
51
53
  {
52
- className: a([
54
+ className: i([
53
55
  t["hero-content"],
54
56
  "show-hero__content",
55
57
  e.heroContentAlignment === "right" ? [t["hero-content--right"], "show-hero__content--right"] : null
@@ -59,7 +61,7 @@ function D({
59
61
  /* @__PURE__ */ r(
60
62
  "div",
61
63
  {
62
- className: a([
64
+ className: i([
63
65
  "show-hero__logo-wrapper",
64
66
  t["show-hero--display"],
65
67
  t["show-hero__logo-wrapper"]
@@ -76,7 +78,7 @@ function D({
76
78
  /* @__PURE__ */ r(
77
79
  "h1",
78
80
  {
79
- className: a([
81
+ className: i([
80
82
  t["display-none"],
81
83
  t["hero-content__show-title"]
82
84
  ]),
@@ -86,7 +88,7 @@ function D({
86
88
  ] }) : /* @__PURE__ */ r(
87
89
  "h1",
88
90
  {
89
- className: a([
91
+ className: i([
90
92
  t["hero-content__show-title"],
91
93
  "h1",
92
94
  "show-hero__show-title"
@@ -94,7 +96,7 @@ function D({
94
96
  children: P(e.title)
95
97
  }
96
98
  ),
97
- /* @__PURE__ */ n("div", { className: a([t["hero-content__airdate"], "show-hero__airdate"]), children: [
99
+ /* @__PURE__ */ n("div", { className: i([t["hero-content__airdate"], "show-hero__airdate"]), children: [
98
100
  (e == null ? void 0 : e.nextProgram) && /* @__PURE__ */ r(
99
101
  $,
100
102
  {
@@ -109,8 +111,8 @@ function D({
109
111
  v,
110
112
  {
111
113
  includeEpisode: !0,
112
- NETWORK: h,
113
- SCHEDULE_ENDPOINT: k,
114
+ NETWORK: k,
115
+ SCHEDULE_ENDPOINT: h,
114
116
  programId: e.seriesPrefix,
115
117
  separatorType: "pipe"
116
118
  }
@@ -1,34 +1,40 @@
1
- import { jsxs as u, jsx as d } from "react/jsx-runtime";
2
- import { ResponsiveImage as k } from "../../../ResponsiveImage/ResponsiveImage.js";
3
- import { s as p } from "../../../../PageHero.module-BM0IV1P5.mjs";
4
- function j({
5
- fullSizeImage: s,
6
- mobileImage: h = {
1
+ import { jsxs as x, jsx as d } from "react/jsx-runtime";
2
+ import { ResponsiveImage as $ } from "../../../ResponsiveImage/ResponsiveImage.js";
3
+ import { s as h } from "../../../../PageHero.module-BUEqPn6E.mjs";
4
+ function N({
5
+ fullSizeImage: p,
6
+ fullSizeImageRatio: a = 1710 / 600,
7
+ mobileImage: s = {
7
8
  url: "",
8
9
  dimensions: {
9
10
  width: 0,
10
11
  height: 0
11
12
  }
12
13
  },
14
+ mobileImageRatio: u = 388 / 594,
13
15
  fullSizeImagePosition: r = [50, 50],
14
- mobileImagePosition: c = [50, 50]
16
+ mobileImagePosition: c = [50, 50],
17
+ imageAltText: k = ""
15
18
  }) {
16
- return /* @__PURE__ */ u(
19
+ return /* @__PURE__ */ x(
17
20
  "div",
18
21
  {
19
- className: p.hero,
22
+ className: h.hero,
20
23
  style: {
21
24
  "--background-image-position": `${(r == null ? void 0 : r[0]) ?? "50"}% ${(r == null ? void 0 : r[1]) ?? "50"}%`,
22
- "--mobile-background-image-position": `${(c == null ? void 0 : c[0]) ?? "50"}% ${(c == null ? void 0 : c[1]) ?? "50"}%`
25
+ "--mobile-background-image-position": `${(c == null ? void 0 : c[0]) ?? "50"}% ${(c == null ? void 0 : c[1]) ?? "50"}%`,
26
+ "--hero-image-ratio": a,
27
+ "--hero-mobile-image-ratio": u
23
28
  },
24
29
  children: [
25
- h.url !== "" && /* @__PURE__ */ d("picture", { className: p["mobile-background-image"], children: /* @__PURE__ */ d("img", { alt: "", src: h.url }) }),
30
+ s.url !== "" && /* @__PURE__ */ d("picture", { className: h["mobile-background-image"], children: /* @__PURE__ */ d("img", { alt: "", src: s.url }) }),
26
31
  /* @__PURE__ */ d(
27
- k,
32
+ $,
28
33
  {
29
- classname: p["background-image"],
30
- fullSizeUrl: s.url,
31
- sources: s.sources
34
+ altText: k,
35
+ classname: h["background-image"],
36
+ fullSizeUrl: p.url,
37
+ sources: p.sources
32
38
  }
33
39
  )
34
40
  ]
@@ -36,6 +42,6 @@ function j({
36
42
  );
37
43
  }
38
44
  export {
39
- j as ImageOnlyHero,
40
- j as default
45
+ N as ImageOnlyHero,
46
+ N as default
41
47
  };
package/dist/index.js CHANGED
@@ -6,21 +6,21 @@ import { PromotionsRowBlock as n } from "./components/PromotionsRowBlock/Promoti
6
6
  import { SocialShareBlock as s } from "./components/SocialShareBlock/SocialShareBlock.js";
7
7
  import { ActionButton as u } from "./components/ActionButton/ActionButton.js";
8
8
  import { Button as g } from "./components/Button/Button.js";
9
- import { GradientButton as C } from "./components/GradientButton/GradientButton.js";
10
- import { Carousel as B } from "./components/Carousel/Carousel.js";
11
- import { CarouselSlide as A } from "./components/CarouselSlide/CarouselSlide.js";
9
+ import { GradientButton as L } from "./components/GradientButton/GradientButton.js";
10
+ import { Carousel as h } from "./components/Carousel/Carousel.js";
11
+ 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 G } from "./components/CarouselSlide/slide-layouts/Show/ShowSlide.js";
16
- import { TextSlide as k } from "./components/CarouselSlide/slide-layouts/Text/TextSlide.js";
17
- import { VideoSlide as N } from "./components/CarouselSlide/slide-layouts/Video/VideoSlide.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
18
  import { C as E } from "./ChoicesItem-CT9fXB0I.mjs";
19
- import { ChoicesList as H } from "./components/ChoicesList/ChoicesList.js";
19
+ import { ChoicesList as M } from "./components/ChoicesList/ChoicesList.js";
20
20
  import { CreateChoiceList as q } from "./components/CreateChoiceList/CreateChoiceList.js";
21
21
  import { CustomDataList as U } from "./components/CustomDataList/CustomDataList.js";
22
- import { CustomSelect as W } from "./components/CustomSelect/CustomSelect.js";
23
- import { Input as K } from "./components/Input/Input.js";
22
+ import { CustomSelect as O } from "./components/CustomSelect/CustomSelect.js";
23
+ import { Input as J } from "./components/Input/Input.js";
24
24
  import { Select as Q } from "./components/Select/Select.js";
25
25
  import { TextArea as Y } from "./components/TextArea/TextArea.js";
26
26
  import { DatePicker as _ } from "./components/DatePicker/DatePicker.js";
@@ -32,127 +32,131 @@ import { ProgramAirdate as ao } from "./components/ProgramAirdate/ProgramAirdate
32
32
  import { PromotionsRowModule as no } from "./components/PromotionsRowModule/PromotionsRowModule.js";
33
33
  import { RescanInstructions as so } from "./components/RescanInstructions/RescanInstructions.js";
34
34
  import { ScheduleLayout as co } from "./components/ScheduleLayout/ScheduleLayout.js";
35
- import { SectionedContent as Lo } from "./components/SectionedContent/SectionedContent.js";
35
+ import { SectionedContent as Co } from "./components/SectionedContent/SectionedContent.js";
36
36
  import { ShowAboutLayout as So } from "./components/ShowAboutLayout/ShowAboutLayout.js";
37
- import { TabbedContent as ho } from "./components/TabbedContent/TabbedContent.js";
38
- import { AdjustableTwoColumnGrid as Io } from "./components/AdjustableTwoColumnGrid/AdjustableTwoColumnGrid.js";
37
+ import { TabbedContent as Bo } from "./components/TabbedContent/TabbedContent.js";
38
+ import { AdjustableTwoColumnGrid as Ao } from "./components/AdjustableTwoColumnGrid/AdjustableTwoColumnGrid.js";
39
39
  import { EqualSizeFlexRow as bo } from "./components/EqualSizeFlexRow/EqualSizeFlexRow.js";
40
40
  import { EqualSizeGrid as yo } from "./components/EqualSizeGrid/EqualSizeGrid.js";
41
- import { InfoPanel as Fo } from "./components/InfoPanel/InfoPanel.js";
42
- import { ModalContainer as Po } from "./components/ModalContainer/ModalContainer.js";
43
- import { PageHero as wo } from "./components/PageHero/PageHero.js";
44
- import { TabContent as Do } from "./components/TabContent/TabContent.js";
45
- import { FeaturedList as Mo } from "./components/FeaturedList/FeaturedList.js";
46
- import { GenericList as Vo } from "./components/GenericList/GenericList.js";
47
- import { GridList as zo } from "./components/GridList/GridList.js";
48
- import { LogoListItem as jo } from "./components/LogoListItem/LogoListItem.js";
49
- import { NavList as Jo } from "./components/NavList/NavList.js";
50
- import { ScheduleList as Oo } from "./components/ScheduleList/ScheduleList.js";
51
- import { UpcomingList as Xo } from "./components/UpcomingList/UpcomingList.js";
52
- import { DateNavigation as Zo } from "./components/DateNavigation/DateNavigation.js";
53
- import { DrawerNavigation as $o } from "./components/DrawerNavigation/DrawerNavigation.js";
54
- import { FooterNavigation as rr } from "./components/FooterNavigation/FooterNavigation.js";
55
- import { InlineNavigation as tr } from "./components/InlineNavigation/InlineNavigation.js";
56
- import { LogoNavigation as pr } from "./components/LogoNavigation/LogoNavigation.js";
57
- import { SocialLinks as xr } from "./components/SocialLinks/SocialLinks.js";
58
- import { TabNavigation as ir } from "./components/TabNavigation/TabNavigation.js";
59
- import { ResultsTable as lr } from "./components/ResultsTable/ResultsTable.js";
60
- import { ResultsTableBody as dr } from "./components/ResultsTableBody/ResultsTableBody.js";
61
- import { ResultsTableHeader as cr } from "./components/ResultsTableHeader/ResultsTableHeader.js";
62
- import { AirDateFormatter as Lr } from "./components/AirDateFormatter/AirDateFormatter.js";
63
- import { AnchorTag as Sr } from "./components/AnchorTag/AnchorTag.js";
64
- import { ButtonAnchor as hr } from "./components/ButtonAnchor/ButtonAnchor.js";
65
- import { Concat as Ir } from "./components/Concat/Concat.js";
66
- import { ErrorHandler as br } from "./components/ErrorHandler/ErrorHandler.js";
67
- import { ImageReplacementAnchor as yr } from "./components/ImageReplacementAnchor/ImageReplacementAnchor.js";
68
- import { GetAirdateWrapper as Fr } from "./components/GetAirdateWrapper/GetAirdateWrapper.js";
69
- import { Loading as Pr } from "./components/Loading/Loading.js";
70
- import { LoadingV2 as wr } from "./components/LoadingV2/LoadingV2.js";
71
- import { ResponsiveImage as Dr } from "./components/ResponsiveImage/ResponsiveImage.js";
72
- import { StringList as Mr } from "./components/StringList/StringList.js";
73
- import { GeneralErrorBoundary as Vr } from "./error-boundries/GeneralErrorBoundry.js";
74
- import { BlankErrorBoundary as zr } from "./error-boundries/BlankErrorBoundry.js";
75
- import { BCVideoPlayer as jr } from "./components/BCVideoPlayer/BCVideoPlayer.js";
76
- import { DeviceAndPlatformLists as Jr } from "./components/DeviceAndPlatformLists/DeviceAndPlatformLists.js";
77
- import { InstructionsList as Or } from "./components/InstructionsList/InstructionsList.js";
78
- import { Figure as Xr } from "./components/Figure/Figure.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";
79
81
  export {
80
82
  u as ActionButton,
81
83
  e as AdBlock,
82
- Io as AdjustableTwoColumnGrid,
83
- Lr as AirDateFormatter,
84
- Sr as AnchorTag,
85
- jr as BCVideoPlayer,
84
+ Ao as AdjustableTwoColumnGrid,
85
+ Br as AirDateFormatter,
86
+ Ar as AnchorTag,
87
+ Kr as BCVideoPlayer,
86
88
  oo as BasicGridModule,
87
- zr as BlankErrorBoundary,
89
+ Wr as BlankErrorBoundary,
88
90
  g as Button,
89
- hr as ButtonAnchor,
90
- B as Carousel,
91
- A as CarouselSlide,
91
+ br as ButtonAnchor,
92
+ h as Carousel,
93
+ I as CarouselSlide,
92
94
  mo as CastInfoLayout,
93
95
  eo as ChannelSearch,
94
96
  E as ChoicesItem,
95
- H as ChoicesList,
96
- Ir as Concat,
97
+ M as ChoicesList,
98
+ yr as Concat,
99
+ Ho as ContentHero,
97
100
  q as CreateChoiceList,
98
101
  m as CtaBlock,
99
102
  U as CustomDataList,
100
- W as CustomSelect,
101
- Zo as DateNavigation,
103
+ O as CustomSelect,
104
+ rr as DateNavigation,
102
105
  _ as DatePicker,
103
- Jr as DeviceAndPlatformLists,
104
- $o as DrawerNavigation,
106
+ Xr as DeviceAndPlatformLists,
107
+ tr as DrawerNavigation,
105
108
  T as Empty,
106
109
  bo as EqualSizeFlexRow,
107
110
  yo as EqualSizeGrid,
108
- br as ErrorHandler,
109
- Mo as FeaturedList,
110
- Xr as Figure,
111
+ wr as ErrorHandler,
112
+ zo as FeaturedList,
113
+ $r as Figure,
111
114
  v as FigureSlide,
112
115
  fo as FindUs,
113
- rr as FooterNavigation,
114
- Vr as GeneralErrorBoundary,
115
- Vo as GenericList,
116
- Fr as GetAirdateWrapper,
117
- C as GradientButton,
118
- zo as GridList,
116
+ pr as FooterNavigation,
117
+ jr as GeneralErrorBoundary,
118
+ jo as GenericList,
119
+ Pr as GetAirdateWrapper,
120
+ L as GradientButton,
121
+ Wo as GridList,
122
+ Do as IONShowHero,
119
123
  f as ImageCard,
120
124
  R as ImageCardSlide,
121
- yr as ImageReplacementAnchor,
122
- Fo as InfoPanel,
123
- tr as InlineNavigation,
124
- K as Input,
125
- Or as InstructionsList,
126
- Pr as Loading,
127
- wr as LoadingV2,
128
- jo as LogoListItem,
129
- pr as LogoNavigation,
130
- Po as ModalContainer,
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,
131
135
  a as MultiLayeredFigure,
132
- Jo as NavList,
133
- wo as PageHero,
136
+ Xo as NavList,
137
+ Po as PageHero,
134
138
  ao as ProgramAirdate,
135
139
  n as PromotionsRowBlock,
136
140
  no as PromotionsRowModule,
137
141
  so as RescanInstructions,
138
- Dr as ResponsiveImage,
139
- lr as ResultsTable,
140
- dr as ResultsTableBody,
141
- cr as ResultsTableHeader,
142
+ Vr as ResponsiveImage,
143
+ cr as ResultsTable,
144
+ Cr as ResultsTableBody,
145
+ Sr as ResultsTableHeader,
142
146
  co as ScheduleLayout,
143
- Oo as ScheduleList,
144
- Lo as SectionedContent,
147
+ Zo as ScheduleList,
148
+ Co as SectionedContent,
145
149
  Q as Select,
146
150
  So as ShowAboutLayout,
147
- G as ShowSlide,
148
- xr as SocialLinks,
151
+ F as ShowSlide,
152
+ lr as SocialLinks,
149
153
  s as SocialShareBlock,
150
- Mr as StringList,
151
- Do as TabContent,
152
- ir as TabNavigation,
153
- ho as TabbedContent,
154
+ zr as StringList,
155
+ Vo as TabContent,
156
+ dr as TabNavigation,
157
+ Bo as TabbedContent,
154
158
  Y as TextArea,
155
- k as TextSlide,
156
- Xo as UpcomingList,
157
- N as VideoSlide
159
+ N as TextSlide,
160
+ $o as UpcomingList,
161
+ k as VideoSlide
158
162
  };
@@ -1,3 +1,3 @@
1
- import { PageHeroImageProps } from '../page-hero';
2
- export declare function ContentHero({ fullSizeImage, mobileImage, fullSizeImagePosition, mobileImagePosition, children, }: PageHeroImageProps): JSX.Element;
1
+ import { PageHeroContentProps } from '../page-hero';
2
+ export declare function ContentHero({ fullSizeImage, fullSizeImageRatio, mobileImage, mobileImageRatio, fullSizeImagePosition, mobileImagePosition, imageAltText, contentAlignment, verticalContentAlignment, children, }: PageHeroContentProps): JSX.Element;
3
3
  export default ContentHero;
@@ -1,3 +1,3 @@
1
1
  import { PageHeroImageProps } from '../page-hero';
2
- export declare function ImageOnlyHero({ fullSizeImage, mobileImage, fullSizeImagePosition, mobileImagePosition, }: PageHeroImageProps): JSX.Element;
2
+ export declare function ImageOnlyHero({ fullSizeImage, fullSizeImageRatio, mobileImage, mobileImageRatio, fullSizeImagePosition, mobileImagePosition, imageAltText, }: PageHeroImageProps): JSX.Element;
3
3
  export default ImageOnlyHero;
@@ -41,6 +41,8 @@ export { EqualSizeGrid } from './components/EqualSizeGrid';
41
41
  export { InfoPanel } from './components/InfoPanel';
42
42
  export { ModalContainer } from './components/ModalContainer';
43
43
  export { PageHero } from './components/PageHero';
44
+ export { IONShowHero } from './components/PageHero/page-hero-layouts/IONShow/IONShowHero';
45
+ export { ContentHero } from './components/PageHero/page-hero-layouts/ContentHero/ContentHero';
44
46
  export { TabContent } from './components/TabContent';
45
47
  export { FeaturedList } from './components/FeaturedList';
46
48
  export { GenericList } from './components/GenericList';
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "2.0.1",
2
+ "version": "2.0.2",
3
3
  "name": "@scrippsproduct/networks-ui-library",
4
4
  "description": "React Component Library for use in Scripps Networks external applications",
5
5
  "author": {
@@ -1,8 +0,0 @@
1
- import './assets/PageHero.css';const e = "_hero_1wu3e_1", o = {
2
- hero: e,
3
- "background-image": "_background-image_1wu3e_11",
4
- "mobile-background-image": "_mobile-background-image_1wu3e_12"
5
- };
6
- export {
7
- o as s
8
- };