@transferwise/neptune-css 0.0.0-experimental-45f98d3 → 0.0.0-experimental-1d9df7f

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: calc(8px / 2);
2225
- margin-bottom: calc(var(--padding-x-small) / 2);
2224
+ margin-bottom: 4px;
2225
+ margin-bottom: var(--size-4);
2226
2226
  }
2227
2227
  .np-theme-personal .form-group .np-upload-input label {
2228
2228
  margin-bottom: 0;
@@ -2256,26 +2256,28 @@ html:not([dir="rtl"]) .input-group .input-group-btn + input {
2256
2256
  background-color: transparent;
2257
2257
  background-color: initial;
2258
2258
  }
2259
- .np-theme-personal .has-positive .alert-positive,
2259
+ .np-theme-personal .has-success .alert-positive,
2260
+ .np-theme-personal .has-success .alert-success,
2260
2261
  .np-theme-personal .has-warning .alert-warning,
2261
2262
  .np-theme-personal .has-error .error-messages,
2262
2263
  .np-theme-personal .has-error .alert-detach.alert-danger {
2263
2264
  display: flex;
2264
2265
  }
2265
- .np-theme-personal .has-positive .alert-positive .tw-icon,
2266
+ .np-theme-personal .has-success .alert-positive .tw-icon,
2267
+ .np-theme-personal .has-success .alert-success .tw-icon,
2266
2268
  .np-theme-personal .has-warning .alert-warning .warning,
2267
- .np-theme-personal .has-error .error-messages .tw-icon,
2268
2269
  .np-theme-personal .has-error .alert-detach.alert-danger .tw-icon {
2269
- margin-right: calc(8px / 2);
2270
- margin-right: calc(var(--padding-x-small) / 2);
2271
- }
2272
- .np-theme-personal .has-positive .alert-positive .tw-icon {
2273
- color: var(--color-sentiment-positive);
2270
+ margin-right: 4px;
2271
+ margin-right: var(--size-4);
2274
2272
  }
2275
2273
  .np-theme-personal .has-error .error-messages,
2276
2274
  .np-theme-personal .has-error .alert-detach.alert-danger {
2277
2275
  color: var(--color-sentiment-negative);
2278
2276
  }
2277
+ .np-theme-personal .has-success .alert-positive .tw-icon,
2278
+ .np-theme-personal .has-success .alert-success .tw-icon {
2279
+ color: var(--color-sentiment-positive);
2280
+ }
2279
2281
  .has-required::after {
2280
2282
  content: "\00a0*";
2281
2283
  color: #cf2929;
@@ -1083,6 +1083,10 @@ 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
+ }
1086
1090
  .gap-y-1 {
1087
1091
  row-gap: 8px;
1088
1092
  row-gap: var(--size-8);
@@ -5088,6 +5088,11 @@ 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
+
5091
5096
  .gap-y-1 {
5092
5097
  row-gap: 8px;
5093
5098
  row-gap: var(--size-8);
@@ -11778,8 +11783,8 @@ html:not([dir="rtl"]) .input-group .input-group-btn + input {
11778
11783
  }
11779
11784
 
11780
11785
  .np-theme-personal .form-group label {
11781
- margin-bottom: calc(8px / 2);
11782
- margin-bottom: calc(var(--padding-x-small) / 2);
11786
+ margin-bottom: 4px;
11787
+ margin-bottom: var(--size-4);
11783
11788
  }
11784
11789
 
11785
11790
  .np-theme-personal .form-group .np-upload-input label {
@@ -11819,23 +11824,20 @@ html:not([dir="rtl"]) .input-group .input-group-btn + input {
11819
11824
  background-color: initial;
11820
11825
  }
11821
11826
 
11822
- .np-theme-personal .has-positive .alert-positive,
11827
+ .np-theme-personal .has-success .alert-positive,
11828
+ .np-theme-personal .has-success .alert-success,
11823
11829
  .np-theme-personal .has-warning .alert-warning,
11824
11830
  .np-theme-personal .has-error .error-messages,
11825
11831
  .np-theme-personal .has-error .alert-detach.alert-danger {
11826
11832
  display: flex;
11827
11833
  }
11828
11834
 
11829
- .np-theme-personal .has-positive .alert-positive .tw-icon,
11835
+ .np-theme-personal .has-success .alert-positive .tw-icon,
11836
+ .np-theme-personal .has-success .alert-success .tw-icon,
11830
11837
  .np-theme-personal .has-warning .alert-warning .warning,
11831
- .np-theme-personal .has-error .error-messages .tw-icon,
11832
11838
  .np-theme-personal .has-error .alert-detach.alert-danger .tw-icon {
11833
- margin-right: calc(8px / 2);
11834
- margin-right: calc(var(--padding-x-small) / 2);
11835
- }
11836
-
11837
- .np-theme-personal .has-positive .alert-positive .tw-icon {
11838
- color: var(--color-sentiment-positive);
11839
+ margin-right: 4px;
11840
+ margin-right: var(--size-4);
11839
11841
  }
11840
11842
 
11841
11843
  .np-theme-personal .has-error .error-messages,
@@ -11843,6 +11845,11 @@ html:not([dir="rtl"]) .input-group .input-group-btn + input {
11843
11845
  color: var(--color-sentiment-negative);
11844
11846
  }
11845
11847
 
11848
+ .np-theme-personal .has-success .alert-positive .tw-icon,
11849
+ .np-theme-personal .has-success .alert-success .tw-icon {
11850
+ color: var(--color-sentiment-positive);
11851
+ }
11852
+
11846
11853
  .has-required::after {
11847
11854
  content: "\00a0*";
11848
11855
  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-45f98d3",
4
+ "version": "0.0.0-experimental-1d9df7f",
5
5
  "license": "MIT",
6
6
  "repository": {
7
7
  "type": "git",
@@ -10,6 +10,10 @@
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
+
13
17
  .gap-y-1 {
14
18
  row-gap: var(--size-8);
15
19
  }
@@ -1159,7 +1159,7 @@ input[type="password"] {
1159
1159
  }
1160
1160
 
1161
1161
  .form-group label {
1162
- margin-bottom: calc(var(--padding-x-small) / 2);
1162
+ margin-bottom: var(--size-4);
1163
1163
  }
1164
1164
 
1165
1165
  .form-group .np-upload-input label {
@@ -1195,30 +1195,32 @@ input[type="password"] {
1195
1195
  background-color: unset;
1196
1196
  }
1197
1197
 
1198
- .has-positive .alert-positive,
1198
+ .has-success .alert-positive,
1199
+ .has-success .alert-success,
1199
1200
  .has-warning .alert-warning,
1200
1201
  .has-error .error-messages,
1201
1202
  .has-error .alert-detach.alert-danger {
1202
1203
  display: flex;
1203
1204
  }
1204
-
1205
- .has-positive .alert-positive .tw-icon,
1205
+
1206
+ .has-success .alert-positive .tw-icon,
1207
+ .has-success .alert-success .tw-icon,
1206
1208
  .has-warning .alert-warning .warning,
1207
- .has-error .error-messages .tw-icon,
1208
1209
  .has-error .alert-detach.alert-danger .tw-icon {
1209
- margin-right: calc(var(--padding-x-small) / 2);
1210
- }
1211
-
1212
- .has-positive .alert-positive {
1213
- .tw-icon {
1214
- color: var(--color-sentiment-positive);
1215
- }
1210
+ margin-right: var(--size-4);
1216
1211
  }
1217
1212
 
1218
1213
  .has-error .error-messages,
1219
1214
  .has-error .alert-detach.alert-danger {
1220
1215
  color: var(--color-sentiment-negative);
1221
1216
  }
1217
+
1218
+ .has-success .alert-positive,
1219
+ .has-success .alert-success {
1220
+ .tw-icon {
1221
+ color: var(--color-sentiment-positive);
1222
+ }
1223
+ }
1222
1224
  }
1223
1225
 
1224
1226
  .has-required {