@vaadin/checkbox 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/checkbox",
3
- "version": "24.2.0-alpha9",
3
+ "version": "24.2.0-beta1",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -39,12 +39,12 @@
39
39
  "dependencies": {
40
40
  "@open-wc/dedupe-mixin": "^1.3.0",
41
41
  "@polymer/polymer": "^3.0.0",
42
- "@vaadin/a11y-base": "24.2.0-alpha9",
43
- "@vaadin/component-base": "24.2.0-alpha9",
44
- "@vaadin/field-base": "24.2.0-alpha9",
45
- "@vaadin/vaadin-lumo-styles": "24.2.0-alpha9",
46
- "@vaadin/vaadin-material-styles": "24.2.0-alpha9",
47
- "@vaadin/vaadin-themable-mixin": "24.2.0-alpha9",
42
+ "@vaadin/a11y-base": "24.2.0-beta1",
43
+ "@vaadin/component-base": "24.2.0-beta1",
44
+ "@vaadin/field-base": "24.2.0-beta1",
45
+ "@vaadin/vaadin-lumo-styles": "24.2.0-beta1",
46
+ "@vaadin/vaadin-material-styles": "24.2.0-beta1",
47
+ "@vaadin/vaadin-themable-mixin": "24.2.0-beta1",
48
48
  "lit": "^2.0.0"
49
49
  },
50
50
  "devDependencies": {
@@ -56,5 +56,5 @@
56
56
  "web-types.json",
57
57
  "web-types.lit.json"
58
58
  ],
59
- "gitHead": "e9765733fea96542e379e02e6f42b07145893140"
59
+ "gitHead": "67c8eef57d1c59e7476e29adaf003cf4548878f2"
60
60
  }
@@ -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 { TooltipController } from '@vaadin/component-base/src/tooltip-controller.js';
9
10
  import { registerStyles, ThemableMixin } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js';
@@ -44,6 +45,7 @@ registerStyles('vaadin-checkbox', checkboxStyles, { moduleId: 'vaadin-checkbox-s
44
45
  * @fires {CustomEvent} checked-changed - Fired when the `checked` property changes.
45
46
  * @fires {CustomEvent} indeterminate-changed - Fired when the `indeterminate` property changes.
46
47
  *
48
+ * @customElement
47
49
  * @extends HTMLElement
48
50
  * @mixes CheckboxMixin
49
51
  * @mixes ThemableMixin
@@ -70,8 +72,9 @@ export class Checkbox extends CheckboxMixin(ElementMixin(ThemableMixin(PolymerEl
70
72
  super.ready();
71
73
 
72
74
  this._tooltipController = new TooltipController(this);
75
+ this._tooltipController.setAriaTarget(this.inputElement);
73
76
  this.addController(this._tooltipController);
74
77
  }
75
78
  }
76
79
 
77
- customElements.define(Checkbox.is, Checkbox);
80
+ defineCustomElement(Checkbox);
package/web-types.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/web-types",
3
3
  "name": "@vaadin/checkbox",
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/checkbox",
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": {