@wandelbots/wandelbots-js-react-components 6.3.0 → 6.4.0-pr.ci-release-guard.668.ec1f74f

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 (91) hide show
  1. package/README.md +185 -124
  2. package/dist/3d.cjs +1 -1
  3. package/dist/3d.d.ts +0 -3
  4. package/dist/3d.js +16 -21
  5. package/dist/SafetyBar/index.cjs +1 -1
  6. package/dist/SafetyBar/index.js +1 -1
  7. package/dist/chunks/ConnectedMotionGroup-BewSDQvD.cjs +4 -0
  8. package/dist/chunks/ConnectedMotionGroup-D6-4wBkk.js +2654 -0
  9. package/dist/chunks/Robot-C0uICTOn.js +1271 -0
  10. package/dist/chunks/Robot-D6RUDXEz.cjs +1 -0
  11. package/dist/chunks/{SafetyBar-Cy9DiXp9.js → SafetyBar-C2-H1ifP.js} +1 -1
  12. package/dist/chunks/{SafetyBar-DPrv_OQA.cjs → SafetyBar-Cq_WsuK2.cjs} +1 -1
  13. package/dist/chunks/externalizeComponent-Bue3-Wra.cjs +2 -0
  14. package/dist/chunks/{externalizeComponent-EDymnaGR.js → externalizeComponent-C0cVcPE2.js} +29 -107
  15. package/dist/chunks/useSmoothedMotionState-COMJRcOt.js +214 -0
  16. package/dist/chunks/useSmoothedMotionState-Con0E5Bx.cjs +1 -0
  17. package/dist/components/AppHeader.d.ts +1 -1
  18. package/dist/components/jogging/JoggingCartesianAxisControl.d.ts +1 -1
  19. package/dist/components/jogging/JoggingJointTab.d.ts +1 -1
  20. package/dist/components/jogging/JoggingPanel.d.ts +6 -3
  21. package/dist/components/jogging/JoggingStore.d.ts +5 -1
  22. package/dist/components/jogging/joggingColors.d.ts +18 -0
  23. package/dist/components/robots/GenericRobot.d.ts +2 -1
  24. package/dist/components/robots/LinearAxis.d.ts +1 -1
  25. package/dist/components/robots/LinearAxisAnimator.d.ts +11 -2
  26. package/dist/components/robots/Robot.d.ts +1 -1
  27. package/dist/components/robots/robotModelLogic.d.ts +11 -9
  28. package/dist/components/utils/hooks.d.ts +1 -6
  29. package/dist/core.cjs +1 -1
  30. package/dist/core.d.ts +3 -18
  31. package/dist/core.js +27 -54
  32. package/dist/index.cjs +1 -1
  33. package/dist/index.js +39 -71
  34. package/dist/lib/ConnectedMotionGroup.d.ts +5 -7
  35. package/dist/lib/JoggerConnection.d.ts +29 -5
  36. package/dist/lib/MotionStreamConnection.d.ts +4 -6
  37. package/dist/lib/novaConnection.d.ts +23 -0
  38. package/package.json +32 -66
  39. package/dist/Setup.d.ts +0 -11
  40. package/dist/chunks/MotionGroupVisualizer-DshWR1wY.js +0 -1653
  41. package/dist/chunks/MotionGroupVisualizer-eD7yFEcF.cjs +0 -1
  42. package/dist/chunks/externalizeComponent-OO4jcrz5.cjs +0 -2
  43. package/dist/chunks/theming-DfSy4-Ic.cjs +0 -4
  44. package/dist/chunks/theming-mF9Rt8SS.js +0 -5542
  45. package/dist/chunks/useSmoothedMotionState-DyDgSVYX.js +0 -478
  46. package/dist/chunks/useSmoothedMotionState-VYxEIyfr.cjs +0 -1
  47. package/dist/components/3d-viewport/CoordinateSystemTransform.d.ts +0 -11
  48. package/dist/components/AdornedTextField.d.ts +0 -7
  49. package/dist/components/CopyableText.d.ts +0 -6
  50. package/dist/components/CycleTimer/CycleTimer.d.ts +0 -3
  51. package/dist/components/CycleTimer/DefaultVariant.d.ts +0 -9
  52. package/dist/components/CycleTimer/SmallVariant.d.ts +0 -10
  53. package/dist/components/CycleTimer/index.d.ts +0 -27
  54. package/dist/components/CycleTimer/types.d.ts +0 -49
  55. package/dist/components/CycleTimer/useAnimations.d.ts +0 -14
  56. package/dist/components/CycleTimer/useTimerLogic.d.ts +0 -24
  57. package/dist/components/CycleTimer/utils.d.ts +0 -21
  58. package/dist/components/CycleTimer.d.ts +0 -3
  59. package/dist/components/DataGrid.d.ts +0 -66
  60. package/dist/components/LogPanel.d.ts +0 -38
  61. package/dist/components/LogStore.d.ts +0 -12
  62. package/dist/components/LogViewer.d.ts +0 -46
  63. package/dist/components/ProgramControl.d.ts +0 -55
  64. package/dist/components/ProgramStateIndicator.d.ts +0 -26
  65. package/dist/components/RobotCard.d.ts +0 -98
  66. package/dist/components/RobotListItem.d.ts +0 -34
  67. package/dist/components/RobotSetupReadinessIndicator.d.ts +0 -37
  68. package/dist/components/SelectableFab.d.ts +0 -7
  69. package/dist/components/TabBar.d.ts +0 -45
  70. package/dist/components/ThemeSelect.d.ts +0 -6
  71. package/dist/components/Timer/Timer.d.ts +0 -3
  72. package/dist/components/Timer/TimerDefaultVariant.d.ts +0 -9
  73. package/dist/components/Timer/TimerSmallVariant.d.ts +0 -10
  74. package/dist/components/Timer/index.d.ts +0 -19
  75. package/dist/components/Timer/types.d.ts +0 -35
  76. package/dist/components/Timer/useTimerAnimations.d.ts +0 -10
  77. package/dist/components/Timer/useTimerLogic.d.ts +0 -19
  78. package/dist/components/Timer/utils.d.ts +0 -17
  79. package/dist/components/Timer.d.ts +0 -3
  80. package/dist/components/TransparentOverlay.d.ts +0 -4
  81. package/dist/components/jogging/JoggingFreedriveTab.d.ts +0 -1
  82. package/dist/components/jogging/PoseCartesianValues.d.ts +0 -9
  83. package/dist/components/jogging/PoseJointValues.d.ts +0 -8
  84. package/dist/components/robots/AxisConfig.d.ts +0 -2
  85. package/dist/components/robots/manufacturerHomePositions.d.ts +0 -20
  86. package/dist/icons/DropdownArrowIcon.d.ts +0 -2
  87. package/dist/icons/index.d.ts +0 -12
  88. package/dist/lib/novaCompat.d.ts +0 -16
  89. package/dist/themes/createDarkTheme.d.ts +0 -7
  90. package/dist/themes/themeTypes.d.ts +0 -40
  91. package/dist/themes/theming.d.ts +0 -24
