@rpg-engine/long-bow 0.5.18 → 0.5.19

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.
@@ -10,6 +10,7 @@ interface IProps {
10
10
  onOutsideClick?: () => void;
11
11
  initialPosition?: IPosition;
12
12
  scale?: number;
13
+ width?: string;
13
14
  }
14
15
  export declare const SlotsContainer: React.FC<IProps>;
15
16
  export {};
@@ -15441,7 +15441,8 @@ var SlotsContainer = function SlotsContainer(_ref) {
15441
15441
  _onPositionChangeStart = _ref.onPositionChangeStart,
15442
15442
  onOutsideClick = _ref.onOutsideClick,
15443
15443
  initialPosition = _ref.initialPosition,
15444
- scale = _ref.scale;
15444
+ scale = _ref.scale,
15445
+ width = _ref.width;
15445
15446
  return React__default.createElement(DraggableContainer, {
15446
15447
  title: title,
15447
15448
  type: exports.RPGUIContainerTypes.Framed,
@@ -15450,7 +15451,7 @@ var SlotsContainer = function SlotsContainer(_ref) {
15450
15451
  onClose();
15451
15452
  }
15452
15453
  },
15453
- width: "450px",
15454
+ width: width != null ? width : '415px',
15454
15455
  cancelDrag: ".item-container-body, #shortcuts_list",
15455
15456
  onPositionChange: function onPositionChange(_ref2) {
15456
15457
  var x = _ref2.x,
@@ -15859,7 +15860,7 @@ var ItemContainer$1 = function ItemContainer(_ref) {
15859
15860
  var ItemsContainer = /*#__PURE__*/styled.div.withConfig({
15860
15861
  displayName: "ItemContainer__ItemsContainer",
15861
15862
  componentId: "sc-15y5p9l-0"
15862
- })(["display:flex;justify-content:center;flex-wrap:wrap;max-height:270px;overflow-y:auto;overflow-x:hidden;width:450px;"]);
15863
+ })(["display:flex;justify-content:center;flex-wrap:wrap;max-height:270px;overflow-y:auto;overflow-x:hidden;width:415px;"]);
15863
15864
  var QuantitySelectorContainer = /*#__PURE__*/styled.div.withConfig({
15864
15865
  displayName: "ItemContainer__QuantitySelectorContainer",
15865
15866
  componentId: "sc-15y5p9l-1"