@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 +2 -2
- package/src/less/buttons.less +3 -11
- package/src/less/chevron.less +4 -0
- package/src/less/process.less +13 -6
- package/src/less/tick.less +7 -3
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-
|
|
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-
|
|
31
|
+
"@transferwise/less-config": "0.0.0-experimental-2a0ee2d",
|
|
32
32
|
"@wise/wds-configs": "0.0.0"
|
|
33
33
|
},
|
|
34
34
|
"publishConfig": {
|
package/src/less/buttons.less
CHANGED
|
@@ -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
|
-
:
|
|
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
|
|
package/src/less/chevron.less
CHANGED
package/src/less/process.less
CHANGED
|
@@ -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
|
-
|
|
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
|
-
|
|
383
|
-
|
|
384
|
-
|
|
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 {
|
package/src/less/tick.less
CHANGED
|
@@ -11,9 +11,13 @@
|
|
|
11
11
|
content: "";
|
|
12
12
|
position: absolute;
|
|
13
13
|
background: var(--color-background-screen);
|
|
14
|
-
transform: translateX(
|
|
14
|
+
transform: translateX(-1.5px) rotate(-45deg);
|
|
15
15
|
transform-origin: left bottom;
|
|
16
|
-
|
|
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
|
+
}
|