@@ -1,9 +0,0 @@
1
- import { type Pose } from "@wandelbots/nova-js/v2";
2
- export type PoseCartesianValuesProps = {
3
- tcpPose: Pose;
4
- showCopyButton?: boolean;
5
- };
6
- export declare const PoseCartesianValues: (({ tcpPose, showCopyButton }: PoseCartesianValuesProps) => import("react/jsx-runtime").JSX.Element) & {
7
- displayName: string;
8
- };
9
- export default PoseCartesianValues;
@@ -1,8 +0,0 @@
1
- export type PoseJointValuesProps = {
2
- joints: Array<number>;
3
- showCopyButton?: boolean;
4
- };
5
- export declare const PoseJointValues: (({ joints, showCopyButton }: PoseJointValuesProps) => import("react/jsx-runtime").JSX.Element) & {
6
- displayName: string;
7
- };
8
- export default PoseJointValues;
@@ -1,2 +0,0 @@
1
- export type AxisConfig = number[];
2
- export declare const defaultAxisConfig: AxisConfig;
@@ -1,20 +0,0 @@
1
- import { Manufacturer } from "@wandelbots/nova-js/v2";
2
- /**
3
- * Default home configs for different robot manufacturers.
4
- * These joint configurations represent safe home configs for each manufacturer's robots.
5
- * All angles are in radians.
6
- */
7
- export declare const MANUFACTURER_HOME_CONFIGS: Record<Manufacturer, number[]>;
8
- /**
9
- * Extracts manufacturer from modelFromController string.
10
- * @param modelFromController - String in format "Manufacturer_ModelName"
11
- * @returns Manufacturer enum value or null if not recognized
12
- */
13
- export declare function extractManufacturer(modelFromController: string): Manufacturer | null;
14
- /**
15
- * Gets the default home config for a robot based on its model identifier.
16
- * @param modelFromController - String in format "Manufacturer_ModelName"
17
- * @param defaultJointConfig - Optional custom default configuration to use if manufacturer not found
18
- * @returns Array of joint positions in radians, or null if no configuration available
19
- */
20
- export declare function getDefaultHomeConfig(modelFromController: string, defaultJointConfig?: number[]): number[] | null;
@@ -1,2 +0,0 @@
1
- import { type SvgIconProps } from "@mui/material/SvgIcon";
2
- export declare const DropdownArrowIcon: (props: SvgIconProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,12 +0,0 @@
1
- export { default as AxisXIcon } from "./axis-x.svg";
2
- export { default as AxisYIcon } from "./axis-y.svg";
3
- export { default as AxisZIcon } from "./axis-z.svg";
4
- export { default as HomeIcon } from "./home.svg";
5
- export { default as JogMinusIcon } from "./jog-minus.svg";
6
- export { default as JogPlusIcon } from "./jog-plus.svg";
7
- export { default as JoggingIcon } from "./jogging.svg";
8
- export { default as OrientationCoordSystemIcon } from "./orientation-coord-system.svg";
9
- export { default as OrientationToolIcon } from "./orientation-tool.svg";
10
- export { default as RobotIcon } from "./robot.svg";
11
- export { default as RotationIcon } from "./rotation.svg";
12
- export { default as WBLogoIcon } from "./wbLogo.svg";
@@ -1,16 +0,0 @@
1
- import type { Nova, NovaClient } from "@wandelbots/nova-js/v2";
2
- /**
3
- * A Nova-like client. We accept either the current instance-level `Nova`
4
- * client or, for backwards compatibility, the deprecated cell-scoped
5
- * `NovaClient`.
6
- */
7
- export type AnyNovaClient = Nova | NovaClient;
8
- /**
9
- * For backwards compatibility we still accept the deprecated cell-scoped
10
- * `NovaClient`. This normalizes it to present the same interface as the
11
- * current instance-level `Nova` client, so the rest of the code can be
12
- * written against the newer API.
13
- *
14
- * Instance-level `Nova` clients are returned unchanged.
15
- */
16
- export declare function asNovaInstance(nova: AnyNovaClient): Nova;
@@ -1,7 +0,0 @@
1
- /**
2
- * @deprecated Internal alias retained for backward compatibility. Use
3
- * {@link createNovaTheme} from `./theming` instead — it accepts variadic
4
- * `ThemeOptions` overrides matching the upstream `@wandelbots/mui`
5
- * signature.
6
- */
7
- export { createNovaTheme as createDarkTheme } from "./theming";
@@ -1,40 +0,0 @@
1
- import "@wandelbots/mui";
2
- export interface AxisControlComponentColors {
3
- color?: string;
4
- borderColor?: string;
5
- backgroundColor?: string;
6
- buttonBackgroundColor?: {
7
- default?: string;
8
- pressed?: string;
9
- disabled?: string;
10
- hovered?: string;
11
- };
12
- labelColor?: string;
13
- }
14
- declare module "@mui/material/styles" {
15
- interface Theme {
16
- componentsExt?: {
17
- JoggingPanel?: {
18
- JoggingCartesian?: {
19
- Axis?: {
20
- X?: AxisControlComponentColors;
21
- Y?: AxisControlComponentColors;
22
- Z?: AxisControlComponentColors;
23
- CustomRotation?: AxisControlComponentColors;
24
- };
25
- };
26
- JoggingJoint?: {
27
- Joint?: {
28
- arrowColor?: string;
29
- };
30
- };
31
- VelocitySlider?: {
32
- sliderLegendColor?: string;
33
- };
34
- };
35
- };
36
- }
37
- interface ThemeOptions {
38
- componentsExt?: Theme["componentsExt"];
39
- }
40
- }
@@ -1,24 +0,0 @@
1
- import type { Theme, ThemeOptions } from "@mui/material/styles";
2
- import "@mui/x-data-grid/themeAugmentation";
3
- /**
4
- * Create the default Wandelbots Nova Material UI theme for use with
5
- * `@wandelbots/wandelbots-js-react-components`. Layers DataGrid +
6
- * JoggingPanel-defaults on top of the canonical Nova theme from
7
- * `@wandelbots/mui`.
8
- *
9
- * Pass any number of `ThemeOptions` objects to override defaults. Each is
10
- * deep-merged in order via MUI's `createTheme`.
11
- *
12
- * Light mode is not currently supported. Passing `palette: { mode: "light" }`
13
- * is silently ignored (with a console warning) to preserve backward
14
- * compatibility. `palette: { mode: "dark" }` is passed through unchanged.
15
- * Once Figma synchronises a real light palette, light mode support will be
16
- * re-introduced.
17
- */
18
- export declare function createNovaTheme(...overrides: ThemeOptions[]): Theme;
19
- /**
20
- * @deprecated Use {@link createNovaTheme} instead. This name shadows the
21
- * upstream `createNovaMuiTheme` from `@wandelbots/mui` (which has a
22
- * different, variadic signature) and is therefore confusing.
23
- */
24
- export declare function createNovaMuiTheme(opts?: ThemeOptions): Theme;