@wandelbots/wandelbots-js-react-components 6.3.0 → 6.4.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/README.md +185 -124
- package/dist/3d.cjs +1 -1
- package/dist/3d.d.ts +0 -3
- package/dist/3d.js +16 -21
- package/dist/SafetyBar/index.cjs +1 -1
- package/dist/SafetyBar/index.js +1 -1
- package/dist/chunks/ConnectedMotionGroup-BewSDQvD.cjs +4 -0
- package/dist/chunks/ConnectedMotionGroup-D6-4wBkk.js +2654 -0
- package/dist/chunks/Robot-C0uICTOn.js +1271 -0
- package/dist/chunks/Robot-D6RUDXEz.cjs +1 -0
- package/dist/chunks/{SafetyBar-Cy9DiXp9.js → SafetyBar-C2-H1ifP.js} +1 -1
- package/dist/chunks/{SafetyBar-DPrv_OQA.cjs → SafetyBar-Cq_WsuK2.cjs} +1 -1
- package/dist/chunks/externalizeComponent-Bue3-Wra.cjs +2 -0
- package/dist/chunks/{externalizeComponent-EDymnaGR.js → externalizeComponent-C0cVcPE2.js} +29 -107
- package/dist/chunks/useSmoothedMotionState-COMJRcOt.js +214 -0
- package/dist/chunks/useSmoothedMotionState-Con0E5Bx.cjs +1 -0
- package/dist/components/AppHeader.d.ts +1 -1
- package/dist/components/jogging/JoggingCartesianAxisControl.d.ts +1 -1
- package/dist/components/jogging/JoggingJointTab.d.ts +1 -1
- package/dist/components/jogging/JoggingPanel.d.ts +6 -3
- package/dist/components/jogging/JoggingStore.d.ts +5 -1
- package/dist/components/jogging/joggingColors.d.ts +18 -0
- package/dist/components/robots/GenericRobot.d.ts +2 -1
- package/dist/components/robots/LinearAxis.d.ts +1 -1
- package/dist/components/robots/LinearAxisAnimator.d.ts +11 -2
- package/dist/components/robots/Robot.d.ts +1 -1
- package/dist/components/robots/robotModelLogic.d.ts +11 -9
- package/dist/components/utils/hooks.d.ts +1 -6
- package/dist/core.cjs +1 -1
- package/dist/core.d.ts +3 -18
- package/dist/core.js +27 -54
- package/dist/index.cjs +1 -1
- package/dist/index.js +39 -71
- package/dist/lib/ConnectedMotionGroup.d.ts +5 -7
- package/dist/lib/JoggerConnection.d.ts +29 -5
- package/dist/lib/MotionStreamConnection.d.ts +4 -6
- package/dist/lib/novaConnection.d.ts +23 -0
- package/package.json +31 -66
- package/dist/Setup.d.ts +0 -11
- package/dist/chunks/MotionGroupVisualizer-DshWR1wY.js +0 -1653
- package/dist/chunks/MotionGroupVisualizer-eD7yFEcF.cjs +0 -1
- package/dist/chunks/externalizeComponent-OO4jcrz5.cjs +0 -2
- package/dist/chunks/theming-DfSy4-Ic.cjs +0 -4
- package/dist/chunks/theming-mF9Rt8SS.js +0 -5542
- package/dist/chunks/useSmoothedMotionState-DyDgSVYX.js +0 -478
- package/dist/chunks/useSmoothedMotionState-VYxEIyfr.cjs +0 -1
- package/dist/components/3d-viewport/CoordinateSystemTransform.d.ts +0 -11
- package/dist/components/AdornedTextField.d.ts +0 -7
- package/dist/components/CopyableText.d.ts +0 -6
- package/dist/components/CycleTimer/CycleTimer.d.ts +0 -3
- package/dist/components/CycleTimer/DefaultVariant.d.ts +0 -9
- package/dist/components/CycleTimer/SmallVariant.d.ts +0 -10
- package/dist/components/CycleTimer/index.d.ts +0 -27
- package/dist/components/CycleTimer/types.d.ts +0 -49
- package/dist/components/CycleTimer/useAnimations.d.ts +0 -14
- package/dist/components/CycleTimer/useTimerLogic.d.ts +0 -24
- package/dist/components/CycleTimer/utils.d.ts +0 -21
- package/dist/components/CycleTimer.d.ts +0 -3
- package/dist/components/DataGrid.d.ts +0 -66
- package/dist/components/LogPanel.d.ts +0 -38
- package/dist/components/LogStore.d.ts +0 -12
- package/dist/components/LogViewer.d.ts +0 -46
- package/dist/components/ProgramControl.d.ts +0 -55
- package/dist/components/ProgramStateIndicator.d.ts +0 -26
- package/dist/components/RobotCard.d.ts +0 -98
- package/dist/components/RobotListItem.d.ts +0 -34
- package/dist/components/RobotSetupReadinessIndicator.d.ts +0 -37
- package/dist/components/SelectableFab.d.ts +0 -7
- package/dist/components/TabBar.d.ts +0 -45
- package/dist/components/ThemeSelect.d.ts +0 -6
- package/dist/components/Timer/Timer.d.ts +0 -3
- package/dist/components/Timer/TimerDefaultVariant.d.ts +0 -9
- package/dist/components/Timer/TimerSmallVariant.d.ts +0 -10
- package/dist/components/Timer/index.d.ts +0 -19
- package/dist/components/Timer/types.d.ts +0 -35
- package/dist/components/Timer/useTimerAnimations.d.ts +0 -10
- package/dist/components/Timer/useTimerLogic.d.ts +0 -19
- package/dist/components/Timer/utils.d.ts +0 -17
- package/dist/components/Timer.d.ts +0 -3
- package/dist/components/TransparentOverlay.d.ts +0 -4
- package/dist/components/jogging/JoggingFreedriveTab.d.ts +0 -1
- package/dist/components/jogging/PoseCartesianValues.d.ts +0 -9
- package/dist/components/jogging/PoseJointValues.d.ts +0 -8
- package/dist/components/robots/AxisConfig.d.ts +0 -2
- package/dist/components/robots/manufacturerHomePositions.d.ts +0 -20
- package/dist/icons/DropdownArrowIcon.d.ts +0 -2
- package/dist/icons/index.d.ts +0 -12
- package/dist/lib/novaCompat.d.ts +0 -16
- package/dist/themes/createDarkTheme.d.ts +0 -7
- package/dist/themes/themeTypes.d.ts +0 -40
- package/dist/themes/theming.d.ts +0 -24
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wandelbots/wandelbots-js-react-components",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.4.0",
|
|
4
4
|
"description": "React UI toolkit for building applications on top of the Wandelbots platform",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -36,22 +36,19 @@
|
|
|
36
36
|
},
|
|
37
37
|
"types": "./dist/index.d.ts",
|
|
38
38
|
"scripts": {
|
|
39
|
-
"
|
|
39
|
+
"playground": "vite --config playground/vite.config.ts",
|
|
40
|
+
"playground:build": "vite build --config playground/vite.config.ts",
|
|
41
|
+
"playground:preview": "vite preview --config playground/vite.config.ts",
|
|
40
42
|
"dev:pack": "nodemon -V -w src -e '*' -x \"pnpm run build && pnpm pack\"",
|
|
41
43
|
"dev:build": "nodemon -V -w src -e '*' -x \"vite build && tsc --declaration --emitDeclarationOnly\"",
|
|
42
|
-
"dev:wbjs": "nodemon --watch $WBJS_PATH -e tgz --exec 'pnpm install file:$WBJS_PATH &&
|
|
43
|
-
"tsc": "tsc --pretty --noEmit -p
|
|
44
|
-
"test": "test-storybook --url http://127.0.0.1:6006 --index-json --browsers chromium",
|
|
44
|
+
"dev:wbjs": "nodemon --watch $WBJS_PATH -e tgz --exec 'pnpm install file:$WBJS_PATH && pnpm run playground'",
|
|
45
|
+
"tsc": "tsc --pretty --noEmit -p playground/tsconfig.json",
|
|
45
46
|
"test:unit": "vitest --workspace vitest.workspace.ts --project unit",
|
|
46
47
|
"test:unit:run": "vitest run --workspace vitest.workspace.ts --project unit",
|
|
47
48
|
"test:consumer": "pnpm run build && vitest run --workspace vitest.workspace.ts --project consumer",
|
|
48
|
-
"
|
|
49
|
-
"
|
|
50
|
-
"ci:test:built": "run-p --race ci:test:server ci:test:runner",
|
|
51
|
-
"ci:test:server": "http-server storybook-static --port 9009 --silent",
|
|
52
|
-
"ci:test:runner": "wait-on tcp:127.0.0.1:9009 && test-storybook --url http://127.0.0.1:9009 --index-json --browsers chromium",
|
|
49
|
+
"test:e2e": "vitest run --workspace vitest.workspace.ts --project e2e",
|
|
50
|
+
"test:playground": "pnpm run playground:build && playwright test",
|
|
53
51
|
"build": "rimraf dist && vite build && tsc --declaration --emitDeclarationOnly",
|
|
54
|
-
"build-storybook": "storybook build",
|
|
55
52
|
"api:update": "pnpm run build && tsx scripts/api-extractor.ts --local",
|
|
56
53
|
"api:check": "tsx scripts/api-extractor.ts",
|
|
57
54
|
"api:check-breaking": "tsx scripts/check-breaking-api.ts",
|
|
@@ -81,70 +78,50 @@
|
|
|
81
78
|
"@microsoft/api-extractor": "^7.58.7",
|
|
82
79
|
"@mui/icons-material": "^7.3.7",
|
|
83
80
|
"@mui/material": "^7.3.7",
|
|
81
|
+
"@playwright/test": "^1.59.1",
|
|
84
82
|
"@react-three/drei": "^10.2.0",
|
|
85
83
|
"@react-three/fiber": "^9.1.2",
|
|
86
|
-
"@rollup/plugin-commonjs": "^29.0.0",
|
|
87
|
-
"@rollup/plugin-json": "^6.1.0",
|
|
88
|
-
"@rollup/plugin-node-resolve": "^16.0.0",
|
|
89
|
-
"@rollup/plugin-terser": "^0.4.4",
|
|
90
|
-
"@rollup/plugin-typescript": "^12.1.2",
|
|
91
|
-
"@storybook/addon-docs": "^10.2.3",
|
|
92
|
-
"@storybook/react": "^10.3.5",
|
|
93
|
-
"@storybook/react-vite": "^10.2.3",
|
|
94
|
-
"@storybook/test-runner": "^0.24.1",
|
|
95
|
-
"@svgr/rollup": "^8.1.0",
|
|
96
84
|
"@testing-library/jest-dom": "^6.6.3",
|
|
97
85
|
"@testing-library/react": "^16.3.2",
|
|
98
|
-
"@testing-library/user-event": "^14.6.1",
|
|
99
86
|
"@types/lodash": "^4.17.24",
|
|
100
87
|
"@types/lodash-es": "^4.17.12",
|
|
101
88
|
"@types/react": "^19.1.8",
|
|
89
|
+
"@types/react-dom": "~19.2.7",
|
|
102
90
|
"@types/three": "^0.182.0",
|
|
103
91
|
"@vitejs/plugin-react": "^4.3.4",
|
|
104
|
-
"
|
|
105
|
-
"
|
|
106
|
-
"
|
|
92
|
+
"@wandelbots/fonts": "^1.2.0",
|
|
93
|
+
"@wandelbots/mui": "^2.0.1",
|
|
94
|
+
"dotenv": "^17.2.3",
|
|
107
95
|
"husky": "^9.1.7",
|
|
108
|
-
"i18next": "^25.7.4",
|
|
109
|
-
"jest-simple-dot-reporter": "^1.0.5",
|
|
110
|
-
"jest-summary-reporter": "^0.0.2",
|
|
111
96
|
"jsdom": "^27.4.0",
|
|
97
|
+
"mobx": "^6.13.6",
|
|
98
|
+
"mobx-react-lite": "^4.1.0",
|
|
112
99
|
"nodemon": "^3.1.9",
|
|
113
|
-
"npm-run-all": "^4.1.5",
|
|
114
|
-
"playwright": "^1.59.1",
|
|
115
|
-
"postcss": "^8.5.3",
|
|
116
|
-
"prop-types": "^15.8.1",
|
|
117
100
|
"react": "^19.1.0",
|
|
118
101
|
"react-dom": "^19.1.0",
|
|
119
102
|
"rimraf": "^6.0.1",
|
|
120
|
-
"rollup": "^4.55.1",
|
|
121
|
-
"rollup-plugin-dts": "^6.1.1",
|
|
122
|
-
"rollup-plugin-gltf": "^4.0.0",
|
|
123
|
-
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
124
|
-
"rollup-plugin-postcss": "^4.0.2",
|
|
125
103
|
"semantic-release": "^25.0.2",
|
|
126
|
-
"storybook": "^10.2.3",
|
|
127
|
-
"storybook-preset-inline-svg": "^2.0.0",
|
|
128
104
|
"three": "^0.182.0",
|
|
129
105
|
"three-stdlib": "^2.35.14",
|
|
130
|
-
"ts-dedent": "^2.2.0",
|
|
131
106
|
"tsx": "^4.21.0",
|
|
132
107
|
"typescript": "^5.8.2",
|
|
133
|
-
"
|
|
108
|
+
"username": "^7.0.0",
|
|
134
109
|
"vite": "^6.2.0",
|
|
135
110
|
"vite-plugin-svgr": "^4.3.0",
|
|
136
|
-
"vitest": "^3.0.7"
|
|
137
|
-
"wait-on": "^9.0.3"
|
|
111
|
+
"vitest": "^3.0.7"
|
|
138
112
|
},
|
|
139
113
|
"peerDependencies": {
|
|
140
114
|
"@emotion/react": "^11.11.1",
|
|
141
115
|
"@emotion/styled": "^11.11.0",
|
|
142
|
-
"@mui/icons-material": "^
|
|
143
|
-
"@mui/material": "^
|
|
144
|
-
"@react-three/drei": "^
|
|
145
|
-
"@react-three/fiber": "^
|
|
146
|
-
"
|
|
147
|
-
"
|
|
116
|
+
"@mui/icons-material": "^7",
|
|
117
|
+
"@mui/material": "^7",
|
|
118
|
+
"@react-three/drei": "^10",
|
|
119
|
+
"@react-three/fiber": "^9",
|
|
120
|
+
"@wandelbots/mui": "^2.0.0",
|
|
121
|
+
"mobx": "^6.13.6",
|
|
122
|
+
"mobx-react-lite": "^4.1.0",
|
|
123
|
+
"react": "^19.0.0",
|
|
124
|
+
"react-dom": "^19.0.0",
|
|
148
125
|
"three": ">=0.182",
|
|
149
126
|
"three-stdlib": ">=2"
|
|
150
127
|
},
|
|
@@ -166,26 +143,14 @@
|
|
|
166
143
|
}
|
|
167
144
|
},
|
|
168
145
|
"dependencies": {
|
|
169
|
-
"@
|
|
170
|
-
"@
|
|
171
|
-
"@wandelbots/
|
|
172
|
-
"@wandelbots/mui": "^1.0.1",
|
|
173
|
-
"@wandelbots/nova-js": "3.10.0-pr.295.cb733a7",
|
|
146
|
+
"@wandelbots/design-tokens": "^3.5.0",
|
|
147
|
+
"@wandelbots/icons": "^2.2.0",
|
|
148
|
+
"@wandelbots/nova-js": "4.13.0",
|
|
174
149
|
"axios": "^1.15.0",
|
|
175
|
-
"
|
|
150
|
+
"i18next": "^25.7.4",
|
|
176
151
|
"i18next-browser-languagedetector": "^8.2.0",
|
|
177
152
|
"lodash-es": "^4.17.21",
|
|
178
|
-
"mobx": "^6.13.6",
|
|
179
|
-
"mobx-react-lite": "^4.1.0",
|
|
180
153
|
"react-error-boundary": "^6.0.3",
|
|
181
|
-
"react-i18next": "^16.5.2"
|
|
182
|
-
"username": "^7.0.0"
|
|
183
|
-
},
|
|
184
|
-
"pnpm": {
|
|
185
|
-
"overrides": {
|
|
186
|
-
"storybook": "$storybook",
|
|
187
|
-
"handlebars": "^4.7.9",
|
|
188
|
-
"minimatch@<3.1.3": "^3.1.3"
|
|
189
|
-
}
|
|
154
|
+
"react-i18next": "^16.5.2"
|
|
190
155
|
}
|
|
191
156
|
}
|
package/dist/Setup.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { type CanvasProps } from "@react-three/fiber";
|
|
2
|
-
import type * as React from "react";
|
|
3
|
-
import { Vector3 } from "three";
|
|
4
|
-
type Props = React.PropsWithChildren<CanvasProps & {
|
|
5
|
-
cameraFov?: number;
|
|
6
|
-
cameraPosition?: Vector3;
|
|
7
|
-
controls?: boolean;
|
|
8
|
-
lights?: boolean;
|
|
9
|
-
}>;
|
|
10
|
-
export declare const Setup: ({ children, cameraFov, cameraPosition, controls, lights, ...restProps }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
-
export {};
|