@tscircuit/props 0.0.468 → 0.0.470
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 +5 -1
- package/dist/index.d.ts +349 -2395
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/lib/common/pcbSx.ts +7 -4
- package/lib/components/footprint.ts +6 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -678,6 +678,10 @@ export interface FootprintProps {
|
|
|
678
678
|
* Serialized circuit JSON describing a precompiled footprint
|
|
679
679
|
*/
|
|
680
680
|
circuitJson?: any[];
|
|
681
|
+
/**
|
|
682
|
+
* Can be a footprint or kicad string
|
|
683
|
+
*/
|
|
684
|
+
src?: FootprintProp;
|
|
681
685
|
}
|
|
682
686
|
```
|
|
683
687
|
|
|
@@ -1489,7 +1493,7 @@ export interface SchematicPathProps {
|
|
|
1489
1493
|
strokeWidth?: Distance;
|
|
1490
1494
|
strokeColor?: string;
|
|
1491
1495
|
isFilled?: boolean;
|
|
1492
|
-
fillColor?:
|
|
1496
|
+
fillColor?: string;
|
|
1493
1497
|
}
|
|
1494
1498
|
```
|
|
1495
1499
|
|