@linkdlab/funcnodes_react_flow 0.3.14 → 0.3.15

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.
@@ -11,94 +11,6 @@
11
11
  stroke: #11ff00;
12
12
  }
13
13
 
14
- .dialogoverlay {
15
- background-color: rgba(0, 0, 0, 0.5);
16
- position: fixed;
17
- inset: 0;
18
- animation: overlayShow 150ms cubic-bezier(0.16, 1, 0.3, 1);
19
- z-index: 2000;
20
- }
21
-
22
- .dialogconent {
23
- background-color: var(--funcnodesbackground1);
24
- border-radius: 6px;
25
- box-shadow: var(--funheadercolor) 0px 10px 38px -10px, var(--funheadercolor) 0px 10px 20px -15px;
26
- position: fixed;
27
- top: 50%;
28
- left: 50%;
29
- transform: translate(-50%, -50%);
30
- width: 90vw;
31
- max-width: 85vw;
32
- max-height: 85vh;
33
- padding: 25px;
34
- animation: contentShow 150ms cubic-bezier(0.16, 1, 0.3, 1);
35
- color: var(--funcnodestextcolor1);
36
- border: 1px solid var(--funheadercolor);
37
- display: flex;
38
- flex-direction: column;
39
- z-index: 2001;
40
- }
41
-
42
- .dialogtitle {
43
- margin: 0;
44
- font-weight: 500;
45
- color: var(--funheadercolor);
46
- font-size: 17px;
47
- }
48
-
49
- .dialogdescription {
50
- margin: 10px 0 20px;
51
- font-size: 15px;
52
- line-height: 1.5;
53
- }
54
-
55
- .dialogclosebutton {
56
- border-radius: 100%;
57
- height: 25px;
58
- width: 25px;
59
- display: inline-flex;
60
- background-color: inherit;
61
- align-items: center;
62
- justify-content: center;
63
- color: var(--funheadercolor);
64
- position: absolute;
65
- top: 10px;
66
- right: 10px;
67
- border: none;
68
- }
69
- .dialogclosebutton:hover {
70
- background-color: var(--funheadercolor);
71
- color: var(--funcnodesbackground1);
72
- }
73
- .dialogclosebutton:active {
74
- background-color: var(--funheadercolor);
75
- color: var(--funcnodestextcolor1);
76
- }
77
-
78
- .dialogsendbutton {
79
- background-color: var(--funcnodesbackground1);
80
- color: var(--funheadercolor);
81
- border: 1px solid var(--funheadercolor);
82
- border-radius: 99rem;
83
- padding: 10px 20px;
84
- cursor: pointer;
85
- font-size: 15px;
86
- margin-top: 20px;
87
- }
88
- .dialogsendbutton:hover {
89
- background-color: var(--funheadercolor);
90
- color: var(--funcnodesbackground1);
91
- }
92
- .dialogsendbutton:active {
93
- background-color: var(--funheadercolor);
94
- color: var(--funcnodestextcolor1);
95
- }
96
-
97
- .dialogchildren {
98
- margin-top: 20px;
99
- overflow: auto;
100
- }
101
-
102
14
  :root {
103
15
  --expandtime: 0.3s;
104
16
  --libnodebgcolor: #48465f;
@@ -344,6 +256,94 @@
344
256
  color: #0056b3;
345
257
  }
346
258
 
