@transferwise/neptune-css 0.0.0-experimental-4f00ba7 → 0.0.0-experimental-e803202

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.
@@ -191,7 +191,7 @@ input[type='search'] {
191
191
  margin-bottom: 2px;
192
192
  }
193
193
  .form-group:focus-within .control-label,
194
- .form-group:focus-within label {
194
+ .form-group:focus-within > label {
195
195
  color: #0097c7;
196
196
  color: var(--color-content-accent);
197
197
  }
@@ -571,7 +571,6 @@ select[multiple].input-lg {
571
571
  border-color: #2ead4b !important;
572
572
  border-color: var(--color-interactive-positive) !important;
573
573
  }
574
- .has-success .control-label,
575
574
  .has-success .radio,
576
575
  .has-success .checkbox,
577
576
  .has-success .radio-inline,
@@ -669,7 +668,6 @@ select[multiple].input-lg {
669
668
  .np-theme-personal .has-success {
670
669
  border-color: var(--color-sentiment-positive) !important;
671
670
  }
672
- .np-theme-personal .has-success .control-label,
673
671
  .np-theme-personal .has-success .radio,
674
672
  .np-theme-personal .has-success .checkbox,
675
673
  .np-theme-personal .has-success .radio-inline,
@@ -758,7 +756,6 @@ select[multiple].input-lg {
758
756
  border-color: #00a2dd !important;
759
757
  border-color: var(--color-interactive-accent) !important;
760
758
  }
761
- .has-info .control-label,
762
759
  .has-info .radio,
763
760
  .has-info .checkbox,
764
761
  .has-info .radio-inline,
@@ -856,7 +853,6 @@ select[multiple].input-lg {
856
853
  .np-theme-personal .has-info {
857
854
  border-color: transparent !important;
858
855
  }
859
- .np-theme-personal .has-info .control-label,
860
856
  .np-theme-personal .has-info .radio,
861
857
  .np-theme-personal .has-info .checkbox,
862
858
  .np-theme-personal .has-info .radio-inline,
@@ -947,7 +943,6 @@ select[multiple].input-lg {
947
943
  border-color: #df8700 !important;
948
944
  border-color: var(--color-interactive-warning) !important;
949
945
  }
950
- .has-warning .control-label,
951
946
  .has-warning .radio,
952
947
  .has-warning .checkbox,
953
948
  .has-warning .radio-inline,
@@ -1045,7 +1040,6 @@ select[multiple].input-lg {
1045
1040
  .np-theme-personal .has-warning {
1046
1041
  border-color: var(--color-sentiment-warning) !important;
1047
1042
  }
1048
- .np-theme-personal .has-warning .control-label,
1049
1043
  .np-theme-personal .has-warning .radio,
1050
1044
  .np-theme-personal .has-warning .checkbox,
1051
1045
  .np-theme-personal .has-warning .radio-inline,
@@ -1134,7 +1128,6 @@ select[multiple].input-lg {
1134
1128
  border-color: #e74848 !important;
1135
1129
  border-color: var(--color-interactive-negative) !important;
1136
1130
  }
1137
- .has-error .control-label,
1138
1131
  .has-error .radio,
1139
1132
  .has-error .checkbox,
1140
1133
  .has-error .radio-inline,
@@ -1232,7 +1225,6 @@ select[multiple].input-lg {
1232
1225
  .np-theme-personal .has-error {
1233
1226
  border-color: var(--color-sentiment-negative) !important;
1234
1227
  }
1235
- .np-theme-personal .has-error .control-label,
1236
1228
  .np-theme-personal .has-error .radio,
1237
1229
  .np-theme-personal .has-error .checkbox,
1238
1230
  .np-theme-personal .has-error .radio-inline,
@@ -2228,7 +2220,7 @@ html:not([dir="rtl"]) .input-group .input-group-btn + input {
2228
2220
  margin-bottom: 0;
2229
2221
  }
2230
2222
  .np-theme-personal .form-group:focus-within .control-label,
2231
- .np-theme-personal .form-group:focus-within label,
2223
+ .np-theme-personal .form-group:focus-within > label,
2232
2224
  .np-theme-personal .has-warning .control-label,
2233
2225
  .np-theme-personal .has-warning label,
2234
2226
  .np-theme-personal .has-success .control-label,
@@ -2236,10 +2228,6 @@ html:not([dir="rtl"]) .input-group .input-group-btn + input {
2236
2228
  color: #5d7079 !important;
2237
2229
  color: var(--color-content-secondary) !important;
2238
2230
  }
2239
- .np-theme-personal .has-error .control-label,
2240
- .np-theme-personal .has-error label {
2241
- color: var(--color-sentiment-negative) !important;
2242
- }
2243
2231
  .np-theme-personal .form-group .alert:before,
2244
2232
  .np-theme-personal .error-messages:before {
2245
2233
  content: none;
@@ -9474,7 +9474,7 @@ input[type='search'] {
9474
9474
  }
9475
9475
 
9476
9476
  .form-group:focus-within .control-label,
9477
- .form-group:focus-within label {
9477
+ .form-group:focus-within > label {
9478
9478
  color: #0097c7;
9479
9479
  color: var(--color-content-accent);
9480
9480
  }
@@ -9924,7 +9924,6 @@ select[multiple].input-lg {
9924
9924
  border-color: var(--color-interactive-positive) !important;
9925
9925
  }
9926
9926
 
9927
- .has-success .control-label,
9928
9927
  .has-success .radio,
9929
9928
  .has-success .checkbox,
9930
9929
  .has-success .radio-inline,
@@ -10032,7 +10031,6 @@ select[multiple].input-lg {
10032
10031
  border-color: var(--color-sentiment-positive) !important;
10033
10032
  }
10034
10033
 
10035
- .np-theme-personal .has-success .control-label,
10036
10034
  .np-theme-personal .has-success .radio,
10037
10035
  .np-theme-personal .has-success .checkbox,
10038
10036
  .np-theme-personal .has-success .radio-inline,
@@ -10131,7 +10129,6 @@ select[multiple].input-lg {
10131
10129
  border-color: var(--color-interactive-accent) !important;
10132
10130
  }
10133
10131
 
10134
- .has-info .control-label,
10135
10132
  .has-info .radio,
10136
10133
  .has-info .checkbox,
10137
10134
  .has-info .radio-inline,
@@ -10239,7 +10236,6 @@ select[multiple].input-lg {
10239
10236
  border-color: transparent !important;
10240
10237
  }
10241
10238
 
10242
- .np-theme-personal .has-info .control-label,
10243
10239
  .np-theme-personal .has-info .radio,
10244
10240
  .np-theme-personal .has-info .checkbox,
10245
10241
  .np-theme-personal .has-info .radio-inline,
@@ -10340,7 +10336,6 @@ select[multiple].input-lg {
10340
10336
  border-color: var(--color-interactive-warning) !important;
10341
10337
  }
10342
10338
 
10343
- .has-warning .control-label,
10344
10339
  .has-warning .radio,
10345
10340
  .has-warning .checkbox,
10346
10341
  .has-warning .radio-inline,
@@ -10448,7 +10443,6 @@ select[multiple].input-lg {
10448
10443
  border-color: var(--color-sentiment-warning) !important;
10449
10444
  }
10450
10445
 
10451
- .np-theme-personal .has-warning .control-label,
10452
10446
  .np-theme-personal .has-warning .radio,
10453
10447
  .np-theme-personal .has-warning .checkbox,
10454
10448
  .np-theme-personal .has-warning .radio-inline,
@@ -10547,7 +10541,6 @@ select[multiple].input-lg {
10547
10541
  border-color: var(--color-interactive-negative) !important;
10548
10542
  }
10549
10543
 
10550
- .has-error .control-label,
10551
10544
  .has-error .radio,
10552
10545
  .has-error .checkbox,
10553
10546
  .has-error .radio-inline,
@@ -10655,7 +10648,6 @@ select[multiple].input-lg {
10655
10648
  border-color: var(--color-sentiment-negative) !important;
10656
10649
  }
10657
10650
 
10658
- .np-theme-personal .has-error .control-label,
10659
10651
  .np-theme-personal .has-error .radio,
10660
10652
  .np-theme-personal .has-error .checkbox,
10661
10653
  .np-theme-personal .has-error .radio-inline,
@@ -11787,7 +11779,7 @@ html:not([dir="rtl"]) .input-group .input-group-btn + input {
11787
11779
  }
11788
11780
 
11789
11781
  .np-theme-personal .form-group:focus-within .control-label,
11790
- .np-theme-personal .form-group:focus-within label,
11782
+ .np-theme-personal .form-group:focus-within > label,
11791
11783
  .np-theme-personal .has-warning .control-label,
11792
11784
  .np-theme-personal .has-warning label,
11793
11785
  .np-theme-personal .has-success .control-label,
@@ -11796,11 +11788,6 @@ html:not([dir="rtl"]) .input-group .input-group-btn + input {
11796
11788
  color: var(--color-content-secondary) !important;
11797
11789
  }
11798
11790
 
11799
- .np-theme-personal .has-error .control-label,
11800
- .np-theme-personal .has-error label {
11801
- color: var(--color-sentiment-negative) !important;
11802
- }
11803
-
11804
11791
  .np-theme-personal .form-group .alert:before,
11805
11792
  .np-theme-personal .error-messages:before {
11806
11793
  content: none;
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-4f00ba7",
4
+ "version": "0.0.0-experimental-e803202",
5
5
  "license": "MIT",
6
6
  "repository": {
7
7
  "type": "git",
@@ -241,7 +241,7 @@ input[type='search'] {
241
241
 
242
242
  &:focus-within {
243
243
  .control-label,
244
- label {
244
+ > label {
245
245
  color: var(--color-content-accent);
246
246
  }
247
247
  }
@@ -263,7 +263,7 @@ input[type='search'] {
263
263
  // margin-bottom: (@padding-base-vertical * 1.5);
264
264
 
265
265
  label {
266
- min-height: var(--input-height-base);
266
+ min-height: var(--input-height-base);
267
267
  margin-bottom: 0;
268
268
  cursor: pointer;
269
269
  }
@@ -1116,27 +1116,27 @@ input[type="password"] {
1116
1116
  }
1117
1117
  }
1118
1118
 
1119
- .checkbox:hover .tw-checkbox-button,
1119
+ .checkbox:hover .tw-checkbox-button,
1120
1120
  .radio:not(.disabled):hover .tw-radio-button,
1121
- .tw-checkbox-button:not(.disabled,:disabled):hover,
1122
- input[type=checkbox]:hover+.tw-checkbox-button,
1121
+ .tw-checkbox-button:not(.disabled,:disabled):hover,
1122
+ input[type=checkbox]:hover+.tw-checkbox-button,
1123
1123
  input[type=radio]:not(.disabled,:disabled):hover+.tw-radio-button,
1124
1124
  input[type=checkbox]:not(.disabled,:disabled):hover+.tw-checkbox-button {
1125
1125
  box-shadow: inset 0 0 0 2px var(--color-sentiment-negative-hover);
1126
1126
  }
1127
1127
 
1128
- .tw-checkbox-button.checked,
1129
- .tw-checkbox-button:checked,
1128
+ .tw-checkbox-button.checked,
1129
+ .tw-checkbox-button:checked,
1130
1130
  input[type=checkbox]:checked+.tw-checkbox-button,
1131
- .tw-checkbox-button.checked:hover,
1132
- .tw-checkbox-button:checked:hover,
1131
+ .tw-checkbox-button.checked:hover,
1132
+ .tw-checkbox-button:checked:hover,
1133
1133
  input[type=checkbox]:not(.disabled,:disabled):checked:hover+.tw-checkbox-button {
1134
1134
  box-shadow: inset 0 0 0 3px var(--color-sentiment-negative);
1135
1135
  background: var(--color-sentiment-negative);
1136
1136
  }
1137
1137
 
1138
- .checkbox>label:not(.disabled,:disabled):active input[type=checkbox]+.tw-checkbox-button,
1139
- .checkbox>label:not(.disabled,:disabled):focus-visible input[type=checkbox]+.tw-checkbox-button,
1138
+ .checkbox>label:not(.disabled,:disabled):active input[type=checkbox]+.tw-checkbox-button,
1139
+ .checkbox>label:not(.disabled,:disabled):focus-visible input[type=checkbox]+.tw-checkbox-button,
1140
1140
  .checkbox>label:not(.disabled,:disabled):has(:focus-visible) input[type=checkbox]+.tw-checkbox-button {
1141
1141
  box-shadow: inset 0 0 0 2px var(--color-sentiment-negative-active);
1142
1142
  }
@@ -1167,7 +1167,7 @@ input[type="password"] {
1167
1167
  }
1168
1168
 
1169
1169
  .form-group:focus-within .control-label,
1170
- .form-group:focus-within label,
1170
+ .form-group:focus-within > label,
1171
1171
  .has-warning .control-label,
1172
1172
  .has-warning label,
1173
1173
  .has-success .control-label,
@@ -1175,11 +1175,6 @@ input[type="password"] {
1175
1175
  color: var(--color-content-secondary) !important;
1176
1176
  }
1177
1177
 
1178
- .has-error .control-label,
1179
- .has-error label {
1180
- color: var(--color-sentiment-negative) !important;
1181
- }
1182
-
1183
1178
  .form-group .alert:before,
1184
1179
  .error-messages:before {
1185
1180
  content: none;
@@ -6,7 +6,6 @@
6
6
  border-color: @border-color !important;
7
7
 
8
8
  // Color the label and help text
9
- .control-label,
10
9
  .radio,
11
10
  .checkbox,
12
11
  .radio-inline,