@itwin/tree-widget-react 1.0.0-dev.8 → 1.0.0

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.
Files changed (2) hide show
  1. package/CHANGELOG.md +36 -1
  2. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,6 +1,41 @@
1
1
  # Change Log - @itwin/tree-widget-react
2
2
 
3
- This log was last generated on Tue, 23 May 2023 13:16:11 GMT and should not be manually modified.
3
+ This log was last generated on Mon, 31 Jul 2023 14:10:09 GMT and should not be manually modified.
4
+
5
+ ## 1.0.0
6
+ Mon, 31 Jul 2023 14:10:09 GMT
7
+
8
+ ### Breaking changes
9
+
10
+ - Trees: Make eye checkboxes static on horizontal scroll.
11
+ - `createVisibilityTreeNodeRenderer` now takes a `props` object of type `VisibilityTreeNodeRendererProps`. It contains two new configuration options: `levelOffset`, and `disableRootNodeCollapse`.
12
+ - Rename `useVisibilityTreeRenderer` to `createVisibilityTreeRenderer`. It now takes a `props` object of type `VisibilityTreeRendererProps`
13
+ - Bumped AppUI peer dependencies to `^4.3.0`.
14
+ - Renamed `TreeWidgetComponent` to `SelectableTree`.
15
+ - Widget: Reworked the way trees are provided to the widget. Instead of having separate configuration properties for hiding default trees and adding additional trees now there is only one property for supplying a list of trees to show.
16
+ - Refactored `IModelContentTreeProps` to not inherit `HTMLDivElement` props.
17
+ - `IVisibilityHandler`: Methods `getVisibilityStatus` and `changeVisibility` don't take `NodeKey` argument anymore.
18
+ - Models tree: `ModelsTreeProps.enableElementsClassGrouping` has been moved to `ModelsTreeProps.hierarchyConfig.enableElementsClassGrouping`.
19
+
20
+ ### Minor changes
21
+
22
+ - Models tree: Removed expansion toggle for root node.
23
+ - Widget: Added ability to conditionally show trees.
24
+ - Trees: Decrease whitespace size between the node label and eye checkbox.
25
+ - Added base tree props interface for props shared between trees.
26
+ - External sources tree: Add `ExternalSourcesTreeComponent` (currently `@alpha`).
27
+ - Models tree: Added an option to specialize the class of geometric elements loaded into the hierarchy (see `ModelsTreeHierarchyConfiguration.elementClassSpecification`).
28
+ - Trees: Use search box from the `@itwin/itwinui-react` library.
29
+
30
+ ### Patches
31
+
32
+ - Trees: Keep child nodes state the same after parent node re-expands.
33
+ - Categories tree: Fixed behavior of the Invert button. Previously, only categories were affected, now sub-categories are affected as well.
34
+ - Handle errors thrown from tree components.
35
+ - Persist tree scroll position when switching between widgets.
36
+ - `Tree Header`: Fixed dropdown buttons menu not theming correctly.
37
+ - `ModelsTree`: Refactor ruleset to not use deprecated `ImageIdOverride` rule.
38
+ - `ModelsTree`: Always render checkbox to avoid UI shifting when checkbox appear.
4
39
 
5
40
  ## 0.10.0
6
41
  Tue, 23 May 2023 13:16:11 GMT
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itwin/tree-widget-react",
3
- "version": "1.0.0-dev.8",
3
+ "version": "1.0.0",
4
4
  "description": "Tree Widget React",
5
5
  "keywords": [
6
6
  "Bentley",