@tscircuit/core 0.0.565 → 0.0.566

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.js +5 -3
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -8835,9 +8835,11 @@ var Diode = class extends NormalComponent {
8835
8835
  get config() {
8836
8836
  const symbolMap = {
8837
8837
  schottky: "schottky_diode",
8838
- avalanche: "avalanche_diode"
8838
+ avalanche: "avalanche_diode",
8839
+ zener: "zener_diode",
8840
+ photodiode: "photodiode"
8839
8841
  };
8840
- const variantSymbol = this.props.schottky ? "schottky" : this.props.avalanche ? "avalanche" : null;
8842
+ const variantSymbol = this.props.schottky ? "schottky" : this.props.avalanche ? "avalanche" : this.props.zener ? "zener" : this.props.photo ? "photodiode" : null;
8841
8843
  return {
8842
8844
  schematicSymbolName: variantSymbol ? symbolMap[variantSymbol] : this.props.symbolName ?? "diode",
8843
8845
  componentName: "Diode",
@@ -10966,7 +10968,7 @@ import { identity as identity5 } from "transformation-matrix";
10966
10968
  var package_default = {
10967
10969
  name: "@tscircuit/core",
10968
10970
  type: "module",
10969
- version: "0.0.564",
10971
+ version: "0.0.565",
10970
10972
  types: "dist/index.d.ts",
10971
10973
  main: "dist/index.js",
10972
10974
  module: "dist/index.js",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tscircuit/core",
3
3
  "type": "module",
4
- "version": "0.0.565",
4
+ "version": "0.0.566",
5
5
  "types": "dist/index.d.ts",
6
6
  "main": "dist/index.js",
7
7
  "module": "dist/index.js",