@tscircuit/pcb-viewer 1.10.20 → 1.10.22

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
@@ -11330,12 +11330,21 @@ var HighlightedPrimitiveBoxWithText = function(param) {
11330
11330
  children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("div", {
11331
11331
  style: {
11332
11332
  position: "absolute",
11333
- left: 0,
11334
11333
  bottom: h + 20 + sip * si,
11335
- marginLeft: finalState ? "".concat(-sip * si, "px") : 0,
11334
+ marginRight: finalState ? "".concat(-sip * si, "px") : 0,
11336
11335
  marginBottom: finalState ? 0 : -sip * si,
11337
- transition: "margin-left 0.2s, margin-bottom 0.2s",
11338
- lineHeight: "0.8em"
11336
+ transition: "margin-right 0.2s, margin-bottom 0.2s",
11337
+ backgroundColor: "#f2efcc",
11338
+ color: "black",
11339
+ textShadow: "none",
11340
+ WebkitFontSmoothing: "antialiased",
11341
+ MozOsxFontSmoothing: "grayscale",
11342
+ padding: "6px 6px",
11343
+ borderRadius: "6px",
11344
+ fontSize: "14px",
11345
+ transform: "rotate(".concat(rotation2, "deg)"),
11346
+ minWidth: "45px",
11347
+ textAlign: "center"
11339
11348
  },
11340
11349
  children: getTextForHighlightedPrimitive(primitive)
11341
11350
  })
@@ -11745,7 +11754,7 @@ var import_css = require("@emotion/css");
11745
11754
  // package.json
11746
11755
  var package_default = {
11747
11756
  name: "@tscircuit/pcb-viewer",
11748
- version: "1.10.19",
11757
+ version: "1.10.21",
11749
11758
  main: "dist/index.js",
11750
11759
  repository: "tscircuit/pcb-viewer",
11751
11760
  license: "MIT",