@warp-ds/elements 1.3.2 → 1.3.3-next.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.
@@ -2078,9 +2078,7 @@ var WarpAlert = class extends WarpElement {
2078
2078
  connectedCallback() {
2079
2079
  super.connectedCallback();
2080
2080
  if (!this.variant || !variants[this.variant]) {
2081
- throw new Error(
2082
- 'Invalid "variant" attribute. Set its value to one of the following:\nnegative, positive, warning, info.'
2083
- );
2081
+ throw new Error('Invalid "variant" attribute. Set its value to one of the following:\nnegative, positive, warning, info.');
2084
2082
  }
2085
2083
  }
2086
2084
  get _wrapperClasses() {
@@ -2097,15 +2095,18 @@ var WarpAlert = class extends WarpElement {
2097
2095
  });
2098
2096
  }
2099
2097
  get _icon() {
2100
- if (this.variant === variants.info)
2098
+ if (this.variant === variants.info) {
2101
2099
  return html5`<w-icon-info-16></w-icon-info-16>`;
2102
- if (this.variant === variants.warning)
2100
+ }
2101
+ if (this.variant === variants.warning) {
2103
2102
  return html5`<w-icon-warning-16></w-icon-warning-16>`;
2104
- if (this.variant === variants.negative)
2103
+ }
2104
+ if (this.variant === variants.negative) {
2105
2105
  return html5`<w-icon-error-16></w-icon-error-16>`;
2106
- if (this.variant === variants.positive)
2106
+ }
2107
+ if (this.variant === variants.positive) {
2107
2108
  return html5`<w-icon-success-16></w-icon-success-16>`;
2108
- else
2109
+ } else
2109
2110
  return "";
2110
2111
  }
2111
2112
  render() {