@wandelbots/wandelbots-js-react-components 2.12.0 → 2.13.0-pr.Custom-Scrollbars.286.38ade92
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/Setup.d.ts.map +1 -1
- package/dist/components/3d-viewport/CoordinateSystemTransform.d.ts.map +1 -1
- package/dist/components/LoadingCover.d.ts.map +1 -1
- package/dist/components/ThemeSelect.d.ts.map +1 -1
- package/dist/components/TransparentOverlay.d.ts.map +1 -1
- package/dist/components/jogging/JoggingJointLimitDetector.d.ts.map +1 -1
- package/dist/components/robots/ghostStyle.d.ts.map +1 -1
- package/dist/components/safetyBar/ControllerTypeIndicator.d.ts +4 -1
- package/dist/components/safetyBar/ControllerTypeIndicator.d.ts.map +1 -1
- package/dist/components/safetyBar/IndicatorWithExplanation.d.ts +4 -2
- package/dist/components/safetyBar/IndicatorWithExplanation.d.ts.map +1 -1
- package/dist/components/safetyBar/OperationModeIndicator.d.ts +4 -1
- package/dist/components/safetyBar/OperationModeIndicator.d.ts.map +1 -1
- package/dist/components/safetyBar/SafetyBar.d.ts +3 -0
- package/dist/components/safetyBar/SafetyBar.d.ts.map +1 -1
- package/dist/components/safetyBar/SafetyStateIndicator.d.ts +4 -1
- package/dist/components/safetyBar/SafetyStateIndicator.d.ts.map +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +471 -408
- package/dist/index.js.map +1 -1
- package/dist/themes/createDarkTheme.d.ts.map +1 -1
- package/package.json +16 -16
- package/src/components/safetyBar/ControllerTypeIndicator.tsx +13 -2
- package/src/components/safetyBar/IndicatorWithExplanation.tsx +17 -8
- package/src/components/safetyBar/OperationModeIndicator.tsx +14 -2
- package/src/components/safetyBar/SafetyBar.tsx +15 -3
- package/src/components/safetyBar/SafetyStateIndicator.tsx +18 -2
- package/src/themes/createDarkTheme.ts +13 -0
package/dist/Setup.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Setup.d.ts","sourceRoot":"","sources":["../src/Setup.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAA;AAC/B,OAAO,EAAU,KAAK,KAAK,IAAI,WAAW,EAAE,MAAM,oBAAoB,CAAA;AAItE,KAAK,KAAK,GAAG,KAAK,CAAC,iBAAiB,CAClC,WAAW,GAAG;IACZ,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,MAAM,CAAC,EAAE,OAAO,CAAA;CACjB,CACF,CAAA;AAED,eAAO,MAAM,KAAK,
|
|
1
|
+
{"version":3,"file":"Setup.d.ts","sourceRoot":"","sources":["../src/Setup.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAA;AAC/B,OAAO,EAAU,KAAK,KAAK,IAAI,WAAW,EAAE,MAAM,oBAAoB,CAAA;AAItE,KAAK,KAAK,GAAG,KAAK,CAAC,iBAAiB,CAClC,WAAW,GAAG;IACZ,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,MAAM,CAAC,EAAE,OAAO,CAAA;CACjB,CACF,CAAA;AAED,eAAO,MAAM,KAAK,GAAI,yEAOnB,KAAK,4CAcP,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CoordinateSystemTransform.d.ts","sourceRoot":"","sources":["../../../src/components/3d-viewport/CoordinateSystemTransform.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,mCAAmC,CAAA;AACzE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAGtC;;;GAGG;AACH,eAAO,MAAM,yBAAyB,
|
|
1
|
+
{"version":3,"file":"CoordinateSystemTransform.d.ts","sourceRoot":"","sources":["../../../src/components/3d-viewport/CoordinateSystemTransform.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,mCAAmC,CAAA;AACzE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAGtC;;;GAGG;AACH,eAAO,MAAM,yBAAyB,GAAI,iCAGvC;IACD,gBAAgB,CAAC,EAAE,gBAAgB,CAAA;IACnC,QAAQ,EAAE,SAAS,CAAA;CACpB,4CA6BA,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LoadingCover.d.ts","sourceRoot":"","sources":["../../src/components/LoadingCover.tsx"],"names":[],"mappings":"AAKA,eAAO,MAAM,YAAY,
|
|
1
|
+
{"version":3,"file":"LoadingCover.d.ts","sourceRoot":"","sources":["../../src/components/LoadingCover.tsx"],"names":[],"mappings":"AAKA,eAAO,MAAM,YAAY,GAAI,OAAO;IAClC,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,WAAW,CAAC,EAAE,MAAM,CAAA;CACrB,4CA4CA,CAAA;AAED,eAAO,MAAM,mBAAmB,GAAI,OAAO;IACzC,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,KAAK,EAAE,OAAO,CAAA;CACf,4CA2BA,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ThemeSelect.d.ts","sourceRoot":"","sources":["../../src/components/ThemeSelect.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAA0B,MAAM,eAAe,CAAA;AAG9D,KAAK,gBAAgB,GAAG;IACtB,IAAI,EAAE,QAAQ,GAAG,UAAU,GAAG,MAAM,CAAA;CACrC,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,MAAM,CAAC,CAAA;AAEvC,eAAO,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"ThemeSelect.d.ts","sourceRoot":"","sources":["../../src/components/ThemeSelect.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAA0B,MAAM,eAAe,CAAA;AAG9D,KAAK,gBAAgB,GAAG;IACtB,IAAI,EAAE,QAAQ,GAAG,UAAU,GAAG,MAAM,CAAA;CACrC,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,MAAM,CAAC,CAAA;AAEvC,eAAO,MAAM,WAAW,GAAI,uBAAuB,gBAAgB,4CAsClE,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TransparentOverlay.d.ts","sourceRoot":"","sources":["../../src/components/TransparentOverlay.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAA;AAErC,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,eAAO,MAAM,kBAAkB,
|
|
1
|
+
{"version":3,"file":"TransparentOverlay.d.ts","sourceRoot":"","sources":["../../src/components/TransparentOverlay.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAA;AAErC,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,eAAO,MAAM,kBAAkB,GAC7B,OAAO,KAAK,CAAC,cAAc,CAAC,OAAO,KAAK,CAAC,4CAoB1C,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"JoggingJointLimitDetector.d.ts","sourceRoot":"","sources":["../../../src/components/jogging/JoggingJointLimitDetector.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAElD;;;GAGG;AACH,eAAO,MAAM,yBAAyB,
|
|
1
|
+
{"version":3,"file":"JoggingJointLimitDetector.d.ts","sourceRoot":"","sources":["../../../src/components/jogging/JoggingJointLimitDetector.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAElD;;;GAGG;AACH,eAAO,MAAM,yBAAyB,GAAI,YAEvC;IACD,KAAK,EAAE,YAAY,CAAA;CACpB,4CAwCA,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ghostStyle.d.ts","sourceRoot":"","sources":["../../../src/components/robots/ghostStyle.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAE9B,eAAO,MAAM,eAAe,
|
|
1
|
+
{"version":3,"file":"ghostStyle.d.ts","sourceRoot":"","sources":["../../../src/components/robots/ghostStyle.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAE9B,eAAO,MAAM,eAAe,GAAI,OAAO,KAAK,CAAC,KAAK,EAAE,OAAO,MAAM,SA4ChE,CAAA;AAED,eAAO,MAAM,gBAAgB,GAAI,OAAO,KAAK,CAAC,KAAK,SAsBlD,CAAA"}
|
|
@@ -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":"
|
|
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;
|
|
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":"
|
|
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":"
|
|
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":"
|
|
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"}
|