@elementor/editor-editing-panel 4.4.0-1142 → 4.4.0-1144

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
@@ -8251,6 +8251,9 @@ var ItemLabelGradient = ({ value }) => {
8251
8251
  var getGradientValue = (gradient) => {
8252
8252
  const stops = gradient.stops?.map(({ color, offset }) => `${color} ${offset ?? 0}%`)?.join(",");
8253
8253
  if (gradient.type === "linear") {
8254
+ if (gradient.angle === null || gradient.angle === void 0) {
8255
+ return `linear-gradient(${stops})`;
8256
+ }
8254
8257
  return `linear-gradient(${gradient.angle}deg, ${stops})`;
8255
8258
  }
8256
8259
  return `radial-gradient(circle at ${gradient.positions}, ${stops})`;