Skip to content

Commit 5ce3b8b

Browse files
authored
Test viewer: Update dependencies (#1475)
* Update test viewer's deps (core, presentation. itwinui) * fix click position in `shows outlines when focused using keyboard` test
1 parent 2b58053 commit 5ce3b8b

File tree

54 files changed

+541
-543
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+541
-543
lines changed

apps/test-viewer/package.json

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -4,23 +4,23 @@
44
"type": "module",
55
"private": true,
66
"dependencies": {
7-
"@itwin/appui-abstract": "^5.1.1",
7+
"@itwin/appui-abstract": "^5.2.0",
88
"@itwin/appui-react": "^5.13.0",
99
"@itwin/browser-authorization": "^2.0.0",
1010
"@itwin/components-react": "^5.13.0",
11-
"@itwin/core-bentley": "^5.1.1",
12-
"@itwin/core-common": "^5.1.1",
13-
"@itwin/core-frontend": "^5.1.1",
14-
"@itwin/core-geometry": "^5.1.1",
15-
"@itwin/core-i18n": "^5.1.1",
16-
"@itwin/core-markup": "^5.1.1",
17-
"@itwin/core-orbitgt": "^5.1.1",
18-
"@itwin/core-quantity": "^5.1.1",
11+
"@itwin/core-bentley": "^5.2.0",
12+
"@itwin/core-common": "^5.2.0",
13+
"@itwin/core-frontend": "^5.2.0",
14+
"@itwin/core-geometry": "^5.2.0",
15+
"@itwin/core-i18n": "^5.2.0",
16+
"@itwin/core-markup": "^5.2.0",
17+
"@itwin/core-orbitgt": "^5.2.0",
18+
"@itwin/core-quantity": "^5.2.0",
1919
"@itwin/core-react": "^5.13.0",
2020
"@itwin/ec3-widget-react": "workspace:*",
21-
"@itwin/ecschema-metadata": "^5.1.1",
22-
"@itwin/ecschema-rpcinterface-common": "^5.1.1",
23-
"@itwin/frontend-devtools": "^5.1.1",
21+
"@itwin/ecschema-metadata": "^5.2.0",
22+
"@itwin/ecschema-rpcinterface-common": "^5.2.0",
23+
"@itwin/frontend-devtools": "^5.2.0",
2424
"@itwin/geo-tools-react": "workspace:*",
2525
"@itwin/grouping-mapping-widget": "workspace:*",
2626
"@itwin/imodel-components-react": "^5.13.0",
@@ -30,23 +30,23 @@
3030
"@itwin/itwinui-illustrations-react": "^2.1.0",
3131
"@itwin/itwinui-react": "3.18.3",
3232
"@itwin/map-layers": "workspace:*",
33-
"@itwin/map-layers-auth": "^5.1.1",
34-
"@itwin/map-layers-formats": "^5.1.1",
33+
"@itwin/map-layers-auth": "^5.2.0",
34+
"@itwin/map-layers-formats": "^5.2.0",
3535
"@itwin/measure-tools-react": "workspace:*",
3636
"@itwin/one-click-lca-react": "workspace:*",
37-
"@itwin/presentation-common": "^5.1.1",
38-
"@itwin/presentation-components": "^5.12.6",
39-
"@itwin/presentation-frontend": "^5.1.1",
40-
"@itwin/presentation-hierarchies": "^1.7.1",
41-
"@itwin/presentation-hierarchies-react": "^1.9.1",
42-
"@itwin/presentation-shared": "^1.2.2",
37+
"@itwin/presentation-common": "^5.2.0",
38+
"@itwin/presentation-components": "^5.12.9",
39+
"@itwin/presentation-frontend": "^5.2.0",
40+
"@itwin/presentation-hierarchies": "^1.7.2",
41+
"@itwin/presentation-hierarchies-react": "^1.9.5",
42+
"@itwin/presentation-shared": "^1.2.3",
4343
"@itwin/property-grid-react": "workspace:*",
4444
"@itwin/quantity-formatting-react": "workspace:*",
4545
"@itwin/reports-config-widget-react": "workspace:*",
4646
"@itwin/tree-widget-react": "workspace:*",
47-
"@itwin/unified-selection": "^1.5.0",
48-
"@itwin/web-viewer-react": "^5.0.0",
49-
"@itwin/webgl-compatibility": "^5.1.1",
47+
"@itwin/unified-selection": "^1.5.2",
48+
"@itwin/web-viewer-react": "^5.0.1",
49+
"@itwin/webgl-compatibility": "^5.2.0",
5050
"react": "^18.3.1",
5151
"react-dom": "^18.3.1",
5252
"react-error-boundary": "^4.1.2",
@@ -107,7 +107,7 @@
107107
"pnpm": {
108108
"overrides": {
109109
"@itwin/itwinui-react@^2": "2.12.26",
110-
"@itwin/itwinui-react@^3": "3.18.3"
110+
"@itwin/itwinui-react@^3": "3.19.5"
111111
}
112112
}
113113
}

apps/test-viewer/pnpm-lock.yaml

Lines changed: 512 additions & 516 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apps/test-viewer/src/components/FormatManager.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,12 @@
44
*--------------------------------------------------------------------------------------------*/
55

66
import { BeEvent } from "@itwin/core-bentley";
7-
import type { IModelConnection } from "@itwin/core-frontend";
87
import { IModelApp } from "@itwin/core-frontend";
8+
import { SchemaFormatsProvider, SchemaItem, SchemaItemType, SchemaKey, SchemaMatchType } from "@itwin/ecschema-metadata";
9+
10+
import type { IModelConnection } from "@itwin/core-frontend";
911
import type { FormatDefinition, FormatsChangedArgs, FormatsProvider, MutableFormatsProvider } from "@itwin/core-quantity";
1012
import type { FormatSet } from "@itwin/ecschema-metadata";
11-
import { SchemaFormatsProvider, SchemaItem, SchemaItemType, SchemaKey, SchemaMatchType } from "@itwin/ecschema-metadata";
1213

1314
export class FormatManager {
1415
protected static _instance: FormatManager;
@@ -115,6 +116,7 @@ export class FormatManager {
115116
const schemaFormatSet: FormatSet = {
116117
name: "SchemaFormats",
117118
label: "Example Format Set",
119+
unitSystem: IModelApp.quantityFormatter.activeUnitSystem,
118120
formats: {},
119121
};
120122
// Used until https://github.com/iTwin/bis-schemas/issues/566 is resolved

packages/itwin/tree-widget/src/e2e-tests/CategoriesTree.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ test.describe("Categories tree", () => {
127127

128128
// re-focus on checkbox after resizing the panel
129129
const nodeBox = await node.boundingBox();
130-
await node.click({ position: nodeBox ? { x: nodeBox.width * 0.6, y: nodeBox.height * 0.5 } : undefined });
130+
await node.click({ position: nodeBox ? { x: nodeBox.width * 0.4, y: nodeBox.height * 0.5 } : undefined });
131131
await page.keyboard.press("Tab");
132132

133133
await takeScreenshot(page, node, { boundingComponent: treeContainer, expandBy: { top: 10, bottom: 10 } });

0 commit comments

Comments
 (0)