@tscircuit/props 0.0.553 → 0.0.555

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
@@ -210,7 +210,10 @@ export interface AmmeterProps<
210
210
  > extends CommonComponentProps<PinLabel> {
211
211
  connections: Connections<AmmeterPinLabels>;
212
212
  color?: string;
213
- display?: AmmeterDisplayOptions;
213
+ graphDisplayName?: string;
214
+ graphCenter?: number;
215
+ graphOffsetDivs?: number;
216
+ graphUnitsPerDiv?: number;
214
217
  }
215
218
  ```
216
219
 
@@ -1958,7 +1961,10 @@ export interface VoltageProbeProps extends Omit<CommonComponentProps, "name"> {
1958
1961
  connectsTo: string;
1959
1962
  referenceTo?: string;
1960
1963
  color?: string;
1961
- display?: VoltageProbeDisplayOptions;
1964
+ graphDisplayName?: string;
1965
+ graphCenter?: number;
1966
+ graphOffsetDivs?: number;
1967
+ graphUnitsPerDiv?: number;
1962
1968
  }
1963
1969
  ```
1964
1970
 
package/dist/index.d.ts CHANGED
@@ -103385,6 +103385,8 @@ declare const portRef: z.ZodUnion<[z.ZodString, z.ZodType<{
103385
103385
  }>]>;
