@transferwise/neptune-css 14.9.1 → 14.9.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/dist/css/flex.css CHANGED
@@ -205,7 +205,7 @@
205
205
  .visible-xl-inline {
206
206
  display: none !important;
207
207
  }
208
- @media not all and (min-width: 576px) {
208
+ @media (max-width: 575px) {
209
209
  .hidden-xs {
210
210
  display: none !important;
211
211
  }
@@ -228,7 +228,7 @@
228
228
  display: inline-flex;
229
229
  }
230
230
  }
231
- @media (min-width: 576px) and not all and (min-width: 768px) {
231
+ @media (min-width: 576px) and (max-width: 767px) {
232
232
  .hidden-sm {
233
233
  display: none !important;
234
234
  }
@@ -251,7 +251,7 @@
251
251
  display: inline-flex;
252
252
  }
253
253
  }
254
- @media (min-width: 768px) and not all and (min-width: 992px) {
254
+ @media (min-width: 768px) and (max-width: 991px) {
255
255
  .hidden-md {
256
256
  display: none !important;
257
257
  }
@@ -274,7 +274,7 @@
274
274
  display: inline-flex;
275
275
  }
276
276
  }
277
- @media (min-width: 992px) and not all and (min-width: 1200px) {
277
+ @media (min-width: 992px) and (max-width: 1199px) {
278
278
  .hidden-lg {
279
279
  display: none !important;
280
280
  }
@@ -1242,7 +1242,7 @@ html:not([dir="rtl"]) .p-x-panel {
1242
1242
  .visible-xl-inline {
1243
1243
  display: none !important;
1244
1244
  }
1245
- @media not all and (min-width: 576px) {
1245
+ @media (max-width: 575px) {
1246
1246
  .hidden-xs {
1247
1247
  display: none !important;
1248
1248
  }
@@ -1265,7 +1265,7 @@ html:not([dir="rtl"]) .p-x-panel {
1265
1265
  display: inline-flex;
1266
1266
  }
1267
1267
  }
1268
- @media (min-width: 576px) and not all and (min-width: 768px) {
1268
+ @media (min-width: 576px) and (max-width: 767px) {
1269
1269
  .hidden-sm {
1270
1270
  display: none !important;
1271
1271
  }
@@ -1288,7 +1288,7 @@ html:not([dir="rtl"]) .p-x-panel {
1288
1288
  display: inline-flex;
1289
1289
  }
1290
1290
  }
1291
- @media (min-width: 768px) and not all and (min-width: 992px) {
1291
+ @media (min-width: 768px) and (max-width: 991px) {
1292
1292
  .hidden-md {
1293
1293
  display: none !important;
1294
1294
  }
@@ -1311,7 +1311,7 @@ html:not([dir="rtl"]) .p-x-panel {
1311
1311
  display: inline-flex;
1312
1312
  }
1313
1313
  }
1314
- @media (min-width: 992px) and not all and (min-width: 1200px) {
1314
+ @media (min-width: 992px) and (max-width: 1199px) {
1315
1315
  .hidden-lg {
1316
1316
  display: none !important;
1317
1317
  }
@@ -335,7 +335,7 @@ summary {
335
335
  }
336
336
  :root {
337
337
  --base-font-size: 16px;
338
- --font-family-regular: averta, avenir w02, avenir, helvetica, arial, sans-serif;
338
+ --font-family-regular: "Inter", Helvetica, Arial, sans-serif;
339
339
  --input-group-addon-padding: 12px 16px calc(12px - 2px);
340
340
  --btn-padding: 12px 24px calc(12px - 2px);
341
341
  --btn-xs-padding: 2px 8px calc(2px - 2px);
@@ -356,15 +356,13 @@ summary {
356
356
  .np-theme-navy {
357
357
  --font-family-regular: averta, avenir w02, avenir, helvetica, arial, sans-serif !important;
358
358
  font-family: averta, avenir w02, avenir, helvetica, arial, sans-serif;
359
- font-family: 'Inter', Helvetica, Arial, sans-serif;
360
359
  font-family: var(--font-family-regular);
361
360
  line-height: 1.5;
362
361
  line-height: var(--line-height-body);
363
362
  }
364
363
  .np-theme-personal {
365
- --font-family-regular: "Inter", sans-serif, helvetica, arial, sans-serif !important;
366
- font-family: "Inter", sans-serif, helvetica, arial, sans-serif;
367
- font-family: 'Inter', Helvetica, Arial, sans-serif;
364
+ --font-family-regular: "Inter", Helvetica, Arial, sans-serif !important;
365
+ font-family: "Inter", Helvetica, Arial, sans-serif;
368
366
  font-family: var(--font-family-regular);
369
367
  font-feature-settings: "calt";
370
368
  --input-group-addon-padding: 12px 16px;
@@ -396,7 +394,6 @@ summary {
396
394
  html {
397
395
  font-size: 16px;
398
396
  font-size: var(--base-font-size);
399
- font-family: averta, avenir w02, avenir, helvetica, arial, sans-serif;
400
397
  font-family: 'Inter', Helvetica, Arial, sans-serif;
401
398
  font-family: var(--font-family-regular);
402
399
  color: #5d7079;
@@ -1479,7 +1479,7 @@ summary {
1479
1479
 
1480
1480
  :root {
1481
1481
  --base-font-size: 16px;
1482
- --font-family-regular: averta, avenir w02, avenir, helvetica, arial, sans-serif;
1482
+ --font-family-regular: "Inter", Helvetica, Arial, sans-serif;
1483
1483
  --input-group-addon-padding: 12px 16px calc(12px - 2px);
1484
1484
  --btn-padding: 12px 24px calc(12px - 2px);
1485
1485
  --btn-xs-padding: 2px 8px calc(2px - 2px);
@@ -1501,16 +1501,14 @@ summary {
1501
1501
  .np-theme-navy {
1502
1502
  --font-family-regular: averta, avenir w02, avenir, helvetica, arial, sans-serif !important;
1503
1503
  font-family: averta, avenir w02, avenir, helvetica, arial, sans-serif;
1504
- font-family: 'Inter', Helvetica, Arial, sans-serif;
1505
1504
  font-family: var(--font-family-regular);
1506
1505
  line-height: 1.5;
1507
1506
  line-height: var(--line-height-body);
1508
1507
  }
1509
1508
 
1510
1509
  .np-theme-personal {
1511
- --font-family-regular: "Inter", sans-serif, helvetica, arial, sans-serif !important;
1512
- font-family: "Inter", sans-serif, helvetica, arial, sans-serif;
1513
- font-family: 'Inter', Helvetica, Arial, sans-serif;
1510
+ --font-family-regular: "Inter", Helvetica, Arial, sans-serif !important;
1511
+ font-family: "Inter", Helvetica, Arial, sans-serif;
1514
1512
  font-family: var(--font-family-regular);
1515
1513
  font-feature-settings: "calt";
1516
1514
  --input-group-addon-padding: 12px 16px;
@@ -1543,7 +1541,6 @@ summary {
1543
1541
  html {
1544
1542
  font-size: 16px;
1545
1543
  font-size: var(--base-font-size);
1546
- font-family: averta, avenir w02, avenir, helvetica, arial, sans-serif;
1547
1544
  font-family: 'Inter', Helvetica, Arial, sans-serif;
1548
1545
  font-family: var(--font-family-regular);
1549
1546
  color: #5d7079;
@@ -4128,7 +4125,7 @@ html:not([dir="rtl"]) .p-x-panel {
4128
4125
  display: none !important;
4129
4126
  }
4130
4127
 
4131
- @media not all and (min-width: 576px) {
4128
+ @media (max-width: 575px) {
4132
4129
  .hidden-xs {
4133
4130
  display: none !important;
4134
4131
  }
@@ -4153,7 +4150,7 @@ html:not([dir="rtl"]) .p-x-panel {
4153
4150
  }
4154
4151
  }
4155
4152
 
4156
- @media (min-width: 576px) and not all and (min-width: 768px) {
4153
+ @media (min-width: 576px) and (max-width: 767px) {
4157
4154
  .hidden-sm {
4158
4155
  display: none !important;
4159
4156
  }
@@ -4178,7 +4175,7 @@ html:not([dir="rtl"]) .p-x-panel {
4178
4175
  }
4179
4176
  }
4180
4177
 
4181
- @media (min-width: 768px) and not all and (min-width: 992px) {
4178
+ @media (min-width: 768px) and (max-width: 991px) {
4182
4179
  .hidden-md {
4183
4180
  display: none !important;
4184
4181
  }
@@ -4203,7 +4200,7 @@ html:not([dir="rtl"]) .p-x-panel {
4203
4200
  }
4204
4201
  }
4205
4202
 
4206
- @media (min-width: 992px) and not all and (min-width: 1200px) {
4203
+ @media (min-width: 992px) and (max-width: 1199px) {
4207
4204
  .hidden-lg {
4208
4205
  display: none !important;
4209
4206
  }
@@ -11325,7 +11322,6 @@ li > a > .currency-flag:first-child {
11325
11322
  outline: #37517e solid 2px;
11326
11323
  outline: var(--ring-outline-color) solid var(--ring-outline-width);
11327
11324
  outline-offset: 0;
11328
- outline-offset: 2px;
11329
11325
  outline-offset: var(--ring-outline-offset);
11330
11326
  --ring-outline-offset: 0;
11331
11327
  }
@@ -19496,7 +19492,6 @@ html:not([dir="rtl"]) .panel > .table-responsive > .table-bordered > tfoot > tr
19496
19492
  z-index: 1060;
19497
19493
  width: 276px;
19498
19494
  padding: 18px 24px;
19499
- font-family: averta, avenir w02, avenir, helvetica, arial, sans-serif;
19500
19495
  font-family: 'Inter', Helvetica, Arial, sans-serif;
19501
19496
  font-family: var(--font-family-regular);
19502
19497
  font-style: normal;
@@ -22432,7 +22427,6 @@ table col[class*="col-"] {
22432
22427
  position: absolute;
22433
22428
  z-index: 1070;
22434
22429
  display: block;
22435
- font-family: averta, avenir w02, avenir, helvetica, arial, sans-serif;
22436
22430
  font-family: 'Inter', Helvetica, Arial, sans-serif;
22437
22431
  font-family: var(--font-family-regular);
22438
22432
  font-style: normal;
package/dist/css/ring.css CHANGED
@@ -11,8 +11,6 @@
11
11
  outline: none;
12
12
  }
13
13
  .focus-ring:focus-visible {
14
- outline: #37517e solid 2px;
15
- outline: var(--color-content-primary) solid 2px;
16
14
  outline: #37517e solid 2px;
17
15
  outline: var(--ring-outline-color) solid var(--ring-outline-width);
18
16
  outline-offset: 2px;
@@ -40,8 +38,6 @@ dialog:focus-visible,
40
38
  input:focus-visible,
41
39
  select:focus-visible,
42
40
  textarea:focus-visible {
43
- outline: #37517e solid 2px;
44
- outline: var(--color-content-primary) solid 2px;
45
41
  outline: #37517e solid 2px;
46
42
  outline: var(--ring-outline-color) solid var(--ring-outline-width);
47
43
  outline-offset: 2px;
@@ -286,7 +286,7 @@ a.text-inverse:focus {
286
286
  .visible-xl-inline {
287
287
  display: none !important;
288
288
  }
289
- @media not all and (min-width: 576px) {
289
+ @media (max-width: 575px) {
290
290
  .hidden-xs {
291
291
  display: none !important;
292
292
  }
@@ -309,7 +309,7 @@ a.text-inverse:focus {
309
309
  display: inline-flex;
310
310
  }
311
311
  }
312
- @media (min-width: 576px) and not all and (min-width: 768px) {
312
+ @media (min-width: 576px) and (max-width: 767px) {
313
313
  .hidden-sm {
314
314
  display: none !important;
315
315
  }
@@ -332,7 +332,7 @@ a.text-inverse:focus {
332
332
  display: inline-flex;
333
333
  }
334
334
  }
335
- @media (min-width: 768px) and not all and (min-width: 992px) {
335
+ @media (min-width: 768px) and (max-width: 991px) {
336
336
  .hidden-md {
337
337
  display: none !important;
338
338
  }
@@ -355,7 +355,7 @@ a.text-inverse:focus {
355
355
  display: inline-flex;
356
356
  }
357
357
  }
358
- @media (min-width: 992px) and not all and (min-width: 1200px) {
358
+ @media (min-width: 992px) and (max-width: 1199px) {
359
359
  .hidden-lg {
360
360
  display: none !important;
361
361
  }
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.9.1",
4
+ "version": "14.9.2",
5
5
  "license": "MIT",
6
6
  "repository": {
7
7
  "type": "git",
@@ -15,7 +15,7 @@
15
15
  :root {
16
16
  // page default font size should be set in absolute units (pixels)
17
17
  --base-font-size: 16px;
18
- --font-family-regular: averta, avenir w02, avenir, helvetica, arial, sans-serif;
18
+ --font-family-regular: "Inter", Helvetica, Arial, sans-serif;
19
19
  --input-group-addon-padding: @padding-large-vertical @padding-base-horizontal calc(@padding-large-vertical - 2px);
20
20
  --btn-padding: @btn-padding-vertical @btn-padding-horizontal calc(@btn-padding-vertical - 2px);
21
21
  --btn-xs-padding: @btn-xs-padding-vertical @btn-xs-padding-horizontal calc(@btn-xs-padding-vertical - 2px);
@@ -42,7 +42,7 @@
42
42
  }
43
43
 
44
44
  .np-theme-personal {
45
- --font-family-regular: "Inter", sans-serif, helvetica, arial, sans-serif !important;
45
+ --font-family-regular: "Inter", Helvetica, Arial, sans-serif !important;
46
46
 
47
47
  font-family: var(--font-family-regular);
48
48
  font-feature-settings: "calt";
@@ -44,7 +44,7 @@
44
44
  display: none !important;
45
45
  }
46
46
 
47
- @media not all and (--screen-sm) {
47
+ @media (--screen-xs-max) {
48
48
  .hidden-xs {
49
49
  display: none !important;
50
50
  }
@@ -72,7 +72,7 @@
72
72
  display: inline-flex;
73
73
  }
74
74
 
75
- @media not all and (--screen-md) {
75
+ @media (--screen-sm-max) {
76
76
  .hidden-sm {
77
77
  display: none !important;
78
78
  }
@@ -101,7 +101,7 @@
101
101
  display: inline-flex;
102
102
  }
103
103
 
104
- @media not all and (--screen-lg) {
104
+ @media (--screen-md-max) {
105
105
  .hidden-md {
106
106
  display: none !important;
107
107
  }
@@ -130,7 +130,7 @@
130
130
  display: inline-flex;
131
131
  }
132
132
 
133
- @media not all and (--screen-xl) {
133
+ @media (--screen-lg-max) {
134
134
  .hidden-lg {
135
135
  display: none !important;
136
136
  }