@elementor/editor-editing-panel 3.33.0-298 → 3.33.0-300

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,15 +1,15 @@
1
1
  import * as _elementor_editor_controls from '@elementor/editor-controls';
2
- import { FontCategory, ControlComponent } from '@elementor/editor-controls';
2
+ import { FontCategory, ControlComponent, AdornmentComponent } from '@elementor/editor-controls';
3
3
  export { useBoundProp } from '@elementor/editor-controls';
4
4
  import * as _elementor_locations from '@elementor/locations';
5
5
  import { StyleDefinition, StyleDefinitionVariant, StyleDefinitionState, StyleDefinitionID } from '@elementor/editor-styles';
6
6
  import * as react from 'react';
7
7
  import { FC, PropsWithChildren, Dispatch, ElementType as ElementType$1, ComponentType } from 'react';
8
8
  import { PopoverBody as PopoverBody$1 } from '@elementor/editor-ui';
9
+ import { Control, ElementControl, Element, ElementType, ControlLayout } from '@elementor/editor-elements';
9
10
  import * as _emotion_styled from '@emotion/styled';
10
11
  import * as _mui_system from '@mui/system';
11
12
  import { Theme, ChipProps } from '@elementor/ui';
12
- import { Element, ElementType, ControlLayout } from '@elementor/editor-elements';
13
13
  import { StylesProvider } from '@elementor/editor-styles-repository';
14
14
  import * as _elementor_editor_props from '@elementor/editor-props';
15
15
  import { PropTypeUtil } from '@elementor/editor-props';
@@ -50,6 +50,10 @@ type SectionContentProps = PropsWithChildren<{
50
50
  }>;
51
51
  declare const SectionContent: FC<SectionContentProps>;
52
52
 
