@wandelbots/wandelbots-js-react-components 2.12.0 → 2.13.0-pr.feature-switch-to-nova-js.277.9e225d8

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 (63) hide show
  1. package/dist/Setup.d.ts.map +1 -1
  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/LoadingCover.d.ts.map +1 -1
  13. package/dist/components/ThemeSelect.d.ts.map +1 -1
  14. package/dist/components/TransparentOverlay.d.ts.map +1 -1
  15. package/dist/components/jogging/JoggingJointLimitDetector.d.ts.map +1 -1
  16. package/dist/components/jogging/JoggingPanel.d.ts +1 -1
  17. package/dist/components/jogging/JoggingPanel.d.ts.map +1 -1
  18. package/dist/components/jogging/JoggingStore.d.ts +1 -1
  19. package/dist/components/jogging/JoggingStore.d.ts.map +1 -1
  20. package/dist/components/jogging/PoseCartesianValues.d.ts +1 -1
  21. package/dist/components/jogging/PoseCartesianValues.d.ts.map +1 -1
  22. package/dist/components/jogging/PoseJointValues.d.ts +1 -1
  23. package/dist/components/jogging/PoseJointValues.d.ts.map +1 -1
  24. package/dist/components/robots/Robot.d.ts +1 -1
  25. package/dist/components/robots/Robot.d.ts.map +1 -1
  26. package/dist/components/robots/RobotAnimator.d.ts +1 -1
  27. package/dist/components/robots/RobotAnimator.d.ts.map +1 -1
  28. package/dist/components/robots/SupportedRobot.d.ts +1 -1
  29. package/dist/components/robots/SupportedRobot.d.ts.map +1 -1
  30. package/dist/components/robots/ghostStyle.d.ts.map +1 -1
  31. package/dist/components/safetyBar/ControllerTypeIndicator.d.ts +4 -1
  32. package/dist/components/safetyBar/ControllerTypeIndicator.d.ts.map +1 -1
  33. package/dist/components/safetyBar/IndicatorWithExplanation.d.ts +4 -2
  34. package/dist/components/safetyBar/IndicatorWithExplanation.d.ts.map +1 -1
  35. package/dist/components/safetyBar/OperationModeIndicator.d.ts +5 -2
  36. package/dist/components/safetyBar/OperationModeIndicator.d.ts.map +1 -1
  37. package/dist/components/safetyBar/SafetyBar.d.ts +4 -1
  38. package/dist/components/safetyBar/SafetyBar.d.ts.map +1 -1
  39. package/dist/components/safetyBar/SafetyStateIndicator.d.ts +5 -2
  40. package/dist/components/safetyBar/SafetyStateIndicator.d.ts.map +1 -1
  41. package/dist/index.cjs +57 -36
  42. package/dist/index.cjs.map +1 -1
  43. package/dist/index.js +18142 -6083
  44. package/dist/index.js.map +1 -1
  45. package/package.json +15 -15
  46. package/src/components/3d-viewport/CoordinateSystemTransform.tsx +2 -2
  47. package/src/components/3d-viewport/SafetyZonesRenderer.tsx +1 -2
  48. package/src/components/3d-viewport/TrajectoryRenderer.tsx +1 -1
  49. package/src/components/jogging/JoggingCartesianTab.tsx +1 -1
  50. package/src/components/jogging/JoggingJointTab.tsx +1 -1
  51. package/src/components/jogging/JoggingPanel.tsx +1 -1
  52. package/src/components/jogging/JoggingStore.ts +2 -2
  53. package/src/components/jogging/PoseCartesianValues.tsx +2 -2
  54. package/src/components/jogging/PoseJointValues.tsx +1 -1
  55. package/src/components/robots/DHRobot.tsx +1 -1
  56. package/src/components/robots/Robot.tsx +1 -1
  57. package/src/components/robots/RobotAnimator.tsx +1 -1
  58. package/src/components/robots/SupportedRobot.tsx +1 -1
  59. package/src/components/safetyBar/ControllerTypeIndicator.tsx +13 -2
  60. package/src/components/safetyBar/IndicatorWithExplanation.tsx +17 -8
  61. package/src/components/safetyBar/OperationModeIndicator.tsx +15 -3
  62. package/src/components/safetyBar/SafetyBar.tsx +16 -4
  63. package/src/components/safetyBar/SafetyStateIndicator.tsx +19 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wandelbots/wandelbots-js-react-components",
3
- "version": "2.12.0",
3
+ "version": "2.13.0-pr.feature-switch-to-nova-js.277.9e225d8",
4
4
  "description": "React UI toolkit for building applications on top of the Wandelbots platform",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -55,20 +55,20 @@
55
55
  "@rollup/plugin-node-resolve": "^16.0.0",
