@rpg-engine/long-bow 0.2.33 → 0.2.35
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/TradingMenu/items.mock.d.ts +2 -2
- package/dist/long-bow.cjs.development.js +10 -14
- 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 +10 -14
- package/dist/long-bow.esm.js.map +1 -1
- package/package.json +2 -2
- package/src/components/TradingMenu/TradingMenu.tsx +8 -28
- package/src/components/TradingMenu/items.mock.ts +5 -5
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const itemMock:
|
|
1
|
+
import { ITradeResponseItem } from '@rpg-engine/shared';
|
|
2
|
+
export declare const itemMock: ITradeResponseItem[];
|
|
@@ -29461,7 +29461,7 @@ var TradingMenu = function TradingMenu(_ref) {
|
|
|
29461
29461
|
var Capitalize = function Capitalize(word) {
|
|
29462
29462
|
return word[0].toUpperCase() + word.substring(1);
|
|
29463
29463
|
};
|
|
29464
|
-
return React__default.createElement(
|
|
29464
|
+
return React__default.createElement(DraggableContainer, {
|
|
29465
29465
|
type: exports.RPGUIContainerTypes.Framed,
|
|
29466
29466
|
onCloseButton: function onCloseButton() {
|
|
29467
29467
|
if (onClose) onClose();
|
|
@@ -29488,37 +29488,33 @@ var TradingMenu = function TradingMenu(_ref) {
|
|
|
29488
29488
|
buttonType: exports.ButtonTypes.RPGUIButton
|
|
29489
29489
|
}, "Cancel"))));
|
|
29490
29490
|
};
|
|
29491
|
-
var TradingMenuDraggableContainer = /*#__PURE__*/styled(DraggableContainer).withConfig({
|
|
29492
|
-
displayName: "TradingMenu__TradingMenuDraggableContainer",
|
|
29493
|
-
componentId: "sc-1wjsz1l-0"
|
|
29494
|
-
})([".container-close{top:10px;right:10px;}.quest-title{text-align:left;margin-left:44px;margin-top:20px;color:yellow;}.quest-desc{margin-top:12px;margin-left:44px;}.rpgui-progress{min-width:80%;margin:0 auto;}"]);
|
|
29495
29491
|
var Title$3 = /*#__PURE__*/styled.h1.withConfig({
|
|
29496
29492
|
displayName: "TradingMenu__Title",
|
|
29497
|
-
componentId: "sc-1wjsz1l-
|
|
29493
|
+
componentId: "sc-1wjsz1l-0"
|
|
29498
29494
|
})(["z-index:22;font-size:0.6rem;color:yellow !important;"]);
|
|
29499
29495
|
var TradingComponentScrollWrapper = /*#__PURE__*/styled.div.withConfig({
|
|
29500
29496
|
displayName: "TradingMenu__TradingComponentScrollWrapper",
|
|
29501
|
-
componentId: "sc-1wjsz1l-
|
|
29502
|
-
})(["overflow-y:scroll;height:
|
|
29497
|
+
componentId: "sc-1wjsz1l-1"
|
|
29498
|
+
})(["overflow-y:scroll;height:390px;width:100%;margin-top:1rem;"]);
|
|
29503
29499
|
var ItemWrapper$1 = /*#__PURE__*/styled.div.withConfig({
|
|
29504
29500
|
displayName: "TradingMenu__ItemWrapper",
|
|
29505
|
-
componentId: "sc-1wjsz1l-
|
|
29501
|
+
componentId: "sc-1wjsz1l-2"
|
|
29506
29502
|
})(["margin:auto;display:flex;justify-content:space-between;"]);
|
|
29507
29503
|
var TotalWrapper = /*#__PURE__*/styled.div.withConfig({
|
|
29508
29504
|
displayName: "TradingMenu__TotalWrapper",
|
|
29509
|
-
componentId: "sc-1wjsz1l-
|
|
29510
|
-
})(["display:flex;
|
|
29505
|
+
componentId: "sc-1wjsz1l-3"
|
|
29506
|
+
})(["margin-top:1rem;display:flex;justify-content:space-between;height:20px;p{color:white !important;}width:100%;margin-left:0.8rem;"]);
|
|
29511
29507
|
var GoldWrapper = /*#__PURE__*/styled.div.withConfig({
|
|
29512
29508
|
displayName: "TradingMenu__GoldWrapper",
|
|
29513
|
-
componentId: "sc-1wjsz1l-
|
|
29509
|
+
componentId: "sc-1wjsz1l-4"
|
|
29514
29510
|
})(["margin-top:1rem;display:flex;justify-content:space-between;height:20px;p{color:yellow !important;}width:100%;margin-left:0.8rem;"]);
|
|
29515
29511
|
var AlertWrapper = /*#__PURE__*/styled.div.withConfig({
|
|
29516
29512
|
displayName: "TradingMenu__AlertWrapper",
|
|
29517
|
-
componentId: "sc-1wjsz1l-
|
|
29513
|
+
componentId: "sc-1wjsz1l-5"
|
|
29518
29514
|
})(["display:flex;width:100%;justify-content:center;height:20px;p{color:red !important;}"]);
|
|
29519
29515
|
var ButtonWrapper = /*#__PURE__*/styled.div.withConfig({
|
|
29520
29516
|
displayName: "TradingMenu__ButtonWrapper",
|
|
29521
|
-
componentId: "sc-1wjsz1l-
|
|
29517
|
+
componentId: "sc-1wjsz1l-6"
|
|
29522
29518
|
})(["display:flex;justify-content:space-around;padding-top:20px;width:100%;margin-top:1rem;"]);
|
|
29523
29519
|
|
|
29524
29520
|
/* eslint-disable react/require-default-props */
|