@tscircuit/props 0.0.570 → 0.0.571
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 +2 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.js +131 -130
- package/dist/index.js.map +1 -1
- package/lib/components/crystal.ts +7 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -562,6 +562,8 @@ export interface CrystalProps<
|
|
|
562
562
|
> extends CommonComponentProps<PinLabel> {
|
|
563
563
|
frequency: number | string;
|
|
564
564
|
loadCapacitance: number | string;
|
|
565
|
+
/** Maximum allowed PCB trace length between the crystal and its connected component */
|
|
566
|
+
maxTraceLength?: number | string;
|
|
565
567
|
manufacturerPartNumber?: string;
|
|
566
568
|
mpn?: string;
|
|
567
569
|
pinVariant?: PinVariant;
|
package/dist/index.d.ts
CHANGED
|
@@ -79680,6 +79680,8 @@ type CrystalPinLabels = (typeof crystalPins)[number];
|
|
|
79680
79680
|
interface CrystalProps<PinLabel extends string = string> extends CommonComponentProps<PinLabel> {
|
|
79681
79681
|
frequency: number | string;
|
|
79682
79682
|
loadCapacitance: number | string;
|
|
79683
|
+
/** Maximum allowed PCB trace length between the crystal and its connected component */
|
|
79684
|
+
maxTraceLength?: number | string;
|
|
79683
79685
|
manufacturerPartNumber?: string;
|
|
79684
79686
|
mpn?: string;
|
|
79685
79687
|
pinVariant?: PinVariant;
|
|
@@ -83045,6 +83047,7 @@ declare const crystalProps: z.ZodObject<{
|
|
|
83045
83047
|
} & {
|
|
83046
83048
|
frequency: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
83047
83049
|
loadCapacitance: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, number, string | number>;
|
|
83050
|
+
maxTraceLength: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
83048
83051
|
manufacturerPartNumber: z.ZodOptional<z.ZodString>;
|
|
83049
83052
|
mpn: z.ZodOptional<z.ZodString>;
|
|
83050
83053
|
pinVariant: z.ZodOptional<z.ZodEnum<["two_pin", "four_pin"]>>;
|
|
@@ -83633,6 +83636,7 @@ declare const crystalProps: z.ZodObject<{
|
|
|
83633
83636
|
connections?: Partial<Record<"left" | "right" | "pin1" | "pin2", string | readonly string[] | string[]>> | undefined;
|
|
83634
83637
|
schOrientation?: "vertical" | "horizontal" | "pos_top" | "pos_bottom" | "pos_left" | "pos_right" | "neg_top" | "neg_bottom" | "neg_left" | "neg_right" | undefined;
|
|
83635
83638
|
pinVariant?: "two_pin" | "four_pin" | undefined;
|
|
83639
|
+
maxTraceLength?: number | undefined;
|
|
83636
83640
|
mpn?: string | undefined;
|
|
83637
83641
|
}, {
|
|
83638
83642
|
name: string;
|
|
@@ -84219,6 +84223,7 @@ declare const crystalProps: z.ZodObject<{
|
|
|
84219
84223
|
connections?: Partial<Record<"left" | "right" | "pin1" | "pin2", string | readonly string[] | string[]>> | undefined;
|
|
84220
84224
|
schOrientation?: "vertical" | "horizontal" | "pos_top" | "pos_bottom" | "pos_left" | "pos_right" | "neg_top" | "neg_bottom" | "neg_left" | "neg_right" | undefined;
|
|
84221
84225
|
pinVariant?: "two_pin" | "four_pin" | undefined;
|
|
84226
|
+
maxTraceLength?: string | number | undefined;
|
|
84222
84227
|
mpn?: string | undefined;
|
|
84223
84228
|
}>;
|
|
84224
84229
|
|