@tscircuit/props 0.0.562 → 0.0.564

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.
@@ -15,9 +15,6 @@ export interface AmmeterProps<PinLabel extends string = string>
15
15
  connections: Connections<AmmeterPinLabels>
16
16
  color?: string
17
17
  graphDisplayName?: string
18
- graphCenter?: number
19
- graphOffsetDivs?: number
20
- graphUnitsPerDiv?: number
21
18
  }
22
19
 
23
20
  const hasAmmeterConnectionPair = (
@@ -36,9 +33,6 @@ export const ammeterProps = commonComponentProps.extend({
36
33
  ),
37
34
  color: z.string().optional(),
38
35
  graphDisplayName: z.string().optional(),
39
- graphCenter: z.number().optional(),
40
- graphOffsetDivs: z.number().optional(),
41
- graphUnitsPerDiv: z.number().optional(),
42
36
  })
43
37
 
44
38
  export const ammeterPins = ammeterPinLabels
@@ -11,6 +11,7 @@ export interface AnalogSimulationProps {
11
11
  timePerStep?: number | string
12
12
  spiceEngine?: AutocompleteString<"spicey" | "ngspice">
13
13
  spiceOptions?: SpiceOptions
14
+ graphIndependentAxes?: boolean
14
15
  }
15
16
 
16
17
  const spiceEngine = z.custom<AutocompleteString<"spicey" | "ngspice">>(
@@ -41,6 +42,7 @@ export const analogSimulationProps = z.object({
41
42
  timePerStep: ms.optional(),
42
43
  spiceEngine: spiceEngine.optional(),
43
44
  spiceOptions: spiceOptions.optional(),
45
+ graphIndependentAxes: z.boolean().optional(),
44
46
  })
45
47
 
46
48
  expectTypesMatch<AnalogSimulationProps, z.input<typeof analogSimulationProps>>(
@@ -11,9 +11,6 @@ export interface VoltageProbeProps extends Omit<CommonComponentProps, "name"> {
11
11
  referenceTo?: string
12
12
  color?: string
13
13
  graphDisplayName?: string
14
- graphCenter?: number
15
- graphOffsetDivs?: number
16
- graphUnitsPerDiv?: number
17
14
  }
18
15
 
19
16
  export const voltageProbeProps = commonComponentProps
@@ -24,9 +21,6 @@ export const voltageProbeProps = commonComponentProps
24
21
  referenceTo: z.string().optional(),
25
22
  color: z.string().optional(),
26
23
  graphDisplayName: z.string().optional(),
27
- graphCenter: z.number().optional(),
28
- graphOffsetDivs: z.number().optional(),
29
- graphUnitsPerDiv: z.number().optional(),
30
24
  })
31
25
 
32
26
  expectTypesMatch<VoltageProbeProps, z.input<typeof voltageProbeProps>>(true)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tscircuit/props",
3
- "version": "0.0.562",
3
+ "version": "0.0.564",
4
4
  "description": "Props for tscircuit builtin component types",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",