@wandelbots/wandelbots-js-react-components 6.3.0 → 6.4.0-pr.ci-release-guard.668.ec1f74f

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 (91) hide show
  1. package/README.md +185 -124
  2. package/dist/3d.cjs +1 -1
  3. package/dist/3d.d.ts +0 -3
  4. package/dist/3d.js +16 -21
  5. package/dist/SafetyBar/index.cjs +1 -1
  6. package/dist/SafetyBar/index.js +1 -1
  7. package/dist/chunks/ConnectedMotionGroup-BewSDQvD.cjs +4 -0
  8. package/dist/chunks/ConnectedMotionGroup-D6-4wBkk.js +2654 -0
  9. package/dist/chunks/Robot-C0uICTOn.js +1271 -0
  10. package/dist/chunks/Robot-D6RUDXEz.cjs +1 -0
  11. package/dist/chunks/{SafetyBar-Cy9DiXp9.js → SafetyBar-C2-H1ifP.js} +1 -1
  12. package/dist/chunks/{SafetyBar-DPrv_OQA.cjs → SafetyBar-Cq_WsuK2.cjs} +1 -1
  13. package/dist/chunks/externalizeComponent-Bue3-Wra.cjs +2 -0
  14. package/dist/chunks/{externalizeComponent-EDymnaGR.js → externalizeComponent-C0cVcPE2.js} +29 -107
  15. package/dist/chunks/useSmoothedMotionState-COMJRcOt.js +214 -0
  16. package/dist/chunks/useSmoothedMotionState-Con0E5Bx.cjs +1 -0
  17. package/dist/components/AppHeader.d.ts +1 -1
  18. package/dist/components/jogging/JoggingCartesianAxisControl.d.ts +1 -1
  19. package/dist/components/jogging/JoggingJointTab.d.ts +1 -1
  20. package/dist/components/jogging/JoggingPanel.d.ts +6 -3
  21. package/dist/components/jogging/JoggingStore.d.ts +5 -1
  22. package/dist/components/jogging/joggingColors.d.ts +18 -0
  23. package/dist/components/robots/GenericRobot.d.ts +2 -1
  24. package/dist/components/robots/LinearAxis.d.ts +1 -1
  25. package/dist/components/robots/LinearAxisAnimator.d.ts +11 -2
  26. package/dist/components/robots/Robot.d.ts +1 -1
  27. package/dist/components/robots/robotModelLogic.d.ts +11 -9
  28. package/dist/components/utils/hooks.d.ts +1 -6
  29. package/dist/core.cjs +1 -1
  30. package/dist/core.d.ts +3 -18
  31. package/dist/core.js +27 -54
  32. package/dist/index.cjs +1 -1
  33. package/dist/index.js +39 -71
  34. package/dist/lib/ConnectedMotionGroup.d.ts +5 -7
  35. package/dist/lib/JoggerConnection.d.ts +29 -5
  36. package/dist/lib/MotionStreamConnection.d.ts +4 -6
  37. package/dist/lib/novaConnection.d.ts +23 -0
  38. package/package.json +32 -66
  39. package/dist/Setup.d.ts +0 -11
  40. package/dist/chunks/MotionGroupVisualizer-DshWR1wY.js +0 -1653
  41. package/dist/chunks/MotionGroupVisualizer-eD7yFEcF.cjs +0 -1
  42. package/dist/chunks/externalizeComponent-OO4jcrz5.cjs +0 -2
  43. package/dist/chunks/theming-DfSy4-Ic.cjs +0 -4
  44. package/dist/chunks/theming-mF9Rt8SS.js +0 -5542
  45. package/dist/chunks/useSmoothedMotionState-DyDgSVYX.js +0 -478
  46. package/dist/chunks/useSmoothedMotionState-VYxEIyfr.cjs +0 -1
  47. package/dist/components/3d-viewport/CoordinateSystemTransform.d.ts +0 -11
  48. package/dist/components/AdornedTextField.d.ts +0 -7
  49. package/dist/components/CopyableText.d.ts +0 -6
  50. package/dist/components/CycleTimer/CycleTimer.d.ts +0 -3
  51. package/dist/components/CycleTimer/DefaultVariant.d.ts +0 -9
  52. package/dist/components/CycleTimer/SmallVariant.d.ts +0 -10
  53. package/dist/components/CycleTimer/index.d.ts +0 -27
  54. package/dist/components/CycleTimer/types.d.ts +0 -49
  55. package/dist/components/CycleTimer/useAnimations.d.ts +0 -14
  56. package/dist/components/CycleTimer/useTimerLogic.d.ts +0 -24
  57. package/dist/components/CycleTimer/utils.d.ts +0 -21
  58. package/dist/components/CycleTimer.d.ts +0 -3
  59. package/dist/components/DataGrid.d.ts +0 -66
  60. package/dist/components/LogPanel.d.ts +0 -38
  61. package/dist/components/LogStore.d.ts +0 -12
  62. package/dist/components/LogViewer.d.ts +0 -46
  63. package/dist/components/ProgramControl.d.ts +0 -55
  64. package/dist/components/ProgramStateIndicator.d.ts +0 -26
  65. package/dist/components/RobotCard.d.ts +0 -98
  66. package/dist/components/RobotListItem.d.ts +0 -34
  67. package/dist/components/RobotSetupReadinessIndicator.d.ts +0 -37
  68. package/dist/components/SelectableFab.d.ts +0 -7
  69. package/dist/components/TabBar.d.ts +0 -45
  70. package/dist/components/ThemeSelect.d.ts +0 -6
  71. package/dist/components/Timer/Timer.d.ts +0 -3
  72. package/dist/components/Timer/TimerDefaultVariant.d.ts +0 -9
  73. package/dist/components/Timer/TimerSmallVariant.d.ts +0 -10
  74. package/dist/components/Timer/index.d.ts +0 -19
  75. package/dist/components/Timer/types.d.ts +0 -35
  76. package/dist/components/Timer/useTimerAnimations.d.ts +0 -10
  77. package/dist/components/Timer/useTimerLogic.d.ts +0 -19
  78. package/dist/components/Timer/utils.d.ts +0 -17
  79. package/dist/components/Timer.d.ts +0 -3
  80. package/dist/components/TransparentOverlay.d.ts +0 -4
  81. package/dist/components/jogging/JoggingFreedriveTab.d.ts +0 -1
  82. package/dist/components/jogging/PoseCartesianValues.d.ts +0 -9
  83. package/dist/components/jogging/PoseJointValues.d.ts +0 -8
  84. package/dist/components/robots/AxisConfig.d.ts +0 -2
  85. package/dist/components/robots/manufacturerHomePositions.d.ts +0 -20
  86. package/dist/icons/DropdownArrowIcon.d.ts +0 -2
  87. package/dist/icons/index.d.ts +0 -12
  88. package/dist/lib/novaCompat.d.ts +0 -16
  89. package/dist/themes/createDarkTheme.d.ts +0 -7
  90. package/dist/themes/themeTypes.d.ts +0 -40
  91. 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.0",