56
56
  "@rollup/plugin-terser": "^0.4.4",
57
57
  "@rollup/plugin-typescript": "^12.1.2",
58
- "@storybook/addon-docs": "^8.6.2",
59
- "@storybook/addon-essentials": "^8.6.2",
60
- "@storybook/addon-interactions": "^8.6.2",
61
- "@storybook/blocks": "^8.6.2",
62
- "@storybook/react": "^8.6.2",
63
- "@storybook/csf-tools": "^8.6.2",
64
- "@storybook/react-vite": "^8.6.2",
65
- "@storybook/test": "^8.6.2",
58
+ "@storybook/addon-docs": "^8.6.4",
59
+ "@storybook/addon-essentials": "^8.6.4",
60
+ "@storybook/addon-interactions": "^8.6.4",
61
+ "@storybook/blocks": "^8.6.4",
62
+ "@storybook/react": "^8.6.4",
63
+ "@storybook/csf-tools": "^8.6.4",
64
+ "@storybook/react-vite": "^8.6.4",
65
+ "@storybook/test": "^8.6.4",
66
66
  "@storybook/test-runner": "^0.21.3",
67
- "@storybook/types": "^8.6.2",
67
+ "@storybook/types": "^8.6.4",
68
68
  "@svgr/rollup": "^8.1.0",
69
69
  "@types/lodash-es": "^4.17.12",
70
70
  "@types/react": "^18.3.12",
71
- "@types/three": "^0.173.0",
71
+ "@types/three": "^0.174.0",
72
72
  "@vitejs/plugin-react": "^4.3.4",
73
73
  "add": "^2.0.6",
74
74
  "glob": "^11.0.1",
@@ -84,23 +84,23 @@
84
84
  "react": "^18.3.1",
85
85
  "react-dom": "^18.3.1",
86
86
  "rimraf": "^6.0.1",
87
- "rollup": "^4.34.8",
87
+ "rollup": "^4.34.9",
88
88
  "rollup-plugin-dts": "^6.1.1",
89
89
  "rollup-plugin-gltf": "^4.0.0",
90
90
  "rollup-plugin-peer-deps-external": "^2.2.4",
91
91
  "rollup-plugin-postcss": "^4.0.2",
92
92
  "semantic-release": "^24.2.3",
93
- "storybook": "^8.6.2",
93
+ "storybook": "^8.6.4",
94
94
  "storybook-dark-mode": "^4.0.2",
95
95
  "storybook-preset-inline-svg": "^1.0.1",
96
96
  "ts-dedent": "^2.2.0",
97
- "typescript": "^5.7.3",
97
+ "typescript": "^5.8.2",
98
98
  "unplugin": "^1.15.0",
99
99
  "vite": "~6.2.0",
100
100
  "vite-plugin-svgr": "^4.3.0",
101
101
  "vitest": "^3.0.7",
102
102
  "wait-on": "^8.0.2",
103
- "@wandelbots/wandelbots-js": "^1.17.1"
103
+ "@wandelbots/nova-js": "^2"
104
104
  },
105
105
  "peerDependencies": {
106
106
  "@emotion/react": "^11.11.1",
@@ -1,6 +1,6 @@
1
- import type { CoordinateSystem } from "@wandelbots/wandelbots-api-client"
1
+ import type { CoordinateSystem } from "@wandelbots/nova-js/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,5 @@
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, SafetySetupSafetyZone } from "@wandelbots/nova-js/v1"
4
3
  import * as THREE from "three"
5
4
  import { ConvexGeometry } from "three-stdlib"
6
5
 
@@ -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-js/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"
@@ -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-js/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-js/v1"
6
6
  import { Suspense, useCallback, useEffect, useState } from "react"
7
7
  import { DHRobot } from "./DHRobot"
8
8
 
@@ -1,4 +1,4 @@
1
- import { useTheme } from "@mui/material"
1
+ import { useTheme, type PopoverOrigin } from "@mui/material"
2
2
  import { observer } from "mobx-react-lite"
3
3
  import { Trans, useTranslation } from "react-i18next"
4
4
  import ControllerTypePhysicalIcon from "./icons/controller-type-physical.svg"
@@ -8,10 +8,17 @@ import { IndicatorWithExplanation } from "./IndicatorWithExplanation"
8
8
  interface ControllerTypeIndicatorProps {
9
9
  isVirtual: boolean
10
10
  motionGroupId: string
11
+ anchorOrigin?: PopoverOrigin
12
+ transformOrigin?: PopoverOrigin
11
13
  }
12
14
 
