@wandelbots/wandelbots-js-react-components 2.13.3 → 2.13.4-pr.-wandelbots-wandelbots-js-to-nova-js.292.2d152c0

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.
Files changed (52) hide show
  1. package/README.md +2 -2
  2. package/dist/auth0-spa-js.production.esm-1QXzndwB.js +950 -0
  3. package/dist/auth0-spa-js.production.esm-1QXzndwB.js.map +1 -0
  4. package/dist/auth0-spa-js.production.esm-BLRAk7Yh.cjs +5 -0
  5. package/dist/auth0-spa-js.production.esm-BLRAk7Yh.cjs.map +1 -0
  6. package/dist/components/3d-viewport/CoordinateSystemTransform.d.ts +1 -1
  7. package/dist/components/3d-viewport/CoordinateSystemTransform.d.ts.map +1 -1
  8. package/dist/components/3d-viewport/SafetyZonesRenderer.d.ts +1 -1
  9. package/dist/components/3d-viewport/SafetyZonesRenderer.d.ts.map +1 -1
  10. package/dist/components/3d-viewport/TrajectoryRenderer.d.ts +1 -1
  11. package/dist/components/3d-viewport/TrajectoryRenderer.d.ts.map +1 -1
  12. package/dist/components/jogging/JoggingPanel.d.ts +1 -1
  13. package/dist/components/jogging/JoggingPanel.d.ts.map +1 -1
  14. package/dist/components/jogging/JoggingStore.d.ts +1 -1
  15. package/dist/components/jogging/JoggingStore.d.ts.map +1 -1
  16. package/dist/components/jogging/PoseCartesianValues.d.ts +1 -1
  17. package/dist/components/jogging/PoseCartesianValues.d.ts.map +1 -1
  18. package/dist/components/jogging/PoseJointValues.d.ts +1 -1
  19. package/dist/components/jogging/PoseJointValues.d.ts.map +1 -1
  20. package/dist/components/robots/Robot.d.ts +2 -2
  21. package/dist/components/robots/Robot.d.ts.map +1 -1
  22. package/dist/components/robots/RobotAnimator.d.ts +1 -1
  23. package/dist/components/robots/RobotAnimator.d.ts.map +1 -1
  24. package/dist/components/robots/SupportedRobot.d.ts +1 -1
  25. package/dist/components/robots/SupportedRobot.d.ts.map +1 -1
  26. package/dist/components/safetyBar/OperationModeIndicator.d.ts +1 -1
  27. package/dist/components/safetyBar/OperationModeIndicator.d.ts.map +1 -1
  28. package/dist/components/safetyBar/SafetyBar.d.ts +1 -1
  29. package/dist/components/safetyBar/SafetyBar.d.ts.map +1 -1
  30. package/dist/components/safetyBar/SafetyStateIndicator.d.ts +1 -1
  31. package/dist/components/safetyBar/SafetyStateIndicator.d.ts.map +1 -1
  32. package/dist/index.cjs +57 -36
  33. package/dist/index.cjs.map +1 -1
  34. package/dist/index.js +19371 -6631
  35. package/dist/index.js.map +1 -1
  36. package/package.json +26 -8
  37. package/src/components/3d-viewport/CoordinateSystemTransform.tsx +2 -2
  38. package/src/components/3d-viewport/SafetyZonesRenderer.tsx +2 -2
  39. package/src/components/3d-viewport/TrajectoryRenderer.tsx +1 -1
  40. package/src/components/jogging/JoggingCartesianTab.tsx +1 -1
  41. package/src/components/jogging/JoggingJointTab.tsx +1 -1
  42. package/src/components/jogging/JoggingPanel.tsx +1 -1
  43. package/src/components/jogging/JoggingStore.ts +2 -2
  44. package/src/components/jogging/PoseCartesianValues.tsx +2 -2
  45. package/src/components/jogging/PoseJointValues.tsx +1 -1
  46. package/src/components/robots/DHRobot.tsx +1 -1
  47. package/src/components/robots/Robot.tsx +2 -2
  48. package/src/components/robots/RobotAnimator.tsx +1 -1
  49. package/src/components/robots/SupportedRobot.tsx +1 -1
  50. package/src/components/safetyBar/OperationModeIndicator.tsx +1 -1
  51. package/src/components/safetyBar/SafetyBar.tsx +1 -1
  52. package/src/components/safetyBar/SafetyStateIndicator.tsx +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wandelbots/wandelbots-js-react-components",
