@rpg-engine/long-bow 0.5.20 → 0.5.21
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/Abstractions/SlotsContainer.d.ts +0 -1
- package/dist/long-bow.cjs.development.js +4 -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 +4 -5
- package/dist/long-bow.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/Abstractions/SlotsContainer.tsx +1 -3
- package/src/components/Item/Inventory/ItemContainer.tsx +1 -1
- package/src/components/Item/Inventory/ItemSlot.tsx +7 -8
|
@@ -14004,7 +14004,7 @@ var Container$a = /*#__PURE__*/styled.div.withConfig({
|
|
|
14004
14004
|
var ItemContainer = /*#__PURE__*/styled.div.withConfig({
|
|
14005
14005
|
displayName: "ItemSlot__ItemContainer",
|
|
14006
14006
|
componentId: "sc-l2j5ef-1"
|
|
14007
|
-
})(["width:
|
|
14007
|
+
})(["width:100%;height:100%;position:relative;", ""], function (props) {
|
|
14008
14008
|
return props.isFocused && 'z-index: 100; pointer-events: none;';
|
|
14009
14009
|
});
|
|
14010
14010
|
var ItemQtyContainer = /*#__PURE__*/styled.div.withConfig({
|
|
@@ -15435,8 +15435,7 @@ var SlotsContainer = function SlotsContainer(_ref) {
|
|
|
15435
15435
|
_onPositionChangeStart = _ref.onPositionChangeStart,
|
|
15436
15436
|
onOutsideClick = _ref.onOutsideClick,
|
|
15437
15437
|
initialPosition = _ref.initialPosition,
|
|
15438
|
-
scale = _ref.scale
|
|
15439
|
-
width = _ref.width;
|
|
15438
|
+
scale = _ref.scale;
|
|
15440
15439
|
return React__default.createElement(DraggableContainer, {
|
|
15441
15440
|
title: title,
|
|
15442
15441
|
type: exports.RPGUIContainerTypes.Framed,
|
|
@@ -15445,7 +15444,7 @@ var SlotsContainer = function SlotsContainer(_ref) {
|
|
|
15445
15444
|
onClose();
|
|
15446
15445
|
}
|
|
15447
15446
|
},
|
|
15448
|
-
width:
|
|
15447
|
+
width: "450px",
|
|
15449
15448
|
cancelDrag: ".item-container-body, #shortcuts_list",
|
|
15450
15449
|
onPositionChange: function onPositionChange(_ref2) {
|
|
15451
15450
|
var x = _ref2.x,
|
|
@@ -15854,7 +15853,7 @@ var ItemContainer$1 = function ItemContainer(_ref) {
|
|
|
15854
15853
|
var ItemsContainer = /*#__PURE__*/styled.div.withConfig({
|
|
15855
15854
|
displayName: "ItemContainer__ItemsContainer",
|
|
15856
15855
|
componentId: "sc-15y5p9l-0"
|
|
15857
|
-
})(["display:flex;justify-content:center;flex-wrap:wrap;max-height:270px;overflow-y:auto;overflow-x:hidden;width:
|
|
15856
|
+
})(["display:flex;justify-content:center;flex-wrap:wrap;max-height:270px;overflow-y:auto;overflow-x:hidden;width:450px;"]);
|
|
15858
15857
|
var QuantitySelectorContainer = /*#__PURE__*/styled.div.withConfig({
|
|
15859
15858
|
displayName: "ItemContainer__QuantitySelectorContainer",
|
|
15860
15859
|
componentId: "sc-15y5p9l-1"
|