@eveshipfit/ui-ingame 1.10.0 → 1.11.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/style.css CHANGED
@@ -56,7 +56,7 @@
56
56
  .cmKEiW_tooltip {
57
57
  --tooltip-unit: calc(1px * var(--esf-scale, 1));
58
58
  --notch-size: calc(10 * var(--tooltip-unit));
59
- --notch-reach: calc(var(--notch-size) * .71 + var(--tooltip-unit));
59
+ --notch-reach: calc((var(--notch-size) + 2 * var(--tooltip-unit)) * .707 + var(--tooltip-unit));
60
60
  anchor-name: var(--tooltip-box);
61
61
  color: var(--esf-text);
62
62
  font-family: var(--esf-font);
@@ -68,6 +68,7 @@
68
68
  position-anchor: var(--tooltip-anchor);
69
69
  position-area: top;
70
70
  position-try-fallbacks: flip-block;
71
+ white-space: normal;
71
72
  background: none;
72
73
  border: none;
73
74
  padding: 0;
@@ -75,6 +76,10 @@
75
76
  overflow: visible;
76
77
  }
77
78
 
79
+ .cmKEiW_tooltip[data-wide] {
80
+ max-width: 90vw;
81
+ }
82
+
78
83
  .cmKEiW_notch, .cmKEiW_label {
79
84
  background: var(--esf-bg);
80
85
  border: var(--tooltip-unit) solid var(--esf-border);
@@ -109,7 +114,7 @@
109
114
  content: "";
110
115
  height: var(--tooltip-unit);
111
116
  top: clamp(anchor(var(--tooltip-box) top), var(--edge), anchor(var(--tooltip-box) bottom) - var(--tooltip-unit));
112
- width: calc(var(--notch-size) * 1.41 - 2 * var(--tooltip-unit));
117
+ width: calc(var(--notch-size) * 1.414);
113
118
  translate: -50%;
114
119
  }
115
120
 
@@ -622,9 +627,11 @@
622
627
  }
623
628
 
624
629
  .T6VD6G_action {
625
- height: calc(var(--action-size) * var(--wheel-unit));
626
- margin: calc(var(--action-size) / -2 * var(--wheel-unit));
627
- width: calc(var(--action-size) * var(--wheel-unit));
630
+ --size: round(down, calc(var(--action-size) * var(--wheel-unit)), 1px);
631
+ height: var(--size);
632
+ left: round(calc(var(--left) - var(--size) / 2), 1px);
633
+ top: round(calc(var(--top) - var(--size) / 2), 1px);
634
+ width: var(--size);
628
635
  position: absolute;
629
636
  }
630
637
 
@@ -905,6 +912,54 @@
905
912
  ._6LFjiq_cell[data-lit] {
906
913
  background: var(--lit);
907
914
  }
915
+ .BL_QfG_menu {
916
+ --menu-unit: calc(1px * var(--esf-scale, 1));
917
+ background: var(--esf-menu-bg);
918
+ border: var(--menu-unit) solid var(--esf-input-border);
919
+ color: var(--esf-text);
920
+ font-family: var(--esf-font);
921
+ font-size: calc(var(--esf-font-size) * var(--esf-scale, 1));
922
+ min-width: calc(160 * var(--menu-unit));
923
+ padding: calc(6 * var(--menu-unit)) 0;
924
+ outline: none;
925
+ margin: 0;
926
+ position: fixed;
927
+ inset: auto;
928
+ }
929
+
930
+ .BL_QfG_menu > button {
931
+ color: inherit;
932
+ cursor: pointer;
933
+ font: inherit;
934
+ align-items: center;
935
+ gap: calc(6 * var(--menu-unit));
936
+ padding: calc(4 * var(--menu-unit)) calc(16 * var(--menu-unit)) calc(4 * var(--menu-unit)) calc(8 * var(--menu-unit));
937
+ text-align: left;
938
+ white-space: nowrap;
939
+ background: none;
940
+ border: none;
941
+ width: 100%;
942
+ display: flex;
943
+ }
944
+
945
+ .BL_QfG_menu > button:hover, .BL_QfG_menu > button:focus-visible {
946
+ background: var(--esf-menu-hover);
947
+ outline: none;
948
+ }
949
+
950
+ .BL_QfG_icon {
951
+ height: calc(16 * var(--menu-unit));
952
+ width: calc(16 * var(--menu-unit));
953
+ flex: none;
954
+ place-items: center;
955
+ display: grid;
956
+ }
957
+
958
+ .BL_QfG_separator {
959
+ border: none;
960
+ border-top: var(--menu-unit) solid var(--esf-border);
961
+ margin: calc(4 * var(--menu-unit)) 0;
962
+ }
908
963
  .tsr2Sa_hint {
909
964
  height: var(--wheel-texture-size);
910
965
  left: calc(50% - var(--wheel-texture-size) / 2);
@@ -1596,6 +1651,52 @@
1596
1651
  height: calc(16 * var(--info-unit));
1597
1652
  width: calc(16 * var(--info-unit));
1598
1653
  }
