@vaadin/progress-bar 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/progress-bar",
3
- "version": "24.2.0-alpha9",
3
+ "version": "24.2.0-beta2",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -40,10 +40,10 @@
40
40
  "dependencies": {
41
41
  "@open-wc/dedupe-mixin": "^1.3.0",
42
42
  "@polymer/polymer": "^3.0.0",
43
- "@vaadin/component-base": "24.2.0-alpha9",
44
- "@vaadin/vaadin-lumo-styles": "24.2.0-alpha9",
45
- "@vaadin/vaadin-material-styles": "24.2.0-alpha9",
46
- "@vaadin/vaadin-themable-mixin": "24.2.0-alpha9",
43
+ "@vaadin/component-base": "24.2.0-beta2",
44
+ "@vaadin/vaadin-lumo-styles": "24.2.0-beta2",
45
+ "@vaadin/vaadin-material-styles": "24.2.0-beta2",
46
+ "@vaadin/vaadin-themable-mixin": "24.2.0-beta2",
47
47
  "lit": "^2.0.0"
48
48
  },
49
49
  "devDependencies": {
@@ -54,5 +54,5 @@
54
54
  "web-types.json",
55
55
  "web-types.lit.json"
56
56
  ],
57
- "gitHead": "e9765733fea96542e379e02e6f42b07145893140"
57
+ "gitHead": "4b852f9a12d4dade7f0fb3c73b7212436cebf310"
58
58
  }
@@ -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 { ElementMixin } from '@vaadin/component-base/src/element-mixin.js';
8
9
  import { registerStyles, ThemableMixin } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js';
9
10
  import { progressBarStyles } from './vaadin-progress-bar-styles.js';
@@ -42,6 +43,7 @@ registerStyles('vaadin-progress-bar', progressBarStyles, { moduleId: 'vaadin-pro
42
43
  * ----------------|-------------|------------
43
44
  * `indeterminate` | Set to an indeterminate progress bar | :host
44
45
  *
46
+ * @customElement
45
47
  * @extends HTMLElement
46
48
  * @mixes ProgressMixin
47
49
  * @mixes ThemableMixin
@@ -61,6 +63,6 @@ class ProgressBar extends ElementMixin(ThemableMixin(ProgressMixin(PolymerElemen
61
63
  }
62
64
  }
63
65
 
64
- customElements.define(ProgressBar.is, ProgressBar);
66
+ defineCustomElement(ProgressBar);
65
67
 
66
68
  export { ProgressBar };
package/web-types.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/web-types",
3
3
  "name": "@vaadin/progress-bar",
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/progress-bar",
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": {