@nice-digital/nds-maintain-ratio 1.2.17 → 1.2.20-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-maintain-ratio",
3
- "version": "1.2.17",
3
+ "version": "1.2.20-alpha.0",
4
4
  "description": "Maintain ratio component for the NICE Design System",
5
5
  "author": "Ian Routledge <ian.routledge@nice.org.uk>",
6
6
  "homepage": "https://design-system.nice.org.uk/",
@@ -34,16 +34,16 @@
34
34
  "url": "https://github.com/nice-digital/nice-design-system/issues"
35
35
  },
36
36
  "dependencies": {
37
- "@nice-digital/nds-core": "^1.3.2",
37
+ "@nice-digital/nds-core": "^1.3.5-alpha.0",
38
38
  "classnames": "^2.3.1",
39
39
  "prop-types": "^15.7.2"
40
40
  },
41
41
  "peerDependencies": {
42
- "react": "^16 || ^17",
43
- "react-dom": "^16 || ^17"
42
+ "react": "^16 || ^17 || ^18",
43
+ "react-dom": "^16 || ^17 || ^18"
44
44
  },
45
45
  "devDependencies": {
46
46
  "@babel/cli": "^7.5.0"
47
47
  },
48
- "gitHead": "db5e29bc9fa8afa7e33c19a8e06a65adafd99bc5"
48
+ "gitHead": "0ddae81edebd757a52ca6a2838610049a83acebd"
49
49
  }
@@ -4,8 +4,6 @@
4
4
 
5
5
  @use "sass:math";
6
6
 
7
- @import '~@nice-digital/nds-core/scss/core';
8
-
9
7
  /// Maintains the aspect ratio of an embedded item, useful for responsive embedding, e.g.
10
8
  /// YouTube videos in iframes or video tags. Also useful when you know the ratio of an image
11
9
  /// and want to avoid the 'pop' for slow loading images.