@getflip/swirl-components 0.167.2 → 0.167.3

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/components.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "timestamp": "2024-03-07T10:22:22",
2
+ "timestamp": "2024-03-07T15:22:16",
3
3
  "compiler": {
4
4
  "name": "@stencil/core",
5
5
  "version": "3.3.1",
@@ -103,7 +103,7 @@ const SwirlAvatar = class {
103
103
  const showIcon = !showImage && !showInitials && Boolean(this.icon);
104
104
  const showFallbackIcon = !showImage && !showInitials && !showIcon;
105
105
  const showBadge = Boolean(this.badge) && this.size === "m";
106
- const role = this.interactive ? "button" : "img";
106
+ const role = this.interactive ? "button" : undefined;
107
107
  const className = index$1.classnames("avatar", `avatar--color-${this.color}`, `avatar--size-${this.size}`, `avatar--variant-${this.variant}`, {
108
108
  "avatar--has-icon": showIcon || showFallbackIcon,
109
109
  "avatar--has-initials": showInitials,