@tscircuit/common 0.0.12 → 0.0.14

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.
Files changed (2) hide show
  1. package/dist/index.js +10 -6
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -2206,8 +2206,10 @@ var splitBoardAndChipProps = (props = {}) => {
2206
2206
  // Autorouter configuration
2207
2207
  "boardAnchorAlignment",
2208
2208
  // Board anchor alignment
2209
- "boardAnchorPosition"
2209
+ "boardAnchorPosition",
2210
2210
  // Board anchor position
2211
+ "pcbGap"
2212
+ // PCB gap
2211
2213
  ];
2212
2214
  const boardProps = {};
2213
2215
  const chipProps = {};
@@ -2259,6 +2261,7 @@ var ArduinoShield = (_a) => {
2259
2261
  "chip",
2260
2262
  __spreadProps(__spreadValues({}, chipRest), {
2261
2263
  obstructsWithinBounds: false,
2264
+ doNotPlace: true,
2262
2265
  name: resolvedName,
2263
2266
  pcbX: 0,
2264
2267
  pcbY: 0,
@@ -3037,7 +3040,7 @@ var XiaoBoardFootprint = ({
3037
3040
  radius: 0.5715,
3038
3041
  pcbX: -1.396,
3039
3042
  pcbY: 8.442,
3040
- layer: "top",
3043
+ layer: "bottom",
3041
3044
  shape: "circle"
3042
3045
  }),
3043
3046
  createSmtPad2({
@@ -3045,7 +3048,7 @@ var XiaoBoardFootprint = ({
3045
3048
  radius: 0.5715,
3046
3049
  pcbX: 1.144,
3047
3050
  pcbY: 8.442,
3048
- layer: "top",
3051
+ layer: "bottom",
3049
3052
  shape: "circle"
3050
3053
  })
3051
3054
  );
@@ -3055,7 +3058,7 @@ var XiaoBoardFootprint = ({
3055
3058
  radius: 0.5715,
3056
3059
  pcbX: -1.396,
3057
3060
  pcbY: 5.902,
3058
- layer: "top",
3061
+ layer: "bottom",
3059
3062
  shape: "circle"
3060
3063
  }),
3061
3064
  createSmtPad2({
@@ -3063,7 +3066,7 @@ var XiaoBoardFootprint = ({
3063
3066
  radius: 0.5715,
3064
3067
  pcbX: 1.144,
3065
3068
  pcbY: 5.902,
3066
- layer: "top",
3069
+ layer: "bottom",
3067
3070
  shape: "circle"
3068
3071
  })
3069
3072
  );
@@ -3081,7 +3084,7 @@ var XiaoBoardFootprint = ({
3081
3084
  height: bottomPadH,
3082
3085
  pcbX: xOffset - i * actualBottomPitch,
3083
3086
  pcbY: -9.7 + edgeClearance,
3084
- layer: "top",
3087
+ layer: "bottom",
3085
3088
  shape: "rect"
3086
3089
  })
3087
3090
  );
@@ -3278,6 +3281,7 @@ var XiaoBoard = (_a) => {
3278
3281
  withPlatedHoles
3279
3282
  }
3280
3283
  ),
3284
+ doNotPlace: true,
3281
3285
  pcbX: 0,
3282
3286
  pcbY: 0,
3283
3287
  pinLabels: variant === "RP2040" ? RP2040PinLabels : DefaultPinLabels,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tscircuit/common",
3
- "version": "0.0.12",
3
+ "version": "0.0.14",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",
@@ -31,7 +31,7 @@
31
31
  "devDependencies": {
32
32
  "@biomejs/biome": "^2.2.4",
33
33
  "@types/react": "^19.1.12",
34
- "tscircuit": "^0.0.751",
34
+ "tscircuit": "^0.0.766",
35
35
  "tsup": "^8.5.0"
36
36
  }
37
37
  }