3
- "version": "2.13.3",
3
+ "version": "2.13.4-pr.-wandelbots-wandelbots-js-to-nova-js.292.2d152c0",
4
4
  "description": "React UI toolkit for building applications on top of the Wandelbots platform",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -50,6 +50,9 @@
50
50
  "@emotion/styled": "^11.14.0",
51
51
  "@mui/icons-material": "^6.4.1",
52
52
  "@mui/material": "^6.4.0",
53
+ "@react-spring/three": "^9.7.5",
54
+ "@react-three/drei": "^9.122.0",
55
+ "@react-three/fiber": "^8.18.0",
53
56
  "@rollup/plugin-commonjs": "^28.0.2",
54
57
  "@rollup/plugin-json": "^6.1.0",
55
58
  "@rollup/plugin-node-resolve": "^16.0.0",
@@ -59,8 +62,8 @@
59
62
  "@storybook/addon-essentials": "^8.6.4",
60
63
  "@storybook/addon-interactions": "^8.6.4",
61
64
  "@storybook/blocks": "^8.6.4",
62
- "@storybook/react": "^8.6.4",
63
65
  "@storybook/csf-tools": "^8.6.4",
66
+ "@storybook/react": "^8.6.4",
64
67
  "@storybook/react-vite": "^8.6.4",
65
68
  "@storybook/test": "^8.6.4",
66
69
  "@storybook/test-runner": "^0.21.3",
@@ -70,7 +73,7 @@
70
73
  "@types/react": "^18.3.12",
71
74
  "@types/three": "^0.174.0",
72
75
  "@vitejs/plugin-react": "^4.3.4",
73
- "@wandelbots/wandelbots-js": "^1.17.1",
76
+ "@wandelbots/nova-js": "^2.0.1",
74
77
  "add": "^2.0.6",
75
78
  "glob": "^11.0.1",
76
79
  "http-server": "^14.1.1",
@@ -94,10 +97,12 @@
94
97
  "storybook": "^8.6.4",
95
98
  "storybook-dark-mode": "^4.0.2",
96
99
  "storybook-preset-inline-svg": "^1.0.1",
100
+ "three": "^0.174.0",
101
+ "three-stdlib": "^2.35.14",
97
102
  "ts-dedent": "^2.2.0",
98
103
  "typescript": "^5.8.2",
99
104
  "unplugin": "^1.15.0",
100
- "vite": "~6.2.0",
105
+ "vite": "^6.2.0",
101
106
  "vite-plugin-svgr": "^4.3.0",
102
107
  "vitest": "^3.0.7",
103
108
  "wait-on": "^8.0.2"
@@ -108,16 +113,29 @@
108
113
  "@mui/icons-material": "^6",
109
114
  "@mui/material": "^6",
110
115
  "@react-spring/three": "^9",
111
- "@react-three/drei": "~9.122.0",
112
- "@react-three/fiber": "~8.18.0",
113
- "react": "~18.3.1",
114
- "react-dom": "~18.3.1",
116
+ "@react-three/drei": "^9.122.0",
117
+ "@react-three/fiber": "^8.18.0",
115
118
  "three": ">=0.174",
116
119
  "three-stdlib": ">=2"
117
120
  },
118
121
  "peerDependenciesMeta": {
119
122
  "react-dom": {
120
123
  "optional": true
124
+ },
125
+ "@react-spring/three": {
126
+ "optional": true
127
+ },
128
+ "@react-three/drei": {
129
+ "optional": true
130
+ },
131
+ "@react-three/fiber": {
132
+ "optional": true
133
+ },
134
+ "three": {
135
+ "optional": true
136
+ },
137
+ "three-stdlib": {
138
+ "optional": true
121
139
  }
122
140
  },
