@tscircuit/props 0.0.374 → 0.0.375
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/README.md
CHANGED
|
@@ -518,6 +518,7 @@ export interface FabricationNoteDimensionProps
|
|
|
518
518
|
fontSize?: string | number;
|
|
519
519
|
color?: string;
|
|
520
520
|
arrowSize?: string | number;
|
|
521
|
+
units?: "in" | "mm";
|
|
521
522
|
}
|
|
522
523
|
```
|
|
523
524
|
|
|
@@ -908,6 +909,7 @@ export interface PcbNoteDimensionProps
|
|
|
908
909
|
fontSize?: string | number;
|
|
909
910
|
color?: string;
|
|
910
911
|
arrowSize?: string | number;
|
|
912
|
+
units?: "in" | "mm";
|
|
911
913
|
}
|
|
912
914
|
```
|
|
913
915
|
|
package/dist/index.d.ts
CHANGED
|
@@ -46520,6 +46520,7 @@ interface FabricationNoteDimensionProps extends Omit<PcbLayoutProps, "pcbX" | "p
|
|
|
46520
46520
|
fontSize?: string | number;
|
|
46521
46521
|
color?: string;
|
|
46522
46522
|
arrowSize?: string | number;
|
|
46523
|
+
units?: "in" | "mm";
|
|
46523
46524
|
}
|
|
46524
46525
|
declare const fabricationNoteDimensionProps: z.ZodObject<Omit<{
|
|
46525
46526
|
pcbX: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
@@ -46573,6 +46574,7 @@ declare const fabricationNoteDimensionProps: z.ZodObject<Omit<{
|
|
|
46573
46574
|
fontSize: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
46574
46575
|
color: z.ZodOptional<z.ZodString>;
|
|
46575
46576
|
arrowSize: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
46577
|
+
units: z.ZodOptional<z.ZodEnum<["in", "mm"]>>;
|
|
46576
46578
|
}, "strip", z.ZodTypeAny, {
|
|
46577
46579
|
from: string | {
|
|
46578
46580
|
x: number;
|
|
@@ -46599,6 +46601,7 @@ declare const fabricationNoteDimensionProps: z.ZodObject<Omit<{
|
|
|
46599
46601
|
fontSize?: number | undefined;
|
|
46600
46602
|
offset?: number | undefined;
|
|
46601
46603
|
arrowSize?: number | undefined;
|
|
46604
|
+
units?: "in" | "mm" | undefined;
|
|
46602
46605
|
}, {
|
|
46603
46606
|
from: string | {
|
|
46604
46607
|
x: string | number;
|
|
@@ -46627,6 +46630,7 @@ declare const fabricationNoteDimensionProps: z.ZodObject<Omit<{
|
|
|
46627
46630
|
fontSize?: string | number | undefined;
|
|
46628
46631
|
offset?: string | number | undefined;
|
|
46629
46632
|
arrowSize?: string | number | undefined;
|
|
46633
|
+
units?: "in" | "mm" | undefined;
|
|
46630
46634
|
}>;
|
|
46631
46635
|
type FabricationNoteDimensionPropsInput = z.input<typeof fabricationNoteDimensionProps>;
|
|
46632
46636
|
|
|
@@ -53550,6 +53554,7 @@ interface PcbNoteDimensionProps extends Omit<PcbLayoutProps, "pcbX" | "pcbY" | "
|
|
|
53550
53554
|
fontSize?: string | number;
|
|
53551
53555
|
color?: string;
|
|
53552
53556
|
arrowSize?: string | number;
|
|
53557
|
+
units?: "in" | "mm";
|
|
53553
53558
|
}
|
|
53554
53559
|
declare const pcbNoteDimensionProps: z.ZodObject<Omit<{
|
|
53555
53560
|
pcbX: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
@@ -53603,6 +53608,7 @@ declare const pcbNoteDimensionProps: z.ZodObject<Omit<{
|
|
|
53603
53608
|
fontSize: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
53604
53609
|
color: z.ZodOptional<z.ZodString>;
|
|
53605
53610
|
arrowSize: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
53611
|
+
units: z.ZodOptional<z.ZodEnum<["in", "mm"]>>;
|
|
53606
53612
|
}, "strip", z.ZodTypeAny, {
|
|
53607
53613
|
from: string | {
|
|
53608
53614
|
x: number;
|
|
@@ -53629,6 +53635,7 @@ declare const pcbNoteDimensionProps: z.ZodObject<Omit<{
|
|
|
53629
53635
|
fontSize?: number | undefined;
|
|
53630
53636
|
offset?: number | undefined;
|
|
53631
53637
|
arrowSize?: number | undefined;
|
|
53638
|
+
units?: "in" | "mm" | undefined;
|
|
53632
53639
|
}, {
|
|
53633
53640
|
from: string | {
|
|
53634
53641
|
x: string | number;
|
|
@@ -53657,6 +53664,7 @@ declare const pcbNoteDimensionProps: z.ZodObject<Omit<{
|
|
|
53657
53664
|
fontSize?: string | number | undefined;
|
|
53658
53665
|
offset?: string | number | undefined;
|
|
53659
53666
|
arrowSize?: string | number | undefined;
|
|
53667
|
+
units?: "in" | "mm" | undefined;
|
|
53660
53668
|
}>;
|
|
53661
53669
|
type PcbNoteDimensionPropsInput = z.input<typeof pcbNoteDimensionProps>;
|
|
53662
53670
|
|
package/dist/index.js
CHANGED
|
@@ -1599,7 +1599,8 @@ var fabricationNoteDimensionProps = pcbLayoutProps.omit({
|
|
|
1599
1599
|
font: z69.enum(["tscircuit2024"]).optional(),
|
|
1600
1600
|
fontSize: length5.optional(),
|
|
1601
1601
|
color: z69.string().optional(),
|
|
1602
|
-
arrowSize: distance16.optional()
|
|
1602
|
+
arrowSize: distance16.optional(),
|
|
1603
|
+
units: z69.enum(["in", "mm"]).optional()
|
|
1603
1604
|
});
|
|
1604
1605
|
expectTypesMatch(true);
|
|
1605
1606
|
|
|
@@ -2120,7 +2121,8 @@ var pcbNoteDimensionProps = pcbLayoutProps.omit({
|
|
|
2120
2121
|
font: z103.enum(["tscircuit2024"]).optional(),
|
|
2121
2122
|
fontSize: length11.optional(),
|
|
2122
2123
|
color: z103.string().optional(),
|
|
2123
|
-
arrowSize: distance37.optional()
|
|
2124
|
+
arrowSize: distance37.optional(),
|
|
2125
|
+
units: z103.enum(["in", "mm"]).optional()
|
|
2124
2126
|
});
|
|
2125
2127
|
expectTypesMatch(
|
|
2126
2128
|
true
|