13
15
  export const ControllerTypeIndicator = observer(
14
- ({ isVirtual, motionGroupId }: ControllerTypeIndicatorProps) => {
16
+ ({
17
+ isVirtual,
18
+ motionGroupId,
19
+ anchorOrigin,
20
+ transformOrigin,
21
+ }: ControllerTypeIndicatorProps) => {
15
22
  const theme = useTheme()
16
23
  const { t } = useTranslation()
17
24
 
@@ -34,6 +41,8 @@ export const ControllerTypeIndicator = observer(
34
41
  without special safety precautions.
35
42
  </Trans>
36
43
  }
44
+ anchorOrigin={anchorOrigin}
45
+ transformOrigin={transformOrigin}
37
46
  />
38
47
  )
39
48
  }
@@ -53,6 +62,8 @@ export const ControllerTypeIndicator = observer(
53
62
  components={{ code: <code />, strong: <strong /> }}
54
63
  />
55
64
  }
65
+ anchorOrigin={anchorOrigin}
66
+ transformOrigin={transformOrigin}
56
67
  />
57
68
  )
58
69
  },
@@ -3,6 +3,7 @@ import {
3
3
  Stack,
4
4
  SvgIcon,
5
5
  Typography,
6
+ type PopoverOrigin,
6
7
  type TypographyProps,
7
8
  } from "@mui/material"
8
9
  import { observer, useLocalObservable } from "mobx-react-lite"
@@ -16,6 +17,8 @@ export type IndicatorWithExplanationProps = {
16
17
  name: ReactNode
17
18
  explanation: ReactNode
18
19
  literalValue?: string
20
+ anchorOrigin?: PopoverOrigin
21
+ transformOrigin?: PopoverOrigin
19
22
  }
20
23
 
