@vaadin/item 24.2.0-alpha9 → 24.2.0-beta2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vaadin/item",
3
- "version": "24.2.0-alpha9",
3
+ "version": "24.2.0-beta2",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -37,11 +37,11 @@
37
37
  "dependencies": {
38
38
  "@open-wc/dedupe-mixin": "^1.3.0",
39
39
  "@polymer/polymer": "^3.0.0",
40
- "@vaadin/a11y-base": "24.2.0-alpha9",
41
- "@vaadin/component-base": "24.2.0-alpha9",
42
- "@vaadin/vaadin-lumo-styles": "24.2.0-alpha9",
43
- "@vaadin/vaadin-material-styles": "24.2.0-alpha9",
44
- "@vaadin/vaadin-themable-mixin": "24.2.0-alpha9"
40
+ "@vaadin/a11y-base": "24.2.0-beta2",
41
+ "@vaadin/component-base": "24.2.0-beta2",
42
+ "@vaadin/vaadin-lumo-styles": "24.2.0-beta2",
43
+ "@vaadin/vaadin-material-styles": "24.2.0-beta2",
44
+ "@vaadin/vaadin-themable-mixin": "24.2.0-beta2"
45
45
  },
46
46
  "devDependencies": {
47
47
  "@esm-bundle/chai": "^4.3.4",
@@ -52,5 +52,5 @@
52
52
  "web-types.json",
53
53
  "web-types.lit.json"
54
54
  ],
55
- "gitHead": "e9765733fea96542e379e02e6f42b07145893140"
55
+ "gitHead": "4b852f9a12d4dade7f0fb3c73b7212436cebf310"
56
56
  }
@@ -4,6 +4,7 @@
4
4
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
5
5
  */
6
6
  import { html, PolymerElement } from '@polymer/polymer/polymer-element.js';
7
+ import { defineCustomElement } from '@vaadin/component-base/src/define.js';
7
8
  import { DirMixin } from '@vaadin/component-base/src/dir-mixin.js';
8
9
  import { ThemableMixin } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js';
9
10
  import { ItemMixin } from './vaadin-item-mixin.js';
@@ -46,6 +47,7 @@ import { ItemMixin } from './vaadin-item-mixin.js';
46
47
  *
47
48
  * See [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.
48
49
  *
50
+ * @customElement
49
51
  * @extends HTMLElement
50
52
  * @mixes ItemMixin
51
53
  * @mixes ThemableMixin
@@ -93,6 +95,6 @@ class Item extends ItemMixin(ThemableMixin(DirMixin(PolymerElement))) {
93
95
  }
94
96
  }
95
97
 
96
- customElements.define(Item.is, Item);
98
+ defineCustomElement(Item);
97
99
 
98
100
  export { Item };
package/web-types.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/web-types",
3
3
  "name": "@vaadin/item",
4
- "version": "24.2.0-alpha9",
4
+ "version": "24.2.0-beta2",
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/item",
4
- "version": "24.2.0-alpha9",
4
+ "version": "24.2.0-beta2",
5
5
  "description-markup": "markdown",
6
6
  "framework": "lit",
7
7
  "framework-config": {