@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 +7 -6
- package/dist/index.d.ts +7 -6
- package/dist/index.js +485 -499
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +417 -431
- package/dist/index.mjs.map +1 -1
- package/package.json +14 -14
- package/src/components/unstable-repeater/actions/tooltip-add-item-action.tsx +1 -1
- package/src/components/unstable-repeater/header/header.tsx +12 -19
- package/src/controls/gap-control.tsx +2 -3
- package/src/controls/linked-dimensions-control.tsx +106 -109
- package/src/controls/transform-control/transform-base-control.tsx +38 -34
- package/src/controls/transform-control/transform-base-controls/children-perspective-control.tsx +58 -48
- package/src/controls/transform-control/transform-base-controls/transform-origin-control.tsx +26 -34
- package/src/controls/transform-control/transform-repeater-control.tsx +38 -6
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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
|
|