@transferwise/neptune-css 0.0.0-experimental-dadc692 → 0.0.0-experimental-c0676b5

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.
@@ -1,11 +1,11 @@
1
1
  .rounded-sm {
2
2
  border-radius: 2px;
3
3
  }
4
- .img-rounded {
4
+ .rounded {
5
5
  border-radius: 10px;
6
6
  border-radius: var(--radius-small);
7
7
  }
8
- .img-circle {
8
+ .rounded-full {
9
9
  border-radius: 9999px;
10
10
  border-radius: var(--radius-full);
11
11
  }
@@ -312,17 +312,6 @@ summary {
312
312
  display: list-item;
313
313
  }
314
314
  /* TODO: Remove utility imports to prevent duplicates */
315
- .rounded-sm {
316
- border-radius: 2px;
317
- }
318
- .img-rounded {
319
- border-radius: 10px;
320
- border-radius: var(--radius-small);
321
- }
322
- .img-circle {
323
- border-radius: 9999px;
324
- border-radius: var(--radius-full);
325
- }
326
315
  .sr-only {
327
316
  position: absolute;
328
317
  width: 1px;
@@ -742,6 +731,14 @@ video {
742
731
  height: auto;
743
732
  vertical-align: middle;
744
733
  }
734
+ .img-rounded {
735
+ border-radius: 10px;
736
+ border-radius: var(--radius-small);
737
+ }
738
+ .img-circle {
739
+ border-radius: 9999px;
740
+ border-radius: var(--radius-full);
741
+ }
745
742
  .disabled,
746
743
  :disabled {
747
744
  filter: grayscale(1);
@@ -1855,9 +1852,6 @@ a.text-inverse:hover,
1855
1852
  a.text-inverse:focus {
1856
1853
  color: #c9cbce !important;
1857
1854
  }
1858
- .font-italic {
1859
- font-style: italic !important;
1860
- }
1861
1855
  .font-weight-normal {
1862
1856
  font-weight: 400 !important;
1863
1857
  font-weight: var(--font-weight-regular) !important;
@@ -1990,6 +1984,12 @@ a.text-inverse:focus {
1990
1984
  white-space: nowrap;
1991
1985
  }
1992
1986
  }
1987
+ /**
1988
+ * @deprecated Obsolete since the brand has turned green.
1989
+ */
1990
+ .font-italic {
1991
+ font-style: italic !important;
1992
+ }
1993
1993
  /**
1994
1994
  * @deprecated Obsolete since the brand has turned green.
1995
1995
  */
@@ -1936,6 +1936,16 @@ video {
1936
1936
  vertical-align: middle;
1937
1937
  }
1938
1938
 
1939
+ .img-rounded {
1940
+ border-radius: 10px;
1941
+ border-radius: var(--radius-small);
1942
+ }
1943
+
1944
+ .img-circle {
1945
+ border-radius: 9999px;
1946
+ border-radius: var(--radius-full);
1947
+ }
1948
+
1939
1949
  .disabled,
1940
1950
  :disabled {
1941
1951
  filter: grayscale(1);
@@ -3096,6 +3106,14 @@ kbd kbd {
3096
3106
 
3097
3107
  /* TODO: Remove utility imports to prevent duplicates */
3098
3108
 
3109
+ /**
3110
+ * @deprecated Obsolete since the brand has turned green.
3111
+ */
3112
+
3113
+ .font-italic {
3114
+ font-style: italic !important;
3115
+ }
3116
+
3099
3117
  /**
3100
3118
  * @deprecated Obsolete since the brand has turned green.
3101
3119
  */
@@ -5308,12 +5326,12 @@ a.badge:focus {
5308
5326
  border-radius: 2px;
5309
5327
  }
5310
5328
 
5311
- .img-rounded {
5329
+ .rounded {
5312
5330
  border-radius: 10px;
5313
5331
  border-radius: var(--radius-small);
5314
5332
  }
5315
5333
 
5316
- .img-circle {
5334
+ .rounded-full {
5317
5335
  border-radius: 9999px;
5318
5336
  border-radius: var(--radius-full);
5319
5337
  }
@@ -22718,10 +22736,6 @@ a.text-inverse:focus {
22718
22736
  cursor: pointer;
22719
22737
  }
22720
22738
 
22721
- .font-italic {
22722
- font-style: italic !important;
22723
- }
22724
-
22725
22739
  .font-weight-normal {
22726
22740
  font-weight: 400 !important;
22727
22741
  font-weight: var(--font-weight-regular) !important;
@@ -172,11 +172,11 @@
172
172
  .rounded-sm {
173
173
  border-radius: 2px;
174
174
  }
175
- .img-rounded {
175
+ .rounded {
176
176
  border-radius: 10px;
177
177
  border-radius: var(--radius-small);
178
178
  }
179
- .img-circle {
179
+ .rounded-full {
180
180
  border-radius: 9999px;
181
181
  border-radius: var(--radius-full);
182
182
  }
@@ -551,9 +551,6 @@ a.text-inverse:focus {
551
551
  float: none !important;
552
552
  }
553
553
  }
554
- .font-italic {
555
- font-style: italic !important;
556
- }
557
554
  .font-weight-normal {
558
555
  font-weight: 400 !important;
559
556
  font-weight: var(--font-weight-regular) !important;
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-dadc692",
4
+ "version": "0.0.0-experimental-c0676b5",
5
5
  "license": "MIT",
6
6
  "repository": {
7
7
  "type": "git",
@@ -5,6 +5,7 @@
5
5
  @import (reference) "../mixins/_logical-properties.less";
6
6
  @import (reference) "../mixins/_links.less";
7
7
  @import (reference) "../core/_typography.less";
8
+ @import (reference) "../utilities/border-radius.less";
8
9
  @import "../../variables/legacy-variables.less";
9
10
 
10
11
  /* TODO: Remove utility imports to prevent duplicates */
@@ -336,6 +337,14 @@ video {
336
337
  vertical-align: middle;
337
338
  }
338
339
 
340
+ .img-rounded {
341
+ .rounded();
342
+ }
343
+
344
+ .img-circle {
345
+ .rounded-full();
346
+ }
347
+
339
348
  .disabled,
340
349
  :disabled {
341
350
  filter: grayscale(1);
@@ -5,7 +5,6 @@
5
5
 
6
6
  /* TODO: Remove utility imports to prevent duplicates */
7
7
  @import "../utilities/color.less";
8
- @import "../utilities/font-style.less";
9
8
  @import "../utilities/font-weight.less";
10
9
  @import "../utilities/max-width.less";
11
10
  @import "../utilities/overflow-wrap.less";
@@ -15,6 +14,13 @@
15
14
  @import "../utilities/text-transform.less";
16
15
  @import "../utilities/white-space.less";
17
16
 
17
+ /**
18
+ * @deprecated Obsolete since the brand has turned green.
19
+ */
20
+ .font-italic {
21
+ font-style: italic !important;
22
+ }
23
+
18
24
  /**
19
25
  * @deprecated Obsolete since the brand has turned green.
20
26
  */
@@ -2,10 +2,10 @@
2
2
  border-radius: 2px;
3
3
  }
4
4
 
5
- .img-rounded {
5
+ .rounded {
6
6
  border-radius: var(--radius-small);
7
7
  }
8
8
 
9
- .img-circle {
9
+ .rounded-full {
10
10
  border-radius: var(--radius-full);
11
11
  }
@@ -13,7 +13,6 @@
13
13
  @import "./utilities/flex-grow.less";
14
14
  @import "./utilities/flex-wrap.less";
15
15
  @import "./utilities/float.less";
16
- @import "./utilities/font-style.less";
17
16
  @import "./utilities/font-weight.less";
18
17
  @import "./utilities/gap.less";
19
18
  @import "./utilities/justify-content.less";
@@ -1,3 +0,0 @@
1
- .font-italic {
2
- font-style: italic !important;
3
- }