@tscircuit/props 0.0.269 → 0.0.271
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 +30 -2
- package/dist/index.d.ts +419 -23
- package/dist/index.js +25 -1
- package/dist/index.js.map +1 -1
- package/lib/components/group.ts +54 -0
- package/lib/components/pin-header.ts +3 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -412,6 +412,34 @@ export interface BaseGroupProps extends CommonLayoutProps, LayoutConfig {
|
|
|
412
412
|
schPaddingRight?: Distance;
|
|
413
413
|
schPaddingTop?: Distance;
|
|
414
414
|
schPaddingBottom?: Distance;
|
|
415
|
+
|
|
416
|
+
/** @deprecated Use `pcbGrid` */
|
|
417
|
+
grid?: boolean;
|
|
418
|
+
/** @deprecated Use `pcbFlex` */
|
|
419
|
+
flex?: boolean | string;
|
|
420
|
+
|
|
421
|
+
pcbGrid?: boolean;
|
|
422
|
+
pcbGridCols?: number | string;
|
|
423
|
+
pcbGridRows?: number | string;
|
|
424
|
+
pcbGridTemplateRows?: string;
|
|
425
|
+
pcbGridTemplateColumns?: string;
|
|
426
|
+
pcbGridTemplate?: string;
|
|
427
|
+
pcbGridGap?: number | string;
|
|
428
|
+
|
|
429
|
+
pcbFlex?: boolean | string;
|
|
430
|
+
pcbFlexDirection?: "row" | "column";
|
|
431
|
+
pcbAlignItems?: "start" | "center" | "end" | "stretch";
|
|
432
|
+
pcbJustifyContent?:
|
|
433
|
+
| "start"
|
|
434
|
+
| "center"
|
|
435
|
+
| "end"
|
|
436
|
+
| "stretch"
|
|
437
|
+
| "space-between"
|
|
438
|
+
| "space-around"
|
|
439
|
+
| "space-evenly";
|
|
440
|
+
pcbFlexRow?: boolean;
|
|
441
|
+
pcbFlexColumn?: boolean;
|
|
442
|
+
pcbGap?: number | string;
|
|
415
443
|
}
|
|
416
444
|
```
|
|
417
445
|
|
|
@@ -553,9 +581,9 @@ export interface PinHeaderProps extends CommonComponentProps {
|
|
|
553
581
|
schFacingDirection?: "up" | "down" | "left" | "right";
|
|
554
582
|
|
|
555
583
|
/**
|
|
556
|
-
* Whether the header is male or
|
|
584
|
+
* Whether the header is male, female, or unpopulated
|
|
557
585
|
*/
|
|
558
|
-
gender?: "male" | "female";
|
|
586
|
+
gender?: "male" | "female" | "unpopulated";
|
|
559
587
|
|
|
560
588
|
/**
|
|
561
589
|
* Whether to show pin labels in silkscreen
|