@tscircuit/props 0.0.179 → 0.0.181

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
@@ -5778,12 +5778,17 @@ type Selectors = Record<string, Connections>;
5778
5778
 
5779
5779
  type PinLabelsProp<PinNumber extends string = string, PinLabel extends string = string> = Record<PinNumber, PinLabel | readonly PinLabel[] | PinLabel[]>;
5780
5780
  type PinLabelFromPinLabelMap<PinLabelMap extends PinLabelsProp> = PinLabelMap extends PinLabelsProp<infer PinNumber, infer PinLabel> ? PinLabel : never;
5781
+ interface PinCompatibleVariant {
5782
+ manufacturerPartNumber?: string;
5783
+ supplierPartNumber?: SupplierPartNumbers;
5784
+ }
5781
5785
  interface ChipPropsSU<PinLabel extends string = string> extends CommonComponentProps {
5782
5786
  manufacturerPartNumber?: string;
5783
5787
  pinLabels?: PinLabelsProp<string, PinLabel>;
5784
5788
  schPinArrangement?: SchematicPortArrangement;
5785
5789
  /** @deprecated Use schPinArrangement instead. */
5786
5790
  schPortArrangement?: SchematicPortArrangement;
5791
+ pinCompatibleVariants?: PinCompatibleVariant[];
5787
5792
  schPinStyle?: SchematicPinStyle;
5788
5793
  schPinSpacing?: Distance;
5789
5794
  schWidth?: Distance;
@@ -5824,6 +5829,16 @@ type ChipConnections<T extends (props: ChipProps<any>) => any> = {
5824
5829
  [K in ChipPinLabels<T>]: string;
5825
5830
  };
5826
5831
  declare const pinLabelsProp: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodReadonly<z.ZodArray<z.ZodString, "many">>]>, z.ZodArray<z.ZodString, "many">]>>;
5832
+ declare const pinCompatibleVariant: z.ZodObject<{
5833
+ manufacturerPartNumber: z.ZodOptional<z.ZodString>;
5834
+ supplierPartNumber: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
5835
+ }, "strip", z.ZodTypeAny, {
5836
+ manufacturerPartNumber?: string | undefined;
5837
+ supplierPartNumber?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
5838
+ }, {
5839
+ manufacturerPartNumber?: string | undefined;
5840
+ supplierPartNumber?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
5841
+ }>;
5827
5842
  declare const chipProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
5828
5843
  pcbX: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
5829
5844
  pcbY: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
@@ -6285,6 +6300,16 @@ declare const chipProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.exten
6285
6300
  topPinCount?: number | undefined;
6286
6301
  bottomPinCount?: number | undefined;
6287
6302
  }>>;
6303
+ pinCompatibleVariants: z.ZodOptional<z.ZodArray<z.ZodObject<{
6304
+ manufacturerPartNumber: z.ZodOptional<z.ZodString>;
6305
+ supplierPartNumber: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
6306
+ }, "strip", z.ZodTypeAny, {
6307
+ manufacturerPartNumber?: string | undefined;
6308
+ supplierPartNumber?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
6309
+ }, {
6310
+ manufacturerPartNumber?: string | undefined;
6311
+ supplierPartNumber?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
6312
+ }>, "many">>;
6288
6313
  schPinStyle: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
6289
6314
  marginLeft: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
6290
6315
  marginRight: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
@@ -6443,6 +6468,10 @@ declare const chipProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.exten
6443
6468
  topPinCount?: number | undefined;
6444
6469
  bottomPinCount?: number | undefined;
6445
6470
  } | undefined;
6471
+ pinCompatibleVariants?: {
6472
+ manufacturerPartNumber?: string | undefined;
6473
+ supplierPartNumber?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
6474
+ }[] | undefined;
6446
6475
  schPinStyle?: Record<string, {
6447
6476
  marginLeft?: number | undefined;
6448
6477
  marginRight?: number | undefined;
@@ -6583,6 +6612,10 @@ declare const chipProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.exten
6583
6612
  topPinCount?: number | undefined;
6584
6613
  bottomPinCount?: number | undefined;
6585
6614
  } | undefined;
6615
+ pinCompatibleVariants?: {
6616
+ manufacturerPartNumber?: string | undefined;
6617
+ supplierPartNumber?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
6618
+ }[] | undefined;
6586
6619
  schPinStyle?: Record<string, {
6587
6620
  marginLeft?: string | number | undefined;
6588
6621
  marginRight?: string | number | undefined;
@@ -7061,6 +7094,16 @@ declare const bugProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extend
7061
7094
  topPinCount?: number | undefined;
7062
7095
  bottomPinCount?: number | undefined;
7063
7096
  }>>;
