@transferwise/neptune-css 0.0.0-experimental-e11f288 → 0.0.0-experimental-2a0ee2d

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": "0.0.0-experimental-e11f288",
4
+ "version": "0.0.0-experimental-2a0ee2d",
5
5
  "license": "MIT",
6
6
  "repository": {
7
7
  "type": "git",
@@ -28,7 +28,7 @@
28
28
  "devDependencies": {
29
29
  "gulp": "^5.0.1",
30
30
  "modern-normalize": "^3.0.1",
31
- "@transferwise/less-config": "0.0.0-experimental-e11f288",
31
+ "@transferwise/less-config": "0.0.0-experimental-2a0ee2d",
32
32
  "@wise/wds-configs": "0.0.0"
33
33
  },
34
34
  "publishConfig": {
@@ -647,18 +647,10 @@ input[type="button"] {
647
647
  display: inline-flex;
648
648
  align-items: center;
649
649
 
650
- .btn-loader {
650
+ .btn-loader[class] {
651
651
  margin-bottom: 0;
652
-
653
- :not([dir="rtl"]) & {
654
- margin-left: 16px;
655
- margin-right: 0;
656
- }
657
-
658
- [dir="rtl"] & {
659
- margin-left: 0 !important;
660
- margin-right: 16px !important;
661
- }
652
+ margin-left: 16px;
653
+ margin-right: 0;
662
654
  }
663
655
  }
664
656
 
@@ -7,6 +7,10 @@
7
7
 
8
8
  &.top {
9
9
  transform: rotate(0deg);
10
+
11
+ [dir="rtl"] & {
12
+ transform: rotate(360deg);
13
+ }
10
14
  }
11
15
 
12
16
  &.right {
@@ -84,6 +84,11 @@
84
84
  width: 50%;
85
85
  left: 25%;
86
86
  top: 25%;
87
+
88
+ // Icon is purely decorative — keep physical positioning in RTL
89
+ [dir="rtl"] & {
90
+ transform: rotate(45deg) scaleX(-1);
91
+ }
87
92
  }
88
93
 
89
94
  .process-icon-horizontal,
@@ -231,7 +236,7 @@
231
236
  }
232
237
  }
233
238
  .process-size(
234
- xs, @process-xxs-radius, @process-xxs-circumference, @process-xxs-stroke, @process-xxs-icon-size, @process-xxs-icon-stroke
239
+ xxs, @process-xxs-radius, @process-xxs-circumference, @process-xxs-stroke, @process-xxs-icon-size, @process-xxs-icon-stroke
235
240
  );
236
241
  .process-size(
237
242
  xs, @process-xs-radius, @process-xs-circumference, @process-xs-stroke, @process-xs-icon-size, @process-xs-icon-stroke
@@ -244,6 +249,10 @@
244
249
  );
245
250
 
246
251
  .process-xxs {
252
+ .process-icon-container {
253
+ display: none;
254
+ }
255
+
247
256
  .process-circle {
248
257
  animation-name: process-chase-circle-xxs;
249
258
  }
@@ -379,11 +388,9 @@
379
388
  }
380
389
 
381
390
  .btn .process:first-child {
382
- .margin(left, -12px);
383
-
384
- .margin(right, 12px);
385
-
386
- .float(left);
391
+ margin-left: -12px;
392
+ margin-right: 12px;
393
+ float: left;
387
394
  }
388
395
 
389
396
  .btn-block .process:first-child {
@@ -11,9 +11,13 @@
11
11
  content: "";
12
12
  position: absolute;
13
13
  background: var(--color-background-screen);
14
- transform: translateX(0.5px) rotate(-45deg);
14
+ transform: translateX(-1.5px) rotate(-45deg);
15
15
  transform-origin: left bottom;
16
- left: var(--size-8);
16
+
17
+ [dir="rtl"] & {
18
+ transform: translateX(-1.5px) rotate(-45deg) scaleX(-1);
19
+ transform-origin: right bottom;
20
+ }
17
21
  }
18
22
 
19
23
  .has-error {
@@ -34,4 +38,4 @@
34
38
  height: 2px;
35
39
  width: 11px;
36
40
  }
37
- }
41
+ }