@tscircuit/props 0.0.404 → 0.0.405
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 +1 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/lib/components/voltageprobe.ts +2 -0
- package/package.json +1 -1
package/README.md
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -54898,6 +54898,7 @@ declare const voltageSourcePins: readonly ["pin1", "left", "anode", "pos", "pin2
|
|
|
54898
54898
|
interface VoltageProbeProps extends Omit<CommonComponentProps, "name"> {
|
|
54899
54899
|
name?: string;
|
|
54900
54900
|
connectsTo: string | string[];
|
|
54901
|
+
color?: string;
|
|
54901
54902
|
}
|
|
54902
54903
|
declare const voltageProbeProps: z.ZodObject<Omit<{
|
|
54903
54904
|
pcbX: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
@@ -55585,6 +55586,7 @@ declare const voltageProbeProps: z.ZodObject<Omit<{
|
|
|
55585
55586
|
}, "name"> & {
|
|
55586
55587
|
name: z.ZodOptional<z.ZodString>;
|
|
55587
55588
|
connectsTo: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
|
|
55589
|
+
color: z.ZodOptional<z.ZodString>;
|
|
55588
55590
|
}, "strip", z.ZodTypeAny, {
|
|
55589
55591
|
connectsTo: string | string[];
|
|
55590
55592
|
symbol?: SymbolProp | undefined;
|
|
@@ -55776,6 +55778,7 @@ declare const voltageProbeProps: z.ZodObject<Omit<{
|
|
|
55776
55778
|
symbolName?: string | undefined;
|
|
55777
55779
|
doNotPlace?: boolean | undefined;
|
|
55778
55780
|
obstructsWithinBounds?: boolean | undefined;
|
|
55781
|
+
color?: string | undefined;
|
|
55779
55782
|
}, {
|
|
55780
55783
|
connectsTo: string | string[];
|
|
55781
55784
|
symbol?: SymbolProp | undefined;
|
|
@@ -55969,6 +55972,7 @@ declare const voltageProbeProps: z.ZodObject<Omit<{
|
|
|
55969
55972
|
symbolName?: string | undefined;
|
|
55970
55973
|
doNotPlace?: boolean | undefined;
|
|
55971
55974
|
obstructsWithinBounds?: boolean | undefined;
|
|
55975
|
+
color?: string | undefined;
|
|
55972
55976
|
}>;
|
|
55973
55977
|
|
|
55974
55978
|
declare const schematicArcProps: z.ZodObject<{
|
package/dist/index.js
CHANGED
|
@@ -1860,7 +1860,8 @@ expectTypesMatch(true);
|
|
|
1860
1860
|
import { z as z82 } from "zod";
|
|
1861
1861
|
var voltageProbeProps = commonComponentProps.omit({ name: true }).extend({
|
|
1862
1862
|
name: z82.string().optional(),
|
|
1863
|
-
connectsTo: z82.string().or(z82.array(z82.string()))
|
|
1863
|
+
connectsTo: z82.string().or(z82.array(z82.string())),
|
|
1864
|
+
color: z82.string().optional()
|
|
1864
1865
|
});
|
|
1865
1866
|
expectTypesMatch(true);
|
|
1866
1867
|
|