@rpg-engine/long-bow 0.5.80 → 0.5.82
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 +8 -5
- 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 +8 -5
- package/dist/long-bow.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/DraggableContainer.tsx +2 -0
- package/src/components/Item/Inventory/ItemContainer.tsx +7 -3
- package/src/components/Shortcuts/ShortcutsSetter.tsx +1 -0
- package/src/mocks/itemContainer.mocks.ts +6 -1
package/dist/long-bow.esm.js
CHANGED
|
@@ -13538,7 +13538,7 @@ var DraggableContainer = function DraggableContainer(_ref) {
|
|
|
13538
13538
|
var Container$7 = /*#__PURE__*/styled.div.withConfig({
|
|
13539
13539
|
displayName: "DraggableContainer__Container",
|
|
13540
13540
|
componentId: "sc-184mpyl-0"
|
|
13541
|
-
})(["height:", ";width:", ";display:flex;flex-wrap:wrap;image-rendering:pixelated;", " ", " &.rpgui-container{padding-top:1.5rem;}"], function (props) {
|
|
13541
|
+
})(["height:", ";width:", ";display:flex;flex-wrap:wrap;image-rendering:pixelated;overflow-y:hidden;", " ", " &.rpgui-container{padding-top:1.5rem;}"], function (props) {
|
|
13542
13542
|
return props.height;
|
|
13543
13543
|
}, function (_ref2) {
|
|
13544
13544
|
var width = _ref2.width;
|
|
@@ -16666,21 +16666,24 @@ var ItemContainer$1 = function ItemContainer(_ref) {
|
|
|
16666
16666
|
var ItemsContainer = /*#__PURE__*/styled.div.withConfig({
|
|
16667
16667
|
displayName: "ItemContainer__ItemsContainer",
|
|
16668
16668
|
componentId: "sc-15y5p9l-0"
|
|
16669
|
-
})(["display:flex;justify-content:", ";flex-wrap:wrap;max-height:", ";overflow-y:", ";overflow-x:hidden;width:", ";
|
|
16669
|
+
})(["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) {
|
|
16670
16670
|
var isFullScreen = _ref2.isFullScreen;
|
|
16671
16671
|
return isFullScreen ? 'flex-start' : 'center';
|
|
16672
16672
|
}, function (_ref3) {
|
|
16673
16673
|
var isFullScreen = _ref3.isFullScreen;
|
|
16674
|
-
return isFullScreen ?
|
|
16674
|
+
return isFullScreen ? undefined : '270px';
|
|
16675
16675
|
}, function (_ref4) {
|
|
16676
16676
|
var isScrollable = _ref4.isScrollable;
|
|
16677
|
-
return isScrollable ? '
|
|
16677
|
+
return isScrollable ? 'auto' : 'hidden';
|
|
16678
16678
|
}, function (_ref5) {
|
|
16679
16679
|
var isFullScreen = _ref5.isFullScreen;
|
|
16680
16680
|
return isFullScreen ? '100vw' : '415px';
|
|
16681
16681
|
}, function (_ref6) {
|
|
16682
16682
|
var isFullScreen = _ref6.isFullScreen;
|
|
16683
|
-
return isFullScreen
|
|
16683
|
+
return isFullScreen && '60%';
|
|
16684
|
+
}, function (_ref7) {
|
|
16685
|
+
var isFullScreen = _ref7.isFullScreen;
|
|
16686
|
+
return isFullScreen && '50%';
|
|
16684
16687
|
});
|
|
16685
16688
|
|
|
16686
16689
|
var LeaderboardTable = function LeaderboardTable(props) {
|