@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
- .close {
1
+ .popover,
2
+ .popover-content {
3
+ word-wrap: break-word;
4
+ }
5
+ @supports (hyphenate-limit-chars: 1) {
6
+ .popover,
7
+ .popover-content {
8
+ hyphens: auto;hyphenate-limit-chars: 7 3;
9
+ }
10
+ @media (min-width: 840px) {
11
+ .popover,
12
+ .popover-content {
13
+ hyphenate-limit-chars: 8 3;
14
+ }
15
+ }
16
+ @media (min-width: 1160px) {
17
+ .popover,
18
+ .popover-content {
19
+ hyphenate-limit-chars: 10 4 3;
20
+ }
21
+ }
22
+ }@supports (not (hyphenate-limit-chars: 1)) and (-webkit-hyphenate-limit-before: 1) {
23
+ .popover,
24
+ .popover-content {
25
+ hyphens: auto;-webkit-hyphenate-limit-before: 3;-webkit-hyphenate-limit-after: 3;
26
+ }
27
+ @media (min-width: 1160px) {
28
+ .popover,
29
+ .popover-content {
30
+ -webkit-hyphenate-limit-before: 4;
31
+ }
32
+ }
33
+ }.close {
2
34
  float: inline-end;
3
35
  color: #0097c7;
4
36
  color: var(--color-content-accent);
@@ -66,12 +98,6 @@ button.close {
66
98
  word-break: normal;
67
99
  word-spacing: normal;
68
100
  word-wrap: normal;
69
- font-size: 0.875rem;
70
- font-size: var(--font-size-14);
71
- line-height: 155%;
72
- letter-spacing: -0.006em;
73
- font-weight: 400;
74
- font-weight: var(--font-weight-regular);
75
101
  word-wrap: break-word;
76
102
  background-color: #ffffff;
77
103
  background-color: var(--color-background-screen);
@@ -258,20 +284,8 @@ button.close {
258
284
  margin-inline: 0;
259
285
  }
260
286
  .popover-title {
261
- padding: 0;
262
287
  margin: 0;
263
- color: #37517e;
264
- color: var(--color-content-primary);
265
- line-height: 1.2;
266
- line-height: var(--line-height-title);
267
- letter-spacing: 0;
268
- word-wrap: break-word;
269
- font-size: 1.125rem;
270
- font-size: var(--font-size-18);
271
- font-weight: 600;
272
- font-weight: var(--font-weight-semi-bold);
273
- letter-spacing: -0.014em;
274
- line-height: 135%;
288
+ padding: 0;
275
289
  background-color: #ffffff;
276
290
  background-color: var(--color-background-screen);
277
291
  border-block-end: 0;
@@ -279,50 +293,11 @@ button.close {
279
293
  border-start-end-radius: 2px;
280
294
  border-end-end-radius: 0;
281
295
  border-end-start-radius: 0;
296
+ color: #37517e !important;
282
297
  color: var(--color-content-primary) !important;
283
298
  }
284
- @supports (hyphenate-limit-chars: 1) {
285
- .popover-title {
286
- hyphens: auto;
287
- hyphenate-limit-chars: 7 3;
288
- }
289
- @media (min-width: 840px) {
290
- .popover-title {
291
- hyphenate-limit-chars: 8 3;
292
- }
293
- }
294
- @media (min-width: 1160px) {
295
- .popover-title {
296
- hyphenate-limit-chars: 10 4 3;
297
- }
298
- }
299
- }
300
- @supports (not (hyphenate-limit-chars: 1)) and (-webkit-hyphenate-limit-before: 1) {
301
- .popover-title {
302
- hyphens: auto;
303
- -webkit-hyphenate-limit-before: 3;
304
- -webkit-hyphenate-limit-after: 3;
305
- }
306
- @media (min-width: 1160px) {
307
- .popover-title {
308
- -webkit-hyphenate-limit-before: 4;
309
- }
310
- }
311
- }
312
- .popover-title + p,
313
- .popover-title + ul:not(.list-unstyled),
314
- .popover-title + ol:not(.list-unstyled) {
315
- margin-block-start: 8px;
316
- margin-block-start: var(--size-8);
317
- }
318
299
  .popover-content {
319
300
  padding: 0;
320
- font-size: 0.875rem;
321
- font-size: var(--font-size-14);
322
- line-height: 155%;
323
- letter-spacing: -0.006em;
324
- font-weight: 400;
325
- font-weight: var(--font-weight-regular);
326
301
  word-wrap: break-word;
327
302
  color: #5d7079;
328
303
  color: var(--color-content-secondary);
@@ -24,7 +24,7 @@
24
24
  // So reset our font and text properties to avoid inheriting weird values.
25
25
  .reset-text();
26
26
 
27
- .np-text-body-default;
27
+ .wds-text-body-default;
28
28
 
29
29
  background-color: var(--color-background-screen);
30
30
  background-clip: padding-box;
@@ -221,7 +221,7 @@
221
221
  margin: 0; // reset heading margin
222
222
  padding: 0;
223
223
 
224
- .np-text-title-body();
224
+ .wds-text-title-body();
225
225
 
226
226
  background-color: var(--color-background-screen);
227
227
  border-bottom: 0;
@@ -232,7 +232,7 @@
232
232
  .popover-content {
233
233
  padding: 0;
234
234
 
235
- .np-text-body-default;
235
+ .wds-text-body-default;
236
236
 
237
237
  color: var(--color-content-secondary);
238
238
  }
@@ -131,6 +131,10 @@
131
131
  .sequence > li .h2,
132
132
  .sequence > li .h3,
133
133
  .sequence > li .h4,
134
+ .sequence > li .wds-text-title-screen,
135
+ .sequence > li .wds-text-title-section,
136
+ .sequence > li .wds-text-title-subsection,
137
+ .sequence > li .wds-text-title-body,
134
138
  .sequence > li .btn-toolbar {
135
139
  margin-block-end: 16px;
136
140
  }
@@ -221,7 +225,8 @@
221
225
  }
222
226
  .sequence-inverse > .active .small,
223
227
  .sequence-inverse > .active .body-2,
224
- .sequence-inverse > .active .np-text-body-default {
228
+ .sequence-inverse > .active .np-text-body-default,
229
+ .sequence-inverse > .active .wds-text-body-default {
225
230
  color: #5d7079;
226
231
  color: var(--color-content-secondary);
227
232
  }
@@ -85,6 +85,10 @@
85
85
  .h2,
86
86
  .h3,
87
87
  .h4,
88
+ .wds-text-title-screen,
89
+ .wds-text-title-section,
90
+ .wds-text-title-subsection,
91
+ .wds-text-title-body,
88
92
  .btn-toolbar {
89
93
  margin-bottom: 16px;
90
94
  }
@@ -186,7 +190,8 @@
186
190
 
187
191
  .small,
188
192
  .body-2,
189
- .np-text-body-default {
193
+ .np-text-body-default,
194
+ .wds-text-body-default {
190
195
  color: var(--color-content-secondary);
191
196
  }
192
197
 
@@ -216,7 +221,7 @@
216
221
 
217
222
  > .active {
218
223
  &::before {
219
- border-width: (@sequence-pip-size / 2); // TODO sequence-line-width?
224
+ border-width: (@sequence-pip-size / 2); // TODO sequence-line-width?
220
225
  }
221
226
 
222
227
  ~ li::before {
@@ -1,4 +1,30 @@
1
- .tooltip {
1
+ .tooltip-inner {
2
+ word-wrap: break-word;
3
+ }
4
+ @supports (hyphenate-limit-chars: 1) {
5
+ .tooltip-inner {
6
+ hyphens: auto;hyphenate-limit-chars: 7 3;
7
+ }
8
+ @media (min-width: 840px) {
9
+ .tooltip-inner {
10
+ hyphenate-limit-chars: 8 3;
11
+ }
12
+ }
13
+ @media (min-width: 1160px) {
14
+ .tooltip-inner {
15
+ hyphenate-limit-chars: 10 4 3;
16
+ }
17
+ }
18
+ }@supports (not (hyphenate-limit-chars: 1)) and (-webkit-hyphenate-limit-before: 1) {
19
+ .tooltip-inner {
20
+ hyphens: auto;-webkit-hyphenate-limit-before: 3;-webkit-hyphenate-limit-after: 3;
21
+ }
22
+ @media (min-width: 1160px) {
23
+ .tooltip-inner {
24
+ -webkit-hyphenate-limit-before: 4;
25
+ }
26
+ }
27
+ }.tooltip {
2
28
  position: absolute;
3
29
  z-index: 1070;
4
30
  display: block;
@@ -45,12 +71,6 @@
45
71
  padding-inline: 5px;
46
72
  }
47
73
  .tooltip-inner {
48
- font-size: 0.875rem;
49
- font-size: var(--font-size-14);
50
- line-height: 155%;
51
- letter-spacing: -0.006em;
52
- font-weight: 400;
53
- font-weight: var(--font-weight-regular);
54
74
  word-wrap: break-word;
55
75
  max-inline-size: 200px;
56
76
  min-inline-size: 120px;
@@ -50,7 +50,7 @@
50
50
 
51
51
  // Wrapper for the tooltip content
52
52
  .tooltip-inner {
53
- .np-text-body-default;
53
+ .wds-text-body-default;
54
54
 
55
55
  max-width: @tooltip-max-width;
56
56
  min-width: 120px;