@elementor/editor-controls 3.32.0-73 → 3.32.0-75

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,6 +1,6 @@
1
1
  import * as React$1 from 'react';
2
2
  import { RefObject, ReactNode, FC, PropsWithChildren, ComponentType } from 'react';
3
- import { SxProps, UnstableColorFieldProps, ToggleButtonProps, StackProps, FormLabelProps } from '@elementor/ui';
3
+ import { SxProps, UnstableColorFieldProps, ToggleButtonProps, StackProps, PopupState, FormLabelProps } from '@elementor/ui';
4
4
  import { StringPropValue, PropTypeUtil, PropValue, PropKey, SizePropValue, PropType, CreateOptions } from '@elementor/editor-props';
5
5
  import { StyleDefinitionState } from '@elementor/editor-styles';
6
6
  import * as _elementor_locations from '@elementor/locations';
@@ -156,12 +156,12 @@ type Props$2<TMultiPropType extends string, TPropValue extends MultiSizePropValu
156
156
  };
157
157
  declare function EqualUnequalSizesControl<TMultiPropType extends string, TPropValue extends MultiSizePropValue>({ label, icon, tooltipLabel, items, multiSizePropTypeUtil, }: Props$2<TMultiPropType, TPropValue>): React$1.JSX.Element;
158
158
 
159
- declare const LinkedDimensionsControl: ControlComponent<({ label, isSiteRtl, extendedOptions, min, }: {
159
+ declare const LinkedDimensionsControl: ({ label, isSiteRtl, extendedOptions, min, }: {
160
160
  label: string;
161
161
  isSiteRtl?: boolean;
162
162
  extendedOptions?: ExtendedOption[];
163
163
  min?: number;
164
- }) => React$1.JSX.Element>;
164
+ }) => React$1.JSX.Element;
165
165
 
166
166
  type FontCategory = {
167
167
  label: string;
@@ -219,9 +219,9 @@ type Props$1 = ControlProps<{
219
219
  }>;
220
220
  declare const LinkControl: ControlComponent<(props: Props$1) => React$1.JSX.Element>;
221
221
 
222
- declare const GapControl: ControlComponent<({ label }: {
222
+ declare const GapControl: ({ label }: {
223
223
  label: string;
224
- }) => React$1.JSX.Element>;
224
+ }) => React$1.JSX.Element;
225
225
 
226
226
  declare const AspectRatioControl: ControlComponent<({ label }: {
227
227
  label: string;
@@ -278,7 +278,8 @@ declare const PositionControl: () => React$1.JSX.Element;
278
278
 
279
279
  declare const TransformRepeaterControl: ControlComponent<() => React$1.JSX.Element>;
280
280
 
281
- declare const TransformBaseControl: ({ anchorRef }: {
281
+ declare const TransformBaseControl: ({ popupState, anchorRef, }: {
282
+ popupState: PopupState;
282
283
  anchorRef: React$1.RefObject<HTMLDivElement | null>;
283
284
  }) => React$1.JSX.Element;
284
285
 
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as React$1 from 'react';
2
2
  import { RefObject, ReactNode, FC, PropsWithChildren, ComponentType } from 'react';
3
- import { SxProps, UnstableColorFieldProps, ToggleButtonProps, StackProps, FormLabelProps } from '@elementor/ui';
3
+ import { SxProps, UnstableColorFieldProps, ToggleButtonProps, StackProps, PopupState, FormLabelProps } from '@elementor/ui';
4
4
  import { StringPropValue, PropTypeUtil, PropValue, PropKey, SizePropValue, PropType, CreateOptions } from '@elementor/editor-props';
5
5
  import { StyleDefinitionState } from '@elementor/editor-styles';
6
6
  import * as _elementor_locations from '@elementor/locations';
@@ -156,12 +156,12 @@ type Props$2<TMultiPropType extends string, TPropValue extends MultiSizePropValu
156
156
  };
157
157
  declare function EqualUnequalSizesControl<TMultiPropType extends string, TPropValue extends MultiSizePropValue>({ label, icon, tooltipLabel, items, multiSizePropTypeUtil, }: Props$2<TMultiPropType, TPropValue>): React$1.JSX.Element;
158
158
 
159
- declare const LinkedDimensionsControl: ControlComponent<({ label, isSiteRtl, extendedOptions, min, }: {
159
+ declare const LinkedDimensionsControl: ({ label, isSiteRtl, extendedOptions, min, }: {
160
160
  label: string;
161
161
  isSiteRtl?: boolean;
162
162
  extendedOptions?: ExtendedOption[];
163
163
  min?: number;
164
- }) => React$1.JSX.Element>;
164
+ }) => React$1.JSX.Element;
165
165
 
166
166
  type FontCategory = {
167
167
  label: string;
@@ -219,9 +219,9 @@ type Props$1 = ControlProps<{
219
219
  }>;
220
220
  declare const LinkControl: ControlComponent<(props: Props$1) => React$1.JSX.Element>;
221
221
 
222
- declare const GapControl: ControlComponent<({ label }: {
222
+ declare const GapControl: ({ label }: {
223
223
  label: string;
224
- }) => React$1.JSX.Element>;
224
+ }) => React$1.JSX.Element;
225
225
 
226
226
  declare const AspectRatioControl: ControlComponent<({ label }: {
227
227
  label: string;
@@ -278,7 +278,8 @@ declare const PositionControl: () => React$1.JSX.Element;
278
278
 
279
279
  declare const TransformRepeaterControl: ControlComponent<() => React$1.JSX.Element>;
280
280
 
281
- declare const TransformBaseControl: ({ anchorRef }: {
281
+ declare const TransformBaseControl: ({ popupState, anchorRef, }: {
282
+ popupState: PopupState;
282
283
  anchorRef: React$1.RefObject<HTMLDivElement | null>;
283
284
  }) => React$1.JSX.Element;
284
285