@elementor/editor-interactions 4.0.0-638 → 4.0.0-640
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/index.js +1 -13
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -13
- package/dist/index.mjs.map +1 -1
- package/package.json +11 -11
- package/src/utils/get-interactions-config.ts +1 -14
package/dist/index.js
CHANGED
|
@@ -242,20 +242,8 @@ var createSizeValue = (size, unit) => {
|
|
|
242
242
|
};
|
|
243
243
|
|
|
244
244
|
// src/utils/get-interactions-config.ts
|
|
245
|
-
var DEFAULT_CONFIG = {
|
|
246
|
-
constants: {
|
|
247
|
-
defaultDuration: 600,
|
|
248
|
-
defaultDelay: 0,
|
|
249
|
-
slideDistance: 100,
|
|
250
|
-
scaleStart: 0,
|
|
251
|
-
defaultEasing: "easeIn",
|
|
252
|
-
relativeTo: "viewport",
|
|
253
|
-
end: 15,
|
|
254
|
-
start: 85
|
|
255
|
-
}
|
|
256
|
-
};
|
|
257
245
|
function getInteractionsConfig() {
|
|
258
|
-
return window.ElementorInteractionsConfig
|
|
246
|
+
return window.ElementorInteractionsConfig ?? {};
|
|
259
247
|
}
|
|
260
248
|
|
|
261
249
|
// src/utils/temp-id-utils.ts
|