@tscircuit/props 0.0.616 → 0.0.617

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
@@ -513,7 +513,8 @@ export interface CapacitorProps<
513
513
  decouplingTo?: string;
514
514
  bypassFor?: string;
515
515
  bypassTo?: string;
516
- maxDecouplingTraceLength?: number;
516
+ /** Maximum allowed PCB trace length between this capacitor and the component it decouples */
517
+ maxDecouplingTraceLength?: number | string;
517
518
  schOrientation?: SchematicOrientation;
518
519
  schSize?: SchematicSymbolSize;
519
520
  connections?: Connections<CapacitorPinLabels>;
package/dist/index.d.ts CHANGED
@@ -90926,7 +90926,8 @@ interface CapacitorProps<PinLabel extends string = string> extends CommonCompone
90926
90926
  decouplingTo?: string;
90927
90927
  bypassFor?: string;
90928
90928
  bypassTo?: string;
90929
- maxDecouplingTraceLength?: number;
90929
+ /** Maximum allowed PCB trace length between this capacitor and the component it decouples */
90930
+ maxDecouplingTraceLength?: number | string;
90930
90931
  schOrientation?: SchematicOrientation;
90931
90932
  schSize?: SchematicSymbolSize;
90932
90933
  connections?: Connections<CapacitorPinLabels>;
@@ -94299,7 +94300,7 @@ declare const capacitorProps: z.ZodObject<{
94299
94300
  decouplingTo: z.ZodOptional<z.ZodString>;
94300
94301
  bypassFor: z.ZodOptional<z.ZodString>;
94301
94302
  bypassTo: z.ZodOptional<z.ZodString>;
94302
- maxDecouplingTraceLength: z.ZodOptional<z.ZodNumber>;
94303
+ maxDecouplingTraceLength: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
94303
94304
  schOrientation: z.ZodOptional<z.ZodEnum<["vertical", "horizontal", "pos_top", "pos_bottom", "pos_left", "pos_right", "neg_top", "neg_bottom", "neg_left", "neg_right"]>>;
94304
94305
  schSize: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, z.ZodEnum<["xs", "sm", "default", "md"]>]>>;
94305
94306
  connections: z.ZodOptional<z.ZodRecord<z.ZodEnum<["pin1", "pin2", "pos", "neg", "anode", "cathode"]>, z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodReadonly<z.ZodArray<z.ZodString, "many">>]>, z.ZodArray<z.ZodString, "many">]>>>;
@@ -95484,7 +95485,7 @@ declare const capacitorProps: z.ZodObject<{
95484
95485
  decouplingTo?: string | undefined;
95485
95486
  bypassFor?: string | undefined;
95486
95487
  bypassTo?: string | undefined;
95487
- maxDecouplingTraceLength?: number | undefined;
95488
+ maxDecouplingTraceLength?: string | number | undefined;
95488
95489
  }>;
95489
95490
  declare const capacitorPins: readonly ["pin1", "left", "anode", "pos", "pin2", "right", "cathode", "neg"];
95490
95491