@linkdlab/funcnodes_react_flow 0.3.13 → 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.
@@ -1,4 +1,16 @@
1
1
  @charset "UTF-8";
2
+ :root {
3
+ --funcnodesedgecolor: #7bb3ec;
4
+ }
5
+
6
+ .funcnodes-edge .react-flow__edge-path {
7
+ stroke: var(--funcnodesedgecolor);
8
+ stroke-width: 2px;
9
+ }
10
+ .funcnodes-edge.selected .react-flow__edge-path {
11
+ stroke: #11ff00;
12
+ }
13
+
2
14
  :root {
3
15
  --expandtime: 0.3s;
4
16
  --libnodebgcolor: #48465f;
@@ -244,18 +256,6 @@
244
256
  color: #0056b3;
245
257
  }
246
258
 
247
- :root {
248
- --funcnodesedgecolor: #7bb3ec;
249
- }
250
-
251
- .funcnodes-edge .react-flow__edge-path {
252
- stroke: var(--funcnodesedgecolor);
253
- stroke-width: 2px;
254
- }
255
- .funcnodes-edge.selected .react-flow__edge-path {
256
- stroke: #11ff00;
257
- }
258
-
259
259
  .dialogoverlay {
260
260
  background-color: rgba(0, 0, 0, 0.5);
261
261
  position: fixed;
@@ -832,6 +832,14 @@
832
832
  top: 100%;
833
833
  }
834
834
 
835
+ .smooth-expand-expanded {
836
+ position: absolute;
837
+ top: 0;
838
+ left: 0;
839
+ width: 100vw;
840
+ height: 100vh;
841
+ }
842
+
835
843
  .basicstyleelement, .headermenucontent, .styled-select__menu, .styleelement, .styledcheckbox, .styledinput, .styledbtn, .styleddropdown {
836
844
  background-color: var(--funcnodesbackground1);
837
845
  color: var(--funcnodestextcolor1);
@@ -1031,6 +1039,16 @@ button {
1031
1039
  color: red;
1032
1040
  }
1033
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;
@@ -1098,6 +1116,120 @@ button {
1098
1116
  color: #fff;
1099
1117
  }
1100
1118
 
1119
+ .nodesettings_container {
1120
+ height: 100%;
1121
+ display: flex;
1122
+ flex-direction: row;
1123
+ }
1124
+ .nodesettings_expander {
1125
+ height: 100%;
1126
+ display: flex;
1127
+ align-items: center;
1128
+ justify-content: center;
1129
+ cursor: pointer;
1130
+ padding: 3px 3px;
1131
+ }
1132
+ .nodesettings_content {
1133
+ display: flex;
1134
+ flex-direction: column;
1135
+ flex: 1;
1136
+ padding: 0 5px;
1137
+ overflow: auto;
1138
+ transition: width 0.5s;
1139
+ }
1140
+ .nodesettings_content.expanded {
1141
+ width: 250px;
1142
+ }
1143
+ .nodesettings_content.collapsed {
1144
+ width: 0;
1145
+ }
1146
+ .nodesettings_section {
1147
+ margin-bottom: 10px;
1148
+ margin-left: 0.5rem;
1149
+ }
1150
+ .nodesettings_component {
1151
+ margin-bottom: 0.5rem;
1152
+ margin-left: 0.5rem;
1153
+ margin-top: 0.5rem;
1154
+ }
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
+
1101
1233
  :root {
1102
1234
  --node_border_radius: 5px;
1103
1235
  --handle_outer_radius: 4px;
@@ -1367,120 +1499,6 @@ input.nodedatainput.styledinput,
1367
1499
  transition: width 0.3s ease;
1368
1500
  }
1369
1501
 
1370
- .nodesettings_container {
1371
- height: 100%;
1372
- display: flex;
1373
- flex-direction: row;
1374
- }
1375
- .nodesettings_expander {
1376
- height: 100%;
1377
- display: flex;
1378
- align-items: center;
1379
- justify-content: center;
1380
- cursor: pointer;
1381
- padding: 3px 3px;
1382
- }
1383
- .nodesettings_content {
1384
- display: flex;
1385
- flex-direction: column;
1386
- flex: 1;
1387
- padding: 0 5px;
1388
- overflow: auto;
1389
- transition: width 0.5s;
1390
- }
1391
- .nodesettings_content.expanded {
1392
- width: 250px;
1393
- }
1394
- .nodesettings_content.collapsed {
1395
- width: 0;
1396
- }
1397
- .nodesettings_section {
1398
- margin-bottom: 10px;
1399
- margin-left: 0.5rem;
1400
- }
1401
- .nodesettings_component {
1402
- margin-bottom: 0.5rem;
1403
- margin-left: 0.5rem;
1404
- margin-top: 0.5rem;
1405
- }
1406
-
1407
- .tablecontainer {
1408
- overflow: auto;
1409
- background-color: white;
1410
- min-height: 20rem;
1411
- }
1412
-
1413
- .tableHead {
1414
- color: var(--funheadercolor) !important;
1415
- background-color: var(--funcnodesbackground1);
1416
- font-weight: bold !important;
1417
- }
1418
-
1419
- .tableheadercolor {
1420
- color: inherit !important;
1421
- font-family: inherit !important;
1422
- font-weight: inherit !important;
1423
- }
1424
-
1425
- .indexcol {
1426
- background-color: var(--funcnodesbackground2);
1427
- color: var(--funheadercolor) !important;
1428
- font-family: inherit !important;
1429
- font-weight: inherit !important;
1430
- }
1431
-
1432
- .styled-select__control {
1433
- height: 100%;
1434
- min-height: initial;
1435
- min-width: 10px;
1436
- }
1437
- .styled-select__menu-list {
1438
- max-height: 200px;
1439
- }
1440
- .styled-select__single-value {
1441
- text-align: start;
1442
- }
1443
- .styled-select__option {
1444
- text-align: start;
1445
- padding: 2px 5px;
1446
- }
1447
- .styled-select__option:hover {
1448
- cursor: pointer;
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.13",
3
+ "version": "0.3.15",
4
4
  "description": "Frontend with React Flow for FuncNodes",
5
5
  "repository": {
6
6
  "type": "git",
@@ -15,7 +15,7 @@
15
15
  "type": "module",
16
16
  "source": "src/index.tsx",
17
17
  "main": "dist/umd/index.umd.js",
18
- "module": "dist/esm/index.esm.js",
18
+ "module": "dist/esm/index.esm.mjs",
19
19
  "types": "dist/index.d.ts",
20
20
  "style": "dist/style.css",
21
21
  "files": [