@tscircuit/props 0.0.384 → 0.0.385

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.js CHANGED
@@ -108,7 +108,15 @@ var footprintProp = z6.custom((v) => true);
108
108
  import { distance as distance3 } from "circuit-json";
109
109
  import { z as z7 } from "zod";
110
110
  var pcbStyle = z7.object({
111
- silkscreenFontSize: distance3.optional()
111
+ silkscreenFontSize: distance3.optional(),
112
+ silkscreenTextPosition: z7.union([
113
+ z7.enum(["centered", "outside", "none"]),
114
+ z7.object({
115
+ offsetX: z7.number(),
116
+ offsetY: z7.number()
117
+ })
118
+ ]).optional(),
119
+ silkscreenTextVisibility: z7.enum(["hidden", "visible", "inherit"]).optional()
112
120
  });
113
121
  expectTypesMatch(true);
114
122