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.
Files changed (54) hide show
  1. package/dist/index.d.ts +5 -1
  2. package/dist/index.js +3462 -2207
  3. package/dist/index.js.map +1 -1
  4. package/drawing/arc.ts +1 -1
  5. package/drawing/cubicBezierCurveArc.ts +28 -0
  6. package/drawing/svgPathToPoints.ts +15 -5
  7. package/package.json +1 -1
  8. package/symbols/SPDT_switch_horz.ts +1 -0
  9. package/symbols/SPST_switch_horz.ts +10 -18
  10. package/symbols/capacitor_polarized_down.ts +10 -0
  11. package/symbols/capacitor_polarized_left.ts +10 -0
  12. package/symbols/capacitor_polarized_right.ts +10 -0
  13. package/symbols/capacitor_polarized_up.ts +10 -0
  14. package/symbols/constant_current_diode_horz.ts +7 -17
  15. package/symbols/constant_current_diode_vert.ts +9 -18
  16. package/symbols/crystal_horz.ts +7 -31
  17. package/symbols/crystal_vert.ts +9 -9
  18. package/symbols/darlington_pair_transistor_horz.ts +8 -19
  19. package/symbols/darlington_pair_transistor_vert.ts +11 -3
  20. package/symbols/dc_ammeter_horz.ts +3 -3
  21. package/symbols/dc_voltmeter_horz.ts +2 -2
  22. package/symbols/diac_horz.ts +7 -17
  23. package/symbols/diac_vert.ts +0 -1
  24. package/symbols/diode_right.ts +0 -1
  25. package/symbols/dpst_switch_horz.ts +1 -0
  26. package/symbols/filled_diode_horz.ts +7 -30
  27. package/symbols/frequency_meter_horz.ts +3 -3
  28. package/symbols/ground_vert.ts +0 -3
  29. package/symbols/gunn_diode_horz.ts +7 -21
  30. package/symbols/gunn_diode_vert.ts +10 -11
  31. package/symbols/igbt_transistor_horz.ts +8 -31
  32. package/symbols/illuminated_push_button_normally_open_horz.ts +7 -18
  33. package/symbols/laser_diode_horz.ts +8 -17
  34. package/symbols/npn_bipolar_transistor_horz.ts +8 -29
  35. package/symbols/npn_bipolar_transistor_vert.ts +10 -1
  36. package/symbols/photodiode_horz.ts +7 -30
  37. package/symbols/pnp_bipolar_transistor_horz.ts +8 -31
  38. package/symbols/pnp_bipolar_transistor_vert.ts +10 -2
  39. package/symbols/power_factor_meter_horz.ts +4 -4
  40. package/symbols/power_factor_meter_vert.ts +5 -2
  41. package/symbols/push_button_normally_closed_momentary_horz.ts +6 -4
  42. package/symbols/push_button_normally_closed_momentary_vert.ts +1 -20
  43. package/symbols/push_button_normally_open_momentary_horz.ts +6 -4
  44. package/symbols/push_button_normally_open_momentary_vert.ts +1 -20
  45. package/symbols/schottky_diode_horz.ts +2 -2
  46. package/symbols/silicon_controlled_rectifier_horz.ts +8 -16
  47. package/symbols/step_recovery_diode_horz.ts +7 -29
  48. package/symbols/tachometer_horz.ts +3 -3
  49. package/symbols/triac_horz.ts +8 -16
  50. package/symbols/var_meter_horz.ts +3 -3
  51. package/symbols/varmeter_horz.ts +3 -3
  52. package/symbols/volt_meter_horz.ts +7 -28
  53. package/symbols/watt_hour_meter_horz.ts +3 -3
  54. 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: