@vaadin/field-highlighter 23.2.0-dev.53560527d → 23.2.0

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/README.md CHANGED
@@ -4,7 +4,7 @@ A set of field helpers used by [Vaadin Collaboration Engine](https://vaadin.com/
4
4
 
5
5
  ## Contributing
6
6
 
7
- Read the [contributing guide](https://vaadin.com/docs/latest/guide/contributing/overview) to learn about our development process, how to propose bugfixes and improvements, and how to test your changes to Vaadin components.
7
+ Read the [contributing guide](https://vaadin.com/docs/latest/contributing/overview) to learn about our development process, how to propose bugfixes and improvements, and how to test your changes to Vaadin components.
8
8
 
9
9
  ## License
10
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vaadin/field-highlighter",
3
- "version": "23.2.0-dev.53560527d",
3
+ "version": "23.2.0",
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-dev.53560527d",
38
- "@vaadin/vaadin-lumo-styles": "23.2.0-dev.53560527d",
39
- "@vaadin/vaadin-material-styles": "23.2.0-dev.53560527d",
40
- "@vaadin/vaadin-overlay": "23.2.0-dev.53560527d",
41
- "@vaadin/vaadin-themable-mixin": "23.2.0-dev.53560527d",
37
+ "@vaadin/component-base": "^23.2.0",
38
+ "@vaadin/vaadin-lumo-styles": "^23.2.0",
39
+ "@vaadin/vaadin-material-styles": "^23.2.0",
40
+ "@vaadin/vaadin-overlay": "^23.2.0",
41
+ "@vaadin/vaadin-themable-mixin": "^23.2.0",
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-dev.53560527d",
47
- "@vaadin/combo-box": "23.2.0-dev.53560527d",
48
- "@vaadin/date-picker": "23.2.0-dev.53560527d",
49
- "@vaadin/date-time-picker": "23.2.0-dev.53560527d",
50
- "@vaadin/item": "23.2.0-dev.53560527d",
51
- "@vaadin/list-box": "23.2.0-dev.53560527d",
52
- "@vaadin/radio-group": "23.2.0-dev.53560527d",
53
- "@vaadin/select": "23.2.0-dev.53560527d",
46
+ "@vaadin/checkbox": "^23.2.0",
47
+ "@vaadin/combo-box": "^23.2.0",
48
+ "@vaadin/date-picker": "^23.2.0",
49
+ "@vaadin/date-time-picker": "^23.2.0",
50
+ "@vaadin/item": "^23.2.0",
51
+ "@vaadin/list-box": "^23.2.0",
52
+ "@vaadin/radio-group": "^23.2.0",
53
+ "@vaadin/select": "^23.2.0",
54
54
  "@vaadin/testing-helpers": "^0.3.2",
55
- "@vaadin/text-field": "23.2.0-dev.53560527d",
56
- "@vaadin/time-picker": "23.2.0-dev.53560527d",
55
+ "@vaadin/text-field": "^23.2.0",
56
+ "@vaadin/time-picker": "^23.2.0",
57
57
  "sinon": "^13.0.2"
58
58
  },
59
- "gitHead": "6c5c18369b09e22e76365d8a8a5e4bbb220f969b"
59
+ "gitHead": "8b1f5941f26ac41ca038e75e24c8584e331bc7a8"
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
  };