@infinit-canvas/react 0.1.12 → 0.1.13
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/README.md +1 -0
- package/dist/react-infinite-canvas.cjs +2 -2
- package/dist/react-infinite-canvas.js +2283 -2257
- package/dist/styles.css +16 -0
- package/package.json +1 -1
package/dist/styles.css
CHANGED
|
@@ -119,6 +119,22 @@
|
|
|
119
119
|
to { transform: rotate(360deg); }
|
|
120
120
|
}
|
|
121
121
|
|
|
122
|
+
/* LOD — hide handles and simplify nodes at low zoom for performance */
|
|
123
|
+
.ric-wrap.lod-reduced .ric-handle {
|
|
124
|
+
display: none;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
.ric-wrap.lod-minimal .ric-handle,
|
|
128
|
+
.ric-wrap.lod-minimal .ric-node-wrapper * {
|
|
129
|
+
visibility: hidden;
|
|
130
|
+
}
|
|
131
|
+
.ric-wrap.lod-minimal .ric-node-wrapper {
|
|
132
|
+
visibility: visible;
|
|
133
|
+
background: #e2e8f0;
|
|
134
|
+
border-radius: 4px;
|
|
135
|
+
outline: 1px solid #cbd5e1;
|
|
136
|
+
}
|
|
137
|
+
|
|
122
138
|
/* Controls */
|
|
123
139
|
.ric-controls-button:disabled {
|
|
124
140
|
opacity: 0.35;
|
package/package.json
CHANGED