@transferwise/components 0.0.0-experimental-7f15621 → 0.0.0-experimental-c70eb7d

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 (80) hide show
  1. package/build/main.css +2872 -1501
  2. package/build/styles/Inputs/Input/Input.css +62 -28
  3. package/build/styles/Inputs/TextArea/TextArea.css +62 -28
  4. package/build/styles/Popover/Popover.css +3 -9
  5. package/build/styles/_deprecated/Select/Select.css +27 -7
  6. package/build/styles/css/accordion.css +23 -52
  7. package/build/styles/css/button-groups.css +29 -8
  8. package/build/styles/css/buttons.css +26 -2
  9. package/build/styles/css/decision.css +23 -52
  10. package/build/styles/css/dropdowns.css +39 -62
  11. package/build/styles/css/droppable.css +28 -8
  12. package/build/styles/css/footer.css +41 -14
  13. package/build/styles/css/input-groups.css +172 -165
  14. package/build/styles/css/list-group.css +0 -45
  15. package/build/styles/css/navbar.css +39 -62
  16. package/build/styles/css/neptune-addons.css +15 -0
  17. package/build/styles/css/neptune-core.css +250 -526
  18. package/build/styles/css/neptune.css +2777 -1422
  19. package/build/styles/css/popovers.css +35 -60
  20. package/build/styles/css/sequences.css +6 -1
  21. package/build/styles/css/tooltip.css +27 -7
  22. package/build/styles/less/neptune-tokens.less +0 -48
  23. package/build/styles/main.css +2872 -1501
  24. package/build/styles/props/neptune-tokens.css +802 -1
  25. package/build/styles/styles/less/accordion.css +23 -52
  26. package/build/styles/styles/less/button-groups.css +29 -8
  27. package/build/styles/styles/less/buttons.css +26 -2
  28. package/build/styles/styles/less/decision.css +23 -52
  29. package/build/styles/styles/less/dropdowns.css +39 -62
  30. package/build/styles/styles/less/droppable.css +28 -8
  31. package/build/styles/styles/less/footer.css +41 -14
  32. package/build/styles/styles/less/forms/bootstrap-forms.css +137 -91
  33. package/build/styles/styles/less/input-groups.css +172 -165
  34. package/build/styles/styles/less/list-group.css +0 -45
  35. package/build/styles/styles/less/navbar.css +39 -62
  36. package/build/styles/styles/less/neptune-addons.css +15 -0
  37. package/build/styles/styles/less/neptune-core.css +250 -526
  38. package/build/styles/styles/less/neptune.css +2777 -1422
  39. package/build/styles/styles/less/popovers.css +35 -60
  40. package/build/styles/styles/less/sequences.css +6 -1
  41. package/build/styles/styles/less/tooltip.css +27 -7
  42. package/package.json +1 -1
  43. package/src/Inputs/Input/Input.css +62 -28
  44. package/src/Inputs/TextArea/TextArea.css +62 -28
  45. package/src/Popover/Popover.css +3 -9
  46. package/src/_deprecated/Select/Select.css +27 -7
  47. package/src/main.css +2872 -1501
  48. package/src/styles/less/accordion.css +23 -52
  49. package/src/styles/less/addons/_background-utilities.less +5 -0
  50. package/src/styles/less/button-groups.css +29 -8
  51. package/src/styles/less/button-groups.less +3 -2
  52. package/src/styles/less/buttons.css +26 -2
  53. package/src/styles/less/buttons.less +1 -1
  54. package/src/styles/less/core/_typography.less +67 -221
  55. package/src/styles/less/decision.css +23 -52
  56. package/src/styles/less/decision.less +2 -2
  57. package/src/styles/less/dropdowns.css +39 -62
  58. package/src/styles/less/dropdowns.less +6 -5
  59. package/src/styles/less/droppable.css +28 -8
  60. package/src/styles/less/droppable.less +4 -4
  61. package/src/styles/less/footer.css +41 -14
  62. package/src/styles/less/footer.less +4 -3
  63. package/src/styles/less/forms/bootstrap-forms.css +137 -91
  64. package/src/styles/less/forms/bootstrap-forms.less +70 -57
  65. package/src/styles/less/input-groups.css +172 -165
  66. package/src/styles/less/input-groups.less +5 -5
  67. package/src/styles/less/list-group.css +0 -45
  68. package/src/styles/less/list-group.less +7 -4
  69. package/src/styles/less/mixins/_text-emphasis.less +7 -1
  70. package/src/styles/less/navbar.css +39 -62
  71. package/src/styles/less/neptune-addons.css +15 -0
  72. package/src/styles/less/neptune-core.css +250 -526
  73. package/src/styles/less/neptune.bundle.less +4 -0
  74. package/src/styles/less/neptune.css +2777 -1422
  75. package/src/styles/less/popovers.css +35 -60
  76. package/src/styles/less/popovers.less +3 -3
  77. package/src/styles/less/sequences.css +6 -1
  78. package/src/styles/less/sequences.less +7 -2
  79. package/src/styles/less/tooltip.css +27 -7
  80. package/src/styles/less/tooltip.less +1 -1
