@scrippsproduct/networks-ui-library 2.0.8 → 2.0.9
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/components/ActionButton/ActionButton.test.js +3 -3
- package/dist/components/AdBlock/AdBlock.test.js +2 -2
- package/dist/components/AdjustableTwoColumnGrid/AdjustableTwoColumnGrid.test.js +2 -2
- package/dist/components/AirDateFormatter/AirDateFormatter.test.js +2 -2
- package/dist/components/AnchorTag/AnchorTag.test.js +3 -3
- package/dist/components/BCVideoPlayer/BCVideoPlayer.test.js +2 -2
- package/dist/components/BasicGridModule/BasicGridModule.test.js +2 -2
- package/dist/components/Button/Button.test.js +3 -3
- package/dist/components/ButtonAnchor/ButtonAnchor.test.js +3 -3
- package/dist/components/Carousel/Carousel.suspense-regression.test.js +2 -2
- package/dist/components/Carousel/Carousel.test.js +2 -2
- package/dist/components/Carousel/navigations/Pagination.test.js +2 -2
- package/dist/components/CarouselSlide/CarouselSlide.test.js +2 -2
- package/dist/components/CarouselSlide/slide-layouts/TwoColumn/TwoColumnSlide.js +1 -1
- package/dist/components/CastInfoLayout/CastInfoLayout.test.js +2 -2
- package/dist/components/ChannelSearch/ChannelSearch.test.js +2 -2
- package/dist/components/ChoicesItem/ChoicesItem.test.js +2 -2
- package/dist/components/Concat/Concat.js +1 -1
- package/dist/components/Concat/Concat.test.js +2 -2
- package/dist/components/CtaBlock/CtaBlock.js +1 -1
- package/dist/components/CtaBlock/CtaBlock.test.js +3 -3
- package/dist/components/CustomSelect/CustomSelect.test.js +3 -3
- package/dist/components/DateNavigation/DateNavigation.test.js +3 -3
- package/dist/components/DatePicker/DatePicker.js +2309 -2324
- package/dist/components/DeviceAndPlatformLists/DeviceAndPlatformLists.test.js +2 -2
- package/dist/components/DrawerNavigation/DrawerNavigation.test.js +3 -3
- package/dist/components/EqualSizeFlexRow/EqualSizeFlexRow.test.js +2 -2
- package/dist/components/EqualSizeGrid/EqualSizeGrid.test.js +2 -2
- package/dist/components/ErrorHandler/ErrorHandler.js +1 -1
- package/dist/components/ErrorHandler/ErrorHandler.test.js +2 -2
- package/dist/components/FeaturedList/FeaturedList.test.js +3 -3
- package/dist/components/Figure/Figure.js +1 -1
- package/dist/components/Figure/Figure.test.js +2 -2
- package/dist/components/FindUs/FindUs.test.js +2 -2
- package/dist/components/FooterNavigation/FooterNavigation.test.js +2 -2
- package/dist/components/GenericList/GenericList.js +1 -1
- package/dist/components/GenericList/GenericList.test.js +2 -2
- package/dist/components/GetAirdateWrapper/GetAirdateWrapper.test.js +2 -2
- package/dist/components/GradientButton/GradientButton.test.js +2 -2
- package/dist/components/GridList/GridList.test.js +1 -1
- package/dist/components/ImageCard/ImageCard.test.js +2 -2
- package/dist/components/ImageCard/ImageCardCore.js +1 -1
- package/dist/components/ImageCard/ImageCardCore.test.js +2 -2
- package/dist/components/ImageReplacementAnchor/ImageReplacementAnchor.test.js +1 -1
- package/dist/components/InlineNavigation/InlineNavigation.test.js +1 -1
- package/dist/components/Input/Input.test.js +2 -2
- package/dist/components/InstructionsList/InstructionsList.js +1 -1
- package/dist/components/InstructionsList/InstructionsList.test.js +1 -1
- package/dist/components/LogoListItem/LogoListItem.test.js +1 -1
- package/dist/components/LogoNavigation/LogoNavigation.test.js +1 -1
- package/dist/components/ModalContainer/ModalContainer.js +1 -1
- package/dist/components/NavList/NavList.test.js +2 -2
- package/dist/components/Overlay/Overlay.js +1 -1
- package/dist/components/Overlay/Overlay.test.js +1 -1
- package/dist/components/PageHero/PageHero.test.js +1 -1
- package/dist/components/PageHero/page-hero-layouts/IONShow/IONShowHero.js +1 -1
- package/dist/components/ProgramAirdate/ProgramAirdate.js +1 -1
- package/dist/components/ProgramAirdate/ProgramAirdate.test.js +1 -1
- package/dist/components/PromotionsRowBlock/PromotionsRowBlock.test.js +2 -2
- package/dist/components/PromotionsRowModule/PromotionsRowModule.js +1 -1
- package/dist/components/PromotionsRowModule/PromotionsRowModule.test.js +2 -2
- package/dist/components/RescanInstructions/RescanInstructions.test.js +1 -1
- package/dist/components/ResponsiveImage/ResponsiveImage.test.js +2 -2
- package/dist/components/ResultsTable/ResultsTable.test.js +1 -1
- package/dist/components/ResultsTableBody/ResultsTableBody.test.js +1 -1
- package/dist/components/ResultsTableHeader/ResultsTableHeader.test.js +1 -1
- package/dist/components/ScheduleLayout/ScheduleContext.js +1893 -1123
- package/dist/components/SectionedContent/SectionedContent.js +1 -1
- package/dist/components/SectionedContent/SectionedContent.test.js +2 -2
- package/dist/components/Select/Select.test.js +2 -2
- package/dist/components/ShowAboutContent/ShowAboutContent.js +1 -1
- package/dist/components/ShowAboutContent/ShowAboutContent.test.js +2 -2
- package/dist/components/ShowAboutLayout/ShowAboutLayout.test.js +2 -2
- package/dist/components/StringList/StringList.js +1 -1
- package/dist/components/StringList/StringList.test.js +1 -1
- package/dist/components/TabContent/TabContent.js +1 -1
- package/dist/components/TabContent/TabContent.test.js +1 -1
- package/dist/components/TabNavigation/TabNavigation.test.js +1 -1
- package/dist/components/TabbedContent/TabbedContent.test.js +1 -1
- package/dist/components/UpcomingList/UpcomingList.test.js +2 -2
- package/dist/index-BCErBUQT.mjs +3 -0
- package/dist/{index-sxnwPHiC.mjs → index-CHzqLQze.mjs} +181 -166
- package/dist/index-DnEp_Vsr.mjs +3085 -0
- package/dist/{index-5kXULIVv.mjs → index-DrfkaNHX.mjs} +16 -16
- package/dist/{magic-string.es-uPKorP4O.mjs → magic-string.es-DDAFx1CP.mjs} +93 -93
- package/dist/matchers-35e4d3bd-CfhTZpyY.mjs +2572 -0
- package/dist/react.esm-CX7MGXBg.mjs +52738 -0
- package/dist/src/icons/Facebook.d.ts +2 -1
- package/dist/src/icons/Tiktok.d.ts +2 -1
- package/dist/src/icons/Twitter.d.ts +2 -1
- package/dist/src/utils/analytics.d.ts +24 -5
- package/dist/test/setupTests.js +2 -2
- package/dist/utils/analytics.js +247 -446
- package/package.json +3 -3
- package/dist/index-B03xsUba.mjs +0 -3
- package/dist/index-C-uizG4-.mjs +0 -3098
- package/dist/matchers-35e4d3bd-BckKR3wh.mjs +0 -2404
- package/dist/react.esm-CUNRDkfQ.mjs +0 -49632
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
1
2
|
export default Facebook;
|
|
2
3
|
declare function Facebook({ stroke, strokeWidth, strokeLinecap, strokeLinejoin, fill, size, viewBox, style, ref, ...rest }: {
|
|
3
4
|
[x: string]: any;
|
|
@@ -10,4 +11,4 @@ declare function Facebook({ stroke, strokeWidth, strokeLinecap, strokeLinejoin,
|
|
|
10
11
|
viewBox?: string | undefined;
|
|
11
12
|
style?: null | undefined;
|
|
12
13
|
ref?: undefined;
|
|
13
|
-
}):
|
|
14
|
+
}): React.JSX.Element;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
1
2
|
export default Tiktok;
|
|
2
3
|
declare function Tiktok({ stroke, strokeWidth, strokeLinecap, strokeLinejoin, fill, size, viewBox, style, ref, ...rest }: {
|
|
3
4
|
[x: string]: any;
|
|
@@ -12,4 +13,4 @@ declare function Tiktok({ stroke, strokeWidth, strokeLinecap, strokeLinejoin, fi
|
|
|
12
13
|
transform: string;
|
|
13
14
|
} | undefined;
|
|
14
15
|
ref?: undefined;
|
|
15
|
-
}):
|
|
16
|
+
}): React.JSX.Element;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
1
2
|
export default Twitter;
|
|
2
3
|
declare function Twitter({ stroke, strokeWidth, strokeLinecap, strokeLinejoin, fill, size, viewBox, style, ref, ...rest }: {
|
|
3
4
|
[x: string]: any;
|
|
@@ -12,4 +13,4 @@ declare function Twitter({ stroke, strokeWidth, strokeLinecap, strokeLinejoin, f
|
|
|
12
13
|
transform: string;
|
|
13
14
|
} | undefined;
|
|
14
15
|
ref?: undefined;
|
|
15
|
-
}):
|
|
16
|
+
}): React.JSX.Element;
|
|
@@ -1,6 +1,25 @@
|
|
|
1
|
+
interface InitializeAnalyticsOptions {
|
|
2
|
+
/**
|
|
3
|
+
* When false, suppresses GA4's automatic page_view on the initial `config` call so the app
|
|
4
|
+
* sends every page view itself via `sendPageView` — giving accurate page titles on SPA route
|
|
5
|
+
* changes. Defaults to true, preserving existing behavior for sites that rely on the
|
|
6
|
+
* automatic page view.
|
|
7
|
+
*/
|
|
8
|
+
autoPageView?: boolean;
|
|
9
|
+
}
|
|
1
10
|
/**
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
export declare const initializeAnalytics: (brand: string, env: string | undefined, gaMeasurementId: string) => void;
|
|
11
|
+
* Initializes Google Analytics 4 (GA4) using the Google Analytics Measurement ID from env variables.
|
|
12
|
+
* It sets up GA4 only if the application is running in the staging or production environment.
|
|
13
|
+
* Staging and production environments will have their own unique Measurement ID.
|
|
14
|
+
*/
|
|
15
|
+
export declare const initializeAnalytics: (brand: string, env: string | undefined, gaMeasurementId: string, options?: InitializeAnalyticsOptions) => void;
|
|
16
|
+
/**
|
|
17
|
+
* Sends a GA4 page_view. Call on every navigation, including the first, when analytics was
|
|
18
|
+
* initialized with `{ autoPageView: false }`. No-ops when GA4 was not initialized, so it is safe
|
|
19
|
+
* to call unconditionally from local and development environments.
|
|
20
|
+
*
|
|
21
|
+
* @param path Path with query string. Defaults to the current location.
|
|
22
|
+
* @param title Page title. Defaults to `document.title`.
|
|
23
|
+
*/
|
|
24
|
+
export declare const sendPageView: (path?: string, title?: string) => void;
|
|
25
|
+
export {};
|
package/dist/test/setupTests.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { g as t, v as e, a as s, h as o } from "../react.esm-
|
|
2
|
-
import { t as n, a as r, b as i, c as l, d as c, f as v, g as d, h as m, i as p, j as H, k as f, l as B, m as u, n as b, o as E, p as h, q as y, r as g, s as A, u as D, v as C, w as M, x as P, y as L, z as O, A as T, B as V, C as j, D as k, E as w, F as x, G as I, H as S } from "../matchers-35e4d3bd-
|
|
1
|
+
import { g as t, v as e, a as s, h as o } from "../react.esm-CX7MGXBg.mjs";
|
|
2
|
+
import { t as n, a as r, b as i, c as l, d as c, f as v, g as d, h as m, i as p, j as H, k as f, l as B, m as u, n as b, o as E, p as h, q as y, r as g, s as A, u as D, v as C, w as M, x as P, y as L, z as O, A as T, B as V, C as j, D as k, E as w, F as x, G as I, H as S } from "../matchers-35e4d3bd-CfhTZpyY.mjs";
|
|
3
3
|
const _ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4
4
|
__proto__: null,
|
|
5
5
|
toAppearAfter: n,
|