@tscircuit/core 0.0.373 → 0.0.374

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.d.ts CHANGED
@@ -1408,7 +1408,9 @@ declare class Board extends Group<typeof boardProps> {
1408
1408
  }>, "many">>;
1409
1409
  outlineOffsetX: zod.ZodOptional<zod.ZodEffects<zod.ZodUnion<[zod.ZodString, zod.ZodNumber]>, number, string | number>>;
1410
1410
  outlineOffsetY: zod.ZodOptional<zod.ZodEffects<zod.ZodUnion<[zod.ZodString, zod.ZodNumber]>, number, string | number>>;
1411
+ material: zod.ZodDefault<zod.ZodEnum<["fr4", "fr1"]>>;
1411
1412
  }>, "strip", zod.ZodTypeAny, {
1413
+ material: "fr4" | "fr1";
1412
1414
  pcbX?: number | undefined;
1413
1415
  pcbY?: number | undefined;
1414
1416
  pcbRotation?: number | undefined;
@@ -1656,6 +1658,7 @@ declare class Board extends Group<typeof boardProps> {
1656
1658
  }[] | undefined;
1657
1659
  outlineOffsetX?: string | number | undefined;
1658
1660
  outlineOffsetY?: string | number | undefined;
1661
+ material?: "fr4" | "fr1" | undefined;
1659
1662
  }>;
1660
1663
  };
1661
1664
  get boardThickness(): number;
package/dist/index.js CHANGED
@@ -6388,7 +6388,8 @@ var Board = class extends Group {
6388
6388
  outline: props.outline?.map((point) => ({
6389
6389
  x: point.x + (props.outlineOffsetX ?? 0),
6390
6390
  y: point.y + (props.outlineOffsetY ?? 0)
6391
- }))
6391
+ })),
6392
+ material: props.material
6392
6393
  });
6393
6394
  this.pcb_board_id = pcb_board.pcb_board_id;
6394
6395
  }
@@ -7513,7 +7514,7 @@ import { identity as identity4 } from "transformation-matrix";
7513
7514
  var package_default = {
7514
7515
  name: "@tscircuit/core",
7515
7516
  type: "module",
7516
- version: "0.0.372",
7517
+ version: "0.0.373",
7517
7518
  types: "dist/index.d.ts",
7518
7519
  main: "dist/index.js",
7519
7520
  module: "dist/index.js",
@@ -7570,9 +7571,9 @@ var package_default = {
7570
7571
  "@tscircuit/circuit-json-util": "^0.0.47",
7571
7572
  "@tscircuit/infgrid-ijump-astar": "^0.0.33",
7572
7573
  "@tscircuit/math-utils": "^0.0.12",
7573
- "@tscircuit/props": "^0.0.171",
7574
+ "@tscircuit/props": "^0.0.172",
7574
7575
  "@tscircuit/schematic-autolayout": "^0.0.6",
7575
- "circuit-json": "^0.0.153",
7576
+ "circuit-json": "^0.0.154",
7576
7577
  "circuit-json-to-connectivity-map": "^0.0.20",
7577
7578
  "format-si-unit": "^0.0.3",
7578
7579
  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.373",
4
+ "version": "0.0.374",
5
5
  "types": "dist/index.d.ts",
6
6
  "main": "dist/index.js",
7
7
  "module": "dist/index.js",
@@ -58,9 +58,9 @@
58
58
  "@tscircuit/circuit-json-util": "^0.0.47",
59
59
  "@tscircuit/infgrid-ijump-astar": "^0.0.33",
60
60
  "@tscircuit/math-utils": "^0.0.12",
61
- "@tscircuit/props": "^0.0.171",
61
+ "@tscircuit/props": "^0.0.172",
62
62
  "@tscircuit/schematic-autolayout": "^0.0.6",
63
- "circuit-json": "^0.0.153",
63
+ "circuit-json": "^0.0.154",
64
64
  "circuit-json-to-connectivity-map": "^0.0.20",
65
65
  "format-si-unit": "^0.0.3",
66
66
  "nanoid": "^5.0.7",