blip-ds 1.157.0 → 1.157.1

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.
@@ -615,6 +615,10 @@ const Icon = class {
615
615
  * Specifies the type of icon. If type is set to emoji, it will be able to set only emoji names on the name property.
616
616
  */
617
617
  this.type = 'icon';
618
+ /**
619
+ * Data test is the prop to specifically test the component action object.
620
+ */
621
+ this.dataTest = null;
618
622
  this.setSvgContent = () => {
619
623
  let svg;
620
624
  try {
@@ -693,7 +697,7 @@ const Icon = class {
693
697
  'icon-inner': this.type === 'icon',
694
698
  'emoji-inner': this.type === 'emoji',
695
699
  'logo-inner': this.type === 'logo',
696
- }, innerHTML: this.svgContent })) : (h("div", { class: "icon-inner" }))));
700
+ }, innerHTML: this.svgContent, "data-test": this.dataTest })) : (h("div", { class: "icon-inner", "data-test": this.dataTest }))));
697
701
  }
698
702
  static get assetsDirs() { return ["svg"]; }
699
703
  get el() { return getElement(this); }