3
+ "version": "6.4.0-pr.ci-release-guard.668.ec1f74f",
4
4
  "description": "React UI toolkit for building applications on top of the Wandelbots platform",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -36,25 +36,23 @@
36
36
  },
37
37
  "types": "./dist/index.d.ts",
38
38
  "scripts": {
39
- "dev": "storybook dev -p 6006 --no-open",
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 && storybook dev -p 6006 --no-open'",
43
- "tsc": "tsc --pretty --noEmit -p stories/tsconfig.json",
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
- "ci:test": "run-s ci:test:build ci:test:built",
49
- "ci:test:build": "storybook build --quiet --test",
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",
55
+ "api:release-guard": "tsx scripts/check-breaking-api.ts --release",
58
56
  "lint": "biome check --error-on-warnings .",
59
57
  "format": "biome format . --write",
60
58
  "prepare": "husky || true",
@@ -81,70 +79,50 @@
81
79
  "@microsoft/api-extractor": "^7.58.7",
82
80
  "@mui/icons-material": "^7.3.7",
83
81
  "@mui/material": "^7.3.7",
82
+ "@playwright/test": "^1.59.1",
84
83
  "@react-three/drei": "^10.2.0",
85
84
  "@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
85
  "@testing-library/jest-dom": "^6.6.3",
97
86
  "@testing-library/react": "^16.3.2",
98
- "@testing-library/user-event": "^14.6.1",
99
87
  "@types/lodash": "^4.17.24",
100
88
  "@types/lodash-es": "^4.17.12",
101
89
  "@types/react": "^19.1.8",
90
+ "@types/react-dom": "~19.2.7",
102
91
  "@types/three": "^0.182.0",
103
92
  "@vitejs/plugin-react": "^4.3.4",
104
- "add": "^2.0.6",
105
- "glob": "^13.0.0",
106
- "http-server": "^14.1.1",
93
+ "@wandelbots/fonts": "^1.2.0",
94
+ "@wandelbots/mui": "^2.0.1",
95
+ "dotenv": "^17.2.3",
107
96
  "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
97
  "jsdom": "^27.4.0",
98
+ "mobx": "^6.13.6",
99
+ "mobx-react-lite": "^4.1.0",
112
100
  "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
101
  "react": "^19.1.0",
118
102
  "react-dom": "^19.1.0",
119
103
  "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
104
  "semantic-release": "^25.0.2",
126
- "storybook": "^10.2.3",
127
- "storybook-preset-inline-svg": "^2.0.0",
128
105
  "three": "^0.182.0",
129
106
  "three-stdlib": "^2.35.14",
130
- "ts-dedent": "^2.2.0",
131
107
  "tsx": "^4.21.0",
132
108
  "typescript": "^5.8.2",
133
- "unplugin": "^1.15.0",
109
+ "username": "^7.0.0",
134
110
  "vite": "^6.2.0",
135
111
  "vite-plugin-svgr": "^4.3.0",
136
- "vitest": "^3.0.7",
137
- "wait-on": "^9.0.3"
112
+ "vitest": "^3.0.7"
138
113
  },
