@eveshipfit/ui-ingame 1.3.0 → 1.4.0
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/README.md +1 -1
- package/dist/index.d.mts +16 -4
- package/dist/index.mjs +1244 -513
- package/dist/style.css +217 -2
- package/dist/theme.css +3 -0
- package/package.json +5 -5
package/dist/style.css
CHANGED
|
@@ -1098,6 +1098,49 @@
|
|
|
1098
1098
|
text-align: left;
|
|
1099
1099
|
}
|
|
1100
1100
|
|
|
1101
|
+
.gVdevq_panel[data-fighters] {
|
|
1102
|
+
padding: calc(12 * var(--window-unit));
|
|
1103
|
+
width: auto;
|
|
1104
|
+
}
|
|
1105
|
+
|
|
1106
|
+
.gVdevq_panel[data-fighters] .gVdevq_list {
|
|
1107
|
+
width: calc(5 * 88 * var(--window-unit) - 2 * var(--window-unit));
|
|
1108
|
+
}
|
|
1109
|
+
|
|
1110
|
+
.gVdevq_kinds {
|
|
1111
|
+
gap: calc(22 * var(--window-unit));
|
|
1112
|
+
min-height: calc(16 * var(--window-unit));
|
|
1113
|
+
padding-left: calc(4 * var(--window-unit));
|
|
1114
|
+
justify-self: start;
|
|
1115
|
+
display: flex;
|
|
1116
|
+
}
|
|
1117
|
+
|
|
1118
|
+
.gVdevq_kind {
|
|
1119
|
+
align-items: baseline;
|
|
1120
|
+
gap: calc(2 * var(--window-unit));
|
|
1121
|
+
display: flex;
|
|
1122
|
+
}
|
|
1123
|
+
|
|
1124
|
+
.gVdevq_kind > img {
|
|
1125
|
+
height: calc(16 * var(--window-unit));
|
|
1126
|
+
translate: 0 calc(8 * var(--window-unit) - .5cap);
|
|
1127
|
+
width: calc(16 * var(--window-unit));
|
|
1128
|
+
}
|
|
1129
|
+
|
|
1130
|
+
.gVdevq_tubes {
|
|
1131
|
+
gap: calc(2 * var(--window-unit));
|
|
1132
|
+
display: flex;
|
|
1133
|
+
}
|
|
1134
|
+
|
|
1135
|
+
.gVdevq_none {
|
|
1136
|
+
padding: calc(6 * var(--window-unit)) calc(8 * var(--window-unit));
|
|
1137
|
+
justify-self: stretch;
|
|
1138
|
+
}
|
|
1139
|
+
|
|
1140
|
+
.gVdevq_none:hover {
|
|
1141
|
+
background: var(--esf-bay-row-hover);
|
|
1142
|
+
}
|
|
1143
|
+
|
|
1101
1144
|
.gVdevq_selection {
|
|
1102
1145
|
color: var(--esf-text-muted);
|
|
1103
1146
|
align-items: center;
|
|
@@ -1174,6 +1217,178 @@
|
|
|
1174
1217
|
.gVdevq_remove:focus-visible, .gVdevq_removeAll:focus-visible, .gVdevq_box:focus-visible {
|
|
1175
1218
|
outline: var(--window-unit) solid var(--esf-text);
|
|
1176
1219
|
}
|
|
1220
|
+
.Wlg6ma_tube {
|
|
1221
|
+
--tube-unit: calc(1px * var(--esf-scale, 1));
|
|
1222
|
+
border-image: var(--tube) 6 fill / calc(6 * var(--tube-unit));
|
|
1223
|
+
box-sizing: border-box;
|
|
1224
|
+
color: var(--esf-text-muted);
|
|
1225
|
+
height: calc(116 * var(--tube-unit));
|
|
1226
|
+
user-select: none;
|
|
1227
|
+
width: calc(86 * var(--tube-unit));
|
|
1228
|
+
position: relative;
|
|
1229
|
+
}
|
|
1230
|
+
|
|
1231
|
+
.Wlg6ma_tube:not([data-state="unavailable"]):hover:before {
|
|
1232
|
+
background: var(--esf-fighter-tube-hover);
|
|
1233
|
+
content: "";
|
|
1234
|
+
position: absolute;
|
|
1235
|
+
inset: 0;
|
|
1236
|
+
}
|
|
1237
|
+
|
|
1238
|
+
.Wlg6ma_tube[data-state="unavailable"] {
|
|
1239
|
+
opacity: .4;
|
|
1240
|
+
}
|
|
1241
|
+
|
|
1242
|
+
.Wlg6ma_number {
|
|
1243
|
+
color: var(--esf-text);
|
|
1244
|
+
font-size: calc(11 * var(--tube-unit));
|
|
1245
|
+
height: calc(14 * var(--tube-unit));
|
|
1246
|
+
left: calc(2 * var(--tube-unit));
|
|
1247
|
+
top: calc(2 * var(--tube-unit));
|
|
1248
|
+
width: calc(14 * var(--tube-unit));
|
|
1249
|
+
justify-content: center;
|
|
1250
|
+
align-items: center;
|
|
1251
|
+
line-height: 1;
|
|
1252
|
+
display: flex;
|
|
1253
|
+
position: absolute;
|
|
1254
|
+
}
|
|
1255
|
+
|
|
1256
|
+
.Wlg6ma_number:before {
|
|
1257
|
+
background: var(--flag) center / 100% 100%;
|
|
1258
|
+
content: "";
|
|
1259
|
+
opacity: .35;
|
|
1260
|
+
position: absolute;
|
|
1261
|
+
inset: 0;
|
|
1262
|
+
}
|
|
1263
|
+
|
|
1264
|
+
.Wlg6ma_empty, .Wlg6ma_squadron {
|
|
1265
|
+
height: calc(86 * var(--tube-unit));
|
|
1266
|
+
width: calc(86 * var(--tube-unit));
|
|
1267
|
+
position: absolute;
|
|
1268
|
+
top: 0;
|
|
1269
|
+
left: 0;
|
|
1270
|
+
}
|
|
1271
|
+
|
|
1272
|
+
.Wlg6ma_empty {
|
|
1273
|
+
background: var(--texture) center / 100% 100%;
|
|
1274
|
+
}
|
|
1275
|
+
|
|
1276
|
+
.Wlg6ma_squadron {
|
|
1277
|
+
background: var(--underlay) center / 100% 100%;
|
|
1278
|
+
}
|
|
1279
|
+
|
|
1280
|
+
.Wlg6ma_squadron:after {
|
|
1281
|
+
background: var(--overlay) center / 100% 100%;
|
|
1282
|
+
content: "";
|
|
1283
|
+
position: absolute;
|
|
1284
|
+
inset: 0;
|
|
1285
|
+
}
|
|
1286
|
+
|
|
1287
|
+
.Wlg6ma_picture {
|
|
1288
|
+
height: calc(54 * var(--tube-unit));
|
|
1289
|
+
left: calc(16 * var(--tube-unit));
|
|
1290
|
+
top: calc(16 * var(--tube-unit));
|
|
1291
|
+
width: calc(54 * var(--tube-unit));
|
|
1292
|
+
border-radius: 50%;
|
|
1293
|
+
position: absolute;
|
|
1294
|
+
overflow: hidden;
|
|
1295
|
+
}
|
|
1296
|
+
|
|
1297
|
+
.Wlg6ma_picture > span {
|
|
1298
|
+
width: 100%;
|
|
1299
|
+
height: 100%;
|
|
1300
|
+
display: block;
|
|
1301
|
+
}
|
|
1302
|
+
|
|
1303
|
+
.Wlg6ma_tube[data-preview] .Wlg6ma_picture {
|
|
1304
|
+
filter: sepia() hue-rotate(190deg) saturate(200%);
|
|
1305
|
+
}
|
|
1306
|
+
|
|
1307
|
+
.Wlg6ma_ring {
|
|
1308
|
+
fill: none;
|
|
1309
|
+
stroke: var(--esf-fighter-empty);
|
|
1310
|
+
stroke-width: 4.5px;
|
|
1311
|
+
position: absolute;
|
|
1312
|
+
inset: 0;
|
|
1313
|
+
}
|
|
1314
|
+
|
|
1315
|
+
.Wlg6ma_ring > [data-lit] {
|
|
1316
|
+
stroke: var(--esf-fighter-full);
|
|
1317
|
+
}
|
|
1318
|
+
|
|
1319
|
+
.Wlg6ma_role {
|
|
1320
|
+
bottom: calc(18 * var(--tube-unit));
|
|
1321
|
+
z-index: 1;
|
|
1322
|
+
position: absolute;
|
|
1323
|
+
left: 50%;
|
|
1324
|
+
translate: -50%;
|
|
1325
|
+
}
|
|
1326
|
+
|
|
1327
|
+
.Wlg6ma_role > img {
|
|
1328
|
+
height: calc(16 * var(--tube-unit));
|
|
1329
|
+
width: calc(16 * var(--tube-unit));
|
|
1330
|
+
display: block;
|
|
1331
|
+
}
|
|
1332
|
+
|
|
1333
|
+
.Wlg6ma_label {
|
|
1334
|
+
text-align: center;
|
|
1335
|
+
left: 0;
|
|
1336
|
+
right: 0;
|
|
1337
|
+
top: calc(79 * var(--tube-unit));
|
|
1338
|
+
position: absolute;
|
|
1339
|
+
}
|
|
1340
|
+
|
|
1341
|
+
.Wlg6ma_resize {
|
|
1342
|
+
gap: calc(8 * var(--tube-unit));
|
|
1343
|
+
left: 0;
|
|
1344
|
+
right: 0;
|
|
1345
|
+
top: calc(96 * var(--tube-unit));
|
|
1346
|
+
justify-content: center;
|
|
1347
|
+
display: flex;
|
|
1348
|
+
position: absolute;
|
|
1349
|
+
}
|
|
1350
|
+
|
|
1351
|
+
.Wlg6ma_resize > button, .Wlg6ma_remove {
|
|
1352
|
+
color: var(--esf-text);
|
|
1353
|
+
cursor: default;
|
|
1354
|
+
font: inherit;
|
|
1355
|
+
opacity: .8;
|
|
1356
|
+
background: none;
|
|
1357
|
+
border: none;
|
|
1358
|
+
padding: 0;
|
|
1359
|
+
line-height: 1;
|
|
1360
|
+
}
|
|
1361
|
+
|
|
1362
|
+
.Wlg6ma_resize > button {
|
|
1363
|
+
font-size: calc(15 * var(--tube-unit));
|
|
1364
|
+
width: calc(12 * var(--tube-unit));
|
|
1365
|
+
font-weight: 600;
|
|
1366
|
+
}
|
|
1367
|
+
|
|
1368
|
+
.Wlg6ma_resize > button:disabled {
|
|
1369
|
+
opacity: .3;
|
|
1370
|
+
}
|
|
1371
|
+
|
|
1372
|
+
.Wlg6ma_remove {
|
|
1373
|
+
right: calc(4 * var(--tube-unit));
|
|
1374
|
+
top: calc(3 * var(--tube-unit));
|
|
1375
|
+
position: absolute;
|
|
1376
|
+
}
|
|
1377
|
+
|
|
1378
|
+
.Wlg6ma_remove > img {
|
|
1379
|
+
height: calc(14 * var(--tube-unit));
|
|
1380
|
+
width: calc(14 * var(--tube-unit));
|
|
1381
|
+
display: block;
|
|
1382
|
+
}
|
|
1383
|
+
|
|
1384
|
+
.Wlg6ma_resize > button:enabled:hover, .Wlg6ma_remove:hover {
|
|
1385
|
+
opacity: 1;
|
|
1386
|
+
}
|
|
1387
|
+
|
|
1388
|
+
.Wlg6ma_resize > button:focus-visible, .Wlg6ma_remove:focus-visible {
|
|
1389
|
+
opacity: 1;
|
|
1390
|
+
outline: var(--tube-unit) solid var(--esf-text);
|
|
1391
|
+
}
|
|
1177
1392
|
.L9t91q_window {
|
|
1178
1393
|
--window-unit: calc(1px * var(--esf-scale, 1));
|
|
1179
1394
|
--browser-width: 0px;
|
|
@@ -1777,11 +1992,11 @@
|
|
|
1777
1992
|
color: var(--esf-bad);
|
|
1778
1993
|
}
|
|
1779
1994
|
|
|
1780
|
-
.lebA7G_attribute[data-change="better"] {
|
|
1995
|
+
.lebA7G_attribute[data-change="better"], .lebA7G_price[data-change="better"] {
|
|
1781
1996
|
color: var(--esf-good);
|
|
1782
1997
|
}
|
|
1783
1998
|
|
|
1784
|
-
.lebA7G_attribute[data-change="worse"] {
|
|
1999
|
+
.lebA7G_attribute[data-change="worse"], .lebA7G_price[data-change="worse"] {
|
|
1785
2000
|
color: var(--esf-bad);
|
|
1786
2001
|
}
|
|
1787
2002
|
|
package/dist/theme.css
CHANGED
|
@@ -57,6 +57,9 @@
|
|
|
57
57
|
--esf-spinner-edge: #161718;
|
|
58
58
|
--esf-spinner-focus: #1a2629;
|
|
59
59
|
--esf-spinner-focus-edge: #273437;
|
|
60
|
+
--esf-fighter-tube-hover: rgb(255 255 255 / 4%);
|
|
61
|
+
--esf-fighter-full: #78bf42;
|
|
62
|
+
--esf-fighter-empty: #070707;
|
|
60
63
|
|
|
61
64
|
/* EVE's UI scale; 1 is 100%. */
|
|
62
65
|
--esf-scale: 1;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eveshipfit/ui-ingame",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.4.0",
|
|
4
4
|
"description": "EVE Online ship fitting UI that looks like the in-game one",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "EVEShipFit Team <info@eveship.fit>",
|
|
@@ -27,11 +27,11 @@
|
|
|
27
27
|
"access": "public"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@eveshipfit/react-hooks": "
|
|
30
|
+
"@eveshipfit/react-hooks": "2.0.0"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
33
|
"@babel/core": "^7.29.0",
|
|
34
|
-
"@eveshipfit/images": "^1.3552227.
|
|
34
|
+
"@eveshipfit/images": "^1.3552227.2",
|
|
35
35
|
"@rolldown/plugin-babel": "^0.2.4",
|
|
36
36
|
"@storybook/react-vite": "^10.6.0",
|
|
37
37
|
"@tsdown/css": "^0.23.0",
|
|
@@ -43,11 +43,11 @@
|
|
|
43
43
|
"storybook": "^10.6.0",
|
|
44
44
|
"tsdown": "^0.23.0",
|
|
45
45
|
"vite": "^8.3.0",
|
|
46
|
-
"@eveshipfit/fitting": "
|
|
46
|
+
"@eveshipfit/fitting": "2.0.0",
|
|
47
47
|
"@eveshipfit/sde-loader": "1.3.0"
|
|
48
48
|
},
|
|
49
49
|
"peerDependencies": {
|
|
50
|
-
"@eveshipfit/images": "^1.3552227.
|
|
50
|
+
"@eveshipfit/images": "^1.3552227.2",
|
|
51
51
|
"react": "^19.0.0",
|
|
52
52
|
"react-dom": "^19.0.0"
|
|
53
53
|
},
|