diff --git a/gallery/src/demos/demo-ha-chip.ts b/gallery/src/demos/demo-ha-chip.ts index 5d3cf0ef82..750bf7fa99 100644 --- a/gallery/src/demos/demo-ha-chip.ts +++ b/gallery/src/demos/demo-ha-chip.ts @@ -1,6 +1,8 @@ +import "../../../src/components/ha-switch"; +import "../../../src/components/ha-formfield"; import { mdiClose, mdiHomeAssistant } from "@mdi/js"; import { css, html, LitElement, TemplateResult } from "lit"; -import { customElement } from "lit/decorators"; +import { customElement, state } from "lit/decorators"; import "../../../src/components/ha-card"; import "../../../src/components/ha-chip"; import "../../../src/components/ha-chip-set"; @@ -42,53 +44,66 @@ const chips: HaChipSetItem[] = [ @customElement("demo-ha-chip") export class DemoHaChip extends LitElement { + @state() standaloneIsDisabled = false; + + @state() standaloneIsOutlined = false; + protected render(): TemplateResult { return html` +