@tscircuit/props 0.0.421 → 0.0.422

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/README.md CHANGED
@@ -307,6 +307,10 @@ export interface CadModelProps extends CadModelBase {
307
307
  stepUrl?: string;
308
308
  pcbX?: Distance;
309
309
  pcbY?: Distance;
310
+ pcbLeftEdgeX?: Distance;
311
+ pcbRightEdgeX?: Distance;
312
+ pcbTopEdgeY?: Distance;
313
+ pcbBottomEdgeY?: Distance;
310
314
  pcbOffsetX?: Distance;
311
315
  pcbOffsetY?: Distance;
312
316
  pcbZ?: Distance;
@@ -536,7 +540,15 @@ export interface DiodeProps<
536
540
  ```ts
537
541
  export interface FabricationNoteDimensionProps extends Omit<
538
542
  PcbLayoutProps,
539
- "pcbX" | "pcbY" | "pcbOffsetX" | "pcbOffsetY" | "pcbRotation"
543
+ | "pcbLeftEdgeX"
544
+ | "pcbRightEdgeX"
545
+ | "pcbTopEdgeY"
546
+ | "pcbBottomEdgeY"
547
+ | "pcbX"
548
+ | "pcbY"
549
+ | "pcbOffsetX"
550
+ | "pcbOffsetY"
551
+ | "pcbRotation"
540
552
  > {
541
553
  from: string | Point;
542
554
  to: string | Point;
@@ -961,7 +973,15 @@ export type PcbKeepoutProps = z.input<typeof pcbKeepoutProps>;
961
973
  ```ts
962
974
  export interface PcbNoteDimensionProps extends Omit<
963
975
  PcbLayoutProps,
964
- "pcbX" | "pcbY" | "pcbOffsetX" | "pcbOffsetY" | "pcbRotation"
976
+ | "pcbLeftEdgeX"
977
+ | "pcbRightEdgeX"
978
+ | "pcbTopEdgeY"
979
+ | "pcbBottomEdgeY"
980
+ | "pcbX"
981
+ | "pcbY"
982
+ | "pcbOffsetX"
983
+ | "pcbOffsetY"
984
+ | "pcbRotation"
965
985
  > {
966
986
  from: string | Point;
967
987
  to: string | Point;
@@ -985,7 +1005,15 @@ export interface PcbNoteDimensionProps extends Omit<
985
1005
  ```ts
986
1006
  export interface PcbNoteLineProps extends Omit<
987
1007
  PcbLayoutProps,
988
- "pcbX" | "pcbY" | "pcbOffsetX" | "pcbOffsetY" | "pcbRotation"
1008
+ | "pcbLeftEdgeX"
1009
+ | "pcbRightEdgeX"
1010
+ | "pcbTopEdgeY"
1011
+ | "pcbBottomEdgeY"
1012
+ | "pcbX"
1013
+ | "pcbY"
1014
+ | "pcbOffsetX"
1015
+ | "pcbOffsetY"
1016
+ | "pcbRotation"
989
1017
  > {
990
1018
  x1: string | number;
991
1019
  y1: string | number;
@@ -1004,7 +1032,15 @@ export interface PcbNoteLineProps extends Omit<
1004
1032
  ```ts
1005
1033
  export interface PcbNotePathProps extends Omit<
1006
1034
  PcbLayoutProps,
1007
- "pcbX" | "pcbY" | "pcbOffsetX" | "pcbOffsetY" | "pcbRotation"
1035
+ | "pcbLeftEdgeX"
1036
+ | "pcbRightEdgeX"
1037
+ | "pcbTopEdgeY"
1038
+ | "pcbBottomEdgeY"
1039
+ | "pcbX"
1040
+ | "pcbY"
1041
+ | "pcbOffsetX"
1042
+ | "pcbOffsetY"
1043
+ | "pcbRotation"
1008
1044
  > {
1009
1045
  route: RouteHintPointInput[];
1010
1046
  strokeWidth?: string | number;