@tscircuit/props 0.0.632 → 0.0.633

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 CHANGED
@@ -1745,6 +1745,8 @@ export interface SchematicBoxProps {
1745
1745
  chipRef?: string;
1746
1746
  pinLabels?: PinLabelsProp;
1747
1747
  schPinArrangement?: SchematicPinArrangement;
1748
+ /** Per-pin schematic margin overrides keyed by pin number or label. */
1749
+ schPinStyle?: SchematicPinStyle;
1748
1750
  schX?: Distance;
1749
1751
  schY?: Distance;
1750
1752
  schSectionName?: string;
package/dist/index.d.ts CHANGED
@@ -216969,6 +216969,34 @@ declare const schematicBoxProps: z.ZodEffects<z.ZodEffects<z.ZodObject<{
216969
216969
  topPinCount?: number | undefined;
216970
216970
  bottomPinCount?: number | undefined;
216971
216971
  }>>;
216972
+ schPinStyle: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
216973
+ marginLeft: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
216974
+ marginRight: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
216975
+ marginTop: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
216976
+ marginBottom: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
216977
+ leftMargin: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
216978
+ rightMargin: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
216979
+ topMargin: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
216980
+ bottomMargin: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
216981
+ }, "strip", z.ZodTypeAny, {
216982
+ marginLeft?: number | undefined;
216983
+ marginRight?: number | undefined;
216984
+ marginTop?: number | undefined;
216985
+ marginBottom?: number | undefined;
216986
+ leftMargin?: number | undefined;
216987
+ rightMargin?: number | undefined;
216988
+ topMargin?: number | undefined;
216989
+ bottomMargin?: number | undefined;
216990
+ }, {
216991
+ marginLeft?: string | number | undefined;
216992
+ marginRight?: string | number | undefined;
216993
+ marginTop?: string | number | undefined;
216994
+ marginBottom?: string | number | undefined;
216995
+ leftMargin?: string | number | undefined;
216996
+ rightMargin?: string | number | undefined;
216997
+ topMargin?: string | number | undefined;
216998
+ bottomMargin?: string | number | undefined;
216999
+ }>>>;
216972
217000
  schX: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
216973
217001
  schY: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
216974
217002
  schSectionName: z.ZodOptional<z.ZodString>;
@@ -217029,6 +217057,16 @@ declare const schematicBoxProps: z.ZodEffects<z.ZodEffects<z.ZodObject<{
217029
217057
  topPinCount?: number | undefined;
217030
217058
  bottomPinCount?: number | undefined;
217031
217059
  } | undefined;
217060
+ schPinStyle?: Record<string, {
217061
+ marginLeft?: number | undefined;
217062
+ marginRight?: number | undefined;
217063
+ marginTop?: number | undefined;
217064
+ marginBottom?: number | undefined;
217065
+ leftMargin?: number | undefined;
217066
+ rightMargin?: number | undefined;
217067
+ topMargin?: number | undefined;
217068
+ bottomMargin?: number | undefined;
217069
+ }> | undefined;
217032
217070
  title?: string | undefined;
217033
217071
  pinLabels?: Record<string, string | readonly string[] | string[]> | undefined;
217034
217072
  chipRef?: string | undefined;
@@ -217074,6 +217112,16 @@ declare const schematicBoxProps: z.ZodEffects<z.ZodEffects<z.ZodObject<{
217074
217112
  topPinCount?: number | undefined;
217075
217113
  bottomPinCount?: number | undefined;
217076
217114
  } | undefined;
217115
+ schPinStyle?: Record<string, {
217116
+ marginLeft?: string | number | undefined;
217117
+ marginRight?: string | number | undefined;
217118
+ marginTop?: string | number | undefined;
217119
+ marginBottom?: string | number | undefined;
217120
+ leftMargin?: string | number | undefined;
217121
+ rightMargin?: string | number | undefined;
217122
+ topMargin?: string | number | undefined;
217123
+ bottomMargin?: string | number | undefined;
217124
+ }> | undefined;
217077
217125
  title?: string | undefined;
217078
217126
  pinLabels?: Record<string, string | readonly string[] | string[]> | undefined;
217079
217127
  chipRef?: string | undefined;
@@ -217125,6 +217173,16 @@ declare const schematicBoxProps: z.ZodEffects<z.ZodEffects<z.ZodObject<{
217125
217173
  topPinCount?: number | undefined;
217126
217174
  bottomPinCount?: number | undefined;
217127
217175
  } | undefined;
