@rkmodules/rules 0.0.71 → 0.0.73
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.cjs.css +48 -13
- package/dist/index.cjs.js +411 -92
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.css +48 -13
- package/dist/index.esm.js +411 -92
- package/dist/index.esm.js.map +1 -1
- package/dist/lib/Flow/Components/Menu.d.ts +11 -0
- package/dist/lib/Flow/Components/NodeContainer.d.ts +2 -1
- package/dist/lib/Flow/Context.d.ts +3 -1
- package/dist/lib/Flow/Nodes/Input.d.ts +7 -0
- package/dist/lib/Flow/Nodes/Output.d.ts +11 -0
- package/dist/lib/Flow/Nodes/index.d.ts +2 -0
- package/dist/lib/Flow/index.d.ts +3 -1
- package/dist/lib/Flow/types.d.ts +2 -1
- package/dist/lib/Primitives/input.d.ts +2 -0
- package/dist/lib/Primitives/output.d.ts +2 -0
- package/dist/lib/hooks/useFlow.d.ts +2 -10
- package/package.json +1 -1
package/dist/index.esm.css
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
position: relative;
|
|
5
5
|
border: 1px solid red;
|
|
6
6
|
border: initial;
|
|
7
|
-
width:auto;
|
|
7
|
+
width: auto;
|
|
8
8
|
border-radius: 0;
|
|
9
9
|
height: initial;
|
|
10
10
|
transform: initial;
|
|
@@ -48,19 +48,21 @@
|
|
|
48
48
|
transform: translate(50%, -50%);
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
.
|
|
51
|
+
.PortLabel_wwLN0 {
|
|
52
52
|
color: var(--type-color);
|
|
53
|
+
pointer-events: none;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.Input_PHp3D {
|
|
53
57
|
--xy-handle-background-color: var(--type-color);
|
|
54
58
|
}
|
|
55
59
|
|
|
56
60
|
.Output_FMRNv {
|
|
57
61
|
text-align: right;
|
|
58
|
-
color: var(--type-color);
|
|
59
62
|
--xy-handle-background-color: var(--type-color);
|
|
60
63
|
justify-content: right;
|
|
61
64
|
}
|
|
62
65
|
|
|
63
|
-
|
|
64
66
|
/** edges */
|
|
65
67
|
|
|
66
68
|
.ConnectionPath_XkXr1.valid_LGNvc {
|
|
@@ -78,18 +80,43 @@
|
|
|
78
80
|
stroke-width: 2;
|
|
79
81
|
}
|
|
80
82
|
|
|
81
|
-
|
|
83
|
+
/** menus **/
|
|
84
|
+
.Menu_cusza {
|
|
85
|
+
position: relative;
|
|
86
|
+
}
|
|
87
|
+
.MenuCanvas_3M2Ek {
|
|
88
|
+
border: 1px solid var(--ln);
|
|
89
|
+
border-radius: 4px;
|
|
90
|
+
display: flex;
|
|
91
|
+
flex-direction: column;
|
|
92
|
+
position: absolute;
|
|
93
|
+
top: 100%;
|
|
94
|
+
right: 0;
|
|
95
|
+
background-color: var(--bg);
|
|
96
|
+
}
|
|
97
|
+
.MenuItem_UWLzD {
|
|
98
|
+
padding: 4px 8px;
|
|
99
|
+
display: flex;
|
|
100
|
+
cursor: default;
|
|
101
|
+
white-space: nowrap;
|
|
102
|
+
}
|
|
103
|
+
.MenuItem_UWLzD:hover {
|
|
104
|
+
background-color: var(--ln);
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
.NodeContainer_gSdHY {
|
|
82
108
|
--ln: var(--node-line);
|
|
83
109
|
--bg: var(--node-background);
|
|
84
110
|
border: 1px solid var(--ln);
|
|
85
111
|
border-radius: 4px;
|
|
86
112
|
background-color: var(--bg);
|
|
87
113
|
min-width: 200px;
|
|
114
|
+
cursor: default;
|
|
88
115
|
}
|
|
89
|
-
.
|
|
116
|
+
.NodeContainer_gSdHY.selected_VmB-F {
|
|
90
117
|
border-color: var(--node-select-line);
|
|
91
118
|
}
|
|
92
|
-
.
|
|
119
|
+
.NodeContainer_gSdHY.active_zjUzx {
|
|
93
120
|
box-shadow: 0px 0px 3px 2px var(--node-active-line);
|
|
94
121
|
}
|
|
95
122
|
|
|
@@ -104,6 +131,7 @@
|
|
|
104
131
|
font-weight: bold;
|
|
105
132
|
display: flex;
|
|
106
133
|
align-items: center;
|
|
134
|
+
cursor: grab;
|
|
107
135
|
}
|
|
108
136
|
|
|
109
137
|
.Label_wBwWA span {
|
|
@@ -111,7 +139,8 @@
|
|
|
111
139
|
display: flex;
|
|
112
140
|
flex-direction: column;
|
|
113
141
|
}
|
|
114
|
-
|
|
142
|
+
|
|
143
|
+
.NodeContainer_gSdHY button {
|
|
115
144
|
border: 1px solid var(--ln);
|
|
116
145
|
border-radius: 4px;
|
|
117
146
|
width: 20px;
|
|
@@ -122,24 +151,25 @@
|
|
|
122
151
|
align-self: flex-end;
|
|
123
152
|
align-items: center;
|
|
124
153
|
justify-content: center;
|
|
154
|
+
cursor: pointer;
|
|
125
155
|
}
|
|
126
156
|
|
|
127
|
-
.
|
|
157
|
+
.NodeContainer_gSdHY table {
|
|
128
158
|
width: 100%;
|
|
129
159
|
border-collapse: collapse;
|
|
130
160
|
}
|
|
131
161
|
|
|
132
|
-
.
|
|
162
|
+
.NodeContainer_gSdHY tr {
|
|
133
163
|
position: relative;
|
|
134
164
|
}
|
|
135
165
|
|
|
136
|
-
.
|
|
166
|
+
.NodeContainer_gSdHY td {
|
|
137
167
|
padding: 4px 8px;
|
|
138
168
|
position: relative;
|
|
139
169
|
}
|
|
140
170
|
|
|
141
|
-
.
|
|
142
|
-
.
|
|
171
|
+
.NodeContainer_gSdHY input,
|
|
172
|
+
.NodeContainer_gSdHY select {
|
|
143
173
|
border: 1px solid var(--ln);
|
|
144
174
|
border-radius: 4px;
|
|
145
175
|
width: 100%;
|
|
@@ -156,6 +186,11 @@
|
|
|
156
186
|
max-width: 200px;
|
|
157
187
|
}
|
|
158
188
|
|
|
189
|
+
.Body_ptEZP {
|
|
190
|
+
margin: 2px auto;
|
|
191
|
+
padding: 8px;
|
|
192
|
+
}
|
|
193
|
+
|
|
159
194
|
.PreviewHead_oFT4K {
|
|
160
195
|
margin-top: 16px;
|
|
161
196
|
text-align: center;
|