@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 +1 -1
- package/dist/cjs/swirl-avatar.cjs.entry.js +1 -1
- package/dist/collection/assets/pdfjs/pdf.worker.min.js +1 -1
- package/dist/collection/components/swirl-avatar/swirl-avatar.js +1 -1
- package/dist/collection/components/swirl-avatar/swirl-avatar.spec.js +6 -6
- package/dist/components/assets/pdfjs/pdf.worker.min.js +1 -1
- package/dist/components/swirl-avatar.js +1 -1
- package/dist/esm/swirl-avatar.entry.js +1 -1
- package/dist/swirl-components/p-345c4495.entry.js +1 -0
- package/dist/swirl-components/swirl-components.esm.js +1 -1
- package/package.json +1 -1
- package/dist/swirl-components/p-21c1a36c.entry.js +0 -1
package/components.json
CHANGED
|
@@ -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" :
|
|
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,
|