@refinitiv-ui/elements 7.10.0 → 7.10.1

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,10 @@
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.10.1](https://github.com/Refinitiv/refinitiv-ui/compare/@refinitiv-ui/elements@7.10.0...@refinitiv-ui/elements@7.10.1) (2024-01-02)
7
+
8
+ **Note:** Version bump only for package @refinitiv-ui/elements
9
+
6
10
  # [7.10.0](https://github.com/Refinitiv/refinitiv-ui/compare/@refinitiv-ui/elements@7.9.1...@refinitiv-ui/elements@7.10.0) (2023-12-12)
7
11
 
8
12
  ### Bug Fixes
@@ -25,13 +25,13 @@ custom rendering, pagination, asynchronous data request, etc.
25
25
 
26
26
  ## Methods
27
27
 
28
- | Method | Type | Description |
29
- |----------------------|----------------------|--------------------------------------------------|
30
- | `onInputBlur` | `(event: any): void` | Run when input has lost focus<br /><br />**event**: by default `blur` event is listened |
31
- | `onInputFocus` | `(event: any): void` | Run when input received focus<br /><br />**event**: by default `focus` event is listened |
32
- | `onInputKeyDown` | `(event: any): void` | Run when input key down event has happened<br /><br />**event**: by default `keydown` event is listened |
33
- | `onInputValueChange` | `(event: any): void` | Run when attach target value changes.<br /><br />**event**: by default `value-changed` event is listened |
34
- | `refit` | `(): void` | Set the width |
28
+ | Method | Type | Description |
29
+ |----------------------|--------------------------------|--------------------------------------------------|
30
+ | `onInputBlur` | `(event: FocusEvent): void` | Run when input has lost focus<br /><br />**event**: by default `blur` event is listened |
31
+ | `onInputFocus` | `(event: FocusEvent): void` | Run when input received focus<br /><br />**event**: by default `focus` event is listened |
32
+ | `onInputKeyDown` | `(event: KeyboardEvent): void` | Run when input key down event has happened<br /><br />**event**: by default `keydown` event is listened |
33
+ | `onInputValueChange` | `(event: Event): void` | Run when attach target value changes.<br /><br />**event**: by default `value-changed` event is listened |
34
+ | `refit` | `(): void` | Set the width |
35
35
 
36
36
  ## Events
37
37
 
@@ -37,10 +37,10 @@ A form control element for datetime input.
37
37
 
38
38
  ## Methods
39
39
 
40
- | Method | Type | Description |
41
- |-----------------|----------------------------------|--------------------------------------------------|
42
- | `checkValidity` | `(): boolean` | Returns true if an input element contains valid data. |
43
- | `willUpdate` | `(changedProperties: any): void` | Updates the element<br /><br />**changedProperties**: Properties that has changed |
40
+ | Method | Type | Description |
41
+ |-----------------|---------------------------------------------|--------------------------------------------------|
42
+ | `checkValidity` | `(): boolean` | Returns true if an input element contains valid data. |
43
+ | `willUpdate` | `(changedProperties: PropertyValues): void` | Updates the element<br /><br />**changedProperties**: Properties that has changed |
44
44
 
45
45
  ## Events
46
46
 
@@ -25,9 +25,9 @@ An input control component to display a selection of pills
25
25
 
26
26
  | Method | Type | Description |
27
27
  |---------------------|--------------------------------------------------|--------------------------------------------------|
28
- | `add` | `(item: any): MultiInputDataItem \| null` | Add a new item to the input. Return newly added object or null if added invalid object.<br /><br />**item**: to add. Object must have at least value and label |
28
+ | `add` | `(item: MultiInputDataItem): MultiInputDataItem \| null` | Add a new item to the input. Return newly added object or null if added invalid object.<br /><br />**item**: to add. Object must have at least value and label |
29
29
  | `removeByIndex` | `(index: number): MultiInputDataItem \| null` | Removes pill by index. Returns item that removed or null if list was empty<br /><br />**index**: of pill to be removed |
30
- | `removeByValue` | `(value: string): string` | Removes the item by the value and returns array of removed items<br /><br />**value**: Value of item to remove |
30
+ | `removeByValue` | `(value: string): MultiInputData` | Removes the item by the value and returns array of removed items<br /><br />**value**: Value of item to remove |
31
31
  | `removeLastItem` | `(): MultiInputDataItem \| null` | Removes last item. Returns item that removed or null if list was empty |
32
32
  | `select` | `(): void` | Select the contents of input |
33
33
  | `setSelectionRange` | `(startSelection: number, endSelection: number): void` | Set the selection range<br /><br />**startSelection**: Start of selection<br />**endSelection**: End of the selection |
package/lib/version.js CHANGED
@@ -1 +1 @@
1
- export const VERSION = '7.10.0';
1
+ export const VERSION = '7.10.1';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@refinitiv-ui/elements",
3
- "version": "7.10.0",
3
+ "version": "7.10.1",
4
4
  "description": "Element Framework Elements",
5
5
  "author": "LSEG",
6
6
  "license": "Apache-2.0",
@@ -15,7 +15,7 @@
15
15
  "directory": "packages/elements"
16
16
  },
