@tscircuit/pcb-viewer 1.11.287 → 1.11.289

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/index.js CHANGED
@@ -12829,8 +12829,8 @@ var BoardAnchorOffsetOverlay = ({
12829
12829
  const yLabelOffset = isTargetRightOfAnchor ? VISUAL_CONFIG.LABEL_OFFSET_RIGHT : VISUAL_CONFIG.LABEL_OFFSET_LEFT;
12830
12830
  const shouldShowXLabel = xLineLength > VISUAL_CONFIG.MIN_LINE_LENGTH_FOR_LABEL;
12831
12831
  const shouldShowYLabel = yLineLength > VISUAL_CONFIG.MIN_LINE_LENGTH_FOR_LABEL;
12832
- const xLabelText = `Board \u0394x: ${displayOffsetX ? displayOffsetX : offsetX.toFixed(2)}mm`;
12833
- const yLabelText = `Board \u0394y: ${displayOffsetX ? displayOffsetX : offsetY.toFixed(2)}mm`;
12832
+ const xLabelText = `${displayOffsetX ?? offsetX.toFixed(2)}mm`;
12833
+ const yLabelText = `${displayOffsetY ?? offsetY.toFixed(2)}mm`;
12834
12834
  return /* @__PURE__ */ jsxs9("g", { children: [
12835
12835
  /* @__PURE__ */ jsx12(
12836
12836
  "line",
@@ -13889,7 +13889,7 @@ import { css as css3 } from "@emotion/css";
13889
13889
  // package.json
13890
13890
  var package_default = {
13891
13891
  name: "@tscircuit/pcb-viewer",
13892
- version: "1.11.286",
13892
+ version: "1.11.288",
13893
13893
  main: "dist/index.js",
13894
13894
  type: "module",
13895
13895
  repository: "tscircuit/pcb-viewer",
@@ -13926,7 +13926,7 @@ var package_default = {
13926
13926
  "react-cosmos-plugin-vite": "7.0.0-beta.0",
13927
13927
  "react-dom": "19.1.0",
13928
13928
  "react-use": "^17.4.0",
13929
- tscircuit: "^0.0.1040",
13929
+ tscircuit: "^0.0.1054",
13930
13930
  tsup: "^8.0.2",
13931
13931
  "type-fest": "^3.0.0",
13932
13932
  typescript: "^5.4.4",