@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.
Files changed (96) hide show
  1. package/dist/css/gameappPage-desktop-critical.css +1 -0
  2. package/dist/css/gameappPage-desktop-no-critical.css +1 -0
  3. package/dist/index.es.js +20829 -21774
  4. package/dist/index.umd.js +111 -111
  5. package/dist/js/ads.min.js +2 -2
  6. package/dist/js/awsRum.min.js +1 -1
  7. package/dist/js/cmp.min.js +2 -2
  8. package/dist/js/main.min.js +8 -8
  9. package/dist/js/piano.min.js +1 -1
  10. package/dist/js/react-and-react-dom.min.js +2 -2
  11. package/dist/js/script-helpers.min.js +1 -1
  12. package/dist/src/assets/datalayer/types/DatalayerInfoType.d.ts +0 -3
  13. package/dist/src/assets/main/concern.d.ts +0 -1
  14. package/dist/src/components/molecules/TvVideoTopBlock/TvVideoTopBlock.d.ts +3 -2
  15. package/dist/src/components/molecules/TvVideoTopBlock/TvVideoTopBlock.stories.d.ts +10 -1
  16. package/dist/src/components/organisms/GamePage/GamePageHeader/GamePageHeader.stories.d.ts +1 -1
  17. package/dist/src/components/organisms/HomePage/GamesCarousel/GamesCarousel.stories.d.ts +20 -20
  18. package/dist/src/components/organisms/TvPages/ShowsReplaysCarousel/ShowsReplaysCarousel.stories.d.ts +20 -20
  19. package/dist/src/components/organisms/index.d.ts +0 -3
  20. package/dist/src/helpers/cardHeaderHelper.d.ts +16 -16
  21. package/dist/src/index.d.ts +0 -1
  22. package/dist/src/managers/ArticlePageManager.d.ts +1 -1
  23. package/dist/src/pages/GameAppPage/GameAppPage.stories.d.ts +1 -0
  24. package/dist/src/pages/TvVideoPage/TvVideoPage.stories.d.ts +2 -2
  25. package/dist/src/pages/index.d.ts +0 -5
  26. package/dist/src/types/ComponentConfig.d.ts +1 -24
  27. package/dist/src/types/PageConfig.d.ts +2 -12
  28. package/dist/src/types/Window.d.ts +0 -1
  29. package/dist/src/types/graphql.d.ts +4 -96
  30. package/package.json +10 -10
  31. package/dist/css/mostrecentvideosPage-desktop-critical.css +0 -1
  32. package/dist/css/mostrecentvideosPage-desktop-no-critical.css +0 -1
  33. package/dist/css/mostrecentvideosPage-mobile-critical.css +0 -1
  34. package/dist/css/mostrecentvideosPage-mobile-no-critical.css +0 -1
  35. package/dist/css/mostviewedPage-desktop-critical.css +0 -1
  36. package/dist/css/mostviewedPage-desktop-no-critical.css +0 -1
  37. package/dist/css/mostviewedPage-mobile-critical.css +0 -1
  38. package/dist/css/mostviewedPage-mobile-no-critical.css +0 -1
  39. package/dist/css/pagePage-desktop-critical.css +0 -1
  40. package/dist/css/pagePage-desktop-no-critical.css +0 -1
  41. package/dist/css/pagePage-mobile-critical.css +0 -1
  42. package/dist/css/pagePage-mobile-no-critical.css +0 -1
  43. package/dist/css/pagesPage-desktop-critical.css +0 -1
  44. package/dist/css/pagesPage-desktop-no-critical.css +0 -1
  45. package/dist/css/pagesPage-mobile-critical.css +0 -1
  46. package/dist/css/pagesPage-mobile-no-critical.css +0 -1
  47. package/dist/css/programPage-desktop-critical.css +0 -1
  48. package/dist/css/programPage-desktop-no-critical.css +0 -1
  49. package/dist/css/programPage-mobile-critical.css +0 -1
  50. package/dist/css/programPage-mobile-no-critical.css +0 -1
  51. package/dist/src/components/organisms/ProgramPage/VideosList/VideosList.d.ts +0 -3
  52. package/dist/src/components/organisms/ProgramPage/VideosList/VideosList.stories.d.ts +0 -19
  53. package/dist/src/components/organisms/ProgramPage/VideosList/index.d.ts +0 -1
  54. package/dist/src/components/organisms/ProgramPage/index.d.ts +0 -1
  55. package/dist/src/components/organisms/VideosCarousel/VideosCarousel.d.ts +0 -8
  56. package/dist/src/components/organisms/VideosCarousel/VideosCarousel.stories.d.ts +0 -312
  57. package/dist/src/components/organisms/VideosCarousel/index.d.ts +0 -1
  58. package/dist/src/components/organisms/VideosPage/VideosBlock/VideosBlock.d.ts +0 -13
  59. package/dist/src/components/organisms/VideosPage/VideosBlock/VideosBlock.stories.d.ts +0 -33
  60. package/dist/src/components/organisms/VideosPage/VideosBlock/index.d.ts +0 -1
  61. package/dist/src/components/organisms/VideosPage/VideosChannelsList/VideosChannelsList.d.ts +0 -17
  62. package/dist/src/components/organisms/VideosPage/VideosChannelsList/VideosChannelsList.stories.d.ts +0 -16
  63. package/dist/src/components/organisms/VideosPage/VideosChannelsList/index.d.ts +0 -1
  64. package/dist/src/components/organisms/VideosPage/VideosTopBlock/VideosTopBlock.d.ts +0 -34
  65. package/dist/src/components/organisms/VideosPage/VideosTopBlock/VideosTopBlock.stories.d.ts +0 -18
  66. package/dist/src/components/organisms/VideosPage/VideosTopBlock/index.d.ts +0 -1
  67. package/dist/src/components/organisms/VideosPage/index.d.ts +0 -3
  68. package/dist/src/config/componentConfigs/componentMostRecentVideosConfigs.d.ts +0 -2
  69. package/dist/src/config/componentConfigs/componentMostViewedConfigs.d.ts +0 -2
  70. package/dist/src/config/componentConfigs/componentProgramConfigs.d.ts +0 -2
  71. package/dist/src/config/componentConfigs/componentVideoConfigs.d.ts +0 -2
  72. package/dist/src/config/componentConfigs/componentVideosConfigs.d.ts +0 -2
  73. package/dist/src/config/pageConfigs/mostRecentVideosPageConfig.d.ts +0 -2
  74. package/dist/src/config/pageConfigs/mostViewedPageConfig.d.ts +0 -2
  75. package/dist/src/config/pageConfigs/programPageConfig.d.ts +0 -2
  76. package/dist/src/config/pageConfigs/videoPageConfig.d.ts +0 -2
  77. package/dist/src/config/pageConfigs/videosPageConfig.d.ts +0 -2
  78. package/dist/src/containers/VideoListContainer/VideoListContainer.d.ts +0 -5
  79. package/dist/src/containers/VideoListContainer/index.d.ts +0 -1
  80. package/dist/src/containers/VideoListContainer/transformer.d.ts +0 -9
  81. package/dist/src/containers/VideoListContainer/useVideoListContainer.d.ts +0 -11
  82. package/dist/src/pages/MostRecentVideosPage/MostRecentVideosPage.d.ts +0 -9
  83. package/dist/src/pages/MostRecentVideosPage/MostRecentVideosPage.stories.d.ts +0 -14
  84. package/dist/src/pages/MostRecentVideosPage/index.d.ts +0 -1
  85. package/dist/src/pages/MostViewedPage/MostViewedPage.d.ts +0 -9
  86. package/dist/src/pages/MostViewedPage/MostViewedPage.stories.d.ts +0 -14
  87. package/dist/src/pages/MostViewedPage/index.d.ts +0 -1
  88. package/dist/src/pages/ProgramPage/ProgramPage.d.ts +0 -9
  89. package/dist/src/pages/ProgramPage/ProgramPage.stories.d.ts +0 -14
  90. package/dist/src/pages/ProgramPage/index.d.ts +0 -1
  91. package/dist/src/pages/VideoPage/VideoPage.d.ts +0 -8
  92. package/dist/src/pages/VideoPage/VideoPage.stories.d.ts +0 -15
  93. package/dist/src/pages/VideoPage/index.d.ts +0 -1
  94. package/dist/src/pages/VideosPage/VideosPage.d.ts +0 -11
  95. package/dist/src/pages/VideosPage/VideosPage.stories.d.ts +0 -15
  96. package/dist/src/pages/VideosPage/index.d.ts +0 -1
