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

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
  };
@@ -5180,7 +5183,6 @@ var findByValue = (value) => {
5180
5183
  var TransitionSelector = ({ recentlyUsedList = [] }) => {
5181
5184
  const { value, setValue } = useBoundProp(import_editor_props44.keyValuePropTypeUtil);
5182
5185
  const {
5183
- value: { value: transitionValue },
5184
5186
  key: { value: transitionLabel }
5185
5187
  } = value;
5186
5188
  const defaultRef = (0, import_react45.useRef)(null);
@@ -5248,7 +5250,7 @@ var TransitionSelector = ({ recentlyUsedList = [] }) => {
5248
5250
  ItemSelector,
5249
5251
  {
5250
5252
  itemsList: getItemList(),
5251
- selectedItem: transitionValue,
5253
+ selectedItem: transitionLabel,
5252
5254
  onItemChange: handleTransitionPropertyChange,
5253
5255
  onClose: popoverState.close,
5254
5256
  sectionWidth: 268,