@vaadin/field-highlighter 25.3.2 → 25.3.4

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": "25.3.2",
3
+ "version": "25.3.4",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -32,33 +32,33 @@
32
32
  "field"
33
33
  ],
34
34
  "dependencies": {
35
- "@vaadin/a11y-base": "~25.3.2",
36
- "@vaadin/component-base": "~25.3.2",
37
- "@vaadin/overlay": "~25.3.2",
38
- "@vaadin/popover": "~25.3.2",
39
- "@vaadin/tooltip": "~25.3.2",
40
- "@vaadin/vaadin-themable-mixin": "~25.3.2",
35
+ "@vaadin/a11y-base": "~25.3.4",
36
+ "@vaadin/component-base": "~25.3.4",
37
+ "@vaadin/overlay": "~25.3.4",
38
+ "@vaadin/popover": "~25.3.4",
39
+ "@vaadin/tooltip": "~25.3.4",
40
+ "@vaadin/vaadin-themable-mixin": "~25.3.4",
41
41
  "lit": "^3.0.0"
42
42
  },
43
43
  "devDependencies": {
44
- "@vaadin/aura": "~25.3.2",
45
- "@vaadin/chai-plugins": "~25.3.2",
46
- "@vaadin/checkbox": "~25.3.2",
47
- "@vaadin/checkbox-group": "~25.3.2",
48
- "@vaadin/custom-field": "~25.3.2",
49
- "@vaadin/date-picker": "~25.3.2",
50
- "@vaadin/date-time-picker": "~25.3.2",
51
- "@vaadin/item": "~25.3.2",
52
- "@vaadin/list-box": "~25.3.2",
53
- "@vaadin/radio-group": "~25.3.2",
54
- "@vaadin/select": "~25.3.2",
55
- "@vaadin/test-runner-commands": "~25.3.2",
44
+ "@vaadin/aura": "~25.3.4",
45
+ "@vaadin/chai-plugins": "~25.3.4",
46
+ "@vaadin/checkbox": "~25.3.4",
47
+ "@vaadin/checkbox-group": "~25.3.4",
48
+ "@vaadin/custom-field": "~25.3.4",
49
+ "@vaadin/date-picker": "~25.3.4",
50
+ "@vaadin/date-time-picker": "~25.3.4",
51
+ "@vaadin/item": "~25.3.4",
52
+ "@vaadin/list-box": "~25.3.4",
53
+ "@vaadin/radio-group": "~25.3.4",
54
+ "@vaadin/select": "~25.3.4",
55
+ "@vaadin/test-runner-commands": "~25.3.4",
56
56
  "@vaadin/testing-helpers": "^2.0.0",
57
- "@vaadin/text-area": "~25.3.2",
58
- "@vaadin/text-field": "~25.3.2",
59
- "@vaadin/time-picker": "~25.3.2",
60
- "@vaadin/vaadin-lumo-styles": "~25.3.2",
57
+ "@vaadin/text-area": "~25.3.4",
58
+ "@vaadin/text-field": "~25.3.4",
59
+ "@vaadin/time-picker": "~25.3.4",
60
+ "@vaadin/vaadin-lumo-styles": "~25.3.4",
61
61
  "sinon": "^22.0.0"
62
62
  },
63
- "gitHead": "3f75254a3f77da3977cb79a77f549f37b8a5d54e"
63
+ "gitHead": "10d0b4f1accc697ccc701265159d8f9314bf9851"
64
64
  }
@@ -698,9 +698,12 @@ class AiFieldMarker extends SlotStylesMixin(I18nMixin(DirMixin(PolylitMixin(LitE
698
698
  this.#capturedValue = this.#annotatedValue();
699
699
 
700
700
  if (this.working) {
701
- // Apply the working state directly: on a reconnect no `working`
702
- // property change triggers updated(), which handles the first connect.
703
- this.#startWorking();
701
+ // Enter the working state in the update the connect requested, not
702
+ // right away: the host may still change the field in the same task, for
703
+ // example Flow applying the field's read-only state from the same
704
+ // server response after adding the marker, and the read-only state to
705
+ // restore must include that change.
706
+ this.requestUpdate('working', false);
704
707
  } else {
705
708
  this.#announcePending = true;
706
709
  }