@classcad/react-cad 3.0.0-beta.20261119100608 → 3.0.0-beta.20261120101705
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/CHANGELOG.md +3 -3
- package/build/index.cjs.js +1 -1
- package/build/index.js +1 -1
- package/package.json +3 -3
- package/tsconfig.build.json +2 -2
- package/vitest.config.mts +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @buerli.io/react-cad
|
|
2
2
|
|
|
3
|
-
## 3.0.0-beta.
|
|
3
|
+
## 3.0.0-beta.20261120101705
|
|
4
4
|
|
|
5
5
|
### Major Changes
|
|
6
6
|
|
|
@@ -24,8 +24,8 @@
|
|
|
24
24
|
- On WebGPU a curved body's silhouette follows the view. It stayed where it was first drawn, a black line across the body. Seams, where a curved face meets itself, are now drawn like every other edge, so the edge that can be picked is the edge that is seen.
|
|
25
25
|
- The sidebar's lists follow what is picked on the stage: a feature, an instance, a body, a constraint or a sketch element picked in the view is scrolled into view in its list, however long the list. An instance picked inside a folded sub-assembly is found at the sub-assembly's row. Only the list moves, never the page; rows picked together show the topmost of them.
|
|
26
26
|
- Updated dependencies
|
|
27
|
-
- @classcad/client@3.0.0-beta.
|
|
28
|
-
- @classcad/react@3.0.0-beta.
|
|
27
|
+
- @classcad/client@3.0.0-beta.20261120101705
|
|
28
|
+
- @classcad/react@3.0.0-beta.20261120101705
|
|
29
29
|
|
|
30
30
|
## 2.0.0
|
|
31
31
|
|
package/build/index.cjs.js
CHANGED
|
@@ -35055,7 +35055,7 @@ function useFeatureCount(drawingId) {
|
|
|
35055
35055
|
};
|
|
35056
35056
|
}
|
|
35057
35057
|
|
|
35058
|
-
// TODO: Move to buerli/packages/react or buerli/packages/
|
|
35058
|
+
// TODO: Move to buerli/packages/react or buerli/packages/sdkjs
|
|
35059
35059
|
function readFile(file, type) {
|
|
35060
35060
|
return new Promise((resolve, reject) => {
|
|
35061
35061
|
const reader = new FileReader();
|
package/build/index.js
CHANGED
|
@@ -35032,7 +35032,7 @@ function useFeatureCount(drawingId) {
|
|
|
35032
35032
|
};
|
|
35033
35033
|
}
|
|
35034
35034
|
|
|
35035
|
-
// TODO: Move to buerli/packages/react or buerli/packages/
|
|
35035
|
+
// TODO: Move to buerli/packages/react or buerli/packages/sdkjs
|
|
35036
35036
|
function readFile(file, type) {
|
|
35037
35037
|
return new Promise((resolve, reject) => {
|
|
35038
35038
|
const reader = new FileReader();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@classcad/react-cad",
|
|
3
|
-
"version": "3.0.0-beta.
|
|
3
|
+
"version": "3.0.0-beta.20261120101705",
|
|
4
4
|
"homepage": "https://sdkjs.classcad.ch",
|
|
5
5
|
"description": "The CAD user interface on the ClassCAD SDK: feature dialogs, model tree, sketcher",
|
|
6
6
|
"author": "AWV Informatik AG <info@awv-informatik.ch>",
|
|
@@ -84,8 +84,8 @@
|
|
|
84
84
|
},
|
|
85
85
|
"dependencies": {
|
|
86
86
|
"@babel/runtime": "^7.29.10",
|
|
87
|
-
"@classcad/client": "3.0.0-beta.
|
|
88
|
-
"@classcad/react": "3.0.0-beta.
|
|
87
|
+
"@classcad/client": "3.0.0-beta.20261120101705",
|
|
88
|
+
"@classcad/react": "3.0.0-beta.20261120101705",
|
|
89
89
|
"@dnd-kit/core": "^6.3.1",
|
|
90
90
|
"@dnd-kit/modifiers": "^9.0.0",
|
|
91
91
|
"@dnd-kit/sortable": "^10.0.0",
|
package/tsconfig.build.json
CHANGED
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
"outDir": "build",
|
|
9
9
|
"rootDir": "./src",
|
|
10
10
|
"paths": {
|
|
11
|
-
"@classcad/sdkjs": ["../
|
|
12
|
-
"@classcad/client": ["../
|
|
11
|
+
"@classcad/sdkjs": ["../sdkjs/build/types"],
|
|
12
|
+
"@classcad/client": ["../client/build/types"],
|
|
13
13
|
"@classcad/react": ["../react/build/types"]
|
|
14
14
|
}
|
|
15
15
|
}
|
package/vitest.config.mts
CHANGED
|
@@ -2,15 +2,15 @@ import react from '@vitejs/plugin-react'
|
|
|
2
2
|
import { fileURLToPath } from 'node:url'
|
|
3
3
|
import { defineConfig } from 'vitest/config'
|
|
4
4
|
|
|
5
|
-
//
|
|
5
|
+
// the SDK from its sources, the packages next to this one
|
|
6
6
|
const buerli = (pkg: string) => fileURLToPath(new URL(`../${pkg}/src`, import.meta.url))
|
|
7
7
|
|
|
8
8
|
export default defineConfig({
|
|
9
9
|
plugins: [react()],
|
|
10
10
|
resolve: {
|
|
11
11
|
alias: {
|
|
12
|
-
'@classcad/sdkjs': buerli('
|
|
13
|
-
'@classcad/client': buerli('
|
|
12
|
+
'@classcad/sdkjs': buerli('sdkjs'),
|
|
13
|
+
'@classcad/client': buerli('client'),
|
|
14
14
|
'@classcad/react': buerli('react'),
|
|
15
15
|
},
|
|
16
16
|
},
|