@builder.io/sdk 1.1.30-1 → 1.1.31-0
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/CHANGELOG.md +3 -0
- package/dist/index.browser.js +1 -1
- package/dist/index.browser.js.map +1 -1
- package/dist/index.cjs.js +5 -8
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +5 -8
- package/dist/index.esm.js.map +1 -1
- package/dist/index.umd.js +5 -8
- package/dist/index.umd.js.map +1 -1
- package/dist/package.json +1 -1
- package/dist/src/builder.class.js.map +1 -1
- package/dist/src/classes/animator.class.js +1 -1
- package/dist/src/classes/animator.class.js.map +1 -1
- package/dist/src/functions/server-only-require.function.d.ts +1 -2
- package/dist/src/functions/server-only-require.function.js +5 -7
- package/dist/src/functions/server-only-require.function.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
package/dist/index.umd.js
CHANGED
|
@@ -152,7 +152,7 @@
|
|
|
152
152
|
throw new Error("Property name \"".concat(name, "\" is not allowed"));
|
|
153
153
|
}
|
|
154
154
|
|
|
155
|
-
var version = "1.1.30
|
|
155
|
+
var version = "1.1.30";
|
|
156
156
|
|
|
157
157
|
var Subscription = /** @class */ (function () {
|
|
158
158
|
function Subscription(listeners, listener) {
|
|
@@ -414,15 +414,12 @@
|
|
|
414
414
|
|
|
415
415
|
// Webpack workaround to conditionally require certain external modules
|
|
416
416
|
// only on the server and not bundle them on the client
|
|
417
|
-
var serverOnlyRequire;
|
|
418
|
-
|
|
417
|
+
var serverOnlyRequire = (function () { return null; });
|
|
418
|
+
if (typeof (globalThis === null || globalThis === void 0 ? void 0 : globalThis.require) === 'function' ||
|
|
419
|
+
(typeof window === 'undefined' && typeof require === 'function')) {
|
|
419
420
|
// tslint:disable-next-line:no-eval
|
|
420
421
|
serverOnlyRequire = eval('require');
|
|
421
422
|
}
|
|
422
|
-
catch (err) {
|
|
423
|
-
// all good
|
|
424
|
-
serverOnlyRequire = (function () { return null; });
|
|
425
|
-
}
|
|
426
423
|
var serverOnlyRequire$1 = serverOnlyRequire;
|
|
427
424
|
|
|
428
425
|
function promiseResolve(value) {
|
|
@@ -712,7 +709,7 @@
|
|
|
712
709
|
triggered &&
|
|
713
710
|
!pendingAnimation &&
|
|
714
711
|
!isScrolledIntoView(element)) {
|
|
715
|
-
// we want to repeat the animation
|
|
712
|
+
// we want to repeat the animation every time the the element is out of view and back again
|
|
716
713
|
triggered = false;
|
|
717
714
|
assign(element.style, animation.steps[0].styles);
|
|
718
715
|
}
|