@thecb/components 4.2.7-beta.7 → 4.2.7-beta.8

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
@@ -6481,7 +6481,7 @@ function _templateObject2$2() {
6481
6481
  }
6482
6482
 
6483
6483
  function _templateObject$3() {
6484
- var data = _taggedTemplateLiteral(["\n overflow: ", ";\n box-sizing: border-box;\n justify-self: ", ";\n align-self: ", ";\n flex-grow: ", ";\n"]);
6484
+ var data = _taggedTemplateLiteral(["\n overflow: ", ";\n box-sizing: border-box;\n justify-self: ", ";\n align-self: ", ";\n flex-grow: ", ";\n ", ";\n"]);
6485
6485
 
6486
6486
  _templateObject$3 = function _templateObject() {
6487
6487
  return data;
@@ -6508,27 +6508,30 @@ var ClusterWrapper = styled__default(function (_ref) {
6508
6508
  }, function (_ref5) {
6509
6509
  var flexGrow = _ref5.flexGrow;
6510
6510
  return flexGrow;
6511
+ }, function (_ref6) {
6512
+ var extraStyles = _ref6.extraStyles;
6513
+ return extraStyles;
6511
6514
  });
6512
- var ClusterInnerWrapper = styled__default.div(_templateObject2$2(), function (_ref6) {
6513
- var nowrap = _ref6.nowrap;
6515
+ var ClusterInnerWrapper = styled__default.div(_templateObject2$2(), function (_ref7) {
6516
+ var nowrap = _ref7.nowrap;
6514
6517
  return nowrap ? "nowrap" : "wrap";
6515
- }, function (_ref7) {
6516
- var justify = _ref7.justify;
6517
- return justify;
6518
6518
  }, function (_ref8) {
6519
- var align = _ref8.align;
6520
- return align;
6519
+ var justify = _ref8.justify;
6520
+ return justify;
6521
6521
  }, function (_ref9) {
6522
- var childGap = _ref9.childGap;
6523
- return childGap;
6522
+ var align = _ref9.align;
6523
+ return align;
6524
6524
  }, function (_ref10) {
6525
- var minHeight = _ref10.minHeight;
6526
- return minHeight;
6525
+ var childGap = _ref10.childGap;
6526
+ return childGap;
6527
6527
  }, function (_ref11) {
6528
- var minWidth = _ref11.minWidth;
6529
- return minWidth;
6528
+ var minHeight = _ref11.minHeight;
6529
+ return minHeight;
6530
6530
  }, function (_ref12) {
6531
- var childGap = _ref12.childGap;
6531
+ var minWidth = _ref12.minWidth;
6532
+ return minWidth;
6533
+ }, function (_ref13) {
6534
+ var childGap = _ref13.childGap;
6532
6535
  return childGap;
6533
6536
  });
6534
6537
 
@@ -6553,15 +6556,17 @@ var Cluster = function Cluster(_ref) {
6553
6556
  justifySelf = _ref.justifySelf,
6554
6557
  alignSelf = _ref.alignSelf,
6555
6558
  flexGrow = _ref.flexGrow,
6559
+ extraStyles = _ref.extraStyles,
6556
6560
  children = _ref.children,
6557
- rest = _objectWithoutProperties(_ref, ["justify", "align", "childGap", "minHeight", "minWidth", "nowrap", "overflow", "justifySelf", "alignSelf", "flexGrow", "children"]);
6561
+ rest = _objectWithoutProperties(_ref, ["justify", "align", "childGap", "minHeight", "minWidth", "nowrap", "overflow", "justifySelf", "alignSelf", "flexGrow", "extraStyles", "children"]);
6558
6562
 
6559
6563
  return /*#__PURE__*/React__default.createElement(ClusterWrapper, _extends({
6560
6564
  overflow: overflow
6561
6565
  }, rest, {
6562
6566
  justifySelf: justifySelf,
6563
6567
  alignSelf: alignSelf,
6564
- flexGrow: flexGrow
6568
+ flexGrow: flexGrow,
6569
+ extraStyles: extraStyles
6565
6570
  }), /*#__PURE__*/React__default.createElement(ClusterInnerWrapper, {
6566
6571
  justify: justify,
6567
6572
  align: align,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thecb/components",
3
- "version": "4.2.7-beta.7",
3
+ "version": "4.2.7-beta.8",
4
4
  "description": "Common lib for CityBase react components",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.esm.js",
@@ -22,6 +22,7 @@ const Cluster = ({
22
22
  justifySelf,
23
23
  alignSelf,
24
24
  flexGrow,
25
+ extraStyles,
25
26
  children,
26
27
  ...rest
27
28
  }) => (
@@ -31,6 +32,7 @@ const Cluster = ({
31
32
  justifySelf={justifySelf}
32
33
  alignSelf={alignSelf}
33
34
  flexGrow={flexGrow}
35
+ extraStyles={extraStyles}
34
36
  >
35
37
  <ClusterInnerWrapper
36
38
  justify={justify}
@@ -10,6 +10,7 @@ export const ClusterWrapper = styled(({ overflow, ...props }) => (
10
10
  justify-self: ${({ justifySelf }) => justifySelf};
11
11
  align-self: ${({ alignSelf }) => alignSelf};
12
12
  flex-grow: ${({ flexGrow }) => flexGrow};
13
+ ${({ extraStyles }) => extraStyles};
13
14
  `;
14
15
 
15
16
  export const ClusterInnerWrapper = styled.div`