@transferwise/components 0.0.0-experimental-f9a65ef → 0.0.0-experimental-7a793eb

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 (85) hide show
  1. package/build/main.css +193 -272
  2. package/build/styles/css/accordion.css +0 -38
  3. package/build/styles/css/badge.css +2 -2
  4. package/build/styles/css/button-groups.css +2 -1
  5. package/build/styles/css/buttons.css +9 -9
  6. package/build/styles/css/decision.css +0 -38
  7. package/build/styles/css/dropdowns.css +6 -40
  8. package/build/styles/css/droppable.css +2 -2
  9. package/build/styles/css/footer.css +2 -1
  10. package/build/styles/css/input-groups.css +15 -53
  11. package/build/styles/css/list-group.css +1 -36
  12. package/build/styles/css/modals.css +1 -1
  13. package/build/styles/css/navbar.css +33 -67
  14. package/build/styles/css/navs.css +8 -8
  15. package/build/styles/css/neptune-addons.css +15 -0
  16. package/build/styles/css/neptune.css +193 -272
  17. package/build/styles/css/panels.css +2 -2
  18. package/build/styles/css/popovers.css +5 -40
  19. package/build/styles/css/progress-bars.css +2 -2
  20. package/build/styles/css/sequences.css +14 -9
  21. package/build/styles/css/table.css +7 -7
  22. package/build/styles/less/legacy-variables.less +3 -3
  23. package/build/styles/main.css +193 -272
  24. package/build/styles/styles/less/accordion.css +0 -38
  25. package/build/styles/styles/less/badge.css +2 -2
  26. package/build/styles/styles/less/button-groups.css +2 -1
  27. package/build/styles/styles/less/buttons.css +9 -9
  28. package/build/styles/styles/less/decision.css +0 -38
  29. package/build/styles/styles/less/dropdowns.css +6 -40
  30. package/build/styles/styles/less/droppable.css +2 -2
  31. package/build/styles/styles/less/footer.css +2 -1
  32. package/build/styles/styles/less/input-groups.css +15 -53
  33. package/build/styles/styles/less/list-group.css +1 -36
  34. package/build/styles/styles/less/modals.css +1 -1
  35. package/build/styles/styles/less/navbar.css +33 -67
  36. package/build/styles/styles/less/navs.css +8 -8
  37. package/build/styles/styles/less/neptune-addons.css +15 -0
  38. package/build/styles/styles/less/neptune.css +193 -272
  39. package/build/styles/styles/less/panels.css +2 -2
  40. package/build/styles/styles/less/popovers.css +5 -40
  41. package/build/styles/styles/less/progress-bars.css +2 -2
  42. package/build/styles/styles/less/sequences.css +14 -9
  43. package/build/styles/styles/less/table.css +7 -7
  44. package/package.json +1 -1
  45. package/src/main.css +193 -272
  46. package/src/styles/less/accordion.css +0 -38
  47. package/src/styles/less/addons/_background-utilities.less +5 -0
  48. package/src/styles/less/badge.css +2 -2
  49. package/src/styles/less/badge.less +2 -2
  50. package/src/styles/less/button-groups.css +2 -1
  51. package/src/styles/less/button-groups.less +3 -2
  52. package/src/styles/less/buttons.css +9 -9
  53. package/src/styles/less/buttons.less +7 -7
  54. package/src/styles/less/decision.css +0 -38
  55. package/src/styles/less/decision.less +2 -2
  56. package/src/styles/less/dropdowns.css +6 -40
  57. package/src/styles/less/dropdowns.less +8 -7
  58. package/src/styles/less/droppable.css +2 -2
  59. package/src/styles/less/droppable.less +4 -4
  60. package/src/styles/less/footer.css +2 -1
  61. package/src/styles/less/footer.less +4 -3
  62. package/src/styles/less/input-groups.css +15 -53
  63. package/src/styles/less/input-groups.less +20 -10
  64. package/src/styles/less/list-group.css +1 -36
  65. package/src/styles/less/list-group.less +8 -5
  66. package/src/styles/less/modals.css +1 -1
  67. package/src/styles/less/modals.less +1 -1
  68. package/src/styles/less/navbar.css +33 -67
  69. package/src/styles/less/navbar.less +19 -19
  70. package/src/styles/less/navs.css +8 -8
  71. package/src/styles/less/navs.less +8 -8
  72. package/src/styles/less/neptune-addons.css +15 -0
  73. package/src/styles/less/neptune.css +193 -272
  74. package/src/styles/less/panels.css +2 -2
  75. package/src/styles/less/panels.less +2 -2
  76. package/src/styles/less/popovers.css +5 -40
  77. package/src/styles/less/popovers.less +7 -7
  78. package/src/styles/less/progress-bars.css +2 -2
  79. package/src/styles/less/progress-bars.less +2 -2
  80. package/src/styles/less/sequences.css +14 -9
  81. package/src/styles/less/sequences.less +15 -10
  82. package/src/styles/less/table.css +7 -7
  83. package/src/styles/less/table.less +7 -7
  84. package/src/styles/less/tooltip.less +1 -1
  85. package/src/styles/variables/legacy-variables.less +3 -3
