mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-26 18:56:39 +00:00
Shopping list to MWC (#11822)
This commit is contained in:
parent
be491451d5
commit
aa504fe1f8
@ -1,4 +1,4 @@
|
|||||||
import "@polymer/paper-input/paper-input";
|
import "../../../../components/ha-textfield";
|
||||||
import { css, CSSResultGroup, html, LitElement, TemplateResult } from "lit";
|
import { css, CSSResultGroup, html, LitElement, TemplateResult } from "lit";
|
||||||
import { customElement, property, state } from "lit/decorators";
|
import { customElement, property, state } from "lit/decorators";
|
||||||
import { assert, assign, object, optional, string } from "superstruct";
|
import { assert, assign, object, optional, string } from "superstruct";
|
||||||
@ -57,7 +57,7 @@ export class HuiShoppingListEditor
|
|||||||
</div>
|
</div>
|
||||||
`
|
`
|
||||||
: ""}
|
: ""}
|
||||||
<paper-input
|
<ha-textfield
|
||||||
.label="${this.hass.localize(
|
.label="${this.hass.localize(
|
||||||
"ui.panel.lovelace.editor.card.generic.title"
|
"ui.panel.lovelace.editor.card.generic.title"
|
||||||
)} (${this.hass.localize(
|
)} (${this.hass.localize(
|
||||||
@ -65,8 +65,8 @@ export class HuiShoppingListEditor
|
|||||||
)})"
|
)})"
|
||||||
.value=${this._title}
|
.value=${this._title}
|
||||||
.configValue=${"title"}
|
.configValue=${"title"}
|
||||||
@value-changed=${this._valueChanged}
|
@input=${this._valueChanged}
|
||||||
></paper-input>
|
></ha-textfield>
|
||||||
<hui-theme-select-editor
|
<hui-theme-select-editor
|
||||||
.hass=${this.hass}
|
.hass=${this.hass}
|
||||||
.value=${this._theme}
|
.value=${this._theme}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user