@itwin/unified-selection 0.5.1 → 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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # @itwin/unified-selection
2
2
 
3
+ ## 1.0.0
4
+
5
+ ### Major Changes
6
+
7
+ - [#727](https://github.com/iTwin/presentation/pull/727): 1.0 release.
8
+
9
+ The APIs are now considered stable and ready for production use.
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies:
14
+ - @itwin/presentation-shared@1.0.0
15
+
3
16
  ## 0.5.1
4
17
 
5
18
  ### Patch Changes
package/README.md CHANGED
@@ -93,7 +93,7 @@ With that in mind, the above components _A_, _B_ and _C_ can be configured as fo
93
93
 
94
94
  > **Note:** hilite = highlight
95
95
 
96
- `@itwin/core-frontend` contains a concept called the [HiliteSet](https://www.itwinjs.org/reference/core-frontend/selectionset/hiliteset/). This concept is tightly related to unified selection, because, generally, we want selected elements to be highlighted in the application's graphics views. The `HiliteSet` object contains IDs of 3 types of elements: [GeometricModel](https://www.itwinjs.org/reference/core-backend/models/geometricmodel/), [SubCategory](https://www.itwinjs.org/reference/core-backend/categories/subcategory/) and [GeometricElement](https://www.itwinjs.org/reference/core-backend/elements/geometricelement/). On the other hand, the unified selection API allows selecting other kinds of elements too, so IDs of these elements need to be mapped to the supported ones. The rules are as follows:
96
+ `@itwin/core-frontend` contains a concept called the [HiliteSet](https://www.itwinjs.org/reference/core-frontend/selectionset/hiliteset/). This concept is tightly related to unified selection, because, generally, we want selected elements to be highlighted in the application's graphics views. The `HiliteSet` object contains IDs of 3 types of elements: [GeometricModel](https://www.itwinjs.org/reference/core-backend/models/geometricmodel/), [SubCategory](https://www.itwinjs.org/reference/core-backend/imodels/subcategory/) and [GeometricElement](https://www.itwinjs.org/reference/core-backend/elements/geometricelement/). On the other hand, the unified selection API allows selecting other kinds of elements too, so IDs of these elements need to be mapped to the supported ones. The rules are as follows:
97
97
 
98
98
  - for `BisCore.Subject` return IDs of all geometric models that are recursively under that Subject,
99
99
  - for `BisCore.Model` just return its ID,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itwin/unified-selection",
3
- "version": "0.5.1",
3
+ "version": "1.0.0",
4
4
  "description": "Package for managing unified selection in iTwin.js applications.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -31,7 +31,7 @@
31
31
  "@itwin/core-bentley": "^4.9.0",
32
32
  "rxjs": "^7.8.1",
33
33
  "rxjs-for-await": "^1.0.0",
34
- "@itwin/presentation-shared": "^0.5.0"
34
+ "@itwin/presentation-shared": "^1.0.0"
35
35
  },
36
36
  "devDependencies": {
37
37
  "@itwin/build-tools": "^4.9.0",
@@ -66,6 +66,7 @@
66
66
  "test": "mocha --enable-source-maps --config ./.mocharc.json \"./lib/cjs/test/**/*.test.js\"",
67
67
  "test:watch": "npm -s test -- --reporter min --watch-extensions ts --watch",
68
68
  "extract-api": "extract-api --entry=unified-selection --apiReportFolder=./api --apiReportTempFolder=./api/temp --apiSummaryFolder=./api",
69
- "check-internal": "node ../../scripts/checkInternal.js --apiSummary ./api/unified-selection.api.md"
69
+ "check-internal": "node ../../scripts/checkInternal.js --apiSummary ./api/unified-selection.api.md",
70
+ "validate-markdowns": "node ../../scripts/validateMarkdowns.js README.md"
70
71
  }
71
72
  }