schematic-symbols 0.0.92 → 0.0.94
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.d.ts +5 -3
- package/dist/index.js +155 -130
- package/dist/index.js.map +1 -1
- package/drawing/rotateSymbol.ts +70 -11
- package/package.json +1 -1
- package/symbols/diode_down.ts +4 -0
- package/symbols/diode_left.ts +4 -0
- package/symbols/{diode_horz.ts → diode_right.ts} +5 -3
- package/symbols/diode_up.ts +4 -0
- package/symbols/varistor_vert.ts +1 -1
- package/symbols/diode_vert.ts +0 -4
package/dist/index.d.ts
CHANGED
@@ -113,8 +113,10 @@ declare const _default: {
|
|
113
113
|
};
|
114
114
|
diac_horz: undefined;
|
115
115
|
diac_vert: undefined;
|
116
|
-
|
117
|
-
|
116
|
+
diode_down: undefined;
|
117
|
+
diode_left: undefined;
|
118
|
+
diode_right: undefined;
|
119
|
+
diode_up: undefined;
|
118
120
|
dpst_switch_horz: undefined;
|
119
121
|
dpst_switch_vert: undefined;
|
120
122
|
filled_diode_horz: undefined;
|
@@ -251,7 +253,7 @@ declare const _default: {
|
|
251
253
|
zener_diode_vert: undefined;
|
252
254
|
};
|
253
255
|
|
254
|
-
type BaseSymbolName = "ac_voltmeter" | "avalanche_diode" | "battery" | "boxresistor" | "capacitor" | "constant_current_diode" | "crystal" | "darlington_pair_transistor" | "dc_ammeter" | "dc_voltmeter" | "diac" | "diode" | "dpst_switch" | "filled_diode" | "frequency_meter" | "fuse" | "ground" | "gunn_diode" | "igbt_transistor" | "
|
256
|
+
type BaseSymbolName = "ac_voltmeter" | "avalanche_diode" | "battery" | "boxresistor" | "capacitor" | "constant_current_diode" | "crystal" | "darlington_pair_transistor" | "dc_ammeter" | "dc_voltmeter" | "diac" | "diode" | "dpst_switch" | "filled_diode" | "frequency_meter" | "fuse" | "ground" | "gunn_diode" | "igbt_transistor" | "illuminated_push_button_normally_open" | "inductor" | "laser_diode" | "led" | "light_dependent_resistor" | "mosfet_depletion_normally_on" | "mushroom_head_normally_open_momentary" | "n_channel_d_mosfet_transistor" | "n_channel_e_mosfet_transistor" | "njfet_transistor" | "npn_bipolar_transistor" | "p_channel_d_mosfet_transistor" | "p_channel_e_mosfet_transistor" | "photodiode" | "pjfet_transistor" | "pnp_bipolar_transistor" | "potentiometer" | "potentiometer2" | "power_factor_meter" | "push_button_normally_closed_momentary" | "push_button_normally_open_momentary" | "rectifier_diode" | "resonator" | "schottky_diode" | "silicon_controlled_rectifier" | "SPDT_switch" | "SPST_switch" | "step_recovery_diode" | "tachometer" | "triac" | "tunnel_diode" | "unijunction_transistor" | "var_meter" | "varactor_diode" | "varistor" | "varmeter" | "volt_meter" | "watt_hour_meter" | "wattmeter" | "zener_diode";
|
255
257
|
|
256
258
|
/**
|
257
259
|
* Utility for easier autocomplete:
|