@nice-digital/nds-core 4.0.7 → 4.0.9
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nice-digital/nds-core",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.9",
|
|
4
4
|
"description": "Core code for the NICE Design System",
|
|
5
5
|
"author": "Ian Routledge <ian.routledge@nice.org.uk>",
|
|
6
6
|
"contributors": [
|
|
@@ -47,5 +47,5 @@
|
|
|
47
47
|
"@types/node": "^18.11.9",
|
|
48
48
|
"typescript": "^4.8.4"
|
|
49
49
|
},
|
|
50
|
-
"gitHead": "
|
|
50
|
+
"gitHead": "79b8403759d3b64619e04e9313f56594a79882fb"
|
|
51
51
|
}
|
|
@@ -69,6 +69,12 @@ $action-banner-default-background: global.$nice-blue;
|
|
|
69
69
|
$action-banner-default-border: global.$nice-black;
|
|
70
70
|
$action-banner-subtle-background: global.$nice-cream;
|
|
71
71
|
$action-banner-subtle-border: global.$nice-cream;
|
|
72
|
+
$action-banner-full-width-background: global.$nice-teal;
|
|
73
|
+
$action-banner-full-width-border: global.$nice-teal;
|
|
74
|
+
$action-banner-full-width-subtle-background: global.$nice-cream-3;
|
|
75
|
+
$action-banner-full-width-subtle-border: global.$nice-cream-3;
|
|
76
|
+
$action-banner-full-width-dark-background-text-colour: global.$white;
|
|
77
|
+
$action-banner-full-width-light-background-text-colour: global.$custom-blue-1;
|
|
72
78
|
|
|
73
79
|
// Alphabet
|
|
74
80
|
$alphabet-letter-background: global.$white;
|
|
@@ -118,9 +124,10 @@ $full-bleed-text-image-dark: global.$white;
|
|
|
118
124
|
$full-bleed-text-image-light: global.$nice-black;
|
|
119
125
|
|
|
120
126
|
// Hero
|
|
121
|
-
$hero-background: global.$nice-
|
|
122
|
-
$hero-
|
|
123
|
-
$hero-
|
|
127
|
+
$hero-background-default: global.$nice-cream-3;
|
|
128
|
+
$hero-background-dark: global.$nice-blue;
|
|
129
|
+
$hero-text-default: global.$nice-black;
|
|
130
|
+
$hero-text-dark: global.$white;
|
|
124
131
|
|
|
125
132
|
// Horizontal nav
|
|
126
133
|
$horizontal-nav-list-border: global.$nice-black;
|
package/scss/layout/_index.scss
CHANGED
|
@@ -18,10 +18,16 @@ $readable-width: 66ch;
|
|
|
18
18
|
@mixin container {
|
|
19
19
|
margin: auto;
|
|
20
20
|
max-width: utils.rem($container-max-width);
|
|
21
|
-
width: 96%; // IE11 support for calc not consistent https://caniuse.com/calc (See "Known issues")
|
|
22
21
|
width: calc(100% - #{utils.rem($container-gutter * 2)});
|
|
23
22
|
}
|
|
24
23
|
|
|
24
|
+
/// A container within a full bleed/full width component. Need a narrower width to offset the negative margins
|
|
25
|
+
@mixin fullWidthContainer {
|
|
26
|
+
margin: auto;
|
|
27
|
+
max-width: utils.rem($container-max-width);
|
|
28
|
+
width: calc(100% - #{utils.rem($container-gutter * 3)});
|
|
29
|
+
}
|
|
30
|
+
|
|
25
31
|
/// Make an element adapt its height to fit floated children, and clear floats in both directions.
|
|
26
32
|
/// @since 0.1.0
|
|
27
33
|
@mixin clearfix {
|