@wandelbots/wandelbots-js-react-components 1.11.4 → 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.
- package/dist/index.cjs +28 -28
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +10718 -10912
- package/dist/index.js.map +1 -1
- package/dist/src/components/CopyableText.d.ts +1 -1
- package/dist/src/components/LoadingButton.d.ts +1 -1
- package/dist/src/externalizeComponent.d.ts.map +1 -1
- package/dist/src/index.d.ts +1 -0
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/themes/theming.d.ts +10 -22
- package/dist/src/themes/theming.d.ts.map +1 -1
- package/dist/stories/JoggingPanel.stories.d.ts.map +1 -1
- package/dist/stories/MuiSamples/Accordion.d.ts +2 -0
- package/dist/stories/MuiSamples/Accordion.d.ts.map +1 -0
- package/dist/stories/MuiSamples/Alert.d.ts +3 -0
- package/dist/stories/MuiSamples/Alert.d.ts.map +1 -0
- package/dist/stories/MuiSamples/AppBar.d.ts +7 -0
- package/dist/stories/MuiSamples/AppBar.d.ts.map +1 -0
- package/dist/stories/MuiSamples/Avatar.d.ts +2 -0
- package/dist/stories/MuiSamples/Avatar.d.ts.map +1 -0
- package/dist/stories/MuiSamples/Badge.d.ts +2 -0
- package/dist/stories/MuiSamples/Badge.d.ts.map +1 -0
- package/dist/stories/MuiSamples/BottomNavigation.d.ts +2 -0
- package/dist/stories/MuiSamples/BottomNavigation.d.ts.map +1 -0
- package/dist/stories/MuiSamples/Button.d.ts +2 -0
- package/dist/stories/MuiSamples/Button.d.ts.map +1 -0
- package/dist/stories/MuiSamples/Card.d.ts +2 -0
- package/dist/stories/MuiSamples/Card.d.ts.map +1 -0
- package/dist/stories/MuiSamples/Checkboxes.d.ts +2 -0
- package/dist/stories/MuiSamples/Checkboxes.d.ts.map +1 -0
- package/dist/stories/MuiSamples/Chip.d.ts +2 -0
- package/dist/stories/MuiSamples/Chip.d.ts.map +1 -0
- package/dist/stories/MuiSamples/Dialog.d.ts +7 -0
- package/dist/stories/MuiSamples/Dialog.d.ts.map +1 -0
- package/dist/stories/MuiSamples/FAB.d.ts +2 -0
- package/dist/stories/MuiSamples/FAB.d.ts.map +1 -0
- package/dist/stories/MuiSamples/Icon.d.ts +2 -0
- package/dist/stories/MuiSamples/Icon.d.ts.map +1 -0
- package/dist/stories/MuiSamples/List.d.ts +2 -0
- package/dist/stories/MuiSamples/List.d.ts.map +1 -0
- package/dist/stories/MuiSamples/Menu.d.ts +2 -0
- package/dist/stories/MuiSamples/Menu.d.ts.map +1 -0
- package/dist/stories/MuiSamples/Progress.d.ts +2 -0
- package/dist/stories/MuiSamples/Progress.d.ts.map +1 -0
- package/dist/stories/MuiSamples/RadioGroup.d.ts +2 -0
- package/dist/stories/MuiSamples/RadioGroup.d.ts.map +1 -0
- package/dist/stories/MuiSamples/Select.d.ts +2 -0
- package/dist/stories/MuiSamples/Select.d.ts.map +1 -0
- package/dist/stories/MuiSamples/Slider.d.ts +2 -0
- package/dist/stories/MuiSamples/Slider.d.ts.map +1 -0
- package/dist/stories/MuiSamples/Snackbar.d.ts +2 -0
- package/dist/stories/MuiSamples/Snackbar.d.ts.map +1 -0
- package/dist/stories/MuiSamples/Stepper.d.ts +2 -0
- package/dist/stories/MuiSamples/Stepper.d.ts.map +1 -0
- package/dist/stories/MuiSamples/Switch.d.ts +2 -0
- package/dist/stories/MuiSamples/Switch.d.ts.map +1 -0
- package/dist/stories/MuiSamples/Table.d.ts +2 -0
- package/dist/stories/MuiSamples/Table.d.ts.map +1 -0
- package/dist/stories/MuiSamples/Tabs.d.ts +2 -0
- package/dist/stories/MuiSamples/Tabs.d.ts.map +1 -0
- package/dist/stories/MuiSamples/TextField.d.ts +2 -0
- package/dist/stories/MuiSamples/TextField.d.ts.map +1 -0
- package/dist/stories/MuiSamples/Tooltip.d.ts +2 -0
- package/dist/stories/MuiSamples/Tooltip.d.ts.map +1 -0
- package/dist/stories/MuiSamples/Typography.d.ts +2 -0
- package/dist/stories/MuiSamples/Typography.d.ts.map +1 -0
- package/dist/stories/MuiSamples/index.d.ts +8 -0
- package/dist/stories/MuiSamples/index.d.ts.map +1 -0
- package/dist/stories/defaultTheme.stories.d.ts +7 -0
- package/dist/stories/defaultTheme.stories.d.ts.map +1 -0
- package/dist/stories/theming.stories.d.ts +7 -0
- package/dist/stories/theming.stories.d.ts.map +1 -0
- package/package.json +13 -14
- package/src/components/CopyableText.tsx +1 -1
- package/src/components/jogging/JoggingCartesianValues.tsx +1 -1
- package/src/components/jogging/JoggingJointValues.tsx +1 -1
- package/src/externalizeComponent.tsx +2 -14
- package/src/index.ts +1 -0
- package/src/themes/themeTypes.d.ts +4 -4
- package/src/themes/theming.ts +28 -30
- package/dist/src/themes/color.d.ts +0 -10
- package/dist/src/themes/color.d.ts.map +0 -1
- package/dist/stories/novaTheme.stories.d.ts +0 -5
- package/dist/stories/novaTheme.stories.d.ts.map +0 -1
- package/src/themes/color.tsx +0 -84
|
@@ -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" | "
|
|
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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"externalizeComponent.d.ts","sourceRoot":"","sources":["../../src/externalizeComponent.tsx"],"names":[],"mappings":"
|
|
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"}
|
package/dist/src/index.d.ts
CHANGED
|
@@ -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
|
package/dist/src/index.d.ts.map
CHANGED
|
@@ -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
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
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
|
|
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
|
|
23
|
-
export declare const
|
|
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
|
-
*
|
|
37
|
-
*
|
|
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
|
|
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;
|
|
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,
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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.
|
|
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
|
-
"@
|
|
44
|
-
"@emotion/react": "^11.13.0",
|
|
43
|
+
"@emotion/react": "^11.13.3",
|
|
45
44
|
"@emotion/styled": "^11.13.0",
|
|
46
|
-
"@mui/material": "^5.
|
|
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.
|
|
62
|
-
"@types/three": "^0.167.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
104
|
+
"@mui/icons-material": "^5.16.7",
|
|
106
105
|
"@mui/lab": "^5.0.0-alpha.173",
|
|
107
|
-
"@shikijs/monaco": "^1.
|
|
108
|
-
"@wandelbots/wandelbots-js": "^1.8.
|
|
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.
|
|
115
|
-
"shiki": "^1.
|
|
113
|
+
"react-i18next": "^15.0.1",
|
|
114
|
+
"shiki": "^1.14.1"
|
|
116
115
|
}
|
|
117
116
|
}
|
|
@@ -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<
|
|
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<
|
|
11
|
+
const poseHolderRef = useRef<HTMLDivElement>(null)
|
|
12
12
|
const { t } = useTranslation()
|
|
13
13
|
|
|
14
14
|
function getCurrentPoseString() {
|
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { createMUIThemeFromNova, createNovaTheme } from "./themes/theming"
|
|
3
|
-
import type { FC } from "react"
|
|
4
|
-
import { useTheme } from "@mui/material"
|
|
1
|
+
import { type FC } from "react"
|
|
5
2
|
import { I18nextProvider } from "react-i18next"
|
|
6
3
|
// @ts-expect-error invalid type-only import error
|
|
7
4
|
import i18n from "./i18n/config"
|
|
@@ -26,14 +23,5 @@ export function externalizeComponent<T extends JSX.ElementType>(
|
|
|
26
23
|
const NovaComponentsProvider: FC<{ children: React.ReactNode }> = ({
|
|
27
24
|
children,
|
|
28
25
|
}) => {
|
|
29
|
-
|
|
30
|
-
const defaultNovaTheme = createNovaTheme({
|
|
31
|
-
mode: theme.palette.mode,
|
|
32
|
-
})
|
|
33
|
-
const defaultTheme = createMUIThemeFromNova(defaultNovaTheme)
|
|
34
|
-
return (
|
|
35
|
-
<ThemeProvider theme={defaultTheme}>
|
|
36
|
-
<I18nextProvider i18n={i18n}>{children}</I18nextProvider>
|
|
37
|
-
</ThemeProvider>
|
|
38
|
-
)
|
|
26
|
+
return <I18nextProvider i18n={i18n}>{children}</I18nextProvider>
|
|
39
27
|
}
|
package/src/index.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { NovaThemeSettings } from "./novaTheme"
|
|
2
2
|
|
|
3
3
|
declare module "@mui/material/styles" {
|
|
4
4
|
interface Theme {
|
|
5
|
-
nova:
|
|
5
|
+
nova: NovaThemeSettings
|
|
6
6
|
}
|
|
7
7
|
|
|
8
8
|
interface ThemeOptions {
|
|
9
|
-
nova?:
|
|
9
|
+
nova?: NovaThemeSettings
|
|
10
10
|
}
|
|
11
|
-
}
|
|
11
|
+
}
|