@elementor/editor-controls 4.4.0-1099 → 4.4.0-1101

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
@@ -197,11 +197,11 @@ type ToggleControlProps<T extends PropValue> = {
197
197
  };
198
198
  declare const ToggleControl: ControlComponent$1<({ options, fullWidth, size, exclusive, maxItems, convertOptions, allowEmpty, }: ToggleControlProps<StringPropValue["value"]>) => React$1.JSX.Element>;
199
199
 
200
- declare const NumberControl: ControlComponent$1<({ placeholder: labelPlaceholder, max, min, step, shouldForceInt, startIcon, disabled: inputDisabled, }: {
200
+ declare const NumberControl: ControlComponent$1<({ placeholder: labelPlaceholder, max: maxProp, min: minProp, step: stepProp, shouldForceInt, startIcon, disabled: inputDisabled, }: {
201
201
  placeholder?: string;
202
- max?: number;
203
- min?: number;
204
- step?: number;
202
+ max?: number | null;
203
+ min?: number | null;
204
+ step?: number | null;
205
205
  shouldForceInt?: boolean;
206
206
  startIcon?: React$1.ReactNode;
207
207
  disabled?: boolean;
package/dist/index.d.ts CHANGED
@@ -197,11 +197,11 @@ type ToggleControlProps<T extends PropValue> = {
197
197
  };
198
198
  declare const ToggleControl: ControlComponent$1<({ options, fullWidth, size, exclusive, maxItems, convertOptions, allowEmpty, }: ToggleControlProps<StringPropValue["value"]>) => React$1.JSX.Element>;
199
199
 
200
- declare const NumberControl: ControlComponent$1<({ placeholder: labelPlaceholder, max, min, step, shouldForceInt, startIcon, disabled: inputDisabled, }: {
200
+ declare const NumberControl: ControlComponent$1<({ placeholder: labelPlaceholder, max: maxProp, min: minProp, step: stepProp, shouldForceInt, startIcon, disabled: inputDisabled, }: {
201
201
  placeholder?: string;
202
- max?: number;
203
- min?: number;
204
- step?: number;
202
+ max?: number | null;
203
+ min?: number | null;
204
+ step?: number | null;
205
205
  shouldForceInt?: boolean;
206
206
  startIcon?: React$1.ReactNode;
207
207
  disabled?: boolean;