@rpg-engine/long-bow 0.2.68 → 0.2.69
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/CraftBook/MockItems.d.ts +1 -1
- package/dist/long-bow.cjs.development.js +3 -3
- 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 +3 -3
- package/dist/long-bow.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/CraftBook/CraftBook.tsx +4 -4
- package/src/components/CraftBook/MockItems.ts +39 -37
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { ICraftableItem } from
|
|
1
|
+
import { ICraftableItem } from '@rpg-engine/shared';
|
|
2
2
|
export declare const craftableItems: ICraftableItem[];
|
|
@@ -27389,7 +27389,7 @@ var CraftBook = function CraftBook(_ref) {
|
|
|
27389
27389
|
style: {
|
|
27390
27390
|
width: '100%'
|
|
27391
27391
|
}
|
|
27392
|
-
}, React__default.createElement(Title$1, null, '
|
|
27392
|
+
}, React__default.createElement(Title$1, null, 'Craftbook'), React__default.createElement(Subtitle, null, 'Select an item to craft'), React__default.createElement("hr", {
|
|
27393
27393
|
className: "golden"
|
|
27394
27394
|
})), React__default.createElement(Dropdown, {
|
|
27395
27395
|
options: getDropdownOptions(),
|
|
@@ -27402,7 +27402,7 @@ var CraftBook = function CraftBook(_ref) {
|
|
|
27402
27402
|
}, React__default.createElement(SpriteAtlasWrapper, null, React__default.createElement(SpriteFromAtlas, {
|
|
27403
27403
|
atlasIMG: atlasIMG,
|
|
27404
27404
|
atlasJSON: atlasJSON,
|
|
27405
|
-
spriteKey: option.
|
|
27405
|
+
spriteKey: option.texturePath,
|
|
27406
27406
|
imgScale: 3,
|
|
27407
27407
|
grayScale: !option.canCraft
|
|
27408
27408
|
})), React__default.createElement("div", null, React__default.createElement("input", {
|
|
@@ -27435,7 +27435,7 @@ var CraftBook = function CraftBook(_ref) {
|
|
|
27435
27435
|
}, React__default.createElement(SpriteFromAtlas, {
|
|
27436
27436
|
atlasIMG: atlasIMG,
|
|
27437
27437
|
atlasJSON: atlasJSON,
|
|
27438
|
-
spriteKey:
|
|
27438
|
+
spriteKey: option.texturePath,
|
|
27439
27439
|
imgScale: 1
|
|
27440
27440
|
}), React__default.createElement(StyledItem, null, modifyString(option.key), " (", option.qty, "x)"));
|
|
27441
27441
|
})));
|