@transferwise/neptune-css 0.0.0-experimental-74edf2e → 0.0.0-experimental-45f98d3

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.
@@ -74,8 +74,7 @@
74
74
  left: initial;
75
75
  }
76
76
  .arrow::before {
77
- -webkit-clip-path: polygon(0% 0%, 0 100%, 100% 0);
78
- clip-path: polygon(0% 0%, 0 100%, 100% 0);
77
+ clip-path: polygon(0% 0%, 0 100%, 100% 0);
79
78
  }
80
79
  .arrow.arrow-center::before {
81
80
  left: 50%;
@@ -161,8 +160,7 @@
161
160
  left: initial;
162
161
  }
163
162
  .form-group .alert::before {
164
- -webkit-clip-path: polygon(0% 0%, 0 100%, 100% 0);
165
- clip-path: polygon(0% 0%, 0 100%, 100% 0);
163
+ clip-path: polygon(0% 0%, 0 100%, 100% 0);
166
164
  }
167
165
  .form-group .alert.arrow-center::before {
168
166
  left: 50%;
@@ -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: 8px;
2225
- margin-bottom: var(--padding-x-small);
2224
+ margin-bottom: calc(8px / 2);
2225
+ margin-bottom: calc(var(--padding-x-small) / 2);
2226
2226
  }
2227
2227
  .np-theme-personal .form-group .np-upload-input label {
2228
2228
  margin-bottom: 0;
@@ -2256,15 +2256,25 @@ 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,
2260
+ .np-theme-personal .has-warning .alert-warning,
2259
2261
  .np-theme-personal .has-error .error-messages,
2260
2262
  .np-theme-personal .has-error .alert-detach.alert-danger {
2261
- color: var(--color-sentiment-negative);
2262
2263
  display: flex;
2263
2264
  }
2265
+ .np-theme-personal .has-positive .alert-positive .tw-icon,
2266
+ .np-theme-personal .has-warning .alert-warning .warning,
2264
2267
  .np-theme-personal .has-error .error-messages .tw-icon,
2265
2268
  .np-theme-personal .has-error .alert-detach.alert-danger .tw-icon {
2266
- margin-right: 8px;
2267
- margin-right: var(--padding-x-small);
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);
2274
+ }
2275
+ .np-theme-personal .has-error .error-messages,
2276
+ .np-theme-personal .has-error .alert-detach.alert-danger {
2277
+ color: var(--color-sentiment-negative);
2268
2278
  }
2269
2279
  .has-required::after {
2270
2280
  content: "\00a0*";
@@ -6098,8 +6098,7 @@ tbody.collapse.in {
6098
6098
  }
6099
6099
 
6100
6100
  .arrow::before {
6101
- -webkit-clip-path: polygon(0% 0%, 0 100%, 100% 0);
6102
- clip-path: polygon(0% 0%, 0 100%, 100% 0);
6101
+ clip-path: polygon(0% 0%, 0 100%, 100% 0);
6103
6102
  }
6104
6103
 
6105
6104
  .arrow.arrow-center::before {
@@ -6201,8 +6200,7 @@ tbody.collapse.in {
6201
6200
  }
6202
6201
 
6203
6202
  .form-group .alert::before {
6204
- -webkit-clip-path: polygon(0% 0%, 0 100%, 100% 0);
6205
- clip-path: polygon(0% 0%, 0 100%, 100% 0);
6203
+ clip-path: polygon(0% 0%, 0 100%, 100% 0);
6206
6204
  }
6207
6205
 
6208
6206
  .form-group .alert.arrow-center::before {
@@ -11780,8 +11778,8 @@ html:not([dir="rtl"]) .input-group .input-group-btn + input {
11780
11778
  }
11781
11779
 
11782
11780
  .np-theme-personal .form-group label {
11783
- margin-bottom: 8px;
11784
- margin-bottom: var(--padding-x-small);
11781
+ margin-bottom: calc(8px / 2);
11782
+ margin-bottom: calc(var(--padding-x-small) / 2);
11785
11783
  }
11786
11784
 
11787
11785
  .np-theme-personal .form-group .np-upload-input label {
@@ -11821,16 +11819,28 @@ html:not([dir="rtl"]) .input-group .input-group-btn + input {
11821
11819
  background-color: initial;
11822
11820
  }
11823
11821
 
11822
+ .np-theme-personal .has-positive .alert-positive,
11823
+ .np-theme-personal .has-warning .alert-warning,
11824
11824
  .np-theme-personal .has-error .error-messages,
11825
11825
  .np-theme-personal .has-error .alert-detach.alert-danger {
11826
- color: var(--color-sentiment-negative);
11827
11826
  display: flex;
11828
11827
  }
11829
11828
 
11829
+ .np-theme-personal .has-positive .alert-positive .tw-icon,
11830
+ .np-theme-personal .has-warning .alert-warning .warning,
11830
11831
  .np-theme-personal .has-error .error-messages .tw-icon,
11831
11832
  .np-theme-personal .has-error .alert-detach.alert-danger .tw-icon {
11832
- margin-right: 8px;
11833
- margin-right: var(--padding-x-small);
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
+ }
11840
+
11841
+ .np-theme-personal .has-error .error-messages,
11842
+ .np-theme-personal .has-error .alert-detach.alert-danger {
11843
+ color: var(--color-sentiment-negative);
11834
11844
  }
11835
11845
 
11836
11846
  .has-required::after {
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-74edf2e",
4
+ "version": "0.0.0-experimental-45f98d3",
5
5
  "license": "MIT",
6
6
  "repository": {
7
7
  "type": "git",
@@ -27,7 +27,7 @@
27
27
  },
28
28
  "devDependencies": {
29
29
  "modern-normalize": "^2.0.0",
30
- "yargs": "^17.1.1",
30
+ "yargs": "^17.7.2",
31
31
  "@transferwise/less-config": "3.1.0"
32
32
  },
33
33
  "publishConfig": {
@@ -1159,7 +1159,7 @@ input[type="password"] {
1159
1159
  }
1160
1160
 
1161
1161
  .form-group label {
1162
- margin-bottom: var(--padding-x-small);
1162
+ margin-bottom: calc(var(--padding-x-small) / 2);
1163
1163
  }
1164
1164
 
1165
1165
  .form-group .np-upload-input label {
@@ -1195,15 +1195,30 @@ input[type="password"] {
1195
1195
  background-color: unset;
1196
1196
  }
1197
1197
 
1198
+ .has-positive .alert-positive,
1199
+ .has-warning .alert-warning,
1198
1200
  .has-error .error-messages,
1199
1201
  .has-error .alert-detach.alert-danger {
1200
- color: var(--color-sentiment-negative);
1201
1202
  display: flex;
1202
-
1203
+ }
1204
+
1205
+ .has-positive .alert-positive .tw-icon,
1206
+ .has-warning .alert-warning .warning,
1207
+ .has-error .error-messages .tw-icon,
1208
+ .has-error .alert-detach.alert-danger .tw-icon {
1209
+ margin-right: calc(var(--padding-x-small) / 2);
1210
+ }
1211
+
1212
+ .has-positive .alert-positive {
1203
1213
  .tw-icon {
1204
- margin-right: var(--padding-x-small);
1214
+ color: var(--color-sentiment-positive);
1205
1215
  }
1206
1216
  }
1217
+
1218
+ .has-error .error-messages,
1219
+ .has-error .alert-detach.alert-danger {
1220
+ color: var(--color-sentiment-negative);
1221
+ }
1207
1222
  }
1208
1223
 
1209
1224
  .has-required {