@elementor/editor-components 4.1.0-694 → 4.1.0-696

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,7 +1,7 @@
1
1
  {
2
2
  "name": "@elementor/editor-components",
3
3
  "description": "Elementor editor components",
4
- "version": "4.1.0-694",
4
+ "version": "4.1.0-696",
5
5
  "private": false,
6
6
  "author": "Elementor Team",
7
7
  "homepage": "https://elementor.com/",
@@ -40,31 +40,31 @@
40
40
  "dev": "tsup --config=../../tsup.dev.ts"
41
41
  },
42
42
  "dependencies": {
43
- "@elementor/editor": "4.1.0-694",
44
- "@elementor/editor-canvas": "4.1.0-694",
45
- "@elementor/editor-controls": "4.1.0-694",
46
- "@elementor/editor-documents": "4.1.0-694",
47
- "@elementor/editor-editing-panel": "4.1.0-694",
48
- "@elementor/editor-elements": "4.1.0-694",
49
- "@elementor/editor-elements-panel": "4.1.0-694",
50
- "@elementor/editor-mcp": "4.1.0-694",
51
- "@elementor/editor-templates": "4.1.0-694",
52
- "@elementor/editor-panels": "4.1.0-694",
53
- "@elementor/editor-props": "4.1.0-694",
54
- "@elementor/editor-styles-repository": "4.1.0-694",
55
- "@elementor/editor-ui": "4.1.0-694",
56
- "@elementor/editor-v1-adapters": "4.1.0-694",
57
- "@elementor/http-client": "4.1.0-694",
43
+ "@elementor/editor": "4.1.0-696",
44
+ "@elementor/editor-canvas": "4.1.0-696",
45
+ "@elementor/editor-controls": "4.1.0-696",
46
+ "@elementor/editor-documents": "4.1.0-696",
47
+ "@elementor/editor-editing-panel": "4.1.0-696",
48
+ "@elementor/editor-elements": "4.1.0-696",
49
+ "@elementor/editor-elements-panel": "4.1.0-696",
50
+ "@elementor/editor-mcp": "4.1.0-696",
51
+ "@elementor/editor-templates": "4.1.0-696",
52
+ "@elementor/editor-panels": "4.1.0-696",
53
+ "@elementor/editor-props": "4.1.0-696",
54
+ "@elementor/editor-styles-repository": "4.1.0-696",
55
+ "@elementor/editor-ui": "4.1.0-696",
56
+ "@elementor/editor-v1-adapters": "4.1.0-696",
57
+ "@elementor/http-client": "4.1.0-696",
58
58
  "@elementor/icons": "^1.68.0",
59
- "@elementor/events": "4.1.0-694",
60
- "@elementor/query": "4.1.0-694",
61
- "@elementor/schema": "4.1.0-694",
62
- "@elementor/store": "4.1.0-694",
59
+ "@elementor/events": "4.1.0-696",
60
+ "@elementor/query": "4.1.0-696",
61
+ "@elementor/schema": "4.1.0-696",
62
+ "@elementor/store": "4.1.0-696",
63
63
  "@elementor/ui": "1.36.17",
64
- "@elementor/utils": "4.1.0-694",
64
+ "@elementor/utils": "4.1.0-696",
65
65
  "@wordpress/i18n": "^5.13.0",
66
- "@elementor/editor-notifications": "4.1.0-694",
67
- "@elementor/editor-current-user": "4.1.0-694"
66
+ "@elementor/editor-notifications": "4.1.0-696",
67
+ "@elementor/editor-current-user": "4.1.0-696"
68
68
  },
69
69
  "peerDependencies": {
70
70
  "react": "^18.3.1",
@@ -64,11 +64,14 @@ const UPDATE_PLUGINS_URL = '/wp-admin/plugins.php';
64
64
  const COMPONENT_EDIT_UPGRADE_NOTIFICATION_ID = 'component-edit-upgrade';
65
65
  const COMPONENT_EDIT_UPDATE_NOTIFICATION_ID = 'component-edit-update';
66
66
 
67
+ const COMPONENT_EDIT_UPGRADE_AUTO_HIDE_DURATION = 2000;
68
+
67
69
  function notifyComponentEditUpgrade() {
68
70
  notify( {
69
71
  type: 'promotion',
70
72
  id: COMPONENT_EDIT_UPGRADE_NOTIFICATION_ID,
71
73
  message: __( 'Editing components requires an active Pro subscription.', 'elementor' ),
74
+ autoHideDuration: COMPONENT_EDIT_UPGRADE_AUTO_HIDE_DURATION,
72
75
  additionalActionProps: [
73
76
  {
74
77
  size: 'small',