103386
103386
  declare const traceProps: z.ZodUnion<[z.ZodObject<{
103387
103387
  key: z.ZodOptional<z.ZodString>;
103388
+ name: z.ZodOptional<z.ZodString>;
103389
+ displayName: z.ZodOptional<z.ZodString>;
103388
103390
  thickness: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
103389
103391
  width: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
103390
103392
  schematicRouteHints: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -103558,7 +103560,9 @@ declare const traceProps: z.ZodUnion<[z.ZodObject<{
103558
103560
  })[];
103559
103561
  key?: string | undefined;
103560
103562
  thickness?: number | undefined;
103563
+ name?: string | undefined;
103561
103564
  highlightColor?: string | undefined;
103565
+ displayName?: string | undefined;
103562
103566
  width?: number | undefined;
103563
103567
  maxLength?: number | undefined;
103564
103568
  connectsTo?: string | string[] | undefined;
@@ -103598,7 +103602,9 @@ declare const traceProps: z.ZodUnion<[z.ZodObject<{
103598
103602
  })[];
103599
103603
  key?: string | undefined;
103600
103604
  thickness?: string | number | undefined;
103605
+ name?: string | undefined;
103601
103606
  highlightColor?: string | undefined;
103607
+ displayName?: string | undefined;
103602
103608
  width?: string | number | undefined;
103603
103609
  maxLength?: string | number | undefined;
103604
103610
  connectsTo?: string | string[] | undefined;
@@ -103644,6 +103650,8 @@ declare const traceProps: z.ZodUnion<[z.ZodObject<{
103644
103650
  schStroke?: string | undefined;
103645
103651
  }>, z.ZodObject<{
103646
103652
  key: z.ZodOptional<z.ZodString>;
103653
+ name: z.ZodOptional<z.ZodString>;
103654
+ displayName: z.ZodOptional<z.ZodString>;
103647
103655
  thickness: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
103648
103656
  width: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
103649
103657
  schematicRouteHints: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -103825,7 +103833,9 @@ declare const traceProps: z.ZodUnion<[z.ZodObject<{
103825
103833
  };
103826
103834
  key?: string | undefined;
103827
103835
  thickness?: number | undefined;
103836
+ name?: string | undefined;
103828
103837
  highlightColor?: string | undefined;
103838
+ displayName?: string | undefined;
103829
103839
  width?: number | undefined;
103830
103840
  maxLength?: number | undefined;
103831
103841
  connectsTo?: string | string[] | undefined;
@@ -103868,7 +103878,9 @@ declare const traceProps: z.ZodUnion<[z.ZodObject<{
103868
103878
  };
103869
103879
  key?: string | undefined;
103870
103880
  thickness?: string | number | undefined;
103881
+ name?: string | undefined;
103871
103882
  highlightColor?: string | undefined;
103883
+ displayName?: string | undefined;
103872
103884
  width?: string | number | undefined;
103873
103885
  maxLength?: string | number | undefined;
103874
103886
  connectsTo?: string | string[] | undefined;
@@ -103914,6 +103926,8 @@ declare const traceProps: z.ZodUnion<[z.ZodObject<{
103914
103926
  schStroke?: string | undefined;
103915
103927
  }>, z.ZodObject<{
103916
103928
  key: z.ZodOptional<z.ZodString>;
103929
+ name: z.ZodOptional<z.ZodString>;
103930
+ displayName: z.ZodOptional<z.ZodString>;
103917
103931
  thickness: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
103918
103932
  width: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
103919
103933
  schematicRouteHints: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -104095,7 +104109,9 @@ declare const traceProps: z.ZodUnion<[z.ZodObject<{
104095
104109
  };
104096
104110
  key?: string | undefined;
104097
104111
  thickness?: number | undefined;
104112
+ name?: string | undefined;
104098
104113
  highlightColor?: string | undefined;
104114
+ displayName?: string | undefined;
104099
104115
  width?: number | undefined;
104100
104116
  maxLength?: number | undefined;
104101
104117
  connectsTo?: string | string[] | undefined;
@@ -104138,7 +104154,9 @@ declare const traceProps: z.ZodUnion<[z.ZodObject<{
104138
104154
  };
104139
104155
  key?: string | undefined;
104140
104156
  thickness?: string | number | undefined;
104157
+ name?: string | undefined;
104141
104158
  highlightColor?: string | undefined;
104159
+ displayName?: string | undefined;
104142
104160
  width?: string | number | undefined;
104143
104161
  maxLength?: string | number | undefined;
104144
104162
  connectsTo?: string | string[] | undefined;
@@ -178417,13 +178435,10 @@ interface VoltageProbeProps extends Omit<CommonComponentProps, "name"> {
178417
178435
  connectsTo: string;
178418
178436
  referenceTo?: string;
178419
178437
  color?: string;
178420
- display?: VoltageProbeDisplayOptions;
178421
- }
178422
- interface VoltageProbeDisplayOptions {
178423
- label?: string;
178424
- center?: number;
178425
- offsetDivs?: number;
178426
- unitsPerDiv?: number;
178438
+ graphDisplayName?: string;
178439
+ graphCenter?: number;
178440
+ graphOffsetDivs?: number;
178441
+ graphUnitsPerDiv?: number;
178427
178442
  }
178428
178443
  declare const voltageProbeProps: z.ZodObject<Omit<{
178429
178444
  pcbX: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>]>>;
@@ -181788,22 +181803,10 @@ declare const voltageProbeProps: z.ZodObject<Omit<{
181788
181803
  connectsTo: z.ZodString;
181789
181804
  referenceTo: z.ZodOptional<z.ZodString>;
181790
181805
  color: z.ZodOptional<z.ZodString>;
181791
- display: z.ZodOptional<z.ZodObject<{
181792
- label: z.ZodOptional<z.ZodString>;
181793
- center: z.ZodOptional<z.ZodNumber>;
181794
- offsetDivs: z.ZodOptional<z.ZodNumber>;
181795
- unitsPerDiv: z.ZodOptional<z.ZodNumber>;
181796
- }, "strip", z.ZodTypeAny, {
181797
- center?: number | undefined;
181798
- label?: string | undefined;
181799
- offsetDivs?: number | undefined;
181800
- unitsPerDiv?: number | undefined;
181801
- }, {
181802
- center?: number | undefined;
181803
- label?: string | undefined;
181804
- offsetDivs?: number | undefined;
181805
- unitsPerDiv?: number | undefined;
181806
- }>>;
181806
+ graphDisplayName: z.ZodOptional<z.ZodString>;
181807
+ graphCenter: z.ZodOptional<z.ZodNumber>;
181808
+ graphOffsetDivs: z.ZodOptional<z.ZodNumber>;
181809
+ graphUnitsPerDiv: z.ZodOptional<z.ZodNumber>;
181807
181810
  }, "strip", z.ZodTypeAny, {
181808
181811
  connectsTo: string;
181809
181812
  symbol?: SymbolProp | undefined;
@@ -182384,12 +182387,10 @@ declare const voltageProbeProps: z.ZodObject<Omit<{
182384
182387
  schSectionName?: string | undefined;
182385
182388
  color?: string | undefined;
182386
182389
  referenceTo?: string | undefined;
182387
- display?: {
182388
- center?: number | undefined;
182389
- label?: string | undefined;
182390
- offsetDivs?: number | undefined;
182391
- unitsPerDiv?: number | undefined;
182392
- } | undefined;
182390
+ graphDisplayName?: string | undefined;
182391
+ graphCenter?: number | undefined;
182392
+ graphOffsetDivs?: number | undefined;
182393
+ graphUnitsPerDiv?: number | undefined;
182393
182394
  }, {
182394
182395
  connectsTo: string;
182395
182396
  symbol?: SymbolProp | undefined;
@@ -182972,43 +182973,22 @@ declare const voltageProbeProps: z.ZodObject<Omit<{
182972
182973
  schSectionName?: string | undefined;
182973
182974
  color?: string | undefined;
182974
182975
  referenceTo?: string | undefined;
182975
- display?: {
182976
- center?: number | undefined;
182977
- label?: string | undefined;
182978
- offsetDivs?: number | undefined;
182979
- unitsPerDiv?: number | undefined;
182980
- } | undefined;
182976
+ graphDisplayName?: string | undefined;
182977
+ graphCenter?: number | undefined;
182978
+ graphOffsetDivs?: number | undefined;
182979
+ graphUnitsPerDiv?: number | undefined;
182981
182980
  }>;
182982
182981
 
182983
182982
  declare const ammeterPinLabels: readonly ["pin1", "pin2", "pos", "neg"];
182984
182983
  type AmmeterPinLabels = (typeof ammeterPinLabels)[number];
182985
- interface AmmeterDisplayOptions {
182986
- label?: string;
182987
- center?: number;
182988
- offsetDivs?: number;
182989
- unitsPerDiv?: number;
182990
- }
182991
182984
  interface AmmeterProps<PinLabel extends string = string> extends CommonComponentProps<PinLabel> {
182992
182985
  connections: Connections<AmmeterPinLabels>;
182993
182986
  color?: string;
182994
- display?: AmmeterDisplayOptions;
182987
+ graphDisplayName?: string;
182988
+ graphCenter?: number;
182989
+ graphOffsetDivs?: number;
182990
+ graphUnitsPerDiv?: number;
182995
182991
  }
182996
- declare const ammeterDisplayOptions: z.ZodObject<{
182997
- label: z.ZodOptional<z.ZodString>;
182998
- center: z.ZodOptional<z.ZodNumber>;
182999
- offsetDivs: z.ZodOptional<z.ZodNumber>;
183000
- unitsPerDiv: z.ZodOptional<z.ZodNumber>;
183001
- }, "strip", z.ZodTypeAny, {
183002
- center?: number | undefined;
183003
- label?: string | undefined;
183004
- offsetDivs?: number | undefined;
183005
- unitsPerDiv?: number | undefined;
183006
- }, {
183007
- center?: number | undefined;
183008
- label?: string | undefined;
183009
- offsetDivs?: number | undefined;
183010
- unitsPerDiv?: number | undefined;
183011
- }>;
183012
182992
  declare const ammeterProps: z.ZodObject<{
183013
182993
  pcbX: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>]>>;
183014
182994
  pcbY: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>]>>;
@@ -186370,22 +186350,10 @@ declare const ammeterProps: z.ZodObject<{
186370
186350
  } & {
186371
186351
  connections: z.ZodEffects<z.ZodRecord<z.ZodEnum<["pin1", "pin2", "pos", "neg"]>, z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodReadonly<z.ZodArray<z.ZodString, "many">>]>, z.ZodArray<z.ZodString, "many">]>>, Partial<Record<"pin1" | "pin2" | "pos" | "neg", string | readonly string[] | string[]>>, Partial<Record<"pin1" | "pin2" | "pos" | "neg", string | readonly string[] | string[]>>>;
186372
186352
  color: z.ZodOptional<z.ZodString>;
186373
- display: z.ZodOptional<z.ZodObject<{
186374
- label: z.ZodOptional<z.ZodString>;
186375
- center: z.ZodOptional<z.ZodNumber>;
186376
- offsetDivs: z.ZodOptional<z.ZodNumber>;
186377
- unitsPerDiv: z.ZodOptional<z.ZodNumber>;
186378
- }, "strip", z.ZodTypeAny, {
186379
- center?: number | undefined;
186380
- label?: string | undefined;
186381
- offsetDivs?: number | undefined;
186382
- unitsPerDiv?: number | undefined;
186383
- }, {
186384
- center?: number | undefined;
186385
- label?: string | undefined;
186386
- offsetDivs?: number | undefined;
186387
- unitsPerDiv?: number | undefined;
186388
- }>>;
186353
+ graphDisplayName: z.ZodOptional<z.ZodString>;
186354
+ graphCenter: z.ZodOptional<z.ZodNumber>;
186355
+ graphOffsetDivs: z.ZodOptional<z.ZodNumber>;
186356
+ graphUnitsPerDiv: z.ZodOptional<z.ZodNumber>;
186389
186357
  }, "strip", z.ZodTypeAny, {
186390
186358
  name: string;
186391
186359
  connections: Partial<Record<"pin1" | "pin2" | "pos" | "neg", string | readonly string[] | string[]>>;
@@ -186965,12 +186933,10 @@ declare const ammeterProps: z.ZodObject<{
186965
186933
  manufacturerPartNumber?: string | undefined;
186966
186934
  schSectionName?: string | undefined;
186967
186935
  color?: string | undefined;
186968
- display?: {
186969
- center?: number | undefined;
186970
- label?: string | undefined;
186971
- offsetDivs?: number | undefined;
186972
- unitsPerDiv?: number | undefined;
186973
- } | undefined;
186936
+ graphDisplayName?: string | undefined;
186937
+ graphCenter?: number | undefined;
186938
+ graphOffsetDivs?: number | undefined;
186939
+ graphUnitsPerDiv?: number | undefined;
186974
186940
  }, {
186975
186941
  name: string;
186976
186942
  connections: Partial<Record<"pin1" | "pin2" | "pos" | "neg", string | readonly string[] | string[]>>;
@@ -187552,12 +187518,10 @@ declare const ammeterProps: z.ZodObject<{
187552
187518
  manufacturerPartNumber?: string | undefined;
187553
187519
  schSectionName?: string | undefined;
187554
187520
  color?: string | undefined;
187555
- display?: {
187556
- center?: number | undefined;
187557
- label?: string | undefined;
187558
- offsetDivs?: number | undefined;
187559
- unitsPerDiv?: number | undefined;
187560
- } | undefined;
187521
+ graphDisplayName?: string | undefined;
187522
+ graphCenter?: number | undefined;
187523
+ graphOffsetDivs?: number | undefined;
187524
+ graphUnitsPerDiv?: number | undefined;
187561
187525
  }>;
187562
187526
  declare const ammeterPins: readonly ["pin1", "pin2", "pos", "neg"];
187563
187527
 
@@ -190596,4 +190560,4 @@ interface ProjectConfig extends Pick<PlatformConfig, "projectName" | "projectBas
190596
190560
  }
190597
190561
  declare const projectConfig: z.ZodType<ProjectConfig>;
190598
190562
 
190599
- export { type AmmeterDisplayOptions, type AmmeterPinLabels, type AmmeterProps, type AnalogSimulationProps, type AutocompleteString, type AutorouterConfig, type AutorouterDefinition, type AutorouterInstance, type AutorouterPreset, type AutorouterProp, type AutoroutingPhaseProps, type BaseGroupProps, type BaseManualEditEvent, type BaseManualEditEventInput, type BasicFootprint, type BatteryPinLabels, type BatteryProps, type BoardColor, type BoardColorPreset, type BoardProps, type Border, type BreakoutPointProps, type BreakoutProps, type CadAssemblyProps, type CadAssemblyPropsInput, type CadModelAxisDirection, type CadModelBase, type CadModelGlb, type CadModelGltf, type CadModelJscad, type CadModelObj, type CadModelProp, type CadModelProps, type CadModelPropsInput, type CadModelStep, type CadModelStl, type CadModelWrl, type CapacitorPinLabels, type CapacitorProps, type ChipConnections, type ChipPinLabels, type ChipProps, type ChipPropsSU, type CircleCutoutProps, type CircleHoleProps, type CirclePlatedHoleProps, type CircleSmtPadProps, type CircleSolderPasteProps, type CircuitJson, type CircularHoleWithRectPlatedProps, type CommonComponentProps, type CommonLayoutProps, type ComponentProps, type ConnectionTarget, type Connections, type ConnectorProps, type ConstrainedLayoutProps, type ConstraintProps, type CopperPourProps, type CopperPourPropsInput, type CopperTextProps, type CourtyardCircleProps, type CourtyardOutlineProps, type CourtyardPillProps, type CourtyardRectProps, type CrystalPinLabels, type CrystalProps, type CurrentSourcePinLabels, type CurrentSourceProps, type CustomDrcCheckContext, type CustomDrcCheckFn, type CustomDrcCheckInput, type CustomDrcConnectable, type CustomDrcSelect, type CustomDrcSelectAll, type CutoutProps, type CutoutPropsInput, type DiodePinLabels, type DiodeProps, type Direction, type DirectionAlongEdge, type DrcCheckProps, type EditPcbComponentLocationEvent, type EditPcbComponentLocationEventInput, type EditPcbGroupLocationEvent, type EditPcbGroupLocationEventInput, type EditSchematicComponentLocationEvent, type EditSchematicComponentLocationEventInput, type EditSchematicGroupLocationEvent, type EditSchematicGroupLocationEventInput, type EditTraceHintEvent, type EditTraceHintEventInput, type FabricationNoteDimensionProps, type FabricationNoteDimensionPropsInput, type FabricationNotePathProps, type FabricationNoteRectProps, type FabricationNoteTextProps, type FabricationNoteTextPropsInput, type FiducialProps, type FootprintFileParserEntry, type FootprintInsertionDirection, type FootprintLibraryResult, type FootprintProp, type FootprintProps, type FootprintPropsInput, type FootprintSoupElements, type FootprinterAutocompleteString, type FootprinterStringExample, type FusePinLabels, type FuseProps, type GroupProps, type HoleProps, type HoleWithPolygonPadPlatedHoleProps, type InductorPinLabels, type InductorProps, type InferredChipProps, type InferredConstrainedLayoutProps, type InferredDiodeProps, type InferredFuseProps, type InferredHoleProps, type InferredSchematicArcProps, type InferredSchematicBoxProps, type InferredSchematicCircleProps, type InferredSchematicLineProps, type InferredSchematicPathProps, type InferredSchematicRectProps, type InferredSchematicSectionProps, type InferredSchematicTextProps, type InferredSmtPadProps, type InferredSolderPasteProps, type InferredSwitchProps, type InferredTestpointProps, type InferredViaProps, type InterconnectProps, type JlcpcbAutocompleteStringPath, type JlcpcbKnownPartNumber, type JumperProps, type KicadAt, type KicadAutocompleteStringPath, type KicadEffects, type KicadFont, type KicadFootprintAttributes, type KicadFootprintMetadata, type KicadFootprintModel, type KicadFootprintPad, type KicadFootprintProperties, type KicadPath, type KicadPinElectricalType, type KicadPinGraphicStyle, type KicadPinMetadata, type KicadProperty, type KicadSymbolEffects, type KicadSymbolMetadata, type KicadSymbolPinNames, type KicadSymbolPinNumbers, type KicadSymbolProperties, type KicadSymbolProperty, type LayoutConfig, type LedPinLabels, type LedProps, type ManualEditEvent, type ManualEditEventInput, type ManualEditsFile, type ManualEditsFileInput, type ManualPcbPlacement, type ManualPcbPlacementInput, type ManualSchematicPlacement, type ManualSchematicPlacementInput, type ManualTraceHint, type ManualTraceHintInput, type MosfetPinLabels, type MosfetProps, type MountedBoardProps, type NetAliasProps, type NetLabelProps, type NetProps, type NonSubcircuitGroupProps, type OpAmpPinLabels, type OpAmpProps, type OvalHoleProps, type OvalPlatedHoleProps, type PanelProps, type PartsEngine, type PcbKeepoutProps, type PcbLayoutProps, type PcbNoteDimensionProps, type PcbNoteDimensionPropsInput, type PcbNoteLineProps, type PcbNoteLinePropsInput, type PcbNotePathProps, type PcbNotePathPropsInput, type PcbNoteRectProps, type PcbNoteRectPropsInput, type PcbNoteTextProps, type PcbNoteTextPropsInput, type PcbPositionMode, type PcbRouteCache, type PcbSameXConstraint, type PcbSameYConstraint, type PcbStyle, type PcbSx, type PcbSxSelector, type PcbSxValue, type PcbTraceProps, type PcbXDistConstraint, type PcbYDistConstraint, type PillHoleProps, type PillPlatedHoleProps, type PillSmtPadProps, type PillWithRectPadPlatedHoleProps, type PinAttributeMap, type PinCapability, type PinCompatibleVariant, type PinHeaderProps, type PinLabelFromPinLabelMap, type PinLabelsProp, type PinSideDefinition, type PinSideDefinitionInput, type PinVariant, type PinoutProps, type PlatedHoleProps, type PlatformConfig, type PolygonCutoutProps, type PolygonSmtPadProps, type PortHints, type PortProps, type PositionMode, type PotentiometerPinLabels, type PotentiometerPinVariant, type PotentiometerProps, type PowerSourceProps, type ProjectConfig, type PushButtonProps, type RectCutoutProps, type RectHoleProps, type RectSmtPadProps, type RectSolderPasteProps, type ResistorPinLabels, type ResistorProps, type ResonatorPinVariant, type ResonatorProps, type RotatedRectSmtPadProps, type RoutingTolerances, type SchStyle, type SchematicArcProps, type SchematicBoxProps, type SchematicCellProps, type SchematicCircleProps, type SchematicLineProps, type SchematicOrientation, type SchematicPathProps, type SchematicPinArrangement, type SchematicPinArrangementWithPinCounts, type SchematicPinArrangementWithSides, type SchematicPinArrangementWithSizes, type SchematicPinLabel, type SchematicPinStyle, type SchematicPortArrangement, type SchematicPortArrangementWithPinCounts, type SchematicPortArrangementWithSides, type SchematicPortArrangementWithSizes, type SchematicRectProps, type SchematicRowProps, type SchematicSectionProps, type SchematicSymbolSize, type SchematicTableProps, type SchematicTextProps, type SelectionResult, type SelectionResultComponent, type SelectionResultNet, type SelectionResultPort, type Selectors, type SilkscreenCircleProps, type SilkscreenGraphicProps, type SilkscreenLineProps, type SilkscreenPathProps, type SilkscreenRectProps, type SilkscreenTextProps, type SimpleRouteJson, type SmtPadProps, type SolderJumperProps, type SolderPasteProps, type SpiceEngine, type SpiceEngineSimulationResult, type SpiceModelElement, type SpiceModelProps, type SpiceOptions, type StampboardProps, type SubcircuitGroupProps, type SubcircuitGroupPropsWithBool, type SubcircuitProps, type SubpanelProps, type SupplierName, type SupplierPartNumbers, type SupplierProps, type SwitchProps, type SymbolProp, type SymbolProps, type SymbolPropsInput, type TestpointConnections, type TestpointPinLabels, type TestpointProps, type ToolingrailProps, type TraceHintProps, type TraceProps, type TransistorPinLabels, type TransistorProps, type ViaProps, type VoltageProbeDisplayOptions, type VoltageProbeProps, type VoltageSourcePinLabels, type VoltageSourceProps, type WaveShape, ammeterDisplayOptions, ammeterPinLabels, ammeterPins, ammeterProps, analogSimulationProps, autorouterConfig, autorouterEffortLevel, autorouterPreset, autorouterProp, autoroutingPhaseProps, baseGroupProps, base_manual_edit_event, batteryPins, batteryProps, boardProps, border, breakoutPointProps, breakoutProps, bugProps, cadModelAxisDirection, cadModelAxisDirections, cadModelBase, cadModelGlb, cadModelGltf, cadModelJscad, cadModelObj, cadModelProp, cadModelStep, cadModelStl, cadModelWrl, cadassemblyProps, cadmodelProps, capacitorPinLabels, capacitorPins, capacitorProps, chipProps, circleCutoutProps, circleSmtPadProps, circleSolderPasteProps, commonComponentProps, commonLayoutProps, componentProps, connectorProps, constrainedLayoutProps, constraintProps, copperPourProps, copperTextProps, courtyardCircleProps, courtyardOutlineProps, courtyardPillProps, courtyardRectProps, crystalPins, crystalProps, currentSourcePinLabels, currentSourcePins, currentSourceProps, customDrcCheckFn, cutoutProps, diodePins, diodeProps, direction, directionAlongEdge, distanceOrMultiplier, drcCheckProps, edit_component_location_event, edit_pcb_component_location_event, edit_pcb_group_location_event, edit_schematic_component_location_event, edit_schematic_group_location_event, edit_trace_hint_event, explicitPinSideDefinition, fabricationNoteDimensionProps, fabricationNotePathProps, fabricationNoteRectProps, fabricationNoteTextProps, fiducialProps, footprintInsertionDirection, footprintProp, footprintProps, footprinterStringExamples, fusePinLabels, fuseProps, groupProps, holeProps, inductorPins, inductorProps, interconnectProps, jumperProps, kicadAt, kicadEffects, kicadFont, kicadFootprintAttributes, kicadFootprintKeys, kicadFootprintMetadata, kicadFootprintModel, kicadFootprintPad, kicadFootprintProperties, kicadFootprintStrings, kicadPinElectricalType, kicadPinGraphicStyle, kicadPinMetadata, kicadProperty, kicadSymbolEffects, kicadSymbolMetadata, kicadSymbolPinNames, kicadSymbolPinNumbers, kicadSymbolProperties, kicadSymbolProperty, layoutConfig, ledPins, ledProps, lrPins, lrPolarPins, manual_edit_event, manual_edits_file, manual_pcb_placement, manual_schematic_placement, manual_trace_hint, mosfetPins, mosfetProps, mountedboardProps, netAliasProps, netLabelProps, netProps, ninePointAnchor, opampPinLabels, opampPins, opampProps, panelProps, partsEngine, pcbKeepoutProps, pcbLayoutProps, pcbNoteDimensionProps, pcbNoteLineProps, pcbNotePathProps, pcbNoteRectProps, pcbNoteTextProps, pcbSameXConstraintProps, pcbSameYConstraintProps, pcbStyle, pcbSx, pcbSxValue, pcbTraceProps, pcbXDistConstraintProps, pcbYDistConstraintProps, pillSmtPadProps, pinAttributeMap, pinCapability, pinCompatibleVariant, pinHeaderProps, pinLabelsProp, pinoutProps, platedHoleProps, platformConfig, point3, polygonCutoutProps, polygonSmtPadProps, portHints, portProps, portRef, potentiometerPinLabels, potentiometerProps, powerSourceProps, projectConfig, pushButtonProps, rectCutoutProps, rectSmtPadProps, rectSolderPasteProps, resistorPinLabels, resistorPins, resistorProps, resonatorProps, rotatedRectSmtPadProps, rotationPoint3, routeHintPointProps, routingTolerances, schStyle, schematicArcProps, schematicBoxProps, schematicCellProps, schematicCircleProps, schematicLineProps, schematicOrientation, schematicPathProps, schematicPinArrangement, schematicPinLabel, schematicPinStyle, schematicPortArrangement, schematicRectProps, schematicRowProps, schematicSectionProps, schematicSymbolSize, schematicTableProps, schematicTextProps, silkscreenCircleProps, silkscreenGraphicProps, silkscreenLineProps, silkscreenPathProps, silkscreenRectProps, silkscreenTextProps, smtPadProps, solderPasteProps, solderjumperProps, spicemodelProps, stampboardProps, subcircuitGroupProps, subcircuitGroupPropsWithBool, subcircuitProps, subpanelProps, supplierProps, switchProps, symbolProp, symbolProps, testpointPins, testpointProps, toolingrailProps, traceHintProps, traceProps, transistorPins, transistorPinsLabels, transistorProps, viaProps, voltageProbeProps, voltageSourcePinLabels, voltageSourcePins, voltageSourceProps };
190563
+ export { type AmmeterPinLabels, type AmmeterProps, type AnalogSimulationProps, type AutocompleteString, type AutorouterConfig, type AutorouterDefinition, type AutorouterInstance, type AutorouterPreset, type AutorouterProp, type AutoroutingPhaseProps, type BaseGroupProps, type BaseManualEditEvent, type BaseManualEditEventInput, type BasicFootprint, type BatteryPinLabels, type BatteryProps, type BoardColor, type BoardColorPreset, type BoardProps, type Border, type BreakoutPointProps, type BreakoutProps, type CadAssemblyProps, type CadAssemblyPropsInput, type CadModelAxisDirection, type CadModelBase, type CadModelGlb, type CadModelGltf, type CadModelJscad, type CadModelObj, type CadModelProp, type CadModelProps, type CadModelPropsInput, type CadModelStep, type CadModelStl, type CadModelWrl, type CapacitorPinLabels, type CapacitorProps, type ChipConnections, type ChipPinLabels, type ChipProps, type ChipPropsSU, type CircleCutoutProps, type CircleHoleProps, type CirclePlatedHoleProps, type CircleSmtPadProps, type CircleSolderPasteProps, type CircuitJson, type CircularHoleWithRectPlatedProps, type CommonComponentProps, type CommonLayoutProps, type ComponentProps, type ConnectionTarget, type Connections, type ConnectorProps, type ConstrainedLayoutProps, type ConstraintProps, type CopperPourProps, type CopperPourPropsInput, type CopperTextProps, type CourtyardCircleProps, type CourtyardOutlineProps, type CourtyardPillProps, type CourtyardRectProps, type CrystalPinLabels, type CrystalProps, type CurrentSourcePinLabels, type CurrentSourceProps, type CustomDrcCheckContext, type CustomDrcCheckFn, type CustomDrcCheckInput, type CustomDrcConnectable, type CustomDrcSelect, type CustomDrcSelectAll, type CutoutProps, type CutoutPropsInput, type DiodePinLabels, type DiodeProps, type Direction, type DirectionAlongEdge, type DrcCheckProps, type EditPcbComponentLocationEvent, type EditPcbComponentLocationEventInput, type EditPcbGroupLocationEvent, type EditPcbGroupLocationEventInput, type EditSchematicComponentLocationEvent, type EditSchematicComponentLocationEventInput, type EditSchematicGroupLocationEvent, type EditSchematicGroupLocationEventInput, type EditTraceHintEvent, type EditTraceHintEventInput, type FabricationNoteDimensionProps, type FabricationNoteDimensionPropsInput, type FabricationNotePathProps, type FabricationNoteRectProps, type FabricationNoteTextProps, type FabricationNoteTextPropsInput, type FiducialProps, type FootprintFileParserEntry, type FootprintInsertionDirection, type FootprintLibraryResult, type FootprintProp, type FootprintProps, type FootprintPropsInput, type FootprintSoupElements, type FootprinterAutocompleteString, type FootprinterStringExample, type FusePinLabels, type FuseProps, type GroupProps, type HoleProps, type HoleWithPolygonPadPlatedHoleProps, type InductorPinLabels, type InductorProps, type InferredChipProps, type InferredConstrainedLayoutProps, type InferredDiodeProps, type InferredFuseProps, type InferredHoleProps, type InferredSchematicArcProps, type InferredSchematicBoxProps, type InferredSchematicCircleProps, type InferredSchematicLineProps, type InferredSchematicPathProps, type InferredSchematicRectProps, type InferredSchematicSectionProps, type InferredSchematicTextProps, type InferredSmtPadProps, type InferredSolderPasteProps, type InferredSwitchProps, type InferredTestpointProps, type InferredViaProps, type InterconnectProps, type JlcpcbAutocompleteStringPath, type JlcpcbKnownPartNumber, type JumperProps, type KicadAt, type KicadAutocompleteStringPath, type KicadEffects, type KicadFont, type KicadFootprintAttributes, type KicadFootprintMetadata, type KicadFootprintModel, type KicadFootprintPad, type KicadFootprintProperties, type KicadPath, type KicadPinElectricalType, type KicadPinGraphicStyle, type KicadPinMetadata, type KicadProperty, type KicadSymbolEffects, type KicadSymbolMetadata, type KicadSymbolPinNames, type KicadSymbolPinNumbers, type KicadSymbolProperties, type KicadSymbolProperty, type LayoutConfig, type LedPinLabels, type LedProps, type ManualEditEvent, type ManualEditEventInput, type ManualEditsFile, type ManualEditsFileInput, type ManualPcbPlacement, type ManualPcbPlacementInput, type ManualSchematicPlacement, type ManualSchematicPlacementInput, type ManualTraceHint, type ManualTraceHintInput, type MosfetPinLabels, type MosfetProps, type MountedBoardProps, type NetAliasProps, type NetLabelProps, type NetProps, type NonSubcircuitGroupProps, type OpAmpPinLabels, type OpAmpProps, type OvalHoleProps, type OvalPlatedHoleProps, type PanelProps, type PartsEngine, type PcbKeepoutProps, type PcbLayoutProps, type PcbNoteDimensionProps, type PcbNoteDimensionPropsInput, type PcbNoteLineProps, type PcbNoteLinePropsInput, type PcbNotePathProps, type PcbNotePathPropsInput, type PcbNoteRectProps, type PcbNoteRectPropsInput, type PcbNoteTextProps, type PcbNoteTextPropsInput, type PcbPositionMode, type PcbRouteCache, type PcbSameXConstraint, type PcbSameYConstraint, type PcbStyle, type PcbSx, type PcbSxSelector, type PcbSxValue, type PcbTraceProps, type PcbXDistConstraint, type PcbYDistConstraint, type PillHoleProps, type PillPlatedHoleProps, type PillSmtPadProps, type PillWithRectPadPlatedHoleProps, type PinAttributeMap, type PinCapability, type PinCompatibleVariant, type PinHeaderProps, type PinLabelFromPinLabelMap, type PinLabelsProp, type PinSideDefinition, type PinSideDefinitionInput, type PinVariant, type PinoutProps, type PlatedHoleProps, type PlatformConfig, type PolygonCutoutProps, type PolygonSmtPadProps, type PortHints, type PortProps, type PositionMode, type PotentiometerPinLabels, type PotentiometerPinVariant, type PotentiometerProps, type PowerSourceProps, type ProjectConfig, type PushButtonProps, type RectCutoutProps, type RectHoleProps, type RectSmtPadProps, type RectSolderPasteProps, type ResistorPinLabels, type ResistorProps, type ResonatorPinVariant, type ResonatorProps, type RotatedRectSmtPadProps, type RoutingTolerances, type SchStyle, type SchematicArcProps, type SchematicBoxProps, type SchematicCellProps, type SchematicCircleProps, type SchematicLineProps, type SchematicOrientation, type SchematicPathProps, type SchematicPinArrangement, type SchematicPinArrangementWithPinCounts, type SchematicPinArrangementWithSides, type SchematicPinArrangementWithSizes, type SchematicPinLabel, type SchematicPinStyle, type SchematicPortArrangement, type SchematicPortArrangementWithPinCounts, type SchematicPortArrangementWithSides, type SchematicPortArrangementWithSizes, type SchematicRectProps, type SchematicRowProps, type SchematicSectionProps, type SchematicSymbolSize, type SchematicTableProps, type SchematicTextProps, type SelectionResult, type SelectionResultComponent, type SelectionResultNet, type SelectionResultPort, type Selectors, type SilkscreenCircleProps, type SilkscreenGraphicProps, type SilkscreenLineProps, type SilkscreenPathProps, type SilkscreenRectProps, type SilkscreenTextProps, type SimpleRouteJson, type SmtPadProps, type SolderJumperProps, type SolderPasteProps, type SpiceEngine, type SpiceEngineSimulationResult, type SpiceModelElement, type SpiceModelProps, type SpiceOptions, type StampboardProps, type SubcircuitGroupProps, type SubcircuitGroupPropsWithBool, type SubcircuitProps, type SubpanelProps, type SupplierName, type SupplierPartNumbers, type SupplierProps, type SwitchProps, type SymbolProp, type SymbolProps, type SymbolPropsInput, type TestpointConnections, type TestpointPinLabels, type TestpointProps, type ToolingrailProps, type TraceHintProps, type TraceProps, type TransistorPinLabels, type TransistorProps, type ViaProps, type VoltageProbeProps, type VoltageSourcePinLabels, type VoltageSourceProps, type WaveShape, ammeterPinLabels, ammeterPins, ammeterProps, analogSimulationProps, autorouterConfig, autorouterEffortLevel, autorouterPreset, autorouterProp, autoroutingPhaseProps, baseGroupProps, base_manual_edit_event, batteryPins, batteryProps, boardProps, border, breakoutPointProps, breakoutProps, bugProps, cadModelAxisDirection, cadModelAxisDirections, cadModelBase, cadModelGlb, cadModelGltf, cadModelJscad, cadModelObj, cadModelProp, cadModelStep, cadModelStl, cadModelWrl, cadassemblyProps, cadmodelProps, capacitorPinLabels, capacitorPins, capacitorProps, chipProps, circleCutoutProps, circleSmtPadProps, circleSolderPasteProps, commonComponentProps, commonLayoutProps, componentProps, connectorProps, constrainedLayoutProps, constraintProps, copperPourProps, copperTextProps, courtyardCircleProps, courtyardOutlineProps, courtyardPillProps, courtyardRectProps, crystalPins, crystalProps, currentSourcePinLabels, currentSourcePins, currentSourceProps, customDrcCheckFn, cutoutProps, diodePins, diodeProps, direction, directionAlongEdge, distanceOrMultiplier, drcCheckProps, edit_component_location_event, edit_pcb_component_location_event, edit_pcb_group_location_event, edit_schematic_component_location_event, edit_schematic_group_location_event, edit_trace_hint_event, explicitPinSideDefinition, fabricationNoteDimensionProps, fabricationNotePathProps, fabricationNoteRectProps, fabricationNoteTextProps, fiducialProps, footprintInsertionDirection, footprintProp, footprintProps, footprinterStringExamples, fusePinLabels, fuseProps, groupProps, holeProps, inductorPins, inductorProps, interconnectProps, jumperProps, kicadAt, kicadEffects, kicadFont, kicadFootprintAttributes, kicadFootprintKeys, kicadFootprintMetadata, kicadFootprintModel, kicadFootprintPad, kicadFootprintProperties, kicadFootprintStrings, kicadPinElectricalType, kicadPinGraphicStyle, kicadPinMetadata, kicadProperty, kicadSymbolEffects, kicadSymbolMetadata, kicadSymbolPinNames, kicadSymbolPinNumbers, kicadSymbolProperties, kicadSymbolProperty, layoutConfig, ledPins, ledProps, lrPins, lrPolarPins, manual_edit_event, manual_edits_file, manual_pcb_placement, manual_schematic_placement, manual_trace_hint, mosfetPins, mosfetProps, mountedboardProps, netAliasProps, netLabelProps, netProps, ninePointAnchor, opampPinLabels, opampPins, opampProps, panelProps, partsEngine, pcbKeepoutProps, pcbLayoutProps, pcbNoteDimensionProps, pcbNoteLineProps, pcbNotePathProps, pcbNoteRectProps, pcbNoteTextProps, pcbSameXConstraintProps, pcbSameYConstraintProps, pcbStyle, pcbSx, pcbSxValue, pcbTraceProps, pcbXDistConstraintProps, pcbYDistConstraintProps, pillSmtPadProps, pinAttributeMap, pinCapability, pinCompatibleVariant, pinHeaderProps, pinLabelsProp, pinoutProps, platedHoleProps, platformConfig, point3, polygonCutoutProps, polygonSmtPadProps, portHints, portProps, portRef, potentiometerPinLabels, potentiometerProps, powerSourceProps, projectConfig, pushButtonProps, rectCutoutProps, rectSmtPadProps, rectSolderPasteProps, resistorPinLabels, resistorPins, resistorProps, resonatorProps, rotatedRectSmtPadProps, rotationPoint3, routeHintPointProps, routingTolerances, schStyle, schematicArcProps, schematicBoxProps, schematicCellProps, schematicCircleProps, schematicLineProps, schematicOrientation, schematicPathProps, schematicPinArrangement, schematicPinLabel, schematicPinStyle, schematicPortArrangement, schematicRectProps, schematicRowProps, schematicSectionProps, schematicSymbolSize, schematicTableProps, schematicTextProps, silkscreenCircleProps, silkscreenGraphicProps, silkscreenLineProps, silkscreenPathProps, silkscreenRectProps, silkscreenTextProps, smtPadProps, solderPasteProps, solderjumperProps, spicemodelProps, stampboardProps, subcircuitGroupProps, subcircuitGroupPropsWithBool, subcircuitProps, subpanelProps, supplierProps, switchProps, symbolProp, symbolProps, testpointPins, testpointProps, toolingrailProps, traceHintProps, traceProps, transistorPins, transistorPinsLabels, transistorProps, viaProps, voltageProbeProps, voltageSourcePinLabels, voltageSourcePins, voltageSourceProps };
package/dist/index.js CHANGED
@@ -17213,6 +17213,8 @@ var pcbPathPoint = point.extend({
17213
17213
  var pcbPath = z64.array(z64.union([pcbPathPoint, z64.string()]));
17214
17214
  var baseTraceProps = z64.object({
17215
17215
  key: z64.string().optional(),
17216
+ name: z64.string().optional(),
17217
+ displayName: z64.string().optional(),
17216
17218
  thickness: distance18.optional(),
17217
17219
  width: distance18.optional().describe("Alias for trace thickness"),
17218
17220
  schematicRouteHints: z64.array(point).optional(),
@@ -17978,12 +17980,10 @@ var voltageProbeProps = commonComponentProps.omit({ name: true }).extend({
17978
17980
  connectsTo: z102.string(),
17979
17981
  referenceTo: z102.string().optional(),
17980
17982
  color: z102.string().optional(),
17981
- display: z102.object({
17982
- label: z102.string().optional(),
17983
- center: z102.number().optional(),
17984
- offsetDivs: z102.number().optional(),
17985
- unitsPerDiv: z102.number().optional()
17986
- }).optional()
17983
+ graphDisplayName: z102.string().optional(),
17984
+ graphCenter: z102.number().optional(),
17985
+ graphOffsetDivs: z102.number().optional(),
17986
+ graphUnitsPerDiv: z102.number().optional()
17987
17987
  });
17988
17988
  expectTypesMatch(true);
17989
17989
 
@@ -17993,19 +17993,16 @@ var ammeterPinLabels = ["pin1", "pin2", "pos", "neg"];
17993
17993
  var hasAmmeterConnectionPair = (connections) => {
17994
17994
  return connections.pos !== void 0 && connections.neg !== void 0 || connections.pin1 !== void 0 && connections.pin2 !== void 0;
17995
17995
  };
17996
- var ammeterDisplayOptions = z103.object({
17997
- label: z103.string().optional(),
17998
- center: z103.number().optional(),
17999
- offsetDivs: z103.number().optional(),
18000
- unitsPerDiv: z103.number().optional()
18001
- });
18002
17996
  var ammeterProps = commonComponentProps.extend({
18003
17997
  connections: createConnectionsProp(ammeterPinLabels).refine(
18004
17998
  hasAmmeterConnectionPair,
18005
17999
  "Ammeter connections must include either pos/neg or pin1/pin2"
18006
18000
  ),
18007
18001
  color: z103.string().optional(),
18008
- display: ammeterDisplayOptions.optional()
18002
+ graphDisplayName: z103.string().optional(),
18003
+ graphCenter: z103.number().optional(),
18004
+ graphOffsetDivs: z103.number().optional(),
18005
+ graphUnitsPerDiv: z103.number().optional()
18009
18006
  });
18010
18007
  var ammeterPins = ammeterPinLabels;
18011
18008
  expectTypesMatch(true);
@@ -18548,7 +18545,6 @@ var projectConfig = platformConfigObject.pick({
18548
18545
  });
18549
18546
  expectTypesMatch(true);
18550
18547
  export {
18551
- ammeterDisplayOptions,
18552
18548
  ammeterPinLabels,
18553
18549
  ammeterPins,
18554
18550
  ammeterProps,