@tscircuit/props 0.0.699 → 0.0.701
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 +128 -11
- package/dist/index.js +4 -1
- package/dist/index.js.map +1 -1
- package/lib/common/layout.ts +13 -0
- package/lib/components/pin-header.ts +3 -6
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -949,6 +949,9 @@ var commonComponentProps = commonLayoutProps.merge(supplierProps).extend({
|
|
|
949
949
|
children: z30.any().optional(),
|
|
950
950
|
symbolName: z30.string().optional(),
|
|
951
951
|
doNotPlace: z30.boolean().optional(),
|
|
952
|
+
isSmt: z30.boolean().optional().describe(
|
|
953
|
+
"Whether this component is surface mounted. True marks it as SMT; false marks it as through hole. Omit to let core infer mounting style from the footprint. Parsed unchanged with no aliases or schema conflicts; core determines solder paste generation, including for plated-hole pads."
|
|
954
|
+
),
|
|
952
955
|
allowOffBoard: z30.boolean().optional().describe(
|
|
953
956
|
"Allows the PCB component to hang off the board (e.g. for USB ports or displays)"
|
|
954
957
|
),
|
|
@@ -18545,7 +18548,7 @@ var pinHeaderProps = commonComponentProps.extend({
|
|
|
18545
18548
|
pinCount: z97.number(),
|
|
18546
18549
|
pitch: distance24.optional(),
|
|
18547
18550
|
schFacingDirection: z97.enum(["up", "down", "left", "right"]).optional(),
|
|
18548
|
-
gender: z97.enum(["male", "female"
|
|
18551
|
+
gender: z97.enum(["male", "female"]).optional().default("male"),
|
|
18549
18552
|
showSilkscreenPinLabels: z97.boolean().optional(),
|
|
18550
18553
|
pcbPinLabels: z97.record(z97.string(), z97.string()).optional(),
|
|
18551
18554
|
doubleRow: z97.boolean().optional(),
|