@wandelbots/wandelbots-js-react-components 2.26.0 → 2.27.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.
- package/dist/components/safetyBar/ControllerTypeIndicator.d.ts +2 -1
- package/dist/components/safetyBar/ControllerTypeIndicator.d.ts.map +1 -1
- package/dist/components/safetyBar/IndicatorWithExplanation.d.ts +2 -1
- package/dist/components/safetyBar/IndicatorWithExplanation.d.ts.map +1 -1
- package/dist/components/safetyBar/OperationModeIndicator.d.ts +2 -1
- package/dist/components/safetyBar/OperationModeIndicator.d.ts.map +1 -1
- package/dist/components/safetyBar/SafetyBar.d.ts +2 -1
- package/dist/components/safetyBar/SafetyBar.d.ts.map +1 -1
- package/dist/components/safetyBar/SafetyStateIndicator.d.ts +2 -1
- package/dist/components/safetyBar/SafetyStateIndicator.d.ts.map +1 -1
- package/dist/index.cjs +34 -34
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +3055 -3018
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/safetyBar/ControllerTypeIndicator.tsx +4 -0
- package/src/components/safetyBar/IndicatorWithExplanation.tsx +7 -0
- package/src/components/safetyBar/OperationModeIndicator.tsx +5 -0
- package/src/components/safetyBar/SafetyBar.tsx +45 -29
- package/src/components/safetyBar/SafetyStateIndicator.tsx +8 -0
- package/src/i18n/locales/de/translations.json +2 -2
- package/src/i18n/locales/en/translations.json +2 -2
|
@@ -4,8 +4,9 @@ interface ControllerTypeIndicatorProps {
|
|
|
4
4
|
motionGroupId: string;
|
|
5
5
|
anchorOrigin?: PopoverOrigin;
|
|
6
6
|
transformOrigin?: PopoverOrigin;
|
|
7
|
+
compact: boolean;
|
|
7
8
|
}
|
|
8
|
-
export declare const ControllerTypeIndicator: (({ isVirtual, motionGroupId, anchorOrigin, transformOrigin, }: ControllerTypeIndicatorProps) => import("react/jsx-runtime").JSX.Element) & {
|
|
9
|
+
export declare const ControllerTypeIndicator: (({ isVirtual, motionGroupId, anchorOrigin, transformOrigin, compact, }: ControllerTypeIndicatorProps) => import("react/jsx-runtime").JSX.Element) & {
|
|
9
10
|
displayName: string;
|
|
10
11
|
};
|
|
11
12
|
export {};
|
|
@@ -1 +1 @@
|
|
|
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;
|
|
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;IAC/B,OAAO,EAAE,OAAO,CAAA;CACjB;AAED,eAAO,MAAM,uBAAuB,2EAO/B,4BAA4B;;CAmDhC,CAAA"}
|
|
@@ -6,12 +6,13 @@ export type IndicatorWithExplanationProps = {
|
|
|
6
6
|
color: TypographyProps["color"];
|
|
7
7
|
title?: ReactNode;
|
|
8
8
|
name: ReactNode;
|
|
9
|
+
label?: ReactNode;
|
|
9
10
|
explanation: ReactNode;
|
|
10
11
|
literalValue?: string;
|
|
11
12
|
anchorOrigin?: PopoverOrigin;
|
|
12
13
|
transformOrigin?: PopoverOrigin;
|
|
13
14
|
};
|
|
14
|
-
export declare const IndicatorWithExplanation: (({ id, icon, color, title, name, explanation, literalValue, anchorOrigin, transformOrigin, }: IndicatorWithExplanationProps) => import("react/jsx-runtime").JSX.Element) & {
|
|
15
|
+
export declare const IndicatorWithExplanation: (({ id, icon, color, title, name, label, explanation, literalValue, anchorOrigin, transformOrigin, }: IndicatorWithExplanationProps) => import("react/jsx-runtime").JSX.Element) & {
|
|
15
16
|
displayName: string;
|
|
16
17
|
};
|
|
17
18
|
//# 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,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,
|
|
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,KAAK,CAAC,EAAE,SAAS,CAAA;IACjB,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,wGAYhC,6BAA6B;;CAgGjC,CAAA"}
|
|
@@ -4,8 +4,9 @@ interface OperationModeIndicatorProps {
|
|
|
4
4
|
operationMode: RobotControllerStateOperationModeEnum;
|
|
5
5
|
anchorOrigin?: PopoverOrigin;
|
|
6
6
|
transformOrigin?: PopoverOrigin;
|
|
7
|
+
compact: boolean;
|
|
7
8
|
}
|
|
8
|
-
export declare const OperationModeIndicator: (({ operationMode, anchorOrigin, transformOrigin, }: OperationModeIndicatorProps) => import("react/jsx-runtime").JSX.Element) & {
|
|
9
|
+
export declare const OperationModeIndicator: (({ operationMode, anchorOrigin, transformOrigin, compact }: OperationModeIndicatorProps) => import("react/jsx-runtime").JSX.Element) & {
|
|
9
10
|
displayName: string;
|
|
10
11
|
};
|
|
11
12
|
export {};
|
|
@@ -1 +1 @@
|
|
|
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,wBAAwB,CAAA;AAQnF,UAAU,2BAA2B;IACnC,aAAa,EAAE,qCAAqC,CAAA;IACpD,YAAY,CAAC,EAAE,aAAa,CAAA;IAC5B,eAAe,CAAC,EAAE,aAAa,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,wBAAwB,CAAA;AAQnF,UAAU,2BAA2B;IACnC,aAAa,EAAE,qCAAqC,CAAA;IACpD,YAAY,CAAC,EAAE,aAAa,CAAA;IAC5B,eAAe,CAAC,EAAE,aAAa,CAAA;IAC/B,OAAO,EAAE,OAAO,CAAA;CACjB;AAED,eAAO,MAAM,sBAAsB,+DAM9B,2BAA2B;;CAsE/B,CAAA"}
|
|
@@ -7,8 +7,9 @@ export interface SafetyBarProps {
|
|
|
7
7
|
safetyState: RobotControllerStateSafetyStateEnum;
|
|
8
8
|
anchorOrigin?: PopoverOrigin;
|
|
9
9
|
transformOrigin?: PopoverOrigin;
|
|
10
|
+
compact?: boolean;
|
|
10
11
|
}
|
|
11
|
-
export declare const SafetyBar: ((
|
|
12
|
+
export declare const SafetyBar: (({ isVirtual, motionGroupId, operationMode, safetyState, anchorOrigin, transformOrigin, compact, }: SafetyBarProps) => import("react/jsx-runtime").JSX.Element) & {
|
|
12
13
|
displayName: string;
|
|
13
14
|
};
|
|
14
15
|
//# sourceMappingURL=SafetyBar.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
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,wBAAwB,CAAA;AAO/B,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;
|
|
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,wBAAwB,CAAA;AAO/B,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;IAC/B,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB;AAED,eAAO,MAAM,SAAS,uGAUf,cAAc;;CAuCpB,CAAA"}
|
|
@@ -4,8 +4,9 @@ interface SafetyStateIndicatorProps {
|
|
|
4
4
|
safetyState: RobotControllerStateSafetyStateEnum;
|
|
5
5
|
anchorOrigin?: PopoverOrigin;
|
|
6
6
|
transformOrigin?: PopoverOrigin;
|
|
7
|
+
compact: boolean;
|
|
7
8
|
}
|
|
8
|
-
export declare const SafetyStateIndicator: (({ safetyState, anchorOrigin, transformOrigin, }: SafetyStateIndicatorProps) => import("react/jsx-runtime").JSX.Element) & {
|
|
9
|
+
export declare const SafetyStateIndicator: (({ safetyState, anchorOrigin, transformOrigin, compact, }: SafetyStateIndicatorProps) => import("react/jsx-runtime").JSX.Element) & {
|
|
9
10
|
displayName: string;
|
|
10
11
|
};
|
|
11
12
|
export {};
|
|
@@ -1 +1 @@
|
|
|
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,wBAAwB,CAAA;AAWjF,UAAU,yBAAyB;IACjC,WAAW,EAAE,mCAAmC,CAAA;IAChD,YAAY,CAAC,EAAE,aAAa,CAAA;IAC5B,eAAe,CAAC,EAAE,aAAa,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,wBAAwB,CAAA;AAWjF,UAAU,yBAAyB;IACjC,WAAW,EAAE,mCAAmC,CAAA;IAChD,YAAY,CAAC,EAAE,aAAa,CAAA;IAC5B,eAAe,CAAC,EAAE,aAAa,CAAA;IAC/B,OAAO,EAAE,OAAO,CAAA;CACjB;AAED,eAAO,MAAM,oBAAoB,8DAM5B,yBAAyB;;CAiI7B,CAAA"}
|