@tscircuit/props 0.0.277 → 0.0.279
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 +34 -0
- package/dist/index.d.ts +672 -0
- package/dist/index.js +33 -1
- package/dist/index.js.map +1 -1
- package/lib/components/group.ts +70 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -414,6 +414,12 @@ export interface BaseGroupProps extends CommonLayoutProps, LayoutConfig {
|
|
|
414
414
|
schPaddingTop?: Distance;
|
|
415
415
|
schPaddingBottom?: Distance;
|
|
416
416
|
|
|
417
|
+
pcbPadding?: Distance;
|
|
418
|
+
pcbPaddingLeft?: Distance;
|
|
419
|
+
pcbPaddingRight?: Distance;
|
|
420
|
+
pcbPaddingTop?: Distance;
|
|
421
|
+
pcbPaddingBottom?: Distance;
|
|
422
|
+
|
|
417
423
|
/** @deprecated Use `pcbGrid` */
|
|
418
424
|
grid?: boolean;
|
|
419
425
|
/** @deprecated Use `pcbFlex` */
|
|
@@ -445,6 +451,34 @@ export interface BaseGroupProps extends CommonLayoutProps, LayoutConfig {
|
|
|
445
451
|
pcbFlexColumn?: boolean;
|
|
446
452
|
pcbGap?: number | string;
|
|
447
453
|
pcbPack?: boolean;
|
|
454
|
+
|
|
455
|
+
schGrid?: boolean;
|
|
456
|
+
schGridCols?: number | string;
|
|
457
|
+
schGridRows?: number | string;
|
|
458
|
+
schGridTemplateRows?: string;
|
|
459
|
+
schGridTemplateColumns?: string;
|
|
460
|
+
schGridTemplate?: string;
|
|
461
|
+
schGridGap?: number | string;
|
|
462
|
+
schGridRowGap?: number | string;
|
|
463
|
+
schGridColumnGap?: number | string;
|
|
464
|
+
|
|
465
|
+
schFlex?: boolean | string;
|
|
466
|
+
schFlexGap?: number | string;
|
|
467
|
+
schFlexDirection?: "row" | "column";
|
|
468
|
+
schAlignItems?: "start" | "center" | "end" | "stretch";
|
|
469
|
+
schJustifyContent?:
|
|
470
|
+
| "start"
|
|
471
|
+
| "center"
|
|
472
|
+
| "end"
|
|
473
|
+
| "stretch"
|
|
474
|
+
| "space-between"
|
|
475
|
+
| "space-around"
|
|
476
|
+
| "space-evenly";
|
|
477
|
+
schFlexRow?: boolean;
|
|
478
|
+
schFlexColumn?: boolean;
|
|
479
|
+
schGap?: number | string;
|
|
480
|
+
schPack?: boolean;
|
|
481
|
+
schMatchAdapt?: boolean;
|
|
448
482
|
}
|
|
449
483
|
```
|
|
450
484
|
|