@tscircuit/props 0.0.488 → 0.0.489

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
@@ -6008,7 +6008,7 @@ interface PcbSxValue {
6008
6008
  fontSize?: string | number;
6009
6009
  pcbX?: string | number;
6010
6010
  pcbY?: string | number;
6011
- visible?: boolean;
6011
+ visibility?: "hidden" | "visible" | "inherit";
6012
6012
  }
6013
6013
  type PcbSxBase = Record<string, PcbSxValue>;
6014
6014
  type PcbSx = PcbSxBase & {
@@ -6018,17 +6018,17 @@ declare const pcbSxValue: z.ZodObject<{
6018
6018
  fontSize: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
6019
6019
  pcbX: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>]>>;
6020
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>;
6021
+ visibility: z.ZodOptional<z.ZodEnum<["hidden", "visible", "inherit"]>>;
6022
6022
  }, "strip", z.ZodTypeAny, {
6023
- visible?: boolean | undefined;
6024
6023
  fontSize?: number | undefined;
6025
6024
  pcbX?: string | number | undefined;
6026
6025
  pcbY?: string | number | undefined;
6026
+ visibility?: "hidden" | "visible" | "inherit" | undefined;
6027
6027
  }, {
6028
- visible?: boolean | undefined;
6029
6028
  fontSize?: string | number | undefined;
6030
6029
  pcbX?: string | number | undefined;
6031
6030
  pcbY?: string | number | undefined;
6031
+ visibility?: "hidden" | "visible" | "inherit" | undefined;
6032
6032
  }>;
6033
6033
  declare const pcbSx: z.ZodType<PcbSx>;
6034
6034
 
package/dist/index.js CHANGED
@@ -276,7 +276,7 @@ var pcbSxValue = z12.object({
276
276
  fontSize: length2.optional(),
277
277
  pcbX: pcbCoordinate.optional(),
278
278
  pcbY: pcbCoordinate.optional(),
279
- visible: z12.boolean().optional()
279
+ visibility: z12.enum(["hidden", "visible", "inherit"]).optional()
280
280
  });
281
281
  var pcbSx = z12.record(
282
282
  z12.string(),