@wizishop/angular-components 15.1.129 → 15.1.131

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.
@@ -6608,6 +6608,14 @@ class ColorPickerComponent {
6608
6608
  this.colorChange.emit(this.value);
6609
6609
  }
6610
6610
  changeColor(color) {
6611
+ // Check if it's an rgba color
6612
+ if (color.startsWith('rgba')) {
6613
+ this.value = color;
6614
+ this.onChange(this.value);
6615
+ this.colorChange.emit(this.value);
6616
+ return;
6617
+ }
6618
+ // Handle hex colors
6611
6619
  color = color.replace(/[^a-fA-F0-9]/g, '');
6612
6620
  // Add '#' if not present
6613
6621
  if (!color.startsWith('#')) {