@vaadin/tabs 24.2.0-alpha9 → 24.2.0-beta1

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/tabs",
3
- "version": "24.2.0-alpha9",
3
+ "version": "24.2.0-beta1",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -36,12 +36,12 @@
36
36
  ],
37
37
  "dependencies": {
38
38
  "@polymer/polymer": "^3.0.0",
39
- "@vaadin/a11y-base": "24.2.0-alpha9",
40
- "@vaadin/component-base": "24.2.0-alpha9",
41
- "@vaadin/item": "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"
39
+ "@vaadin/a11y-base": "24.2.0-beta1",
40
+ "@vaadin/component-base": "24.2.0-beta1",
41
+ "@vaadin/item": "24.2.0-beta1",
42
+ "@vaadin/vaadin-lumo-styles": "24.2.0-beta1",
43
+ "@vaadin/vaadin-material-styles": "24.2.0-beta1",
44
+ "@vaadin/vaadin-themable-mixin": "24.2.0-beta1"
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": "67c8eef57d1c59e7476e29adaf003cf4548878f2"
56
56
  }
package/src/vaadin-tab.js CHANGED
@@ -5,6 +5,7 @@
5
5
  */
6
6
  import { html, PolymerElement } from '@polymer/polymer/polymer-element.js';
7
7
  import { ControllerMixin } from '@vaadin/component-base/src/controller-mixin.js';
8
+ import { defineCustomElement } from '@vaadin/component-base/src/define.js';
8
9
  import { ElementMixin } from '@vaadin/component-base/src/element-mixin.js';
9
10
  import { TooltipController } from '@vaadin/component-base/src/tooltip-controller.js';
10
11
  import { ItemMixin } from '@vaadin/item/src/vaadin-item-mixin.js';
@@ -32,6 +33,7 @@ import { ThemableMixin } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mix
32
33
  *
33
34
  * See [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.
34
35
  *
36
+ * @customElement
35
37
  * @extends HTMLElement
36
38
  * @mixes ControllerMixin
37
39
  * @mixes ElementMixin
@@ -99,6 +101,6 @@ class Tab extends ElementMixin(ThemableMixin(ItemMixin(ControllerMixin(PolymerEl
99
101
  }
100
102
  }
101
103
 
102
- customElements.define(Tab.is, Tab);
104
+ defineCustomElement(Tab);
103
105
 
104
106
  export { Tab };
@@ -7,6 +7,7 @@ import './vaadin-tab.js';
7
7
  import { afterNextRender } from '@polymer/polymer/lib/utils/render-status.js';
8
8
  import { html, PolymerElement } from '@polymer/polymer/polymer-element.js';
9
9
  import { ListMixin } from '@vaadin/a11y-base/src/list-mixin.js';
10
+ import { defineCustomElement } from '@vaadin/component-base/src/define.js';
10
11
  import { getNormalizedScrollLeft } from '@vaadin/component-base/src/dir-utils.js';
11
12
  import { ElementMixin } from '@vaadin/component-base/src/element-mixin.js';
12
13
  import { ResizeMixin } from '@vaadin/component-base/src/resize-mixin.js';
@@ -46,6 +47,7 @@ import { ThemableMixin } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mix
46
47
  * @fires {CustomEvent} items-changed - Fired when the `items` property changes.
47
48
  * @fires {CustomEvent} selected-changed - Fired when the `selected` property changes.
48
49
  *
50
+ * @customElement
49
51
  * @extends HTMLElement
50
52
  * @mixes ElementMixin
51
53
  * @mixes ListMixin
@@ -355,6 +357,6 @@ class Tabs extends ResizeMixin(ElementMixin(ListMixin(ThemableMixin(PolymerEleme
355
357
  }
356
358
  }
357
359
 
358
- customElements.define(Tabs.is, Tabs);
360
+ defineCustomElement(Tabs);
359
361
 
360
362
  export { Tabs };
package/web-types.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/web-types",
3
3
  "name": "@vaadin/tabs",
4
- "version": "24.2.0-alpha9",
4
+ "version": "24.2.0-beta1",
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/tabs",
4
- "version": "24.2.0-alpha9",
4
+ "version": "24.2.0-beta1",
5
5
  "description-markup": "markdown",
6
6
  "framework": "lit",
7
7
  "framework-config": {