@rpg-engine/long-bow 0.6.64 → 0.6.65
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/TabsContainer.d.ts +8 -0
- package/dist/long-bow.cjs.development.js +10 -1
- 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 +10 -1
- package/dist/long-bow.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/Multitab/TabsContainer.tsx +18 -5
package/dist/long-bow.esm.js
CHANGED
|
@@ -31114,7 +31114,9 @@ var TabsContainer = function TabsContainer(_ref) {
|
|
|
31114
31114
|
onCloseButton = _ref.onCloseButton,
|
|
31115
31115
|
tabs = _ref.tabs,
|
|
31116
31116
|
_ref$type = _ref.type,
|
|
31117
|
-
type = _ref$type === void 0 ? MultitabType.Brown : _ref$type
|
|
31117
|
+
type = _ref$type === void 0 ? MultitabType.Brown : _ref$type,
|
|
31118
|
+
_ref$styles = _ref.styles,
|
|
31119
|
+
styles = _ref$styles === void 0 ? {} : _ref$styles;
|
|
31118
31120
|
var _useState = useState(tabs[0].id),
|
|
31119
31121
|
selectedTab = _useState[0],
|
|
31120
31122
|
setSelectedTab = _useState[1]; // by default the first one
|
|
@@ -31145,6 +31147,13 @@ var TabsContainer = function TabsContainer(_ref) {
|
|
|
31145
31147
|
onCloseButton: onCloseButton,
|
|
31146
31148
|
type: onGetContainerType(),
|
|
31147
31149
|
cancelDrag: ".tabs-container *" // Disable drag on all elements inside .tabs-container
|
|
31150
|
+
,
|
|
31151
|
+
width: styles == null ? void 0 : styles.width,
|
|
31152
|
+
height: styles == null ? void 0 : styles.height,
|
|
31153
|
+
className: styles == null ? void 0 : styles.className,
|
|
31154
|
+
title: styles == null ? void 0 : styles.title,
|
|
31155
|
+
imgSrc: styles == null ? void 0 : styles.imgSrc,
|
|
31156
|
+
imgWidth: styles == null ? void 0 : styles.imgWidth
|
|
31148
31157
|
}, onRenderTabs(), React.createElement(BodyContainer, {
|
|
31149
31158
|
selectedTab: selectedTab,
|
|
31150
31159
|
className: type + " tabs-container"
|