@scrippsproduct/networks-ui-library 1.1.10 → 1.1.11-alpha.0

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 (32) hide show
  1. package/dist/ResultsTable.module-DqVv22tU.mjs +14 -0
  2. package/dist/assets/ActionButton.css +1 -1
  3. package/dist/assets/AdBlock.css +1 -1
  4. package/dist/assets/DateNavigation.css +1 -1
  5. package/dist/assets/DatePicker.css +1 -1
  6. package/dist/assets/DrawerNavigation.css +1 -1
  7. package/dist/assets/InfoPanel.css +1 -1
  8. package/dist/assets/Loading.css +1 -1
  9. package/dist/assets/LoadingV2.css +1 -1
  10. package/dist/assets/ModalContainer.css +1 -1
  11. package/dist/assets/Overlay.css +1 -1
  12. package/dist/assets/PromotionBlock.css +1 -1
  13. package/dist/assets/ResultsTable.css +1 -1
  14. package/dist/assets/ScheduleList.css +1 -1
  15. package/dist/assets/ShowAboutLayout.css +1 -1
  16. package/dist/components/ActionButton/ActionButton.js +57 -38
  17. package/dist/components/AdBlock/AdBlock.js +157 -103
  18. package/dist/components/DateNavigation/DateNavigation.js +42 -42
  19. package/dist/components/DrawerNavigation/DrawerNavigation.js +28 -28
  20. package/dist/components/InfoPanel/InfoPanel.js +13 -13
  21. package/dist/components/Loading/Loading.js +8 -8
  22. package/dist/components/LoadingV2/LoadingV2.js +11 -11
  23. package/dist/components/ModalContainer/ModalContainer.js +10 -10
  24. package/dist/components/Overlay/Overlay.js +2 -2
  25. package/dist/components/PromotionBlock/PromotionBlock.js +24 -24
  26. package/dist/components/ResultsTable/ResultsTable.js +1 -1
  27. package/dist/components/ResultsTableBody/ResultsTableBody.js +1 -1
  28. package/dist/components/ResultsTableHeader/ResultsTableHeader.js +1 -1
  29. package/dist/components/ScheduleList/ScheduleList.js +106 -88
  30. package/dist/components/ShowAboutLayout/ShowAboutLayout.js +9 -9
  31. package/package.json +2 -1
  32. package/dist/ResultsTable.module-wcNUQEKe.mjs +0 -14
@@ -1,12 +1,12 @@
1
- import { jsx as a, Fragment as y, jsxs as T } from "react/jsx-runtime";
2
- import { getHoursMinsStr as k, classes as l } from "../../utils/helpers.js";
1
+ import { jsx as a, Fragment as k, jsxs as y } from "react/jsx-runtime";
2
+ import { getHoursMinsStr as T, classes as l } from "../../utils/helpers.js";
3
3
  import { Concat as c } from "../Concat/Concat.js";
4
4
  import { StringList as o } from "../StringList/StringList.js";
5
5
  import { ImageCard as x } from "../ImageCard/ImageCard.js";
6
6
  import { AdjustableTwoColumnGrid as s } from "../AdjustableTwoColumnGrid/AdjustableTwoColumnGrid.js";
7
7
  import { ShowAboutContent as S } from "../ShowAboutContent/ShowAboutContent.js";
8
8
  import '../../assets/ShowAboutLayout.css';const u = {
9
- "series-about-tab": "_series-about-tab_1325e_1"
9
+ "series-about-tab": "_series-about-tab_1km4o_237"
10
10
  };
11
11
  function F({
12
12
  series: t,
@@ -21,13 +21,13 @@ function F({
21
21
  longtext: ""
22
22
  }
23
23
  }) {
24
- var r, m;
25
- const d = t.cast ? t.cast.map((_) => _.real_name).join(", ") : "", f = t != null && t.run_time ? k(t.run_time) : "", e = n === "series" ? ["TV Series", t.rating] : [
24
+ var e, m;
25
+ const d = t.cast ? t.cast.map((_) => _.real_name).join(", ") : "", f = t != null && t.run_time ? T(t.run_time) : "", r = n === "series" ? ["TV Series", t.rating] : [
26
26
  t != null && t.year_released ? t == null ? void 0 : t.year_released : "Film",
27
27
  t.rating,
28
28
  f
29
29
  ];
30
- return /* @__PURE__ */ a(y, { children: /* @__PURE__ */ T(
30
+ return /* @__PURE__ */ a(k, { children: /* @__PURE__ */ y(
31
31
  s,
32
32
  {
33
33
  classname: l([u["series-about-tab"], "series-about-tab"]),
@@ -49,7 +49,7 @@ function F({
49
49
  o,
50
50
  {
51
51
  makeBlock: !0,
52
- list: e || [],
52
+ list: r || [],
53
53
  separatorType: "pipe"
54
54
  }
55
55
  )
@@ -74,7 +74,7 @@ function F({
74
74
  o,
75
75
  {
76
76
  makeBlock: !0,
77
- list: e,
77
+ list: r,
78
78
  separatorType: "pipe"
79
79
  }
80
80
  )
@@ -82,7 +82,7 @@ function F({
82
82
  }
83
83
  ),
84
84
  image: {
85
- url: ((r = t.detailImage) == null ? void 0 : r.url) || "",
85
+ url: ((e = t.detailImage) == null ? void 0 : e.url) || "",
86
86
  aspectRatio: ((m = t.detailImage) == null ? void 0 : m.aspectRatio) || 16 / 9,
87
87
  altText: `Image for ${t.title}`
88
88
  }
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.1.10",
2
+ "version": "1.1.11-alpha.0",
3
3
  "name": "@scrippsproduct/networks-ui-library",
4
4
  "description": "React Component Library for use in Scripps Networks external applications",
5
5
  "author": {
@@ -66,6 +66,7 @@
66
66
  "@vitejs/plugin-react": "^4.3.1",
67
67
  "@vitest/ui": "3.2.4",
68
68
  "babel-preset-react-app": "^10.0.1",
69
+ "baseline-browser-mapping": "^2.9.15",
69
70
  "cross-env": "^7.0.3",
70
71
  "eslint": "^9.32.0",
71
72
  "eslint-plugin-react-hooks": "^5.1.0-rc.0",
@@ -1,14 +0,0 @@
1
- import './assets/ResultsTable.css';const _ = {
2
- "results-table": "_results-table_8gs3t_1",
3
- "results-table__row": "_results-table__row_8gs3t_4",
4
- "results-table__item": "_results-table__item_8gs3t_9",
5
- "results-table__header": "_results-table__header_8gs3t_9",
6
- "results-table__mobile-label": "_results-table__mobile-label_8gs3t_24",
7
- "results-table__no-results": "_results-table__no-results_8gs3t_34",
8
- "results-table--compact": "_results-table--compact_8gs3t_40",
9
- "results-table__header-row": "_results-table__header-row_8gs3t_52",
10
- "fade-in__wrapper": "_fade-in__wrapper_8gs3t_115"
11
- };
12
- export {
13
- _ as s
14
- };