Skip to content

Commit

Permalink
chore: add deprecation warning to Material theme
Browse files Browse the repository at this point in the history
  • Loading branch information
web-padawan committed Feb 11, 2025
1 parent ebc506d commit 9f8b70a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/vaadin-material-styles/version.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,6 @@ class Material extends HTMLElement {

defineCustomElement(Material);

console.warn('Material theme is deprecated and will be removed in Vaadin 25.');

export { Material };
1 change: 1 addition & 0 deletions wtr-utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ const { esbuildPlugin } = require('@web/dev-server-esbuild');
const HIDDEN_WARNINGS = [
'<vaadin-crud> Unable to autoconfigure form because the data structure is unknown. Either specify `include` or ensure at least one item is available beforehand.',
'The <vaadin-grid> needs the total number of items in order to display rows, which you can specify either by setting the `size` property, or by providing it to the second argument of the `dataProvider` function `callback` call.',
'Material theme is deprecated and will be removed in Vaadin 25.',
/^WARNING: Since Vaadin .* is deprecated.*/u,
/^WARNING: <template> inside <[^>]+> is deprecated. Use a renderer function instead/u,
/Lit is in dev mode/u,
Expand Down

0 comments on commit 9f8b70a

Please sign in to comment.