@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 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
- onRight: sidebarOnRight,
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
- onRight: sidebarOnRight,
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thecb/components",
3
- "version": "4.0.14-beta.0",
3
+ "version": "4.0.16",
4
4
  "description": "Common lib for CityBase react components",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.esm.js",
@@ -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} onRight={onRight} childGap={childGap}>
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
- onRight={sidebarOnRight}
47
+ sidebarOnRight={sidebarOnRight}
48
48
  contentMinWidth={mainContentMinWidth}
49
49
  >
50
50
  {sidebarOnRight ? <Fragment /> : sidebarContent}
@@ -46,7 +46,7 @@ const SidebarStackContent = ({
46
46
  <Sidebar
47
47
  width={sidebarTargetWidth}
48
48
  childGap={sidebarContentGap}
49
- onRight={sidebarOnRight}
49
+ sidebarOnRight={sidebarOnRight}
50
50
  contentMinWidth={mainContentMinWidth}
51
51
  key="content-sidebar"
52
52
  >