@transferwise/neptune-css 14.24.4 → 14.24.5
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/dist/css/input-groups.css +2 -2
- package/dist/css/neptune-core.css +6 -60
- package/dist/css/neptune.css +8 -75
- package/package.json +4 -4
|
@@ -1782,12 +1782,12 @@ input[type="checkbox"]:not(.disabled):not(:disabled):indeterminate:active + .tw-
|
|
|
1782
1782
|
.np-checkbox.checkbox > label {
|
|
1783
1783
|
display: flex;
|
|
1784
1784
|
align-items: center;
|
|
1785
|
-
padding: 8px 16px;
|
|
1785
|
+
padding: 8px 16px ;
|
|
1786
1786
|
padding: var(--size-8) var(--size-16) ;
|
|
1787
1787
|
}
|
|
1788
1788
|
[dir="rtl"] .np-radio.radio > label,
|
|
1789
1789
|
[dir="rtl"] .np-checkbox.checkbox > label {
|
|
1790
|
-
padding: 8px 16px;
|
|
1790
|
+
padding: 8px 16px ;
|
|
1791
1791
|
padding: var(--size-8) var(--size-16) ;
|
|
1792
1792
|
}
|
|
1793
1793
|
.np-radio.radio > label .np-checkbox__text,
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
src: url("../fonts/WiseSans-Heavy.woff2") format("woff2");
|
|
83
83
|
}
|
|
84
84
|
/* stylelint-disable selector-max-empty-lines */
|
|
85
|
-
/*! modern-normalize
|
|
85
|
+
/*! modern-normalize v3.0.1 | MIT License | https://github.com/sindresorhus/modern-normalize */
|
|
86
86
|
/*
|
|
87
87
|
Document
|
|
88
88
|
========
|
|
@@ -103,10 +103,9 @@ html {
|
|
|
103
103
|
-webkit-text-size-adjust: 100%;
|
|
104
104
|
/* 2. Prevent adjustments of font size after orientation changes in iOS. */
|
|
105
105
|
-moz-tab-size: 4;
|
|
106
|
+
-o-tab-size: 4;
|
|
107
|
+
tab-size: 4;
|
|
106
108
|
/* 3. Use a more readable tab size (opinionated). */
|
|
107
|
-
-o-tab-size: 4;
|
|
108
|
-
tab-size: 4;
|
|
109
|
-
/* 3 */
|
|
110
109
|
}
|
|
111
110
|
/*
|
|
112
111
|
Sections
|
|
@@ -117,33 +116,11 @@ body {
|
|
|
117
116
|
/* Remove the margin in all browsers. */
|
|
118
117
|
}
|
|
119
118
|
/*
|
|
120
|
-
Grouping content
|
|
121
|
-
================
|
|
122
|
-
*/
|
|
123
|
-
/**
|
|
124
|
-
1. Add the correct height in Firefox.
|
|
125
|
-
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
|
|
126
|
-
*/
|
|
127
|
-
hr {
|
|
128
|
-
height: 0;
|
|
129
|
-
/* 1 */
|
|
130
|
-
color: inherit;
|
|
131
|
-
/* 2 */
|
|
132
|
-
}
|
|
133
|
-
/*
|
|
134
119
|
Text-level semantics
|
|
135
120
|
====================
|
|
136
121
|
*/
|
|
137
122
|
/**
|
|
138
|
-
Add the correct
|
|
139
|
-
*/
|
|
140
|
-
abbr[title] {
|
|
141
|
-
text-decoration: underline;
|
|
142
|
-
-webkit-text-decoration: underline dotted;
|
|
143
|
-
text-decoration: underline dotted;
|
|
144
|
-
}
|
|
145
|
-
/**
|
|
146
|
-
Add the correct font weight in Edge and Safari.
|
|
123
|
+
Add the correct font weight in Chrome and Safari.
|
|
147
124
|
*/
|
|
148
125
|
b,
|
|
149
126
|
strong {
|
|
@@ -189,14 +166,10 @@ Tabular data
|
|
|
189
166
|
============
|
|
190
167
|
*/
|
|
191
168
|
/**
|
|
192
|
-
|
|
193
|
-
2. Correct table border color inheritance in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
|
|
169
|
+
Correct table border color inheritance in Chrome and Safari. (https://issues.chromium.org/issues/40615503, https://bugs.webkit.org/show_bug.cgi?id=195016)
|
|
194
170
|
*/
|
|
195
171
|
table {
|
|
196
|
-
|
|
197
|
-
/* 1 */
|
|
198
|
-
border-color: inherit;
|
|
199
|
-
/* 2 */
|
|
172
|
+
border-color: currentcolor;
|
|
200
173
|
}
|
|
201
174
|
/*
|
|
202
175
|
Forms
|
|
@@ -221,13 +194,6 @@ textarea {
|
|
|
221
194
|
/* 2 */
|
|
222
195
|
}
|
|
223
196
|
/**
|
|
224
|
-
Remove the inheritance of text transform in Edge and Firefox.
|
|
225
|
-
*/
|
|
226
|
-
button,
|
|
227
|
-
select {
|
|
228
|
-
text-transform: none;
|
|
229
|
-
}
|
|
230
|
-
/**
|
|
231
197
|
Correct the inability to style clickable types in iOS and Safari.
|
|
232
198
|
*/
|
|
233
199
|
button,
|
|
@@ -237,26 +203,6 @@ button,
|
|
|
237
203
|
-webkit-appearance: button;
|
|
238
204
|
}
|
|
239
205
|
/**
|
|
240
|
-
Remove the inner border and padding in Firefox.
|
|
241
|
-
*/
|
|
242
|
-
::-moz-focus-inner {
|
|
243
|
-
border-style: none;
|
|
244
|
-
padding: 0;
|
|
245
|
-
}
|
|
246
|
-
/**
|
|
247
|
-
Restore the focus styles unset by the previous rule.
|
|
248
|
-
*/
|
|
249
|
-
:-moz-focusring {
|
|
250
|
-
outline: 1px dotted ButtonText;
|
|
251
|
-
}
|
|
252
|
-
/**
|
|
253
|
-
Remove the additional ':invalid' styles in Firefox.
|
|
254
|
-
See: https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737
|
|
255
|
-
*/
|
|
256
|
-
:-moz-ui-invalid {
|
|
257
|
-
box-shadow: none;
|
|
258
|
-
}
|
|
259
|
-
/**
|
|
260
206
|
Remove the padding so developers are not caught out when they zero out 'fieldset' elements in all browsers.
|
|
261
207
|
*/
|
|
262
208
|
legend {
|
package/dist/css/neptune.css
CHANGED
|
@@ -1600,7 +1600,7 @@
|
|
|
1600
1600
|
|
|
1601
1601
|
/* stylelint-disable selector-max-empty-lines */
|
|
1602
1602
|
|
|
1603
|
-
/*! modern-normalize
|
|
1603
|
+
/*! modern-normalize v3.0.1 | MIT License | https://github.com/sindresorhus/modern-normalize */
|
|
1604
1604
|
|
|
1605
1605
|
/*
|
|
1606
1606
|
Document
|
|
@@ -1625,10 +1625,9 @@ html {
|
|
|
1625
1625
|
-webkit-text-size-adjust: 100%;
|
|
1626
1626
|
/* 2. Prevent adjustments of font size after orientation changes in iOS. */
|
|
1627
1627
|
-moz-tab-size: 4;
|
|
1628
|
+
-o-tab-size: 4;
|
|
1629
|
+
tab-size: 4;
|
|
1628
1630
|
/* 3. Use a more readable tab size (opinionated). */
|
|
1629
|
-
-o-tab-size: 4;
|
|
1630
|
-
tab-size: 4;
|
|
1631
|
-
/* 3 */
|
|
1632
1631
|
}
|
|
1633
1632
|
|
|
1634
1633
|
/*
|
|
@@ -1641,40 +1640,13 @@ body {
|
|
|
1641
1640
|
/* Remove the margin in all browsers. */
|
|
1642
1641
|
}
|
|
1643
1642
|
|
|
1644
|
-
/*
|
|
1645
|
-
Grouping content
|
|
1646
|
-
================
|
|
1647
|
-
*/
|
|
1648
|
-
|
|
1649
|
-
/**
|
|
1650
|
-
1. Add the correct height in Firefox.
|
|
1651
|
-
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
|
|
1652
|
-
*/
|
|
1653
|
-
|
|
1654
|
-
hr {
|
|
1655
|
-
height: 0;
|
|
1656
|
-
/* 1 */
|
|
1657
|
-
color: inherit;
|
|
1658
|
-
/* 2 */
|
|
1659
|
-
}
|
|
1660
|
-
|
|
1661
1643
|
/*
|
|
1662
1644
|
Text-level semantics
|
|
1663
1645
|
====================
|
|
1664
1646
|
*/
|
|
1665
1647
|
|
|
1666
1648
|
/**
|
|
1667
|
-
Add the correct
|
|
1668
|
-
*/
|
|
1669
|
-
|
|
1670
|
-
abbr[title] {
|
|
1671
|
-
text-decoration: underline;
|
|
1672
|
-
-webkit-text-decoration: underline dotted;
|
|
1673
|
-
text-decoration: underline dotted;
|
|
1674
|
-
}
|
|
1675
|
-
|
|
1676
|
-
/**
|
|
1677
|
-
Add the correct font weight in Edge and Safari.
|
|
1649
|
+
Add the correct font weight in Chrome and Safari.
|
|
1678
1650
|
*/
|
|
1679
1651
|
|
|
1680
1652
|
b,
|
|
@@ -1731,15 +1703,11 @@ Tabular data
|
|
|
1731
1703
|
*/
|
|
1732
1704
|
|
|
1733
1705
|
/**
|
|
1734
|
-
|
|
1735
|
-
2. Correct table border color inheritance in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
|
|
1706
|
+
Correct table border color inheritance in Chrome and Safari. (https://issues.chromium.org/issues/40615503, https://bugs.webkit.org/show_bug.cgi?id=195016)
|
|
1736
1707
|
*/
|
|
1737
1708
|
|
|
1738
1709
|
table {
|
|
1739
|
-
|
|
1740
|
-
/* 1 */
|
|
1741
|
-
border-color: inherit;
|
|
1742
|
-
/* 2 */
|
|
1710
|
+
border-color: currentcolor;
|
|
1743
1711
|
}
|
|
1744
1712
|
|
|
1745
1713
|
/*
|
|
@@ -1767,15 +1735,6 @@ textarea {
|
|
|
1767
1735
|
/* 2 */
|
|
1768
1736
|
}
|
|
1769
1737
|
|
|
1770
|
-
/**
|
|
1771
|
-
Remove the inheritance of text transform in Edge and Firefox.
|
|
1772
|
-
*/
|
|
1773
|
-
|
|
1774
|
-
button,
|
|
1775
|
-
select {
|
|
1776
|
-
text-transform: none;
|
|
1777
|
-
}
|
|
1778
|
-
|
|
1779
1738
|
/**
|
|
1780
1739
|
Correct the inability to style clickable types in iOS and Safari.
|
|
1781
1740
|
*/
|
|
@@ -1787,32 +1746,6 @@ button,
|
|
|
1787
1746
|
-webkit-appearance: button;
|
|
1788
1747
|
}
|
|
1789
1748
|
|
|
1790
|
-
/**
|
|
1791
|
-
Remove the inner border and padding in Firefox.
|
|
1792
|
-
*/
|
|
1793
|
-
|
|
1794
|
-
::-moz-focus-inner {
|
|
1795
|
-
border-style: none;
|
|
1796
|
-
padding: 0;
|
|
1797
|
-
}
|
|
1798
|
-
|
|
1799
|
-
/**
|
|
1800
|
-
Restore the focus styles unset by the previous rule.
|
|
1801
|
-
*/
|
|
1802
|
-
|
|
1803
|
-
:-moz-focusring {
|
|
1804
|
-
outline: 1px dotted ButtonText;
|
|
1805
|
-
}
|
|
1806
|
-
|
|
1807
|
-
/**
|
|
1808
|
-
Remove the additional ':invalid' styles in Firefox.
|
|
1809
|
-
See: https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737
|
|
1810
|
-
*/
|
|
1811
|
-
|
|
1812
|
-
:-moz-ui-invalid {
|
|
1813
|
-
box-shadow: none;
|
|
1814
|
-
}
|
|
1815
|
-
|
|
1816
1749
|
/**
|
|
1817
1750
|
Remove the padding so developers are not caught out when they zero out 'fieldset' elements in all browsers.
|
|
1818
1751
|
*/
|
|
@@ -11499,13 +11432,13 @@ input[type="checkbox"]:not(.disabled):not(:disabled):indeterminate:active + .tw-
|
|
|
11499
11432
|
.np-checkbox.checkbox > label {
|
|
11500
11433
|
display: flex;
|
|
11501
11434
|
align-items: center;
|
|
11502
|
-
padding: 8px 16px;
|
|
11435
|
+
padding: 8px 16px ;
|
|
11503
11436
|
padding: var(--size-8) var(--size-16) ;
|
|
11504
11437
|
}
|
|
11505
11438
|
|
|
11506
11439
|
[dir="rtl"] .np-radio.radio > label,
|
|
11507
11440
|
[dir="rtl"] .np-checkbox.checkbox > label {
|
|
11508
|
-
padding: 8px 16px;
|
|
11441
|
+
padding: 8px 16px ;
|
|
11509
11442
|
padding: var(--size-8) var(--size-16) ;
|
|
11510
11443
|
}
|
|
11511
11444
|
|
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.24.
|
|
4
|
+
"version": "14.24.5",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -26,9 +26,9 @@
|
|
|
26
26
|
"@transferwise/neptune-tokens": "^8.18.0"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
|
-
"gulp": "^5.0.
|
|
30
|
-
"modern-normalize": "^
|
|
31
|
-
"@transferwise/less-config": "3.1.
|
|
29
|
+
"gulp": "^5.0.1",
|
|
30
|
+
"modern-normalize": "^3.0.1",
|
|
31
|
+
"@transferwise/less-config": "3.1.2",
|
|
32
32
|
"@wise/wds-configs": "0.0.0"
|
|
33
33
|
},
|
|
34
34
|
"publishConfig": {
|