schematic-symbols 0.0.111 → 0.0.112

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.111",
4
+ "version": "0.0.112",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "dist",
@@ -0,0 +1,4 @@
1
+ import { rotateSymbol } from "drawing/rotateSymbol"
2
+ import opamp_no_power_right from "./opamp_no_power_right"
3
+
4
+ export default rotateSymbol(opamp_no_power_right, "down")
@@ -0,0 +1,4 @@
1
+ import { rotateSymbol } from "drawing/rotateSymbol"
2
+ import opamp_no_power_right from "./opamp_no_power_right"
3
+
4
+ export default rotateSymbol(opamp_no_power_right, "left")
@@ -0,0 +1,10 @@
1
+ import svgJson from "assets/generated/opamp_no_power.json"
2
+ import { modifySymbol } from "drawing/modify-symbol/modify-symbol"
3
+
4
+ export default modifySymbol(svgJson)
5
+ .labelPort("left1", ["1", "inp1"])
6
+ .labelPort("left2", ["2", "inp2"])
7
+ .labelPort("right1", ["3", "out"])
8
+ .changeTextAnchor("{REF}", "middle_bottom")
9
+ .changeTextAnchor("{VAL}", "middle_top")
10
+ .build()
@@ -0,0 +1,4 @@
1
+ import { rotateSymbol } from "drawing/rotateSymbol"
2
+ import opamp_no_power_right from "./opamp_no_power_right"
3
+
4
+ export default rotateSymbol(opamp_no_power_right, "up")
@@ -0,0 +1,4 @@
1
+ import { rotateSymbol } from "drawing/rotateSymbol"
2
+ import opamp_with_power_right from "./opamp_with_power_right"
3
+
4
+ export default rotateSymbol(opamp_with_power_right, "down")
@@ -0,0 +1,4 @@
1
+ import { rotateSymbol } from "drawing/rotateSymbol"
2
+ import opamp_with_power_right from "./opamp_with_power_right"
3
+
4
+ export default rotateSymbol(opamp_with_power_right, "left")
@@ -0,0 +1,12 @@
1
+ import svgJson from "assets/generated/opamp_with_power.json"
2
+ import { modifySymbol } from "drawing/modify-symbol/modify-symbol"
3
+
4
+ export default modifySymbol(svgJson)
5
+ .labelPort("left1", ["1", "inp1"])
6
+ .labelPort("left2", ["2", "inp2"])
7
+ .labelPort("right1", ["3", "out"])
8
+ .labelPort("top2", ["4", "V+"])
9
+ .labelPort("bottom1", ["5", "V-"])
10
+ .changeTextAnchor("{REF}", "middle_bottom")
11
+ .changeTextAnchor("{VAL}", "middle_top")
12
+ .build()
@@ -0,0 +1,4 @@
1
+ import { rotateSymbol } from "drawing/rotateSymbol"
2
+ import opamp_with_power_right from "./opamp_with_power_right"
3
+
4
+ export default rotateSymbol(opamp_with_power_right, "up")