@tscircuit/props 0.0.473 → 0.0.475

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.js CHANGED
@@ -399,6 +399,9 @@ var commonComponentProps = commonLayoutProps.merge(supplierProps).extend({
399
399
  children: z15.any().optional(),
400
400
  symbolName: z15.string().optional(),
401
401
  doNotPlace: z15.boolean().optional(),
402
+ allowOffBoard: z15.boolean().optional().describe(
403
+ "Allows the PCB component to hang off the board (e.g. for USB ports or displays)"
404
+ ),
402
405
  obstructsWithinBounds: z15.boolean().optional().describe(
403
406
  "Does this component take up all the space within its bounds on a layer. This is generally true except for when separated pin headers are being represented by a single component (in which case, chips can be placed between the pin headers) or for tall modules where chips fit underneath"
404
407
  ),
@@ -2624,6 +2627,10 @@ var portProps = commonLayoutProps.extend({
2624
2627
  pinNumber: z116.number().optional(),
2625
2628
  schStemLength: z116.number().optional(),
2626
2629
  aliases: z116.array(z116.string()).optional(),
2630
+ layer: z116.string().optional(),
2631
+ layers: z116.array(z116.string()).optional(),
2632
+ schX: z116.number().optional(),
2633
+ schY: z116.number().optional(),
2627
2634
  direction,
2628
2635
  connectsTo: z116.string().or(z116.array(z116.string())).optional(),
2629
2636
  kicadPinMetadata: kicadPinMetadata.optional(),