@vaadin/field-highlighter 23.0.0-alpha1 → 23.0.0-alpha2

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/field-highlighter",
3
- "version": "23.0.0-alpha1",
3
+ "version": "23.0.0-alpha2",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -34,27 +34,27 @@
34
34
  "dependencies": {
35
35
  "@polymer/iron-a11y-announcer": "^3.0.0",
36
36
  "@polymer/polymer": "^3.0.0",
37
- "@vaadin/component-base": "23.0.0-alpha1",
38
- "@vaadin/vaadin-lumo-styles": "23.0.0-alpha1",
39
- "@vaadin/vaadin-material-styles": "23.0.0-alpha1",
40
- "@vaadin/vaadin-overlay": "23.0.0-alpha1",
41
- "@vaadin/vaadin-themable-mixin": "23.0.0-alpha1",
37
+ "@vaadin/component-base": "23.0.0-alpha2",
38
+ "@vaadin/vaadin-lumo-styles": "23.0.0-alpha2",
39
+ "@vaadin/vaadin-material-styles": "23.0.0-alpha2",
40
+ "@vaadin/vaadin-overlay": "23.0.0-alpha2",
41
+ "@vaadin/vaadin-themable-mixin": "23.0.0-alpha2",
42
42
  "lit": "^2.0.0"
43
43
  },
44
44
  "devDependencies": {
45
45
  "@esm-bundle/chai": "^4.3.4",
46
- "@vaadin/checkbox": "23.0.0-alpha1",
47
- "@vaadin/combo-box": "23.0.0-alpha1",
48
- "@vaadin/date-picker": "23.0.0-alpha1",
49
- "@vaadin/date-time-picker": "23.0.0-alpha1",
50
- "@vaadin/item": "23.0.0-alpha1",
51
- "@vaadin/list-box": "23.0.0-alpha1",
52
- "@vaadin/radio-group": "23.0.0-alpha1",
53
- "@vaadin/select": "23.0.0-alpha1",
54
- "@vaadin/testing-helpers": "^0.3.0",
55
- "@vaadin/text-field": "23.0.0-alpha1",
56
- "@vaadin/time-picker": "23.0.0-alpha1",
46
+ "@vaadin/checkbox": "23.0.0-alpha2",
47
+ "@vaadin/combo-box": "23.0.0-alpha2",
48
+ "@vaadin/date-picker": "23.0.0-alpha2",
49
+ "@vaadin/date-time-picker": "23.0.0-alpha2",
50
+ "@vaadin/item": "23.0.0-alpha2",
51
+ "@vaadin/list-box": "23.0.0-alpha2",
52
+ "@vaadin/radio-group": "23.0.0-alpha2",
53
+ "@vaadin/select": "23.0.0-alpha2",
54
+ "@vaadin/testing-helpers": "^0.3.2",
55
+ "@vaadin/text-field": "23.0.0-alpha2",
56
+ "@vaadin/time-picker": "23.0.0-alpha2",
57
57
  "sinon": "^9.2.1"
58
58
  },
59
- "gitHead": "fbcb07328fdf88260e3b461088d207426b21c710"
59
+ "gitHead": "070f586dead02ca41b66717820c647f48bf1665f"
60
60
  }
@@ -72,7 +72,7 @@ export class DatePickerObserver extends ComponentObserver {
72
72
  }
73
73
 
74
74
  onOverlayFocusOut(event) {
75
- if (event.relatedTarget !== this.datePicker) {
75
+ if (!this.datePicker.contains(event.relatedTarget)) {
76
76
  // Mark as blurred to wait for opened-changed.
77
77
  this.blurWhileOpened = true;
78
78
  }
@@ -88,7 +88,6 @@ export class DatePickerObserver extends ComponentObserver {
88
88
  if (event.detail.value === false && this.blurWhileOpened) {
89
89
  this.blurWhileOpened = false;
90
90
  this.hideOutline(this.datePicker);
91
- return;
92
91
  }
93
92
  }
94
93
  }
@@ -279,7 +279,6 @@ export class UserTags extends PolymerElement {
279
279
 
280
280
  if (this.opened && this.hasFocus) {
281
281
  this.updateTags(users, changedTags);
282
- return;
283
282
  } else if (addedUsers.length && document.visibilityState !== 'hidden') {
284
283
  // Avoid adding to queue if window is not visible.
285
284
  const tags = changedTags.added;