@foblex/flow 19.0.0 → 19.1.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@foblex/flow",
3
- "version": "19.0.0",
3
+ "version": "19.1.1",
4
4
  "description": "Angular-native node-based UI library for building node editors, workflow builders, and interactive graph interfaces.",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -29,7 +29,17 @@
29
29
  "workflow",
30
30
  "graph ui",
31
31
  "interactive graph",
32
- "foblex"
32
+ "foblex",
33
+ "node-editor",
34
+ "react flow alternative",
35
+ "react-flow angular",
36
+ "graph editor",
37
+ "visual programming",
38
+ "angular workflow",
39
+ "drag and drop",
40
+ "flow builder",
41
+ "angular diagram",
42
+ "no-code"
33
43
  ],
34
44
  "schematics": "./schematics/collection.json",
35
45
  "ng-add": {
@@ -90,10 +90,14 @@
90
90
  }
91
91
  }
92
92
 
93
+ // The drop-target highlight only makes sense when drop-to-group is enabled,
94
+ // so it is scoped to the `f-drop-to-group` class the flow carries in that mode
95
+ // (see `FDraggableDirective`). Setting `fDropToGroup` to false drops the class
96
+ // and, with it, these styles.
93
97
  @mixin grouping($scoped: true) {
94
98
  @if $scoped {
95
99
  @include _node-group-scope($scoped) {
96
- &.f-dragging {
100
+ &.f-drop-to-group.f-dragging {
97
101
  .f-node {
98
102
  @include _grouping-drop-active(var(--ff-node-padding));
99
103
  }
@@ -106,7 +110,7 @@
106
110
  } @else {
107
111
  f-flow,
108
112
  .f-flow {
109
- &.f-dragging {
113
+ &.f-drop-to-group.f-dragging {
110
114
  .f-node {
111
115
  @include _grouping-drop-active(var(--ff-node-padding));
112
116
  }