@robosystems/core 0.13.6 → 0.14.1

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.
@@ -78,12 +78,12 @@ export function createGraphProvider(Context) {
78
78
  // Only treat as a user graph if found and NOT a repository
79
79
  const isUserGraph = graph ? !graph.isRepository : false;
80
80
  setBaseState((prev) => (Object.assign(Object.assign({}, prev), { currentGraphId: graphId })));
81
- // Only call selectGraph API for user graphs, not repositories
81
+ // Only call setSelectedGraph for user graphs, not repositories
82
82
  // Repositories can be accessed but not "selected" in the backend
83
83
  // If graph is not found in local state, skip the API call (likely a repository)
84
84
  if (isUserGraph) {
85
- unwrapSdk(await SDK.selectGraph({
86
- path: { graph_id: graphId },
85
+ unwrapSdk(await SDK.setSelectedGraph({
86
+ body: { graph_id: graphId },
87
87
  }));
88
88
  }
89
89
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@robosystems/core",
3
- "version": "0.13.6",
3
+ "version": "0.14.1",
4
4
  "description": "Shared RoboSystems frontend core library (auth, contexts, task monitoring, UI components) for the RoboSystems Next.js apps",
5
5
  "license": "MIT",
6
6
  "private": false,
@@ -27,7 +27,7 @@
27
27
  "tailwind-merge": "^3"
28
28
  },
29
29
  "peerDependencies": {
30
- "@robosystems/client": ">=1.10 <3",
30
+ "@robosystems/client": ">=2.7 <3",
31
31
  "flowbite-react": "^0.12.5",
32
32
  "next": ">=15 <17",
33
33
  "react": ">=18 <20",
@@ -565,7 +565,11 @@ export const customTheme = createTheme({
565
565
  root: {
566
566
  base: 'w-full text-left text-sm text-gray-500 dark:text-gray-400',
567
567
  shadow: 'absolute top-0 left-0 -z-10 h-full w-full rounded-lg bg-white drop-shadow-md dark:bg-zinc-800',
568
- wrapper: 'relative',
568
+ // `shadow` paints the body background at the wrapper's size. A plain
569
+ // block wrapper stops at an overflow-x scroller's visible width, so a
570
+ // wide table scrolls its rows off the paint; fit the wrapper to the
571
+ // table instead, floored at the container width.
572
+ wrapper: 'relative w-fit min-w-full',
569
573
  },
570
574
  body: {
571
575
  base: 'group/body',