@transferwise/neptune-css 0.0.0-experimental-cb358e4 → 0.0.0-experimental-a21d52d
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/accordion.css +11 -53
- package/dist/css/badge.css +2 -2
- package/dist/css/button-groups.css +6 -29
- package/dist/css/buttons.css +11 -35
- package/dist/css/decision.css +11 -53
- package/dist/css/dropdowns.css +18 -65
- package/dist/css/droppable.css +6 -28
- package/dist/css/footer.css +10 -41
- package/dist/css/input-groups.css +117 -249
- package/dist/css/list-group.css +8 -28
- package/dist/css/modals.css +1 -1
- package/dist/css/navbar.css +45 -92
- package/dist/css/navs.css +8 -8
- package/dist/css/neptune-addons.css +0 -15
- package/dist/css/neptune-core.css +536 -6243
- package/dist/css/neptune.css +1960 -8984
- package/dist/css/panels.css +2 -2
- package/dist/css/popovers.css +20 -64
- package/dist/css/progress-bars.css +2 -2
- package/dist/css/sequences.css +9 -14
- package/dist/css/table.css +7 -7
- package/dist/css/tooltip.css +6 -28
- 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/dist/fonts/rubik/rubik-body-cyrillic-330-normal.woff2 +0 -0
- package/dist/fonts/rubik/rubik-body-cyrillic-600-normal.woff2 +0 -0
- package/dist/fonts/rubik/rubik-body-cyrillic-ext-330-normal.woff2 +0 -0
- package/dist/fonts/rubik/rubik-body-cyrillic-ext-600-normal.woff2 +0 -0
- package/dist/fonts/rubik/rubik-cyrillic-900-normal.woff2 +0 -0
- package/dist/fonts/rubik/rubik-cyrillic-ext-900-normal.woff2 +0 -0
- package/dist/less/legacy-variables.less +3 -3
- package/dist/less/neptune-tokens.less +48 -0
- package/dist/props/neptune-tokens.css +3 -805
- 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/fonts/rubik/rubik-body-cyrillic-330-normal.woff2 +0 -0
- package/src/fonts/rubik/rubik-body-cyrillic-600-normal.woff2 +0 -0
- package/src/fonts/rubik/rubik-body-cyrillic-ext-330-normal.woff2 +0 -0
- package/src/fonts/rubik/rubik-body-cyrillic-ext-600-normal.woff2 +0 -0
- package/src/fonts/rubik/rubik-cyrillic-900-normal.woff2 +0 -0
- package/src/fonts/rubik/rubik-cyrillic-ext-900-normal.woff2 +0 -0
- package/src/less/addons/_background-utilities.less +0 -5
- package/src/less/badge.less +2 -2
- package/src/less/button-groups.less +2 -3
- package/src/less/buttons.less +7 -7
- package/src/less/core/_fonts.less +75 -7
- package/src/less/core/_scaffolding.less +4 -4
- package/src/less/core/_typography-utilities.less +3 -3
- package/src/less/core/_typography.less +237 -91
- package/src/less/decision.less +2 -2
- package/src/less/dropdowns.less +7 -8
- package/src/less/droppable.less +4 -4
- package/src/less/footer.less +3 -4
- package/src/less/forms/bootstrap-forms.less +72 -85
- package/src/less/forms/checkbox-radio.less +3 -3
- package/src/less/input-groups.less +9 -23
- package/src/less/list-group.less +5 -8
- package/src/less/mixins/_reset-text.less +1 -1
- package/src/less/mixins/_text-emphasis.less +1 -7
- package/src/less/modals.less +1 -1
- package/src/less/navbar.less +19 -19
- package/src/less/navs.less +8 -8
- package/src/less/neptune.bundle.less +0 -4
- package/src/less/panels.less +2 -2
- package/src/less/popovers.less +7 -7
- package/src/less/progress-bars.less +2 -2
- package/src/less/sequences.less +10 -15
- package/src/less/table.less +7 -7
- package/src/less/tooltip.less +1 -1
- package/src/variables/legacy-variables.less +3 -3
- package/src/less/core/fonts/_fonts-ar.less +0 -86
- package/src/less/core/fonts/_fonts-base.less +0 -99
- package/src/less/core/fonts/_fonts-he.less +0 -8
- package/src/less/core/fonts/_fonts-ja.less +0 -4247
- package/src/less/core/fonts/_fonts-ko.less +0 -1079
- package/src/less/core/fonts/_fonts-th.less +0 -8
- package/src/less/core/fonts/_fonts-zh.less +0 -872
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@transferwise/neptune-css",
|
|
3
3
|
"description": "Neptune CSS library",
|
|
4
|
-
"version": "0.0.0-experimental-
|
|
4
|
+
"version": "0.0.0-experimental-a21d52d",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"scripts"
|
|
24
24
|
],
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@transferwise/neptune-tokens": "
|
|
26
|
+
"@transferwise/neptune-tokens": "^8.26.0"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
"@transferwise/less-config": "3.2.0",
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -76,11 +76,6 @@
|
|
|
76
76
|
.np-text-title-subsection,
|
|
77
77
|
.np-text-title-body,
|
|
78
78
|
.np-text-title-group,
|
|
79
|
-
.wds-text-title-screen,
|
|
80
|
-
.wds-text-title-section,
|
|
81
|
-
.wds-text-title-subsection,
|
|
82
|
-
.wds-text-title-body,
|
|
83
|
-
.wds-text-title-group,
|
|
84
79
|
strong {
|
|
85
80
|
color: @color-navy-content-primary;
|
|
86
81
|
}
|
package/src/less/badge.less
CHANGED
|
@@ -7,9 +7,9 @@
|
|
|
7
7
|
min-width: var(--size-16);
|
|
8
8
|
padding: 5px var(--size-8);
|
|
9
9
|
font-size: 10px;
|
|
10
|
-
font-weight: var(--
|
|
10
|
+
font-weight: var(--font-weight-semi-bold);
|
|
11
11
|
color: #fff;
|
|
12
|
-
line-height: var(--
|
|
12
|
+
line-height: var(--line-height-control);
|
|
13
13
|
vertical-align: middle;
|
|
14
14
|
white-space: nowrap;
|
|
15
15
|
text-align: center;
|
|
@@ -404,9 +404,8 @@
|
|
|
404
404
|
}
|
|
405
405
|
}
|
|
406
406
|
|
|
407
|
-
.body-2,
|
|
408
407
|
.np-text-body-default,
|
|
409
|
-
.
|
|
408
|
+
.body-2,
|
|
410
409
|
.small {
|
|
411
410
|
color: var(--color-content-secondary);
|
|
412
411
|
}
|
|
@@ -419,7 +418,7 @@
|
|
|
419
418
|
}
|
|
420
419
|
|
|
421
420
|
.btn-group .secondary {
|
|
422
|
-
.
|
|
421
|
+
.np-text-body-default;
|
|
423
422
|
|
|
424
423
|
color: var(--color-content-secondary);
|
|
425
424
|
}
|
package/src/less/buttons.less
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
@import (reference) "./ring.less";
|
|
9
9
|
|
|
10
10
|
.btn {
|
|
11
|
-
.
|
|
11
|
+
.np-text-body-large-bold;
|
|
12
12
|
|
|
13
13
|
display: inline-block;
|
|
14
14
|
margin-bottom: 0;
|
|
@@ -22,11 +22,11 @@
|
|
|
22
22
|
border: 1px solid transparent;
|
|
23
23
|
white-space: nowrap;
|
|
24
24
|
padding-bottom: 10px;
|
|
25
|
-
font-weight: var(--
|
|
25
|
+
font-weight: var(--font-weight-semi-bold);
|
|
26
26
|
|
|
27
27
|
.button-size(
|
|
28
28
|
var(--btn-padding);
|
|
29
|
-
var(--
|
|
29
|
+
var(--font-size-16);
|
|
30
30
|
var(--line-height-24);
|
|
31
31
|
var(--btn-radius-base);
|
|
32
32
|
var(--btn-height);
|
|
@@ -475,7 +475,7 @@
|
|
|
475
475
|
.navbar .btn {
|
|
476
476
|
.button-size(
|
|
477
477
|
var(--btn-sm-padding);
|
|
478
|
-
var(--
|
|
478
|
+
var(--font-size-14);
|
|
479
479
|
var(--line-height-22);
|
|
480
480
|
var(--btn-sm-radius-base);
|
|
481
481
|
var(--btn-sm-height);
|
|
@@ -512,7 +512,7 @@
|
|
|
512
512
|
.navbar-collapse .btn {
|
|
513
513
|
.button-size(
|
|
514
514
|
var(--btn-padding);
|
|
515
|
-
var(--
|
|
515
|
+
var(--font-size-16);
|
|
516
516
|
var(--line-height-24);
|
|
517
517
|
var(--border-radius-base);
|
|
518
518
|
var(--btn-height);
|
|
@@ -547,7 +547,7 @@ input[type="button"] {
|
|
|
547
547
|
|
|
548
548
|
// @TODO Deprecate / Remove
|
|
549
549
|
.btn-input {
|
|
550
|
-
font-weight: var(--
|
|
550
|
+
font-weight: var(--font-weight-regular);
|
|
551
551
|
.padding(left, @padding-base-horizontal);
|
|
552
552
|
|
|
553
553
|
.padding(right, @padding-base-horizontal);
|
|
@@ -584,7 +584,7 @@ input[type="button"] {
|
|
|
584
584
|
|
|
585
585
|
&.btn-addon,
|
|
586
586
|
&.btn-input-inverse {
|
|
587
|
-
font-weight: var(--
|
|
587
|
+
font-weight: var(--font-weight-semi-bold);
|
|
588
588
|
}
|
|
589
589
|
}
|
|
590
590
|
}
|
|
@@ -1,9 +1,77 @@
|
|
|
1
1
|
/* See: https://github.com/fontsource/fontsource/blob/main/fonts/google/inter/variable.css */
|
|
2
2
|
|
|
3
|
-
@
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
3
|
+
@font-face {
|
|
4
|
+
font-family: Inter;
|
|
5
|
+
font-style: normal;
|
|
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;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
@font-face {
|
|
13
|
+
font-family: Inter;
|
|
14
|
+
font-style: normal;
|
|
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;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
@font-face {
|
|
22
|
+
font-family: Inter;
|
|
23
|
+
font-style: normal;
|
|
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;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
@font-face {
|
|
31
|
+
font-family: Inter;
|
|
32
|
+
font-style: normal;
|
|
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:
|
|
46
|
+
U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074,
|
|
47
|
+
U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
@font-face {
|
|
51
|
+
font-family: Inter;
|
|
52
|
+
font-style: normal;
|
|
53
|
+
font-display: swap;
|
|
54
|
+
font-weight: 100 900;
|
|
55
|
+
src: url("../fonts/inter-latin-ext-variable-wghtOnly-normal.woff2") format("woff2");
|
|
56
|
+
unicode-range:
|
|
57
|
+
U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F,
|
|
58
|
+
U+A720-A7FF;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
@font-face {
|
|
62
|
+
font-family: Inter;
|
|
63
|
+
font-style: normal;
|
|
64
|
+
font-display: swap;
|
|
65
|
+
font-weight: 100 900;
|
|
66
|
+
src: url("../fonts/inter-vietnamese-variable-wghtOnly-normal.woff2") format("woff2");
|
|
67
|
+
unicode-range:
|
|
68
|
+
U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9,
|
|
69
|
+
U+20AB;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
@font-face {
|
|
73
|
+
font-family: "Wise Sans";
|
|
74
|
+
font-style: normal;
|
|
75
|
+
font-display: swap;
|
|
76
|
+
src: url("../fonts/WiseSans-Heavy.woff2") format("woff2");
|
|
77
|
+
}
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
}
|
|
38
38
|
|
|
39
39
|
.np-theme-personal {
|
|
40
|
-
font-family: var(--
|
|
40
|
+
font-family: var(--font-family-regular);
|
|
41
41
|
font-feature-settings: "calt";
|
|
42
42
|
|
|
43
43
|
--input-group-addon-padding: @padding-large-vertical @padding-base-horizontal;
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
|
|
69
69
|
html {
|
|
70
70
|
font-size: var(--base-font-size);
|
|
71
|
-
font-family: var(--
|
|
71
|
+
font-family: var(--font-family-regular);
|
|
72
72
|
color: var(--color-content-secondary);
|
|
73
73
|
background-color: var(--color-background-screen);
|
|
74
74
|
-webkit-font-smoothing: antialiased;
|
|
@@ -221,11 +221,11 @@ ul {
|
|
|
221
221
|
|
|
222
222
|
dt,
|
|
223
223
|
dd {
|
|
224
|
-
line-height: var(--
|
|
224
|
+
line-height: var(--line-height-body);
|
|
225
225
|
}
|
|
226
226
|
|
|
227
227
|
dt {
|
|
228
|
-
font-size: var(--
|
|
228
|
+
font-size: var(--font-size-14);
|
|
229
229
|
}
|
|
230
230
|
|
|
231
231
|
dd {
|
|
@@ -145,15 +145,15 @@
|
|
|
145
145
|
}
|
|
146
146
|
|
|
147
147
|
.font-weight-bold {
|
|
148
|
-
font-weight: var(--
|
|
148
|
+
font-weight: var(--font-weight-bold) !important;
|
|
149
149
|
}
|
|
150
150
|
|
|
151
151
|
.font-weight-semi-bold {
|
|
152
|
-
font-weight: var(--
|
|
152
|
+
font-weight: var(--font-weight-semi-bold) !important;
|
|
153
153
|
}
|
|
154
154
|
|
|
155
155
|
.font-weight-normal {
|
|
156
|
-
font-weight: var(--
|
|
156
|
+
font-weight: var(--font-weight-regular) !important;
|
|
157
157
|
}
|
|
158
158
|
|
|
159
159
|
.font-italic {
|