@transferwise/neptune-css 14.3.9 → 14.3.11
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/buttons.css +1 -1
- package/dist/css/input-groups.css +1 -1
- package/dist/css/neptune-core.css +1 -1
- package/dist/css/neptune.css +1 -1
- package/dist/fonts/inter-cyrillic-ext-variable-wghtOnly-normal.woff2 +0 -0
- package/dist/fonts/inter-cyrillic-variable-wghtOnly-normal.woff2 +0 -0
- package/dist/fonts/inter-greek-ext-variable-wghtOnly-normal.woff2 +0 -0
- package/dist/fonts/inter-greek-variable-wghtOnly-normal.woff2 +0 -0
- package/dist/fonts/inter-latin-ext-variable-wghtOnly-normal.woff2 +0 -0
- package/dist/fonts/inter-latin-variable-wghtOnly-normal.woff2 +0 -0
- package/dist/fonts/inter-vietnamese-variable-wghtOnly-normal.woff2 +0 -0
- package/package.json +2 -2
- package/src/fonts/inter-cyrillic-ext-variable-wghtOnly-normal.woff2 +0 -0
- package/src/fonts/inter-cyrillic-variable-wghtOnly-normal.woff2 +0 -0
- package/src/fonts/inter-greek-ext-variable-wghtOnly-normal.woff2 +0 -0
- package/src/fonts/inter-greek-variable-wghtOnly-normal.woff2 +0 -0
- package/src/fonts/inter-latin-ext-variable-wghtOnly-normal.woff2 +0 -0
- package/src/fonts/inter-latin-variable-wghtOnly-normal.woff2 +0 -0
- package/src/fonts/inter-vietnamese-variable-wghtOnly-normal.woff2 +0 -0
- package/src/less/buttons.less +15 -39
- package/src/less/core/_fonts.less +35 -12
- package/src/less/core/_scaffolding.less +9 -3
- package/src/less/forms/bootstrap-forms.less +6 -3
- package/dist/fonts/inter-latin_cyrillic-300.woff2 +0 -0
- package/dist/fonts/inter-latin_cyrillic-400.woff2 +0 -0
- package/dist/fonts/inter-latin_cyrillic-500.woff2 +0 -0
- package/dist/fonts/inter-latin_cyrillic-600.woff2 +0 -0
- package/dist/fonts/inter-latin_cyrillic-800.woff2 +0 -0
- package/dist/fonts/inter-latin_cyrillic-900.woff2 +0 -0
- package/src/fonts/inter-latin_cyrillic-300.woff2 +0 -0
- package/src/fonts/inter-latin_cyrillic-400.woff2 +0 -0
- package/src/fonts/inter-latin_cyrillic-500.woff2 +0 -0
- package/src/fonts/inter-latin_cyrillic-600.woff2 +0 -0
- package/src/fonts/inter-latin_cyrillic-800.woff2 +0 -0
- package/src/fonts/inter-latin_cyrillic-900.woff2 +0 -0
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
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.
|
|
4
|
+
"version": "14.3.11",
|
|
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": "
|
|
56
|
+
"gitHead": "1e58bbd980b270ca3824ed4434365fdd1208b4a1"
|
|
57
57
|
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/src/less/buttons.less
CHANGED
|
@@ -27,16 +27,13 @@
|
|
|
27
27
|
var(--btn-padding);
|
|
28
28
|
var(--font-size-16);
|
|
29
29
|
var(--line-height-24);
|
|
30
|
-
|
|
30
|
+
var(--btn-radius-base);
|
|
31
31
|
@btn-height
|
|
32
32
|
);
|
|
33
33
|
|
|
34
34
|
.np-theme-personal & {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
@btn-font-size;
|
|
38
|
-
@btn-line-height
|
|
39
|
-
);
|
|
35
|
+
font-size: @btn-font-size;
|
|
36
|
+
line-height: @btn-line-height;
|
|
40
37
|
}
|
|
41
38
|
|
|
42
39
|
user-select: none;
|
|
@@ -431,16 +428,13 @@
|
|
|
431
428
|
var(--btn-lg-padding);
|
|
432
429
|
var(--font-size-18);
|
|
433
430
|
var(--line-height-28);
|
|
434
|
-
|
|
431
|
+
var(--btn-lg-radius-base);
|
|
435
432
|
@btn-lg-height
|
|
436
433
|
);
|
|
437
434
|
|
|
438
435
|
.np-theme-personal & {
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
@btn-lg-font-size;
|
|
442
|
-
@btn-lg-line-height
|
|
443
|
-
);
|
|
436
|
+
font-size: @btn-lg-font-size;
|
|
437
|
+
line-height: @btn-lg-line-height;
|
|
444
438
|
}
|
|
445
439
|
|
|
446
440
|
.btn-loader {
|
|
@@ -454,16 +448,13 @@
|
|
|
454
448
|
var(--btn-sm-padding);
|
|
455
449
|
var(--font-size-14);
|
|
456
450
|
var(--line-height-22);
|
|
457
|
-
|
|
451
|
+
var(--btn-sm-radius-base);
|
|
458
452
|
@btn-sm-height
|
|
459
453
|
);
|
|
460
454
|
|
|
461
455
|
.np-theme-personal & {
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
@btn-sm-font-size;
|
|
465
|
-
@btn-sm-line-height
|
|
466
|
-
);
|
|
456
|
+
font-size: @btn-sm-font-size;
|
|
457
|
+
line-height: @btn-sm-line-height;
|
|
467
458
|
}
|
|
468
459
|
}
|
|
469
460
|
|
|
@@ -472,16 +463,13 @@
|
|
|
472
463
|
var(--btn-xs-padding);
|
|
473
464
|
var(--font-size-12);
|
|
474
465
|
var(--line-height-20);
|
|
475
|
-
|
|
466
|
+
var(--btn-sm-radius-base);
|
|
476
467
|
@btn-xs-height
|
|
477
468
|
);
|
|
478
469
|
|
|
479
470
|
.np-theme-personal & {
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
@btn-xs-font-size;
|
|
483
|
-
@btn-xs-line-height
|
|
484
|
-
);
|
|
471
|
+
font-size: @btn-xs-font-size;
|
|
472
|
+
line-height: @btn-xs-line-height;
|
|
485
473
|
|
|
486
474
|
.btn-loader {
|
|
487
475
|
margin-left: calc(var(--padding-x-small) / 2) !important;
|
|
@@ -497,16 +485,13 @@
|
|
|
497
485
|
var(--btn-padding);
|
|
498
486
|
var(--font-size-16);
|
|
499
487
|
var(--line-height-24);
|
|
500
|
-
|
|
488
|
+
var(border-radius-base);
|
|
501
489
|
@btn-height
|
|
502
490
|
);
|
|
503
491
|
|
|
504
492
|
.np-theme-personal & {
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
@btn-font-size;
|
|
508
|
-
@btn-line-height
|
|
509
|
-
);
|
|
493
|
+
font-size: @btn-font-size;
|
|
494
|
+
line-height: @btn-line-height;
|
|
510
495
|
|
|
511
496
|
max-height: @btn-height;
|
|
512
497
|
}
|
|
@@ -559,15 +544,6 @@ input[type="button"] {
|
|
|
559
544
|
color: var(--color-content-accent);
|
|
560
545
|
}
|
|
561
546
|
|
|
562
|
-
.form-control-placeholder {
|
|
563
|
-
text-overflow: ellipsis;
|
|
564
|
-
overflow: hidden;
|
|
565
|
-
display: block;
|
|
566
|
-
width: 100%;
|
|
567
|
-
font-weight: var(--font-weight-regular);
|
|
568
|
-
color: var(--color-content-primary);
|
|
569
|
-
}
|
|
570
|
-
|
|
571
547
|
&.btn-sm {
|
|
572
548
|
.padding(left, 12px);
|
|
573
549
|
|
|
@@ -1,43 +1,66 @@
|
|
|
1
|
+
/* See: https://github.com/fontsource/fontsource/blob/main/fonts/google/inter/variable.css */
|
|
2
|
+
|
|
1
3
|
@font-face {
|
|
2
|
-
font-weight: var(--font-weight-light);
|
|
3
4
|
font-family: Inter;
|
|
4
|
-
|
|
5
|
+
font-style: normal;
|
|
5
6
|
font-display: swap;
|
|
7
|
+
font-weight: 100 900;
|
|
8
|
+
src: url("../fonts/inter-cyrillic-variable-wghtOnly-normal.woff2") format("woff2");
|
|
9
|
+
unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
|
|
6
10
|
}
|
|
7
11
|
|
|
8
12
|
@font-face {
|
|
9
|
-
font-weight: var(--font-weight-regular);
|
|
10
13
|
font-family: Inter;
|
|
11
|
-
|
|
14
|
+
font-style: normal;
|
|
12
15
|
font-display: swap;
|
|
16
|
+
font-weight: 100 900;
|
|
17
|
+
src: url("../fonts/inter-cyrillic-ext-variable-wghtOnly-normal.woff2") format("woff2");
|
|
18
|
+
unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
|
|
13
19
|
}
|
|
14
20
|
|
|
15
21
|
@font-face {
|
|
16
|
-
font-weight: var(--font-weight-medium);
|
|
17
22
|
font-family: Inter;
|
|
18
|
-
|
|
23
|
+
font-style: normal;
|
|
19
24
|
font-display: swap;
|
|
25
|
+
font-weight: 100 900;
|
|
26
|
+
src: url("../fonts/inter-greek-variable-wghtOnly-normal.woff2") format("woff2");
|
|
27
|
+
unicode-range: U+0370-03FF;
|
|
20
28
|
}
|
|
21
29
|
|
|
22
30
|
@font-face {
|
|
23
|
-
font-weight: var(--font-weight-semi-bold);
|
|
24
31
|
font-family: Inter;
|
|
25
|
-
|
|
32
|
+
font-style: normal;
|
|
26
33
|
font-display: swap;
|
|
34
|
+
font-weight: 100 900;
|
|
35
|
+
src: url("../fonts/inter-greek-ext-variable-wghtOnly-normal.woff2") format("woff2");
|
|
36
|
+
unicode-range: U+1F00-1FFF;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
@font-face {
|
|
40
|
+
font-family: Inter;
|
|
41
|
+
font-style: normal;
|
|
42
|
+
font-display: swap;
|
|
43
|
+
font-weight: 100 900;
|
|
44
|
+
src: url("../fonts/inter-latin-variable-wghtOnly-normal.woff2") format("woff2");
|
|
45
|
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
|
27
46
|
}
|
|
28
47
|
|
|
29
48
|
@font-face {
|
|
30
|
-
font-weight: var(--font-weight-bold);
|
|
31
49
|
font-family: Inter;
|
|
32
|
-
|
|
50
|
+
font-style: normal;
|
|
33
51
|
font-display: swap;
|
|
52
|
+
font-weight: 100 900;
|
|
53
|
+
src: url("../fonts/inter-latin-ext-variable-wghtOnly-normal.woff2") format("woff2");
|
|
54
|
+
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
34
55
|
}
|
|
35
56
|
|
|
36
57
|
@font-face {
|
|
37
|
-
font-weight: var(--font-weight-black);
|
|
38
58
|
font-family: Inter;
|
|
39
|
-
|
|
59
|
+
font-style: normal;
|
|
40
60
|
font-display: swap;
|
|
61
|
+
font-weight: 100 900;
|
|
62
|
+
src: url("../fonts/inter-vietnamese-variable-wghtOnly-normal.woff2") format("woff2");
|
|
63
|
+
unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB;
|
|
41
64
|
}
|
|
42
65
|
|
|
43
66
|
@font-face {
|
|
@@ -22,13 +22,16 @@
|
|
|
22
22
|
--btn-sm-padding: @btn-sm-padding-vertical @btn-sm-padding-horizontal calc(@btn-sm-padding-vertical - 2px);
|
|
23
23
|
--btn-lg-padding: @btn-lg-padding-vertical @btn-lg-padding-horizontal calc(@btn-lg-padding-vertical - 2px);
|
|
24
24
|
--input-padding: @padding-large-vertical @padding-base-horizontal calc(@padding-large-vertical - 2px);
|
|
25
|
-
--input-padding-small:
|
|
26
|
-
--input-padding-large:
|
|
25
|
+
--input-padding-small: @padding-small-vertical @padding-small-horizontal calc(@padding-small-vertical - 2px);
|
|
26
|
+
--input-padding-large: @padding-large-vertical @padding-large-horizontal calc(@padding-large-vertical - 2px);
|
|
27
27
|
--input-group-addon-sm-padding: calc(@padding-small-vertical - 1px) @padding-small-horizontal;
|
|
28
28
|
--input-group-addon-lg-padding: @padding-large-vertical @padding-large-horizontal calc(@padding-large-vertical - 2px);
|
|
29
29
|
--dropdown-link-padding: calc(@padding-large-vertical + 1px) @padding-large-horizontal calc(@padding-large-vertical - 1px);
|
|
30
|
+
--btn-radius-base: @border-radius-base;
|
|
31
|
+
--btn-sm-radius-base: @border-radius-small;
|
|
32
|
+
--btn-lg-radius-base: @border-radius-large;
|
|
30
33
|
}
|
|
31
|
-
|
|
34
|
+
|
|
32
35
|
.np-theme-light,
|
|
33
36
|
.np-theme-dark,
|
|
34
37
|
.np-theme-navy {
|
|
@@ -55,6 +58,9 @@
|
|
|
55
58
|
--input-group-addon-sm-padding: @padding-small-vertical @padding-small-horizontal;
|
|
56
59
|
--input-group-addon-lg-padding: @padding-large-vertical @padding-large-horizontal;
|
|
57
60
|
--dropdown-link-padding: @padding-large-vertical @padding-large-horizontal;
|
|
61
|
+
--btn-radius-base: 9999px;
|
|
62
|
+
--btn-sm-radius-base: var(--btn-radius-base);
|
|
63
|
+
--btn-lg-radius-base: var(--btn-radius-base);
|
|
58
64
|
|
|
59
65
|
color: var(--color-content-secondary);
|
|
60
66
|
background-color: var(--color-background-screen);
|
|
@@ -1001,9 +1001,12 @@ input[type="password"] {
|
|
|
1001
1001
|
}
|
|
1002
1002
|
|
|
1003
1003
|
.form-control-placeholder {
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1004
|
+
text-overflow: ellipsis;
|
|
1005
|
+
overflow: hidden;
|
|
1006
|
+
.np-text-body-large;
|
|
1007
|
+
display: block;
|
|
1008
|
+
width: 100%;
|
|
1009
|
+
color: var(--color-content-tertiary);
|
|
1007
1010
|
}
|
|
1008
1011
|
|
|
1009
1012
|
.np-theme-personal {
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|