@statelyai/flow-dom 3.3.0 → 3.4.2

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/esm/index.js CHANGED
@@ -740,7 +740,9 @@ function attachInput(options) {
740
740
  if (portElement?.dataset.flowPortName) return {
741
741
  kind: "port",
742
742
  nodeId: portElement.dataset.flowNodeId ?? "",
743
- portName: portElement.dataset.flowPortName
743
+ portName: portElement.dataset.flowPortName,
744
+ portId: portElement.dataset.flowPortId,
745
+ interaction: portElement.dataset.flowPortInteraction === "inspect" ? "inspect" : "connect"
744
746
  };
745
747
  if (element.closest("[data-flow-interactive], .nodrag, input, textarea, select, button, a[href], [contenteditable]:not([contenteditable=\"false\"])")) return { kind: "none" };
746
748
  const entityElement = element.closest("[data-entity-id]");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@statelyai/flow-dom",
3
- "version": "3.3.0",
3
+ "version": "3.4.2",
4
4
  "description": "DOM-specific helpers for @statelyai/flow with core re-exports.",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -27,7 +27,7 @@
27
27
  },
28
28
  "license": "MIT",
29
29
  "dependencies": {
30
- "@statelyai/flow": "0.7.0"
30
+ "@statelyai/flow": "0.8.2"
31
31
  },
32
32
  "devDependencies": {
33
33
  "@vitest/coverage-v8": "^4.1.0",