@transferwise/neptune-css 0.0.0-experimental-24a89a2 → 0.0.0-experimental-c8ab32e

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.
@@ -929,8 +929,6 @@ h6,
929
929
  /* stylelint-disable-next-line selector-list-comma-newline-after */
930
930
  .body-2,
931
931
  .body-3,
932
- .label,
933
- .control-label,
934
932
  .small,
935
933
  .tiny,
936
934
  body,
@@ -946,6 +944,8 @@ small,
946
944
  /* DEPRECATED: use .np-text-body-default-bold instead */
947
945
  /* stylelint-disable-next-line selector-list-comma-newline-after */
948
946
  .control-2,
947
+ .label,
948
+ .control-label,
949
949
  .np-text-body-default-bold {
950
950
  font-size: 0.875rem;
951
951
  font-size: var(--font-size-14);
@@ -2546,8 +2546,6 @@ h6,
2546
2546
 
2547
2547
  .body-2,
2548
2548
  .body-3,
2549
- .label,
2550
- .control-label,
2551
2549
  .small,
2552
2550
  .tiny,
2553
2551
  body,
@@ -2566,6 +2564,8 @@ small,
2566
2564
  /* stylelint-disable-next-line selector-list-comma-newline-after */
2567
2565
 
2568
2566
  .control-2,
2567
+ .label,
2568
+ .control-label,
2569
2569
  .np-text-body-default-bold {
2570
2570
  font-size: 0.875rem;
2571
2571
  font-size: var(--font-size-14);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@transferwise/neptune-css",
3
3
  "description": "Neptune CSS library",
4
- "version": "0.0.0-experimental-24a89a2",
4
+ "version": "0.0.0-experimental-c8ab32e",
5
5
  "license": "MIT",
6
6
  "repository": {
7
7
  "type": "git",
@@ -113,7 +113,7 @@ h6,
113
113
 
114
114
  /* DEPRECATED: use .np-text-body-default instead */
115
115
  /* stylelint-disable-next-line selector-list-comma-newline-after */
116
- .body-2, .body-3, .label, .control-label, .small, .tiny,
116
+ .body-2, .body-3, .small, .tiny,
117
117
  body, small,
118
118
  .np-text-body-default {
119
119
  font-size: var(--font-size-14);
@@ -125,6 +125,10 @@ body, small,
125
125
  /* DEPRECATED: use .np-text-body-default-bold instead */
126
126
  /* stylelint-disable-next-line selector-list-comma-newline-after */
127
127
  .control-2,
128
+
129
+ // DEPRECATED: use `Field` component (or in some edge cases `Label` component) instead
130
+ .label, .control-label,
131
+
128
132
  .np-text-body-default-bold {
129
133
  font-size: var(--font-size-14);
130
134
  line-height: 155%;