123
141
  "dependencies": {
@@ -1,6 +1,6 @@
1
- import type { CoordinateSystem } from "@wandelbots/wandelbots-api-client"
1
+ import type { CoordinateSystem } from "@wandelbots/nova-api/v1"
2
2
  import type { ReactNode } from "react"
3
- import { Vector3, Quaternion } from "three"
3
+ import { Quaternion, Vector3 } from "three"
4
4
 
5
5
  /**
6
6
  * Applies a API coordinate system transformation to
@@ -1,6 +1,6 @@
1
1
  import { type GroupProps } from "@react-three/fiber"
2
- import type { Geometry } from "@wandelbots/wandelbots-api-client"
3
- import type { SafetySetupSafetyZone } from "@wandelbots/wandelbots-js"
2
+ import type { Geometry } from "@wandelbots/nova-api/v1"
3
+ import type { SafetySetupSafetyZone } from "@wandelbots/nova-js/v1"
4
4
  import * as THREE from "three"
5
5
  import { ConvexGeometry } from "three-stdlib"
6
6
 
@@ -1,5 +1,5 @@
1
1
  import { Line } from "@react-three/drei"
2
- import type { GetTrajectoryResponse } from "@wandelbots/wandelbots-js"
2
+ import type { GetTrajectoryResponse } from "@wandelbots/nova-js/v1"
3
3
  import * as THREE from "three"
4
4
 
5
5
  export type TrajectoryRendererProps = {
@@ -5,7 +5,7 @@ import {
5
5
  Typography,
6
6
  useTheme,
7
7
  } from "@mui/material"
8
- import { degreesToRadians, radiansToDegrees } from "@wandelbots/wandelbots-js"
8
+ import { degreesToRadians, radiansToDegrees } from "@wandelbots/nova-js"
9
9
  import { observer } from "mobx-react-lite"
10
10
  import { useTranslation } from "react-i18next"
11
11
  import XAxisIcon from "../../icons/axis-x.svg"
@@ -1,5 +1,5 @@
1
1
  import { Divider, Stack } from "@mui/material"
2
- import { radiansToDegrees } from "@wandelbots/wandelbots-js"
2
+ import { radiansToDegrees } from "@wandelbots/nova-js"
3
3
  import { observer } from "mobx-react-lite"
4
4
  import type { ReactNode } from "react"
5
5
  import { JoggingJointLimitDetector } from "./JoggingJointLimitDetector"
@@ -1,5 +1,5 @@
1
1
  import { Stack, Tab, Tabs, type SxProps } from "@mui/material"
2
- import { NovaClient } from "@wandelbots/wandelbots-js"
2
+ import { NovaClient } from "@wandelbots/nova-js/v1"
3
3
  import { isString } from "lodash-es"
4
4
  import { runInAction } from "mobx"
5
5
  import { observer, useLocalObservable } from "mobx-react-lite"
@@ -1,10 +1,10 @@
1
+ import { tryParseJson } from "@wandelbots/nova-js"
1
2
  import type {
2
3
  CoordinateSystem,
3
4
  JoggerConnection,
4
5
  MotionGroupSpecification,
5
6
  RobotTcp,
6
- } from "@wandelbots/wandelbots-js"
7
- import { tryParseJson } from "@wandelbots/wandelbots-js"
7
+ } from "@wandelbots/nova-js/v1"
8
8
  import { countBy } from "lodash-es"
9
9
  import keyBy from "lodash-es/keyBy"
10
10
  import uniqueId from "lodash-es/uniqueId"
@@ -1,6 +1,6 @@
1
1
  import { Stack } from "@mui/material"
2
- import type { MotionStreamConnection } from "@wandelbots/wandelbots-js"
3
- import { poseToWandelscriptString } from "@wandelbots/wandelbots-js"
2
+ import { poseToWandelscriptString } from "@wandelbots/nova-js"
3
+ import type { MotionStreamConnection } from "@wandelbots/nova-js/v1"
4
4
  import { observer } from "mobx-react-lite"
5
5
  import { useRef } from "react"
6
6
  import { CopyableText } from "../CopyableText"
@@ -1,5 +1,5 @@
1
1
  import { Stack } from "@mui/material"
2
- import type { MotionStreamConnection } from "@wandelbots/wandelbots-js"
2
+ import type { MotionStreamConnection } from "@wandelbots/nova-js/v1"
3
3
  import { observer } from "mobx-react-lite"
4
4
  import { useRef } from "react"
5
5
  import { CopyableText } from "../CopyableText"
@@ -1,5 +1,5 @@
1
1
  import { Line } from "@react-three/drei"
2
- import type { DHParameter } from "@wandelbots/wandelbots-api-client"
2
+ import type { DHParameter } from "@wandelbots/nova-api/v1"
3
3
  import type * as THREE from "three"
4
4
  import { Matrix4, Quaternion, Vector3 } from "three"
5
5
  import type { LineGeometry } from "three/examples/jsm/lines/LineGeometry.js"
@@ -1,6 +1,6 @@
1
1
  import { type GroupProps } from "@react-three/fiber"
2
2
 
3
- import type { ConnectedMotionGroup } from "@wandelbots/wandelbots-js"
3
+ import type { ConnectedMotionGroup } from "@wandelbots/nova-js/v1"
4
4
  import type { Group } from "three"
5
5
  import { SupportedRobot } from "./SupportedRobot"
6
6
  import { defaultGetModel } from "./robotModelLogic"
@@ -14,7 +14,7 @@ export type RobotProps = {
14
14
 
15
15
  /**
16
16
  * The Robot component is a wrapper around the SupportedRobot component
17
- * for usage with @wandelbots/wandelbots-js ConnectedMotionGroup object.
17
+ * for usage with @wandelbots/nova-js ConnectedMotionGroup object.
18
18
  *
19
19
  * @param {RobotProps} props - The properties for the Robot component.
20
20
  * @param {ConnectedMotionGroup} props.connectedMotionGroup - The connected motion group containing motion state and parameters.
@@ -3,7 +3,7 @@ import { useThree } from "@react-three/fiber"
3
3
  import type {
4
4
  DHParameter,
5
5
  MotionGroupStateResponse,
6
- } from "@wandelbots/wandelbots-api-client"
6
+ } from "@wandelbots/nova-api/v1"
7
7
  import React, { useRef } from "react"
8
8
  import type { Group, Object3D } from "three"
9
9
  import { useAutorun } from "../utils/hooks"
@@ -2,7 +2,7 @@ import type { GroupProps } from "@react-three/fiber"
2
2
  import type {
3
3
  DHParameter,
4
4
  MotionGroupStateResponse,
5
- } from "@wandelbots/wandelbots-api-client"
5
+ } from "@wandelbots/nova-api/v1"
6
6
  import { Suspense, useCallback, useEffect, useState } from "react"
7
7
  import { DHRobot } from "./DHRobot"
8
8
 
@@ -1,5 +1,5 @@
1
1
  import { useTheme, type PopoverOrigin } from "@mui/material"
2
- import type { RobotControllerStateOperationModeEnum } from "@wandelbots/wandelbots-js"
2
+ import type { RobotControllerStateOperationModeEnum } from "@wandelbots/nova-js/v1"
3
3
  import { observer } from "mobx-react-lite"
4
4
  import { Trans, useTranslation } from "react-i18next"
5
5
  import OperationModeAutomaticIcon from "./icons/operation-mode-automatic.svg"
@@ -2,7 +2,7 @@ import { Divider, Stack, type PopoverOrigin } from "@mui/material"
2
2
  import type {
3
3
  RobotControllerStateOperationModeEnum,
4
4
  RobotControllerStateSafetyStateEnum,
5
- } from "@wandelbots/wandelbots-js"
5
+ } from "@wandelbots/nova-js/v1"
6
6
  import { observer } from "mobx-react-lite"
7
7
  import { externalizeComponent } from "../../externalizeComponent"
8
8
  import { ControllerTypeIndicator } from "./ControllerTypeIndicator"
@@ -1,5 +1,5 @@
1
1
  import { useTheme, type PopoverOrigin } from "@mui/material"
2
- import type { RobotControllerStateSafetyStateEnum } from "@wandelbots/wandelbots-js"
2
+ import type { RobotControllerStateSafetyStateEnum } from "@wandelbots/nova-js/v1"
3
3
  import { observer } from "mobx-react-lite"
4
4
  import { Trans, useTranslation } from "react-i18next"
5
5
  import { assertUnreachable } from "../utils/errorHandling"