@digital-realty/ix-icon-button
Advanced tools
Comparing version 1.0.22 to 1.0.23
@@ -51,4 +51,5 @@ import { LitElement } from 'lit'; | ||
label: string | undefined; | ||
filledIcon: boolean; | ||
render(): import("lit").TemplateResult<1 | 2>; | ||
} | ||
export {}; |
@@ -52,2 +52,3 @@ import { __decorate } from "tslib"; | ||
this.label = undefined; | ||
this.filledIcon = false; | ||
} | ||
@@ -80,7 +81,9 @@ render() { | ||
>${this.icon | ||
? html `<ix-icon>${this.icon}</ix-icon>` | ||
? html `<ix-icon ?filled=${this.filledIcon}>${this.icon}</ix-icon>` | ||
: html `<slot name="default"></slot | ||
><slot name="selected" slot="selected"></slot>`} | ||
${this.selectedIcon | ||
? html `<ix-icon slot="selected">${this.selectedIcon}</ix-icon>` | ||
? html `<ix-icon ?filled=${this.filledIcon} slot="selected" | ||
>${this.selectedIcon}</ix-icon | ||
>` | ||
: nothing} | ||
@@ -135,2 +138,5 @@ </${tag}>`; | ||
], IxIconButton.prototype, "label", void 0); | ||
__decorate([ | ||
property({ type: Boolean }) | ||
], IxIconButton.prototype, "filledIcon", void 0); | ||
//# sourceMappingURL=IxIconButton.js.map |
@@ -6,3 +6,3 @@ { | ||
"author": "Digital Realty", | ||
"version": "1.0.22", | ||
"version": "1.0.23", | ||
"type": "module", | ||
@@ -103,3 +103,3 @@ "main": "dist/index.js", | ||
], | ||
"gitHead": "5ff9e3f504660342e986801e86861d35b47930da" | ||
"gitHead": "da586fb3d29c5d12fc0e3cd279cc0feb3adcb879" | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
20127
208