@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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"runtime-inline.js","sourceRoot":"","sources":["../../src/generated/runtime-inline.ts"],"names":[],"mappings":"AAAA,gFAAgF;AAChF,MAAM,YAAY,GAAW,
|
|
1
|
+
{"version":3,"file":"runtime-inline.js","sourceRoot":"","sources":["../../src/generated/runtime-inline.ts"],"names":[],"mappings":"AAAA,gFAAgF;AAChF,MAAM,YAAY,GAAW,+gqeAA+gqe,CAAC;AAE7iqe;;;;GAIG;AACH,MAAM,UAAU,0BAA0B;IACxC,OAAO,YAAY,CAAC;AACtB,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export declare function gsapCdnDist(gsapVersion?: string): string;
|
|
2
|
+
/** MotionPathPlugin at the composition's own gsap version; a skew registers with a GSAP warning. */
|
|
3
|
+
export declare function motionPathPluginUrl(gsapVersion?: string): string;
|
|
4
|
+
//# sourceMappingURL=gsapCdn.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"gsapCdn.d.ts","sourceRoot":"","sources":["../src/gsapCdn.ts"],"names":[],"mappings":"AAEA,wBAAgB,WAAW,CAAC,WAAW,CAAC,EAAE,MAAM,GAAG,MAAM,CAGxD;AAED,oGAAoG;AACpG,wBAAgB,mBAAmB,CAAC,WAAW,CAAC,EAAE,MAAM,GAAG,MAAM,CAEhE"}
|
package/dist/gsapCdn.js
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
const GSAP_CDN_VERSION = "3.15.0";
|
|
2
|
+
export function gsapCdnDist(gsapVersion) {
|
|
3
|
+
const version = gsapVersion && /^\d+(\.\d+)*$/.test(gsapVersion) ? gsapVersion : GSAP_CDN_VERSION;
|
|
4
|
+
return `https://cdn.jsdelivr.net/npm/gsap@${version}/dist/`;
|
|
5
|
+
}
|
|
6
|
+
/** MotionPathPlugin at the composition's own gsap version; a skew registers with a GSAP warning. */
|
|
7
|
+
export function motionPathPluginUrl(gsapVersion) {
|
|
8
|
+
return `${gsapCdnDist(gsapVersion)}MotionPathPlugin.min.js`;
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=gsapCdn.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"gsapCdn.js","sourceRoot":"","sources":["../src/gsapCdn.ts"],"names":[],"mappings":"AAAA,MAAM,gBAAgB,GAAG,QAAQ,CAAC;AAElC,MAAM,UAAU,WAAW,CAAC,WAAoB;IAC9C,MAAM,OAAO,GAAG,WAAW,IAAI,eAAe,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,gBAAgB,CAAC;IAClG,OAAO,qCAAqC,OAAO,QAAQ,CAAC;AAC9D,CAAC;AAED,oGAAoG;AACpG,MAAM,UAAU,mBAAmB,CAAC,WAAoB;IACtD,OAAO,GAAG,WAAW,CAAC,WAAW,CAAC,yBAAyB,CAAC;AAC9D,CAAC"}
|