@tscircuit/props 0.0.416 → 0.0.417

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.
@@ -28,7 +28,7 @@ export interface BoardProps
28
28
  title?: string
29
29
  material?: "fr4" | "fr1"
30
30
  /** Number of layers for the PCB */
31
- layers?: 1 | 2 | 4
31
+ layers?: 1 | 2 | 4 | 6 | 8
32
32
  borderRadius?: Distance
33
33
  thickness?: Distance
34
34
  boardAnchorPosition?: Point
@@ -55,7 +55,15 @@ export const boardProps = subcircuitGroupProps
55
55
  .omit({ connections: true })
56
56
  .extend({
57
57
  material: z.enum(["fr4", "fr1"]).default("fr4"),
58
- layers: z.union([z.literal(1), z.literal(2), z.literal(4)]).default(2),
58
+ layers: z
59
+ .union([
60
+ z.literal(1),
61
+ z.literal(2),
62
+ z.literal(4),
63
+ z.literal(6),
64
+ z.literal(8),
65
+ ])
66
+ .default(2),
59
67
  borderRadius: distance.optional(),
60
68
  thickness: distance.optional(),
61
69
  boardAnchorPosition: point.optional(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tscircuit/props",
3
- "version": "0.0.416",
3
+ "version": "0.0.417",
4
4
  "description": "Props for tscircuit builtin component types",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",