@itwin/presentation-hierarchies-react 2.0.0-alpha.61 → 2.0.0-alpha.63
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 +96 -0
- package/README.md +62 -53
- package/lib/presentation-hierarchies-react/UseTree.js +1 -2
- package/lib/presentation-hierarchies-react/UseTree.js.map +1 -1
- package/lib/presentation-hierarchies-react/Utils.js.map +1 -1
- package/lib/presentation-hierarchies-react/internal/TreeActions.js +2 -7
- package/lib/presentation-hierarchies-react/internal/TreeActions.js.map +1 -1
- package/lib/presentation-hierarchies-react/internal/TreeLoader.js.map +1 -1
- package/lib/presentation-hierarchies-react/internal/TreeModel.js +0 -2
- package/lib/presentation-hierarchies-react/internal/TreeModel.js.map +1 -1
- package/lib/presentation-hierarchies-react/internal/UseUnifiedSelection.js.map +1 -1
- package/lib/presentation-hierarchies-react/stratakit/ErrorItemRenderer.js +133 -132
- package/lib/presentation-hierarchies-react/stratakit/ErrorItemRenderer.js.map +1 -1
- package/lib/presentation-hierarchies-react/stratakit/RootErrorRenderer.js +5 -4
- package/lib/presentation-hierarchies-react/stratakit/RootErrorRenderer.js.map +1 -1
- package/lib/presentation-hierarchies-react/stratakit/TreeAction.d.ts +4 -2
- package/lib/presentation-hierarchies-react/stratakit/TreeAction.d.ts.map +1 -1
- package/lib/presentation-hierarchies-react/stratakit/TreeAction.js +37 -13
- package/lib/presentation-hierarchies-react/stratakit/TreeAction.js.map +1 -1
- package/lib/presentation-hierarchies-react/stratakit/TreeNodeRenameAction.d.ts +1 -0
- package/lib/presentation-hierarchies-react/stratakit/TreeNodeRenameAction.d.ts.map +1 -1
- package/lib/presentation-hierarchies-react/stratakit/TreeNodeRenderer.d.ts.map +1 -1
- package/lib/presentation-hierarchies-react/stratakit/TreeNodeRenderer.js +152 -140
- package/lib/presentation-hierarchies-react/stratakit/TreeNodeRenderer.js.map +1 -1
- package/package.json +43 -59
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@itwin/presentation-hierarchies-react",
|
|
3
|
-
"version": "2.0.0-alpha.
|
|
3
|
+
"version": "2.0.0-alpha.63",
|
|
4
4
|
"description": "React components based on `@itwin/presentation-hierarchies`",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": {
|
|
@@ -41,99 +41,83 @@
|
|
|
41
41
|
"./package.json": "./package.json"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@itwin/core-bentley": "^5.
|
|
45
|
-
"@
|
|
44
|
+
"@itwin/core-bentley": "^5.10.0",
|
|
45
|
+
"@stratakit/icons": "^0.4.0",
|
|
46
|
+
"@stratakit/structures": "^0.5.8",
|
|
47
|
+
"@tanstack/react-virtual": "^3.13.24",
|
|
46
48
|
"classnames": "^2.5.1",
|
|
47
49
|
"immer": "^10.2.0",
|
|
48
50
|
"react-compiler-runtime": "^1.0.0",
|
|
49
51
|
"react-error-boundary": "^4.1.2",
|
|
50
52
|
"rxjs": "^7.8.2",
|
|
51
|
-
"@itwin/presentation-
|
|
52
|
-
"@itwin/
|
|
53
|
-
"@itwin/
|
|
53
|
+
"@itwin/presentation-hierarchies": "2.0.0-alpha.16",
|
|
54
|
+
"@itwin/presentation-shared": "2.0.0-alpha.11",
|
|
55
|
+
"@itwin/unified-selection": "^1.8.1-alpha.0"
|
|
54
56
|
},
|
|
55
57
|
"peerDependencies": {
|
|
56
|
-
"@
|
|
57
|
-
"@stratakit/
|
|
58
|
-
"
|
|
59
|
-
"
|
|
60
|
-
"react": "^17.0 || ^18.0",
|
|
61
|
-
"react-dom": "^17.0 || ^18.0"
|
|
58
|
+
"@mui/material": "^9.0.0",
|
|
59
|
+
"@stratakit/mui": "^0.5.0",
|
|
60
|
+
"react": "^17.0.0 || ^18.0.0 || ^19.0.0",
|
|
61
|
+
"react-dom": "^17.0.0 || ^18.0.0 || ^19.0.0"
|
|
62
62
|
},
|
|
63
63
|
"peerDependenciesMeta": {
|
|
64
|
-
"@
|
|
64
|
+
"@mui/material": {
|
|
65
65
|
"optional": true
|
|
66
66
|
},
|
|
67
|
-
"@stratakit/
|
|
68
|
-
"optional": true
|
|
69
|
-
},
|
|
70
|
-
"@stratakit/structures": {
|
|
71
|
-
"optional": true
|
|
72
|
-
},
|
|
73
|
-
"@stratakit/icons": {
|
|
67
|
+
"@stratakit/mui": {
|
|
74
68
|
"optional": true
|
|
75
69
|
}
|
|
76
70
|
},
|
|
77
71
|
"devDependencies": {
|
|
78
|
-
"@itwin/build-tools": "^5.
|
|
79
|
-
"@itwin/eslint-plugin": "
|
|
80
|
-
"@
|
|
81
|
-
"@
|
|
82
|
-
"@stratakit/
|
|
83
|
-
"@stratakit/icons": "^0.3.1",
|
|
84
|
-
"@stratakit/structures": "^0.5.6",
|
|
72
|
+
"@itwin/build-tools": "^5.10.0",
|
|
73
|
+
"@itwin/eslint-plugin": "^6.1.0",
|
|
74
|
+
"@mui/material": "^9.0.0",
|
|
75
|
+
"@rolldown/plugin-babel": "^0.2.3",
|
|
76
|
+
"@stratakit/mui": "^0.5.0",
|
|
85
77
|
"@testing-library/dom": "^10.4.1",
|
|
86
78
|
"@testing-library/react": "^16.3.2",
|
|
87
79
|
"@testing-library/user-event": "^14.6.1",
|
|
88
|
-
"@types/
|
|
89
|
-
"@types/
|
|
90
|
-
"@types/
|
|
91
|
-
"@
|
|
92
|
-
"@
|
|
93
|
-
"@
|
|
94
|
-
"
|
|
95
|
-
"@types/sinon": "^17.0.4",
|
|
96
|
-
"@types/sinon-chai": "^4.0.0",
|
|
97
|
-
"@vitejs/plugin-react": "^6.0.1",
|
|
80
|
+
"@types/node": "^24.13.1",
|
|
81
|
+
"@types/react": "^19.2.17",
|
|
82
|
+
"@types/react-dom": "^19.2.3",
|
|
83
|
+
"@vitejs/plugin-react": "^6.0.2",
|
|
84
|
+
"@vitest/browser-playwright": "^4.1.8",
|
|
85
|
+
"@vitest/coverage-v8": "^4.1.8",
|
|
86
|
+
"axe-core": "^4.11.4",
|
|
98
87
|
"babel-plugin-react-compiler": "^1.0.0",
|
|
99
|
-
"chai": "^5.3.3",
|
|
100
|
-
"chai-as-promised": "^8.0.2",
|
|
101
|
-
"cpx2": "^7.0.2",
|
|
102
|
-
"cross-env": "^7.0.3",
|
|
103
88
|
"eslint": "^9.39.4",
|
|
104
89
|
"eslint-plugin-react": "^7.37.5",
|
|
105
|
-
"eslint-plugin-react-hooks": "^7.
|
|
106
|
-
"
|
|
107
|
-
"
|
|
108
|
-
"
|
|
109
|
-
"
|
|
110
|
-
"mocha": "^11.7.5",
|
|
111
|
-
"react": "^18.3.1",
|
|
112
|
-
"react-dom": "^18.3.1",
|
|
90
|
+
"eslint-plugin-react-hooks": "^7.1.1",
|
|
91
|
+
"happy-dom": "^20.10.1",
|
|
92
|
+
"playwright": "^1.59.1",
|
|
93
|
+
"react": "^19.2.7",
|
|
94
|
+
"react-dom": "^19.2.7",
|
|
113
95
|
"rimraf": "^6.1.3",
|
|
114
|
-
"
|
|
115
|
-
"
|
|
116
|
-
"
|
|
117
|
-
"
|
|
118
|
-
"vite": "^8.0.0",
|
|
96
|
+
"tsdown": "^0.21.10",
|
|
97
|
+
"typescript": "~6.0.3",
|
|
98
|
+
"vitest": "^4.1.8",
|
|
99
|
+
"vitest-browser-react": "^2.2.0",
|
|
119
100
|
"presentation-test-utilities": "0.0.1"
|
|
120
101
|
},
|
|
121
102
|
"scripts": {
|
|
122
|
-
"build": "
|
|
103
|
+
"build": "npm run -s typecheck && tsdown && npm run -s build:locale && npm run -s copy",
|
|
123
104
|
"build:locale": "tsc -p tsconfig.utils.json && node ./lib/build/utils/BuildLocale.js",
|
|
124
105
|
"copy": "npm run -s copy:css && npm run -s copy:assets",
|
|
125
106
|
"copy:css": "cpx \"./src/**/*.css\" \"./lib\"",
|
|
126
107
|
"copy:assets": "cpx \"./src/public/**/*\" \"./lib/public\"",
|
|
127
|
-
"build:test": "tsdown --config tsdown.test.config.ts",
|
|
128
108
|
"clean": "rimraf lib build",
|
|
129
109
|
"cover": "npm -s test",
|
|
130
110
|
"lint": "eslint \"./src/**/*.{ts,tsx}\"",
|
|
131
|
-
"test
|
|
132
|
-
"test": "
|
|
111
|
+
"test": "vitest run --project hierarchies-react-unit",
|
|
112
|
+
"test:watch": "vitest --project hierarchies-react-unit",
|
|
113
|
+
"test:components": "vitest run --project hierarchies-react-components",
|
|
114
|
+
"test:components:update": "vitest run --project hierarchies-react-components --update",
|
|
133
115
|
"extract-api": "betools extract-api --entry=lib/presentation-hierarchies-react-extract --apiReportFolder=./api --apiReportTempFolder=./api/temp --apiSummaryFolder=./api --includeUnexportedApis",
|
|
134
116
|
"check-internal": "node ../../scripts/checkInternal.js --apiSummary ./api/presentation-hierarchies-react-extract.api.md",
|
|
117
|
+
"typecheck": "tsc -p tsconfig.json --noEmit",
|
|
135
118
|
"update-extractions": "node ../../scripts/updateExtractions.js --targets=./README.md",
|
|
136
119
|
"check-extractions": "node ../../scripts/updateExtractions.js --targets=./README.md --check",
|
|
137
|
-
"validate-markdowns": "node ../../scripts/validateMarkdowns.js README.md"
|
|
120
|
+
"validate-markdowns": "node ../../scripts/validateMarkdowns.js README.md",
|
|
121
|
+
"install-browsers": "pnpm playwright install chromium"
|
|
138
122
|
}
|
|
139
123
|
}
|