@elementor/editor-elements 0.8.1 → 0.8.2
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/CHANGELOG.md +6 -0
- package/dist/index.d.mts +6 -1
- package/dist/index.d.ts +6 -1
- package/package.json +1 -1
- package/src/types.ts +6 -0
package/CHANGELOG.md
CHANGED
package/dist/index.d.mts
CHANGED
|
@@ -29,9 +29,14 @@ type Control = {
|
|
|
29
29
|
description?: string;
|
|
30
30
|
type: string;
|
|
31
31
|
props: Record<string, unknown>;
|
|
32
|
+
meta?: {
|
|
33
|
+
layout?: ControlLayout;
|
|
34
|
+
topDivider?: boolean;
|
|
35
|
+
};
|
|
32
36
|
};
|
|
33
37
|
};
|
|
34
38
|
type ControlItem = ControlsSection | Control;
|
|
39
|
+
type ControlLayout = 'full' | 'two-columns';
|
|
35
40
|
|
|
36
41
|
type V1Element = {
|
|
37
42
|
id: string;
|
|
@@ -147,4 +152,4 @@ declare function getAnchoredDescendantId(elementId: string): string | null;
|
|
|
147
152
|
declare function getAnchoredAncestorId(elementId: string): string | null;
|
|
148
153
|
declare function isElementAnchored(elementId: string): boolean;
|
|
149
154
|
|
|
150
|
-
export { type Control, type ControlItem, type ControlsSection, type CreateElementStyleArgs, ELEMENT_STYLE_CHANGE_EVENT, type Element, type ElementID, type ElementType, type LinkInLinkRestriction, type UpdateElementSettingsArgs, type UpdateElementStyleArgs, type V1Element, type V1ElementConfig, type V1ElementModelProps, type V1ElementSettingsProps, createElementStyle, deleteElementStyle, getAnchoredAncestorId, getAnchoredDescendantId, getContainer, getCurrentDocumentId, getElementLabel, getElementSetting, getElementStyles, getElements, getLinkInLinkRestriction, getSelectedElements, getWidgetsCache, isElementAnchored, selectElement, styleRerenderEvents, updateElementSettings, updateElementStyle, useElementSetting, useElementType, useParentElement, useSelectedElement };
|
|
155
|
+
export { type Control, type ControlItem, type ControlLayout, type ControlsSection, type CreateElementStyleArgs, ELEMENT_STYLE_CHANGE_EVENT, type Element, type ElementID, type ElementType, type LinkInLinkRestriction, type UpdateElementSettingsArgs, type UpdateElementStyleArgs, type V1Element, type V1ElementConfig, type V1ElementModelProps, type V1ElementSettingsProps, createElementStyle, deleteElementStyle, getAnchoredAncestorId, getAnchoredDescendantId, getContainer, getCurrentDocumentId, getElementLabel, getElementSetting, getElementStyles, getElements, getLinkInLinkRestriction, getSelectedElements, getWidgetsCache, isElementAnchored, selectElement, styleRerenderEvents, updateElementSettings, updateElementStyle, useElementSetting, useElementType, useParentElement, useSelectedElement };
|
package/dist/index.d.ts
CHANGED
|
@@ -29,9 +29,14 @@ type Control = {
|
|
|
29
29
|
description?: string;
|
|
30
30
|
type: string;
|
|
31
31
|
props: Record<string, unknown>;
|
|
32
|
+
meta?: {
|
|
33
|
+
layout?: ControlLayout;
|
|
34
|
+
topDivider?: boolean;
|
|
35
|
+
};
|
|
32
36
|
};
|
|
33
37
|
};
|
|
34
38
|
type ControlItem = ControlsSection | Control;
|
|
39
|
+
type ControlLayout = 'full' | 'two-columns';
|
|
35
40
|
|
|
36
41
|
type V1Element = {
|
|
37
42
|
id: string;
|
|
@@ -147,4 +152,4 @@ declare function getAnchoredDescendantId(elementId: string): string | null;
|
|
|
147
152
|
declare function getAnchoredAncestorId(elementId: string): string | null;
|
|
148
153
|
declare function isElementAnchored(elementId: string): boolean;
|
|
149
154
|
|
|
150
|
-
export { type Control, type ControlItem, type ControlsSection, type CreateElementStyleArgs, ELEMENT_STYLE_CHANGE_EVENT, type Element, type ElementID, type ElementType, type LinkInLinkRestriction, type UpdateElementSettingsArgs, type UpdateElementStyleArgs, type V1Element, type V1ElementConfig, type V1ElementModelProps, type V1ElementSettingsProps, createElementStyle, deleteElementStyle, getAnchoredAncestorId, getAnchoredDescendantId, getContainer, getCurrentDocumentId, getElementLabel, getElementSetting, getElementStyles, getElements, getLinkInLinkRestriction, getSelectedElements, getWidgetsCache, isElementAnchored, selectElement, styleRerenderEvents, updateElementSettings, updateElementStyle, useElementSetting, useElementType, useParentElement, useSelectedElement };
|
|
155
|
+
export { type Control, type ControlItem, type ControlLayout, type ControlsSection, type CreateElementStyleArgs, ELEMENT_STYLE_CHANGE_EVENT, type Element, type ElementID, type ElementType, type LinkInLinkRestriction, type UpdateElementSettingsArgs, type UpdateElementStyleArgs, type V1Element, type V1ElementConfig, type V1ElementModelProps, type V1ElementSettingsProps, createElementStyle, deleteElementStyle, getAnchoredAncestorId, getAnchoredDescendantId, getContainer, getCurrentDocumentId, getElementLabel, getElementSetting, getElementStyles, getElements, getLinkInLinkRestriction, getSelectedElements, getWidgetsCache, isElementAnchored, selectElement, styleRerenderEvents, updateElementSettings, updateElementStyle, useElementSetting, useElementType, useParentElement, useSelectedElement };
|
package/package.json
CHANGED
package/src/types.ts
CHANGED
|
@@ -31,7 +31,13 @@ export type Control = {
|
|
|
31
31
|
description?: string;
|
|
32
32
|
type: string;
|
|
33
33
|
props: Record< string, unknown >;
|
|
34
|
+
meta?: {
|
|
35
|
+
layout?: ControlLayout;
|
|
36
|
+
topDivider?: boolean;
|
|
37
|
+
};
|
|
34
38
|
};
|
|
35
39
|
};
|
|
36
40
|
|
|
37
41
|
export type ControlItem = ControlsSection | Control;
|
|
42
|
+
|
|
43
|
+
export type ControlLayout = 'full' | 'two-columns';
|