@wandelbots/wandelbots-js-react-components 5.8.0 → 5.9.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/3d.cjs +1 -1
- package/dist/3d.js +1 -1
- package/dist/chunks/{MotionGroupVisualizer-Da-rqhb2.js → MotionGroupVisualizer-BRec-k-p.js} +16 -16
- package/dist/chunks/{MotionGroupVisualizer-DKuoN4_j.cjs → MotionGroupVisualizer-zDM0Lgd-.cjs} +1 -1
- package/dist/chunks/theming-BQZdGyPT.cjs +4 -0
- package/dist/chunks/{theming-BAMo7Vnk.js → theming-D8-Jb385.js} +1347 -1550
- package/dist/core.cjs +1 -1
- package/dist/core.d.ts +1 -1
- package/dist/core.js +25 -24
- package/dist/index.cjs +1 -1
- package/dist/index.js +56 -55
- package/dist/themes/createDarkTheme.d.ts +7 -2
- package/dist/themes/themeTypes.d.ts +21 -71
- package/dist/themes/theming.d.ts +21 -4
- package/package.json +2 -1
- package/dist/chunks/theming-IwLOrP7-.cjs +0 -4
- package/dist/themes/createLightTheme.d.ts +0 -1
package/dist/core.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./chunks/theming-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./chunks/theming-BQZdGyPT.cjs"),o=require("./chunks/interpolation-C9sLsved.cjs"),t=require("./chunks/externalizeComponent-OO4jcrz5.cjs"),a=require("./chunks/SafetyBar-VvOZ9aRM.cjs");exports.AdornedTextField=e.AdornedTextField;exports.AppHeader=e.AppHeader;exports.ConnectedMotionGroup=e.ConnectedMotionGroup;exports.CycleTimer=e.CycleTimer;exports.JoggerConnection=e.JoggerConnection;exports.JoggingCartesianAxisControl=e.JoggingCartesianAxisControl;exports.JoggingJointValueControl=e.JoggingJointValueControl;exports.JoggingPanel=e.JoggingPanel;exports.JoggingStore=e.JoggingStore;exports.LoadingCover=e.LoadingCover;exports.LoadingErrorMessage=e.LoadingErrorMessage;exports.LogPanel=e.LogPanel;exports.LogStore=e.LogStore;exports.LogViewer=e.LogViewer;exports.MotionStreamConnection=e.MotionStreamConnection;exports.NoMotionGroupModal=e.NoMotionGroupModal;exports.PoseCartesianValues=e.PoseCartesianValues;exports.PoseJointValues=e.PoseJointValues;exports.RobotListItem=e.RobotListItem;exports.RobotSetupReadinessIndicator=e.RobotSetupReadinessIndicator;exports.RobotSetupReadinessState=e.RobotSetupReadinessState;exports.SelectableFab=e.SelectableFab;exports.TabBar=e.TabBar;exports.Timer=e.Timer;exports.VelocitySlider=e.VelocitySlider;exports.VelocitySliderLabel=e.VelocitySliderLabel;exports.WandelbotsDataGrid=e.WandelbotsDataGrid;exports.createDebugMessage=e.createDebugMessage;exports.createErrorMessage=e.createErrorMessage;exports.createInfoMessage=e.createInfoMessage;exports.createLogMessage=e.createLogMessage;exports.createNovaMuiTheme=e.createNovaMuiTheme;exports.createNovaTheme=e.createNovaTheme;exports.createWarningMessage=e.createWarningMessage;exports.jointValuesEqual=e.jointValuesEqual;exports.poseEqual=e.poseEqual;exports.tcpMotionEqual=e.tcpMotionEqual;exports.unwrapRotationVector=e.unwrapRotationVector;exports.ProgramControl=o.ProgramControl;exports.ProgramState=o.ProgramState;exports.ProgramStateIndicator=o.ProgramStateIndicator;exports.ValueInterpolator=o.ValueInterpolator;exports.useAnimationFrame=o.useAnimationFrame;exports.useAutorun=o.useAutorun;exports.useInterpolation=o.useInterpolation;exports.useMounted=o.useMounted;exports.useReaction=o.useReaction;exports.i18n=t.i18n;exports.SafetyBar=a.SafetyBar;
|
package/dist/core.d.ts
CHANGED
|
@@ -30,4 +30,4 @@ export * from "./lib/motionStateUpdate";
|
|
|
30
30
|
export * from "./lib/MotionStreamConnection";
|
|
31
31
|
export * from "./SafetyBar";
|
|
32
32
|
export * from "./themes/themeTypes";
|
|
33
|
-
export { createNovaMuiTheme } from "./themes/theming";
|
|
33
|
+
export { createNovaTheme, createNovaMuiTheme } from "./themes/theming";
|
package/dist/core.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { A as o,
|
|
2
|
-
import { a as
|
|
3
|
-
import { i as
|
|
4
|
-
import { S as
|
|
1
|
+
import { A as o, b as s, u as t, C as r, v as n, d as i, e as g, f as l, J as u, h as c, i as d, j as m, L as p, p as M, M as S, N as b, P as C, g as V, R as L, r as P, q as f, S as J, T as R, s as x, V as T, t as A, W as I, l as y, o as E, m as q, k as v, a as N, c as h, n as w, w as F, x as G, y as W, z as j } from "./chunks/theming-D8-Jb385.js";
|
|
2
|
+
import { a as D, P as k, b as z, V as H, e as K, c as O, f as Q, u as U, d as X } from "./chunks/interpolation-DG8VTxzS.js";
|
|
3
|
+
import { i as Z } from "./chunks/externalizeComponent-EDymnaGR.js";
|
|
4
|
+
import { S as $ } from "./chunks/SafetyBar-CxxIVVeR.js";
|
|
5
5
|
export {
|
|
6
6
|
o as AdornedTextField,
|
|
7
7
|
s as AppHeader,
|
|
@@ -14,41 +14,42 @@ export {
|
|
|
14
14
|
u as JoggingStore,
|
|
15
15
|
c as LoadingCover,
|
|
16
16
|
d as LoadingErrorMessage,
|
|
17
|
-
|
|
18
|
-
|
|
17
|
+
m as LogPanel,
|
|
18
|
+
p as LogStore,
|
|
19
19
|
M as LogViewer,
|
|
20
20
|
S as MotionStreamConnection,
|
|
21
21
|
b as NoMotionGroupModal,
|
|
22
22
|
C as PoseCartesianValues,
|
|
23
23
|
V as PoseJointValues,
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
24
|
+
D as ProgramControl,
|
|
25
|
+
k as ProgramState,
|
|
26
|
+
z as ProgramStateIndicator,
|
|
27
27
|
L as RobotListItem,
|
|
28
28
|
P as RobotSetupReadinessIndicator,
|
|
29
29
|
f as RobotSetupReadinessState,
|
|
30
|
-
|
|
30
|
+
$ as SafetyBar,
|
|
31
31
|
J as SelectableFab,
|
|
32
32
|
R as TabBar,
|
|
33
33
|
x as Timer,
|
|
34
34
|
H as ValueInterpolator,
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
35
|
+
T as VelocitySlider,
|
|
36
|
+
A as VelocitySliderLabel,
|
|
37
|
+
I as WandelbotsDataGrid,
|
|
38
38
|
y as createDebugMessage,
|
|
39
39
|
E as createErrorMessage,
|
|
40
40
|
q as createInfoMessage,
|
|
41
41
|
v as createLogMessage,
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
42
|
+
N as createNovaMuiTheme,
|
|
43
|
+
h as createNovaTheme,
|
|
44
|
+
w as createWarningMessage,
|
|
45
|
+
Z as i18n,
|
|
46
|
+
F as jointValuesEqual,
|
|
47
|
+
G as poseEqual,
|
|
47
48
|
W as tcpMotionEqual,
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
49
|
+
j as unwrapRotationVector,
|
|
50
|
+
K as useAnimationFrame,
|
|
51
|
+
O as useAutorun,
|
|
52
|
+
Q as useInterpolation,
|
|
53
|
+
U as useMounted,
|
|
54
|
+
X as useReaction
|
|
54
55
|
};
|
package/dist/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./chunks/MotionGroupVisualizer-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./chunks/MotionGroupVisualizer-zDM0Lgd-.cjs"),e=require("./chunks/theming-BQZdGyPT.cjs"),t=require("./chunks/interpolation-C9sLsved.cjs"),i=require("./chunks/externalizeComponent-OO4jcrz5.cjs"),s=require("./chunks/SafetyBar-VvOZ9aRM.cjs"),a=require("./chunks/robot-SEtfVAmf.cjs"),n=require("./chunks/wbLogo-G_IfZ03l.cjs"),r=require("./chunks/safety-state-stop-CgPfwC18.cjs");exports.CollisionSceneRenderer=o.CollisionSceneRenderer;exports.LinearAxis=o.LinearAxis;exports.MANUFACTURER_HOME_CONFIGS=o.MANUFACTURER_HOME_CONFIGS;exports.MotionGroupVisualizer=o.MotionGroupVisualizer;exports.PresetEnvironment=o.PresetEnvironment;exports.Robot=o.Robot;exports.RobotCard=o.RobotCard;exports.SafetyZonesRenderer=o.SafetyZonesRenderer;exports.SupportedLinearAxis=o.SupportedLinearAxis;exports.SupportedRobot=o.SupportedRobot;exports.TrajectoryRenderer=o.TrajectoryRenderer;exports.defaultAxisConfig=o.defaultAxisConfig;exports.defaultGetModel=o.defaultGetModel;exports.extractManufacturer=o.extractManufacturer;exports.getDefaultHomeConfig=o.getDefaultHomeConfig;exports.AdornedTextField=e.AdornedTextField;exports.AppHeader=e.AppHeader;exports.ConnectedMotionGroup=e.ConnectedMotionGroup;exports.CycleTimer=e.CycleTimer;exports.JoggerConnection=e.JoggerConnection;exports.JoggingCartesianAxisControl=e.JoggingCartesianAxisControl;exports.JoggingJointValueControl=e.JoggingJointValueControl;exports.JoggingPanel=e.JoggingPanel;exports.JoggingStore=e.JoggingStore;exports.LoadingCover=e.LoadingCover;exports.LoadingErrorMessage=e.LoadingErrorMessage;exports.LogPanel=e.LogPanel;exports.LogStore=e.LogStore;exports.LogViewer=e.LogViewer;exports.MotionStreamConnection=e.MotionStreamConnection;exports.NoMotionGroupModal=e.NoMotionGroupModal;exports.PoseCartesianValues=e.PoseCartesianValues;exports.PoseJointValues=e.PoseJointValues;exports.RobotListItem=e.RobotListItem;exports.RobotSetupReadinessIndicator=e.RobotSetupReadinessIndicator;exports.RobotSetupReadinessState=e.RobotSetupReadinessState;exports.SelectableFab=e.SelectableFab;exports.TabBar=e.TabBar;exports.Timer=e.Timer;exports.VelocitySlider=e.VelocitySlider;exports.VelocitySliderLabel=e.VelocitySliderLabel;exports.WandelbotsDataGrid=e.WandelbotsDataGrid;exports.createDebugMessage=e.createDebugMessage;exports.createErrorMessage=e.createErrorMessage;exports.createInfoMessage=e.createInfoMessage;exports.createLogMessage=e.createLogMessage;exports.createNovaMuiTheme=e.createNovaMuiTheme;exports.createNovaTheme=e.createNovaTheme;exports.createWarningMessage=e.createWarningMessage;exports.jointValuesEqual=e.jointValuesEqual;exports.poseEqual=e.poseEqual;exports.tcpMotionEqual=e.tcpMotionEqual;exports.unwrapRotationVector=e.unwrapRotationVector;exports.ProgramControl=t.ProgramControl;exports.ProgramState=t.ProgramState;exports.ProgramStateIndicator=t.ProgramStateIndicator;exports.ValueInterpolator=t.ValueInterpolator;exports.useAnimationFrame=t.useAnimationFrame;exports.useAutorun=t.useAutorun;exports.useInterpolation=t.useInterpolation;exports.useMounted=t.useMounted;exports.useReaction=t.useReaction;exports.i18n=i.i18n;exports.SafetyBar=s.SafetyBar;exports.AxisXIcon=a.ForwardRef;exports.AxisYIcon=a.ForwardRef$1;exports.AxisZIcon=a.ForwardRef$2;exports.JogMinusIcon=a.ForwardRef$3;exports.JogPlusIcon=a.ForwardRef$4;exports.RobotIcon=a.ForwardRef$5;exports.RotationIcon=a.ForwardRef$6;exports.HomeIcon=n.ForwardRef;exports.JoggingIcon=n.ForwardRef$1;exports.OrientationCoordSystemIcon=n.ForwardRef$2;exports.OrientationToolIcon=n.ForwardRef$3;exports.WBLogoIcon=n.ForwardRef$4;exports.ControllerTypePhysicalIcon=r.ForwardRef;exports.ControllerTypeVirtualIcon=r.ForwardRef$1;exports.OperationModeAutomaticIcon=r.ForwardRef$2;exports.OperationModeErrorIcon=r.ForwardRef$3;exports.OperationModeManualIcon=r.ForwardRef$4;exports.SafetyStateErrorIcon=r.ForwardRef$5;exports.SafetyStateEstopIcon=r.ForwardRef$6;exports.SafetyStateManualActionRequiredIcon=r.ForwardRef$7;exports.SafetyStateNormalIcon=r.ForwardRef$8;exports.SafetyStateStopIcon=r.ForwardRef$9;
|
package/dist/index.js
CHANGED
|
@@ -1,65 +1,65 @@
|
|
|
1
|
-
import { C as e, L as s, M as t, h as r, P as n, b as i, R as c, S as l, c as g, f as u, T as d, a as p, d as S, e as I, g as f } from "./chunks/MotionGroupVisualizer-
|
|
2
|
-
import { A as
|
|
3
|
-
import { a as
|
|
4
|
-
import { i as
|
|
5
|
-
import { S as
|
|
6
|
-
import { F as
|
|
7
|
-
import { F as
|
|
8
|
-
import { F as
|
|
1
|
+
import { C as e, L as s, M as t, h as r, P as n, b as i, R as c, S as l, c as g, f as u, T as d, a as p, d as S, e as I, g as f } from "./chunks/MotionGroupVisualizer-BRec-k-p.js";
|
|
2
|
+
import { A as M, b as C, u as R, C as b, v as x, d as y, e as A, f as L, J as P, h as T, i as V, j as E, L as J, p as F, M as N, N as O, P as h, g as G, R as q, r as v, q as H, S as W, T as j, s as w, V as B, t as D, W as z, l as U, o as Z, m as _, k, a as X, c as Y, n as K, w as Q, x as $, y as aa, z as oa } from "./chunks/theming-D8-Jb385.js";
|
|
3
|
+
import { a as sa, P as ta, b as ra, V as na, e as ia, c as ca, f as la, u as ga, d as ua } from "./chunks/interpolation-DG8VTxzS.js";
|
|
4
|
+
import { i as pa } from "./chunks/externalizeComponent-EDymnaGR.js";
|
|
5
|
+
import { S as Ia } from "./chunks/SafetyBar-CxxIVVeR.js";
|
|
6
|
+
import { F as ma, a as Ma, b as Ca, c as Ra, d as ba, e as xa, f as ya } from "./chunks/robot-Cy9ST5-m.js";
|
|
7
|
+
import { F as La, a as Pa, b as Ta, c as Va, d as Ea } from "./chunks/wbLogo-CObCmqTw.js";
|
|
8
|
+
import { F as Fa, a as Na, b as Oa, c as ha, d as Ga, e as qa, f as va, g as Ha, h as Wa, i as ja } from "./chunks/safety-state-stop-CJW5CKkp.js";
|
|
9
9
|
export {
|
|
10
|
-
|
|
10
|
+
M as AdornedTextField,
|
|
11
11
|
C as AppHeader,
|
|
12
|
-
|
|
12
|
+
ma as AxisXIcon,
|
|
13
13
|
Ma as AxisYIcon,
|
|
14
|
-
|
|
14
|
+
Ca as AxisZIcon,
|
|
15
15
|
e as CollisionSceneRenderer,
|
|
16
16
|
R as ConnectedMotionGroup,
|
|
17
|
-
|
|
18
|
-
|
|
17
|
+
Fa as ControllerTypePhysicalIcon,
|
|
18
|
+
Na as ControllerTypeVirtualIcon,
|
|
19
19
|
b as CycleTimer,
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
20
|
+
La as HomeIcon,
|
|
21
|
+
Ra as JogMinusIcon,
|
|
22
|
+
ba as JogPlusIcon,
|
|
23
23
|
x as JoggerConnection,
|
|
24
24
|
y as JoggingCartesianAxisControl,
|
|
25
|
-
|
|
25
|
+
Pa as JoggingIcon,
|
|
26
26
|
A as JoggingJointValueControl,
|
|
27
27
|
L as JoggingPanel,
|
|
28
28
|
P as JoggingStore,
|
|
29
29
|
s as LinearAxis,
|
|
30
|
-
|
|
31
|
-
|
|
30
|
+
T as LoadingCover,
|
|
31
|
+
V as LoadingErrorMessage,
|
|
32
32
|
E as LogPanel,
|
|
33
33
|
J as LogStore,
|
|
34
34
|
F as LogViewer,
|
|
35
35
|
t as MANUFACTURER_HOME_CONFIGS,
|
|
36
36
|
r as MotionGroupVisualizer,
|
|
37
|
-
|
|
38
|
-
|
|
37
|
+
N as MotionStreamConnection,
|
|
38
|
+
O as NoMotionGroupModal,
|
|
39
39
|
Oa as OperationModeAutomaticIcon,
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
40
|
+
ha as OperationModeErrorIcon,
|
|
41
|
+
Ga as OperationModeManualIcon,
|
|
42
|
+
Ta as OrientationCoordSystemIcon,
|
|
43
43
|
Va as OrientationToolIcon,
|
|
44
|
-
|
|
45
|
-
|
|
44
|
+
h as PoseCartesianValues,
|
|
45
|
+
G as PoseJointValues,
|
|
46
46
|
n as PresetEnvironment,
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
47
|
+
sa as ProgramControl,
|
|
48
|
+
ta as ProgramState,
|
|
49
|
+
ra as ProgramStateIndicator,
|
|
50
50
|
i as Robot,
|
|
51
51
|
c as RobotCard,
|
|
52
|
-
|
|
52
|
+
xa as RobotIcon,
|
|
53
53
|
q as RobotListItem,
|
|
54
54
|
v as RobotSetupReadinessIndicator,
|
|
55
55
|
H as RobotSetupReadinessState,
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
56
|
+
ya as RotationIcon,
|
|
57
|
+
Ia as SafetyBar,
|
|
58
|
+
qa as SafetyStateErrorIcon,
|
|
59
|
+
va as SafetyStateEstopIcon,
|
|
60
|
+
Ha as SafetyStateManualActionRequiredIcon,
|
|
61
|
+
Wa as SafetyStateNormalIcon,
|
|
62
|
+
ja as SafetyStateStopIcon,
|
|
63
63
|
l as SafetyZonesRenderer,
|
|
64
64
|
W as SelectableFab,
|
|
65
65
|
g as SupportedLinearAxis,
|
|
@@ -67,29 +67,30 @@ export {
|
|
|
67
67
|
j as TabBar,
|
|
68
68
|
w as Timer,
|
|
69
69
|
d as TrajectoryRenderer,
|
|
70
|
-
|
|
70
|
+
na as ValueInterpolator,
|
|
71
71
|
B as VelocitySlider,
|
|
72
72
|
D as VelocitySliderLabel,
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
73
|
+
Ea as WBLogoIcon,
|
|
74
|
+
z as WandelbotsDataGrid,
|
|
75
|
+
U as createDebugMessage,
|
|
76
|
+
Z as createErrorMessage,
|
|
77
|
+
_ as createInfoMessage,
|
|
78
|
+
k as createLogMessage,
|
|
79
79
|
X as createNovaMuiTheme,
|
|
80
|
-
Y as
|
|
80
|
+
Y as createNovaTheme,
|
|
81
|
+
K as createWarningMessage,
|
|
81
82
|
p as defaultAxisConfig,
|
|
82
83
|
S as defaultGetModel,
|
|
83
84
|
I as extractManufacturer,
|
|
84
85
|
f as getDefaultHomeConfig,
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
86
|
+
pa as i18n,
|
|
87
|
+
Q as jointValuesEqual,
|
|
88
|
+
$ as poseEqual,
|
|
89
|
+
aa as tcpMotionEqual,
|
|
90
|
+
oa as unwrapRotationVector,
|
|
91
|
+
ia as useAnimationFrame,
|
|
92
|
+
ca as useAutorun,
|
|
93
|
+
la as useInterpolation,
|
|
94
|
+
ga as useMounted,
|
|
95
|
+
ua as useReaction
|
|
95
96
|
};
|
|
@@ -1,2 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
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
|
|
5
|
+
* `@wandelbots/design-tokens/mui` signature.
|
|
6
|
+
*/
|
|
7
|
+
export { createNovaTheme as createDarkTheme } from "./theming";
|
|
@@ -1,17 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
paletteExt?: {
|
|
3
|
-
primary?: {
|
|
4
|
-
hover?: string;
|
|
5
|
-
selected?: string;
|
|
6
|
-
focus?: string;
|
|
7
|
-
focusVisible?: string;
|
|
8
|
-
outlineBorder?: string;
|
|
9
|
-
};
|
|
10
|
-
secondary?: {
|
|
11
|
-
tonal?: string;
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
|
-
};
|
|
1
|
+
import "@wandelbots/design-tokens/mui";
|
|
15
2
|
export interface AxisControlComponentColors {
|
|
16
3
|
color?: string;
|
|
17
4
|
borderColor?: string;
|
|
@@ -24,67 +11,30 @@ export interface AxisControlComponentColors {
|
|
|
24
11
|
};
|
|
25
12
|
labelColor?: string;
|
|
26
13
|
}
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
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
|
+
};
|
|
36
25
|
};
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
26
|
+
JoggingJoint?: {
|
|
27
|
+
Joint?: {
|
|
28
|
+
arrowColor?: string;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
VelocitySlider?: {
|
|
32
|
+
sliderLegendColor?: string;
|
|
41
33
|
};
|
|
42
|
-
};
|
|
43
|
-
VelocitySlider?: {
|
|
44
|
-
sliderLegendColor?: string;
|
|
45
34
|
};
|
|
46
35
|
};
|
|
47
|
-
};
|
|
48
|
-
}
|
|
49
|
-
interface BackgroundPaperElevation {
|
|
50
|
-
0?: string;
|
|
51
|
-
1?: string;
|
|
52
|
-
2?: string;
|
|
53
|
-
3?: string;
|
|
54
|
-
4?: string;
|
|
55
|
-
5?: string;
|
|
56
|
-
6?: string;
|
|
57
|
-
7?: string;
|
|
58
|
-
8?: string;
|
|
59
|
-
9?: string;
|
|
60
|
-
10?: string;
|
|
61
|
-
11?: string;
|
|
62
|
-
12?: string;
|
|
63
|
-
13?: string;
|
|
64
|
-
14?: string;
|
|
65
|
-
15?: string;
|
|
66
|
-
16?: string;
|
|
67
|
-
17?: string;
|
|
68
|
-
18?: string;
|
|
69
|
-
19?: string;
|
|
70
|
-
20?: string;
|
|
71
|
-
21?: string;
|
|
72
|
-
22?: string;
|
|
73
|
-
23?: string;
|
|
74
|
-
24?: string;
|
|
75
|
-
}
|
|
76
|
-
declare module "@mui/material/styles" {
|
|
77
|
-
interface Palette {
|
|
78
|
-
tertiary: Palette["primary"];
|
|
79
|
-
backgroundPaperElevation?: BackgroundPaperElevation;
|
|
80
|
-
}
|
|
81
|
-
interface PaletteOptions {
|
|
82
|
-
tertiary?: PaletteOptions["primary"];
|
|
83
|
-
backgroundPaperElevation?: BackgroundPaperElevation;
|
|
84
|
-
}
|
|
85
|
-
interface Theme extends NovaComponentsExtension, NovaColorPaletteExtension {
|
|
86
36
|
}
|
|
87
|
-
interface ThemeOptions
|
|
37
|
+
interface ThemeOptions {
|
|
38
|
+
componentsExt?: Theme["componentsExt"];
|
|
88
39
|
}
|
|
89
40
|
}
|
|
90
|
-
export {};
|
package/dist/themes/theming.d.ts
CHANGED
|
@@ -1,6 +1,23 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { Theme, ThemeOptions } from "@mui/material/styles";
|
|
2
|
+
import "@mui/x-data-grid/themeAugmentation";
|
|
2
3
|
/**
|
|
3
|
-
* Create the default Wandelbots Nova Material UI theme
|
|
4
|
-
*
|
|
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/design-tokens`.
|
|
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
|
+
* will throw upstream. Browser-preference autodetection was removed when the
|
|
14
|
+
* upstream theme dropped its light-mode stub. It can be re-introduced once
|
|
15
|
+
* Figma synchronises a real light palette.
|
|
5
16
|
*/
|
|
6
|
-
export declare function
|
|
17
|
+
export declare function createNovaTheme(...overrides: ThemeOptions[]): Theme;
|
|
18
|
+
/**
|
|
19
|
+
* @deprecated Use {@link createNovaTheme} instead. This name shadows the
|
|
20
|
+
* upstream `createNovaMuiTheme` from `@wandelbots/design-tokens/mui` (which
|
|
21
|
+
* has a different, variadic signature) and is therefore confusing.
|
|
22
|
+
*/
|
|
23
|
+
export declare function createNovaMuiTheme(opts?: ThemeOptions): Theme;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wandelbots/wandelbots-js-react-components",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.9.0",
|
|
4
4
|
"description": "React UI toolkit for building applications on top of the Wandelbots platform",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -173,6 +173,7 @@
|
|
|
173
173
|
"dependencies": {
|
|
174
174
|
"@mui/x-charts": "^8.27.0",
|
|
175
175
|
"@mui/x-data-grid": "^8.27.0",
|
|
176
|
+
"@wandelbots/design-tokens": "~1.2.2",
|
|
176
177
|
"@wandelbots/nova-js": "3.10.0-pr.295.cb733a7",
|
|
177
178
|
"axios": "^1.15.0",
|
|
178
179
|
"dotenv": "^17.2.3",
|