@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.
- package/dist/{Form.module-DbpB9u1l.mjs → Form.module-Cd8qH2rj.mjs} +1 -1
- package/dist/{ResultsTable.module-nTlGw9Lh.mjs → ResultsTable.module-B7M9y7hd.mjs} +1 -5
- package/dist/_commonjsHelpers-C6fGbg64.mjs +6 -0
- package/dist/{add-FrnMPwwO.mjs → add-UWUc_nrO.mjs} +2 -2
- package/dist/{addMonths-BDf46gmB.mjs → addMonths-FatsTLmU.mjs} +1 -1
- package/dist/assets/AdBlock.css +1 -1
- package/dist/assets/ChannelSearch.css +1 -1
- package/dist/assets/DateNavigation.css +1 -1
- package/dist/assets/DatePicker.css +1 -1
- package/dist/assets/DeviceAndPlatformLists.css +1 -1
- package/dist/assets/EqualSizeFlexRow.css +1 -1
- package/dist/assets/EqualSizeGrid.css +1 -1
- package/dist/assets/FeaturedList.css +1 -1
- package/dist/assets/FindUs.css +1 -1
- package/dist/assets/Form.css +1 -1
- package/dist/assets/GridList.css +1 -1
- package/dist/assets/IONShowHero.css +1 -1
- package/dist/assets/ImageCard.css +1 -1
- package/dist/assets/LogoListItem.css +1 -1
- package/dist/assets/ModalContainer.css +1 -1
- package/dist/assets/PageHero.css +1 -1
- package/dist/assets/ProgramAirdate.css +1 -1
- package/dist/assets/PromotionBlock.css +1 -1
- package/dist/assets/ResultsTable.css +1 -1
- package/dist/{chevron-left-DmvQntvu.mjs → chevron-left-DRvpaLmK.mjs} +1 -1
- package/dist/{chevron-right-CaAz6ISN.mjs → chevron-right-C8yCnmfx.mjs} +1 -1
- package/dist/components/AirDateFormatter/AirDateFormatter.js +3 -3
- package/dist/components/BasicGridModule/BasicGridModule.js +25 -25
- package/dist/components/Carousel/Carousel.js +8 -8
- package/dist/components/CarouselSlide/slide-layouts/TwoColumn/TwoColumnSlide.js +1 -1
- package/dist/components/CastInfoLayout/CastInfoLayout.js +1 -1
- package/dist/components/ChannelSearch/ChannelSearch.js +12 -12
- package/dist/components/Concat/Concat.js +1 -1
- package/dist/components/CtaBlock/CtaBlock.js +2 -2
- package/dist/components/CustomDataList/CustomDataList.js +44 -47
- package/dist/components/CustomSelect/CustomSelect.js +5 -5
- package/dist/components/DateNavigation/DateNavigation.js +7 -8
- package/dist/components/DatePicker/DatePicker.js +2527 -2452
- package/dist/components/DeviceAndPlatformLists/DeviceAndPlatformLists.js +1 -1
- package/dist/components/DrawerNavigation/DrawerNavigation.js +27 -29
- package/dist/components/ErrorHandler/ErrorHandler.js +1 -1
- package/dist/components/FeaturedList/FeaturedList.js +7 -7
- package/dist/components/Figure/Figure.js +1 -1
- package/dist/components/FindUs/FindUs.js +6 -6
- package/dist/components/GenericList/GenericList.js +1 -1
- package/dist/components/GetAirdateWrapper/GetAirdateWrapper.js +6 -6
- package/dist/components/ImageCard/ImageCard.js +6 -6
- package/dist/components/ImageCard/ImageCardCore.js +1 -1
- package/dist/components/InfoPanel/InfoPanel.js +15 -16
- package/dist/components/InlineNavigation/InlineNavigation.js +6 -7
- package/dist/components/Input/Input.js +1 -1
- package/dist/components/InstructionsList/InstructionsList.js +1 -1
- package/dist/components/Loading/Loading.js +5 -8
- package/dist/components/ModalContainer/ModalContainer.js +41 -44
- package/dist/components/Overlay/Overlay.js +17 -20
- package/dist/components/PageHero/page-hero-layouts/IONShow/IONShowHero.js +1 -1
- package/dist/components/ProgramAirdate/ProgramAirdate.js +9 -9
- package/dist/components/PromotionBlock/PromotionBlock.js +15 -17
- package/dist/components/PromotionsRowModule/PromotionsRowModule.js +8 -8
- package/dist/components/ResultsTable/ResultsTable.js +7 -7
- package/dist/components/ResultsTableBody/ResultsTableBody.js +1 -1
- package/dist/components/ResultsTableHeader/ResultsTableHeader.js +1 -1
- package/dist/components/ScheduleLayout/ScheduleLayout.js +2 -2
- package/dist/components/ScheduleList/ScheduleList.js +8 -8
- package/dist/components/ScheduleList/schedule-list-items/MovieItem.js +10 -10
- package/dist/components/ScheduleList/schedule-list-items/SeriesItem.js +8 -8
- package/dist/components/ScheduleList/schedule-list-items/SportsItem.js +8 -8
- package/dist/components/SectionedContent/SectionedContent.js +13 -16
- package/dist/components/Select/Select.js +1 -1
- package/dist/components/ShowAboutContent/ShowAboutContent.js +1 -1
- package/dist/components/ShowAboutLayout/ShowAboutLayout.js +24 -25
- package/dist/components/SocialLinks/SocialLinks.js +3 -3
- package/dist/components/SocialShareBlock/SocialShareBlock.js +8 -8
- package/dist/components/StringList/StringList.js +1 -1
- package/dist/components/TabContent/TabContent.js +1 -1
- package/dist/components/TextArea/TextArea.js +1 -1
- package/dist/components/UpcomingList/UpcomingList.js +8 -8
- package/dist/containers/NowPlayingContainer.js +10 -10
- package/dist/{facebook-osmzgL7R.mjs → facebook-HCcA1M1m.mjs} +1 -1
- package/dist/{format-plq8pBNY.mjs → format-YhWt2D8M.mjs} +78 -12
- package/dist/hooks/useGetSchedule.js +3 -3
- package/dist/hooks/useGetUpcoming.js +2 -2
- package/dist/{index-C8O1hjfH.mjs → index-0wieGV50.mjs} +0 -1
- package/dist/{index-DC7FmJPK.mjs → index-C-kn9Zhn.mjs} +7134 -7069
- package/dist/{index-CZzwT3Oj.mjs → index-DC2JJV3a.mjs} +246 -241
- package/dist/index-VjANCDXC.mjs +1873 -0
- package/dist/{sub-CkNH5u-l.mjs → sub-CoUmnfhv.mjs} +2 -2
- package/dist/{subMonths-nbU1oDhB.mjs → subMonths-BtMU5A9u.mjs} +1 -1
- package/dist/{triangle-D0AHL9lB.mjs → triangle-PcCcGXjr.mjs} +1 -1
- package/dist/utils/analytics.js +434 -423
- package/dist/utils/date-helpers.js +4 -4
- package/dist/utils/getFeaturedList.js +3 -3
- package/dist/utils/getOnNowProgram.js +3 -3
- package/dist/utils/getUpcomingPrograms.js +2 -2
- package/dist/{x-D8_C2o-U.mjs → x-C-QzJ-qD.mjs} +1 -1
- package/package.json +22 -24
- package/dist/_commonjsHelpers-DaMA6jEr.mjs +0 -8
- package/dist/index-B0ARwqly.mjs +0 -1818
- /package/dist/{networks-ui.d.ts → secl-ui.d.ts} +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { a as u } from "../add-
|
|
2
|
-
import { f as i } from "../format-
|
|
3
|
-
import { s as w } from "../sub-
|
|
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-
|
|
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-
|
|
2
|
-
import { f as _ } from "../format-
|
|
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-
|
|
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-
|
|
2
|
-
import { f as Y } from "../format-
|
|
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-
|
|
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-
|
|
2
|
-
import { f as c } from "../format-
|
|
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}`],
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "1.0.
|
|
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.
|
|
46
|
-
"@
|
|
47
|
-
"@
|
|
48
|
-
"@storybook/addon-
|
|
49
|
-
"@storybook/addon-
|
|
50
|
-
"@storybook/
|
|
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": "^
|
|
58
|
-
"@typescript-eslint/parser": "^
|
|
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": "^
|
|
63
|
-
"eslint-plugin-react-hooks": "^
|
|
64
|
-
"eslint-plugin-react-refresh": "^0.4.
|
|
65
|
-
"eslint-plugin-storybook": "^
|
|
66
|
-
"storybook": "^
|
|
67
|
-
"typescript": "^5.
|
|
68
|
-
"vite": "^
|
|
69
|
-
"vite-plugin-dts": "^4.
|
|
70
|
-
"vite-plugin-lib-inject-css": "^2.
|
|
71
|
-
"vite-tsconfig-paths": "^
|
|
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
|
-
};
|