259
+ .dialogoverlay {
260
+ background-color: rgba(0, 0, 0, 0.5);
261
+ position: fixed;
262
+ inset: 0;
263
+ animation: overlayShow 150ms cubic-bezier(0.16, 1, 0.3, 1);
264
+ z-index: 2000;
265
+ }
266
+
267
+ .dialogconent {
268
+ background-color: var(--funcnodesbackground1);
269
+ border-radius: 6px;
270
+ box-shadow: var(--funheadercolor) 0px 10px 38px -10px, var(--funheadercolor) 0px 10px 20px -15px;
271
+ position: fixed;
272
+ top: 50%;
273
+ left: 50%;
274
+ transform: translate(-50%, -50%);
275
+ width: 90vw;
276
+ max-width: 85vw;
277
+ max-height: 85vh;
278
+ padding: 25px;
279
+ animation: contentShow 150ms cubic-bezier(0.16, 1, 0.3, 1);
280
+ color: var(--funcnodestextcolor1);
281
+ border: 1px solid var(--funheadercolor);
282
+ display: flex;
283
+ flex-direction: column;
284
+ z-index: 2001;
285
+ }
286
+
287
+ .dialogtitle {
288
+ margin: 0;
289
+ font-weight: 500;
290
+ color: var(--funheadercolor);
291
+ font-size: 17px;
292
+ }
293
+
294
+ .dialogdescription {
295
+ margin: 10px 0 20px;
296
+ font-size: 15px;
297
+ line-height: 1.5;
298
+ }
299
+
300
+ .dialogclosebutton {
301
+ border-radius: 100%;
302
+ height: 25px;
303
+ width: 25px;
304
+ display: inline-flex;
305
+ background-color: inherit;
306
+ align-items: center;
307
+ justify-content: center;
308
+ color: var(--funheadercolor);
309
+ position: absolute;
310
+ top: 10px;
311
+ right: 10px;
312
+ border: none;
313
+ }
314
+ .dialogclosebutton:hover {
315
+ background-color: var(--funheadercolor);
316
+ color: var(--funcnodesbackground1);
317
+ }
318
+ .dialogclosebutton:active {
319
+ background-color: var(--funheadercolor);
320
+ color: var(--funcnodestextcolor1);
321
+ }
322
+
323
+ .dialogsendbutton {
324
+ background-color: var(--funcnodesbackground1);
325
+ color: var(--funheadercolor);
326
+ border: 1px solid var(--funheadercolor);
327
+ border-radius: 99rem;
328
+ padding: 10px 20px;
329
+ cursor: pointer;
330
+ font-size: 15px;
331
+ margin-top: 20px;
332
+ }
333
+ .dialogsendbutton:hover {
334
+ background-color: var(--funheadercolor);
335
+ color: var(--funcnodesbackground1);
336
+ }
337
+ .dialogsendbutton:active {
338
+ background-color: var(--funheadercolor);
339
+ color: var(--funcnodestextcolor1);
340
+ }
341
+
342
+ .dialogchildren {
343
+ margin-top: 20px;
344
+ overflow: auto;
345
+ }
346
+
347
347
  /* this gets exported as style.css and can be used for the default theming */
348
348
  /* these are the necessary styles for React Flow, they get used by base.css and style.css */
349
349
  .react-flow {
@@ -832,74 +832,12 @@
832
832
  top: 100%;
833
833
  }
834
834
 
