@refinitiv-ui/elements 6.5.0 → 6.5.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,23 +3,18 @@
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.5.0](https://github.com/Refinitiv/refinitiv-ui/compare/@refinitiv-ui/elements@6.3.0...@refinitiv-ui/elements@6.5.0) (2022-11-07)
6
+ ## [6.5.1](https://github.com/Refinitiv/refinitiv-ui/compare/@refinitiv-ui/elements@6.5.0...@refinitiv-ui/elements@6.5.1) (2022-11-21)
7
7
 
8
8
 
9
9
  ### Bug Fixes
10
10
 
11
- * **button:** change button and icon transparent outline style ([#515](https://github.com/Refinitiv/refinitiv-ui/issues/515)) ([4ba091c](https://github.com/Refinitiv/refinitiv-ui/commit/4ba091c2c11da06ce1218908a3ddb3cc18d9b412))
11
+ * **tree:** uncheckAllItems method not update checked state of parent node ([#526](https://github.com/Refinitiv/refinitiv-ui/issues/526)) ([a36e837](https://github.com/Refinitiv/refinitiv-ui/commit/a36e837bdeeb1fe62e54ec040678490b9e68a134))
12
12
 
13
13
 
14
- ### Features
15
-
16
- * **color-picker:** add accessibility ([#448](https://github.com/Refinitiv/refinitiv-ui/issues/448)) ([ced3b20](https://github.com/Refinitiv/refinitiv-ui/commit/ced3b208ab817975923a2feeba1f6488d30f046a))
17
14
 
18
15
 
19
16
 
20
-
21
-
22
- # [6.4.0](https://github.com/Refinitiv/refinitiv-ui/compare/@refinitiv-ui/elements@6.3.0...@refinitiv-ui/elements@6.4.0) (2022-11-07)
17
+ # [6.5.0](https://github.com/Refinitiv/refinitiv-ui/compare/@refinitiv-ui/elements@6.3.0...@refinitiv-ui/elements@6.5.0) (2022-11-07)
23
18
 
24
19
 
25
20
  ### Bug Fixes
@@ -35,6 +30,14 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
35
30
 
36
31
 
37
32
 
33
+ # [6.4.0](https://github.com/Refinitiv/refinitiv-ui/compare/@refinitiv-ui/elements@6.3.0...@refinitiv-ui/elements@6.4.0) (2022-11-07)
34
+
35
+
36
+ **Note:** Version bump only for package @refinitiv-ui/elements
37
+
38
+
39
+
40
+
38
41
  # [6.3.0](https://github.com/Refinitiv/refinitiv-ui/compare/@refinitiv-ui/elements@6.2.2...@refinitiv-ui/elements@6.3.0) (2022-10-26)
39
42
 
40
43
 
@@ -366,6 +366,7 @@ export class TreeManager {
366
366
  this.forceUpdateOnPath(item);
367
367
  this.getItemDescendants(item).forEach(descendant => this._uncheckItem(descendant, false));
368
368
  }
369
+ this.updateItem(item);
369
370
  return true;
370
371
  }
371
372
  return false;
@@ -390,6 +391,8 @@ export class TreeManager {
390
391
  * @returns {void}
391
392
  */
392
393
  uncheckAllItems() {
393
- this.editableItems.forEach(item => this.uncheckItem(item));
394
+ // uncheck items from top levels when manage relationships to avoid redundant re-renders
395
+ const items = this.manageRelationships ? this.composer.queryItems(() => true, 0) : this.checkedItems;
396
+ items.forEach(item => this.uncheckItem(item));
394
397
  }
395
398
  }
package/lib/version.js CHANGED
@@ -1 +1 @@
1
- export const VERSION = '6.5.0';
1
+ export const VERSION = '6.5.1';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@refinitiv-ui/elements",
3
- "version": "6.5.0",
3
+ "version": "6.5.1",
4
4
  "description": "Element Framework Elements",
5
5
  "author": "LSEG",
6
6
  "license": "Apache-2.0",
@@ -362,5 +362,5 @@
362
362
  "publishConfig": {
363
363
  "access": "public"
364
364
  },
365
- "gitHead": "f56a840063baf7410faa72fe11513c394329fbaa"
365
+ "gitHead": "e20d34e9c22e44c3b1f999c5caf07f14647f3ebf"
366
366
  }