@3mo/button
Advanced tools
Comparing version 0.1.2 to 0.1.3
@@ -34,2 +34,3 @@ import { Component } from '@a11d/lit'; | ||
protected get template(): import("lit-html").TemplateResult<1>; | ||
protected get isDisabled(): boolean; | ||
protected get contentTemplate(): import("lit-html").TemplateResult<1>; | ||
@@ -36,0 +37,0 @@ protected get leadingSlotTemplate(): import("lit-html").TemplateResult<1>; |
@@ -74,3 +74,3 @@ import { __decorate } from "tslib"; | ||
?unelevated=${this.type === "unelevated" /* ButtonType.Unelevated */} | ||
?disabled=${this.disabled} | ||
?disabled=${this.isDisabled} | ||
> | ||
@@ -81,2 +81,5 @@ ${this.contentTemplate} | ||
} | ||
get isDisabled() { | ||
return this.disabled; | ||
} | ||
get contentTemplate() { | ||
@@ -83,0 +86,0 @@ return html ` |
@@ -34,2 +34,3 @@ import { Component } from '@a11d/lit'; | ||
protected get template(): import("lit-html").TemplateResult<1>; | ||
protected get isDisabled(): boolean; | ||
protected get contentTemplate(): import("lit-html").TemplateResult<1>; | ||
@@ -36,0 +37,0 @@ protected get leadingSlotTemplate(): import("lit-html").TemplateResult<1>; |
{ | ||
"name": "@3mo/button", | ||
"version": "0.1.2", | ||
"version": "0.1.3", | ||
"description": "A button web-component based on Material Web Components (MWC).", | ||
@@ -5,0 +5,0 @@ "repository": { |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
155237
415