@tscircuit/core 0.0.1337 → 0.0.1339

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 +16 -2
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -10209,6 +10209,20 @@ var createComponentsFromCircuitJson = ({
10209
10209
  layer: elm.layer
10210
10210
  })
10211
10211
  );
10212
+ } else if (elm.type === "pcb_smtpad" && elm.shape === "rotated_rect") {
10213
+ components.push(
10214
+ new SmtPad({
10215
+ pcbX: elm.x,
10216
+ pcbY: elm.y,
10217
+ layer: elm.layer,
10218
+ shape: "rotated_rect",
10219
+ height: elm.height,
10220
+ width: elm.width,
10221
+ ccwRotation: elm.ccw_rotation,
10222
+ cornerRadius: elm.corner_radius,
10223
+ portHints: elm.port_hints
10224
+ })
10225
+ );
10212
10226
  } else if (elm.type === "pcb_smtpad" && elm.shape === "polygon") {
10213
10227
  components.push(
10214
10228
  new SmtPad({
@@ -24018,7 +24032,7 @@ import { identity as identity5 } from "transformation-matrix";
24018
24032
  var package_default = {
24019
24033
  name: "@tscircuit/core",
24020
24034
  type: "module",
24021
- version: "0.0.1336",
24035
+ version: "0.0.1338",
24022
24036
  types: "dist/index.d.ts",
24023
24037
  main: "dist/index.js",
24024
24038
  module: "dist/index.js",
@@ -24070,7 +24084,7 @@ var package_default = {
24070
24084
  "@tscircuit/ngspice-spice-engine": "^0.0.16",
24071
24085
  "@tscircuit/schematic-match-adapt": "^0.0.18",
24072
24086
  "@tscircuit/solver-utils": "^0.0.16",
24073
- "@tscircuit/schematic-trace-solver": "^0.0.70",
24087
+ "@tscircuit/schematic-trace-solver": "^0.0.71",
24074
24088
  "@tscircuit/soup-util": "^0.0.41",
24075
24089
  "@types/bun": "^1.2.16",
24076
24090
  "@types/debug": "^4.1.12",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tscircuit/core",
3
3
  "type": "module",
4
- "version": "0.0.1337",
4
+ "version": "0.0.1339",
5
5
  "types": "dist/index.d.ts",
6
6
  "main": "dist/index.js",
7
7
  "module": "dist/index.js",
@@ -53,7 +53,7 @@
53
53
  "@tscircuit/ngspice-spice-engine": "^0.0.16",
54
54
  "@tscircuit/schematic-match-adapt": "^0.0.18",
55
55
  "@tscircuit/solver-utils": "^0.0.16",
56
- "@tscircuit/schematic-trace-solver": "^0.0.70",
56
+ "@tscircuit/schematic-trace-solver": "^0.0.71",
57
57
  "@tscircuit/soup-util": "^0.0.41",
58
58
  "@types/bun": "^1.2.16",
59
59
  "@types/debug": "^4.1.12",