nve-designsystem 0.1.48 → 0.1.49

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.
@@ -729,14 +729,14 @@ let p = class extends v {
729
729
  }
730
730
  showErrorIcon() {
731
731
  const t = this, o = document.createElement("nve-icon");
732
- o.setAttribute("name", "error"), o.setAttribute("slot", "suffix");
732
+ o.setAttribute("id", "error-icon"), o.setAttribute("name", "error"), o.setAttribute("slot", "suffix");
733
733
  const s = getComputedStyle(document.documentElement).getPropertyValue(
734
734
  "--feedback-background-emphasized-error"
735
735
  );
736
736
  o.style.color = s.trim(), t.appendChild(o);
737
737
  }
738
738
  hideErrorIcon() {
739
- const o = this.querySelector('[slot="suffix"]');
739
+ const o = this.querySelector("#error-icon");
740
740
  o && o.remove();
741
741
  }
742
742
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nve-designsystem",
3
- "version": "0.1.48",
3
+ "version": "0.1.49",
4
4
  "exports": {
5
5
  ".": {
6
6
  "import": "./nve-designsystem.js",