@@ -1,4 +1,36 @@
1
- .dropup,
1
+ .dropdown-menu,
2
+ .dropdown-menu > li > a {
3
+ word-wrap: break-word;
4
+ }
5
+ @supports (hyphenate-limit-chars: 1) {
6
+ .dropdown-menu,
7
+ .dropdown-menu > li > a {
8
+ hyphens: auto;hyphenate-limit-chars: 7 3;
9
+ }
10
+ @media (min-width: 840px) {
11
+ .dropdown-menu,
12
+ .dropdown-menu > li > a {
13
+ hyphenate-limit-chars: 8 3;
14
+ }
15
+ }
16
+ @media (min-width: 1160px) {
17
+ .dropdown-menu,
18
+ .dropdown-menu > li > a {
19
+ hyphenate-limit-chars: 10 4 3;
20
+ }
21
+ }
22
+ }@supports (not (hyphenate-limit-chars: 1)) and (-webkit-hyphenate-limit-before: 1) {
23
+ .dropdown-menu,
24
+ .dropdown-menu > li > a {
25
+ hyphens: auto;-webkit-hyphenate-limit-before: 3;-webkit-hyphenate-limit-after: 3;
26
+ }
27
+ @media (min-width: 1160px) {
28
+ .dropdown-menu,
29
+ .dropdown-menu > li > a {
30
+ -webkit-hyphenate-limit-before: 4;
31
+ }
32
+ }
33
+ }.dropup,
2
34
  .dropdown {
3
35
  position: relative;
4
36
  }
@@ -11,12 +43,6 @@
11
43
  padding: 8px;
12
44
  margin: 0;
13
45
  list-style: none;
14
- font-size: 0.875rem;
15
- font-size: var(--font-size-14);
16
- line-height: 155%;
17
- letter-spacing: -0.006em;
18
- font-weight: 400;
19
- font-weight: var(--font-weight-regular);
20
46
  word-wrap: break-word;
21
47
  text-align: start;
22
48
  background-color: #ffffff;
@@ -95,12 +121,6 @@
95
121
  padding: var(--dropdown-link-padding);
96
122
  clear: both;
97
123
  border-radius: 3px;
98
- font-size: 0.875rem;
99
- font-size: var(--font-size-14);
100
- line-height: 155%;
101
- letter-spacing: -0.006em;
102
- font-weight: 400;
103
- font-weight: var(--font-weight-regular);
104
124
  word-wrap: break-word;
105
125
  color: #37517e;
106
126
  color: var(--color-content-primary);
@@ -199,10 +219,12 @@
199
219
  .dropdown-menu > .selected > a strong {
200
220
  color: inherit;
201
221
  }
202
- .dropdown-menu > .active > a .np-text-body-default,
203
- .dropdown-menu > .selected > a .np-text-body-default,
204
222
  .dropdown-menu > .active > a .small,
