@rpg-engine/long-bow 0.1.84 → 0.1.85
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/components/shared/SpriteIcon.d.ts +2 -0
- package/dist/long-bow.cjs.development.js +5 -311
- package/dist/long-bow.cjs.development.js.map +1 -1
- package/dist/long-bow.cjs.production.min.js +1 -1
- package/dist/long-bow.cjs.production.min.js.map +1 -1
- package/dist/long-bow.esm.js +5 -311
- package/dist/long-bow.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/shared/SpriteIcon.tsx +4 -2
- package/src/mocks/atlas/icons/icons.json +494 -62
- package/src/mocks/atlas/icons/icons.png +0 -0
|
@@ -6767,323 +6767,17 @@ var Input$1 = /*#__PURE__*/styled.input.withConfig({
|
|
|
6767
6767
|
componentId: "sc-v8mte9-0"
|
|
6768
6768
|
})(["opacity:0;"]);
|
|
6769
6769
|
|
|
6770
|
-
var frames$1 = {
|
|
6771
|
-
"metamask-large.png": {
|
|
6772
|
-
frame: {
|
|
6773
|
-
x: 0,
|
|
6774
|
-
y: 0,
|
|
6775
|
-
w: 33,
|
|
6776
|
-
h: 30
|
|
6777
|
-
},
|
|
6778
|
-
rotated: false,
|
|
6779
|
-
trimmed: false,
|
|
6780
|
-
spriteSourceSize: {
|
|
6781
|
-
x: 0,
|
|
6782
|
-
y: 0,
|
|
6783
|
-
w: 33,
|
|
6784
|
-
h: 30
|
|
6785
|
-
},
|
|
6786
|
-
sourceSize: {
|
|
6787
|
-
w: 33,
|
|
6788
|
-
h: 30
|
|
6789
|
-
},
|
|
6790
|
-
pivot: {
|
|
6791
|
-
x: 0.5,
|
|
6792
|
-
y: 0.5
|
|
6793
|
-
}
|
|
6794
|
-
},
|
|
6795
|
-
"chat-large.png": {
|
|
6796
|
-
frame: {
|
|
6797
|
-
x: 0,
|
|
6798
|
-
y: 30,
|
|
6799
|
-
w: 31,
|
|
6800
|
-
h: 29
|
|
6801
|
-
},
|
|
6802
|
-
rotated: false,
|
|
6803
|
-
trimmed: true,
|
|
6804
|
-
spriteSourceSize: {
|
|
6805
|
-
x: 1,
|
|
6806
|
-
y: 3,
|
|
6807
|
-
w: 31,
|
|
6808
|
-
h: 29
|
|
6809
|
-
},
|
|
6810
|
-
sourceSize: {
|
|
6811
|
-
w: 32,
|
|
6812
|
-
h: 32
|
|
6813
|
-
},
|
|
6814
|
-
pivot: {
|
|
6815
|
-
x: 0.5,
|
|
6816
|
-
y: 0.5
|
|
6817
|
-
}
|
|
6818
|
-
},
|
|
6819
|
-
"equipment.png": {
|
|
6820
|
-
frame: {
|
|
6821
|
-
x: 33,
|
|
6822
|
-
y: 0,
|
|
6823
|
-
w: 17,
|
|
6824
|
-
h: 16
|
|
6825
|
-
},
|
|
6826
|
-
rotated: false,
|
|
6827
|
-
trimmed: false,
|
|
6828
|
-
spriteSourceSize: {
|
|
6829
|
-
x: 0,
|
|
6830
|
-
y: 0,
|
|
6831
|
-
w: 17,
|
|
6832
|
-
h: 16
|
|
6833
|
-
},
|
|
6834
|
-
sourceSize: {
|
|
6835
|
-
w: 17,
|
|
6836
|
-
h: 16
|
|
6837
|
-
},
|
|
6838
|
-
pivot: {
|
|
6839
|
-
x: 0.5,
|
|
6840
|
-
y: 0.5
|
|
6841
|
-
}
|
|
6842
|
-
},
|
|
6843
|
-
"inventory.png": {
|
|
6844
|
-
frame: {
|
|
6845
|
-
x: 33,
|
|
6846
|
-
y: 16,
|
|
6847
|
-
w: 17,
|
|
6848
|
-
h: 16
|
|
6849
|
-
},
|
|
6850
|
-
rotated: false,
|
|
6851
|
-
trimmed: false,
|
|
6852
|
-
spriteSourceSize: {
|
|
6853
|
-
x: 0,
|
|
6854
|
-
y: 0,
|
|
6855
|
-
w: 17,
|
|
6856
|
-
h: 16
|
|
6857
|
-
},
|
|
6858
|
-
sourceSize: {
|
|
6859
|
-
w: 17,
|
|
6860
|
-
h: 16
|
|
6861
|
-
},
|
|
6862
|
-
pivot: {
|
|
6863
|
-
x: 0.5,
|
|
6864
|
-
y: 0.5
|
|
6865
|
-
}
|
|
6866
|
-
},
|
|
6867
|
-
"icon-base-blue.png": {
|
|
6868
|
-
frame: {
|
|
6869
|
-
x: 31,
|
|
6870
|
-
y: 32,
|
|
6871
|
-
w: 16,
|
|
6872
|
-
h: 16
|
|
6873
|
-
},
|
|
6874
|
-
rotated: false,
|
|
6875
|
-
trimmed: false,
|
|
6876
|
-
spriteSourceSize: {
|
|
6877
|
-
x: 0,
|
|
6878
|
-
y: 0,
|
|
6879
|
-
w: 16,
|
|
6880
|
-
h: 16
|
|
6881
|
-
},
|
|
6882
|
-
sourceSize: {
|
|
6883
|
-
w: 16,
|
|
6884
|
-
h: 16
|
|
6885
|
-
},
|
|
6886
|
-
pivot: {
|
|
6887
|
-
x: 0.5,
|
|
6888
|
-
y: 0.5
|
|
6889
|
-
}
|
|
6890
|
-
},
|
|
6891
|
-
"icon-base-brown.png": {
|
|
6892
|
-
frame: {
|
|
6893
|
-
x: 50,
|
|
6894
|
-
y: 0,
|
|
6895
|
-
w: 16,
|
|
6896
|
-
h: 16
|
|
6897
|
-
},
|
|
6898
|
-
rotated: false,
|
|
6899
|
-
trimmed: false,
|
|
6900
|
-
spriteSourceSize: {
|
|
6901
|
-
x: 0,
|
|
6902
|
-
y: 0,
|
|
6903
|
-
w: 16,
|
|
6904
|
-
h: 16
|
|
6905
|
-
},
|
|
6906
|
-
sourceSize: {
|
|
6907
|
-
w: 16,
|
|
6908
|
-
h: 16
|
|
6909
|
-
},
|
|
6910
|
-
pivot: {
|
|
6911
|
-
x: 0.5,
|
|
6912
|
-
y: 0.5
|
|
6913
|
-
}
|
|
6914
|
-
},
|
|
6915
|
-
"chat-small.png": {
|
|
6916
|
-
frame: {
|
|
6917
|
-
x: 50,
|
|
6918
|
-
y: 16,
|
|
6919
|
-
w: 16,
|
|
6920
|
-
h: 16
|
|
6921
|
-
},
|
|
6922
|
-
rotated: false,
|
|
6923
|
-
trimmed: true,
|
|
6924
|
-
spriteSourceSize: {
|
|
6925
|
-
x: 1,
|
|
6926
|
-
y: 0,
|
|
6927
|
-
w: 16,
|
|
6928
|
-
h: 16
|
|
6929
|
-
},
|
|
6930
|
-
sourceSize: {
|
|
6931
|
-
w: 17,
|
|
6932
|
-
h: 16
|
|
6933
|
-
},
|
|
6934
|
-
pivot: {
|
|
6935
|
-
x: 0.5,
|
|
6936
|
-
y: 0.5
|
|
6937
|
-
}
|
|
6938
|
-
},
|
|
6939
|
-
"icon-base-gold.png": {
|
|
6940
|
-
frame: {
|
|
6941
|
-
x: 47,
|
|
6942
|
-
y: 32,
|
|
6943
|
-
w: 16,
|
|
6944
|
-
h: 16
|
|
6945
|
-
},
|
|
6946
|
-
rotated: false,
|
|
6947
|
-
trimmed: false,
|
|
6948
|
-
spriteSourceSize: {
|
|
6949
|
-
x: 0,
|
|
6950
|
-
y: 0,
|
|
6951
|
-
w: 16,
|
|
6952
|
-
h: 16
|
|
6953
|
-
},
|
|
6954
|
-
sourceSize: {
|
|
6955
|
-
w: 16,
|
|
6956
|
-
h: 16
|
|
6957
|
-
},
|
|
6958
|
-
pivot: {
|
|
6959
|
-
x: 0.5,
|
|
6960
|
-
y: 0.5
|
|
6961
|
-
}
|
|
6962
|
-
},
|
|
6963
|
-
"equipment-raw.png": {
|
|
6964
|
-
frame: {
|
|
6965
|
-
x: 0,
|
|
6966
|
-
y: 59,
|
|
6967
|
-
w: 15,
|
|
6968
|
-
h: 13
|
|
6969
|
-
},
|
|
6970
|
-
rotated: false,
|
|
6971
|
-
trimmed: true,
|
|
6972
|
-
spriteSourceSize: {
|
|
6973
|
-
x: 0,
|
|
6974
|
-
y: 0,
|
|
6975
|
-
w: 15,
|
|
6976
|
-
h: 13
|
|
6977
|
-
},
|
|
6978
|
-
sourceSize: {
|
|
6979
|
-
w: 16,
|
|
6980
|
-
h: 13
|
|
6981
|
-
},
|
|
6982
|
-
pivot: {
|
|
6983
|
-
x: 0.5,
|
|
6984
|
-
y: 0.5
|
|
6985
|
-
}
|
|
6986
|
-
},
|
|
6987
|
-
"metamask-small.png": {
|
|
6988
|
-
frame: {
|
|
6989
|
-
x: 31,
|
|
6990
|
-
y: 48,
|
|
6991
|
-
w: 15,
|
|
6992
|
-
h: 15
|
|
6993
|
-
},
|
|
6994
|
-
rotated: false,
|
|
6995
|
-
trimmed: true,
|
|
6996
|
-
spriteSourceSize: {
|
|
6997
|
-
x: 1,
|
|
6998
|
-
y: 0,
|
|
6999
|
-
w: 15,
|
|
7000
|
-
h: 15
|
|
7001
|
-
},
|
|
7002
|
-
sourceSize: {
|
|
7003
|
-
w: 16,
|
|
7004
|
-
h: 16
|
|
7005
|
-
},
|
|
7006
|
-
pivot: {
|
|
7007
|
-
x: 0.5,
|
|
7008
|
-
y: 0.5
|
|
7009
|
-
}
|
|
7010
|
-
},
|
|
7011
|
-
"settings.png": {
|
|
7012
|
-
frame: {
|
|
7013
|
-
x: 46,
|
|
7014
|
-
y: 48,
|
|
7015
|
-
w: 14,
|
|
7016
|
-
h: 14
|
|
7017
|
-
},
|
|
7018
|
-
rotated: false,
|
|
7019
|
-
trimmed: true,
|
|
7020
|
-
spriteSourceSize: {
|
|
7021
|
-
x: 1,
|
|
7022
|
-
y: 1,
|
|
7023
|
-
w: 14,
|
|
7024
|
-
h: 14
|
|
7025
|
-
},
|
|
7026
|
-
sourceSize: {
|
|
7027
|
-
w: 16,
|
|
7028
|
-
h: 16
|
|
7029
|
-
},
|
|
7030
|
-
pivot: {
|
|
7031
|
-
x: 0.5,
|
|
7032
|
-
y: 0.5
|
|
7033
|
-
}
|
|
7034
|
-
},
|
|
7035
|
-
"inventory-raw.png": {
|
|
7036
|
-
frame: {
|
|
7037
|
-
x: 15,
|
|
7038
|
-
y: 59,
|
|
7039
|
-
w: 13,
|
|
7040
|
-
h: 13
|
|
7041
|
-
},
|
|
7042
|
-
rotated: false,
|
|
7043
|
-
trimmed: true,
|
|
7044
|
-
spriteSourceSize: {
|
|
7045
|
-
x: 1,
|
|
7046
|
-
y: 2,
|
|
7047
|
-
w: 13,
|
|
7048
|
-
h: 13
|
|
7049
|
-
},
|
|
7050
|
-
sourceSize: {
|
|
7051
|
-
w: 16,
|
|
7052
|
-
h: 16
|
|
7053
|
-
},
|
|
7054
|
-
pivot: {
|
|
7055
|
-
x: 0.5,
|
|
7056
|
-
y: 0.5
|
|
7057
|
-
}
|
|
7058
|
-
}
|
|
7059
|
-
};
|
|
7060
|
-
var meta$1 = {
|
|
7061
|
-
app: "http://free-tex-packer.com",
|
|
7062
|
-
version: "0.6.7",
|
|
7063
|
-
image: "icons.png",
|
|
7064
|
-
format: "RGBA8888",
|
|
7065
|
-
size: {
|
|
7066
|
-
w: 66,
|
|
7067
|
-
h: 72
|
|
7068
|
-
},
|
|
7069
|
-
scale: 1
|
|
7070
|
-
};
|
|
7071
|
-
var iconsAtlasJSON = {
|
|
7072
|
-
frames: frames$1,
|
|
7073
|
-
meta: meta$1
|
|
7074
|
-
};
|
|
7075
|
-
|
|
7076
|
-
var img$7 = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEIAAABICAMAAAB1EdO8AAAAkFBMVEUAAADtgCT////1hB92PhridiXX19dVPioVFRXQt0W2nSuIdWScgxFuW0mpfFInt+iGmqJ7UTEUpNXEmWxUanQBZolmZmLj+P/MYiguIhhtZWVOMRxNLRWWlpG7vrq6vbmoqKjArJ3VwLQWFhZ7eXl6ZlTq7OzutCkhM0eqfVHBrZ6/q5z/5HjKYSj83SDxgSCOHfTqAAAAAnRSTlMADpEr4D8AAAN0SURBVFjDrdcBW9owEAbgGyNtF2m1CDhBtDIR1Dn//7/b3TXtl6SUtTz7HmlusrxPEgqcRN+oP/rsLAxRGoQkU2PoVIyZEgs/wszSqyCpCFM2zAnA8DNM2B+r1UomyyhEHhIiwIgECRN2tX1aifC0rYm8Q6gRIkYEEE9iyNUReUTA+N5EBRcm1KgFR+Qe4QQYEEA4QwVH5D6BgHAACLcXj8hjAgYEEBsWamMDIgfhxxHTkNiUG3cWXIHIGyI0lAh+Q7KKggXZS4FVSEB0NxITZbGxIpUgNB3CNIRvkG6Ef9wgBFIT1AIggBDNZLrVVVhhhEBAyERHoHIET0XcKhAlSKZ1CQ3RsDc75pmoVCKNp2RBvEX8lGipVbuM9CpMmlWJlyoDYZqJdQGCj6yUpOn9vRJJMmmTJJkIzvg6Hh1xPH6pIGEiLwuNGEpMvIBoHH1oQOzL4va2uK2NLgEhJJCUhTogXqqJewwn/vwOiZeJewhhJHqWnwbSp56oJt3vy/JwkPPs2YhneB85ECjd80kcDrd8HP8gjEza/ZLs9B8+wekhkoAwu11N8GjOEZXOxa0F48MjPlqhS1AmQnCDN/+X3p93zxy+vnu/TvOiUKAAwQIFwZfQc53gibS5OfUWvxIiFrJzUSIvJSrkuRCxUCX9qdTofD6EApOcyakknIyWQeIPIEdM+pNky+s7L9fLWdRsDCHurr3cLWf2AmIeEfYCYh4R9gJiHhF2NMGJCHuCSNbrdXcEMY8I2yVeqqRa87gORxDziLBdIpkkOjUaQcwjwo5chSYi7Miz0ESEHfWKuESEHU4gEWEHEvPobWb9DCD+y5udpmjNzdQViwUhAwgxnDCtpy9ubhZgQPR8akUNrU5vHi2BL5ZuKiHUUEGJNiAyFqqsJ9Q2xXVBaiwWENTQrybqSdsUG6OE7uD1VfcSEtQbXoEQepF9iED0qsVAgqR9Y0JaOeojzguygKORB1fUs5HzgoaJugiPEwYNJ7ovqob/gPXHtk1t/tpsG1qucWuFxPZxJcPjVga0qTB20reIcPIG17li6FUJtKk10XYdQnTeZjAg1AHhWpemRrqGChS0qTQsMEiDNnUE8cCCGlxR0KYOFsoHdxZcERrEUat4c6/I2wNdSpQ8V6QSxOiN8E8zBG3qcIEvUmjttakj9hHWpWSU8BfjYZgnq0kqDAAAAABJRU5ErkJggg==';
|
|
7077
|
-
|
|
7078
6770
|
var SpriteIcon = function SpriteIcon(_ref) {
|
|
7079
6771
|
var onClick = _ref.onClick,
|
|
7080
6772
|
spriteKey = _ref.spriteKey,
|
|
7081
6773
|
baseSpriteKey = _ref.baseSpriteKey,
|
|
7082
|
-
imgStyle = _ref.imgStyle
|
|
6774
|
+
imgStyle = _ref.imgStyle,
|
|
6775
|
+
iconsAtlasJSON = _ref.iconsAtlasJSON,
|
|
6776
|
+
iconsAtlasIMG = _ref.iconsAtlasIMG;
|
|
7083
6777
|
return React__default.createElement(Container$d, null, baseSpriteKey && React__default.createElement(Slot, null, React__default.createElement(SpriteFromAtlas, {
|
|
7084
6778
|
onClick: onClick,
|
|
7085
6779
|
atlasJSON: iconsAtlasJSON,
|
|
7086
|
-
atlasIMG:
|
|
6780
|
+
atlasIMG: iconsAtlasIMG,
|
|
7087
6781
|
spriteKey: baseSpriteKey,
|
|
7088
6782
|
width: 32,
|
|
7089
6783
|
height: 32,
|
|
@@ -7093,7 +6787,7 @@ var SpriteIcon = function SpriteIcon(_ref) {
|
|
|
7093
6787
|
})), React__default.createElement(Slot, null, React__default.createElement(SpriteFromAtlas, {
|
|
7094
6788
|
onClick: onClick,
|
|
7095
6789
|
atlasJSON: iconsAtlasJSON,
|
|
7096
|
-
atlasIMG:
|
|
6790
|
+
atlasIMG: iconsAtlasIMG,
|
|
7097
6791
|
spriteKey: spriteKey,
|
|
7098
6792
|
width: 28,
|
|
7099
6793
|
height: 28,
|