@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
package/dist/long-bow.esm.js
CHANGED
|
@@ -26937,6 +26937,8 @@ var DraggableContainer = function DraggableContainer(_ref) {
|
|
|
26937
26937
|
_ref$width = _ref.width,
|
|
26938
26938
|
width = _ref$width === void 0 ? '50%' : _ref$width,
|
|
26939
26939
|
height = _ref.height,
|
|
26940
|
+
minHeight = _ref.minHeight,
|
|
26941
|
+
minWidth = _ref.minWidth,
|
|
26940
26942
|
className = _ref.className,
|
|
26941
26943
|
_ref$type = _ref.type,
|
|
26942
26944
|
type = _ref$type === void 0 ? RPGUIContainerTypes.FramedGold : _ref$type,
|
|
@@ -27012,6 +27014,8 @@ var DraggableContainer = function DraggableContainer(_ref) {
|
|
|
27012
27014
|
ref: draggableRef,
|
|
27013
27015
|
width: width,
|
|
27014
27016
|
height: height || 'auto',
|
|
27017
|
+
minWidth: minWidth,
|
|
27018
|
+
minHeight: minHeight,
|
|
27015
27019
|
className: "rpgui-container " + type + " " + className,
|
|
27016
27020
|
isFullScreen: isFullScreen,
|
|
27017
27021
|
opacity: opacity
|
|
@@ -27028,16 +27032,22 @@ var DraggableContainer = function DraggableContainer(_ref) {
|
|
|
27028
27032
|
var Container$7 = /*#__PURE__*/styled.div.withConfig({
|
|
27029
27033
|
displayName: "DraggableContainer__Container",
|
|
27030
27034
|
componentId: "sc-184mpyl-0"
|
|
27031
|
-
})(["height:", ";width:", ";display:flex;flex-wrap:wrap;image-rendering:pixelated;overflow-y:hidden;", " ", " &.rpgui-container{padding-top:1.5rem;}"], function (props) {
|
|
27035
|
+
})(["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) {
|
|
27032
27036
|
return props.height;
|
|
27033
27037
|
}, function (_ref2) {
|
|
27034
27038
|
var width = _ref2.width;
|
|
27035
27039
|
return width;
|
|
27036
27040
|
}, function (_ref3) {
|
|
27037
|
-
var
|
|
27038
|
-
return
|
|
27041
|
+
var minWidth = _ref3.minWidth;
|
|
27042
|
+
return minWidth || 'auto';
|
|
27039
27043
|
}, function (_ref4) {
|
|
27040
|
-
var
|
|
27044
|
+
var minHeight = _ref4.minHeight;
|
|
27045
|
+
return minHeight || 'auto';
|
|
27046
|
+
}, function (_ref5) {
|
|
27047
|
+
var opacity = _ref5.opacity;
|
|
27048
|
+
return opacity && css(["opacity:", ";"], opacity);
|
|
27049
|
+
}, function (_ref6) {
|
|
27050
|
+
var isFullScreen = _ref6.isFullScreen;
|
|
27041
27051
|
return isFullScreen && css(["justify-content:center;align-items:flex-start;align-content:flex-start;"]);
|
|
27042
27052
|
});
|
|
27043
27053
|
var CloseButton$2 = /*#__PURE__*/styled.div.withConfig({
|
|
@@ -27055,8 +27065,9 @@ var Title = /*#__PURE__*/styled.h1.withConfig({
|
|
|
27055
27065
|
var Icon = /*#__PURE__*/styled.img.withConfig({
|
|
27056
27066
|
displayName: "DraggableContainer__Icon",
|
|
27057
27067
|
componentId: "sc-184mpyl-4"
|
|
27058
|
-
})(["color:white;z-index:22;font-size:", ";width:", ";margin-right:0.5rem;"], uiFonts.size.xsmall, function (
|
|
27059
|
-
|
|
27068
|
+
})(["color:white;z-index:22;font-size:", ";width:", ";margin-right:0.5rem;"], uiFonts.size.xsmall, function (_ref7) {
|
|
27069
|
+
var width = _ref7.width;
|
|
27070
|
+
return width;
|
|
27060
27071
|
});
|
|
27061
27072
|
|
|
27062
27073
|
var InputRadio = function InputRadio(_ref) {
|
|
@@ -31211,6 +31222,8 @@ var TabsContainer = function TabsContainer(_ref) {
|
|
|
31211
31222
|
,
|
|
31212
31223
|
width: styles == null ? void 0 : styles.width,
|
|
31213
31224
|
height: styles == null ? void 0 : styles.height,
|
|
31225
|
+
minWidth: styles == null ? void 0 : styles.minWidth,
|
|
31226
|
+
minHeight: styles == null ? void 0 : styles.minHeight,
|
|
31214
31227
|
className: styles == null ? void 0 : styles.className,
|
|
31215
31228
|
title: styles == null ? void 0 : styles.title,
|
|
31216
31229
|
imgSrc: styles == null ? void 0 : styles.imgSrc,
|