@tscircuit/props 0.0.551 → 0.0.553

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
@@ -220,6 +220,7 @@ export interface AmmeterProps<
220
220
 
221
221
  ```ts
222
222
  export interface AnalogSimulationProps {
223
+ name?: string;
223
224
  simulationType?: "spice_transient_analysis";
224
225
  duration?: number | string;
225
226
  startTime?: number | string;
package/dist/index.d.ts CHANGED
@@ -121750,6 +121750,7 @@ declare const subcircuitProps: z.ZodObject<{
121750
121750
  }>;
121751
121751
 
121752
121752
  interface AnalogSimulationProps {
121753
+ name?: string;
121753
121754
  simulationType?: "spice_transient_analysis";
121754
121755
  duration?: number | string;
121755
121756
  startTime?: number | string;
@@ -121764,6 +121765,7 @@ interface SpiceOptions {
121764
121765
  vntol?: number | string;
121765
121766
  }
121766
121767
  declare const analogSimulationProps: z.ZodObject<{
121768
+ name: z.ZodOptional<z.ZodString>;
121767
121769
  simulationType: z.ZodDefault<z.ZodLiteral<"spice_transient_analysis">>;
121768
121770
  duration: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
121769
121771
  startTime: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
@@ -121787,6 +121789,7 @@ declare const analogSimulationProps: z.ZodObject<{
121787
121789
  }>>;
121788
121790
  }, "strip", z.ZodTypeAny, {
121789
121791
  simulationType: "spice_transient_analysis";
121792
+ name?: string | undefined;
121790
121793
  duration?: number | undefined;
121791
121794
  startTime?: number | undefined;
121792
121795
  timePerStep?: number | undefined;
@@ -121798,6 +121801,7 @@ declare const analogSimulationProps: z.ZodObject<{
121798
121801
  vntol?: string | number | undefined;
121799
121802
  } | undefined;
121800
121803
  }, {
121804
+ name?: string | undefined;
121801
121805
  duration?: string | number | undefined;
121802
121806
  simulationType?: "spice_transient_analysis" | undefined;
121803
121807
  startTime?: string | number | undefined;
@@ -163903,7 +163907,7 @@ declare const pcbKeepoutProps: z.ZodUnion<[z.ZodObject<Omit<{
163903
163907
  }>]>;
163904
163908
  type PcbKeepoutProps = z.input<typeof pcbKeepoutProps>;
163905
163909
 
163906
- declare const courtyardRectProps: z.ZodObject<Omit<{
163910
+ declare const courtyardRectProps: z.ZodObject<{
163907
163911
  pcbX: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>]>>;
163908
163912
  pcbY: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>]>>;
163909
163913
  pcbLeftEdgeX: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>]>>;
@@ -163968,7 +163972,7 @@ declare const courtyardRectProps: z.ZodObject<Omit<{
163968
163972
  pcbSx: z.ZodOptional<z.ZodType<PcbSx, z.ZodTypeDef, PcbSx>>;
163969
163973
  pcbRelative: z.ZodOptional<z.ZodBoolean>;
163970
163974
  relative: z.ZodOptional<z.ZodBoolean>;
163971
- }, "pcbRotation"> & {
163975
+ } & {
163972
163976
  width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
163973
163977
  height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
163974
163978
  strokeWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
@@ -163988,6 +163992,7 @@ declare const courtyardRectProps: z.ZodObject<Omit<{
163988
163992
  pcbBottomEdgeY?: string | number | undefined;
163989
163993
  pcbOffsetX?: number | undefined;
163990
163994
  pcbOffsetY?: number | undefined;
163995
+ pcbRotation?: number | undefined;
163991
163996
  pcbPositionAnchor?: string | undefined;
163992
163997
  pcbPositionMode?: "relative_to_group_anchor" | "auto" | "relative_to_board_anchor" | "relative_to_component_anchor" | undefined;
163993
163998
  shouldBeOnEdgeOfBoard?: boolean | undefined;
@@ -164029,6 +164034,7 @@ declare const courtyardRectProps: z.ZodObject<Omit<{
164029
164034
  pcbBottomEdgeY?: string | number | undefined;
164030
164035
  pcbOffsetX?: string | number | undefined;
164031
164036
  pcbOffsetY?: string | number | undefined;
164037
+ pcbRotation?: string | number | undefined;
164032
164038
  pcbPositionAnchor?: string | undefined;
164033
164039
  pcbPositionMode?: "relative_to_group_anchor" | "auto" | "relative_to_board_anchor" | "relative_to_component_anchor" | undefined;
164034
164040
  shouldBeOnEdgeOfBoard?: boolean | undefined;
package/dist/index.js CHANGED
@@ -17398,6 +17398,7 @@ var spiceOptions = z74.object({
17398
17398
  vntol: z74.union([z74.number(), z74.string()]).optional()
17399
17399
  });
17400
17400
  var analogSimulationProps = z74.object({
17401
+ name: z74.string().optional(),
17401
17402
  simulationType: z74.literal("spice_transient_analysis").default("spice_transient_analysis"),
17402
17403
  duration: ms.optional(),
17403
17404
  startTime: ms.optional(),
@@ -17810,7 +17811,7 @@ var pcbKeepoutProps = z92.union([
17810
17811
  // lib/components/courtyard-rect.ts
17811
17812
  import { distance as distance26 } from "circuit-json";
17812
17813
  import { z as z93 } from "zod";
17813
- var courtyardRectProps = pcbLayoutProps.omit({ pcbRotation: true }).extend({
17814
+ var courtyardRectProps = pcbLayoutProps.extend({
17814
17815
  width: distance26,
17815
17816
  height: distance26,
17816
17817
  strokeWidth: distance26.optional(),