@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
package/dist/long-bow.esm.js
CHANGED
|
@@ -29459,7 +29459,7 @@ var TradingMenu = function TradingMenu(_ref) {
|
|
|
29459
29459
|
var Capitalize = function Capitalize(word) {
|
|
29460
29460
|
return word[0].toUpperCase() + word.substring(1);
|
|
29461
29461
|
};
|
|
29462
|
-
return React.createElement(
|
|
29462
|
+
return React.createElement(DraggableContainer, {
|
|
29463
29463
|
type: RPGUIContainerTypes.Framed,
|
|
29464
29464
|
onCloseButton: function onCloseButton() {
|
|
29465
29465
|
if (onClose) onClose();
|
|
@@ -29486,37 +29486,33 @@ var TradingMenu = function TradingMenu(_ref) {
|
|
|
29486
29486
|
buttonType: ButtonTypes.RPGUIButton
|
|
29487
29487
|
}, "Cancel"))));
|
|
29488
29488
|
};
|
|
29489
|
-
var TradingMenuDraggableContainer = /*#__PURE__*/styled(DraggableContainer).withConfig({
|
|
29490
|
-
displayName: "TradingMenu__TradingMenuDraggableContainer",
|
|
29491
|
-
componentId: "sc-1wjsz1l-0"
|
|
29492
|
-
})([".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;}"]);
|
|
29493
29489
|
var Title$3 = /*#__PURE__*/styled.h1.withConfig({
|
|
29494
29490
|
displayName: "TradingMenu__Title",
|
|
29495
|
-
componentId: "sc-1wjsz1l-
|
|
29491
|
+
componentId: "sc-1wjsz1l-0"
|
|
29496
29492
|
})(["z-index:22;font-size:0.6rem;color:yellow !important;"]);
|
|
29497
29493
|
var TradingComponentScrollWrapper = /*#__PURE__*/styled.div.withConfig({
|
|
29498
29494
|
displayName: "TradingMenu__TradingComponentScrollWrapper",
|
|
29499
|
-
componentId: "sc-1wjsz1l-
|
|
29500
|
-
})(["overflow-y:scroll;height:
|
|
29495
|
+
componentId: "sc-1wjsz1l-1"
|
|
29496
|
+
})(["overflow-y:scroll;height:390px;width:100%;margin-top:1rem;"]);
|
|
29501
29497
|
var ItemWrapper$1 = /*#__PURE__*/styled.div.withConfig({
|
|
29502
29498
|
displayName: "TradingMenu__ItemWrapper",
|
|
29503
|
-
componentId: "sc-1wjsz1l-
|
|
29499
|
+
componentId: "sc-1wjsz1l-2"
|
|
29504
29500
|
})(["margin:auto;display:flex;justify-content:space-between;"]);
|
|
29505
29501
|
var TotalWrapper = /*#__PURE__*/styled.div.withConfig({
|
|
29506
29502
|
displayName: "TradingMenu__TotalWrapper",
|
|
29507
|
-
componentId: "sc-1wjsz1l-
|
|
29508
|
-
})(["display:flex;
|
|
29503
|
+
componentId: "sc-1wjsz1l-3"
|
|
29504
|
+
})(["margin-top:1rem;display:flex;justify-content:space-between;height:20px;p{color:white !important;}width:100%;margin-left:0.8rem;"]);
|
|
29509
29505
|
var GoldWrapper = /*#__PURE__*/styled.div.withConfig({
|
|
29510
29506
|
displayName: "TradingMenu__GoldWrapper",
|
|
29511
|
-
componentId: "sc-1wjsz1l-
|
|
29507
|
+
componentId: "sc-1wjsz1l-4"
|
|
29512
29508
|
})(["margin-top:1rem;display:flex;justify-content:space-between;height:20px;p{color:yellow !important;}width:100%;margin-left:0.8rem;"]);
|
|
29513
29509
|
var AlertWrapper = /*#__PURE__*/styled.div.withConfig({
|
|
29514
29510
|
displayName: "TradingMenu__AlertWrapper",
|
|
29515
|
-
componentId: "sc-1wjsz1l-
|
|
29511
|
+
componentId: "sc-1wjsz1l-5"
|
|
29516
29512
|
})(["display:flex;width:100%;justify-content:center;height:20px;p{color:red !important;}"]);
|
|
29517
29513
|
var ButtonWrapper = /*#__PURE__*/styled.div.withConfig({
|
|
29518
29514
|
displayName: "TradingMenu__ButtonWrapper",
|
|
29519
|
-
componentId: "sc-1wjsz1l-
|
|
29515
|
+
componentId: "sc-1wjsz1l-6"
|
|
29520
29516
|
})(["display:flex;justify-content:space-around;padding-top:20px;width:100%;margin-top:1rem;"]);
|
|
29521
29517
|
|
|
29522
29518
|
/* eslint-disable react/require-default-props */
|