@rpg-engine/long-bow 0.1.73 → 0.1.74
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 +11 -4
- 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 +11 -4
- package/dist/long-bow.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/DraggableContainer.tsx +4 -7
|
@@ -355,7 +355,9 @@ var DraggableContainer = function DraggableContainer(_ref) {
|
|
|
355
355
|
};
|
|
356
356
|
}, []);
|
|
357
357
|
return React__default.createElement(DraggableRef, {
|
|
358
|
-
ref: draggableRef
|
|
358
|
+
ref: draggableRef,
|
|
359
|
+
width: width,
|
|
360
|
+
height: height || 'auto'
|
|
359
361
|
}, React__default.createElement(Draggable, {
|
|
360
362
|
cancel: ".container-close," + cancelDrag,
|
|
361
363
|
onDrag: function onDrag(_e, data) {
|
|
@@ -384,14 +386,19 @@ var DraggableContainer = function DraggableContainer(_ref) {
|
|
|
384
386
|
var DraggableRef = /*#__PURE__*/styled.div.withConfig({
|
|
385
387
|
displayName: "DraggableContainer__DraggableRef",
|
|
386
388
|
componentId: "sc-184mpyl-0"
|
|
387
|
-
})(["
|
|
389
|
+
})(["height:", ";width:", ";"], function (props) {
|
|
390
|
+
return props.height;
|
|
391
|
+
}, function (_ref2) {
|
|
392
|
+
var width = _ref2.width;
|
|
393
|
+
return width;
|
|
394
|
+
});
|
|
388
395
|
var Container$2 = /*#__PURE__*/styled.div.withConfig({
|
|
389
396
|
displayName: "DraggableContainer__Container",
|
|
390
397
|
componentId: "sc-184mpyl-1"
|
|
391
398
|
})(["height:", ";width:", ";display:flex;flex-wrap:wrap;image-rendering:pixelated;&.rpgui-container{padding-top:1.5rem;}"], function (props) {
|
|
392
399
|
return props.height;
|
|
393
|
-
}, function (
|
|
394
|
-
var width =
|
|
400
|
+
}, function (_ref3) {
|
|
401
|
+
var width = _ref3.width;
|
|
395
402
|
return width;
|
|
396
403
|
});
|
|
397
404
|
var CloseButton$1 = /*#__PURE__*/styled.div.withConfig({
|