@@ -1,3 +0,0 @@
1
- import { default as React } from 'react';
2
- import { CardsListProps } from '../../CardsList';
3
- export declare const VideosList: React.FC<CardsListProps>;
@@ -1,19 +0,0 @@
1
- import { LayoutType } from '@20minutes/hela';
2
- import { CardsListProps } from '../../CardsList';
3
- import { StoryObj } from '@storybook/react-vite';
4
- export declare const defaultArgsForLayout: (layout: LayoutType) => CardsListProps;
5
- declare const meta: {
6
- title: string;
7
- component: import('react').FC<CardsListProps>;
8
- args: CardsListProps;
9
- globals: {
10
- viewport: {
11
- value: string;
12
- };
13
- };
14
- excludeStories: string[];
15
- };
16
- export default meta;
17
- type Story = StoryObj<typeof meta>;
18
- export declare const Mobile: Story;
19
- export declare const Desktop: Story;
@@ -1 +0,0 @@
1
- export * from './VideosList';
@@ -1 +0,0 @@
1
- export * from './VideosList';
@@ -1,8 +0,0 @@
1
- import { BoxProps, CardSmallProps, LayoutType, LinkProps } from '@20minutes/hela';
2
- import { default as React } from 'react';
3
- export interface VideosCarouselProps extends BoxProps {
4
- videos: CardSmallProps[];
5
- layout: LayoutType;
6
- seeMoreLink?: LinkProps;
7
- }
8
- export declare const VideosCarousel: React.FC<VideosCarouselProps>;
@@ -1,312 +0,0 @@
1
- import { LayoutType } from '@20minutes/hela';
2
- import { default as React } from 'react';
3
- import { VideosCarouselProps } from './VideosCarousel';
4
- import { StoryObj } from '@storybook/react-vite';
5
- export declare const defaultArgs: VideosCarouselProps;
6
- declare const meta: {
7
- title: string;
8
- component: React.FC<VideosCarouselProps>;
9
- args: VideosCarouselProps;
10
- parameters: {
11
- controls: {
12
- exclude: string[];
13
- };
14
- };
15
- decorators: ((Story: import('storybook/internal/csf').PartialStoryFn<import('@storybook/react/dist/types-5617c98e').R, {
16
- [x: `data-${string}`]: string;
17
- videos: import('@20minutes/hela').CardSmallProps[];
18
- layout: LayoutType;
19
- seeMoreLink?: import('@20minutes/hela').LinkProps<"a"> | undefined;
20
- m?: "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;
21
- mt?: "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;
22
- mr?: "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;
23
- mb?: "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;
24
- ml?: "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;
25
- mx?: "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;
26
- my?: "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;
27
- p?: "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;
28
- pt?: "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;
29
- pr?: "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;
30
- pb?: "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;
31
- pl?: "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;
32
- px?: "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;
33
- 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;
34
- borderColor?: import('@20minutes/hela').ColorType | undefined;
35
- bg?: string | undefined;
36
- color?: string | undefined;
37
- radius?: "0" | "s" | "m" | "xxs-2" | "xxs" | "xs" | "l" | "xl" | "xxl" | Partial<Record<"xs" | "xl" | "xxl" | "sm" | "md" | "lg", "0" | "s" | "m" | "xxs-2" | "xxs" | "xs" | "l" | "xl" | "xxl">> | undefined;
38
- slot?: string | undefined;
39
- style?: React.CSSProperties | undefined;
40
- title?: string | undefined;
41
- id?: string | undefined;
42
- key?: React.Key | null | undefined;
43
- as?: import('@20minutes/hela').As<any> | undefined;
44
- defaultChecked?: boolean | undefined;
45
- defaultValue?: string | number | readonly string[] | undefined;
46
- suppressContentEditableWarning?: boolean | undefined;
47
- suppressHydrationWarning?: boolean | undefined;
48
- accessKey?: string | undefined;
49
- autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | (string & {}) | undefined;
50
- autoFocus?: boolean | undefined;
51
- className?: string | undefined;
52
- contentEditable?: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
53
- contextMenu?: string | undefined;
54
- dir?: string | undefined;
55
- draggable?: (boolean | "true" | "false") | undefined;
56
- enterKeyHint?: "search" | "enter" | "done" | "go" | "next" | "previous" | "send" | undefined;
57
- hidden?: boolean | undefined;
58
- lang?: string | undefined;
59
- nonce?: string | undefined;
60
- spellCheck?: (boolean | "true" | "false") | undefined;
61
- tabIndex?: number | undefined;
62
- translate?: "yes" | "no" | undefined;
63
- radioGroup?: string | undefined;
64
- role?: React.AriaRole | undefined;
65
- about?: string | undefined;
66
- content?: string | undefined;
67
- datatype?: string | undefined;
68
- inlist?: any;
69
- prefix?: string | undefined;
70
- property?: string | undefined;
71
- rel?: string | undefined;
72
- resource?: string | undefined;
73
- rev?: string | undefined;
74
- typeof?: string | undefined;
75
- vocab?: string | undefined;
76
- autoCorrect?: string | undefined;
77
- autoSave?: string | undefined;
78
- itemProp?: string | undefined;
79
- itemScope?: boolean | undefined;
80
- itemType?: string | undefined;
81
- itemID?: string | undefined;
82
- itemRef?: string | undefined;
83
- results?: number | undefined;
84
- security?: string | undefined;
85
- unselectable?: "off" | "on" | undefined;
86
- inputMode?: "url" | "text" | "search" | "none" | "tel" | "email" | "numeric" | "decimal" | undefined;
87
- is?: string | undefined;
88
- exportparts?: string | undefined;
89
- part?: string | undefined;
90
- fetchpriority?: "auto" | "high" | "low" | undefined;
91
- "aria-activedescendant"?: string | undefined;
92
- "aria-atomic"?: (boolean | "true" | "false") | undefined;
93
- "aria-autocomplete"?: "none" | "list" | "inline" | "both" | undefined;
94
- "aria-braillelabel"?: string | undefined;
95
- "aria-brailleroledescription"?: string | undefined;
96
- "aria-busy"?: (boolean | "true" | "false") | undefined;
97
- "aria-checked"?: boolean | "mixed" | "true" | "false" | undefined;
98
- "aria-colcount"?: number | undefined;
99
- "aria-colindex"?: number | undefined;
100
- "aria-colindextext"?: string | undefined;
101
- "aria-colspan"?: number | undefined;
102
- "aria-controls"?: string | undefined;
103
- "aria-current"?: boolean | "time" | "true" | "false" | "page" | "step" | "location" | "date" | undefined;
104
- "aria-describedby"?: string | undefined;
105
- "aria-description"?: string | undefined;
106
- "aria-details"?: string | undefined;
107
- "aria-disabled"?: (boolean | "true" | "false") | undefined;
108
- "aria-dropeffect"?: "link" | "none" | "copy" | "execute" | "move" | "popup" | undefined;
109
- "aria-errormessage"?: string | undefined;
110
- "aria-expanded"?: (boolean | "true" | "false") | undefined;
111
- "aria-flowto"?: string | undefined;
112
- "aria-grabbed"?: (boolean | "true" | "false") | undefined;
113
- "aria-haspopup"?: boolean | "dialog" | "menu" | "true" | "false" | "grid" | "listbox" | "tree" | undefined;
114
- "aria-hidden"?: (boolean | "true" | "false") | undefined;
115
- "aria-invalid"?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
116
- "aria-keyshortcuts"?: string | undefined;
117
- "aria-label"?: string | undefined;
118
- "aria-labelledby"?: string | undefined;
119
- "aria-level"?: number | undefined;
120
- "aria-live"?: "off" | "assertive" | "polite" | undefined;
121
- "aria-modal"?: (boolean | "true" | "false") | undefined;
122
- "aria-multiline"?: (boolean | "true" | "false") | undefined;
123
- "aria-multiselectable"?: (boolean | "true" | "false") | undefined;
124
- "aria-orientation"?: "horizontal" | "vertical" | undefined;
125
- "aria-owns"?: string | undefined;
126
- "aria-placeholder"?: string | undefined;
127
- "aria-posinset"?: number | undefined;
128
- "aria-pressed"?: boolean | "mixed" | "true" | "false" | undefined;
129
- "aria-readonly"?: (boolean | "true" | "false") | undefined;
130
- "aria-relevant"?: "text" | "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
131
- "aria-required"?: (boolean | "true" | "false") | undefined;
132
- "aria-roledescription"?: string | undefined;
133
- "aria-rowcount"?: number | undefined;
134
- "aria-rowindex"?: number | undefined;
135
- "aria-rowindextext"?: string | undefined;
136
- "aria-rowspan"?: number | undefined;
137
- "aria-selected"?: (boolean | "true" | "false") | undefined;
138
- "aria-setsize"?: number | undefined;
139
- "aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined;
140
- "aria-valuemax"?: number | undefined;
141
- "aria-valuemin"?: number | undefined;
142
- "aria-valuenow"?: number | undefined;
143
- "aria-valuetext"?: string | undefined;
144
- children?: React.ReactNode;
145
- dangerouslySetInnerHTML?: {
146
- __html: string | TrustedHTML;
147
- } | undefined;
148
- onCopy?: React.ClipboardEventHandler<HTMLDivElement> | undefined;
149
- onCopyCapture?: React.ClipboardEventHandler<HTMLDivElement> | undefined;
150
- onCut?: React.ClipboardEventHandler<HTMLDivElement> | undefined;
151
- onCutCapture?: React.ClipboardEventHandler<HTMLDivElement> | undefined;
152
- onPaste?: React.ClipboardEventHandler<HTMLDivElement> | undefined;
153
- onPasteCapture?: React.ClipboardEventHandler<HTMLDivElement> | undefined;
154
- onCompositionEnd?: React.CompositionEventHandler<HTMLDivElement> | undefined;
155
- onCompositionEndCapture?: React.CompositionEventHandler<HTMLDivElement> | undefined;
156
- onCompositionStart?: React.CompositionEventHandler<HTMLDivElement> | undefined;
157
- onCompositionStartCapture?: React.CompositionEventHandler<HTMLDivElement> | undefined;
158
- onCompositionUpdate?: React.CompositionEventHandler<HTMLDivElement> | undefined;
159
- onCompositionUpdateCapture?: React.CompositionEventHandler<HTMLDivElement> | undefined;
160
- onFocus?: React.FocusEventHandler<HTMLDivElement> | undefined;
161
- onFocusCapture?: React.FocusEventHandler<HTMLDivElement> | undefined;
162
- onBlur?: React.FocusEventHandler<HTMLDivElement> | undefined;
163
- onBlurCapture?: React.FocusEventHandler<HTMLDivElement> | undefined;
164
- onChange?: React.FormEventHandler<HTMLDivElement> | undefined;
165
- onChangeCapture?: React.FormEventHandler<HTMLDivElement> | undefined;
166
- onBeforeInput?: React.InputEventHandler<HTMLDivElement> | undefined;
167
- onBeforeInputCapture?: React.FormEventHandler<HTMLDivElement> | undefined;
168
- onInput?: React.FormEventHandler<HTMLDivElement> | undefined;
169
- onInputCapture?: React.FormEventHandler<HTMLDivElement> | undefined;
170
- onReset?: React.FormEventHandler<HTMLDivElement> | undefined;
171
- onResetCapture?: React.FormEventHandler<HTMLDivElement> | undefined;
172
- onSubmit?: React.FormEventHandler<HTMLDivElement> | undefined;
173
- onSubmitCapture?: React.FormEventHandler<HTMLDivElement> | undefined;
174
- onInvalid?: React.FormEventHandler<HTMLDivElement> | undefined;
175
- onInvalidCapture?: React.FormEventHandler<HTMLDivElement> | undefined;
176
- onLoad?: React.ReactEventHandler<HTMLDivElement> | undefined;
177
- onLoadCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
178
- onError?: React.ReactEventHandler<HTMLDivElement> | undefined;
179
- onErrorCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
180
- onKeyDown?: React.KeyboardEventHandler<HTMLDivElement> | undefined;
181
- onKeyDownCapture?: React.KeyboardEventHandler<HTMLDivElement> | undefined;
182
- onKeyPress?: React.KeyboardEventHandler<HTMLDivElement> | undefined;
183
- onKeyPressCapture?: React.KeyboardEventHandler<HTMLDivElement> | undefined;
184
- onKeyUp?: React.KeyboardEventHandler<HTMLDivElement> | undefined;
185
- onKeyUpCapture?: React.KeyboardEventHandler<HTMLDivElement> | undefined;
186
- onAbort?: React.ReactEventHandler<HTMLDivElement> | undefined;
187
- onAbortCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
188
- onCanPlay?: React.ReactEventHandler<HTMLDivElement> | undefined;
189
- onCanPlayCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
190
- onCanPlayThrough?: React.ReactEventHandler<HTMLDivElement> | undefined;
191
- onCanPlayThroughCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
192
- onDurationChange?: React.ReactEventHandler<HTMLDivElement> | undefined;
193
- onDurationChangeCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
194
- onEmptied?: React.ReactEventHandler<HTMLDivElement> | undefined;
195
- onEmptiedCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
196
- onEncrypted?: React.ReactEventHandler<HTMLDivElement> | undefined;
197
- onEncryptedCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
198
- onEnded?: React.ReactEventHandler<HTMLDivElement> | undefined;
199
- onEndedCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
200
- onLoadedData?: React.ReactEventHandler<HTMLDivElement> | undefined;
201
- onLoadedDataCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
202
- onLoadedMetadata?: React.ReactEventHandler<HTMLDivElement> | undefined;
203
- onLoadedMetadataCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
204
- onLoadStart?: React.ReactEventHandler<HTMLDivElement> | undefined;
205
- onLoadStartCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
206
- onPause?: React.ReactEventHandler<HTMLDivElement> | undefined;
207
- onPauseCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
208
- onPlay?: React.ReactEventHandler<HTMLDivElement> | undefined;
209
- onPlayCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
210
- onPlaying?: React.ReactEventHandler<HTMLDivElement> | undefined;
211
- onPlayingCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
212
- onProgress?: React.ReactEventHandler<HTMLDivElement> | undefined;
213
- onProgressCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
214
- onRateChange?: React.ReactEventHandler<HTMLDivElement> | undefined;
215
- onRateChangeCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
216
- onSeeked?: React.ReactEventHandler<HTMLDivElement> | undefined;
217
- onSeekedCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
218
- onSeeking?: React.ReactEventHandler<HTMLDivElement> | undefined;
219
- onSeekingCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
220
- onStalled?: React.ReactEventHandler<HTMLDivElement> | undefined;
221
- onStalledCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
222
- onSuspend?: React.ReactEventHandler<HTMLDivElement> | undefined;
223
- onSuspendCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
224
- onTimeUpdate?: React.ReactEventHandler<HTMLDivElement> | undefined;
225
- onTimeUpdateCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
226
- onVolumeChange?: React.ReactEventHandler<HTMLDivElement> | undefined;
227
- onVolumeChangeCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
228
- onWaiting?: React.ReactEventHandler<HTMLDivElement> | undefined;
229
- onWaitingCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
230
- onAuxClick?: React.MouseEventHandler<HTMLDivElement> | undefined;
231
- onAuxClickCapture?: React.MouseEventHandler<HTMLDivElement> | undefined;
232
- onClick?: React.MouseEventHandler<HTMLDivElement> | undefined;
233
- onClickCapture?: React.MouseEventHandler<HTMLDivElement> | undefined;
234
- onContextMenu?: React.MouseEventHandler<HTMLDivElement> | undefined;
235
- onContextMenuCapture?: React.MouseEventHandler<HTMLDivElement> | undefined;
236
- onDoubleClick?: React.MouseEventHandler<HTMLDivElement> | undefined;
237
- onDoubleClickCapture?: React.MouseEventHandler<HTMLDivElement> | undefined;
238
- onDrag?: React.DragEventHandler<HTMLDivElement> | undefined;
239
- onDragCapture?: React.DragEventHandler<HTMLDivElement> | undefined;
240
- onDragEnd?: React.DragEventHandler<HTMLDivElement> | undefined;
241
- onDragEndCapture?: React.DragEventHandler<HTMLDivElement> | undefined;
242
- onDragEnter?: React.DragEventHandler<HTMLDivElement> | undefined;
243
- onDragEnterCapture?: React.DragEventHandler<HTMLDivElement> | undefined;
244
- onDragExit?: React.DragEventHandler<HTMLDivElement> | undefined;
245
- onDragExitCapture?: React.DragEventHandler<HTMLDivElement> | undefined;
246
- onDragLeave?: React.DragEventHandler<HTMLDivElement> | undefined;
247
- onDragLeaveCapture?: React.DragEventHandler<HTMLDivElement> | undefined;
248
- onDragOver?: React.DragEventHandler<HTMLDivElement> | undefined;
249
- onDragOverCapture?: React.DragEventHandler<HTMLDivElement> | undefined;
250
- onDragStart?: React.DragEventHandler<HTMLDivElement> | undefined;
251
- onDragStartCapture?: React.DragEventHandler<HTMLDivElement> | undefined;
252
- onDrop?: React.DragEventHandler<HTMLDivElement> | undefined;
253
- onDropCapture?: React.DragEventHandler<HTMLDivElement> | undefined;
254
- onMouseDown?: React.MouseEventHandler<HTMLDivElement> | undefined;
255
- onMouseDownCapture?: React.MouseEventHandler<HTMLDivElement> | undefined;
256
- onMouseEnter?: React.MouseEventHandler<HTMLDivElement> | undefined;
257
- onMouseLeave?: React.MouseEventHandler<HTMLDivElement> | undefined;
258
- onMouseMove?: React.MouseEventHandler<HTMLDivElement> | undefined;
259
- onMouseMoveCapture?: React.MouseEventHandler<HTMLDivElement> | undefined;
260
- onMouseOut?: React.MouseEventHandler<HTMLDivElement> | undefined;
261
- onMouseOutCapture?: React.MouseEventHandler<HTMLDivElement> | undefined;
262
- onMouseOver?: React.MouseEventHandler<HTMLDivElement> | undefined;
263
- onMouseOverCapture?: React.MouseEventHandler<HTMLDivElement> | undefined;
264
- onMouseUp?: React.MouseEventHandler<HTMLDivElement> | undefined;
265
- onMouseUpCapture?: React.MouseEventHandler<HTMLDivElement> | undefined;
266
- onSelect?: React.ReactEventHandler<HTMLDivElement> | undefined;
267
- onSelectCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
268
- onTouchCancel?: React.TouchEventHandler<HTMLDivElement> | undefined;
269
- onTouchCancelCapture?: React.TouchEventHandler<HTMLDivElement> | undefined;
270
- onTouchEnd?: React.TouchEventHandler<HTMLDivElement> | undefined;
271
- onTouchEndCapture?: React.TouchEventHandler<HTMLDivElement> | undefined;
272
- onTouchMove?: React.TouchEventHandler<HTMLDivElement> | undefined;
273
- onTouchMoveCapture?: React.TouchEventHandler<HTMLDivElement> | undefined;
274
- onTouchStart?: React.TouchEventHandler<HTMLDivElement> | undefined;
275
- onTouchStartCapture?: React.TouchEventHandler<HTMLDivElement> | undefined;
276
- onPointerDown?: React.PointerEventHandler<HTMLDivElement> | undefined;
277
- onPointerDownCapture?: React.PointerEventHandler<HTMLDivElement> | undefined;
278
- onPointerMove?: React.PointerEventHandler<HTMLDivElement> | undefined;
279
- onPointerMoveCapture?: React.PointerEventHandler<HTMLDivElement> | undefined;
280
- onPointerUp?: React.PointerEventHandler<HTMLDivElement> | undefined;
281
- onPointerUpCapture?: React.PointerEventHandler<HTMLDivElement> | undefined;
282
- onPointerCancel?: React.PointerEventHandler<HTMLDivElement> | undefined;
283
- onPointerCancelCapture?: React.PointerEventHandler<HTMLDivElement> | undefined;
284
- onPointerEnter?: React.PointerEventHandler<HTMLDivElement> | undefined;
285
- onPointerLeave?: React.PointerEventHandler<HTMLDivElement> | undefined;
286
- onPointerOver?: React.PointerEventHandler<HTMLDivElement> | undefined;
287
- onPointerOverCapture?: React.PointerEventHandler<HTMLDivElement> | undefined;
288
- onPointerOut?: React.PointerEventHandler<HTMLDivElement> | undefined;
289
- onPointerOutCapture?: React.PointerEventHandler<HTMLDivElement> | undefined;
290
- onGotPointerCapture?: React.PointerEventHandler<HTMLDivElement> | undefined;
291
- onGotPointerCaptureCapture?: React.PointerEventHandler<HTMLDivElement> | undefined;
292
- onLostPointerCapture?: React.PointerEventHandler<HTMLDivElement> | undefined;
293
- onLostPointerCaptureCapture?: React.PointerEventHandler<HTMLDivElement> | undefined;
294
- onScroll?: React.UIEventHandler<HTMLDivElement> | undefined;
295
- onScrollCapture?: React.UIEventHandler<HTMLDivElement> | undefined;
296
- onWheel?: React.WheelEventHandler<HTMLDivElement> | undefined;
297
- onWheelCapture?: React.WheelEventHandler<HTMLDivElement> | undefined;
298
- onAnimationStart?: React.AnimationEventHandler<HTMLDivElement> | undefined;
299
- onAnimationStartCapture?: React.AnimationEventHandler<HTMLDivElement> | undefined;
300
- onAnimationEnd?: React.AnimationEventHandler<HTMLDivElement> | undefined;
301
- onAnimationEndCapture?: React.AnimationEventHandler<HTMLDivElement> | undefined;
302
- onAnimationIteration?: React.AnimationEventHandler<HTMLDivElement> | undefined;
303
- onAnimationIterationCapture?: React.AnimationEventHandler<HTMLDivElement> | undefined;
304
- onTransitionEnd?: React.TransitionEventHandler<HTMLDivElement> | undefined;
305
- onTransitionEndCapture?: React.TransitionEventHandler<HTMLDivElement> | undefined;
306
- }>) => React.JSX.Element)[];
307
- excludeStories: string[];
308
- };
309
- export default meta;
310
- type Story = StoryObj<typeof meta>;
311
- export declare const Mobile: Story;
312
- export declare const Desktop: Story;
@@ -1 +0,0 @@
1
- export * from './VideosCarousel';
@@ -1,13 +0,0 @@
1
- import { BoxProps, CardExtraSmallProps, CardMediumProps, CardVideoProps, LayoutType, LinkProps } from '@20minutes/hela';
2
- import { default as React } from 'react';
3
- import { RawDraftContentState } from 'draft-js';
4
- export interface VideosBlockProps extends BoxProps {
5
- videos: (CardExtraSmallProps | CardMediumProps)[];
6
- layout: LayoutType;
7
- seeMoreLink?: LinkProps;
8
- cover?: CardVideoProps & {
9
- coverRawDraftSummary?: RawDraftContentState;
10
- };
11
- variant?: 'light' | 'dark';
12
- }
13
- export declare const VideosBlock: React.FC<VideosBlockProps>;
@@ -1,33 +0,0 @@
1
- import { CardVideoProps, LayoutType } from '@20minutes/hela';
2
- import { VideosBlockProps } from './VideosBlock';
3
- import { StoryObj } from '@storybook/react-vite';
4
- declare const meta: {
5
- title: string;
6
- component: import('react').FC<VideosBlockProps>;
7
- args: {
8
- cover: CardVideoProps;
9
- videos: (import('@20minutes/hela').CardExtraSmallProps | import('@20minutes/hela').CardMediumProps)[];
10
- layout: LayoutType.MOBILE;
11
- seeMoreLink: {
12
- href: string;
13
- children: string;
14
- };
15
- };
16
- parameters: {
17
- controls: {
18
- exclude: string[];
19
- };
20
- layout: string;
21
- };
22
- globals: {
23
- viewport: {
24
- value: string;
25
- };
26
- };
27
- };
28
- export default meta;
29
- type Story = StoryObj<typeof meta>;
30
- export declare const Mobile: Story;
31
- export declare const Desktop: Story;
32
- export declare const DesktopWithoutCover: Story;
33
- export declare const DesktopWithDraftSummary: Story;
@@ -1 +0,0 @@
1
- export * from './VideosBlock';
@@ -1,17 +0,0 @@
1
- import { LinkProps, SectionTitleProps, ThreeColumnsArticlesProps } from '@20minutes/hela';
2
- import { default as React } from 'react';
3
- export interface ChannelItemProps {
4
- title: string;
5
- url: string;
6
- cover: string;
7
- durationText?: string;
8
- }
9
- export type VideosChannelsListProps = Omit<ThreeColumnsArticlesProps, 'items'> & {
10
- items: {
11
- title: SectionTitleProps;
12
- isSponsored?: boolean;
13
- articles: ChannelItemProps[];
14
- seeMoreLink?: LinkProps;
15
- }[];
16
- };
17
- export declare const VideosChannelsList: React.FC<VideosChannelsListProps>;
@@ -1,16 +0,0 @@
1
- import { VideosChannelsListProps } from './VideosChannelsList';
2
- import { StoryObj } from '@storybook/react-vite';
3
- declare const meta: {
4
- title: string;
5
- component: import('react').FC<VideosChannelsListProps>;
6
- args: VideosChannelsListProps;
7
- globals: {
8
- viewport: {
9
- value: string;
10
- };
11
- };
12
- };
13
- export default meta;
14
- type Story = StoryObj<typeof meta>;
15
- export declare const Mobile: Story;
16
- export declare const Desktop: Story;
@@ -1 +0,0 @@
1
- export * from './VideosChannelsList';
@@ -1,34 +0,0 @@
1
- import { BoxProps, CardExtraSmallProps, CardMediumProps, CardVideoProps, LayoutType, LinkProps } from '@20minutes/hela';
2
- import { default as React } from 'react';
3
- import { RawDraftContentState } from 'draft-js';
4
- export interface VideosTopBlockProps extends BoxProps {
5
- layout: LayoutType;
6
- tabItems: {
7
- name: string;
8
- title: string;
9
- body: {
10
- title: string;
11
- url: string;
12
- cover: string;
13
- duration?: string;
14
- }[];
15
- seeMoreLink?: LinkProps;
16
- }[];
17
- videoCover: CardVideoProps & {
18
- coverRawDraftSummary?: RawDraftContentState;
19
- };
20
- videos?: (CardExtraSmallProps | CardMediumProps)[];
21
- fitContainer?: boolean;
22
- isScrollable?: boolean;
23
- seeMoreLink?: LinkProps;
24
- videoSponsor?: {
25
- title: string;
26
- sponsor: string;
27
- item: {
28
- title: string;
29
- url: string;
30
- cover: string;
31
- };
32
- };
33
- }
34
- export declare const VideosTopBlock: React.FC<VideosTopBlockProps>;
@@ -1,18 +0,0 @@
1
- import { VideosTopBlockProps } from './VideosTopBlock';
2
- import { StoryObj } from '@storybook/react-vite';
3
- declare const meta: {
4
- title: string;
5
- component: import('react').FC<VideosTopBlockProps>;
6
- args: VideosTopBlockProps;
7
- globals: {
8
- viewport: {
9
- value: string;
10
- };
11
- };
12
- };
13
- export default meta;
14
- type Story = StoryObj<typeof meta>;
15
- export declare const Mobile: Story;
16
- export declare const Desktop: Story;
17
- export declare const AutoHeight: Story;
18
- export declare const FixedHeight: Story;
@@ -1 +0,0 @@
1
- export * from './VideosTopBlock';
@@ -1,3 +0,0 @@
1
- export * from './VideosBlock';
2
- export * from './VideosChannelsList';
3
- export * from './VideosTopBlock';
@@ -1,2 +0,0 @@
1
- import { ComponentConfig, ComponentNameMostRecentVideos } from '../../types';
2
- export declare const COMPONENT_MOST_RECENT_VIDEOS_CONFIGS: ComponentConfig<ComponentNameMostRecentVideos>[];
@@ -1,2 +0,0 @@
1
- import { ComponentConfig, ComponentNameMostViewed } from '../../types';
2
- export declare const COMPONENT_MOST_VIEWED_CONFIGS: ComponentConfig<ComponentNameMostViewed>[];
@@ -1,2 +0,0 @@
1
- import { ComponentConfig, ComponentNameProgram } from '../../types';
2
- export declare const COMPONENT_PROGRAM_CONFIGS: ComponentConfig<ComponentNameProgram>[];
@@ -1,2 +0,0 @@
1
- import { ComponentConfig, ComponentNameVideo } from '../../types';
2
- export declare const COMPONENT_VIDEO_CONFIGS: ComponentConfig<ComponentNameVideo>[];
@@ -1,2 +0,0 @@
1
- import { ComponentConfig, ComponentNameVideos } from '../../types';
2
- export declare const COMPONENT_VIDEOS_CONFIGS: ComponentConfig<ComponentNameVideos>[];
@@ -1,2 +0,0 @@
1
- import { MostRecentVideosPageConfig } from '../../types';
2
- export declare const MOST_RECENT_VIDEOS_PAGE_CONFIG: MostRecentVideosPageConfig;
@@ -1,2 +0,0 @@
1
- import { MostViewedPageConfig } from '../../types';
2
- export declare const MOST_VIEWED_PAGE_CONFIG: MostViewedPageConfig;
@@ -1,2 +0,0 @@
1
- import { ProgramPageConfig } from '../../types';
2
- export declare const PROGRAM_PAGE_CONFIG: ProgramPageConfig;
@@ -1,2 +0,0 @@
1
- import { VideoPageConfig } from '../../types';
2
- export declare const VIDEO_PAGE_CONFIG: VideoPageConfig;
@@ -1,2 +0,0 @@
1
- import { VideosPageConfig } from '../../types';
2
- export declare const VIDEOS_PAGE_CONFIG: VideosPageConfig;
@@ -1,5 +0,0 @@
1
- import { default as React } from 'react';
2
- import { CardsListProps } from '../../components/organisms/CardsList';
3
- export declare const VideoListContainer: React.FC<Required<CardsListProps> & {
4
- isSSR?: boolean;
5
- }>;
@@ -1 +0,0 @@
1
- export * from './VideoListContainer';
@@ -1,9 +0,0 @@
1
- import { LayoutType } from '@20minutes/hela';
2
- import { CardsListProps } from '../../components/organisms/CardsList';
3
- import { Maybe, TPublishableContent } from '../../types/graphql';
4
- export declare const transformVideos: ({ pageEndpoint, imgEndpoint, layout, data, }: {
5
- pageEndpoint: string;
6
- imgEndpoint: string;
7
- layout: LayoutType;
8
- data: Maybe<TPublishableContent>[];
9
- }) => CardsListProps['articles'];
@@ -1,11 +0,0 @@
1
- import { CardsListProps } from '../../components';
2
- export interface UseVideoListContainer {
3
- isLoading: boolean;
4
- articles: CardsListProps['articles'];
5
- hasNextPage: boolean;
6
- onLoadMore: () => void;
7
- }
8
- export declare const useVideoListContainer: (options: {
9
- defaultArticles: CardsListProps['articles'];
10
- defaultVariablesForQuery: Required<CardsListProps>['variablesForQuery'];
11
- }) => UseVideoListContainer;
@@ -1,9 +0,0 @@
1
- import { default as React } from 'react';
2
- import { PageTemplateProps } from '../../templates';
3
- export interface MostRecentVideosPageProps extends PageTemplateProps {
4
- breadcrumb: React.ReactNode;
5
- headerPage: React.ReactNode;
6
- videosList: React.ReactNode;
7
- videosCarousel: React.ReactNode;
8
- }
9
- export declare const MostRecentVideosPage: React.FC<MostRecentVideosPageProps>;
@@ -1,14 +0,0 @@
1
- import { default as React } from 'react';
2
- import { MostRecentVideosPageProps } from './MostRecentVideosPage';
3
- import { StoryObj } from '@storybook/react-vite';
4
- declare const meta: {
5
- title: string;
6
- component: React.FC<MostRecentVideosPageProps>;
7
- parameters: {
8
- layout: string;
9
- };
10
- };
11
- export default meta;
12
- type Story = StoryObj<typeof meta>;
13
- export declare const MostRecentVideosPageMobile: Story;
14
- export declare const MostRecentVideosPageDesktop: Story;