fix(ui,app): update React Aria to v1.17.0 and migrate to monopackage imports

React Aria Components v1.17.0 consolidated individual packages
into monopackages, dropping `@react-types/table` as a transitive
dependency. This caused `TS2307` errors in new app installations
where `react-aria-components@1.17.0` was resolved.

Migrate all imports from individual `@react-aria/*` and
`@react-stately/*` packages to the `react-aria` and
`react-stately` monopackages in both `@backstage/ui` and
`@backstage/plugin-app`, and update minimum dependency versions
accordingly.

Signed-off-by: Johan Persson <johanopersson@gmail.com>
This commit is contained in:
Johan Persson
2026-04-15 12:21:23 +02:00
parent 3210dbd638
commit d1be10cb89
13 changed files with 87 additions and 1916 deletions
+3 -6
View File
@@ -47,15 +47,12 @@
},
"dependencies": {
"@backstage/version-bridge": "workspace:^",
"@react-aria/interactions": "^3.27.1",
"@react-stately/layout": "^4.6.0",
"@react-stately/overlays": "^3.6.23",
"@remixicon/react": "^4.6.0",
"@tanstack/react-table": "^8.21.3",
"clsx": "^2.1.1",
"react-aria": "^3.47.0",
"react-aria-components": "^1.14.0",
"react-stately": "^3.45.0",
"react-aria": "^3.48.0",
"react-aria-components": "^1.17.0",
"react-stately": "^3.46.0",
"use-sync-external-store": "^1.4.0"
},
"devDependencies": {