@tscircuit/props 0.0.487 → 0.0.488

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
@@ -6003,11 +6003,12 @@ declare const pcbStyle: z.ZodObject<{
6003
6003
  silkscreenTextVisibility?: "hidden" | "visible" | "inherit" | undefined;
6004
6004
  }>;
6005
6005
 
6006
- type PcbSxSelector = "& footprint[src^='kicad:'] silkscreentext" | "& silkscreentext";
6006
+ type PcbSxSelector = "& footprint[src^='kicad:'] silkscreentext" | "& silkscreentext" | "& fabricationnotetext";
6007
6007
  interface PcbSxValue {
6008
6008
  fontSize?: string | number;
6009
6009
  pcbX?: string | number;
6010
6010
  pcbY?: string | number;
6011
+ visible?: boolean;
6011
6012
  }
6012
6013
  type PcbSxBase = Record<string, PcbSxValue>;
6013
6014
  type PcbSx = PcbSxBase & {
@@ -6017,11 +6018,14 @@ declare const pcbSxValue: z.ZodObject<{
6017
6018
  fontSize: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
6018
6019
  pcbX: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>]>>;
6019
6020
  pcbY: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>]>>;
6021
+ visible: z.ZodOptional<z.ZodBoolean>;
6020
6022
  }, "strip", z.ZodTypeAny, {
6023
+ visible?: boolean | undefined;
6021
6024
  fontSize?: number | undefined;
6022
6025
  pcbX?: string | number | undefined;
6023
6026
  pcbY?: string | number | undefined;
6024
6027
  }, {
6028
+ visible?: boolean | undefined;
6025
6029
  fontSize?: string | number | undefined;
6026
6030
  pcbX?: string | number | undefined;
6027
6031
  pcbY?: string | number | undefined;
package/dist/index.js CHANGED
@@ -275,7 +275,8 @@ import { z as z12 } from "zod";
275
275
  var pcbSxValue = z12.object({
276
276
  fontSize: length2.optional(),
277
277
  pcbX: pcbCoordinate.optional(),
278
- pcbY: pcbCoordinate.optional()
278
+ pcbY: pcbCoordinate.optional(),
279
+ visible: z12.boolean().optional()
279
280
  });
280
281
  var pcbSx = z12.record(
281
282
  z12.string(),