@20minutes/tyr 2.19.13 → 2.19.15
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/gameappPage-desktop-critical.css +1 -0
- package/dist/css/gameappPage-desktop-no-critical.css +1 -0
- package/dist/index.es.js +20829 -21774
- package/dist/index.umd.js +111 -111
- package/dist/js/ads.min.js +2 -2
- package/dist/js/awsRum.min.js +1 -1
- package/dist/js/cmp.min.js +2 -2
- package/dist/js/main.min.js +8 -8
- package/dist/js/piano.min.js +1 -1
- package/dist/js/react-and-react-dom.min.js +2 -2
- package/dist/js/script-helpers.min.js +1 -1
- package/dist/src/assets/datalayer/types/DatalayerInfoType.d.ts +0 -3
- package/dist/src/assets/main/concern.d.ts +0 -1
- package/dist/src/components/molecules/TvVideoTopBlock/TvVideoTopBlock.d.ts +3 -2
- package/dist/src/components/molecules/TvVideoTopBlock/TvVideoTopBlock.stories.d.ts +10 -1
- package/dist/src/components/organisms/GamePage/GamePageHeader/GamePageHeader.stories.d.ts +1 -1
- package/dist/src/components/organisms/HomePage/GamesCarousel/GamesCarousel.stories.d.ts +20 -20
- package/dist/src/components/organisms/TvPages/ShowsReplaysCarousel/ShowsReplaysCarousel.stories.d.ts +20 -20
- package/dist/src/components/organisms/index.d.ts +0 -3
- package/dist/src/helpers/cardHeaderHelper.d.ts +16 -16
- package/dist/src/index.d.ts +0 -1
- package/dist/src/managers/ArticlePageManager.d.ts +1 -1
- package/dist/src/pages/GameAppPage/GameAppPage.stories.d.ts +1 -0
- package/dist/src/pages/TvVideoPage/TvVideoPage.stories.d.ts +2 -2
- package/dist/src/pages/index.d.ts +0 -5
- package/dist/src/types/ComponentConfig.d.ts +1 -24
- package/dist/src/types/PageConfig.d.ts +2 -12
- package/dist/src/types/Window.d.ts +0 -1
- package/dist/src/types/graphql.d.ts +4 -96
- package/package.json +10 -10
- package/dist/css/mostrecentvideosPage-desktop-critical.css +0 -1
- package/dist/css/mostrecentvideosPage-desktop-no-critical.css +0 -1
- package/dist/css/mostrecentvideosPage-mobile-critical.css +0 -1
- package/dist/css/mostrecentvideosPage-mobile-no-critical.css +0 -1
- package/dist/css/mostviewedPage-desktop-critical.css +0 -1
- package/dist/css/mostviewedPage-desktop-no-critical.css +0 -1
- package/dist/css/mostviewedPage-mobile-critical.css +0 -1
- package/dist/css/mostviewedPage-mobile-no-critical.css +0 -1
- package/dist/css/pagePage-desktop-critical.css +0 -1
- package/dist/css/pagePage-desktop-no-critical.css +0 -1
- package/dist/css/pagePage-mobile-critical.css +0 -1
- package/dist/css/pagePage-mobile-no-critical.css +0 -1
- package/dist/css/pagesPage-desktop-critical.css +0 -1
- package/dist/css/pagesPage-desktop-no-critical.css +0 -1
- package/dist/css/pagesPage-mobile-critical.css +0 -1
- package/dist/css/pagesPage-mobile-no-critical.css +0 -1
- package/dist/css/programPage-desktop-critical.css +0 -1
- package/dist/css/programPage-desktop-no-critical.css +0 -1
- package/dist/css/programPage-mobile-critical.css +0 -1
- package/dist/css/programPage-mobile-no-critical.css +0 -1
- package/dist/src/components/organisms/ProgramPage/VideosList/VideosList.d.ts +0 -3
- package/dist/src/components/organisms/ProgramPage/VideosList/VideosList.stories.d.ts +0 -19
- package/dist/src/components/organisms/ProgramPage/VideosList/index.d.ts +0 -1
- package/dist/src/components/organisms/ProgramPage/index.d.ts +0 -1
- package/dist/src/components/organisms/VideosCarousel/VideosCarousel.d.ts +0 -8
- package/dist/src/components/organisms/VideosCarousel/VideosCarousel.stories.d.ts +0 -312
- package/dist/src/components/organisms/VideosCarousel/index.d.ts +0 -1
- package/dist/src/components/organisms/VideosPage/VideosBlock/VideosBlock.d.ts +0 -13
- package/dist/src/components/organisms/VideosPage/VideosBlock/VideosBlock.stories.d.ts +0 -33
- package/dist/src/components/organisms/VideosPage/VideosBlock/index.d.ts +0 -1
- package/dist/src/components/organisms/VideosPage/VideosChannelsList/VideosChannelsList.d.ts +0 -17
- package/dist/src/components/organisms/VideosPage/VideosChannelsList/VideosChannelsList.stories.d.ts +0 -16
- package/dist/src/components/organisms/VideosPage/VideosChannelsList/index.d.ts +0 -1
- package/dist/src/components/organisms/VideosPage/VideosTopBlock/VideosTopBlock.d.ts +0 -34
- package/dist/src/components/organisms/VideosPage/VideosTopBlock/VideosTopBlock.stories.d.ts +0 -18
- package/dist/src/components/organisms/VideosPage/VideosTopBlock/index.d.ts +0 -1
- package/dist/src/components/organisms/VideosPage/index.d.ts +0 -3
- package/dist/src/config/componentConfigs/componentMostRecentVideosConfigs.d.ts +0 -2
- package/dist/src/config/componentConfigs/componentMostViewedConfigs.d.ts +0 -2
- package/dist/src/config/componentConfigs/componentProgramConfigs.d.ts +0 -2
- package/dist/src/config/componentConfigs/componentVideoConfigs.d.ts +0 -2
- package/dist/src/config/componentConfigs/componentVideosConfigs.d.ts +0 -2
- package/dist/src/config/pageConfigs/mostRecentVideosPageConfig.d.ts +0 -2
- package/dist/src/config/pageConfigs/mostViewedPageConfig.d.ts +0 -2
- package/dist/src/config/pageConfigs/programPageConfig.d.ts +0 -2
- package/dist/src/config/pageConfigs/videoPageConfig.d.ts +0 -2
- package/dist/src/config/pageConfigs/videosPageConfig.d.ts +0 -2
- package/dist/src/containers/VideoListContainer/VideoListContainer.d.ts +0 -5
- package/dist/src/containers/VideoListContainer/index.d.ts +0 -1
- package/dist/src/containers/VideoListContainer/transformer.d.ts +0 -9
- package/dist/src/containers/VideoListContainer/useVideoListContainer.d.ts +0 -11
- package/dist/src/pages/MostRecentVideosPage/MostRecentVideosPage.d.ts +0 -9
- package/dist/src/pages/MostRecentVideosPage/MostRecentVideosPage.stories.d.ts +0 -14
- package/dist/src/pages/MostRecentVideosPage/index.d.ts +0 -1
- package/dist/src/pages/MostViewedPage/MostViewedPage.d.ts +0 -9
- package/dist/src/pages/MostViewedPage/MostViewedPage.stories.d.ts +0 -14
- package/dist/src/pages/MostViewedPage/index.d.ts +0 -1
- package/dist/src/pages/ProgramPage/ProgramPage.d.ts +0 -9
- package/dist/src/pages/ProgramPage/ProgramPage.stories.d.ts +0 -14
- package/dist/src/pages/ProgramPage/index.d.ts +0 -1
- package/dist/src/pages/VideoPage/VideoPage.d.ts +0 -8
- package/dist/src/pages/VideoPage/VideoPage.stories.d.ts +0 -15
- package/dist/src/pages/VideoPage/index.d.ts +0 -1
- package/dist/src/pages/VideosPage/VideosPage.d.ts +0 -11
- package/dist/src/pages/VideosPage/VideosPage.stories.d.ts +0 -15
- package/dist/src/pages/VideosPage/index.d.ts +0 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
!function(){"use strict";const t=t=>t.replace(/([a-z])([A-Z])/g,"$1-$2").replace(/[\s_]+/g,"-").toLowerCase(),e=e=>{window.didomiOnReady=window.didomiOnReady||[];const r=(r,i)=>{!i||"tcloaded"!==r.eventStatus&&"useractioncomplete"!==r.eventStatus?console.log(`Issue with ${e.name} callback`):("src"in e&&(e=>{const r=document.createElement("script");if(r.type="text/javascript","async"===e.load?r.async=!0:"defer"===e.load&&(r.defer=!0),"src"in e&&e.src){const t=eval;r.src=e.src?.replace(/%(.*?)%/,(
|
|
1
|
+
!function(){"use strict";const t=t=>t.replace(/([a-z])([A-Z])/g,"$1-$2").replace(/[\s_]+/g,"-").toLowerCase(),e=e=>{window.didomiOnReady=window.didomiOnReady||[];const r=(r,i)=>{!i||"tcloaded"!==r.eventStatus&&"useractioncomplete"!==r.eventStatus?console.log(`Issue with ${e.name} callback`):("src"in e&&(e=>{const r=document.createElement("script");if(r.type="text/javascript","async"===e.load?r.async=!0:"defer"===e.load&&(r.defer=!0),"src"in e&&e.src){const t=eval;r.src=e.src?.replace(/%(.*?)%/,(e,r)=>t(r)),e.name&&(performance.mark(`20mn:${e.name}:Start`),r.onload=()=>{performance.mark(`20mn:${e.name}:End`)})}"text"in e&&e.text&&(r.innerHTML=e.text),e.name&&performance.mark(`20mn:${e.name}:Enable`),e.id&&(r.id=e.id),e.dataAttributes&&Object.entries(e.dataAttributes).forEach(([e,i])=>{r.setAttribute(`data-${t(e)}`,i)}),"head"===e.target&&document.head?document.head.appendChild(r):document.body?document.body.appendChild(r):(window.bodyScripts=window.bodyScripts||[],window.bodyScripts.push(r))})(e),window.__tcfapi&&window.__tcfapi("removeEventListener",2,null,r.listenerId))};window.didomiOnReady.push(()=>{void 0!==r&&window.__tcfapi("addEventListener",2,r)})},r=r=>{r?.waitCMP?e(r):(e=>{const r=document.createElement("script");if(r.type="text/javascript","async"===e.load?r.async=!0:"defer"===e.load&&(r.defer=!0),"src"in e&&e.src){const t=eval;r.src=e.src?.replace(/%(.*?)%/,(e,r)=>t(r)),e.name&&(performance.mark(`20mn:${e.name}:Start`),r.onload=()=>{performance.mark(`20mn:${e.name}:End`)})}"text"in e&&e.text&&(r.innerHTML=e.text),e.name&&performance.mark(`20mn:${e.name}:Enable`),e.id&&(r.id=e.id),e.dataAttributes&&Object.entries(e.dataAttributes).forEach(([e,i])=>{r.setAttribute(`data-${t(e)}`,i)}),"head"===e.target&&document.head?document.head.appendChild(r):document.body?document.body.appendChild(r):(window.bodyScripts=window.bodyScripts||[],window.bodyScripts.push(r))})(r)};(()=>{const t=new MutationObserver(()=>{document.body&&((window.bodyScripts||[]).forEach(t=>{document.body.appendChild(t)}),t.disconnect())});t.observe(document.documentElement,{childList:!0})})(),(()=>{if(!window.thirdPartiesConfig)return;const{thirdPartiesConfig:t}=window,e=t?.veryHighPriority.sort((t,e)=>t.priority-e.priority),i=t?.highPriority.sort((t,e)=>t.priority-e.priority),o=t?.mediumPriority.sort((t,e)=>t.priority-e.priority),n=t?.lowPriority.sort((t,e)=>t.priority-e.priority);(({veryHighPriority:t,highPriority:e,mediumPriority:i,lowPriority:o})=>{t?.forEach(t=>{r({...t,target:"head"})}),e?.forEach(t=>{r({...t,target:"head"})}),i?.forEach(t=>{r(t)}),o?.forEach(t=>{r(t)})})({veryHighPriority:e,highPriority:i,mediumPriority:o,lowPriority:n})})()}();
|
|
2
2
|
//# sourceMappingURL=script-helpers.min.js.map
|
|
@@ -29,7 +29,6 @@ export declare enum PageType {
|
|
|
29
29
|
MOVIES = "movies",
|
|
30
30
|
NEWS = "news",
|
|
31
31
|
PARTNER = "partner",
|
|
32
|
-
PROGRAM = "program",
|
|
33
32
|
SEARCH = "search",
|
|
34
33
|
SECTION = "section",
|
|
35
34
|
SERVICE = "service",
|
|
@@ -43,8 +42,6 @@ export declare enum PageType {
|
|
|
43
42
|
TV_SHOW = "tvshow",
|
|
44
43
|
TV_SHOWS = "tvshows",
|
|
45
44
|
TV_VIDEO = "tvvideo",
|
|
46
|
-
VIDEO = "video",
|
|
47
|
-
VIDEOS = "videos",
|
|
48
45
|
WEATHER = "weather"
|
|
49
46
|
}
|
|
50
47
|
export interface DatalayerInfoType {
|
|
@@ -4,7 +4,6 @@ export declare const loadArticleListBottomContainer: () => void;
|
|
|
4
4
|
export declare const loadJournalistArticleListContainer: () => void;
|
|
5
5
|
export declare const loadLegalNoticeHomeContainer: () => void;
|
|
6
6
|
export declare const loadLegalNoticeDepartmentContainer: () => void;
|
|
7
|
-
export declare const loadVideoListContainer: () => void;
|
|
8
7
|
export declare const loadElectionsEuropeanMapContainer: () => void;
|
|
9
8
|
export declare const loadElectionsConstituenciesMapContainer: () => void;
|
|
10
9
|
export declare const loadLivePostsContainer: (livePostsContainerId: string, important?: boolean) => void;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { BoxProps, CardHeaderProps, HeadingProps, MediaProps, MostWatchVideosProps, SignatureProps, TagBarProps
|
|
1
|
+
import { BoxProps, CardHeaderProps, HeadingProps, MediaProps, MostWatchVideosProps, SignatureProps, TagBarProps } from '@20minutes/hela';
|
|
2
2
|
import { default as React } from 'react';
|
|
3
|
+
import { RawDraftContentState } from 'draft-js';
|
|
3
4
|
export interface TvVideoTopBlockProps extends BoxProps {
|
|
4
5
|
cardHeaderProps: CardHeaderProps;
|
|
5
6
|
heading: HeadingProps;
|
|
6
|
-
subtitle:
|
|
7
|
+
subtitle: RawDraftContentState;
|
|
7
8
|
showTitle: HeadingProps;
|
|
8
9
|
signatureProps: SignatureProps;
|
|
9
10
|
mostWatchVideos: MostWatchVideosProps;
|
|
@@ -17,7 +17,16 @@ declare const meta: {
|
|
|
17
17
|
children: string;
|
|
18
18
|
};
|
|
19
19
|
subtitle: {
|
|
20
|
-
|
|
20
|
+
blocks: {
|
|
21
|
+
depth: number;
|
|
22
|
+
data: {};
|
|
23
|
+
inlineStyleRanges: never[];
|
|
24
|
+
text: string;
|
|
25
|
+
type: string;
|
|
26
|
+
key: string;
|
|
27
|
+
entityRanges: never[];
|
|
28
|
+
}[];
|
|
29
|
+
entityMap: {};
|
|
21
30
|
};
|
|
22
31
|
showTitle: {
|
|
23
32
|
children: string;
|
|
@@ -8,7 +8,7 @@ declare const meta: {
|
|
|
8
8
|
labelProps: {
|
|
9
9
|
children: string;
|
|
10
10
|
color: string;
|
|
11
|
-
size: "s" | "m" | "xxs-3" | "xxs-2" | "xxs" | "xs" | "
|
|
11
|
+
size: "s" | "l" | "m" | "xxs-3" | "xxs-2" | "xxs" | "xs" | "xl" | "xxl";
|
|
12
12
|
};
|
|
13
13
|
heading: {
|
|
14
14
|
children: string;
|
|
@@ -22,29 +22,33 @@ declare const meta: {
|
|
|
22
22
|
games: CardSmallProps[];
|
|
23
23
|
layout: LayoutType;
|
|
24
24
|
seeMoreLink: import('@20minutes/hela').LinkProps<"a">;
|
|
25
|
-
m?: "0" | "s" | "m" | "auto" | "xxs-3" | "xxs-2" | "xxs" | "xs" | "
|
|
26
|
-
mt?: "0" | "s" | "m" | "auto" | "xxs-3" | "xxs-2" | "xxs" | "xs" | "
|
|
27
|
-
mr?: "0" | "s" | "m" | "auto" | "xxs-3" | "xxs-2" | "xxs" | "xs" | "
|
|
28
|
-
mb?: "0" | "s" | "m" | "auto" | "xxs-3" | "xxs-2" | "xxs" | "xs" | "
|
|
29
|
-
ml?: "0" | "s" | "m" | "auto" | "xxs-3" | "xxs-2" | "xxs" | "xs" | "
|
|
30
|
-
mx?: "0" | "s" | "m" | "auto" | "xxs-3" | "xxs-2" | "xxs" | "xs" | "
|
|
31
|
-
my?: "0" | "s" | "m" | "auto" | "xxs-3" | "xxs-2" | "xxs" | "xs" | "
|
|
32
|
-
p?: "0" | "s" | "m" | "auto" | "xxs-3" | "xxs-2" | "xxs" | "xs" | "
|
|
33
|
-
pt?: "0" | "s" | "m" | "auto" | "xxs-3" | "xxs-2" | "xxs" | "xs" | "
|
|
34
|
-
pr?: "0" | "s" | "m" | "auto" | "xxs-3" | "xxs-2" | "xxs" | "xs" | "
|
|
35
|
-
pb?: "0" | "s" | "m" | "auto" | "xxs-3" | "xxs-2" | "xxs" | "xs" | "
|
|
36
|
-
pl?: "0" | "s" | "m" | "auto" | "xxs-3" | "xxs-2" | "xxs" | "xs" | "
|
|
37
|
-
px?: "0" | "s" | "m" | "auto" | "xxs-3" | "xxs-2" | "xxs" | "xs" | "
|
|
38
|
-
py?: "0" | "s" | "m" | "auto" | "xxs-3" | "xxs-2" | "xxs" | "xs" | "
|
|
25
|
+
m?: "0" | "s" | "l" | "m" | "auto" | "xxs-3" | "xxs-2" | "xxs" | "xs" | "xl" | "xxl" | "xxl-2" | "xxl-3" | Partial<Record<"xs" | "xl" | "xxl" | "sm" | "md" | "lg", "0" | "s" | "l" | "m" | "auto" | "xxs-3" | "xxs-2" | "xxs" | "xs" | "xl" | "xxl" | "xxl-2" | "xxl-3">> | undefined;
|
|
26
|
+
mt?: "0" | "s" | "l" | "m" | "auto" | "xxs-3" | "xxs-2" | "xxs" | "xs" | "xl" | "xxl" | "xxl-2" | "xxl-3" | Partial<Record<"xs" | "xl" | "xxl" | "sm" | "md" | "lg", "0" | "s" | "l" | "m" | "auto" | "xxs-3" | "xxs-2" | "xxs" | "xs" | "xl" | "xxl" | "xxl-2" | "xxl-3">> | undefined;
|
|
27
|
+
mr?: "0" | "s" | "l" | "m" | "auto" | "xxs-3" | "xxs-2" | "xxs" | "xs" | "xl" | "xxl" | "xxl-2" | "xxl-3" | Partial<Record<"xs" | "xl" | "xxl" | "sm" | "md" | "lg", "0" | "s" | "l" | "m" | "auto" | "xxs-3" | "xxs-2" | "xxs" | "xs" | "xl" | "xxl" | "xxl-2" | "xxl-3">> | undefined;
|
|
28
|
+
mb?: "0" | "s" | "l" | "m" | "auto" | "xxs-3" | "xxs-2" | "xxs" | "xs" | "xl" | "xxl" | "xxl-2" | "xxl-3" | Partial<Record<"xs" | "xl" | "xxl" | "sm" | "md" | "lg", "0" | "s" | "l" | "m" | "auto" | "xxs-3" | "xxs-2" | "xxs" | "xs" | "xl" | "xxl" | "xxl-2" | "xxl-3">> | undefined;
|
|
29
|
+
ml?: "0" | "s" | "l" | "m" | "auto" | "xxs-3" | "xxs-2" | "xxs" | "xs" | "xl" | "xxl" | "xxl-2" | "xxl-3" | Partial<Record<"xs" | "xl" | "xxl" | "sm" | "md" | "lg", "0" | "s" | "l" | "m" | "auto" | "xxs-3" | "xxs-2" | "xxs" | "xs" | "xl" | "xxl" | "xxl-2" | "xxl-3">> | undefined;
|
|
30
|
+
mx?: "0" | "s" | "l" | "m" | "auto" | "xxs-3" | "xxs-2" | "xxs" | "xs" | "xl" | "xxl" | "xxl-2" | "xxl-3" | Partial<Record<"xs" | "xl" | "xxl" | "sm" | "md" | "lg", "0" | "s" | "l" | "m" | "auto" | "xxs-3" | "xxs-2" | "xxs" | "xs" | "xl" | "xxl" | "xxl-2" | "xxl-3">> | undefined;
|
|
31
|
+
my?: "0" | "s" | "l" | "m" | "auto" | "xxs-3" | "xxs-2" | "xxs" | "xs" | "xl" | "xxl" | "xxl-2" | "xxl-3" | Partial<Record<"xs" | "xl" | "xxl" | "sm" | "md" | "lg", "0" | "s" | "l" | "m" | "auto" | "xxs-3" | "xxs-2" | "xxs" | "xs" | "xl" | "xxl" | "xxl-2" | "xxl-3">> | undefined;
|
|
32
|
+
p?: "0" | "s" | "l" | "m" | "auto" | "xxs-3" | "xxs-2" | "xxs" | "xs" | "xl" | "xxl" | "xxl-2" | "xxl-3" | Partial<Record<"xs" | "xl" | "xxl" | "sm" | "md" | "lg", "0" | "s" | "l" | "m" | "auto" | "xxs-3" | "xxs-2" | "xxs" | "xs" | "xl" | "xxl" | "xxl-2" | "xxl-3">> | undefined;
|
|
33
|
+
pt?: "0" | "s" | "l" | "m" | "auto" | "xxs-3" | "xxs-2" | "xxs" | "xs" | "xl" | "xxl" | "xxl-2" | "xxl-3" | Partial<Record<"xs" | "xl" | "xxl" | "sm" | "md" | "lg", "0" | "s" | "l" | "m" | "auto" | "xxs-3" | "xxs-2" | "xxs" | "xs" | "xl" | "xxl" | "xxl-2" | "xxl-3">> | undefined;
|
|
34
|
+
pr?: "0" | "s" | "l" | "m" | "auto" | "xxs-3" | "xxs-2" | "xxs" | "xs" | "xl" | "xxl" | "xxl-2" | "xxl-3" | Partial<Record<"xs" | "xl" | "xxl" | "sm" | "md" | "lg", "0" | "s" | "l" | "m" | "auto" | "xxs-3" | "xxs-2" | "xxs" | "xs" | "xl" | "xxl" | "xxl-2" | "xxl-3">> | undefined;
|
|
35
|
+
pb?: "0" | "s" | "l" | "m" | "auto" | "xxs-3" | "xxs-2" | "xxs" | "xs" | "xl" | "xxl" | "xxl-2" | "xxl-3" | Partial<Record<"xs" | "xl" | "xxl" | "sm" | "md" | "lg", "0" | "s" | "l" | "m" | "auto" | "xxs-3" | "xxs-2" | "xxs" | "xs" | "xl" | "xxl" | "xxl-2" | "xxl-3">> | undefined;
|
|
36
|
+
pl?: "0" | "s" | "l" | "m" | "auto" | "xxs-3" | "xxs-2" | "xxs" | "xs" | "xl" | "xxl" | "xxl-2" | "xxl-3" | Partial<Record<"xs" | "xl" | "xxl" | "sm" | "md" | "lg", "0" | "s" | "l" | "m" | "auto" | "xxs-3" | "xxs-2" | "xxs" | "xs" | "xl" | "xxl" | "xxl-2" | "xxl-3">> | undefined;
|
|
37
|
+
px?: "0" | "s" | "l" | "m" | "auto" | "xxs-3" | "xxs-2" | "xxs" | "xs" | "xl" | "xxl" | "xxl-2" | "xxl-3" | Partial<Record<"xs" | "xl" | "xxl" | "sm" | "md" | "lg", "0" | "s" | "l" | "m" | "auto" | "xxs-3" | "xxs-2" | "xxs" | "xs" | "xl" | "xxl" | "xxl-2" | "xxl-3">> | undefined;
|
|
38
|
+
py?: "0" | "s" | "l" | "m" | "auto" | "xxs-3" | "xxs-2" | "xxs" | "xs" | "xl" | "xxl" | "xxl-2" | "xxl-3" | Partial<Record<"xs" | "xl" | "xxl" | "sm" | "md" | "lg", "0" | "s" | "l" | "m" | "auto" | "xxs-3" | "xxs-2" | "xxs" | "xs" | "xl" | "xxl" | "xxl-2" | "xxl-3">> | undefined;
|
|
39
39
|
borderColor?: import('@20minutes/hela').ColorType | undefined;
|
|
40
40
|
bg?: string | undefined;
|
|
41
41
|
color?: string | undefined;
|
|
42
|
-
radius?: "0" | "s" | "m" | "xxs-2" | "xxs" | "xs" | "
|
|
42
|
+
radius?: "0" | "s" | "l" | "m" | "xxs-2" | "xxs" | "xs" | "xl" | "xxl" | Partial<Record<"xs" | "xl" | "xxl" | "sm" | "md" | "lg", "0" | "s" | "l" | "m" | "xxs-2" | "xxs" | "xs" | "xl" | "xxl">> | undefined;
|
|
43
43
|
slot?: string | undefined;
|
|
44
44
|
style?: React.CSSProperties | undefined;
|
|
45
45
|
title?: string | undefined;
|
|
46
46
|
id?: string | undefined;
|
|
47
47
|
key?: React.Key | null | undefined;
|
|
48
|
+
dangerouslySetInnerHTML?: {
|
|
49
|
+
__html: string | TrustedHTML;
|
|
50
|
+
} | undefined;
|
|
51
|
+
className?: string | undefined;
|
|
48
52
|
as?: import('@20minutes/hela').As<any> | undefined;
|
|
49
53
|
defaultChecked?: boolean | undefined;
|
|
50
54
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
@@ -53,7 +57,6 @@ declare const meta: {
|
|
|
53
57
|
accessKey?: string | undefined;
|
|
54
58
|
autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | (string & {}) | undefined;
|
|
55
59
|
autoFocus?: boolean | undefined;
|
|
56
|
-
className?: string | undefined;
|
|
57
60
|
contentEditable?: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
|
|
58
61
|
contextMenu?: string | undefined;
|
|
59
62
|
dir?: string | undefined;
|
|
@@ -88,7 +91,7 @@ declare const meta: {
|
|
|
88
91
|
results?: number | undefined;
|
|
89
92
|
security?: string | undefined;
|
|
90
93
|
unselectable?: "off" | "on" | undefined;
|
|
91
|
-
inputMode?: "
|
|
94
|
+
inputMode?: "text" | "search" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
|
|
92
95
|
is?: string | undefined;
|
|
93
96
|
exportparts?: string | undefined;
|
|
94
97
|
part?: string | undefined;
|
|
@@ -147,9 +150,6 @@ declare const meta: {
|
|
|
147
150
|
"aria-valuenow"?: number | undefined;
|
|
148
151
|
"aria-valuetext"?: string | undefined;
|
|
149
152
|
children?: React.ReactNode;
|
|
150
|
-
dangerouslySetInnerHTML?: {
|
|
151
|
-
__html: string | TrustedHTML;
|
|
152
|
-
} | undefined;
|
|
153
153
|
onCopy?: React.ClipboardEventHandler<HTMLDivElement> | undefined;
|
|
154
154
|
onCopyCapture?: React.ClipboardEventHandler<HTMLDivElement> | undefined;
|
|
155
155
|
onCut?: React.ClipboardEventHandler<HTMLDivElement> | undefined;
|
package/dist/src/components/organisms/TvPages/ShowsReplaysCarousel/ShowsReplaysCarousel.stories.d.ts
CHANGED
|
@@ -17,29 +17,33 @@ declare const meta: {
|
|
|
17
17
|
shows: import('@20minutes/hela').CardSmallProps[];
|
|
18
18
|
layout: LayoutType;
|
|
19
19
|
seeMoreLink?: import('@20minutes/hela').LinkProps<"a"> | undefined;
|
|
20
|
-
m?: "0" | "s" | "m" | "auto" | "xxs-3" | "xxs-2" | "xxs" | "xs" | "
|
|
21
|
-
mt?: "0" | "s" | "m" | "auto" | "xxs-3" | "xxs-2" | "xxs" | "xs" | "
|
|
22
|
-
mr?: "0" | "s" | "m" | "auto" | "xxs-3" | "xxs-2" | "xxs" | "xs" | "
|
|
23
|
-
mb?: "0" | "s" | "m" | "auto" | "xxs-3" | "xxs-2" | "xxs" | "xs" | "
|
|
24
|
-
ml?: "0" | "s" | "m" | "auto" | "xxs-3" | "xxs-2" | "xxs" | "xs" | "
|
|
25
|
-
mx?: "0" | "s" | "m" | "auto" | "xxs-3" | "xxs-2" | "xxs" | "xs" | "
|
|
26
|
-
my?: "0" | "s" | "m" | "auto" | "xxs-3" | "xxs-2" | "xxs" | "xs" | "
|
|
27
|
-
p?: "0" | "s" | "m" | "auto" | "xxs-3" | "xxs-2" | "xxs" | "xs" | "
|
|
28
|
-
pt?: "0" | "s" | "m" | "auto" | "xxs-3" | "xxs-2" | "xxs" | "xs" | "
|
|
29
|
-
pr?: "0" | "s" | "m" | "auto" | "xxs-3" | "xxs-2" | "xxs" | "xs" | "
|
|
30
|
-
pb?: "0" | "s" | "m" | "auto" | "xxs-3" | "xxs-2" | "xxs" | "xs" | "
|
|
31
|
-
pl?: "0" | "s" | "m" | "auto" | "xxs-3" | "xxs-2" | "xxs" | "xs" | "
|
|
32
|
-
px?: "0" | "s" | "m" | "auto" | "xxs-3" | "xxs-2" | "xxs" | "xs" | "
|
|
33
|
-
py?: "0" | "s" | "m" | "auto" | "xxs-3" | "xxs-2" | "xxs" | "xs" | "
|
|
20
|
+
m?: "0" | "s" | "l" | "m" | "auto" | "xxs-3" | "xxs-2" | "xxs" | "xs" | "xl" | "xxl" | "xxl-2" | "xxl-3" | Partial<Record<"xs" | "xl" | "xxl" | "sm" | "md" | "lg", "0" | "s" | "l" | "m" | "auto" | "xxs-3" | "xxs-2" | "xxs" | "xs" | "xl" | "xxl" | "xxl-2" | "xxl-3">> | undefined;
|
|
21
|
+
mt?: "0" | "s" | "l" | "m" | "auto" | "xxs-3" | "xxs-2" | "xxs" | "xs" | "xl" | "xxl" | "xxl-2" | "xxl-3" | Partial<Record<"xs" | "xl" | "xxl" | "sm" | "md" | "lg", "0" | "s" | "l" | "m" | "auto" | "xxs-3" | "xxs-2" | "xxs" | "xs" | "xl" | "xxl" | "xxl-2" | "xxl-3">> | undefined;
|
|
22
|
+
mr?: "0" | "s" | "l" | "m" | "auto" | "xxs-3" | "xxs-2" | "xxs" | "xs" | "xl" | "xxl" | "xxl-2" | "xxl-3" | Partial<Record<"xs" | "xl" | "xxl" | "sm" | "md" | "lg", "0" | "s" | "l" | "m" | "auto" | "xxs-3" | "xxs-2" | "xxs" | "xs" | "xl" | "xxl" | "xxl-2" | "xxl-3">> | undefined;
|
|
23
|
+
mb?: "0" | "s" | "l" | "m" | "auto" | "xxs-3" | "xxs-2" | "xxs" | "xs" | "xl" | "xxl" | "xxl-2" | "xxl-3" | Partial<Record<"xs" | "xl" | "xxl" | "sm" | "md" | "lg", "0" | "s" | "l" | "m" | "auto" | "xxs-3" | "xxs-2" | "xxs" | "xs" | "xl" | "xxl" | "xxl-2" | "xxl-3">> | undefined;
|
|
24
|
+
ml?: "0" | "s" | "l" | "m" | "auto" | "xxs-3" | "xxs-2" | "xxs" | "xs" | "xl" | "xxl" | "xxl-2" | "xxl-3" | Partial<Record<"xs" | "xl" | "xxl" | "sm" | "md" | "lg", "0" | "s" | "l" | "m" | "auto" | "xxs-3" | "xxs-2" | "xxs" | "xs" | "xl" | "xxl" | "xxl-2" | "xxl-3">> | undefined;
|
|
25
|
+
mx?: "0" | "s" | "l" | "m" | "auto" | "xxs-3" | "xxs-2" | "xxs" | "xs" | "xl" | "xxl" | "xxl-2" | "xxl-3" | Partial<Record<"xs" | "xl" | "xxl" | "sm" | "md" | "lg", "0" | "s" | "l" | "m" | "auto" | "xxs-3" | "xxs-2" | "xxs" | "xs" | "xl" | "xxl" | "xxl-2" | "xxl-3">> | undefined;
|
|
26
|
+
my?: "0" | "s" | "l" | "m" | "auto" | "xxs-3" | "xxs-2" | "xxs" | "xs" | "xl" | "xxl" | "xxl-2" | "xxl-3" | Partial<Record<"xs" | "xl" | "xxl" | "sm" | "md" | "lg", "0" | "s" | "l" | "m" | "auto" | "xxs-3" | "xxs-2" | "xxs" | "xs" | "xl" | "xxl" | "xxl-2" | "xxl-3">> | undefined;
|
|
27
|
+
p?: "0" | "s" | "l" | "m" | "auto" | "xxs-3" | "xxs-2" | "xxs" | "xs" | "xl" | "xxl" | "xxl-2" | "xxl-3" | Partial<Record<"xs" | "xl" | "xxl" | "sm" | "md" | "lg", "0" | "s" | "l" | "m" | "auto" | "xxs-3" | "xxs-2" | "xxs" | "xs" | "xl" | "xxl" | "xxl-2" | "xxl-3">> | undefined;
|
|
28
|
+
pt?: "0" | "s" | "l" | "m" | "auto" | "xxs-3" | "xxs-2" | "xxs" | "xs" | "xl" | "xxl" | "xxl-2" | "xxl-3" | Partial<Record<"xs" | "xl" | "xxl" | "sm" | "md" | "lg", "0" | "s" | "l" | "m" | "auto" | "xxs-3" | "xxs-2" | "xxs" | "xs" | "xl" | "xxl" | "xxl-2" | "xxl-3">> | undefined;
|
|
29
|
+
pr?: "0" | "s" | "l" | "m" | "auto" | "xxs-3" | "xxs-2" | "xxs" | "xs" | "xl" | "xxl" | "xxl-2" | "xxl-3" | Partial<Record<"xs" | "xl" | "xxl" | "sm" | "md" | "lg", "0" | "s" | "l" | "m" | "auto" | "xxs-3" | "xxs-2" | "xxs" | "xs" | "xl" | "xxl" | "xxl-2" | "xxl-3">> | undefined;
|
|
30
|
+
pb?: "0" | "s" | "l" | "m" | "auto" | "xxs-3" | "xxs-2" | "xxs" | "xs" | "xl" | "xxl" | "xxl-2" | "xxl-3" | Partial<Record<"xs" | "xl" | "xxl" | "sm" | "md" | "lg", "0" | "s" | "l" | "m" | "auto" | "xxs-3" | "xxs-2" | "xxs" | "xs" | "xl" | "xxl" | "xxl-2" | "xxl-3">> | undefined;
|
|
31
|
+
pl?: "0" | "s" | "l" | "m" | "auto" | "xxs-3" | "xxs-2" | "xxs" | "xs" | "xl" | "xxl" | "xxl-2" | "xxl-3" | Partial<Record<"xs" | "xl" | "xxl" | "sm" | "md" | "lg", "0" | "s" | "l" | "m" | "auto" | "xxs-3" | "xxs-2" | "xxs" | "xs" | "xl" | "xxl" | "xxl-2" | "xxl-3">> | undefined;
|
|
32
|
+
px?: "0" | "s" | "l" | "m" | "auto" | "xxs-3" | "xxs-2" | "xxs" | "xs" | "xl" | "xxl" | "xxl-2" | "xxl-3" | Partial<Record<"xs" | "xl" | "xxl" | "sm" | "md" | "lg", "0" | "s" | "l" | "m" | "auto" | "xxs-3" | "xxs-2" | "xxs" | "xs" | "xl" | "xxl" | "xxl-2" | "xxl-3">> | undefined;
|
|
33
|
+
py?: "0" | "s" | "l" | "m" | "auto" | "xxs-3" | "xxs-2" | "xxs" | "xs" | "xl" | "xxl" | "xxl-2" | "xxl-3" | Partial<Record<"xs" | "xl" | "xxl" | "sm" | "md" | "lg", "0" | "s" | "l" | "m" | "auto" | "xxs-3" | "xxs-2" | "xxs" | "xs" | "xl" | "xxl" | "xxl-2" | "xxl-3">> | undefined;
|
|
34
34
|
borderColor?: import('@20minutes/hela').ColorType | undefined;
|
|
35
35
|
bg?: string | undefined;
|
|
36
36
|
color?: string | undefined;
|
|
37
|
-
radius?: "0" | "s" | "m" | "xxs-2" | "xxs" | "xs" | "
|
|
37
|
+
radius?: "0" | "s" | "l" | "m" | "xxs-2" | "xxs" | "xs" | "xl" | "xxl" | Partial<Record<"xs" | "xl" | "xxl" | "sm" | "md" | "lg", "0" | "s" | "l" | "m" | "xxs-2" | "xxs" | "xs" | "xl" | "xxl">> | undefined;
|
|
38
38
|
slot?: string | undefined;
|
|
39
39
|
style?: React.CSSProperties | undefined;
|
|
40
40
|
title?: string | undefined;
|
|
41
41
|
id?: string | undefined;
|
|
42
42
|
key?: React.Key | null | undefined;
|
|
43
|
+
dangerouslySetInnerHTML?: {
|
|
44
|
+
__html: string | TrustedHTML;
|
|
45
|
+
} | undefined;
|
|
46
|
+
className?: string | undefined;
|
|
43
47
|
as?: import('@20minutes/hela').As<any> | undefined;
|
|
44
48
|
defaultChecked?: boolean | undefined;
|
|
45
49
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
@@ -48,7 +52,6 @@ declare const meta: {
|
|
|
48
52
|
accessKey?: string | undefined;
|
|
49
53
|
autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | (string & {}) | undefined;
|
|
50
54
|
autoFocus?: boolean | undefined;
|
|
51
|
-
className?: string | undefined;
|
|
52
55
|
contentEditable?: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
|
|
53
56
|
contextMenu?: string | undefined;
|
|
54
57
|
dir?: string | undefined;
|
|
@@ -83,7 +86,7 @@ declare const meta: {
|
|
|
83
86
|
results?: number | undefined;
|
|
84
87
|
security?: string | undefined;
|
|
85
88
|
unselectable?: "off" | "on" | undefined;
|
|
86
|
-
inputMode?: "
|
|
89
|
+
inputMode?: "text" | "search" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
|
|
87
90
|
is?: string | undefined;
|
|
88
91
|
exportparts?: string | undefined;
|
|
89
92
|
part?: string | undefined;
|
|
@@ -142,9 +145,6 @@ declare const meta: {
|
|
|
142
145
|
"aria-valuenow"?: number | undefined;
|
|
143
146
|
"aria-valuetext"?: string | undefined;
|
|
144
147
|
children?: React.ReactNode;
|
|
145
|
-
dangerouslySetInnerHTML?: {
|
|
146
|
-
__html: string | TrustedHTML;
|
|
147
|
-
} | undefined;
|
|
148
148
|
onCopy?: React.ClipboardEventHandler<HTMLDivElement> | undefined;
|
|
149
149
|
onCopyCapture?: React.ClipboardEventHandler<HTMLDivElement> | undefined;
|
|
150
150
|
onCut?: React.ClipboardEventHandler<HTMLDivElement> | undefined;
|
|
@@ -14,7 +14,6 @@ export * from './LivePage';
|
|
|
14
14
|
export * from './MostPages';
|
|
15
15
|
export * from './MostReadArticles';
|
|
16
16
|
export * from './MoviePage';
|
|
17
|
-
export * from './ProgramPage';
|
|
18
17
|
export * from './SideBrandsArticles';
|
|
19
18
|
export * from './SitemapPage';
|
|
20
19
|
export * from './SlideshowPage';
|
|
@@ -25,5 +24,3 @@ export * from './TvBlock';
|
|
|
25
24
|
export * from './TvPages';
|
|
26
25
|
export * from './TvExtractsAndReplaysBlock';
|
|
27
26
|
export * from './TvMostBlock';
|
|
28
|
-
export * from './VideosCarousel';
|
|
29
|
-
export * from './VideosPage';
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import { CardHeaderProps } from '@20minutes/hela';
|
|
2
2
|
export declare const setCardHeaderProps: (properties: Omit<CardHeaderProps, 'location' | 'hasGot'> | undefined) => {
|
|
3
|
-
p?: "0" | "s" | "m" | "auto" | "xxs-3" | "xxs-2" | "xxs" | "xs" | "
|
|
3
|
+
p?: "0" | "s" | "l" | "m" | "auto" | "xxs-3" | "xxs-2" | "xxs" | "xs" | "xl" | "xxl" | "xxl-2" | "xxl-3" | Partial<Record<"xs" | "xl" | "xxl" | "sm" | "md" | "lg", "0" | "s" | "l" | "m" | "auto" | "xxs-3" | "xxs-2" | "xxs" | "xs" | "xl" | "xxl" | "xxl-2" | "xxl-3">> | undefined;
|
|
4
|
+
m?: "0" | "s" | "l" | "m" | "auto" | "xxs-3" | "xxs-2" | "xxs" | "xs" | "xl" | "xxl" | "xxl-2" | "xxl-3" | Partial<Record<"xs" | "xl" | "xxl" | "sm" | "md" | "lg", "0" | "s" | "l" | "m" | "auto" | "xxs-3" | "xxs-2" | "xxs" | "xs" | "xl" | "xxl" | "xxl-2" | "xxl-3">> | undefined;
|
|
4
5
|
color?: string | undefined;
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
py?: "0" | "s" | "m" | "auto" | "xxs-3" | "xxs-2" | "xxs" | "xs" | "l" | "xl" | "xxl" | "xxl-2" | "xxl-3" | Partial<Record<"xs" | "xl" | "xxl" | "sm" | "md" | "lg", "0" | "s" | "m" | "auto" | "xxs-3" | "xxs-2" | "xxs" | "xs" | "l" | "xl" | "xxl" | "xxl-2" | "xxl-3">> | undefined;
|
|
6
|
+
mt?: "0" | "s" | "l" | "m" | "auto" | "xxs-3" | "xxs-2" | "xxs" | "xs" | "xl" | "xxl" | "xxl-2" | "xxl-3" | Partial<Record<"xs" | "xl" | "xxl" | "sm" | "md" | "lg", "0" | "s" | "l" | "m" | "auto" | "xxs-3" | "xxs-2" | "xxs" | "xs" | "xl" | "xxl" | "xxl-2" | "xxl-3">> | undefined;
|
|
7
|
+
mr?: "0" | "s" | "l" | "m" | "auto" | "xxs-3" | "xxs-2" | "xxs" | "xs" | "xl" | "xxl" | "xxl-2" | "xxl-3" | Partial<Record<"xs" | "xl" | "xxl" | "sm" | "md" | "lg", "0" | "s" | "l" | "m" | "auto" | "xxs-3" | "xxs-2" | "xxs" | "xs" | "xl" | "xxl" | "xxl-2" | "xxl-3">> | undefined;
|
|
8
|
+
mb?: "0" | "s" | "l" | "m" | "auto" | "xxs-3" | "xxs-2" | "xxs" | "xs" | "xl" | "xxl" | "xxl-2" | "xxl-3" | Partial<Record<"xs" | "xl" | "xxl" | "sm" | "md" | "lg", "0" | "s" | "l" | "m" | "auto" | "xxs-3" | "xxs-2" | "xxs" | "xs" | "xl" | "xxl" | "xxl-2" | "xxl-3">> | undefined;
|
|
9
|
+
ml?: "0" | "s" | "l" | "m" | "auto" | "xxs-3" | "xxs-2" | "xxs" | "xs" | "xl" | "xxl" | "xxl-2" | "xxl-3" | Partial<Record<"xs" | "xl" | "xxl" | "sm" | "md" | "lg", "0" | "s" | "l" | "m" | "auto" | "xxs-3" | "xxs-2" | "xxs" | "xs" | "xl" | "xxl" | "xxl-2" | "xxl-3">> | undefined;
|
|
10
|
+
mx?: "0" | "s" | "l" | "m" | "auto" | "xxs-3" | "xxs-2" | "xxs" | "xs" | "xl" | "xxl" | "xxl-2" | "xxl-3" | Partial<Record<"xs" | "xl" | "xxl" | "sm" | "md" | "lg", "0" | "s" | "l" | "m" | "auto" | "xxs-3" | "xxs-2" | "xxs" | "xs" | "xl" | "xxl" | "xxl-2" | "xxl-3">> | undefined;
|
|
11
|
+
my?: "0" | "s" | "l" | "m" | "auto" | "xxs-3" | "xxs-2" | "xxs" | "xs" | "xl" | "xxl" | "xxl-2" | "xxl-3" | Partial<Record<"xs" | "xl" | "xxl" | "sm" | "md" | "lg", "0" | "s" | "l" | "m" | "auto" | "xxs-3" | "xxs-2" | "xxs" | "xs" | "xl" | "xxl" | "xxl-2" | "xxl-3">> | undefined;
|
|
12
|
+
pt?: "0" | "s" | "l" | "m" | "auto" | "xxs-3" | "xxs-2" | "xxs" | "xs" | "xl" | "xxl" | "xxl-2" | "xxl-3" | Partial<Record<"xs" | "xl" | "xxl" | "sm" | "md" | "lg", "0" | "s" | "l" | "m" | "auto" | "xxs-3" | "xxs-2" | "xxs" | "xs" | "xl" | "xxl" | "xxl-2" | "xxl-3">> | undefined;
|
|
13
|
+
pr?: "0" | "s" | "l" | "m" | "auto" | "xxs-3" | "xxs-2" | "xxs" | "xs" | "xl" | "xxl" | "xxl-2" | "xxl-3" | Partial<Record<"xs" | "xl" | "xxl" | "sm" | "md" | "lg", "0" | "s" | "l" | "m" | "auto" | "xxs-3" | "xxs-2" | "xxs" | "xs" | "xl" | "xxl" | "xxl-2" | "xxl-3">> | undefined;
|
|
14
|
+
pb?: "0" | "s" | "l" | "m" | "auto" | "xxs-3" | "xxs-2" | "xxs" | "xs" | "xl" | "xxl" | "xxl-2" | "xxl-3" | Partial<Record<"xs" | "xl" | "xxl" | "sm" | "md" | "lg", "0" | "s" | "l" | "m" | "auto" | "xxs-3" | "xxs-2" | "xxs" | "xs" | "xl" | "xxl" | "xxl-2" | "xxl-3">> | undefined;
|
|
15
|
+
pl?: "0" | "s" | "l" | "m" | "auto" | "xxs-3" | "xxs-2" | "xxs" | "xs" | "xl" | "xxl" | "xxl-2" | "xxl-3" | Partial<Record<"xs" | "xl" | "xxl" | "sm" | "md" | "lg", "0" | "s" | "l" | "m" | "auto" | "xxs-3" | "xxs-2" | "xxs" | "xs" | "xl" | "xxl" | "xxl-2" | "xxl-3">> | undefined;
|
|
16
|
+
px?: "0" | "s" | "l" | "m" | "auto" | "xxs-3" | "xxs-2" | "xxs" | "xs" | "xl" | "xxl" | "xxl-2" | "xxl-3" | Partial<Record<"xs" | "xl" | "xxl" | "sm" | "md" | "lg", "0" | "s" | "l" | "m" | "auto" | "xxs-3" | "xxs-2" | "xxs" | "xs" | "xl" | "xxl" | "xxl-2" | "xxl-3">> | undefined;
|
|
17
|
+
py?: "0" | "s" | "l" | "m" | "auto" | "xxs-3" | "xxs-2" | "xxs" | "xs" | "xl" | "xxl" | "xxl-2" | "xxl-3" | Partial<Record<"xs" | "xl" | "xxl" | "sm" | "md" | "lg", "0" | "s" | "l" | "m" | "auto" | "xxs-3" | "xxs-2" | "xxs" | "xs" | "xl" | "xxl" | "xxl-2" | "xxl-3">> | undefined;
|
|
18
18
|
borderColor?: import('@20minutes/hela').ColorType | undefined;
|
|
19
19
|
bg?: string | undefined;
|
|
20
|
-
radius?: "0" | "s" | "m" | "xxs-2" | "xxs" | "xs" | "
|
|
21
|
-
size?: "s" | "m" | "xxs-3" | "xxs-2" | "xxs" | "xs" | "l" | "xl" | "xxl" | undefined;
|
|
20
|
+
radius?: "0" | "s" | "l" | "m" | "xxs-2" | "xxs" | "xs" | "xl" | "xxl" | Partial<Record<"xs" | "xl" | "xxl" | "sm" | "md" | "lg", "0" | "s" | "l" | "m" | "xxs-2" | "xxs" | "xs" | "xl" | "xxl">> | undefined;
|
|
22
21
|
headline: import('@20minutes/hela').TextType;
|
|
22
|
+
size?: "s" | "l" | "m" | "xxs-3" | "xxs-2" | "xxs" | "xs" | "xl" | "xxl" | undefined;
|
|
23
23
|
hasDot?: boolean | undefined;
|
|
24
24
|
rightSubheader?: import('@20minutes/hela').TextType | undefined;
|
|
25
25
|
liveTime?: string | undefined;
|
package/dist/src/index.d.ts
CHANGED
|
@@ -22,4 +22,3 @@ export * from './containers/LocalNewsContainer/transformer';
|
|
|
22
22
|
export * from './containers/MainMostReadContainer/transformer';
|
|
23
23
|
export * from './containers/MostReadContainer/transformer';
|
|
24
24
|
export * from './containers/MoviesContainer/transformer';
|
|
25
|
-
export * from './containers/VideoListContainer/transformer';
|
|
@@ -20,7 +20,7 @@ export declare class ArticlePageManager extends PageManager<ArticlePageProps, Se
|
|
|
20
20
|
private insertInreadDesktop;
|
|
21
21
|
private insertInreadMobile;
|
|
22
22
|
static insertHeadliner(content: React.ReactNode): React.ReactElement;
|
|
23
|
-
static transformContentVideos(content: React.ReactNode): React.ReactElement;
|
|
23
|
+
static transformContentVideos(content: React.ReactNode, layout: LayoutType): React.ReactElement;
|
|
24
24
|
static transformCover(cover: React.ReactNode): React.ReactNode;
|
|
25
25
|
}
|
|
26
26
|
export {};
|
|
@@ -63,5 +63,5 @@ declare const meta: {
|
|
|
63
63
|
};
|
|
64
64
|
export default meta;
|
|
65
65
|
type Story = StoryObj<typeof meta>;
|
|
66
|
-
export declare const
|
|
67
|
-
export declare const
|
|
66
|
+
export declare const TvVideoPageMobile: Story;
|
|
67
|
+
export declare const TvVideoPageDesktop: Story;
|
|
@@ -25,13 +25,10 @@ export * from './LivePage';
|
|
|
25
25
|
export * from './MobileAppsPage';
|
|
26
26
|
export * from './MostCommentedPage';
|
|
27
27
|
export * from './MostReadPage';
|
|
28
|
-
export * from './MostRecentVideosPage';
|
|
29
28
|
export * from './MostSharedPage';
|
|
30
|
-
export * from './MostViewedPage';
|
|
31
29
|
export * from './MoviesPage';
|
|
32
30
|
export * from './NewsPage';
|
|
33
31
|
export * from './PartnerPage';
|
|
34
|
-
export * from './ProgramPage';
|
|
35
32
|
export * from './SearchPage';
|
|
36
33
|
export * from './ServicePage';
|
|
37
34
|
export * from './ShoppingGuidePage';
|
|
@@ -45,6 +42,4 @@ export * from './TvLivePage';
|
|
|
45
42
|
export * from './TvShowPage';
|
|
46
43
|
export * from './TvShowsPage';
|
|
47
44
|
export * from './UtiqPage';
|
|
48
|
-
export * from './VideoPage';
|
|
49
|
-
export * from './VideosPage';
|
|
50
45
|
export * from './WeatherPage';
|
|
@@ -260,13 +260,6 @@ export declare const enum ComponentNameNews {
|
|
|
260
260
|
NEWS_META = "news/meta",
|
|
261
261
|
NEWS_JSON_LD_BREADCRUMB = "news/json-ld-breadcrumb"
|
|
262
262
|
}
|
|
263
|
-
export declare const enum ComponentNameProgram {
|
|
264
|
-
PROGRAM_META = "program/meta",
|
|
265
|
-
PROGRAM_BREADCRUMB = "program/breadcrumb",
|
|
266
|
-
PROGRAM_HEADER_PAGE = "program/header-page",
|
|
267
|
-
PROGRAM_VIDEOS_LIST = "program/videos-list",
|
|
268
|
-
PROGRAM_CAROUSEL = "program/carousel"
|
|
269
|
-
}
|
|
270
263
|
export declare const enum ComponentNameRubric {
|
|
271
264
|
RUBRIC_RUBRIC_CAROUSELS = "rubric/rubric-carousels",
|
|
272
265
|
RUBRIC_MOST_READ_ARTICLES = "rubric/most-read-articles",
|
|
@@ -371,29 +364,13 @@ export declare const enum ComponentNameUtiq {
|
|
|
371
364
|
UTIQ_JSON_LD_BREADCRUMB = "utiq/json-ld-breadcrumb",
|
|
372
365
|
UTIQ_META = "utiq/meta"
|
|
373
366
|
}
|
|
374
|
-
export declare const enum ComponentNameVideo {
|
|
375
|
-
VIDEO_META = "video/meta",
|
|
376
|
-
VIDEO_TOP_BLOCK = "video/top-block",
|
|
377
|
-
VIDEO_BREADCRUMB = "video/breadcrumb",
|
|
378
|
-
VIDEO_CAROUSEL = "video/carousel",
|
|
379
|
-
VIDEO_JSON_LD_NEWS_ARTICLE = "video/json-ld-news-article"
|
|
380
|
-
}
|
|
381
|
-
export declare const enum ComponentNameVideos {
|
|
382
|
-
VIDEOS_TOP_BLOCK = "videos/top-block",
|
|
383
|
-
VIDEOS_HEADER_PAGE = "videos/header-page",
|
|
384
|
-
VIDEOS_BREADCRUMB = "videos/breadcrumb",
|
|
385
|
-
VIDEOS_CAROUSEL = "videos/carousel",
|
|
386
|
-
VIDEOS_TV_BLOCK = "videos/tv-block",
|
|
387
|
-
VIDEOS_CHANNELS_LIST = "videos/channels-list",
|
|
388
|
-
VIDEOS_META = "videos/meta"
|
|
389
|
-
}
|
|
390
367
|
export declare const enum ComponentNameWeather {
|
|
391
368
|
WEATHER_BREADCRUMB = "weather/breadcrumb",
|
|
392
369
|
WEATHER_HEADER_PAGE = "weather/header-page",
|
|
393
370
|
WEATHER_JSON_LD_BREADCRUMB = "weather/json-ld-breadcrumb",
|
|
394
371
|
WEATHER_META = "weather/meta"
|
|
395
372
|
}
|
|
396
|
-
export interface ComponentConfig<TComponentName = ComponentNameArchives | ComponentNameArticle | ComponentNameCommon | ComponentNameContact | ComponentNameContent | ComponentNameDirect | ComponentNameElections | ComponentNameError | ComponentNameGame | ComponentNameHome | ComponentNameHoroscope | ComponentNameJobs | ComponentNameJournalist | ComponentNameLa21e | ComponentNameLegal | ComponentNameLegalNotice | ComponentNameLive | ComponentNameMobileApps | ComponentNameMostCommented | ComponentNameMostRead | ComponentNameMostRecentVideos | ComponentNameMostShared | ComponentNameMostViewed | ComponentNameMovies | ComponentNameNews |
|
|
373
|
+
export interface ComponentConfig<TComponentName = ComponentNameArchives | ComponentNameArticle | ComponentNameCommon | ComponentNameContact | ComponentNameContent | ComponentNameDirect | ComponentNameElections | ComponentNameError | ComponentNameGame | ComponentNameHome | ComponentNameHoroscope | ComponentNameJobs | ComponentNameJournalist | ComponentNameLa21e | ComponentNameLegal | ComponentNameLegalNotice | ComponentNameLive | ComponentNameMobileApps | ComponentNameMostCommented | ComponentNameMostRead | ComponentNameMostRecentVideos | ComponentNameMostShared | ComponentNameMostViewed | ComponentNameMovies | ComponentNameNews | ComponentNameRubric | ComponentNameSearch | ComponentNameService | ComponentNameShoppingGuide | ComponentNameSitemap | ComponentNameSlideshow | ComponentNameSport | ComponentNameStory | ComponentNameTag | ComponentNameTraffic | ComponentNameTvHome | ComponentNameTvLive | ComponentNameTvVideo | ComponentNameTvShow | ComponentNameTvShows | ComponentNameUtiq | ComponentNameWeather, TComponent = React.FC<any>> {
|
|
397
374
|
componentName: TComponentName;
|
|
398
375
|
component: TComponent;
|
|
399
376
|
expiration?: number;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ArchiveByDayPage, ArchiveByDayPageProps, ArchiveByYearPage, ArchiveByYearPageProps, ArticlePage, ArticlePageProps, ContactPage, ContactPageProps, DirectPage, DirectPageProps, ElectionsHomePage, ElectionsHomePageProps, ElectionsPage, ElectionsPageProps, ErrorPage, ErrorPageProps, GameAppPage, GameAppPageProps, GameHomePage, GameHomePageProps, GamePage, GamePageProps, HomePage, HomePageProps, HoroscopeHomePage, HoroscopeHomePageProps, HoroscopePage, HoroscopePageProps, JobDetailsPage, JobDetailsPageProps, JobsPage, JobsPageProps, JournalistPage, JournalistPageProps, La21ePage, La21ePageProps, LegalNoticeDepartmentPage, LegalNoticeDepartmentPageProps, LegalNoticeHomePage, LegalNoticeHomePageProps, LegalNoticePage, LegalNoticePageProps, LegalPage, LegalPageProps, LivePage, LivePageProps, MobileAppsPage, MobileAppsPageProps, MostCommentedPage, MostCommentedPageProps, MostReadPage, MostReadPageProps,
|
|
1
|
+
import { ArchiveByDayPage, ArchiveByDayPageProps, ArchiveByYearPage, ArchiveByYearPageProps, ArticlePage, ArticlePageProps, ContactPage, ContactPageProps, DirectPage, DirectPageProps, ElectionsHomePage, ElectionsHomePageProps, ElectionsPage, ElectionsPageProps, ErrorPage, ErrorPageProps, GameAppPage, GameAppPageProps, GameHomePage, GameHomePageProps, GamePage, GamePageProps, HomePage, HomePageProps, HoroscopeHomePage, HoroscopeHomePageProps, HoroscopePage, HoroscopePageProps, JobDetailsPage, JobDetailsPageProps, JobsPage, JobsPageProps, JournalistPage, JournalistPageProps, La21ePage, La21ePageProps, LegalNoticeDepartmentPage, LegalNoticeDepartmentPageProps, LegalNoticeHomePage, LegalNoticeHomePageProps, LegalNoticePage, LegalNoticePageProps, LegalPage, LegalPageProps, LivePage, LivePageProps, MobileAppsPage, MobileAppsPageProps, MostCommentedPage, MostCommentedPageProps, MostReadPage, MostReadPageProps, MostSharedPage, MostSharedPageProps, MoviesPage, MoviesPageProps, NewsPage, NewsPageProps, PartnerPage, SearchPage, SearchPageProps, ServicePage, ServicePageProps, ShoppingGuidePage, ShoppingGuidePageProps, SitemapPage, SitemapPageProps, SlideshowPage, SlideshowPageProps, SportPage, SportPageProps, TagPage, TagPageProps, TrafficPage, TrafficPageProps, TvHomePage, TvHomePageProps, TvLivePage, TvLivePageProps, TvShowPage, TvShowPageProps, TvShowsPage, TvShowsPageProps, UtiqPage, UtiqPageProps, WeatherPage, WeatherPageProps } from '../pages';
|
|
2
2
|
import { TvVideoPage, TvVideoPageProps } from '../pages/TvVideoPage';
|
|
3
3
|
import { PageTemplateProps } from '../templates';
|
|
4
|
-
import { ComponentNameArchives, ComponentNameArticle, ComponentNameCommon, ComponentNameContact, ComponentNameContent, ComponentNameDirect, ComponentNameElections, ComponentNameError, ComponentNameGame, ComponentNameHome, ComponentNameHoroscope, ComponentNameJobs, ComponentNameJournalist, ComponentNameLa21e, ComponentNameLegal, ComponentNameLegalNotice, ComponentNameLive, ComponentNameMobileApps, ComponentNameMostCommented, ComponentNameMostRead,
|
|
4
|
+
import { ComponentNameArchives, ComponentNameArticle, ComponentNameCommon, ComponentNameContact, ComponentNameContent, ComponentNameDirect, ComponentNameElections, ComponentNameError, ComponentNameGame, ComponentNameHome, ComponentNameHoroscope, ComponentNameJobs, ComponentNameJournalist, ComponentNameLa21e, ComponentNameLegal, ComponentNameLegalNotice, ComponentNameLive, ComponentNameMobileApps, ComponentNameMostCommented, ComponentNameMostRead, ComponentNameMostShared, ComponentNameMovies, ComponentNameNews, ComponentNameRubric, ComponentNameSearch, ComponentNameService, ComponentNameShoppingGuide, ComponentNameSitemap, ComponentNameSlideshow, ComponentNameSport, ComponentNameStory, ComponentNameTag, ComponentNameTraffic, ComponentNameTvHome, ComponentNameTvLive, ComponentNameTvShow, ComponentNameTvShows, ComponentNameTvVideo, ComponentNameUtiq, ComponentNameWeather } from './ComponentConfig';
|
|
5
5
|
export interface PageComponentConfig<TComponentName = string, TPropName = string> {
|
|
6
6
|
name: TComponentName;
|
|
7
7
|
propName: TPropName;
|
|
@@ -41,13 +41,10 @@ export type LivePageConfig = PageConfig<'live', typeof LivePage, ComponentNameCo
|
|
|
41
41
|
export type MobileAppsPageConfig = PageConfig<'mobileApps', typeof MobileAppsPage, ComponentNameCommon | ComponentNameRubric | ComponentNameMobileApps, keyof MobileAppsPageProps | 'meta' | 'jsonLdBreadcrumb' | 'defaultPreload'>;
|
|
42
42
|
export type MostCommentedPageConfig = PageConfig<'mostCommented', typeof MostCommentedPage, ComponentNameCommon | ComponentNameMostCommented, keyof MostCommentedPageProps | 'meta' | 'defaultPreload'>;
|
|
43
43
|
export type MostReadPageConfig = PageConfig<'mostRead', typeof MostReadPage, ComponentNameCommon | ComponentNameMostRead, keyof MostReadPageProps | 'meta' | 'defaultPreload'>;
|
|
44
|
-
export type MostRecentVideosPageConfig = PageConfig<'mostRecentVideos', typeof MostRecentVideosPage, ComponentNameCommon | ComponentNameMostRecentVideos, keyof MostRecentVideosPageProps | 'meta' | 'defaultPreload'>;
|
|
45
44
|
export type MostSharedPageConfig = PageConfig<'mostShared', typeof MostSharedPage, ComponentNameCommon | ComponentNameMostShared, keyof MostSharedPageProps | 'meta' | 'defaultPreload'>;
|
|
46
|
-
export type MostViewedPageConfig = PageConfig<'mostViewed', typeof MostViewedPage, ComponentNameCommon | ComponentNameMostViewed, keyof MostViewedPageProps | 'meta' | 'defaultPreload'>;
|
|
47
45
|
export type MoviesPageConfig = PageConfig<'movies', typeof MoviesPage, ComponentNameCommon | ComponentNameMovies, keyof MoviesPageProps | 'header' | 'headerMini' | 'footer' | 'menu' | 'meta' | 'defaultPreload'>;
|
|
48
46
|
export type NewsPageConfig = PageConfig<'news', typeof NewsPage, ComponentNameCommon | ComponentNameNews, keyof NewsPageProps | 'meta' | 'jsonLdBreadcrumb' | 'header' | 'headerMini' | 'footer' | 'menu'>;
|
|
49
47
|
export type PartnerPageConfig = PageConfig<'partner', typeof PartnerPage, ComponentNameCommon, keyof Pick<PageTemplateProps, 'header' | 'headerMini' | 'footer' | 'menu'>>;
|
|
50
|
-
export type ProgramPageConfig = PageConfig<'program', typeof ProgramPage, ComponentNameCommon | ComponentNameProgram, keyof ProgramPageProps | 'meta' | 'defaultPreload'>;
|
|
51
48
|
export type SearchPageConfig = PageConfig<'search', typeof SearchPage, ComponentNameCommon | ComponentNameRubric | ComponentNameSearch, keyof SearchPageProps | 'meta' | 'jsonLdBreadcrumb' | 'defaultPreload'>;
|
|
52
49
|
export type ServicePageConfig = PageConfig<'service', typeof ServicePage, ComponentNameCommon | ComponentNameRubric | ComponentNameService, keyof ServicePageProps | 'meta' | 'jsonLdBreadcrumb' | 'defaultPreload'>;
|
|
53
50
|
export type ShoppingGuidePageConfig = PageConfig<'shoppingGuide', typeof ShoppingGuidePage, ComponentNameCommon | ComponentNameRubric | ComponentNameShoppingGuide, keyof ShoppingGuidePageProps | 'meta' | 'jsonLdBreadcrumb' | 'defaultPreload'>;
|
|
@@ -62,8 +59,6 @@ export type TvShowPageConfig = PageConfig<'tvShow', typeof TvShowPage, Component
|
|
|
62
59
|
export type TvShowsPageConfig = PageConfig<'tvShows', typeof TvShowsPage, ComponentNameCommon | ComponentNameTvShows, keyof TvShowsPageProps | 'meta' | 'jsonLdBreadcrumb' | 'defaultPreload'>;
|
|
63
60
|
export type TvVideoPageConfig = PageConfig<'tvVideo', typeof TvVideoPage, ComponentNameCommon | ComponentNameTvVideo | ComponentNameTvShow, keyof TvVideoPageProps | 'meta' | 'jsonLdBreadcrumb' | 'defaultPreload'>;
|
|
64
61
|
export type UtiqPageConfig = PageConfig<'utiq', typeof UtiqPage, ComponentNameCommon | ComponentNameRubric | ComponentNameUtiq, keyof UtiqPageProps | 'meta' | 'jsonLdBreadcrumb' | 'defaultPreload'>;
|
|
65
|
-
export type VideoPageConfig = PageConfig<'page', typeof VideoPage, ComponentNameCommon | ComponentNameVideo, keyof VideoPageProps | 'meta' | 'jsonLdNewsArticle' | 'defaultPreload'>;
|
|
66
|
-
export type VideosPageConfig = PageConfig<'pages', typeof VideosPage, ComponentNameCommon | ComponentNameVideos, keyof VideosPageProps | 'meta' | 'defaultPreload'>;
|
|
67
62
|
export type WeatherPageConfig = PageConfig<'weather', typeof WeatherPage, ComponentNameCommon | ComponentNameRubric | ComponentNameWeather, keyof WeatherPageProps | 'meta' | 'jsonLdBreadcrumb' | 'defaultPreload'>;
|
|
68
63
|
export type PageConfigs = [
|
|
69
64
|
ArchiveByDayPageConfig,
|
|
@@ -93,13 +88,10 @@ export type PageConfigs = [
|
|
|
93
88
|
MobileAppsPageConfig,
|
|
94
89
|
MostCommentedPageConfig,
|
|
95
90
|
MostReadPageConfig,
|
|
96
|
-
MostRecentVideosPageConfig,
|
|
97
91
|
MostSharedPageConfig,
|
|
98
|
-
MostViewedPageConfig,
|
|
99
92
|
MoviesPageConfig,
|
|
100
93
|
NewsPageConfig,
|
|
101
94
|
PartnerPageConfig,
|
|
102
|
-
ProgramPageConfig,
|
|
103
95
|
SearchPageConfig,
|
|
104
96
|
ServicePageConfig,
|
|
105
97
|
ShoppingGuidePageConfig,
|
|
@@ -114,8 +106,6 @@ export type PageConfigs = [
|
|
|
114
106
|
TvShowsPageConfig,
|
|
115
107
|
TvVideoPageConfig,
|
|
116
108
|
UtiqPageConfig,
|
|
117
|
-
VideoPageConfig,
|
|
118
|
-
VideosPageConfig,
|
|
119
109
|
WeatherPageConfig
|
|
120
110
|
];
|
|
121
111
|
export type PageConfigAvailable = PageConfigs[number];
|
|
@@ -59,7 +59,6 @@ declare global {
|
|
|
59
59
|
mostReadContainer?: Required<MostReadArticlesProps>;
|
|
60
60
|
moviesListContainer?: Required<MoviesListProps>;
|
|
61
61
|
mainMostReadContainer?: Required<MostReadArticlesBlockProps>;
|
|
62
|
-
videoListContainer?: Required<CardsListProps>;
|
|
63
62
|
};
|
|
64
63
|
ReactDOMClient: typeof ReactDOMClient;
|
|
65
64
|
thirdPartiesConfig: ThirdPartiesConfigType;
|