@tscircuit/props 0.0.566 → 0.0.567

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
@@ -1848,6 +1848,7 @@ export type SubcircuitProps = SubcircuitGroupProps;
1848
1848
  ```ts
1849
1849
  export interface SwitchProps extends CommonComponentProps {
1850
1850
  type?: "spst" | "spdt" | "dpst" | "dpdt";
1851
+ pinLabels?: PinLabelsProp<SchematicPinLabel>;
1851
1852
  isNormallyClosed?: boolean;
1852
1853
  spdt?: boolean;
1853
1854
  spst?: boolean;
package/dist/index.d.ts CHANGED
@@ -151759,6 +151759,7 @@ type LedProps = z.input<typeof ledProps>;
151759
151759
 
151760
151760
  interface SwitchProps extends CommonComponentProps {
151761
151761
  type?: "spst" | "spdt" | "dpst" | "dpdt";
151762
+ pinLabels?: PinLabelsProp<SchematicPinLabel>;
151762
151763
  isNormallyClosed?: boolean;
151763
151764
  spdt?: boolean;
151764
151765
  spst?: boolean;
@@ -155137,6 +155138,7 @@ declare const switchProps: z.ZodEffects<z.ZodObject<{
155137
155138
  spdt: z.ZodOptional<z.ZodBoolean>;
155138
155139
  dpst: z.ZodOptional<z.ZodBoolean>;
155139
155140
  dpdt: z.ZodOptional<z.ZodBoolean>;
155141
+ pinLabels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodReadonly<z.ZodArray<z.ZodString, "many">>]>, z.ZodArray<z.ZodString, "many">]>>>;
155140
155142
  simSwitchFrequency: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
155141
155143
  simCloseAt: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
155142
155144
  simOpenAt: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
@@ -155724,6 +155726,7 @@ declare const switchProps: z.ZodEffects<z.ZodObject<{
155724
155726
  schSectionName?: string | undefined;
155725
155727
  schSheetName?: string | undefined;
155726
155728
  connections?: Record<string, string | readonly string[] | string[]> | undefined;
155729
+ pinLabels?: Record<string, string | readonly string[] | string[]> | undefined;
155727
155730
  spst?: boolean | undefined;
155728
155731
  spdt?: boolean | undefined;
155729
155732
  dpst?: boolean | undefined;
@@ -156315,6 +156318,7 @@ declare const switchProps: z.ZodEffects<z.ZodObject<{
156315
156318
  schSectionName?: string | undefined;
156316
156319
  schSheetName?: string | undefined;
156317
156320
  connections?: Partial<Record<string, string | string[] | readonly string[]>> | undefined;
156321
+ pinLabels?: Record<string, string | readonly string[] | string[]> | undefined;
156318
156322
  spst?: boolean | undefined;
156319
156323
  spdt?: boolean | undefined;
156320
156324
  dpst?: boolean | undefined;
@@ -156907,6 +156911,7 @@ declare const switchProps: z.ZodEffects<z.ZodObject<{
156907
156911
  schSectionName?: string | undefined;
156908
156912
  schSheetName?: string | undefined;
156909
156913
  connections?: Partial<Record<string, string | string[] | readonly string[]>> | undefined;
156914
+ pinLabels?: Record<string, string | readonly string[] | string[]> | undefined;
156910
156915
  spst?: boolean | undefined;
156911
156916
  spdt?: boolean | undefined;
156912
156917
  dpst?: boolean | undefined;
package/dist/index.js CHANGED
@@ -17646,6 +17646,7 @@ var switchProps = commonComponentProps.extend({
17646
17646
  spdt: z83.boolean().optional(),
17647
17647
  dpst: z83.boolean().optional(),
17648
17648
  dpdt: z83.boolean().optional(),
17649
+ pinLabels: pinLabelsProp.optional(),
17649
17650
  simSwitchFrequency: frequency3.optional(),
17650
17651
  simCloseAt: ms2.optional(),
17651
17652
  simOpenAt: ms2.optional(),