circuit-json-to-tscircuit 0.0.79 → 0.0.80

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.
@@ -767,6 +767,7 @@ var convertBoxComponent = ({
767
767
  schematicComponent,
768
768
  schematicPort
769
769
  });
770
+ const pinLabelFontSize = schematicPort.display_pin_label_font_size ?? DEFAULT_PIN_TEXT_FONT_SIZE;
770
771
  if (displayPinLabel)
771
772
  primitives.push(
772
773
  formatElement("schematictext", {
@@ -774,7 +775,7 @@ var convertBoxComponent = ({
774
775
  schX: labelPosition.x,
775
776
  schY: labelPosition.y,
776
777
  anchor,
777
- fontSize: DEFAULT_PIN_TEXT_FONT_SIZE,
778
+ fontSize: pinLabelFontSize,
778
779
  color: DEFAULT_PIN_TEXT_COLOR,
779
780
  schRotation: rotation || void 0
780
781
  })
package/dist/cli/main.js CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  convertCircuitJsonToTscircuit
4
- } from "../chunk-43HJS53G.js";
4
+ } from "../chunk-FAZLXH7M.js";
5
5
 
6
6
  // cli/main.ts
7
7
  import { Command } from "commander";
@@ -16,7 +16,7 @@ var package_default = {
16
16
  "./cli": "./dist/cli/main.js"
17
17
  },
18
18
  type: "module",
19
- version: "0.0.78",
19
+ version: "0.0.79",
20
20
  repository: {
21
21
  type: "git",
22
22
  url: "https://github.com/tscircuit/circuit-json-to-tscircuit.git"
package/dist/lib/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  convertCircuitJsonToTscircuit
3
- } from "../chunk-43HJS53G.js";
3
+ } from "../chunk-FAZLXH7M.js";
4
4
  export {
5
5
  convertCircuitJsonToTscircuit
6
6
  };
@@ -106,6 +106,8 @@ export const convertBoxComponent = ({
106
106
  schematicComponent,
107
107
  schematicPort,
108
108
  })
109
+ const pinLabelFontSize =
110
+ schematicPort.display_pin_label_font_size ?? DEFAULT_PIN_TEXT_FONT_SIZE
109
111
  if (displayPinLabel)
110
112
  primitives.push(
111
113
  formatElement("schematictext", {
@@ -113,7 +115,7 @@ export const convertBoxComponent = ({
113
115
  schX: labelPosition.x,
114
116
  schY: labelPosition.y,
115
117
  anchor,
116
- fontSize: DEFAULT_PIN_TEXT_FONT_SIZE,
118
+ fontSize: pinLabelFontSize,
117
119
  color: DEFAULT_PIN_TEXT_COLOR,
118
120
  schRotation: rotation || undefined,
119
121
  }),
package/package.json CHANGED
@@ -6,7 +6,7 @@
6
6
  "./cli": "./dist/cli/main.js"
7
7
  },
8
8
  "type": "module",
9
- "version": "0.0.79",
9
+ "version": "0.0.80",
10
10
  "repository": {
11
11
  "type": "git",
12
12
  "url": "https://github.com/tscircuit/circuit-json-to-tscircuit.git"