@tscircuit/schematic-viewer 1.0.15 → 1.0.16

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tscircuit/schematic-viewer",
3
- "version": "1.0.15",
3
+ "version": "1.0.16",
4
4
  "main": "dist/index.js",
5
5
  "license": "MIT",
6
6
  "repository": "tscircuit/schematic-viewer",
@@ -13,7 +13,7 @@
13
13
  "build-storybook": "storybook build"
14
14
  },
15
15
  "peerDependencies": {
16
- "@tscircuit/builder": "^1.2.16",
16
+ "@tscircuit/builder": "*",
17
17
  "@tscircuit/react-fiber": "*",
18
18
  "react": "*"
19
19
  },
@@ -31,6 +31,7 @@
31
31
  "@storybook/nextjs": "^7.0.26",
32
32
  "@storybook/react": "^7.0.26",
33
33
  "@storybook/testing-library": "^0.0.14-next.2",
34
+ "@tscircuit/builder": "^1.2.17",
34
35
  "@tscircuit/react-fiber": "^1.0.4",
35
36
  "@types/node": "^18.6.0",
36
37
  "@types/react": "^18.0.15",
@@ -39,10 +39,13 @@ export const LEDCircuitReact = () => {
39
39
  />
40
40
  <trace path={[".B1 > port.PWR", ".R2 > port.left"]} />
41
41
  <ground name="GND" center={[11, 3]} />
42
- <trace from=".B1 > port.GND" to=".GND" />
42
+ {/* <trace path={[".B1 > port.GND", ".GND"]} /> */}
43
+ {/* <trace from=".B1 > port.GND" to=".GND" /> */}
43
44
  <diode name="D1" center={[6, 3.5]} rotation="180deg" />
44
- <trace from=".D1 > .left" to=".B1 > .RG" />
45
- <trace from=".D1 > .right" to=".C1> .right" />
45
+ <trace path={[".D1 > port.right", ".C1 > .right"]} />
46
+ <trace path={[".D1 > port.left", ".B1 > .RG"]} />
47
+ {/* <trace from=".D1 > .left" to=".B1 > .RG" />
48
+ <trace from=".D1 > .right" to=".C1> .right" /> */}
46
49
  </Schematic>
47
50
  )
48
51
  }