@itwin/tree-widget-react 0.1.2 → 0.3.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 (46) hide show
  1. package/README.md +30 -1
  2. package/lib/cjs/components/IconButton.scss +2 -2
  3. package/lib/cjs/components/TreeWidgetComponent.d.ts +1 -0
  4. package/lib/cjs/components/TreeWidgetComponent.scss +1 -1
  5. package/lib/cjs/components/header/TreeHeader.d.ts +1 -0
  6. package/lib/cjs/components/header/TreeHeader.scss +1 -1
  7. package/lib/cjs/components/rulesets/IModelContent.json +435 -0
  8. package/lib/cjs/components/search-bar/Popup.scss +1 -1
  9. package/lib/cjs/components/search-bar/SearchBar.scss +1 -1
  10. package/lib/cjs/components/search-bar/SearchBox.scss +1 -1
  11. package/lib/cjs/components/trees/CategoriesTree.d.ts +1 -0
  12. package/lib/cjs/components/trees/CategoriesTree.scss +1 -1
  13. package/lib/cjs/components/trees/ClassificationsTree.d.ts +1 -0
  14. package/lib/cjs/components/trees/IModelContentTree.d.ts +7 -0
  15. package/lib/cjs/components/trees/IModelContentTree.js +56 -0
  16. package/lib/cjs/components/trees/IModelContentTree.js.map +1 -0
  17. package/lib/cjs/components/trees/ModelsTree.d.ts +1 -0
  18. package/lib/cjs/components/trees/ModelsTree.scss +1 -1
  19. package/lib/cjs/components/trees/SpatialTree.d.ts +1 -0
  20. package/lib/cjs/components/trees/TreeWithRulesetTree.scss +1 -1
  21. package/lib/cjs/components/trees/index.d.ts +1 -0
  22. package/lib/cjs/components/trees/index.js +5 -4
  23. package/lib/cjs/components/trees/index.js.map +1 -1
  24. package/lib/esm/components/IconButton.scss +2 -2
  25. package/lib/esm/components/TreeWidgetComponent.d.ts +1 -0
  26. package/lib/esm/components/TreeWidgetComponent.scss +1 -1
  27. package/lib/esm/components/header/TreeHeader.d.ts +1 -0
  28. package/lib/esm/components/header/TreeHeader.scss +1 -1
  29. package/lib/esm/components/rulesets/IModelContent.json +435 -0
  30. package/lib/esm/components/search-bar/Popup.scss +1 -1
  31. package/lib/esm/components/search-bar/SearchBar.scss +1 -1
  32. package/lib/esm/components/search-bar/SearchBox.scss +1 -1
  33. package/lib/esm/components/trees/CategoriesTree.d.ts +1 -0
  34. package/lib/esm/components/trees/CategoriesTree.scss +1 -1
  35. package/lib/esm/components/trees/ClassificationsTree.d.ts +1 -0
  36. package/lib/esm/components/trees/IModelContentTree.d.ts +7 -0
  37. package/lib/esm/components/trees/IModelContentTree.js +30 -0
  38. package/lib/esm/components/trees/IModelContentTree.js.map +1 -0
  39. package/lib/esm/components/trees/ModelsTree.d.ts +1 -0
  40. package/lib/esm/components/trees/ModelsTree.scss +1 -1
  41. package/lib/esm/components/trees/SpatialTree.d.ts +1 -0
  42. package/lib/esm/components/trees/TreeWithRulesetTree.scss +1 -1
  43. package/lib/esm/components/trees/index.d.ts +1 -0
  44. package/lib/esm/components/trees/index.js +1 -0
  45. package/lib/esm/components/trees/index.js.map +1 -1
  46. package/package.json +25 -25
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import type { IModelConnection, Viewport } from "@itwin/core-frontend";
2
3
  import "./ModelsTree.scss";
