@tscircuit/props 0.0.515 → 0.0.516

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.
@@ -26,7 +26,7 @@ const boardColor = z.custom<BoardColor>((value) => typeof value === "string")
26
26
  export interface BoardProps
27
27
  extends Omit<SubcircuitGroupProps, "subcircuit" | "connections"> {
28
28
  title?: string
29
- material?: "fr4" | "fr1"
29
+ material?: "fr4" | "fr1" | "flex"
30
30
  /** Number of layers for the PCB */
31
31
  layers?: 1 | 2 | 4 | 6 | 8
32
32
  borderRadius?: Distance
@@ -55,7 +55,7 @@ export interface BoardProps
55
55
  export const boardProps = subcircuitGroupProps
56
56
  .omit({ connections: true })
57
57
  .extend({
58
- material: z.enum(["fr4", "fr1"]).default("fr4"),
58
+ material: z.enum(["fr4", "fr1", "flex"]).default("fr4"),
59
59
  layers: z
60
60
  .union([
61
61
  z.literal(1),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tscircuit/props",
3
- "version": "0.0.515",
3
+ "version": "0.0.516",
4
4
  "description": "Props for tscircuit builtin component types",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",