@rpg-engine/long-bow 0.6.78 → 0.6.80
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 +15 -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 +15 -4
- package/dist/long-bow.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/Multitab/TabBody.tsx +20 -6
package/dist/long-bow.esm.js
CHANGED
|
@@ -31136,18 +31136,29 @@ var PagerContainer$1 = /*#__PURE__*/styled.div.withConfig({
|
|
|
31136
31136
|
var TabBody = function TabBody(_ref) {
|
|
31137
31137
|
var id = _ref.id,
|
|
31138
31138
|
children = _ref.children,
|
|
31139
|
-
styles = _ref.styles
|
|
31139
|
+
styles = _ref.styles,
|
|
31140
|
+
centerContent = _ref.centerContent;
|
|
31140
31141
|
return React.createElement(Container$p, {
|
|
31141
31142
|
styles: styles,
|
|
31142
|
-
"data-tab-id": id
|
|
31143
|
+
"data-tab-id": id,
|
|
31144
|
+
centerContent: centerContent
|
|
31143
31145
|
}, children);
|
|
31144
31146
|
};
|
|
31145
31147
|
var Container$p = /*#__PURE__*/styled.div.withConfig({
|
|
31146
31148
|
displayName: "TabBody__Container",
|
|
31147
31149
|
componentId: "sc-196oof2-0"
|
|
31148
|
-
})(["width:
|
|
31150
|
+
})(["width:", ";height:", ";overflow-y:auto;display:", ";justify-content:", ";align-items:", ";"], function (props) {
|
|
31149
31151
|
var _props$styles;
|
|
31150
|
-
return ((_props$styles = props.styles) == null ? void 0 : _props$styles.
|
|
31152
|
+
return ((_props$styles = props.styles) == null ? void 0 : _props$styles.width) || '100%';
|
|
31153
|
+
}, function (props) {
|
|
31154
|
+
var _props$styles2;
|
|
31155
|
+
return ((_props$styles2 = props.styles) == null ? void 0 : _props$styles2.height) || 'auto';
|
|
31156
|
+
}, function (props) {
|
|
31157
|
+
return props.centerContent ? 'flex' : 'block';
|
|
31158
|
+
}, function (props) {
|
|
31159
|
+
return props.centerContent ? 'center' : 'initial';
|
|
31160
|
+
}, function (props) {
|
|
31161
|
+
return props.centerContent ? 'center' : 'initial';
|
|
31151
31162
|
});
|
|
31152
31163
|
|
|
31153
31164
|
var Tab$1 = function Tab(_ref) {
|