@transferwise/neptune-css 12.0.3-beta-10772431ea.4 → 12.0.3

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,7 +1,7 @@
1
1
  {
2
2
  "name": "@transferwise/neptune-css",
3
3
  "description": "Neptune CSS library",
4
- "version": "12.0.3-beta-10772431ea.4+10772431ea",
4
+ "version": "12.0.3",
5
5
  "license": "MIT",
6
6
  "repository": {
7
7
  "type": "git",
@@ -60,5 +60,5 @@
60
60
  "bin": {
61
61
  "neptune-css-upgrade-util": "scripts/neptune-css-upgrader.js"
62
62
  },
63
- "gitHead": "10772431ea18512c9ed9124f6084c8bfb3a1a3ae"
63
+ "gitHead": "3e78fb97ad4cd500b1e6a467c5bc74174bac6a18"
64
64
  }
@@ -33,7 +33,8 @@
33
33
 
34
34
  .media,
35
35
  &.media {
36
- padding: var(--size-24) var(--size-16);
36
+ padding: var(--size-24) 0;
37
+ margin: 0 var(--size-16);
37
38
  border-width: 0 0 1px 0;
38
39
  border-style: solid;
39
40
  border-color: var(--color-border-neutral);
@@ -56,6 +57,12 @@
56
57
  }
57
58
  }
58
59
 
60
+ // Style overrides for Angular components
61
+ &.media {
62
+ margin: 0;
63
+ padding: var(--size-24) var(--size-16);
64
+ }
65
+
59
66
  &.disabled {
60
67
  opacity: 0.5;
61
68
  cursor: not-allowed;
@@ -34,7 +34,7 @@ const mappings = {
34
34
  };
35
35
 
36
36
  // Special case mappings that are not exchanging variable for variable
37
- const from = [new RegExp('@color-text-control', 'g'), new RegExp('--color-text-control', 'g')];
37
+ const from = [new RegExp('@color-text-control', 'g'), /var\(--color-text-control\)/g];
38
38
  const to = ['#fff', '#fff'];
39
39
 
40
40
  Object.keys(mappings).forEach((value) => {