@tscircuit/core 0.0.987 → 0.0.989

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 +4 -5
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -3820,7 +3820,7 @@ function getBoundsOfPcbComponents(components) {
3820
3820
  let maxY = -Infinity;
3821
3821
  let hasValidComponents = false;
3822
3822
  for (const child of components) {
3823
- if (child.isPcbPrimitive && !child.componentName.startsWith("Silkscreen")) {
3823
+ if (child.isPcbPrimitive && !child.componentName.startsWith("Silkscreen") && !child.componentName.startsWith("PcbNote")) {
3824
3824
  const { x, y } = child._getGlobalPcbPositionBeforeLayout();
3825
3825
  const { width: width2, height: height2 } = child.getPcbSize();
3826
3826
  minX = Math.min(minX, x - width2 / 2);
@@ -19856,7 +19856,6 @@ var PushButton = class extends NormalComponent3 {
19856
19856
  import { crystalProps } from "@tscircuit/props";
19857
19857
  import { formatSiUnit as formatSiUnit9 } from "format-si-unit";
19858
19858
  var Crystal = class extends NormalComponent3 {
19859
- // @ts-ignore
19860
19859
  get config() {
19861
19860
  const symbolName = this.props.symbolName ?? (this.props.pinVariant === "four_pin" ? "crystal_4pin" : "crystal");
19862
19861
  return {
@@ -21034,7 +21033,7 @@ import { identity as identity5 } from "transformation-matrix";
21034
21033
  var package_default = {
21035
21034
  name: "@tscircuit/core",
21036
21035
  type: "module",
21037
- version: "0.0.986",
21036
+ version: "0.0.988",
21038
21037
  types: "dist/index.d.ts",
21039
21038
  main: "dist/index.js",
21040
21039
  module: "dist/index.js",
@@ -21090,13 +21089,13 @@ var package_default = {
21090
21089
  "bun-match-svg": "0.0.12",
21091
21090
  "calculate-elbow": "^0.0.12",
21092
21091
  "chokidar-cli": "^3.0.0",
21093
- "circuit-json": "^0.0.357",
21092
+ "circuit-json": "^0.0.361",
21094
21093
  "circuit-json-to-bpc": "^0.0.13",
21095
21094
  "circuit-json-to-connectivity-map": "^0.0.23",
21096
21095
  "circuit-json-to-gltf": "^0.0.31",
21097
21096
  "circuit-json-to-simple-3d": "^0.0.9",
21098
21097
  "circuit-json-to-spice": "^0.0.33",
21099
- "circuit-to-svg": "^0.0.316",
21098
+ "circuit-to-svg": "^0.0.317",
21100
21099
  concurrently: "^9.1.2",
21101
21100
  "connectivity-map": "^1.0.0",
21102
21101
  debug: "^4.3.6",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tscircuit/core",
3
3
  "type": "module",
4
- "version": "0.0.987",
4
+ "version": "0.0.989",
5
5
  "types": "dist/index.d.ts",
6
6
  "main": "dist/index.js",
7
7
  "module": "dist/index.js",
@@ -57,13 +57,13 @@
57
57
  "bun-match-svg": "0.0.12",
58
58
  "calculate-elbow": "^0.0.12",
59
59
  "chokidar-cli": "^3.0.0",
60
- "circuit-json": "^0.0.357",
60
+ "circuit-json": "^0.0.361",
61
61
  "circuit-json-to-bpc": "^0.0.13",
62
62
  "circuit-json-to-connectivity-map": "^0.0.23",
63
63
  "circuit-json-to-gltf": "^0.0.31",
64
64
  "circuit-json-to-simple-3d": "^0.0.9",
65
65
  "circuit-json-to-spice": "^0.0.33",
66
- "circuit-to-svg": "^0.0.316",
66
+ "circuit-to-svg": "^0.0.317",
67
67
  "concurrently": "^9.1.2",
68
68
  "connectivity-map": "^1.0.0",
69
69
  "debug": "^4.3.6",