@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
@@ -36,78 +36,49 @@
36
36
  .np-theme-personal .chevron-color {
37
37
  color: var(--color-interactive-primary);
38
38
  }
39
- .decision {
40
- cursor: pointer;
41
- margin-block-end: 0 !important;
42
- border: 0;
43
- align-items: center;
44
- transition: background-color ease 350ms;
45
- background-color: transparent;
46
- display: block;
47
- }
48
- .decision:not(.np-option):focus-visible,
49
- .decision:not(.np-option):has(:focus-visible) {
50
- outline: var(--ring-outline-color) solid var(--ring-outline-width);
51
- outline-offset: 0;
52
- outline-offset: var(--ring-outline-offset);
53
- --ring-outline-offset: 0;
54
- }
55
- .decision__title {
56
- margin: 0;
57
- color: #37517e;
58
- color: var(--color-content-primary);
59
- line-height: 1.2;
60
- line-height: var(--line-height-title);
61
- letter-spacing: 0;
39
+ .decision__content {
62
40
  word-wrap: break-word;
63
- font-size: 1.125rem;
64
- font-size: var(--font-size-18);
65
- font-weight: 600;
66
- font-weight: var(--font-weight-semi-bold);
67
- letter-spacing: -0.014em;
68
- line-height: 135%;
69
41
  }
70
42
  @supports (hyphenate-limit-chars: 1) {
71
- .decision__title {
72
- hyphens: auto;
73
- hyphenate-limit-chars: 7 3;
43
+ .decision__content {
44
+ hyphens: auto;hyphenate-limit-chars: 7 3;
74
45
  }
75
46
  @media (min-width: 840px) {
76
- .decision__title {
47
+ .decision__content {
77
48
  hyphenate-limit-chars: 8 3;
78
49
  }
79
50
  }
80
51
  @media (min-width: 1160px) {
81
- .decision__title {
52
+ .decision__content {
82
53
  hyphenate-limit-chars: 10 4 3;
83
54
  }
84
55
  }
85
- }
86
- @supports (not (hyphenate-limit-chars: 1)) and (-webkit-hyphenate-limit-before: 1) {
87
- .decision__title {
88
- hyphens: auto;
89
- -webkit-hyphenate-limit-before: 3;
90
- -webkit-hyphenate-limit-after: 3;
56
+ }@supports (not (hyphenate-limit-chars: 1)) and (-webkit-hyphenate-limit-before: 1) {
57
+ .decision__content {
58
+ hyphens: auto;-webkit-hyphenate-limit-before: 3;-webkit-hyphenate-limit-after: 3;
91
59
  }
92
60
  @media (min-width: 1160px) {
93
- .decision__title {
61
+ .decision__content {
94
62
  -webkit-hyphenate-limit-before: 4;
95
63
  }
96
64
  }
65
+ }.decision {
66
+ cursor: pointer;
67
+ margin-block-end: 0 !important;
68
+ border: 0;
69
+ align-items: center;
70
+ transition: background-color ease 350ms;
71
+ background-color: transparent;
72
+ display: block;
97
73
  }
98
- .decision__title + p,
99
- .decision__title + ul:not(.list-unstyled),
100
- .decision__title + ol:not(.list-unstyled) {
101
- margin-block-start: 8px;
102
- margin-block-start: var(--size-8);
74
+ .decision:not(.np-option):focus-visible,
75
+ .decision:not(.np-option):has(:focus-visible) {
76
+ outline: var(--ring-outline-color) solid var(--ring-outline-width);
77
+ outline-offset: 0;
78
+ outline-offset: var(--ring-outline-offset);
79
+ --ring-outline-offset: 0;
103
80
  }
104
81
  .decision__content {
105
- font-size: 0.875rem;
106
- font-size: var(--font-size-14);
107
- line-height: 155%;
108
- letter-spacing: -0.006em;
109
- font-weight: 400;
110
- font-weight: var(--font-weight-regular);
111
82
  word-wrap: break-word;
112
83
  margin-block-start: 4px;
113
84
  margin-block-start: var(--size-4);
@@ -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
  }
@@ -1,4 +1,30 @@
1
- .btn-group,
1
+ .btn-group .secondary {
2
+ word-wrap: break-word;
3
+ }
4
+ @supports (hyphenate-limit-chars: 1) {
5
+ .btn-group .secondary {
6
+ hyphens: auto;hyphenate-limit-chars: 7 3;
7
+ }
8
+ @media (min-width: 840px) {
9
+ .btn-group .secondary {
10
+ hyphenate-limit-chars: 8 3;
11
+ }
12
+ }
13
+ @media (min-width: 1160px) {
14
+ .btn-group .secondary {
15
+ hyphenate-limit-chars: 10 4 3;
16
+ }
17
+ }
18
+ }@supports (not (hyphenate-limit-chars: 1)) and (-webkit-hyphenate-limit-before: 1) {
19
+ .btn-group .secondary {
20
+ hyphens: auto;-webkit-hyphenate-limit-before: 3;-webkit-hyphenate-limit-after: 3;
21
+ }
22
+ @media (min-width: 1160px) {
23
+ .btn-group .secondary {
24
+ -webkit-hyphenate-limit-before: 4;
25
+ }
26
+ }
27
+ }.btn-group,
2
28
  .btn-group-vertical {
3
29
  position: relative;
4
30
  display: inline-block;
@@ -334,8 +360,9 @@
334
360
  .btn-group .btn-input + .dropdown-menu > li > a {
335
361
  white-space: normal;
336
362
  }
337
- .btn-group .np-text-body-default,
338
363
  .btn-group .body-2,
364
+ .btn-group .np-text-body-default,
365
+ .btn-group .wds-text-body-default,
339
366
  .btn-group .small {
340
367
  color: #5d7079;
341
368
  color: var(--color-content-secondary);
@@ -346,12 +373,6 @@
346
373
  }
347
374
  }
348
375
  .btn-group .secondary {
349
- font-size: 0.875rem;
350
- font-size: var(--font-size-14);
351
- line-height: 155%;
352
- letter-spacing: -0.006em;
353
- font-weight: 400;
354
- font-weight: var(--font-weight-regular);
355
376
  word-wrap: break-word;
356
377
  color: #5d7079;
357
378
  color: var(--color-content-secondary);
@@ -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
  }
@@ -2,8 +2,32 @@
2
2
  block-size: 32px;
3
3
  }
4
4
  .btn {
5
- line-height: 150%;
6
- letter-spacing: -0.011em;
5
+ word-wrap: break-word;
6
+ }
7
+ @supports (hyphenate-limit-chars: 1) {
8
+ .btn {
9
+ hyphens: auto;hyphenate-limit-chars: 7 3;
10
+ }
11
+ @media (min-width: 840px) {
12
+ .btn {
13
+ hyphenate-limit-chars: 8 3;
14
+ }
15
+ }
16
+ @media (min-width: 1160px) {
17
+ .btn {
18
+ hyphenate-limit-chars: 10 4 3;
19
+ }
20
+ }
21
+ }@supports (not (hyphenate-limit-chars: 1)) and (-webkit-hyphenate-limit-before: 1) {
22
+ .btn {
23
+ hyphens: auto;-webkit-hyphenate-limit-before: 3;-webkit-hyphenate-limit-after: 3;
24
+ }
25
+ @media (min-width: 1160px) {
26
+ .btn {
27
+ -webkit-hyphenate-limit-before: 4;
28
+ }
29
+ }
30
+ }.btn {
7
31
  word-wrap: break-word;
8
32
  display: inline-block;
9
33
  margin-block-end: 0;
@@ -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;
@@ -6,7 +6,7 @@
6
6
 
7
7
  // TITLE
8
8
 
9
- /* DEPRECATED: use .np-text-*-title instead */
9
+ /* DEPRECATED: use `.wds-text-*` instead */
10
10
  /* stylelint-disable-next-line selector-list-comma-newline-after */
11
11
  .h1,
12
12
  .h2,
@@ -32,8 +32,6 @@ h6,
32
32
  .np-text-title-group {
33
33
  margin: 0;
34
34
  color: var(--color-content-primary);
35
- line-height: var(--line-height-title);
36
- letter-spacing: 0;
37
35
  .np-text-hyphenated;
38
36
 
39
37
  + p,
@@ -43,86 +41,76 @@ h6,
43
41
  }
44
42
  }
45
43
 
46
- /* DEPRECATED: use .np-text-title-screen instead */
44
+ /* DEPRECATED: use `.wds-text-title-screen` instead */
47
45
  /* stylelint-disable-next-line selector-list-comma-newline-after */
48
46
  .h1,
49
47
  .title-1,
50
48
  h1,
51
- .np-text-title-screen {
49
+ .np-text-title-screen,
50
+ .wds-text-title-screen {
51
+ &:extend(.wds-text-title-screen);
52
52
  margin-bottom: initial;
53
- font-size: var(--font-size-30);
54
- font-weight: var(--font-weight-semi-bold);
55
- letter-spacing: -0.021em;
56
- line-height: 115%;
57
53
  }
58
54
 
59
- /* DEPRECATED: use .np-text-title-section instead */
55
+ /* DEPRECATED: use `.wds-text-title-section` instead */
60
56
  /* stylelint-disable-next-line selector-list-comma-newline-after */
61
57
  .h2,
62
58
  .title-2,
63
59
  h2,
64
- .np-text-title-section {
60
+ .np-text-title-section,
61
+ .wds-text-title-section {
62
+ &:extend(.wds-text-title-section);
65
63
  margin-bottom: initial;
66
- font-weight: var(--font-weight-semi-bold);
67
- font-size: var(--font-size-26);
68
- letter-spacing: -0.02em;
69
- line-height: 122%;
70
64
  }
71
65
 
72
- /* DEPRECATED: use .np-text-title-subsection instead */
66
+ /* DEPRECATED: use `.wds-text-title-subsection` instead */
73
67
  /* stylelint-disable-next-line selector-list-comma-newline-after */
74
68
  .h3,
75
69
  .title-3,
76
70
  h3,
77
- .np-text-title-subsection {
71
+ .np-text-title-subsection,
72
+ .wds-text-title-subsection {
73
+ &:extend(.wds-text-title-subsection);
78
74
  margin-bottom: initial;
79
- font-size: var(--font-size-22);
80
- font-weight: var(--font-weight-semi-bold);
81
- letter-spacing: -0.018em;
82
- line-height: 125%;
83
75
  }
84
76
 
85
- /* DEPRECATED: use .np-text-title-body instead */
77
+ /* DEPRECATED: use `.wds-text-title-body` instead */
86
78
  /* stylelint-disable-next-line selector-list-comma-newline-after */
87
79
  .h4,
88
80
  .title-4,
89
81
  h4,
90
- .np-text-title-body {
91
- font-size: var(--font-size-18);
92
- font-weight: var(--font-weight-semi-bold);
93
- letter-spacing: -0.014em;
94
- line-height: 135%;
82
+ .np-text-title-body,
83
+ .wds-text-title-body {
84
+ &:extend(.wds-text-title-body);
95
85
  }
96
86
 
97
- /* DEPRECATED: use .np-text-title-group instead */
87
+ /* DEPRECATED: use `.wds-text-title-group` instead */
98
88
  /* stylelint-disable-next-line selector-list-comma-newline-after */
99
89
  .h5,
100
90
  .h6,
101
91
  .title-5,
102
92
  h5,
103
93
  h6,
104
- .np-text-title-group {
105
- font-weight: var(--font-weight-medium);
106
- font-size: var(--font-size-14);
107
- letter-spacing: -0.006em;
108
- line-height: 140%;
94
+ .np-text-title-group,
95
+ .wds-text-title-group {
96
+ &:extend(.wds-text-title-group);
109
97
  }
110
98
 
111
- /* DEPRECATED: use .np-text-title-body instead */
99
+ /* DEPRECATED: use `.wds-text-title-body` instead */
112
100
  .lead {
113
101
  margin-bottom: var(--size-24);
114
102
  font-size: var(--font-size-20);
115
103
  line-height: var(--line-height-title);
116
104
  }
117
105
 
118
- // DEPRECATED: use .np-text-body-default instead
106
+ // DEPRECATED: use `.wds-text-body-default` instead
119
107
  .tiny {
120
108
  color: var(--color-content-secondary);
121
109
  }
122
110
 
123
111
  // BODY
124
112
 
125
- /* DEPRECATED: use .np-text-body-default instead */
113
+ /* DEPRECATED: use `.wds-text-body-default` instead */
126
114
  /* stylelint-disable-next-line selector-list-comma-newline-after */
127
115
  .body-2,
128
116
  .body-3,
@@ -130,49 +118,41 @@ h6,
130
118
  .tiny,
131
119
  body,
132
120
  small,
133
- .np-text-body-default {
134
- font-size: var(--font-size-14);
135
- line-height: 155%;
136
- letter-spacing: -0.006em;
137
- font-weight: var(--font-weight-regular);
121
+ .np-text-body-default,
122
+ .wds-text-body-default {
123
+ &:extend(.wds-text-body-default);
138
124
  .np-text-hyphenated;
139
125
  }
140
126
 
141
- /* DEPRECATED: use .np-text-body-default-bold instead */
127
+ /* DEPRECATED: use `.wds-text-body-default-bold` instead */
142
128
  /* stylelint-disable-next-line selector-list-comma-newline-after */
143
129
  .control-2,
144
130
 
145
131
  // DEPRECATED: use `Field` component (or in some edge cases `Label` component) instead
146
132
  .label, .control-label,
147
133
 
148
- .np-text-body-default-bold {
149
- font-size: var(--font-size-14);
150
- line-height: 155%;
151
- letter-spacing: -0.006em;
152
- font-weight: var(--font-weight-semi-bold);
134
+ .np-text-body-default-bold,
135
+ .wds-text-body-default-bold {
136
+ &:extend(.wds-text-body-default-bold);
153
137
  .np-text-hyphenated;
154
138
  }
155
139
 
156
- /* DEPRECATED: use .np-text-body-large instead */
140
+ /* DEPRECATED: use `.wds-text-body-large` instead */
157
141
  /* stylelint-disable-next-line selector-list-comma-newline-after */
158
142
  .body-1,
159
143
  .value,
160
- .np-text-body-large {
161
- font-weight: var(--font-weight-regular);
162
- font-size: var(--font-size-16);
163
- line-height: 150%;
164
- letter-spacing: -0.011em;
144
+ .np-text-body-large,
145
+ .wds-text-body-large {
146
+ &:extend(.wds-text-body-large);
165
147
  .np-text-hyphenated;
166
148
  }
167
149
 
168
- /* DEPRECATED: use np-text-body-large-bold instead */
150
+ /* DEPRECATED: use `.wds-text-body-large-bold` instead */
169
151
  /* stylelint-disable-next-line selector-list-comma-newline-after */
170
152
  .control-1,
171
- .np-text-body-large-bold {
172
- font-weight: var(--font-weight-semi-bold);
173
- font-size: var(--font-size-16);
174
- line-height: 150%;
175
- letter-spacing: -0.011em;
153
+ .np-text-body-large-bold,
154
+ .wds-text-body-large-bold {
155
+ &:extend(.wds-text-body-large-bold);
176
156
  .np-text-hyphenated;
177
157
  }
178
158
 
@@ -199,19 +179,25 @@ a,
199
179
 
200
180
  // DISPLAY
201
181
 
202
- .np-text-display-number {
203
- font-weight: var(--font-weight-semi-bold);
204
- font-size: 40px;
205
- line-height: 110%;
182
+ /* DEPRECATED: use .wds-text-display-number-small instead */
183
+ .np-text-display-number,
184
+ .wds-text-display-number {
185
+ &:extend(.wds-text-display-number);
186
+ }
187
+
188
+ .np-text-display-number-small,
189
+ .wds-text-display-number-small {
190
+ &:extend(.wds-text-display-number-small);
206
191
  }
207
192
 
208
- .display-formatting(
209
- @font-size;
210
- @line-height;
211
- @font-weight: var(--font-weight-regular)) {
212
- font-size: @font-size;
213
- line-height: @line-height;
214
- font-weight: @font-weight;
193
+ .np-text-display-number-medium,
194
+ .wds-text-display-number-medium {
195
+ &:extend(.wds-text-display-number-medium);
196
+ }
197
+
198
+ .np-text-display-number-large,
199
+ .wds-text-display-number-large {
200
+ &:extend(.wds-text-display-number-large);
215
201
  }
216
202
 
217
203
  .display-1,
@@ -223,28 +209,12 @@ a,
223
209
  .np-text-display-large,
224
210
  .np-text-display-medium,
225
211
  .np-text-display-small {
226
- &,
212
+ font-synthesis: none;
213
+
227
214
  &--forced {
228
215
  font-family: var(--font-family-display);
229
216
  font-synthesis: none;
230
217
  }
231
-
232
- :lang(ja) &,
233
- :lang(th) &,
234
- :lang(zh-CN) &,
235
- :lang(zh-HK) & {
236
- /**
237
- * Wise Sans covers extended Latin glyphs for logged-in experiences and a small subset
238
- * of Japanese ones for the logged out ones (exposed by the Editorial DS). Unfortunately,
239
- * font files are browser-cached and we carried over to launchpad, where it causes issues
240
- * for unsupported locales, especially those that share glyphs, like Japanese and Chinese.
241
- * There are exceptions for small UI parts where Wise Sans is fine or expected — e.g. the
242
- * numeric input of ExpressiveMoneyInput.
243
- * Add `--forced` BEM modifier to the original class name to guarantee it.
244
- */
245
- font-family: var(--font-family-regular);
246
- line-height: var(--line-height-title);
247
- }
248
218
  }
249
219
 
250
220
  /* DEPRECATED(.np-text-display-extra-large): use .np-text-display-large instead */
@@ -252,36 +222,23 @@ a,
252
222
  .np-text-display-large,
253
223
  .np-text-display-medium,
254
224
  .np-text-display-small {
255
- letter-spacing: normal;
256
225
  .np-text-hyphenated;
257
226
  }
258
227
 
259
228
  .np-text-display-extra-large,
260
- .np-text-display-large {
261
- .display-formatting(var(--size-64), normal, var(--font-weight-bold));
262
- }
263
-
264
- .np-text-display-medium {
265
- .display-formatting(var(--size-52), normal, var(--font-weight-bold));
229
+ .np-text-display-large,
230
+ .wds-text-display-large {
231
+ &:extend(.wds-text-display-large);
266
232
  }
267
233
 
268
- .np-text-display-small {
269
- .display-formatting(var(--size-40), normal, var(--font-weight-bold));
234
+ .np-text-display-medium,
235
+ .wds-text-display-medium {
236
+ &:extend(.wds-text-display-medium);
270
237
  }
271
238
 
272
- :lang(en) {
273
- > .np-text-display-extra-large,
274
- > .np-text-display-large {
275
- .display-formatting(var(--size-64), 0.85);
276
- }
277
-
278
- > .np-text-display-medium {
279
- .display-formatting(var(--size-52), 0.85);
280
- }
281
-
282
- > .np-text-display-small {
283
- .display-formatting(var(--size-40), 0.85);
284
- }
239
+ .np-text-display-small,
240
+ .wds-text-display-small {
241
+ &:extend(.wds-text-display-small);
285
242
  }
286
243
 
287
244
  /* Disable hyphenation for English
@@ -294,117 +251,6 @@ a,
294
251
  hyphens: none;
295
252
  }
296
253
 
297
- :lang(af),
298
- :lang(sq),
299
- :lang(eu),
300
- :lang(bs),
301
- :lang(ca),
302
- :lang(kw),
303
- :lang(hr),
304
- :lang(cs),
305
- :lang(da),
306
- :lang(nl),
307
- :lang(eo),
308
- :lang(et),
309
- :lang(fo),
310
- :lang(fi),
311
- :lang(fr),
312
- :lang(gl),
313
- :lang(lg),
314
- :lang(de),
315
- :lang(hu),
316
- :lang(is),
317
- :lang(se),
318
- :lang(id),
319
- :lang(in),
320
- :lang(ga),
321
- :lang(it),
322
- :lang(kl),
323
- :lang(ki),
324
- :lang(rw),
325
- :lang(lv),
326
- :lang(lt),
327
- :lang(lb),
328
- :lang(mg),
329
- :lang(ms),
330
- :lang(mt),
331
- :lang(gv),
332
- :lang(mi),
333
- :lang(nd),
334
- :lang(nb),
335
- :lang(nn),
336
- :lang(om),
337
- :lang(pl),
338
- :lang(pt),
339
- :lang(ro),
340
- :lang(rm),
341
- :lang(rn),
342
- :lang(sg),
343
- :lang(gd),
344
- :lang(sr),
345
- :lang(sn),
346
- :lang(sk),
347
- :lang(sl),
348
- :lang(so),
349
- :lang(es),
350
- :lang(sw),
351
- :lang(sv),
352
- :lang(tr),
353
- :lang(cy),
354
- :lang(fy),
355
- :lang(wo),
356
- :lang(zu),
357
- :lang(hsb),
358
- :lang(gsw),
359
- :lang(dsb),
360
- :lang(fil) {
361
- .np-text-display-extra-large,
362
- .np-text-display-large {
363
- .display-formatting(var(--size-64), 1.05);
364
- }
365
-
366
- .np-text-display-medium {
367
- .display-formatting(var(--size-52), 1.05);
368
- }
369
-
370
- .np-text-display-small {
371
- .display-formatting(var(--size-40), 1.05);
372
- }
373
- }
374
-
375
- :lang(el),
376
- :lang(az),
377
- :lang(be),
378
- :lang(bs),
379
- :lang(bg),
380
- :lang(ce),
381
- :lang(mk),
382
- :lang(os),
383
- :lang(ru),
384
- :lang(sr),
385
- :lang(uk),
386
- :lang(uz),
387
- :lang(sah) {
388
- .np-text-display-extra-large,
389
- .np-text-display-large {
390
- .display-formatting(var(--size-60),
391
- 120%,
392
- var(--font-weight-semi-bold));
393
- }
394
-
395
- .np-text-display-medium {
396
- .display-formatting(var(--size-48),
397
- 120%,
398
- var(--font-weight-semi-bold));
399
- }
400
-
401
- .np-text-display-small {
402
- .display-formatting(var(--size-40),
403
- 120%,
404
- var(--font-weight-semi-bold));
405
- }
406
- }
407
-
408
254
  /* DEPRECATED: use `.np-text-display-*` instead */
409
255
  .display-1 {
410
256
  margin-bottom: var(--size-24);