@tscircuit/common 0.0.26 → 0.0.28
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/dist/index.d.ts +1 -0
- package/dist/index.js +4 -6
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -3113,7 +3113,7 @@ var XiaoBoardFootprint = ({
|
|
|
3113
3113
|
pcbX: leftRowX,
|
|
3114
3114
|
pcbY: yOffset - i * pitch,
|
|
3115
3115
|
shape: "circular_hole_with_rect_pad",
|
|
3116
|
-
holeOffsetX: 0.63
|
|
3116
|
+
holeOffsetX: -0.63
|
|
3117
3117
|
})
|
|
3118
3118
|
);
|
|
3119
3119
|
pinNumber++;
|
|
@@ -3156,7 +3156,7 @@ var XiaoBoardFootprint = ({
|
|
|
3156
3156
|
pcbX: rightRowX,
|
|
3157
3157
|
pcbY: yOffset - i * pitch,
|
|
3158
3158
|
shape: "circular_hole_with_rect_pad",
|
|
3159
|
-
holeOffsetX:
|
|
3159
|
+
holeOffsetX: 0.63
|
|
3160
3160
|
})
|
|
3161
3161
|
);
|
|
3162
3162
|
pinNumber++;
|
|
@@ -3340,16 +3340,14 @@ var PIN_ARRANGEMENT = {
|
|
|
3340
3340
|
}
|
|
3341
3341
|
};
|
|
3342
3342
|
var XiaoReceiver = (props) => {
|
|
3343
|
-
const _a = props, { children } = _a, rest = __objRest(_a, ["children"]);
|
|
3343
|
+
const _a = props, { children, throughHole } = _a, rest = __objRest(_a, ["children", "throughHole"]);
|
|
3344
3344
|
return /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)(
|
|
3345
3345
|
"chip",
|
|
3346
3346
|
__spreadProps(__spreadValues({}, rest), {
|
|
3347
|
-
footprint: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(XiaoBoardFootprint, { variant: "Receiver" }),
|
|
3347
|
+
footprint: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(XiaoBoardFootprint, { variant: "Receiver", withPlatedHoles: throughHole }),
|
|
3348
3348
|
pinLabels: PIN_LABELS,
|
|
3349
3349
|
schPinArrangement: PIN_ARRANGEMENT,
|
|
3350
3350
|
schWidth: 1.5,
|
|
3351
|
-
pcbX: 0,
|
|
3352
|
-
pcbY: 0,
|
|
3353
3351
|
doNotPlace: true,
|
|
3354
3352
|
children: [
|
|
3355
3353
|
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
|