205
223
  .dropdown-menu > .selected > a .small,
224
+ .dropdown-menu > .active > a .np-text-body-default,
225
+ .dropdown-menu > .selected > a .np-text-body-default,
226
+ .dropdown-menu > .active > a .wds-text-body-default,
227
+ .dropdown-menu > .selected > a .wds-text-body-default,
206
228
  .dropdown-menu > .active > a .secondary,
207
229
  .dropdown-menu > .selected > a .secondary {
208
230
  color: #c9cbce;
@@ -297,58 +319,13 @@
297
319
  display: block;
298
320
  padding-block: 8px;
299
321
  padding-inline: 16px;
322
+ font-size: 0.875rem;
323
+ font-size: var(--font-size-14);
300
324
  line-height: 1.5;
301
325
  line-height: var(--line-height-body);
302
326
  color: #5d7079;
303
327
  color: var(--color-content-secondary);
304
328
  white-space: nowrap;
305
- margin: 0;
306
- color: #37517e;
307
- color: var(--color-content-primary);
308
- line-height: 1.2;
309
- line-height: var(--line-height-title);
310
- letter-spacing: 0;
311
- word-wrap: break-word;
312
- font-weight: 500;
313
- font-weight: var(--font-weight-medium);
314
- font-size: 0.875rem;
315
- font-size: var(--font-size-14);
316
- letter-spacing: -0.006em;
317
- line-height: 140%;
318
- }
319
- @supports (hyphenate-limit-chars: 1) {
320
- .dropdown-header {
321
- hyphens: auto;
322
- hyphenate-limit-chars: 7 3;
323
- }
324
- @media (min-width: 840px) {
325
- .dropdown-header {
326
- hyphenate-limit-chars: 8 3;
327
- }
328
- }
329
- @media (min-width: 1160px) {
330
- .dropdown-header {
331
- hyphenate-limit-chars: 10 4 3;
332
- }
333
- }
334
- }
335
- @supports (not (hyphenate-limit-chars: 1)) and (-webkit-hyphenate-limit-before: 1) {
336
- .dropdown-header {
337
- hyphens: auto;
338
- -webkit-hyphenate-limit-before: 3;
339
- -webkit-hyphenate-limit-after: 3;
340
- }
341
- @media (min-width: 1160px) {
342
- .dropdown-header {
343
- -webkit-hyphenate-limit-before: 4;
344
- }
345
- }
346
- }
347
- .dropdown-header + p,
348
- .dropdown-header + ul:not(.list-unstyled),
349
- .dropdown-header + ol:not(.list-unstyled) {
350
- margin-block-start: 8px;
351
- margin-block-start: var(--size-8);
352
329
  }
353
330
  .dropdown-backdrop {
354
331
  position: fixed;
@@ -1,11 +1,31 @@
1
1
  .droppable {
2
+ word-wrap: break-word;
3
+ }
4
+ @supports (hyphenate-limit-chars: 1) {
5
+ .droppable {
6
+ hyphens: auto;hyphenate-limit-chars: 7 3;
7
+ }
8
+ @media (min-width: 840px) {
9
+ .droppable {
10
+ hyphenate-limit-chars: 8 3;
11
+ }
12
+ }
13
+ @media (min-width: 1160px) {
14
+ .droppable {
15
+ hyphenate-limit-chars: 10 4 3;
16
+ }
17
+ }
18
+ }@supports (not (hyphenate-limit-chars: 1)) and (-webkit-hyphenate-limit-before: 1) {
19
+ .droppable {
20
+ hyphens: auto;-webkit-hyphenate-limit-before: 3;-webkit-hyphenate-limit-after: 3;
21
+ }
22
+ @media (min-width: 1160px) {
23
+ .droppable {
24
+ -webkit-hyphenate-limit-before: 4;
25
+ }
26
+ }
27
+ }.droppable {
2
28
  position: relative;
3
- font-weight: 400;
4
- font-weight: var(--font-weight-regular);
5
- font-size: 1rem;
6
- font-size: var(--font-size-16);
7
- line-height: 150%;
8
- letter-spacing: -0.011em;
9
29
  word-wrap: break-word;
10
30
  text-align: center;
11
31
  border: 1px solid #c9cbce;
@@ -167,7 +187,7 @@
167
187
  z-index: 1;
168
188
  }
169
189
  .np-theme-personal .droppable-dropping-card {
170
- background-color: #E1E4DF;
190
+ background-color: #e1e4df;
171
191
  color: #37517e;
172
192
  color: var(--color-content-primary);
173
193
  }
@@ -175,7 +195,7 @@
175
195
  background-color: #404440;
176
196
  }
