@vaadin/field-highlighter 23.2.0-alpha1 → 23.2.0-alpha4

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.2.0-alpha1",
3
+ "version": "23.2.0-alpha4",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -34,27 +34,27 @@
34
34
  ],
35
35
  "dependencies": {
36
36
  "@polymer/polymer": "^3.0.0",
37
- "@vaadin/component-base": "23.2.0-alpha1",
38
- "@vaadin/vaadin-lumo-styles": "23.2.0-alpha1",
39
- "@vaadin/vaadin-material-styles": "23.2.0-alpha1",
40
- "@vaadin/vaadin-overlay": "23.2.0-alpha1",
41
- "@vaadin/vaadin-themable-mixin": "23.2.0-alpha1",
37
+ "@vaadin/component-base": "23.2.0-alpha4",
38
+ "@vaadin/vaadin-lumo-styles": "23.2.0-alpha4",
39
+ "@vaadin/vaadin-material-styles": "23.2.0-alpha4",
40
+ "@vaadin/vaadin-overlay": "23.2.0-alpha4",
41
+ "@vaadin/vaadin-themable-mixin": "23.2.0-alpha4",
42
42
  "lit": "^2.0.0"
43
43
  },
44
44
  "devDependencies": {
45
45
  "@esm-bundle/chai": "^4.3.4",
46
- "@vaadin/checkbox": "23.2.0-alpha1",
47
- "@vaadin/combo-box": "23.2.0-alpha1",
48
- "@vaadin/date-picker": "23.2.0-alpha1",
49
- "@vaadin/date-time-picker": "23.2.0-alpha1",
50
- "@vaadin/item": "23.2.0-alpha1",
51
- "@vaadin/list-box": "23.2.0-alpha1",
52
- "@vaadin/radio-group": "23.2.0-alpha1",
53
- "@vaadin/select": "23.2.0-alpha1",
46
+ "@vaadin/checkbox": "23.2.0-alpha4",
47
+ "@vaadin/combo-box": "23.2.0-alpha4",
48
+ "@vaadin/date-picker": "23.2.0-alpha4",
49
+ "@vaadin/date-time-picker": "23.2.0-alpha4",
50
+ "@vaadin/item": "23.2.0-alpha4",
51
+ "@vaadin/list-box": "23.2.0-alpha4",
52
+ "@vaadin/radio-group": "23.2.0-alpha4",
53
+ "@vaadin/select": "23.2.0-alpha4",
54
54
  "@vaadin/testing-helpers": "^0.3.2",
55
- "@vaadin/text-field": "23.2.0-alpha1",
56
- "@vaadin/time-picker": "23.2.0-alpha1",
55
+ "@vaadin/text-field": "23.2.0-alpha4",
56
+ "@vaadin/time-picker": "23.2.0-alpha4",
57
57
  "sinon": "^13.0.2"
58
58
  },
59
- "gitHead": "f226a2976c270d3d53c824f6e0a740a5d3382d91"
59
+ "gitHead": "cbf5f1d0f38ac9b81c65cf9ef5660182e176e598"
60
60
  }
@@ -3,7 +3,7 @@
3
3
  * Copyright (c) 2021 - 2022 Vaadin Ltd.
4
4
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
5
5
  */
6
- import { ReactiveController } from 'lit';
6
+ import type { ReactiveController } from 'lit';
7
7
 
8
8
  export interface FieldHighlighterUser {
9
9
  id: number;
@@ -343,7 +343,9 @@ export class UserTags extends PolymerElement {
343
343
 
344
344
  // Hide existing tags
345
345
  const hidden = Array.from(wrapper.children);
346
- hidden.forEach((tag) => (tag.style.display = 'none'));
346
+ hidden.forEach((tag) => {
347
+ tag.style.display = 'none';
348
+ });
347
349
 
348
350
  // Render new tags
349
351
  added.forEach((tag) => {
@@ -363,7 +365,9 @@ export class UserTags extends PolymerElement {
363
365
  this._debounceFlashEnd = Debouncer.debounce(this._debounceFlashEnd, timeOut.after(this.duration), () => {
364
366
  // Show all tags
365
367
  const finishFlash = () => {
366
- hidden.forEach((tag) => (tag.style.display = 'block'));
368
+ hidden.forEach((tag) => {
369
+ tag.style.display = 'block';
370
+ });
367
371
  this.flashing = false;
368
372
  resolve();
369
373
  };