@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.
package/README.md CHANGED
@@ -218,9 +218,6 @@ export interface AmmeterProps<
218
218
  connections: Connections<AmmeterPinLabels>;
219
219
  color?: string;
220
220
  graphDisplayName?: string;
221
- graphCenter?: number;
222
- graphOffsetDivs?: number;
223
- graphUnitsPerDiv?: number;
224
221
  }
225
222
  ```
226
223
 
@@ -237,6 +234,7 @@ export interface AnalogSimulationProps {
237
234
  timePerStep?: number | string;
238
235
  spiceEngine?: AutocompleteString<"spicey" | "ngspice">;
239
236
  spiceOptions?: SpiceOptions;
237
+ graphIndependentAxes?: boolean;
240
238
  }
241
239
  ```
242
240
 
@@ -696,11 +694,7 @@ export type FabricationNoteRectProps = z.input<typeof fabricationNoteRectProps>;
696
694
  export interface FabricationNoteTextProps extends PcbLayoutProps {
697
695
  text: string;
698
696
  anchorAlignment?:
699
- | "center"
700
- | "top_left"
701
- | "top_right"
702
- | "bottom_left"
703
- | "bottom_right";
697
+ "center" | "top_left" | "top_right" | "bottom_left" | "bottom_right";
704
698
  font?: "tscircuit2024";
705
699
  fontSize?: string | number;
706
700
  color?: string;
@@ -1259,11 +1253,7 @@ export interface PcbNoteRectProps extends Omit<PcbLayoutProps, "pcbRotation"> {
1259
1253
  export interface PcbNoteTextProps extends PcbLayoutProps {
1260
1254
  text: string;
1261
1255
  anchorAlignment?:
1262
- | "center"
1263
- | "top_left"
1264
- | "top_right"
1265
- | "bottom_left"
1266
- | "bottom_right";
1256
+ "center" | "top_left" | "top_right" | "bottom_left" | "bottom_right";
1267
1257
  font?: "tscircuit2024";
1268
1258
  fontSize?: string | number;
1269
1259
  color?: string;
@@ -1988,9 +1978,6 @@ export interface VoltageProbeProps extends Omit<CommonComponentProps, "name"> {
1988
1978
  referenceTo?: string;
1989
1979
  color?: string;
1990
1980
  graphDisplayName?: string;
1991
- graphCenter?: number;
1992
- graphOffsetDivs?: number;
1993
- graphUnitsPerDiv?: number;
1994
1981
  }
1995
1982
  ```
1996
1983
 
@@ -2096,7 +2083,6 @@ export interface PlatformConfig {
2096
2083
  ```
2097
2084
 
2098
2085
  [Source](https://github.com/tscircuit/props/blob/main/lib/platformConfig.ts)
2099
-
2100
2086
  <!-- PLATFORM_CONFIG_END -->
2101
2087
 
2102
2088
  <!-- PROJECT_CONFIG_START -->
@@ -2120,5 +2106,4 @@ export interface ProjectConfig extends Pick<
2120
2106
  ```
2121
2107
 
2122
2108
  [Source](https://github.com/tscircuit/props/blob/main/lib/projectConfig.ts)
2123
-
2124
2109
  <!-- PROJECT_CONFIG_END -->
package/dist/index.d.ts CHANGED
@@ -121936,6 +121936,7 @@ interface AnalogSimulationProps {
121936
121936
  timePerStep?: number | string;
121937
121937
  spiceEngine?: AutocompleteString<"spicey" | "ngspice">;
121938
121938
  spiceOptions?: SpiceOptions;
121939
+ graphIndependentAxes?: boolean;
121939
121940
  }
121940
121941
  interface SpiceOptions {
121941
121942
  method?: "trap" | "gear";
@@ -121966,6 +121967,7 @@ declare const analogSimulationProps: z.ZodObject<{
121966
121967
  abstol?: string | number | undefined;
121967
121968
  vntol?: string | number | undefined;
121968
121969
  }>>;
121970
+ graphIndependentAxes: z.ZodOptional<z.ZodBoolean>;
121969
121971
  }, "strip", z.ZodTypeAny, {
121970
121972
  simulationType: "spice_transient_analysis";
121971
121973
  name?: string | undefined;
@@ -121979,6 +121981,7 @@ declare const analogSimulationProps: z.ZodObject<{
121979
121981
  abstol?: string | number | undefined;
121980
121982
  vntol?: string | number | undefined;
121981
121983
  } | undefined;
121984
+ graphIndependentAxes?: boolean | undefined;
121982
121985
  }, {
121983
121986
  name?: string | undefined;
121984
121987
  duration?: string | number | undefined;
@@ -121992,6 +121995,7 @@ declare const analogSimulationProps: z.ZodObject<{
121992
121995
  abstol?: string | number | undefined;
121993
121996
  vntol?: string | number | undefined;
121994
121997
  } | undefined;
121998
+ graphIndependentAxes?: boolean | undefined;
121995
121999
  }>;
121996
122000
 
121997
122001
  interface AutoroutingPhaseProps extends RoutingTolerances {
@@ -178637,9 +178641,6 @@ interface VoltageProbeProps extends Omit<CommonComponentProps, "name"> {
178637
178641
  referenceTo?: string;
178638
178642
  color?: string;
178639
178643
  graphDisplayName?: string;
178640
- graphCenter?: number;
178641
- graphOffsetDivs?: number;
178642
- graphUnitsPerDiv?: number;
178643
178644
  }
178644
178645
  declare const voltageProbeProps: z.ZodObject<Omit<{
178645
178646
  pcbX: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>]>>;
@@ -182006,9 +182007,6 @@ declare const voltageProbeProps: z.ZodObject<Omit<{
182006
182007
  referenceTo: z.ZodOptional<z.ZodString>;
182007
182008
  color: z.ZodOptional<z.ZodString>;
182008
182009
  graphDisplayName: z.ZodOptional<z.ZodString>;
182009
- graphCenter: z.ZodOptional<z.ZodNumber>;
182010
- graphOffsetDivs: z.ZodOptional<z.ZodNumber>;
182011
- graphUnitsPerDiv: z.ZodOptional<z.ZodNumber>;
182012
182010
  }, "strip", z.ZodTypeAny, {
182013
182011
  connectsTo: string;
182014
182012
  symbol?: SymbolProp | undefined;
@@ -182591,9 +182589,6 @@ declare const voltageProbeProps: z.ZodObject<Omit<{
182591
182589
  color?: string | undefined;
182592
182590
  referenceTo?: string | undefined;
182593
182591
  graphDisplayName?: string | undefined;
182594
- graphCenter?: number | undefined;
182595
- graphOffsetDivs?: number | undefined;
182596
- graphUnitsPerDiv?: number | undefined;
182597
182592
  }, {
182598
182593
  connectsTo: string;
182599
182594
  symbol?: SymbolProp | undefined;
@@ -183178,9 +183173,6 @@ declare const voltageProbeProps: z.ZodObject<Omit<{
183178
183173
  color?: string | undefined;
183179
183174
  referenceTo?: string | undefined;
183180
183175
  graphDisplayName?: string | undefined;
183181
- graphCenter?: number | undefined;
183182
- graphOffsetDivs?: number | undefined;
183183
- graphUnitsPerDiv?: number | undefined;
183184
183176
  }>;
183185
183177
 
183186
183178
  declare const ammeterPinLabels: readonly ["pin1", "pin2", "pos", "neg"];
@@ -183189,9 +183181,6 @@ interface AmmeterProps<PinLabel extends string = string> extends CommonComponent
183189
183181
  connections: Connections<AmmeterPinLabels>;
183190
183182
  color?: string;
183191
183183
  graphDisplayName?: string;
183192
- graphCenter?: number;
183193
- graphOffsetDivs?: number;
183194
- graphUnitsPerDiv?: number;
183195
183184
  }
183196
183185
  declare const ammeterProps: z.ZodObject<{
183197
183186
  pcbX: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>]>>;
@@ -186556,9 +186545,6 @@ declare const ammeterProps: z.ZodObject<{
186556
186545
  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[]>>>;
186557
186546
  color: z.ZodOptional<z.ZodString>;
186558
186547
  graphDisplayName: z.ZodOptional<z.ZodString>;
186559
- graphCenter: z.ZodOptional<z.ZodNumber>;
186560
- graphOffsetDivs: z.ZodOptional<z.ZodNumber>;
186561
- graphUnitsPerDiv: z.ZodOptional<z.ZodNumber>;
186562
186548
  }, "strip", z.ZodTypeAny, {
186563
186549
  name: string;
186564
186550
  connections: Partial<Record<"pin1" | "pin2" | "pos" | "neg", string | readonly string[] | string[]>>;
@@ -187140,9 +187126,6 @@ declare const ammeterProps: z.ZodObject<{
187140
187126
  schSheetName?: string | undefined;
187141
187127
  color?: string | undefined;
187142
187128
  graphDisplayName?: string | undefined;
187143
- graphCenter?: number | undefined;
187144
- graphOffsetDivs?: number | undefined;
187145
- graphUnitsPerDiv?: number | undefined;
187146
187129
  }, {
187147
187130
  name: string;
187148
187131
  connections: Partial<Record<"pin1" | "pin2" | "pos" | "neg", string | readonly string[] | string[]>>;
@@ -187726,9 +187709,6 @@ declare const ammeterProps: z.ZodObject<{
187726
187709
  schSheetName?: string | undefined;
187727
187710
  color?: string | undefined;
187728
187711
  graphDisplayName?: string | undefined;
187729
- graphCenter?: number | undefined;
187730
- graphOffsetDivs?: number | undefined;
187731
- graphUnitsPerDiv?: number | undefined;
187732
187712
  }>;
187733
187713
  declare const ammeterPins: readonly ["pin1", "pin2", "pos", "neg"];
187734
187714
 
package/dist/index.js CHANGED
@@ -17415,7 +17415,8 @@ var analogSimulationProps = z74.object({
17415
17415
  startTime: ms.optional(),
17416
17416
  timePerStep: ms.optional(),
17417
17417
  spiceEngine: spiceEngine.optional(),
17418
- spiceOptions: spiceOptions.optional()
17418
+ spiceOptions: spiceOptions.optional(),
17419
+ graphIndependentAxes: z74.boolean().optional()
17419
17420
  });
17420
17421
  expectTypesMatch(
17421
17422
  true
@@ -17989,10 +17990,7 @@ var voltageProbeProps = commonComponentProps.omit({ name: true }).extend({
17989
17990
  connectsTo: z102.string(),
17990
17991
  referenceTo: z102.string().optional(),
17991
17992
  color: z102.string().optional(),
17992
- graphDisplayName: z102.string().optional(),
17993
- graphCenter: z102.number().optional(),
17994
- graphOffsetDivs: z102.number().optional(),
17995
- graphUnitsPerDiv: z102.number().optional()
17993
+ graphDisplayName: z102.string().optional()
17996
17994
  });
17997
17995
  expectTypesMatch(true);
17998
17996
 
@@ -18008,10 +18006,7 @@ var ammeterProps = commonComponentProps.extend({
18008
18006
  "Ammeter connections must include either pos/neg or pin1/pin2"
18009
18007
  ),
18010
18008
  color: z103.string().optional(),
18011
- graphDisplayName: z103.string().optional(),
18012
- graphCenter: z103.number().optional(),
18013
- graphOffsetDivs: z103.number().optional(),
18014
- graphUnitsPerDiv: z103.number().optional()
18009
+ graphDisplayName: z103.string().optional()
18015
18010
  });
18016
18011
  var ammeterPins = ammeterPinLabels;
18017
18012
  expectTypesMatch(true);