@wandelbots/wandelbots-js-react-components 1.13.1 → 1.13.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wandelbots/wandelbots-js-react-components",
3
- "version": "1.13.1",
3
+ "version": "1.13.3",
4
4
  "description": "React UI toolkit for building applications on top of the Wandelbots platform",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -76,7 +76,6 @@
76
76
  "storybook": "^8.2.9",
77
77
  "storybook-dark-mode": "^4.0.2",
78
78
  "storybook-preset-inline-svg": "^1.0.1",
79
- "tslib": "^2.6.3",
80
79
  "typescript": "^5.5.4",
81
80
  "vite": "^5.4.2",
82
81
  "vite-plugin-svgr": "^4.2.0",
@@ -66,7 +66,7 @@ export const JoggingCartesianTab = observer(
66
66
  store.selectedDiscreteIncrement ? "increment" : "cartesian",
67
67
  {
68
68
  tcpId: store.selectedTcpId,
69
- coordSystemId: store.selectedCoordSystemId,
69
+ coordSystemId: store.activeCoordSystemId,
70
70
  },
71
71
  )
72
72
  }
@@ -90,7 +90,7 @@ export const JoggingCartesianTab = observer(
90
90
  await store.jogger.runIncrementalCartesianMotion({
91
91
  currentTcpPose: tcpPose,
92
92
  currentJoints: jointPosition,
93
- coordSystemId: store.selectedCoordSystemId,
93
+ coordSystemId: store.activeCoordSystemId,
94
94
  velocityInRelevantUnits: store.velocityInCurrentUnits,
95
95
  axis: opts.axis,
96
96
  direction: opts.direction,
@@ -23,6 +23,8 @@ type WandelscriptEditorProps = {
23
23
  monacoSetup?: (monaco: Monaco) => void
24
24
  }
25
25
 
26
+ const Editor = lazy(() => import("@monaco-editor/react"))
27
+
26
28
  /** A Monaco (VSCode-style) embedded code editor with Wandelscript syntax highlighting */
27
29
  export const WandelscriptEditor = externalizeComponent(
28
30
  (props: WandelscriptEditorProps) => {
@@ -36,8 +38,6 @@ export const WandelscriptEditor = externalizeComponent(
36
38
  const targetShikiTheme =
37
39
  theme.palette.mode === "dark" ? "dark-plus" : "light-plus"
38
40
 
39
- const Editor = lazy(() => import("@monaco-editor/react"))
40
-
41
41
  async function setupEditor(monaco: Monaco) {
42
42
  const [{ createHighlighter }, { shikiToMonaco }] = await Promise.all([
43
43
  import("shiki"),