@rpg-engine/long-bow 0.6.79 → 0.6.81
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 +1 -1
- package/dist/long-bow.cjs.development.js +8 -9
- 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 +8 -9
- package/dist/long-bow.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/Leaderboard/Leaderboard.tsx +1 -1
- package/src/components/Multitab/TabBody.tsx +12 -7
|
@@ -2,12 +2,12 @@ import React from 'react';
|
|
|
2
2
|
interface IContainerStyles {
|
|
3
3
|
height?: string;
|
|
4
4
|
width?: string;
|
|
5
|
-
centerContent?: boolean;
|
|
6
5
|
}
|
|
7
6
|
interface IProps {
|
|
8
7
|
id: string;
|
|
9
8
|
children: React.ReactNode;
|
|
10
9
|
styles?: IContainerStyles;
|
|
10
|
+
centerContent?: boolean;
|
|
11
11
|
}
|
|
12
12
|
export declare const TabBody: React.FC<IProps>;
|
|
13
13
|
export {};
|
|
@@ -30527,7 +30527,7 @@ var StyledDropdown = /*#__PURE__*/styled__default(Dropdown).withConfig({
|
|
|
30527
30527
|
var ItemComponentScrollWrapper = /*#__PURE__*/styled__default.div.withConfig({
|
|
30528
30528
|
displayName: "Leaderboard__ItemComponentScrollWrapper",
|
|
30529
30529
|
componentId: "sc-1wdsq7i-2"
|
|
30530
|
-
})(["overflow-y:
|
|
30530
|
+
})(["overflow-y:auto;height:390px;width:100%;margin-top:1rem;@media (max-width:950px){height:250px;}"]);
|
|
30531
30531
|
var TableWrapper = /*#__PURE__*/styled__default.table.withConfig({
|
|
30532
30532
|
displayName: "Leaderboard__TableWrapper",
|
|
30533
30533
|
componentId: "sc-1wdsq7i-3"
|
|
@@ -31139,10 +31139,12 @@ var PagerContainer$1 = /*#__PURE__*/styled__default.div.withConfig({
|
|
|
31139
31139
|
var TabBody = function TabBody(_ref) {
|
|
31140
31140
|
var id = _ref.id,
|
|
31141
31141
|
children = _ref.children,
|
|
31142
|
-
styles = _ref.styles
|
|
31142
|
+
styles = _ref.styles,
|
|
31143
|
+
centerContent = _ref.centerContent;
|
|
31143
31144
|
return React__default.createElement(Container$p, {
|
|
31144
31145
|
styles: styles,
|
|
31145
|
-
"data-tab-id": id
|
|
31146
|
+
"data-tab-id": id,
|
|
31147
|
+
centerContent: centerContent
|
|
31146
31148
|
}, children);
|
|
31147
31149
|
};
|
|
31148
31150
|
var Container$p = /*#__PURE__*/styled__default.div.withConfig({
|
|
@@ -31155,14 +31157,11 @@ var Container$p = /*#__PURE__*/styled__default.div.withConfig({
|
|
|
31155
31157
|
var _props$styles2;
|
|
31156
31158
|
return ((_props$styles2 = props.styles) == null ? void 0 : _props$styles2.height) || 'auto';
|
|
31157
31159
|
}, function (props) {
|
|
31158
|
-
|
|
31159
|
-
return (_props$styles3 = props.styles) != null && _props$styles3.centerContent ? 'flex' : 'block';
|
|
31160
|
+
return props.centerContent ? 'flex' : 'block';
|
|
31160
31161
|
}, function (props) {
|
|
31161
|
-
|
|
31162
|
-
return (_props$styles4 = props.styles) != null && _props$styles4.centerContent ? 'center' : 'initial';
|
|
31162
|
+
return props.centerContent ? 'center' : 'initial';
|
|
31163
31163
|
}, function (props) {
|
|
31164
|
-
|
|
31165
|
-
return (_props$styles5 = props.styles) != null && _props$styles5.centerContent ? 'center' : 'initial';
|
|
31164
|
+
return props.centerContent ? 'center' : 'initial';
|
|
31166
31165
|
});
|
|
31167
31166
|
|
|
31168
31167
|
var Tab$1 = function Tab(_ref) {
|