@transferwise/neptune-css 14.3.15 → 14.3.17

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.15",
4
+ "version": "14.3.17",
5
5
  "license": "MIT",
6
6
  "repository": {
7
7
  "type": "git",
@@ -53,5 +53,5 @@
53
53
  "bin": {
54
54
  "neptune-css-upgrade-util": "scripts/neptune-css-upgrader.js"
55
55
  },
56
- "gitHead": "9a07bc4a49a8b8d780af3f55872fbbef7446712c"
56
+ "gitHead": "5b123b47cb7ba8581c556cc83ab284c50e07e118"
57
57
  }
@@ -91,11 +91,11 @@
91
91
  }
92
92
  }
93
93
 
94
- > li:first-child > a {
95
- .border-top-radius((@border-radius-base - 1px));
96
- }
97
-
98
94
  .np-theme-light & {
95
+ > li:first-child > a {
96
+ .border-top-radius((@border-radius-base - 1px));
97
+ }
98
+
99
99
  > li:last-child > a {
100
100
  .border-bottom-radius((@border-radius-base - 1px));
101
101
  }
@@ -1040,7 +1040,7 @@ input[type="password"] {
1040
1040
  .checkbox > label:not(.disabled, :disabled) {
1041
1041
  &:hover {
1042
1042
  box-shadow: inset 0 0 0 2px var(--color-interactive-secondary-hover);
1043
- &:has([checked], .checked) {
1043
+ &:has(:checked, .checked) {
1044
1044
  box-shadow: inset 0 0 0 2px var(--color-interactive-primary-hover);
1045
1045
  }
1046
1046
  }
@@ -1107,10 +1107,10 @@ input[type="password"] {
1107
1107
 
1108
1108
 
1109
1109
  .tw-checkbox-button.checked,
1110
- .tw-checkbox-button[checked],
1110
+ .tw-checkbox-button:checked,
1111
1111
  input[type=checkbox]:checked+.tw-checkbox-button,
1112
1112
  .tw-checkbox-button.checked:hover,
1113
- .tw-checkbox-button[checked]:hover,
1113
+ .tw-checkbox-button:checked:hover,
1114
1114
  input[type=checkbox]:not(.disabled,:disabled):checked:hover+.tw-checkbox-button {
1115
1115
  box-shadow: inset 0 0 0 3px var(--color-sentiment-negative);
1116
1116
  background: var(--color-sentiment-negative);
@@ -67,7 +67,7 @@
67
67
  outline: none;
68
68
  }
69
69
 
70
- &[checked],
70
+ &:checked,
71
71
  &.checked,
72
72
  input[type="checkbox"]:checked + & {
73
73
  border-color: var(--color-interactive-accent) !important;
@@ -83,7 +83,7 @@
83
83
  }
84
84
  }
85
85
 
86
- &[checked]:hover,
86
+ &:checked:hover,
87
87
  &.checked:hover,
88
88
  input[type="checkbox"]:not(.disabled, :disabled):checked:hover + & {
89
89
  border-color: var(--color-interactive-accent-hover) !important;
@@ -96,7 +96,7 @@
96
96
  }
97
97
  }
98
98
 
99
- &[checked]:active,
99
+ &:checked:active,
100
100
  &.checked:active,
101
101
  input[type="checkbox"]:not(.disabled, :disabled):checked:active + & {
102
102
  border-color: var(--color-interactive-accent-active) !important;
@@ -113,7 +113,7 @@
113
113
  &.has-error {
114
114
  border-color: var(--color-interactive-negative) !important;
115
115
 
116
- &[checked],
116
+ &:checked,
117
117
  &.checked {
118
118
  background-color: var(--color-interactive-negative);
119
119
  }
@@ -173,7 +173,7 @@
173
173
  border-color: transparent;
174
174
  box-shadow: inset 0 0 0 1px var(--color-interactive-secondary-hover);
175
175
 
176
- &[checked],
176
+ &:checked,
177
177
  &.checked {
178
178
  box-shadow: inset 0 0 0 1px var(--color-interactive-primary);
179
179
 
@@ -192,7 +192,7 @@
192
192
  outline: none;
193
193
  }
194
194
 
195
- &[checked],
195
+ &:checked,
196
196
  &.checked {
197
197
  border-color: var(--color-interactive-accent) !important;
198
198
 
@@ -217,7 +217,7 @@
217
217
  &.has-error {
218
218
  border-color: var(--color-interactive-negative) !important;
219
219
 
220
- &[checked] .tw-radio-check,
220
+ &:checked .tw-radio-check,
221
221
  &.checked .tw-radio-check {
222
222
  background-color: var(--color-interactive-negative);
223
223
  }