1654
+ .qMyuGa_bonuses {
1655
+ --unit: var(--tooltip-unit, 1px);
1656
+ color: var(--esf-text-muted);
1657
+ align-items: baseline;
1658
+ column-gap: calc(8 * var(--unit));
1659
+ max-height: min(calc(500 * var(--unit)), 60vh);
1660
+ row-gap: calc(4 * var(--unit));
1661
+ scrollbar-color: var(--esf-border) transparent;
1662
+ scrollbar-width: thin;
1663
+ grid-template-columns: auto 1fr;
1664
+ line-height: 1.3;
1665
+ display: grid;
1666
+ overflow-y: auto;
1667
+ }
1668
+
1669
+ .qMyuGa_name {
1670
+ color: var(--esf-text);
1671
+ grid-column: 1 / -1;
1672
+ }
1673
+
1674
+ .qMyuGa_header {
1675
+ color: var(--esf-bonus-header);
1676
+ margin-top: calc(6 * var(--unit));
1677
+ grid-column: 1 / -1;
1678
+ font-weight: 600;
1679
+ }
1680
+
1681
+ .qMyuGa_value {
1682
+ color: var(--esf-bonus-value);
1683
+ text-align: right;
1684
+ white-space: nowrap;
1685
+ font-weight: 600;
1686
+ }
1687
+
1688
+ .qMyuGa_bonuses [data-bold] {
1689
+ color: var(--esf-text);
1690
+ font-weight: 600;
1691
+ }
1692
+
1693
+ .qMyuGa_bonuses [data-italic] {
1694
+ font-style: italic;
1695
+ }
1696
+
1697
+ .qMyuGa_bonuses [data-underline] {
1698
+ text-decoration: underline;
1699
+ }
1599
1700
  .gVdevq_panel {
1600
1701
  background: var(--esf-menu-bg);
1601
1702
  border: var(--window-unit) solid var(--esf-input-border);
@@ -2870,6 +2971,47 @@
2870
2971
  width: calc(16 * var(--statistics-unit));
2871
2972
  }
2872
2973
 
2974
+ .lebA7G_priceList {
2975
+ --price-unit: calc(1px * var(--esf-scale, 1));
2976
+ column-gap: calc(12 * var(--price-unit));
2977
+ row-gap: calc(4 * var(--price-unit));
2978
+ white-space: nowrap;
2979
+ grid-template-columns: auto 1fr auto auto;
2980
+ display: grid;
2981
+ }
2982
+
2983
+ .lebA7G_priceTotal, .lebA7G_priceItem {
2984
+ grid-column: 1 / -1;
2985
+ grid-template-columns: subgrid;
2986
+ align-items: center;
2987
+ display: grid;
2988
+ }
2989
+
2990
+ .lebA7G_priceTotal {
2991
+ border-bottom: calc(1 * var(--price-unit)) solid var(--esf-border);
2992
+ padding-bottom: calc(6 * var(--price-unit));
2993
+ font-weight: 600;
2994
+ }
2995
+
2996
+ .lebA7G_priceTotal > :first-child {
2997
+ grid-column: 1 / -2;
2998
+ }
2999
+
3000
+ .lebA7G_priceIcon {
3001
+ height: calc(24 * var(--price-unit));
3002
+ width: calc(24 * var(--price-unit));
3003
+ }
3004
+
3005
+ .lebA7G_priceIcon > span {
3006
+ width: 100%;
3007
+ height: 100%;
3008
+ display: block;
3009
+ }
3010
+
3011
+ .lebA7G_priceTotal > :last-child, .lebA7G_priceItem > :nth-child(n+3) {
3012
+ text-align: right;
3013
+ }
3014
+
2873
3015
  .lebA7G_fighters {
2874
3016
  --fighters-unit: calc(1px * var(--esf-scale, 1));
2875
3017
  padding: calc(4 * var(--fighters-unit)) calc(10 * var(--fighters-unit)) calc(4 * var(--fighters-unit))
package/dist/theme.css CHANGED
@@ -29,7 +29,9 @@
29
29
  --esf-history-current: #bfbfbf;
30
30
  --esf-button-active: #366370;
31
31
  --esf-button-active-edge: #57a6be;
32
- --esf-stats-header: #161718;
32
+ --esf-stats-header: var(--esf-tree-header);
33
+ --esf-bonus-header: #5499c3;
34
+ --esf-bonus-value: #d0efff;
33
35
  --esf-good: #8cc068;
34
36
  --esf-bad: #fb444a;
35
37
  --esf-damage-em: #1e71a1;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eveshipfit/ui-ingame",
3
- "version": "1.10.0",
3
+ "version": "1.11.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,24 +27,24 @@
27
27
  "access": "public"
28
28
  },
29
29
  "dependencies": {
30
- "@eveshipfit/react-hooks": "2.4.0",
31
- "@eveshipfit/fitting": "2.4.1"
30
+ "@eveshipfit/fitting": "2.5.0",
31
+ "@eveshipfit/react-hooks": "2.5.0"
32
32
  },
33
33
  "devDependencies": {
34
- "@babel/core": "^7.29.0",
35
- "@eveshipfit/images": "^3.3561556.0",
34
+ "@babel/core": "^8.0.9",
35
+ "@eveshipfit/images": "^3.3654997.0",
36
36
  "@rolldown/plugin-babel": "^0.2.4",
37
- "@storybook/react-vite": "^10.6.0",
38
- "@tsdown/css": "^0.23.0",
37
+ "@storybook/react-vite": "^10.6.5",
38
+ "@tsdown/css": "^0.23.3",
39
39
  "@types/react": "^19.3.0",
40
40
  "@types/react-dom": "^19.3.0",
41
41
  "babel-plugin-react-compiler": "^1.0.0",
42
- "react": "^19.3.0",
43
- "react-dom": "^19.3.0",
44
- "storybook": "^10.6.0",
45
- "tsdown": "^0.23.0",
46
- "vite": "^8.3.0",
47
- "@eveshipfit/sde-loader": "3.0.0"
42
+ "react": "^19.3.1",
43
+ "react-dom": "^19.3.1",
44
+ "storybook": "^10.6.5",
45
+ "tsdown": "^0.23.3",
46
+ "vite": "^8.3.5",
47
+ "@eveshipfit/sde-loader": "4.0.0"
48
48
  },
49
49
  "peerDependencies": {
50
50
  "@eveshipfit/images": "^3.3561556.0",