From 8e53019cf2a4dc5cebd81285899cdf3124ffd92c Mon Sep 17 00:00:00 2001 From: Ludeeus Date: Tue, 26 Oct 2021 12:28:48 +0000 Subject: [PATCH] Use outlined --- gallery/src/demos/demo-ha-chip.ts | 10 +++++----- src/components/ha-chip.ts | 12 ++++++------ 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/gallery/src/demos/demo-ha-chip.ts b/gallery/src/demos/demo-ha-chip.ts index 750bf7fa99..e2b51c1226 100644 --- a/gallery/src/demos/demo-ha-chip.ts +++ b/gallery/src/demos/demo-ha-chip.ts @@ -63,7 +63,7 @@ export class DemoHaChip extends LitElement {
Simple: Demo chip @@ -72,7 +72,7 @@ export class DemoHaChip extends LitElement {
Label property: @@ -82,7 +82,7 @@ export class DemoHaChip extends LitElement { With leadingIcon: Demo chip @@ -92,7 +92,7 @@ export class DemoHaChip extends LitElement { With trailingIcon property: Demo chip @@ -101,7 +101,7 @@ export class DemoHaChip extends LitElement {
With trailingIcon slot: Demo chip diff --git a/src/components/ha-chip.ts b/src/components/ha-chip.ts index 6368c7f8ab..443a7afd41 100644 --- a/src/components/ha-chip.ts +++ b/src/components/ha-chip.ts @@ -12,7 +12,7 @@ import { customElement, property } from "lit/decorators"; @customElement("ha-chip") export class HaChip extends LitElement { - @property({ type: Boolean }) public outline = false; + @property({ type: Boolean }) public outlined = false; @property() public label?: string; @@ -22,7 +22,7 @@ export class HaChip extends LitElement { protected render(): TemplateResult { return html` -
+
${this.leadingIcon ? html`