@elementor/editor-elements 4.0.0-524 → 4.0.0-526
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 +12 -1
- package/dist/index.d.ts +12 -1
- package/package.json +7 -7
- package/src/sync/types.ts +13 -0
package/dist/index.d.mts
CHANGED
|
@@ -128,12 +128,23 @@ type AnimationPresetPropValue = {
|
|
|
128
128
|
config: ConfigPropValue;
|
|
129
129
|
};
|
|
130
130
|
};
|
|
131
|
+
type ExcludedBreakpointsPropValue = {
|
|
132
|
+
$$type: 'excluded-breakpoints';
|
|
133
|
+
value: StringPropValue[];
|
|
134
|
+
};
|
|
135
|
+
type InteractionBreakpointsPropValue = {
|
|
136
|
+
$$type: 'interaction-breakpoints';
|
|
137
|
+
value: {
|
|
138
|
+
excluded: ExcludedBreakpointsPropValue;
|
|
139
|
+
};
|
|
140
|
+
};
|
|
131
141
|
type InteractionItemPropValue = {
|
|
132
142
|
$$type: 'interaction-item';
|
|
133
143
|
value: {
|
|
134
144
|
interaction_id?: StringPropValue;
|
|
135
145
|
trigger: StringPropValue;
|
|
136
146
|
animation: AnimationPresetPropValue;
|
|
147
|
+
breakpoints?: InteractionBreakpointsPropValue;
|
|
137
148
|
};
|
|
138
149
|
};
|
|
139
150
|
type ElementInteractions = {
|
|
@@ -458,4 +469,4 @@ declare const updateElementInteractions: ({ elementId, interactions, }: {
|
|
|
458
469
|
}) => void;
|
|
459
470
|
declare const playElementInteractions: (elementId: string, interactionId: string) => void;
|
|
460
471
|
|
|
461
|
-
export { type AnimationPresetPropValue, type BooleanPropValue, type ConfigPropValue, type Control, type ControlItem, type ControlLayout, type ControlsSection, type CreateElementParams, type CreateElementStyleArgs, type DropElementParams, type DuplicateElementParams, type DuplicateElementsParams, type DuplicatedElement, type DuplicatedElementsResult, ELEMENT_STYLE_CHANGE_EVENT, type Element, type ElementChildren, type ElementControl, type ElementID, type ElementInteractions, type ElementModel, type ElementType, type ExtendedWindow, type InteractionItemPropValue, type LinkInLinkRestriction, type MoveElementParams, type MoveElementsParams, type MovedElement, type MovedElementsResult, type NumberPropValue, type StringPropValue, type TimingConfigPropValue, type UpdateElementSettingsArgs, type UpdateElementStyleArgs, type V1Element, type V1ElementConfig, type V1ElementData, type V1ElementEditorSettingsProps, type V1ElementModelProps, type V1ElementSettingsProps, createElement, createElementStyle, createElements, deleteElement, deleteElementStyle, dropElement, duplicateElement, duplicateElements, generateElementId, getAllDescendants, getAnchoredAncestorId, getAnchoredDescendantId, getContainer, getCurrentDocumentContainer, getCurrentDocumentId, getElementEditorSettings, getElementInteractions, getElementLabel, getElementSetting, getElementSettings, getElementStyles, getElementType, getElements, getLinkInLinkRestriction, getSelectedElements, getWidgetsCache, isElementAnchored, moveElement, moveElements, playElementInteractions, removeElements, replaceElement, selectElement, shouldCreateNewLocalStyle, styleRerenderEvents, updateElementEditorSettings, updateElementInteractions, updateElementSettings, updateElementStyle, useElementChildren, useElementEditorSettings, useElementInteractions, useElementSetting, useElementSettings, useParentElement, useSelectedElement };
|
|
472
|
+
export { type AnimationPresetPropValue, type BooleanPropValue, type ConfigPropValue, type Control, type ControlItem, type ControlLayout, type ControlsSection, type CreateElementParams, type CreateElementStyleArgs, type DropElementParams, type DuplicateElementParams, type DuplicateElementsParams, type DuplicatedElement, type DuplicatedElementsResult, ELEMENT_STYLE_CHANGE_EVENT, type Element, type ElementChildren, type ElementControl, type ElementID, type ElementInteractions, type ElementModel, type ElementType, type ExcludedBreakpointsPropValue, type ExtendedWindow, type InteractionBreakpointsPropValue, type InteractionItemPropValue, type LinkInLinkRestriction, type MoveElementParams, type MoveElementsParams, type MovedElement, type MovedElementsResult, type NumberPropValue, type StringPropValue, type TimingConfigPropValue, type UpdateElementSettingsArgs, type UpdateElementStyleArgs, type V1Element, type V1ElementConfig, type V1ElementData, type V1ElementEditorSettingsProps, type V1ElementModelProps, type V1ElementSettingsProps, createElement, createElementStyle, createElements, deleteElement, deleteElementStyle, dropElement, duplicateElement, duplicateElements, generateElementId, getAllDescendants, getAnchoredAncestorId, getAnchoredDescendantId, getContainer, getCurrentDocumentContainer, getCurrentDocumentId, getElementEditorSettings, getElementInteractions, getElementLabel, getElementSetting, getElementSettings, getElementStyles, getElementType, getElements, getLinkInLinkRestriction, getSelectedElements, getWidgetsCache, isElementAnchored, moveElement, moveElements, playElementInteractions, removeElements, replaceElement, selectElement, shouldCreateNewLocalStyle, styleRerenderEvents, updateElementEditorSettings, updateElementInteractions, updateElementSettings, updateElementStyle, useElementChildren, useElementEditorSettings, useElementInteractions, useElementSetting, useElementSettings, useParentElement, useSelectedElement };
|
package/dist/index.d.ts
CHANGED
|
@@ -128,12 +128,23 @@ type AnimationPresetPropValue = {
|
|
|
128
128
|
config: ConfigPropValue;
|
|
129
129
|
};
|
|
130
130
|
};
|
|
131
|
+
type ExcludedBreakpointsPropValue = {
|
|
132
|
+
$$type: 'excluded-breakpoints';
|
|
133
|
+
value: StringPropValue[];
|
|
134
|
+
};
|
|
135
|
+
type InteractionBreakpointsPropValue = {
|
|
136
|
+
$$type: 'interaction-breakpoints';
|
|
137
|
+
value: {
|
|
138
|
+
excluded: ExcludedBreakpointsPropValue;
|
|
139
|
+
};
|
|
140
|
+
};
|
|
131
141
|
type InteractionItemPropValue = {
|
|
132
142
|
$$type: 'interaction-item';
|
|
133
143
|
value: {
|
|
134
144
|
interaction_id?: StringPropValue;
|
|
135
145
|
trigger: StringPropValue;
|
|
136
146
|
animation: AnimationPresetPropValue;
|
|
147
|
+
breakpoints?: InteractionBreakpointsPropValue;
|
|
137
148
|
};
|
|
138
149
|
};
|
|
139
150
|
type ElementInteractions = {
|
|
@@ -458,4 +469,4 @@ declare const updateElementInteractions: ({ elementId, interactions, }: {
|
|
|
458
469
|
}) => void;
|
|
459
470
|
declare const playElementInteractions: (elementId: string, interactionId: string) => void;
|
|
460
471
|
|
|
461
|
-
export { type AnimationPresetPropValue, type BooleanPropValue, type ConfigPropValue, type Control, type ControlItem, type ControlLayout, type ControlsSection, type CreateElementParams, type CreateElementStyleArgs, type DropElementParams, type DuplicateElementParams, type DuplicateElementsParams, type DuplicatedElement, type DuplicatedElementsResult, ELEMENT_STYLE_CHANGE_EVENT, type Element, type ElementChildren, type ElementControl, type ElementID, type ElementInteractions, type ElementModel, type ElementType, type ExtendedWindow, type InteractionItemPropValue, type LinkInLinkRestriction, type MoveElementParams, type MoveElementsParams, type MovedElement, type MovedElementsResult, type NumberPropValue, type StringPropValue, type TimingConfigPropValue, type UpdateElementSettingsArgs, type UpdateElementStyleArgs, type V1Element, type V1ElementConfig, type V1ElementData, type V1ElementEditorSettingsProps, type V1ElementModelProps, type V1ElementSettingsProps, createElement, createElementStyle, createElements, deleteElement, deleteElementStyle, dropElement, duplicateElement, duplicateElements, generateElementId, getAllDescendants, getAnchoredAncestorId, getAnchoredDescendantId, getContainer, getCurrentDocumentContainer, getCurrentDocumentId, getElementEditorSettings, getElementInteractions, getElementLabel, getElementSetting, getElementSettings, getElementStyles, getElementType, getElements, getLinkInLinkRestriction, getSelectedElements, getWidgetsCache, isElementAnchored, moveElement, moveElements, playElementInteractions, removeElements, replaceElement, selectElement, shouldCreateNewLocalStyle, styleRerenderEvents, updateElementEditorSettings, updateElementInteractions, updateElementSettings, updateElementStyle, useElementChildren, useElementEditorSettings, useElementInteractions, useElementSetting, useElementSettings, useParentElement, useSelectedElement };
|
|
472
|
+
export { type AnimationPresetPropValue, type BooleanPropValue, type ConfigPropValue, type Control, type ControlItem, type ControlLayout, type ControlsSection, type CreateElementParams, type CreateElementStyleArgs, type DropElementParams, type DuplicateElementParams, type DuplicateElementsParams, type DuplicatedElement, type DuplicatedElementsResult, ELEMENT_STYLE_CHANGE_EVENT, type Element, type ElementChildren, type ElementControl, type ElementID, type ElementInteractions, type ElementModel, type ElementType, type ExcludedBreakpointsPropValue, type ExtendedWindow, type InteractionBreakpointsPropValue, type InteractionItemPropValue, type LinkInLinkRestriction, type MoveElementParams, type MoveElementsParams, type MovedElement, type MovedElementsResult, type NumberPropValue, type StringPropValue, type TimingConfigPropValue, type UpdateElementSettingsArgs, type UpdateElementStyleArgs, type V1Element, type V1ElementConfig, type V1ElementData, type V1ElementEditorSettingsProps, type V1ElementModelProps, type V1ElementSettingsProps, createElement, createElementStyle, createElements, deleteElement, deleteElementStyle, dropElement, duplicateElement, duplicateElements, generateElementId, getAllDescendants, getAnchoredAncestorId, getAnchoredDescendantId, getContainer, getCurrentDocumentContainer, getCurrentDocumentId, getElementEditorSettings, getElementInteractions, getElementLabel, getElementSetting, getElementSettings, getElementStyles, getElementType, getElements, getLinkInLinkRestriction, getSelectedElements, getWidgetsCache, isElementAnchored, moveElement, moveElements, playElementInteractions, removeElements, replaceElement, selectElement, shouldCreateNewLocalStyle, styleRerenderEvents, updateElementEditorSettings, updateElementInteractions, updateElementSettings, updateElementStyle, useElementChildren, useElementEditorSettings, useElementInteractions, useElementSetting, useElementSettings, useParentElement, useSelectedElement };
|
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-
|
|
4
|
+
"version": "4.0.0-526",
|
|
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-
|
|
44
|
-
"@elementor/editor-props": "4.0.0-
|
|
45
|
-
"@elementor/editor-styles": "4.0.0-
|
|
46
|
-
"@elementor/editor-v1-adapters": "4.0.0-
|
|
47
|
-
"@elementor/schema": "4.0.0-
|
|
48
|
-
"@elementor/utils": "4.0.0-
|
|
43
|
+
"@elementor/editor-mcp": "4.0.0-526",
|
|
44
|
+
"@elementor/editor-props": "4.0.0-526",
|
|
45
|
+
"@elementor/editor-styles": "4.0.0-526",
|
|
46
|
+
"@elementor/editor-v1-adapters": "4.0.0-526",
|
|
47
|
+
"@elementor/schema": "4.0.0-526",
|
|
48
|
+
"@elementor/utils": "4.0.0-526",
|
|
49
49
|
"@wordpress/i18n": "^3.1.0"
|
|
50
50
|
},
|
|
51
51
|
"peerDependencies": {
|
package/src/sync/types.ts
CHANGED
|
@@ -89,12 +89,25 @@ export type AnimationPresetPropValue = {
|
|
|
89
89
|
};
|
|
90
90
|
};
|
|
91
91
|
|
|
92
|
+
export type ExcludedBreakpointsPropValue = {
|
|
93
|
+
$$type: 'excluded-breakpoints';
|
|
94
|
+
value: StringPropValue[];
|
|
95
|
+
};
|
|
96
|
+
|
|
97
|
+
export type InteractionBreakpointsPropValue = {
|
|
98
|
+
$$type: 'interaction-breakpoints';
|
|
99
|
+
value: {
|
|
100
|
+
excluded: ExcludedBreakpointsPropValue;
|
|
101
|
+
};
|
|
102
|
+
};
|
|
103
|
+
|
|
92
104
|
export type InteractionItemPropValue = {
|
|
93
105
|
$$type: 'interaction-item';
|
|
94
106
|
value: {
|
|
95
107
|
interaction_id?: StringPropValue;
|
|
96
108
|
trigger: StringPropValue;
|
|
97
109
|
animation: AnimationPresetPropValue;
|
|
110
|
+
breakpoints?: InteractionBreakpointsPropValue;
|
|
98
111
|
};
|
|
99
112
|
};
|
|
100
113
|
|