@transferwise/neptune-css 0.0.0-experimental-e477c03 → 0.0.0-experimental-7709e0e

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.
@@ -2221,8 +2221,8 @@ html:not([dir="rtl"]) .input-group .input-group-btn + input {
2221
2221
  background-color: initial !important;
2222
2222
  }
2223
2223
  .np-theme-personal .form-group label {
2224
- margin-bottom: 4px;
2225
- margin-bottom: var(--size-4);
2224
+ margin-bottom: 8px;
2225
+ margin-bottom: var(--padding-x-small);
2226
2226
  }
2227
2227
  .np-theme-personal .form-group .np-upload-input label {
2228
2228
  margin-bottom: 0;
@@ -2254,46 +2254,15 @@ html:not([dir="rtl"]) .input-group .input-group-btn + input {
2254
2254
  background-color: transparent;
2255
2255
  background-color: initial;
2256
2256
  }
2257
- .np-theme-personal .has-success .alert-positive,
2258
- .np-theme-personal .has-success .alert-success,
2259
- .np-theme-personal .has-warning .alert-warning,
2260
- .np-theme-personal .has-error .error-messages,
2261
- .np-theme-personal .has-error .alert-detach.alert-danger {
2262
- display: flex;
2263
- }
2264
- .np-theme-personal .has-success .alert-positive .tw-icon,
2265
- .np-theme-personal .has-success .alert-success .tw-icon,
2266
- .np-theme-personal .has-warning .alert-warning .tw-icon,
2267
- .np-theme-personal .has-error .alert-detach.alert-danger .tw-icon {
2257
+ .np-theme-personal .alert-detach .status-circle {
2258
+ margin-top: 2px;
2268
2259
  margin-right: 4px;
2269
2260
  margin-right: var(--size-4);
2270
- padding-top: 2px;
2271
- }
2272
- .np-theme-personal .has-warning .alert-warning .tw-icon {
2273
- color: var(--color-sentiment-warning);
2274
- position: relative;
2275
- z-index: 1;
2276
- }
2277
- .np-theme-personal .has-warning .alert-warning .tw-icon::before {
2278
- content: '';
2279
- display: block;
2280
- position: absolute;
2281
- top: 5px;
2282
- left: 4px;
2283
- height: 10px;
2284
- width: 50%;
2285
- background-color: var(--color-dark);
2286
- border-radius: 50%;
2287
- z-index: -1;
2288
2261
  }
2289
2262
  .np-theme-personal .has-error .error-messages,
2290
2263
  .np-theme-personal .has-error .alert-detach.alert-danger {
2291
2264
  color: var(--color-sentiment-negative);
2292
2265
  }
2293
- .np-theme-personal .has-success .alert-positive .tw-icon,
2294
- .np-theme-personal .has-success .alert-success .tw-icon {
2295
- color: var(--color-sentiment-positive);
2296
- }
2297
2266
  .has-required::after {
2298
2267
  content: "\00a0*";
2299
2268
  color: #cf2929;
@@ -1083,10 +1083,6 @@ html:not([dir="rtl"]) .p-x-5 {
1083
1083
  padding-bottom: 40px !important;
1084
1084
  padding-bottom: var(--size-40) !important;
1085
1085
  }
1086
- .gap-y-xs {
1087
- row-gap: calc(8px / 2);
1088
- row-gap: calc(var(--size-8) / 2);
1089
- }
1090
1086
  .gap-y-1 {
1091
1087
  row-gap: 8px;
1092
1088
  row-gap: var(--size-8);
@@ -5088,11 +5088,6 @@ html:not([dir="rtl"]) .p-x-5 {
5088
5088
  padding-bottom: var(--size-40) !important;
5089
5089
  }
5090
5090
 
5091
- .gap-y-xs {
5092
- row-gap: calc(8px / 2);
5093
- row-gap: calc(var(--size-8) / 2);
5094
- }
5095
-
5096
5091
  .gap-y-1 {
5097
5092
  row-gap: 8px;
5098
5093
  row-gap: var(--size-8);
@@ -11783,8 +11778,8 @@ html:not([dir="rtl"]) .input-group .input-group-btn + input {
11783
11778
  }
11784
11779
 
11785
11780
  .np-theme-personal .form-group label {
11786
- margin-bottom: 4px;
11787
- margin-bottom: var(--size-4);
11781
+ margin-bottom: 8px;
11782
+ margin-bottom: var(--padding-x-small);
11788
11783
  }
11789
11784
 
11790
11785
  .np-theme-personal .form-group .np-upload-input label {
@@ -11822,40 +11817,10 @@ html:not([dir="rtl"]) .input-group .input-group-btn + input {
11822
11817
  background-color: initial;
11823
11818
  }
11824
11819
 
11825
- .np-theme-personal .has-success .alert-positive,
11826
- .np-theme-personal .has-success .alert-success,
11827
- .np-theme-personal .has-warning .alert-warning,
11828
- .np-theme-personal .has-error .error-messages,
11829
- .np-theme-personal .has-error .alert-detach.alert-danger {
11830
- display: flex;
11831
- }
11832
-
11833
- .np-theme-personal .has-success .alert-positive .tw-icon,
11834
- .np-theme-personal .has-success .alert-success .tw-icon,
11835
- .np-theme-personal .has-warning .alert-warning .tw-icon,
11836
- .np-theme-personal .has-error .alert-detach.alert-danger .tw-icon {
11820
+ .np-theme-personal .alert-detach .status-circle {
11821
+ margin-top: 2px;
11837
11822
  margin-right: 4px;
11838
11823
  margin-right: var(--size-4);
11839
- padding-top: 2px;
11840
- }
11841
-
11842
- .np-theme-personal .has-warning .alert-warning .tw-icon {
11843
- color: var(--color-sentiment-warning);
11844
- position: relative;
11845
- z-index: 1;
11846
- }
11847
-
11848
- .np-theme-personal .has-warning .alert-warning .tw-icon::before {
11849
- content: '';
11850
- display: block;
11851
- position: absolute;
11852
- top: 5px;
11853
- left: 4px;
11854
- height: 10px;
11855
- width: 50%;
11856
- background-color: var(--color-dark);
11857
- border-radius: 50%;
11858
- z-index: -1;
11859
11824
  }
11860
11825
 
11861
11826
  .np-theme-personal .has-error .error-messages,
@@ -11863,11 +11828,6 @@ html:not([dir="rtl"]) .input-group .input-group-btn + input {
11863
11828
  color: var(--color-sentiment-negative);
11864
11829
  }
11865
11830
 
11866
- .np-theme-personal .has-success .alert-positive .tw-icon,
11867
- .np-theme-personal .has-success .alert-success .tw-icon {
11868
- color: var(--color-sentiment-positive);
11869
- }
11870
-
11871
11831
  .has-required::after {
11872
11832
  content: "\00a0*";
11873
11833
  color: #cf2929;
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-e477c03",
4
+ "version": "0.0.0-experimental-7709e0e",
5
5
  "license": "MIT",
6
6
  "repository": {
7
7
  "type": "git",
@@ -10,10 +10,6 @@
10
10
  .spacing-vertical(4, var(--size-32));
11
11
  .spacing-vertical(5, var(--size-40));
12
12
 
13
- .gap-y-xs {
14
- row-gap: calc(var(--size-8) / 2);
15
- }
16
-
17
13
  .gap-y-1 {
18
14
  row-gap: var(--size-8);
19
15
  }
@@ -1159,7 +1159,7 @@ input[type="password"] {
1159
1159
  }
1160
1160
 
1161
1161
  .form-group label {
1162
- margin-bottom: var(--size-4);
1162
+ margin-bottom: var(--padding-x-small);
1163
1163
  }
1164
1164
 
1165
1165
  .form-group .np-upload-input label {
@@ -1194,39 +1194,10 @@ input[type="password"] {
1194
1194
  background-color: unset;
1195
1195
  }
1196
1196
 
1197
- .has-success .alert-positive,
1198
- .has-success .alert-success,
1199
- .has-warning .alert-warning,
1200
- .has-error .error-messages,
1201
- .has-error .alert-detach.alert-danger {
1202
- display: flex;
1203
- }
1204
-
1205
- .has-success .alert-positive .tw-icon,
1206
- .has-success .alert-success .tw-icon,
1207
- .has-warning .alert-warning .tw-icon,
1208
- .has-error .alert-detach.alert-danger .tw-icon {
1209
- margin-right: var(--size-4);
1210
- padding-top: 2px; // We should have top space to align the icon with 155% line-height of the text
1211
- }
1212
-
1213
- .has-warning .alert-warning .tw-icon {
1214
- color: var(--color-sentiment-warning);
1215
- position: relative;
1216
- z-index: 1;
1217
-
1218
- // This code and relative position above helps to add appropriate colors to warning icon
1219
- &::before {
1220
- content: '';
1221
- display: block;
1222
- position: absolute;
1223
- top: 5px;
1224
- left: 4px;
1225
- height: 10px;
1226
- width: 50%;
1227
- background-color: var(--color-dark);
1228
- border-radius: 50%;
1229
- z-index: -1;
1197
+ .alert-detach {
1198
+ .status-circle {
1199
+ margin-top: 2px;
1200
+ margin-right: var(--size-4);
1230
1201
  }
1231
1202
  }
1232
1203
 
@@ -1234,13 +1205,6 @@ input[type="password"] {
1234
1205
  .has-error .alert-detach.alert-danger {
1235
1206
  color: var(--color-sentiment-negative);
1236
1207
  }
1237
-
1238
- .has-success .alert-positive,
1239
- .has-success .alert-success {
1240
- .tw-icon {
1241
- color: var(--color-sentiment-positive);
1242
- }
1243
- }
1244
1208
  }
1245
1209
 
1246
1210
  .has-required {