@carbon/type 10.14.0 → 10.16.0

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.
package/umd/index.js CHANGED
@@ -250,132 +250,133 @@
250
250
  var caption01 = {
251
251
  fontSize: layout.rem(scale[0]),
252
252
  fontWeight: fontWeights.regular,
253
- lineHeight: layout.rem(16),
253
+ lineHeight: 1.34,
254
254
  letterSpacing: layout.px(0.32)
255
255
  };
256
256
  var label01 = {
257
257
  fontSize: layout.rem(scale[0]),
258
258
  fontWeight: fontWeights.regular,
259
- lineHeight: layout.rem(16),
259
+ lineHeight: 1.34,
260
260
  letterSpacing: layout.px(0.32)
261
261
  };
262
262
  var helperText01 = {
263
263
  fontSize: layout.rem(scale[0]),
264
- lineHeight: layout.rem(16),
264
+ lineHeight: 1.34,
265
265
  letterSpacing: layout.px(0.32)
266
266
  };
267
267
  var bodyShort01 = {
268
268
  fontSize: layout.rem(scale[1]),
269
269
  fontWeight: fontWeights.regular,
270
- lineHeight: layout.rem(18),
270
+ lineHeight: 1.29,
271
271
  letterSpacing: layout.px(0.16)
272
272
  };
273
273
  var bodyLong01 = {
274
274
  fontSize: layout.rem(scale[1]),
275
275
  fontWeight: fontWeights.regular,
276
- lineHeight: layout.rem(20),
276
+ lineHeight: 1.43,
277
277
  letterSpacing: layout.px(0.16)
278
278
  };
279
279
  var bodyShort02 = {
280
280
  fontSize: layout.rem(scale[2]),
281
281
  fontWeight: fontWeights.regular,
282
- lineHeight: layout.rem(22),
282
+ lineHeight: 1.375,
283
283
  letterSpacing: 0
284
284
  };
285
285
  var bodyLong02 = {
286
286
  fontSize: layout.rem(scale[2]),
287
287
  fontWeight: fontWeights.regular,
288
- lineHeight: layout.rem(24),
288
+ lineHeight: 1.5,
289
289
  letterSpacing: 0
290
290
  };
291
291
  var code01 = {
292
292
  fontFamily: fontFamilies.mono,
293
293
  fontSize: layout.rem(scale[0]),
294
294
  fontWeight: fontWeights.regular,
295
- lineHeight: layout.rem(16),
295
+ lineHeight: 1.34,
296
296
  letterSpacing: layout.px(0.32)
297
297
  };
298
298
  var code02 = {
299
299
  fontFamily: fontFamilies.mono,
300
300
  fontSize: layout.rem(scale[1]),
301
301
  fontWeight: fontWeights.regular,
302
- lineHeight: layout.rem(20),
302
+ lineHeight: 1.43,
303
303
  letterSpacing: layout.px(0.32)
304
304
  };
305
305
  var heading01 = {
306
306
  fontSize: layout.rem(scale[1]),
307
307
  fontWeight: fontWeights.semibold,
308
- lineHeight: layout.rem(18),
308
+ lineHeight: 1.29,
309
309
  letterSpacing: layout.px(0.16)
310
310
  };
311
311
  var productiveHeading01 = heading01;
312
312
  var heading02 = {
313
313
  fontSize: layout.rem(scale[2]),
314
314
  fontWeight: fontWeights.semibold,
315
- lineHeight: layout.rem(22),
315
+ lineHeight: 1.375,
316
316
  letterSpacing: 0
317
317
  };
318
318
  var productiveHeading02 = heading02;
319
319
  var productiveHeading03 = {
320
320
  fontSize: layout.rem(scale[4]),
321
321
  fontWeight: fontWeights.regular,
322
- lineHeight: layout.rem(28),
322
+ lineHeight: 1.4,
323
323
  letterSpacing: 0
324
324
  };
325
325
  var productiveHeading04 = {
326
326
  fontSize: layout.rem(scale[6]),
327
327
  fontWeight: fontWeights.regular,
328
- lineHeight: layout.rem(36),
328
+ lineHeight: 1.29,
329
329
  letterSpacing: 0
330
330
  };
