@wandelbots/wandelbots-js-react-components 3.1.1 → 3.2.0-pr.feat-improve-exports.414.40b4b4e
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/README.md +79 -2
- package/dist/3d.cjs.js +2 -0
- package/dist/3d.cjs.js.map +1 -0
- package/dist/3d.d.ts +11 -0
- package/dist/3d.d.ts.map +1 -0
- package/dist/3d.es.js +16 -0
- package/dist/3d.es.js.map +1 -0
- package/dist/PoseJointValues-C3bsJdfd.js +5446 -0
- package/dist/PoseJointValues-C3bsJdfd.js.map +1 -0
- package/dist/PoseJointValues-wLOjcYDe.cjs +21 -0
- package/dist/PoseJointValues-wLOjcYDe.cjs.map +1 -0
- package/dist/ProgramStateIndicator-CTT-CAcJ.js +268 -0
- package/dist/ProgramStateIndicator-CTT-CAcJ.js.map +1 -0
- package/dist/ProgramStateIndicator-DYKBcj1s.cjs +2 -0
- package/dist/ProgramStateIndicator-DYKBcj1s.cjs.map +1 -0
- package/dist/VelocitySlider-2Zme2MN7.cjs +5 -0
- package/dist/VelocitySlider-2Zme2MN7.cjs.map +1 -0
- package/dist/VelocitySlider-QSg_8eb1.js +1906 -0
- package/dist/VelocitySlider-QSg_8eb1.js.map +1 -0
- package/dist/components/jogging/JoggingStore.d.ts +1 -1
- package/dist/core.cjs.js +2 -0
- package/dist/core.cjs.js.map +1 -0
- package/dist/core.d.ts +23 -0
- package/dist/core.d.ts.map +1 -0
- package/dist/core.es.js +46 -0
- package/dist/core.es.js.map +1 -0
- package/dist/createSvgIcon-BG4_bQuX.cjs +56 -0
- package/dist/createSvgIcon-BG4_bQuX.cjs.map +1 -0
- package/dist/createSvgIcon-D3GRPlVu.js +3072 -0
- package/dist/createSvgIcon-D3GRPlVu.js.map +1 -0
- package/dist/data.cjs.js +2 -0
- package/dist/data.cjs.js.map +1 -0
- package/dist/data.d.ts +4 -0
- package/dist/data.d.ts.map +1 -0
- package/dist/data.es.js +7 -0
- package/dist/data.es.js.map +1 -0
- package/dist/externalizeComponent-C12Qf79R.cjs +24 -0
- package/dist/externalizeComponent-C12Qf79R.cjs.map +1 -0
- package/dist/externalizeComponent-RpcZ_G17.js +491 -0
- package/dist/externalizeComponent-RpcZ_G17.js.map +1 -0
- package/dist/index-8UEqiXug.cjs +7 -0
- package/dist/index-8UEqiXug.cjs.map +1 -0
- package/dist/index-CQDi5W62.cjs +2 -0
- package/dist/index-CQDi5W62.cjs.map +1 -0
- package/dist/index-DSz82V23.js +1801 -0
- package/dist/index-DSz82V23.js.map +1 -0
- package/dist/index-DZubFUuo.js +4909 -0
- package/dist/index-DZubFUuo.js.map +1 -0
- package/dist/index-MyU3fVEK.cjs +50 -0
- package/dist/index-MyU3fVEK.cjs.map +1 -0
- package/dist/index-VURe0U2S.js +9443 -0
- package/dist/index-VURe0U2S.js.map +1 -0
- package/dist/index.cjs.js +2 -0
- package/dist/index.cjs.js.map +1 -0
- package/dist/index.es.js +72 -0
- package/dist/index.es.js.map +1 -0
- package/dist/interpolation-CVSmVNjc.cjs +2 -0
- package/dist/interpolation-CVSmVNjc.cjs.map +1 -0
- package/dist/interpolation-DjBX_Si-.js +138 -0
- package/dist/interpolation-DjBX_Si-.js.map +1 -0
- package/dist/jogging.cjs.js +2 -0
- package/dist/jogging.cjs.js.map +1 -0
- package/dist/jogging.d.ts +9 -0
- package/dist/jogging.d.ts.map +1 -0
- package/dist/jogging.es.js +12 -0
- package/dist/jogging.es.js.map +1 -0
- package/dist/manufacturerHomePositions-DHqcbFON.js +979 -0
- package/dist/manufacturerHomePositions-DHqcbFON.js.map +1 -0
- package/dist/manufacturerHomePositions-zd-CKEiQ.cjs +2 -0
- package/dist/manufacturerHomePositions-zd-CKEiQ.cjs.map +1 -0
- package/dist/theming-BO8z_Hpa.js +2198 -0
- package/dist/theming-BO8z_Hpa.js.map +1 -0
- package/dist/theming-D5DvGuxX.cjs +4 -0
- package/dist/theming-D5DvGuxX.cjs.map +1 -0
- package/dist/useThemeProps-P648Ox74.cjs +2 -0
- package/dist/useThemeProps-P648Ox74.cjs.map +1 -0
- package/dist/useThemeProps-jE_Qg6SI.js +40 -0
- package/dist/useThemeProps-jE_Qg6SI.js.map +1 -0
- package/package.json +24 -3
- package/src/3d.ts +15 -0
- package/src/core.ts +23 -0
- package/src/data.ts +4 -0
- package/src/jogging.ts +9 -0
- package/dist/index.cjs +0 -155
- package/dist/index.cjs.map +0 -1
- package/dist/index.js +0 -30530
- package/dist/index.js.map +0 -1
package/README.md
CHANGED
|
@@ -12,6 +12,44 @@ Built with TypeScript, Material-UI, and React Three Fiber. Provides robot contro
|
|
|
12
12
|
npm install @wandelbots/wandelbots-js-react-components
|
|
13
13
|
```
|
|
14
14
|
|
|
15
|
+
### Modular Imports (Optional)
|
|
16
|
+
|
|
17
|
+
For optimized bundle sizes, import only the components you need:
|
|
18
|
+
|
|
19
|
+
```typescript
|
|
20
|
+
// Full library (all components)
|
|
21
|
+
import { Robot, JoggingPanel } from "@wandelbots/wandelbots-js-react-components"
|
|
22
|
+
|
|
23
|
+
// Or import specific categories
|
|
24
|
+
import {
|
|
25
|
+
ProgramControl,
|
|
26
|
+
SafetyBar,
|
|
27
|
+
} from "@wandelbots/wandelbots-js-react-components/core"
|
|
28
|
+
import { Robot, RobotCard } from "@wandelbots/wandelbots-js-react-components/3d"
|
|
29
|
+
import { JoggingPanel } from "@wandelbots/wandelbots-js-react-components/jogging"
|
|
30
|
+
import {
|
|
31
|
+
DataGrid,
|
|
32
|
+
Timer,
|
|
33
|
+
} from "@wandelbots/wandelbots-js-react-components/data"
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
**Available Entry Points:**
|
|
37
|
+
|
|
38
|
+
| Entry Point | Components | Required Peer Dependencies |
|
|
39
|
+
| -------------- | -------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- |
|
|
40
|
+
| **Main** (`.`) | All components | React 18+, MUI v6/v7, @emotion/react, @emotion/styled, + all below |
|
|
41
|
+
| **`/core`** | Base components (AppHeader, ProgramControl, SafetyBar, VelocitySlider, WandelscriptEditor, themes, i18n, etc.) | React 18+, MUI v6/v7, @emotion/react, @emotion/styled |
|
|
42
|
+
| **`/3d`** | 3D visualization (Robot, RobotCard, CollisionSceneRenderer, SafetyZonesRenderer, TrajectoryRenderer) | All from `/core` + three, @react-three/fiber, @react-three/drei, three-stdlib |
|
|
43
|
+
| **`/jogging`** | Motion control UI (JoggingPanel, jogging controls, pose displays) | All from `/core` |
|
|
44
|
+
| **`/data`** | Data components (DataGrid, Timer, CycleTimer) | All from `/core` + @mui/x-data-grid, @mui/x-charts |
|
|
45
|
+
|
|
46
|
+
**Benefits:**
|
|
47
|
+
|
|
48
|
+
- Reduce bundle size by excluding unused categories
|
|
49
|
+
- Lazy load 3D components only when needed
|
|
50
|
+
- Avoid loading Monaco editor if you don't use WandelscriptEditor
|
|
51
|
+
- Exclude MUI X dependencies if you don't need DataGrid or charts
|
|
52
|
+
|
|
15
53
|
## Getting Started
|
|
16
54
|
|
|
17
55
|
For setup instructions, integration examples, and basic usage patterns, visit the **[Getting Started Guide](https://wandelbotsgmbh.github.io/wandelbots-js-react-components/?path=/docs/gettingstarted--docs)** in our Storybook documentation.
|
|
@@ -152,13 +190,52 @@ Components integrate with the Wandelbots Nova ecosystem:
|
|
|
152
190
|
|
|
153
191
|
### Prerequisites
|
|
154
192
|
|
|
193
|
+
**Required for all entry points:**
|
|
194
|
+
|
|
155
195
|
- React 18+ or 19+
|
|
156
196
|
- Material-UI v6 or v7
|
|
157
197
|
- @emotion/react and @emotion/styled
|
|
158
198
|
|
|
159
|
-
###
|
|
199
|
+
### Additional Peer Dependencies
|
|
200
|
+
|
|
201
|
+
**For `/3d` (3D visualization components):**
|
|
202
|
+
|
|
203
|
+
- three
|
|
204
|
+
- @react-three/fiber
|
|
205
|
+
- @react-three/drei
|
|
206
|
+
- three-stdlib
|
|
207
|
+
|
|
208
|
+
**For `/data` (data components):**
|
|
209
|
+
|
|
210
|
+
- @mui/x-data-grid (for DataGrid)
|
|
211
|
+
- @mui/x-charts (for Timer/CycleTimer)
|
|
212
|
+
|
|
213
|
+
### Installation Examples
|
|
160
214
|
|
|
161
|
-
|
|
215
|
+
**Full installation (all components):**
|
|
216
|
+
|
|
217
|
+
```bash
|
|
218
|
+
npm install @wandelbots/wandelbots-js-react-components \
|
|
219
|
+
react react-dom \
|
|
220
|
+
@mui/material @emotion/react @emotion/styled \
|
|
221
|
+
three @react-three/fiber @react-three/drei three-stdlib \
|
|
222
|
+
@mui/x-data-grid @mui/x-charts
|
|
223
|
+
```
|
|
224
|
+
|
|
225
|
+
**Minimal installation (core/jogging components only):**
|
|
226
|
+
|
|
227
|
+
```bash
|
|
228
|
+
npm install @wandelbots/wandelbots-js-react-components \
|
|
229
|
+
react react-dom \
|
|
230
|
+
@mui/material @emotion/react @emotion/styled
|
|
231
|
+
```
|
|
232
|
+
|
|
233
|
+
**With 3D components:**
|
|
234
|
+
|
|
235
|
+
```bash
|
|
236
|
+
# Add to minimal installation:
|
|
237
|
+
npm install three @react-three/fiber @react-three/drei three-stdlib
|
|
238
|
+
```
|
|
162
239
|
|
|
163
240
|
See the [Getting Started Guide](https://wandelbotsgmbh.github.io/wandelbots-js-react-components/?path=/docs/gettingstarted--docs) for complete setup instructions and integration examples.
|
|
164
241
|
|
package/dist/3d.cjs.js
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./manufacturerHomePositions-zd-CKEiQ.cjs");exports.CollisionSceneRenderer=e.CollisionSceneRenderer;exports.MANUFACTURER_HOME_CONFIGS=e.MANUFACTURER_HOME_CONFIGS;exports.PresetEnvironment=e.PresetEnvironment;exports.Robot=e.Robot;exports.RobotCard=e.RobotCard;exports.SafetyZonesRenderer=e.SafetyZonesRenderer;exports.SupportedRobot=e.SupportedRobot;exports.TrajectoryRenderer=e.TrajectoryRenderer;exports.defaultAxisConfig=e.defaultAxisConfig;exports.defaultGetModel=e.defaultGetModel;exports.extractManufacturer=e.extractManufacturer;exports.getDefaultHomeConfig=e.getDefaultHomeConfig;
|
|
2
|
+
//# sourceMappingURL=3d.cjs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"3d.cjs.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/dist/3d.d.ts
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export { default as CollisionSceneRenderer } from "./components/3d-viewport/collider/CollisionSceneRenderer";
|
|
2
|
+
export * from "./components/3d-viewport/PresetEnvironment";
|
|
3
|
+
export * from "./components/3d-viewport/SafetyZonesRenderer";
|
|
4
|
+
export * from "./components/3d-viewport/TrajectoryRenderer";
|
|
5
|
+
export * from "./components/RobotCard";
|
|
6
|
+
export * from "./components/robots/AxisConfig";
|
|
7
|
+
export { MANUFACTURER_HOME_CONFIGS, extractManufacturer, getDefaultHomeConfig, } from "./components/robots/manufacturerHomePositions";
|
|
8
|
+
export * from "./components/robots/Robot";
|
|
9
|
+
export { defaultGetModel } from "./components/robots/robotModelLogic";
|
|
10
|
+
export * from "./components/robots/SupportedRobot";
|
|
11
|
+
//# sourceMappingURL=3d.d.ts.map
|
package/dist/3d.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"3d.d.ts","sourceRoot":"","sources":["../src/3d.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,IAAI,sBAAsB,EAAE,MAAM,0DAA0D,CAAA;AAC5G,cAAc,4CAA4C,CAAA;AAC1D,cAAc,8CAA8C,CAAA;AAC5D,cAAc,6CAA6C,CAAA;AAC3D,cAAc,wBAAwB,CAAA;AACtC,cAAc,gCAAgC,CAAA;AAC9C,OAAO,EACL,yBAAyB,EACzB,mBAAmB,EACnB,oBAAoB,GACrB,MAAM,+CAA+C,CAAA;AACtD,cAAc,2BAA2B,CAAA;AACzC,OAAO,EAAE,eAAe,EAAE,MAAM,qCAAqC,CAAA;AACrE,cAAc,oCAAoC,CAAA"}
|
package/dist/3d.es.js
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { C as o, M as r, P as t, b as s, R as n, S as d, c as R, T as f, a as C, d as i, e as l, g as u } from "./manufacturerHomePositions-DHqcbFON.js";
|
|
2
|
+
export {
|
|
3
|
+
o as CollisionSceneRenderer,
|
|
4
|
+
r as MANUFACTURER_HOME_CONFIGS,
|
|
5
|
+
t as PresetEnvironment,
|
|
6
|
+
s as Robot,
|
|
7
|
+
n as RobotCard,
|
|
8
|
+
d as SafetyZonesRenderer,
|
|
9
|
+
R as SupportedRobot,
|
|
10
|
+
f as TrajectoryRenderer,
|
|
11
|
+
C as defaultAxisConfig,
|
|
12
|
+
i as defaultGetModel,
|
|
13
|
+
l as extractManufacturer,
|
|
14
|
+
u as getDefaultHomeConfig
|
|
15
|
+
};
|
|
16
|
+
//# sourceMappingURL=3d.es.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"3d.es.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|