schematic-symbols 0.0.113 → 0.0.115

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "schematic-symbols",
3
3
  "main": "./dist/index.js",
4
- "version": "0.0.113",
4
+ "version": "0.0.115",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "dist",
@@ -1,11 +1,11 @@
1
1
  import { isPrimitive } from "drawing/typeguards"
2
2
  import { modifySymbol } from "../drawing/modify-symbol/modify-symbol"
3
- import svgJson from "./capacitor_right"
3
+ import svgJson from "../assets/generated/capacitor.json"
4
4
 
5
5
  export default modifySymbol(svgJson)
6
6
  .changeTextAnchor("{VAL}", "middle_top")
7
- .rotateRightFacingSymbol("left")
8
- .labelPort("left1", ["1"])
9
- .labelPort("right1", ["2"])
10
- .changeTextAnchor("{REF}", "middle_top")
7
+ .rotateRightFacingSymbol("right")
8
+ .labelPort("left1", ["2"])
9
+ .labelPort("right1", ["1"])
10
+ .changeTextAnchor("{REF}", "middle_bottom")
11
11
  .build()