@hyperframes/core 0.8.116 → 0.8.118
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/generated/runtime-inline.js +1 -1
- package/dist/generated/runtime-inline.js.map +1 -1
- package/dist/gsapCdn.d.ts +4 -0
- package/dist/gsapCdn.d.ts.map +1 -0
- package/dist/gsapCdn.js +10 -0
- package/dist/gsapCdn.js.map +1 -0
- package/dist/hyperframe.runtime.iife.js +33 -33
- package/dist/templates/constants.d.ts +1 -1
- package/dist/templates/constants.d.ts.map +1 -1
- package/dist/templates/constants.js +2 -1
- package/dist/templates/constants.js.map +1 -1
- package/package.json +8 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const GSAP_CDN
|
|
1
|
+
export declare const GSAP_CDN: string;
|
|
2
2
|
export declare const BASE_STYLES = "* { margin: 0; padding: 0; box-sizing: border-box; }\nhtml, body { width: 100%; height: 100%; overflow: hidden; background: #000; display: flex; align-items: center; justify-content: center; }";
|
|
3
3
|
export declare const ELEMENT_BASE_STYLES = "position: absolute; visibility: hidden;";
|
|
4
4
|
export declare const MEDIA_STYLES = "width: 100%; height: 100%; object-fit: contain;";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/templates/constants.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/templates/constants.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,QAAQ,QAAgC,CAAC;AAEtD,eAAO,MAAM,WAAW,qMACmH,CAAC;AAE5I,eAAO,MAAM,mBAAmB,4CAA4C,CAAC;AAE7E,eAAO,MAAM,YAAY,oDAAoD,CAAC;AAE9E,eAAO,MAAM,WAAW,4NAA0N,CAAC;AAEnP,eAAO,MAAM,qBAAqB,yDAAyD,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
import { gsapCdnDist } from "../gsapCdn.js";
|
|
2
|
+
export const GSAP_CDN = `${gsapCdnDist()}gsap.min.js`;
|
|
2
3
|
export const BASE_STYLES = `* { margin: 0; padding: 0; box-sizing: border-box; }
|
|
3
4
|
html, body { width: 100%; height: 100%; overflow: hidden; background: #000; display: flex; align-items: center; justify-content: center; }`;
|
|
4
5
|
export const ELEMENT_BASE_STYLES = `position: absolute; visibility: hidden;`;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../src/templates/constants.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,QAAQ,GAAG,
|
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../src/templates/constants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAEzC,MAAM,CAAC,MAAM,QAAQ,GAAG,GAAG,WAAW,EAAE,aAAa,CAAC;AAEtD,MAAM,CAAC,MAAM,WAAW,GAAG;2IACgH,CAAC;AAE5I,MAAM,CAAC,MAAM,mBAAmB,GAAG,yCAAyC,CAAC;AAE7E,MAAM,CAAC,MAAM,YAAY,GAAG,iDAAiD,CAAC;AAE9E,MAAM,CAAC,MAAM,WAAW,GAAG,uNAAuN,CAAC;AAEnP,MAAM,CAAC,MAAM,qBAAqB,GAAG,sDAAsD,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hyperframes/core",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.118",
|
|
4
4
|
"description": "",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -70,6 +70,10 @@
|
|
|
70
70
|
"import": "./dist/studioPreviewMark.js",
|
|
71
71
|
"types": "./dist/studioPreviewMark.d.ts"
|
|
72
72
|
},
|
|
73
|
+
"./gsap-cdn": {
|
|
74
|
+
"import": "./dist/gsapCdn.js",
|
|
75
|
+
"types": "./dist/gsapCdn.d.ts"
|
|
76
|
+
},
|
|
73
77
|
"./media-timing": {
|
|
74
78
|
"import": "./dist/mediaTiming.js",
|
|
75
79
|
"types": "./dist/mediaTiming.d.ts"
|
|
@@ -342,9 +346,9 @@
|
|
|
342
346
|
"bpm-detective": "^2.0.5",
|
|
343
347
|
"linkedom": "^0.18.12",
|
|
344
348
|
"postcss": "^8.5.8",
|
|
345
|
-
"@hyperframes/lint": "0.8.
|
|
346
|
-
"@hyperframes/studio-server": "0.8.
|
|
347
|
-
"@hyperframes/parsers": "0.8.
|
|
349
|
+
"@hyperframes/lint": "0.8.118",
|
|
350
|
+
"@hyperframes/studio-server": "0.8.118",
|
|
351
|
+
"@hyperframes/parsers": "0.8.118"
|
|
348
352
|
},
|
|
349
353
|
"devDependencies": {
|
|
350
354
|
"@types/jsdom": "^28.0.0",
|