@vaadin/radio-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/radio-group",
3
- "version": "24.2.0-alpha1",
3
+ "version": "24.2.0-alpha3",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -38,12 +38,12 @@
38
38
  ],
39
39
  "dependencies": {
40
40
  "@polymer/polymer": "^3.0.0",
41
- "@vaadin/a11y-base": "24.2.0-alpha1",
42
- "@vaadin/component-base": "24.2.0-alpha1",
43
- "@vaadin/field-base": "24.2.0-alpha1",
44
- "@vaadin/vaadin-lumo-styles": "24.2.0-alpha1",
45
- "@vaadin/vaadin-material-styles": "24.2.0-alpha1",
46
- "@vaadin/vaadin-themable-mixin": "24.2.0-alpha1"
41
+ "@vaadin/a11y-base": "24.2.0-alpha3",
42
+ "@vaadin/component-base": "24.2.0-alpha3",
43
+ "@vaadin/field-base": "24.2.0-alpha3",
44
+ "@vaadin/vaadin-lumo-styles": "24.2.0-alpha3",
45
+ "@vaadin/vaadin-material-styles": "24.2.0-alpha3",
46
+ "@vaadin/vaadin-themable-mixin": "24.2.0-alpha3"
47
47
  },
48
48
  "devDependencies": {
49
49
  "@esm-bundle/chai": "^4.3.4",
@@ -54,5 +54,5 @@
54
54
  "web-types.json",
55
55
  "web-types.lit.json"
56
56
  ],
57
- "gitHead": "0dbb118320203ab6c0c07450a3e718815367589f"
57
+ "gitHead": "e5d1e1ed2d01b56d5922e18a3fcb7cd306351954"
58
58
  }
@@ -459,7 +459,9 @@ class RadioGroup extends FieldMixin(
459
459
  _setFocused(focused) {
460
460
  super._setFocused(focused);
461
461
 
462
- if (!focused) {
462
+ // Do not validate when focusout is caused by document
463
+ // losing focus, which happens on browser tab switch.
464
+ if (!focused && document.hasFocus()) {
463
465
  this.validate();
464
466
  }
465
467
  }
package/web-types.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/web-types",
3
3
  "name": "@vaadin/radio-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/radio-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": {