@tscircuit/props 0.0.580 → 0.0.581
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 +2 -12
- package/dist/index.d.ts +94 -71
- package/dist/index.js +1017 -1003
- package/dist/index.js.map +1 -1
- package/lib/assembly/device.ts +15 -0
- package/lib/assembly/index.ts +7 -0
- package/lib/index.ts +1 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -718,11 +718,7 @@ export type FabricationNoteRectProps = z.input<typeof fabricationNoteRectProps>;
|
|
|
718
718
|
export interface FabricationNoteTextProps extends PcbLayoutProps {
|
|
719
719
|
text: string;
|
|
720
720
|
anchorAlignment?:
|
|
721
|
-
| "
|
|
722
|
-
| "top_left"
|
|
723
|
-
| "top_right"
|
|
724
|
-
| "bottom_left"
|
|
725
|
-
| "bottom_right";
|
|
721
|
+
"center" | "top_left" | "top_right" | "bottom_left" | "bottom_right";
|
|
726
722
|
font?: "tscircuit2024";
|
|
727
723
|
fontSize?: string | number;
|
|
728
724
|
color?: string;
|
|
@@ -1288,11 +1284,7 @@ export interface PcbNoteRectProps extends Omit<PcbLayoutProps, "pcbRotation"> {
|
|
|
1288
1284
|
export interface PcbNoteTextProps extends PcbLayoutProps {
|
|
1289
1285
|
text: string;
|
|
1290
1286
|
anchorAlignment?:
|
|
1291
|
-
| "
|
|
1292
|
-
| "top_left"
|
|
1293
|
-
| "top_right"
|
|
1294
|
-
| "bottom_left"
|
|
1295
|
-
| "bottom_right";
|
|
1287
|
+
"center" | "top_left" | "top_right" | "bottom_left" | "bottom_right";
|
|
1296
1288
|
font?: "tscircuit2024";
|
|
1297
1289
|
fontSize?: string | number;
|
|
1298
1290
|
color?: string;
|
|
@@ -2126,7 +2118,6 @@ export interface PlatformConfig {
|
|
|
2126
2118
|
```
|
|
2127
2119
|
|
|
2128
2120
|
[Source](https://github.com/tscircuit/props/blob/main/lib/platformConfig.ts)
|
|
2129
|
-
|
|
2130
2121
|
<!-- PLATFORM_CONFIG_END -->
|
|
2131
2122
|
|
|
2132
2123
|
<!-- PROJECT_CONFIG_START -->
|
|
@@ -2150,5 +2141,4 @@ export interface ProjectConfig extends Pick<
|
|
|
2150
2141
|
```
|
|
2151
2142
|
|
|
2152
2143
|
[Source](https://github.com/tscircuit/props/blob/main/lib/projectConfig.ts)
|
|
2153
|
-
|
|
2154
2144
|
<!-- PROJECT_CONFIG_END -->
|