@tscircuit/props 0.0.398 → 0.0.399

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
@@ -581,6 +581,7 @@ export interface FabricationNoteTextProps extends PcbLayoutProps {
581
581
 
582
582
  ```ts
583
583
  export interface FootprintProps {
584
+ children?: any;
584
585
  /**
585
586
  * The layer that the footprint is designed for. If you set this to "top"
586
587
  * then it means the children were intended to represent the top layer. If
package/dist/index.d.ts CHANGED
@@ -36328,6 +36328,7 @@ declare const traceProps: z.ZodUnion<[z.ZodObject<{
36328
36328
  type TraceProps = z.input<typeof traceProps>;
36329
36329
 
36330
36330
  interface FootprintProps {
36331
+ children?: any;
36331
36332
  /**
36332
36333
  * The layer that the footprint is designed for. If you set this to "top"
36333
36334
  * then it means the children were intended to represent the top layer. If
@@ -36341,6 +36342,7 @@ interface FootprintProps {
36341
36342
  originalLayer?: LayerRef;
36342
36343
  }
36343
36344
  declare const footprintProps: z.ZodObject<{
36345
+ children: z.ZodOptional<z.ZodAny>;
36344
36346
  originalLayer: z.ZodOptional<z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
36345
36347
  name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
36346
36348
  }, "strip", z.ZodTypeAny, {
@@ -36351,8 +36353,10 @@ declare const footprintProps: z.ZodObject<{
36351
36353
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
36352
36354
  }>>>;
36353
36355
  }, "strip", z.ZodTypeAny, {
36356
+ children?: any;
36354
36357
  originalLayer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
36355
36358
  }, {
36359
+ children?: any;
36356
36360
  originalLayer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
36357
36361
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
36358
36362
  } | undefined;
package/dist/index.js CHANGED
@@ -1253,6 +1253,7 @@ var traceProps = z51.union([
1253
1253
  import { layer_ref as layer_ref4 } from "circuit-json";
1254
1254
  import { z as z52 } from "zod";
1255
1255
  var footprintProps = z52.object({
1256
+ children: z52.any().optional(),
1256
1257
  originalLayer: layer_ref4.default("top").optional()
1257
1258
  });
1258
1259
  expectTypesMatch(true);