@vaadin/horizontal-layout 24.2.0-alpha8 → 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/horizontal-layout",
3
- "version": "24.2.0-alpha8",
3
+ "version": "24.2.0-beta1",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -36,18 +36,18 @@
36
36
  ],
37
37
  "dependencies": {
38
38
  "@polymer/polymer": "^3.0.0",
39
- "@vaadin/component-base": "24.2.0-alpha8",
40
- "@vaadin/vaadin-lumo-styles": "24.2.0-alpha8",
41
- "@vaadin/vaadin-material-styles": "24.2.0-alpha8",
42
- "@vaadin/vaadin-themable-mixin": "24.2.0-alpha8"
39
+ "@vaadin/component-base": "24.2.0-beta1",
40
+ "@vaadin/vaadin-lumo-styles": "24.2.0-beta1",
41
+ "@vaadin/vaadin-material-styles": "24.2.0-beta1",
42
+ "@vaadin/vaadin-themable-mixin": "24.2.0-beta1"
43
43
  },
44
44
  "devDependencies": {
45
45
  "@esm-bundle/chai": "^4.3.4",
46
- "@vaadin/testing-helpers": "^0.4.3"
46
+ "@vaadin/testing-helpers": "^0.5.0"
47
47
  },
48
48
  "web-types": [
49
49
  "web-types.json",
50
50
  "web-types.lit.json"
51
51
  ],
52
- "gitHead": "2c024e8fd462d178430418f76a61f498fb549998"
52
+ "gitHead": "67c8eef57d1c59e7476e29adaf003cf4548878f2"
53
53
  }
@@ -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 { ThemableMixin } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js';
9
10
 
@@ -27,6 +28,7 @@ import { ThemableMixin } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mix
27
28
  * `theme="padding"` | Applies the default amount of CSS padding for the host element (specified by the theme)
28
29
  * `theme="spacing"` | Applies the default amount of CSS margin between items (specified by the theme)
29
30
  *
31
+ * @customElement
30
32
  * @extends HTMLElement
31
33
  * @mixes ThemableMixin
32
34
  * @mixes ElementMixin
@@ -67,6 +69,6 @@ class HorizontalLayout extends ElementMixin(ThemableMixin(PolymerElement)) {
67
69
  }
68
70
  }
69
71
 
70
- customElements.define(HorizontalLayout.is, HorizontalLayout);
72
+ defineCustomElement(HorizontalLayout);
71
73
 
72
74
  export { HorizontalLayout };
package/web-types.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/web-types",
3
3
  "name": "@vaadin/horizontal-layout",
4
- "version": "24.2.0-alpha8",
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/horizontal-layout",
4
- "version": "24.2.0-alpha8",
4
+ "version": "24.2.0-beta1",
5
5
  "description-markup": "markdown",
6
6
  "framework": "lit",
7
7
  "framework-config": {