@transferwise/neptune-css 0.0.0-experimental-1f2b43f → 0.0.0-experimental-d0b3ee6

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 (45) hide show
  1. package/dist/css/accordion.css +52 -23
  2. package/dist/css/button-groups.css +8 -29
  3. package/dist/css/buttons.css +2 -26
  4. package/dist/css/decision.css +52 -23
  5. package/dist/css/dropdowns.css +62 -39
  6. package/dist/css/droppable.css +8 -28
  7. package/dist/css/footer.css +14 -41
  8. package/dist/css/input-groups.css +165 -172
  9. package/dist/css/list-group.css +45 -0
  10. package/dist/css/navbar.css +62 -39
  11. package/dist/css/neptune-addons.css +0 -15
  12. package/dist/css/neptune-core.css +547 -375
  13. package/dist/css/neptune.css +1451 -2910
  14. package/dist/css/popovers.css +60 -35
  15. package/dist/css/sequences.css +1 -6
  16. package/dist/css/tooltip.css +7 -27
  17. package/dist/fonts/inter-cyrillic-ext-variable-wghtOnly-normal.woff2 +0 -0
  18. package/dist/fonts/inter-cyrillic-variable-wghtOnly-normal.woff2 +0 -0
  19. package/dist/fonts/inter-greek-ext-variable-wghtOnly-normal.woff2 +0 -0
  20. package/dist/fonts/inter-greek-variable-wghtOnly-normal.woff2 +0 -0
  21. package/dist/fonts/inter-latin-ext-variable-wghtOnly-normal.woff2 +0 -0
  22. package/dist/fonts/inter-latin-variable-wghtOnly-normal.woff2 +0 -0
  23. package/dist/fonts/inter-vietnamese-variable-wghtOnly-normal.woff2 +0 -0
  24. package/dist/less/legacy-variables.css +0 -0
  25. package/dist/less/neptune-tokens.css +0 -0
  26. package/dist/less/neptune-tokens.less +48 -0
  27. package/dist/less/zindex.css +0 -0
  28. package/dist/props/neptune-tokens.css +1 -802
  29. package/package.json +1 -1
  30. package/src/less/addons/_background-utilities.less +0 -5
  31. package/src/less/button-groups.less +2 -3
  32. package/src/less/buttons.less +1 -1
  33. package/src/less/core/_typography.less +221 -67
  34. package/src/less/decision.less +2 -2
  35. package/src/less/dropdowns.less +5 -6
  36. package/src/less/droppable.less +4 -4
  37. package/src/less/footer.less +3 -4
  38. package/src/less/forms/bootstrap-forms.less +57 -70
  39. package/src/less/input-groups.less +5 -5
  40. package/src/less/list-group.less +4 -7
  41. package/src/less/mixins/_text-emphasis.less +1 -7
  42. package/src/less/neptune.bundle.less +0 -4
  43. package/src/less/popovers.less +3 -3
  44. package/src/less/sequences.less +2 -7
  45. package/src/less/tooltip.less +1 -1