@@ -325,10 +325,12 @@
325
325
  .dropdown-menu > .selected > a strong {
326
326
  color: inherit;
327
327
  }
328
- .dropdown-menu > .active > a .np-text-body-default,
329
- .dropdown-menu > .selected > a .np-text-body-default,
330
328
  .dropdown-menu > .active > a .small,
331
329
  .dropdown-menu > .selected > a .small,
330
+ .dropdown-menu > .active > a .np-text-body-default,
331
+ .dropdown-menu > .selected > a .np-text-body-default,
332
+ .dropdown-menu > .active > a .wds-text-body-default,
333
+ .dropdown-menu > .selected > a .wds-text-body-default,
332
334
  .dropdown-menu > .active > a .secondary,
333
335
  .dropdown-menu > .selected > a .secondary {
334
336
  color: #c9cbce;
@@ -423,46 +425,10 @@
423
425
  display: block;
424
426
  padding-block: 8px;
425
427
  padding-inline: 16px;
426
- font-size: var(--font-size-14);
427
- line-height: var(--line-height-body);
428
+ font-size: var(--wds-font-size-body);
429
+ line-height: var(--wds-line-height-body-large);
428
430
  color: var(--color-content-secondary);
429
431
  white-space: nowrap;
430
- margin: 0;
431
- color: var(--color-content-primary);
432
- word-wrap: break-word;
433
- }
434
- @supports (hyphenate-limit-chars: 1) {
435
- .dropdown-header {
436
- hyphens: auto;
437
- hyphenate-limit-chars: 7 3;
438
- }
439
- @media (min-width: 840px) {
440
- .dropdown-header {
441
- hyphenate-limit-chars: 8 3;
442
- }
443
- }
444
- @media (min-width: 1160px) {
445
- .dropdown-header {
446
- hyphenate-limit-chars: 10 4 3;
447
- }
448
- }
449
- }
450
- @supports (not (hyphenate-limit-chars: 1)) and (-webkit-hyphenate-limit-before: 1) {
451
- .dropdown-header {
452
- hyphens: auto;
453
- -webkit-hyphenate-limit-before: 3;
454
- -webkit-hyphenate-limit-after: 3;
455
- }
456
- @media (min-width: 1160px) {
457
- .dropdown-header {
458
- -webkit-hyphenate-limit-before: 4;
459
- }
460
- }
461
- }
462
- .dropdown-header + p,
463
- .dropdown-header + ul:not(.list-unstyled),
464
- .dropdown-header + ol:not(.list-unstyled) {
465
- margin-block-start: var(--size-8);
466
432
  }
467
433
  .dropdown-backdrop {
468
434
  position: fixed;
@@ -508,8 +474,8 @@
508
474
  padding-block: 9px 7px;
509
475
  padding-inline: 24px;
510
476
  color: var(--color-content-primary);
511
- font-weight: var(--font-weight-regular);
512
- font-size: var(--font-size-16);
477
+ font-weight: var(--wds-font-weight-body-regular);
478
+ font-size: var(--wds-font-size-body-large);
513
479
  }
