@20minutes/tyr 2.19.13 → 2.19.14
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 +607 -607
- package/dist/index.umd.js +40 -40
- 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/components/molecules/TvVideoTopBlock/TvVideoTopBlock.d.ts +3 -2
- package/dist/src/components/molecules/TvVideoTopBlock/TvVideoTopBlock.stories.d.ts +10 -1
- package/dist/src/pages/GameAppPage/GameAppPage.stories.d.ts +1 -0
- package/dist/src/types/graphql.d.ts +4 -0
- package/package.json +10 -10
|
@@ -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
|
|
@@ -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;
|
|
@@ -3218,6 +3218,7 @@ export type TCreateNotificationType = {
|
|
|
3218
3218
|
};
|
|
3219
3219
|
export type TCreatePageType = {
|
|
3220
3220
|
brand_id: Scalars['ID']['input'];
|
|
3221
|
+
catalog?: InputMaybe<Scalars['String']['input']>;
|
|
3221
3222
|
clientMutationId?: InputMaybe<Scalars['String']['input']>;
|
|
3222
3223
|
comments_count?: InputMaybe<Scalars['Int']['input']>;
|
|
3223
3224
|
content_blocks?: InputMaybe<Scalars['JSONObject']['input']>;
|
|
@@ -9746,6 +9747,7 @@ export type TPage = TCounting & TCrawlable & TLockable & TNode & TProofreadable
|
|
|
9746
9747
|
__typename?: 'Page';
|
|
9747
9748
|
announced_at?: Maybe<Scalars['DateTime']['output']>;
|
|
9748
9749
|
brand_id: Scalars['ID']['output'];
|
|
9750
|
+
catalog?: Maybe<Scalars['String']['output']>;
|
|
9749
9751
|
comment?: Maybe<TCommentSingleConnection>;
|
|
9750
9752
|
comments?: Maybe<TCommentListConnection>;
|
|
9751
9753
|
comments_count?: Maybe<Scalars['Int']['output']>;
|
|
@@ -10950,6 +10952,7 @@ export type TPublishableContent = TCounting & TNode & TProofreadable & TPublisha
|
|
|
10950
10952
|
ai_generating_at?: Maybe<Scalars['DateTime']['output']>;
|
|
10951
10953
|
announced_at?: Maybe<Scalars['DateTime']['output']>;
|
|
10952
10954
|
brand_id: Scalars['ID']['output'];
|
|
10955
|
+
catalog?: Maybe<Scalars['String']['output']>;
|
|
10953
10956
|
comment?: Maybe<TCommentSingleConnection>;
|
|
10954
10957
|
comments?: Maybe<TCommentListConnection>;
|
|
10955
10958
|
comments_count?: Maybe<Scalars['Int']['output']>;
|
|
@@ -15381,6 +15384,7 @@ export type TUpdateNotificationsType = {
|
|
|
15381
15384
|
};
|
|
15382
15385
|
export type TUpdatePageType = {
|
|
15383
15386
|
brand_id: Scalars['ID']['input'];
|
|
15387
|
+
catalog?: InputMaybe<Scalars['String']['input']>;
|
|
15384
15388
|
clientMutationId?: InputMaybe<Scalars['String']['input']>;
|
|
15385
15389
|
comments_count?: InputMaybe<Scalars['Int']['input']>;
|
|
15386
15390
|
content_blocks?: InputMaybe<Scalars['JSONObject']['input']>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@20minutes/tyr",
|
|
3
|
-
"version": "2.19.
|
|
3
|
+
"version": "2.19.14",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+ssh://git@github.com/20minutes/tyr.git"
|
|
@@ -76,13 +76,13 @@
|
|
|
76
76
|
"@graphql-codegen/typescript": "^4.1.6",
|
|
77
77
|
"@graphql-codegen/typescript-operations": "^4.6.1",
|
|
78
78
|
"@octokit/core": "5.1.0",
|
|
79
|
-
"@rollup/plugin-commonjs": "^28.0.
|
|
79
|
+
"@rollup/plugin-commonjs": "^28.0.6",
|
|
80
80
|
"@rollup/plugin-node-resolve": "^16.0.1",
|
|
81
81
|
"@rollup/plugin-replace": "^6.0.2",
|
|
82
82
|
"@rollup/plugin-terser": "^0.4.4",
|
|
83
|
-
"@storybook/addon-docs": "^9.0.
|
|
84
|
-
"@storybook/addon-links": "^9.0.
|
|
85
|
-
"@storybook/react-vite": "^9.0.
|
|
83
|
+
"@storybook/addon-docs": "^9.0.11",
|
|
84
|
+
"@storybook/addon-links": "^9.0.11",
|
|
85
|
+
"@storybook/react-vite": "^9.0.11",
|
|
86
86
|
"@testing-library/dom": "^10.4.0",
|
|
87
87
|
"@testing-library/jest-dom": "^6.6.3",
|
|
88
88
|
"@testing-library/react": "^16.3.0",
|
|
@@ -98,7 +98,7 @@
|
|
|
98
98
|
"@typescript-eslint/eslint-plugin": "^8.34.1",
|
|
99
99
|
"@typescript-eslint/parser": "^8.34.1",
|
|
100
100
|
"@vitejs/plugin-react": "^4.5.2",
|
|
101
|
-
"@vitest/coverage-v8": "^3.2.
|
|
101
|
+
"@vitest/coverage-v8": "^3.2.4",
|
|
102
102
|
"babel-loader": "^10.0.0",
|
|
103
103
|
"eslint": "^8.57.1",
|
|
104
104
|
"eslint-config-airbnb": "^19.0.4",
|
|
@@ -109,10 +109,10 @@
|
|
|
109
109
|
"eslint-plugin-import": "^2.31.0",
|
|
110
110
|
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
111
111
|
"eslint-plugin-no-only-tests": "^3.3.0",
|
|
112
|
-
"eslint-plugin-prettier": "^5.
|
|
112
|
+
"eslint-plugin-prettier": "^5.5.0",
|
|
113
113
|
"eslint-plugin-react": "^7.37.5",
|
|
114
114
|
"eslint-plugin-simple-import-sort": "^12.1.1",
|
|
115
|
-
"eslint-plugin-storybook": "^9.0.
|
|
115
|
+
"eslint-plugin-storybook": "^9.0.11",
|
|
116
116
|
"globals": "^16.2.0",
|
|
117
117
|
"graphql": "^16.11.0",
|
|
118
118
|
"husky": "^9.1.7",
|
|
@@ -129,7 +129,7 @@
|
|
|
129
129
|
"rollup-plugin-typescript-paths": "^1.5.0",
|
|
130
130
|
"rollup-plugin-visualizer": "^6.0.3",
|
|
131
131
|
"schema-dts": "^1.1.5",
|
|
132
|
-
"storybook": "^9.0.
|
|
132
|
+
"storybook": "^9.0.11",
|
|
133
133
|
"ts-node": "^10.9.2",
|
|
134
134
|
"tsconfig-paths": "^4.2.0",
|
|
135
135
|
"typed-query-selector": "^2.12.0",
|
|
@@ -137,7 +137,7 @@
|
|
|
137
137
|
"vite": "^6.3.5",
|
|
138
138
|
"vite-plugin-dts": "^4.5.4",
|
|
139
139
|
"vite-tsconfig-paths": "^5.1.4",
|
|
140
|
-
"vitest": "3.2.
|
|
140
|
+
"vitest": "3.2.4"
|
|
141
141
|
},
|
|
142
142
|
"resolutions": {
|
|
143
143
|
"uri-js": "npm:uri-js-replace",
|