@@ -1,36 +1,4 @@
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 {
1
+ .close {
34
2
  float: inline-end;
35
3
  color: #0097c7;
36
4
  color: var(--color-content-accent);
@@ -98,6 +66,12 @@ button.close {
98
66
  word-break: normal;
99
67
  word-spacing: normal;
100
68
  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);
101
75
  word-wrap: break-word;
102
76
  background-color: #ffffff;
103
77
  background-color: var(--color-background-screen);
@@ -284,8 +258,20 @@ button.close {
284
258
  margin-inline: 0;
285
259
  }
286
260
  .popover-title {
287
- margin: 0;
288
261
  padding: 0;
262
+ 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%;
289
275
  background-color: #ffffff;
290
276
  background-color: var(--color-background-screen);
291
277
  border-block-end: 0;
@@ -293,11 +279,50 @@ button.close {
293
279
  border-start-end-radius: 2px;
294
280
  border-end-end-radius: 0;
295
281
  border-end-start-radius: 0;
296
- color: #37517e !important;
297
282
  color: var(--color-content-primary) !important;
298
283
  }
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
+ }
299
318
  .popover-content {
300
319
  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);
301
326
  word-wrap: break-word;
302
327
  color: #5d7079;
303
328
  color: var(--color-content-secondary);
@@ -131,10 +131,6 @@
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,
138
134
  .sequence > li .btn-toolbar {
139
135
  margin-block-end: 16px;
140
136
  }
@@ -225,8 +221,7 @@
225
221
  }
226
222
  .sequence-inverse > .active .small,
227
223
  .sequence-inverse > .active .body-2,
228
- .sequence-inverse > .active .np-text-body-default,
229
- .sequence-inverse > .active .wds-text-body-default {
224
+ .sequence-inverse > .active .np-text-body-default {
230
225
  color: #5d7079;
231
226
  color: var(--color-content-secondary);
232
227
  }
@@ -1,30 +1,4 @@
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 {
1
+ .tooltip {
28
2
  position: absolute;
29
3
  z-index: 1070;
30
4
  display: block;
@@ -71,6 +45,12 @@
71
45
  padding-inline: 5px;
72
46
  }
73
47
  .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);
74
54
  word-wrap: break-word;
75
55
  max-inline-size: 200px;
76
56
  min-inline-size: 120px;
File without changes
File without changes
@@ -171,6 +171,54 @@
171
171
  @space-medium: 32px;
172
172
  @space-large: 40px;
173
173
  @space-x-large: 56px;
174
+ @font-size-12: 0.75rem;
175
+ @font-size-14: 0.875rem;
176
+ @font-size-16: 1rem;
177
+ @font-size-18: 1.125rem;
178
+ @font-size-20: 1.25rem;
179
+ @font-size-22: 1.375rem;
180
+ @font-size-24: 1.5rem;
181
+ @font-size-26: 1.625rem;
182
+ @font-size-28: 1.75rem;
183
+ @font-size-30: 1.875rem;
184
+ @font-size-32: 2rem;
185
+ @letter-spacing-xxs: 0.005em;
186
+ @letter-spacing-xs: 0.01em;
187
+ @letter-spacing-sm: 0.0125em;
188
+ @letter-spacing-md: 0.015em;
189
+ @letter-spacing-lg: 0.02em;
190
+ @letter-spacing-xl: 0.025em;
191
+ @letter-spacing-negative-xxs: -0.005em;
192
+ @letter-spacing-negative-xs: -0.01em;
193
+ @letter-spacing-negative-sm: -0.0125em;
194
+ @letter-spacing-negative-md: -0.015em;
195
+ @letter-spacing-negative-lg: -0.02em;
196
+ @letter-spacing-negative-xl: -0.025em;
197
+ @letter-spacing-negative-xxl: -0.03em;
198
+ @letter-spacing-negative-xxxl: -0.04em;
199
+ @letter-spacing-negative-xxxxl: -0.05em;
200
+ @line-height-18: 1.125rem;
201
+ @line-height-20: 1.25rem;
202
+ @line-height-22: 1.375rem;
203
+ @line-height-24: 1.5rem;
204
+ @line-height-28: 1.75rem;
205
+ @line-height-30: 1.875rem;
206
+ @line-height-32: 2rem;
207
+ @line-height-34: 2.125rem;
208
+ @line-height-36: 2.25rem;
209
+ @line-height-42: 2.625rem;
210
+ @line-height-48: 3rem;
211
+ @line-height-title: 1.2;
212
+ @line-height-body: 1.5;
213
+ @line-height-control: 1.2;
214
+ @font-weight-light: 300;
215
+ @font-weight-regular: 400;
216
+ @font-weight-medium: 500;
217
+ @font-weight-semi-bold: 600;
218
+ @font-weight-bold: 700;
219
+ @font-weight-black: 900;
220
+ @font-family-regular: 'Inter', Helvetica, Arial, sans-serif;
221
+ @font-family-display: 'Wise Sans', 'Inter', sans-serif;
174
222
 
175
223
  // Do not edit directly, this file was auto-generated.
176
224
 
File without changes