@transferwise/neptune-css 12.0.4 → 12.1.2
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/CHANGELOG.md +33 -0
- package/dist/css/accordion.css +1 -1
- package/dist/css/alerts.css +1 -1
- package/dist/css/decision.css +1 -1
- package/dist/css/neptune.css +1 -1
- package/package.json +2 -2
- package/src/less/alerts.less +9 -2
- package/src/less/decision.less +1 -8
- package/src/less/neptune.bundle.less +1 -0
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@transferwise/neptune-css",
|
|
3
3
|
"description": "Neptune CSS library",
|
|
4
|
-
"version": "12.
|
|
4
|
+
"version": "12.1.2",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -60,5 +60,5 @@
|
|
|
60
60
|
"bin": {
|
|
61
61
|
"neptune-css-upgrade-util": "scripts/neptune-css-upgrader.js"
|
|
62
62
|
},
|
|
63
|
-
"gitHead": "
|
|
63
|
+
"gitHead": "93f0a6fcec9603c9bb7aa9841ea2c19fe1d82510"
|
|
64
64
|
}
|
package/src/less/alerts.less
CHANGED
|
@@ -150,9 +150,12 @@ input:focus ~ .alert-focus,
|
|
|
150
150
|
.focus .alert-focus,
|
|
151
151
|
.has-focus .alert-focus,
|
|
152
152
|
.has-info .alert-info,
|
|
153
|
+
.has-info .alert-neutral,
|
|
153
154
|
.has-warning .alert-warning,
|
|
154
155
|
.has-success .alert-success,
|
|
155
|
-
.has-
|
|
156
|
+
.has-success .alert-positive,
|
|
157
|
+
.has-error .alert-danger,
|
|
158
|
+
.has-error .alert-negative {
|
|
156
159
|
display: block;
|
|
157
160
|
}
|
|
158
161
|
|
|
@@ -162,14 +165,18 @@ input:focus ~ .alert-focus,
|
|
|
162
165
|
.has-warning .help-block,
|
|
163
166
|
.has-warning .alert-focus,
|
|
164
167
|
.has-warning .alert-info,
|
|
168
|
+
.has-warning .alert-neutral,
|
|
165
169
|
.has-success .help-block,
|
|
166
170
|
.has-success .alert-focus,
|
|
167
171
|
.has-success .alert-info,
|
|
172
|
+
.has-success .alert-neutral,
|
|
168
173
|
.has-success .alert-warning,
|
|
169
174
|
.has-error .help-block,
|
|
170
175
|
.has-error .alert-focus,
|
|
171
176
|
.has-error .alert-info,
|
|
177
|
+
.has-error .alert-neutral,
|
|
172
178
|
.has-error .alert-warning,
|
|
173
|
-
.has-error .alert-success
|
|
179
|
+
.has-error .alert-success,
|
|
180
|
+
.has-error .alert-positive {
|
|
174
181
|
display: none !important;
|
|
175
182
|
}
|
package/src/less/decision.less
CHANGED
|
@@ -33,8 +33,7 @@
|
|
|
33
33
|
|
|
34
34
|
.media,
|
|
35
35
|
&.media {
|
|
36
|
-
padding: var(--size-24)
|
|
37
|
-
margin: 0 var(--size-16);
|
|
36
|
+
padding: var(--size-24) var(--size-12);
|
|
38
37
|
border-width: 0 0 1px 0;
|
|
39
38
|
border-style: solid;
|
|
40
39
|
border-color: var(--color-border-neutral);
|
|
@@ -57,12 +56,6 @@
|
|
|
57
56
|
}
|
|
58
57
|
}
|
|
59
58
|
|
|
60
|
-
// Style overrides for Angular components
|
|
61
|
-
&.media {
|
|
62
|
-
margin: 0;
|
|
63
|
-
padding: var(--size-24) var(--size-16);
|
|
64
|
-
}
|
|
65
|
-
|
|
66
59
|
&.disabled {
|
|
67
60
|
opacity: 0.5;
|
|
68
61
|
cursor: not-allowed;
|