@elementor/editor-components 4.0.0-591 → 4.0.0-598

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.0.0-591",
4
+ "version": "4.0.0-598",
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.0.0-591",
44
- "@elementor/editor-canvas": "4.0.0-591",
45
- "@elementor/editor-controls": "4.0.0-591",
46
- "@elementor/editor-documents": "4.0.0-591",
47
- "@elementor/editor-editing-panel": "4.0.0-591",
48
- "@elementor/editor-elements": "4.0.0-591",
49
- "@elementor/editor-elements-panel": "4.0.0-591",
50
- "@elementor/editor-mcp": "4.0.0-591",
51
- "@elementor/editor-templates": "4.0.0-591",
52
- "@elementor/editor-panels": "4.0.0-591",
53
- "@elementor/editor-props": "4.0.0-591",
54
- "@elementor/editor-styles-repository": "4.0.0-591",
55
- "@elementor/editor-ui": "4.0.0-591",
56
- "@elementor/editor-v1-adapters": "4.0.0-591",
57
- "@elementor/http-client": "4.0.0-591",
43
+ "@elementor/editor": "4.0.0-598",
44
+ "@elementor/editor-canvas": "4.0.0-598",
45
+ "@elementor/editor-controls": "4.0.0-598",
46
+ "@elementor/editor-documents": "4.0.0-598",
47
+ "@elementor/editor-editing-panel": "4.0.0-598",
48
+ "@elementor/editor-elements": "4.0.0-598",
49
+ "@elementor/editor-elements-panel": "4.0.0-598",
50
+ "@elementor/editor-mcp": "4.0.0-598",
51
+ "@elementor/editor-templates": "4.0.0-598",
52
+ "@elementor/editor-panels": "4.0.0-598",
53
+ "@elementor/editor-props": "4.0.0-598",
54
+ "@elementor/editor-styles-repository": "4.0.0-598",
55
+ "@elementor/editor-ui": "4.0.0-598",
56
+ "@elementor/editor-v1-adapters": "4.0.0-598",
57
+ "@elementor/http-client": "4.0.0-598",
58
58
  "@elementor/icons": "^1.63.0",
59
- "@elementor/events": "4.0.0-591",
60
- "@elementor/query": "4.0.0-591",
61
- "@elementor/schema": "4.0.0-591",
62
- "@elementor/store": "4.0.0-591",
59
+ "@elementor/events": "4.0.0-598",
60
+ "@elementor/query": "4.0.0-598",
61
+ "@elementor/schema": "4.0.0-598",
62
+ "@elementor/store": "4.0.0-598",
63
63
  "@elementor/ui": "1.36.17",
64
- "@elementor/utils": "4.0.0-591",
64
+ "@elementor/utils": "4.0.0-598",
65
65
  "@wordpress/i18n": "^5.13.0",
66
- "@elementor/editor-notifications": "4.0.0-591",
67
- "@elementor/editor-current-user": "4.0.0-591"
66
+ "@elementor/editor-notifications": "4.0.0-598",
67
+ "@elementor/editor-current-user": "4.0.0-598"
68
68
  },
69
69
  "peerDependencies": {
70
70
  "react": "^18.3.1",
@@ -11,12 +11,12 @@ import { __ } from '@wordpress/i18n';
11
11
  import { useComponents } from '../../../hooks/use-components';
12
12
  import { selectComponentByUid } from '../../../store/store';
13
13
  import { type ComponentFormValues, type PublishedComponent } from '../../../types';
14
+ import { createBaseComponentSchema, createSubmitComponentSchema } from '../../../utils/component-form-schema';
14
15
  import { switchToComponent } from '../../../utils/switch-to-component';
15
16
  import { trackComponentEvent } from '../../../utils/tracking';
16
- import { findNonAtomicElementsInElement } from '../../prevent-non-atomic-nesting';
17
17
  import { createUnpublishedComponent } from '../../store/actions/create-unpublished-component';
18
+ import { findNonAtomicElementsInElement } from '../../sync/prevent-non-atomic-nesting';
18
19
  import { useForm } from './hooks/use-form';
19
- import { createBaseComponentSchema, createSubmitComponentSchema } from './utils/component-form-schema';
20
20
  import {
21
21
  type ComponentEventData,
22
22
  type ContextMenuEventOptions,
@@ -16,10 +16,10 @@ import { OverridablePropControl } from './components/overridable-props/overridab
16
16
  import { OverridablePropIndicator } from './components/overridable-props/overridable-prop-indicator';
17
17
  import { COMPONENT_DOCUMENT_TYPE, OVERRIDABLE_PROP_REPLACEMENT_ID } from './consts';
18
18
  import { initMcp } from './mcp';
19
- import { initNonAtomicNestingPrevention } from './prevent-non-atomic-nesting';
20
19
  import { beforeSave } from './sync/before-save';
21
20
  import { initCleanupOverridablePropsOnDelete } from './sync/cleanup-overridable-props-on-delete';
22
21
  import { initHandleComponentEditModeContainer } from './sync/handle-component-edit-mode-container';
22
+ import { initNonAtomicNestingPrevention } from './sync/prevent-non-atomic-nesting';
23
23
  import { initRevertOverridablesOnCopyOrDuplicate } from './sync/revert-overridables-on-copy-or-duplicate';
24
24
 
25
25
  export function initExtended() {
@@ -4,8 +4,8 @@ import { type NotificationData, notify } from '@elementor/editor-notifications';
4
4
  import { blockCommand } from '@elementor/editor-v1-adapters';
5
5
  import { __ } from '@wordpress/i18n';
6
6
 
7
- import { type ExtendedWindow } from '../types';
8
- import { isEditingComponent } from './utils/is-editing-component';
7
+ import { type ExtendedWindow } from '../../types';
8
+ import { isEditingComponent } from '../utils/is-editing-component';
9
9
 
10
10
  type CreateArgs = {
11
11
  container?: V1Element;
@@ -1,7 +1,7 @@
1
1
  import { __getState as getState } from '@elementor/store';
2
2
 
3
- import { createSubmitComponentSchema } from '../extended/components/create-component-form/utils/component-form-schema';
4
3
  import { selectComponents } from '../store/store';
4
+ import { createSubmitComponentSchema } from './component-form-schema';
5
5
 
6
6
  type ValidationResult = { isValid: true; errorMessage: null } | { isValid: false; errorMessage: string };
7
7