3
4
  export interface ModelTreeProps {
@@ -3,7 +3,7 @@
3
3
  * See LICENSE.md in the project root for license terms and full copyright notice.
4
4
  *--------------------------------------------------------------------------------------------*/
5
5
 
6
- @import "~@itwin/core-react/lib/esm/core-react/index";
6
+ @import "~@itwin/core-react/lib/cjs/core-react/index";
7
7
 
8
8
  .tree-widget-models-tree-container {
9
9
  flex: 1;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import type { SpatialContainmentTreeProps } from "@itwin/appui-react";
2
3
  export declare const SpatialTreeComponent: (props: Omit<SpatialContainmentTreeProps, "width" | "height">) => JSX.Element;
3
4
  //# sourceMappingURL=SpatialTree.d.ts.map
@@ -2,7 +2,7 @@
2
2
  * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
3
3
  * See LICENSE.md in the project root for license terms and full copyright notice.
4
4
  *--------------------------------------------------------------------------------------------*/
5
- @import "~@itwin/core-react/lib/esm/core-react/index";
5
+ @import "~@itwin/core-react/lib/cjs/core-react/index";
6
6
  .spatial-tree {
7
7
  display: flex;
8
8
  flex-direction: column;
@@ -3,4 +3,5 @@ export * from "./CategoriesTree";
3
3
  export * from "./SpatialTree";
4
4
  export * from "./ClassificationsTree";
5
5
  export * from "./TreeWithRuleset";
6
+ export * from "./IModelContentTree";
6
7
  //# sourceMappingURL=index.d.ts.map
@@ -7,4 +7,5 @@ export * from "./CategoriesTree";
7
7
  export * from "./SpatialTree";
8
8
  export * from "./ClassificationsTree";
9
9
  export * from "./TreeWithRuleset";
10
+ export * from "./IModelContentTree";
10
11
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/trees/index.ts"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F,cAAc,cAAc,CAAC;AAC7B,cAAc,kBAAkB,CAAC;AACjC,cAAc,eAAe,CAAC;AAC9B,cAAc,uBAAuB,CAAC;AACtC,cAAc,mBAAmB,CAAC","sourcesContent":["/*---------------------------------------------------------------------------------------------\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n* See LICENSE.md in the project root for license terms and full copyright notice.\n*--------------------------------------------------------------------------------------------*/\nexport * from \"./ModelsTree\";\nexport * from \"./CategoriesTree\";\nexport * from \"./SpatialTree\";\nexport * from \"./ClassificationsTree\";\nexport * from \"./TreeWithRuleset\";\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/trees/index.ts"],"names":[],"mappings":"AAAA;;;+FAG+F;AAE/F,cAAc,cAAc,CAAC;AAC7B,cAAc,kBAAkB,CAAC;AACjC,cAAc,eAAe,CAAC;AAC9B,cAAc,uBAAuB,CAAC;AACtC,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC","sourcesContent":["/*---------------------------------------------------------------------------------------------\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n* See LICENSE.md in the project root for license terms and full copyright notice.\n*--------------------------------------------------------------------------------------------*/\n\nexport * from \"./ModelsTree\";\nexport * from \"./CategoriesTree\";\nexport * from \"./SpatialTree\";\nexport * from \"./ClassificationsTree\";\nexport * from \"./TreeWithRuleset\";\nexport * from \"./IModelContentTree\";\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itwin/tree-widget-react",
3
- "version": "0.1.2",
3
+ "version": "0.3.0",
4
4
  "description": "Tree Widget React",
5
5
  "keywords": [
6
6
  "Bentley",
@@ -26,23 +26,23 @@
26
26
  "redux": "^4.0.3"
27
27
  },
28
28
  "devDependencies": {
29
- "@itwin/appui-abstract": "rc",
30
- "@itwin/appui-layout-react": "rc",
31
- "@itwin/appui-react": "rc",
32
- "@itwin/build-tools": "rc",
33
- "@itwin/components-react": "rc",
34
- "@itwin/core-bentley": "rc",
35
- "@itwin/core-common": "rc",
36
- "@itwin/core-frontend": "rc",
37
- "@itwin/core-geometry": "rc",
38
- "@itwin/core-i18n": "rc",
39
- "@itwin/core-quantity": "rc",
40
- "@itwin/core-react": "rc",
41
- "@itwin/eslint-plugin": "rc",
42
- "@itwin/presentation-common": "rc",
43
- "@itwin/presentation-components": "rc",
44
- "@itwin/presentation-frontend": "rc",
45
- "@itwin/webgl-compatibility": "rc",
29
+ "@itwin/appui-abstract": "^3.0.0",
30
+ "@itwin/appui-layout-react": "^3.0.0",
31
+ "@itwin/appui-react": "^3.0.0",
32
+ "@itwin/build-tools": "^3.0.0",
33
+ "@itwin/components-react": "^3.0.0",
34
+ "@itwin/core-bentley": "^3.0.0",
35
+ "@itwin/core-common": "^3.0.0",
36
+ "@itwin/core-frontend": "^3.0.0",
37
+ "@itwin/core-geometry": "^3.0.0",
38
+ "@itwin/core-i18n": "^3.0.0",
39
+ "@itwin/core-quantity": "^3.0.0",
40
+ "@itwin/core-react": "^3.0.0",
41
+ "@itwin/eslint-plugin": "^3.0.0",
42
+ "@itwin/presentation-common": "^3.0.0",
43
+ "@itwin/presentation-components": "^3.0.0",
44
+ "@itwin/presentation-frontend": "^3.0.0",
45
+ "@itwin/webgl-compatibility": "^3.0.0",
46
46
  "@types/i18next": "^8.4.2",
47
47
  "@types/react": "^17.0.19",
48
48
  "@types/react-dom": "^17.0.9",
@@ -56,13 +56,13 @@
56
56
  "typescript": "~4.3.0"
57
57
  },
58
58
  "peerDependencies": {
59
- "@itwin/appui-abstract": "rc",
60
- "@itwin/appui-react": "rc",
61
- "@itwin/components-react": "rc",
62
- "@itwin/core-frontend": "rc",
63
- "@itwin/core-react": "rc",
64
- "@itwin/presentation-components": "rc",
65
- "@itwin/presentation-frontend": "rc",
59
+ "@itwin/appui-abstract": "^3.0.0",
60
+ "@itwin/appui-react": "^3.0.0",
61
+ "@itwin/components-react": "^3.0.0",
62
+ "@itwin/core-frontend": "^3.0.0",
63
+ "@itwin/core-react": "^3.0.0",
64
+ "@itwin/presentation-components": "^3.0.0",
65
+ "@itwin/presentation-frontend": "^3.0.0",
66
66
  "react": "^17.0.2",
67
67
  "react-dom": "^17.0.2"
68
68
  },