@scrippsproduct/networks-ui-library 1.0.23 → 1.1.0-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 (99) hide show
  1. package/dist/{Form.module-DbpB9u1l.mjs → Form.module-Cd8qH2rj.mjs} +1 -1
  2. package/dist/{ResultsTable.module-nTlGw9Lh.mjs → ResultsTable.module-B7M9y7hd.mjs} +1 -5
  3. package/dist/_commonjsHelpers-C6fGbg64.mjs +6 -0
  4. package/dist/{add-FrnMPwwO.mjs → add-UWUc_nrO.mjs} +2 -2
  5. package/dist/{addMonths-BDf46gmB.mjs → addMonths-FatsTLmU.mjs} +1 -1
  6. package/dist/assets/AdBlock.css +1 -1
  7. package/dist/assets/ChannelSearch.css +1 -1
  8. package/dist/assets/DateNavigation.css +1 -1
  9. package/dist/assets/DatePicker.css +1 -1
  10. package/dist/assets/DeviceAndPlatformLists.css +1 -1
  11. package/dist/assets/EqualSizeFlexRow.css +1 -1
  12. package/dist/assets/EqualSizeGrid.css +1 -1
  13. package/dist/assets/FeaturedList.css +1 -1
  14. package/dist/assets/FindUs.css +1 -1
  15. package/dist/assets/Form.css +1 -1
  16. package/dist/assets/GridList.css +1 -1
  17. package/dist/assets/IONShowHero.css +1 -1
  18. package/dist/assets/ImageCard.css +1 -1
  19. package/dist/assets/LogoListItem.css +1 -1
  20. package/dist/assets/ModalContainer.css +1 -1
  21. package/dist/assets/PageHero.css +1 -1
  22. package/dist/assets/ProgramAirdate.css +1 -1
  23. package/dist/assets/PromotionBlock.css +1 -1
  24. package/dist/assets/ResultsTable.css +1 -1
  25. package/dist/{chevron-left-DmvQntvu.mjs → chevron-left-DRvpaLmK.mjs} +1 -1
  26. package/dist/{chevron-right-CaAz6ISN.mjs → chevron-right-C8yCnmfx.mjs} +1 -1
  27. package/dist/components/AirDateFormatter/AirDateFormatter.js +3 -3
  28. package/dist/components/BasicGridModule/BasicGridModule.js +25 -25
  29. package/dist/components/Carousel/Carousel.js +8 -8
  30. package/dist/components/CarouselSlide/slide-layouts/TwoColumn/TwoColumnSlide.js +1 -1
  31. package/dist/components/CastInfoLayout/CastInfoLayout.js +1 -1
  32. package/dist/components/ChannelSearch/ChannelSearch.js +12 -12
  33. package/dist/components/Concat/Concat.js +1 -1
  34. package/dist/components/CtaBlock/CtaBlock.js +2 -2
  35. package/dist/components/CustomDataList/CustomDataList.js +44 -47
  36. package/dist/components/CustomSelect/CustomSelect.js +5 -5
  37. package/dist/components/DateNavigation/DateNavigation.js +7 -8
  38. package/dist/components/DatePicker/DatePicker.js +2527 -2452
  39. package/dist/components/DeviceAndPlatformLists/DeviceAndPlatformLists.js +1 -1
  40. package/dist/components/DrawerNavigation/DrawerNavigation.js +27 -29
  41. package/dist/components/ErrorHandler/ErrorHandler.js +1 -1
  42. package/dist/components/FeaturedList/FeaturedList.js +7 -7
  43. package/dist/components/Figure/Figure.js +1 -1
  44. package/dist/components/FindUs/FindUs.js +6 -6
  45. package/dist/components/GenericList/GenericList.js +1 -1
  46. package/dist/components/GetAirdateWrapper/GetAirdateWrapper.js +6 -6
  47. package/dist/components/ImageCard/ImageCard.js +6 -6
  48. package/dist/components/ImageCard/ImageCardCore.js +1 -1
  49. package/dist/components/InfoPanel/InfoPanel.js +15 -16
  50. package/dist/components/InlineNavigation/InlineNavigation.js +6 -7
  51. package/dist/components/Input/Input.js +1 -1
  52. package/dist/components/InstructionsList/InstructionsList.js +1 -1
  53. package/dist/components/Loading/Loading.js +5 -8
  54. package/dist/components/ModalContainer/ModalContainer.js +41 -44
  55. package/dist/components/Overlay/Overlay.js +17 -20
  56. package/dist/components/PageHero/page-hero-layouts/IONShow/IONShowHero.js +1 -1
  57. package/dist/components/ProgramAirdate/ProgramAirdate.js +9 -9
  58. package/dist/components/PromotionBlock/PromotionBlock.js +15 -17
  59. package/dist/components/PromotionsRowModule/PromotionsRowModule.js +8 -8
  60. package/dist/components/ResultsTable/ResultsTable.js +7 -7
  61. package/dist/components/ResultsTableBody/ResultsTableBody.js +1 -1
  62. package/dist/components/ResultsTableHeader/ResultsTableHeader.js +1 -1
  63. package/dist/components/ScheduleLayout/ScheduleLayout.js +2 -2
  64. package/dist/components/ScheduleList/ScheduleList.js +8 -8
  65. package/dist/components/ScheduleList/schedule-list-items/MovieItem.js +10 -10
  66. package/dist/components/ScheduleList/schedule-list-items/SeriesItem.js +8 -8
  67. package/dist/components/ScheduleList/schedule-list-items/SportsItem.js +8 -8
  68. package/dist/components/SectionedContent/SectionedContent.js +13 -16
  69. package/dist/components/Select/Select.js +1 -1
  70. package/dist/components/ShowAboutContent/ShowAboutContent.js +1 -1
  71. package/dist/components/ShowAboutLayout/ShowAboutLayout.js +24 -25
  72. package/dist/components/SocialLinks/SocialLinks.js +3 -3
  73. package/dist/components/SocialShareBlock/SocialShareBlock.js +8 -8
  74. package/dist/components/StringList/StringList.js +1 -1
  75. package/dist/components/TabContent/TabContent.js +1 -1
  76. package/dist/components/TextArea/TextArea.js +1 -1
  77. package/dist/components/UpcomingList/UpcomingList.js +8 -8
  78. package/dist/containers/NowPlayingContainer.js +10 -10
  79. package/dist/{facebook-osmzgL7R.mjs → facebook-HCcA1M1m.mjs} +1 -1
  80. package/dist/{format-plq8pBNY.mjs → format-YhWt2D8M.mjs} +78 -12
  81. package/dist/hooks/useGetSchedule.js +3 -3
  82. package/dist/hooks/useGetUpcoming.js +2 -2
  83. package/dist/{index-C8O1hjfH.mjs → index-0wieGV50.mjs} +0 -1
  84. package/dist/{index-DC7FmJPK.mjs → index-C-kn9Zhn.mjs} +7134 -7069
  85. package/dist/{index-CZzwT3Oj.mjs → index-DC2JJV3a.mjs} +246 -241
  86. package/dist/index-VjANCDXC.mjs +1873 -0
  87. package/dist/{sub-CkNH5u-l.mjs → sub-CoUmnfhv.mjs} +2 -2
  88. package/dist/{subMonths-nbU1oDhB.mjs → subMonths-BtMU5A9u.mjs} +1 -1
  89. package/dist/{triangle-D0AHL9lB.mjs → triangle-PcCcGXjr.mjs} +1 -1
  90. package/dist/utils/analytics.js +434 -423
  91. package/dist/utils/date-helpers.js +4 -4
  92. package/dist/utils/getFeaturedList.js +3 -3
  93. package/dist/utils/getOnNowProgram.js +3 -3
  94. package/dist/utils/getUpcomingPrograms.js +2 -2
  95. package/dist/{x-D8_C2o-U.mjs → x-C-QzJ-qD.mjs} +1 -1
  96. package/package.json +22 -24
  97. package/dist/_commonjsHelpers-DaMA6jEr.mjs +0 -8
  98. package/dist/index-B0ARwqly.mjs +0 -1818
  99. /package/dist/{networks-ui.d.ts → secl-ui.d.ts} +0 -0
