@elementor/editor-controls 3.32.0-81 → 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.mjs CHANGED
@@ -2156,7 +2156,10 @@ var NumberControl = createControl(
2156
2156
  updatedValue = null;
2157
2157
  } else {
2158
2158
  const formattedValue = shouldForceInt ? +parseInt(eventValue) : Number(eventValue);
2159
- updatedValue = Math.min(Math.max(formattedValue, min), max);
2159
+ updatedValue = Math.min(
2160
+ Math.max(formattedValue, min ?? Number.MIN_SAFE_INTEGER),
2161
+ max ?? Number.MAX_SAFE_INTEGER
2162
+ );
2160
2163
  }
2161
2164
  setValue(updatedValue, void 0, { validation: () => isInputValid });
2162
2165
  };