From 982f783cc9d9d156ad53113cbf0deb3d506f5272 Mon Sep 17 00:00:00 2001 From: web-padawan Date: Fri, 6 Sep 2024 11:25:54 +0300 Subject: [PATCH] refactor: remove unnecessary theme styles covered by src --- packages/combo-box/theme/lumo/vaadin-combo-box-styles.js | 4 ---- packages/combo-box/theme/material/vaadin-combo-box-styles.js | 2 -- packages/date-picker/theme/lumo/vaadin-date-picker-styles.js | 4 ---- packages/select/theme/material/vaadin-select-styles.js | 1 - packages/vaadin-material-styles/mixins/input-field-shared.js | 2 -- 5 files changed, 13 deletions(-) diff --git a/packages/combo-box/theme/lumo/vaadin-combo-box-styles.js b/packages/combo-box/theme/lumo/vaadin-combo-box-styles.js index 8d144d3ac6..b144381303 100644 --- a/packages/combo-box/theme/lumo/vaadin-combo-box-styles.js +++ b/packages/combo-box/theme/lumo/vaadin-combo-box-styles.js @@ -4,10 +4,6 @@ import { inputFieldShared } from '@vaadin/vaadin-lumo-styles/mixins/input-field- import { css, registerStyles } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js'; const comboBox = css` - :host { - outline: none; - } - [part='toggle-button']::before { content: var(--lumo-icons-dropdown); } diff --git a/packages/combo-box/theme/material/vaadin-combo-box-styles.js b/packages/combo-box/theme/material/vaadin-combo-box-styles.js index 2f80c299f7..cc337705a7 100644 --- a/packages/combo-box/theme/material/vaadin-combo-box-styles.js +++ b/packages/combo-box/theme/material/vaadin-combo-box-styles.js @@ -6,8 +6,6 @@ import { css, registerStyles } from '@vaadin/vaadin-themable-mixin/vaadin-themab const comboBox = css` :host { - display: inline-flex; - outline: none; -webkit-tap-highlight-color: transparent; } diff --git a/packages/date-picker/theme/lumo/vaadin-date-picker-styles.js b/packages/date-picker/theme/lumo/vaadin-date-picker-styles.js index 599760797c..6f60cf0735 100644 --- a/packages/date-picker/theme/lumo/vaadin-date-picker-styles.js +++ b/packages/date-picker/theme/lumo/vaadin-date-picker-styles.js @@ -4,10 +4,6 @@ import { inputFieldShared } from '@vaadin/vaadin-lumo-styles/mixins/input-field- import { css, registerStyles } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js'; const datePicker = css` - :host { - outline: none; - } - [part='toggle-button']::before { content: var(--lumo-icons-calendar); } diff --git a/packages/select/theme/material/vaadin-select-styles.js b/packages/select/theme/material/vaadin-select-styles.js index 455658c890..7aecd422d0 100644 --- a/packages/select/theme/material/vaadin-select-styles.js +++ b/packages/select/theme/material/vaadin-select-styles.js @@ -17,7 +17,6 @@ registerStyles('vaadin-select-list-box', listBox, { moduleId: 'material-select-l const select = css` :host { - display: inline-flex; -webkit-tap-highlight-color: transparent; } diff --git a/packages/vaadin-material-styles/mixins/input-field-shared.js b/packages/vaadin-material-styles/mixins/input-field-shared.js index 5489ba6bbc..1bcfdc94e7 100644 --- a/packages/vaadin-material-styles/mixins/input-field-shared.js +++ b/packages/vaadin-material-styles/mixins/input-field-shared.js @@ -13,11 +13,9 @@ import { requiredField } from './required-field.js'; const inputField = css` :host { - display: inline-flex; position: relative; padding-top: 8px; margin-bottom: 8px; - outline: none; color: var(--material-body-text-color); font-size: var(--material-body-font-size); line-height: 24px;