@rpg-engine/long-bow 0.6.78 → 0.6.79
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/Multitab/TabBody.d.ts +6 -2
- package/dist/long-bow.cjs.development.js +14 -2
- 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 +14 -2
- package/dist/long-bow.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/Multitab/TabBody.tsx +13 -4
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
|
|
2
|
+
interface IContainerStyles {
|
|
3
|
+
height?: string;
|
|
4
|
+
width?: string;
|
|
5
|
+
centerContent?: boolean;
|
|
6
|
+
}
|
|
3
7
|
interface IProps {
|
|
4
8
|
id: string;
|
|
5
9
|
children: React.ReactNode;
|
|
6
|
-
styles?:
|
|
10
|
+
styles?: IContainerStyles;
|
|
7
11
|
}
|
|
8
12
|
export declare const TabBody: React.FC<IProps>;
|
|
9
13
|
export {};
|
|
@@ -31148,9 +31148,21 @@ var TabBody = function TabBody(_ref) {
|
|
|
31148
31148
|
var Container$p = /*#__PURE__*/styled__default.div.withConfig({
|
|
31149
31149
|
displayName: "TabBody__Container",
|
|
31150
31150
|
componentId: "sc-196oof2-0"
|
|
31151
|
-
})(["width:
|
|
31151
|
+
})(["width:", ";height:", ";overflow-y:auto;display:", ";justify-content:", ";align-items:", ";"], function (props) {
|
|
31152
31152
|
var _props$styles;
|
|
31153
|
-
return ((_props$styles = props.styles) == null ? void 0 : _props$styles.
|
|
31153
|
+
return ((_props$styles = props.styles) == null ? void 0 : _props$styles.width) || '100%';
|
|
31154
|
+
}, function (props) {
|
|
31155
|
+
var _props$styles2;
|
|
31156
|
+
return ((_props$styles2 = props.styles) == null ? void 0 : _props$styles2.height) || 'auto';
|
|
31157
|
+
}, function (props) {
|
|
31158
|
+
var _props$styles3;
|
|
31159
|
+
return (_props$styles3 = props.styles) != null && _props$styles3.centerContent ? 'flex' : 'block';
|
|
31160
|
+
}, function (props) {
|
|
31161
|
+
var _props$styles4;
|
|
31162
|
+
return (_props$styles4 = props.styles) != null && _props$styles4.centerContent ? 'center' : 'initial';
|
|
31163
|
+
}, function (props) {
|
|
31164
|
+
var _props$styles5;
|
|
31165
|
+
return (_props$styles5 = props.styles) != null && _props$styles5.centerContent ? 'center' : 'initial';
|
|
31154
31166
|
});
|
|
31155
31167
|
|
|
31156
31168
|
var Tab$1 = function Tab(_ref) {
|