@wandelbots/wandelbots-js-react-components 1.11.3 → 1.12.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.
Files changed (88) hide show
  1. package/dist/index.cjs +28 -28
  2. package/dist/index.cjs.map +1 -1
  3. package/dist/index.js +10637 -10836
  4. package/dist/index.js.map +1 -1
  5. package/dist/src/components/CopyableText.d.ts +1 -1
  6. package/dist/src/components/LoadingButton.d.ts +1 -1
  7. package/dist/src/components/modal/NoMotionGroupModal.d.ts +3 -2
  8. package/dist/src/components/modal/NoMotionGroupModal.d.ts.map +1 -1
  9. package/dist/src/externalizeComponent.d.ts.map +1 -1
  10. package/dist/src/index.d.ts +1 -0
  11. package/dist/src/index.d.ts.map +1 -1
  12. package/dist/src/themes/theming.d.ts +10 -22
  13. package/dist/src/themes/theming.d.ts.map +1 -1
  14. package/dist/stories/JoggingPanel.stories.d.ts.map +1 -1
  15. package/dist/stories/MuiSamples/Accordion.d.ts +2 -0
  16. package/dist/stories/MuiSamples/Accordion.d.ts.map +1 -0
  17. package/dist/stories/MuiSamples/Alert.d.ts +3 -0
  18. package/dist/stories/MuiSamples/Alert.d.ts.map +1 -0
  19. package/dist/stories/MuiSamples/AppBar.d.ts +7 -0
  20. package/dist/stories/MuiSamples/AppBar.d.ts.map +1 -0
  21. package/dist/stories/MuiSamples/Avatar.d.ts +2 -0
  22. package/dist/stories/MuiSamples/Avatar.d.ts.map +1 -0
  23. package/dist/stories/MuiSamples/Badge.d.ts +2 -0
  24. package/dist/stories/MuiSamples/Badge.d.ts.map +1 -0
  25. package/dist/stories/MuiSamples/BottomNavigation.d.ts +2 -0
  26. package/dist/stories/MuiSamples/BottomNavigation.d.ts.map +1 -0
  27. package/dist/stories/MuiSamples/Button.d.ts +2 -0
  28. package/dist/stories/MuiSamples/Button.d.ts.map +1 -0
  29. package/dist/stories/MuiSamples/Card.d.ts +2 -0
  30. package/dist/stories/MuiSamples/Card.d.ts.map +1 -0
  31. package/dist/stories/MuiSamples/Checkboxes.d.ts +2 -0
  32. package/dist/stories/MuiSamples/Checkboxes.d.ts.map +1 -0
  33. package/dist/stories/MuiSamples/Chip.d.ts +2 -0
  34. package/dist/stories/MuiSamples/Chip.d.ts.map +1 -0
  35. package/dist/stories/MuiSamples/Dialog.d.ts +7 -0
  36. package/dist/stories/MuiSamples/Dialog.d.ts.map +1 -0
  37. package/dist/stories/MuiSamples/FAB.d.ts +2 -0
  38. package/dist/stories/MuiSamples/FAB.d.ts.map +1 -0
  39. package/dist/stories/MuiSamples/Icon.d.ts +2 -0
  40. package/dist/stories/MuiSamples/Icon.d.ts.map +1 -0
  41. package/dist/stories/MuiSamples/List.d.ts +2 -0
  42. package/dist/stories/MuiSamples/List.d.ts.map +1 -0
  43. package/dist/stories/MuiSamples/Menu.d.ts +2 -0
  44. package/dist/stories/MuiSamples/Menu.d.ts.map +1 -0
  45. package/dist/stories/MuiSamples/Progress.d.ts +2 -0
  46. package/dist/stories/MuiSamples/Progress.d.ts.map +1 -0
  47. package/dist/stories/MuiSamples/RadioGroup.d.ts +2 -0
  48. package/dist/stories/MuiSamples/RadioGroup.d.ts.map +1 -0
  49. package/dist/stories/MuiSamples/Select.d.ts +2 -0
  50. package/dist/stories/MuiSamples/Select.d.ts.map +1 -0
  51. package/dist/stories/MuiSamples/Slider.d.ts +2 -0
  52. package/dist/stories/MuiSamples/Slider.d.ts.map +1 -0
  53. package/dist/stories/MuiSamples/Snackbar.d.ts +2 -0
  54. package/dist/stories/MuiSamples/Snackbar.d.ts.map +1 -0
  55. package/dist/stories/MuiSamples/Stepper.d.ts +2 -0
  56. package/dist/stories/MuiSamples/Stepper.d.ts.map +1 -0
  57. package/dist/stories/MuiSamples/Switch.d.ts +2 -0
  58. package/dist/stories/MuiSamples/Switch.d.ts.map +1 -0
  59. package/dist/stories/MuiSamples/Table.d.ts +2 -0
  60. package/dist/stories/MuiSamples/Table.d.ts.map +1 -0
  61. package/dist/stories/MuiSamples/Tabs.d.ts +2 -0
  62. package/dist/stories/MuiSamples/Tabs.d.ts.map +1 -0
  63. package/dist/stories/MuiSamples/TextField.d.ts +2 -0
  64. package/dist/stories/MuiSamples/TextField.d.ts.map +1 -0
  65. package/dist/stories/MuiSamples/Tooltip.d.ts +2 -0
  66. package/dist/stories/MuiSamples/Tooltip.d.ts.map +1 -0
  67. package/dist/stories/MuiSamples/Typography.d.ts +2 -0
  68. package/dist/stories/MuiSamples/Typography.d.ts.map +1 -0
  69. package/dist/stories/MuiSamples/index.d.ts +8 -0
  70. package/dist/stories/MuiSamples/index.d.ts.map +1 -0
  71. package/dist/stories/defaultTheme.stories.d.ts +7 -0
  72. package/dist/stories/defaultTheme.stories.d.ts.map +1 -0
  73. package/dist/stories/theming.stories.d.ts +7 -0
  74. package/dist/stories/theming.stories.d.ts.map +1 -0
  75. package/package.json +13 -14
  76. package/src/components/CopyableText.tsx +1 -1
  77. package/src/components/jogging/JoggingCartesianValues.tsx +1 -1
  78. package/src/components/jogging/JoggingJointValues.tsx +1 -1
  79. package/src/components/modal/NoMotionGroupModal.tsx +69 -71
  80. package/src/externalizeComponent.tsx +2 -14
  81. package/src/index.ts +1 -0
  82. package/src/themes/themeTypes.d.ts +4 -4
  83. package/src/themes/theming.ts +28 -30
  84. package/dist/src/themes/color.d.ts +0 -10
  85. package/dist/src/themes/color.d.ts.map +0 -1
  86. package/dist/stories/novaTheme.stories.d.ts +0 -5
  87. package/dist/stories/novaTheme.stories.d.ts.map +0 -1
  88. package/src/themes/color.tsx +0 -84
