@tscircuit/props 0.0.522 → 0.0.523

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/dist/index.d.ts CHANGED
@@ -184292,7 +184292,7 @@ declare const portProps: z.ZodObject<{
184292
184292
  layers: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
184293
184293
  schX: z.ZodOptional<z.ZodNumber>;
184294
184294
  schY: z.ZodOptional<z.ZodNumber>;
184295
- direction: z.ZodEnum<["up", "down", "left", "right"]>;
184295
+ direction: z.ZodOptional<z.ZodEnum<["up", "down", "left", "right"]>>;
184296
184296
  connectsTo: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
184297
184297
  kicadPinMetadata: z.ZodOptional<z.ZodObject<{
184298
184298
  electricalType: z.ZodOptional<z.ZodEnum<["input", "output", "bidirectional", "tri_state", "passive", "free", "unspecified", "power_in", "power_out", "open_collector", "open_emitter", "no_connect"]>>;
@@ -184316,7 +184316,6 @@ declare const portProps: z.ZodObject<{
184316
184316
  hasInversionCircle: z.ZodOptional<z.ZodBoolean>;
184317
184317
  }, "strip", z.ZodTypeAny, {
184318
184318
  name: string;
184319
- direction: "up" | "down" | "left" | "right";
184320
184319
  symbol?: SymbolProp | undefined;
184321
184320
  layer?: string | undefined;
184322
184321
  layers?: string[] | undefined;
@@ -184366,6 +184365,7 @@ declare const portProps: z.ZodObject<{
184366
184365
  defaultCapacitorOrientation?: "none" | "vertical" | undefined;
184367
184366
  } | undefined;
184368
184367
  schRelative?: boolean | undefined;
184368
+ direction?: "up" | "down" | "left" | "right" | undefined;
184369
184369
  connectsTo?: string | string[] | undefined;
184370
184370
  pinNumber?: number | undefined;
184371
184371
  schStemLength?: number | undefined;
@@ -184380,7 +184380,6 @@ declare const portProps: z.ZodObject<{
184380
184380
  hasInversionCircle?: boolean | undefined;
184381
184381
  }, {
184382
184382
  name: string;
184383
- direction: "up" | "down" | "left" | "right";
184384
184383
  symbol?: SymbolProp | undefined;
184385
184384
  layer?: string | undefined;
184386
184385
  layers?: string[] | undefined;
@@ -184430,6 +184429,7 @@ declare const portProps: z.ZodObject<{
184430
184429
  defaultCapacitorOrientation?: "none" | "vertical" | undefined;
184431
184430
  } | undefined;
184432
184431
  schRelative?: boolean | undefined;
184432
+ direction?: "up" | "down" | "left" | "right" | undefined;
184433
184433
  connectsTo?: string | string[] | undefined;
184434
184434
  pinNumber?: number | undefined;
184435
184435
  schStemLength?: number | undefined;
package/dist/index.js CHANGED
@@ -18208,7 +18208,7 @@ var portProps = commonLayoutProps.extend({
18208
18208
  layers: z119.array(z119.string()).optional(),
18209
18209
  schX: z119.number().optional(),
18210
18210
  schY: z119.number().optional(),
18211
- direction,
18211
+ direction: direction.optional(),
18212
18212
  connectsTo: z119.string().or(z119.array(z119.string())).optional(),
18213
18213
  kicadPinMetadata: kicadPinMetadata.optional(),
18214
18214
  hasInversionCircle: z119.boolean().optional()