@transferwise/neptune-css 14.13.4 → 14.14.0
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 +27 -14
- package/dist/css/neptune.css +28 -14
- package/package.json +1 -1
- package/src/less/forms/checkbox-radio.less +27 -10
- package/src/less/tick.less +1 -1
|
@@ -1501,7 +1501,8 @@ select[multiple].input-lg {
|
|
|
1501
1501
|
box-shadow: inset 0 0 0 1px #c9cbce;
|
|
1502
1502
|
box-shadow: inset 0 0 0 1px var(--color-interactive-secondary);
|
|
1503
1503
|
}
|
|
1504
|
-
.tw-checkbox-button .tw-checkbox-check
|
|
1504
|
+
.tw-checkbox-button .tw-checkbox-check,
|
|
1505
|
+
.tw-checkbox-button .np-tw-checkbox-indeterminate {
|
|
1505
1506
|
width: 20px;
|
|
1506
1507
|
height: 20px;
|
|
1507
1508
|
margin: 0;
|
|
@@ -1542,26 +1543,32 @@ input[type="checkbox"]:focus-visible + .tw-checkbox-button {
|
|
|
1542
1543
|
}
|
|
1543
1544
|
.tw-checkbox-button:checked,
|
|
1544
1545
|
.tw-checkbox-button.checked,
|
|
1545
|
-
input[type="checkbox"]:checked + .tw-checkbox-button
|
|
1546
|
+
input[type="checkbox"]:checked + .tw-checkbox-button,
|
|
1547
|
+
input[type="checkbox"]:indeterminate + .tw-checkbox-button {
|
|
1546
1548
|
border-color: #00a2dd !important;
|
|
1547
1549
|
border-color: var(--color-interactive-accent) !important;
|
|
1548
1550
|
background-color: #00a2dd;
|
|
1549
1551
|
background-color: var(--color-interactive-accent);
|
|
1550
1552
|
}
|
|
1553
|
+
.np-theme-personal .tw-checkbox-button:checked,
|
|
1554
|
+
.np-theme-personal .tw-checkbox-button.checked,
|
|
1555
|
+
.np-theme-personal input[type="checkbox"]:checked + .tw-checkbox-button,
|
|
1556
|
+
.np-theme-personal input[type="checkbox"]:indeterminate + .tw-checkbox-button {
|
|
1557
|
+
background-color: var(--color-interactive-primary);
|
|
1558
|
+
box-shadow: inset 0 0 0 1px var(--color-interactive-primary);
|
|
1559
|
+
}
|
|
1551
1560
|
.tw-checkbox-button:checked .tw-checkbox-check,
|
|
1552
1561
|
.tw-checkbox-button.checked .tw-checkbox-check,
|
|
1553
1562
|
input[type="checkbox"]:checked + .tw-checkbox-button .tw-checkbox-check {
|
|
1554
1563
|
display: inline-block;
|
|
1555
1564
|
}
|
|
1556
|
-
.
|
|
1557
|
-
|
|
1558
|
-
.np-theme-personal input[type="checkbox"]:checked + .tw-checkbox-button {
|
|
1559
|
-
background-color: var(--color-interactive-primary);
|
|
1560
|
-
box-shadow: inset 0 0 0 1px var(--color-interactive-primary);
|
|
1565
|
+
input[type="checkbox"]:indeterminate + .tw-checkbox-button .np-tw-checkbox-indeterminate {
|
|
1566
|
+
display: inline-block;
|
|
1561
1567
|
}
|
|
1562
1568
|
.tw-checkbox-button:checked:hover,
|
|
1563
1569
|
.tw-checkbox-button.checked:hover,
|
|
1564
|
-
input[type="checkbox"]:not(.disabled):not(:disabled):checked:hover + .tw-checkbox-button
|
|
1570
|
+
input[type="checkbox"]:not(.disabled):not(:disabled):checked:hover + .tw-checkbox-button,
|
|
1571
|
+
input[type="checkbox"]:not(.disabled):not(:disabled):indeterminate:hover + .tw-checkbox-button {
|
|
1565
1572
|
border-color: #008fc9 !important;
|
|
1566
1573
|
border-color: var(--color-interactive-accent-hover) !important;
|
|
1567
1574
|
background-color: #008fc9;
|
|
@@ -1569,14 +1576,16 @@ input[type="checkbox"]:not(.disabled):not(:disabled):checked:hover + .tw-checkbo
|
|
|
1569
1576
|
}
|
|
1570
1577
|
.np-theme-personal .tw-checkbox-button:checked:hover,
|
|
1571
1578
|
.np-theme-personal .tw-checkbox-button.checked:hover,
|
|
1572
|
-
.np-theme-personal input[type="checkbox"]:not(.disabled):not(:disabled):checked:hover + .tw-checkbox-button
|
|
1579
|
+
.np-theme-personal input[type="checkbox"]:not(.disabled):not(:disabled):checked:hover + .tw-checkbox-button,
|
|
1580
|
+
.np-theme-personal input[type="checkbox"]:not(.disabled):not(:disabled):indeterminate:hover + .tw-checkbox-button {
|
|
1573
1581
|
border-color: var(--color-interactive-primary-hover) !important;
|
|
1574
1582
|
background-color: var(--color-interactive-primary-hover);
|
|
1575
1583
|
box-shadow: inset 0 0 0 1px var(--color-interactive-primary-hover);
|
|
1576
1584
|
}
|
|
1577
1585
|
.tw-checkbox-button:checked:active,
|
|
1578
1586
|
.tw-checkbox-button.checked:active,
|
|
1579
|
-
input[type="checkbox"]:not(.disabled):not(:disabled):checked:active + .tw-checkbox-button
|
|
1587
|
+
input[type="checkbox"]:not(.disabled):not(:disabled):checked:active + .tw-checkbox-button,
|
|
1588
|
+
input[type="checkbox"]:not(.disabled):not(:disabled):indeterminate:active + .tw-checkbox-button {
|
|
1580
1589
|
border-color: #0081ba !important;
|
|
1581
1590
|
border-color: var(--color-interactive-accent-active) !important;
|
|
1582
1591
|
background-color: #0081ba;
|
|
@@ -1584,7 +1593,8 @@ input[type="checkbox"]:not(.disabled):not(:disabled):checked:active + .tw-checkb
|
|
|
1584
1593
|
}
|
|
1585
1594
|
.np-theme-personal .tw-checkbox-button:checked:active,
|
|
1586
1595
|
.np-theme-personal .tw-checkbox-button.checked:active,
|
|
1587
|
-
.np-theme-personal input[type="checkbox"]:not(.disabled):not(:disabled):checked:active + .tw-checkbox-button
|
|
1596
|
+
.np-theme-personal input[type="checkbox"]:not(.disabled):not(:disabled):checked:active + .tw-checkbox-button,
|
|
1597
|
+
.np-theme-personal input[type="checkbox"]:not(.disabled):not(:disabled):indeterminate:active + .tw-checkbox-button {
|
|
1588
1598
|
border-color: var(--color-interactive-primary-active) !important;
|
|
1589
1599
|
background-color: var(--color-interactive-primary-active);
|
|
1590
1600
|
box-shadow: inset 0 0 0 1px var(--color-interactive-primary-active);
|
|
@@ -1601,19 +1611,22 @@ input[type="checkbox"]:not(.disabled):not(:disabled):checked:active + .tw-checkb
|
|
|
1601
1611
|
background-color: #e74848;
|
|
1602
1612
|
background-color: var(--color-interactive-negative);
|
|
1603
1613
|
}
|
|
1604
|
-
.checkbox.has-error input[type="checkbox"]:not(.disabled):not(:disabled):checked + .tw-checkbox-button
|
|
1614
|
+
.checkbox.has-error input[type="checkbox"]:not(.disabled):not(:disabled):checked + .tw-checkbox-button,
|
|
1615
|
+
.checkbox.has-error input[type="checkbox"]:not(.disabled):not(:disabled):indeterminate + .tw-checkbox-button {
|
|
1605
1616
|
border-color: #e74848 !important;
|
|
1606
1617
|
border-color: var(--color-interactive-negative) !important;
|
|
1607
1618
|
background-color: #e74848;
|
|
1608
1619
|
background-color: var(--color-interactive-negative);
|
|
1609
1620
|
}
|
|
1610
|
-
.checkbox.has-error input[type="checkbox"]:not(.disabled):not(:disabled):checked:hover + .tw-checkbox-button
|
|
1621
|
+
.checkbox.has-error input[type="checkbox"]:not(.disabled):not(:disabled):checked:hover + .tw-checkbox-button,
|
|
1622
|
+
.checkbox.has-error input[type="checkbox"]:not(.disabled):not(:disabled):checked:indeterminate + .tw-checkbox-button {
|
|
1611
1623
|
border-color: #d03238 !important;
|
|
1612
1624
|
border-color: var(--color-interactive-negative-hover) !important;
|
|
1613
1625
|
background-color: #d03238;
|
|
1614
1626
|
background-color: var(--color-interactive-negative-hover);
|
|
1615
1627
|
}
|
|
1616
|
-
.checkbox.has-error input[type="checkbox"]:not(.disabled):not(:disabled):checked:active + .tw-checkbox-button
|
|
1628
|
+
.checkbox.has-error input[type="checkbox"]:not(.disabled):not(:disabled):checked:active + .tw-checkbox-button,
|
|
1629
|
+
.checkbox.has-error input[type="checkbox"]:not(.disabled):not(:disabled):indeterminate + .tw-checkbox-button {
|
|
1617
1630
|
border-color: #bf1e2c !important;
|
|
1618
1631
|
border-color: var(--color-interactive-negative-active) !important;
|
|
1619
1632
|
background-color: #bf1e2c;
|
package/dist/css/neptune.css
CHANGED
|
@@ -10953,7 +10953,8 @@ select[multiple].input-lg {
|
|
|
10953
10953
|
box-shadow: inset 0 0 0 1px var(--color-interactive-secondary);
|
|
10954
10954
|
}
|
|
10955
10955
|
|
|
10956
|
-
.tw-checkbox-button .tw-checkbox-check
|
|
10956
|
+
.tw-checkbox-button .tw-checkbox-check,
|
|
10957
|
+
.tw-checkbox-button .np-tw-checkbox-indeterminate {
|
|
10957
10958
|
width: 20px;
|
|
10958
10959
|
height: 20px;
|
|
10959
10960
|
margin: 0;
|
|
@@ -11002,29 +11003,36 @@ input[type="checkbox"]:focus-visible + .tw-checkbox-button {
|
|
|
11002
11003
|
|
|
11003
11004
|
.tw-checkbox-button:checked,
|
|
11004
11005
|
.tw-checkbox-button.checked,
|
|
11005
|
-
input[type="checkbox"]:checked + .tw-checkbox-button
|
|
11006
|
+
input[type="checkbox"]:checked + .tw-checkbox-button,
|
|
11007
|
+
input[type="checkbox"]:indeterminate + .tw-checkbox-button {
|
|
11006
11008
|
border-color: #00a2dd !important;
|
|
11007
11009
|
border-color: var(--color-interactive-accent) !important;
|
|
11008
11010
|
background-color: #00a2dd;
|
|
11009
11011
|
background-color: var(--color-interactive-accent);
|
|
11010
11012
|
}
|
|
11011
11013
|
|
|
11014
|
+
.np-theme-personal .tw-checkbox-button:checked,
|
|
11015
|
+
.np-theme-personal .tw-checkbox-button.checked,
|
|
11016
|
+
.np-theme-personal input[type="checkbox"]:checked + .tw-checkbox-button,
|
|
11017
|
+
.np-theme-personal input[type="checkbox"]:indeterminate + .tw-checkbox-button {
|
|
11018
|
+
background-color: var(--color-interactive-primary);
|
|
11019
|
+
box-shadow: inset 0 0 0 1px var(--color-interactive-primary);
|
|
11020
|
+
}
|
|
11021
|
+
|
|
11012
11022
|
.tw-checkbox-button:checked .tw-checkbox-check,
|
|
11013
11023
|
.tw-checkbox-button.checked .tw-checkbox-check,
|
|
11014
11024
|
input[type="checkbox"]:checked + .tw-checkbox-button .tw-checkbox-check {
|
|
11015
11025
|
display: inline-block;
|
|
11016
11026
|
}
|
|
11017
11027
|
|
|
11018
|
-
.
|
|
11019
|
-
|
|
11020
|
-
.np-theme-personal input[type="checkbox"]:checked + .tw-checkbox-button {
|
|
11021
|
-
background-color: var(--color-interactive-primary);
|
|
11022
|
-
box-shadow: inset 0 0 0 1px var(--color-interactive-primary);
|
|
11028
|
+
input[type="checkbox"]:indeterminate + .tw-checkbox-button .np-tw-checkbox-indeterminate {
|
|
11029
|
+
display: inline-block;
|
|
11023
11030
|
}
|
|
11024
11031
|
|
|
11025
11032
|
.tw-checkbox-button:checked:hover,
|
|
11026
11033
|
.tw-checkbox-button.checked:hover,
|
|
11027
|
-
input[type="checkbox"]:not(.disabled):not(:disabled):checked:hover + .tw-checkbox-button
|
|
11034
|
+
input[type="checkbox"]:not(.disabled):not(:disabled):checked:hover + .tw-checkbox-button,
|
|
11035
|
+
input[type="checkbox"]:not(.disabled):not(:disabled):indeterminate:hover + .tw-checkbox-button {
|
|
11028
11036
|
border-color: #008fc9 !important;
|
|
11029
11037
|
border-color: var(--color-interactive-accent-hover) !important;
|
|
11030
11038
|
background-color: #008fc9;
|
|
@@ -11033,7 +11041,8 @@ input[type="checkbox"]:not(.disabled):not(:disabled):checked:hover + .tw-checkbo
|
|
|
11033
11041
|
|
|
11034
11042
|
.np-theme-personal .tw-checkbox-button:checked:hover,
|
|
11035
11043
|
.np-theme-personal .tw-checkbox-button.checked:hover,
|
|
11036
|
-
.np-theme-personal input[type="checkbox"]:not(.disabled):not(:disabled):checked:hover + .tw-checkbox-button
|
|
11044
|
+
.np-theme-personal input[type="checkbox"]:not(.disabled):not(:disabled):checked:hover + .tw-checkbox-button,
|
|
11045
|
+
.np-theme-personal input[type="checkbox"]:not(.disabled):not(:disabled):indeterminate:hover + .tw-checkbox-button {
|
|
11037
11046
|
border-color: var(--color-interactive-primary-hover) !important;
|
|
11038
11047
|
background-color: var(--color-interactive-primary-hover);
|
|
11039
11048
|
box-shadow: inset 0 0 0 1px var(--color-interactive-primary-hover);
|
|
@@ -11041,7 +11050,8 @@ input[type="checkbox"]:not(.disabled):not(:disabled):checked:hover + .tw-checkbo
|
|
|
11041
11050
|
|
|
11042
11051
|
.tw-checkbox-button:checked:active,
|
|
11043
11052
|
.tw-checkbox-button.checked:active,
|
|
11044
|
-
input[type="checkbox"]:not(.disabled):not(:disabled):checked:active + .tw-checkbox-button
|
|
11053
|
+
input[type="checkbox"]:not(.disabled):not(:disabled):checked:active + .tw-checkbox-button,
|
|
11054
|
+
input[type="checkbox"]:not(.disabled):not(:disabled):indeterminate:active + .tw-checkbox-button {
|
|
11045
11055
|
border-color: #0081ba !important;
|
|
11046
11056
|
border-color: var(--color-interactive-accent-active) !important;
|
|
11047
11057
|
background-color: #0081ba;
|
|
@@ -11050,7 +11060,8 @@ input[type="checkbox"]:not(.disabled):not(:disabled):checked:active + .tw-checkb
|
|
|
11050
11060
|
|
|
11051
11061
|
.np-theme-personal .tw-checkbox-button:checked:active,
|
|
11052
11062
|
.np-theme-personal .tw-checkbox-button.checked:active,
|
|
11053
|
-
.np-theme-personal input[type="checkbox"]:not(.disabled):not(:disabled):checked:active + .tw-checkbox-button
|
|
11063
|
+
.np-theme-personal input[type="checkbox"]:not(.disabled):not(:disabled):checked:active + .tw-checkbox-button,
|
|
11064
|
+
.np-theme-personal input[type="checkbox"]:not(.disabled):not(:disabled):indeterminate:active + .tw-checkbox-button {
|
|
11054
11065
|
border-color: var(--color-interactive-primary-active) !important;
|
|
11055
11066
|
background-color: var(--color-interactive-primary-active);
|
|
11056
11067
|
box-shadow: inset 0 0 0 1px var(--color-interactive-primary-active);
|
|
@@ -11070,21 +11081,24 @@ input[type="checkbox"]:not(.disabled):not(:disabled):checked:active + .tw-checkb
|
|
|
11070
11081
|
background-color: var(--color-interactive-negative);
|
|
11071
11082
|
}
|
|
11072
11083
|
|
|
11073
|
-
.checkbox.has-error input[type="checkbox"]:not(.disabled):not(:disabled):checked + .tw-checkbox-button
|
|
11084
|
+
.checkbox.has-error input[type="checkbox"]:not(.disabled):not(:disabled):checked + .tw-checkbox-button,
|
|
11085
|
+
.checkbox.has-error input[type="checkbox"]:not(.disabled):not(:disabled):indeterminate + .tw-checkbox-button {
|
|
11074
11086
|
border-color: #e74848 !important;
|
|
11075
11087
|
border-color: var(--color-interactive-negative) !important;
|
|
11076
11088
|
background-color: #e74848;
|
|
11077
11089
|
background-color: var(--color-interactive-negative);
|
|
11078
11090
|
}
|
|
11079
11091
|
|
|
11080
|
-
.checkbox.has-error input[type="checkbox"]:not(.disabled):not(:disabled):checked:hover + .tw-checkbox-button
|
|
11092
|
+
.checkbox.has-error input[type="checkbox"]:not(.disabled):not(:disabled):checked:hover + .tw-checkbox-button,
|
|
11093
|
+
.checkbox.has-error input[type="checkbox"]:not(.disabled):not(:disabled):checked:indeterminate + .tw-checkbox-button {
|
|
11081
11094
|
border-color: #d03238 !important;
|
|
11082
11095
|
border-color: var(--color-interactive-negative-hover) !important;
|
|
11083
11096
|
background-color: #d03238;
|
|
11084
11097
|
background-color: var(--color-interactive-negative-hover);
|
|
11085
11098
|
}
|
|
11086
11099
|
|
|
11087
|
-
.checkbox.has-error input[type="checkbox"]:not(.disabled):not(:disabled):checked:active + .tw-checkbox-button
|
|
11100
|
+
.checkbox.has-error input[type="checkbox"]:not(.disabled):not(:disabled):checked:active + .tw-checkbox-button,
|
|
11101
|
+
.checkbox.has-error input[type="checkbox"]:not(.disabled):not(:disabled):indeterminate + .tw-checkbox-button {
|
|
11088
11102
|
border-color: #bf1e2c !important;
|
|
11089
11103
|
border-color: var(--color-interactive-negative-active) !important;
|
|
11090
11104
|
background-color: #bf1e2c;
|
package/package.json
CHANGED
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
box-shadow: inset 0 0 0 1px var(--color-interactive-secondary);
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
.tw-checkbox-check {
|
|
42
|
+
.tw-checkbox-check, .np-tw-checkbox-indeterminate {
|
|
43
43
|
width: 20px;
|
|
44
44
|
height: 20px;
|
|
45
45
|
margin: 0;
|
|
@@ -79,23 +79,36 @@
|
|
|
79
79
|
|
|
80
80
|
&:checked,
|
|
81
81
|
&.checked,
|
|
82
|
-
input[type="checkbox"]:checked +
|
|
82
|
+
input[type="checkbox"]:checked + &,
|
|
83
|
+
input[type="checkbox"]:indeterminate + & {
|
|
83
84
|
border-color: var(--color-interactive-accent) !important;
|
|
84
85
|
background-color: var(--color-interactive-accent);
|
|
85
86
|
|
|
87
|
+
.np-theme-personal & {
|
|
88
|
+
background-color: var(--color-interactive-primary);
|
|
89
|
+
box-shadow: inset 0 0 0 1px var(--color-interactive-primary);
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
&:checked,
|
|
94
|
+
&.checked,
|
|
95
|
+
input[type="checkbox"]:checked + & {
|
|
86
96
|
.tw-checkbox-check {
|
|
87
97
|
display: inline-block;
|
|
88
98
|
}
|
|
89
99
|
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
input[type="checkbox"]:indeterminate + & {
|
|
103
|
+
.np-tw-checkbox-indeterminate {
|
|
104
|
+
display: inline-block;
|
|
93
105
|
}
|
|
94
106
|
}
|
|
95
107
|
|
|
96
108
|
&:checked:hover,
|
|
97
109
|
&.checked:hover,
|
|
98
|
-
input[type="checkbox"]:not(.disabled, :disabled):checked:hover +
|
|
110
|
+
input[type="checkbox"]:not(.disabled, :disabled):checked:hover + &,
|
|
111
|
+
input[type="checkbox"]:not(.disabled, :disabled):indeterminate:hover + & {
|
|
99
112
|
border-color: var(--color-interactive-accent-hover) !important;
|
|
100
113
|
background-color: var(--color-interactive-accent-hover);
|
|
101
114
|
|
|
@@ -108,7 +121,8 @@
|
|
|
108
121
|
|
|
109
122
|
&:checked:active,
|
|
110
123
|
&.checked:active,
|
|
111
|
-
input[type="checkbox"]:not(.disabled, :disabled):checked:active +
|
|
124
|
+
input[type="checkbox"]:not(.disabled, :disabled):checked:active + &,
|
|
125
|
+
input[type="checkbox"]:not(.disabled, :disabled):indeterminate:active + & {
|
|
112
126
|
border-color: var(--color-interactive-accent-active) !important;
|
|
113
127
|
background-color: var(--color-interactive-accent-active);
|
|
114
128
|
|
|
@@ -129,17 +143,20 @@
|
|
|
129
143
|
}
|
|
130
144
|
}
|
|
131
145
|
|
|
132
|
-
.checkbox.has-error input[type="checkbox"]:not(.disabled, :disabled):checked +
|
|
146
|
+
.checkbox.has-error input[type="checkbox"]:not(.disabled, :disabled):checked + &,
|
|
147
|
+
.checkbox.has-error input[type="checkbox"]:not(.disabled, :disabled):indeterminate + & {
|
|
133
148
|
border-color: var(--color-interactive-negative) !important;
|
|
134
149
|
background-color: var(--color-interactive-negative);
|
|
135
150
|
}
|
|
136
151
|
|
|
137
|
-
.checkbox.has-error input[type="checkbox"]:not(.disabled, :disabled):checked:hover +
|
|
152
|
+
.checkbox.has-error input[type="checkbox"]:not(.disabled, :disabled):checked:hover + &,
|
|
153
|
+
.checkbox.has-error input[type="checkbox"]:not(.disabled, :disabled):checked:indeterminate + & {
|
|
138
154
|
border-color: var(--color-interactive-negative-hover) !important;
|
|
139
155
|
background-color: var(--color-interactive-negative-hover);
|
|
140
156
|
}
|
|
141
157
|
|
|
142
|
-
.checkbox.has-error input[type="checkbox"]:not(.disabled, :disabled):checked:active +
|
|
158
|
+
.checkbox.has-error input[type="checkbox"]:not(.disabled, :disabled):checked:active + &,
|
|
159
|
+
.checkbox.has-error input[type="checkbox"]:not(.disabled, :disabled):indeterminate + & {
|
|
143
160
|
border-color: var(--color-interactive-negative-active) !important;
|
|
144
161
|
background-color: var(--color-interactive-negative-active);
|
|
145
162
|
}
|
package/src/less/tick.less
CHANGED