331
331
  var productiveHeading05 = {
332
332
  fontSize: layout.rem(scale[7]),
333
333
  fontWeight: fontWeights.regular,
334
- lineHeight: layout.rem(40),
334
+ lineHeight: 1.25,
335
335
  letterSpacing: 0
336
336
  };
337
337
  var productiveHeading06 = {
338
338
  fontSize: layout.rem(scale[9]),
339
339
  fontWeight: fontWeights.light,
340
- lineHeight: layout.rem(50),
340
+ lineHeight: 1.199,
341
341
  letterSpacing: 0
342
342
  };
343
343
  var productiveHeading07 = {
344
344
  fontSize: layout.rem(scale[11]),
345
345
  fontWeight: fontWeights.light,
346
- lineHeight: layout.rem(64),
346
+ lineHeight: 1.19,
347
347
  letterSpacing: 0
348
348
  };
349
349
  var expressiveHeading01 = _objectSpread2(_objectSpread2({}, heading01), {}, {
350
- lineHeight: layout.rem(20)
350
+ lineHeight: 1.25
351
351
  });
352
352
  var expressiveHeading02 = _objectSpread2(_objectSpread2({}, heading02), {}, {
353
- lineHeight: layout.rem(24)
353
+ lineHeight: 1.5
354
354
  });
355
355
  var expressiveHeading03 = {
356
356
  fontSize: layout.rem(scale[4]),
357
357
  fontWeight: fontWeights.regular,
358
- lineHeight: '140%',
358
+ lineHeight: 1.4,
359
359
  letterSpacing: 0,
360
360
  breakpoints: {
361
361
  xlg: {
362
362
  fontSize: layout.rem(scale[4]),
363
- lineHeight: '125%'
363
+ lineHeight: 1.25
364
364
  },
365
365
  max: {
366
- fontSize: layout.rem(scale[5])
366
+ fontSize: layout.rem(scale[5]),
367
+ lineHeight: 1.334
367
368
  }
368
369
  }
369
370
  };
