@nnc-digital/nnc-design-system 1.0.0-alpha1 → 1.0.0-alpha4
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.js +6 -6
- package/build/index.js.map +1 -1
- package/build/index.mjs.js +6 -6
- package/build/index.mjs.js.map +1 -1
- package/package.json +1 -1
package/build/index.js
CHANGED
|
@@ -7842,7 +7842,7 @@ const Container$11 = styled__default.default.div`
|
|
|
7842
7842
|
|
|
7843
7843
|
var Row$1 = function (_a) {
|
|
7844
7844
|
var _b = _a.hasBorder, hasBorder = _b === void 0 ? false : _b, _c = _a.isList, isList = _c === void 0 ? false : _c, _d = _a.hasWrap, hasWrap = _d === void 0 ? true : _d, children = _a.children;
|
|
7845
|
-
return (React__default.default.createElement(Container$11, { "data-testid": "Row", hasBorder: hasBorder, hasWrap: hasWrap, as: isList ? 'ul' : 'div' }, children));
|
|
7845
|
+
return (React__default.default.createElement(Container$11, { "data-testid": "Row", "$hasBorder": hasBorder, "$hasWrap": hasWrap, as: isList ? 'ul' : 'div' }, children));
|
|
7846
7846
|
};
|
|
7847
7847
|
|
|
7848
7848
|
const calculateWidth = (size) => {
|
|
@@ -24417,11 +24417,11 @@ const Container$E = styled__default.default.div`
|
|
|
24417
24417
|
padding: ${(props) => props.theme.theme_vars.spacingSizes.medium} 0;
|
|
24418
24418
|
background: ${(props) =>
|
|
24419
24419
|
props.$alertType === 'alert'
|
|
24420
|
-
? props.theme.theme_vars.colours.
|
|
24420
|
+
? props.theme.theme_vars.colours.alert_background
|
|
24421
24421
|
: props.$alertType === 'warning'
|
|
24422
|
-
? props.theme.theme_vars.colours.
|
|
24422
|
+
? props.theme.theme_vars.colours.warning_background
|
|
24423
24423
|
: props.$alertType === 'positive'
|
|
24424
|
-
? props.theme.theme_vars.colours.
|
|
24424
|
+
? props.theme.theme_vars.colours.positive_background
|
|
24425
24425
|
: props.$alertType === 'london_bridge'
|
|
24426
24426
|
? props.theme.theme_vars.colours.black
|
|
24427
24427
|
: props.theme.theme_vars.colours.negative};
|
|
@@ -24453,7 +24453,7 @@ const Container$E = styled__default.default.div`
|
|
|
24453
24453
|
background: ${(props) =>
|
|
24454
24454
|
props.alertType === 'warning' || props.alertType === 'positive'
|
|
24455
24455
|
? props.theme.theme_vars.colours.action
|
|
24456
|
-
: props.theme.theme_vars.colours.
|
|
24456
|
+
: props.theme.theme_vars.colours.warning_background} !important;
|
|
24457
24457
|
}
|
|
24458
24458
|
&:active {
|
|
24459
24459
|
${(props) => props.theme.linkStylesActive}
|
|
@@ -24512,7 +24512,7 @@ const HideLink = styled__default.default.button`
|
|
|
24512
24512
|
background: ${(props) =>
|
|
24513
24513
|
props.alertType === 'warning' || props.alertType === 'positive'
|
|
24514
24514
|
? props.theme.theme_vars.colours.action
|
|
24515
|
-
: props.theme.theme_vars.colours.
|
|
24515
|
+
: props.theme.theme_vars.colours.warning_background} !important;
|
|
24516
24516
|
border-bottom: 3px solid ${(props) => props.theme.theme_vars.colours.black};
|
|
24517
24517
|
|
|
24518
24518
|
svg {
|