@wandelbots/wandelbots-js-react-components 2.31.0 → 2.32.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.
@@ -0,0 +1,26 @@
1
+ import type { RobotControllerStateOperationModeEnum, RobotControllerStateSafetyStateEnum } from "@wandelbots/nova-js/v1";
2
+ import type { ProgramState } from "./ProgramControl";
3
+ export interface ProgramStateIndicatorProps {
4
+ /** The current state of the program */
5
+ programState: ProgramState;
6
+ /** The current safety state of the robot controller */
7
+ safetyState: RobotControllerStateSafetyStateEnum;
8
+ /** The current operation mode of the robot controller */
9
+ operationMode: RobotControllerStateOperationModeEnum;
10
+ /** Additional CSS class name */
11
+ className?: string;
12
+ }
13
+ /**
14
+ * A state indicator component that displays the current program execution state
15
+ * combined with robot controller safety and operation mode states.
16
+ *
17
+ * Features:
18
+ * - Combines program state with safety and operation mode states
19
+ * - Color-coded based on state severity (success, warning, error)
20
+ * - Rendered as Material-UI filled chip
21
+ * - Localization support via react-i18next
22
+ */
23
+ export declare const ProgramStateIndicator: (({ programState, safetyState, operationMode, className, }: ProgramStateIndicatorProps) => import("react/jsx-runtime").JSX.Element) & {
24
+ displayName: string;
25
+ };
26
+ //# sourceMappingURL=ProgramStateIndicator.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ProgramStateIndicator.d.ts","sourceRoot":"","sources":["../../src/components/ProgramStateIndicator.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,qCAAqC,EACrC,mCAAmC,EACpC,MAAM,wBAAwB,CAAA;AAI/B,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAA;AAEpD,MAAM,WAAW,0BAA0B;IACzC,uCAAuC;IACvC,YAAY,EAAE,YAAY,CAAA;IAC1B,uDAAuD;IACvD,WAAW,EAAE,mCAAmC,CAAA;IAChD,yDAAyD;IACzD,aAAa,EAAE,qCAAqC,CAAA;IACpD,gCAAgC;IAChC,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED;;;;;;;;;GASG;AACH,eAAO,MAAM,qBAAqB,8DAO3B,0BAA0B;;CA6GhC,CAAA"}