@tscircuit/pcb-viewer 1.11.121 → 1.11.123
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 +5 -4
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -7137,8 +7137,9 @@ var zIndexMap = {
|
|
|
7137
7137
|
ratsNestOverlay: 20,
|
|
7138
7138
|
toolbarOverlay: 20,
|
|
7139
7139
|
warnings: 20,
|
|
7140
|
-
topLayer: 10
|
|
7140
|
+
topLayer: 10,
|
|
7141
7141
|
// each layer after this is 1 less than the previous
|
|
7142
|
+
clickToInteractOverlay: 100
|
|
7142
7143
|
};
|
|
7143
7144
|
|
|
7144
7145
|
// src/lib/Drawer.ts
|
|
@@ -9511,7 +9512,7 @@ import { css as css3 } from "@emotion/css";
|
|
|
9511
9512
|
// package.json
|
|
9512
9513
|
var package_default = {
|
|
9513
9514
|
name: "@tscircuit/pcb-viewer",
|
|
9514
|
-
version: "1.11.
|
|
9515
|
+
version: "1.11.122",
|
|
9515
9516
|
main: "dist/index.js",
|
|
9516
9517
|
type: "module",
|
|
9517
9518
|
repository: "tscircuit/pcb-viewer",
|
|
@@ -9561,7 +9562,7 @@ var package_default = {
|
|
|
9561
9562
|
},
|
|
9562
9563
|
dependencies: {
|
|
9563
9564
|
"@emotion/css": "^11.11.2",
|
|
9564
|
-
"@tscircuit/core": "^0.0.
|
|
9565
|
+
"@tscircuit/core": "^0.0.390",
|
|
9565
9566
|
"@tscircuit/math-utils": "^0.0.18",
|
|
9566
9567
|
"circuit-json-to-connectivity-map": "^0.0.20",
|
|
9567
9568
|
"circuit-to-svg": "^0.0.36",
|
|
@@ -10224,7 +10225,7 @@ var PCBViewer = ({
|
|
|
10224
10225
|
position: "absolute",
|
|
10225
10226
|
inset: 0,
|
|
10226
10227
|
cursor: "pointer",
|
|
10227
|
-
zIndex:
|
|
10228
|
+
zIndex: zIndexMap.clickToInteractOverlay,
|
|
10228
10229
|
display: "flex",
|
|
10229
10230
|
alignItems: "center",
|
|
10230
10231
|
justifyContent: "center",
|