@tscircuit/core 0.0.411 → 0.0.412

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 +2 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -5676,7 +5676,7 @@ var NormalComponent = class extends PrimitiveComponent2 {
5676
5676
  rotation: {
5677
5677
  x: rotationOffset.x,
5678
5678
  y: (computedLayer === "top" ? 0 : 180) + rotationOffset.y,
5679
- z: (pcb_component?.rotation ?? 0) + (computedLayer === "bottom" ? 180 : 0) + rotationOffset.z
5679
+ z: computedLayer === "bottom" ? -((pcb_component?.rotation ?? 0) + rotationOffset.z) + 180 : (pcb_component?.rotation ?? 0) + rotationOffset.z
5680
5680
  },
5681
5681
  pcb_component_id: this.pcb_component_id,
5682
5682
  source_component_id: this.source_component_id,
@@ -8257,7 +8257,7 @@ import { identity as identity4 } from "transformation-matrix";
8257
8257
  var package_default = {
8258
8258
  name: "@tscircuit/core",
8259
8259
  type: "module",
8260
- version: "0.0.410",
8260
+ version: "0.0.411",
8261
8261
  types: "dist/index.d.ts",
8262
8262
  main: "dist/index.js",
8263
8263
  module: "dist/index.js",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tscircuit/core",
3
3
  "type": "module",
4
- "version": "0.0.411",
4
+ "version": "0.0.412",
5
5
  "types": "dist/index.d.ts",
6
6
  "main": "dist/index.js",
7
7
  "module": "dist/index.js",