@tscircuit/pcb-viewer 1.11.235 → 1.11.236
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 +6 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -11304,6 +11304,10 @@ var HighlightedPrimitiveBoxWithText = ({
|
|
|
11304
11304
|
}
|
|
11305
11305
|
);
|
|
11306
11306
|
}
|
|
11307
|
+
const label = getTextForHighlightedPrimitive(primitive);
|
|
11308
|
+
if (label.trim().length === 0) {
|
|
11309
|
+
return null;
|
|
11310
|
+
}
|
|
11307
11311
|
return /* @__PURE__ */ jsx11(
|
|
11308
11312
|
"div",
|
|
11309
11313
|
{
|
|
@@ -11355,7 +11359,7 @@ var HighlightedPrimitiveBoxWithText = ({
|
|
|
11355
11359
|
minWidth: "45px",
|
|
11356
11360
|
textAlign: "center"
|
|
11357
11361
|
},
|
|
11358
|
-
children:
|
|
11362
|
+
children: label
|
|
11359
11363
|
}
|
|
11360
11364
|
)
|
|
11361
11365
|
}
|
|
@@ -12009,7 +12013,7 @@ import { css as css3 } from "@emotion/css";
|
|
|
12009
12013
|
// package.json
|
|
12010
12014
|
var package_default = {
|
|
12011
12015
|
name: "@tscircuit/pcb-viewer",
|
|
12012
|
-
version: "1.11.
|
|
12016
|
+
version: "1.11.235",
|
|
12013
12017
|
main: "dist/index.js",
|
|
12014
12018
|
type: "module",
|
|
12015
12019
|
repository: "tscircuit/pcb-viewer",
|