@20minutes/tyr 2.44.6 → 2.44.7
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/assets/thirdParties/cmp/partnersHandler.d.ts +1 -0
- package/dist/assets/thirdParties/lemrock.d.ts +1 -0
- package/dist/index.es.js +4819 -4823
- package/dist/index.umd.js +58 -58
- package/dist/js/main.min.js +2 -2
- package/dist/js/script-helpers.min.js +1 -1
- package/dist/types/Window.d.ts +3 -0
- package/package.json +11 -11
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
!function(){"use strict";var
|
|
1
|
+
!function(){"use strict";var e=(e=>(e.down="down",e.heart="heart",e.laughing="laughing",e.sad="sad",e.shock="shock",e.up="up",e))(e||{});e.up,e.down,e.sad,e.heart,e.laughing,e.shock;const 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.onerror=t=>{performance.mark(`20mn:${e.name}:Error`),console.error(`Script failed to load: ${e.name}${r.src?` (${r.src})`:""}`,t)}),(e.name||e.onLoad)&&(r.onload=()=>{e.name&&performance.mark(`20mn:${e.name}:End`),e.onLoad&&e.onLoad()}),"text"in e&&e.text&&(r.innerHTML=e.text),e.id&&(r.id=e.id),e.dataAttributes&&Object.entries(e.dataAttributes).forEach(([e,t])=>{var i;r.setAttribute(`data-${i=e,i.replace(/([a-z])([A-Z])/g,"$1-$2").replace(/[\s_]+/g,"-").toLowerCase()}`,t)}),"head"===e.target&&document.head?document.head.appendChild(r):document.body?document.body.appendChild(r):(window.bodyScripts=window.bodyScripts||[],window.bodyScripts.push(r))},t=e=>{e?.waitCMP?(e=>{window.didomiOnReady=window.didomiOnReady||[],window.didomiOnReady.push(t=>{window.__tcfapi("addEventListener",2,(i,o)=>{if(!o||!window.__tcfapi||"tcloaded"!==i.eventStatus&&"useractioncomplete"!==i.eventStatus)return void console.warn(`Issue with ${e.name} callback`);const n=(e=>{const r=e.name?.toLowerCase()??"",t="src"in e?e.src?.toLowerCase()??"":"";if(r.includes("lemrock")||t.includes("lemrock"))return"lemrock-RC4kdpii"})(e);if(!n||!0===t.getCurrentUserStatus().vendors[n]?.enabled)return"src"in e&&r(e),void window.__tcfapi("removeEventListener",2,null,i.listenerId);"useractioncomplete"===i.eventStatus&&window.__tcfapi("removeEventListener",2,null,i.listenerId)})})})(e):r(e)};(()=>{const e=new MutationObserver(()=>{document.body&&((window.bodyScripts||[]).forEach(e=>{document.body.appendChild(e)}),e.disconnect())});e.observe(document.documentElement,{childList:!0})})(),(()=>{if(!window.thirdPartiesConfig)return;const{thirdPartiesConfig:e}=window;(({veryHighPriority:e,highPriority:r,mediumPriority:i,lowPriority:o})=>{e?.forEach(e=>{t({...e,target:"head"})}),r?.forEach(e=>{t({...e,target:"head"})}),i?.forEach(e=>{t(e)}),o?.forEach(e=>{t(e)})})({veryHighPriority:(e?.veryHighPriority??[]).sort((e,r)=>e.priority-r.priority),highPriority:(e?.highPriority??[]).sort((e,r)=>e.priority-r.priority),mediumPriority:(e?.mediumPriority??[]).sort((e,r)=>e.priority-r.priority),lowPriority:(e?.lowPriority??[]).sort((e,r)=>e.priority-r.priority)})})()}();
|
|
2
2
|
//# sourceMappingURL=script-helpers.min.js.map
|
package/dist/types/Window.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@20minutes/tyr",
|
|
3
|
-
"version": "2.44.
|
|
3
|
+
"version": "2.44.7",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+ssh://git@github.com/20minutes/tyr.git"
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
},
|
|
55
55
|
"dependencies": {
|
|
56
56
|
"@20minutes/draft-convert": "^3.1.3",
|
|
57
|
-
"@20minutes/hela": "^2.22.
|
|
57
|
+
"@20minutes/hela": "^2.22.11",
|
|
58
58
|
"classnames": "^2.5.1",
|
|
59
59
|
"draft-js": "^0.11.7",
|
|
60
60
|
"html-entities": "^2.6.0",
|
|
@@ -70,19 +70,19 @@
|
|
|
70
70
|
},
|
|
71
71
|
"devDependencies": {
|
|
72
72
|
"@20minutes/eslint-config": "^3.0.4",
|
|
73
|
-
"@aws-sdk/client-s3": "3.
|
|
73
|
+
"@aws-sdk/client-s3": "3.1091.0",
|
|
74
74
|
"@graphql-codegen/cli": "^7.2.0",
|
|
75
75
|
"@graphql-codegen/typescript": "^6.1.0",
|
|
76
|
-
"@graphql-codegen/typescript-operations": "^6.1.
|
|
76
|
+
"@graphql-codegen/typescript-operations": "^6.1.1",
|
|
77
77
|
"@octokit/core": "7.0.6",
|
|
78
78
|
"@rollup/plugin-commonjs": "^29.0.3",
|
|
79
79
|
"@rollup/plugin-node-resolve": "^16.0.3",
|
|
80
80
|
"@rollup/plugin-replace": "^6.0.3",
|
|
81
81
|
"@rollup/plugin-terser": "^1.0.0",
|
|
82
|
-
"@storybook/addon-a11y": "^10.5.
|
|
83
|
-
"@storybook/addon-docs": "^10.5.
|
|
84
|
-
"@storybook/addon-links": "^10.5.
|
|
85
|
-
"@storybook/react-vite": "^10.5.
|
|
82
|
+
"@storybook/addon-a11y": "^10.5.3",
|
|
83
|
+
"@storybook/addon-docs": "^10.5.3",
|
|
84
|
+
"@storybook/addon-links": "^10.5.3",
|
|
85
|
+
"@storybook/react-vite": "^10.5.3",
|
|
86
86
|
"@testing-library/dom": "^10.4.1",
|
|
87
87
|
"@testing-library/react": "^16.3.2",
|
|
88
88
|
"@types/draft-js": "^0.11.20",
|
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
"@types/jsdom": "^27.0.0",
|
|
91
91
|
"@types/node": "^26.1.1",
|
|
92
92
|
"@types/poool-access": "^5.18.1",
|
|
93
|
-
"@types/poool-engage": "^2.
|
|
93
|
+
"@types/poool-engage": "^2.3.0",
|
|
94
94
|
"@types/react": "^18.3.13",
|
|
95
95
|
"@types/react-dom": "^18.3.1",
|
|
96
96
|
"@vitejs/plugin-react": "^5.1.4",
|
|
@@ -103,7 +103,7 @@
|
|
|
103
103
|
"jest-worker": "^30.4.1",
|
|
104
104
|
"jsdom": "^29.1.1",
|
|
105
105
|
"mockdate": "^3.0.5",
|
|
106
|
-
"postcss": "^8.5.
|
|
106
|
+
"postcss": "^8.5.21",
|
|
107
107
|
"purgecss": "^8.0.0",
|
|
108
108
|
"purgecss-from-html": "^8.0.0",
|
|
109
109
|
"rollup": "^4.62.2",
|
|
@@ -111,7 +111,7 @@
|
|
|
111
111
|
"rollup-plugin-typescript-paths": "^1.5.0",
|
|
112
112
|
"rollup-plugin-visualizer": "^7.0.1",
|
|
113
113
|
"schema-dts": "^2.0.0",
|
|
114
|
-
"storybook": "^10.5.
|
|
114
|
+
"storybook": "^10.5.3",
|
|
115
115
|
"tsx": "^4.23.1",
|
|
116
116
|
"typed-query-selector": "^2.12.2",
|
|
117
117
|
"typescript": "^6.0.3",
|