@elementor/editor-controls 3.32.0-82 → 3.32.0-83

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.js CHANGED
@@ -2204,7 +2204,10 @@ var NumberControl = createControl(
2204
2204
  updatedValue = null;
2205
2205
  } else {
2206
2206
  const formattedValue = shouldForceInt ? +parseInt(eventValue) : Number(eventValue);
2207
- updatedValue = Math.min(Math.max(formattedValue, min), max);
2207
+ updatedValue = Math.min(
2208
+ Math.max(formattedValue, min ?? Number.MIN_SAFE_INTEGER),
2209
+ max ?? Number.MAX_SAFE_INTEGER
2210
+ );
2208
2211
  }
2209
2212
  setValue(updatedValue, void 0, { validation: () => isInputValid });
2210
2213
  };