7097
+ pinCompatibleVariants: z.ZodOptional<z.ZodArray<z.ZodObject<{
7098
+ manufacturerPartNumber: z.ZodOptional<z.ZodString>;
7099
+ supplierPartNumber: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
7100
+ }, "strip", z.ZodTypeAny, {
7101
+ manufacturerPartNumber?: string | undefined;
7102
+ supplierPartNumber?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
7103
+ }, {
7104
+ manufacturerPartNumber?: string | undefined;
7105
+ supplierPartNumber?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
7106
+ }>, "many">>;
7064
7107
  schPinStyle: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
7065
7108
  marginLeft: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
7066
7109
  marginRight: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
@@ -7219,6 +7262,10 @@ declare const bugProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extend
7219
7262
  topPinCount?: number | undefined;
7220
7263
  bottomPinCount?: number | undefined;
7221
7264
  } | undefined;
7265
+ pinCompatibleVariants?: {
7266
+ manufacturerPartNumber?: string | undefined;
7267
+ supplierPartNumber?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
7268
+ }[] | undefined;
7222
7269
  schPinStyle?: Record<string, {
7223
7270
  marginLeft?: number | undefined;
7224
7271
  marginRight?: number | undefined;
@@ -7359,6 +7406,10 @@ declare const bugProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extend
7359
7406
  topPinCount?: number | undefined;
7360
7407
  bottomPinCount?: number | undefined;
7361
7408
  } | undefined;
7409
+ pinCompatibleVariants?: {
7410
+ manufacturerPartNumber?: string | undefined;
7411
+ supplierPartNumber?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
7412
+ }[] | undefined;
7362
7413
  schPinStyle?: Record<string, {
7363
7414
  marginLeft?: string | number | undefined;
7364
7415
  marginRight?: string | number | undefined;
@@ -13432,6 +13483,16 @@ declare const pushButtonProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil
13432
13483
  topPinCount?: number | undefined;
13433
13484
  bottomPinCount?: number | undefined;
13434
13485
  }>>;
13486
+ pinCompatibleVariants: z.ZodOptional<z.ZodArray<z.ZodObject<{
13487
+ manufacturerPartNumber: z.ZodOptional<z.ZodString>;
13488
+ supplierPartNumber: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
13489
+ }, "strip", z.ZodTypeAny, {
13490
+ manufacturerPartNumber?: string | undefined;
13491
+ supplierPartNumber?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
13492
+ }, {
13493
+ manufacturerPartNumber?: string | undefined;
13494
+ supplierPartNumber?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
13495
+ }>, "many">>;
13435
13496
  schPinStyle: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
13436
13497
  marginLeft: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
13437
13498
  marginRight: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
@@ -13590,6 +13651,10 @@ declare const pushButtonProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil
13590
13651
  topPinCount?: number | undefined;
13591
13652
  bottomPinCount?: number | undefined;
13592
13653
  } | undefined;
13654
+ pinCompatibleVariants?: {
13655
+ manufacturerPartNumber?: string | undefined;
13656
+ supplierPartNumber?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
13657
+ }[] | undefined;
13593
13658
  schPinStyle?: Record<string, {
13594
13659
  marginLeft?: number | undefined;
13595
13660
  marginRight?: number | undefined;
@@ -13730,6 +13795,10 @@ declare const pushButtonProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil
13730
13795
  topPinCount?: number | undefined;
13731
13796
  bottomPinCount?: number | undefined;
13732
13797
  } | undefined;
