Drop polymer from authorize and onboarding entrypoint (#15760)

* Drop polymer from authorize and onboarding entrypoint

* Update ha-icon.ts

* dedupe
This commit is contained in:
Bram Kragten
2023-03-29 12:17:42 +02:00
committed by GitHub
parent 4d52913a01
commit 0f5320c6fb
42 changed files with 407 additions and 173 deletions

View File

@@ -1,4 +1,4 @@
import "@polymer/paper-tooltip/paper-tooltip";
import "@lrnwebcomponents/simple-tooltip/simple-tooltip";
import { css, CSSResultGroup, html, LitElement, TemplateResult } from "lit";
import { customElement, property } from "lit/decorators";
import { fireEvent } from "../common/dom/fire_event";
@@ -76,11 +76,11 @@ export class HaAnalytics extends LitElement {
</ha-switch>
${!baseEnabled
? html`
<paper-tooltip animation-delay="0" position="right">
<simple-tooltip animation-delay="0" position="right">
${this.hass.localize(
`ui.panel.${this.translationKeyPanel}.analytics.need_base_enabled`
)}
</paper-tooltip>
</simple-tooltip>
`
: ""}
</span>