@dschz/solid-flow 1.0.0-next.6 → 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.
@@ -251,11 +251,23 @@
251
251
  &.connectingfrom {
252
252
  pointer-events: all;
253
253
  }
254
+ }
254
255
 
255
- &.connectionindicator {
256
- pointer-events: all;
257
- cursor: crosshair;
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dschz/solid-flow",
3
- "version": "1.0.0-next.6",
3
+ "version": "1.0.0-next.8",
4
4
  "description": "Solid Flow - A highly customizable Solid library for building node-based editors, workflow systems, diagrams and more.",
5
5
  "keywords": [
6
6
  "ai workflows",
@@ -94,16 +94,17 @@
94
94
  "dependencies": {
95
95
  "@solid-primitives/event-listener": "3.0.0-next.3",
96
96
  "@solid-primitives/media": "4.0.0-next.2",
97
- "@solidjs/web": "2.0.0-rc.1",
97
+ "@solidjs/web": "2.0.0-rc.2",
98
98
  "@xyflow/system": "^0.0.80"
99
99
  },
100
100
  "devDependencies": {
101
101
  "@changesets/cli": "2.31.1",
102
102
  "@dagrejs/dagre": "3.1.1",
103
- "@dom-expressions/compiler": "0.50.0-next.43",
103
+ "@dom-expressions/compiler": "0.50.0-next.44",
104
104
  "@playwright/test": "1.62.1",
105
+ "@solidjs/signals": "2.0.0-rc.2",
105
106
  "@solidjs/testing-library": "1.0.0-beta.2",
106
- "@solidjs/vite-plugin": "3.0.0-next.28",
107
+ "@solidjs/vite-plugin": "3.0.0-next.33",
107
108
  "@testing-library/jest-dom": "7.0.0",
108
109
  "@types/bun": "1.3.14",
109
110
  "@typescript-eslint/eslint-plugin": "8.65.0",
@@ -124,6 +125,6 @@
124
125
  },
125
126
  "peerDependencies": {
126
127
  "@solidjs/web": "^2.0.0-rc.0",
127
- "solid-js": "^2.0.0-rc.0"
128
+ "solid-js": "2.0.0-rc.2"
128
129
  }
129
130
  }