@itwin/unified-selection 1.1.1 → 1.1.2
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 +7 -0
- package/README.md +1 -1
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -132,7 +132,7 @@ const selectionHiliteSet = await selectionHiliteProvider.getHiliteSet({ imodel.k
|
|
|
132
132
|
selectionHiliteProvider.dispose();
|
|
133
133
|
```
|
|
134
134
|
|
|
135
|
-
|
|
135
|
+
### Selection scopes
|
|
136
136
|
|
|
137
137
|
Selection scopes allow decoupling of what gets picked and what gets selected. Without selection scopes, whenever a user picks an element in the viewport, its ID goes straight into unified selection storage. With selection scopes we can modify that and add something different. The input to the selection scopes' processor is a query executor, element IDs, and the scope to apply, and the output is an iterator of `SelectableInstanceKey`. We get the input when the user picks some elements in the viewport, run that through the selection scope processor and put the output into unified selection storage.
|
|
138
138
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@itwin/unified-selection",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.2",
|
|
4
4
|
"description": "Package for managing unified selection in iTwin.js applications.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -36,13 +36,13 @@
|
|
|
36
36
|
"./package.json": "./package.json"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@itwin/core-bentley": "^4.
|
|
39
|
+
"@itwin/core-bentley": "^4.10.1",
|
|
40
40
|
"rxjs": "^7.8.1",
|
|
41
41
|
"rxjs-for-await": "^1.0.0",
|
|
42
|
-
"@itwin/presentation-shared": "^1.
|
|
42
|
+
"@itwin/presentation-shared": "^1.2.0"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
|
-
"@itwin/build-tools": "^4.10.
|
|
45
|
+
"@itwin/build-tools": "^4.10.1",
|
|
46
46
|
"@itwin/eslint-plugin": "5.0.0-dev.1",
|
|
47
47
|
"@types/chai": "^4.3.16",
|
|
48
48
|
"@types/chai-as-promised": "^7.1.8",
|
|
@@ -61,8 +61,8 @@
|
|
|
61
61
|
"sinon-chai": "^3.7.0",
|
|
62
62
|
"testdouble": "^3.20.2",
|
|
63
63
|
"typescript": "~5.6.3",
|
|
64
|
-
"presentation-
|
|
65
|
-
"presentation-
|
|
64
|
+
"presentation-build-tools": "^0.0.0",
|
|
65
|
+
"presentation-test-utilities": "^0.0.0"
|
|
66
66
|
},
|
|
67
67
|
"scripts": {
|
|
68
68
|
"build": "npm run -s build:cjs && npm run -s build:esm",
|