@tscircuit/props 0.0.487 → 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 +5 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/lib/common/pcbSx.ts +3 -0
- package/package.json +1 -1
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
|
+
visibility?: "hidden" | "visible" | "inherit";
|
|
6011
6012
|
}
|
|
6012
6013
|
type PcbSxBase = Record<string, PcbSxValue>;
|
|
6013
6014
|
type PcbSx = PcbSxBase & {
|
|
@@ -6017,14 +6018,17 @@ 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
|
+
visibility: z.ZodOptional<z.ZodEnum<["hidden", "visible", "inherit"]>>;
|
|
6020
6022
|
}, "strip", z.ZodTypeAny, {
|
|
6021
6023
|
fontSize?: number | undefined;
|
|
6022
6024
|
pcbX?: string | number | undefined;
|
|
6023
6025
|
pcbY?: string | number | undefined;
|
|
6026
|
+
visibility?: "hidden" | "visible" | "inherit" | undefined;
|
|
6024
6027
|
}, {
|
|
6025
6028
|
fontSize?: string | number | undefined;
|
|
6026
6029
|
pcbX?: string | number | undefined;
|
|
6027
6030
|
pcbY?: string | number | undefined;
|
|
6031
|
+
visibility?: "hidden" | "visible" | "inherit" | undefined;
|
|
6028
6032
|
}>;
|
|
6029
6033
|
declare const pcbSx: z.ZodType<PcbSx>;
|
|
6030
6034
|
|
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
|
+
visibility: z12.enum(["hidden", "visible", "inherit"]).optional()
|
|
279
280
|
});
|
|
280
281
|
var pcbSx = z12.record(
|
|
281
282
|
z12.string(),
|