@elementor/editor-editing-panel 4.0.0-514 → 4.0.0-516
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 +2 -17
- package/dist/index.d.ts +2 -17
- package/dist/index.js +541 -563
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +418 -439
- package/dist/index.mjs.map +1 -1
- package/package.json +20 -20
- package/src/components/editing-panel.tsx +1 -1
- package/src/dynamics/init.ts +1 -1
- package/src/index.ts +0 -1
- package/src/reset-style-props.tsx +1 -1
- package/src/action.tsx +0 -26
- package/src/controls-actions.ts +0 -11
package/dist/index.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as _elementor_locations from '@elementor/locations';
|
|
2
2
|
import { StyleDefinition, StyleDefinitionVariant, StyleDefinitionState, StyleDefinitionID } from '@elementor/editor-styles';
|
|
3
3
|
import * as react from 'react';
|
|
4
|
-
import { FC, PropsWithChildren, ReactNode, Dispatch,
|
|
4
|
+
import { FC, PropsWithChildren, ReactNode, Dispatch, ComponentProps, ComponentType } from 'react';
|
|
5
5
|
import { Control as Control$1, ElementControl, Element, ElementType, ControlLayout, ControlItem } from '@elementor/editor-elements';
|
|
6
6
|
import * as _elementor_editor_props from '@elementor/editor-props';
|
|
7
7
|
import { PropKey, PropTypeUtil, PropsSchema, ObjectPropType, TransformablePropValue, PropValue } from '@elementor/editor-props';
|
|
@@ -9,8 +9,6 @@ import * as _emotion_styled from '@emotion/styled';
|
|
|
9
9
|
import * as _mui_system from '@mui/system';
|
|
10
10
|
import { Theme, ChipProps } from '@elementor/ui';
|
|
11
11
|
import { StylesProvider } from '@elementor/editor-styles-repository';
|
|
12
|
-
import * as _elementor_menus from '@elementor/menus';
|
|
13
|
-
import { PopoverAction } from '@elementor/editor-ui';
|
|
14
12
|
import * as _mui_material from '@mui/material';
|
|
15
13
|
import * as _elementor_editor_controls from '@elementor/editor-controls';
|
|
16
14
|
import { ControlComponent, AdornmentComponent } from '@elementor/editor-controls';
|
|
@@ -111,19 +109,6 @@ type ContextValueWithoutProvider = {
|
|
|
111
109
|
};
|
|
112
110
|
declare function useStyle(): ContextValue;
|
|
113
111
|
|
|
114
|
-
type ActionProps = {
|
|
115
|
-
title: string;
|
|
116
|
-
visible?: boolean;
|
|
117
|
-
icon: ElementType$1;
|
|
118
|
-
onClick: () => void;
|
|
119
|
-
};
|
|
120
|
-
declare function Action({ title, visible, icon: Icon, onClick }: ActionProps): react.JSX.Element | null;
|
|
121
|
-
|
|
122
|
-
declare const controlActionsMenu: _elementor_menus.Menu<{
|
|
123
|
-
Action: typeof Action;
|
|
124
|
-
PopoverAction: typeof PopoverAction;
|
|
125
|
-
}, "default">;
|
|
126
|
-
|
|
127
112
|
type ControlRegistry = Record<string, {
|
|
128
113
|
component: ControlComponent;
|
|
129
114
|
layout: ControlLayout;
|
|
@@ -1386,4 +1371,4 @@ type TagInstance = {
|
|
|
1386
1371
|
|
|
1387
1372
|
declare const isDynamicPropValue: (prop: PropValue) => prop is DynamicPropValue;
|
|
1388
1373
|
|
|
1389
|
-
export { Control as BaseControl, type ControlType, CustomCssIndicator, type DynamicTag, type DynamicTags, type DynamicTagsManager, ElementProvider, FIELD_TYPE, HISTORY_DEBOUNCE_WAIT, SectionContent, SettingsControl, SettingsField, StyleIndicator, StyleTabSection, StylesProviderCannotUpdatePropsError, type ValidationEvent, type ValidationResult,
|
|
1374
|
+
export { Control as BaseControl, type ControlType, CustomCssIndicator, type DynamicTag, type DynamicTags, type DynamicTagsManager, ElementProvider, FIELD_TYPE, HISTORY_DEBOUNCE_WAIT, SectionContent, SettingsControl, SettingsField, StyleIndicator, StyleTabSection, StylesProviderCannotUpdatePropsError, type ValidationEvent, type ValidationResult, controlsRegistry, createTopLevelObjectType, doApplyClasses, doGetAppliedClasses, doUnapplyClass, getFieldIndicators, getSubtitle, getTitle, init, injectIntoClassSelectorActions, injectIntoCssClassConvert, injectIntoPanelHeaderTop, injectIntoStyleTab, isDynamicPropValue, registerEditingPanelReplacement, registerFieldIndicator, registerStyleProviderToColors, setLicenseConfig, stylesInheritanceTransformersRegistry, useClassesProp, useCustomCss, useElement, usePanelActions, usePanelStatus, useStateByElement, useStyle, useStylesRerender };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as _elementor_locations from '@elementor/locations';
|
|
2
2
|
import { StyleDefinition, StyleDefinitionVariant, StyleDefinitionState, StyleDefinitionID } from '@elementor/editor-styles';
|
|
3
3
|
import * as react from 'react';
|
|
4
|
-
import { FC, PropsWithChildren, ReactNode, Dispatch,
|
|
4
|
+
import { FC, PropsWithChildren, ReactNode, Dispatch, ComponentProps, ComponentType } from 'react';
|
|
5
5
|
import { Control as Control$1, ElementControl, Element, ElementType, ControlLayout, ControlItem } from '@elementor/editor-elements';
|
|
6
6
|
import * as _elementor_editor_props from '@elementor/editor-props';
|
|
7
7
|
import { PropKey, PropTypeUtil, PropsSchema, ObjectPropType, TransformablePropValue, PropValue } from '@elementor/editor-props';
|
|
@@ -9,8 +9,6 @@ import * as _emotion_styled from '@emotion/styled';
|
|
|
9
9
|
import * as _mui_system from '@mui/system';
|
|
10
10
|
import { Theme, ChipProps } from '@elementor/ui';
|
|
11
11
|
import { StylesProvider } from '@elementor/editor-styles-repository';
|
|
12
|
-
import * as _elementor_menus from '@elementor/menus';
|
|
13
|
-
import { PopoverAction } from '@elementor/editor-ui';
|
|
14
12
|
import * as _mui_material from '@mui/material';
|
|
15
13
|
import * as _elementor_editor_controls from '@elementor/editor-controls';
|
|
16
14
|
import { ControlComponent, AdornmentComponent } from '@elementor/editor-controls';
|
|
@@ -111,19 +109,6 @@ type ContextValueWithoutProvider = {
|
|
|
111
109
|
};
|
|
112
110
|
declare function useStyle(): ContextValue;
|
|
113
111
|
|
|
114
|
-
type ActionProps = {
|
|
115
|
-
title: string;
|
|
116
|
-
visible?: boolean;
|
|
117
|
-
icon: ElementType$1;
|
|
118
|
-
onClick: () => void;
|
|
119
|
-
};
|
|
120
|
-
declare function Action({ title, visible, icon: Icon, onClick }: ActionProps): react.JSX.Element | null;
|
|
121
|
-
|
|
122
|
-
declare const controlActionsMenu: _elementor_menus.Menu<{
|
|
123
|
-
Action: typeof Action;
|
|
124
|
-
PopoverAction: typeof PopoverAction;
|
|
125
|
-
}, "default">;
|
|
126
|
-
|
|
127
112
|
type ControlRegistry = Record<string, {
|
|
128
113
|
component: ControlComponent;
|
|
129
114
|
layout: ControlLayout;
|
|
@@ -1386,4 +1371,4 @@ type TagInstance = {
|
|
|
1386
1371
|
|
|
1387
1372
|
declare const isDynamicPropValue: (prop: PropValue) => prop is DynamicPropValue;
|
|
1388
1373
|
|
|
1389
|
-
export { Control as BaseControl, type ControlType, CustomCssIndicator, type DynamicTag, type DynamicTags, type DynamicTagsManager, ElementProvider, FIELD_TYPE, HISTORY_DEBOUNCE_WAIT, SectionContent, SettingsControl, SettingsField, StyleIndicator, StyleTabSection, StylesProviderCannotUpdatePropsError, type ValidationEvent, type ValidationResult,
|
|
1374
|
+
export { Control as BaseControl, type ControlType, CustomCssIndicator, type DynamicTag, type DynamicTags, type DynamicTagsManager, ElementProvider, FIELD_TYPE, HISTORY_DEBOUNCE_WAIT, SectionContent, SettingsControl, SettingsField, StyleIndicator, StyleTabSection, StylesProviderCannotUpdatePropsError, type ValidationEvent, type ValidationResult, controlsRegistry, createTopLevelObjectType, doApplyClasses, doGetAppliedClasses, doUnapplyClass, getFieldIndicators, getSubtitle, getTitle, init, injectIntoClassSelectorActions, injectIntoCssClassConvert, injectIntoPanelHeaderTop, injectIntoStyleTab, isDynamicPropValue, registerEditingPanelReplacement, registerFieldIndicator, registerStyleProviderToColors, setLicenseConfig, stylesInheritanceTransformersRegistry, useClassesProp, useCustomCss, useElement, usePanelActions, usePanelStatus, useStateByElement, useStyle, useStylesRerender };
|