@carbon/type 11.6.0 → 11.7.1-rc.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/es/index.js CHANGED
@@ -410,7 +410,7 @@ var productiveHeading04$1 = {
410
410
  };
411
411
  var productiveHeading05$1 = {
412
412
  fontSize: rem(scale[7]),
413
- fontWeight: fontWeights.regular,
413
+ fontWeight: fontWeights.light,
414
414
  lineHeight: 1.25,
415
415
  letterSpacing: 0
416
416
  };
@@ -456,40 +456,38 @@ var expressiveHeading04$1 = {
456
456
  breakpoints: {
457
457
  xlg: {
458
458
  fontSize: rem(scale[6]),
459
+ fontWeight: fontWeights.light,
459
460
  lineHeight: 1.25
460
461
  },
461
462
  max: {
462
- fontSize: rem(scale[7])
463
+ fontSize: rem(scale[7]),
464
+ fontWeight: fontWeights.light
463
465
  }
464
466
  }
465
467
  };
466
468
  var expressiveHeading05$1 = {
467
469
  fontSize: rem(scale[7]),
468
- fontWeight: fontWeights.regular,
470
+ fontWeight: fontWeights.light,
469
471
  lineHeight: 1.25,
470
472
  letterSpacing: 0,
471
473
  breakpoints: {
472
474
  md: {
473
475
  fontSize: rem(scale[8]),
474
- fontWeight: fontWeights.light,
475
476
  lineHeight: 1.22,
476
477
  letterSpacing: 0
477
478
  },
478
479
  lg: {
479
480
  fontSize: rem(scale[9]),
480
- fontWeight: fontWeights.light,
481
481
  lineHeight: 1.19,
482
482
  letterSpacing: 0
483
483
  },
484
484
  xlg: {
485
485
  fontSize: rem(scale[10]),
486
- fontWeight: fontWeights.light,
487
486
  lineHeight: 1.17,
488
487
  letterSpacing: 0
489
488
  },
490
489
  max: {
491
490
  fontSize: rem(scale[12]),
492
- fontWeight: fontWeights.light,
493
491
  letterSpacing: 0
494
492
  }
495
493
  }
@@ -648,28 +646,28 @@ var display03$1 = {
648
646
  letterSpacing: 0,
649
647
  breakpoints: {
650
648
  md: {
651
- fontSize: rem(scale[13]),
652
- lineHeight: 1.15
649
+ fontSize: rem(scale[11]),
650
+ lineHeight: 1.18
653
651
  },
654
652
  lg: {
655
- fontSize: rem(scale[16]),
656
- lineHeight: 1.11,
653
+ fontSize: rem(scale[12]),
654
+ lineHeight: 1.16,
657
655
  letterSpacing: px(-0.64)
658
656
  },
659
657
  xlg: {
660
- fontSize: rem(scale[19]),
661
- lineHeight: 1.07
658
+ fontSize: rem(scale[14]),
659
+ lineHeight: 1.13
662
660
  },
663
661
  max: {
664
- fontSize: rem(scale[22]),
665
- lineHeight: 1.05,
662
+ fontSize: rem(scale[15]),
663
+ lineHeight: 1.11,
666
664
  letterSpacing: px(-0.96)
667
665
  }
668
666
  }
669
667
  };
670
668
  var display04$1 = {
671
669
  fontSize: rem(scale[9]),
672
- fontWeight: fontWeights.semibold,
670
+ fontWeight: fontWeights.light,
673
671
  lineHeight: 1.19,
674
672
  letterSpacing: 0,
675
673
  breakpoints: {
package/lib/index.js CHANGED
@@ -414,7 +414,7 @@ var productiveHeading04$1 = {
414
414
  };
415
415
  var productiveHeading05$1 = {
416
416
  fontSize: rem(scale[7]),
417
- fontWeight: fontWeights.regular,
417
+ fontWeight: fontWeights.light,
418
418
  lineHeight: 1.25,
419
419
  letterSpacing: 0
420
420
  };
@@ -460,40 +460,38 @@ var expressiveHeading04$1 = {
460
460
  breakpoints: {
461
461
  xlg: {
462
462
  fontSize: rem(scale[6]),
463
+ fontWeight: fontWeights.light,
463
464
  lineHeight: 1.25
464
465
  },
465
466
  max: {
466
- fontSize: rem(scale[7])
467
+ fontSize: rem(scale[7]),
468
+ fontWeight: fontWeights.light
467
469
  }
468
470
  }
469
471
  };
470
472
  var expressiveHeading05$1 = {
471
473
  fontSize: rem(scale[7]),
472
- fontWeight: fontWeights.regular,
474
+ fontWeight: fontWeights.light,
473
475
  lineHeight: 1.25,
474
476
  letterSpacing: 0,
475
477
  breakpoints: {
476
478
  md: {
477
479
  fontSize: rem(scale[8]),
478
- fontWeight: fontWeights.light,
479
480
  lineHeight: 1.22,
480
481
  letterSpacing: 0
481
482
  },
482
483
  lg: {
483
484
  fontSize: rem(scale[9]),
484
- fontWeight: fontWeights.light,
485
485
  lineHeight: 1.19,
486
486
  letterSpacing: 0
487
487
  },
488
488
  xlg: {
489
489
  fontSize: rem(scale[10]),
490
- fontWeight: fontWeights.light,
491
490
  lineHeight: 1.17,
492
491
  letterSpacing: 0
493
492
  },
494
493
  max: {
495
494
  fontSize: rem(scale[12]),
496
- fontWeight: fontWeights.light,
497
495
  letterSpacing: 0
498
496
  }
499
497
  }
@@ -652,28 +650,28 @@ var display03$1 = {
652
650
  letterSpacing: 0,
653
651
  breakpoints: {
654
652
  md: {
655
- fontSize: rem(scale[13]),
656
- lineHeight: 1.15
653
+ fontSize: rem(scale[11]),
654
+ lineHeight: 1.18
657
655
  },
658
656
  lg: {
659
- fontSize: rem(scale[16]),
660
- lineHeight: 1.11,
657
+ fontSize: rem(scale[12]),
658
+ lineHeight: 1.16,
661
659
  letterSpacing: px(-0.64)
662
660
  },
663
661
  xlg: {
664
- fontSize: rem(scale[19]),
665
- lineHeight: 1.07
662
+ fontSize: rem(scale[14]),
663
+ lineHeight: 1.13
666
664
  },
667
665
  max: {
668
- fontSize: rem(scale[22]),
669
- lineHeight: 1.05,
666
+ fontSize: rem(scale[15]),
667
+ lineHeight: 1.11,
670
668
  letterSpacing: px(-0.96)
671
669
  }
672
670
  }
673
671
  };
674
672
  var display04$1 = {
675
673
  fontSize: rem(scale[9]),
676
- fontWeight: fontWeights.semibold,
674
+ fontWeight: fontWeights.light,
677
675
  lineHeight: 1.19,
678
676
  letterSpacing: 0,
679
677
  breakpoints: {
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": "11.6.0",
4
+ "version": "11.7.1-rc.0",
5
5
  "license": "Apache-2.0",
6
6
  "main": "lib/index.js",
7
7
  "module": "es/index.js",
@@ -52,5 +52,5 @@
52
52
  "sassDir": "scss",
53
53
  "needs": "^1.3.0"
54
54
  },
55
- "gitHead": "182eaa898977e15b0cbedf4b8b62502693d43b4c"
55
+ "gitHead": "3a4f61d60424d5ddb58787a97a6b40cb7ad18baa"
56
56
  }
package/scss/_styles.scss CHANGED
@@ -55,6 +55,17 @@ $helper-text-01: (
55
55
  letter-spacing: 0.32px,
56
56
  ) !default;
57
57
 
58
+ /// @type Map
59
+ /// @access public
60
+ /// @deprecated
61
+ /// @group @carbon/type
62
+ $helper-text-02: (
63
+ font-size: carbon--type-scale(2),
64
+ font-weight: carbon--font-weight('regular'),
65
+ line-height: 1.28572,
66
+ letter-spacing: 0.16px,
67
+ ) !default;
68
+
58
69
  /// @type Map
59
70
  /// @access public
60
71
  /// @group @carbon/type
@@ -222,7 +233,7 @@ $heading-04: $productive-heading-04 !default;
222
233
  /// @group @carbon/type
223
234
  $productive-heading-05: (
224
235
  font-size: scale.type-scale(8),
225
- font-weight: font-family.font-weight('regular'),
236
+ font-weight: font-family.font-weight('light'),
226
237
  line-height: 1.25,
227
238
  letter-spacing: 0,
228
239
  ) !default;
@@ -310,9 +321,11 @@ $expressive-heading-04: (
310
321
  xlg: (
311
322
  font-size: scale.type-scale(7),
312
323
  line-height: 1.25,
324
+ font-weight: font-family.font-weight('light'),
313
325
  ),
314
326
  max: (
315
327
  font-size: scale.type-scale(8),
328
+ font-weight: font-family.font-weight('light'),
316
329
  ),
317
330
  ),
318
331
  ) !default;
@@ -327,13 +340,12 @@ $fluid-heading-04: $expressive-heading-04 !default;
327
340
  /// @group @carbon/type
328
341
  $expressive-heading-05: (
329
342
  font-size: scale.type-scale(8),
330
- font-weight: font-family.font-weight('regular'),
343
+ font-weight: font-family.font-weight('light'),
331
344
  line-height: 1.25,
332
345
  letter-spacing: 0,
333
346
  breakpoints: (
334
347
  md: (
335
348
  font-size: scale.type-scale(9),
336
- font-weight: font-family.font-weight('light'),
337
349
  line-height: 1.22,
338
350
  ),
339
351
  lg: (
@@ -550,22 +562,22 @@ $display-03: (
550
562
  letter-spacing: 0,
551
563
  breakpoints: (
552
564
  md: (
553
- font-size: scale.type-scale(14),
554
- line-height: 1.15,
565
+ font-size: scale.type-scale(12),
566
+ line-height: 1.18,
555
567
  ),
556
568
  lg: (
557
- font-size: scale.type-scale(17),
558
- line-height: 1.11,
569
+ font-size: scale.type-scale(13),
570
+ line-height: 1.16,
559
571
  letter-spacing: -0.64px,
560
572
  ),
561
573
  xlg: (
562
- font-size: scale.type-scale(20),
563
- line-height: 1.07,
574
+ font-size: scale.type-scale(15),
575
+ line-height: 1.13,
564
576
  letter-spacing: -0.64px,
565
577
  ),
566
578
  max: (
567
- font-size: scale.type-scale(23),
568
- line-height: 1.05,
579
+ font-size: scale.type-scale(16),
580
+ line-height: 1.11,
569
581
  letter-spacing: -0.96px,
570
582
  ),
571
583
  ),
@@ -581,7 +593,7 @@ $fluid-display-03: $display-03 !default;
581
593
  /// @group @carbon/type
582
594
  $display-04: (
583
595
  font-size: scale.type-scale(10),
584
- font-weight: font-family.font-weight('semibold'),
596
+ font-weight: font-family.font-weight('light'),
585
597
  line-height: 1.19,
586
598
  letter-spacing: 0,
587
599
  breakpoints: (
@@ -618,6 +630,7 @@ $fluid-display-04: $display-04 !default;
618
630
  $tokens: (
619
631
  label-01: $label-01,
620
632
  helper-text-01: $helper-text-01,
633
+ helper-text-02: $helper-text-02,
621
634
  body-short-01: $body-short-01,
622
635
  body-short-02: $body-short-02,
623
636
  body-long-01: $body-long-01,
@@ -109,7 +109,7 @@ letter-spacing: 0;"
109
109
 
110
110
  exports[`styles display04 should be printable 1`] = `
111
111
  "font-size: 2.625rem;
112
- font-weight: 600;
112
+ font-weight: 300;
113
113
  line-height: 1.19;
114
114
  letter-spacing: 0;"
115
115
  `;
@@ -144,7 +144,7 @@ letter-spacing: 0;"
144
144
 
145
145
  exports[`styles expressiveHeading05 should be printable 1`] = `
146
146
  "font-size: 2rem;
147
- font-weight: 400;
147
+ font-weight: 300;
148
148
  line-height: 1.25;
149
149
  letter-spacing: 0;"
150
150
  `;
@@ -186,7 +186,7 @@ letter-spacing: 0;"
186
186
 
187
187
  exports[`styles fluidDisplay04 should be printable 1`] = `
188
188
  "font-size: 2.625rem;
189
- font-weight: 600;
189
+ font-weight: 300;
190
190
  line-height: 1.19;
191
191
  letter-spacing: 0;"
192
192
  `;
@@ -207,7 +207,7 @@ letter-spacing: 0;"
207
207
 
208
208
  exports[`styles fluidHeading05 should be printable 1`] = `
209
209
  "font-size: 2rem;
210
- font-weight: 400;
210
+ font-weight: 300;
211
211
  line-height: 1.25;
212
212
  letter-spacing: 0;"
213
213
  `;
@@ -272,7 +272,7 @@ letter-spacing: 0;"
272
272
 
273
273
  exports[`styles heading05 should be printable 1`] = `
274
274
  "font-size: 2rem;
275
- font-weight: 400;
275
+ font-weight: 300;
276
276
  line-height: 1.25;
277
277
  letter-spacing: 0;"
278
278
  `;
@@ -375,7 +375,7 @@ letter-spacing: 0;"
375
375
 
376
376
  exports[`styles productiveHeading05 should be printable 1`] = `
377
377
  "font-size: 2rem;
378
- font-weight: 400;
378
+ font-weight: 300;
379
379
  line-height: 1.25;
380
380
  letter-spacing: 0;"
381
381
  `;
@@ -62,7 +62,7 @@ describe('fluid', () => {
62
62
  "lineHeight": 1.05,
63
63
  },
64
64
  "fontSize": "calc(2.625rem + 1.625 * ((100vw - 20rem) / 22))",
65
- "fontWeight": 600,
65
+ "fontWeight": 300,
66
66
  "letterSpacing": 0,
67
67
  "lineHeight": 1.19,
68
68
  }
package/src/styles.js CHANGED
@@ -138,7 +138,7 @@ export const productiveHeading04 = {
138
138
 
139
139
  export const productiveHeading05 = {
140
140
  fontSize: rem(scale[7]),
141
- fontWeight: fontWeights.regular,
141
+ fontWeight: fontWeights.light,
142
142
  lineHeight: 1.25,
143
143
  letterSpacing: 0,
144
144
  };
@@ -192,41 +192,39 @@ export const expressiveHeading04 = {
192
192
  breakpoints: {
193
193
  xlg: {
194
194
  fontSize: rem(scale[6]),
195
+ fontWeight: fontWeights.light,
195
196
  lineHeight: 1.25,
196
197
  },
197
198
  max: {
198
199
  fontSize: rem(scale[7]),
200
+ fontWeight: fontWeights.light,
199
201
  },
200
202
  },
201
203
  };
202
204
 
203
205
  export const expressiveHeading05 = {
204
206
  fontSize: rem(scale[7]),
205
- fontWeight: fontWeights.regular,
207
+ fontWeight: fontWeights.light,
206
208
  lineHeight: 1.25,
207
209
  letterSpacing: 0,
208
210
  breakpoints: {
209
211
  md: {
210
212
  fontSize: rem(scale[8]),
211
- fontWeight: fontWeights.light,
212
213
  lineHeight: 1.22,
213
214
  letterSpacing: 0,
214
215
  },
215
216
  lg: {
216
217
  fontSize: rem(scale[9]),
217
- fontWeight: fontWeights.light,
218
218
  lineHeight: 1.19,
219
219
  letterSpacing: 0,
220
220
  },
221
221
  xlg: {
222
222
  fontSize: rem(scale[10]),
223
- fontWeight: fontWeights.light,
224
223
  lineHeight: 1.17,
225
224
  letterSpacing: 0,
226
225
  },
227
226
  max: {
228
227
  fontSize: rem(scale[12]),
229
- fontWeight: fontWeights.light,
230
228
  letterSpacing: 0,
231
229
  },
232
230
  },
@@ -392,21 +390,21 @@ export const display03 = {
392
390
  letterSpacing: 0,
393
391
  breakpoints: {
394
392
  md: {
395
- fontSize: rem(scale[13]),
396
- lineHeight: 1.15,
393
+ fontSize: rem(scale[11]),
394
+ lineHeight: 1.18,
397
395
  },
398
396
  lg: {
399
- fontSize: rem(scale[16]),
400
- lineHeight: 1.11,
397
+ fontSize: rem(scale[12]),
398
+ lineHeight: 1.16,
401
399
  letterSpacing: px(-0.64),
402
400
  },
403
401
  xlg: {
404
- fontSize: rem(scale[19]),
405
- lineHeight: 1.07,
402
+ fontSize: rem(scale[14]),
403
+ lineHeight: 1.13,
406
404
  },
407
405
  max: {
408
- fontSize: rem(scale[22]),
409
- lineHeight: 1.05,
406
+ fontSize: rem(scale[15]),
407
+ lineHeight: 1.11,
410
408
  letterSpacing: px(-0.96),
411
409
  },
412
410
  },
@@ -414,7 +412,7 @@ export const display03 = {
414
412
 
415
413
  export const display04 = {
416
414
  fontSize: rem(scale[9]),
417
- fontWeight: fontWeights.semibold,
415
+ fontWeight: fontWeights.light,
418
416
  lineHeight: 1.19,
419
417
  letterSpacing: 0,
420
418
  breakpoints: {
package/umd/index.js CHANGED
@@ -416,7 +416,7 @@
416
416
  };
417
417
  var productiveHeading05$1 = {
418
418
  fontSize: rem(scale[7]),
419
- fontWeight: fontWeights.regular,
419
+ fontWeight: fontWeights.light,
420
420
  lineHeight: 1.25,
421
421
  letterSpacing: 0
422
422
  };
@@ -462,40 +462,38 @@
462
462
  breakpoints: {
463
463
  xlg: {
464
464
  fontSize: rem(scale[6]),
465
+ fontWeight: fontWeights.light,
465
466
  lineHeight: 1.25
466
467
  },
467
468
  max: {
468
- fontSize: rem(scale[7])
469
+ fontSize: rem(scale[7]),
470
+ fontWeight: fontWeights.light
469
471
  }
470
472
  }
471
473
  };
472
474
  var expressiveHeading05$1 = {
473
475
  fontSize: rem(scale[7]),
474
- fontWeight: fontWeights.regular,
476
+ fontWeight: fontWeights.light,
475
477
  lineHeight: 1.25,
476
478
  letterSpacing: 0,
477
479
  breakpoints: {
478
480
  md: {
479
481
  fontSize: rem(scale[8]),
480
- fontWeight: fontWeights.light,
481
482
  lineHeight: 1.22,
482
483
  letterSpacing: 0
483
484
  },
484
485
  lg: {
485
486
  fontSize: rem(scale[9]),
486
- fontWeight: fontWeights.light,
487
487
  lineHeight: 1.19,
488
488
  letterSpacing: 0
489
489
  },
490
490
  xlg: {
491
491
  fontSize: rem(scale[10]),
492
- fontWeight: fontWeights.light,
493
492
  lineHeight: 1.17,
494
493
  letterSpacing: 0
495
494
  },
496
495
  max: {
497
496
  fontSize: rem(scale[12]),
498
- fontWeight: fontWeights.light,
499
497
  letterSpacing: 0
500
498
  }
501
499
  }
@@ -654,28 +652,28 @@
654
652
  letterSpacing: 0,
655
653
  breakpoints: {
656
654
  md: {
657
- fontSize: rem(scale[13]),
658
- lineHeight: 1.15
655
+ fontSize: rem(scale[11]),
656
+ lineHeight: 1.18
659
657
  },
660
658
  lg: {
661
- fontSize: rem(scale[16]),
662
- lineHeight: 1.11,
659
+ fontSize: rem(scale[12]),
660
+ lineHeight: 1.16,
663
661
  letterSpacing: px(-0.64)
664
662
  },
665
663
  xlg: {
666
- fontSize: rem(scale[19]),
667
- lineHeight: 1.07
664
+ fontSize: rem(scale[14]),
665
+ lineHeight: 1.13
668
666
  },
669
667
  max: {
670
- fontSize: rem(scale[22]),
671
- lineHeight: 1.05,
668
+ fontSize: rem(scale[15]),
669
+ lineHeight: 1.11,
672
670
  letterSpacing: px(-0.96)
673
671
  }
674
672
  }
675
673
  };
676
674
  var display04$1 = {
677
675
  fontSize: rem(scale[9]),
678
- fontWeight: fontWeights.semibold,
676
+ fontWeight: fontWeights.light,
679
677
  lineHeight: 1.19,
680
678
  letterSpacing: 0,
681
679
  breakpoints: {