@thecb/components 8.0.4-beta.9 → 8.0.6-beta.0
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 +3 -8
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +24 -2
- package/dist/index.esm.js +3 -8
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/atoms/form-layouts/index.d.ts +25 -0
- package/src/components/atoms/index.d.ts +1 -0
- package/src/components/atoms/layouts/Stack.d.ts +0 -1
- package/src/components/atoms/layouts/Stack.js +0 -2
- package/src/components/atoms/layouts/Stack.styled.js +1 -8
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;}> * + *{", "}", "
|
|
6891
|
+
})(["box-sizing:border-box;display:flex;flex-direction:", ";justify-content:", ";height:", ";> *{margin-top:0;margin-bottom:0;}> * + *{", "}", ";"], function (_ref) {
|
|
6892
6892
|
var direction = _ref.direction;
|
|
6893
6893
|
return direction;
|
|
6894
6894
|
}, function (_ref2) {
|
|
@@ -6905,12 +6905,9 @@ 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);
|
|
6911
6908
|
});
|
|
6912
6909
|
|
|
6913
|
-
var _excluded$a = ["childGap", "bottomItem", "fullHeight", "children", "direction", "justify"
|
|
6910
|
+
var _excluded$a = ["childGap", "bottomItem", "fullHeight", "children", "direction", "justify"];
|
|
6914
6911
|
/*
|
|
6915
6912
|
Component to impose margin-top between a list of child elements
|
|
6916
6913
|
Useful for things like sidebars and button lists
|
|
@@ -6931,7 +6928,6 @@ var Stack = function Stack(_ref) {
|
|
|
6931
6928
|
_ref$direction = _ref.direction,
|
|
6932
6929
|
direction = _ref$direction === void 0 ? "column" : _ref$direction,
|
|
6933
6930
|
justify = _ref.justify,
|
|
6934
|
-
hoverStyles = _ref.hoverStyles,
|
|
6935
6931
|
rest = _objectWithoutProperties(_ref, _excluded$a);
|
|
6936
6932
|
|
|
6937
6933
|
return /*#__PURE__*/React__default.createElement(StackWrapper, _extends({
|
|
@@ -6939,8 +6935,7 @@ var Stack = function Stack(_ref) {
|
|
|
6939
6935
|
bottomItem: bottomItem,
|
|
6940
6936
|
fullHeight: fullHeight,
|
|
6941
6937
|
direction: direction,
|
|
6942
|
-
justify: justify
|
|
6943
|
-
hoverStyles: hoverStyles
|
|
6938
|
+
justify: justify
|
|
6944
6939
|
}, rest), safeChildren(children, /*#__PURE__*/React__default.createElement(React.Fragment, null)));
|
|
6945
6940
|
};
|
|
6946
6941
|
|