@carbon/type 10.25.0 → 10.27.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/lib/index.js CHANGED
@@ -247,112 +247,112 @@ function _objectWithoutProperties(source, excluded) {
247
247
  return target;
248
248
  }
249
249
 
250
- var caption01 = {
250
+ var caption01$1 = {
251
251
  fontSize: layout.rem(scale[0]),
252
252
  fontWeight: fontWeights.regular,
253
253
  lineHeight: 1.34,
254
254
  letterSpacing: layout.px(0.32)
255
255
  };
256
- var label01 = {
256
+ var label01$1 = {
257
257
  fontSize: layout.rem(scale[0]),
258
258
  fontWeight: fontWeights.regular,
259
259
  lineHeight: 1.34,
260
260
  letterSpacing: layout.px(0.32)
261
261
  };
262
- var helperText01 = {
262
+ var helperText01$1 = {
263
263
  fontSize: layout.rem(scale[0]),
264
264
  lineHeight: 1.34,
265
265
  letterSpacing: layout.px(0.32)
266
266
  };
267
- var bodyShort01 = {
267
+ var bodyShort01$1 = {
268
268
  fontSize: layout.rem(scale[1]),
269
269
  fontWeight: fontWeights.regular,
270
270
  lineHeight: 1.29,
271
271
  letterSpacing: layout.px(0.16)
272
272
  };
273
- var bodyLong01 = {
273
+ var bodyLong01$1 = {
274
274
  fontSize: layout.rem(scale[1]),
275
275
  fontWeight: fontWeights.regular,
276
276
  lineHeight: 1.43,
277
277
  letterSpacing: layout.px(0.16)
278
278
  };
279
- var bodyShort02 = {
279
+ var bodyShort02$1 = {
280
280
  fontSize: layout.rem(scale[2]),
281
281
  fontWeight: fontWeights.regular,
282
282
  lineHeight: 1.375,
283
283
  letterSpacing: 0
284
284
  };
285
- var bodyLong02 = {
285
+ var bodyLong02$1 = {
286
286
  fontSize: layout.rem(scale[2]),
287
287
  fontWeight: fontWeights.regular,
288
288
  lineHeight: 1.5,
289
289
  letterSpacing: 0
290
290
  };
291
- var code01 = {
291
+ var code01$1 = {
292
292
  fontFamily: fontFamilies.mono,
293
293
  fontSize: layout.rem(scale[0]),
294
294
  fontWeight: fontWeights.regular,
295
295
  lineHeight: 1.34,
296
296
  letterSpacing: layout.px(0.32)
297
297
  };
298
- var code02 = {
298
+ var code02$1 = {
299
299
  fontFamily: fontFamilies.mono,
300
300
  fontSize: layout.rem(scale[1]),
301
301
  fontWeight: fontWeights.regular,
302
302
  lineHeight: 1.43,
303
303
  letterSpacing: layout.px(0.32)
304
304
  };
305
- var heading01 = {
305
+ var heading01$1 = {
306
306
  fontSize: layout.rem(scale[1]),
307
307
  fontWeight: fontWeights.semibold,
308
308
  lineHeight: 1.29,
309
309
  letterSpacing: layout.px(0.16)
310
310
  };
311
- var productiveHeading01 = heading01;
312
- var heading02 = {
311
+ var productiveHeading01$1 = heading01$1;
312
+ var heading02$1 = {
313
313
  fontSize: layout.rem(scale[2]),
314
314
  fontWeight: fontWeights.semibold,
315
315
  lineHeight: 1.375,
316
316
  letterSpacing: 0
317
317
  };
318
- var productiveHeading02 = heading02;
319
- var productiveHeading03 = {
318
+ var productiveHeading02$1 = heading02$1;
319
+ var productiveHeading03$1 = {
320
320
  fontSize: layout.rem(scale[4]),
321
321
  fontWeight: fontWeights.regular,
322
322
  lineHeight: 1.4,
323
323
  letterSpacing: 0
324
324
  };
325
- var productiveHeading04 = {
325
+ var productiveHeading04$1 = {
326
326
  fontSize: layout.rem(scale[6]),
327
327
  fontWeight: fontWeights.regular,
328
328
  lineHeight: 1.29,
329
329
  letterSpacing: 0
330
330
  };
331
- var productiveHeading05 = {
331
+ var productiveHeading05$1 = {
332
332
  fontSize: layout.rem(scale[7]),
333
333
  fontWeight: fontWeights.regular,
334
334
  lineHeight: 1.25,
335
335
  letterSpacing: 0
336
336
  };
337
- var productiveHeading06 = {
337
+ var productiveHeading06$1 = {
338
338
  fontSize: layout.rem(scale[9]),
339
339
  fontWeight: fontWeights.light,
340
340
  lineHeight: 1.199,
341
341
  letterSpacing: 0
342
342
  };
343
- var productiveHeading07 = {
343
+ var productiveHeading07$1 = {
344
344
  fontSize: layout.rem(scale[11]),
345
345
  fontWeight: fontWeights.light,
346
346
  lineHeight: 1.19,
347
347
  letterSpacing: 0
348
348
  };
349
- var expressiveHeading01 = _objectSpread2(_objectSpread2({}, heading01), {}, {
349
+ var expressiveHeading01$1 = _objectSpread2(_objectSpread2({}, heading01$1), {}, {
350
350
  lineHeight: 1.25
351
351
  });
352
- var expressiveHeading02 = _objectSpread2(_objectSpread2({}, heading02), {}, {
352
+ var expressiveHeading02$1 = _objectSpread2(_objectSpread2({}, heading02$1), {}, {
353
353
  lineHeight: 1.5
354
354
  });
355
- var expressiveHeading03 = {
355
+ var expressiveHeading03$1 = {
356
356
  fontSize: layout.rem(scale[4]),
357
357
  fontWeight: fontWeights.regular,
358
358
  lineHeight: 1.4,
@@ -368,7 +368,7 @@ var expressiveHeading03 = {
368
368
  }
369
369
  }
370
370
  };
371
- var expressiveHeading04 = {
371
+ var expressiveHeading04$1 = {
372
372
  fontSize: layout.rem(scale[6]),
373
373
  fontWeight: fontWeights.regular,
374
374
  lineHeight: 1.29,
@@ -383,7 +383,7 @@ var expressiveHeading04 = {
383
383
  }
384
384
  }
385
385
  };
386
- var expressiveHeading05 = {
386
+ var expressiveHeading05$1 = {
387
387
  fontSize: layout.rem(scale[7]),
388
388
  fontWeight: fontWeights.regular,
389
389
  lineHeight: 1.25,
@@ -414,7 +414,7 @@ var expressiveHeading05 = {
414
414
  }
415
415
  }
416
416
  };
417
- var expressiveHeading06 = {
417
+ var expressiveHeading06$1 = {
418
418
  fontSize: layout.rem(scale[7]),
419
419
  fontWeight: fontWeights.semibold,
420
420
  lineHeight: 1.25,
@@ -445,7 +445,7 @@ var expressiveHeading06 = {
445
445
  }
446
446
  }
447
447
  };
448
- var expressiveParagraph01 = {
448
+ var expressiveParagraph01$1 = {
449
449
  fontSize: layout.rem(scale[5]),
450
450
  fontWeight: fontWeights.light,
451
451
  lineHeight: 1.334,
@@ -461,7 +461,7 @@ var expressiveParagraph01 = {
461
461
  }
462
462
  }
463
463
  };
464
- var quotation01 = {
464
+ var quotation01$1 = {
465
465
  fontSize: layout.rem(scale[4]),
466
466
  fontWeight: fontWeights.regular,
467
467
  lineHeight: 1.3,
@@ -492,7 +492,7 @@ var quotation01 = {
492
492
  }
493
493
  }
494
494
  };
495
- var quotation02 = {
495
+ var quotation02$1 = {
496
496
  fontSize: layout.rem(scale[7]),
497
497
  fontWeight: fontWeights.light,
498
498
  lineHeight: 1.25,
@@ -515,7 +515,7 @@ var quotation02 = {
515
515
  }
516
516
  }
517
517
  };
518
- var display01 = {
518
+ var display01$1 = {
519
519
  fontSize: layout.rem(scale[9]),
520
520
  fontWeight: fontWeights.light,
521
521
  lineHeight: 1.19,
@@ -537,7 +537,7 @@ var display01 = {
537
537
  }
538
538
  }
539
539
  };
540
- var display02 = {
540
+ var display02$1 = {
541
541
  fontSize: layout.rem(scale[9]),
542
542
  fontWeight: fontWeights.semibold,
543
543
  lineHeight: 1.19,
@@ -559,7 +559,7 @@ var display02 = {
559
559
  }
560
560
  }
561
561
  };
562
- var display03 = {
562
+ var display03$1 = {
563
563
  fontSize: layout.rem(scale[9]),
564
564
  fontWeight: fontWeights.light,
565
565
  lineHeight: 1.19,
@@ -585,7 +585,7 @@ var display03 = {
585
585
  }
586
586
  }
587
587
  };
588
- var display04 = {
588
+ var display04$1 = {
589
589
  fontSize: layout.rem(scale[9]),
590
590
  fontWeight: fontWeights.semibold,
591
591
  lineHeight: 1.19,
@@ -615,37 +615,37 @@ var display04 = {
615
615
 
616
616
  var styles = /*#__PURE__*/Object.freeze({
617
617
  __proto__: null,
618
- caption01: caption01,
619
- label01: label01,
620
- helperText01: helperText01,
621
- bodyShort01: bodyShort01,
622
- bodyLong01: bodyLong01,
623
- bodyShort02: bodyShort02,
624
- bodyLong02: bodyLong02,
625
- code01: code01,
626
- code02: code02,
627
- heading01: heading01,
628
- productiveHeading01: productiveHeading01,
629
- heading02: heading02,
630
- productiveHeading02: productiveHeading02,
631
- productiveHeading03: productiveHeading03,
632
- productiveHeading04: productiveHeading04,
633
- productiveHeading05: productiveHeading05,
634
- productiveHeading06: productiveHeading06,
635
- productiveHeading07: productiveHeading07,
636
- expressiveHeading01: expressiveHeading01,
637
- expressiveHeading02: expressiveHeading02,
638
- expressiveHeading03: expressiveHeading03,
639
- expressiveHeading04: expressiveHeading04,
640
- expressiveHeading05: expressiveHeading05,
641
- expressiveHeading06: expressiveHeading06,
642
- expressiveParagraph01: expressiveParagraph01,
643
- quotation01: quotation01,
644
- quotation02: quotation02,
645
- display01: display01,
646
- display02: display02,
647
- display03: display03,
648
- display04: display04
618
+ caption01: caption01$1,
619
+ label01: label01$1,
620
+ helperText01: helperText01$1,
621
+ bodyShort01: bodyShort01$1,
622
+ bodyLong01: bodyLong01$1,
623
+ bodyShort02: bodyShort02$1,
624
+ bodyLong02: bodyLong02$1,
625
+ code01: code01$1,
626
+ code02: code02$1,
627
+ heading01: heading01$1,
628
+ productiveHeading01: productiveHeading01$1,
629
+ heading02: heading02$1,
630
+ productiveHeading02: productiveHeading02$1,
631
+ productiveHeading03: productiveHeading03$1,
632
+ productiveHeading04: productiveHeading04$1,
633
+ productiveHeading05: productiveHeading05$1,
634
+ productiveHeading06: productiveHeading06$1,
635
+ productiveHeading07: productiveHeading07$1,
636
+ expressiveHeading01: expressiveHeading01$1,
637
+ expressiveHeading02: expressiveHeading02$1,
638
+ expressiveHeading03: expressiveHeading03$1,
639
+ expressiveHeading04: expressiveHeading04$1,
640
+ expressiveHeading05: expressiveHeading05$1,
641
+ expressiveHeading06: expressiveHeading06$1,
642
+ expressiveParagraph01: expressiveParagraph01$1,
643
+ quotation01: quotation01$1,
644
+ quotation02: quotation02$1,
645
+ display01: display01$1,
646
+ display02: display02$1,
647
+ display03: display03$1,
648
+ display04: display04$1
649
649
  });
650
650
 
651
651
  var breakpointNames = Object.keys(layout.breakpoints);
@@ -722,77 +722,77 @@ function subtract(a, b) {
722
722
  * LICENSE file in the root directory of this source tree.
723
723
  */
724
724
  // Unstable tokens
725
- var caption01$1 = 'caption01';
726
- var label01$1 = 'label01';
727
- var helperText01$1 = 'helperText01';
728
- var bodyShort01$1 = 'bodyShort01';
729
- var bodyLong01$1 = 'bodyLong01';
730
- var bodyShort02$1 = 'bodyShort02';
731
- var bodyLong02$1 = 'bodyLong02';
732
- var code01$1 = 'code01';
733
- var code02$1 = 'code02';
734
- var heading01$1 = 'heading01';
735
- var productiveHeading01$1 = 'productiveHeading01';
736
- var heading02$1 = 'heading02';
737
- var productiveHeading02$1 = 'productiveHeading02';
738
- var productiveHeading03$1 = 'productiveHeading03';
739
- var productiveHeading04$1 = 'productiveHeading04';
740
- var productiveHeading05$1 = 'productiveHeading05';
741
- var productiveHeading06$1 = 'productiveHeading06';
742
- var productiveHeading07$1 = 'productiveHeading07';
743
- var expressiveHeading01$1 = 'expressiveHeading01';
744
- var expressiveHeading02$1 = 'expressiveHeading02';
745
- var expressiveHeading03$1 = 'expressiveHeading03';
746
- var expressiveHeading04$1 = 'expressiveHeading04';
747
- var expressiveHeading05$1 = 'expressiveHeading05';
748
- var expressiveHeading06$1 = 'expressiveHeading06';
749
- var expressiveParagraph01$1 = 'expressiveParagraph01';
750
- var quotation01$1 = 'quotation01';
751
- var quotation02$1 = 'quotation02';
752
- var display01$1 = 'display01';
753
- var display02$1 = 'display02';
754
- var display03$1 = 'display03';
755
- var display04$1 = 'display04';
756
- var unstable_tokens = [caption01$1, label01$1, helperText01$1, bodyShort01$1, bodyLong01$1, bodyShort02$1, bodyLong02$1, code01$1, code02$1, heading01$1, productiveHeading01$1, heading02$1, productiveHeading02$1, productiveHeading03$1, productiveHeading04$1, productiveHeading05$1, productiveHeading06$1, productiveHeading07$1, expressiveHeading01$1, expressiveHeading02$1, expressiveHeading03$1, expressiveHeading04$1, expressiveHeading05$1, expressiveHeading06$1, expressiveParagraph01$1, quotation01$1, quotation02$1, display01$1, display02$1, display03$1, display04$1];
757
-
758
- exports.bodyLong01 = bodyLong01;
759
- exports.bodyLong02 = bodyLong02;
760
- exports.bodyShort01 = bodyShort01;
761
- exports.bodyShort02 = bodyShort02;
762
- exports.caption01 = caption01;
763
- exports.code01 = code01;
764
- exports.code02 = code02;
765
- exports.display01 = display01;
766
- exports.display02 = display02;
767
- exports.display03 = display03;
768
- exports.display04 = display04;
769
- exports.expressiveHeading01 = expressiveHeading01;
770
- exports.expressiveHeading02 = expressiveHeading02;
771
- exports.expressiveHeading03 = expressiveHeading03;
772
- exports.expressiveHeading04 = expressiveHeading04;
773
- exports.expressiveHeading05 = expressiveHeading05;
774
- exports.expressiveHeading06 = expressiveHeading06;
775
- exports.expressiveParagraph01 = expressiveParagraph01;
725
+ var caption01 = 'caption01';
726
+ var label01 = 'label01';
727
+ var helperText01 = 'helperText01';
728
+ var bodyShort01 = 'bodyShort01';
729
+ var bodyLong01 = 'bodyLong01';
730
+ var bodyShort02 = 'bodyShort02';
731
+ var bodyLong02 = 'bodyLong02';
732
+ var code01 = 'code01';
733
+ var code02 = 'code02';
734
+ var heading01 = 'heading01';
735
+ var productiveHeading01 = 'productiveHeading01';
736
+ var heading02 = 'heading02';
737
+ var productiveHeading02 = 'productiveHeading02';
738
+ var productiveHeading03 = 'productiveHeading03';
739
+ var productiveHeading04 = 'productiveHeading04';
740
+ var productiveHeading05 = 'productiveHeading05';
741
+ var productiveHeading06 = 'productiveHeading06';
742
+ var productiveHeading07 = 'productiveHeading07';
743
+ var expressiveHeading01 = 'expressiveHeading01';
744
+ var expressiveHeading02 = 'expressiveHeading02';
745
+ var expressiveHeading03 = 'expressiveHeading03';
746
+ var expressiveHeading04 = 'expressiveHeading04';
747
+ var expressiveHeading05 = 'expressiveHeading05';
748
+ var expressiveHeading06 = 'expressiveHeading06';
749
+ var expressiveParagraph01 = 'expressiveParagraph01';
750
+ var quotation01 = 'quotation01';
751
+ var quotation02 = 'quotation02';
752
+ var display01 = 'display01';
753
+ var display02 = 'display02';
754
+ var display03 = 'display03';
755
+ var display04 = 'display04';
756
+ var unstable_tokens = [caption01, label01, helperText01, bodyShort01, bodyLong01, bodyShort02, bodyLong02, code01, code02, heading01, productiveHeading01, heading02, productiveHeading02, productiveHeading03, productiveHeading04, productiveHeading05, productiveHeading06, productiveHeading07, expressiveHeading01, expressiveHeading02, expressiveHeading03, expressiveHeading04, expressiveHeading05, expressiveHeading06, expressiveParagraph01, quotation01, quotation02, display01, display02, display03, display04];
757
+
758
+ exports.bodyLong01 = bodyLong01$1;
759
+ exports.bodyLong02 = bodyLong02$1;
760
+ exports.bodyShort01 = bodyShort01$1;
761
+ exports.bodyShort02 = bodyShort02$1;
762
+ exports.caption01 = caption01$1;
763
+ exports.code01 = code01$1;
764
+ exports.code02 = code02$1;
765
+ exports.display01 = display01$1;
766
+ exports.display02 = display02$1;
767
+ exports.display03 = display03$1;
768
+ exports.display04 = display04$1;
769
+ exports.expressiveHeading01 = expressiveHeading01$1;
770
+ exports.expressiveHeading02 = expressiveHeading02$1;
771
+ exports.expressiveHeading03 = expressiveHeading03$1;
772
+ exports.expressiveHeading04 = expressiveHeading04$1;
773
+ exports.expressiveHeading05 = expressiveHeading05$1;
774
+ exports.expressiveHeading06 = expressiveHeading06$1;
775
+ exports.expressiveParagraph01 = expressiveParagraph01$1;
776
776
  exports.fluid = fluid;
777
777
  exports.fontFamilies = fontFamilies;
778
778
  exports.fontFamily = fontFamily;
779
779
  exports.fontWeight = fontWeight;
780
780
  exports.fontWeights = fontWeights;
781
781
  exports.getTypeSize = getTypeSize;
782
- exports.heading01 = heading01;
783
- exports.heading02 = heading02;
784
- exports.helperText01 = helperText01;
785
- exports.label01 = label01;
782
+ exports.heading01 = heading01$1;
783
+ exports.heading02 = heading02$1;
784
+ exports.helperText01 = helperText01$1;
785
+ exports.label01 = label01$1;
786
786
  exports.print = print;
787
- exports.productiveHeading01 = productiveHeading01;
788
- exports.productiveHeading02 = productiveHeading02;
789
- exports.productiveHeading03 = productiveHeading03;
790
- exports.productiveHeading04 = productiveHeading04;
791
- exports.productiveHeading05 = productiveHeading05;
792
- exports.productiveHeading06 = productiveHeading06;
793
- exports.productiveHeading07 = productiveHeading07;
794
- exports.quotation01 = quotation01;
795
- exports.quotation02 = quotation02;
787
+ exports.productiveHeading01 = productiveHeading01$1;
788
+ exports.productiveHeading02 = productiveHeading02$1;
789
+ exports.productiveHeading03 = productiveHeading03$1;
790
+ exports.productiveHeading04 = productiveHeading04$1;
791
+ exports.productiveHeading05 = productiveHeading05$1;
792
+ exports.productiveHeading06 = productiveHeading06$1;
793
+ exports.productiveHeading07 = productiveHeading07$1;
794
+ exports.quotation01 = quotation01$1;
795
+ exports.quotation02 = quotation02$1;
796
796
  exports.reset = reset;
797
797
  exports.scale = scale;
798
798
  exports.styles = styles;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@carbon/type",
3
3
  "description": "Typography for digital and software products using the Carbon Design System",
4
- "version": "10.25.0",
4
+ "version": "10.27.0",
5
5
  "license": "Apache-2.0",
6
6
  "main": "lib/index.js",
7
7
  "module": "es/index.js",
@@ -37,10 +37,10 @@
37
37
  },
38
38
  "dependencies": {
39
39
  "@carbon/import-once": "^10.6.0",
40
- "@carbon/layout": "^10.22.0"
40
+ "@carbon/layout": "^10.23.0"
41
41
  },
42
42
  "devDependencies": {
43
- "@carbon/cli": "^10.21.0",
43
+ "@carbon/cli": "^10.22.0",
44
44
  "@carbon/test-utils": "^10.15.0",
45
45
  "change-case": "^4.1.1",
46
46
  "rimraf": "^3.0.0"
@@ -51,5 +51,5 @@
51
51
  "sassDir": "scss",
52
52
  "needs": "^1.3.0"
53
53
  },
54
- "gitHead": "8b9c3660aa5b585052b2aa88079a039697ef276f"
54
+ "gitHead": "ee650dfb14b7428a1509fcef32db2438b9b9eb76"
55
55
  }
@@ -28,9 +28,9 @@
28
28
  @include carbon--font-weight('regular');
29
29
 
30
30
  font-family: $body-font-family;
31
- text-rendering: optimizeLegibility;
32
- -webkit-font-smoothing: antialiased;
33
31
  -moz-osx-font-smoothing: grayscale;
32
+ -webkit-font-smoothing: antialiased;
33
+ text-rendering: optimizeLegibility;
34
34
  }
35
35
 
36
36
  code {