139
114
  "peerDependencies": {
140
115
  "@emotion/react": "^11.11.1",
141
116
  "@emotion/styled": "^11.11.0",
142
- "@mui/icons-material": "^6 || ^7",
143
- "@mui/material": "^6 || ^7",
144
- "@react-three/drei": "^9.122.0 || ^10",
145
- "@react-three/fiber": "^8 || ^9",
146
- "react": "^18.0.0 || ^19.0.0",
147
- "react-dom": "^18.0.0 || ^19.0.0",
117
+ "@mui/icons-material": "^7",
118
+ "@mui/material": "^7",
119
+ "@react-three/drei": "^10",
120
+ "@react-three/fiber": "^9",
121
+ "@wandelbots/mui": "^2.0.0",
122
+ "mobx": "^6.13.6",
123
+ "mobx-react-lite": "^4.1.0",
124
+ "react": "^19.0.0",
125
+ "react-dom": "^19.0.0",
148
126
  "three": ">=0.182",
149
127
  "three-stdlib": ">=2"
150
128
  },
@@ -166,26 +144,14 @@
166
144
  }
167
145
  },
168
146
  "dependencies": {
169
- "@mui/x-charts": "^8.27.0",
170
- "@mui/x-data-grid": "^8.27.0",
171
- "@wandelbots/design-tokens": "^2.0.0",
172
- "@wandelbots/mui": "^1.0.1",
173
- "@wandelbots/nova-js": "3.10.0-pr.295.cb733a7",
147
+ "@wandelbots/design-tokens": "^3.5.0",
148
+ "@wandelbots/icons": "^2.2.0",
149
+ "@wandelbots/nova-js": "4.13.0",
174
150
  "axios": "^1.15.0",
175
- "dotenv": "^17.2.3",
151
+ "i18next": "^25.7.4",
176
152
  "i18next-browser-languagedetector": "^8.2.0",
177
153
  "lodash-es": "^4.17.21",
178
- "mobx": "^6.13.6",
179
- "mobx-react-lite": "^4.1.0",
180
154
  "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
- }
155
+ "react-i18next": "^16.5.2"
190
156
  }
191
157
  }
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 {};