@eveshipfit/ui-ingame 1.12.0 → 1.13.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 +3 -1
- package/dist/index.mjs +2159 -787
- package/dist/style.css +393 -0
- package/dist/theme.css +1 -0
- package/package.json +4 -4
package/dist/style.css
CHANGED
|
@@ -478,6 +478,18 @@
|
|
|
478
478
|
position: absolute;
|
|
479
479
|
}
|
|
480
480
|
|
|
481
|
+
.T6VD6G_mutated {
|
|
482
|
+
background: var(--esf-mutated);
|
|
483
|
+
border-radius: var(--wheel-unit);
|
|
484
|
+
box-shadow: 0 0 calc(5 * var(--wheel-unit)) var(--esf-mutated);
|
|
485
|
+
height: calc(3 * var(--wheel-unit));
|
|
486
|
+
left: 50%;
|
|
487
|
+
top: calc(3 * var(--wheel-unit));
|
|
488
|
+
width: calc(16 * var(--wheel-unit));
|
|
489
|
+
position: absolute;
|
|
490
|
+
translate: -50%;
|
|
491
|
+
}
|
|
492
|
+
|
|
481
493
|
.T6VD6G_fill, .T6VD6G_frame {
|
|
482
494
|
background: var(--colour);
|
|
483
495
|
mask: var(--texture) center / 100% 100%;
|
|
@@ -1651,6 +1663,387 @@
|
|
|
1651
1663
|
height: calc(16 * var(--info-unit));
|
|
1652
1664
|
width: calc(16 * var(--info-unit));
|
|
1653
1665
|
}
|
|
1666
|
+
.yNZdnG_card {
|
|
1667
|
+
max-height: none;
|
|
1668
|
+
width: calc(460 * var(--info-unit));
|
|
1669
|
+
overflow: visible;
|
|
1670
|
+
}
|
|
1671
|
+
|
|
1672
|
+
.yNZdnG_panel {
|
|
1673
|
+
gap: calc(10 * var(--info-unit));
|
|
1674
|
+
padding: calc(10 * var(--info-unit)) 0 calc(6 * var(--info-unit));
|
|
1675
|
+
flex-direction: column;
|
|
1676
|
+
display: flex;
|
|
1677
|
+
}
|
|
1678
|
+
|
|
1679
|
+
.yNZdnG_toolbar {
|
|
1680
|
+
gap: calc(6 * var(--info-unit));
|
|
1681
|
+
display: flex;
|
|
1682
|
+
position: relative;
|
|
1683
|
+
}
|
|
1684
|
+
|
|
1685
|
+
.yNZdnG_picker {
|
|
1686
|
+
flex: 1;
|
|
1687
|
+
min-width: 0;
|
|
1688
|
+
}
|
|
1689
|
+
|
|
1690
|
+
.yNZdnG_select {
|
|
1691
|
+
background: var(--esf-input-bg);
|
|
1692
|
+
border: 1px solid var(--esf-input-border);
|
|
1693
|
+
color: var(--esf-text);
|
|
1694
|
+
cursor: pointer;
|
|
1695
|
+
font: inherit;
|
|
1696
|
+
align-items: center;
|
|
1697
|
+
gap: calc(8 * var(--info-unit));
|
|
1698
|
+
height: 100%;
|
|
1699
|
+
padding: calc(5 * var(--info-unit)) calc(8 * var(--info-unit));
|
|
1700
|
+
width: 100%;
|
|
1701
|
+
display: flex;
|
|
1702
|
+
}
|
|
1703
|
+
|
|
1704
|
+
.yNZdnG_select:hover, .yNZdnG_select:focus-visible, .yNZdnG_select[aria-expanded="true"] {
|
|
1705
|
+
border-color: var(--esf-text-muted);
|
|
1706
|
+
outline: none;
|
|
1707
|
+
}
|
|
1708
|
+
|
|
1709
|
+
.yNZdnG_selected {
|
|
1710
|
+
text-align: left;
|
|
1711
|
+
flex: 1;
|
|
1712
|
+
}
|
|
1713
|
+
|
|
1714
|
+
.yNZdnG_caret {
|
|
1715
|
+
color: var(--esf-text-muted);
|
|
1716
|
+
}
|
|
1717
|
+
|
|
1718
|
+
.yNZdnG_roll {
|
|
1719
|
+
flex: none;
|
|
1720
|
+
display: flex;
|
|
1721
|
+
}
|
|
1722
|
+
|
|
1723
|
+
.yNZdnG_more {
|
|
1724
|
+
background: var(--esf-button);
|
|
1725
|
+
border: 1px solid var(--esf-button-edge);
|
|
1726
|
+
color: var(--esf-text-muted);
|
|
1727
|
+
cursor: pointer;
|
|
1728
|
+
font: inherit;
|
|
1729
|
+
font-size: calc(10 * var(--info-unit));
|
|
1730
|
+
padding: 0 calc(5 * var(--info-unit));
|
|
1731
|
+
border-left: none;
|
|
1732
|
+
}
|
|
1733
|
+
|
|
1734
|
+
.yNZdnG_more:hover, .yNZdnG_more:focus-visible {
|
|
1735
|
+
background: var(--esf-button-active);
|
|
1736
|
+
border-color: var(--esf-button-active-edge);
|
|
1737
|
+
color: var(--esf-text);
|
|
1738
|
+
outline: none;
|
|
1739
|
+
}
|
|
1740
|
+
|
|
1741
|
+
.yNZdnG_dice {
|
|
1742
|
+
background: var(--esf-button);
|
|
1743
|
+
border: 1px solid var(--esf-button-edge);
|
|
1744
|
+
color: var(--esf-text);
|
|
1745
|
+
cursor: pointer;
|
|
1746
|
+
width: calc(30 * var(--info-unit));
|
|
1747
|
+
flex: none;
|
|
1748
|
+
justify-content: center;
|
|
1749
|
+
align-items: center;
|
|
1750
|
+
display: flex;
|
|
1751
|
+
}
|
|
1752
|
+
|
|
1753
|
+
.yNZdnG_dice:hover, .yNZdnG_dice:focus-visible {
|
|
1754
|
+
background: var(--esf-button-active);
|
|
1755
|
+
border-color: var(--esf-button-active-edge);
|
|
1756
|
+
outline: none;
|
|
1757
|
+
}
|
|
1758
|
+
|
|
1759
|
+
.yNZdnG_dice > svg {
|
|
1760
|
+
height: calc(16 * var(--info-unit));
|
|
1761
|
+
width: calc(16 * var(--info-unit));
|
|
1762
|
+
}
|
|
1763
|
+
|
|
1764
|
+
.yNZdnG_menu {
|
|
1765
|
+
background: var(--esf-menu-bg);
|
|
1766
|
+
border: 1px solid var(--esf-border);
|
|
1767
|
+
box-shadow: 0 calc(10 * var(--info-unit)) calc(30 * var(--info-unit)) #000c;
|
|
1768
|
+
z-index: 1;
|
|
1769
|
+
grid-template-columns: auto 1fr;
|
|
1770
|
+
display: grid;
|
|
1771
|
+
position: absolute;
|
|
1772
|
+
top: calc(100% + 2px);
|
|
1773
|
+
left: 0;
|
|
1774
|
+
right: 0;
|
|
1775
|
+
}
|
|
1776
|
+
|
|
1777
|
+
.yNZdnG_options {
|
|
1778
|
+
border-right: 1px solid var(--esf-input-border);
|
|
1779
|
+
padding: calc(4 * var(--info-unit)) 0;
|
|
1780
|
+
outline: none;
|
|
1781
|
+
margin: 0;
|
|
1782
|
+
list-style: none;
|
|
1783
|
+
}
|
|
1784
|
+
|
|
1785
|
+
.yNZdnG_option {
|
|
1786
|
+
white-space: nowrap;
|
|
1787
|
+
color: var(--esf-text);
|
|
1788
|
+
cursor: pointer;
|
|
1789
|
+
font: inherit;
|
|
1790
|
+
text-align: left;
|
|
1791
|
+
width: 100%;
|
|
1792
|
+
padding: calc(5 * var(--info-unit)) calc(10 * var(--info-unit));
|
|
1793
|
+
background: none;
|
|
1794
|
+
border: none;
|
|
1795
|
+
outline: none;
|
|
1796
|
+
display: block;
|
|
1797
|
+
}
|
|
1798
|
+
|
|
1799
|
+
.yNZdnG_option[data-active] {
|
|
1800
|
+
background: var(--esf-menu-hover);
|
|
1801
|
+
}
|
|
1802
|
+
|
|
1803
|
+
.yNZdnG_option[aria-checked="true"] {
|
|
1804
|
+
box-shadow: inset calc(2 * var(--info-unit)) 0 var(--esf-button-active-edge);
|
|
1805
|
+
}
|
|
1806
|
+
|
|
1807
|
+
.yNZdnG_option:focus-visible {
|
|
1808
|
+
outline: 1px solid var(--esf-button-active-edge);
|
|
1809
|
+
outline-offset: -1px;
|
|
1810
|
+
}
|
|
1811
|
+
|
|
1812
|
+
.yNZdnG_chart {
|
|
1813
|
+
font-size: calc(10 * var(--info-unit));
|
|
1814
|
+
gap: calc(7 * var(--info-unit));
|
|
1815
|
+
padding: calc(8 * var(--info-unit)) calc(10 * var(--info-unit)) calc(6 * var(--info-unit));
|
|
1816
|
+
flex-direction: column;
|
|
1817
|
+
display: flex;
|
|
1818
|
+
}
|
|
1819
|
+
|
|
1820
|
+
.yNZdnG_chartTitle {
|
|
1821
|
+
font-size: calc(11 * var(--info-unit));
|
|
1822
|
+
}
|
|
1823
|
+
|
|
1824
|
+
.yNZdnG_chartRow {
|
|
1825
|
+
gap: calc(2 * var(--info-unit));
|
|
1826
|
+
display: grid;
|
|
1827
|
+
}
|
|
1828
|
+
|
|
1829
|
+
.yNZdnG_chartName {
|
|
1830
|
+
color: var(--esf-text-muted);
|
|
1831
|
+
text-overflow: ellipsis;
|
|
1832
|
+
white-space: nowrap;
|
|
1833
|
+
overflow: hidden;
|
|
1834
|
+
}
|
|
1835
|
+
|
|
1836
|
+
.yNZdnG_chartBar {
|
|
1837
|
+
background: var(--esf-input-bg);
|
|
1838
|
+
height: calc(12 * var(--info-unit));
|
|
1839
|
+
position: relative;
|
|
1840
|
+
}
|
|
1841
|
+
|
|
1842
|
+
.yNZdnG_chartBehind {
|
|
1843
|
+
background: #ffffff14;
|
|
1844
|
+
position: absolute;
|
|
1845
|
+
inset-block: 0;
|
|
1846
|
+
}
|
|
1847
|
+
|
|
1848
|
+
.yNZdnG_chartRange {
|
|
1849
|
+
--low: var(--esf-bad);
|
|
1850
|
+
--high: var(--esf-good);
|
|
1851
|
+
background: linear-gradient(90deg,
|
|
1852
|
+
color-mix(in srgb, var(--low) 60%, transparent),
|
|
1853
|
+
var(--esf-resistance-bg) var(--neutral),
|
|
1854
|
+
color-mix(in srgb, var(--high) 60%, transparent));
|
|
1855
|
+
inset-block: calc(2 * var(--info-unit));
|
|
1856
|
+
position: absolute;
|
|
1857
|
+
}
|
|
1858
|
+
|
|
1859
|
+
.yNZdnG_chartRange:not([data-up-is-good]) {
|
|
1860
|
+
--low: var(--esf-good);
|
|
1861
|
+
--high: var(--esf-bad);
|
|
1862
|
+
}
|
|
1863
|
+
|
|
1864
|
+
.yNZdnG_chartBase {
|
|
1865
|
+
background: var(--esf-text);
|
|
1866
|
+
opacity: .8;
|
|
1867
|
+
width: 1px;
|
|
1868
|
+
position: absolute;
|
|
1869
|
+
inset-block: -1px;
|
|
1870
|
+
}
|
|
1871
|
+
|
|
1872
|
+
.yNZdnG_chartRoll {
|
|
1873
|
+
background: var(--esf-text);
|
|
1874
|
+
border: 1px solid var(--esf-bg);
|
|
1875
|
+
height: calc(10 * var(--info-unit));
|
|
1876
|
+
margin-left: calc(-3 * var(--info-unit));
|
|
1877
|
+
top: calc(1 * var(--info-unit));
|
|
1878
|
+
width: calc(6 * var(--info-unit));
|
|
1879
|
+
position: absolute;
|
|
1880
|
+
}
|
|
1881
|
+
|
|
1882
|
+
.yNZdnG_chartAxis {
|
|
1883
|
+
color: var(--esf-text-muted);
|
|
1884
|
+
font-size: calc(9 * var(--info-unit));
|
|
1885
|
+
justify-content: space-between;
|
|
1886
|
+
display: flex;
|
|
1887
|
+
}
|
|
1888
|
+
|
|
1889
|
+
.yNZdnG_stats {
|
|
1890
|
+
font-size: calc(11 * var(--info-unit));
|
|
1891
|
+
gap: calc(4 * var(--info-unit)) calc(8 * var(--info-unit));
|
|
1892
|
+
grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) calc(84 * var(--info-unit)) calc(44 * var(--info-unit));
|
|
1893
|
+
display: grid;
|
|
1894
|
+
}
|
|
1895
|
+
|
|
1896
|
+
.yNZdnG_stat {
|
|
1897
|
+
align-items: center;
|
|
1898
|
+
display: contents;
|
|
1899
|
+
}
|
|
1900
|
+
|
|
1901
|
+
.yNZdnG_name {
|
|
1902
|
+
align-items: center;
|
|
1903
|
+
gap: calc(6 * var(--info-unit));
|
|
1904
|
+
min-width: 0;
|
|
1905
|
+
display: flex;
|
|
1906
|
+
}
|
|
1907
|
+
|
|
1908
|
+
.yNZdnG_icon {
|
|
1909
|
+
height: calc(16 * var(--info-unit));
|
|
1910
|
+
width: calc(16 * var(--info-unit));
|
|
1911
|
+
flex: none;
|
|
1912
|
+
}
|
|
1913
|
+
|
|
1914
|
+
.yNZdnG_label {
|
|
1915
|
+
text-overflow: ellipsis;
|
|
1916
|
+
white-space: nowrap;
|
|
1917
|
+
overflow: hidden;
|
|
1918
|
+
}
|
|
1919
|
+
|
|
1920
|
+
.yNZdnG_slider {
|
|
1921
|
+
--worse: var(--esf-bad);
|
|
1922
|
+
--better: var(--esf-good);
|
|
1923
|
+
--low: var(--worse);
|
|
1924
|
+
--high: var(--better);
|
|
1925
|
+
align-self: center;
|
|
1926
|
+
display: flex;
|
|
1927
|
+
position: relative;
|
|
1928
|
+
}
|
|
1929
|
+
|
|
1930
|
+
.yNZdnG_slider:not([data-high-is-good]) {
|
|
1931
|
+
--low: var(--better);
|
|
1932
|
+
--high: var(--worse);
|
|
1933
|
+
}
|
|
1934
|
+
|
|
1935
|
+
.yNZdnG_slider:after {
|
|
1936
|
+
background: var(--esf-text);
|
|
1937
|
+
content: "";
|
|
1938
|
+
height: calc(14 * var(--info-unit));
|
|
1939
|
+
left: var(--base);
|
|
1940
|
+
pointer-events: none;
|
|
1941
|
+
width: 1px;
|
|
1942
|
+
position: absolute;
|
|
1943
|
+
top: 50%;
|
|
1944
|
+
translate: 0 -50%;
|
|
1945
|
+
}
|
|
1946
|
+
|
|
1947
|
+
.yNZdnG_slider > input {
|
|
1948
|
+
appearance: none;
|
|
1949
|
+
background: linear-gradient(90deg,
|
|
1950
|
+
color-mix(in srgb, var(--low) 60%, transparent),
|
|
1951
|
+
var(--esf-resistance-bg) var(--base),
|
|
1952
|
+
color-mix(in srgb, var(--high) 60%, transparent));
|
|
1953
|
+
cursor: pointer;
|
|
1954
|
+
height: calc(4 * var(--info-unit));
|
|
1955
|
+
margin: calc(8 * var(--info-unit)) 0;
|
|
1956
|
+
width: 100%;
|
|
1957
|
+
}
|
|
1958
|
+
|
|
1959
|
+
.yNZdnG_slider > input::-webkit-slider-thumb {
|
|
1960
|
+
appearance: none;
|
|
1961
|
+
background: var(--esf-text);
|
|
1962
|
+
border: 1px solid var(--esf-bg);
|
|
1963
|
+
height: calc(14 * var(--info-unit));
|
|
1964
|
+
width: calc(8 * var(--info-unit));
|
|
1965
|
+
}
|
|
1966
|
+
|
|
1967
|
+
.yNZdnG_slider > input::-moz-range-thumb {
|
|
1968
|
+
background: var(--esf-text);
|
|
1969
|
+
border: 1px solid var(--esf-bg);
|
|
1970
|
+
height: calc(14 * var(--info-unit));
|
|
1971
|
+
width: calc(8 * var(--info-unit));
|
|
1972
|
+
border-radius: 0;
|
|
1973
|
+
}
|
|
1974
|
+
|
|
1975
|
+
.yNZdnG_slider > input:focus-visible {
|
|
1976
|
+
outline: 1px solid var(--esf-button-active-edge);
|
|
1977
|
+
outline-offset: calc(4 * var(--info-unit));
|
|
1978
|
+
}
|
|
1979
|
+
|
|
1980
|
+
.yNZdnG_value {
|
|
1981
|
+
font-variant-numeric: tabular-nums;
|
|
1982
|
+
text-align: right;
|
|
1983
|
+
white-space: nowrap;
|
|
1984
|
+
}
|
|
1985
|
+
|
|
1986
|
+
.yNZdnG_change {
|
|
1987
|
+
color: var(--esf-text-muted);
|
|
1988
|
+
font-variant-numeric: tabular-nums;
|
|
1989
|
+
text-align: right;
|
|
1990
|
+
}
|
|
1991
|
+
|
|
1992
|
+
.yNZdnG_change[data-change="better"] {
|
|
1993
|
+
color: var(--esf-good);
|
|
1994
|
+
}
|
|
1995
|
+
|
|
1996
|
+
.yNZdnG_change[data-change="worse"] {
|
|
1997
|
+
color: var(--esf-bad);
|
|
1998
|
+
}
|
|
1999
|
+
|
|
2000
|
+
.yNZdnG_button {
|
|
2001
|
+
background: var(--esf-button);
|
|
2002
|
+
border: 1px solid var(--esf-button-edge);
|
|
2003
|
+
color: var(--esf-text);
|
|
2004
|
+
cursor: pointer;
|
|
2005
|
+
font: inherit;
|
|
2006
|
+
padding: calc(4 * var(--info-unit)) calc(12 * var(--info-unit));
|
|
2007
|
+
}
|
|
2008
|
+
|
|
2009
|
+
.yNZdnG_button:hover:not(:disabled), .yNZdnG_button:focus-visible {
|
|
2010
|
+
background: var(--esf-button-active);
|
|
2011
|
+
border-color: var(--esf-button-active-edge);
|
|
2012
|
+
}
|
|
2013
|
+
|
|
2014
|
+
.yNZdnG_button:disabled {
|
|
2015
|
+
cursor: default;
|
|
2016
|
+
opacity: .5;
|
|
2017
|
+
}
|
|
2018
|
+
|
|
2019
|
+
.yNZdnG_import {
|
|
2020
|
+
gap: calc(8 * var(--info-unit));
|
|
2021
|
+
flex-direction: column;
|
|
2022
|
+
display: flex;
|
|
2023
|
+
}
|
|
2024
|
+
|
|
2025
|
+
.yNZdnG_import > .yNZdnG_button {
|
|
2026
|
+
align-self: flex-start;
|
|
2027
|
+
}
|
|
2028
|
+
|
|
2029
|
+
.yNZdnG_field {
|
|
2030
|
+
resize: vertical;
|
|
2031
|
+
background: var(--esf-input-bg);
|
|
2032
|
+
border: 1px solid var(--esf-input-border);
|
|
2033
|
+
color: var(--esf-text);
|
|
2034
|
+
font: inherit;
|
|
2035
|
+
padding: calc(6 * var(--info-unit)) calc(8 * var(--info-unit));
|
|
2036
|
+
}
|
|
2037
|
+
|
|
2038
|
+
.yNZdnG_field:focus {
|
|
2039
|
+
border-color: var(--esf-text-muted);
|
|
2040
|
+
outline: none;
|
|
2041
|
+
}
|
|
2042
|
+
|
|
2043
|
+
.yNZdnG_error {
|
|
2044
|
+
color: var(--esf-violation-error);
|
|
2045
|
+
margin: 0;
|
|
2046
|
+
}
|
|
1654
2047
|
.qMyuGa_bonuses {
|
|
1655
2048
|
--unit: var(--tooltip-unit, 1px);
|
|
1656
2049
|
color: var(--esf-text-muted);
|
package/dist/theme.css
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eveshipfit/ui-ingame",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.13.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,8 +27,8 @@
|
|
|
27
27
|
"access": "public"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@eveshipfit/fitting": "2.
|
|
31
|
-
"@eveshipfit/react-hooks": "2.
|
|
30
|
+
"@eveshipfit/fitting": "2.6.0",
|
|
31
|
+
"@eveshipfit/react-hooks": "2.6.0"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"@babel/core": "^8.0.9",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"storybook": "^10.6.5",
|
|
45
45
|
"tsdown": "^0.23.3",
|
|
46
46
|
"vite": "^8.3.5",
|
|
47
|
-
"@eveshipfit/sde-loader": "4.
|
|
47
|
+
"@eveshipfit/sde-loader": "4.1.0"
|
|
48
48
|
},
|
|
49
49
|
"peerDependencies": {
|
|
50
50
|
"@eveshipfit/images": "^3.3561556.0",
|