@elementor/editor-controls 3.35.0-395 → 3.35.0-397

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
@@ -4088,7 +4088,7 @@ var BackgroundGradientColorControl = createControl(() => {
4088
4088
  const { type, angle, stops, positions } = value;
4089
4089
  return {
4090
4090
  type: type.value,
4091
- angle: angle.value,
4091
+ angle: angle?.value || 0,
4092
4092
  stops: stops.value.map(({ value: { color, offset } }) => ({
4093
4093
  color: color.value,
4094
4094
  offset: offset.value