@@ -1,5 +1,5 @@
1
1
  export declare const CopyableText: import("react").ForwardRefExoticComponent<{
2
2
  label?: string;
3
3
  value: string;
4
- } & import("react").RefAttributes<HTMLPreElement>>;
4
+ } & import("react").RefAttributes<HTMLDivElement>>;
5
5
  //# sourceMappingURL=CopyableText.d.ts.map
@@ -1,5 +1,5 @@
1
1
  /** Button with a loading state to indicate a task is being processed */
2
2
  export declare const LoadingButton: import("react").ForwardRefExoticComponent<Omit<import("@mui/lab").LoadingButtonOwnProps & Omit<import("@mui/material").ButtonOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes">, "classes"> & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
3
3
  ref?: ((instance: HTMLButtonElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLButtonElement> | null | undefined;
4
- }, "children" | "color" | "size" | "className" | "style" | "tabIndex" | "disabled" | "classes" | "sx" | "variant" | "fullWidth" | "action" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "loading" | "href" | "disableElevation" | "endIcon" | "startIcon" | "loadingIndicator" | "loadingPosition">, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
4
+ }, "children" | "color" | "size" | "className" | "style" | "tabIndex" | "loading" | "classes" | "sx" | "disabled" | "href" | "action" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableElevation" | "disableFocusRipple" | "endIcon" | "fullWidth" | "startIcon" | "variant" | "loadingIndicator" | "loadingPosition">, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
5
5
  //# sourceMappingURL=LoadingButton.d.ts.map
