@vaadin/form-layout 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/form-layout",
3
- "version": "24.2.0-alpha9",
3
+ "version": "24.2.0-beta1",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -36,21 +36,21 @@
36
36
  ],
37
37
  "dependencies": {
38
38
  "@polymer/polymer": "^3.0.0",
39
- "@vaadin/component-base": "24.2.0-alpha9",
40
- "@vaadin/vaadin-lumo-styles": "24.2.0-alpha9",
41
- "@vaadin/vaadin-material-styles": "24.2.0-alpha9",
42
- "@vaadin/vaadin-themable-mixin": "24.2.0-alpha9"
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/custom-field": "24.2.0-alpha9",
46
+ "@vaadin/custom-field": "24.2.0-beta1",
47
47
  "@vaadin/testing-helpers": "^0.5.0",
48
- "@vaadin/text-field": "24.2.0-alpha9",
48
+ "@vaadin/text-field": "24.2.0-beta1",
49
49
  "sinon": "^13.0.2"
50
50
  },
51
51
  "web-types": [
52
52
  "web-types.json",
53
53
  "web-types.lit.json"
54
54
  ],
55
- "gitHead": "e9765733fea96542e379e02e6f42b07145893140"
55
+ "gitHead": "67c8eef57d1c59e7476e29adaf003cf4548878f2"
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 { addValueToAttribute, removeValueFromAttribute } from '@vaadin/component-base/src/dom-utils.js';
8
9
  import { generateUniqueId } from '@vaadin/component-base/src/unique-id-utils.js';
9
10
  import { ThemableMixin } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js';
@@ -87,6 +88,7 @@ import { ThemableMixin } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mix
87
88
  *
88
89
  * See [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.
89
90
  *
91
+ * @customElement
90
92
  * @extends HTMLElement
91
93
  * @mixes ThemableMixin
92
94
  */
@@ -329,6 +331,6 @@ Please wrap fields with a <vaadin-custom-field> instead.`,
329
331
  }
330
332
  }
331
333
 
332
- customElements.define(FormItem.is, FormItem);
334
+ defineCustomElement(FormItem);
333
335
 
334
336
  export { FormItem };
@@ -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 { ResizeMixin } from '@vaadin/component-base/src/resize-mixin.js';
9
10
  import { ThemableMixin } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js';
@@ -98,6 +99,7 @@ import { ThemableMixin } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mix
98
99
  * ---|---|---
99
100
  * `--vaadin-form-layout-column-spacing` | Length of the spacing between columns | `2em`
100
101
  *
102
+ * @customElement
101
103
  * @extends HTMLElement
102
104
  * @mixes ElementMixin
103
105
  * @mixes ThemableMixin
@@ -546,6 +548,6 @@ class FormLayout extends ResizeMixin(ElementMixin(ThemableMixin(PolymerElement))
546
548
  }
547
549
  }
548
550
 
549
- customElements.define(FormLayout.is, FormLayout);
551
+ defineCustomElement(FormLayout);
550
552
 
551
553
  export { FormLayout };
package/web-types.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/web-types",
3
3
  "name": "@vaadin/form-layout",
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/form-layout",
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": {