177
197
  .np-theme-personal--forest-green .droppable-dropping-card {
178
- background-color: #455C35;
198
+ background-color: #455c35;
179
199
  }
180
200
  .droppable-dropping .droppable-dropping-card {
181
201
  display: flex;
@@ -1,12 +1,44 @@
1
- .footer {
1
+ .footer,
2
+ .footer .footer-link,
3
+ .footer .link-icon {
4
+ word-wrap: break-word;
5
+ }
6
+ @supports (hyphenate-limit-chars: 1) {
7
+ .footer,
8
+ .footer .footer-link,
9
+ .footer .link-icon {
10
+ hyphens: auto;hyphenate-limit-chars: 7 3;
11
+ }
12
+ @media (min-width: 840px) {
13
+ .footer,
14
+ .footer .footer-link,
15
+ .footer .link-icon {
16
+ hyphenate-limit-chars: 8 3;
17
+ }
18
+ }
19
+ @media (min-width: 1160px) {
20
+ .footer,
21
+ .footer .footer-link,
22
+ .footer .link-icon {
23
+ hyphenate-limit-chars: 10 4 3;
24
+ }
25
+ }
26
+ }@supports (not (hyphenate-limit-chars: 1)) and (-webkit-hyphenate-limit-before: 1) {
27
+ .footer,
28
+ .footer .footer-link,
29
+ .footer .link-icon {
30
+ hyphens: auto;-webkit-hyphenate-limit-before: 3;-webkit-hyphenate-limit-after: 3;
31
+ }
32
+ @media (min-width: 1160px) {
33
+ .footer,
34
+ .footer .footer-link,
35
+ .footer .link-icon {
36
+ -webkit-hyphenate-limit-before: 4;
37
+ }
38
+ }
39
+ }.footer {
2
40
  background-color: rgba(134,167,189,0.10196);
3
41
  background-color: var(--color-background-neutral);
4
- font-size: 0.875rem;
5
- font-size: var(--font-size-14);
6
- line-height: 155%;
7
- letter-spacing: -0.006em;
8
- font-weight: 400;
9
- font-weight: var(--font-weight-regular);
10
42
  word-wrap: break-word;
11
43
  padding-block-start: calc(8px * 10);
12
44
  padding-block-start: calc(var(--size-8) * 10);
@@ -61,12 +93,6 @@
61
93
  .footer .link-icon {
62
94
  color: #5d7079;
63
95
  color: var(--color-content-secondary);
64
- font-size: 0.875rem;
65
- font-size: var(--font-size-14);
66
- line-height: 155%;
67
- letter-spacing: -0.006em;
68
- font-weight: 400;
69
- font-weight: var(--font-weight-regular);
70
96
  word-wrap: break-word;
71
97
  }
72
98
  @supports (hyphenate-limit-chars: 1) {
@@ -183,7 +209,8 @@
183
209
  }
184
210
  .footer.footer-inverse .tiny,
185
211
  .footer.footer-inverse .body-3,
186
- .footer.footer-inverse .np-text-body-default {
212
+ .footer.footer-inverse .np-text-body-default,
213
+ .footer.footer-inverse .wds-text-body-default {
187
214
  color: #ffffff;
188
215
  }
189
216
  @media (max-width: 599.98px) {