@refinitiv-ui/elements 7.3.1 → 7.3.2

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/CHANGELOG.md CHANGED
@@ -3,6 +3,12 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [7.3.2](https://github.com/Refinitiv/refinitiv-ui/compare/@refinitiv-ui/elements@7.3.1...@refinitiv-ui/elements@7.3.2) (2023-09-04)
7
+
8
+ ### Bug Fixes
9
+
10
+ - **number-field:** stepUp/stepDown not fire input event ([#921](https://github.com/Refinitiv/refinitiv-ui/issues/921)) ([e89e124](https://github.com/Refinitiv/refinitiv-ui/commit/e89e124461cc101bd065fd6262cab64c484d50dc))
11
+
6
12
  ## [7.3.1](https://github.com/Refinitiv/refinitiv-ui/compare/@refinitiv-ui/elements@7.3.0...@refinitiv-ui/elements@7.3.1) (2023-08-28)
7
13
 
8
14
  ### Bug Fixes
@@ -158,6 +158,9 @@
158
158
  {
159
159
  "name": "error-changed",
160
160
  "description": "Fired when user inputs invalid value. The event is not triggered if `error` property is changed programmatically."
161
+ },
162
+ {
163
+ "name": "input"
161
164
  }
162
165
  ],
163
166
  "methods": [
@@ -33,4 +33,5 @@ Form control element for numbers.
33
33
  | Event | Description |
34
34
  |-----------------|--------------------------------------------------|
35
35
  | `error-changed` | Fired when user inputs invalid value. The event is not triggered if `error` property is changed programmatically. |
36
+ | `input` | |
36
37
  | `value-changed` | Fired when user commits a value change. The event is not triggered if `value` property is changed programmatically. |
@@ -276,6 +276,7 @@ let NumberField = class NumberField extends FormFieldElement {
276
276
  onApplyStep(direction) {
277
277
  try {
278
278
  this.applyStepDirection(direction);
279
+ this.dispatchEvent(new InputEvent('input'));
279
280
  this.setSilentlyValueAndNotify();
280
281
  }
281
282
  catch (error) {
@@ -1209,7 +1209,6 @@ let Slider = class Slider extends ControlElement {
1209
1209
  @blur=${this.onNumberFieldBlur}
1210
1210
  @keydown=${this.onNumberFieldKeyDown}
1211
1211
  @input=${this.onNumberFieldInput}
1212
- @value-changed=${this.onNumberFieldInput}
1213
1212
  part="input"
1214
1213
  name="${name}"
1215
1214
  no-spinner
package/lib/version.js CHANGED
@@ -1 +1 @@
1
- export const VERSION = '7.3.1';
1
+ export const VERSION = '7.3.2';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@refinitiv-ui/elements",
3
- "version": "7.3.1",
3
+ "version": "7.3.2",
4
4
  "description": "Element Framework Elements",
5
5
  "author": "Refinitiv",
6
6
  "license": "Apache-2.0",
@@ -371,5 +371,5 @@
371
371
  "publishConfig": {
372
372
  "access": "public"
373
373
  },
374
- "gitHead": "b67b84b5628dfdc902c6250c61dd8f6d31f9ba8c"
374
+ "gitHead": "7926580c28da963085dceeeb27f9f706b627525c"
375
375
  }