@nice-digital/nds-core 1.3.2 → 1.3.3-alpha.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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nice-digital/nds-core",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.3-alpha.0",
|
|
4
4
|
"description": "Core code for the NICE Design System",
|
|
5
5
|
"author": "Ian Routledge <ian.routledge@nice.org.uk>",
|
|
6
6
|
"contributors": [
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"url": "https://github.com/nice-digital/nice-design-system/issues"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@nice-digital/icons": "^3.0.0",
|
|
36
|
+
"@nice-digital/icons": "^3.0.1-alpha.0",
|
|
37
37
|
"prop-types": "^15.7.2",
|
|
38
38
|
"sass-mq": "^6.0.0"
|
|
39
39
|
},
|
|
@@ -44,5 +44,5 @@
|
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"@babel/cli": "^7.5.0"
|
|
46
46
|
},
|
|
47
|
-
"gitHead": "
|
|
47
|
+
"gitHead": "8624fdff10d45cdd07dec7f2eda7d2f4db68c474"
|
|
48
48
|
}
|
|
@@ -11,20 +11,20 @@ $nds-base-font-size: $nds-baseline * 4 !default;
|
|
|
11
11
|
$nds-base-line-height: $nds-baseline * 6 !default;
|
|
12
12
|
|
|
13
13
|
/// Sans-serif font stack
|
|
14
|
-
/// @since
|
|
15
|
-
$nds-font-family-sans: '
|
|
14
|
+
/// @since 2.0.0
|
|
15
|
+
$nds-font-family-sans: 'Inter, "Helvetica Neue", Helvetica, Arial, sans-serif' !default;
|
|
16
16
|
|
|
17
17
|
/// Serif font stack
|
|
18
|
-
/// @since
|
|
19
|
-
$nds-font-family-serif: '
|
|
18
|
+
/// @since 2.0.0
|
|
19
|
+
$nds-font-family-serif: 'Lora, Georgia, Times, serif' !default;
|
|
20
20
|
|
|
21
21
|
/// Mono font stack
|
|
22
22
|
/// @since 0.2.0
|
|
23
23
|
$nds-font-family-mono: 'Monaco, Menlo, Consolas, "Courier New", monospace' !default;
|
|
24
24
|
|
|
25
25
|
/// The font families in use across NICE.
|
|
26
|
-
/// @prop {Font stack} sans [
|
|
27
|
-
/// @prop {Font stack} serif [
|
|
26
|
+
/// @prop {Font stack} sans [Inter, Helvetica Neue, Helvetica, Arial, sans-serif] The sans-serif font stack
|
|
27
|
+
/// @prop {Font stack} serif [Lora, Georgia, Times, serif] The serif font stack
|
|
28
28
|
/// @prop {Font stack} mono [Monaco, Menlo, Consolas, "Courier New", monospace] The monospace font stack
|
|
29
29
|
/// @see font-family
|
|
30
30
|
/// @since 0.2.0
|
|
@@ -8,7 +8,8 @@
|
|
|
8
8
|
@mixin nds-h1 {
|
|
9
9
|
@include nds-font(h1);
|
|
10
10
|
clear: both;
|
|
11
|
-
font-
|
|
11
|
+
font-family: nds-get-font-family(serif);
|
|
12
|
+
font-weight: 600;
|
|
12
13
|
// Letter spacing and text shadow to mimic 900 weight, see https://github.com/nice-digital/nice-design-system/issues/240
|
|
13
14
|
letter-spacing: 0.5px;
|
|
14
15
|
max-width: 66ch;
|
|
@@ -21,7 +22,8 @@
|
|
|
21
22
|
@mixin nds-h2 {
|
|
22
23
|
@include nds-font(h2);
|
|
23
24
|
clear: both;
|
|
24
|
-
font-
|
|
25
|
+
font-family: nds-get-font-family(serif);
|
|
26
|
+
font-weight: 600;
|
|
25
27
|
max-width: 66ch;
|
|
26
28
|
}
|
|
27
29
|
|
|
@@ -31,7 +33,8 @@
|
|
|
31
33
|
@mixin nds-h3 {
|
|
32
34
|
@include nds-font(h3);
|
|
33
35
|
clear: both;
|
|
34
|
-
font-
|
|
36
|
+
font-family: nds-get-font-family(serif);
|
|
37
|
+
font-weight: 600;
|
|
35
38
|
max-width: 66ch;
|
|
36
39
|
}
|
|
37
40
|
|
|
@@ -41,7 +44,8 @@
|
|
|
41
44
|
@mixin nds-h4 {
|
|
42
45
|
@include nds-font(h4);
|
|
43
46
|
clear: both;
|
|
44
|
-
font-
|
|
47
|
+
font-family: nds-get-font-family(serif);
|
|
48
|
+
font-weight: 600;
|
|
45
49
|
max-width: 66ch;
|
|
46
50
|
}
|
|
47
51
|
|