@elementor/editor-editing-panel 4.0.0-500 → 4.0.0-501
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 +1 -7
- package/dist/index.d.ts +1 -7
- package/dist/index.js +204 -225
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +138 -157
- package/dist/index.mjs.map +1 -1
- package/package.json +20 -20
- package/src/components/section.tsx +1 -2
- package/src/components/style-sections/typography-section/font-family-field.tsx +1 -1
- package/src/dynamics/components/dynamic-selection-control.tsx +5 -6
- package/src/dynamics/components/dynamic-selection.tsx +3 -4
- package/src/index.ts +0 -2
- package/src/styles-inheritance/components/styles-inheritance-infotip.tsx +1 -2
- package/src/components/popover-body.tsx +0 -12
- package/src/contexts/section-context.tsx +0 -14
package/dist/index.d.mts
CHANGED
|
@@ -5,7 +5,6 @@ import * as _elementor_locations from '@elementor/locations';
|
|
|
5
5
|
import { StyleDefinition, StyleDefinitionVariant, StyleDefinitionState, StyleDefinitionID } from '@elementor/editor-styles';
|
|
6
6
|
import * as React$1 from 'react';
|
|
7
7
|
import { FC, PropsWithChildren, ReactNode, Dispatch, ElementType as ElementType$1, ComponentType, ComponentProps } from 'react';
|
|
8
|
-
import { PopoverBody as PopoverBody$1 } from '@elementor/editor-ui';
|
|
9
8
|
import { Control as Control$1, ElementControl, Element, ElementType, ControlLayout } from '@elementor/editor-elements';
|
|
10
9
|
import * as _elementor_editor_props from '@elementor/editor-props';
|
|
11
10
|
import { PropKey, PropTypeUtil, PropsSchema, ObjectPropType } from '@elementor/editor-props';
|
|
@@ -40,9 +39,6 @@ declare const CustomCssIndicator: () => React$1.JSX.Element | null;
|
|
|
40
39
|
|
|
41
40
|
declare const injectIntoPanelHeaderTop: (args: _elementor_locations.InjectArgs<object>) => void;
|
|
42
41
|
|
|
43
|
-
type Props$2 = React$1.ComponentProps<typeof PopoverBody$1>;
|
|
44
|
-
declare const PopoverBody: (props: Props$2) => React$1.JSX.Element;
|
|
45
|
-
|
|
46
42
|
type SectionContentProps = PropsWithChildren<{
|
|
47
43
|
gap?: number;
|
|
48
44
|
sx?: {
|
|
@@ -101,8 +97,6 @@ type Props = PropsWithChildren<ContextValue$1>;
|
|
|
101
97
|
declare function ElementProvider({ children, element, elementType }: Props): React$1.JSX.Element;
|
|
102
98
|
declare function useElement(): ContextValue$1;
|
|
103
99
|
|
|
104
|
-
declare const useSectionWidth: () => number;
|
|
105
|
-
|
|
106
100
|
type ContextValue = {
|
|
107
101
|
setId: Dispatch<StyleDefinition['id'] | null>;
|
|
108
102
|
meta: StyleDefinitionVariant['meta'];
|
|
@@ -1373,4 +1367,4 @@ type LicenseConfig = {
|
|
|
1373
1367
|
};
|
|
1374
1368
|
declare function setLicenseConfig(newConfig: Partial<LicenseConfig>): void;
|
|
1375
1369
|
|
|
1376
|
-
export { Control as BaseControl, type ControlType, CustomCssIndicator, ElementProvider, FIELD_TYPE, HISTORY_DEBOUNCE_WAIT, type PopoverActionProps,
|
|
1370
|
+
export { Control as BaseControl, type ControlType, CustomCssIndicator, ElementProvider, FIELD_TYPE, HISTORY_DEBOUNCE_WAIT, type PopoverActionProps, SectionContent, SettingsControl, SettingsField, StyleIndicator, StyleTabSection, StylesProviderCannotUpdatePropsError, type ValidationEvent, type ValidationResult, controlActionsMenu, controlsRegistry, createTopLevelObjectType, doApplyClasses, doGetAppliedClasses, doUnapplyClass, getControlReplacements, getFieldIndicators, getSubtitle, getTitle, init, injectIntoClassSelectorActions, injectIntoCssClassConvert, injectIntoPanelHeaderTop, injectIntoStyleTab, registerControlReplacement, registerEditingPanelReplacement, registerFieldIndicator, registerStyleProviderToColors, setLicenseConfig, stylesInheritanceTransformersRegistry, useClassesProp, useCustomCss, useElement, useFontFamilies, usePanelActions, usePanelStatus, useStateByElement, useStyle, useStylesRerender };
|
package/dist/index.d.ts
CHANGED
|
@@ -5,7 +5,6 @@ import * as _elementor_locations from '@elementor/locations';
|
|
|
5
5
|
import { StyleDefinition, StyleDefinitionVariant, StyleDefinitionState, StyleDefinitionID } from '@elementor/editor-styles';
|
|
6
6
|
import * as React$1 from 'react';
|
|
7
7
|
import { FC, PropsWithChildren, ReactNode, Dispatch, ElementType as ElementType$1, ComponentType, ComponentProps } from 'react';
|
|
8
|
-
import { PopoverBody as PopoverBody$1 } from '@elementor/editor-ui';
|
|
9
8
|
import { Control as Control$1, ElementControl, Element, ElementType, ControlLayout } from '@elementor/editor-elements';
|
|
10
9
|
import * as _elementor_editor_props from '@elementor/editor-props';
|
|
11
10
|
import { PropKey, PropTypeUtil, PropsSchema, ObjectPropType } from '@elementor/editor-props';
|
|
@@ -40,9 +39,6 @@ declare const CustomCssIndicator: () => React$1.JSX.Element | null;
|
|
|
40
39
|
|
|
41
40
|
declare const injectIntoPanelHeaderTop: (args: _elementor_locations.InjectArgs<object>) => void;
|
|
42
41
|
|
|
43
|
-
type Props$2 = React$1.ComponentProps<typeof PopoverBody$1>;
|
|
44
|
-
declare const PopoverBody: (props: Props$2) => React$1.JSX.Element;
|
|
45
|
-
|
|
46
42
|
type SectionContentProps = PropsWithChildren<{
|
|
47
43
|
gap?: number;
|
|
48
44
|
sx?: {
|
|
@@ -101,8 +97,6 @@ type Props = PropsWithChildren<ContextValue$1>;
|
|
|
101
97
|
declare function ElementProvider({ children, element, elementType }: Props): React$1.JSX.Element;
|
|
102
98
|
declare function useElement(): ContextValue$1;
|
|
103
99
|
|
|
104
|
-
declare const useSectionWidth: () => number;
|
|
105
|
-
|
|
106
100
|
type ContextValue = {
|
|
107
101
|
setId: Dispatch<StyleDefinition['id'] | null>;
|
|
108
102
|
meta: StyleDefinitionVariant['meta'];
|
|
@@ -1373,4 +1367,4 @@ type LicenseConfig = {
|
|
|
1373
1367
|
};
|
|
1374
1368
|
declare function setLicenseConfig(newConfig: Partial<LicenseConfig>): void;
|
|
1375
1369
|
|
|
1376
|
-
export { Control as BaseControl, type ControlType, CustomCssIndicator, ElementProvider, FIELD_TYPE, HISTORY_DEBOUNCE_WAIT, type PopoverActionProps,
|
|
1370
|
+
export { Control as BaseControl, type ControlType, CustomCssIndicator, ElementProvider, FIELD_TYPE, HISTORY_DEBOUNCE_WAIT, type PopoverActionProps, SectionContent, SettingsControl, SettingsField, StyleIndicator, StyleTabSection, StylesProviderCannotUpdatePropsError, type ValidationEvent, type ValidationResult, controlActionsMenu, controlsRegistry, createTopLevelObjectType, doApplyClasses, doGetAppliedClasses, doUnapplyClass, getControlReplacements, getFieldIndicators, getSubtitle, getTitle, init, injectIntoClassSelectorActions, injectIntoCssClassConvert, injectIntoPanelHeaderTop, injectIntoStyleTab, registerControlReplacement, registerEditingPanelReplacement, registerFieldIndicator, registerStyleProviderToColors, setLicenseConfig, stylesInheritanceTransformersRegistry, useClassesProp, useCustomCss, useElement, useFontFamilies, usePanelActions, usePanelStatus, useStateByElement, useStyle, useStylesRerender };
|