@dschz/solid-flow 1.0.0-next.7 → 1.0.0-next.8
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/index.d.ts +30 -5
- package/dist/index/index.js +321 -220
- package/dist/index/index.jsx +265 -169
- package/dist/styles/index.css +16 -4
- package/package.json +1 -1
package/dist/styles/index.css
CHANGED
|
@@ -251,11 +251,23 @@
|
|
|
251
251
|
&.connectingfrom {
|
|
252
252
|
pointer-events: all;
|
|
253
253
|
}
|
|
254
|
+
}
|
|
254
255
|
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
256
|
+
/* The connection-target affordance, derived from ROOT gesture state instead
|
|
257
|
+
of a per-handle `connectionindicator` class (which required every handle
|
|
258
|
+
to recompute at gesture start — ~490ms at 10k nodes). Idle: connection
|
|
259
|
+
starts. During a gesture: valid connection ends — by opposite type in
|
|
260
|
+
strict mode, everything except the origin's own handles (.excluded) in
|
|
261
|
+
loose mode. */
|
|
262
|
+
.solid-flow:not(.connecting) .solid-flow__handle.connectable.connectablestart,
|
|
263
|
+
.solid-flow.connecting.connection-strict.connecting-from-source
|
|
264
|
+
.solid-flow__handle.connectable.connectableend.target:not(.excluded),
|
|
265
|
+
.solid-flow.connecting.connection-strict.connecting-from-target
|
|
266
|
+
.solid-flow__handle.connectable.connectableend.source:not(.excluded),
|
|
267
|
+
.solid-flow.connecting:not(.connection-strict)
|
|
268
|
+
.solid-flow__handle.connectable.connectableend:not(.excluded) {
|
|
269
|
+
pointer-events: all;
|
|
270
|
+
cursor: crosshair;
|
|
259
271
|
}
|
|
260
272
|
|
|
261
273
|
.solid-flow__handle-left {
|
package/package.json
CHANGED