@refinitiv-ui/elements 6.10.1 → 6.10.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
+ ## [6.10.2](https://github.com/Refinitiv/refinitiv-ui/compare/@refinitiv-ui/elements@6.10.1...@refinitiv-ui/elements@6.10.2) (2023-09-04)
7
+
8
+ ### Bug Fixes
9
+
10
+ - **number-field:** stepUp/stepDown not fire input event ([#925](https://github.com/Refinitiv/refinitiv-ui/issues/925)) ([cb2b994](https://github.com/Refinitiv/refinitiv-ui/commit/cb2b994dbdb0adf520f95f2a1239eab55024106f))
11
+
6
12
  ## [6.10.1](https://github.com/Refinitiv/refinitiv-ui/compare/@refinitiv-ui/elements@6.10.0...@refinitiv-ui/elements@6.10.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. |
@@ -278,6 +278,7 @@ let NumberField = class NumberField extends FormFieldElement {
278
278
  onApplyStep(direction) {
279
279
  try {
280
280
  this.applyStepDirection(direction);
281
+ this.dispatchEvent(new InputEvent('input'));
281
282
  this.setSilentlyValueAndNotify();
282
283
  }
283
284
  catch (error) {
@@ -1213,7 +1213,6 @@ let Slider = class Slider extends ControlElement {
1213
1213
  @blur=${this.onNumberFieldBlur}
1214
1214
  @keydown=${this.onNumberFieldKeyDown}
1215
1215
  @input=${this.onNumberFieldInput}
1216
- @value-changed=${this.onNumberFieldInput}
1217
1216
  part="input"
1218
1217
  name="${name}"
1219
1218
  no-spinner
package/lib/version.js CHANGED
@@ -1 +1 @@
1
- export const VERSION = '6.10.1';
1
+ export const VERSION = '6.10.2';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@refinitiv-ui/elements",
3
- "version": "6.10.1",
3
+ "version": "6.10.2",
4
4
  "description": "Element Framework Elements",
5
5
  "author": "Refinitiv",
6
6
  "license": "Apache-2.0",
@@ -369,5 +369,5 @@
369
369
  "publishConfig": {
370
370
  "access": "public"
371
371
  },
372
- "gitHead": "14f4b70dbd8dc19e883d3b646981bf5f43724e20"
372
+ "gitHead": "298203ce6b7e4ba226af85183213a0d2da350aa5"
373
373
  }