schematic-symbols 0.0.100 → 0.0.102
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 +1840 -5
- package/dist/index.js.map +1 -1
- package/drawing/arc.ts +1 -1
- package/drawing/cubicBezierCurveArc.ts +28 -0
- package/drawing/modify-symbol/modify-symbol.ts +91 -0
- package/drawing/svgPathToPoints.ts +15 -5
- package/package.json +1 -1
- 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/diode_right.ts +1 -1
- package/symbols/ground_vert.ts +1 -1
- package/symbols/schottky_diode_horz.ts +1 -1
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:
|