diff --git a/src/components/ha-areas-display-editor.ts b/src/components/ha-areas-display-editor.ts index baf1d6c6d9..fe927c9632 100644 --- a/src/components/ha-areas-display-editor.ts +++ b/src/components/ha-areas-display-editor.ts @@ -9,7 +9,6 @@ import "./ha-expansion-panel"; import "./ha-items-display-editor"; import type { DisplayItem, DisplayValue } from "./ha-items-display-editor"; import "./ha-svg-icon"; -import "./ha-textfield"; export interface AreasDisplayValue { hidden?: string[]; diff --git a/src/components/ha-areas-floors-display-editor.ts b/src/components/ha-areas-floors-display-editor.ts index 57662905c1..a9e7b935a5 100644 --- a/src/components/ha-areas-floors-display-editor.ts +++ b/src/components/ha-areas-floors-display-editor.ts @@ -15,7 +15,6 @@ import "./ha-floor-icon"; import "./ha-items-display-editor"; import type { DisplayItem, DisplayValue } from "./ha-items-display-editor"; import "./ha-svg-icon"; -import "./ha-textfield"; export interface AreasFloorsDisplayValue { areas_display?: { diff --git a/src/components/ha-form/ha-form-multi_select.ts b/src/components/ha-form/ha-form-multi_select.ts index 6da5250178..0c29a077e5 100644 --- a/src/components/ha-form/ha-form-multi_select.ts +++ b/src/components/ha-form/ha-form-multi_select.ts @@ -199,11 +199,6 @@ export class HaFormMultiSelect extends LitElement implements HaFormElement { padding-inline-start: initial; direction: var(--direction); } - ha-textfield { - display: block; - width: 100%; - pointer-events: none; - } ha-icon-button { color: var(--input-dropdown-icon-color); position: absolute; diff --git a/src/dialogs/voice-assistant-setup/cloud/cloud-step-signin.ts b/src/dialogs/voice-assistant-setup/cloud/cloud-step-signin.ts index 61abca4a70..9b9e5455d7 100644 --- a/src/dialogs/voice-assistant-setup/cloud/cloud-step-signin.ts +++ b/src/dialogs/voice-assistant-setup/cloud/cloud-step-signin.ts @@ -216,9 +216,6 @@ export class CloudStepSignin extends LitElement { :host { display: block; } - ha-textfield { - display: block; - } `, ]; } diff --git a/src/onboarding/onboarding-core-config.ts b/src/onboarding/onboarding-core-config.ts index bf3cae1ebf..dadd532bfb 100644 --- a/src/onboarding/onboarding-core-config.ts +++ b/src/onboarding/onboarding-core-config.ts @@ -202,10 +202,6 @@ class OnboardingCoreConfig extends LitElement { line-height: var(--ha-line-height-condensed); } - ha-textfield { - display: block; - } - .flex { flex: 1; } diff --git a/src/panels/calendar/confirm-event-dialog-box.ts b/src/panels/calendar/confirm-event-dialog-box.ts index 20a074f6cc..2fda5b32b1 100644 --- a/src/panels/calendar/confirm-event-dialog-box.ts +++ b/src/panels/calendar/confirm-event-dialog-box.ts @@ -141,9 +141,6 @@ class ConfirmEventDialogBox extends LitElement { /* Place above other dialogs */ --dialog-z-index: 104; } - ha-textfield { - width: 100%; - } `; } diff --git a/src/panels/config/automation/action/types/ha-automation-action-if.ts b/src/panels/config/automation/action/types/ha-automation-action-if.ts index 61df34db97..9e7bfef44b 100644 --- a/src/panels/config/automation/action/types/ha-automation-action-if.ts +++ b/src/panels/config/automation/action/types/ha-automation-action-if.ts @@ -2,7 +2,6 @@ import type { CSSResultGroup } from "lit"; import { css, html, LitElement } from "lit"; import { customElement, property, query, queryAll } from "lit/decorators"; import { fireEvent } from "../../../../../common/dom/fire_event"; -import "../../../../../components/ha-textfield"; import type { Action, IfAction } from "../../../../../data/script"; import { haStyle } from "../../../../../resources/styles"; import type { HomeAssistant } from "../../../../../types"; diff --git a/src/panels/config/automation/action/types/ha-automation-action-repeat.ts b/src/panels/config/automation/action/types/ha-automation-action-repeat.ts index 0322ed6e88..330e5111b0 100644 --- a/src/panels/config/automation/action/types/ha-automation-action-repeat.ts +++ b/src/panels/config/automation/action/types/ha-automation-action-repeat.ts @@ -1,9 +1,8 @@ import type { CSSResultGroup } from "lit"; -import { css, html, LitElement } from "lit"; +import { html, LitElement } from "lit"; import { customElement, property, query } from "lit/decorators"; import memoizeOne from "memoize-one"; import { fireEvent } from "../../../../../common/dom/fire_event"; -import "../../../../../components/ha-textfield"; import type { RepeatAction } from "../../../../../data/script"; import { haStyle } from "../../../../../resources/styles"; import type { HomeAssistant } from "../../../../../types"; @@ -172,14 +171,7 @@ export class HaRepeatAction extends LitElement implements ActionElement { } static get styles(): CSSResultGroup { - return [ - haStyle, - css` - ha-textfield { - margin-top: 16px; - } - `, - ]; + return [haStyle]; } private _getSelectorElements() { diff --git a/src/panels/config/automation/trigger/types/ha-automation-trigger-persistent_notification.ts b/src/panels/config/automation/trigger/types/ha-automation-trigger-persistent_notification.ts index a6be314423..4585655550 100644 --- a/src/panels/config/automation/trigger/types/ha-automation-trigger-persistent_notification.ts +++ b/src/panels/config/automation/trigger/types/ha-automation-trigger-persistent_notification.ts @@ -1,17 +1,16 @@ import memoizeOne from "memoize-one"; -import { css, html, LitElement } from "lit"; +import { html, LitElement } from "lit"; import { customElement, property } from "lit/decorators"; import { fireEvent } from "../../../../../common/dom/fire_event"; +import type { LocalizeFunc } from "../../../../../common/translations/localize"; import "../../../../../components/ha-check-list-item"; +import "../../../../../components/ha-form/ha-form"; +import type { SchemaUnion } from "../../../../../components/ha-form/types"; import "../../../../../components/ha-icon-button"; -import "../../../../../components/ha-textfield"; import type { PersistentNotificationTrigger } from "../../../../../data/automation"; import type { HomeAssistant } from "../../../../../types"; import type { TriggerElement } from "../ha-automation-trigger-row"; -import type { LocalizeFunc } from "../../../../../common/translations/localize"; -import type { SchemaUnion } from "../../../../../components/ha-form/types"; -import "../../../../../components/ha-form/ha-form"; const DEFAULT_UPDATE_TYPES = ["added", "removed"]; const DEFAULT_NOTIFICATION_ID = ""; @@ -104,12 +103,6 @@ export class HaPersistentNotificationTrigger this.hass.localize( `ui.panel.config.automation.editor.triggers.type.persistent_notification.${schema.name}` ); - - static styles = css` - ha-textfield { - display: block; - } - `; } declare global { diff --git a/src/panels/config/blueprint/blueprint-generic-editor.ts b/src/panels/config/blueprint/blueprint-generic-editor.ts index c960dc06a1..22101eab89 100644 --- a/src/panels/config/blueprint/blueprint-generic-editor.ts +++ b/src/panels/config/blueprint/blueprint-generic-editor.ts @@ -250,7 +250,6 @@ export abstract class HaBlueprintGenericEditor extends LitElement { .blueprint-picker-container { padding: 0 16px 16px; } - ha-textfield, ha-blueprint-picker { display: block; } diff --git a/src/panels/config/helpers/forms/ha-timer-form.ts b/src/panels/config/helpers/forms/ha-timer-form.ts index f8b93610ea..165b0c0ad0 100644 --- a/src/panels/config/helpers/forms/ha-timer-form.ts +++ b/src/panels/config/helpers/forms/ha-timer-form.ts @@ -168,7 +168,6 @@ class HaTimerForm extends LitElement { .form { color: var(--primary-text-color); } - ha-textfield, ha-duration-input { display: block; margin: 8px 0; diff --git a/src/panels/config/users/dialog-admin-change-password.ts b/src/panels/config/users/dialog-admin-change-password.ts index 6653a53f02..f717a047a9 100644 --- a/src/panels/config/users/dialog-admin-change-password.ts +++ b/src/panels/config/users/dialog-admin-change-password.ts @@ -6,7 +6,6 @@ import { fireEvent } from "../../../common/dom/fire_event"; import "../../../components/ha-dialog-footer"; import "../../../components/ha-form/ha-form"; import type { SchemaUnion } from "../../../components/ha-form/types"; -import "../../../components/ha-textfield"; import "../../../components/ha-button"; import "../../../components/ha-dialog"; import { adminChangePassword } from "../../../data/auth";