514
480
  .nav > li > a:hover,
515
481
  .nav > li > a:focus {
@@ -522,7 +488,7 @@
522
488
  }
523
489
  .nav > .active > a {
524
490
  color: var(--color-content-accent);
525
- font-weight: var(--font-weight-semi-bold);
491
+ font-weight: var(--wds-font-weight-title-body);
526
492
  }
527
493
  .nav > .active > a:hover,
528
494
  .nav > .active > a:focus {
@@ -566,9 +532,9 @@
566
532
  }
567
533
  .nav-tabs > li > a {
568
534
  margin-inline-end: 2px;
569
- line-height: var(--line-height-body);
535
+ line-height: var(--wds-line-height-body-large);
570
536
  border-block-end: 3px solid transparent;
571
- font-size: var(--font-size-16);
537
+ font-size: var(--wds-font-size-body-large);
572
538
  }
573
539
  .nav-tabs > .active > a {
574
540
  border-block-end: 3px solid var(--color-border-neutral);
@@ -580,10 +546,10 @@
580
546
  }
581
547
  .nav-pills > li {
582
548
  float: inline-start;
583
- font-size: var(--font-size-14);
549
+ font-size: var(--wds-font-size-body);
584
550
  }
585
551
  .nav-pills > li > a {
586
- font-size: var(--font-size-14);
552
+ font-size: var(--wds-font-size-body);
587
553
  }
