@20minutes/tyr 2.19.7 → 2.19.8
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/css/tvshowPage-desktop-critical.css +1 -1
- package/dist/css/tvshowPage-desktop-no-critical.css +1 -1
- package/dist/index.es.js +2353 -2347
- package/dist/index.umd.js +61 -61
- package/dist/src/pages/TvShowPage/TvShowPage.d.ts +1 -0
- package/dist/src/pages/TvShowPage/TvShowPage.stories.d.ts +2 -1
- package/dist/src/types/ComponentConfig.d.ts +2 -2
- package/dist/src/types/PageConfig.d.ts +1 -1
- package/package.json +2 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HeaderProps, LayoutType } from '@20minutes/hela';
|
|
2
2
|
import { default as React } from 'react';
|
|
3
|
-
import { MetaProps, ShowPageTopBlockProps, ShowsReplaysCarouselProps, TvMostBlockProps } from '../../components';
|
|
3
|
+
import { MetaProps, ShowPageTopBlockProps, ShowsReplaysCarouselProps, TvExtractsAndReplaysBlockProps, TvMostBlockProps } from '../../components';
|
|
4
4
|
import { StoryObj } from '@storybook/react-vite';
|
|
5
5
|
declare const meta: {
|
|
6
6
|
title: string;
|
|
@@ -39,6 +39,7 @@ declare const meta: {
|
|
|
39
39
|
topBlock: React.FunctionComponentElement<ShowPageTopBlockProps>;
|
|
40
40
|
showsReplaysCarousel: React.FunctionComponentElement<ShowsReplaysCarouselProps>;
|
|
41
41
|
mostBlock: React.FunctionComponentElement<TvMostBlockProps>;
|
|
42
|
+
extractsAndReplays: React.FunctionComponentElement<TvExtractsAndReplaysBlockProps>;
|
|
42
43
|
headerMini?: React.ReactNode;
|
|
43
44
|
menu: React.ReactNode;
|
|
44
45
|
overviewBar?: React.ReactNode;
|
|
@@ -351,13 +351,13 @@ export declare const enum ComponentNameTvVideo {
|
|
|
351
351
|
TV_VIDEO_META = "tv-video/meta",
|
|
352
352
|
TV_VIDEO_BREADCRUMB = "tv-video/breadcrumb",
|
|
353
353
|
TV_VIDEO_TOP_BLOCK = "tv-video/top-block",
|
|
354
|
-
TV_VIDEO_EXTRACTS_AND_REPLAYS = "tv-video/extracts-and-replays",
|
|
355
354
|
TV_VIDEO_BACKGROUND_IMAGE = "tv-video/background-img"
|
|
356
355
|
}
|
|
357
356
|
export declare const enum ComponentNameTvShow {
|
|
358
357
|
TV_SHOW_JSON_LD_BREADCRUMB = "tv-show/json-ld-breadcrumb",
|
|
359
358
|
TV_SHOW_META = "tv-show/meta",
|
|
360
|
-
TV_SHOW_TOP_BLOCK = "tv-show/top-block"
|
|
359
|
+
TV_SHOW_TOP_BLOCK = "tv-show/top-block",
|
|
360
|
+
TV_SHOW_EXTRACTS_AND_REPLAYS = "tv-show/extracts-and-replays"
|
|
361
361
|
}
|
|
362
362
|
export declare const enum ComponentNameTvShows {
|
|
363
363
|
TV_SHOWS_JSON_LD_BREADCRUMB = "tv-shows/json-ld-breadcrumb",
|
|
@@ -60,7 +60,7 @@ export type TvHomePageConfig = PageConfig<'tvHome', typeof TvHomePage, Component
|
|
|
60
60
|
export type TvLivePageConfig = PageConfig<'tvLive', typeof TvLivePage, ComponentNameCommon | ComponentNameTvLive, keyof TvLivePageProps | 'meta' | 'jsonLdBreadcrumb' | 'defaultPreload'>;
|
|
61
61
|
export type TvShowPageConfig = PageConfig<'tvShow', typeof TvShowPage, ComponentNameCommon | ComponentNameTvShow, keyof TvShowPageProps | 'meta' | 'jsonLdBreadcrumb' | 'defaultPreload'>;
|
|
62
62
|
export type TvShowsPageConfig = PageConfig<'tvShows', typeof TvShowsPage, ComponentNameCommon | ComponentNameTvShows, keyof TvShowsPageProps | 'meta' | 'jsonLdBreadcrumb' | 'defaultPreload'>;
|
|
63
|
-
export type TvVideoPageConfig = PageConfig<'tvVideo', typeof TvVideoPage, ComponentNameCommon | ComponentNameTvVideo, keyof TvVideoPageProps | 'meta' | 'jsonLdBreadcrumb' | 'defaultPreload'>;
|
|
63
|
+
export type TvVideoPageConfig = PageConfig<'tvVideo', typeof TvVideoPage, ComponentNameCommon | ComponentNameTvVideo | ComponentNameTvShow, keyof TvVideoPageProps | 'meta' | 'jsonLdBreadcrumb' | 'defaultPreload'>;
|
|
64
64
|
export type UtiqPageConfig = PageConfig<'utiq', typeof UtiqPage, ComponentNameCommon | ComponentNameRubric | ComponentNameUtiq, keyof UtiqPageProps | 'meta' | 'jsonLdBreadcrumb' | 'defaultPreload'>;
|
|
65
65
|
export type VideoPageConfig = PageConfig<'page', typeof VideoPage, ComponentNameCommon | ComponentNameVideo, keyof VideoPageProps | 'meta' | 'jsonLdNewsArticle' | 'defaultPreload'>;
|
|
66
66
|
export type VideosPageConfig = PageConfig<'pages', typeof VideosPage, ComponentNameCommon | ComponentNameVideos, keyof VideosPageProps | 'meta' | 'defaultPreload'>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@20minutes/tyr",
|
|
3
|
-
"version": "2.19.
|
|
3
|
+
"version": "2.19.8",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+ssh://git@github.com/20minutes/tyr.git"
|
|
@@ -116,7 +116,7 @@
|
|
|
116
116
|
"globals": "^16.2.0",
|
|
117
117
|
"graphql": "^16.11.0",
|
|
118
118
|
"husky": "^9.1.7",
|
|
119
|
-
"jest-worker": "^
|
|
119
|
+
"jest-worker": "^30.0.0",
|
|
120
120
|
"jsdom": "^26.1.0",
|
|
121
121
|
"lint-staged": "^16.1.0",
|
|
122
122
|
"mockdate": "^3.0.5",
|