@tscircuit/props 0.0.516 → 0.0.517

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.
@@ -192,6 +192,7 @@ export interface BaseGroupProps extends CommonLayoutProps, LayoutConfig {
192
192
 
193
193
  /**
194
194
  * Spacing between pins when rendered as a schematic box
195
+ * @deprecated Use schPinStyle instead.
195
196
  */
196
197
  schPinSpacing?: Distance
197
198
 
@@ -28,6 +28,7 @@ export interface JumperProps extends CommonComponentProps {
28
28
  SchematicPinLabel | SchematicPinLabel[]
29
29
  >
30
30
  schPinStyle?: SchematicPinStyle
31
+ /** @deprecated Use schPinStyle instead. */
31
32
  schPinSpacing?: number | string
32
33
  schWidth?: number | string
33
34
  schHeight?: number | string
@@ -1,4 +1,4 @@
1
- import { distance } from "circuit-json"
1
+ import { distance, layer_ref } from "circuit-json"
2
2
  import { pcbLayoutProps } from "lib/common/layout"
3
3
  import { z } from "zod"
4
4
 
@@ -6,11 +6,13 @@ export const pcbKeepoutProps = z.union([
6
6
  pcbLayoutProps.omit({ pcbRotation: true }).extend({
7
7
  shape: z.literal("circle"),
8
8
  radius: distance,
9
+ layers: z.array(layer_ref).optional(),
9
10
  }),
10
11
  pcbLayoutProps.extend({
11
12
  shape: z.literal("rect"),
12
13
  width: distance,
13
14
  height: distance,
15
+ layers: z.array(layer_ref).optional(),
14
16
  }),
15
17
  ])
16
18
  export type PcbKeepoutProps = z.input<typeof pcbKeepoutProps>
@@ -107,6 +107,7 @@ export interface PinHeaderProps extends CommonComponentProps {
107
107
 
108
108
  /**
109
109
  * Schematic pin spacing
110
+ * @deprecated Use schPinStyle instead.
110
111
  */
111
112
  schPinSpacing?: number | string
112
113
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tscircuit/props",
3
- "version": "0.0.516",
3
+ "version": "0.0.517",
4
4
  "description": "Props for tscircuit builtin component types",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",