@tscircuit/props 0.0.699 → 0.0.700
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 -2
- package/dist/index.d.ts +9 -9
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/lib/components/pin-header.ts +3 -6
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1805,9 +1805,9 @@ export interface PinHeaderProps extends CommonComponentProps {
|
|
|
1805
1805
|
schFacingDirection?: "up" | "down" | "left" | "right";
|
|
1806
1806
|
|
|
1807
1807
|
/**
|
|
1808
|
-
* Whether the header is male
|
|
1808
|
+
* Whether the header is male or female
|
|
1809
1809
|
*/
|
|
1810
|
-
gender?: "male" | "female"
|
|
1810
|
+
gender?: "male" | "female";
|
|
1811
1811
|
|
|
1812
1812
|
/**
|
|
1813
1813
|
* Mount the header on the top of the board, so it is connected to from
|
package/dist/index.d.ts
CHANGED
|
@@ -173797,9 +173797,9 @@ interface PinHeaderProps extends CommonComponentProps {
|
|
|
173797
173797
|
*/
|
|
173798
173798
|
schFacingDirection?: "up" | "down" | "left" | "right";
|
|
173799
173799
|
/**
|
|
173800
|
-
* Whether the header is male
|
|
173800
|
+
* Whether the header is male or female
|
|
173801
173801
|
*/
|
|
173802
|
-
gender?: "male" | "female"
|
|
173802
|
+
gender?: "male" | "female";
|
|
173803
173803
|
/**
|
|
173804
173804
|
* Mount the header on the top of the board, so it is connected to from
|
|
173805
173805
|
* above. An alias for `layer: "top"`, which is the default.
|
|
@@ -177796,7 +177796,7 @@ declare const pinHeaderProps: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
177796
177796
|
pinCount: z.ZodNumber;
|
|
177797
177797
|
pitch: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
177798
177798
|
schFacingDirection: z.ZodOptional<z.ZodEnum<["up", "down", "left", "right"]>>;
|
|
177799
|
-
gender: z.ZodDefault<z.ZodOptional<z.ZodEnum<["male", "female"
|
|
177799
|
+
gender: z.ZodDefault<z.ZodOptional<z.ZodEnum<["male", "female"]>>>;
|
|
177800
177800
|
showSilkscreenPinLabels: z.ZodOptional<z.ZodBoolean>;
|
|
177801
177801
|
pcbPinLabels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
177802
177802
|
doubleRow: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -177967,7 +177967,7 @@ declare const pinHeaderProps: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
177967
177967
|
}, "strip", z.ZodTypeAny, {
|
|
177968
177968
|
name: string;
|
|
177969
177969
|
pinCount: number;
|
|
177970
|
-
gender: "male" | "female"
|
|
177970
|
+
gender: "male" | "female";
|
|
177971
177971
|
symbol?: SymbolProp | undefined;
|
|
177972
177972
|
showAsTranslucentModel?: boolean | undefined;
|
|
177973
177973
|
key?: any;
|
|
@@ -179415,7 +179415,7 @@ declare const pinHeaderProps: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
179415
179415
|
pcbPinLabels?: Record<string, string> | undefined;
|
|
179416
179416
|
pitch?: string | number | undefined;
|
|
179417
179417
|
schFacingDirection?: "up" | "down" | "left" | "right" | undefined;
|
|
179418
|
-
gender?: "male" | "female" |
|
|
179418
|
+
gender?: "male" | "female" | undefined;
|
|
179419
179419
|
showSilkscreenPinLabels?: boolean | undefined;
|
|
179420
179420
|
doubleRow?: boolean | undefined;
|
|
179421
179421
|
rightAngle?: boolean | undefined;
|
|
@@ -179427,7 +179427,7 @@ declare const pinHeaderProps: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
179427
179427
|
}>, {
|
|
179428
179428
|
name: string;
|
|
179429
179429
|
pinCount: number;
|
|
179430
|
-
gender: "male" | "female"
|
|
179430
|
+
gender: "male" | "female";
|
|
179431
179431
|
symbol?: SymbolProp | undefined;
|
|
179432
179432
|
showAsTranslucentModel?: boolean | undefined;
|
|
179433
179433
|
key?: any;
|
|
@@ -180875,7 +180875,7 @@ declare const pinHeaderProps: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
180875
180875
|
pcbPinLabels?: Record<string, string> | undefined;
|
|
180876
180876
|
pitch?: string | number | undefined;
|
|
180877
180877
|
schFacingDirection?: "up" | "down" | "left" | "right" | undefined;
|
|
180878
|
-
gender?: "male" | "female" |
|
|
180878
|
+
gender?: "male" | "female" | undefined;
|
|
180879
180879
|
showSilkscreenPinLabels?: boolean | undefined;
|
|
180880
180880
|
doubleRow?: boolean | undefined;
|
|
180881
180881
|
rightAngle?: boolean | undefined;
|
|
@@ -180887,7 +180887,7 @@ declare const pinHeaderProps: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
180887
180887
|
}>, {
|
|
180888
180888
|
name: string;
|
|
180889
180889
|
pinCount: number;
|
|
180890
|
-
gender: "male" | "female"
|
|
180890
|
+
gender: "male" | "female";
|
|
180891
180891
|
symbol?: SymbolProp | undefined;
|
|
180892
180892
|
showAsTranslucentModel?: boolean | undefined;
|
|
180893
180893
|
key?: any;
|
|
@@ -182335,7 +182335,7 @@ declare const pinHeaderProps: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
182335
182335
|
pcbPinLabels?: Record<string, string> | undefined;
|
|
182336
182336
|
pitch?: string | number | undefined;
|
|
182337
182337
|
schFacingDirection?: "up" | "down" | "left" | "right" | undefined;
|
|
182338
|
-
gender?: "male" | "female" |
|
|
182338
|
+
gender?: "male" | "female" | undefined;
|
|
182339
182339
|
showSilkscreenPinLabels?: boolean | undefined;
|
|
182340
182340
|
doubleRow?: boolean | undefined;
|
|
182341
182341
|
rightAngle?: boolean | undefined;
|
package/dist/index.js
CHANGED
|
@@ -18545,7 +18545,7 @@ var pinHeaderProps = commonComponentProps.extend({
|
|
|
18545
18545
|
pinCount: z97.number(),
|
|
18546
18546
|
pitch: distance24.optional(),
|
|
18547
18547
|
schFacingDirection: z97.enum(["up", "down", "left", "right"]).optional(),
|
|
18548
|
-
gender: z97.enum(["male", "female"
|
|
18548
|
+
gender: z97.enum(["male", "female"]).optional().default("male"),
|
|
18549
18549
|
showSilkscreenPinLabels: z97.boolean().optional(),
|
|
18550
18550
|
pcbPinLabels: z97.record(z97.string(), z97.string()).optional(),
|
|
18551
18551
|
doubleRow: z97.boolean().optional(),
|