@wavv/ui 2.4.1 → 2.4.2

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.
@@ -6,7 +6,7 @@ import parseFileSize from "../utils/parseFileSize.js";
6
6
  import Button from "./Button/index.js";
7
7
  import getIcon from "./helpers/getIcon.js";
8
8
  import { marginProps, paddingProps } from "./helpers/styledProps.js";
9
- const Avatar = ({ size: sizeProp = 'small', url, icon, initials, acceptedFileTypes, onSelect, onError, maxFileSize, onRemove, ...props })=>{
9
+ const Avatar = ({ size: sizeProp = 'small', url, icon = 'person', initials, acceptedFileTypes, onSelect, onError, maxFileSize, onRemove, ...props })=>{
10
10
  const sizes = {
11
11
  tiny: 24,
12
12
  small: 32,
@@ -273,44 +273,65 @@
273
273
  @utility head-1 {
274
274
  font-size: 28px;
275
275
  font-weight: 500;
276
+ line-height: 33px;
276
277
  }
277
278
 
278
279
  @utility head-2 {
279
280
  font-size: 20px;
280
281
  font-weight: 500;
282
+ line-height: 24px;
281
283
  }
282
284
 
283
285
  @utility head-3 {
284
286
  font-size: 18px;
285
287
  font-weight: 400;
288
+ line-height: 22px;
286
289
  }
287
290
 
288
291
  @utility body-1 {
289
292
  font-size: 16px;
290
293
  font-weight: 400;
294
+ line-height: 19px;
291
295
  }
292
296
 
293
297
  @utility body-1-medium {
294
298
  font-size: 16px;
295
299
  font-weight: 500;
300
+ line-height: 19px;
296
301
  }
297
302
 
298
303
  @utility body-2 {
299
304
  font-size: 14px;
300
305
  font-weight: 400;
306
+ line-height: 17px;
307
+ }
308
+
309
+ @utility body-2-medium {
310
+ font-size: 14px;
311
+ font-weight: 500;
312
+ line-height: 17px;
301
313
  }
302
314
 
303
315
  @utility body-3 {
304
316
  font-size: 12px;
305
317
  font-weight: 400;
318
+ line-height: 15px;
306
319
  }
307
320
 
308
- @utility body-2-medium {
309
- font-size: 14px;
321
+ @utility body-3-medium {
322
+ font-size: 12px;
310
323
  font-weight: 500;
324
+ line-height: 15px;
325
+ }
326
+
327
+ @utility body-4 {
328
+ font-size: 10px;
329
+ font-weight: 400;
330
+ line-height: 12px;
311
331
  }
312
332
 
313
- @utility body-3-medium {
314
- font-size: 12px;
333
+ @utility body-4-medium {
334
+ font-size: 10px;
315
335
  font-weight: 500;
336
+ line-height: 12px;
316
337
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wavv/ui",
3
- "version": "2.4.1",
3
+ "version": "2.4.2",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {