@wandelbots/wandelbots-js-react-components 1.3.0 → 1.3.2

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 (168) hide show
  1. package/README.md +0 -29
  2. package/package.json +60 -43
  3. package/src/components/3d-viewport/CoordinateSystemTransform.tsx +44 -0
  4. package/src/components/3d-viewport/PresetEnvironment.tsx +78 -0
  5. package/src/components/3d-viewport/SafetyZonesRenderer.tsx +54 -0
  6. package/src/components/LoadingButton.stories.tsx +61 -0
  7. package/src/components/LoadingButton.tsx +19 -0
  8. package/src/components/LoadingCover.tsx +75 -0
  9. package/src/components/ThemeSelect.tsx +49 -0
  10. package/src/components/VelocitySlider.stories.tsx +32 -0
  11. package/src/components/VelocitySlider.tsx +52 -0
  12. package/src/components/jogging/JoggingCartesianAxisControl.stories.tsx +41 -0
  13. package/src/components/jogging/JoggingCartesianAxisControl.tsx +127 -0
  14. package/src/components/jogging/JoggingCartesianTab.tsx +265 -0
  15. package/src/components/jogging/JoggingCartesianValues.tsx +45 -0
  16. package/src/components/jogging/JoggingFreedriveTab.tsx +9 -0
  17. package/src/components/jogging/JoggingJointLimitDetector.tsx +51 -0
  18. package/src/components/jogging/JoggingJointRotationControl.stories.tsx +38 -0
  19. package/src/components/jogging/JoggingJointRotationControl.tsx +197 -0
  20. package/src/components/jogging/JoggingJointTab.tsx +93 -0
  21. package/src/components/jogging/JoggingJointValues.tsx +45 -0
  22. package/src/components/jogging/JoggingOptions.tsx +96 -0
  23. package/src/components/jogging/JoggingPanel.stories.tsx +26 -0
  24. package/src/components/jogging/JoggingPanel.tsx +148 -0
  25. package/src/components/jogging/JoggingStore.tsx +294 -0
  26. package/src/components/jogging/JoggingVelocitySlider.tsx +56 -0
  27. package/src/components/robots/ABB_1200_07_7.tsx +123 -0
  28. package/src/components/robots/AxisConfig.ts +3 -0
  29. package/src/components/robots/DHRobot.tsx +129 -0
  30. package/src/components/robots/FANUC_ARC_Mate_100iD.tsx +187 -0
  31. package/src/components/robots/FANUC_ARC_Mate_120iD.tsx +187 -0
  32. package/src/components/robots/FANUC_CRX10iA.tsx +167 -0
  33. package/src/components/robots/FANUC_CRX25iA.tsx +167 -0
  34. package/src/components/robots/FANUC_CRX25iAL.tsx +178 -0
  35. package/src/components/robots/KUKA_KR210_R2700.tsx +291 -0
  36. package/src/components/robots/KUKA_KR270_R2700.tsx +244 -0
  37. package/src/components/robots/RobotAnimator.tsx +83 -0
  38. package/src/components/robots/SupportedRobot.tsx +131 -0
  39. package/src/components/robots/UniversalRobots_UR10.tsx +112 -0
  40. package/src/components/robots/UniversalRobots_UR10e.tsx +275 -0
  41. package/src/components/robots/UniversalRobots_UR3.tsx +112 -0
  42. package/src/components/robots/UniversalRobots_UR3e.tsx +112 -0
  43. package/src/components/robots/UniversalRobots_UR5.tsx +111 -0
  44. package/src/components/robots/UniversalRobots_UR5e.tsx +280 -0
  45. package/src/components/robots/Yaskawa_AR1440.tsx +152 -0
  46. package/src/components/robots/Yaskawa_AR1730.tsx +165 -0
  47. package/src/components/robots/Yaskawa_AR2010.tsx +159 -0
  48. package/src/components/robots/Yaskawa_AR3120.tsx +160 -0
  49. package/src/components/robots/Yaskawa_AR900.tsx +121 -0
  50. package/src/components/utils/converters.ts +23 -0
  51. package/src/components/utils/errorHandling.ts +30 -0
  52. package/src/components/utils/hooks.tsx +54 -0
  53. package/src/components/utils/robotTreeQuery.ts +27 -0
  54. package/src/components/wandelscript-editor/WandelscriptEditor.stories.tsx +45 -0
  55. package/src/components/wandelscript-editor/WandelscriptEditor.tsx +114 -0
  56. package/src/components/wandelscript-editor/wandelscript.tmLanguage.ts +62 -0
  57. package/src/declarations.d.ts +10 -0
  58. package/src/i18n/config.ts +27 -0
  59. package/src/i18n/locales/de/translations.json +12 -0
  60. package/src/i18n/locales/en/translations.json +12 -0
  61. package/src/icons/arrowForwardFilled.tsx +7 -0
  62. package/src/icons/axis-x.svg +3 -0
  63. package/src/icons/axis-y.svg +3 -0
  64. package/src/icons/axis-z.svg +3 -0
  65. package/src/icons/expandFilled.tsx +11 -0
  66. package/src/icons/home.tsx +12 -0
  67. package/src/icons/infoOutlined.tsx +10 -0
  68. package/src/icons/jogging.svg +3 -0
  69. package/src/icons/robot.svg +3 -0
  70. package/src/icons/robot.tsx +14 -0
  71. package/src/icons/rotation.svg +4 -0
  72. package/src/icons/wbLogo.tsx +21 -0
  73. package/src/index.ts +7 -0
  74. package/src/themes/color.tsx +74 -0
  75. package/src/themes/theme.ts +150 -0
  76. package/src/themes/wbTheme.stories.tsx +64 -0
  77. package/src/themes/wbTheme.ts +186 -0
  78. package/dist/cjs/components/3d-viewport/SafetyZonesRenderer.d.ts +0 -2
  79. package/dist/cjs/index.js +0 -5875
  80. package/dist/cjs/types/components/3d-viewport/CoordinateSystemTransform.d.ts +0 -10
  81. package/dist/cjs/types/components/3d-viewport/PresetEnvironment.d.ts +0 -6
  82. package/dist/cjs/types/components/3d-viewport/SafetyZonesRenderer.d.ts +0 -6
  83. package/dist/cjs/types/components/robots/ABB_1200_07_7.d.ts +0 -2
  84. package/dist/cjs/types/components/robots/AxisConfig.d.ts +0 -2
  85. package/dist/cjs/types/components/robots/DHRobot.d.ts +0 -2
  86. package/dist/cjs/types/components/robots/FANUC_ARC_Mate_100iD.d.ts +0 -2
  87. package/dist/cjs/types/components/robots/FANUC_ARC_Mate_120iD.d.ts +0 -2
  88. package/dist/cjs/types/components/robots/FANUC_CRX10iA.d.ts +0 -2
  89. package/dist/cjs/types/components/robots/FANUC_CRX25iA.d.ts +0 -2
  90. package/dist/cjs/types/components/robots/FANUC_CRX25iAL.d.ts +0 -2
  91. package/dist/cjs/types/components/robots/KUKA_KR210_R2700.d.ts +0 -2
  92. package/dist/cjs/types/components/robots/KUKA_KR270_R2700.d.ts +0 -2
  93. package/dist/cjs/types/components/robots/RobotAnimator.d.ts +0 -11
  94. package/dist/cjs/types/components/robots/SupportedRobot.d.ts +0 -14
  95. package/dist/cjs/types/components/robots/UniversalRobots_UR10.d.ts +0 -2
  96. package/dist/cjs/types/components/robots/UniversalRobots_UR10e.d.ts +0 -2
  97. package/dist/cjs/types/components/robots/UniversalRobots_UR3.d.ts +0 -2
  98. package/dist/cjs/types/components/robots/UniversalRobots_UR3e.d.ts +0 -2
  99. package/dist/cjs/types/components/robots/UniversalRobots_UR5.d.ts +0 -2
  100. package/dist/cjs/types/components/robots/UniversalRobots_UR5e.d.ts +0 -2
  101. package/dist/cjs/types/components/robots/Yaskawa_AR1440.d.ts +0 -2
  102. package/dist/cjs/types/components/robots/Yaskawa_AR1730.d.ts +0 -2
  103. package/dist/cjs/types/components/robots/Yaskawa_AR2010.d.ts +0 -2
  104. package/dist/cjs/types/components/robots/Yaskawa_AR3120.d.ts +0 -2
  105. package/dist/cjs/types/components/robots/Yaskawa_AR900.d.ts +0 -2
  106. package/dist/cjs/types/components/utils/hooks.d.ts +0 -21
  107. package/dist/cjs/types/components/utils/robotTreeQuery.d.ts +0 -5
  108. package/dist/cjs/types/components/wandelscript-editor/WandelscriptEditor.d.ts +0 -12
  109. package/dist/cjs/types/components/wandelscript-editor/WandelscriptEditor.stories.d.ts +0 -5
  110. package/dist/cjs/types/components/wandelscript-editor/wandelscript.tmLanguage.d.ts +0 -44
  111. package/dist/cjs/types/icons/arrowForwardFilled.d.ts +0 -1
  112. package/dist/cjs/types/icons/expandFilled.d.ts +0 -1
  113. package/dist/cjs/types/icons/home.d.ts +0 -1
  114. package/dist/cjs/types/icons/infoOutlined.d.ts +0 -1
  115. package/dist/cjs/types/icons/robot.d.ts +0 -1
  116. package/dist/cjs/types/icons/wbLogo.d.ts +0 -6
  117. package/dist/cjs/types/index.d.ts +0 -4
  118. package/dist/cjs/types/themes/color.d.ts +0 -9
  119. package/dist/cjs/types/themes/theme.d.ts +0 -143
  120. package/dist/cjs/types/themes/wbTheme.d.ts +0 -1
  121. package/dist/cjs/types/themes/wbTheme.stories.d.ts +0 -6
  122. package/dist/esm/components/3d-viewport/SafetyZonesRenderer.d.ts +0 -2
  123. package/dist/esm/index.js +0 -5852
  124. package/dist/esm/types/components/3d-viewport/CoordinateSystemTransform.d.ts +0 -10
  125. package/dist/esm/types/components/3d-viewport/PresetEnvironment.d.ts +0 -6
  126. package/dist/esm/types/components/3d-viewport/SafetyZonesRenderer.d.ts +0 -6
  127. package/dist/esm/types/components/robots/ABB_1200_07_7.d.ts +0 -2
  128. package/dist/esm/types/components/robots/AxisConfig.d.ts +0 -2
  129. package/dist/esm/types/components/robots/DHRobot.d.ts +0 -2
  130. package/dist/esm/types/components/robots/FANUC_ARC_Mate_100iD.d.ts +0 -2
  131. package/dist/esm/types/components/robots/FANUC_ARC_Mate_120iD.d.ts +0 -2
  132. package/dist/esm/types/components/robots/FANUC_CRX10iA.d.ts +0 -2
  133. package/dist/esm/types/components/robots/FANUC_CRX25iA.d.ts +0 -2
  134. package/dist/esm/types/components/robots/FANUC_CRX25iAL.d.ts +0 -2
  135. package/dist/esm/types/components/robots/KUKA_KR210_R2700.d.ts +0 -2
  136. package/dist/esm/types/components/robots/KUKA_KR270_R2700.d.ts +0 -2
  137. package/dist/esm/types/components/robots/RobotAnimator.d.ts +0 -11
  138. package/dist/esm/types/components/robots/SupportedRobot.d.ts +0 -14
  139. package/dist/esm/types/components/robots/UniversalRobots_UR10.d.ts +0 -2
  140. package/dist/esm/types/components/robots/UniversalRobots_UR10e.d.ts +0 -2
  141. package/dist/esm/types/components/robots/UniversalRobots_UR3.d.ts +0 -2
  142. package/dist/esm/types/components/robots/UniversalRobots_UR3e.d.ts +0 -2
  143. package/dist/esm/types/components/robots/UniversalRobots_UR5.d.ts +0 -2
  144. package/dist/esm/types/components/robots/UniversalRobots_UR5e.d.ts +0 -2
  145. package/dist/esm/types/components/robots/Yaskawa_AR1440.d.ts +0 -2
  146. package/dist/esm/types/components/robots/Yaskawa_AR1730.d.ts +0 -2
  147. package/dist/esm/types/components/robots/Yaskawa_AR2010.d.ts +0 -2
  148. package/dist/esm/types/components/robots/Yaskawa_AR3120.d.ts +0 -2
  149. package/dist/esm/types/components/robots/Yaskawa_AR900.d.ts +0 -2
  150. package/dist/esm/types/components/utils/hooks.d.ts +0 -21
  151. package/dist/esm/types/components/utils/robotTreeQuery.d.ts +0 -5
  152. package/dist/esm/types/components/wandelscript-editor/WandelscriptEditor.d.ts +0 -12
  153. package/dist/esm/types/components/wandelscript-editor/WandelscriptEditor.stories.d.ts +0 -5
  154. package/dist/esm/types/components/wandelscript-editor/wandelscript.tmLanguage.d.ts +0 -44
  155. package/dist/esm/types/icons/arrowForwardFilled.d.ts +0 -1
  156. package/dist/esm/types/icons/expandFilled.d.ts +0 -1
  157. package/dist/esm/types/icons/home.d.ts +0 -1
  158. package/dist/esm/types/icons/index.d.ts +0 -6
  159. package/dist/esm/types/icons/infoOutlined.d.ts +0 -1
  160. package/dist/esm/types/icons/robot.d.ts +0 -1
  161. package/dist/esm/types/icons/wbLogo.d.ts +0 -6
  162. package/dist/esm/types/index.d.ts +0 -4
  163. package/dist/esm/types/themes/color.d.ts +0 -9
  164. package/dist/esm/types/themes/theme.d.ts +0 -143
  165. package/dist/esm/types/themes/wbTheme.d.ts +0 -1
  166. package/dist/esm/types/themes/wbTheme.stories.d.ts +0 -6
  167. package/dist/index.d.ts +0 -33
  168. /package/{dist/cjs/types/icons/index.d.ts → src/icons/index.ts} +0 -0
@@ -1,10 +0,0 @@
1
- import type { CoordinateSystem } from "@wandelbots/wandelbots-api-client";
2
- import type { ReactNode } from "react";
3
- /**
4
- * Applies a API coordinate system transformation to
5
- * all react-three child components.
6
- */
7
- export declare const CoordinateSystemTransform: ({ coordinateSystem, children, }: {
8
- coordinateSystem?: CoordinateSystem;
9
- children: ReactNode;
10
- }) => import("react/jsx-runtime").JSX.Element;
@@ -1,6 +0,0 @@
1
- /**
2
- * Renders a preset environment for the 3D scene.
3
- * This component wraps the scene with an `Environment` component
4
- * and builds a lightmap build with `Lightformers`.
5
- */
6
- export declare function PresetEnvironment(): import("react/jsx-runtime").JSX.Element;
@@ -1,6 +0,0 @@
1
- import { SafetySetupSafetyZone } from "@wandelbots/wandelbots-js";
2
- import { type GroupProps } from "@react-three/fiber";
3
- export type SafetyZonesRendererProps = {
4
- safetyZones: SafetySetupSafetyZone[];
5
- } & GroupProps;
6
- export declare function SafetyZonesRenderer({ safetyZones, ...props }: SafetyZonesRendererProps): import("react/jsx-runtime").JSX.Element;
@@ -1,2 +0,0 @@
1
- import type { RobotProps } from "./SupportedRobot";
2
- export declare function ABB_1200_07_7({ modelURL, connectedMotionGroup, ...props }: RobotProps): import("react/jsx-runtime").JSX.Element;
@@ -1,2 +0,0 @@
1
- export type AxisConfig = number[];
2
- export declare const defaultAxisConfig: AxisConfig;
@@ -1,2 +0,0 @@
1
- import type { DHRobotProps } from "./SupportedRobot";
2
- export declare function DHRobot({ connectedMotionGroup, ...props }: DHRobotProps): import("react/jsx-runtime").JSX.Element;
@@ -1,2 +0,0 @@
1
- import type { RobotProps } from "./SupportedRobot";
2
- export declare function FANUC_ARC_Mate_100iD({ modelURL, connectedMotionGroup, ...props }: RobotProps): import("react/jsx-runtime").JSX.Element;
@@ -1,2 +0,0 @@
1
- import type { RobotProps } from "./SupportedRobot";
2
- export declare function FANUC_ARC_Mate_120iD({ modelURL, connectedMotionGroup, ...props }: RobotProps): import("react/jsx-runtime").JSX.Element;
@@ -1,2 +0,0 @@
1
- import type { RobotProps } from "./SupportedRobot";
2
- export declare function FANUC_CRX10iA({ modelURL, connectedMotionGroup, ...props }: RobotProps): import("react/jsx-runtime").JSX.Element;
@@ -1,2 +0,0 @@
1
- import type { RobotProps } from "./SupportedRobot";
2
- export declare function FANUC_CRX25iA({ modelURL, connectedMotionGroup, ...props }: RobotProps): import("react/jsx-runtime").JSX.Element;
@@ -1,2 +0,0 @@
1
- import type { RobotProps } from "./SupportedRobot";
2
- export declare function FANUC_CRX25iAL({ modelURL, connectedMotionGroup, ...props }: RobotProps): import("react/jsx-runtime").JSX.Element;
@@ -1,2 +0,0 @@
1
- import type { RobotProps } from "./SupportedRobot";
2
- export declare function KUKA_KR210_R2700({ modelURL, connectedMotionGroup, ...props }: RobotProps): import("react/jsx-runtime").JSX.Element;
@@ -1,2 +0,0 @@
1
- import type { RobotProps } from "./SupportedRobot";
2
- export declare function KUKA_KR270_R2700({ modelURL, connectedMotionGroup, ...props }: RobotProps): import("react/jsx-runtime").JSX.Element;
@@ -1,11 +0,0 @@
1
- import type * as THREE from "three";
2
- import { type RobotSceneJoint } from "../utils/robotTreeQuery";
3
- import type { ConnectedMotionGroup } from "@wandelbots/wandelbots-js";
4
- type RobotAnimatorProps = {
5
- connectedMotionGroup: ConnectedMotionGroup;
6
- robotRootObjectName: string;
7
- onRotationChanged: (joints: THREE.Object3D[], jointValues: number[]) => void;
8
- jointCollector?: (rootObject: THREE.Object3D) => RobotSceneJoint[];
9
- };
10
- export default function RobotAnimator({ connectedMotionGroup, robotRootObjectName, onRotationChanged, jointCollector, }: RobotAnimatorProps): any;
11
- export {};
@@ -1,14 +0,0 @@
1
- import { type GroupProps } from "@react-three/fiber";
2
- import type { ConnectedMotionGroup } from "@wandelbots/wandelbots-js";
3
- export type DHRobotProps = {
4
- connectedMotionGroup: ConnectedMotionGroup;
5
- } & GroupProps;
6
- export type RobotProps = {
7
- connectedMotionGroup: ConnectedMotionGroup;
8
- modelURL: string;
9
- } & GroupProps;
10
- export type SupportedRobotProps = {
11
- connectedMotionGroup: ConnectedMotionGroup;
12
- getModel?: (modelFromController: string) => string;
13
- } & GroupProps;
14
- export declare function SupportedRobot({ connectedMotionGroup, getModel, ...props }: SupportedRobotProps): import("react/jsx-runtime").JSX.Element;
@@ -1,2 +0,0 @@
1
- import type { RobotProps } from "./SupportedRobot";
2
- export declare function UniversalRobots_UR10({ modelURL, connectedMotionGroup, ...props }: RobotProps): import("react/jsx-runtime").JSX.Element;
@@ -1,2 +0,0 @@
1
- import type { RobotProps } from "./SupportedRobot";
2
- export declare function UniversalRobots_UR10e({ modelURL, connectedMotionGroup, ...props }: RobotProps): import("react/jsx-runtime").JSX.Element;
@@ -1,2 +0,0 @@
1
- import type { RobotProps } from "./SupportedRobot";
2
- export declare function UniversalRobots_UR3({ modelURL, connectedMotionGroup, ...props }: RobotProps): import("react/jsx-runtime").JSX.Element;
@@ -1,2 +0,0 @@
1
- import type { RobotProps } from "./SupportedRobot";
2
- export declare function UniversalRobots_UR3e({ modelURL, connectedMotionGroup, ...props }: RobotProps): import("react/jsx-runtime").JSX.Element;
@@ -1,2 +0,0 @@
1
- import type { RobotProps } from "./SupportedRobot";
2
- export declare function UniversalRobots_UR5({ modelURL, connectedMotionGroup, ...props }: RobotProps): import("react/jsx-runtime").JSX.Element;
@@ -1,2 +0,0 @@
1
- import type { RobotProps } from "./SupportedRobot";
2
- export declare function UniversalRobots_UR5e({ modelURL, connectedMotionGroup, ...props }: RobotProps): import("react/jsx-runtime").JSX.Element;
@@ -1,2 +0,0 @@
1
- import type { RobotProps } from "./SupportedRobot";
2
- export declare function Yaskawa_AR1440({ modelURL, connectedMotionGroup, ...props }: RobotProps): import("react/jsx-runtime").JSX.Element;
@@ -1,2 +0,0 @@
1
- import type { RobotProps } from "./SupportedRobot";
2
- export declare function Yaskawa_AR1730({ modelURL, connectedMotionGroup, ...props }: RobotProps): import("react/jsx-runtime").JSX.Element;
@@ -1,2 +0,0 @@
1
- import type { RobotProps } from "./SupportedRobot";
2
- export declare function Yaskawa_AR2010({ modelURL, connectedMotionGroup, ...props }: RobotProps): import("react/jsx-runtime").JSX.Element;
@@ -1,2 +0,0 @@
1
- import type { RobotProps } from "./SupportedRobot";
2
- export declare function Yaskawa_AR3120({ modelURL, connectedMotionGroup, ...props }: RobotProps): import("react/jsx-runtime").JSX.Element;
@@ -1,2 +0,0 @@
1
- import type { RobotProps } from "./SupportedRobot";
2
- export declare function Yaskawa_AR900({ modelURL, connectedMotionGroup, ...props }: RobotProps): import("react/jsx-runtime").JSX.Element;
@@ -1,21 +0,0 @@
1
- import { autorun, reaction } from "mobx";
2
- import { type EffectCallback } from "react";
3
- /**
4
- * Run code once on component mount. Shorthand for useEffect(effect, []).
5
- */
6
- export declare function useMounted(effect: EffectCallback): void;
7
- /**
8
- * Initialize a mobx autorun watcher on component mount, and
9
- * clean it up when the component unmounts.
10
- */
11
- export declare function useAutorun(view: Parameters<typeof autorun>[0]): void;
12
- /**
13
- * Initialize a mobx reaction watcher on component mount, and
14
- * clean it up when the component unmounts.
15
- */
16
- export declare function useReaction<T>(expression: Parameters<typeof reaction<T>>[0], effect: Parameters<typeof reaction<T>>[1], opts?: Parameters<typeof reaction<T>>[2]): void;
17
- /**
18
- * Run a callback on every animation frame. Cleans up
19
- * after component unmount.
20
- */
21
- export declare function useAnimationFrame(callback: () => void): void;
@@ -1,5 +0,0 @@
1
- import type * as THREE from "three";
2
- export type RobotSceneJoint = THREE.Object3D;
3
- export declare const defaultJointNamePattern = "(^joint_[0-9]+$)|(_J[0-9]+$)";
4
- export declare function getAllObjects(root: THREE.Object3D): THREE.Object3D[];
5
- export declare function getAllJointsByName(rootObject: THREE.Object3D, jointNamePattern?: string): RobotSceneJoint[];
@@ -1,12 +0,0 @@
1
- import { type Monaco } from "@monaco-editor/react";
2
- import { editor } from "monaco-editor";
3
- type WandelscriptEditorProps = {
4
- /** The current Wandelscript content of the code editor (controlled component) */
5
- code?: string;
6
- /** What to do when the user edits the code */
7
- onChange?: (code: string | undefined, ev: editor.IModelContentChangedEvent) => void;
8
- /** Callback to further configure monaco on startup if needed */
9
- monacoSetup?: (monaco: Monaco) => void;
10
- };
11
- export declare const WandelscriptEditor: (props: WandelscriptEditorProps) => import("react/jsx-runtime").JSX.Element;
12
- export {};
@@ -1,5 +0,0 @@
1
- import { Meta, StoryObj } from "@storybook/react";
2
- import { WandelscriptEditor } from "./WandelscriptEditor";
3
- declare const meta: Meta<typeof WandelscriptEditor>;
4
- export default meta;
5
- export declare const Editor: StoryObj<typeof WandelscriptEditor>;
@@ -1,44 +0,0 @@
1
- declare const _default: {
2
- $schema: string;
3
- name: string;
4
- patterns: {
5
- include: string;
6
- }[];
7
- repository: {
8
- keywords: {
9
- patterns: {
10
- name: string;
11
- match: string;
12
- }[];
13
- };
14
- strings: {
15
- name: string;
16
- begin: string;
17
- end: string;
18
- patterns: {
19
- name: string;
20
- match: string;
21
- }[];
22
- };
23
- comments: {
24
- patterns: {
25
- begin: string;
26
- beginCaptures: {
27
- "0": {
28
- name: string;
29
- };
30
- };
31
- end: string;
32
- name: string;
33
- }[];
34
- };
35
- functions: {
36
- patterns: {
37
- match: string;
38
- name: string;
39
- }[];
40
- };
41
- };
42
- scopeName: string;
43
- };
44
- export default _default;
@@ -1 +0,0 @@
1
- export declare function ArrowForwardFilledIcon(): import("react/jsx-runtime").JSX.Element;
@@ -1 +0,0 @@
1
- export declare function ExpandFilledIcon(): import("react/jsx-runtime").JSX.Element;
@@ -1 +0,0 @@
1
- export declare function HomeIcon(): import("react/jsx-runtime").JSX.Element;
@@ -1 +0,0 @@
1
- export declare function InfoOutlinedIcon(): import("react/jsx-runtime").JSX.Element;
@@ -1 +0,0 @@
1
- export declare function RobotIcon(): import("react/jsx-runtime").JSX.Element;
@@ -1,6 +0,0 @@
1
- type WBLogoProps = {
2
- width?: number;
3
- fillColor?: string;
4
- };
5
- export declare function WBLogoIcon({ width, fillColor }: WBLogoProps): import("react/jsx-runtime").JSX.Element;
6
- export {};
@@ -1,4 +0,0 @@
1
- export * from "./components/robots/SupportedRobot";
2
- export * from "./components/robots/AxisConfig";
3
- export * from "./components/3d-viewport/PresetEnvironment";
4
- export * from "./components/3d-viewport/SafetyZonesRenderer";
@@ -1,9 +0,0 @@
1
- import { ReactNode } from "react";
2
- export declare function ColorSection(props: {
3
- name: string;
4
- children: ReactNode;
5
- }): import("react/jsx-runtime").JSX.Element;
6
- export declare function Color({ name, color }: {
7
- name: string;
8
- color: string;
9
- }): import("react/jsx-runtime").JSX.Element;
@@ -1,143 +0,0 @@
1
- import { ThemeOptions } from '@mui/material/styles';
2
- type ThemeName = 'wandelbots';
3
- export declare const allThemes: {
4
- wb: import("@mui/material/styles").Theme;
5
- };
6
- export interface NamedThemeOptions extends ThemeOptions {
7
- name: ThemeName;
8
- }
9
- declare module '@mui/material/styles' {
10
- interface Theme {
11
- backgrounds: {
12
- light1: string;
13
- light2: string;
14
- medium: string;
15
- dark1: string;
16
- dark2: string;
17
- };
18
- buttonPrimary: {
19
- background: string;
20
- text: string;
21
- };
22
- buttonSecondary: {
23
- background: string;
24
- text: string;
25
- };
26
- buttonBack: {
27
- background: string;
28
- text: string;
29
- };
30
- inputField: {
31
- background: string;
32
- text: string;
33
- unitBackground: string;
34
- unitText: string;
35
- };
36
- sidebar: {
37
- background: string;
38
- backgroundSelected: string;
39
- selected: string;
40
- };
41
- actionPanel: {
42
- background: string;
43
- backgroundSelected: string;
44
- text: string;
45
- };
46
- controlPanel: {
47
- background: string;
48
- text: string;
49
- };
50
- listItem: {
51
- background: string;
52
- backgroundSelected: string;
53
- textTitle: string;
54
- textTitleSelected: string;
55
- textDesc: string;
56
- textDescSelected: string;
57
- };
58
- breadcrumb: {
59
- background: string;
60
- text: string;
61
- textSelected: string;
62
- };
63
- axes: {
64
- x: string;
65
- y: string;
66
- z: string;
67
- };
68
- viewport: {
69
- background: string;
70
- controlBackground: string;
71
- };
72
- tabIcon: {
73
- color: string;
74
- };
75
- }
76
- interface ThemeOptions {
77
- backgrounds?: {
78
- light1?: string;
79
- light2?: string;
80
- medium?: string;
81
- dark1?: string;
82
- dark2?: string;
83
- };
84
- buttonPrimary?: {
85
- background?: string;
86
- text?: string;
87
- };
88
- buttonSecondary?: {
89
- background?: string;
90
- text?: string;
91
- };
92
- buttonBack?: {
93
- background?: string;
94
- text?: string;
95
- };
96
- inputField?: {
97
- background?: string;
98
- text?: string;
99
- unitBackground?: string;
100
- unitText?: string;
101
- };
102
- sidebar?: {
103
- background?: string;
104
- backgroundSelected?: string;
105
- selected?: string;
106
- };
107
- actionPanel?: {
108
- background?: string;
109
- backgroundSelected?: string;
110
- text?: string;
111
- };
112
- controlPanel?: {
113
- background?: string;
114
- text?: string;
115
- };
116
- listItem?: {
117
- background?: string;
118
- backgroundSelected?: string;
119
- textTitle?: string;
120
- textTitleSelected?: string;
121
- textDesc?: string;
122
- textDescSelected?: string;
123
- };
124
- breadcrumb?: {
125
- background?: string;
126
- text?: string;
127
- textSelected?: string;
128
- };
129
- axes?: {
130
- x?: string;
131
- y?: string;
132
- z?: string;
133
- };
134
- viewport?: {
135
- background?: string;
136
- controlBackground?: string;
137
- };
138
- tabIcon?: {
139
- color?: string;
140
- };
141
- }
142
- }
143
- export {};
@@ -1 +0,0 @@
1
- export declare const wbTheme: import("@mui/material/styles").Theme;
@@ -1,6 +0,0 @@
1
- import { Meta, StoryObj } from "@storybook/react";
2
- declare const ColorPalette: () => import("react/jsx-runtime").JSX.Element;
3
- declare const meta: Meta<typeof ColorPalette>;
4
- export default meta;
5
- type Story = StoryObj<typeof ColorPalette>;
6
- export declare const colorPalette: Story;
@@ -1,2 +0,0 @@
1
- import { SafetySetupSafetyZone } from "@wandelbots/wandelbots-js";
2
- export declare function SafetyZonesRenderer(safetyZones?: SafetySetupSafetyZone[], ...props: any[]): import("react/jsx-runtime").JSX.Element;