@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
|
@@ -41,9 +41,9 @@ export interface PinHeaderProps extends CommonComponentProps {
|
|
|
41
41
|
schFacingDirection?: "up" | "down" | "left" | "right"
|
|
42
42
|
|
|
43
43
|
/**
|
|
44
|
-
* Whether the header is male
|
|
44
|
+
* Whether the header is male or female
|
|
45
45
|
*/
|
|
46
|
-
gender?: "male" | "female"
|
|
46
|
+
gender?: "male" | "female"
|
|
47
47
|
|
|
48
48
|
/**
|
|
49
49
|
* Mount the header on the top of the board, so it is connected to from
|
|
@@ -148,10 +148,7 @@ export const pinHeaderProps = commonComponentProps
|
|
|
148
148
|
pinCount: z.number(),
|
|
149
149
|
pitch: distance.optional(),
|
|
150
150
|
schFacingDirection: z.enum(["up", "down", "left", "right"]).optional(),
|
|
151
|
-
gender: z
|
|
152
|
-
.enum(["male", "female", "unpopulated"])
|
|
153
|
-
.optional()
|
|
154
|
-
.default("male"),
|
|
151
|
+
gender: z.enum(["male", "female"]).optional().default("male"),
|
|
155
152
|
showSilkscreenPinLabels: z.boolean().optional(),
|
|
156
153
|
pcbPinLabels: z.record(z.string(), z.string()).optional(),
|
|
157
154
|
doubleRow: z.boolean().optional(),
|