@tscircuit/core 0.0.882 → 0.0.884
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 +5 -3
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -4832,6 +4832,7 @@ var CadModel = class extends PrimitiveComponent2 {
|
|
|
4832
4832
|
pcb_component_id: parent.pcb_component_id,
|
|
4833
4833
|
source_component_id: parent.source_component_id,
|
|
4834
4834
|
model_unit_to_mm_scale_factor: typeof props.modelUnitToMmScale === "number" ? props.modelUnitToMmScale : void 0,
|
|
4835
|
+
show_as_translucent_model: parent._parsedProps.showAsTranslucentModel,
|
|
4835
4836
|
...urlProps
|
|
4836
4837
|
});
|
|
4837
4838
|
this.cad_component_id = cad.cad_component_id;
|
|
@@ -8894,7 +8895,8 @@ var NormalComponent3 = class extends PrimitiveComponent2 {
|
|
|
8894
8895
|
model_wrl_url: "wrlUrl" in (cadModel ?? {}) ? this._addCachebustToModelUrl(cadModel.wrlUrl) : void 0,
|
|
8895
8896
|
model_jscad: "jscad" in (cadModel ?? {}) ? cadModel.jscad : void 0,
|
|
8896
8897
|
model_unit_to_mm_scale_factor: typeof cadModel?.modelUnitToMmScale === "number" ? cadModel.modelUnitToMmScale : void 0,
|
|
8897
|
-
footprinter_string: typeof footprint === "string" && !cadModel ? footprint : void 0
|
|
8898
|
+
footprinter_string: typeof footprint === "string" && !cadModel ? footprint : void 0,
|
|
8899
|
+
show_as_translucent_model: this._parsedProps.showAsTranslucentModel
|
|
8898
8900
|
});
|
|
8899
8901
|
this.cad_component_id = cad_model.cad_component_id;
|
|
8900
8902
|
}
|
|
@@ -18633,7 +18635,7 @@ import { identity as identity6 } from "transformation-matrix";
|
|
|
18633
18635
|
var package_default = {
|
|
18634
18636
|
name: "@tscircuit/core",
|
|
18635
18637
|
type: "module",
|
|
18636
|
-
version: "0.0.
|
|
18638
|
+
version: "0.0.883",
|
|
18637
18639
|
types: "dist/index.d.ts",
|
|
18638
18640
|
main: "dist/index.js",
|
|
18639
18641
|
module: "dist/index.js",
|
|
@@ -18738,7 +18740,7 @@ var package_default = {
|
|
|
18738
18740
|
dependencies: {
|
|
18739
18741
|
"@flatten-js/core": "^1.6.2",
|
|
18740
18742
|
"@lume/kiwi": "^0.4.3",
|
|
18741
|
-
"calculate-packing": "0.0.
|
|
18743
|
+
"calculate-packing": "0.0.62",
|
|
18742
18744
|
"css-select": "5.1.0",
|
|
18743
18745
|
"format-si-unit": "^0.0.3",
|
|
18744
18746
|
nanoid: "^5.0.7",
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tscircuit/core",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.884",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"module": "dist/index.js",
|
|
@@ -106,7 +106,7 @@
|
|
|
106
106
|
"dependencies": {
|
|
107
107
|
"@flatten-js/core": "^1.6.2",
|
|
108
108
|
"@lume/kiwi": "^0.4.3",
|
|
109
|
-
"calculate-packing": "0.0.
|
|
109
|
+
"calculate-packing": "0.0.62",
|
|
110
110
|
"css-select": "5.1.0",
|
|
111
111
|
"format-si-unit": "^0.0.3",
|
|
112
112
|
"nanoid": "^5.0.7",
|