@transferwise/neptune-css 14.29.0 → 14.29.1

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.
@@ -5,6 +5,9 @@
5
5
  .tw-chevron.top {
6
6
  transform: rotate(0deg);
7
7
  }
8
+ [dir="rtl"] .tw-chevron.top {
9
+ transform: rotate(360deg);
10
+ }
8
11
  .tw-chevron.right {
9
12
  transform: rotate(90deg);
10
13
  }
@@ -1277,17 +1277,11 @@ input[type="button"].btn-block {
1277
1277
  display: inline-flex;
1278
1278
  align-items: center;
1279
1279
  }
1280
- .btn-loading:not(.btn-block) .btn-loader {
1280
+ .btn-loading:not(.btn-block) .btn-loader[class] {
1281
1281
  margin-block-end: 0;
1282
- }
1283
- :not([dir="rtl"]) .btn-loading:not(.btn-block) .btn-loader {
1284
1282
  margin-inline-start: 16px;
1285
1283
  margin-inline-end: 0;
1286
1284
  }
1287
- [dir="rtl"] .btn-loading:not(.btn-block) .btn-loader {
1288
- margin-inline-start: 0 !important;
1289
- margin-inline-end: 16px !important;
1290
- }
1291
1285
  .btn-loading.btn-block .btn-loader {
1292
1286
  inset-block-start: 0;
1293
1287
  inset-block-end: 0;
@@ -5,6 +5,9 @@
5
5
  .tw-chevron.top {
6
6
  transform: rotate(0deg);
7
7
  }
8
+ [dir="rtl"] .tw-chevron.top {
9
+ transform: rotate(360deg);
10
+ }
8
11
  .tw-chevron.right {
9
12
  transform: rotate(90deg);
10
13
  }
@@ -5350,6 +5350,9 @@ tbody.collapse.in {
5350
5350
  .tw-chevron.top {
5351
5351
  transform: rotate(0deg);
5352
5352
  }
5353
+ [dir="rtl"] .tw-chevron.top {
5354
+ transform: rotate(360deg);
5355
+ }
5353
5356
  .tw-chevron.right {
5354
5357
  transform: rotate(90deg);
5355
5358
  }
@@ -7493,17 +7496,11 @@ input[type="button"].btn-block {
7493
7496
  display: inline-flex;
7494
7497
  align-items: center;
7495
7498
  }
7496
- .btn-loading:not(.btn-block) .btn-loader {
7499
+ .btn-loading:not(.btn-block) .btn-loader[class] {
7497
7500
  margin-block-end: 0;
7498
- }
7499
- :not([dir="rtl"]) .btn-loading:not(.btn-block) .btn-loader {
7500
7501
  margin-inline-start: 16px;
7501
7502
  margin-inline-end: 0;
7502
7503
  }
7503
- [dir="rtl"] .btn-loading:not(.btn-block) .btn-loader {
7504
- margin-inline-start: 0 !important;
7505
- margin-inline-end: 16px !important;
7506
- }
7507
7504
  .btn-loading.btn-block .btn-loader {
7508
7505
  inset-block-start: 0;
7509
7506
  inset-block-end: 0;
@@ -16960,6 +16957,9 @@ button.popover-close {
16960
16957
  inset-inline-start: 25%;
16961
16958
  inset-block-start: 25%;
16962
16959
  }
16960
+ [dir="rtl"] .process-icon-container {
16961
+ transform: rotate(45deg) scaleX(-1);
16962
+ }
16963
16963
  .process-icon-horizontal,
16964
16964
  .process-icon-vertical {
16965
16965
  position: absolute;
@@ -17039,37 +17039,37 @@ button.popover-close {
17039
17039
  .process-stopped .process-icon-container {
17040
17040
  display: none;
17041
17041
  }
17042
- .process-xs {
17042
+ .process-xxs {
17043
17043
  inline-size: 12px;
17044
17044
  block-size: 12px;
17045
17045
  }
17046
- .process-xs .process-circle {
17046
+ .process-xxs .process-circle {
17047
17047
  /* Hide before animation to prevent glitching */
17048
17048
  stroke-dashoffset: 31.41592654px;
17049
17049
  stroke-dasharray: 31.41592654px;
17050
17050
  stroke-width: 1.5px;
17051
17051
  }
17052
- .process-xs.process-danger .process-icon-horizontal {
17052
+ .process-xxs.process-danger .process-icon-horizontal {
17053
17053
  inset-block-start: 2.5px;
17054
17054
  block-size: 1px;
17055
17055
  }
17056
- .process-xs.process-danger .process-icon-vertical {
17056
+ .process-xxs.process-danger .process-icon-vertical {
17057
17057
  inset-inline-start: 2.5px;
17058
17058
  inline-size: 1px;
17059
17059
  }
17060
- .process-xs .process-icon-horizontal,
17061
- .process-xs .process-icon-vertical {
17060
+ .process-xxs .process-icon-horizontal,
17061
+ .process-xxs .process-icon-vertical {
17062
17062
  border-radius: 0.5px;
17063
17063
  }
17064
- .process-xs.process-success .process-icon-container {
17064
+ .process-xxs.process-success .process-icon-container {
17065
17065
  inline-size: 2.5px;
17066
17066
  block-size: 5px;
17067
17067
  inset-inline-start: 4.5px;
17068
17068
  }
17069
- .process-xs.process-success .process-icon-horizontal {
17069
+ .process-xxs.process-success .process-icon-horizontal {
17070
17070
  block-size: 1px;
17071
17071
  }
17072
- .process-xs.process-success .process-icon-vertical {
17072
+ .process-xxs.process-success .process-icon-vertical {
17073
17073
  inline-size: 1px;
17074
17074
  }
17075
17075
  .process-xs {
@@ -17171,6 +17171,9 @@ button.popover-close {
17171
17171
  .process-xl.process-success .process-icon-vertical {
17172
17172
  inline-size: 8px;
17173
17173
  }
17174
+ .process-xxs .process-icon-container {
17175
+ display: none;
17176
+ }
17174
17177
  .process-xxs .process-circle {
17175
17178
  animation-name: process-chase-circle-xxs;
17176
17179
  }
@@ -18811,10 +18814,13 @@ a[data-toggle="tooltip"] {
18811
18814
  position: absolute;
18812
18815
  background: #ffffff;
18813
18816
  background: var(--color-background-screen);
18814
- transform: translateX(0.5px) rotate(-45deg);
18817
+ transform: translateX(-1.5px) rotate(-45deg);
18815
18818
  transform-origin: left bottom;
18816
- inset-inline-start: 8px;
18817
- inset-inline-start: var(--size-8);
18819
+ }
18820
+ [dir="rtl"] .tw-checkbox-check::before,
18821
+ [dir="rtl"] .tw-checkbox-check::after {
18822
+ transform: translateX(-1.5px) rotate(-45deg) scaleX(-1);
18823
+ transform-origin: right bottom;
18818
18824
  }
18819
18825
  .tw-checkbox-check .has-error::before,
18820
18826
  .tw-checkbox-check .has-error::after {
@@ -55,6 +55,9 @@
55
55
  inset-inline-start: 25%;
56
56
  inset-block-start: 25%;
57
57
  }
58
+ [dir="rtl"] .process-icon-container {
59
+ transform: rotate(45deg) scaleX(-1);
60
+ }
58
61
  .process-icon-horizontal,
59
62
  .process-icon-vertical {
60
63
  position: absolute;
@@ -134,37 +137,37 @@
134
137
  .process-stopped .process-icon-container {
135
138
  display: none;
136
139
  }
137
- .process-xs {
140
+ .process-xxs {
138
141
  inline-size: 12px;
139
142
  block-size: 12px;
140
143
  }
141
- .process-xs .process-circle {
144
+ .process-xxs .process-circle {
142
145
  /* Hide before animation to prevent glitching */
143
146
  stroke-dashoffset: 31.41592654px;
144
147
  stroke-dasharray: 31.41592654px;
145
148
  stroke-width: 1.5px;
146
149
  }
147
- .process-xs.process-danger .process-icon-horizontal {
150
+ .process-xxs.process-danger .process-icon-horizontal {
148
151
  inset-block-start: 2.5px;
149
152
  block-size: 1px;
150
153
  }
151
- .process-xs.process-danger .process-icon-vertical {
154
+ .process-xxs.process-danger .process-icon-vertical {
152
155
  inset-inline-start: 2.5px;
153
156
  inline-size: 1px;
154
157
  }
155
- .process-xs .process-icon-horizontal,
156
- .process-xs .process-icon-vertical {
158
+ .process-xxs .process-icon-horizontal,
159
+ .process-xxs .process-icon-vertical {
157
160
  border-radius: 0.5px;
158
161
  }
159
- .process-xs.process-success .process-icon-container {
162
+ .process-xxs.process-success .process-icon-container {
160
163
  inline-size: 2.5px;
161
164
  block-size: 5px;
162
165
  inset-inline-start: 4.5px;
163
166
  }
164
- .process-xs.process-success .process-icon-horizontal {
167
+ .process-xxs.process-success .process-icon-horizontal {
165
168
  block-size: 1px;
166
169
  }
167
- .process-xs.process-success .process-icon-vertical {
170
+ .process-xxs.process-success .process-icon-vertical {
168
171
  inline-size: 1px;
169
172
  }
170
173
  .process-xs {
@@ -266,6 +269,9 @@
266
269
  .process-xl.process-success .process-icon-vertical {
267
270
  inline-size: 8px;
268
271
  }
272
+ .process-xxs .process-icon-container {
273
+ display: none;
274
+ }
269
275
  .process-xxs .process-circle {
270
276
  animation-name: process-chase-circle-xxs;
271
277
  }
package/dist/css/tick.css CHANGED
@@ -10,10 +10,13 @@
10
10
  position: absolute;
11
11
  background: #ffffff;
12
12
  background: var(--color-background-screen);
13
- transform: translateX(0.5px) rotate(-45deg);
13
+ transform: translateX(-1.5px) rotate(-45deg);
14
14
  transform-origin: left bottom;
15
- inset-inline-start: 8px;
16
- inset-inline-start: var(--size-8);
15
+ }
16
+ [dir="rtl"] .tw-checkbox-check::before,
17
+ [dir="rtl"] .tw-checkbox-check::after {
18
+ transform: translateX(-1.5px) rotate(-45deg) scaleX(-1);
19
+ transform-origin: right bottom;
17
20
  }
18
21
  .tw-checkbox-check .has-error::before,
19
22
  .tw-checkbox-check .has-error::after {
File without changes
File without changes
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@transferwise/neptune-css",
3
3
  "description": "Neptune CSS library",
4
- "version": "14.29.0",
4
+ "version": "14.29.1",
5
5
  "license": "MIT",
6
6
  "repository": {
7
7
  "type": "git",
@@ -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
+ }