@digital-realty/ix-button
Advanced tools
Comparing version 3.2.29 to 3.2.30
@@ -53,3 +53,3 @@ import { LitElement } from 'lit'; | ||
hasIcon: boolean; | ||
appearance: 'elevated' | 'filled' | 'filled-tonal' | 'outlined' | 'text'; | ||
appearance: 'elevated' | 'filled' | 'filled-tonal' | 'outlined' | 'text' | 'anchor'; | ||
constructor(); | ||
@@ -56,0 +56,0 @@ private readonly handleActivationClick; |
@@ -96,2 +96,9 @@ var _a; | ||
var _b; | ||
if (this.appearance === 'anchor') { | ||
return html `<a | ||
target=${ifDefined(this.target)} | ||
href=${ifDefined(this.href)} | ||
>${this.value ? this.value : nothing}<slot></slot | ||
></a>`; | ||
} | ||
const tag = ((_b = this.tags) === null || _b === void 0 ? void 0 : _b[this.appearance]) || this.tags.outlined; | ||
@@ -98,0 +105,0 @@ return staticHtml `<${tag} |
@@ -6,3 +6,3 @@ { | ||
"author": "Digital Realty", | ||
"version": "3.2.29", | ||
"version": "3.2.30", | ||
"type": "module", | ||
@@ -106,3 +106,3 @@ "main": "dist/index.js", | ||
], | ||
"gitHead": "dced04ebef5c8342344b1fd3df33b5e22a78725f" | ||
"gitHead": "e21beb0a9ade15ab27c4896bf4dc2ba54ff7ceb7" | ||
} |
Sorry, the diff of this file is not supported yet
22845
247