@tscircuit/core 0.0.81 → 0.0.82

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 +1 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -2043,7 +2043,7 @@ var NormalComponent = class extends PrimitiveComponent {
2043
2043
  rotation: {
2044
2044
  x: 0,
2045
2045
  y: this.props.layer === "top" ? 0 : 180,
2046
- z: pcb_component?.rotation ?? 0
2046
+ z: (pcb_component?.rotation ?? 0) + (this.props.layer === "bottom" ? 180 : 0)
2047
2047
  },
2048
2048
  pcb_component_id: this.pcb_component_id,
2049
2049
  source_component_id: this.source_component_id,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tscircuit/core",
3
3
  "type": "module",
4
- "version": "0.0.81",
4
+ "version": "0.0.82",
5
5
  "types": "dist/index.d.ts",
6
6
  "main": "dist/index.js",
7
7
  "module": "dist/index.js",