@nice-digital/nds-checkbox 1.3.0-alpha.0 → 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-checkbox",
3
- "version": "1.3.0-alpha.0",
3
+ "version": "1.3.2",
4
4
  "description": "Checkbox component for the NICE Design System",
5
5
  "author": "Warren Keith <warren.keith@nice.org.uk>",
6
6
  "homepage": "https://design-system.nice.org.uk/",
@@ -34,7 +34,7 @@
34
34
  "url": "https://github.com/nice-digital/nice-design-system/issues"
35
35
  },
36
36
  "dependencies": {
37
- "@nice-digital/nds-core": "^1.2.12",
37
+ "@nice-digital/nds-core": "^1.3.0",
38
38
  "classnames": "^2.2.6",
39
39
  "prop-types": "^15.7.2"
40
40
  },
@@ -45,5 +45,5 @@
45
45
  "devDependencies": {
46
46
  "@babel/cli": "^7.5.0"
47
47
  },
48
- "gitHead": "281c966b380ead58f34ec045c8f296ff11303e0f"
48
+ "gitHead": "0ab9f6e7e5ca7d38e2e6de672772d12d5feb2465"
49
49
  }
@@ -1,3 +1,5 @@
1
+ @use "sass:math";
2
+
1
3
  @import '~@nice-digital/nds-core/scss/core';
2
4
 
3
5
  // stylelint-disable no-descending-specificity
@@ -46,7 +48,7 @@ $nds-checkbox-size: rem($nds-spacing-large);
46
48
  border-width: 0 0 rem($nds-spacing-x-small) rem($nds-spacing-x-small);
47
49
  // inside check / tick // stylelint-disable-line
48
50
  content: '';
49
- height: $nds-checkbox-size / 3; // this is the short end of the checkmark;
51
+ height: math.div($nds-checkbox-size, 3); // this is the short end of the checkmark;
50
52
  left: rem($nds-spacing-small);
51
53
  opacity: 0;
52
54
  position: absolute;