17
17
  "engines": {
18
- "node": ">=16.11.0",
18
+ "node": ">=18.0.0",
19
19
  "npm": ">=8.0.0"
20
20
  },
21
21
  "typesVersions": {
@@ -342,8 +342,8 @@
342
342
  },
343
343
  "dependencies": {
344
344
  "@lit-labs/context": "^0.3.1",
345
- "@refinitiv-ui/halo-theme": "^7.3.0",
346
- "@refinitiv-ui/solar-theme": "^7.2.1",
345
+ "@refinitiv-ui/halo-theme": "^7.3.1",
346
+ "@refinitiv-ui/solar-theme": "^7.2.2",
347
347
  "chart.js": "^4.3.0",
348
348
  "chartjs-adapter-date-fns": "^3.0.0",
349
349
  "d3-interpolate": "^3.0.1",
@@ -354,24 +354,24 @@
354
354
  },
355
355
  "devDependencies": {
356
356
  "@refinitiv-ui/core": "^7.4.0",
357
- "@refinitiv-ui/demo-block": "^7.1.2",
358
- "@refinitiv-ui/i18n": "^7.1.1",
357
+ "@refinitiv-ui/demo-block": "^7.1.3",
358
+ "@refinitiv-ui/i18n": "^7.1.2",
359
359
  "@refinitiv-ui/phrasebook": "^7.1.0",
360
360
  "@refinitiv-ui/test-helpers": "^7.1.0",
361
- "@refinitiv-ui/translate": "^7.1.2",
361
+ "@refinitiv-ui/translate": "^7.1.3",
362
362
  "@refinitiv-ui/utils": "^7.2.0",
363
363
  "@types/d3-interpolate": "^3.0.1"
364
364
  },
365
365
  "peerDependencies": {
366
366
  "@refinitiv-ui/browser-sparkline": "^1.0.0 || ^2.0.0",
367
367
  "@refinitiv-ui/core": "^7.4.0",
368
- "@refinitiv-ui/i18n": "^7.1.1",
368
+ "@refinitiv-ui/i18n": "^7.1.2",
369
369
  "@refinitiv-ui/phrasebook": "^7.1.0",
370
- "@refinitiv-ui/translate": "^7.1.2",
370
+ "@refinitiv-ui/translate": "^7.1.3",
371
371
  "@refinitiv-ui/utils": "^7.2.0"
372
372
  },
373
373
  "publishConfig": {
374
374
  "access": "public"
375
375
  },
376
- "gitHead": "aba2d8130acbad1a96ed199d1a21e2355fc3521e"
376
+ "gitHead": "5f0d82b53f13adc68c807db63fbe622d6e1e05c9"
377
377
  }