@vaadin/checkbox-group 24.2.0-alpha1 → 24.2.0-alpha3

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-group",
3
- "version": "24.2.0-alpha1",
3
+ "version": "24.2.0-alpha3",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -36,13 +36,13 @@
36
36
  ],
37
37
  "dependencies": {
38
38
  "@polymer/polymer": "^3.0.0",
39
- "@vaadin/a11y-base": "24.2.0-alpha1",
40
- "@vaadin/checkbox": "24.2.0-alpha1",
41
- "@vaadin/component-base": "24.2.0-alpha1",
42
- "@vaadin/field-base": "24.2.0-alpha1",
43
- "@vaadin/vaadin-lumo-styles": "24.2.0-alpha1",
44
- "@vaadin/vaadin-material-styles": "24.2.0-alpha1",
45
- "@vaadin/vaadin-themable-mixin": "24.2.0-alpha1"
39
+ "@vaadin/a11y-base": "24.2.0-alpha3",
40
+ "@vaadin/checkbox": "24.2.0-alpha3",
41
+ "@vaadin/component-base": "24.2.0-alpha3",
42
+ "@vaadin/field-base": "24.2.0-alpha3",
43
+ "@vaadin/vaadin-lumo-styles": "24.2.0-alpha3",
44
+ "@vaadin/vaadin-material-styles": "24.2.0-alpha3",
45
+ "@vaadin/vaadin-themable-mixin": "24.2.0-alpha3"
46
46
  },
47
47
  "devDependencies": {
48
48
  "@esm-bundle/chai": "^4.3.4",
@@ -53,5 +53,5 @@
53
53
  "web-types.json",
54
54
  "web-types.lit.json"
55
55
  ],
56
- "gitHead": "0dbb118320203ab6c0c07450a3e718815367589f"
56
+ "gitHead": "e5d1e1ed2d01b56d5922e18a3fcb7cd306351954"
57
57
  }
@@ -354,7 +354,9 @@ class CheckboxGroup extends FieldMixin(FocusMixin(DisabledMixin(ElementMixin(The
354
354
  _setFocused(focused) {
355
355
  super._setFocused(focused);
356
356
 
357
- if (!focused) {
357
+ // Do not validate when focusout is caused by document
358
+ // losing focus, which happens on browser tab switch.
359
+ if (!focused && document.hasFocus()) {
358
360
  this.validate();
359
361
  }
360
362
  }
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-group",
4
- "version": "24.2.0-alpha1",
4
+ "version": "24.2.0-alpha3",
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-group",
4
- "version": "24.2.0-alpha1",
4
+ "version": "24.2.0-alpha3",
5
5
  "description-markup": "markdown",
6
6
  "framework": "lit",
7
7
  "framework-config": {