53
+ declare const SettingsControl: ({ control: { value, type } }: {
54
+ control: Control | ElementControl;
55
+ }) => react.JSX.Element | null;
56
+
53
57
  declare const StyleIndicator: _emotion_styled.StyledComponent<_mui_system.MUIStyledCommonProps<Theme> & ({
54
58
  isOverridden?: boolean;
55
59
  getColor?: never;
@@ -1286,8 +1290,22 @@ declare const stylesInheritanceTransformersRegistry: {
1286
1290
  };
1287
1291
  };
1288
1292
 
1293
+ type FieldType = 'settings' | 'styles';
1294
+ type FieldIndicator = {
1295
+ id: string;
1296
+ indicator: AdornmentComponent;
1297
+ priority: number;
1298
+ };
1299
+ declare const FIELD_TYPE: {
1300
+ SETTINGS: "settings";
1301
+ STYLES: "styles";
1302
+ };
1303
+ declare const registerFieldIndicator: ({ fieldType, id, indicator, priority, }: FieldIndicator & {
1304
+ fieldType: FieldType;
1305
+ }) => void;
1306
+
1289
1307
  declare function doGetAppliedClasses(elementId: string, classesPropType?: string): string[];
1290
1308
  declare function doApplyClasses(elementId: string, classIds: StyleDefinitionID[], classesPropType?: string): void;
1291
1309
  declare function doUnapplyClass(elementId: string, classId: StyleDefinitionID, classesPropType?: string): boolean;
1292
1310
 
1293
- export { CustomCssIndicator, HISTORY_DEBOUNCE_WAIT, type PopoverActionProps, PopoverBody, SectionContent, StyleIndicator, StyleTabSection, StylesProviderCannotUpdatePropsError, type ValidationEvent, type ValidationResult, controlActionsMenu, controlsRegistry, doApplyClasses, doGetAppliedClasses, doUnapplyClass, getSubtitle, getTitle, init, injectIntoClassSelectorActions, injectIntoCssClassConvert, injectIntoStyleTab, registerControlReplacement, registerStyleProviderToColors, stylesInheritanceTransformersRegistry, useClassesProp, useCustomCss, useElement, useFontFamilies, usePanelActions, usePanelStatus, useSectionWidth, useStyle, useStylesRerender };
1311
+ export { CustomCssIndicator, FIELD_TYPE, HISTORY_DEBOUNCE_WAIT, type PopoverActionProps, PopoverBody, SectionContent, SettingsControl, StyleIndicator, StyleTabSection, StylesProviderCannotUpdatePropsError, type ValidationEvent, type ValidationResult, controlActionsMenu, controlsRegistry, doApplyClasses, doGetAppliedClasses, doUnapplyClass, getSubtitle, getTitle, init, injectIntoClassSelectorActions, injectIntoCssClassConvert, injectIntoStyleTab, registerControlReplacement, registerFieldIndicator, registerStyleProviderToColors, stylesInheritanceTransformersRegistry, useClassesProp, useCustomCss, useElement, useFontFamilies, usePanelActions, usePanelStatus, useSectionWidth, useStyle, useStylesRerender };
package/dist/index.d.ts CHANGED
@@ -1,15 +1,15 @@
1
1
  import * as _elementor_editor_controls from '@elementor/editor-controls';
2
- import { FontCategory, ControlComponent } from '@elementor/editor-controls';
2
+ import { FontCategory, ControlComponent, AdornmentComponent } from '@elementor/editor-controls';
3
3
  export { useBoundProp } from '@elementor/editor-controls';
4
4
  import * as _elementor_locations from '@elementor/locations';
5
5
  import { StyleDefinition, StyleDefinitionVariant, StyleDefinitionState, StyleDefinitionID } from '@elementor/editor-styles';
6
6
  import * as react from 'react';
7
7
  import { FC, PropsWithChildren, Dispatch, ElementType as ElementType$1, ComponentType } from 'react';
8
8
  import { PopoverBody as PopoverBody$1 } from '@elementor/editor-ui';
9
+ import { Control, ElementControl, Element, ElementType, ControlLayout } from '@elementor/editor-elements';
9
10
  import * as _emotion_styled from '@emotion/styled';
10
11
  import * as _mui_system from '@mui/system';
11
12
  import { Theme, ChipProps } from '@elementor/ui';
12
- import { Element, ElementType, ControlLayout } from '@elementor/editor-elements';
13
13
  import { StylesProvider } from '@elementor/editor-styles-repository';
14
14
  import * as _elementor_editor_props from '@elementor/editor-props';
15
15
  import { PropTypeUtil } from '@elementor/editor-props';
@@ -50,6 +50,10 @@ type SectionContentProps = PropsWithChildren<{
50
50
  }>;
51
51
  declare const SectionContent: FC<SectionContentProps>;
52
52
 
53
+ declare const SettingsControl: ({ control: { value, type } }: {
54
+ control: Control | ElementControl;
55
+ }) => react.JSX.Element | null;
56
+
53
57
  declare const StyleIndicator: _emotion_styled.StyledComponent<_mui_system.MUIStyledCommonProps<Theme> & ({
54
58
  isOverridden?: boolean;
55
59
  getColor?: never;
@@ -1286,8 +1290,22 @@ declare const stylesInheritanceTransformersRegistry: {
1286
1290
  };
1287
1291
  };
1288
1292
 
1293
+ type FieldType = 'settings' | 'styles';
1294
+ type FieldIndicator = {
1295
+ id: string;
1296
+ indicator: AdornmentComponent;
1297
+ priority: number;
1298
+ };
1299
+ declare const FIELD_TYPE: {
1300
+ SETTINGS: "settings";
1301
+ STYLES: "styles";
1302
+ };
1303
+ declare const registerFieldIndicator: ({ fieldType, id, indicator, priority, }: FieldIndicator & {
1304
+ fieldType: FieldType;
1305
+ }) => void;
1306
+
1289
1307
  declare function doGetAppliedClasses(elementId: string, classesPropType?: string): string[];
1290
1308
  declare function doApplyClasses(elementId: string, classIds: StyleDefinitionID[], classesPropType?: string): void;
1291
1309
  declare function doUnapplyClass(elementId: string, classId: StyleDefinitionID, classesPropType?: string): boolean;
1292
1310
 
1293
- export { CustomCssIndicator, HISTORY_DEBOUNCE_WAIT, type PopoverActionProps, PopoverBody, SectionContent, StyleIndicator, StyleTabSection, StylesProviderCannotUpdatePropsError, type ValidationEvent, type ValidationResult, controlActionsMenu, controlsRegistry, doApplyClasses, doGetAppliedClasses, doUnapplyClass, getSubtitle, getTitle, init, injectIntoClassSelectorActions, injectIntoCssClassConvert, injectIntoStyleTab, registerControlReplacement, registerStyleProviderToColors, stylesInheritanceTransformersRegistry, useClassesProp, useCustomCss, useElement, useFontFamilies, usePanelActions, usePanelStatus, useSectionWidth, useStyle, useStylesRerender };
1311
+ export { CustomCssIndicator, FIELD_TYPE, HISTORY_DEBOUNCE_WAIT, type PopoverActionProps, PopoverBody, SectionContent, SettingsControl, StyleIndicator, StyleTabSection, StylesProviderCannotUpdatePropsError, type ValidationEvent, type ValidationResult, controlActionsMenu, controlsRegistry, doApplyClasses, doGetAppliedClasses, doUnapplyClass, getSubtitle, getTitle, init, injectIntoClassSelectorActions, injectIntoCssClassConvert, injectIntoStyleTab, registerControlReplacement, registerFieldIndicator, registerStyleProviderToColors, stylesInheritanceTransformersRegistry, useClassesProp, useCustomCss, useElement, useFontFamilies, usePanelActions, usePanelStatus, useSectionWidth, useStyle, useStylesRerender };