Skip to content

Commit

Permalink
refactor: move input-container theme imports to styles modules (#6579)
Browse files Browse the repository at this point in the history
  • Loading branch information
web-padawan authored Sep 29, 2023
1 parent b1f7849 commit d71cf05
Show file tree
Hide file tree
Showing 32 changed files with 16 additions and 16 deletions.
1 change: 1 addition & 0 deletions packages/combo-box/theme/lumo/vaadin-combo-box-styles.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import '@vaadin/input-container/theme/lumo/vaadin-input-container-styles.js';
import '@vaadin/vaadin-lumo-styles/font-icons.js';
import { inputFieldShared } from '@vaadin/vaadin-lumo-styles/mixins/input-field-shared.js';
import { css, registerStyles } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js';
Expand Down
1 change: 0 additions & 1 deletion packages/combo-box/theme/lumo/vaadin-combo-box.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import '@vaadin/input-container/theme/lumo/vaadin-input-container.js';
import './vaadin-combo-box-item-styles.js';
import './vaadin-combo-box-overlay-styles.js';
import './vaadin-combo-box-styles.js';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import '@vaadin/input-container/theme/material/vaadin-input-container-styles.js';
import '@vaadin/vaadin-material-styles/color.js';
import '@vaadin/vaadin-material-styles/font-icons.js';
import { inputFieldShared } from '@vaadin/vaadin-material-styles/mixins/input-field-shared.js';
Expand Down
1 change: 0 additions & 1 deletion packages/combo-box/theme/material/vaadin-combo-box.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import '@vaadin/input-container/theme/material/vaadin-input-container.js';
import './vaadin-combo-box-item-styles.js';
import './vaadin-combo-box-overlay-styles.js';
import './vaadin-combo-box-styles.js';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import '@vaadin/input-container/theme/lumo/vaadin-input-container-styles.js';
import '@vaadin/vaadin-lumo-styles/font-icons.js';
import { inputFieldShared } from '@vaadin/vaadin-lumo-styles/mixins/input-field-shared.js';
import { css, registerStyles } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js';
Expand Down
1 change: 0 additions & 1 deletion packages/date-picker/theme/lumo/vaadin-date-picker.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import '@vaadin/input-container/theme/lumo/vaadin-input-container.js';
import './vaadin-date-picker-overlay-styles.js';
import './vaadin-date-picker-overlay-content-styles.js';
import './vaadin-month-calendar-styles.js';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import '@vaadin/input-container/theme/material/vaadin-input-container-styles.js';
import '@vaadin/vaadin-material-styles/color.js';
import '@vaadin/vaadin-material-styles/font-icons.js';
import { inputFieldShared } from '@vaadin/vaadin-material-styles/mixins/input-field-shared.js';
Expand Down
1 change: 0 additions & 1 deletion packages/date-picker/theme/material/vaadin-date-picker.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import '@vaadin/input-container/theme/material/vaadin-input-container.js';
import './vaadin-date-picker-overlay-styles.js';
import './vaadin-date-picker-overlay-content-styles.js';
import './vaadin-month-calendar-styles.js';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
* Copyright (c) 2021 - 2023 Vaadin Ltd.
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
*/
import '@vaadin/input-container/theme/lumo/vaadin-input-container-styles.js';
import '@vaadin/vaadin-lumo-styles/color.js';
import '@vaadin/vaadin-lumo-styles/font-icons.js';
import '@vaadin/vaadin-lumo-styles/style.js';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
* Copyright (c) 2021 - 2023 Vaadin Ltd.
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
*/
import '@vaadin/input-container/theme/lumo/vaadin-input-container.js';
import '@vaadin/overlay/theme/lumo/vaadin-overlay.js';
import './vaadin-multi-select-combo-box-chip-styles.js';
import './vaadin-multi-select-combo-box-styles.js';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
* Copyright (c) 2021 - 2023 Vaadin Ltd.
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
*/
import '@vaadin/input-container/theme/material/vaadin-input-container-styles.js';
import '@vaadin/vaadin-material-styles/color.js';
import '@vaadin/vaadin-material-styles/font-icons.js';
import '@vaadin/vaadin-material-styles/typography.js';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
* Copyright (c) 2021 - 2023 Vaadin Ltd.
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
*/
import '@vaadin/input-container/theme/material/vaadin-input-container.js';
import '@vaadin/overlay/theme/material/vaadin-overlay.js';
import './vaadin-multi-select-combo-box-chip-styles.js';
import './vaadin-multi-select-combo-box-styles.js';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
* Copyright (c) 2021 - 2023 Vaadin Ltd.
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
*/
import '@vaadin/input-container/theme/lumo/vaadin-input-container-styles.js';
import '@vaadin/vaadin-lumo-styles/sizing.js';
import { fieldButton } from '@vaadin/vaadin-lumo-styles/mixins/field-button.js';
import { inputFieldShared } from '@vaadin/vaadin-lumo-styles/mixins/input-field-shared.js';
Expand Down
1 change: 0 additions & 1 deletion packages/number-field/theme/lumo/vaadin-number-field.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,5 @@
* Copyright (c) 2021 - 2023 Vaadin Ltd.
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
*/
import '@vaadin/input-container/theme/lumo/vaadin-input-container.js';
import './vaadin-number-field-styles.js';
import '../../src/vaadin-number-field.js';
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
* Copyright (c) 2021 - 2023 Vaadin Ltd.
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
*/
import '@vaadin/input-container/theme/material/vaadin-input-container-styles.js';
import { fieldButton } from '@vaadin/vaadin-material-styles/mixins/field-button.js';
import { inputFieldShared } from '@vaadin/vaadin-material-styles/mixins/input-field-shared.js';
import { css, registerStyles } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,5 @@
* Copyright (c) 2021 - 2023 Vaadin Ltd.
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
*/
import '@vaadin/input-container/theme/material/vaadin-input-container.js';
import './vaadin-number-field-styles.js';
import '../../src/vaadin-number-field.js';
1 change: 1 addition & 0 deletions packages/select/theme/lumo/vaadin-select-styles.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
* Copyright (c) 2017 - 2023 Vaadin Ltd.
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
*/
import '@vaadin/input-container/theme/lumo/vaadin-input-container-styles.js';
import '@vaadin/vaadin-lumo-styles/sizing.js';
import '@vaadin/vaadin-lumo-styles/style.js';
import '@vaadin/vaadin-lumo-styles/font-icons.js';
Expand Down
1 change: 0 additions & 1 deletion packages/select/theme/lumo/vaadin-select.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,5 @@
* Copyright (c) 2017 - 2023 Vaadin Ltd.
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
*/
import '@vaadin/input-container/theme/lumo/vaadin-input-container.js';
import './vaadin-select-styles.js';
import '../../src/vaadin-select.js';
1 change: 1 addition & 0 deletions packages/select/theme/material/vaadin-select-styles.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
* Copyright (c) 2017 - 2023 Vaadin Ltd.
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
*/
import '@vaadin/input-container/theme/material/vaadin-input-container-styles.js';
import '@vaadin/vaadin-material-styles/font-icons.js';
import { item } from '@vaadin/item/theme/material/vaadin-item-styles.js';
import { listBox } from '@vaadin/list-box/theme/material/vaadin-list-box-styles.js';
Expand Down
1 change: 0 additions & 1 deletion packages/select/theme/material/vaadin-select.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,5 @@
* Copyright (c) 2017 - 2023 Vaadin Ltd.
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
*/
import '@vaadin/input-container/theme/material/vaadin-input-container.js';
import './vaadin-select-styles.js';
import '../../src/vaadin-select.js';
1 change: 1 addition & 0 deletions packages/text-area/theme/lumo/vaadin-text-area-styles.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
* Copyright (c) 2017 - 2023 Vaadin Ltd.
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
*/
import '@vaadin/input-container/theme/lumo/vaadin-input-container-styles.js';
import '@vaadin/vaadin-lumo-styles/color.js';
import '@vaadin/vaadin-lumo-styles/sizing.js';
import '@vaadin/vaadin-lumo-styles/typography.js';
Expand Down
1 change: 0 additions & 1 deletion packages/text-area/theme/lumo/vaadin-text-area.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,5 @@
* Copyright (c) 2017 - 2023 Vaadin Ltd.
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
*/
import '@vaadin/input-container/theme/lumo/vaadin-input-container.js';
import './vaadin-text-area-styles.js';
import '../../src/vaadin-text-area.js';
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
* Copyright (c) 2017 - 2023 Vaadin Ltd.
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
*/
import '@vaadin/input-container/theme/material/vaadin-input-container-styles.js';
import { inputFieldShared } from '@vaadin/vaadin-material-styles/mixins/input-field-shared.js';
import { css, registerStyles } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js';

Expand Down
1 change: 0 additions & 1 deletion packages/text-area/theme/material/vaadin-text-area.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,5 @@
* Copyright (c) 2017 - 2023 Vaadin Ltd.
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
*/
import '@vaadin/input-container/theme/material/vaadin-input-container.js';
import './vaadin-text-area-styles.js';
import '../../src/vaadin-text-area.js';
1 change: 1 addition & 0 deletions packages/text-field/theme/lumo/vaadin-text-field-styles.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
* Copyright (c) 2017 - 2023 Vaadin Ltd.
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
*/
import '@vaadin/input-container/theme/lumo/vaadin-input-container-styles.js';
import { inputFieldShared } from '@vaadin/vaadin-lumo-styles/mixins/input-field-shared.js';
import { registerStyles } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js';

Expand Down
1 change: 0 additions & 1 deletion packages/text-field/theme/lumo/vaadin-text-field.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,5 @@
* Copyright (c) 2017 - 2023 Vaadin Ltd.
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
*/
import '@vaadin/input-container/theme/lumo/vaadin-input-container.js';
import './vaadin-text-field-styles.js';
import '../../src/vaadin-text-field.js';
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
* Copyright (c) 2017 - 2023 Vaadin Ltd.
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
*/
import '@vaadin/input-container/theme/material/vaadin-input-container-styles.js';
import { inputFieldShared } from '@vaadin/vaadin-material-styles/mixins/input-field-shared.js';
import { registerStyles } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js';

Expand Down
1 change: 0 additions & 1 deletion packages/text-field/theme/material/vaadin-text-field.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,5 @@
* Copyright (c) 2017 - 2023 Vaadin Ltd.
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
*/
import '@vaadin/input-container/theme/material/vaadin-input-container.js';
import './vaadin-text-field-styles.js';
import '../../src/vaadin-text-field.js';
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
* Copyright (c) 2018 - 2023 Vaadin Ltd.
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
*/
import '@vaadin/input-container/theme/lumo/vaadin-input-container-styles.js';
import '@vaadin/vaadin-lumo-styles/font-icons.js';
import { comboBoxItem } from '@vaadin/combo-box/theme/lumo/vaadin-combo-box-item-styles.js';
import { comboBoxOverlay } from '@vaadin/combo-box/theme/lumo/vaadin-combo-box-overlay-styles.js';
Expand Down
1 change: 0 additions & 1 deletion packages/time-picker/theme/lumo/vaadin-time-picker.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,5 @@
* Copyright (c) 2018 - 2023 Vaadin Ltd.
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
*/
import '@vaadin/input-container/theme/lumo/vaadin-input-container.js';
import './vaadin-time-picker-styles.js';
import '../../src/vaadin-time-picker.js';
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
* Copyright (c) 2018 - 2023 Vaadin Ltd.
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
*/
import '@vaadin/input-container/theme/material/vaadin-input-container-styles.js';
import '@vaadin/vaadin-material-styles/font-icons.js';
import { comboBoxItem } from '@vaadin/combo-box/theme/material/vaadin-combo-box-item-styles.js';
import { comboBoxOverlay } from '@vaadin/combo-box/theme/material/vaadin-combo-box-overlay-styles.js';
Expand Down
1 change: 0 additions & 1 deletion packages/time-picker/theme/material/vaadin-time-picker.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,5 @@
* Copyright (c) 2018 - 2023 Vaadin Ltd.
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
*/
import '@vaadin/input-container/theme/material/vaadin-input-container.js';
import './vaadin-time-picker-styles.js';
import '../../src/vaadin-time-picker.js';

0 comments on commit d71cf05

Please sign in to comment.