@@ -1,4 +1,5 @@
1
- export declare const NoMotionGroupModal: ((baseUrl?: string) => import("react/jsx-runtime").JSX.Element) & {
2
- displayName: string;
1
+ export type NoMotionGroupModalProps = {
2
+ baseUrl: string;
3
3
  };
4
+ export declare function NoMotionGroupModal({ baseUrl, ...props }: NoMotionGroupModalProps): import("react/jsx-runtime").JSX.Element;
4
5
  //# sourceMappingURL=NoMotionGroupModal.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"NoMotionGroupModal.d.ts","sourceRoot":"","sources":["../../../../src/components/modal/NoMotionGroupModal.tsx"],"names":[],"mappings":"AAoBA,eAAO,MAAM,kBAAkB,cACV,MAAM;;CAwE1B,CAAA"}
1
+ {"version":3,"file":"NoMotionGroupModal.d.ts","sourceRoot":"","sources":["../../../../src/components/modal/NoMotionGroupModal.tsx"],"names":[],"mappings":"AAkBA,MAAM,MAAM,uBAAuB,GAAG;IACpC,OAAO,EAAE,MAAM,CAAA;CAChB,CAAA;AAED,wBAAgB,kBAAkB,CAAC,EACjC,OAAsB,EACtB,GAAG,KAAK,EACT,EAAE,uBAAuB,2CAkEzB"}
@@ -1 +1 @@
1
- {"version":3,"file":"externalizeComponent.d.ts","sourceRoot":"","sources":["../../src/externalizeComponent.tsx"],"names":[],"mappings":"AAQA;;;;GAIG;AACH,wBAAgB,oBAAoB,CAAC,CAAC,SAAS,GAAG,CAAC,WAAW,EAC5D,SAAS,EAAE,CAAC,GACX,CAAC,CAQH"}
1
+ {"version":3,"file":"externalizeComponent.d.ts","sourceRoot":"","sources":["../../src/externalizeComponent.tsx"],"names":[],"mappings":"AAKA;;;;GAIG;AACH,wBAAgB,oBAAoB,CAAC,CAAC,SAAS,GAAG,CAAC,WAAW,EAC5D,SAAS,EAAE,CAAC,GACX,CAAC,CAQH"}
@@ -11,4 +11,5 @@ export * from "./components/VelocitySlider";
11
11
  export * from "./components/modal/NoMotionGroupModal";
12
12
  export * from "./components/utils/hooks";
13
13
  export * from "./components/robots/AxisConfig";
14
+ export { createNovaMuiTheme } from "./themes/theming";
14
15
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,qDAAqD,CAAA;AACnE,cAAc,oCAAoC,CAAA;AAClD,cAAc,2BAA2B,CAAA;AACzC,cAAc,4CAA4C,CAAA;AAC1D,cAAc,8CAA8C,CAAA;AAC5D,cAAc,kDAAkD,CAAA;AAChE,cAAc,kDAAkD,CAAA;AAChE,YAAY,EAAE,YAAY,EAAE,MAAM,mCAAmC,CAAA;AACrE,cAAc,mCAAmC,CAAA;AACjD,cAAc,6BAA6B,CAAA;AAC3C,cAAc,uCAAuC,CAAA;AACrD,cAAc,0BAA0B,CAAA;AACxC,cAAc,gCAAgC,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,qDAAqD,CAAA;AACnE,cAAc,oCAAoC,CAAA;AAClD,cAAc,2BAA2B,CAAA;AACzC,cAAc,4CAA4C,CAAA;AAC1D,cAAc,8CAA8C,CAAA;AAC5D,cAAc,kDAAkD,CAAA;AAChE,cAAc,kDAAkD,CAAA;AAChE,YAAY,EAAE,YAAY,EAAE,MAAM,mCAAmC,CAAA;AACrE,cAAc,mCAAmC,CAAA;AACjD,cAAc,6BAA6B,CAAA;AAC3C,cAAc,uCAAuC,CAAA;AACrD,cAAc,0BAA0B,CAAA;AACxC,cAAc,gCAAgC,CAAA;AAC9C,OAAO,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAA"}
@@ -1,13 +1,10 @@
1
- import type { Theme } from "@mui/material/styles";
1
+ import type { Theme, ThemeOptions } from "@mui/material/styles";
2
2
  /**
3
- * A Nova components theme is a collection of Nova-specific settings that is
4
- * not specifically MUI-related, but can be used to construct a MUI
5
- * theme in turn.
6
- *
7
- * This object defines the default Nova theme settings, and the structure
8
- * of the options here is used to validate alternative themes.
3
+ * Settings used to construct the Nova default theme.
4
+ * The dark theme is the default and defines the structure of the
5
+ * settings.
9
6
  */
10
- export declare const novaDarkTheme: {
7
+ export declare const novaDarkSettings: {
11
8
  mode: "dark" | "light";
12
9
  colors: {
13
10
  primary: string;
@@ -19,8 +16,8 @@ export declare const novaDarkTheme: {
19
16
  };
20
17
  };
21
18
  };
22
- export type NovaTheme = typeof novaDarkTheme;
23
- export declare const novaLightTheme: {
19
+ export type NovaThemeSettings = typeof novaDarkSettings;
20
+ export declare const novaLightSettings: {
24
21
  mode: "light";
25
22
  colors: {
26
23
  primary: string;
@@ -33,17 +30,8 @@ export declare const novaLightTheme: {
33
30
  };
34
31
  };
35
32
  /**
36
- * Configure a Nova theme with the given options.
37
- * If no options are provided, the default dark theme is used.
38
- * Otherwise, the default dark or light theme is extended with
39
- * the overrides provided as appropriate.
33
+ * Create the default Wandelbots Nova Material UI theme, overriding
34
+ * any defaults with the provided theme options.
40
35
  */
41
- export declare function createNovaTheme(opts?: Partial<NovaTheme>): NovaTheme;
42
- /**
43
- * Turn a set of Nova theme settings into a Material UI theme.
44
- *
45
- * The original Nova settings are available on the resulting MUI
46
- * theme object under the `nova` key, if needed.
47
- */
48
- export declare function createMUIThemeFromNova(novaTheme: NovaTheme): Theme;
36
+ export declare function createNovaMuiTheme(opts: ThemeOptions): Theme;
49
37
  //# sourceMappingURL=theming.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"theming.d.ts","sourceRoot":"","sources":["../../../src/themes/theming.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAA;AAyBjD;;;;;;;GAOG;AACH,eAAO,MAAM,aAAa;UACR,MAAM,GAAG,OAAO;;;;;;;;;;CAUjC,CAAA;AAED,MAAM,MAAM,SAAS,GAAG,OAAO,aAAa,CAAA;AAE5C,eAAO,MAAM,cAAc;;;;;;;;;;;CAWN,CAAA;AAErB;;;;;GAKG;AACH,wBAAgB,eAAe,CAAC,IAAI,GAAE,OAAO,CAAC,SAAS,CAAM,GAAG,SAAS,CAGxE;AAED;;;;;GAKG;AACH,wBAAgB,sBAAsB,CAAC,SAAS,EAAE,SAAS,GAAG,KAAK,CA6FlE"}
1
+ {"version":3,"file":"theming.d.ts","sourceRoot":"","sources":["../../../src/themes/theming.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,KAAK,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AAwB/D;;;;GAIG;AACH,eAAO,MAAM,gBAAgB;UACX,MAAM,GAAG,OAAO;;;;;;;;;;CAUjC,CAAA;AAED,MAAM,MAAM,iBAAiB,GAAG,OAAO,gBAAgB,CAAA;AAEvD,eAAO,MAAM,iBAAiB;;;;;;;;;;;CAWD,CAAA;AAE7B;;;GAGG;AACH,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,YAAY,GAAG,KAAK,CA4G5D"}
@@ -1 +1 @@
1
- {"version":3,"file":"JoggingPanel.stories.d.ts","sourceRoot":"","sources":["../../stories/JoggingPanel.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AACtD,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAA;AAG3C,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,YAAY,CAoBnC,CAAA;AACD,eAAe,IAAI,CAAA;AAEnB,eAAO,MAAM,OAAO,EAAE,QAAQ,CAAC,OAAO,YAAY,CAAM,CAAA"}
1
+ {"version":3,"file":"JoggingPanel.stories.d.ts","sourceRoot":"","sources":["../../stories/JoggingPanel.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AACtD,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAA;AAG3C,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,YAAY,CAInC,CAAA;AACD,eAAe,IAAI,CAAA;AAEnB,eAAO,MAAM,OAAO,EAAE,QAAQ,CAAC,OAAO,YAAY,CAYjD,CAAA"}
@@ -0,0 +1,2 @@
1
+ export default function AccordionExample(): import("react/jsx-runtime").JSX.Element;
2
+ //# sourceMappingURL=Accordion.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Accordion.d.ts","sourceRoot":"","sources":["../../../stories/MuiSamples/Accordion.tsx"],"names":[],"mappings":"AAQA,MAAM,CAAC,OAAO,UAAU,gBAAgB,4CA6CvC"}
@@ -0,0 +1,3 @@
1
+ declare const AlertExample: () => import("react/jsx-runtime").JSX.Element;
2
+ export default AlertExample;
3
+ //# sourceMappingURL=Alert.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Alert.d.ts","sourceRoot":"","sources":["../../../stories/MuiSamples/Alert.tsx"],"names":[],"mappings":"AAYA,QAAA,MAAM,YAAY,+CA2DjB,CAAA;AAED,eAAe,YAAY,CAAA"}
@@ -0,0 +1,7 @@
1
+ import React from "react";
2
+ interface Props {
3
+ onDrawerButtonClick?: React.MouseEventHandler<HTMLButtonElement>;
4
+ }
5
+ export default function AppBarExample({ onDrawerButtonClick }: Props): import("react/jsx-runtime").JSX.Element;
6
+ export {};
7
+ //# sourceMappingURL=AppBar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AppBar.d.ts","sourceRoot":"","sources":["../../../stories/MuiSamples/AppBar.tsx"],"names":[],"mappings":"AAgBA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,UAAU,KAAK;IACb,mBAAmB,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC,iBAAiB,CAAC,CAAA;CACjE;AAED,MAAM,CAAC,OAAO,UAAU,aAAa,CAAC,EAAE,mBAAmB,EAAE,EAAE,KAAK,2CAqOnE"}
@@ -0,0 +1,2 @@
1
+ export default function AvatarExample(): import("react/jsx-runtime").JSX.Element;
2
+ //# sourceMappingURL=Avatar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Avatar.d.ts","sourceRoot":"","sources":["../../../stories/MuiSamples/Avatar.tsx"],"names":[],"mappings":"AAiBA,MAAM,CAAC,OAAO,UAAU,aAAa,4CAgHpC"}
@@ -0,0 +1,2 @@
1
+ export default function BadgeExample(): import("react/jsx-runtime").JSX.Element;
2
+ //# sourceMappingURL=Badge.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Badge.d.ts","sourceRoot":"","sources":["../../../stories/MuiSamples/Badge.tsx"],"names":[],"mappings":"AAWA,MAAM,CAAC,OAAO,UAAU,YAAY,4CAuEnC"}
@@ -0,0 +1,2 @@
1
+ export default function BottomNavigationExample(): import("react/jsx-runtime").JSX.Element;
2
+ //# sourceMappingURL=BottomNavigation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BottomNavigation.d.ts","sourceRoot":"","sources":["../../../stories/MuiSamples/BottomNavigation.tsx"],"names":[],"mappings":"AAOA,MAAM,CAAC,OAAO,UAAU,uBAAuB,4CAiB9C"}
@@ -0,0 +1,2 @@
1
+ export default function ButtonsExample(): import("react/jsx-runtime").JSX.Element;
2
+ //# sourceMappingURL=Button.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../stories/MuiSamples/Button.tsx"],"names":[],"mappings":"AAeA,MAAM,CAAC,OAAO,UAAU,cAAc,4CAgGrC"}
@@ -0,0 +1,2 @@
1
+ export default function CardExample(): import("react/jsx-runtime").JSX.Element;
2
+ //# sourceMappingURL=Card.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Card.d.ts","sourceRoot":"","sources":["../../../stories/MuiSamples/Card.tsx"],"names":[],"mappings":"AAsBA,MAAM,CAAC,OAAO,UAAU,WAAW,4CAsLlC"}
@@ -0,0 +1,2 @@
1
+ export default function CheckboxesExample(): import("react/jsx-runtime").JSX.Element;
2
+ //# sourceMappingURL=Checkboxes.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Checkboxes.d.ts","sourceRoot":"","sources":["../../../stories/MuiSamples/Checkboxes.tsx"],"names":[],"mappings":"AASA,MAAM,CAAC,OAAO,UAAU,iBAAiB,4CA+ExC"}
@@ -0,0 +1,2 @@
1
+ export default function ChipExample(): import("react/jsx-runtime").JSX.Element;
2
+ //# sourceMappingURL=Chip.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Chip.d.ts","sourceRoot":"","sources":["../../../stories/MuiSamples/Chip.tsx"],"names":[],"mappings":"AAOA,MAAM,CAAC,OAAO,UAAU,WAAW,4CAmKlC"}
@@ -0,0 +1,7 @@
1
+ export interface SimpleDialogProps {
2
+ open: boolean;
3
+ selectedValue: string;
4
+ onClose: (value: string) => void;
5
+ }
6
+ export default function DialogExample(): import("react/jsx-runtime").JSX.Element;
7
+ //# sourceMappingURL=Dialog.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Dialog.d.ts","sourceRoot":"","sources":["../../../stories/MuiSamples/Dialog.tsx"],"names":[],"mappings":"AAgBA,MAAM,WAAW,iBAAiB;IAChC,IAAI,EAAE,OAAO,CAAC;IACd,aAAa,EAAE,MAAM,CAAC;IACtB,OAAO,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CAClC;AAuDD,MAAM,CAAC,OAAO,UAAU,aAAa,4CA2BpC"}
@@ -0,0 +1,2 @@
1
+ export default function FabExample(): import("react/jsx-runtime").JSX.Element;
2
+ //# sourceMappingURL=FAB.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FAB.d.ts","sourceRoot":"","sources":["../../../stories/MuiSamples/FAB.tsx"],"names":[],"mappings":"AAOA,MAAM,CAAC,OAAO,UAAU,UAAU,4CAmBjC"}
@@ -0,0 +1,2 @@
1
+ export default function IconExample(): import("react/jsx-runtime").JSX.Element;
2
+ //# sourceMappingURL=Icon.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Icon.d.ts","sourceRoot":"","sources":["../../../stories/MuiSamples/Icon.tsx"],"names":[],"mappings":"AAaA,MAAM,CAAC,OAAO,UAAU,WAAW,4CAWlC"}
@@ -0,0 +1,2 @@
1
+ export default function ListExample(): import("react/jsx-runtime").JSX.Element;
2
+ //# sourceMappingURL=List.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"List.d.ts","sourceRoot":"","sources":["../../../stories/MuiSamples/List.tsx"],"names":[],"mappings":"AA0BA,MAAM,CAAC,OAAO,UAAU,WAAW,4CAyHlC"}
@@ -0,0 +1,2 @@
1
+ export default function MenuExample(): import("react/jsx-runtime").JSX.Element;
2
+ //# sourceMappingURL=Menu.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Menu.d.ts","sourceRoot":"","sources":["../../../stories/MuiSamples/Menu.tsx"],"names":[],"mappings":"AAKA,MAAM,CAAC,OAAO,UAAU,WAAW,4CAiClC"}
@@ -0,0 +1,2 @@
1
+ export default function ProgressExample(): import("react/jsx-runtime").JSX.Element;
2
+ //# sourceMappingURL=Progress.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Progress.d.ts","sourceRoot":"","sources":["../../../stories/MuiSamples/Progress.tsx"],"names":[],"mappings":"AAeA,MAAM,CAAC,OAAO,UAAU,eAAe,4CAgItC"}
@@ -0,0 +1,2 @@
1
+ export default function RadioExample(): import("react/jsx-runtime").JSX.Element;
2
+ //# sourceMappingURL=RadioGroup.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RadioGroup.d.ts","sourceRoot":"","sources":["../../../stories/MuiSamples/RadioGroup.tsx"],"names":[],"mappings":"AAOA,MAAM,CAAC,OAAO,UAAU,YAAY,4CA4BnC"}
@@ -0,0 +1,2 @@
1
+ export default function SelectExample(): import("react/jsx-runtime").JSX.Element;
2
+ //# sourceMappingURL=Select.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../../stories/MuiSamples/Select.tsx"],"names":[],"mappings":"AAkBA,MAAM,CAAC,OAAO,UAAU,aAAa,4CAgOpC"}
@@ -0,0 +1,2 @@
1
+ export default function SliderExample(): import("react/jsx-runtime").JSX.Element;
2
+ //# sourceMappingURL=Slider.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Slider.d.ts","sourceRoot":"","sources":["../../../stories/MuiSamples/Slider.tsx"],"names":[],"mappings":"AA+BA,MAAM,CAAC,OAAO,UAAU,aAAa,4CA+CpC"}
@@ -0,0 +1,2 @@
1
+ export default function SnackbarExample(): import("react/jsx-runtime").JSX.Element;
2
+ //# sourceMappingURL=Snackbar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Snackbar.d.ts","sourceRoot":"","sources":["../../../stories/MuiSamples/Snackbar.tsx"],"names":[],"mappings":"AAYA,MAAM,CAAC,OAAO,UAAU,eAAe,4CAiCtC"}
@@ -0,0 +1,2 @@
1
+ export default function StepperExample(): import("react/jsx-runtime").JSX.Element;
2
+ //# sourceMappingURL=Stepper.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Stepper.d.ts","sourceRoot":"","sources":["../../../stories/MuiSamples/Stepper.tsx"],"names":[],"mappings":"AAyBA,MAAM,CAAC,OAAO,UAAU,cAAc,4CAmHrC"}
@@ -0,0 +1,2 @@
1
+ export default function SwitchExample(): import("react/jsx-runtime").JSX.Element;
2
+ //# sourceMappingURL=Switch.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Switch.d.ts","sourceRoot":"","sources":["../../../stories/MuiSamples/Switch.tsx"],"names":[],"mappings":"AAKA,MAAM,CAAC,OAAO,UAAU,aAAa,4CA0CpC"}
@@ -0,0 +1,2 @@
1
+ export default function TableExample(): import("react/jsx-runtime").JSX.Element;
2
+ //# sourceMappingURL=Table.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Table.d.ts","sourceRoot":"","sources":["../../../stories/MuiSamples/Table.tsx"],"names":[],"mappings":"AAwPA,MAAM,CAAC,OAAO,UAAU,YAAY,4CAqJnC"}
@@ -0,0 +1,2 @@
1
+ export default function TabsExample(): import("react/jsx-runtime").JSX.Element;
2
+ //# sourceMappingURL=Tabs.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Tabs.d.ts","sourceRoot":"","sources":["../../../stories/MuiSamples/Tabs.tsx"],"names":[],"mappings":"AA0CA,MAAM,CAAC,OAAO,UAAU,WAAW,4CAuDlC"}
@@ -0,0 +1,2 @@
1
+ export default function TextFieldExample(): import("react/jsx-runtime").JSX.Element;
2
+ //# sourceMappingURL=TextField.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TextField.d.ts","sourceRoot":"","sources":["../../../stories/MuiSamples/TextField.tsx"],"names":[],"mappings":"AAIA,MAAM,CAAC,OAAO,UAAU,gBAAgB,4CAsLvC"}
@@ -0,0 +1,2 @@
1
+ export default function TooltipExample(): import("react/jsx-runtime").JSX.Element;
2
+ //# sourceMappingURL=Tooltip.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Tooltip.d.ts","sourceRoot":"","sources":["../../../stories/MuiSamples/Tooltip.tsx"],"names":[],"mappings":"AAOA,MAAM,CAAC,OAAO,UAAU,cAAc,4CAoBrC"}
@@ -0,0 +1,2 @@
1
+ export default function TypographyExample(): import("react/jsx-runtime").JSX.Element;
2
+ //# sourceMappingURL=Typography.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Typography.d.ts","sourceRoot":"","sources":["../../../stories/MuiSamples/Typography.tsx"],"names":[],"mappings":"AAIA,MAAM,CAAC,OAAO,UAAU,iBAAiB,4CAoDxC"}
@@ -0,0 +1,8 @@
1
+ declare const _default: {
2
+ id: string;
3
+ title: string;
4
+ component: import("react/jsx-runtime").JSX.Element;
5
+ docs: string;
6
+ }[];
7
+ export default _default;
8
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../stories/MuiSamples/index.tsx"],"names":[],"mappings":";;;;;;AAmCA,wBAmKC"}
@@ -0,0 +1,7 @@
1
+ import type { Meta, StoryObj } from "@storybook/react";
2
+ declare const MUIComponents: () => import("react/jsx-runtime").JSX.Element;
3
+ declare const meta: Meta<typeof MUIComponents>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof MUIComponents>;
6
+ export declare const muiComponents: Story;
7
+ //# sourceMappingURL=defaultTheme.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"defaultTheme.stories.d.ts","sourceRoot":"","sources":["../../stories/defaultTheme.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AAMtD,QAAA,MAAM,aAAa,+CAuCjB,CAAA;AAEF,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,aAAa,CAGpC,CAAA;AAED,eAAe,IAAI,CAAA;AAEnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,aAAa,CAAC,CAAA;AAE3C,eAAO,MAAM,aAAa,EAAE,KAAU,CAAA"}
@@ -0,0 +1,7 @@
1
+ import type { Meta, StoryObj } from "@storybook/react";
2
+ import { JoggingPanel } from "../src";
3
+ declare const meta: Meta<typeof JoggingPanel>;
4
+ export default meta;
5
+ export declare const JoggingStoryExtendedTheme: StoryObj<typeof JoggingPanel>;
6
+ export declare const JoggingStoryReplacedTheme: StoryObj<typeof JoggingPanel>;
7
+ //# sourceMappingURL=theming.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"theming.stories.d.ts","sourceRoot":"","sources":["../../stories/theming.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AACtD,OAAO,EAAE,YAAY,EAAsB,MAAM,QAAQ,CAAA;AAIzD,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,YAAY,CAEnC,CAAA;AAED,eAAe,IAAI,CAAA;AAEnB,eAAO,MAAM,yBAAyB,EAAE,QAAQ,CAAC,OAAO,YAAY,CAkBnE,CAAA;AAED,eAAO,MAAM,yBAAyB,EAAE,QAAQ,CAAC,OAAO,YAAY,CAgBnE,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wandelbots/wandelbots-js-react-components",
3
- "version": "1.11.3",
3
+ "version": "1.12.0",
4
4
  "description": "React UI toolkit for building applications on top of the Wandelbots platform",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -40,10 +40,9 @@
40
40
  "author": "Wandelbots",
41
41
  "license": "Apache-2.0",
42
42
  "devDependencies": {
43
- "@chromatic-com/storybook": "^1.6.1",
44
- "@emotion/react": "^11.13.0",
43
+ "@emotion/react": "^11.13.3",
45
44
  "@emotion/styled": "^11.13.0",
46
- "@mui/material": "^5.13.6",
45
+ "@mui/material": "^5.16.7",
47
46
  "@rollup/plugin-commonjs": "^26.0.1",
48
47
  "@rollup/plugin-json": "^6.1.0",
49
48
  "@rollup/plugin-node-resolve": "^15.2.3",
@@ -58,22 +57,22 @@
58
57
  "@storybook/test-runner": "^0.19.1",
59
58
  "@svgr/rollup": "^8.1.0",
60
59
  "@types/lodash-es": "^4.17.12",
61
- "@types/react": "^18.3.3",
62
- "@types/three": "^0.167.1",
60
+ "@types/react": "^18.3.4",
61
+ "@types/three": "^0.167.2",
63
62
  "@vitejs/plugin-react": "^4.3.1",
64
63
  "nodemon": "^3.1.4",
65
- "postcss": "^8.4.40",
64
+ "postcss": "^8.4.41",
66
65
  "prettier-eslint": "^16.3.0",
67
66
  "prop-types": "^15.8.1",
68
67
  "react": "^18.3.1",
69
68
  "react-dom": "^18.3.1",
70
69
  "rimraf": "^6.0.1",
71
- "rollup": "^4.19.2",
70
+ "rollup": "^4.21.0",
72
71
  "rollup-plugin-dts": "^6.1.1",
73
72
  "rollup-plugin-gltf": "^4.0.0",
74
73
  "rollup-plugin-peer-deps-external": "^2.2.4",
75
74
  "rollup-plugin-postcss": "^4.0.2",
76
- "semantic-release": "^24.0.0",
75
+ "semantic-release": "^24.1.0",
77
76
  "storybook": "^8.2.9",
78
77
  "storybook-dark-mode": "^4.0.2",
79
78
  "storybook-preset-inline-svg": "^1.0.1",
@@ -102,16 +101,16 @@
102
101
  },
103
102
  "dependencies": {
104
103
  "@monaco-editor/react": "^4.6.0",
105
- "@mui/icons-material": "^5.16.6",
104
+ "@mui/icons-material": "^5.16.7",
106
105
  "@mui/lab": "^5.0.0-alpha.173",
107
- "@shikijs/monaco": "^1.12.0",
108
- "@wandelbots/wandelbots-js": "^1.8.0",
106
+ "@shikijs/monaco": "^1.14.1",
107
+ "@wandelbots/wandelbots-js": "^1.8.3",
109
108
  "i18next-browser-languagedetector": "^8.0.0",
110
109
  "lodash-es": "^4.17.21",
111
110
  "mobx": "^6.13.1",
112
111
  "mobx-react-lite": "^4.0.7",
113
112
  "react-error-boundary": "^4.0.13",
114
- "react-i18next": "^15.0.0",
115
- "shiki": "^1.12.0"
113
+ "react-i18next": "^15.0.1",
114
+ "shiki": "^1.14.1"
116
115
  }
117
116
  }
@@ -10,7 +10,7 @@ export const CopyableText = forwardRef(
10
10
  label?: string
11
11
  value: string
12
12
  },
13
- ref: React.ForwardedRef<HTMLPreElement>,
13
+ ref: React.ForwardedRef<HTMLDivElement>,
14
14
  ) => {
15
15
  return (
16
16
  <>
@@ -8,7 +8,7 @@ import { CopyableText } from "../CopyableText"
8
8
 
9
9
  export const JoggingCartesianValues = observer(
10
10
  ({ store }: { store: JoggingStore }) => {
11
- const poseHolderRef = useRef<HTMLPreElement>(null)
11
+ const poseHolderRef = useRef<HTMLDivElement>(null)
12
12
 
13
13
  function getCurrentPoseString() {
14
14
  const tcpPose =
@@ -8,7 +8,7 @@ import { CopyableText } from "../CopyableText"
8
8
 
9
9
  export const JoggingJointValues = observer(
10
10
  ({ store }: { store: JoggingStore }) => {
11
- const poseHolderRef = useRef<HTMLPreElement>(null)
11
+ const poseHolderRef = useRef<HTMLDivElement>(null)
12
12
  const { t } = useTranslation()
13
13
 
14
14
  function getCurrentPoseString() {