@elementor/editor-elements 4.0.0-538 → 4.0.0-540

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.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import { PropsSchema, PropValue, Props, LinkPropValue } from '@elementor/editor-props';
1
+ import { PropsSchema, PropValue, SizePropValue, Props, LinkPropValue } from '@elementor/editor-props';
2
2
  import { ClassState, StyleDefinitionID, StyleDefinition, StyleDefinitionVariant } from '@elementor/editor-styles';
3
3
  import * as _elementor_editor_v1_adapters from '@elementor/editor-v1-adapters';
4
4
 
@@ -104,8 +104,8 @@ type BooleanPropValue = {
104
104
  type TimingConfigPropValue = {
105
105
  $$type: 'timing-config';
106
106
  value: {
107
- duration: NumberPropValue;
108
- delay: NumberPropValue;
107
+ duration: SizePropValue;
108
+ delay: SizePropValue;
109
109
  };
110
110
  };
111
111
  type ConfigPropValue = {
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { PropsSchema, PropValue, Props, LinkPropValue } from '@elementor/editor-props';
1
+ import { PropsSchema, PropValue, SizePropValue, Props, LinkPropValue } from '@elementor/editor-props';
2
2
  import { ClassState, StyleDefinitionID, StyleDefinition, StyleDefinitionVariant } from '@elementor/editor-styles';
3
3
  import * as _elementor_editor_v1_adapters from '@elementor/editor-v1-adapters';
4
4
 
@@ -104,8 +104,8 @@ type BooleanPropValue = {
104
104
  type TimingConfigPropValue = {
105
105
  $$type: 'timing-config';
106
106
  value: {
107
- duration: NumberPropValue;
108
- delay: NumberPropValue;
107
+ duration: SizePropValue;
108
+ delay: SizePropValue;
109
109
  };
110
110
  };
111
111
  type ConfigPropValue = {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@elementor/editor-elements",
3
3
  "description": "This package contains the elements model for the Elementor editor",
4
- "version": "4.0.0-538",
4
+ "version": "4.0.0-540",
5
5
  "private": false,
6
6
  "author": "Elementor Team",
7
7
  "homepage": "https://elementor.com/",
@@ -40,12 +40,12 @@
40
40
  "dev": "tsup --config=../../tsup.dev.ts"
41
41
  },
42
42
  "dependencies": {
43
- "@elementor/editor-mcp": "4.0.0-538",
44
- "@elementor/editor-props": "4.0.0-538",
45
- "@elementor/editor-styles": "4.0.0-538",
46
- "@elementor/editor-v1-adapters": "4.0.0-538",
47
- "@elementor/schema": "4.0.0-538",
48
- "@elementor/utils": "4.0.0-538",
43
+ "@elementor/editor-mcp": "4.0.0-540",
44
+ "@elementor/editor-props": "4.0.0-540",
45
+ "@elementor/editor-styles": "4.0.0-540",
46
+ "@elementor/editor-v1-adapters": "4.0.0-540",
47
+ "@elementor/schema": "4.0.0-540",
48
+ "@elementor/utils": "4.0.0-540",
49
49
  "@wordpress/i18n": "^3.1.0"
50
50
  },
51
51
  "peerDependencies": {
package/src/sync/types.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { type PropsSchema, type PropValue } from '@elementor/editor-props';
1
+ import { type PropsSchema, type PropValue, type SizePropValue } from '@elementor/editor-props';
2
2
  import { type ClassState, type StyleDefinition, type StyleDefinitionID } from '@elementor/editor-styles';
3
3
 
4
4
  import { type ControlItem } from '../types';
@@ -62,8 +62,8 @@ export type BooleanPropValue = {
62
62
  export type TimingConfigPropValue = {
63
63
  $$type: 'timing-config';
64
64
  value: {
65
- duration: NumberPropValue;
66
- delay: NumberPropValue;
65
+ duration: SizePropValue;
66
+ delay: SizePropValue;
67
67
  };
68
68
  };
69
69