@rpg-engine/long-bow 0.5.79 → 0.5.81
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/long-bow.cjs.development.js +10 -7
- 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 -7
- package/dist/long-bow.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/DraggableContainer.tsx +7 -1
- package/src/components/Item/Inventory/ItemContainer.tsx +7 -3
- package/src/components/Item/Inventory/ItemSlot.tsx +1 -1
- package/src/components/Shortcuts/ShortcutsSetter.tsx +1 -0
- package/src/mocks/itemContainer.mocks.ts +6 -1
|
@@ -13544,7 +13544,7 @@ var DraggableContainer = function DraggableContainer(_ref) {
|
|
|
13544
13544
|
var Container$7 = /*#__PURE__*/styled__default.div.withConfig({
|
|
13545
13545
|
displayName: "DraggableContainer__Container",
|
|
13546
13546
|
componentId: "sc-184mpyl-0"
|
|
13547
|
-
})(["height:", ";width:", ";display:flex;flex-wrap:wrap;image-rendering:pixelated;", " ", " &.rpgui-container{padding-top:1.5rem;}"], function (props) {
|
|
13547
|
+
})(["height:", ";width:", ";display:flex;flex-wrap:wrap;image-rendering:pixelated;overflow-y:hidden;", " ", " &.rpgui-container{padding-top:1.5rem;}"], function (props) {
|
|
13548
13548
|
return props.height;
|
|
13549
13549
|
}, function (_ref2) {
|
|
13550
13550
|
var width = _ref2.width;
|
|
@@ -13554,7 +13554,7 @@ var Container$7 = /*#__PURE__*/styled__default.div.withConfig({
|
|
|
13554
13554
|
return opacity && styled.css(["opacity:", ";"], opacity);
|
|
13555
13555
|
}, function (_ref4) {
|
|
13556
13556
|
var isFullScreen = _ref4.isFullScreen;
|
|
13557
|
-
return isFullScreen && styled.css(["justify-content:center;align-items:flex-start;align-content:flex-start;"]);
|
|
13557
|
+
return isFullScreen && styled.css(["justify-content:center;align-items:flex-start;align-content:space-between;@media screen and (min-width:768px){align-content:flex-start;}"]);
|
|
13558
13558
|
});
|
|
13559
13559
|
var CloseButton$2 = /*#__PURE__*/styled__default.div.withConfig({
|
|
13560
13560
|
displayName: "DraggableContainer__CloseButton",
|
|
@@ -14266,7 +14266,7 @@ var ItemSlot = /*#__PURE__*/mobxReactLite.observer(function (_ref) {
|
|
|
14266
14266
|
onDrag: onDraggableProgress,
|
|
14267
14267
|
position: dragPosition,
|
|
14268
14268
|
cancel: ".empty-slot",
|
|
14269
|
-
bounds: ".item-container-body"
|
|
14269
|
+
bounds: ".item-container-body, .equipment-container-body"
|
|
14270
14270
|
}, React__default.createElement(ItemContainer, {
|
|
14271
14271
|
ref: dragContainer,
|
|
14272
14272
|
isFocused: isFocused,
|
|
@@ -16669,21 +16669,24 @@ var ItemContainer$1 = function ItemContainer(_ref) {
|
|
|
16669
16669
|
var ItemsContainer = /*#__PURE__*/styled__default.div.withConfig({
|
|
16670
16670
|
displayName: "ItemContainer__ItemsContainer",
|
|
16671
16671
|
componentId: "sc-15y5p9l-0"
|
|
16672
|
-
})(["display:flex;justify-content:", ";flex-wrap:wrap;max-height:", ";overflow-y:", ";overflow-x:hidden;width:", ";
|
|
16672
|
+
})(["display:flex;justify-content:", ";flex-wrap:wrap;max-height:", ";overflow-y:", ";overflow-x:hidden;width:", ";max-height:", ";@media screen and (max-height:350px){max-height:", ";}"], function (_ref2) {
|
|
16673
16673
|
var isFullScreen = _ref2.isFullScreen;
|
|
16674
16674
|
return isFullScreen ? 'flex-start' : 'center';
|
|
16675
16675
|
}, function (_ref3) {
|
|
16676
16676
|
var isFullScreen = _ref3.isFullScreen;
|
|
16677
|
-
return isFullScreen ?
|
|
16677
|
+
return isFullScreen ? undefined : '270px';
|
|
16678
16678
|
}, function (_ref4) {
|
|
16679
16679
|
var isScrollable = _ref4.isScrollable;
|
|
16680
|
-
return isScrollable ? '
|
|
16680
|
+
return isScrollable ? 'auto' : 'hidden';
|
|
16681
16681
|
}, function (_ref5) {
|
|
16682
16682
|
var isFullScreen = _ref5.isFullScreen;
|
|
16683
16683
|
return isFullScreen ? '100vw' : '415px';
|
|
16684
16684
|
}, function (_ref6) {
|
|
16685
16685
|
var isFullScreen = _ref6.isFullScreen;
|
|
16686
|
-
return isFullScreen
|
|
16686
|
+
return isFullScreen && '60%';
|
|
16687
|
+
}, function (_ref7) {
|
|
16688
|
+
var isFullScreen = _ref7.isFullScreen;
|
|
16689
|
+
return isFullScreen && '50%';
|
|
16687
16690
|
});
|
|
16688
16691
|
|
|
16689
16692
|
var LeaderboardTable = function LeaderboardTable(props) {
|