@tscircuit/core 0.0.816 → 0.0.817

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 +7 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -9684,6 +9684,12 @@ function convertTreeToInputProblem(tree, db, group) {
9684
9684
  if (component?._parsedProps?.schRotation !== void 0) {
9685
9685
  availableRotations = [0];
9686
9686
  }
9687
+ if (component?._parsedProps?.facingDirection) {
9688
+ availableRotations = [0];
9689
+ }
9690
+ if (component?._parsedProps?.schFacingDirection) {
9691
+ availableRotations = [0];
9692
+ }
9687
9693
  const marginLeft = component?._parsedProps?.schMarginLeft ?? component?._parsedProps?.schMarginX ?? 0;
9688
9694
  const marginRight = component?._parsedProps?.schMarginRight ?? component?._parsedProps?.schMarginX ?? 0;
9689
9695
  let marginTop = component?._parsedProps?.schMarginTop ?? component?._parsedProps?.schMarginY ?? 0;
@@ -17254,7 +17260,7 @@ import { identity as identity6 } from "transformation-matrix";
17254
17260
  var package_default = {
17255
17261
  name: "@tscircuit/core",
17256
17262
  type: "module",
17257
- version: "0.0.815",
17263
+ version: "0.0.816",
17258
17264
  types: "dist/index.d.ts",
17259
17265
  main: "dist/index.js",
17260
17266
  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.816",
4
+ "version": "0.0.817",
5
5
  "types": "dist/index.d.ts",
6
6
  "main": "dist/index.js",
7
7
  "module": "dist/index.js",