@tscircuit/core 0.0.815 → 0.0.816

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 (2) hide show
  1. package/dist/index.js +3 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -14779,6 +14779,7 @@ var FabricationNoteRect = class extends PrimitiveComponent2 {
14779
14779
  }
14780
14780
  const pcb_component_id = this.parent?.pcb_component_id ?? this.getPrimitiveContainer()?.pcb_component_id;
14781
14781
  const subcircuit = this.getSubcircuit();
14782
+ const hasStroke = props.hasStroke ?? (props.strokeWidth !== void 0 && props.strokeWidth !== null);
14782
14783
  const fabrication_note_rect = db.pcb_fabrication_note_rect.insert({
14783
14784
  pcb_component_id,
14784
14785
  layer,
@@ -14791,7 +14792,7 @@ var FabricationNoteRect = class extends PrimitiveComponent2 {
14791
14792
  height: props.height,
14792
14793
  stroke_width: props.strokeWidth ?? 1,
14793
14794
  is_filled: props.isFilled ?? false,
14794
- has_stroke: props.hasStroke ?? false,
14795
+ has_stroke: hasStroke,
14795
14796
  is_stroke_dashed: props.isStrokeDashed ?? false,
14796
14797
  subcircuit_id: subcircuit?.subcircuit_id ?? void 0,
14797
14798
  pcb_group_id: this.getGroup()?.pcb_group_id ?? void 0
@@ -17253,7 +17254,7 @@ import { identity as identity6 } from "transformation-matrix";
17253
17254
  var package_default = {
17254
17255
  name: "@tscircuit/core",
17255
17256
  type: "module",
17256
- version: "0.0.814",
17257
+ version: "0.0.815",
17257
17258
  types: "dist/index.d.ts",
17258
17259
  main: "dist/index.js",
17259
17260
  module: "dist/index.js",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tscircuit/core",
3
3
  "type": "module",
4
- "version": "0.0.815",
4
+ "version": "0.0.816",
5
5
  "types": "dist/index.d.ts",
6
6
  "main": "dist/index.js",
7
7
  "module": "dist/index.js",