@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
package/dist/long-bow.esm.js
CHANGED
|
@@ -13999,7 +13999,7 @@ var Container$a = /*#__PURE__*/styled.div.withConfig({
|
|
|
13999
13999
|
var ItemContainer = /*#__PURE__*/styled.div.withConfig({
|
|
14000
14000
|
displayName: "ItemSlot__ItemContainer",
|
|
14001
14001
|
componentId: "sc-l2j5ef-1"
|
|
14002
|
-
})(["width:
|
|
14002
|
+
})(["width:100%;height:100%;position:relative;", ""], function (props) {
|
|
14003
14003
|
return props.isFocused && 'z-index: 100; pointer-events: none;';
|
|
14004
14004
|
});
|
|
14005
14005
|
var ItemQtyContainer = /*#__PURE__*/styled.div.withConfig({
|
|
@@ -15432,8 +15432,7 @@ var SlotsContainer = function SlotsContainer(_ref) {
|
|
|
15432
15432
|
_onPositionChangeStart = _ref.onPositionChangeStart,
|
|
15433
15433
|
onOutsideClick = _ref.onOutsideClick,
|
|
15434
15434
|
initialPosition = _ref.initialPosition,
|
|
15435
|
-
scale = _ref.scale
|
|
15436
|
-
width = _ref.width;
|
|
15435
|
+
scale = _ref.scale;
|
|
15437
15436
|
return React.createElement(DraggableContainer, {
|
|
15438
15437
|
title: title,
|
|
15439
15438
|
type: RPGUIContainerTypes.Framed,
|
|
@@ -15442,7 +15441,7 @@ var SlotsContainer = function SlotsContainer(_ref) {
|
|
|
15442
15441
|
onClose();
|
|
15443
15442
|
}
|
|
15444
15443
|
},
|
|
15445
|
-
width:
|
|
15444
|
+
width: "450px",
|
|
15446
15445
|
cancelDrag: ".item-container-body, #shortcuts_list",
|
|
15447
15446
|
onPositionChange: function onPositionChange(_ref2) {
|
|
15448
15447
|
var x = _ref2.x,
|
|
@@ -15852,7 +15851,7 @@ var ItemContainer$1 = function ItemContainer(_ref) {
|
|
|
15852
15851
|
var ItemsContainer = /*#__PURE__*/styled.div.withConfig({
|
|
15853
15852
|
displayName: "ItemContainer__ItemsContainer",
|
|
15854
15853
|
componentId: "sc-15y5p9l-0"
|
|
15855
|
-
})(["display:flex;justify-content:center;flex-wrap:wrap;max-height:270px;overflow-y:auto;overflow-x:hidden;width:
|
|
15854
|
+
})(["display:flex;justify-content:center;flex-wrap:wrap;max-height:270px;overflow-y:auto;overflow-x:hidden;width:450px;"]);
|
|
15856
15855
|
var QuantitySelectorContainer = /*#__PURE__*/styled.div.withConfig({
|
|
15857
15856
|
displayName: "ItemContainer__QuantitySelectorContainer",
|
|
15858
15857
|
componentId: "sc-15y5p9l-1"
|