@tscircuit/3d-viewer 0.0.218 → 0.0.220
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/dist/index.js +4 -4
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -16982,7 +16982,7 @@ import { Canvas, useFrame as useFrame2 } from "@react-three/fiber";
|
|
|
16982
16982
|
// package.json
|
|
16983
16983
|
var package_default = {
|
|
16984
16984
|
name: "@tscircuit/3d-viewer",
|
|
16985
|
-
version: "0.0.
|
|
16985
|
+
version: "0.0.219",
|
|
16986
16986
|
main: "./dist/index.js",
|
|
16987
16987
|
module: "./dist/index.js",
|
|
16988
16988
|
type: "module",
|
|
@@ -17014,7 +17014,7 @@ var package_default = {
|
|
|
17014
17014
|
"@react-three/drei": "^9.121.4",
|
|
17015
17015
|
"@react-three/fiber": "^8.17.14",
|
|
17016
17016
|
"@tscircuit/core": "^0.0.398",
|
|
17017
|
-
"@tscircuit/props": "^0.0.
|
|
17017
|
+
"@tscircuit/props": "^0.0.181",
|
|
17018
17018
|
"@tscircuit/soup-util": "^0.0.41",
|
|
17019
17019
|
"jscad-electronics": "^0.0.27",
|
|
17020
17020
|
"jscad-fiber": "^0.0.79",
|
|
@@ -17726,7 +17726,7 @@ peg$SyntaxError.buildMessage = function(expected, found) {
|
|
|
17726
17726
|
// src/geoms/create-geoms-for-silkscreen-text.ts
|
|
17727
17727
|
function createSilkscreenTextGeoms(silkscreenText) {
|
|
17728
17728
|
const textOutlines = (0, import_text.vectorText)({
|
|
17729
|
-
height: silkscreenText.font_size,
|
|
17729
|
+
height: silkscreenText.font_size * 0.57,
|
|
17730
17730
|
input: silkscreenText.text
|
|
17731
17731
|
});
|
|
17732
17732
|
let rotationDegrees = silkscreenText.ccw_rotation ?? 0;
|
|
@@ -18193,7 +18193,7 @@ var BoardGeomBuilder = class {
|
|
|
18193
18193
|
const fontSize = st.font_size || 0.25;
|
|
18194
18194
|
const expansionDelta = Math.min(
|
|
18195
18195
|
Math.max(0.01, fontSize * 0.1),
|
|
18196
|
-
fontSize * 0.
|
|
18196
|
+
fontSize * 0.05
|
|
18197
18197
|
);
|
|
18198
18198
|
const expandedPath = (0, import_expansions2.expand)(
|
|
18199
18199
|
{ delta: expansionDelta, corners: "round" },
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tscircuit/3d-viewer",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.220",
|
|
4
4
|
"main": "./dist/index.js",
|
|
5
5
|
"module": "./dist/index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"@react-three/drei": "^9.121.4",
|
|
33
33
|
"@react-three/fiber": "^8.17.14",
|
|
34
34
|
"@tscircuit/core": "^0.0.398",
|
|
35
|
-
"@tscircuit/props": "^0.0.
|
|
35
|
+
"@tscircuit/props": "^0.0.181",
|
|
36
36
|
"@tscircuit/soup-util": "^0.0.41",
|
|
37
37
|
"jscad-electronics": "^0.0.27",
|
|
38
38
|
"jscad-fiber": "^0.0.79",
|