@transferwise/neptune-css 0.0.0-experimental-96eba2f → 0.0.0-experimental-7daf7ad

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.
@@ -1,4 +1,5 @@
1
1
  @media (min-width: 768px) {
2
+ }@media (min-width: 768px) {
2
3
  }.close {
3
4
  float: right;
4
5
  color: #0097c7;
@@ -59,10 +60,6 @@
59
60
  word-break: normal;
60
61
  word-spacing: normal;
61
62
  word-wrap: normal;
62
- line-height: 1.5;
63
- line-height: var(--line-height-body);
64
- font-size: 1rem;
65
- font-size: var(--font-size-16);
66
63
  font-size: 0.875rem;
67
64
  font-size: var(--font-size-14);
68
65
  line-height: 155%;
@@ -184,6 +181,7 @@
184
181
  margin-left: -7px;
185
182
  }[dir="rtl"] .popover.top-left::before {
186
183
  left: 29px;
184
+ right: auto;
187
185
  right: initial;
188
186
  }[dir="rtl"] .popover.top-left::before {
189
187
  right: auto;
@@ -201,6 +199,7 @@
201
199
  margin-left: -7px;
202
200
  }[dir="rtl"] .popover.top-right::before {
203
201
  right: 29px;
202
+ left: auto;
204
203
  left: initial;
205
204
  }[dir="rtl"] .popover.top-right::before {
206
205
  left: auto;
@@ -255,6 +254,7 @@
255
254
  margin-left: -7px;
256
255
  }[dir="rtl"] .popover.bottom-left::before {
257
256
  left: 29px;
257
+ right: auto;
258
258
  right: initial;
259
259
  }[dir="rtl"] .popover.bottom-left::before {
260
260
  right: auto;
@@ -272,6 +272,7 @@
272
272
  margin-left: -7px;
273
273
  }[dir="rtl"] .popover.bottom-right::before {
274
274
  left: 29px;
275
+ right: auto;
275
276
  right: initial;
276
277
  }[dir="rtl"] .popover.bottom-right::before {
277
278
  right: auto;
@@ -287,6 +288,7 @@
287
288
  left: auto;
288
289
  right: -7px;
289
290
  }[dir="rtl"] .popover.left::before {
291
+ right: auto;
290
292
  left: auto;
291
293
  left: initial;
292
294
  }[dir="rtl"] .popover.left::before {
@@ -299,6 +301,7 @@
299
301
  left: auto;
300
302
  right: -7px;
301
303
  }[dir="rtl"] .popover.left-top::before {
304
+ right: auto;
302
305
  left: auto;
303
306
  left: initial;
304
307
  }[dir="rtl"] .popover.left-top::before {
@@ -311,6 +314,7 @@
311
314
  left: auto;
312
315
  right: -7px;
313
316
  }[dir="rtl"] .popover.left-bottom::before {
317
+ right: auto;
314
318
  left: auto;
315
319
  left: initial;
316
320
  }[dir="rtl"] .popover.left-bottom::before {
@@ -347,10 +351,6 @@
347
351
  margin-top: var(--size-8);
348
352
  }.popover-content {
349
353
  padding: 0;
350
- line-height: 1.5;
351
- line-height: var(--line-height-body);
352
- font-size: 1rem;
353
- font-size: var(--font-size-16);
354
354
  font-size: 0.875rem;
355
355
  font-size: var(--font-size-14);
356
356
  line-height: 155%;
@@ -1,4 +1,5 @@
1
1
  @media (min-width: 768px) {
2
+ }@media (min-width: 768px) {
2
3
  }.tooltip {
3
4
  position: absolute;
4
5
  z-index: 1070;
@@ -46,10 +47,6 @@
46
47
  margin-left: 0;
47
48
  margin-left: initial;
48
49
  }.tooltip-inner {
49
- line-height: 1.5;
50
- line-height: var(--line-height-body);
51
- font-size: 1rem;
52
- font-size: var(--font-size-16);
53
50
  font-size: 0.875rem;
54
51
  font-size: var(--font-size-14);
55
52
  line-height: 155%;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@transferwise/neptune-css",
3
3
  "description": "Neptune CSS library",
4
- "version": "0.0.0-experimental-96eba2f",
4
+ "version": "0.0.0-experimental-7daf7ad",
5
5
  "license": "MIT",
6
6
  "repository": {
7
7
  "type": "git",
@@ -97,74 +97,16 @@ h6,
97
97
  line-height: 140%;
98
98
  }
99
99
 
100
- .body-1,
101
- .body-2,
102
- .body-3,
103
- .label,
104
- .value,
105
- .np-text-body-default {
106
- font-weight: var(--font-weight-regular);
107
- line-height: var(--line-height-body);
108
- }
109
-
110
- .body-1,
111
- .np-text-body-default,
112
- .np-text-body-default-bold {
113
- font-size: var(--font-size-16);
114
- }
115
-
116
- .np-text-body-default-bold {
117
- font-weight: var(--font-weight-bold);
118
- }
119
-
120
- .body-2 {
121
- font-size: var(--font-size-14);
122
- }
123
-
124
- .body-3 {
125
- font-size: var(--font-size-12);
126
- }
127
-
128
- .control-1,
129
- .control-2 {
130
- color: var(--color-content-accent);
131
- font-weight: var(--font-weight-semi-bold);
132
- line-height: var(--line-height-title);
133
- }
134
-
135
- .control-1 {
136
- font-size: var(--font-size-16);
137
- }
138
-
139
- .control-2 {
140
- font-size: var(--font-size-14);
141
- }
142
-
143
- .label {
144
- font-size: var(--font-size-14);
145
- }
146
-
147
- .value {
148
- font-size: var(--font-size-16);
149
- }
150
-
100
+ /* DEPRECATED: use .np-text-title-body instead */
151
101
  .lead {
152
102
  margin-bottom: var(--size-24);
153
103
  font-size: var(--font-size-20);
154
104
  line-height: var(--line-height-title);
155
105
  }
156
106
 
157
- small,
158
- .small,
159
- .body-2 {
160
- font-size: var(--font-size-14);
161
- line-height: var(--line-height-body);
162
- }
163
-
107
+ // DEPRECATED: use .np-text-body-default instead
164
108
  .tiny {
165
109
  color: var(--color-content-secondary);
166
- font-size: var(--font-size-12);
167
- line-height: var(--line-height-body);
168
110
  }
169
111
 
170
112
  // BODY
@@ -172,7 +114,7 @@ small,
172
114
  /* DEPRECATED: use .np-text-body-default instead */
173
115
  /* stylelint-disable-next-line selector-list-comma-newline-after */
174
116
  .body-2, .body-3, .label, .control-label, .small, .tiny,
175
- body,
117
+ body, small,
176
118
  .np-text-body-default {
177
119
  font-size: var(--font-size-14);
178
120
  line-height: 155%;
@@ -184,15 +126,12 @@ body,
184
126
  /* stylelint-disable-next-line selector-list-comma-newline-after */
185
127
  .control-2,
186
128
  .np-text-body-default-bold {
129
+ font-size: var(--font-size-14);
187
130
  line-height: 155%;
188
131
  letter-spacing: -0.006em;
189
132
  font-weight: var(--font-weight-semi-bold);
190
133
  }
191
134
 
192
- .np-text-body-default-bold {
193
- font-size: var(--font-size-14);
194
- }
195
-
196
135
  /* DEPRECATED: use .np-text-body-large instead */
197
136
  /* stylelint-disable-next-line selector-list-comma-newline-after */
198
137
  .body-1, .value,
@@ -435,6 +374,7 @@ a,
435
374
  }
436
375
  }
437
376
 
377
+ /* DEPRECATED: use `.np-text-display-*` instead */
438
378
  .display-1 {
439
379
  margin-bottom: var(--size-24);
440
380
  /* stylelint-disable-next-line number-max-precision */
@@ -446,6 +386,7 @@ a,
446
386
  }
447
387
  }
448
388
 
389
+ /* DEPRECATED: use `.np-text-display-*` instead */
449
390
  .display-2 {
450
391
  margin-bottom: var(--size-24);
451
392
  /* stylelint-disable-next-line number-max-precision */
@@ -457,6 +398,7 @@ a,
457
398
  }
458
399
  }
459
400
 
401
+ /* DEPRECATED: use `.np-text-display-*` instead */
460
402
  .display-3 {
461
403
  margin-bottom: var(--size-8);
462
404
  font-size: 2.8rem;
@@ -467,6 +409,7 @@ a,
467
409
  }
468
410
  }
469
411
 
412
+ /* DEPRECATED: use `.np-text-display-*` instead */
470
413
  .display-4 {
471
414
  margin-bottom: var(--size-4);
472
415
  /* stylelint-disable-next-line number-max-precision */
@@ -478,6 +421,7 @@ a,
478
421
  }
479
422
  }
480
423
 
424
+ /* DEPRECATED: use `.np-text-display-*` instead */
481
425
  .display-5 {
482
426
  margin-bottom: var(--size-4);
483
427
  /* stylelint-disable-next-line number-max-precision */