@vaadin/board 25.0.0-alpha2 → 25.0.0-alpha21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -4,6 +4,9 @@ A powerful and easy to use layout web component for building responsive views.
4
4
 
5
5
  > ℹ️  A commercial Vaadin [subscription](https://vaadin.com/pricing) is required to use Board in your project.
6
6
 
7
+ > [!WARNING]
8
+ > `<vaadin-board>` is deprecated and will be removed in Vaadin 26. Consider using `<vaadin-dashboard>` or `<vaadin-dashboard-layout>` as an alternative.
9
+
7
10
  [Documentation + Live Demo ↗](https://vaadin.com/docs/latest/components/board)
8
11
 
9
12
  [![npm version](https://badgen.net/npm/v/@vaadin/board)](https://www.npmjs.com/package/@vaadin/board)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vaadin/board",
3
- "version": "25.0.0-alpha2",
3
+ "version": "25.0.0-alpha21",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -21,7 +21,6 @@
21
21
  "type": "module",
22
22
  "files": [
23
23
  "src",
24
- "theme",
25
24
  "vaadin-*.d.ts",
26
25
  "vaadin-*.js",
27
26
  "web-types.json",
@@ -38,20 +37,20 @@
38
37
  ],
39
38
  "dependencies": {
40
39
  "@open-wc/dedupe-mixin": "^1.3.0",
41
- "@vaadin/a11y-base": "25.0.0-alpha2",
42
- "@vaadin/component-base": "25.0.0-alpha2",
40
+ "@vaadin/a11y-base": "25.0.0-alpha21",
41
+ "@vaadin/component-base": "25.0.0-alpha21",
43
42
  "lit": "^3.0.0"
44
43
  },
45
44
  "devDependencies": {
46
- "@vaadin/chai-plugins": "25.0.0-alpha2",
47
- "@vaadin/test-runner-commands": "25.0.0-alpha2",
45
+ "@vaadin/chai-plugins": "25.0.0-alpha21",
46
+ "@vaadin/test-runner-commands": "25.0.0-alpha21",
48
47
  "@vaadin/testing-helpers": "^2.0.0",
49
- "sinon": "^18.0.0"
48
+ "sinon": "^21.0.0"
50
49
  },
51
50
  "cvdlName": "vaadin-board",
52
51
  "web-types": [
53
52
  "web-types.json",
54
53
  "web-types.lit.json"
55
54
  ],
56
- "gitHead": "67ffcd5355cf21ce1b5039c598525109fc4c164b"
55
+ "gitHead": "8fb9e9710c01449edf623a1aaac4655cdc11a933"
57
56
  }
@@ -44,6 +44,9 @@ import { BoardRowMixin } from './vaadin-board-row-mixin.js';
44
44
  * ----------------|-------------|-------------
45
45
  * `--vaadin-board-width-small` | Determines the width where mode changes from `small` to `medium` | `600px`
46
46
  * `--vaadin-board-width-medium` | Determines the width where mode changes from `medium` to `large` | `960px`
47
+ *
48
+ * @deprecated `<vaadin-board-row>` is deprecated and will be removed in Vaadin 26.
49
+ * Consider using `<vaadin-dashboard>` or `<vaadin-dashboard-layout>` as an alternative.
47
50
  */
48
51
  declare class BoardRow extends BoardRowMixin(ElementMixin(HTMLElement)) {}
49
52
 
@@ -52,6 +52,8 @@ import { BoardRowMixin } from './vaadin-board-row-mixin.js';
52
52
  * @extends HTMLElement
53
53
  * @mixes ElementMixin
54
54
  * @mixes BoardRowMixin
55
+ * @deprecated `<vaadin-board-row>` is deprecated and will be removed in Vaadin 26.
56
+ * Consider using `<vaadin-dashboard>` or `<vaadin-dashboard-layout>` as an alternative.
55
57
  */
56
58
  class BoardRow extends BoardRowMixin(ElementMixin(PolylitMixin(LitElement))) {
57
59
  static get is() {
@@ -28,6 +28,9 @@ import { ElementMixin } from '@vaadin/component-base/src/element-mixin.js';
28
28
  * </vaadin-board-row>
29
29
  * </vaadin-board>
30
30
  * ```
31
+ *
32
+ * @deprecated `<vaadin-board>` is deprecated and will be removed in Vaadin 26.
33
+ * Consider using `<vaadin-dashboard>` or `<vaadin-dashboard-layout>` as an alternative.
31
34
  */
32
35
  declare class Board extends ElementMixin(HTMLElement) {
33
36
  /**
@@ -13,6 +13,7 @@ import { css, html, LitElement } from 'lit';
13
13
  import { defineCustomElement } from '@vaadin/component-base/src/define.js';
14
14
  import { ElementMixin } from '@vaadin/component-base/src/element-mixin.js';
15
15
  import { PolylitMixin } from '@vaadin/component-base/src/polylit-mixin.js';
16
+ import { issueWarning } from '@vaadin/component-base/src/warnings.js';
16
17
  import { BoardRow } from './vaadin-board-row.js';
17
18
 
18
19
  /**
@@ -37,6 +38,8 @@ import { BoardRow } from './vaadin-board-row.js';
37
38
  * @customElement
38
39
  * @extends HTMLElement
39
40
  * @mixes ElementMixin
41
+ * @deprecated `<vaadin-board>` is deprecated and will be removed in Vaadin 26.
42
+ * Consider using `<vaadin-dashboard>` or `<vaadin-dashboard-layout>` as an alternative.
40
43
  */
41
44
  class Board extends ElementMixin(PolylitMixin(LitElement)) {
42
45
  static get is() {
@@ -59,6 +62,15 @@ class Board extends ElementMixin(PolylitMixin(LitElement)) {
59
62
  `;
60
63
  }
61
64
 
65
+ /** @protected */
66
+ firstUpdated() {
67
+ super.firstUpdated();
68
+
69
+ issueWarning(
70
+ '`<vaadin-board>` is deprecated and will be removed in Vaadin 26. Consider using `<vaadin-dashboard>` or `<vaadin-dashboard-layout>` as an alternative.',
71
+ );
72
+ }
73
+
62
74
  /** @protected */
63
75
  render() {
64
76
  return html`<slot></slot>`;
@@ -1,2 +1,2 @@
1
- import './theme/lumo/vaadin-board-row.js';
1
+ import './src/vaadin-board-row.js';
2
2
  export * from './src/vaadin-board-row.js';
package/vaadin-board.js CHANGED
@@ -1,2 +1,2 @@
1
- import './theme/lumo/vaadin-board.js';
1
+ import './src/vaadin-board.js';
2
2
  export * from './src/vaadin-board.js';
package/web-types.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/web-types",
3
3
  "name": "@vaadin/board",
4
- "version": "25.0.0-alpha2",
4
+ "version": "25.0.0-alpha21",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/web-types",
3
3
  "name": "@vaadin/board",
4
- "version": "25.0.0-alpha2",
4
+ "version": "25.0.0-alpha21",
5
5
  "description-markup": "markdown",
6
6
  "framework": "lit",
7
7
  "framework-config": {
@@ -1 +0,0 @@
1
- import '../../src/vaadin-board-row.js';
@@ -1 +0,0 @@
1
- import '../../src/vaadin-board-row.js';
@@ -1,2 +0,0 @@
1
- import './vaadin-board-row.js';
2
- import '../../src/vaadin-board.js';
@@ -1,2 +0,0 @@
1
- import './vaadin-board-row.js';
2
- import '../../src/vaadin-board.js';