@wandelbots/wandelbots-js-react-components 4.7.2 → 5.0.0-pr.feat-icons.568.cbf1817

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 (121) hide show
  1. package/README.md +30 -34
  2. package/dist/3d.cjs.js +1 -1
  3. package/dist/3d.es.js +1 -1
  4. package/dist/MotionGroupVisualizer-C6MgXjCN.cjs +2 -0
  5. package/dist/MotionGroupVisualizer-C6MgXjCN.cjs.map +1 -0
  6. package/dist/MotionGroupVisualizer-Cm-XYEZe.js +1328 -0
  7. package/dist/{MotionGroupVisualizer-DP4K1dVw.cjs.map → MotionGroupVisualizer-Cm-XYEZe.js.map} +1 -1
  8. package/dist/auth0-spa-js.production.esm-CVEdrQ4-.cjs +5 -0
  9. package/dist/auth0-spa-js.production.esm-CVEdrQ4-.cjs.map +1 -0
  10. package/dist/auth0-spa-js.production.esm-Cr9w0sUa.js +4217 -0
  11. package/dist/auth0-spa-js.production.esm-Cr9w0sUa.js.map +1 -0
  12. package/dist/components/3d-viewport/CoordinateSystemTransform.d.ts +1 -1
  13. package/dist/components/3d-viewport/CoordinateSystemTransform.d.ts.map +1 -1
  14. package/dist/components/3d-viewport/SafetyZonesRenderer.d.ts +1 -2
  15. package/dist/components/3d-viewport/SafetyZonesRenderer.d.ts.map +1 -1
  16. package/dist/components/3d-viewport/TrajectoryRenderer.d.ts +2 -2
  17. package/dist/components/3d-viewport/TrajectoryRenderer.d.ts.map +1 -1
  18. package/dist/components/3d-viewport/collider/ColliderCollection.d.ts +1 -1
  19. package/dist/components/3d-viewport/collider/ColliderElement.d.ts +1 -1
  20. package/dist/components/3d-viewport/collider/CollisionSceneRenderer.d.ts +2 -2
  21. package/dist/components/3d-viewport/collider/colliderShapeToBufferGeometry.d.ts +1 -1
  22. package/dist/components/safetyBar/icons/index.d.ts +11 -0
  23. package/dist/components/safetyBar/icons/index.d.ts.map +1 -0
  24. package/dist/core.cjs.js +1 -1
  25. package/dist/core.es.js +37 -39
  26. package/dist/core.es.js.map +1 -1
  27. package/dist/icons/index.d.ts +9 -4
  28. package/dist/icons/index.d.ts.map +1 -1
  29. package/dist/index.cjs.js +1 -1
  30. package/dist/index.d.ts +1 -1
  31. package/dist/index.d.ts.map +1 -1
  32. package/dist/index.es.js +72 -52
  33. package/dist/index.es.js.map +1 -1
  34. package/dist/interpolation-GwZidExa.cjs +42 -0
  35. package/dist/interpolation-GwZidExa.cjs.map +1 -0
  36. package/dist/{interpolation-B8AcxfdD.js → interpolation-JdOMWH6y.js} +3635 -3115
  37. package/dist/interpolation-JdOMWH6y.js.map +1 -0
  38. package/dist/lib/ConnectedMotionGroup.d.ts +2 -3
  39. package/dist/lib/ConnectedMotionGroup.d.ts.map +1 -1
  40. package/dist/lib/MotionStreamConnection.d.ts +0 -1
  41. package/dist/lib/MotionStreamConnection.d.ts.map +1 -1
  42. package/dist/safety-state-stop-ClWLVLMl.cjs +2 -0
  43. package/dist/safety-state-stop-ClWLVLMl.cjs.map +1 -0
  44. package/dist/safety-state-stop-DuMBCxN5.js +91 -0
  45. package/dist/safety-state-stop-DuMBCxN5.js.map +1 -0
  46. package/dist/themes/createDarkTheme.d.ts.map +1 -1
  47. package/dist/themes/themeTypes.d.ts +0 -4
  48. package/dist/themes/themeTypes.d.ts.map +1 -1
  49. package/dist/theming-B5Q8EK1c.cjs +115 -0
  50. package/dist/theming-B5Q8EK1c.cjs.map +1 -0
  51. package/dist/{theming-BKpqgTRM.js → theming-Bt0cspr6.js} +4360 -4385
  52. package/dist/theming-Bt0cspr6.js.map +1 -0
  53. package/dist/wb-icons.cjs.js +2 -0
  54. package/dist/wb-icons.cjs.js.map +1 -0
  55. package/dist/wb-icons.d.ts +3 -0
  56. package/dist/wb-icons.d.ts.map +1 -0
  57. package/dist/wb-icons.es.js +27 -0
  58. package/dist/wb-icons.es.js.map +1 -0
  59. package/dist/wbLogo-CObCmqTw.js +31 -0
  60. package/dist/wbLogo-CObCmqTw.js.map +1 -0
  61. package/dist/wbLogo-G_IfZ03l.cjs +2 -0
  62. package/dist/wbLogo-G_IfZ03l.cjs.map +1 -0
  63. package/package.json +19 -28
  64. package/src/components/3d-viewport/CoordinateSystemTransform.tsx +29 -18
  65. package/src/components/3d-viewport/SafetyZonesRenderer.tsx +24 -151
  66. package/src/components/3d-viewport/TrajectoryRenderer.tsx +9 -10
  67. package/src/components/3d-viewport/collider/ColliderCollection.tsx +1 -1
  68. package/src/components/3d-viewport/collider/ColliderElement.tsx +1 -1
  69. package/src/components/3d-viewport/collider/CollisionSceneRenderer.tsx +2 -2
  70. package/src/components/3d-viewport/collider/colliderShapeToBufferGeometry.ts +1 -1
  71. package/src/components/safetyBar/icons/index.ts +10 -0
  72. package/src/core.ts +0 -1
  73. package/src/icons/index.ts +9 -4
  74. package/src/index.ts +1 -1
  75. package/src/lib/ConnectedMotionGroup.ts +0 -5
  76. package/src/lib/MotionStreamConnection.ts +0 -5
  77. package/src/themes/createDarkTheme.ts +1 -22
  78. package/src/themes/themeTypes.ts +0 -5
  79. package/src/wb-icons.ts +3 -0
  80. package/dist/LoadingCover-B3UN1lnU.js +0 -81
  81. package/dist/LoadingCover-B3UN1lnU.js.map +0 -1
  82. package/dist/LoadingCover-DXcsXWDy.cjs +0 -2
  83. package/dist/LoadingCover-DXcsXWDy.cjs.map +0 -1
  84. package/dist/MotionGroupVisualizer-CPEIGXUC.js +0 -1407
  85. package/dist/MotionGroupVisualizer-CPEIGXUC.js.map +0 -1
  86. package/dist/MotionGroupVisualizer-DP4K1dVw.cjs +0 -2
  87. package/dist/WandelscriptEditor-6sAoniLC.cjs +0 -2
  88. package/dist/WandelscriptEditor-6sAoniLC.cjs.map +0 -1
  89. package/dist/WandelscriptEditor-kWC2VyG_.js +0 -140
  90. package/dist/WandelscriptEditor-kWC2VyG_.js.map +0 -1
  91. package/dist/auth0-spa-js.production.esm-DNao6_S5.js +0 -4064
  92. package/dist/auth0-spa-js.production.esm-DNao6_S5.js.map +0 -1
  93. package/dist/auth0-spa-js.production.esm-DaBMfOV8.cjs +0 -5
  94. package/dist/auth0-spa-js.production.esm-DaBMfOV8.cjs.map +0 -1
  95. package/dist/components/wandelscript-editor/WandelscriptEditor.d.ts +0 -16
  96. package/dist/components/wandelscript-editor/WandelscriptEditor.d.ts.map +0 -1
  97. package/dist/components/wandelscript-editor/wandelscript.tmLanguage.d.ts +0 -45
  98. package/dist/components/wandelscript-editor/wandelscript.tmLanguage.d.ts.map +0 -1
  99. package/dist/externalizeComponent-B98tgTPP.cjs +0 -24
  100. package/dist/externalizeComponent-B98tgTPP.cjs.map +0 -1
  101. package/dist/externalizeComponent-BOqKMZMc.js +0 -526
  102. package/dist/externalizeComponent-BOqKMZMc.js.map +0 -1
  103. package/dist/interpolation-B8AcxfdD.js.map +0 -1
  104. package/dist/interpolation-SWzo5zr4.cjs +0 -20
  105. package/dist/interpolation-SWzo5zr4.cjs.map +0 -1
  106. package/dist/theming-BKpqgTRM.js.map +0 -1
  107. package/dist/theming-CatQaIl_.cjs +0 -115
  108. package/dist/theming-CatQaIl_.cjs.map +0 -1
  109. package/dist/wandelscript.cjs.js +0 -2
  110. package/dist/wandelscript.cjs.js.map +0 -1
  111. package/dist/wandelscript.d.ts +0 -2
  112. package/dist/wandelscript.d.ts.map +0 -1
  113. package/dist/wandelscript.es.js +0 -5
  114. package/dist/wandelscript.es.js.map +0 -1
  115. package/src/components/wandelscript-editor/WandelscriptEditor.tsx +0 -142
  116. package/src/components/wandelscript-editor/wandelscript.tmLanguage.ts +0 -62
  117. package/src/icons/arrowForwardFilled.svg +0 -1
  118. package/src/icons/chevronDown.svg +0 -3
  119. package/src/icons/expandFilled.svg +0 -1
  120. package/src/icons/infoOutlined.svg +0 -1
  121. package/src/wandelscript.ts +0 -2
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./safety-state-stop-ClWLVLMl.cjs"),r=require("./wbLogo-G_IfZ03l.cjs");exports.AxisXIcon=o.ForwardRef$10;exports.AxisYIcon=o.ForwardRef$11;exports.AxisZIcon=o.ForwardRef$12;exports.ControllerTypePhysicalIcon=o.ForwardRef;exports.ControllerTypeVirtualIcon=o.ForwardRef$1;exports.JogMinusIcon=o.ForwardRef$13;exports.JogPlusIcon=o.ForwardRef$14;exports.OperationModeAutomaticIcon=o.ForwardRef$2;exports.OperationModeErrorIcon=o.ForwardRef$3;exports.OperationModeManualIcon=o.ForwardRef$4;exports.RobotIcon=o.ForwardRef$15;exports.RotationIcon=o.ForwardRef$16;exports.SafetyStateErrorIcon=o.ForwardRef$5;exports.SafetyStateEstopIcon=o.ForwardRef$6;exports.SafetyStateManualActionRequiredIcon=o.ForwardRef$7;exports.SafetyStateNormalIcon=o.ForwardRef$8;exports.SafetyStateStopIcon=o.ForwardRef$9;exports.HomeIcon=r.ForwardRef;exports.JoggingIcon=r.ForwardRef$1;exports.OrientationCoordSystemIcon=r.ForwardRef$2;exports.OrientationToolIcon=r.ForwardRef$3;exports.WBLogoIcon=r.ForwardRef$4;
2
+ //# sourceMappingURL=wb-icons.cjs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"wb-icons.cjs.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ export * from "./components/safetyBar/icons";
2
+ export * from "./icons";
3
+ //# sourceMappingURL=wb-icons.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"wb-icons.d.ts","sourceRoot":"","sources":["../src/wb-icons.ts"],"names":[],"mappings":"AACA,cAAc,8BAA8B,CAAA;AAC5C,cAAc,SAAS,CAAA"}
@@ -0,0 +1,27 @@
1
+ import { j as n, k as t, l as s, F as e, a as c, m as r, n as I, b as i, c as l, d as S, o as p, p as y, e as f, f as d, g, h as m, i as u } from "./safety-state-stop-DuMBCxN5.js";
2
+ import { F as x, a as A, b as O, c as b, d as C } from "./wbLogo-CObCmqTw.js";
3
+ export {
4
+ n as AxisXIcon,
5
+ t as AxisYIcon,
6
+ s as AxisZIcon,
7
+ e as ControllerTypePhysicalIcon,
8
+ c as ControllerTypeVirtualIcon,
9
+ x as HomeIcon,
10
+ r as JogMinusIcon,
11
+ I as JogPlusIcon,
12
+ A as JoggingIcon,
13
+ i as OperationModeAutomaticIcon,
14
+ l as OperationModeErrorIcon,
15
+ S as OperationModeManualIcon,
16
+ O as OrientationCoordSystemIcon,
17
+ b as OrientationToolIcon,
18
+ p as RobotIcon,
19
+ y as RotationIcon,
20
+ f as SafetyStateErrorIcon,
21
+ d as SafetyStateEstopIcon,
22
+ g as SafetyStateManualActionRequiredIcon,
23
+ m as SafetyStateNormalIcon,
24
+ u as SafetyStateStopIcon,
25
+ C as WBLogoIcon
26
+ };
27
+ //# sourceMappingURL=wb-icons.es.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"wb-icons.es.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}
@@ -0,0 +1,31 @@
1
+ import * as e from "react";
2
+ import { forwardRef as n } from "react";
3
+ const o = ({
4
+ title: l,
5
+ titleId: t,
6
+ ...r
7
+ }, a) => /* @__PURE__ */ e.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, fill: "none", ref: a, "aria-labelledby": t, ...r }, l ? /* @__PURE__ */ e.createElement("title", { id: t }, l) : null, /* @__PURE__ */ e.createElement("path", { fill: "currentColor", fillRule: "evenodd", d: "M5 22a3 3 0 0 1-3-3v-7.078A4 4 0 0 1 3.501 8.8L12 2l8.499 6.799A4 4 0 0 1 22 11.923V19a3 3 0 0 1-3 3zm15.5-10.077V19a1.5 1.5 0 0 1-1.5 1.5h-3V14a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v6.5H5A1.5 1.5 0 0 1 3.5 19v-7.078a2.5 2.5 0 0 1 .938-1.952L12 3.92l7.562 6.05a2.5 2.5 0 0 1 .938 1.952", clipRule: "evenodd" })), w = n(o), c = ({
8
+ title: l,
9
+ titleId: t,
10
+ ...r
11
+ }, a) => /* @__PURE__ */ e.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, ref: a, "aria-labelledby": t, ...r }, l ? /* @__PURE__ */ e.createElement("title", { id: t }, l) : null, /* @__PURE__ */ e.createElement("path", { fill: "currentColor", fillRule: "evenodd", d: "m12 1 3.405 3.405L14.18 5.63l-1.315-1.314v3.849h-1.732V4.316L9.889 5.56 8.664 4.335zm-.867 14.665h1.732v4.019l1.315-1.314 1.225 1.225L11.999 23l-3.405-3.405 1.225-1.225 1.314 1.314zm-6.817-4.531h3.848v1.732H4.316L5.63 14.18l-1.225 1.225L1 12l3.405-3.405L5.63 9.82zm15.368 1.732h-4.02v-1.732h4.02L18.37 9.82l1.225-1.225L23 12l-3.405 3.405-1.225-1.225z", clipRule: "evenodd" })), h = n(c), v = ({
12
+ title: l,
13
+ titleId: t,
14
+ ...r
15
+ }, a) => /* @__PURE__ */ e.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 21, height: 21, fill: "none", viewBox: "0 0 23 22", ref: a, "aria-labelledby": t, ...r }, l ? /* @__PURE__ */ e.createElement("title", { id: t }, l) : null, /* @__PURE__ */ e.createElement("path", { fill: "currentColor", d: "m21.71 16.262-1.09.346.66 2.071-2.923-1.461V9.857l-6.285-3.143V2.893L13.38 4.21l.812-.806-2.674-2.69-2.706 2.687.805.812L10.93 2.91v3.803L4.643 9.857v7.36l-2.914 1.458.657-2.067-1.09-.346-1.225 3.88 3.826 1.144.346-1.09-1.836-.583 2.874-1.436 6.22 3.109 6.217-3.11 2.877 1.439-1.831.581.345 1.09 3.82-1.143zM11.5 12.646l-4.94-2.47 4.94-2.47 4.94 2.47zm.572.993 5.143-2.572v6.083l-5.143 2.572zm-6.286-2.572 5.143 2.572v6.083L5.786 17.15z" })), d = n(v), i = ({
16
+ title: l,
17
+ titleId: t,
18
+ ...r
19
+ }, a) => /* @__PURE__ */ e.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 15, height: 17, fill: "none", ref: a, "aria-labelledby": t, ...r }, l ? /* @__PURE__ */ e.createElement("title", { id: t }, l) : null, /* @__PURE__ */ e.createElement("path", { fill: "currentColor", d: "M12.9 7.667c-.133-.534-.533-1-1-1.134L10.367 6l-.4 1.267L11.5 7.8c.067 0 .133.067.133.2l1.067 4.867a.32.32 0 0 1-.133.4l-2.267 1.8c-.267.2-.333.666-.133.933s.666.333.933.133l2.267-1.8c.533-.4.733-1.133.6-1.733zM12.5 0H1.833A1.65 1.65 0 0 0 .167 1.667v1.4c0 .866.733 1.6 1.666 1.6h10.734c.866 0 1.6-.734 1.6-1.667V1.667A1.65 1.65 0 0 0 12.5 0M1.633 12.8 2.7 8c0-.067.067-.133.133-.2l1.534-.533-.4-1.2-1.534.466c-.533.2-.933.6-1 1.134L.367 12.533c-.134.667.066 1.334.6 1.734l2.266 1.8c.267.266.734.2.934-.067s.2-.733-.134-.933l-2.266-1.8c-.134-.134-.2-.267-.134-.467" })), g = n(i), m = ({
20
+ title: l,
21
+ titleId: t,
22
+ ...r
23
+ }, a) => /* @__PURE__ */ e.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "currentColor", viewBox: "0 0 21 25", ref: a, "aria-labelledby": t, ...r }, l ? /* @__PURE__ */ e.createElement("title", { id: t }, l) : null, /* @__PURE__ */ e.createElement("path", { d: "M0 8.256v5.96l17.023-9.745L14.42 0zM9.703 11.676 0 17.21v5.974l9.703-5.536zM11.889 19.413l-9.663 5.58h13.278v-5.58z" })), f = n(m);
24
+ export {
25
+ w as F,
26
+ h as a,
27
+ d as b,
28
+ g as c,
29
+ f as d
30
+ };
31
+ //# sourceMappingURL=wbLogo-CObCmqTw.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"wbLogo-CObCmqTw.js","sources":["../src/icons/home.svg","../src/icons/jogging.svg","../src/icons/orientation-coord-system.svg","../src/icons/orientation-tool.svg","../src/icons/wbLogo.svg"],"sourcesContent":["import * as React from \"react\";\nimport { forwardRef } from \"react\";\nconst SvgHome = ({\n title,\n titleId,\n ...props\n}, ref) => /* @__PURE__ */ React.createElement(\"svg\", { xmlns: \"http://www.w3.org/2000/svg\", width: 24, height: 24, fill: \"none\", ref, \"aria-labelledby\": titleId, ...props }, title ? /* @__PURE__ */ React.createElement(\"title\", { id: titleId }, title) : null, /* @__PURE__ */ React.createElement(\"path\", { fill: \"currentColor\", fillRule: \"evenodd\", d: \"M5 22a3 3 0 0 1-3-3v-7.078A4 4 0 0 1 3.501 8.8L12 2l8.499 6.799A4 4 0 0 1 22 11.923V19a3 3 0 0 1-3 3zm15.5-10.077V19a1.5 1.5 0 0 1-1.5 1.5h-3V14a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v6.5H5A1.5 1.5 0 0 1 3.5 19v-7.078a2.5 2.5 0 0 1 .938-1.952L12 3.92l7.562 6.05a2.5 2.5 0 0 1 .938 1.952\", clipRule: \"evenodd\" }));\nconst ForwardRef = forwardRef(SvgHome);\nexport default ForwardRef;\n","import * as React from \"react\";\nimport { forwardRef } from \"react\";\nconst SvgJogging = ({\n title,\n titleId,\n ...props\n}, ref) => /* @__PURE__ */ React.createElement(\"svg\", { xmlns: \"http://www.w3.org/2000/svg\", width: 24, height: 24, ref, \"aria-labelledby\": titleId, ...props }, title ? /* @__PURE__ */ React.createElement(\"title\", { id: titleId }, title) : null, /* @__PURE__ */ React.createElement(\"path\", { fill: \"currentColor\", fillRule: \"evenodd\", d: \"m12 1 3.405 3.405L14.18 5.63l-1.315-1.314v3.849h-1.732V4.316L9.889 5.56 8.664 4.335zm-.867 14.665h1.732v4.019l1.315-1.314 1.225 1.225L11.999 23l-3.405-3.405 1.225-1.225 1.314 1.314zm-6.817-4.531h3.848v1.732H4.316L5.63 14.18l-1.225 1.225L1 12l3.405-3.405L5.63 9.82zm15.368 1.732h-4.02v-1.732h4.02L18.37 9.82l1.225-1.225L23 12l-3.405 3.405-1.225-1.225z\", clipRule: \"evenodd\" }));\nconst ForwardRef = forwardRef(SvgJogging);\nexport default ForwardRef;\n","import * as React from \"react\";\nimport { forwardRef } from \"react\";\nconst SvgOrientationCoordSystem = ({\n title,\n titleId,\n ...props\n}, ref) => /* @__PURE__ */ React.createElement(\"svg\", { xmlns: \"http://www.w3.org/2000/svg\", width: 21, height: 21, fill: \"none\", viewBox: \"0 0 23 22\", ref, \"aria-labelledby\": titleId, ...props }, title ? /* @__PURE__ */ React.createElement(\"title\", { id: titleId }, title) : null, /* @__PURE__ */ React.createElement(\"path\", { fill: \"currentColor\", d: \"m21.71 16.262-1.09.346.66 2.071-2.923-1.461V9.857l-6.285-3.143V2.893L13.38 4.21l.812-.806-2.674-2.69-2.706 2.687.805.812L10.93 2.91v3.803L4.643 9.857v7.36l-2.914 1.458.657-2.067-1.09-.346-1.225 3.88 3.826 1.144.346-1.09-1.836-.583 2.874-1.436 6.22 3.109 6.217-3.11 2.877 1.439-1.831.581.345 1.09 3.82-1.143zM11.5 12.646l-4.94-2.47 4.94-2.47 4.94 2.47zm.572.993 5.143-2.572v6.083l-5.143 2.572zm-6.286-2.572 5.143 2.572v6.083L5.786 17.15z\" }));\nconst ForwardRef = forwardRef(SvgOrientationCoordSystem);\nexport default ForwardRef;\n","import * as React from \"react\";\nimport { forwardRef } from \"react\";\nconst SvgOrientationTool = ({\n title,\n titleId,\n ...props\n}, ref) => /* @__PURE__ */ React.createElement(\"svg\", { xmlns: \"http://www.w3.org/2000/svg\", width: 15, height: 17, fill: \"none\", ref, \"aria-labelledby\": titleId, ...props }, title ? /* @__PURE__ */ React.createElement(\"title\", { id: titleId }, title) : null, /* @__PURE__ */ React.createElement(\"path\", { fill: \"currentColor\", d: \"M12.9 7.667c-.133-.534-.533-1-1-1.134L10.367 6l-.4 1.267L11.5 7.8c.067 0 .133.067.133.2l1.067 4.867a.32.32 0 0 1-.133.4l-2.267 1.8c-.267.2-.333.666-.133.933s.666.333.933.133l2.267-1.8c.533-.4.733-1.133.6-1.733zM12.5 0H1.833A1.65 1.65 0 0 0 .167 1.667v1.4c0 .866.733 1.6 1.666 1.6h10.734c.866 0 1.6-.734 1.6-1.667V1.667A1.65 1.65 0 0 0 12.5 0M1.633 12.8 2.7 8c0-.067.067-.133.133-.2l1.534-.533-.4-1.2-1.534.466c-.533.2-.933.6-1 1.134L.367 12.533c-.134.667.066 1.334.6 1.734l2.266 1.8c.267.266.734.2.934-.067s.2-.733-.134-.933l-2.266-1.8c-.134-.134-.2-.267-.134-.467\" }));\nconst ForwardRef = forwardRef(SvgOrientationTool);\nexport default ForwardRef;\n","import * as React from \"react\";\nimport { forwardRef } from \"react\";\nconst SvgWbLogo = ({\n title,\n titleId,\n ...props\n}, ref) => /* @__PURE__ */ React.createElement(\"svg\", { xmlns: \"http://www.w3.org/2000/svg\", fill: \"currentColor\", viewBox: \"0 0 21 25\", ref, \"aria-labelledby\": titleId, ...props }, title ? /* @__PURE__ */ React.createElement(\"title\", { id: titleId }, title) : null, /* @__PURE__ */ React.createElement(\"path\", { d: \"M0 8.256v5.96l17.023-9.745L14.42 0zM9.703 11.676 0 17.21v5.974l9.703-5.536zM11.889 19.413l-9.663 5.58h13.278v-5.58z\" }));\nconst ForwardRef = forwardRef(SvgWbLogo);\nexport default ForwardRef;\n"],"names":["SvgHome","title","titleId","props","ref","React","ForwardRef","forwardRef","SvgJogging","SvgOrientationCoordSystem","SvgOrientationTool","SvgWbLogo"],"mappings":";;AAEA,MAAMA,IAAU,CAAC;AAAA,EACf,OAAAC;AAAA,EACA,SAAAC;AAAA,EACA,GAAGC;AACL,GAAGC,MAAwB,gBAAAC,EAAM,cAAc,OAAO,EAAE,OAAO,8BAA8B,OAAO,IAAI,QAAQ,IAAI,MAAM,QAAQ,KAAAD,GAAK,mBAAmBF,GAAS,GAAGC,EAAK,GAAIF,IAAwB,gBAAAI,EAAM,cAAc,SAAS,EAAE,IAAIH,EAAO,GAAID,CAAK,IAAI,MAAsB,gBAAAI,EAAM,cAAc,QAAQ,EAAE,MAAM,gBAAgB,UAAU,WAAW,GAAG,0RAA0R,UAAU,UAAS,CAAE,CAAC,GAC1oBC,IAAaC,EAAWP,CAAO,GCL/BQ,IAAa,CAAC;AAAA,EAClB,OAAAP;AAAA,EACA,SAAAC;AAAA,EACA,GAAGC;AACL,GAAGC,MAAwB,gBAAAC,EAAM,cAAc,OAAO,EAAE,OAAO,8BAA8B,OAAO,IAAI,QAAQ,IAAI,KAAAD,GAAK,mBAAmBF,GAAS,GAAGC,EAAK,GAAIF,IAAwB,gBAAAI,EAAM,cAAc,SAAS,EAAE,IAAIH,KAAWD,CAAK,IAAI,MAAsB,gBAAAI,EAAM,cAAc,QAAQ,EAAE,MAAM,gBAAgB,UAAU,WAAW,GAAG,kWAAkW,UAAU,UAAS,CAAE,CAAC,GACpsBC,IAAaC,EAAWC,CAAU,GCLlCC,IAA4B,CAAC;AAAA,EACjC,OAAAR;AAAA,EACA,SAAAC;AAAA,EACA,GAAGC;AACL,GAAGC,MAAwB,gBAAAC,EAAM,cAAc,OAAO,EAAE,OAAO,8BAA8B,OAAO,IAAI,QAAQ,IAAI,MAAM,QAAQ,SAAS,aAAa,KAAAD,GAAK,mBAAmBF,GAAS,GAAGC,EAAK,GAAIF,IAAwB,gBAAAI,EAAM,cAAc,SAAS,EAAE,IAAIH,EAAO,GAAID,CAAK,IAAI,MAAsB,gBAAAI,EAAM,cAAc,QAAQ,EAAE,MAAM,gBAAgB,GAAG,ubAAsb,CAAE,CAAC,GACpxBC,IAAaC,EAAWE,CAAyB,GCLjDC,IAAqB,CAAC;AAAA,EAC1B,OAAAT;AAAA,EACA,SAAAC;AAAA,EACA,GAAGC;AACL,GAAGC,MAAwB,gBAAAC,EAAM,cAAc,OAAO,EAAE,OAAO,8BAA8B,OAAO,IAAI,QAAQ,IAAI,MAAM,QAAQ,KAAAD,GAAK,mBAAmBF,GAAS,GAAGC,EAAK,GAAIF,IAAwB,gBAAAI,EAAM,cAAc,SAAS,EAAE,IAAIH,EAAO,GAAID,CAAK,IAAI,MAAsB,gBAAAI,EAAM,cAAc,QAAQ,EAAE,MAAM,gBAAgB,GAAG,ujBAAsjB,CAAE,CAAC,GAC93BC,IAAaC,EAAWG,CAAkB,GCL1CC,IAAY,CAAC;AAAA,EACjB,OAAAV;AAAA,EACA,SAAAC;AAAA,EACA,GAAGC;AACL,GAAGC,MAAwB,gBAAAC,EAAM,cAAc,OAAO,EAAE,OAAO,8BAA8B,MAAM,gBAAgB,SAAS,aAAa,KAAAD,GAAK,mBAAmBF,GAAS,GAAGC,EAAK,GAAIF,IAAwB,gBAAAI,EAAM,cAAc,SAAS,EAAE,IAAIH,EAAO,GAAID,CAAK,IAAI,MAAsB,gBAAAI,EAAM,cAAc,QAAQ,EAAE,GAAG,sHAAqH,CAAE,CAAC,GAC9aC,IAAaC,EAAWI,CAAS;"}
@@ -0,0 +1,2 @@
1
+ "use strict";const o=require("react");function n(e){const l=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const a=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(l,r,a.get?a:{enumerable:!0,get:()=>e[r]})}}return l.default=e,Object.freeze(l)}const t=n(o),c=({title:e,titleId:l,...r},a)=>t.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none",ref:a,"aria-labelledby":l,...r},e?t.createElement("title",{id:l},e):null,t.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M5 22a3 3 0 0 1-3-3v-7.078A4 4 0 0 1 3.501 8.8L12 2l8.499 6.799A4 4 0 0 1 22 11.923V19a3 3 0 0 1-3 3zm15.5-10.077V19a1.5 1.5 0 0 1-1.5 1.5h-3V14a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v6.5H5A1.5 1.5 0 0 1 3.5 19v-7.078a2.5 2.5 0 0 1 .938-1.952L12 3.92l7.562 6.05a2.5 2.5 0 0 1 .938 1.952",clipRule:"evenodd"})),d=o.forwardRef(c),i=({title:e,titleId:l,...r},a)=>t.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,ref:a,"aria-labelledby":l,...r},e?t.createElement("title",{id:l},e):null,t.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"m12 1 3.405 3.405L14.18 5.63l-1.315-1.314v3.849h-1.732V4.316L9.889 5.56 8.664 4.335zm-.867 14.665h1.732v4.019l1.315-1.314 1.225 1.225L11.999 23l-3.405-3.405 1.225-1.225 1.314 1.314zm-6.817-4.531h3.848v1.732H4.316L5.63 14.18l-1.225 1.225L1 12l3.405-3.405L5.63 9.82zm15.368 1.732h-4.02v-1.732h4.02L18.37 9.82l1.225-1.225L23 12l-3.405 3.405-1.225-1.225z",clipRule:"evenodd"})),w=o.forwardRef(i),f=({title:e,titleId:l,...r},a)=>t.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:21,height:21,fill:"none",viewBox:"0 0 23 22",ref:a,"aria-labelledby":l,...r},e?t.createElement("title",{id:l},e):null,t.createElement("path",{fill:"currentColor",d:"m21.71 16.262-1.09.346.66 2.071-2.923-1.461V9.857l-6.285-3.143V2.893L13.38 4.21l.812-.806-2.674-2.69-2.706 2.687.805.812L10.93 2.91v3.803L4.643 9.857v7.36l-2.914 1.458.657-2.067-1.09-.346-1.225 3.88 3.826 1.144.346-1.09-1.836-.583 2.874-1.436 6.22 3.109 6.217-3.11 2.877 1.439-1.831.581.345 1.09 3.82-1.143zM11.5 12.646l-4.94-2.47 4.94-2.47 4.94 2.47zm.572.993 5.143-2.572v6.083l-5.143 2.572zm-6.286-2.572 5.143 2.572v6.083L5.786 17.15z"})),s=o.forwardRef(f),v=({title:e,titleId:l,...r},a)=>t.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:15,height:17,fill:"none",ref:a,"aria-labelledby":l,...r},e?t.createElement("title",{id:l},e):null,t.createElement("path",{fill:"currentColor",d:"M12.9 7.667c-.133-.534-.533-1-1-1.134L10.367 6l-.4 1.267L11.5 7.8c.067 0 .133.067.133.2l1.067 4.867a.32.32 0 0 1-.133.4l-2.267 1.8c-.267.2-.333.666-.133.933s.666.333.933.133l2.267-1.8c.533-.4.733-1.133.6-1.733zM12.5 0H1.833A1.65 1.65 0 0 0 .167 1.667v1.4c0 .866.733 1.6 1.666 1.6h10.734c.866 0 1.6-.734 1.6-1.667V1.667A1.65 1.65 0 0 0 12.5 0M1.633 12.8 2.7 8c0-.067.067-.133.133-.2l1.534-.533-.4-1.2-1.534.466c-.533.2-.933.6-1 1.134L.367 12.533c-.134.667.066 1.334.6 1.734l2.266 1.8c.267.266.734.2.934-.067s.2-.733-.134-.933l-2.266-1.8c-.134-.134-.2-.267-.134-.467"})),m=o.forwardRef(v),g=({title:e,titleId:l,...r},a)=>t.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 21 25",ref:a,"aria-labelledby":l,...r},e?t.createElement("title",{id:l},e):null,t.createElement("path",{d:"M0 8.256v5.96l17.023-9.745L14.42 0zM9.703 11.676 0 17.21v5.974l9.703-5.536zM11.889 19.413l-9.663 5.58h13.278v-5.58z"})),h=o.forwardRef(g);exports.ForwardRef=d;exports.ForwardRef$1=w;exports.ForwardRef$2=s;exports.ForwardRef$3=m;exports.ForwardRef$4=h;
2
+ //# sourceMappingURL=wbLogo-G_IfZ03l.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"wbLogo-G_IfZ03l.cjs","sources":["../src/icons/home.svg","../src/icons/jogging.svg","../src/icons/orientation-coord-system.svg","../src/icons/orientation-tool.svg","../src/icons/wbLogo.svg"],"sourcesContent":["import * as React from \"react\";\nimport { forwardRef } from \"react\";\nconst SvgHome = ({\n title,\n titleId,\n ...props\n}, ref) => /* @__PURE__ */ React.createElement(\"svg\", { xmlns: \"http://www.w3.org/2000/svg\", width: 24, height: 24, fill: \"none\", ref, \"aria-labelledby\": titleId, ...props }, title ? /* @__PURE__ */ React.createElement(\"title\", { id: titleId }, title) : null, /* @__PURE__ */ React.createElement(\"path\", { fill: \"currentColor\", fillRule: \"evenodd\", d: \"M5 22a3 3 0 0 1-3-3v-7.078A4 4 0 0 1 3.501 8.8L12 2l8.499 6.799A4 4 0 0 1 22 11.923V19a3 3 0 0 1-3 3zm15.5-10.077V19a1.5 1.5 0 0 1-1.5 1.5h-3V14a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v6.5H5A1.5 1.5 0 0 1 3.5 19v-7.078a2.5 2.5 0 0 1 .938-1.952L12 3.92l7.562 6.05a2.5 2.5 0 0 1 .938 1.952\", clipRule: \"evenodd\" }));\nconst ForwardRef = forwardRef(SvgHome);\nexport default ForwardRef;\n","import * as React from \"react\";\nimport { forwardRef } from \"react\";\nconst SvgJogging = ({\n title,\n titleId,\n ...props\n}, ref) => /* @__PURE__ */ React.createElement(\"svg\", { xmlns: \"http://www.w3.org/2000/svg\", width: 24, height: 24, ref, \"aria-labelledby\": titleId, ...props }, title ? /* @__PURE__ */ React.createElement(\"title\", { id: titleId }, title) : null, /* @__PURE__ */ React.createElement(\"path\", { fill: \"currentColor\", fillRule: \"evenodd\", d: \"m12 1 3.405 3.405L14.18 5.63l-1.315-1.314v3.849h-1.732V4.316L9.889 5.56 8.664 4.335zm-.867 14.665h1.732v4.019l1.315-1.314 1.225 1.225L11.999 23l-3.405-3.405 1.225-1.225 1.314 1.314zm-6.817-4.531h3.848v1.732H4.316L5.63 14.18l-1.225 1.225L1 12l3.405-3.405L5.63 9.82zm15.368 1.732h-4.02v-1.732h4.02L18.37 9.82l1.225-1.225L23 12l-3.405 3.405-1.225-1.225z\", clipRule: \"evenodd\" }));\nconst ForwardRef = forwardRef(SvgJogging);\nexport default ForwardRef;\n","import * as React from \"react\";\nimport { forwardRef } from \"react\";\nconst SvgOrientationCoordSystem = ({\n title,\n titleId,\n ...props\n}, ref) => /* @__PURE__ */ React.createElement(\"svg\", { xmlns: \"http://www.w3.org/2000/svg\", width: 21, height: 21, fill: \"none\", viewBox: \"0 0 23 22\", ref, \"aria-labelledby\": titleId, ...props }, title ? /* @__PURE__ */ React.createElement(\"title\", { id: titleId }, title) : null, /* @__PURE__ */ React.createElement(\"path\", { fill: \"currentColor\", d: \"m21.71 16.262-1.09.346.66 2.071-2.923-1.461V9.857l-6.285-3.143V2.893L13.38 4.21l.812-.806-2.674-2.69-2.706 2.687.805.812L10.93 2.91v3.803L4.643 9.857v7.36l-2.914 1.458.657-2.067-1.09-.346-1.225 3.88 3.826 1.144.346-1.09-1.836-.583 2.874-1.436 6.22 3.109 6.217-3.11 2.877 1.439-1.831.581.345 1.09 3.82-1.143zM11.5 12.646l-4.94-2.47 4.94-2.47 4.94 2.47zm.572.993 5.143-2.572v6.083l-5.143 2.572zm-6.286-2.572 5.143 2.572v6.083L5.786 17.15z\" }));\nconst ForwardRef = forwardRef(SvgOrientationCoordSystem);\nexport default ForwardRef;\n","import * as React from \"react\";\nimport { forwardRef } from \"react\";\nconst SvgOrientationTool = ({\n title,\n titleId,\n ...props\n}, ref) => /* @__PURE__ */ React.createElement(\"svg\", { xmlns: \"http://www.w3.org/2000/svg\", width: 15, height: 17, fill: \"none\", ref, \"aria-labelledby\": titleId, ...props }, title ? /* @__PURE__ */ React.createElement(\"title\", { id: titleId }, title) : null, /* @__PURE__ */ React.createElement(\"path\", { fill: \"currentColor\", d: \"M12.9 7.667c-.133-.534-.533-1-1-1.134L10.367 6l-.4 1.267L11.5 7.8c.067 0 .133.067.133.2l1.067 4.867a.32.32 0 0 1-.133.4l-2.267 1.8c-.267.2-.333.666-.133.933s.666.333.933.133l2.267-1.8c.533-.4.733-1.133.6-1.733zM12.5 0H1.833A1.65 1.65 0 0 0 .167 1.667v1.4c0 .866.733 1.6 1.666 1.6h10.734c.866 0 1.6-.734 1.6-1.667V1.667A1.65 1.65 0 0 0 12.5 0M1.633 12.8 2.7 8c0-.067.067-.133.133-.2l1.534-.533-.4-1.2-1.534.466c-.533.2-.933.6-1 1.134L.367 12.533c-.134.667.066 1.334.6 1.734l2.266 1.8c.267.266.734.2.934-.067s.2-.733-.134-.933l-2.266-1.8c-.134-.134-.2-.267-.134-.467\" }));\nconst ForwardRef = forwardRef(SvgOrientationTool);\nexport default ForwardRef;\n","import * as React from \"react\";\nimport { forwardRef } from \"react\";\nconst SvgWbLogo = ({\n title,\n titleId,\n ...props\n}, ref) => /* @__PURE__ */ React.createElement(\"svg\", { xmlns: \"http://www.w3.org/2000/svg\", fill: \"currentColor\", viewBox: \"0 0 21 25\", ref, \"aria-labelledby\": titleId, ...props }, title ? /* @__PURE__ */ React.createElement(\"title\", { id: titleId }, title) : null, /* @__PURE__ */ React.createElement(\"path\", { d: \"M0 8.256v5.96l17.023-9.745L14.42 0zM9.703 11.676 0 17.21v5.974l9.703-5.536zM11.889 19.413l-9.663 5.58h13.278v-5.58z\" }));\nconst ForwardRef = forwardRef(SvgWbLogo);\nexport default ForwardRef;\n"],"names":["SvgHome","title","titleId","props","ref","React","ForwardRef","forwardRef","SvgJogging","SvgOrientationCoordSystem","SvgOrientationTool","SvgWbLogo"],"mappings":"gUAEMA,EAAU,CAAC,CACf,MAAAC,EACA,QAAAC,EACA,GAAGC,CACL,EAAGC,IAAwBC,EAAM,cAAc,MAAO,CAAE,MAAO,6BAA8B,MAAO,GAAI,OAAQ,GAAI,KAAM,OAAQ,IAAAD,EAAK,kBAAmBF,EAAS,GAAGC,CAAK,EAAIF,EAAwBI,EAAM,cAAc,QAAS,CAAE,GAAIH,CAAO,EAAID,CAAK,EAAI,KAAsBI,EAAM,cAAc,OAAQ,CAAE,KAAM,eAAgB,SAAU,UAAW,EAAG,yRAA0R,SAAU,SAAS,CAAE,CAAC,EAC1oBC,EAAaC,EAAAA,WAAWP,CAAO,ECL/BQ,EAAa,CAAC,CAClB,MAAAP,EACA,QAAAC,EACA,GAAGC,CACL,EAAGC,IAAwBC,EAAM,cAAc,MAAO,CAAE,MAAO,6BAA8B,MAAO,GAAI,OAAQ,GAAI,IAAAD,EAAK,kBAAmBF,EAAS,GAAGC,CAAK,EAAIF,EAAwBI,EAAM,cAAc,QAAS,CAAE,GAAIH,GAAWD,CAAK,EAAI,KAAsBI,EAAM,cAAc,OAAQ,CAAE,KAAM,eAAgB,SAAU,UAAW,EAAG,iWAAkW,SAAU,SAAS,CAAE,CAAC,EACpsBC,EAAaC,EAAAA,WAAWC,CAAU,ECLlCC,EAA4B,CAAC,CACjC,MAAAR,EACA,QAAAC,EACA,GAAGC,CACL,EAAGC,IAAwBC,EAAM,cAAc,MAAO,CAAE,MAAO,6BAA8B,MAAO,GAAI,OAAQ,GAAI,KAAM,OAAQ,QAAS,YAAa,IAAAD,EAAK,kBAAmBF,EAAS,GAAGC,CAAK,EAAIF,EAAwBI,EAAM,cAAc,QAAS,CAAE,GAAIH,CAAO,EAAID,CAAK,EAAI,KAAsBI,EAAM,cAAc,OAAQ,CAAE,KAAM,eAAgB,EAAG,sbAAsb,CAAE,CAAC,EACpxBC,EAAaC,EAAAA,WAAWE,CAAyB,ECLjDC,EAAqB,CAAC,CAC1B,MAAAT,EACA,QAAAC,EACA,GAAGC,CACL,EAAGC,IAAwBC,EAAM,cAAc,MAAO,CAAE,MAAO,6BAA8B,MAAO,GAAI,OAAQ,GAAI,KAAM,OAAQ,IAAAD,EAAK,kBAAmBF,EAAS,GAAGC,CAAK,EAAIF,EAAwBI,EAAM,cAAc,QAAS,CAAE,GAAIH,CAAO,EAAID,CAAK,EAAI,KAAsBI,EAAM,cAAc,OAAQ,CAAE,KAAM,eAAgB,EAAG,sjBAAsjB,CAAE,CAAC,EAC93BC,EAAaC,EAAAA,WAAWG,CAAkB,ECL1CC,EAAY,CAAC,CACjB,MAAAV,EACA,QAAAC,EACA,GAAGC,CACL,EAAGC,IAAwBC,EAAM,cAAc,MAAO,CAAE,MAAO,6BAA8B,KAAM,eAAgB,QAAS,YAAa,IAAAD,EAAK,kBAAmBF,EAAS,GAAGC,CAAK,EAAIF,EAAwBI,EAAM,cAAc,QAAS,CAAE,GAAIH,CAAO,EAAID,CAAK,EAAI,KAAsBI,EAAM,cAAc,OAAQ,CAAE,EAAG,qHAAqH,CAAE,CAAC,EAC9aC,EAAaC,EAAAA,WAAWI,CAAS"}
package/package.json CHANGED
@@ -1,9 +1,10 @@
1
1
  {
2
2
  "name": "@wandelbots/wandelbots-js-react-components",
3
- "version": "4.7.2",
3
+ "version": "5.0.0-pr.feat-icons.568.cbf1817",
4
4
  "description": "React UI toolkit for building applications on top of the Wandelbots platform",
5
5
  "type": "module",
6
6
  "sideEffects": false,
7
+ "packageManager": "pnpm@10.33.0",
7
8
  "files": [
8
9
  "dist",
9
10
  "src",
@@ -27,18 +28,18 @@
27
28
  "import": "./dist/3d.es.js",
28
29
  "require": "./dist/3d.cjs.js"
29
30
  },
30
- "./wandelscript": {
31
- "types": "./dist/wandelscript.d.ts",
32
- "import": "./dist/wandelscript.es.js",
33
- "require": "./dist/wandelscript.cjs.js"
31
+ "./wb-icons": {
32
+ "types": "./dist/wb-icons.d.ts",
33
+ "import": "./dist/wb-icons.es.js",
34
+ "require": "./dist/wb-icons.cjs.js"
34
35
  }
35
36
  },
36
37
  "types": "./dist/index.d.ts",
37
38
  "scripts": {
38
39
  "dev": "storybook dev -p 6006 --no-open",
39
- "dev:pack": "nodemon -V -w src -e '*' -x \"npm run build && npm pack\"",
40
+ "dev:pack": "nodemon -V -w src -e '*' -x \"pnpm run build && pnpm pack\"",
40
41
  "dev:build": "nodemon -V -w src -e '*' -x \"vite build && tsc --declaration --emitDeclarationOnly\"",
41
- "dev:wbjs": "nodemon --watch $WBJS_PATH -e tgz --exec 'npm install file:$WBJS_PATH && storybook dev -p 6006 --no-open'",
42
+ "dev:wbjs": "nodemon --watch $WBJS_PATH -e tgz --exec 'pnpm install file:$WBJS_PATH && storybook dev -p 6006 --no-open'",
42
43
  "tsc": "tsc --pretty --noEmit -p stories/tsconfig.json",
43
44
  "test": "test-storybook --url http://127.0.0.1:6006 --index-json --browsers chromium",
44
45
  "test:unit": "vitest --workspace vitest.workspace.ts --project unit",
@@ -65,13 +66,11 @@
65
66
  "author": "Wandelbots",
66
67
  "license": "Apache-2.0",
67
68
  "engines": {
68
- "node": ">=18.14.0",
69
- "npm": ">=8.0.0"
69
+ "node": ">=18.14.0"
70
70
  },
71
71
  "devDependencies": {
72
72
  "@emotion/react": "^11.14.0",
73
73
  "@emotion/styled": "^11.14.0",
74
- "@monaco-editor/react": "^4.7.0",
75
74
  "@mui/icons-material": "^7.3.7",
76
75
  "@mui/material": "^7.3.7",
77
76
  "@react-three/drei": "^10.2.0",
@@ -81,14 +80,15 @@
81
80
  "@rollup/plugin-node-resolve": "^16.0.0",
82
81
  "@rollup/plugin-terser": "^0.4.4",
83
82
  "@rollup/plugin-typescript": "^12.1.2",
84
- "@shikijs/monaco": "^3.1.0",
85
83
  "@storybook/addon-docs": "^10.2.3",
84
+ "@storybook/react": "^10.3.5",
86
85
  "@storybook/react-vite": "^10.2.3",
87
86
  "@storybook/test-runner": "^0.24.1",
88
87
  "@svgr/rollup": "^8.1.0",
89
88
  "@testing-library/jest-dom": "^6.6.3",
90
89
  "@testing-library/react": "^16.3.2",
91
90
  "@testing-library/user-event": "^14.6.1",
91
+ "@types/lodash": "^4.17.24",
92
92
  "@types/lodash-es": "^4.17.12",
93
93
  "@types/react": "^19.1.8",
94
94
  "@types/three": "^0.182.0",
@@ -102,9 +102,9 @@
102
102
  "jest-simple-dot-reporter": "^1.0.5",
103
103
  "jest-summary-reporter": "^0.0.2",
104
104
  "jsdom": "^27.4.0",
105
- "monaco-editor": "^0.55.1",
106
105
  "nodemon": "^3.1.9",
107
106
  "npm-run-all": "^4.1.5",
107
+ "playwright": "^1.59.1",
108
108
  "postcss": "^8.5.3",
109
109
  "prettier-eslint": "^16.3.0",
110
110
  "prop-types": "^15.8.1",
@@ -117,7 +117,6 @@
117
117
  "rollup-plugin-peer-deps-external": "^2.2.4",
118
118
  "rollup-plugin-postcss": "^4.0.2",
119
119
  "semantic-release": "^25.0.2",
120
- "shiki": "^3.1.0",
121
120
  "storybook": "^10.2.3",
122
121
  "storybook-preset-inline-svg": "^2.0.0",
123
122
  "three": "^0.182.0",
@@ -134,15 +133,12 @@
134
133
  "peerDependencies": {
135
134
  "@emotion/react": "^11.11.1",
136
135
  "@emotion/styled": "^11.11.0",
137
- "@monaco-editor/react": "^4.7.0",
138
136
  "@mui/icons-material": "^6 || ^7",
139
137
  "@mui/material": "^6 || ^7",
140
138
  "@react-three/drei": "^9.122.0 || ^10",
141
139
  "@react-three/fiber": "^8 || ^9",
142
- "@shikijs/monaco": "^3.1.0",
143
140
  "react": "^18.0.0 || ^19.0.0",
144
141
  "react-dom": "^18.0.0 || ^19.0.0",
145
- "shiki": "^3.1.0",
146
142
  "three": ">=0.182",
147
143
  "three-stdlib": ">=2"
148
144
  },
@@ -150,15 +146,6 @@
150
146
  "react-dom": {
151
147
  "optional": true
152
148
  },
153
- "@monaco-editor/react": {
154
- "optional": true
155
- },
156
- "@shikijs/monaco": {
157
- "optional": true
158
- },
159
- "shiki": {
160
- "optional": true
161
- },
162
149
  "@react-three/drei": {
163
150
  "optional": true
164
151
  },
@@ -176,7 +163,7 @@
176
163
  "@mui/x-charts": "^8.27.0",
177
164
  "@mui/x-data-grid": "^8.27.0",
178
165
  "@wandelbots/nova-js": "^3.5.4",
179
- "axios": "^1.13.2",
166
+ "axios": "^1.15.0",
180
167
  "dotenv": "^17.2.3",
181
168
  "i18next-browser-languagedetector": "^8.2.0",
182
169
  "lodash-es": "^4.17.21",
@@ -186,7 +173,11 @@
186
173
  "react-i18next": "^16.5.2",
187
174
  "username": "^7.0.0"
188
175
  },
189
- "overrides": {
190
- "storybook": "$storybook"
176
+ "pnpm": {
177
+ "overrides": {
178
+ "storybook": "$storybook",
179
+ "handlebars": "^4.7.9",
180
+ "minimatch@<3.1.3": "^3.1.3"
181
+ }
191
182
  }
192
183
  }
@@ -1,4 +1,4 @@
1
- import type { CoordinateSystem } from "@wandelbots/nova-js/v1"
1
+ import type { CoordinateSystem } from "@wandelbots/nova-js/v2"
2
2
  import type { ReactNode } from "react"
3
3
  import { Quaternion, Vector3 } from "three"
4
4
 
@@ -14,28 +14,39 @@ export const CoordinateSystemTransform = ({
14
14
  children: ReactNode
15
15
  }) => {
16
16
  const position = new Vector3(
17
- (coordinateSystem?.position?.x ?? 0) / 1000,
18
- (coordinateSystem?.position?.y ?? 0) / 1000,
19
- (coordinateSystem?.position?.z ?? 0) / 1000,
17
+ (coordinateSystem?.position?.[0] ?? 0) / 1000,
18
+ (coordinateSystem?.position?.[1] ?? 0) / 1000,
19
+ (coordinateSystem?.position?.[2] ?? 0) / 1000,
20
20
  )
21
21
 
22
- let rotation = coordinateSystem?.rotation
23
- const rotationType = rotation?.type
24
- if (rotationType && rotationType !== "ROTATION_VECTOR") {
25
- console.warn(
26
- `Unsupported rotation type ${rotationType}. Only ROTATION_VECTOR is supported.`,
22
+ const orientationType = coordinateSystem?.orientation_type
23
+
24
+ let quaternion: Quaternion
25
+
26
+ if (orientationType === "QUATERNION") {
27
+ quaternion = new Quaternion(
28
+ coordinateSystem?.orientation?.[0] ?? 0,
29
+ coordinateSystem?.orientation?.[1] ?? 0,
30
+ coordinateSystem?.orientation?.[2] ?? 0,
31
+ coordinateSystem?.orientation?.[3] ?? 1,
27
32
  )
28
- rotation = { type: "ROTATION_VECTOR", angles: [0, 0, 0, 0] }
33
+ } else {
34
+ if (orientationType && orientationType !== "ROTATION_VECTOR") {
35
+ console.warn(
36
+ `Unsupported orientation type ${orientationType}. Only ROTATION_VECTOR and QUATERNION are supported.`,
37
+ )
38
+ }
39
+ // Default to ROTATION_VECTOR
40
+ const rotationVector = new Vector3(
41
+ coordinateSystem?.orientation?.[0] ?? 0,
42
+ coordinateSystem?.orientation?.[1] ?? 0,
43
+ coordinateSystem?.orientation?.[2] ?? 0,
44
+ )
45
+ const magnitude = rotationVector.length()
46
+ const axis = rotationVector.normalize()
47
+ quaternion = new Quaternion().setFromAxisAngle(axis, magnitude)
29
48
  }
30
49
 
31
- const rotationVector = new Vector3(
32
- rotation?.angles[0] ?? 0,
33
- rotation?.angles[1] ?? 0,
34
- rotation?.angles[2] ?? 0,
35
- )
36
- const magnitude = rotationVector.length()
37
- const axis = rotationVector.normalize()
38
- const quaternion = new Quaternion().setFromAxisAngle(axis, magnitude)
39
50
  return (
40
51
  <group position={position} quaternion={quaternion}>
41
52
  {children}
@@ -1,27 +1,22 @@
1
+ import { useMemo } from "react"
1
2
  import { type ThreeElements } from "@react-three/fiber"
2
- import { useEffect, useMemo } from "react"
3
3
  import * as THREE from "three"
4
4
  import { ConvexGeometry, RoundedBoxGeometry } from "three-stdlib"
5
5
 
6
- import type { Geometry, SafetySetupSafetyZone } from "@wandelbots/nova-js/v1"
7
6
  import type {
8
- Capsule,
9
7
  Collider,
10
8
  ConvexHull,
11
9
  DHParameter,
12
10
  MotionGroupDescription,
13
- RectangularCapsule,
14
11
  Sphere,
12
+ Capsule,
13
+ RectangularCapsule,
15
14
  } from "@wandelbots/nova-js/v2"
16
15
 
17
- import {
18
- dhParametersToPlaneSize,
19
- orientationToQuaternion,
20
- verticesToCoplanarity,
21
- } from "../utils/converters"
16
+ import { dhParametersToPlaneSize, orientationToQuaternion, verticesToCoplanarity } from "../utils/converters"
22
17
 
23
18
  export type SafetyZonesRendererProps = {
24
- safetyZones: SafetySetupSafetyZone[] | MotionGroupDescription["safety_zones"]
19
+ safetyZones: MotionGroupDescription["safety_zones"]
25
20
  dhParameters?: DHParameter[]
26
21
  } & ThreeElements["group"]
27
22
 
@@ -49,16 +44,6 @@ export function SafetyZonesRenderer({
49
44
  */
50
45
  const planeSize = dhParametersToPlaneSize(dhParameters ?? [])
51
46
 
52
- /**
53
- * Warning during runtime stating the deprecation of the V1 safety zones
54
- */
55
- useEffect(() => {
56
- Array.isArray(safetyZones) &&
57
- console.warn(
58
- "SafetyZonesRenderer: The support of V1 safety zones is deprecated. Please migrate to V2 safety zones.",
59
- )
60
- }, [safetyZones])
61
-
62
47
  /**
63
48
  * Helper function to render plane, sphere, and capsule meshes
64
49
  * @param id number
@@ -69,23 +54,14 @@ export function SafetyZonesRenderer({
69
54
  return null
70
55
  }
71
56
 
72
- const position = new THREE.Vector3(
73
- zone.pose.position[0] / 1000,
74
- zone.pose.position[1] / 1000,
75
- zone.pose.position[2] / 1000,
76
- )
77
- const orientation = new THREE.Vector3(
78
- zone.pose.orientation[0],
79
- zone.pose.orientation[1],
80
- zone.pose.orientation[2],
81
- )
57
+ const position = new THREE.Vector3(zone.pose.position[0] / 1000, zone.pose.position[1] / 1000, zone.pose.position[2] / 1000)
58
+ const orientation = new THREE.Vector3(zone.pose.orientation[0], zone.pose.orientation[1], zone.pose.orientation[2])
82
59
 
83
60
  let geometry: React.ReactElement | null
84
61
 
85
- const materialProps =
86
- zone.shape.shape_type === "plane"
87
- ? { ...safetyZoneMaterialProps, side: THREE.DoubleSide }
88
- : { ...safetyZoneMaterialProps, side: THREE.FrontSide }
62
+ const materialProps = zone.shape.shape_type === "plane"
63
+ ? { ...safetyZoneMaterialProps, side: THREE.DoubleSide }
64
+ : { ...safetyZoneMaterialProps, side: THREE.FrontSide }
89
65
 
90
66
  switch (zone.shape.shape_type) {
91
67
  /**
@@ -133,12 +109,7 @@ export function SafetyZonesRenderer({
133
109
  vertices.push(newVertex)
134
110
  }
135
111
  try {
136
- geometry = (
137
- <primitive
138
- object={new ConvexGeometry(vertices)}
139
- attach="geometry"
140
- />
141
- )
112
+ geometry = <primitive object={new ConvexGeometry(vertices)} attach="geometry" />
142
113
  } catch (error) {
143
114
  console.log("Error creating ConvexGeometry:", error)
144
115
  return null
@@ -170,10 +141,7 @@ export function SafetyZonesRenderer({
170
141
  }
171
142
 
172
143
  default: {
173
- console.warn(
174
- "Unsupported safety zone shape type:",
175
- zone.shape.shape_type,
176
- )
144
+ console.warn("Unsupported safety zone shape type:", zone.shape.shape_type)
177
145
  geometry = null
178
146
  }
179
147
  }
@@ -192,112 +160,17 @@ export function SafetyZonesRenderer({
192
160
  }
193
161
 
194
162
  /**
195
- * Helper function to render V2 safety zones
196
- */
197
- const renderV2SafetyZones = () => {
198
- return Object.values(safetyZones ?? {}).map(
199
- (zone: Collider, index: number) => {
200
- return renderMesh(index, zone)
201
- },
202
- )
203
- }
204
-
205
- /**
206
- * Helper function to V1 safety zones
207
- * @deprecated this render function is to be seen as a temporary measure, as the support
208
- * for the V1 safety zones is to be removed in the future
209
- */
210
- const renderV1SafetyZones = () => {
211
- if (Array.isArray(safetyZones)) {
212
- return (safetyZones as SafetySetupSafetyZone[]).map(
213
- (zone: SafetySetupSafetyZone, index) => {
214
- let geometries: Geometry[] = []
215
- if (zone.geometry) {
216
- if (zone.geometry.compound) {
217
- geometries = zone.geometry.compound.child_geometries
218
- } else if (zone.geometry.convex_hull) {
219
- geometries = [zone.geometry]
220
- }
221
- }
222
-
223
- return geometries.map((geometry, i) => {
224
- if (!geometry.convex_hull) return null
225
-
226
- const vertices = geometry.convex_hull.vertices.map(
227
- (v) => new THREE.Vector3(v.x / 1000, v.y / 1000, v.z / 1000),
228
- )
229
-
230
- // Check if the vertices are on the same plane and only define a plane
231
- // Algorithm has troubles with vertices that are on the same plane so we
232
- // add a new vertex slightly moved along the normal direction
233
- const coplanarityResult = verticesToCoplanarity(vertices)
234
-
235
- if (coplanarityResult.isCoplanar && coplanarityResult.normal) {
236
- // Add a new vertex slightly moved along the normal direction
237
- const offset = 0.0001
238
- const newVertex = new THREE.Vector3().addVectors(
239
- vertices[0],
240
- coplanarityResult.normal.multiplyScalar(offset),
241
- )
242
- vertices.push(newVertex)
243
- }
244
-
245
- let convexGeometry
246
- try {
247
- convexGeometry = new ConvexGeometry(vertices)
248
- } catch (error) {
249
- console.log("Error creating ConvexGeometry:", error)
250
- return null
251
- }
252
-
253
- return (
254
- <mesh
255
- key={`${index}-${i}`}
256
- position={
257
- new THREE.Vector3(
258
- geometry.init_pose.position!.x!,
259
- geometry.init_pose.position!.y!,
260
- geometry.init_pose.position!.z!,
261
- )
262
- }
263
- quaternion={
264
- new THREE.Quaternion(
265
- geometry.init_pose.orientation!.x!,
266
- geometry.init_pose.orientation!.y!,
267
- geometry.init_pose.orientation!.z!,
268
- geometry.init_pose.orientation!.w!,
269
- )
270
- }
271
- geometry={convexGeometry}
272
- >
273
- <meshStandardMaterial
274
- key={index}
275
- attach="material"
276
- color="#009f4d"
277
- opacity={0.2}
278
- depthTest={false}
279
- depthWrite={false}
280
- transparent
281
- polygonOffset
282
- polygonOffsetFactor={-i}
283
- />
284
- </mesh>
285
- )
286
- })
287
- },
288
- )
289
- }
290
- return null
291
- }
292
-
293
- /**
294
- * Helper variable to render both api versions of safety zones
163
+ * Helper variable render safety zones
295
164
  */
296
165
  const renderedSafetyZones = useMemo(() => {
297
- return Array.isArray(safetyZones)
298
- ? renderV1SafetyZones()
299
- : renderV2SafetyZones()
300
- }, [safetyZones, renderV1SafetyZones, renderV2SafetyZones])
301
-
302
- return <group {...props}>{renderedSafetyZones}</group>
303
- }
166
+ return Object.values(safetyZones ?? {}).map((zone: Collider, index: number) => {
167
+ return renderMesh(index, zone)
168
+ })
169
+ }, [safetyZones, planeSize])
170
+
171
+ return (
172
+ <group {...props}>
173
+ {renderedSafetyZones}
174
+ </group>
175
+ )
176
+ }
@@ -1,9 +1,9 @@
1
1
  import { Line } from "@react-three/drei"
2
- import type { GetTrajectoryResponse } from "@wandelbots/nova-js/v1"
2
+ import type { Pose } from "@wandelbots/nova-js/v2"
3
3
  import * as THREE from "three"
4
4
 
5
5
  export type TrajectoryRendererProps = {
6
- trajectory: GetTrajectoryResponse
6
+ trajectory: Pose[]
7
7
  } & React.JSX.IntrinsicElements["group"]
8
8
 
9
9
  export function TrajectoryRenderer({
@@ -11,14 +11,13 @@ export function TrajectoryRenderer({
11
11
  ...props
12
12
  }: TrajectoryRendererProps) {
13
13
  const points =
14
- trajectory.trajectory
15
- ?.map((point) => {
16
- if (point.tcp_pose) {
17
- return new THREE.Vector3(
18
- point.tcp_pose.position.x / 1000,
19
- point.tcp_pose.position.z / 1000,
20
- -point.tcp_pose.position.y / 1000,
21
- )
14
+ trajectory
15
+ ?.map((pose: Pose) => {
16
+ if (pose.position && pose.position.length >= 3) {
17
+ const [x, y, z] = pose.position
18
+ if (isFinite(x) && isFinite(y) && isFinite(z)) {
19
+ return new THREE.Vector3(x / 1000, z / 1000, -y / 1000)
20
+ }
22
21
  }
23
22
  return null
24
23
  })
@@ -1,5 +1,5 @@
1
1
  import type { ThreeElements } from "@react-three/fiber"
2
- import type { Collider } from "@wandelbots/nova-js/v1"
2
+ import type { Collider } from "@wandelbots/nova-js/v2"
3
3
  import ColliderElement from "./ColliderElement"
4
4
 
5
5
  export type MeshChildrenProvider = (
@@ -1,4 +1,4 @@
1
- import type { Collider } from "@wandelbots/nova-js/v1"
1
+ import type { Collider } from "@wandelbots/nova-js/v2"
2
2
  import type React from "react"
3
3
  import * as THREE from "three"
4
4
  import { colliderShapeToBufferGeometry } from "./colliderShapeToBufferGeometry"
@@ -1,10 +1,10 @@
1
- import type { CollisionScene } from "@wandelbots/nova-js/v1"
1
+ import type { CollisionSetup } from "@wandelbots/nova-js/v2"
2
2
  import ColliderCollection, {
3
3
  type MeshChildrenProvider,
4
4
  } from "./ColliderCollection"
5
5
 
6
6
  type CollisionSceneRendererProps = {
7
- scene: CollisionScene
7
+ scene: CollisionSetup
8
8
  meshChildrenProvider: MeshChildrenProvider
9
9
  }
10
10
 
@@ -1,4 +1,4 @@
1
- import type { ColliderShape } from "@wandelbots/nova-js/v1"
1
+ import type { ColliderShape } from "@wandelbots/nova-js/v2"
2
2
  import * as THREE from "three"
3
3
  import { ConvexGeometry } from "three-stdlib"
4
4
 
@@ -0,0 +1,10 @@
1
+ export { default as ControllerTypePhysicalIcon } from "./controller-type-physical.svg"
2
+ export { default as ControllerTypeVirtualIcon } from "./controller-type-virtual.svg"
3
+ export { default as OperationModeAutomaticIcon } from "./operation-mode-automatic.svg"
4
+ export { default as OperationModeErrorIcon } from "./operation-mode-error.svg"
5
+ export { default as OperationModeManualIcon } from "./operation-mode-manual.svg"
6
+ export { default as SafetyStateErrorIcon } from "./safety-state-error.svg"
7
+ export { default as SafetyStateEstopIcon } from "./safety-state-estop.svg"
8
+ export { default as SafetyStateManualActionRequiredIcon } from "./safety-state-manual-action-required.svg"
9
+ export { default as SafetyStateNormalIcon } from "./safety-state-normal.svg"
10
+ export { default as SafetyStateStopIcon } from "./safety-state-stop.svg"