@wandelbots/wandelbots-js-react-components 2.12.0 → 2.13.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,8 +1,11 @@
1
+ import { type PopoverOrigin } from "@mui/material";
1
2
  interface ControllerTypeIndicatorProps {
2
3
  isVirtual: boolean;
3
4
  motionGroupId: string;
5
+ anchorOrigin?: PopoverOrigin;
6
+ transformOrigin?: PopoverOrigin;
4
7
  }
5
- export declare const ControllerTypeIndicator: (({ isVirtual, motionGroupId }: ControllerTypeIndicatorProps) => import("react/jsx-runtime").JSX.Element) & {
8
+ export declare const ControllerTypeIndicator: (({ isVirtual, motionGroupId, anchorOrigin, transformOrigin, }: ControllerTypeIndicatorProps) => import("react/jsx-runtime").JSX.Element) & {
6
9
  displayName: string;
7
10
  };
8
11
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"ControllerTypeIndicator.d.ts","sourceRoot":"","sources":["../../../src/components/safetyBar/ControllerTypeIndicator.tsx"],"names":[],"mappings":"AAOA,UAAU,4BAA4B;IACpC,SAAS,EAAE,OAAO,CAAA;IAClB,aAAa,EAAE,MAAM,CAAA;CACtB;AAED,eAAO,MAAM,uBAAuB,kCACH,4BAA4B;;CA6C5D,CAAA"}
1
+ {"version":3,"file":"ControllerTypeIndicator.d.ts","sourceRoot":"","sources":["../../../src/components/safetyBar/ControllerTypeIndicator.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAY,KAAK,aAAa,EAAE,MAAM,eAAe,CAAA;AAO5D,UAAU,4BAA4B;IACpC,SAAS,EAAE,OAAO,CAAA;IAClB,aAAa,EAAE,MAAM,CAAA;IACrB,YAAY,CAAC,EAAE,aAAa,CAAA;IAC5B,eAAe,CAAC,EAAE,aAAa,CAAA;CAChC;AAED,eAAO,MAAM,uBAAuB,kEAM/B,4BAA4B;;CAiDhC,CAAA"}
@@ -1,4 +1,4 @@
1
- import { type TypographyProps } from "@mui/material";
1
+ import { type PopoverOrigin, type TypographyProps } from "@mui/material";
2
2
  import type { ElementType, ReactNode } from "react";
3
3
  export type IndicatorWithExplanationProps = {
4
4
  id: string;
@@ -8,8 +8,10 @@ export type IndicatorWithExplanationProps = {
8
8
  name: ReactNode;
9
9
  explanation: ReactNode;
10
10
  literalValue?: string;
11
+ anchorOrigin?: PopoverOrigin;
12
+ transformOrigin?: PopoverOrigin;
11
13
  };
12
- export declare const IndicatorWithExplanation: (({ id, icon, color, title, name, explanation, literalValue, }: IndicatorWithExplanationProps) => import("react/jsx-runtime").JSX.Element) & {
14
+ export declare const IndicatorWithExplanation: (({ id, icon, color, title, name, explanation, literalValue, anchorOrigin, transformOrigin, }: IndicatorWithExplanationProps) => import("react/jsx-runtime").JSX.Element) & {
13
15
  displayName: string;
14
16
  };
15
17
  //# sourceMappingURL=IndicatorWithExplanation.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"IndicatorWithExplanation.d.ts","sourceRoot":"","sources":["../../../src/components/safetyBar/IndicatorWithExplanation.tsx"],"names":[],"mappings":"AAAA,OAAO,EAKL,KAAK,eAAe,EACrB,MAAM,eAAe,CAAA;AAEtB,OAAO,KAAK,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAEnD,MAAM,MAAM,6BAA6B,GAAG;IAC1C,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,WAAW,CAAA;IACjB,KAAK,EAAE,eAAe,CAAC,OAAO,CAAC,CAAA;IAC/B,KAAK,CAAC,EAAE,SAAS,CAAA;IACjB,IAAI,EAAE,SAAS,CAAA;IACf,WAAW,EAAE,SAAS,CAAA;IACtB,YAAY,CAAC,EAAE,MAAM,CAAA;CACtB,CAAA;AAED,eAAO,MAAM,wBAAwB,kEAShC,6BAA6B;;CAuFjC,CAAA"}
1
+ {"version":3,"file":"IndicatorWithExplanation.d.ts","sourceRoot":"","sources":["../../../src/components/safetyBar/IndicatorWithExplanation.tsx"],"names":[],"mappings":"AAAA,OAAO,EAKL,KAAK,aAAa,EAClB,KAAK,eAAe,EACrB,MAAM,eAAe,CAAA;AAEtB,OAAO,KAAK,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAEnD,MAAM,MAAM,6BAA6B,GAAG;IAC1C,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,WAAW,CAAA;IACjB,KAAK,EAAE,eAAe,CAAC,OAAO,CAAC,CAAA;IAC/B,KAAK,CAAC,EAAE,SAAS,CAAA;IACjB,IAAI,EAAE,SAAS,CAAA;IACf,WAAW,EAAE,SAAS,CAAA;IACtB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,YAAY,CAAC,EAAE,aAAa,CAAA;IAC5B,eAAe,CAAC,EAAE,aAAa,CAAA;CAChC,CAAA;AAED,eAAO,MAAM,wBAAwB,iGAWhC,6BAA6B;;CA2FjC,CAAA"}
@@ -1,8 +1,11 @@
1
+ import { type PopoverOrigin } from "@mui/material";
1
2
  import type { RobotControllerStateOperationModeEnum } from "@wandelbots/wandelbots-js";
2
3
  interface OperationModeIndicatorProps {
3
4
  operationMode: RobotControllerStateOperationModeEnum;
5
+ anchorOrigin?: PopoverOrigin;
6
+ transformOrigin?: PopoverOrigin;
4
7
  }
5
- export declare const OperationModeIndicator: (({ operationMode }: OperationModeIndicatorProps) => import("react/jsx-runtime").JSX.Element) & {
8
+ export declare const OperationModeIndicator: (({ operationMode, anchorOrigin, transformOrigin, }: OperationModeIndicatorProps) => import("react/jsx-runtime").JSX.Element) & {
6
9
  displayName: string;
7
10
  };
8
11
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"OperationModeIndicator.d.ts","sourceRoot":"","sources":["../../../src/components/safetyBar/OperationModeIndicator.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,qCAAqC,EAAE,MAAM,2BAA2B,CAAA;AAQtF,UAAU,2BAA2B;IACnC,aAAa,EAAE,qCAAqC,CAAA;CACrD;AAED,eAAO,MAAM,sBAAsB,uBACb,2BAA2B;;CA6DhD,CAAA"}
1
+ {"version":3,"file":"OperationModeIndicator.d.ts","sourceRoot":"","sources":["../../../src/components/safetyBar/OperationModeIndicator.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAY,KAAK,aAAa,EAAE,MAAM,eAAe,CAAA;AAC5D,OAAO,KAAK,EAAE,qCAAqC,EAAE,MAAM,2BAA2B,CAAA;AAQtF,UAAU,2BAA2B;IACnC,aAAa,EAAE,qCAAqC,CAAA;IACpD,YAAY,CAAC,EAAE,aAAa,CAAA;IAC5B,eAAe,CAAC,EAAE,aAAa,CAAA;CAChC;AAED,eAAO,MAAM,sBAAsB,uDAK9B,2BAA2B;;CAmE/B,CAAA"}
@@ -1,9 +1,12 @@
1
+ import { type PopoverOrigin } from "@mui/material";
1
2
  import type { RobotControllerStateOperationModeEnum, RobotControllerStateSafetyStateEnum } from "@wandelbots/wandelbots-js";
2
3
  export interface SafetyBarProps {
3
4
  isVirtual: boolean;
4
5
  motionGroupId: string;
5
6
  operationMode: RobotControllerStateOperationModeEnum;
6
7
  safetyState: RobotControllerStateSafetyStateEnum;
8
+ anchorOrigin?: PopoverOrigin;
9
+ transformOrigin?: PopoverOrigin;
7
10
  }
8
11
  export declare const SafetyBar: ((props: SafetyBarProps) => import("react/jsx-runtime").JSX.Element) & {
9
12
  displayName: string;
@@ -1 +1 @@
1
- {"version":3,"file":"SafetyBar.d.ts","sourceRoot":"","sources":["../../../src/components/safetyBar/SafetyBar.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,qCAAqC,EACrC,mCAAmC,EACpC,MAAM,2BAA2B,CAAA;AAOlC,MAAM,WAAW,cAAc;IAC7B,SAAS,EAAE,OAAO,CAAA;IAClB,aAAa,EAAE,MAAM,CAAA;IACrB,aAAa,EAAE,qCAAqC,CAAA;IACpD,WAAW,EAAE,mCAAmC,CAAA;CACjD;AAED,eAAO,MAAM,SAAS,WACH,cAAc;;CAuBhC,CAAA"}
1
+ {"version":3,"file":"SafetyBar.d.ts","sourceRoot":"","sources":["../../../src/components/safetyBar/SafetyBar.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAkB,KAAK,aAAa,EAAE,MAAM,eAAe,CAAA;AAClE,OAAO,KAAK,EACV,qCAAqC,EACrC,mCAAmC,EACpC,MAAM,2BAA2B,CAAA;AAOlC,MAAM,WAAW,cAAc;IAC7B,SAAS,EAAE,OAAO,CAAA;IAClB,aAAa,EAAE,MAAM,CAAA;IACrB,aAAa,EAAE,qCAAqC,CAAA;IACpD,WAAW,EAAE,mCAAmC,CAAA;IAChD,YAAY,CAAC,EAAE,aAAa,CAAA;IAC5B,eAAe,CAAC,EAAE,aAAa,CAAA;CAChC;AAED,eAAO,MAAM,SAAS,WACH,cAAc;;CAiChC,CAAA"}
@@ -1,8 +1,11 @@
1
+ import { type PopoverOrigin } from "@mui/material";
1
2
  import type { RobotControllerStateSafetyStateEnum } from "@wandelbots/wandelbots-js";
2
3
  interface SafetyStateIndicatorProps {
3
4
  safetyState: RobotControllerStateSafetyStateEnum;
5
+ anchorOrigin?: PopoverOrigin;
6
+ transformOrigin?: PopoverOrigin;
4
7
  }
5
- export declare const SafetyStateIndicator: (({ safetyState }: SafetyStateIndicatorProps) => import("react/jsx-runtime").JSX.Element) & {
8
+ export declare const SafetyStateIndicator: (({ safetyState, anchorOrigin, transformOrigin, }: SafetyStateIndicatorProps) => import("react/jsx-runtime").JSX.Element) & {
6
9
  displayName: string;
7
10
  };
8
11
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"SafetyStateIndicator.d.ts","sourceRoot":"","sources":["../../../src/components/safetyBar/SafetyStateIndicator.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,mCAAmC,EAAE,MAAM,2BAA2B,CAAA;AAWpF,UAAU,yBAAyB;IACjC,WAAW,EAAE,mCAAmC,CAAA;CACjD;AAED,eAAO,MAAM,oBAAoB,qBACb,yBAAyB;;CAiH5C,CAAA"}
1
+ {"version":3,"file":"SafetyStateIndicator.d.ts","sourceRoot":"","sources":["../../../src/components/safetyBar/SafetyStateIndicator.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAY,KAAK,aAAa,EAAE,MAAM,eAAe,CAAA;AAC5D,OAAO,KAAK,EAAE,mCAAmC,EAAE,MAAM,2BAA2B,CAAA;AAWpF,UAAU,yBAAyB;IACjC,WAAW,EAAE,mCAAmC,CAAA;IAChD,YAAY,CAAC,EAAE,aAAa,CAAA;IAC5B,eAAe,CAAC,EAAE,aAAa,CAAA;CAChC;AAED,eAAO,MAAM,oBAAoB,qDAK5B,yBAAyB;;CA2H7B,CAAA"}