@elementor/editor-interactions 4.1.0-722 → 4.1.0-724

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elementor/editor-interactions",
3
- "version": "4.1.0-722",
3
+ "version": "4.1.0-724",
4
4
  "private": false,
5
5
  "author": "Elementor Team",
6
6
  "homepage": "https://elementor.com/",
@@ -39,19 +39,19 @@
39
39
  "dev": "tsup --config=../../tsup.dev.ts"
40
40
  },
41
41
  "dependencies": {
42
- "@elementor/editor-controls": "4.1.0-722",
43
- "@elementor/editor-elements": "4.1.0-722",
44
- "@elementor/editor-mcp": "4.1.0-722",
45
- "@elementor/editor-props": "4.1.0-722",
46
- "@elementor/editor-responsive": "4.1.0-722",
47
- "@elementor/editor-ui": "4.1.0-722",
48
- "@elementor/editor-v1-adapters": "4.1.0-722",
42
+ "@elementor/editor-controls": "4.1.0-724",
43
+ "@elementor/editor-elements": "4.1.0-724",
44
+ "@elementor/editor-mcp": "4.1.0-724",
45
+ "@elementor/editor-props": "4.1.0-724",
46
+ "@elementor/editor-responsive": "4.1.0-724",
47
+ "@elementor/editor-ui": "4.1.0-724",
48
+ "@elementor/editor-v1-adapters": "4.1.0-724",
49
49
  "@elementor/icons": "^1.68.0",
50
- "@elementor/schema": "4.1.0-722",
51
- "@elementor/session": "4.1.0-722",
50
+ "@elementor/schema": "4.1.0-724",
51
+ "@elementor/session": "4.1.0-724",
52
52
  "@elementor/ui": "1.36.17",
53
- "@elementor/utils": "4.1.0-722",
54
- "@elementor/events": "4.1.0-722",
53
+ "@elementor/utils": "4.1.0-724",
54
+ "@elementor/events": "4.1.0-724",
55
55
  "@wordpress/i18n": "^5.13.0"
56
56
  },
57
57
  "peerDependencies": {
@@ -10,9 +10,9 @@ export const resolveDirection = (
10
10
  }
11
11
 
12
12
  if ( currentEffect === 'slide' && hasDirection ) {
13
- return newDirection ?? 'top';
13
+ return newDirection || 'top';
14
14
  }
15
- // Why? - New direction can be undefined when the effect is not slide, so if the updates object includes direction, we take it always!
15
+
16
16
  if ( hasDirection ) {
17
17
  return newDirection;
18
18
  }