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