Use SWC for typescript, update to Lit 3, migrate decorators (#25150)

Co-authored-by: Wendelin <w@pe8.at>
This commit is contained in:
Bram Kragten
2025-04-24 14:10:35 +02:00
committed by GitHub
parent c40bf8f3cd
commit e156dd36f4
241 changed files with 1676 additions and 1388 deletions

View File

@@ -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