@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/es/index.js CHANGED
@@ -243,112 +243,112 @@ function _objectWithoutProperties(source, excluded) {
243
243
  return target;
244
244
  }
245
245
 
246
- var caption01 = {
246
+ var caption01$1 = {
247
247
  fontSize: rem(scale[0]),
248
248
  fontWeight: fontWeights.regular,
249
249
  lineHeight: 1.34,
250
250
  letterSpacing: px(0.32)
251
251
  };
252
- var label01 = {
252
+ var label01$1 = {
253
253
  fontSize: rem(scale[0]),
254
254
  fontWeight: fontWeights.regular,
255
255
  lineHeight: 1.34,
256
256
  letterSpacing: px(0.32)
257
257
  };
258
- var helperText01 = {
258
+ var helperText01$1 = {
259
259
  fontSize: rem(scale[0]),
260
260
  lineHeight: 1.34,
261
261
  letterSpacing: px(0.32)
262
262
  };
263
- var bodyShort01 = {
263
+ var bodyShort01$1 = {
264
264
  fontSize: rem(scale[1]),
265
265
  fontWeight: fontWeights.regular,
266
266
  lineHeight: 1.29,
267
267
  letterSpacing: px(0.16)
268
268
  };
269
- var bodyLong01 = {
269
+ var bodyLong01$1 = {
270
270
  fontSize: rem(scale[1]),
271
271
  fontWeight: fontWeights.regular,
272
272
  lineHeight: 1.43,
273
273
  letterSpacing: px(0.16)
274
274
  };
275
- var bodyShort02 = {
275
+ var bodyShort02$1 = {
276
276
  fontSize: rem(scale[2]),
277
277
  fontWeight: fontWeights.regular,
278
278
  lineHeight: 1.375,
279
279
  letterSpacing: 0
280
280
  };
281
- var bodyLong02 = {
281
+ var bodyLong02$1 = {
282
282
  fontSize: rem(scale[2]),
283
283
  fontWeight: fontWeights.regular,
284
284
  lineHeight: 1.5,
285
285
  letterSpacing: 0
286
286
  };
287
- var code01 = {
287
+ var code01$1 = {
288
288
  fontFamily: fontFamilies.mono,
289
289
  fontSize: rem(scale[0]),
290
290
  fontWeight: fontWeights.regular,
291
291
  lineHeight: 1.34,
292
292
  letterSpacing: px(0.32)
293
293
  };
294
- var code02 = {
294
+ var code02$1 = {
295
295
  fontFamily: fontFamilies.mono,
296
296
  fontSize: rem(scale[1]),
297
297
  fontWeight: fontWeights.regular,
298
298
  lineHeight: 1.43,
299
299
  letterSpacing: px(0.32)
300
300
  };
301
- var heading01 = {
301
+ var heading01$1 = {
302
302
  fontSize: rem(scale[1]),
303
303
  fontWeight: fontWeights.semibold,
304
304
  lineHeight: 1.29,
305
305
  letterSpacing: px(0.16)
306
306
  };
307
- var productiveHeading01 = heading01;
308
- var heading02 = {
307
+ var productiveHeading01$1 = heading01$1;
308
+ var heading02$1 = {
309
309
  fontSize: rem(scale[2]),
310
310
  fontWeight: fontWeights.semibold,
311
311
  lineHeight: 1.375,
312
312
  letterSpacing: 0
313
313
  };
314
- var productiveHeading02 = heading02;
315
- var productiveHeading03 = {
314
+ var productiveHeading02$1 = heading02$1;
315
+ var productiveHeading03$1 = {
316
316
  fontSize: rem(scale[4]),
317
317
  fontWeight: fontWeights.regular,
318
318
  lineHeight: 1.4,
319
319
  letterSpacing: 0
320
320
  };
321
- var productiveHeading04 = {
321
+ var productiveHeading04$1 = {
322
322
  fontSize: rem(scale[6]),
323
323
  fontWeight: fontWeights.regular,
324
324
  lineHeight: 1.29,
325
325
  letterSpacing: 0
326
326
  };
327
- var productiveHeading05 = {
327
+ var productiveHeading05$1 = {
328
328
  fontSize: rem(scale[7]),
329
329
  fontWeight: fontWeights.regular,
330
330
  lineHeight: 1.25,
331
331
  letterSpacing: 0
332
332
  };
333
- var productiveHeading06 = {
333
+ var productiveHeading06$1 = {
334
334
  fontSize: rem(scale[9]),
335
335
  fontWeight: fontWeights.light,
336
336
  lineHeight: 1.199,
337
337
  letterSpacing: 0
338
338
  };
339
- var productiveHeading07 = {
339
+ var productiveHeading07$1 = {
340
340
  fontSize: rem(scale[11]),
341
341
  fontWeight: fontWeights.light,
342
342
  lineHeight: 1.19,
343
343
  letterSpacing: 0
344
344
  };
345
- var expressiveHeading01 = _objectSpread2(_objectSpread2({}, heading01), {}, {
345
+ var expressiveHeading01$1 = _objectSpread2(_objectSpread2({}, heading01$1), {}, {
346
346
  lineHeight: 1.25
347
347
  });
348
- var expressiveHeading02 = _objectSpread2(_objectSpread2({}, heading02), {}, {
348
+ var expressiveHeading02$1 = _objectSpread2(_objectSpread2({}, heading02$1), {}, {
349
349
  lineHeight: 1.5
350
350
  });
351
- var expressiveHeading03 = {
351
+ var expressiveHeading03$1 = {
352
352
  fontSize: rem(scale[4]),
353
353
  fontWeight: fontWeights.regular,
354
354
  lineHeight: 1.4,
@@ -364,7 +364,7 @@ var expressiveHeading03 = {
364
364
  }
365
365
  }
366
366
  };
367
- var expressiveHeading04 = {
367
+ var expressiveHeading04$1 = {
368
368
  fontSize: rem(scale[6]),
369
369
  fontWeight: fontWeights.regular,
370
370
  lineHeight: 1.29,
@@ -379,7 +379,7 @@ var expressiveHeading04 = {
379
379
  }
380
380
  }
381
381
  };
382
- var expressiveHeading05 = {
382
+ var expressiveHeading05$1 = {
383
383
  fontSize: rem(scale[7]),
384
384
  fontWeight: fontWeights.regular,
385
385
  lineHeight: 1.25,
@@ -410,7 +410,7 @@ var expressiveHeading05 = {
410
410
  }
411
411
  }
412
412
  };
413
- var expressiveHeading06 = {
413
+ var expressiveHeading06$1 = {
414
414
  fontSize: rem(scale[7]),
415
415
  fontWeight: fontWeights.semibold,
416
416
  lineHeight: 1.25,
@@ -441,7 +441,7 @@ var expressiveHeading06 = {
441
441
  }
442
442
  }
443
443
  };
444
- var expressiveParagraph01 = {
444
+ var expressiveParagraph01$1 = {
445
445
  fontSize: rem(scale[5]),
446
446
  fontWeight: fontWeights.light,
447
447
  lineHeight: 1.334,
@@ -457,7 +457,7 @@ var expressiveParagraph01 = {
457
457
  }
458
458
  }
459
459
  };
460
- var quotation01 = {
460
+ var quotation01$1 = {
461
461
  fontSize: rem(scale[4]),
462
462
  fontWeight: fontWeights.regular,
463
463
  lineHeight: 1.3,
@@ -488,7 +488,7 @@ var quotation01 = {
488
488
  }
489
489
  }
490
490
  };
491
- var quotation02 = {
491
+ var quotation02$1 = {
492
492
  fontSize: rem(scale[7]),
493
493
  fontWeight: fontWeights.light,
494
494
  lineHeight: 1.25,
@@ -511,7 +511,7 @@ var quotation02 = {
511
511
  }
512
512
  }
513
513
  };
514
- var display01 = {
514
+ var display01$1 = {
515
515
  fontSize: rem(scale[9]),
516
516
  fontWeight: fontWeights.light,
517
517
  lineHeight: 1.19,
@@ -533,7 +533,7 @@ var display01 = {
533
533
  }
534
534
  }
535
535
  };
536
- var display02 = {
536
+ var display02$1 = {
537
537
  fontSize: rem(scale[9]),
538
538
  fontWeight: fontWeights.semibold,
539
539
  lineHeight: 1.19,
@@ -555,7 +555,7 @@ var display02 = {
555
555
  }
556
556
  }
557
557
  };
558
- var display03 = {
558
+ var display03$1 = {
559
559
  fontSize: rem(scale[9]),
560
560
  fontWeight: fontWeights.light,
561
561
  lineHeight: 1.19,
@@ -581,7 +581,7 @@ var display03 = {
581
581
  }
582
582
  }
583
583
  };
584
- var display04 = {
584
+ var display04$1 = {
585
585
  fontSize: rem(scale[9]),
586
586
  fontWeight: fontWeights.semibold,
587
587
  lineHeight: 1.19,
@@ -611,37 +611,37 @@ var display04 = {
611
611
 
612
612
  var styles = /*#__PURE__*/Object.freeze({
613
613
  __proto__: null,
614
- caption01: caption01,
615
- label01: label01,
616
- helperText01: helperText01,
617
- bodyShort01: bodyShort01,
618
- bodyLong01: bodyLong01,
619
- bodyShort02: bodyShort02,
620
- bodyLong02: bodyLong02,
621
- code01: code01,
622
- code02: code02,
623
- heading01: heading01,
624
- productiveHeading01: productiveHeading01,
625
- heading02: heading02,
626
- productiveHeading02: productiveHeading02,
627
- productiveHeading03: productiveHeading03,
628
- productiveHeading04: productiveHeading04,
629
- productiveHeading05: productiveHeading05,
630
- productiveHeading06: productiveHeading06,
631
- productiveHeading07: productiveHeading07,
632
- expressiveHeading01: expressiveHeading01,
633
- expressiveHeading02: expressiveHeading02,
634
- expressiveHeading03: expressiveHeading03,
635
- expressiveHeading04: expressiveHeading04,
636
- expressiveHeading05: expressiveHeading05,
637
- expressiveHeading06: expressiveHeading06,
638
- expressiveParagraph01: expressiveParagraph01,
639
- quotation01: quotation01,
640
- quotation02: quotation02,
641
- display01: display01,
642
- display02: display02,
643
- display03: display03,
644
- display04: display04
614
+ caption01: caption01$1,
615
+ label01: label01$1,
616
+ helperText01: helperText01$1,
617
+ bodyShort01: bodyShort01$1,
618
+ bodyLong01: bodyLong01$1,
619
+ bodyShort02: bodyShort02$1,
620
+ bodyLong02: bodyLong02$1,
621
+ code01: code01$1,
622
+ code02: code02$1,
623
+ heading01: heading01$1,
624
+ productiveHeading01: productiveHeading01$1,
625
+ heading02: heading02$1,
626
+ productiveHeading02: productiveHeading02$1,
627
+ productiveHeading03: productiveHeading03$1,
628
+ productiveHeading04: productiveHeading04$1,
629
+ productiveHeading05: productiveHeading05$1,
630
+ productiveHeading06: productiveHeading06$1,
631
+ productiveHeading07: productiveHeading07$1,
632
+ expressiveHeading01: expressiveHeading01$1,
633
+ expressiveHeading02: expressiveHeading02$1,
634
+ expressiveHeading03: expressiveHeading03$1,
635
+ expressiveHeading04: expressiveHeading04$1,
636
+ expressiveHeading05: expressiveHeading05$1,
637
+ expressiveHeading06: expressiveHeading06$1,
638
+ expressiveParagraph01: expressiveParagraph01$1,
639
+ quotation01: quotation01$1,
640
+ quotation02: quotation02$1,
641
+ display01: display01$1,
642
+ display02: display02$1,
643
+ display03: display03$1,
644
+ display04: display04$1
645
645
  });
646
646
 
647
647
  var breakpointNames = Object.keys(breakpoints);
@@ -718,37 +718,37 @@ function subtract(a, b) {
718
718
  * LICENSE file in the root directory of this source tree.
719
719
  */
720
720
  // Unstable tokens
721
- var caption01$1 = 'caption01';
722
- var label01$1 = 'label01';
723
- var helperText01$1 = 'helperText01';
724
- var bodyShort01$1 = 'bodyShort01';
725
- var bodyLong01$1 = 'bodyLong01';
726
- var bodyShort02$1 = 'bodyShort02';
727
- var bodyLong02$1 = 'bodyLong02';
728
- var code01$1 = 'code01';
729
- var code02$1 = 'code02';
730
- var heading01$1 = 'heading01';
731
- var productiveHeading01$1 = 'productiveHeading01';
732
- var heading02$1 = 'heading02';
733
- var productiveHeading02$1 = 'productiveHeading02';
734
- var productiveHeading03$1 = 'productiveHeading03';
735
- var productiveHeading04$1 = 'productiveHeading04';
736
- var productiveHeading05$1 = 'productiveHeading05';
737
- var productiveHeading06$1 = 'productiveHeading06';
738
- var productiveHeading07$1 = 'productiveHeading07';
739
- var expressiveHeading01$1 = 'expressiveHeading01';
740
- var expressiveHeading02$1 = 'expressiveHeading02';
741
- var expressiveHeading03$1 = 'expressiveHeading03';
742
- var expressiveHeading04$1 = 'expressiveHeading04';
743
- var expressiveHeading05$1 = 'expressiveHeading05';
744
- var expressiveHeading06$1 = 'expressiveHeading06';
745
- var expressiveParagraph01$1 = 'expressiveParagraph01';
746
- var quotation01$1 = 'quotation01';
747
- var quotation02$1 = 'quotation02';
748
- var display01$1 = 'display01';
749
- var display02$1 = 'display02';
750
- var display03$1 = 'display03';
751
- var display04$1 = 'display04';
752
- 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];
753
-
754
- export { bodyLong01, bodyLong02, bodyShort01, bodyShort02, caption01, code01, code02, display01, display02, display03, display04, expressiveHeading01, expressiveHeading02, expressiveHeading03, expressiveHeading04, expressiveHeading05, expressiveHeading06, expressiveParagraph01, fluid, fontFamilies, fontFamily, fontWeight, fontWeights, getTypeSize, heading01, heading02, helperText01, label01, print, productiveHeading01, productiveHeading02, productiveHeading03, productiveHeading04, productiveHeading05, productiveHeading06, productiveHeading07, quotation01, quotation02, reset, scale, styles, unstable_tokens };
721
+ var caption01 = 'caption01';
722
+ var label01 = 'label01';
723
+ var helperText01 = 'helperText01';
724
+ var bodyShort01 = 'bodyShort01';
725
+ var bodyLong01 = 'bodyLong01';
726
+ var bodyShort02 = 'bodyShort02';
727
+ var bodyLong02 = 'bodyLong02';
728
+ var code01 = 'code01';
729
+ var code02 = 'code02';
730
+ var heading01 = 'heading01';
731
+ var productiveHeading01 = 'productiveHeading01';
732
+ var heading02 = 'heading02';
733
+ var productiveHeading02 = 'productiveHeading02';
734
+ var productiveHeading03 = 'productiveHeading03';
735
+ var productiveHeading04 = 'productiveHeading04';
736
+ var productiveHeading05 = 'productiveHeading05';
737
+ var productiveHeading06 = 'productiveHeading06';
738
+ var productiveHeading07 = 'productiveHeading07';
739
+ var expressiveHeading01 = 'expressiveHeading01';
740
+ var expressiveHeading02 = 'expressiveHeading02';
741
+ var expressiveHeading03 = 'expressiveHeading03';
742
+ var expressiveHeading04 = 'expressiveHeading04';
743
+ var expressiveHeading05 = 'expressiveHeading05';
744
+ var expressiveHeading06 = 'expressiveHeading06';
745
+ var expressiveParagraph01 = 'expressiveParagraph01';
746
+ var quotation01 = 'quotation01';
747
+ var quotation02 = 'quotation02';
748
+ var display01 = 'display01';
749
+ var display02 = 'display02';
750
+ var display03 = 'display03';
751
+ var display04 = 'display04';
752
+ 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];
753
+
754
+ export { bodyLong01$1 as bodyLong01, bodyLong02$1 as bodyLong02, bodyShort01$1 as bodyShort01, bodyShort02$1 as bodyShort02, caption01$1 as caption01, code01$1 as code01, code02$1 as code02, display01$1 as display01, display02$1 as display02, display03$1 as display03, display04$1 as display04, expressiveHeading01$1 as expressiveHeading01, expressiveHeading02$1 as expressiveHeading02, expressiveHeading03$1 as expressiveHeading03, expressiveHeading04$1 as expressiveHeading04, expressiveHeading05$1 as expressiveHeading05, expressiveHeading06$1 as expressiveHeading06, expressiveParagraph01$1 as expressiveParagraph01, fluid, fontFamilies, fontFamily, fontWeight, fontWeights, getTypeSize, heading01$1 as heading01, heading02$1 as heading02, helperText01$1 as helperText01, label01$1 as label01, print, productiveHeading01$1 as productiveHeading01, productiveHeading02$1 as productiveHeading02, productiveHeading03$1 as productiveHeading03, productiveHeading04$1 as productiveHeading04, productiveHeading05$1 as productiveHeading05, productiveHeading06$1 as productiveHeading06, productiveHeading07$1 as productiveHeading07, quotation01$1 as quotation01, quotation02$1 as quotation02, reset, scale, styles, unstable_tokens };