@tscircuit/props 0.0.554 → 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
@@ -178435,13 +178435,10 @@ interface VoltageProbeProps extends Omit<CommonComponentProps, "name"> {
178435
178435
  connectsTo: string;
178436
178436
  referenceTo?: string;
178437
178437
  color?: string;
178438
- display?: VoltageProbeDisplayOptions;
178439
- }
178440
- interface VoltageProbeDisplayOptions {
178441
- label?: string;
178442
- center?: number;
178443
- offsetDivs?: number;
178444
- unitsPerDiv?: number;
178438
+ graphDisplayName?: string;
178439
+ graphCenter?: number;
178440
+ graphOffsetDivs?: number;
178441
+ graphUnitsPerDiv?: number;
178445
178442
  }
178446
178443
  declare const voltageProbeProps: z.ZodObject<Omit<{
178447
178444
  pcbX: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>]>>;
@@ -181806,22 +181803,10 @@ declare const voltageProbeProps: z.ZodObject<Omit<{
181806
181803
  connectsTo: z.ZodString;
181807
181804
  referenceTo: z.ZodOptional<z.ZodString>;
181808
181805
  color: z.ZodOptional<z.ZodString>;
181809
- display: z.ZodOptional<z.ZodObject<{
181810
- label: z.ZodOptional<z.ZodString>;
181811
- center: z.ZodOptional<z.ZodNumber>;
181812
- offsetDivs: z.ZodOptional<z.ZodNumber>;
181813
- unitsPerDiv: z.ZodOptional<z.ZodNumber>;
181814
- }, "strip", z.ZodTypeAny, {
181815
- center?: number | undefined;
181816
- label?: string | undefined;
181817
- offsetDivs?: number | undefined;
181818
- unitsPerDiv?: number | undefined;
181819
- }, {
181820
- center?: number | undefined;
181821
- label?: string | undefined;
181822
- offsetDivs?: number | undefined;
181823
- unitsPerDiv?: number | undefined;
181824
- }>>;
181806
+ graphDisplayName: z.ZodOptional<z.ZodString>;
181807
+ graphCenter: z.ZodOptional<z.ZodNumber>;
181808
+ graphOffsetDivs: z.ZodOptional<z.ZodNumber>;
181809
+ graphUnitsPerDiv: z.ZodOptional<z.ZodNumber>;
181825
181810
  }, "strip", z.ZodTypeAny, {
181826
181811
  connectsTo: string;
181827
181812
  symbol?: SymbolProp | undefined;
@@ -182402,12 +182387,10 @@ declare const voltageProbeProps: z.ZodObject<Omit<{
182402
182387
  schSectionName?: string | undefined;
182403
182388
  color?: string | undefined;
182404
182389
  referenceTo?: string | undefined;
182405
- display?: {
182406
- center?: number | undefined;
182407
- label?: string | undefined;
182408
- offsetDivs?: number | undefined;
182409
- unitsPerDiv?: number | undefined;
182410
- } | undefined;
182390
+ graphDisplayName?: string | undefined;
182391
+ graphCenter?: number | undefined;
182392
+ graphOffsetDivs?: number | undefined;
182393
+ graphUnitsPerDiv?: number | undefined;
182411
182394
  }, {
182412
182395
  connectsTo: string;
182413
182396
  symbol?: SymbolProp | undefined;
@@ -182990,43 +182973,22 @@ declare const voltageProbeProps: z.ZodObject<Omit<{
182990
182973
  schSectionName?: string | undefined;
182991
182974
  color?: string | undefined;
182992
182975
  referenceTo?: string | undefined;
182993
- display?: {
182994
- center?: number | undefined;
182995
- label?: string | undefined;
182996
- offsetDivs?: number | undefined;
182997
- unitsPerDiv?: number | undefined;
182998
- } | undefined;
182976
+ graphDisplayName?: string | undefined;
182977
+ graphCenter?: number | undefined;
182978
+ graphOffsetDivs?: number | undefined;
182979
+ graphUnitsPerDiv?: number | undefined;
182999
182980
  }>;
183000
182981
 
183001
182982
  declare const ammeterPinLabels: readonly ["pin1", "pin2", "pos", "neg"];
183002
182983
  type AmmeterPinLabels = (typeof ammeterPinLabels)[number];
183003
- interface AmmeterDisplayOptions {
183004
- label?: string;
183005
- center?: number;
183006
- offsetDivs?: number;
183007
- unitsPerDiv?: number;
183008
- }
183009
182984
  interface AmmeterProps<PinLabel extends string = string> extends CommonComponentProps<PinLabel> {
183010
182985
  connections: Connections<AmmeterPinLabels>;
183011
182986
  color?: string;
183012
- display?: AmmeterDisplayOptions;
182987
+ graphDisplayName?: string;
182988
+ graphCenter?: number;
182989
+ graphOffsetDivs?: number;
182990
+ graphUnitsPerDiv?: number;
183013
182991
  }
183014
- declare const ammeterDisplayOptions: z.ZodObject<{
183015
- label: z.ZodOptional<z.ZodString>;
183016
- center: z.ZodOptional<z.ZodNumber>;
183017
- offsetDivs: z.ZodOptional<z.ZodNumber>;
183018
- unitsPerDiv: z.ZodOptional<z.ZodNumber>;
183019
- }, "strip", z.ZodTypeAny, {
183020
- center?: number | undefined;
183021
- label?: string | undefined;
183022
- offsetDivs?: number | undefined;
183023
- unitsPerDiv?: number | undefined;
183024
- }, {
183025
- center?: number | undefined;
183026
- label?: string | undefined;
183027
- offsetDivs?: number | undefined;
183028
- unitsPerDiv?: number | undefined;
183029
- }>;
183030
182992
  declare const ammeterProps: z.ZodObject<{
183031
182993
  pcbX: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>]>>;
183032
182994
  pcbY: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>]>>;
@@ -186388,22 +186350,10 @@ declare const ammeterProps: z.ZodObject<{
186388
186350
  } & {
186389
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[]>>>;
186390
186352
  color: z.ZodOptional<z.ZodString>;
186391
- display: z.ZodOptional<z.ZodObject<{
186392
- label: z.ZodOptional<z.ZodString>;
186393
- center: z.ZodOptional<z.ZodNumber>;
186394
- offsetDivs: z.ZodOptional<z.ZodNumber>;
186395
- unitsPerDiv: z.ZodOptional<z.ZodNumber>;
186396
- }, "strip", z.ZodTypeAny, {
186397
- center?: number | undefined;
186398
- label?: string | undefined;
186399
- offsetDivs?: number | undefined;
186400
- unitsPerDiv?: number | undefined;
186401
- }, {
186402
- center?: number | undefined;
186403
- label?: string | undefined;
186404
- offsetDivs?: number | undefined;
186405
- unitsPerDiv?: number | undefined;
186406
- }>>;
186353
+ graphDisplayName: z.ZodOptional<z.ZodString>;
186354
+ graphCenter: z.ZodOptional<z.ZodNumber>;
186355
+ graphOffsetDivs: z.ZodOptional<z.ZodNumber>;
186356
+ graphUnitsPerDiv: z.ZodOptional<z.ZodNumber>;
186407
186357
  }, "strip", z.ZodTypeAny, {
186408
186358
  name: string;
186409
186359
  connections: Partial<Record<"pin1" | "pin2" | "pos" | "neg", string | readonly string[] | string[]>>;
@@ -186983,12 +186933,10 @@ declare const ammeterProps: z.ZodObject<{
186983
186933
  manufacturerPartNumber?: string | undefined;
186984
186934
  schSectionName?: string | undefined;
186985
186935
  color?: string | undefined;
186986
- display?: {
186987
- center?: number | undefined;
186988
- label?: string | undefined;
186989
- offsetDivs?: number | undefined;
186990
- unitsPerDiv?: number | undefined;
186991
- } | undefined;
186936
+ graphDisplayName?: string | undefined;
186937
+ graphCenter?: number | undefined;
186938
+ graphOffsetDivs?: number | undefined;
186939
+ graphUnitsPerDiv?: number | undefined;
186992
186940
  }, {
186993
186941
  name: string;
186994
186942
  connections: Partial<Record<"pin1" | "pin2" | "pos" | "neg", string | readonly string[] | string[]>>;
@@ -187570,12 +187518,10 @@ declare const ammeterProps: z.ZodObject<{
187570
187518
  manufacturerPartNumber?: string | undefined;
187571
187519
  schSectionName?: string | undefined;
187572
187520
  color?: string | undefined;
187573
- display?: {
187574
- center?: number | undefined;
187575
- label?: string | undefined;
187576
- offsetDivs?: number | undefined;
187577
- unitsPerDiv?: number | undefined;
187578
- } | undefined;
187521
+ graphDisplayName?: string | undefined;
187522
+ graphCenter?: number | undefined;
187523
+ graphOffsetDivs?: number | undefined;
187524
+ graphUnitsPerDiv?: number | undefined;
187579
187525
  }>;
187580
187526
  declare const ammeterPins: readonly ["pin1", "pin2", "pos", "neg"];
187581
187527
 
@@ -190614,4 +190560,4 @@ interface ProjectConfig extends Pick<PlatformConfig, "projectName" | "projectBas
190614
190560
  }
190615
190561
  declare const projectConfig: z.ZodType<ProjectConfig>;
190616
190562
 
190617
- 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
@@ -17980,12 +17980,10 @@ var voltageProbeProps = commonComponentProps.omit({ name: true }).extend({
17980
17980
  connectsTo: z102.string(),
17981
17981
  referenceTo: z102.string().optional(),
17982
17982
  color: z102.string().optional(),
17983
- display: z102.object({
17984
- label: z102.string().optional(),
17985
- center: z102.number().optional(),
17986
- offsetDivs: z102.number().optional(),
17987
- unitsPerDiv: z102.number().optional()
17988
- }).optional()
17983
+ graphDisplayName: z102.string().optional(),
17984
+ graphCenter: z102.number().optional(),
17985
+ graphOffsetDivs: z102.number().optional(),
17986
+ graphUnitsPerDiv: z102.number().optional()
17989
17987
  });
17990
17988
  expectTypesMatch(true);
17991
17989
 
@@ -17995,19 +17993,16 @@ var ammeterPinLabels = ["pin1", "pin2", "pos", "neg"];
17995
17993
  var hasAmmeterConnectionPair = (connections) => {
17996
17994
  return connections.pos !== void 0 && connections.neg !== void 0 || connections.pin1 !== void 0 && connections.pin2 !== void 0;
17997
17995
  };
17998
- var ammeterDisplayOptions = z103.object({
17999
- label: z103.string().optional(),
18000
- center: z103.number().optional(),
18001
- offsetDivs: z103.number().optional(),
18002
- unitsPerDiv: z103.number().optional()
18003
- });
18004
17996
  var ammeterProps = commonComponentProps.extend({
18005
17997
  connections: createConnectionsProp(ammeterPinLabels).refine(
18006
17998
  hasAmmeterConnectionPair,
18007
17999
  "Ammeter connections must include either pos/neg or pin1/pin2"
18008
18000
  ),
18009
18001
  color: z103.string().optional(),
18010
- display: ammeterDisplayOptions.optional()
18002
+ graphDisplayName: z103.string().optional(),
18003
+ graphCenter: z103.number().optional(),
18004
+ graphOffsetDivs: z103.number().optional(),
18005
+ graphUnitsPerDiv: z103.number().optional()
18011
18006
  });
18012
18007
  var ammeterPins = ammeterPinLabels;
18013
18008
  expectTypesMatch(true);
@@ -18550,7 +18545,6 @@ var projectConfig = platformConfigObject.pick({
18550
18545
  });
18551
18546
  expectTypesMatch(true);
18552
18547
  export {
18553
- ammeterDisplayOptions,
18554
18548
  ammeterPinLabels,
18555
18549
  ammeterPins,
18556
18550
  ammeterProps,