@nice-digital/nds-core 1.2.11 → 1.2.12

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/lib/utils.js CHANGED
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
 
3
3
  exports.__esModule = true;
4
- exports["default"] = exports.camelCase = exports.nextUniqueId = exports.slugify = exports.debounce = exports.throttle = exports.trim = void 0;
4
+ exports.trim = exports.throttle = exports.slugify = exports.nextUniqueId = exports["default"] = exports.debounce = exports.camelCase = void 0;
5
5
 
6
6
  /**
7
7
  * @module Utils
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nice-digital/nds-core",
3
- "version": "1.2.11",
3
+ "version": "1.2.12",
4
4
  "description": "Core code for the NICE Design System",
5
5
  "author": "Ian Routledge <ian.routledge@nice.org.uk>",
6
6
  "contributors": [
@@ -44,5 +44,5 @@
44
44
  "devDependencies": {
45
45
  "@babel/cli": "^7.5.0"
46
46
  },
47
- "gitHead": "6507bf955411adbcfdd4ddabe739125dd18dfd16"
47
+ "gitHead": "70d5237c684b38532174d7e7b81e0d859867b222"
48
48
  }
@@ -8,8 +8,11 @@
8
8
  @mixin nds-h1 {
9
9
  @include nds-font(h1);
10
10
  clear: both;
11
- font-weight: 900;
11
+ font-weight: 700;
12
+ // Letter spacing and text shadow to mimic 900 weight, see https://github.com/nice-digital/nice-design-system/issues/240
13
+ letter-spacing: 0.5px;
12
14
  max-width: 66ch;
15
+ text-shadow: 1.5px 0 0 currentColor;
13
16
  }
14
17
 
15
18
  /// Secondary heading. Used for h2 tag but can be used directly