13798
+ pinCompatibleVariants?: {
13799
+ manufacturerPartNumber?: string | undefined;
13800
+ supplierPartNumber?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
13801
+ }[] | undefined;
13733
13802
  schPinStyle?: Record<string, {
13734
13803
  marginLeft?: string | number | undefined;
13735
13804
  marginRight?: string | number | undefined;
@@ -18532,4 +18601,4 @@ declare const platformConfig: z.ZodObject<{
18532
18601
  cloudAutorouterUrl?: string | undefined;
18533
18602
  }>;
18534
18603
 
18535
- export { type AutorouterConfig, type AutorouterProp, type BaseGroupProps, type BaseManualEditEvent, type BaseManualEditEventInput, type BatteryProps, type BoardProps, type CadModelBase, type CadModelJscad, type CadModelObj, type CadModelProp, type CadModelStl, type CapacitorPinLabels, type CapacitorProps, type ChipConnections, type ChipPinLabels, type ChipProps, type ChipPropsSU, type CirclePlatedHoleProps, type CircleSmtPadProps, type CircleSolderPasteProps, type CircularHoleWithRectPlatedProps, type CommonComponentProps, type CommonLayoutProps, type ComponentProps, type ConnectionTarget, type Connections, type ConstrainedLayoutProps, type ConstraintProps, type CrystalProps, type DiodeProps, type Direction, type DirectionAlongEdge, type EditPcbComponentLocationEvent, type EditPcbComponentLocationEventInput, type EditSchematicComponentLocationEvent, type EditSchematicComponentLocationEventInput, type EditTraceHintEvent, type EditTraceHintEventInput, type FabricationNotePathProps, type FabricationNoteTextProps, type Footprint, type FootprintProps, type FootprintPropsInput, type FootprintSoupElements, type GroupProps, type HoleProps, type InductorProps, type InferredChipProps, type InferredConstrainedLayoutProps, type InferredDiodeProps, type InferredHoleProps, type InferredSmtPadProps, type InferredSolderPasteProps, type InferredSwitchProps, type JumperProps, type LayoutConfig, type LedProps, type ManualEditEvent, type ManualEditEventInput, type ManualEditsFile, type ManualEditsFileInput, type ManualPcbPlacement, type ManualPcbPlacementInput, type ManualSchematicPlacement, type ManualSchematicPlacementInput, type ManualTraceHint, type ManualTraceHintInput, type MosfetProps, type NetAliasProps, type NetProps, type NonSubcircuitGroupProps, type OvalPlatedHoleProps, type PartsEngine, type PcbKeepoutProps, type PcbLayoutProps, type PcbRouteCache, type PcbSameXConstraint, type PcbSameYConstraint, type PcbTraceProps, type PcbXDistConstraint, type PcbYDistConstraint, type PillPlatedHoleProps, type PillSmtPadProps, type PinHeaderProps, type PinLabelFromPinLabelMap, type PinLabelsProp, type PinSideDefinition, type PinVariant, type PlatedHoleProps, type PlatformConfig, type PortHints, type PortProps, type PotentiometerPinVariant, type PotentiometerProps, type PowerSourceProps, type PushButtonProps, type RectSmtPadProps, type RectSolderPasteProps, type ResistorPinLabels, type ResistorProps, type ResonatorPinVariant, type ResonatorProps, type RotatedRectSmtPadProps, type SchematicBoxProps, type SchematicLineProps, type SchematicPathProps, type SchematicPinArrangement, type SchematicPinArrangementWithPinCounts, type SchematicPinArrangementWithSides, type SchematicPinArrangementWithSizes, type SchematicPinStyle, type SchematicPortArrangement, type SchematicPortArrangementWithPinCounts, type SchematicPortArrangementWithSides, type SchematicPortArrangementWithSizes, type SchematicTextProps, type Selectors, type SilkscreenCircleProps, type SilkscreenLineProps, type SilkscreenPathProps, type SilkscreenRectProps, type SilkscreenTextProps, type SmtPadProps, type SolderPasteProps, type StampboardProps, type SubcircuitGroupProps, type SubcircuitGroupPropsWithBool, type SubcircuitProps, type SupplierName, type SupplierPartNumbers, type SupplierProps, type SwitchProps, type TraceHintProps, type TraceProps, type TransistorProps, type ViaProps, autorouterConfig, autorouterProp, baseGroupProps, base_manual_edit_event, batteryPins, batteryProps, boardProps, bugProps, cadModelBase, cadModelJscad, cadModelObj, cadModelProp, cadModelStl, capacitorPinLabels, capacitorPins, capacitorProps, chipProps, circleSmtPadProps, circleSolderPasteProps, commonComponentProps, commonLayoutProps, componentProps, constrainedLayoutProps, constraintProps, crystalPins, crystalProps, diodePins, diodeProps, direction, directionAlongEdge, distanceOrMultiplier, edit_component_location_event, edit_pcb_component_location_event, edit_schematic_component_location_event, edit_trace_hint_event, explicitPinSideDefinition, fabricationNotePathProps, fabricationNoteTextProps, footprintProp, footprintProps, groupProps, holeProps, inductorPins, inductorProps, jumperProps, layoutConfig, ledPins, ledProps, lrPins, lrPolarPins, manual_edit_event, manual_edits_file, manual_pcb_placement, manual_schematic_placement, manual_trace_hint, mosfetPins, mosfetProps, netAliasProps, netProps, partsEngine, pcbKeepoutProps, pcbLayoutProps, pcbSameXConstraintProps, pcbSameYConstraintProps, pcbTraceProps, pcbXDistConstraintProps, pcbYDistConstraintProps, pillSmtPadProps, pinHeaderProps, pinLabelsProp, platedHoleProps, platformConfig, point3, portHints, portProps, portRef, potentiometerProps, powerSourceProps, pushButtonProps, rectSmtPadProps, rectSolderPasteProps, resistorPinLabels, resistorPins, resistorProps, resonatorProps, rotatedRectSmtPadProps, rotationPoint3, routeHintPointProps, schematicBoxProps, schematicLineProps, schematicPathProps, schematicPinArrangement, schematicPinStyle, schematicPortArrangement, schematicTextProps, silkscreenCircleProps, silkscreenLineProps, silkscreenPathProps, silkscreenRectProps, silkscreenTextProps, smtPadProps, solderPasteProps, stampboardProps, subcircuitGroupProps, subcircuitGroupPropsWithBool, subcircuitProps, supplierProps, switchProps, traceHintProps, traceProps, transistorPins, transistorProps, viaProps };
18604
+ export { type AutorouterConfig, type AutorouterProp, type BaseGroupProps, type BaseManualEditEvent, type BaseManualEditEventInput, type BatteryProps, type BoardProps, type CadModelBase, type CadModelJscad, type CadModelObj, type CadModelProp, type CadModelStl, type CapacitorPinLabels, type CapacitorProps, type ChipConnections, type ChipPinLabels, type ChipProps, type ChipPropsSU, type CirclePlatedHoleProps, type CircleSmtPadProps, type CircleSolderPasteProps, type CircularHoleWithRectPlatedProps, type CommonComponentProps, type CommonLayoutProps, type ComponentProps, type ConnectionTarget, type Connections, type ConstrainedLayoutProps, type ConstraintProps, type CrystalProps, type DiodeProps, type Direction, type DirectionAlongEdge, type EditPcbComponentLocationEvent, type EditPcbComponentLocationEventInput, type EditSchematicComponentLocationEvent, type EditSchematicComponentLocationEventInput, type EditTraceHintEvent, type EditTraceHintEventInput, type FabricationNotePathProps, type FabricationNoteTextProps, type Footprint, type FootprintProps, type FootprintPropsInput, type FootprintSoupElements, type GroupProps, type HoleProps, type InductorProps, type InferredChipProps, type InferredConstrainedLayoutProps, type InferredDiodeProps, type InferredHoleProps, type InferredSmtPadProps, type InferredSolderPasteProps, type InferredSwitchProps, type JumperProps, type LayoutConfig, type LedProps, type ManualEditEvent, type ManualEditEventInput, type ManualEditsFile, type ManualEditsFileInput, type ManualPcbPlacement, type ManualPcbPlacementInput, type ManualSchematicPlacement, type ManualSchematicPlacementInput, type ManualTraceHint, type ManualTraceHintInput, type MosfetProps, type NetAliasProps, type NetProps, type NonSubcircuitGroupProps, type OvalPlatedHoleProps, type PartsEngine, type PcbKeepoutProps, type PcbLayoutProps, type PcbRouteCache, type PcbSameXConstraint, type PcbSameYConstraint, type PcbTraceProps, type PcbXDistConstraint, type PcbYDistConstraint, type PillPlatedHoleProps, type PillSmtPadProps, type PinCompatibleVariant, type PinHeaderProps, type PinLabelFromPinLabelMap, type PinLabelsProp, type PinSideDefinition, type PinVariant, type PlatedHoleProps, type PlatformConfig, type PortHints, type PortProps, type PotentiometerPinVariant, type PotentiometerProps, type PowerSourceProps, type PushButtonProps, type RectSmtPadProps, type RectSolderPasteProps, type ResistorPinLabels, type ResistorProps, type ResonatorPinVariant, type ResonatorProps, type RotatedRectSmtPadProps, type SchematicBoxProps, type SchematicLineProps, type SchematicPathProps, type SchematicPinArrangement, type SchematicPinArrangementWithPinCounts, type SchematicPinArrangementWithSides, type SchematicPinArrangementWithSizes, type SchematicPinStyle, type SchematicPortArrangement, type SchematicPortArrangementWithPinCounts, type SchematicPortArrangementWithSides, type SchematicPortArrangementWithSizes, type SchematicTextProps, type Selectors, type SilkscreenCircleProps, type SilkscreenLineProps, type SilkscreenPathProps, type SilkscreenRectProps, type SilkscreenTextProps, type SmtPadProps, type SolderPasteProps, type StampboardProps, type SubcircuitGroupProps, type SubcircuitGroupPropsWithBool, type SubcircuitProps, type SupplierName, type SupplierPartNumbers, type SupplierProps, type SwitchProps, type TraceHintProps, type TraceProps, type TransistorProps, type ViaProps, autorouterConfig, autorouterProp, baseGroupProps, base_manual_edit_event, batteryPins, batteryProps, boardProps, bugProps, cadModelBase, cadModelJscad, cadModelObj, cadModelProp, cadModelStl, capacitorPinLabels, capacitorPins, capacitorProps, chipProps, circleSmtPadProps, circleSolderPasteProps, commonComponentProps, commonLayoutProps, componentProps, constrainedLayoutProps, constraintProps, crystalPins, crystalProps, diodePins, diodeProps, direction, directionAlongEdge, distanceOrMultiplier, edit_component_location_event, edit_pcb_component_location_event, edit_schematic_component_location_event, edit_trace_hint_event, explicitPinSideDefinition, fabricationNotePathProps, fabricationNoteTextProps, footprintProp, footprintProps, groupProps, holeProps, inductorPins, inductorProps, jumperProps, layoutConfig, ledPins, ledProps, lrPins, lrPolarPins, manual_edit_event, manual_edits_file, manual_pcb_placement, manual_schematic_placement, manual_trace_hint, mosfetPins, mosfetProps, netAliasProps, netProps, partsEngine, pcbKeepoutProps, pcbLayoutProps, pcbSameXConstraintProps, pcbSameYConstraintProps, pcbTraceProps, pcbXDistConstraintProps, pcbYDistConstraintProps, pillSmtPadProps, pinCompatibleVariant, pinHeaderProps, pinLabelsProp, platedHoleProps, platformConfig, point3, portHints, portProps, portRef, potentiometerProps, powerSourceProps, pushButtonProps, rectSmtPadProps, rectSolderPasteProps, resistorPinLabels, resistorPins, resistorProps, resonatorProps, rotatedRectSmtPadProps, rotationPoint3, routeHintPointProps, schematicBoxProps, schematicLineProps, schematicPathProps, schematicPinArrangement, schematicPinStyle, schematicPortArrangement, schematicTextProps, silkscreenCircleProps, silkscreenLineProps, silkscreenPathProps, silkscreenRectProps, silkscreenTextProps, smtPadProps, solderPasteProps, stampboardProps, subcircuitGroupProps, subcircuitGroupPropsWithBool, subcircuitProps, supplierProps, switchProps, traceHintProps, traceProps, transistorPins, transistorProps, viaProps };
package/dist/index.js CHANGED
@@ -375,7 +375,7 @@ var boardProps = subcircuitGroupProps.extend({
375
375
  expectTypesMatch(true);
376
376
 
377
377
  // lib/components/chip.ts
378
- import { distance as distance6 } from "circuit-json";
378
+ import { distance as distance6, supplier_name as supplier_name2 } from "circuit-json";
379
379
  import { z as z21 } from "zod";
380
380
  var connectionTarget = z21.string().or(z21.array(z21.string()).readonly()).or(z21.array(z21.string()));
381
381
  var connectionsProp = z21.custom().pipe(z21.record(z21.string(), connectionTarget));
@@ -384,6 +384,10 @@ var pinLabelsProp = z21.record(
384
384
  z21.string().or(z21.array(z21.string()).readonly()).or(z21.array(z21.string()))
385
385
  );
386
386
  expectTypesMatch(true);
387
+ var pinCompatibleVariant = z21.object({
388
+ manufacturerPartNumber: z21.string().optional(),
389
+ supplierPartNumber: z21.record(supplier_name2, z21.array(z21.string())).optional()
390
+ });
387
391
  var chipProps = commonComponentProps.extend({
388
392
  manufacturerPartNumber: z21.string().optional(),
389
393
  pinLabels: pinLabelsProp.optional(),
@@ -391,6 +395,7 @@ var chipProps = commonComponentProps.extend({
391
395
  externallyConnectedPins: z21.array(z21.array(z21.string())).optional(),
392
396
  schPinArrangement: schematicPortArrangement.optional(),
393
397
  schPortArrangement: schematicPortArrangement.optional(),
398
+ pinCompatibleVariants: z21.array(pinCompatibleVariant).optional(),
394
399
  schPinStyle: schematicPinStyle.optional(),
395
400
  schPinSpacing: distance6.optional(),
396
401
  schWidth: distance6.optional(),
@@ -1259,6 +1264,7 @@ export {
1259
1264
  pcbXDistConstraintProps,
1260
1265
  pcbYDistConstraintProps,
1261
1266
  pillSmtPadProps,
1267
+ pinCompatibleVariant,
1262
1268
  pinHeaderProps,
1263
1269
  pinLabelsProp,
1264
1270
  platedHoleProps,