835
- :root {
836
- --funheadercolor: #00d9ff;
837
- --funcnodesbackground1: hsl(243, 26%, 13%);
838
- --funcnodesbackground2: hsl(245, 22%, 22%);
839
- --funcnodesbackground_light: hsl(240, 22%, 38%);
840
- --containerboarderradius: 1rem;
841
- --funcnodestextcolor1: #ffffff;
842
- }
843
-
844
- .funcnodescontainer {
845
- font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
846
- -webkit-font-smoothing: antialiased;
847
- -moz-osx-font-smoothing: grayscale;
848
- }
849
- .funcnodescontainer code {
850
- font-family: source-code-pro, Menlo, Monaco, Consolas, "Courier New", monospace;
851
- }
852
-
853
- .funcnodesreactflowcontainer {
854
- width: 100%;
855
- height: 100%;
856
- background-color: var(--funcnodesbackground1);
857
- position: relative;
858
- display: flex;
859
- flex-direction: column;
860
- color: var(--funcnodestextcolor1);
861
- }
862
- .funcnodesreactflowcontainer * {
863
- box-sizing: border-box;
864
- }
865
-
866
- .funcnodesreactflowbody {
867
- flex-grow: 1;
868
- position: relative;
869
- display: flex;
870
- flex-direction: row;
871
- overflow: hidden;
872
- }
873
-
874
- .reactflowlayer {
875
- flex-grow: 1;
876
- position: relative;
877
- overflow: hidden;
878
- background-color: var(--funcnodesbackground2);
879
- margin: 0.5rem;
880
- border-radius: var(--containerboarderradius);
881
- }
882
-
883
- .vscrollcontainer {
884
- overflow-y: auto;
885
- overflow-x: hidden;
886
- flex-grow: 1;
887
- padding: 0.5rem;
888
- box-sizing: border-box;
889
- }
890
-
891
- .workerselect {
892
- max-width: 140px;
893
- }
894
-
895
- .workerselectoption.selected {
896
- color: var(--funcnodestextcolor1);
897
- }
898
- .workerselectoption.active {
899
- color: green;
900
- }
901
- .workerselectoption.inactive {
902
- color: red;
835
+ .smooth-expand-expanded {
836
+ position: absolute;
837
+ top: 0;
838
+ left: 0;
839
+ width: 100vw;
840
+ height: 100vh;
903
841
  }
904
842
 
905
843
  .basicstyleelement, .headermenucontent, .styled-select__menu, .styleelement, .styledcheckbox, .styledinput, .styledbtn, .styleddropdown {
@@ -1031,6 +969,86 @@ button {
1031
969
  font-size: inherit;
1032
970
  }
1033
971
 
972
+ :root {
973
+ --funheadercolor: #00d9ff;
974
+ --funcnodesbackground1: hsl(243, 26%, 13%);
975
+ --funcnodesbackground2: hsl(245, 22%, 22%);
976
+ --funcnodesbackground_light: hsl(240, 22%, 38%);
977
+ --containerboarderradius: 1rem;
978
+ --funcnodestextcolor1: #ffffff;
979
+ }
980
+
981
+ .funcnodescontainer {
982
+ font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
983
+ -webkit-font-smoothing: antialiased;
984
+ -moz-osx-font-smoothing: grayscale;
985
+ }
986
+ .funcnodescontainer code {
987
+ font-family: source-code-pro, Menlo, Monaco, Consolas, "Courier New", monospace;
988
+ }
989
+
990
+ .funcnodesreactflowcontainer {
991
+ width: 100%;
992
+ height: 100%;
993
+ background-color: var(--funcnodesbackground1);
994
+ position: relative;
995
+ display: flex;
996
+ flex-direction: column;
997
+ color: var(--funcnodestextcolor1);
998
+ }
999
+ .funcnodesreactflowcontainer * {
1000
+ box-sizing: border-box;
1001
+ }
1002
+
1003
+ .funcnodesreactflowbody {
1004
+ flex-grow: 1;
1005
+ position: relative;
1006
+ display: flex;
1007
+ flex-direction: row;
1008
+ overflow: hidden;
1009
+ }
1010
+
1011
+ .reactflowlayer {
1012
+ flex-grow: 1;
1013
+ position: relative;
1014
+ overflow: hidden;
1015
+ background-color: var(--funcnodesbackground2);
1016
+ margin: 0.5rem;
1017
+ border-radius: var(--containerboarderradius);
1018
+ }
1019
+
1020
+ .vscrollcontainer {
1021
+ overflow-y: auto;
1022
+ overflow-x: hidden;
1023
+ flex-grow: 1;
1024
+ padding: 0.5rem;
1025
+ box-sizing: border-box;
1026
+ }
1027
+
1028
+ .workerselect {
1029
+ max-width: 140px;
1030
+ }
1031
+
1032
+ .workerselectoption.selected {
1033
+ color: var(--funcnodestextcolor1);
1034
+ }
1035
+ .workerselectoption.active {
1036
+ color: green;
1037
+ }
1038
+ .workerselectoption.inactive {
1039
+ color: red;
1040
+ }
1041
+
1042
+ .funcnodesflaotingmenu {
1043
+ position: absolute;
1044
+ right: 0;
1045
+ padding: 10px;
1046
+ z-index: 1001;
1047
+ display: flex;
1048
+ flex-direction: row;
1049
+ margin-right: 10px;
1050
+ }
1051
+
1034
1052
  .funcnodesreactflowheader {
1035
1053
  display: flex;
1036
1054
  flex-direction: row;
@@ -1135,6 +1153,83 @@ button {
1135
1153
  margin-top: 0.5rem;
1136
1154
  }
1137
1155
 
1156
+ .tablecontainer {
1157
+ overflow: auto;
1158
+ background-color: white;
1159
+ min-height: 20rem;
1160
+ }
1161
+
1162
+ .tableHead {
1163
+ color: var(--funheadercolor) !important;
1164
+ background-color: var(--funcnodesbackground1);
1165
+ font-weight: bold !important;
1166
+ }
1167
+
1168
+ .tableheadercolor {
1169
+ color: inherit !important;
1170
+ font-family: inherit !important;
1171
+ font-weight: inherit !important;
1172
+ }
1173
+
1174
+ .indexcol {
1175
+ background-color: var(--funcnodesbackground2);
1176
+ color: var(--funheadercolor) !important;
1177
+ font-family: inherit !important;
1178
+ font-weight: inherit !important;
1179
+ }
1180
+
1181
+ .styled-select__control {
1182
+ height: 100%;
1183
+ min-height: initial;
1184
+ min-width: 10px;
1185
+ }
1186
+ .styled-select__menu-list {
1187
+ max-height: 200px;
1188
+ }
1189
+ .styled-select__single-value {
1190
+ text-align: start;
1191
+ }
1192
+ .styled-select__option {
1193
+ text-align: start;
1194
+ padding: 2px 5px;
1195
+ }
1196
+ .styled-select__option:hover {
1197
+ cursor: pointer;
1198
+ }
1199
+
1200
+ .colorspace {
1201
+ margin: 0.2rem;
1202
+ display: grid;
1203
+ grid-template-columns: auto minmax(0, 1fr);
1204
+ }
1205
+ .colorspace_title {
1206
+ font-size: 0.7em;
1207
+ font-weight: bold;
1208
+ }
1209
+ .colorspace label {
1210
+ font-size: 0.7rem;
1211
+ }
1212
+ .colorspace input {
1213
+ font-size: 0.7rem;
1214
+ max-height: 0.7rem;
1215
+ }
1216
+ .colorspace input[type=range] {
1217
+ width: 100%;
1218
+ margin: 0;
1219
+ padding: 0;
1220
+ -webkit-appearance: none;
1221
+ background-color: #666;
1222
+ height: 0.7rem;
1223
+ border-radius: 5px;
1224
+ }
1225
+ .colorspace input[type=range]::-webkit-slider-thumb, .colorspace input[type=range]::-webkit-range-thumb, .colorspace input[type=range]::-moz-range-thumb {
1226
+ width: 0.7rem;
1227
+ height: 0.7rem;
1228
+ background-color: #cc1c1c;
1229
+ border-radius: 50%;
1230
+ cursor: pointer;
1231
+ }
1232
+
1138
1233
  :root {
1139
1234
  --node_border_radius: 5px;
1140
1235
  --handle_outer_radius: 4px;
@@ -1404,83 +1499,6 @@ input.nodedatainput.styledinput,
1404
1499
  transition: width 0.3s ease;
1405
1500
  }
1406
1501
 
1407
- .styled-select__control {
1408
- height: 100%;
1409
- min-height: initial;
1410
- min-width: 10px;
1411
- }
1412
- .styled-select__menu-list {
1413
- max-height: 200px;
1414
- }
1415
- .styled-select__single-value {
1416
- text-align: start;
1417
- }
1418
- .styled-select__option {
1419
- text-align: start;
1420
- padding: 2px 5px;
1421
- }
1422
- .styled-select__option:hover {
1423
- cursor: pointer;
1424
- }
1425
-
1426
- .tablecontainer {
1427
- overflow: auto;
1428
- background-color: white;
1429
- min-height: 20rem;
1430
- }
1431
-
1432
- .tableHead {
1433
- color: var(--funheadercolor) !important;
1434
- background-color: var(--funcnodesbackground1);
1435
- font-weight: bold !important;
1436
- }
1437
-
1438
- .tableheadercolor {
1439
- color: inherit !important;
1440
- font-family: inherit !important;
1441
- font-weight: inherit !important;
1442
- }
1443
-
1444
- .indexcol {
1445
- background-color: var(--funcnodesbackground2);
1446
- color: var(--funheadercolor) !important;
1447
- font-family: inherit !important;
1448
- font-weight: inherit !important;
1449
- }
1450
-
1451
- .colorspace {
1452
- margin: 0.2rem;
1453
- display: grid;
1454
- grid-template-columns: auto minmax(0, 1fr);
1455
- }
1456
- .colorspace_title {
1457
- font-size: 0.7em;
1458
- font-weight: bold;
1459
- }
1460
- .colorspace label {
1461
- font-size: 0.7rem;
1462
- }
1463
- .colorspace input {
1464
- font-size: 0.7rem;
1465
- max-height: 0.7rem;
1466
- }
1467
- .colorspace input[type=range] {
1468
- width: 100%;
1469
- margin: 0;
1470
- padding: 0;
1471
- -webkit-appearance: none;
1472
- background-color: #666;
1473
- height: 0.7rem;
1474
- border-radius: 5px;
1475
- }
1476
- .colorspace input[type=range]::-webkit-slider-thumb, .colorspace input[type=range]::-webkit-range-thumb, .colorspace input[type=range]::-moz-range-thumb {
1477
- width: 0.7rem;
1478
- height: 0.7rem;
1479
- background-color: #cc1c1c;
1480
- border-radius: 50%;
1481
- cursor: pointer;
1482
- }
1483
-
1484
1502
  s slideUpAndFade from {
1485
1503
  opacity: 0;
1486
1504
  transform: translateY(2px);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@linkdlab/funcnodes_react_flow",
3
- "version": "0.3.14",
3
+ "version": "0.3.15",
4
4
  "description": "Frontend with React Flow for FuncNodes",
5
5
  "repository": {
6
6
  "type": "git",