@transferwise/neptune-css 0.0.0-experimental-526a2be → 0.0.0-experimental-26ff56b

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.
Files changed (96) hide show
  1. package/dist/css/accordion.css +22 -66
  2. package/dist/css/alerts.css +0 -39
  3. package/dist/css/background.css +0 -1
  4. package/dist/css/badge.css +2 -14
  5. package/dist/css/breadcrumbs.css +0 -2
  6. package/dist/css/button-groups.css +29 -12
  7. package/dist/css/buttons.css +35 -177
  8. package/dist/css/chevron.css +0 -1
  9. package/dist/css/circles.css +0 -19
  10. package/dist/css/close.css +0 -3
  11. package/dist/css/column-layout.css +0 -3
  12. package/dist/css/currency-flags.css +0 -3
  13. package/dist/css/decision.css +22 -61
  14. package/dist/css/dropdowns.css +39 -75
  15. package/dist/css/droppable.css +28 -26
  16. package/dist/css/flex.css +0 -16
  17. package/dist/css/footer.css +41 -28
  18. package/dist/css/grid.css +0 -6
  19. package/dist/css/input-groups.css +203 -361
  20. package/dist/css/link-callout.css +0 -1
  21. package/dist/css/list-group.css +1 -88
  22. package/dist/css/media.css +0 -3
  23. package/dist/css/modals.css +1 -15
  24. package/dist/css/navbar.css +66 -213
  25. package/dist/css/navs.css +8 -35
  26. package/dist/css/neptune-addons.css +15 -298
  27. package/dist/css/neptune-core.css +5935 -667
  28. package/dist/css/neptune.css +8492 -3482
  29. package/dist/css/panels.css +2 -6
  30. package/dist/css/popovers.css +39 -89
  31. package/dist/css/process.css +0 -9
  32. package/dist/css/progress-bars.css +2 -16
  33. package/dist/css/ring.css +0 -4
  34. package/dist/css/select.css +0 -8
  35. package/dist/css/sequences.css +14 -69
  36. package/dist/css/table.css +7 -54
  37. package/dist/css/tick.css +0 -2
  38. package/dist/css/tooltip.css +28 -19
  39. package/dist/css/wells.css +0 -20
  40. package/dist/less/legacy-variables.css +0 -0
  41. package/dist/less/legacy-variables.less +3 -3
  42. package/dist/less/neptune-tokens.css +0 -0
  43. package/dist/less/neptune-tokens.less +0 -48
  44. package/dist/less/zindex.css +0 -0
  45. package/dist/props/neptune-tokens.css +804 -3
  46. package/package.json +1 -1
  47. package/src/less/addons/_background-utilities.less +5 -0
  48. package/src/less/badge.less +2 -2
  49. package/src/less/button-groups.less +3 -2
  50. package/src/less/buttons.less +7 -7
  51. package/src/less/core/_fonts.less +7 -75
  52. package/src/less/core/_scaffolding.less +4 -4
  53. package/src/less/core/_typography-utilities.less +3 -3
  54. package/src/less/core/_typography.less +81 -235
  55. package/src/less/core/fonts/_fonts-ar.less +140 -0
  56. package/src/less/core/fonts/_fonts-en.less +99 -0
  57. package/src/less/core/fonts/_fonts-he.less +8 -0
  58. package/src/less/core/fonts/_fonts-ja.less +4247 -0
  59. package/src/less/core/fonts/_fonts-ko.less +1079 -0
  60. package/src/less/core/fonts/_fonts-th.less +8 -0
  61. package/src/less/core/fonts/_fonts-zh.less +872 -0
  62. package/src/less/decision.less +2 -2
  63. package/src/less/dropdowns.less +8 -7
  64. package/src/less/droppable.less +4 -4
  65. package/src/less/footer.less +4 -3
  66. package/src/less/forms/bootstrap-forms.less +85 -72
  67. package/src/less/forms/checkbox-radio.less +3 -3
  68. package/src/less/input-groups.less +23 -10
  69. package/src/less/list-group.less +8 -5
  70. package/src/less/mixins/_reset-text.less +1 -1
  71. package/src/less/mixins/_text-emphasis.less +7 -1
  72. package/src/less/modals.less +1 -1
  73. package/src/less/navbar.less +19 -19
  74. package/src/less/navs.less +8 -8
  75. package/src/less/neptune.bundle.less +4 -0
  76. package/src/less/panels.less +2 -2
  77. package/src/less/popovers.less +7 -7
  78. package/src/less/progress-bars.less +2 -2
  79. package/src/less/sequences.less +15 -10
  80. package/src/less/table.less +7 -7
  81. package/src/less/tooltip.less +1 -1
  82. package/src/variables/legacy-variables.less +3 -3
  83. package/dist/fonts/inter-cyrillic-ext-variable-wghtOnly-normal.woff2 +0 -0
  84. package/dist/fonts/inter-cyrillic-variable-wghtOnly-normal.woff2 +0 -0
  85. package/dist/fonts/inter-greek-ext-variable-wghtOnly-normal.woff2 +0 -0
  86. package/dist/fonts/inter-greek-variable-wghtOnly-normal.woff2 +0 -0
  87. package/dist/fonts/inter-latin-ext-variable-wghtOnly-normal.woff2 +0 -0
  88. package/dist/fonts/inter-latin-variable-wghtOnly-normal.woff2 +0 -0
  89. package/dist/fonts/inter-vietnamese-variable-wghtOnly-normal.woff2 +0 -0
  90. package/src/fonts/inter-cyrillic-ext-variable-wghtOnly-normal.woff2 +0 -0
  91. package/src/fonts/inter-cyrillic-variable-wghtOnly-normal.woff2 +0 -0
  92. package/src/fonts/inter-greek-ext-variable-wghtOnly-normal.woff2 +0 -0
  93. package/src/fonts/inter-greek-variable-wghtOnly-normal.woff2 +0 -0
  94. package/src/fonts/inter-latin-ext-variable-wghtOnly-normal.woff2 +0 -0
  95. package/src/fonts/inter-latin-variable-wghtOnly-normal.woff2 +0 -0
  96. package/src/fonts/inter-vietnamese-variable-wghtOnly-normal.woff2 +0 -0
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-526a2be",
4
+ "version": "0.0.0-experimental-26ff56b",
5
5
  "license": "MIT",
