Upgrade to Lit 2 (#9199)

This commit is contained in:
Bram Kragten
2021-05-18 16:37:53 +02:00
committed by GitHub
parent 245bb639f2
commit bc92c0b052
691 changed files with 2328 additions and 5179 deletions

View File

@@ -1,15 +1,8 @@
import "@material/mwc-button/mwc-button";
import "@material/mwc-icon-button/mwc-icon-button";
import {
css,
CSSResultGroup,
customElement,
html,
LitElement,
property,
TemplateResult,
} from "lit-element";
import { styleMap } from "lit-html/directives/style-map";
import { css, CSSResultGroup, html, LitElement, TemplateResult } from "lit";
import { customElement, property } from "lit/decorators";
import { styleMap } from "lit/directives/style-map";
import { fireEvent } from "../common/dom/fire_event";
import type { ToggleButton } from "../types";
import "./ha-svg-icon";