217176
+ schPinStyle?: Record<string, {
217177
+ marginLeft?: number | undefined;
217178
+ marginRight?: number | undefined;
217179
+ marginTop?: number | undefined;
217180
+ marginBottom?: number | undefined;
217181
+ leftMargin?: number | undefined;
217182
+ rightMargin?: number | undefined;
217183
+ topMargin?: number | undefined;
217184
+ bottomMargin?: number | undefined;
217185
+ }> | undefined;
217128
217186
  title?: string | undefined;
217129
217187
  pinLabels?: Record<string, string | readonly string[] | string[]> | undefined;
217130
217188
  chipRef?: string | undefined;
@@ -217170,6 +217228,16 @@ declare const schematicBoxProps: z.ZodEffects<z.ZodEffects<z.ZodObject<{
217170
217228
  topPinCount?: number | undefined;
217171
217229
  bottomPinCount?: number | undefined;
217172
217230
  } | undefined;
217231
+ schPinStyle?: Record<string, {
217232
+ marginLeft?: string | number | undefined;
217233
+ marginRight?: string | number | undefined;
217234
+ marginTop?: string | number | undefined;
217235
+ marginBottom?: string | number | undefined;
217236
+ leftMargin?: string | number | undefined;
217237
+ rightMargin?: string | number | undefined;
217238
+ topMargin?: string | number | undefined;
217239
+ bottomMargin?: string | number | undefined;
217240
+ }> | undefined;
217173
217241
  title?: string | undefined;
217174
217242
  pinLabels?: Record<string, string | readonly string[] | string[]> | undefined;
217175
217243
  chipRef?: string | undefined;
@@ -217221,6 +217289,16 @@ declare const schematicBoxProps: z.ZodEffects<z.ZodEffects<z.ZodObject<{
217221
217289
  topPinCount?: number | undefined;
217222
217290
  bottomPinCount?: number | undefined;
217223
217291
  } | undefined;
217292
+ schPinStyle?: Record<string, {
217293
+ marginLeft?: number | undefined;
217294
+ marginRight?: number | undefined;
217295
+ marginTop?: number | undefined;
217296
+ marginBottom?: number | undefined;
217297
+ leftMargin?: number | undefined;
217298
+ rightMargin?: number | undefined;
217299
+ topMargin?: number | undefined;
217300
+ bottomMargin?: number | undefined;
217301
+ }> | undefined;
217224
217302
  title?: string | undefined;
217225
217303
  pinLabels?: Record<string, string | readonly string[] | string[]> | undefined;
217226
217304
  chipRef?: string | undefined;
@@ -217266,6 +217344,16 @@ declare const schematicBoxProps: z.ZodEffects<z.ZodEffects<z.ZodObject<{
217266
217344
  topPinCount?: number | undefined;
217267
217345
  bottomPinCount?: number | undefined;
217268
217346
  } | undefined;
217347
+ schPinStyle?: Record<string, {
217348
+ marginLeft?: string | number | undefined;
217349
+ marginRight?: string | number | undefined;
217350
+ marginTop?: string | number | undefined;
217351
+ marginBottom?: string | number | undefined;
217352
+ leftMargin?: string | number | undefined;
217353
+ rightMargin?: string | number | undefined;
217354
+ topMargin?: string | number | undefined;
217355
+ bottomMargin?: string | number | undefined;
217356
+ }> | undefined;
217269
217357
  title?: string | undefined;
217270
217358
  pinLabels?: Record<string, string | readonly string[] | string[]> | undefined;
217271
217359
  chipRef?: string | undefined;
@@ -217281,6 +217369,8 @@ interface SchematicBoxProps {
217281
217369
  chipRef?: string;
217282
217370
  pinLabels?: PinLabelsProp;
217283
217371
  schPinArrangement?: SchematicPinArrangement;
217372
+ /** Per-pin schematic margin overrides keyed by pin number or label. */
217373
+ schPinStyle?: SchematicPinStyle;
217284
217374
  schX?: Distance;
217285
217375
  schY?: Distance;
217286
217376
  schSectionName?: string;
package/dist/index.js CHANGED
@@ -18572,6 +18572,7 @@ var schematicBoxProps = z120.object({
18572
18572
  chipRef: z120.string().optional(),
18573
18573
  pinLabels: pinLabelsProp.optional(),
18574
18574
  schPinArrangement: schematicPinArrangement.optional(),
18575
+ schPinStyle: schematicPinStyle.optional(),
18575
18576
  schX: distance33.optional(),
18576
18577
  schY: distance33.optional(),
18577
18578
  schSectionName: z120.string().optional(),