@thecb/components 8.0.4-beta.6 → 8.0.4-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
@@ -6888,7 +6888,7 @@ var Sidebar = function Sidebar(_ref) {
6888
6888
  var StackWrapper = styled__default.div.withConfig({
6889
6889
  displayName: "Stackstyled__StackWrapper",
6890
6890
  componentId: "sc-ejhezz-0"
6891
- })(["box-sizing:border-box;display:flex;flex-direction:", ";justify-content:", ";height:", ";> *{margin-top:0;margin-bottom:0;}> * + *{", "}", ";"], function (_ref) {
6891
+ })(["box-sizing:border-box;display:flex;flex-direction:", ";justify-content:", ";height:", ";> *{margin-top:0;margin-bottom:0;}> * + *{", "}", ";&:hover{", "}"], function (_ref) {
6892
6892
  var direction = _ref.direction;
6893
6893
  return direction;
6894
6894
  }, function (_ref2) {
@@ -6905,9 +6905,12 @@ var StackWrapper = styled__default.div.withConfig({
6905
6905
  var bottomItem = _ref5.bottomItem,
6906
6906
  direction = _ref5.direction;
6907
6907
  return bottomItem ? "\n > :nth-child(".concat(bottomItem, ") {\n ").concat(direction === "row" ? "margin-left: auto;" : "margin-top: auto;", "\n }\n ") : "";
6908
+ }, function (_ref6) {
6909
+ var hoverStyles = _ref6.hoverStyles;
6910
+ return styled.css(["", ""], hoverStyles);
6908
6911
  });
6909
6912
 
6910
- var _excluded$a = ["childGap", "bottomItem", "fullHeight", "children", "direction", "justify"];
6913
+ var _excluded$a = ["childGap", "bottomItem", "fullHeight", "children", "direction", "justify", "hoverStyles"];
6911
6914
  /*
6912
6915
  Component to impose margin-top between a list of child elements
6913
6916
  Useful for things like sidebars and button lists
@@ -6928,6 +6931,7 @@ var Stack = function Stack(_ref) {
6928
6931
  _ref$direction = _ref.direction,
6929
6932
  direction = _ref$direction === void 0 ? "column" : _ref$direction,
6930
6933
  justify = _ref.justify,
6934
+ hoverStyles = _ref.hoverStyles,
6931
6935
  rest = _objectWithoutProperties(_ref, _excluded$a);
6932
6936
 
6933
6937
  return /*#__PURE__*/React__default.createElement(StackWrapper, _extends({