@thecb/components 4.0.14-beta.0 → 4.0.16
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/index.cjs.js +2 -2
- package/package.json +1 -1
- package/src/components/atoms/layouts/examples/sidebar-example/SidebarExample.js +1 -1
- package/src/components/templates/sidebar-single-content/SidebarSingleContent.js +1 -1
- package/src/components/templates/sidebar-stack-content/SidebarStackContent.js +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -39344,7 +39344,7 @@ var SidebarSingleContent = function SidebarSingleContent(_ref) {
|
|
|
39344
39344
|
}, /*#__PURE__*/React__default.createElement(Sidebar, {
|
|
39345
39345
|
width: sidebarTargetWidth,
|
|
39346
39346
|
childGap: sidebarContentGap,
|
|
39347
|
-
|
|
39347
|
+
sidebarOnRight: sidebarOnRight,
|
|
39348
39348
|
contentMinWidth: mainContentMinWidth
|
|
39349
39349
|
}, sidebarOnRight ? /*#__PURE__*/React__default.createElement(React.Fragment, null) : sidebarContent, mainContent, sidebarOnRight ? sidebarContent : /*#__PURE__*/React__default.createElement(React.Fragment, null))))), footer ? footer : /*#__PURE__*/React__default.createElement(Box, {
|
|
39350
39350
|
padding: "0"
|
|
@@ -39406,7 +39406,7 @@ var SidebarStackContent = function SidebarStackContent(_ref) {
|
|
|
39406
39406
|
}, /*#__PURE__*/React__default.createElement(Sidebar, {
|
|
39407
39407
|
width: sidebarTargetWidth,
|
|
39408
39408
|
childGap: sidebarContentGap,
|
|
39409
|
-
|
|
39409
|
+
sidebarOnRight: sidebarOnRight,
|
|
39410
39410
|
contentMinWidth: mainContentMinWidth,
|
|
39411
39411
|
key: "content-sidebar"
|
|
39412
39412
|
}, sidebarOnRight ? /*#__PURE__*/React__default.createElement(React.Fragment, {
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@ import React from "react";
|
|
|
3
3
|
import Sidebar from "../../Sidebar";
|
|
4
4
|
|
|
5
5
|
const SidebarExample = ({ width, onRight, childGap, children }) => (
|
|
6
|
-
<Sidebar width={width}
|
|
6
|
+
<Sidebar width={width} sidebarOnRight={onRight} childGap={childGap}>
|
|
7
7
|
{children}
|
|
8
8
|
</Sidebar>
|
|
9
9
|
);
|
|
@@ -44,7 +44,7 @@ const SidebarSingleContent = ({
|
|
|
44
44
|
<Sidebar
|
|
45
45
|
width={sidebarTargetWidth}
|
|
46
46
|
childGap={sidebarContentGap}
|
|
47
|
-
|
|
47
|
+
sidebarOnRight={sidebarOnRight}
|
|
48
48
|
contentMinWidth={mainContentMinWidth}
|
|
49
49
|
>
|
|
50
50
|
{sidebarOnRight ? <Fragment /> : sidebarContent}
|