370
371
  var expressiveHeading04 = {
371
372
  fontSize: layout.rem(scale[6]),
372
373
  fontWeight: fontWeights.regular,
373
- lineHeight: '129%',
374
+ lineHeight: 1.29,
374
375
  letterSpacing: 0,
375
376
  breakpoints: {
376
377
  xlg: {
377
378
  fontSize: layout.rem(scale[6]),
378
- lineHeight: '125%'
379
+ lineHeight: 1.25
379
380
  },
380
381
  max: {
381
382
  fontSize: layout.rem(scale[7])
@@ -385,31 +386,30 @@
385
386
  var expressiveHeading05 = {
386
387
  fontSize: layout.rem(scale[7]),
387
388
  fontWeight: fontWeights.regular,
388
- lineHeight: '125%',
389
+ lineHeight: 1.25,
389
390
  letterSpacing: 0,
390
391
  breakpoints: {
391
392
  md: {
392
393
  fontSize: layout.rem(scale[8]),
393
394
  fontWeight: fontWeights.light,
394
- lineHeight: '122%',
395
+ lineHeight: 1.22,
395
396
  letterSpacing: 0
396
397
  },
397
398
  lg: {
398
399
  fontSize: layout.rem(scale[9]),
399
400
  fontWeight: fontWeights.light,
400
- lineHeight: '119%',
401
+ lineHeight: 1.19,
401
402
  letterSpacing: 0
402
403
  },
403
404
  xlg: {
404
405
  fontSize: layout.rem(scale[10]),
405
406
  fontWeight: fontWeights.light,
406
- lineHeight: '117%',
407
+ lineHeight: 1.17,
407
408
  letterSpacing: 0
408
409
  },
409
410
  max: {
410
411
  fontSize: layout.rem(scale[12]),
411
412
  fontWeight: fontWeights.light,
412
- lineHeight: layout.rem(70),
413
413
  letterSpacing: 0
414
414
  }
415
415
  }
@@ -417,31 +417,30 @@
417
417
  var expressiveHeading06 = {
418
418
  fontSize: layout.rem(scale[7]),
419
419
  fontWeight: fontWeights.semibold,
420
- lineHeight: '125%',
420
+ lineHeight: 1.25,
421
421
  letterSpacing: 0,
422
422
  breakpoints: {
423
423
  md: {
424
424
  fontSize: layout.rem(scale[8]),
425
425
  fontWeight: fontWeights.semibold,
426
- lineHeight: '122%',
426
+ lineHeight: 1.22,
427
427
  letterSpacing: 0
428
428
  },
429
429
  lg: {
430
430
  fontSize: layout.rem(scale[9]),
431
431
  fontWeight: fontWeights.semibold,
432
- lineHeight: '119%',
432
+ lineHeight: 1.19,
433
433
  letterSpacing: 0
434
434
  },
435
435
  xlg: {
436
436
  fontSize: layout.rem(scale[10]),
437
437
  fontWeight: fontWeights.semibold,
438
- lineHeight: '117%',
438
+ lineHeight: 1.17,
439
439
  letterSpacing: 0
440
440
  },
441
441
  max: {
442
442
  fontSize: layout.rem(scale[12]),
443
443
  fontWeight: fontWeights.semibold,
444
- lineHeight: layout.rem(70),
445
444
  letterSpacing: 0
446
445
  }
447
446
  }
@@ -449,21 +448,21 @@
449
448
  var expressiveParagraph01 = {
450
449
  fontSize: layout.rem(scale[5]),
451
450
  fontWeight: fontWeights.light,
452
- lineHeight: '125%',
451
+ lineHeight: 1.334,
453
452
  letterSpacing: 0,
454
453
  lg: {
455
454
  fontSize: layout.rem(scale[6]),
456
- lineHeight: '129%'
455
+ lineHeight: 1.29
457
456
  },
458
457
  max: {
459
458
  fontSize: layout.rem(scale[7]),
460
- lineHeight: '125%'
459
+ lineHeight: 1.25
461
460
  }
462
461
  };
463
462
  var quotation01 = {
464
463
  fontSize: layout.rem(scale[4]),
465
464
  fontWeight: fontWeights.regular,
466
- lineHeight: '130%',
465
+ lineHeight: 1.3,
467
466
  letterSpacing: 0,
468
467
  breakpoints: {
469
468
  md: {
@@ -474,19 +473,19 @@
474
473
  lg: {
475
474
  fontSize: layout.rem(scale[5]),
476
475
  fontWeight: fontWeights.regular,
477
- lineHeight: '125%',
476
+ lineHeight: 1.334,
478
477
  letterSpacing: 0
479
478
  },
480
479
  xlg: {
481
480
  fontSize: layout.rem(scale[6]),
482
481
  fontWeight: fontWeights.regular,
483
- lineHeight: '129%',
482
+ lineHeight: 1.29,
484
483
  letterSpacing: 0
485
484
  },
486
485
  max: {
487
486
  fontSize: layout.rem(scale[7]),
488
487
  fontWeight: fontWeights.regular,
489
- lineHeight: '125%',
488
+ lineHeight: 1.25,
490
489
  letterSpacing: 0
491
490
  }
492
491
  }
@@ -494,20 +493,20 @@
494
493
  var quotation02 = {
495
494
  fontSize: layout.rem(scale[7]),
496
495
  fontWeight: fontWeights.light,
497
- lineHeight: '125%',
496
+ lineHeight: 1.25,
498
497
  letterSpacing: 0,
499
498
  breakpoints: {
500
499
  md: {
501
500
  fontSize: layout.rem(scale[8]),
502
- lineHeight: '122%'
501
+ lineHeight: 1.22
503
502
  },
504
503
  lg: {
505
504
  fontSize: layout.rem(scale[9]),
506
- lineHeight: '119%'
505
+ lineHeight: 1.19
507
506
  },
508
507
  xlg: {
509
508
  fontSize: layout.rem(scale[10]),
510
- lineHeight: '117%'
509
+ lineHeight: 1.17
511
510
  },
512
511
  max: {
513
512
  fontSize: layout.rem(scale[12])
@@ -517,7 +516,7 @@
517
516
  var display01 = {
518
517
  fontSize: layout.rem(scale[9]),
519
518
  fontWeight: fontWeights.light,
520
- lineHeight: '119%',
519
+ lineHeight: 1.19,
521
520
  letterSpacing: 0,
522
521
  breakpoints: {
523
522
  md: {
@@ -528,18 +527,18 @@
528
527
  },
529
528
  xlg: {
530
529
  fontSize: layout.rem(scale[12]),
531
- lineHeight: '117%'
530
+ lineHeight: 1.17
532
531
  },
533
532
  max: {
534
533
  fontSize: layout.rem(scale[14]),
535
- lineHeight: '113%'
534
+ lineHeight: 1.13
536
535
  }
537
536
  }
538
537
  };
539
538
  var display02 = {
540
539
  fontSize: layout.rem(scale[9]),
541
540
  fontWeight: fontWeights.semibold,
542
- lineHeight: '119%',
541
+ lineHeight: 1.19,
543
542
  letterSpacing: 0,
544
543
  breakpoints: {
545
544
  md: {
@@ -550,36 +549,36 @@
550
549
  },
551
550
  xlg: {
552
551
  fontSize: layout.rem(scale[12]),
553
- lineHeight: '116%'
552
+ lineHeight: 1.16
554
553
  },
555
554
  max: {
556
555
  fontSize: layout.rem(scale[14]),
557
- lineHeight: '113%'
556
+ lineHeight: 1.13
558
557
  }
559
558
  }
560
559
  };
561
560
  var display03 = {
562
561
  fontSize: layout.rem(scale[9]),
563
562
  fontWeight: fontWeights.light,
564
- lineHeight: '119%',
563
+ lineHeight: 1.19,
565
564
  letterSpacing: 0,
566
565
  breakpoints: {
567
566
  md: {
568
567
  fontSize: layout.rem(scale[13]),
569
- lineHeight: '115%'
568
+ lineHeight: 1.15
570
569
  },
571
570
  lg: {
572
571
  fontSize: layout.rem(scale[16]),
573
- lineHeight: '111%',
572
+ lineHeight: 1.11,
574
573
  letterSpacing: layout.px(-0.64)
575
574
  },
576
575
  xlg: {
577
576
  fontSize: layout.rem(scale[19]),
578
- lineHeight: '107%'
577
+ lineHeight: 1.07
579
578
  },
580
579
  max: {
581
580
  fontSize: layout.rem(scale[22]),
582
- lineHeight: '105%',
581
+ lineHeight: 1.05,
583
582
  letterSpacing: layout.px(-0.96)
584
583
  }
585
584
  }
@@ -587,26 +586,26 @@
587
586
  var display04 = {
588
587
  fontSize: layout.rem(scale[9]),
589
588
  fontWeight: fontWeights.semibold,
590
- lineHeight: '119%',
589
+ lineHeight: 1.19,
591
590
  letterSpacing: 0,
592
591
  breakpoints: {
593
592
  md: {
594
593
  fontSize: layout.rem(scale[13]),
595
- lineHeight: '115%'
594
+ lineHeight: 1.15
596
595
  },
597
596
  lg: {
598
597
  fontSize: layout.rem(scale[16]),
599
- lineHeight: '111%',
598
+ lineHeight: 1.11,
600
599
  letterSpacing: layout.px(-0.64)
601
600
  },
602
601
  xlg: {
603
602
  fontSize: layout.rem(scale[19]),
604
- lineHeight: '107%',
603
+ lineHeight: 1.07,
605
604
  letterSpacing: layout.px(-0.64)
606
605
  },
607
606
  max: {
608
607
  fontSize: layout.rem(scale[22]),
609
- lineHeight: '105%',
608
+ lineHeight: 1.05,
610
609
  letterSpacing: layout.px(-0.96)
611
610
  }
612
611
  }