@@ -1,8 +1,8 @@
1
- import { a as u } from "../add-FrnMPwwO.mjs";
2
- import { f as i } from "../format-plq8pBNY.mjs";
3
- import { s as w } from "../sub-CkNH5u-l.mjs";
1
+ import { a as u } from "../add-UWUc_nrO.mjs";
2
+ import { f as i } from "../format-YhWt2D8M.mjs";
3
+ import { s as w } from "../sub-CoUmnfhv.mjs";
4
4
  import { convert12to24 as h } from "./helpers.js";
5
- import { g } from "../index-C8O1hjfH.mjs";
5
+ import { g } from "../index-0wieGV50.mjs";
6
6
  const S = () => {
7
7
  const n = /* @__PURE__ */ new Date();
8
8
  let e = n.toLocaleString("en-US", { timeZone: "America/New_York" }), [r, t] = e.split(",");
@@ -1,7 +1,7 @@
1
- import { a as M } from "../add-FrnMPwwO.mjs";
2
- import { f as _ } from "../format-plq8pBNY.mjs";
1
+ import { a as M } from "../add-UWUc_nrO.mjs";
2
+ import { f as _ } from "../format-YhWt2D8M.mjs";
3
3
  import { determineSeriesPrefix as w } from "./program-helpers.js";
4
- import { g as k } from "../index-C8O1hjfH.mjs";
4
+ import { g as k } from "../index-0wieGV50.mjs";
5
5
  const D = /* @__PURE__ */ new Date(), T = /* @__PURE__ */ new Map([
6
6
  ["series", "Episode"],
7
7
  ["movies", "Film"],
@@ -1,9 +1,9 @@
1
- import { a as U } from "../add-FrnMPwwO.mjs";
2
- import { f as Y } from "../format-plq8pBNY.mjs";
1
+ import { a as U } from "../add-UWUc_nrO.mjs";
2
+ import { f as Y } from "../format-YhWt2D8M.mjs";
3
3
  import { getCurrentEasternProgrammingDateStr as V, determineIfShowIsOnNow as Z } from "./date-helpers.js";
4
4
  import { convert12to24 as d } from "./helpers.js";
5
5
  import { determineSeriesPrefix as B, determineSeasonNumberFromSeriesPrefix as D, determineEpisodeNumber as G } from "./series-helpers.js";
6
- import { g as J } from "../index-C8O1hjfH.mjs";
6
+ import { g as J } from "../index-0wieGV50.mjs";
7
7
  const H = /* @__PURE__ */ new Date(`${V()}T00:00:00`), Q = (o) => {
8
8
  const n = o.substring(0, o.lastIndexOf("S") - 1);
9
9
  return n === "" ? o : n;
@@ -1,5 +1,5 @@
1
- import { a as f } from "../add-FrnMPwwO.mjs";
2
- import { f as c } from "../format-plq8pBNY.mjs";
1
+ import { a as f } from "../add-UWUc_nrO.mjs";
2
+ import { f as c } from "../format-YhWt2D8M.mjs";
3
3
  const l = async (t, o = "series", r, i, s) => {
4
4
  const a = /* @__PURE__ */ new Map([
5
5
  ["series", `series_prefix__icontains=${t}`],
@@ -1,5 +1,5 @@
1
1
  import l, { forwardRef as c } from "react";
2
- import { P as a } from "./index-CZzwT3Oj.mjs";
2
+ import { P as a } from "./index-DC2JJV3a.mjs";
3
3
  function f() {
4
4
  return f = Object.assign || function(e) {
5
5
  for (var o = 1; o < arguments.length; o++) {
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.0.23",
2
+ "version": "1.1.0-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": {
@@ -9,7 +9,7 @@
9
9
  "private": false,
10
10
  "engines": {
11
11
  "node": ">=20.0.0",
12
- "npm": ">=10.0.0"
12
+ "npm": ">=10.0.0"
13
13
  },
14
14
  "main": "dist/index.js",
15
15
  "files": [
@@ -23,7 +23,8 @@
23
23
  "storybook": "storybook dev -p 6006 --no-open",
24
24
  "build-storybook": "storybook build",
25
25
  "chromatic": "npx chromatic --project-token=f011f556f41a",
26
- "create-component": "node scripts/componentFolderBuilder.js"
26
+ "create-component": "node scripts/componentFolderBuilder.js",
27
+ "reinstall-deps": "node ./reinstall-deps.js"
27
28
  },
28
29
  "dependencies": {
29
30
  "date-fns": "^3.6.0",
@@ -42,33 +43,30 @@
42
43
  "@babel/cli": "^7.24.7",
43
44
  "@babel/preset-env": "^7.24.7",
44
45
  "@babel/preset-react": "^7.24.7",
45
- "@chromatic-com/storybook": "^1.6.0",
46
- "@storybook/addon-essentials": "^8.1.11",
47
- "@storybook/addon-interactions": "^8.1.11",
48
- "@storybook/addon-links": "^8.1.11",
49
- "@storybook/addon-onboarding": "^8.1.11",
50
- "@storybook/blocks": "^8.1.11",
51
- "@storybook/react": "^8.1.11",
52
- "@storybook/react-vite": "^8.1.11",
53
- "@storybook/test": "^8.1.11",
46
+ "@chromatic-com/storybook": "^4.1.1",
47
+ "@scrippsproduct/console-logger": "1.0.11",
48
+ "@scrippsproduct/linter-configs": "0.0.7",
49
+ "@storybook/addon-docs": "^9.1.13",
50
+ "@storybook/addon-links": "^9.1.13",
51
+ "@storybook/react-vite": "^9.1.13",
54
52
  "@types/glob": "^8.1.0",
55
53
  "@types/react": "^18.3.3",
56
54
  "@types/react-dom": "^18.3.0",
57
- "@typescript-eslint/eslint-plugin": "^7.13.1",
58
- "@typescript-eslint/parser": "^7.13.1",
55
+ "@typescript-eslint/eslint-plugin": "^8.46.3",
56
+ "@typescript-eslint/parser": "^8.46.3",
59
57
  "@vitejs/plugin-react": "^4.3.1",
60
58
  "babel-preset-react-app": "^10.0.1",
61
59
  "cross-env": "^7.0.3",
62
- "eslint": "^8.57.0",
63
- "eslint-plugin-react-hooks": "^4.6.2",
64
- "eslint-plugin-react-refresh": "^0.4.7",
65
- "eslint-plugin-storybook": "^0.8.0",
66
- "storybook": "^8.1.11",
67
- "typescript": "^5.2.2",
68
- "vite": "^5.3.1",
69
- "vite-plugin-dts": "^4.0.1",
70
- "vite-plugin-lib-inject-css": "^2.1.1",
71
- "vite-tsconfig-paths": "^4.3.2"
60
+ "eslint": "^9.32.0",
61
+ "eslint-plugin-react-hooks": "^5.1.0-rc.0",
62
+ "eslint-plugin-react-refresh": "^0.4.9",
63
+ "eslint-plugin-storybook": "^9.1.13",
64
+ "storybook": "^9.1.13",
65
+ "typescript": "^5.8.2",
66
+ "vite": "^6.4.1",
67
+ "vite-plugin-dts": "^4.5.4",
68
+ "vite-plugin-lib-inject-css": "^2.2.2",
69
+ "vite-tsconfig-paths": "^5.1.4"
72
70
  },
73
71
  "eslintConfig": {
74
72
  "extends": [
@@ -1,8 +0,0 @@
1
- var o = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
2
- function l(e) {
3
- return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
4
- }
5
- export {
6
- o as c,
7
- l as g
8
- };