schematic-symbols 0.0.101 → 0.0.104
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.d.ts +5 -1
- package/dist/index.js +3462 -2207
- package/dist/index.js.map +1 -1
- package/drawing/arc.ts +1 -1
- package/drawing/cubicBezierCurveArc.ts +28 -0
- package/drawing/svgPathToPoints.ts +15 -5
- package/package.json +1 -1
- package/symbols/SPDT_switch_horz.ts +1 -0
- package/symbols/SPST_switch_horz.ts +10 -18
- package/symbols/capacitor_polarized_down.ts +10 -0
- package/symbols/capacitor_polarized_left.ts +10 -0
- package/symbols/capacitor_polarized_right.ts +10 -0
- package/symbols/capacitor_polarized_up.ts +10 -0
- package/symbols/constant_current_diode_horz.ts +7 -17
- package/symbols/constant_current_diode_vert.ts +9 -18
- package/symbols/crystal_horz.ts +7 -31
- package/symbols/crystal_vert.ts +9 -9
- package/symbols/darlington_pair_transistor_horz.ts +8 -19
- package/symbols/darlington_pair_transistor_vert.ts +11 -3
- package/symbols/dc_ammeter_horz.ts +3 -3
- package/symbols/dc_voltmeter_horz.ts +2 -2
- package/symbols/diac_horz.ts +7 -17
- package/symbols/diac_vert.ts +0 -1
- package/symbols/diode_right.ts +0 -1
- package/symbols/dpst_switch_horz.ts +1 -0
- package/symbols/filled_diode_horz.ts +7 -30
- package/symbols/frequency_meter_horz.ts +3 -3
- package/symbols/ground_vert.ts +0 -3
- package/symbols/gunn_diode_horz.ts +7 -21
- package/symbols/gunn_diode_vert.ts +10 -11
- package/symbols/igbt_transistor_horz.ts +8 -31
- package/symbols/illuminated_push_button_normally_open_horz.ts +7 -18
- package/symbols/laser_diode_horz.ts +8 -17
- package/symbols/npn_bipolar_transistor_horz.ts +8 -29
- package/symbols/npn_bipolar_transistor_vert.ts +10 -1
- package/symbols/photodiode_horz.ts +7 -30
- package/symbols/pnp_bipolar_transistor_horz.ts +8 -31
- package/symbols/pnp_bipolar_transistor_vert.ts +10 -2
- package/symbols/power_factor_meter_horz.ts +4 -4
- package/symbols/power_factor_meter_vert.ts +5 -2
- package/symbols/push_button_normally_closed_momentary_horz.ts +6 -4
- package/symbols/push_button_normally_closed_momentary_vert.ts +1 -20
- package/symbols/push_button_normally_open_momentary_horz.ts +6 -4
- package/symbols/push_button_normally_open_momentary_vert.ts +1 -20
- package/symbols/schottky_diode_horz.ts +2 -2
- package/symbols/silicon_controlled_rectifier_horz.ts +8 -16
- package/symbols/step_recovery_diode_horz.ts +7 -29
- package/symbols/tachometer_horz.ts +3 -3
- package/symbols/triac_horz.ts +8 -16
- package/symbols/var_meter_horz.ts +3 -3
- package/symbols/varmeter_horz.ts +3 -3
- package/symbols/volt_meter_horz.ts +7 -28
- package/symbols/watt_hour_meter_horz.ts +3 -3
- package/symbols/wattmeter_horz.ts +3 -3
package/dist/index.d.ts
CHANGED
@@ -78,6 +78,10 @@ declare const _default: {
|
|
78
78
|
capacitor_down: undefined;
|
79
79
|
capacitor_horz: undefined;
|
80
80
|
capacitor_left: undefined;
|
81
|
+
capacitor_polarized_down: undefined;
|
82
|
+
capacitor_polarized_left: undefined;
|
83
|
+
capacitor_polarized_right: undefined;
|
84
|
+
capacitor_polarized_up: undefined;
|
81
85
|
capacitor_right: undefined;
|
82
86
|
capacitor_up: undefined;
|
83
87
|
capacitor_vert: undefined;
|
@@ -259,7 +263,7 @@ declare const _default: {
|
|
259
263
|
zener_diode_vert: undefined;
|
260
264
|
};
|
261
265
|
|
262
|
-
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";
|
266
|
+
type BaseSymbolName = "ac_voltmeter" | "avalanche_diode" | "battery" | "boxresistor" | "capacitor" | "capacitor_polarized" | "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";
|
263
267
|
|
264
268
|
/**
|
265
269
|
* Utility for easier autocomplete:
|