@rpg-engine/long-bow 0.6.77 → 0.6.78
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/DraggableContainer.d.ts +2 -0
- package/dist/components/Multitab/TabsContainer.d.ts +2 -0
- package/dist/long-bow.cjs.development.js +19 -6
- 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 +19 -6
- package/dist/long-bow.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/DraggableContainer.tsx +12 -2
- package/src/components/Multitab/TabsContainer.tsx +4 -0
|
@@ -26943,6 +26943,8 @@ var DraggableContainer = function DraggableContainer(_ref) {
|
|
|
26943
26943
|
_ref$width = _ref.width,
|
|
26944
26944
|
width = _ref$width === void 0 ? '50%' : _ref$width,
|
|
26945
26945
|
height = _ref.height,
|
|
26946
|
+
minHeight = _ref.minHeight,
|
|
26947
|
+
minWidth = _ref.minWidth,
|
|
26946
26948
|
className = _ref.className,
|
|
26947
26949
|
_ref$type = _ref.type,
|
|
26948
26950
|
type = _ref$type === void 0 ? exports.RPGUIContainerTypes.FramedGold : _ref$type,
|
|
@@ -27018,6 +27020,8 @@ var DraggableContainer = function DraggableContainer(_ref) {
|
|
|
27018
27020
|
ref: draggableRef,
|
|
27019
27021
|
width: width,
|
|
27020
27022
|
height: height || 'auto',
|
|
27023
|
+
minWidth: minWidth,
|
|
27024
|
+
minHeight: minHeight,
|
|
27021
27025
|
className: "rpgui-container " + type + " " + className,
|
|
27022
27026
|
isFullScreen: isFullScreen,
|
|
27023
27027
|
opacity: opacity
|
|
@@ -27034,16 +27038,22 @@ var DraggableContainer = function DraggableContainer(_ref) {
|
|
|
27034
27038
|
var Container$7 = /*#__PURE__*/styled__default.div.withConfig({
|
|
27035
27039
|
displayName: "DraggableContainer__Container",
|
|
27036
27040
|
componentId: "sc-184mpyl-0"
|
|
27037
|
-
})(["height:", ";width:", ";display:flex;flex-wrap:wrap;image-rendering:pixelated;overflow-y:hidden;", " ", " &.rpgui-container{padding-top:1.5rem;}"], function (props) {
|
|
27041
|
+
})(["height:", ";width:", ";min-width:", ";min-height:", ";display:flex;flex-wrap:wrap;image-rendering:pixelated;overflow-y:hidden;", " ", " &.rpgui-container{padding-top:1.5rem;}"], function (props) {
|
|
27038
27042
|
return props.height;
|
|
27039
27043
|
}, function (_ref2) {
|
|
27040
27044
|
var width = _ref2.width;
|
|
27041
27045
|
return width;
|
|
27042
27046
|
}, function (_ref3) {
|
|
27043
|
-
var
|
|
27044
|
-
return
|
|
27047
|
+
var minWidth = _ref3.minWidth;
|
|
27048
|
+
return minWidth || 'auto';
|
|
27045
27049
|
}, function (_ref4) {
|
|
27046
|
-
var
|
|
27050
|
+
var minHeight = _ref4.minHeight;
|
|
27051
|
+
return minHeight || 'auto';
|
|
27052
|
+
}, function (_ref5) {
|
|
27053
|
+
var opacity = _ref5.opacity;
|
|
27054
|
+
return opacity && styled.css(["opacity:", ";"], opacity);
|
|
27055
|
+
}, function (_ref6) {
|
|
27056
|
+
var isFullScreen = _ref6.isFullScreen;
|
|
27047
27057
|
return isFullScreen && styled.css(["justify-content:center;align-items:flex-start;align-content:flex-start;"]);
|
|
27048
27058
|
});
|
|
27049
27059
|
var CloseButton$2 = /*#__PURE__*/styled__default.div.withConfig({
|
|
@@ -27061,8 +27071,9 @@ var Title = /*#__PURE__*/styled__default.h1.withConfig({
|
|
|
27061
27071
|
var Icon = /*#__PURE__*/styled__default.img.withConfig({
|
|
27062
27072
|
displayName: "DraggableContainer__Icon",
|
|
27063
27073
|
componentId: "sc-184mpyl-4"
|
|
27064
|
-
})(["color:white;z-index:22;font-size:", ";width:", ";margin-right:0.5rem;"], uiFonts.size.xsmall, function (
|
|
27065
|
-
|
|
27074
|
+
})(["color:white;z-index:22;font-size:", ";width:", ";margin-right:0.5rem;"], uiFonts.size.xsmall, function (_ref7) {
|
|
27075
|
+
var width = _ref7.width;
|
|
27076
|
+
return width;
|
|
27066
27077
|
});
|
|
27067
27078
|
|
|
27068
27079
|
var InputRadio = function InputRadio(_ref) {
|
|
@@ -31213,6 +31224,8 @@ var TabsContainer = function TabsContainer(_ref) {
|
|
|
31213
31224
|
,
|
|
31214
31225
|
width: styles == null ? void 0 : styles.width,
|
|
31215
31226
|
height: styles == null ? void 0 : styles.height,
|
|
31227
|
+
minWidth: styles == null ? void 0 : styles.minWidth,
|
|
31228
|
+
minHeight: styles == null ? void 0 : styles.minHeight,
|
|
31216
31229
|
className: styles == null ? void 0 : styles.className,
|
|
31217
31230
|
title: styles == null ? void 0 : styles.title,
|
|
31218
31231
|
imgSrc: styles == null ? void 0 : styles.imgSrc,
|