@nice-digital/nds-core 1.2.13 → 1.3.2

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.2.13",
3
+ "version": "1.3.2",
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": "^2.2.7",
36
+ "@nice-digital/icons": "^3.0.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": "2bdf3454416a51f8e6c407a0f03ff14c08b6023a"
47
+ "gitHead": "db5e29bc9fa8afa7e33c19a8e06a65adafd99bc5"
48
48
  }
@@ -48,7 +48,7 @@ $nds-colour-link: #005ea5;
48
48
 
49
49
  /// Link hover colour
50
50
  /// @since 0.2.0
51
- $nds-colour-link-hover: #2e8aca;
51
+ $nds-colour-link-hover: #003761;
52
52
 
53
53
  /// Link visited colour
54
54
  /// @since 0.2.0
@@ -187,36 +187,36 @@ $nds-colour-beta: #bd5826;
187
187
  $nds-colour-live: #578137;
188
188
 
189
189
  /// Error text and border colour
190
- /// @since 0.2.0
191
- $nds-colour-error: #ae0e1e;
190
+ /// @since 1.7.0
191
+ $nds-colour-error: #b50f23;
192
192
 
193
193
  /// Error background colour
194
- /// @since 0.2.0
195
- $nds-colour-error-background: #eac3c3;
194
+ /// @since 1.7.0
195
+ $nds-colour-error-background: #f9eced;
196
196
 
197
197
  /// Caution text and border colour
198
- /// @since 0.2.0
199
- $nds-colour-caution: #835f24;
198
+ /// @since 1.7.0
199
+ $nds-colour-caution: #dc8a07;
200
200
 
201
201
  /// Caution background colour
202
- /// @since 0.2.0
203
- $nds-colour-caution-background: #ffdfa4;
202
+ /// @since 1.7.0
203
+ $nds-colour-caution-background: #fbf7f1;
204
204
 
205
205
  /// Info text and border colour
206
- /// @since 0.2.0
207
- $nds-colour-info: #497b94;
206
+ /// @since 1.7.0
207
+ $nds-colour-info: #3479d0;
208
208
 
209
209
  /// Info background colour
210
- /// @since 0.2.0
211
- $nds-colour-info-background: #e6faff;
210
+ /// @since 1.7.0
211
+ $nds-colour-info-background: #eff4fc;
212
212
 
213
213
  /// Success text and border colour
214
- /// @since 0.2.0
215
- $nds-colour-success: #3b8458;
214
+ /// @since 1.7.0
215
+ $nds-colour-success: #68c103;
216
216
 
217
217
  /// Success background colour
218
- /// @since 0.2.0
219
- $nds-colour-success-background: #eff7eb;
218
+ /// @since 1.7.0
219
+ $nds-colour-success-background: #f3faeb;
220
220
 
221
221
  /// <mark> tag highlighter colour
222
222
  /// @since 1.2.4
@@ -9,3 +9,7 @@ $nds-container-max-width: 1170;
9
9
  /// The gutter for the default container
10
10
  /// @since 1.0.0
11
11
  $nds-container-gutter: $nds-spacing-medium;
12
+
13
+ /// The maximum content width to ensure good readability
14
+ /// @since 1.7.0
15
+ $nds-readable-width: 66ch;
@@ -16,6 +16,7 @@
16
16
 
17
17
  &:hover {
18
18
  color: $nds-colour-link-hover;
19
+ text-decoration-thickness: 0.15rem;
19
20
  }
20
21
 
21
22
  &:focus {