21
24
  export const IndicatorWithExplanation = observer(
@@ -27,6 +30,8 @@ export const IndicatorWithExplanation = observer(
27
30
  name,
28
31
  explanation,
29
32
  literalValue,
33
+ anchorOrigin,
34
+ transformOrigin,
30
35
  }: IndicatorWithExplanationProps) => {
31
36
  const state = useLocalObservable(() => ({
32
37
  anchorEl: null as HTMLElement | null,
@@ -69,14 +74,18 @@ export const IndicatorWithExplanation = observer(
69
74
  }}
70
75
  open={state.isPopoverOpen}
71
76
  anchorEl={state.anchorEl}
72
- anchorOrigin={{
73
- vertical: "bottom",
74
- horizontal: "left",
75
- }}
76
- transformOrigin={{
77
- vertical: "top",
78
- horizontal: "left",
79
- }}
77
+ anchorOrigin={
78
+ anchorOrigin ?? {
79
+ vertical: "bottom",
80
+ horizontal: "left",
81
+ }
82
+ }
83
+ transformOrigin={
84
+ transformOrigin ?? {
85
+ vertical: "top",
86
+ horizontal: "left",
87
+ }
88
+ }
80
89
  onClose={state.closePopover}
81
90
  disableRestoreFocus
82
91
  >
@@ -1,5 +1,5 @@
1
- import { useTheme } from "@mui/material"
2
- import type { RobotControllerStateOperationModeEnum } from "@wandelbots/wandelbots-js"
1
+ import { useTheme, type PopoverOrigin } from "@mui/material"
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"
@@ -9,10 +9,16 @@ import { IndicatorWithExplanation } from "./IndicatorWithExplanation"
9
9
 
10
10
  interface OperationModeIndicatorProps {
11
11
  operationMode: RobotControllerStateOperationModeEnum
12
+ anchorOrigin?: PopoverOrigin
13
+ transformOrigin?: PopoverOrigin
12
14
  }
13
15
 
14
16
  export const OperationModeIndicator = observer(
15
- ({ operationMode }: OperationModeIndicatorProps) => {
17
+ ({
18
+ operationMode,
19
+ anchorOrigin,
20
+ transformOrigin,
21
+ }: OperationModeIndicatorProps) => {
16
22
  const { t } = useTranslation()
17
23
  const theme = useTheme()
18
24
 
@@ -31,6 +37,8 @@ export const OperationModeIndicator = observer(
31
37
  movement without manual confirmation is possible in this mode.
32
38
  </Trans>
33
39
  }
40
+ anchorOrigin={anchorOrigin}
41
+ transformOrigin={transformOrigin}
34
42
  />
35
43
  )
36
44
  case "OPERATION_MODE_MANUAL":
@@ -51,6 +59,8 @@ export const OperationModeIndicator = observer(
51
59
  </Trans>
52
60
  }
53
61
  literalValue={operationMode}
62
+ anchorOrigin={anchorOrigin}
63
+ transformOrigin={transformOrigin}
54
64
  />
55
65
  )
56
66
  }
@@ -69,6 +79,8 @@ export const OperationModeIndicator = observer(
69
79
  </Trans>
70
80
  }
71
81
  literalValue={operationMode}
82
+ anchorOrigin={anchorOrigin}
83
+ transformOrigin={transformOrigin}
72
84
  />
73
85
  )
74
86
  }
@@ -1,8 +1,8 @@
1
- import { Divider, Stack } from "@mui/material"
1
+ 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"
@@ -14,6 +14,8 @@ export interface SafetyBarProps {
14
14
  motionGroupId: string
15
15
  operationMode: RobotControllerStateOperationModeEnum
16
16
  safetyState: RobotControllerStateSafetyStateEnum
17
+ anchorOrigin?: PopoverOrigin
18
+ transformOrigin?: PopoverOrigin
17
19
  }
18
20
 
19
21
  export const SafetyBar = externalizeComponent(
@@ -25,17 +27,27 @@ export const SafetyBar = externalizeComponent(
25
27
  alignItems="center"
26
28
  sx={{ height: "24px" }}
27
29
  >
28
- <SafetyStateIndicator safetyState={props.safetyState} />
30
+ <SafetyStateIndicator
31
+ safetyState={props.safetyState}
32
+ anchorOrigin={props.anchorOrigin}
33
+ transformOrigin={props.transformOrigin}
34
+ />
29
35
 
30
36
  <Divider orientation="vertical" flexItem />
31
37
 
32
- <OperationModeIndicator operationMode={props.operationMode} />
38
+ <OperationModeIndicator
39
+ operationMode={props.operationMode}
40
+ anchorOrigin={props.anchorOrigin}
41
+ transformOrigin={props.transformOrigin}
42
+ />
33
43
 
34
44
  <Divider orientation="vertical" flexItem />
35
45
 
36
46
  <ControllerTypeIndicator
37
47
  isVirtual={props.isVirtual}
38
48
  motionGroupId={props.motionGroupId}
49
+ anchorOrigin={props.anchorOrigin}
50
+ transformOrigin={props.transformOrigin}
39
51
  />
40
52
  </Stack>
41
53
  )
@@ -1,5 +1,5 @@
1
- import { useTheme } from "@mui/material"
2
- import type { RobotControllerStateSafetyStateEnum } from "@wandelbots/wandelbots-js"
1
+ import { useTheme, type PopoverOrigin } from "@mui/material"
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"
@@ -12,10 +12,16 @@ import { IndicatorWithExplanation } from "./IndicatorWithExplanation"
12
12
 
13
13
  interface SafetyStateIndicatorProps {
14
14
  safetyState: RobotControllerStateSafetyStateEnum
15
+ anchorOrigin?: PopoverOrigin
16
+ transformOrigin?: PopoverOrigin
15
17
  }
16
18
 
17
19
  export const SafetyStateIndicator = observer(
18
- ({ safetyState }: SafetyStateIndicatorProps) => {
20
+ ({
21
+ safetyState,
22
+ anchorOrigin,
23
+ transformOrigin,
24
+ }: SafetyStateIndicatorProps) => {
19
25
  const { t } = useTranslation()
20
26
  const theme = useTheme()
21
27
 
@@ -35,6 +41,8 @@ export const SafetyStateIndicator = observer(
35
41
  not prevented by this state.
36
42
  </Trans>
37
43
  }
44
+ anchorOrigin={anchorOrigin}
45
+ transformOrigin={transformOrigin}
38
46
  />
39
47
  )
40
48
 
@@ -56,6 +64,8 @@ export const SafetyStateIndicator = observer(
56
64
  </Trans>
57
65
  }
58
66
  literalValue={safetyState}
67
+ anchorOrigin={anchorOrigin}
68
+ transformOrigin={transformOrigin}
59
69
  />
60
70
  )
61
71
 
@@ -79,6 +89,8 @@ export const SafetyStateIndicator = observer(
79
89
  </Trans>
80
90
  }
81
91
  literalValue={safetyState}
92
+ anchorOrigin={anchorOrigin}
93
+ transformOrigin={transformOrigin}
82
94
  />
83
95
  )
84
96
 
@@ -103,6 +115,8 @@ export const SafetyStateIndicator = observer(
103
115
  </Trans>
104
116
  }
105
117
  literalValue={safetyState}
118
+ anchorOrigin={anchorOrigin}
119
+ transformOrigin={transformOrigin}
106
120
  />
107
121
  )
108
122
 
@@ -122,6 +136,8 @@ export const SafetyStateIndicator = observer(
122
136
  </Trans>
123
137
  }
124
138
  literalValue={safetyState}
139
+ anchorOrigin={anchorOrigin}
140
+ transformOrigin={transformOrigin}
125
141
  />
126
142
  )
127
143
  default: