northants-design-system 0.1.128 → 0.1.129
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/build/index.esm.js
CHANGED
|
@@ -6641,13 +6641,12 @@ var IconDownload$1 = function (_a) {
|
|
|
6641
6641
|
};
|
|
6642
6642
|
|
|
6643
6643
|
const handleContainerPadding = (noBackground, noPadding) => {
|
|
6644
|
-
if(noPadding || noBackground) {
|
|
6644
|
+
if (noPadding || noBackground) {
|
|
6645
6645
|
return 0
|
|
6646
6646
|
} else {
|
|
6647
6647
|
return "50px";
|
|
6648
6648
|
}
|
|
6649
|
-
|
|
6650
|
-
|
|
6649
|
+
};
|
|
6651
6650
|
|
|
6652
6651
|
const Container$7 = styled.div`
|
|
6653
6652
|
background: ${props => props.noBackground ? "transparent" :
|
|
@@ -6660,7 +6659,7 @@ const MaxWidth = styled.div`
|
|
|
6660
6659
|
${props => props.theme.fontStyles}
|
|
6661
6660
|
margin-right: 15px;
|
|
6662
6661
|
margin-left: 15px;
|
|
6663
|
-
overflow: hidden;
|
|
6662
|
+
overflow: ${props => props.overflowVisible ? "visible" : "hidden"};
|
|
6664
6663
|
|
|
6665
6664
|
pre {
|
|
6666
6665
|
font-family: monospace;
|
|
@@ -6682,9 +6681,9 @@ const MaxWidth = styled.div`
|
|
|
6682
6681
|
* A container for holding the main content of a page
|
|
6683
6682
|
*/
|
|
6684
6683
|
var MaxWidthContainer = function (_a) {
|
|
6685
|
-
var children = _a.children, classes = _a.classes, _b = _a.noBackground, noBackground = _b === void 0 ? false : _b, _c = _a.noPadding, noPadding = _c === void 0 ? false : _c, props = __rest(_a, ["children", "classes", "noBackground", "noPadding"]);
|
|
6684
|
+
var children = _a.children, classes = _a.classes, _b = _a.noBackground, noBackground = _b === void 0 ? false : _b, _c = _a.noPadding, noPadding = _c === void 0 ? false : _c, _d = _a.overflowVisible, overflowVisible = _d === void 0 ? false : _d, props = __rest(_a, ["children", "classes", "noBackground", "noPadding", "overflowVisible"]);
|
|
6686
6685
|
return (React.createElement(Container$7, { noBackground: noBackground, noPadding: noPadding },
|
|
6687
|
-
React.createElement(MaxWidth, __assign({ className: classes }, props), children)));
|
|
6686
|
+
React.createElement(MaxWidth, __assign({ className: classes, overflowVisible: overflowVisible }, props), children)));
|
|
6688
6687
|
};
|
|
6689
6688
|
|
|
6690
6689
|
var AlertBanner = function (_a) {
|