@tscircuit/props 0.0.427 → 0.0.428
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 +6 -0
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/lib/components/copper-text.ts +2 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -62904,6 +62904,8 @@ declare const copperTextProps: z.ZodObject<{
|
|
|
62904
62904
|
}>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
62905
62905
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
62906
62906
|
}>, "many">>;
|
|
62907
|
+
knockout: z.ZodOptional<z.ZodBoolean>;
|
|
62908
|
+
mirrored: z.ZodOptional<z.ZodBoolean>;
|
|
62907
62909
|
}, "strip", z.ZodTypeAny, {
|
|
62908
62910
|
anchorAlignment: "top_left" | "top_center" | "top_right" | "center_left" | "center" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right";
|
|
62909
62911
|
text: string;
|
|
@@ -62940,6 +62942,8 @@ declare const copperTextProps: z.ZodObject<{
|
|
|
62940
62942
|
layers?: ("top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6")[] | undefined;
|
|
62941
62943
|
font?: "tscircuit2024" | undefined;
|
|
62942
62944
|
fontSize?: number | undefined;
|
|
62945
|
+
knockout?: boolean | undefined;
|
|
62946
|
+
mirrored?: boolean | undefined;
|
|
62943
62947
|
}, {
|
|
62944
62948
|
text: string;
|
|
62945
62949
|
pcbX?: string | number | undefined;
|
|
@@ -62980,6 +62984,8 @@ declare const copperTextProps: z.ZodObject<{
|
|
|
62980
62984
|
anchorAlignment?: "top_left" | "top_center" | "top_right" | "center_left" | "center" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right" | undefined;
|
|
62981
62985
|
font?: "tscircuit2024" | undefined;
|
|
62982
62986
|
fontSize?: string | number | undefined;
|
|
62987
|
+
knockout?: boolean | undefined;
|
|
62988
|
+
mirrored?: boolean | undefined;
|
|
62983
62989
|
}>;
|
|
62984
62990
|
type CopperTextProps = z.input<typeof copperTextProps>;
|
|
62985
62991
|
|
package/dist/index.js
CHANGED
|
@@ -2163,7 +2163,9 @@ var copperTextProps = pcbLayoutProps.extend({
|
|
|
2163
2163
|
anchorAlignment: ninePointAnchor.default("center"),
|
|
2164
2164
|
font: z100.enum(["tscircuit2024"]).optional(),
|
|
2165
2165
|
fontSize: length7.optional(),
|
|
2166
|
-
layers: z100.array(layer_ref8).optional()
|
|
2166
|
+
layers: z100.array(layer_ref8).optional(),
|
|
2167
|
+
knockout: z100.boolean().optional(),
|
|
2168
|
+
mirrored: z100.boolean().optional()
|
|
2167
2169
|
});
|
|
2168
2170
|
|
|
2169
2171
|
// lib/components/silkscreen-text.ts
|