mirror of
https://github.com/home-assistant/frontend.git
synced 2025-11-10 11:30:01 +00:00
Use SWC for typescript, update to Lit 3, migrate decorators (#25150)
Co-authored-by: Wendelin <w@pe8.at>
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
import "@material/mwc-list/mwc-list";
|
||||
import { mdiDelete, mdiDrag } from "@mdi/js";
|
||||
import type { CSSResultGroup } from "lit";
|
||||
import { LitElement, css, html, nothing } from "lit";
|
||||
@@ -8,6 +7,7 @@ import { fireEvent } from "../../../../common/dom/fire_event";
|
||||
import "../../../../components/ha-button";
|
||||
import "../../../../components/ha-icon-button";
|
||||
import "../../../../components/ha-icon-picker";
|
||||
import "../../../../components/ha-list";
|
||||
import "../../../../components/ha-list-item";
|
||||
import "../../../../components/ha-sortable";
|
||||
import "../../../../components/ha-textfield";
|
||||
@@ -102,7 +102,7 @@ class HaInputSelectForm extends LitElement {
|
||||
)}:
|
||||
</div>
|
||||
<ha-sortable @item-moved=${this._optionMoved} handle-selector=".handle">
|
||||
<mwc-list class="options">
|
||||
<ha-list class="options">
|
||||
${this._options.length
|
||||
? repeat(
|
||||
this._options,
|
||||
@@ -134,7 +134,7 @@ class HaInputSelectForm extends LitElement {
|
||||
)}
|
||||
</ha-list-item>
|
||||
`}
|
||||
</mwc-list>
|
||||
</ha-list>
|
||||
</ha-sortable>
|
||||
<div class="layout horizontal center">
|
||||
<ha-textfield
|
||||
|
||||
Reference in New Issue
Block a user