@transferwise/neptune-css 14.3.46 → 14.3.47

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.
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.3.46",
4
+ "version": "14.3.47",
5
5
  "license": "MIT",
6
6
  "repository": {
7
7
  "type": "git",
@@ -1113,22 +1113,27 @@ input[type="password"] {
1113
1113
  box-shadow: inset 0 0 0 3px var(--color-sentiment-negative);
1114
1114
  }
1115
1115
 
1116
- .tw-radio-button{
1116
+ .tw-radio-button {
1117
1117
  border-color: var(--color-sentiment-negative) !important;
1118
1118
 
1119
+ &.checked {
1120
+ box-shadow: inset 0 0 0 1px var(--color-sentiment-negative);
1121
+ }
1122
+
1119
1123
  &.checked .tw-radio-check {
1120
1124
  background: var(--color-sentiment-negative) !important;
1121
1125
  }
1122
1126
  }
1123
1127
 
1124
1128
  .checkbox:hover .tw-checkbox-button,
1129
+ .radio:not(.disabled):hover .tw-radio-button,
1125
1130
  .tw-checkbox-button:not(.disabled,:disabled):hover,
1126
1131
  input[type=checkbox]:hover+.tw-checkbox-button,
1132
+ input[type=radio]:not(.disabled,:disabled):hover+.tw-radio-button,
1127
1133
  input[type=checkbox]:not(.disabled,:disabled):hover+.tw-checkbox-button {
1128
1134
  box-shadow: inset 0 0 0 2px var(--color-sentiment-negative-hover);
1129
1135
  }
1130
1136
 
1131
-
1132
1137
  .tw-checkbox-button.checked,
1133
1138
  .tw-checkbox-button:checked,
1134
1139
  input[type=checkbox]:checked+.tw-checkbox-button,
@@ -148,7 +148,7 @@
148
148
  transition: border 0.15s ease-in-out;
149
149
 
150
150
  .np-theme-personal & {
151
- border-color: transparent;
151
+ border: none;
152
152
  box-shadow: inset 0 0 0 1px var(--color-interactive-secondary);
153
153
  position: relative;
154
154
  top: 0;
@@ -292,10 +292,6 @@
292
292
 
293
293
  .np-theme-personal & {
294
294
  padding: var(--input-padding);
295
-
296
- &:not(.disabled, :disabled):hover {
297
- background: var(--color-background-screen-hover);
298
- }
299
295
  }
300
296
  }
301
297
  }