@eveshipfit/ui-ingame 1.5.0 → 1.7.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/dist/index.d.mts +16 -4
- package/dist/index.mjs +4460 -1094
- package/dist/style.css +170 -4
- package/package.json +6 -6
package/dist/style.css
CHANGED
|
@@ -679,6 +679,26 @@
|
|
|
679
679
|
top: 3%;
|
|
680
680
|
left: 3%;
|
|
681
681
|
}
|
|
682
|
+
._4DcEdq_link {
|
|
683
|
+
height: var(--wheel-texture-size);
|
|
684
|
+
left: calc(50% - var(--wheel-texture-size) / 2);
|
|
685
|
+
pointer-events: none;
|
|
686
|
+
top: calc(50% - var(--wheel-texture-size) / 2);
|
|
687
|
+
width: var(--wheel-texture-size);
|
|
688
|
+
position: absolute;
|
|
689
|
+
overflow: visible;
|
|
690
|
+
}
|
|
691
|
+
|
|
692
|
+
._4DcEdq_text {
|
|
693
|
+
fill: #cdcdcd;
|
|
694
|
+
letter-spacing: .05em;
|
|
695
|
+
pointer-events: auto;
|
|
696
|
+
font-size: 11px;
|
|
697
|
+
}
|
|
698
|
+
|
|
699
|
+
._4DcEdq_text:hover {
|
|
700
|
+
fill: #fff;
|
|
701
|
+
}
|
|
682
702
|
.dnJ0cW_stat {
|
|
683
703
|
--stat-unit: calc(1px * var(--esf-scale, 1));
|
|
684
704
|
align-items: center;
|
|
@@ -899,6 +919,132 @@
|
|
|
899
919
|
display: block;
|
|
900
920
|
position: relative;
|
|
901
921
|
}
|
|
922
|
+
.BVBbxW_track {
|
|
923
|
+
fill: none;
|
|
924
|
+
pointer-events: none;
|
|
925
|
+
stroke: #ffffff12;
|
|
926
|
+
stroke-linecap: round;
|
|
927
|
+
stroke-width: 39px;
|
|
928
|
+
position: absolute;
|
|
929
|
+
inset: 0;
|
|
930
|
+
overflow: visible;
|
|
931
|
+
}
|
|
932
|
+
|
|
933
|
+
.BVBbxW_marker {
|
|
934
|
+
height: calc(30 * var(--wheel-unit));
|
|
935
|
+
margin: calc(-15 * var(--wheel-unit));
|
|
936
|
+
width: calc(30 * var(--wheel-unit));
|
|
937
|
+
position: absolute;
|
|
938
|
+
}
|
|
939
|
+
|
|
940
|
+
.BVBbxW_marker img {
|
|
941
|
+
opacity: .8;
|
|
942
|
+
width: 100%;
|
|
943
|
+
height: 100%;
|
|
944
|
+
display: block;
|
|
945
|
+
}
|
|
946
|
+
|
|
947
|
+
.BVBbxW_marker img[data-marker="booster"] {
|
|
948
|
+
filter: grayscale() brightness(1.3);
|
|
949
|
+
margin: calc(4 * var(--wheel-unit));
|
|
950
|
+
opacity: .7;
|
|
951
|
+
width: calc(22 * var(--wheel-unit));
|
|
952
|
+
height: calc(22 * var(--wheel-unit));
|
|
953
|
+
}
|
|
954
|
+
|
|
955
|
+
.BVBbxW_slot {
|
|
956
|
+
height: calc(32 * var(--wheel-unit));
|
|
957
|
+
margin: calc(-16 * var(--wheel-unit));
|
|
958
|
+
width: calc(32 * var(--wheel-unit));
|
|
959
|
+
position: absolute;
|
|
960
|
+
}
|
|
961
|
+
|
|
962
|
+
.BVBbxW_body {
|
|
963
|
+
user-select: none;
|
|
964
|
+
justify-content: center;
|
|
965
|
+
align-items: center;
|
|
966
|
+
width: 100%;
|
|
967
|
+
height: 100%;
|
|
968
|
+
display: flex;
|
|
969
|
+
position: relative;
|
|
970
|
+
}
|
|
971
|
+
|
|
972
|
+
.BVBbxW_frame {
|
|
973
|
+
fill: #0d1213;
|
|
974
|
+
stroke: #2b3337;
|
|
975
|
+
stroke-linejoin: round;
|
|
976
|
+
stroke-width: 1px;
|
|
977
|
+
position: absolute;
|
|
978
|
+
inset: 0;
|
|
979
|
+
overflow: visible;
|
|
980
|
+
}
|
|
981
|
+
|
|
982
|
+
.BVBbxW_slot[data-filled] .BVBbxW_frame {
|
|
983
|
+
stroke: #3d5960;
|
|
984
|
+
}
|
|
985
|
+
|
|
986
|
+
.BVBbxW_slot[data-preview] .BVBbxW_frame {
|
|
987
|
+
filter: drop-shadow(0 0 calc(4 * var(--wheel-unit)) var(--esf-button-active-edge));
|
|
988
|
+
stroke: var(--esf-button-active-edge);
|
|
989
|
+
}
|
|
990
|
+
|
|
991
|
+
.BVBbxW_icon {
|
|
992
|
+
border-radius: calc(3 * var(--wheel-unit));
|
|
993
|
+
height: calc(28 * var(--wheel-unit));
|
|
994
|
+
width: calc(28 * var(--wheel-unit));
|
|
995
|
+
position: relative;
|
|
996
|
+
overflow: hidden;
|
|
997
|
+
}
|
|
998
|
+
|
|
999
|
+
.BVBbxW_icon > span {
|
|
1000
|
+
width: 100%;
|
|
1001
|
+
height: 100%;
|
|
1002
|
+
display: block;
|
|
1003
|
+
}
|
|
1004
|
+
|
|
1005
|
+
.BVBbxW_number {
|
|
1006
|
+
color: var(--esf-text-muted);
|
|
1007
|
+
font-family: var(--esf-font);
|
|
1008
|
+
font-size: calc(12.52 * var(--wheel-unit));
|
|
1009
|
+
opacity: .6;
|
|
1010
|
+
position: relative;
|
|
1011
|
+
}
|
|
1012
|
+
|
|
1013
|
+
.BVBbxW_actions {
|
|
1014
|
+
opacity: 0;
|
|
1015
|
+
pointer-events: none;
|
|
1016
|
+
border: none;
|
|
1017
|
+
margin: 0;
|
|
1018
|
+
padding: 0;
|
|
1019
|
+
position: absolute;
|
|
1020
|
+
inset: 0;
|
|
1021
|
+
}
|
|
1022
|
+
|
|
1023
|
+
.BVBbxW_slot:hover > .BVBbxW_actions, .BVBbxW_slot:has(:focus-visible) > .BVBbxW_actions {
|
|
1024
|
+
opacity: 1;
|
|
1025
|
+
}
|
|
1026
|
+
|
|
1027
|
+
.BVBbxW_slot:hover :is(.BVBbxW_action, .BVBbxW_bridge), .BVBbxW_slot:has(:focus-visible) :is(.BVBbxW_action, .BVBbxW_bridge) {
|
|
1028
|
+
pointer-events: auto;
|
|
1029
|
+
}
|
|
1030
|
+
|
|
1031
|
+
.BVBbxW_action {
|
|
1032
|
+
height: calc(12.97 * var(--wheel-unit));
|
|
1033
|
+
left: calc(50% + var(--x) * var(--wheel-unit));
|
|
1034
|
+
margin: calc(-6.49 * var(--wheel-unit));
|
|
1035
|
+
top: calc(50% + var(--y) * var(--wheel-unit));
|
|
1036
|
+
width: calc(12.97 * var(--wheel-unit));
|
|
1037
|
+
position: absolute;
|
|
1038
|
+
}
|
|
1039
|
+
|
|
1040
|
+
.BVBbxW_bridge {
|
|
1041
|
+
height: calc(8 * var(--wheel-unit));
|
|
1042
|
+
left: calc(50% + var(--x) * var(--wheel-unit));
|
|
1043
|
+
margin: calc(-4 * var(--wheel-unit));
|
|
1044
|
+
top: calc(50% + var(--y) * var(--wheel-unit));
|
|
1045
|
+
width: calc(8 * var(--wheel-unit));
|
|
1046
|
+
position: absolute;
|
|
1047
|
+
}
|
|
902
1048
|
._f5iUa_tooltip {
|
|
903
1049
|
gap: 8px;
|
|
904
1050
|
display: grid;
|
|
@@ -927,6 +1073,12 @@
|
|
|
927
1073
|
gap: 4px;
|
|
928
1074
|
}
|
|
929
1075
|
|
|
1076
|
+
._f5iUa_noIcon {
|
|
1077
|
+
flex: none;
|
|
1078
|
+
width: 24px;
|
|
1079
|
+
height: 24px;
|
|
1080
|
+
}
|
|
1081
|
+
|
|
930
1082
|
._f5iUa_iconless {
|
|
931
1083
|
align-items: center;
|
|
932
1084
|
min-height: 24px;
|
|
@@ -934,14 +1086,19 @@
|
|
|
934
1086
|
display: flex;
|
|
935
1087
|
}
|
|
936
1088
|
|
|
937
|
-
.
|
|
1089
|
+
._f5iUa_values {
|
|
938
1090
|
grid-auto-columns: 1fr;
|
|
939
1091
|
grid-auto-flow: column;
|
|
940
1092
|
padding-left: 27px;
|
|
941
1093
|
display: grid;
|
|
942
1094
|
}
|
|
943
1095
|
|
|
944
|
-
.
|
|
1096
|
+
._f5iUa_line > ._f5iUa_values {
|
|
1097
|
+
flex: 1;
|
|
1098
|
+
padding-left: 0;
|
|
1099
|
+
}
|
|
1100
|
+
|
|
1101
|
+
._f5iUa_values ._f5iUa_bonus {
|
|
945
1102
|
gap: 0;
|
|
946
1103
|
}
|
|
947
1104
|
|
|
@@ -956,6 +1113,15 @@
|
|
|
956
1113
|
._f5iUa_status[data-tone="overload"] {
|
|
957
1114
|
color: var(--esf-state-overload);
|
|
958
1115
|
}
|
|
1116
|
+
|
|
1117
|
+
._f5iUa_info {
|
|
1118
|
+
background: var(--esf-button-active-edge);
|
|
1119
|
+
height: 16px;
|
|
1120
|
+
mask: var(--texture) center / 100% 100%;
|
|
1121
|
+
flex: none;
|
|
1122
|
+
width: 16px;
|
|
1123
|
+
margin: 4px;
|
|
1124
|
+
}
|
|
959
1125
|
.GK_wGG_centre {
|
|
960
1126
|
inset: calc(86 * var(--wheel-unit));
|
|
961
1127
|
border-radius: 50%;
|
|
@@ -1539,7 +1705,7 @@
|
|
|
1539
1705
|
}
|
|
1540
1706
|
|
|
1541
1707
|
.L9t91q_window[data-statistics] {
|
|
1542
|
-
--statistics-width: calc(
|
|
1708
|
+
--statistics-width: calc(272 * var(--window-unit));
|
|
1543
1709
|
}
|
|
1544
1710
|
|
|
1545
1711
|
.L9t91q_frame {
|
|
@@ -1844,7 +2010,7 @@
|
|
|
1844
2010
|
}
|
|
1845
2011
|
|
|
1846
2012
|
.L9t91q_statistics {
|
|
1847
|
-
left: calc(
|
|
2013
|
+
left: calc(700 * var(--window-unit) + var(--browser-width));
|
|
1848
2014
|
width: calc(280 * var(--window-unit));
|
|
1849
2015
|
transition: left .2s;
|
|
1850
2016
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eveshipfit/ui-ingame",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.7.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": "2.
|
|
30
|
+
"@eveshipfit/react-hooks": "2.2.0"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
33
|
"@babel/core": "^7.29.0",
|
|
34
|
-
"@eveshipfit/images": "^
|
|
34
|
+
"@eveshipfit/images": "^3.3561556.0",
|
|
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/
|
|
47
|
-
"@eveshipfit/
|
|
46
|
+
"@eveshipfit/sde-loader": "2.1.0",
|
|
47
|
+
"@eveshipfit/fitting": "2.2.1"
|
|
48
48
|
},
|
|
49
49
|
"peerDependencies": {
|
|
50
|
-
"@eveshipfit/images": "^
|
|
50
|
+
"@eveshipfit/images": "^3.3561556.0",
|
|
51
51
|
"react": "^19.0.0",
|
|
52
52
|
"react-dom": "^19.0.0"
|
|
53
53
|
},
|