588
554
  .nav-stacked > li {
589
555
  float: none;
@@ -632,7 +598,7 @@
632
598
  .nav-justified.nav-pills > li > a {
633
599
  padding-block: 0;
634
600
  padding-inline: var(--size-4);
635
- line-height: var(--line-height-body);
601
+ line-height: var(--wds-line-height-body-large);
636
602
  }
637
603
  @media (min-width: 840px) {
638
604
  .nav-justified-2-p-x {
@@ -739,7 +705,7 @@ button.close {
739
705
  }
740
706
  .navbar {
741
707
  position: relative;
742
- font-size: var(--font-size-14);
708
+ font-size: var(--wds-font-size-body);
743
709
  min-block-size: 56px;
744
710
  margin-block-end: 40px;
745
711
  border: 0 solid transparent;
@@ -900,9 +866,9 @@ button.close {
900
866
  background-image: none;
901
867
  border: 0;
902
868
  margin-inline-end: 12px;
903
- font-size: var(--font-size-16);
904
- font-weight: var(--font-weight-semi-bold);
905
- line-height: var(--line-height-body);
869
+ font-size: var(--wds-font-size-body-large);
870
+ font-weight: var(--wds-font-weight-title-body);
871
+ line-height: var(--wds-line-height-body-large);
906
872
  margin-block-end: 8px;
907
873
  color: #ffffff;
908
874
  }
@@ -987,7 +953,7 @@ button.close {
987
953
  @media (min-width: 840px) {
988
954
  .navbar-nav > li > a.navbar-title-link,
989
955
  .navbar-nav > li > button.navbar-title-link {
990
- font-size: var(--font-size-20);
956
+ font-size: var(--wds-font-size-title-body);
991
957
  }
992
958
  }
993
959
  .navbar-nav > li.divider {
@@ -996,7 +962,7 @@ button.close {
996
962
  @media (max-width: 839px) {
997
963
  .navbar-nav > li > a,
998
964
  .navbar-nav > li > button {
999
- font-size: var(--font-size-16);
965
+ font-size: var(--wds-font-size-body-large);
1000
966
  padding-block: 9px 7px;
1001
967
  padding-inline: 16px;
1002
968
  -webkit-touch-callout: none;
@@ -1050,7 +1016,7 @@ button.close {
1050
1016
  }
1051
1017
  .navbar-nav > li > a {
1052
1018
  padding-block-end: 6px;
1053
- font-size: var(--font-size-14);
1019
+ font-size: var(--wds-font-size-body);
1054
1020
  }
1055
1021
  }
1056
1022
  .navbar-form {
@@ -1148,7 +1114,7 @@ button.close {
1148
1114
  background-color: inherit;
1149
1115
  }
1150
1116
  .navbar-nav > li > .dropdown-menu > li > a {
1151
- font-size: var(--font-size-14);
1117
+ font-size: var(--wds-font-size-body);
1152
1118
  }
1153
1119
  @media (max-width: 840px) {
1154
1120
  .navbar-nav > li > .dropdown-menu > li > a {
@@ -1169,7 +1135,7 @@ button.close {
1169
1135
  .navbar-nav > li > .dropdown-menu > .active > a {
1170
1136
  color: var(--color-content-accent-active);
1171
1137
  background-color: transparent;
1172
- font-weight: var(--font-weight-bold);
1138
+ font-weight: var(--wds-font-weight-title-body);
1173
1139
  }
1174
1140
  .navbar-nav > li > .dropdown-menu > .active > a:hover,
1175
1141
  .navbar-nav > li > .dropdown-menu > .active > a:focus {
@@ -1230,7 +1196,7 @@ button.close {
1230
1196
  .navbar-btn {
1231
1197
  margin-block-start: 13px;
1232
1198
  margin-block-end: 11px;
1233
- font-weight: var(--font-weight-semi-bold);
1199
+ font-weight: var(--wds-font-weight-title-body);
1234
1200
  }
1235
1201
  .navbar-btn.btn-sm {
1236
1202
  margin-block-start: 13px;
@@ -1313,7 +1279,7 @@ button.close {
1313
1279
  }
1314
1280
  .navbar-default .navbar-nav > .active > a,
1315
1281
  .navbar-default .navbar-nav > .active > .dropdown-toggle {
1316
- font-weight: var(--font-weight-bold);
1282
+ font-weight: var(--wds-font-weight-title-body);
1317
1283
  }
1318
1284
  .navbar-default .navbar-nav > .active > a,
1319
1285
  .navbar-default .navbar-nav > .active > .dropdown-toggle,
@@ -1343,7 +1309,7 @@ button.close {
1343
1309
  background-color: transparent;
1344
1310
  }
1345
1311
  .navbar-default .navbar-nav .open .dropdown-menu > .active > a {
1346
- font-weight: var(--font-weight-bold);
1312
+ font-weight: var(--wds-font-weight-title-body);
1347
1313
  }
1348
1314
  .navbar-default .navbar-nav .open .dropdown-menu > .active > a,
1349
1315
  .navbar-default .navbar-nav .open .dropdown-menu > .active > a:hover,
@@ -1399,7 +1365,7 @@ button.close {
1399
1365
  .navbar-inverse .navbar-nav > .active > a,
1400
1366
  .navbar-inverse .navbar-nav > .active > .dropdown-toggle {
1401
1367
  color: var(--color-content-accent-active);
1402
- font-weight: var(--font-weight-bold);
1368
+ font-weight: var(--wds-font-weight-title-body);
1403
1369
  }
1404
1370
  .navbar-inverse .navbar-nav > .active > a,
1405
1371
  .navbar-inverse .navbar-nav > .active > .dropdown-toggle,
@@ -1652,14 +1618,14 @@ button.close {
1652
1618
  }
1653
1619
  .navbar-title {
1654
1620
  float: inline-start;
1655
- font-size: var(--font-size-20);
1656
- line-height: var(--line-height-title);
1621
+ font-size: var(--wds-font-size-title-body);
1622
+ line-height: var(--wds-line-height-title-body);
1657
1623
  margin-block-start: 12px;
1658
1624
  margin-block-end: 12px;
1659
- font-weight: var(--font-weight-bold);
1625
+ font-weight: var(--wds-line-height-title-body);
1660
1626
  }
1661
1627
  .navbar-subtitle {
1662
- font-size: var(--font-size-14);
1628
+ font-size: var(--wds-font-size-body);
1663
1629
  margin-block-end: 8px;
1664
1630
  }
1665
1631
  .navbar-title,
@@ -1736,7 +1702,7 @@ button.close {
1736
1702
  }
1737
1703
  }
1738
1704
  .nav-toolbar h1 {
1739
- line-height: var(--line-height-title);
1705
+ line-height: var(--wds-line-height-title-section);
1740
1706
  }
1741
1707
  .nav-toolbar .close {
1742
1708
  -webkit-text-decoration: none;
@@ -1777,7 +1743,7 @@ button.close {
1777
1743
  }
1778
1744
  @media (min-width: 600px) {
1779
1745
  .simple-nav .navbar-nav > li > a {
1780
- font-size: var(--font-size-16) !important;
1746
+ font-size: var(--wds-font-size-body-large) !important;
1781
1747
  }
1782
1748
  }
1783
1749
  @media (min-width: 1160px) {
@@ -14,8 +14,8 @@
14
14
  padding-block: 9px 7px;
15
15
  padding-inline: 24px;
16
16
  color: var(--color-content-primary);
17
- font-weight: var(--font-weight-regular);
18
- font-size: var(--font-size-16);
17
+ font-weight: var(--wds-font-weight-body-regular);
18
+ font-size: var(--wds-font-size-body-large);
19
19
  }
20
20
  .nav > li > a:hover,
21
21
  .nav > li > a:focus {
@@ -28,7 +28,7 @@
28
28
  }
29
29
  .nav > .active > a {
30
30
  color: var(--color-content-accent);
31
- font-weight: var(--font-weight-semi-bold);
31
+ font-weight: var(--wds-font-weight-title-body);
32
32
  }
33
33
  .nav > .active > a:hover,
34
34
  .nav > .active > a:focus {
@@ -72,9 +72,9 @@
72
72
  }
73
73
  .nav-tabs > li > a {
74
74
  margin-inline-end: 2px;
75
- line-height: var(--line-height-body);
75
+ line-height: var(--wds-line-height-body-large);
76
76
  border-block-end: 3px solid transparent;
77
- font-size: var(--font-size-16);
77
+ font-size: var(--wds-font-size-body-large);
78
78
  }
79
79
  .nav-tabs > .active > a {
80
80
  border-block-end: 3px solid var(--color-border-neutral);
@@ -86,10 +86,10 @@
86
86
  }
87
87
  .nav-pills > li {
88
88
  float: inline-start;
89
- font-size: var(--font-size-14);
89
+ font-size: var(--wds-font-size-body);
90
90
  }
91
91
  .nav-pills > li > a {
92
- font-size: var(--font-size-14);
92
+ font-size: var(--wds-font-size-body);
93
93
  }
94
94
  .nav-stacked > li {
95
95
  float: none;
@@ -138,7 +138,7 @@
138
138
  .nav-justified.nav-pills > li > a {
139
139
  padding-block: 0;
140
140
  padding-inline: var(--size-4);
141
- line-height: var(--line-height-body);
141
+ line-height: var(--wds-line-height-body-large);
142
142
  }
143
143
  @media (min-width: 840px) {
144
144
  .nav-justified-2-p-x {
@@ -97,6 +97,21 @@
97
97
  .bg-primary .np-text-title-group,
98
98
  .bg-info .np-text-title-group,
99
99
  .bg-accent .np-text-title-group,
100
+ .bg-primary .wds-text-title-screen,
101
+ .bg-info .wds-text-title-screen,
102
+ .bg-accent .wds-text-title-screen,
103
+ .bg-primary .wds-text-title-section,
104
+ .bg-info .wds-text-title-section,
105
+ .bg-accent .wds-text-title-section,
106
+ .bg-primary .wds-text-title-subsection,
107
+ .bg-info .wds-text-title-subsection,
108
+ .bg-accent .wds-text-title-subsection,
109
+ .bg-primary .wds-text-title-body,
110
+ .bg-info .wds-text-title-body,
111
+ .bg-accent .wds-text-title-body,
112
+ .bg-primary .wds-text-title-group,
113
+ .bg-info .wds-text-title-group,
114
+ .bg-accent .wds-text-title-group,
100
115
  .bg-primary strong,
101
116
  .bg-info strong,
102
117
  .bg-accent strong {