6
6
  "repository": {
7
7
  "type": "git",
@@ -76,6 +76,11 @@
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,
79
84
  strong {
80
85
  color: @color-navy-content-primary;
81
86
  }
@@ -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(--font-weight-semi-bold);
10
+ font-weight: var(--wds-font-weight-title-body);
11
11
  color: #fff;
12
- line-height: var(--line-height-control);
12
+ line-height: var(--wds-line-height-title-section);
13
13
  vertical-align: middle;
14
14
  white-space: nowrap;
15
15
  text-align: center;
@@ -404,8 +404,9 @@
404
404
  }
405
405
  }
406
406
 
407
- .np-text-body-default,
408
407
  .body-2,
408
+ .np-text-body-default,
409
+ .wds-text-body-default,
409
410
  .small {
410
411
  color: var(--color-content-secondary);
411
412
  }
@@ -418,7 +419,7 @@
418
419
  }
419
420
 
420
421
  .btn-group .secondary {
421
- .np-text-body-default;
422
+ .wds-text-body-default;
422
423
 
423
424
  color: var(--color-content-secondary);
424
425
  }
@@ -8,7 +8,7 @@
8
8
  @import (reference) "./ring.less";
9
9
 
10
10
  .btn {
11
- .np-text-body-large-bold;
11
+ .wds-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(--font-weight-semi-bold);
25
+ font-weight: var(--wds-font-weight-title-body);
26
26
 
27
27
  .button-size(
28
28
  var(--btn-padding);
29
- var(--font-size-16);
29
+ var(--wds-font-size-body-large);
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(--font-size-14);
478
+ var(--wds-font-size-body);
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(--font-size-16);
515
+ var(--wds-font-size-body-large);
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(--font-weight-regular);
550
+ font-weight: var(--wds-font-weight-body-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(--font-weight-semi-bold);
587
+ font-weight: var(--wds-font-weight-title-body);
588
588
  }
589
589
  }
590
590
  }
@@ -1,77 +1,9 @@
1
1
  /* See: https://github.com/fontsource/fontsource/blob/main/fonts/google/inter/variable.css */
2
2
 
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
- }
3
+ @import "fonts/_fonts-en";
4
+ @import "fonts/_fonts-ar";
5
+ @import "fonts/_fonts-he";
6
+ @import "fonts/_fonts-ja";
7
+ @import "fonts/_fonts-ko";
8
+ @import "fonts/_fonts-th";
9
+ @import "fonts/_fonts-zh";
@@ -37,7 +37,7 @@
37
37
  }
38
38
 
39
39
  .np-theme-personal {
40
- font-family: var(--font-family-regular);
40
+ font-family: var(--wds-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(--font-family-regular);
71
+ font-family: var(--wds-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(--line-height-body);
224
+ line-height: var(--wds-line-height-body-large);
225
225
  }
226
226
 
227
227
  dt {
228
- font-size: var(--font-size-14);
228
+ font-size: var(--wds-font-size-body);
229
229
  }
230
230
 
231
231
  dd {
@@ -145,15 +145,15 @@
145
145
  }
146
146
 
147
147
  .font-weight-bold {
148
- font-weight: var(--font-weight-bold) !important;
148
+ font-weight: var(--wds-font-weight-title-screen) !important;
149
149
  }
150
150
 
151
151
  .font-weight-semi-bold {
152
- font-weight: var(--font-weight-semi-bold) !important;
152
+ font-weight: var(--wds-font-weight-title-group) !important;
153
153
  }
154
154
 
155
155
  .font-weight-normal {
156
- font-weight: var(--font-weight-regular) !important;
156
+ font-weight: var(--wds-font-weight-body-regular) !important;
157
157
  }
158
158
 
159
159
  .font-italic {