easyeda 0.0.335 → 0.0.336

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.
package/dist/main.cjs CHANGED
@@ -1026,7 +1026,7 @@ var import_promises = __toESM(require("fs/promises"), 1);
1026
1026
  var package_default = {
1027
1027
  name: "easyeda",
1028
1028
  type: "module",
1029
- version: "0.0.334",
1029
+ version: "0.0.335",
1030
1030
  files: [
1031
1031
  "dist"
1032
1032
  ],
@@ -10262,7 +10262,7 @@ var convertBetterEasyToTsx = async ({
10262
10262
  const crystalPinVariant = componentType !== "crystal" ? void 0 : sourcePorts.length === 4 ? "four_pin" : sourcePorts.length === 2 ? "two_pin" : void 0;
10263
10263
  const isMultiPinDiode = isDiodeCategoryComponent(betterEasy) && sourcePorts.length !== 2;
10264
10264
  const isMultiPinInductor = isInductorComponent(betterEasy) && sourcePorts.length !== 2;
10265
- const isPassiveWithCustomSymbol = componentType === "capacitor" || componentType === "resistor";
10265
+ const isPassiveWithCustomSymbol = componentType === "capacitor";
10266
10266
  const symbolTsx = isPassiveWithCustomSymbol || componentType === "chip" && !isMultiPinDiode && !isMultiPinInductor && hasNonBoxSchematicSymbol(betterEasy) ? generateSymbolTsx(betterEasy, circuitJson, {
10267
10267
  alignPortsToDrawing: isPassiveWithCustomSymbol
10268
10268
  }) : void 0;