@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.
@@ -1,2 +1,2 @@
1
- !function(){"use strict";var r=(r=>(r.down="down",r.heart="heart",r.laughing="laughing",r.sad="sad",r.shock="shock",r.up="up",r))(r||{});r.up,r.down,r.sad,r.heart,r.laughing,r.shock;const t=r=>{const t=document.createElement("script");if(t.type="text/javascript","async"===r.load?t.async=!0:"defer"===r.load&&(t.defer=!0),"src"in r&&r.src){const i=eval;t.src=r.src?.replace(/%(.*?)%/,(r,t)=>i(t))}r.name&&(performance.mark(`20mn:${r.name}:Start`),t.onerror=i=>{performance.mark(`20mn:${r.name}:Error`),console.error(`Script failed to load: ${r.name}${t.src?` (${t.src})`:""}`,i)}),(r.name||r.onLoad)&&(t.onload=()=>{r.name&&performance.mark(`20mn:${r.name}:End`),r.onLoad&&r.onLoad()}),"text"in r&&r.text&&(t.innerHTML=r.text),r.id&&(t.id=r.id),r.dataAttributes&&Object.entries(r.dataAttributes).forEach(([r,i])=>{var o;t.setAttribute(`data-${o=r,o.replace(/([a-z])([A-Z])/g,"$1-$2").replace(/[\s_]+/g,"-").toLowerCase()}`,i)}),"head"===r.target&&document.head?document.head.appendChild(t):document.body?document.body.appendChild(t):(window.bodyScripts=window.bodyScripts||[],window.bodyScripts.push(t))},i=r=>{r?.waitCMP?(r=>{window.didomiOnReady=window.didomiOnReady||[];const i=(i,o)=>{!o||"tcloaded"!==i.eventStatus&&"useractioncomplete"!==i.eventStatus?console.warn(`Issue with ${r.name} callback`):("src"in r&&t(r),window.__tcfapi&&window.__tcfapi("removeEventListener",2,null,i.listenerId))};window.didomiOnReady.push(()=>{void 0!==i&&window.__tcfapi("addEventListener",2,i)})})(r):t(r)};(()=>{const r=new MutationObserver(()=>{document.body&&((window.bodyScripts||[]).forEach(r=>{document.body.appendChild(r)}),r.disconnect())});r.observe(document.documentElement,{childList:!0})})(),(()=>{if(!window.thirdPartiesConfig)return;const{thirdPartiesConfig:r}=window;(({veryHighPriority:r,highPriority:t,mediumPriority:o,lowPriority:e})=>{r?.forEach(r=>{i({...r,target:"head"})}),t?.forEach(r=>{i({...r,target:"head"})}),o?.forEach(r=>{i(r)}),e?.forEach(r=>{i(r)})})({veryHighPriority:(r?.veryHighPriority??[]).sort((r,t)=>r.priority-t.priority),highPriority:(r?.highPriority??[]).sort((r,t)=>r.priority-t.priority),mediumPriority:(r?.mediumPriority??[]).sort((r,t)=>r.priority-t.priority),lowPriority:(r?.lowPriority??[]).sort((r,t)=>r.priority-t.priority)})})()}();
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
@@ -117,5 +117,8 @@ declare global {
117
117
  }[];
118
118
  Wvar: string[];
119
119
  __webo_withdraw_fired?: boolean;
120
+ LemrockConfig: {
121
+ publisherToken: string;
122
+ };
120
123
  }
121
124
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@20minutes/tyr",
3
- "version": "2.44.6",
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.10",
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.1090.0",
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.0",
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.2",
83
- "@storybook/addon-docs": "^10.5.2",
84
- "@storybook/addon-links": "^10.5.2",
85
- "@storybook/react-vite": "^10.5.2",
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.2.0",
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.20",
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.2",
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",