@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.d.ts CHANGED
@@ -285,6 +285,7 @@ interface StackProps {
285
285
  childGap?: string;
286
286
  bottomItem?: number;
287
287
  fullHeight?: boolean;
288
+ hoverStyles?: string;
288
289
  direction?:
289
290
  | "row"
290
291
  | "row-reverse"
package/dist/index.esm.js CHANGED
@@ -6880,7 +6880,7 @@ var Sidebar = function Sidebar(_ref) {
6880
6880
  var StackWrapper = styled.div.withConfig({
6881
6881
  displayName: "Stackstyled__StackWrapper",
6882
6882
  componentId: "sc-ejhezz-0"
6883
- })(["box-sizing:border-box;display:flex;flex-direction:", ";justify-content:", ";height:", ";> *{margin-top:0;margin-bottom:0;}> * + *{", "}", ";"], function (_ref) {
6883
+ })(["box-sizing:border-box;display:flex;flex-direction:", ";justify-content:", ";height:", ";> *{margin-top:0;margin-bottom:0;}> * + *{", "}", ";&:hover{", "}"], function (_ref) {
6884
6884
  var direction = _ref.direction;
6885
6885
  return direction;
6886
6886
  }, function (_ref2) {
@@ -6897,9 +6897,12 @@ var StackWrapper = styled.div.withConfig({
6897
6897
  var bottomItem = _ref5.bottomItem,
6898
6898
  direction = _ref5.direction;
6899
6899
  return bottomItem ? "\n > :nth-child(".concat(bottomItem, ") {\n ").concat(direction === "row" ? "margin-left: auto;" : "margin-top: auto;", "\n }\n ") : "";
6900
+ }, function (_ref6) {
6901
+ var hoverStyles = _ref6.hoverStyles;
6902
+ return css(["", ""], hoverStyles);
6900
6903
  });
6901
6904
 
6902
- var _excluded$a = ["childGap", "bottomItem", "fullHeight", "children", "direction", "justify"];
6905
+ var _excluded$a = ["childGap", "bottomItem", "fullHeight", "children", "direction", "justify", "hoverStyles"];
6903
6906
  /*
6904
6907
  Component to impose margin-top between a list of child elements
6905
6908
  Useful for things like sidebars and button lists
@@ -6920,6 +6923,7 @@ var Stack = function Stack(_ref) {
6920
6923
  _ref$direction = _ref.direction,
6921
6924
  direction = _ref$direction === void 0 ? "column" : _ref$direction,
6922
6925
  justify = _ref.justify,
6926
+ hoverStyles = _ref.hoverStyles,
6923
6927
  rest = _objectWithoutProperties(_ref, _excluded$a);
6924
6928
 
6925
6929
  return /*#__PURE__*/React.createElement(StackWrapper, _extends({