@wandelbots/wandelbots-js-react-components 2.20.0 → 2.21.0

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.
@@ -1 +1 @@
1
- {"version":3,"file":"createDarkTheme.d.ts","sourceRoot":"","sources":["../../src/themes/createDarkTheme.ts"],"names":[],"mappings":"AAAA,OAAO,EAAyB,KAAK,KAAK,EAAE,MAAM,eAAe,CAAA;AAEjE,wBAAgB,eAAe,IAAI,KAAK,CA2RvC"}
1
+ {"version":3,"file":"createDarkTheme.d.ts","sourceRoot":"","sources":["../../src/themes/createDarkTheme.ts"],"names":[],"mappings":"AAAA,OAAO,EAAyB,KAAK,KAAK,EAAE,MAAM,eAAe,CAAA;AAEjE,wBAAgB,eAAe,IAAI,KAAK,CAgSvC"}
@@ -27,16 +27,21 @@ export interface AxisControlComponentColors {
27
27
  }
28
28
  interface NovaComponentsExtension {
29
29
  componentsExt?: {
30
- JoggingCartesian?: {
31
- Axis?: {
32
- X?: AxisControlComponentColors;
33
- Y?: AxisControlComponentColors;
34
- Z?: AxisControlComponentColors;
30
+ JoggingPanel?: {
31
+ JoggingCartesian?: {
32
+ Axis?: {
33
+ X?: AxisControlComponentColors;
34
+ Y?: AxisControlComponentColors;
35
+ Z?: AxisControlComponentColors;
36
+ };
35
37
  };
36
- };
37
- JoggingJoint?: {
38
- Joint?: {
39
- arrowColor?: string;
38
+ JoggingJoint?: {
39
+ Joint?: {
40
+ arrowColor?: string;
41
+ };
42
+ };
43
+ VelocitySlider?: {
44
+ sliderLegendColor?: string;
40
45
  };
41
46
  };
42
47
  WandelscriptEditor?: {
@@ -1 +1 @@
1
- {"version":3,"file":"themeTypes.d.ts","sourceRoot":"","sources":["../../src/themes/themeTypes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAA;AAE3C,KAAK,yBAAyB,GAAG;IAC/B,UAAU,CAAC,EAAE;QACX,OAAO,CAAC,E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;IAED,UAAU,KAAM,SAAQ,uBAAuB,EAAE,yBAAyB;KAAG;IAE7E,UAAU,YACR,SAAQ,uBAAuB,EAC7B,yBAAyB;KAAG;CACjC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wandelbots/wandelbots-js-react-components",
3
- "version": "2.20.0",
3
+ "version": "2.21.0",
4
4
  "description": "React UI toolkit for building applications on top of the Wandelbots platform",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -3,6 +3,8 @@ import Slider from "@mui/material/Slider"
3
3
  import isNumber from "lodash-es/isNumber"
4
4
  import { observer } from "mobx-react-lite"
5
5
  import type { ReactNode } from "react"
6
+ import { useTranslation } from "react-i18next"
7
+ import type { JoggingStore } from "./jogging/JoggingStore"
6
8
 
7
9
  type VelocitySliderProps = {
8
10
  min: number
@@ -11,11 +13,14 @@ type VelocitySliderProps = {
11
13
  onVelocityChange: (newVelocity: number) => void
12
14
  disabled?: boolean
13
15
  renderValue?: (value: number) => ReactNode
16
+ store: JoggingStore
14
17
  }
15
18
 
16
19
  /** A slider for controlling the movement velocity of a robot */
17
20
  export const VelocitySlider = observer((props: VelocitySliderProps) => {
18
21
  const theme = useTheme()
22
+ const { store } = props
23
+ const { t } = useTranslation()
19
24
 
20
25
  function onSliderChange(_event: Event, newVelocity: number | number[]) {
21
26
  if (newVelocity === props.velocity || !isNumber(newVelocity)) return
@@ -24,7 +29,19 @@ export const VelocitySlider = observer((props: VelocitySliderProps) => {
24
29
  }
25
30
 
26
31
  return (
27
- <Stack direction="row" gap={2}>
32
+ <Stack direction="row" gap={2} alignItems="center">
33
+ {store.showVelocityLegend && (
34
+ <Typography
35
+ sx={{
36
+ color:
37
+ theme.componentsExt?.JoggingPanel?.VelocitySlider
38
+ ?.sliderLegendColor,
39
+ fontSize: "14px",
40
+ }}
41
+ >
42
+ {t("Jogging.Velocity.bt")}
43
+ </Typography>
44
+ )}
28
45
  <Slider
29
46
  value={props.velocity}
30
47
  color="secondary"
@@ -41,11 +58,12 @@ export const VelocitySlider = observer((props: VelocitySliderProps) => {
41
58
  },
42
59
  }}
43
60
  />
44
- {props.renderValue ? (
45
- props.renderValue(props.velocity)
46
- ) : (
47
- <VelocitySliderLabel value={props.velocity.toString()} />
48
- )}
61
+ {store.showVelocitySliderLabel &&
62
+ (props.renderValue ? (
63
+ props.renderValue(props.velocity)
64
+ ) : (
65
+ <VelocitySliderLabel value={props.velocity.toString()} />
66
+ ))}
49
67
  </Stack>
50
68
  )
51
69
  })
@@ -143,17 +143,17 @@ export const JoggingCartesianTab = observer(
143
143
  const axisList = [
144
144
  {
145
145
  id: "x",
146
- colors: theme.componentsExt?.JoggingCartesian?.Axis?.X,
146
+ colors: theme.componentsExt?.JoggingPanel?.JoggingCartesian?.Axis?.X,
147
147
  icon: <XAxisIcon />,
148
148
  },
149
149
  {
150
150
  id: "y",
151
- colors: theme.componentsExt?.JoggingCartesian?.Axis?.Y,
151
+ colors: theme.componentsExt?.JoggingPanel?.JoggingCartesian?.Axis?.Y,
152
152
  icon: <YAxisIcon />,
153
153
  },
154
154
  {
155
155
  id: "z",
156
- colors: theme.componentsExt?.JoggingCartesian?.Axis?.Z,
156
+ colors: theme.componentsExt?.JoggingPanel?.JoggingCartesian?.Axis?.Z,
157
157
  icon: <ZAxisIcon />,
158
158
  },
159
159
  ] as const
@@ -137,7 +137,9 @@ export const JoggingJointRotationControl = externalizeComponent(
137
137
  <ChevronLeft
138
138
  sx={{
139
139
  pointerEvents: "none",
140
- color: theme.componentsExt?.JoggingJoint?.Joint?.arrowColor,
140
+ color:
141
+ theme.componentsExt?.JoggingPanel?.JoggingJoint?.Joint
142
+ ?.arrowColor,
141
143
  }}
142
144
  />
143
145
  </IconButton>
@@ -233,7 +235,9 @@ export const JoggingJointRotationControl = externalizeComponent(
233
235
  <ChevronRight
234
236
  sx={{
235
237
  pointerEvents: "none",
236
- color: theme.componentsExt?.JoggingJoint?.Joint?.arrowColor,
238
+ color:
239
+ theme.componentsExt?.JoggingPanel?.JoggingJoint?.Joint
240
+ ?.arrowColor,
237
241
  }}
238
242
  />
239
243
  </IconButton>
@@ -1,3 +1,5 @@
1
+ import MoveIcon from "@mui/icons-material/OpenWith"
2
+ import ShareIcon from "@mui/icons-material/Share"
1
3
  import { Stack, Tab, Tabs, type SxProps } from "@mui/material"
2
4
  import { NovaClient } from "@wandelbots/nova-js/v1"
3
5
  import { isString } from "lodash-es"
@@ -147,18 +149,37 @@ const JoggingPanelInner = observer(
147
149
  onChange={store.onTabChange}
148
150
  variant="fullWidth"
149
151
  >
150
- {store.tabs.map((tab) => (
151
- <Tab
152
- key={tab.id}
153
- label={
154
- tab.label === "cartesian"
155
- ? t("Jogging.Cartesian.bt")
156
- : t("Jogging.Joints.bt")
157
- }
158
- id={`jogging-tab-${tab.id}`}
159
- aria-controls={`jogging-tab-${tab.id}`}
160
- />
161
- ))}
152
+ {store.tabs.map((tab) => {
153
+ const label =
154
+ tab.label === "cartesian"
155
+ ? t("Jogging.Cartesian.bt")
156
+ : t("Jogging.Joints.bt")
157
+
158
+ const icon =
159
+ tab.label === "cartesian" ? (
160
+ <MoveIcon fontSize="small" sx={{ mr: 1 }} />
161
+ ) : (
162
+ <ShareIcon fontSize="small" sx={{ mr: 1 }} />
163
+ )
164
+
165
+ return (
166
+ <Tab
167
+ key={tab.id}
168
+ label={
169
+ store.showTabIcons ? (
170
+ <Stack direction="row" alignItems="center">
171
+ {icon}
172
+ {label}
173
+ </Stack>
174
+ ) : (
175
+ label
176
+ )
177
+ }
178
+ id={`jogging-tab-${tab.id}`}
179
+ aria-controls={`jogging-tab-${tab.id}`}
180
+ />
181
+ )
182
+ })}
162
183
  </Tabs>
163
184
 
164
185
  {/* Current tab content */}
@@ -116,6 +116,15 @@ export class JoggingStore {
116
116
  /** Whether to show the increment select dropdown in the UI */
117
117
  showIncrementSelect: boolean = true
118
118
 
119
+ /** Whether to show icons in the jogging tabs */
120
+ showTabIcons: boolean = false
121
+
122
+ /** Whether to show the label to the right of the velocity slider */
123
+ showVelocitySliderLabel: boolean = true
124
+
125
+ /** Whether to show the legend before the slider */
126
+ showVelocityLegend: boolean = false
127
+
119
128
  disposers: IReactionDisposer[] = []
120
129
 
121
130
  /**
@@ -21,6 +21,7 @@ export const JoggingVelocitySlider = observer(
21
21
 
22
22
  return (
23
23
  <VelocitySlider
24
+ store={store}
24
25
  velocity={store.velocityInDisplayUnits}
25
26
  min={store.minVelocityInDisplayUnits}
26
27
  max={store.maxVelocityInDisplayUnits}
@@ -42,5 +42,6 @@
42
42
  "Jogging.Increment.hlb": "Schrittgröße",
43
43
  "Jogging.CoordinateSystem.hlb": "Koordinatensystem",
44
44
  "Jogging.Cartesian.bt": "Kartesisch",
45
- "Jogging.Joints.bt": "Gelenke"
45
+ "Jogging.Joints.bt": "Gelenke",
46
+ "Jogging.Velocity.bt": "Geschwindigkeit"
46
47
  }
@@ -43,5 +43,6 @@
43
43
  "Jogging.Increment.hlb": "Increment",
44
44
  "Jogging.CoordinateSystem.hlb": "Coordinate system",
45
45
  "Jogging.Cartesian.bt": "Cartesian",
46
- "Jogging.Joints.bt": "Joints"
46
+ "Jogging.Joints.bt": "Joints",
47
+ "Jogging.Velocity.bt": "Velocity"
47
48
  }
@@ -215,49 +215,54 @@ export function createDarkTheme(): Theme {
215
215
  },
216
216
 
217
217
  componentsExt: {
218
- JoggingCartesian: {
219
- Axis: {
220
- X: {
221
- backgroundColor: "rgba(215, 66, 56, 1)",
222
- borderColor: "rgba(215, 66, 56, 1)",
223
- buttonBackgroundColor: {
224
- default: "rgba(241, 77, 66, 1)",
225
- pressed: "rgba(138, 41, 35, 1)",
226
- hovered: "rgba(241, 77, 66, 1)",
227
- disabled: "rgba(241, 77, 66, 1)",
218
+ JoggingPanel: {
219
+ JoggingCartesian: {
220
+ Axis: {
221
+ X: {
222
+ backgroundColor: "rgba(215, 66, 56, 1)",
223
+ borderColor: "rgba(215, 66, 56, 1)",
224
+ buttonBackgroundColor: {
225
+ default: "rgba(241, 77, 66, 1)",
226
+ pressed: "rgba(138, 41, 35, 1)",
227
+ hovered: "rgba(241, 77, 66, 1)",
228
+ disabled: "rgba(241, 77, 66, 1)",
229
+ },
230
+ color: "rgba(255, 198, 198, 1)",
231
+ labelColor: baseTheme.palette.text.primary,
228
232
  },
229
- color: "rgba(255, 198, 198, 1)",
230
- labelColor: baseTheme.palette.text.primary,
231
- },
232
- Y: {
233
- backgroundColor: "rgba(20, 151, 108, 1)",
234
- borderColor: "rgba(20, 151, 108, 1)",
235
- buttonBackgroundColor: {
236
- default: "rgba(28, 188, 135, 1)",
237
- pressed: "rgba(11, 89, 63, 1)",
238
- disabled: "rgba(28, 188, 135, 1)",
239
- hovered: "rgba(28, 188, 135, 1)",
233
+ Y: {
234
+ backgroundColor: "rgba(20, 151, 108, 1)",
235
+ borderColor: "rgba(20, 151, 108, 1)",
236
+ buttonBackgroundColor: {
237
+ default: "rgba(28, 188, 135, 1)",
238
+ pressed: "rgba(11, 89, 63, 1)",
239
+ disabled: "rgba(28, 188, 135, 1)",
240
+ hovered: "rgba(28, 188, 135, 1)",
241
+ },
242
+ color: "rgba(215, 255, 242, 1)",
243
+ labelColor: baseTheme.palette.text.primary,
240
244
  },
241
- color: "rgba(215, 255, 242, 1)",
242
- labelColor: baseTheme.palette.text.primary,
243
- },
244
- Z: {
245
- backgroundColor: "rgba(1, 87, 155, 1)",
246
- borderColor: "rgba(1, 87, 155, 1)",
247
- buttonBackgroundColor: {
248
- default: "rgba(2, 136, 209, 1)",
249
- pressed: "rgba(2, 64, 114, 1)",
250
- disabled: "rgba(2, 136, 209, 1)",
251
- hovered: "rgba(2, 136, 209, 1)",
245
+ Z: {
246
+ backgroundColor: "rgba(1, 87, 155, 1)",
247
+ borderColor: "rgba(1, 87, 155, 1)",
248
+ buttonBackgroundColor: {
249
+ default: "rgba(2, 136, 209, 1)",
250
+ pressed: "rgba(2, 64, 114, 1)",
251
+ disabled: "rgba(2, 136, 209, 1)",
252
+ hovered: "rgba(2, 136, 209, 1)",
253
+ },
254
+ color: "rgba(210, 239, 255, 1)",
255
+ labelColor: baseTheme.palette.text.primary,
252
256
  },
253
- color: "rgba(210, 239, 255, 1)",
254
- labelColor: baseTheme.palette.text.primary,
255
257
  },
256
258
  },
257
- },
258
- JoggingJoint: {
259
- Joint: {
260
- arrowColor: baseTheme.palette.text.primary,
259
+ JoggingJoint: {
260
+ Joint: {
261
+ arrowColor: baseTheme.palette.text.primary,
262
+ },
263
+ },
264
+ VelocitySlider: {
265
+ sliderLegendColor: baseTheme.palette.text.primary,
261
266
  },
262
267
  },
263
268
  WandelscriptEditor: {
@@ -30,16 +30,21 @@ export interface AxisControlComponentColors {
30
30
 
31
31
  interface NovaComponentsExtension {
32
32
  componentsExt?: {
33
- JoggingCartesian?: {
34
- Axis?: {
35
- X?: AxisControlComponentColors
36
- Y?: AxisControlComponentColors
37
- Z?: AxisControlComponentColors
33
+ JoggingPanel?: {
34
+ JoggingCartesian?: {
35
+ Axis?: {
36
+ X?: AxisControlComponentColors
37
+ Y?: AxisControlComponentColors
38
+ Z?: AxisControlComponentColors
39
+ }
38
40
  }
39
- }
40
- JoggingJoint?: {
41
- Joint?: {
42
- arrowColor?: string
41
+ JoggingJoint?: {
42
+ Joint?: {
43
+ arrowColor?: string
44
+ }
45
+ }
46
+ VelocitySlider?: {
47
+ sliderLegendColor?: string
43
48
  }
44
49
  }
45
50
  WandelscriptEditor?: {