@tscircuit/props 0.0.370 → 0.0.372

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
@@ -295,6 +295,8 @@ export interface CadModelProps extends CadModelBase {
295
295
  stepUrl?: string;
296
296
  pcbX?: Distance;
297
297
  pcbY?: Distance;
298
+ pcbOffsetX?: Distance;
299
+ pcbOffsetY?: Distance;
298
300
  pcbZ?: Distance;
299
301
  }
300
302
  ```
@@ -503,7 +505,10 @@ export interface DiodeProps<PinLabel extends string = string>
503
505
 
504
506
  ```ts
505
507
  export interface FabricationNoteDimensionProps
506
- extends Omit<PcbLayoutProps, "pcbX" | "pcbY" | "pcbRotation"> {
508
+ extends Omit<
509
+ PcbLayoutProps,
510
+ "pcbX" | "pcbY" | "pcbOffsetX" | "pcbOffsetY" | "pcbRotation"
511
+ > {
507
512
  from: string | Point;
508
513
  to: string | Point;
509
514
  text?: string;
@@ -662,7 +667,7 @@ export interface BaseGroupProps extends CommonLayoutProps, LayoutConfig {
662
667
  pcbPaddingTop?: Distance;
663
668
  pcbPaddingBottom?: Distance;
664
669
  /**
665
- * Anchor to use when interpreting pcbX/pcbY relative to pcbPosition
670
+ * Anchor to use when interpreting pcbX/pcbY/pcbOffsetX/pcbOffsetY relative to pcbPosition
666
671
  */
667
672
  pcbPositionAnchor?: AutocompleteString<z.infer<typeof ninePointAnchor>>;
668
673
 
@@ -890,7 +895,10 @@ export type PcbKeepoutProps = z.input<typeof pcbKeepoutProps>;
890
895
 
891
896
  ```ts
892
897
  export interface PcbNoteDimensionProps
893
- extends Omit<PcbLayoutProps, "pcbX" | "pcbY" | "pcbRotation"> {
898
+ extends Omit<
899
+ PcbLayoutProps,
900
+ "pcbX" | "pcbY" | "pcbOffsetX" | "pcbOffsetY" | "pcbRotation"
901
+ > {
894
902
  from: string | Point;
895
903
  to: string | Point;
896
904
  text?: string;
@@ -908,7 +916,10 @@ export interface PcbNoteDimensionProps
908
916
 
909
917
  ```ts
910
918
  export interface PcbNoteLineProps
911
- extends Omit<PcbLayoutProps, "pcbX" | "pcbY" | "pcbRotation"> {
919
+ extends Omit<
920
+ PcbLayoutProps,
921
+ "pcbX" | "pcbY" | "pcbOffsetX" | "pcbOffsetY" | "pcbRotation"
922
+ > {
912
923
  x1: string | number;
913
924
  y1: string | number;
914
925
  x2: string | number;
@@ -925,7 +936,10 @@ export interface PcbNoteLineProps
925
936
 
926
937
  ```ts
927
938
  export interface PcbNotePathProps
928
- extends Omit<PcbLayoutProps, "pcbX" | "pcbY" | "pcbRotation"> {
939
+ extends Omit<
940
+ PcbLayoutProps,
941
+ "pcbX" | "pcbY" | "pcbOffsetX" | "pcbOffsetY" | "pcbRotation"
942
+ > {
929
943
  route: RouteHintPointInput[];
930
944
  strokeWidth?: string | number;
931
945
  color?: string;
@@ -1545,6 +1559,7 @@ export interface PlatformConfig {
1545
1559
  url?: string;
1546
1560
  printBoardInformationToSilkscreen?: boolean;
1547
1561
  includeBoardFiles?: string[];
1562
+ snapshotsDir?: string;
1548
1563
 
1549
1564
  pcbDisabled?: boolean;
1550
1565
  schematicDisabled?: boolean;
@@ -1585,6 +1600,7 @@ export interface ProjectConfig
1585
1600
  | "url"
1586
1601
  | "printBoardInformationToSilkscreen"
1587
1602
  | "includeBoardFiles"
1603
+ | "snapshotsDir"
1588
1604
  > {}
1589
1605
  ```
1590
1606