@tscircuit/props 0.0.275 → 0.0.276

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/dist/index.d.ts CHANGED
@@ -3073,6 +3073,7 @@ interface BaseGroupProps extends CommonLayoutProps, LayoutConfig {
3073
3073
  pcbGridRowGap?: number | string;
3074
3074
  pcbGridColumnGap?: number | string;
3075
3075
  pcbFlex?: boolean | string;
3076
+ pcbFlexGap?: number | string;
3076
3077
  pcbFlexDirection?: "row" | "column";
3077
3078
  pcbAlignItems?: "start" | "center" | "end" | "stretch";
3078
3079
  pcbJustifyContent?: "start" | "center" | "end" | "stretch" | "space-between" | "space-around" | "space-evenly";
@@ -3242,6 +3243,7 @@ declare const baseGroupProps: z.ZodObject<{
3242
3243
  pcbGridRowGap: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
3243
3244
  pcbGridColumnGap: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
3244
3245
  pcbFlex: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString]>>;
3246
+ pcbFlexGap: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
3245
3247
  pcbFlexDirection: z.ZodOptional<z.ZodEnum<["row", "column"]>>;
3246
3248
  pcbAlignItems: z.ZodOptional<z.ZodEnum<["start", "center", "end", "stretch"]>>;
3247
3249
  pcbJustifyContent: z.ZodOptional<z.ZodEnum<["start", "center", "end", "stretch", "space-between", "space-around", "space-evenly"]>>;
@@ -3663,6 +3665,7 @@ declare const baseGroupProps: z.ZodObject<{
3663
3665
  pcbGridRowGap?: string | number | undefined;
3664
3666
  pcbGridColumnGap?: string | number | undefined;
3665
3667
  pcbFlex?: string | boolean | undefined;
3668
+ pcbFlexGap?: string | number | undefined;
3666
3669
  pcbFlexDirection?: "row" | "column" | undefined;
3667
3670
  pcbAlignItems?: "center" | "start" | "end" | "stretch" | undefined;
3668
3671
  pcbJustifyContent?: "center" | "start" | "end" | "stretch" | "space-between" | "space-around" | "space-evenly" | undefined;
@@ -3817,6 +3820,7 @@ declare const baseGroupProps: z.ZodObject<{
3817
3820
  pcbGridRowGap?: string | number | undefined;
3818
3821
  pcbGridColumnGap?: string | number | undefined;
3819
3822
  pcbFlex?: string | boolean | undefined;
3823
+ pcbFlexGap?: string | number | undefined;
3820
3824
  pcbFlexDirection?: "row" | "column" | undefined;
3821
3825
  pcbAlignItems?: "center" | "start" | "end" | "stretch" | undefined;
3822
3826
  pcbJustifyContent?: "center" | "start" | "end" | "stretch" | "space-between" | "space-around" | "space-evenly" | undefined;
@@ -3858,6 +3862,7 @@ declare const subcircuitGroupProps: z.ZodObject<{
3858
3862
  pcbGridRowGap: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
3859
3863
  pcbGridColumnGap: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
3860
3864
  pcbFlex: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString]>>;
3865
+ pcbFlexGap: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
3861
3866
  pcbFlexDirection: z.ZodOptional<z.ZodEnum<["row", "column"]>>;
3862
3867
  pcbAlignItems: z.ZodOptional<z.ZodEnum<["start", "center", "end", "stretch"]>>;
3863
3868
  pcbJustifyContent: z.ZodOptional<z.ZodEnum<["start", "center", "end", "stretch", "space-between", "space-around", "space-evenly"]>>;
@@ -4502,6 +4507,7 @@ declare const subcircuitGroupProps: z.ZodObject<{
4502
4507
  pcbGridRowGap?: string | number | undefined;
4503
4508
  pcbGridColumnGap?: string | number | undefined;
4504
4509
  pcbFlex?: string | boolean | undefined;
4510
+ pcbFlexGap?: string | number | undefined;
4505
4511
  pcbFlexDirection?: "row" | "column" | undefined;
4506
4512
  pcbAlignItems?: "center" | "start" | "end" | "stretch" | undefined;
4507
4513
  pcbJustifyContent?: "center" | "start" | "end" | "stretch" | "space-between" | "space-around" | "space-evenly" | undefined;
@@ -4712,6 +4718,7 @@ declare const subcircuitGroupProps: z.ZodObject<{
4712
4718
  pcbGridRowGap?: string | number | undefined;
4713
4719
  pcbGridColumnGap?: string | number | undefined;
4714
4720
  pcbFlex?: string | boolean | undefined;
4721
+ pcbFlexGap?: string | number | undefined;
4715
4722
  pcbFlexDirection?: "row" | "column" | undefined;
4716
4723
  pcbAlignItems?: "center" | "start" | "end" | "stretch" | undefined;
4717
4724
  pcbJustifyContent?: "center" | "start" | "end" | "stretch" | "space-between" | "space-around" | "space-evenly" | undefined;
@@ -4810,6 +4817,7 @@ declare const subcircuitGroupPropsWithBool: z.ZodObject<{
4810
4817
  pcbGridRowGap: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
4811
4818
  pcbGridColumnGap: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
4812
4819
  pcbFlex: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString]>>;
4820
+ pcbFlexGap: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
4813
4821
  pcbFlexDirection: z.ZodOptional<z.ZodEnum<["row", "column"]>>;
4814
4822
  pcbAlignItems: z.ZodOptional<z.ZodEnum<["start", "center", "end", "stretch"]>>;
4815
4823
  pcbJustifyContent: z.ZodOptional<z.ZodEnum<["start", "center", "end", "stretch", "space-between", "space-around", "space-evenly"]>>;
@@ -5457,6 +5465,7 @@ declare const subcircuitGroupPropsWithBool: z.ZodObject<{
5457
5465
  pcbGridRowGap?: string | number | undefined;
5458
5466
  pcbGridColumnGap?: string | number | undefined;
5459
5467
  pcbFlex?: string | boolean | undefined;
5468
+ pcbFlexGap?: string | number | undefined;
5460
5469
  pcbFlexDirection?: "row" | "column" | undefined;
5461
5470
  pcbAlignItems?: "center" | "start" | "end" | "stretch" | undefined;
5462
5471
  pcbJustifyContent?: "center" | "start" | "end" | "stretch" | "space-between" | "space-around" | "space-evenly" | undefined;
@@ -5668,6 +5677,7 @@ declare const subcircuitGroupPropsWithBool: z.ZodObject<{
5668
5677
  pcbGridRowGap?: string | number | undefined;
5669
5678
  pcbGridColumnGap?: string | number | undefined;
5670
5679
  pcbFlex?: string | boolean | undefined;
5680
+ pcbFlexGap?: string | number | undefined;
5671
5681
  pcbFlexDirection?: "row" | "column" | undefined;
5672
5682
  pcbAlignItems?: "center" | "start" | "end" | "stretch" | undefined;
5673
5683
  pcbJustifyContent?: "center" | "start" | "end" | "stretch" | "space-between" | "space-around" | "space-evenly" | undefined;
@@ -5767,6 +5777,7 @@ declare const groupProps: z.ZodDiscriminatedUnion<"subcircuit", [z.ZodObject<{
5767
5777
  pcbGridRowGap: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
5768
5778
  pcbGridColumnGap: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
5769
5779
  pcbFlex: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString]>>;
5780
+ pcbFlexGap: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
5770
5781
  pcbFlexDirection: z.ZodOptional<z.ZodEnum<["row", "column"]>>;
5771
5782
  pcbAlignItems: z.ZodOptional<z.ZodEnum<["start", "center", "end", "stretch"]>>;
5772
5783
  pcbJustifyContent: z.ZodOptional<z.ZodEnum<["start", "center", "end", "stretch", "space-between", "space-around", "space-evenly"]>>;
@@ -6190,6 +6201,7 @@ declare const groupProps: z.ZodDiscriminatedUnion<"subcircuit", [z.ZodObject<{
6190
6201
  pcbGridRowGap?: string | number | undefined;
6191
6202
  pcbGridColumnGap?: string | number | undefined;
6192
6203
  pcbFlex?: string | boolean | undefined;
6204
+ pcbFlexGap?: string | number | undefined;
6193
6205
  pcbFlexDirection?: "row" | "column" | undefined;
6194
6206
  pcbAlignItems?: "center" | "start" | "end" | "stretch" | undefined;
6195
6207
  pcbJustifyContent?: "center" | "start" | "end" | "stretch" | "space-between" | "space-around" | "space-evenly" | undefined;
@@ -6345,6 +6357,7 @@ declare const groupProps: z.ZodDiscriminatedUnion<"subcircuit", [z.ZodObject<{
6345
6357
  pcbGridRowGap?: string | number | undefined;
6346
6358
  pcbGridColumnGap?: string | number | undefined;
6347
6359
  pcbFlex?: string | boolean | undefined;
6360
+ pcbFlexGap?: string | number | undefined;
6348
6361
  pcbFlexDirection?: "row" | "column" | undefined;
6349
6362
  pcbAlignItems?: "center" | "start" | "end" | "stretch" | undefined;
6350
6363
  pcbJustifyContent?: "center" | "start" | "end" | "stretch" | "space-between" | "space-around" | "space-evenly" | undefined;
@@ -6385,6 +6398,7 @@ declare const groupProps: z.ZodDiscriminatedUnion<"subcircuit", [z.ZodObject<{
6385
6398
  pcbGridRowGap: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
6386
6399
  pcbGridColumnGap: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
6387
6400
  pcbFlex: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString]>>;
6401
+ pcbFlexGap: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
6388
6402
  pcbFlexDirection: z.ZodOptional<z.ZodEnum<["row", "column"]>>;
6389
6403
  pcbAlignItems: z.ZodOptional<z.ZodEnum<["start", "center", "end", "stretch"]>>;
6390
6404
  pcbJustifyContent: z.ZodOptional<z.ZodEnum<["start", "center", "end", "stretch", "space-between", "space-around", "space-evenly"]>>;
@@ -7032,6 +7046,7 @@ declare const groupProps: z.ZodDiscriminatedUnion<"subcircuit", [z.ZodObject<{
7032
7046
  pcbGridRowGap?: string | number | undefined;
7033
7047
  pcbGridColumnGap?: string | number | undefined;
7034
7048
  pcbFlex?: string | boolean | undefined;
7049
+ pcbFlexGap?: string | number | undefined;
7035
7050
  pcbFlexDirection?: "row" | "column" | undefined;
7036
7051
  pcbAlignItems?: "center" | "start" | "end" | "stretch" | undefined;
7037
7052
  pcbJustifyContent?: "center" | "start" | "end" | "stretch" | "space-between" | "space-around" | "space-evenly" | undefined;
@@ -7243,6 +7258,7 @@ declare const groupProps: z.ZodDiscriminatedUnion<"subcircuit", [z.ZodObject<{
7243
7258
  pcbGridRowGap?: string | number | undefined;
7244
7259
  pcbGridColumnGap?: string | number | undefined;
7245
7260
  pcbFlex?: string | boolean | undefined;
7261
+ pcbFlexGap?: string | number | undefined;
7246
7262
  pcbFlexDirection?: "row" | "column" | undefined;
7247
7263
  pcbAlignItems?: "center" | "start" | "end" | "stretch" | undefined;
7248
7264
  pcbJustifyContent?: "center" | "start" | "end" | "stretch" | "space-between" | "space-around" | "space-evenly" | undefined;
@@ -7347,6 +7363,7 @@ declare const boardProps: z.ZodObject<{
7347
7363
  pcbGridRowGap: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
7348
7364
  pcbGridColumnGap: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
7349
7365
  pcbFlex: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString]>>;
7366
+ pcbFlexGap: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
7350
7367
  pcbFlexDirection: z.ZodOptional<z.ZodEnum<["row", "column"]>>;
7351
7368
  pcbAlignItems: z.ZodOptional<z.ZodEnum<["start", "center", "end", "stretch"]>>;
7352
7369
  pcbJustifyContent: z.ZodOptional<z.ZodEnum<["start", "center", "end", "stretch", "space-between", "space-around", "space-evenly"]>>;
@@ -7996,6 +8013,7 @@ declare const boardProps: z.ZodObject<{
7996
8013
  pcbGridRowGap?: string | number | undefined;
7997
8014
  pcbGridColumnGap?: string | number | undefined;
7998
8015
  pcbFlex?: string | boolean | undefined;
8016
+ pcbFlexGap?: string | number | undefined;
7999
8017
  pcbFlexDirection?: "row" | "column" | undefined;
8000
8018
  pcbAlignItems?: "center" | "start" | "end" | "stretch" | undefined;
8001
8019
  pcbJustifyContent?: "center" | "start" | "end" | "stretch" | "space-between" | "space-around" | "space-evenly" | undefined;
@@ -8206,6 +8224,7 @@ declare const boardProps: z.ZodObject<{
8206
8224
  pcbGridRowGap?: string | number | undefined;
8207
8225
  pcbGridColumnGap?: string | number | undefined;
8208
8226
  pcbFlex?: string | boolean | undefined;
8227
+ pcbFlexGap?: string | number | undefined;
8209
8228
  pcbFlexDirection?: "row" | "column" | undefined;
8210
8229
  pcbAlignItems?: "center" | "start" | "end" | "stretch" | undefined;
8211
8230
  pcbJustifyContent?: "center" | "start" | "end" | "stretch" | "space-between" | "space-around" | "space-evenly" | undefined;
@@ -8314,6 +8333,7 @@ declare const breakoutProps: z.ZodObject<{
8314
8333
  pcbGridRowGap: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
8315
8334
  pcbGridColumnGap: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
8316
8335
  pcbFlex: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString]>>;
8336
+ pcbFlexGap: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
8317
8337
  pcbFlexDirection: z.ZodOptional<z.ZodEnum<["row", "column"]>>;
8318
8338
  pcbAlignItems: z.ZodOptional<z.ZodEnum<["start", "center", "end", "stretch"]>>;
8319
8339
  pcbJustifyContent: z.ZodOptional<z.ZodEnum<["start", "center", "end", "stretch", "space-between", "space-around", "space-evenly"]>>;
@@ -8958,6 +8978,7 @@ declare const breakoutProps: z.ZodObject<{
8958
8978
  pcbGridRowGap?: string | number | undefined;
8959
8979
  pcbGridColumnGap?: string | number | undefined;
8960
8980
  pcbFlex?: string | boolean | undefined;
8981
+ pcbFlexGap?: string | number | undefined;
8961
8982
  pcbFlexDirection?: "row" | "column" | undefined;
8962
8983
  pcbAlignItems?: "center" | "start" | "end" | "stretch" | undefined;
8963
8984
  pcbJustifyContent?: "center" | "start" | "end" | "stretch" | "space-between" | "space-around" | "space-evenly" | undefined;
@@ -9168,6 +9189,7 @@ declare const breakoutProps: z.ZodObject<{
9168
9189
  pcbGridRowGap?: string | number | undefined;
9169
9190
  pcbGridColumnGap?: string | number | undefined;
9170
9191
  pcbFlex?: string | boolean | undefined;
9192
+ pcbFlexGap?: string | number | undefined;
9171
9193
  pcbFlexDirection?: "row" | "column" | undefined;
9172
9194
  pcbAlignItems?: "center" | "start" | "end" | "stretch" | undefined;
9173
9195
  pcbJustifyContent?: "center" | "start" | "end" | "stretch" | "space-between" | "space-around" | "space-evenly" | undefined;
@@ -16028,6 +16050,7 @@ declare const stampboardProps: z.ZodObject<{
16028
16050
  pcbGridRowGap: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
16029
16051
  pcbGridColumnGap: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
16030
16052
  pcbFlex: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString]>>;
16053
+ pcbFlexGap: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
16031
16054
  pcbFlexDirection: z.ZodOptional<z.ZodEnum<["row", "column"]>>;
16032
16055
  pcbAlignItems: z.ZodOptional<z.ZodEnum<["start", "center", "end", "stretch"]>>;
16033
16056
  pcbJustifyContent: z.ZodOptional<z.ZodEnum<["start", "center", "end", "stretch", "space-between", "space-around", "space-evenly"]>>;
@@ -16692,6 +16715,7 @@ declare const stampboardProps: z.ZodObject<{
16692
16715
  pcbGridRowGap?: string | number | undefined;
16693
16716
  pcbGridColumnGap?: string | number | undefined;
16694
16717
  pcbFlex?: string | boolean | undefined;
16718
+ pcbFlexGap?: string | number | undefined;
16695
16719
  pcbFlexDirection?: "row" | "column" | undefined;
16696
16720
  pcbAlignItems?: "center" | "start" | "end" | "stretch" | undefined;
16697
16721
  pcbJustifyContent?: "center" | "start" | "end" | "stretch" | "space-between" | "space-around" | "space-evenly" | undefined;
@@ -16912,6 +16936,7 @@ declare const stampboardProps: z.ZodObject<{
16912
16936
  pcbGridRowGap?: string | number | undefined;
16913
16937
  pcbGridColumnGap?: string | number | undefined;
16914
16938
  pcbFlex?: string | boolean | undefined;
16939
+ pcbFlexGap?: string | number | undefined;
16915
16940
  pcbFlexDirection?: "row" | "column" | undefined;
16916
16941
  pcbAlignItems?: "center" | "start" | "end" | "stretch" | undefined;
16917
16942
  pcbJustifyContent?: "center" | "start" | "end" | "stretch" | "space-between" | "space-around" | "space-evenly" | undefined;
@@ -21145,6 +21170,7 @@ declare const subcircuitProps: z.ZodObject<{
21145
21170
  pcbGridRowGap: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
21146
21171
  pcbGridColumnGap: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
21147
21172
  pcbFlex: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString]>>;
21173
+ pcbFlexGap: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
21148
21174
  pcbFlexDirection: z.ZodOptional<z.ZodEnum<["row", "column"]>>;
21149
21175
  pcbAlignItems: z.ZodOptional<z.ZodEnum<["start", "center", "end", "stretch"]>>;
21150
21176
  pcbJustifyContent: z.ZodOptional<z.ZodEnum<["start", "center", "end", "stretch", "space-between", "space-around", "space-evenly"]>>;
@@ -21789,6 +21815,7 @@ declare const subcircuitProps: z.ZodObject<{
21789
21815
  pcbGridRowGap?: string | number | undefined;
21790
21816
  pcbGridColumnGap?: string | number | undefined;
21791
21817
  pcbFlex?: string | boolean | undefined;
21818
+ pcbFlexGap?: string | number | undefined;
21792
21819
  pcbFlexDirection?: "row" | "column" | undefined;
21793
21820
  pcbAlignItems?: "center" | "start" | "end" | "stretch" | undefined;
21794
21821
  pcbJustifyContent?: "center" | "start" | "end" | "stretch" | "space-between" | "space-around" | "space-evenly" | undefined;
@@ -21999,6 +22026,7 @@ declare const subcircuitProps: z.ZodObject<{
21999
22026
  pcbGridRowGap?: string | number | undefined;
22000
22027
  pcbGridColumnGap?: string | number | undefined;
22001
22028
  pcbFlex?: string | boolean | undefined;
22029
+ pcbFlexGap?: string | number | undefined;
22002
22030
  pcbFlexDirection?: "row" | "column" | undefined;
22003
22031
  pcbAlignItems?: "center" | "start" | "end" | "stretch" | undefined;
22004
22032
  pcbJustifyContent?: "center" | "start" | "end" | "stretch" | "space-between" | "space-around" | "space-evenly" | undefined;
package/dist/index.js CHANGED
@@ -444,6 +444,7 @@ var baseGroupProps = commonLayoutProps.extend({
444
444
  pcbGridRowGap: z23.number().or(z23.string()).optional(),
445
445
  pcbGridColumnGap: z23.number().or(z23.string()).optional(),
446
446
  pcbFlex: z23.boolean().or(z23.string()).optional(),
447
+ pcbFlexGap: z23.number().or(z23.string()).optional(),
447
448
  pcbFlexDirection: z23.enum(["row", "column"]).optional(),
448
449
  pcbAlignItems: z23.enum(["start", "center", "end", "stretch"]).optional(),
449
450
  pcbJustifyContent: z23.enum([