From 7c11baa867c45d25e056520493fa6a6fd2274a05 Mon Sep 17 00:00:00 2001 From: Serhii Kulykov Date: Mon, 8 Jan 2024 16:53:18 +0200 Subject: [PATCH] refactor: update grid theme files to use new Lit imports (#7054) --- packages/grid/theme/lumo/vaadin-grid-styles.js | 1 - packages/grid/theme/lumo/vaadin-lit-grid-filter.js | 3 +-- packages/grid/theme/lumo/vaadin-lit-grid-selection-column.js | 2 +- packages/grid/theme/material/vaadin-lit-grid-filter.js | 3 +-- .../grid/theme/material/vaadin-lit-grid-selection-column.js | 2 +- 5 files changed, 4 insertions(+), 7 deletions(-) diff --git a/packages/grid/theme/lumo/vaadin-grid-styles.js b/packages/grid/theme/lumo/vaadin-grid-styles.js index 6a5cdb316e..9a9bdbad37 100644 --- a/packages/grid/theme/lumo/vaadin-grid-styles.js +++ b/packages/grid/theme/lumo/vaadin-grid-styles.js @@ -4,7 +4,6 @@ import '@vaadin/vaadin-lumo-styles/sizing.js'; import '@vaadin/vaadin-lumo-styles/spacing.js'; import '@vaadin/vaadin-lumo-styles/style.js'; import '@vaadin/vaadin-lumo-styles/typography.js'; -import '@vaadin/checkbox/theme/lumo/vaadin-checkbox-styles.js'; import { css, registerStyles } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js'; registerStyles( diff --git a/packages/grid/theme/lumo/vaadin-lit-grid-filter.js b/packages/grid/theme/lumo/vaadin-lit-grid-filter.js index 1223b5ff4b..7c25c0d8d9 100644 --- a/packages/grid/theme/lumo/vaadin-lit-grid-filter.js +++ b/packages/grid/theme/lumo/vaadin-lit-grid-filter.js @@ -1,3 +1,2 @@ -import '@vaadin/text-field/theme/lumo/vaadin-text-field-styles.js'; -import '@vaadin/input-container/theme/lumo/vaadin-input-container-styles.js'; +import '@vaadin/text-field/theme/lumo/vaadin-lit-text-field.js'; import '../../src/vaadin-lit-grid-filter.js'; diff --git a/packages/grid/theme/lumo/vaadin-lit-grid-selection-column.js b/packages/grid/theme/lumo/vaadin-lit-grid-selection-column.js index 8bac81cdee..4cad115021 100644 --- a/packages/grid/theme/lumo/vaadin-lit-grid-selection-column.js +++ b/packages/grid/theme/lumo/vaadin-lit-grid-selection-column.js @@ -1,2 +1,2 @@ -import '@vaadin/checkbox/theme/lumo/vaadin-checkbox-styles.js'; +import '@vaadin/checkbox/theme/lumo/vaadin-lit-checkbox.js'; import '../../src/vaadin-lit-grid-selection-column.js'; diff --git a/packages/grid/theme/material/vaadin-lit-grid-filter.js b/packages/grid/theme/material/vaadin-lit-grid-filter.js index 28e2e5e0a5..ae7ca0bba7 100644 --- a/packages/grid/theme/material/vaadin-lit-grid-filter.js +++ b/packages/grid/theme/material/vaadin-lit-grid-filter.js @@ -1,3 +1,2 @@ -import '@vaadin/text-field/theme/material/vaadin-text-field-styles.js'; -import '@vaadin/input-container/theme/material/vaadin-input-container-styles.js'; +import '@vaadin/text-field/theme/material/vaadin-lit-text-field.js'; import '../../src/vaadin-lit-grid-filter.js'; diff --git a/packages/grid/theme/material/vaadin-lit-grid-selection-column.js b/packages/grid/theme/material/vaadin-lit-grid-selection-column.js index 83fa9d2cbc..7a8a4b1a3f 100644 --- a/packages/grid/theme/material/vaadin-lit-grid-selection-column.js +++ b/packages/grid/theme/material/vaadin-lit-grid-selection-column.js @@ -1,2 +1,2 @@ -import '@vaadin/checkbox/theme/material/vaadin-checkbox-styles.js'; +import '@vaadin/checkbox/theme/material/vaadin-lit-checkbox.js'; import '../../src/vaadin-lit-grid-selection-column.js';