@elementor/editor-controls 3.32.0-89 → 3.32.0-91
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 +3 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.js +260 -224
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +261 -225
- package/dist/index.mjs.map +1 -1
- package/package.json +14 -14
- package/src/components/control-label.tsx +5 -3
- package/src/components/size-control/size-input.tsx +3 -0
- package/src/components/size-control/text-field-inner-selection.tsx +3 -0
- package/src/components/sortable.tsx +11 -3
- package/src/components/unstable-repeater/actions/tooltip-add-item-action.tsx +5 -2
- package/src/controls/filter-control/filter-repeater-control.tsx +11 -3
- package/src/controls/repeatable-control.tsx +5 -1
- package/src/controls/size-control.tsx +3 -0
- package/src/controls/transform-control/functions/axis-row.tsx +3 -1
- package/src/controls/transform-control/transform-repeater-control.tsx +1 -0
package/dist/index.d.mts
CHANGED
|
@@ -51,6 +51,7 @@ type BaseSizeControlProps = {
|
|
|
51
51
|
anchorRef?: RefObject<HTMLDivElement | null>;
|
|
52
52
|
min?: number;
|
|
53
53
|
enablePropTypeUnits?: boolean;
|
|
54
|
+
id?: string;
|
|
54
55
|
};
|
|
55
56
|
type LengthSizeControlProps = BaseSizeControlProps & UnitProps<LengthUnit[]> & {
|
|
56
57
|
variant: 'length';
|
|
@@ -62,7 +63,7 @@ type TimeSizeControlProps = BaseSizeControlProps & UnitProps<TimeUnit[]> & {
|
|
|
62
63
|
variant: 'time';
|
|
63
64
|
};
|
|
64
65
|
type SizeControlProps = LengthSizeControlProps | AngleSizeControlProps | TimeSizeControlProps;
|
|
65
|
-
declare const SizeControl: ControlComponent<({ variant, defaultUnit, units, placeholder, startIcon, anchorRef, extendedOptions, disableCustom, min, enablePropTypeUnits, }: Omit<SizeControlProps, "variant"> & {
|
|
66
|
+
declare const SizeControl: ControlComponent<({ variant, defaultUnit, units, placeholder, startIcon, anchorRef, extendedOptions, disableCustom, min, enablePropTypeUnits, id, }: Omit<SizeControlProps, "variant"> & {
|
|
66
67
|
variant?: SizeVariant;
|
|
67
68
|
}) => React$1.JSX.Element>;
|
|
68
69
|
|
|
@@ -240,6 +241,7 @@ type TooltipAddItemActionProps = {
|
|
|
240
241
|
enableTooltip?: boolean;
|
|
241
242
|
tooltipContent?: React$1.ReactNode;
|
|
242
243
|
newItemIndex?: number;
|
|
244
|
+
ariaLabel?: string;
|
|
243
245
|
};
|
|
244
246
|
|
|
245
247
|
type ChildControlConfig = {
|
package/dist/index.d.ts
CHANGED
|
@@ -51,6 +51,7 @@ type BaseSizeControlProps = {
|
|
|
51
51
|
anchorRef?: RefObject<HTMLDivElement | null>;
|
|
52
52
|
min?: number;
|
|
53
53
|
enablePropTypeUnits?: boolean;
|
|
54
|
+
id?: string;
|
|
54
55
|
};
|
|
55
56
|
type LengthSizeControlProps = BaseSizeControlProps & UnitProps<LengthUnit[]> & {
|
|
56
57
|
variant: 'length';
|
|
@@ -62,7 +63,7 @@ type TimeSizeControlProps = BaseSizeControlProps & UnitProps<TimeUnit[]> & {
|
|
|
62
63
|
variant: 'time';
|
|
63
64
|
};
|
|
64
65
|
type SizeControlProps = LengthSizeControlProps | AngleSizeControlProps | TimeSizeControlProps;
|
|
65
|
-
declare const SizeControl: ControlComponent<({ variant, defaultUnit, units, placeholder, startIcon, anchorRef, extendedOptions, disableCustom, min, enablePropTypeUnits, }: Omit<SizeControlProps, "variant"> & {
|
|
66
|
+
declare const SizeControl: ControlComponent<({ variant, defaultUnit, units, placeholder, startIcon, anchorRef, extendedOptions, disableCustom, min, enablePropTypeUnits, id, }: Omit<SizeControlProps, "variant"> & {
|
|
66
67
|
variant?: SizeVariant;
|
|
67
68
|
}) => React$1.JSX.Element>;
|
|
68
69
|
|
|
@@ -240,6 +241,7 @@ type TooltipAddItemActionProps = {
|
|
|
240
241
|
enableTooltip?: boolean;
|
|
241
242
|
tooltipContent?: React$1.ReactNode;
|
|
242
243
|
newItemIndex?: number;
|
|
244
|
+
ariaLabel?: string;
|
|
243
245
|
};
|
|
244
246
|
|
|
245
247
|
type ChildControlConfig = {
|