@carbon/type 10.1.1 → 10.2.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/LICENSE +2 -2
- package/README.md +69 -80
- package/es/index.js +23 -1
- package/lib/index.js +28 -0
- package/package.json +7 -7
- package/scss/_inlined/_classes.scss +41 -0
- package/scss/_inlined/_font-family.scss +70 -0
- package/scss/_inlined/_prefix.scss +11 -0
- package/scss/_inlined/_reset.scss +43 -0
- package/scss/_inlined/_scale.scss +59 -0
- package/scss/_inlined/_styles.scss +673 -0
- package/scss/_inlined/font-face/_mono.scss +430 -0
- package/scss/_inlined/font-face/_sans.scss +497 -0
- package/scss/_inlined/font-face/_serif.scss +430 -0
- package/scss/_inlined/font-face/_settings.scss +12 -0
- package/scss/_styles.scss +46 -0
- package/scss/index.scss +11 -0
- package/scss/type.scss +4 -4
- package/scss/vendor/@carbon/import-once/import-once.scss +27 -0
- package/scss/vendor/@carbon/import-once/index.scss +8 -0
- package/scss/vendor/@carbon/layout/_breakpoint.scss +237 -0
- package/scss/vendor/@carbon/layout/_convert.scss +30 -0
- package/scss/vendor/@carbon/layout/_key-height.scss +97 -0
- package/scss/vendor/@carbon/layout/_mini-unit.scss +23 -0
- package/scss/vendor/@carbon/layout/_spacing.scss +328 -0
- package/scss/vendor/@carbon/layout/_utilities.scss +41 -0
- package/scss/vendor/@carbon/layout/index.scss +8 -0
- package/scss/vendor/@carbon/layout/layout.scss +12 -0
- package/src/__tests__/__snapshots__/styles-test.js.snap +96 -0
- package/src/__tests__/exports-test.js +43 -37
- package/src/styles.js +22 -0
- package/umd/index.js +28 -0
package/umd/index.js
CHANGED
|
@@ -363,12 +363,14 @@
|
|
|
363
363
|
lineHeight: layout.rem(18),
|
|
364
364
|
letterSpacing: layout.px(0.16)
|
|
365
365
|
};
|
|
366
|
+
var productiveHeading01 = heading01;
|
|
366
367
|
var heading02 = {
|
|
367
368
|
fontSize: layout.rem(scale[2]),
|
|
368
369
|
fontWeight: fontWeights.semibold,
|
|
369
370
|
lineHeight: layout.rem(22),
|
|
370
371
|
letterSpacing: 0
|
|
371
372
|
};
|
|
373
|
+
var productiveHeading02 = heading02;
|
|
372
374
|
var productiveHeading03 = {
|
|
373
375
|
fontSize: layout.rem(scale[4]),
|
|
374
376
|
fontWeight: fontWeights.regular,
|
|
@@ -387,6 +389,20 @@
|
|
|
387
389
|
lineHeight: layout.rem(40),
|
|
388
390
|
letterSpacing: 0
|
|
389
391
|
};
|
|
392
|
+
var productiveHeading06 = {
|
|
393
|
+
fontSize: layout.rem(scale[9]),
|
|
394
|
+
fontWeight: fontWeights.light,
|
|
395
|
+
lineHeight: layout.rem(50),
|
|
396
|
+
letterSpacing: 0
|
|
397
|
+
};
|
|
398
|
+
var productiveHeading07 = {
|
|
399
|
+
fontSize: layout.rem(scale[11]),
|
|
400
|
+
fontWeight: fontWeights.light,
|
|
401
|
+
lineHeight: layout.rem(64),
|
|
402
|
+
letterSpacing: 0
|
|
403
|
+
};
|
|
404
|
+
var expressiveHeading01 = heading01;
|
|
405
|
+
var expressiveHeading02 = heading02;
|
|
390
406
|
var expressiveHeading03 = fluid({
|
|
391
407
|
fontSize: layout.rem(scale[4]),
|
|
392
408
|
fontWeight: fontWeights.regular,
|
|
@@ -658,10 +674,16 @@
|
|
|
658
674
|
code01: code01,
|
|
659
675
|
code02: code02,
|
|
660
676
|
heading01: heading01,
|
|
677
|
+
productiveHeading01: productiveHeading01,
|
|
661
678
|
heading02: heading02,
|
|
679
|
+
productiveHeading02: productiveHeading02,
|
|
662
680
|
productiveHeading03: productiveHeading03,
|
|
663
681
|
productiveHeading04: productiveHeading04,
|
|
664
682
|
productiveHeading05: productiveHeading05,
|
|
683
|
+
productiveHeading06: productiveHeading06,
|
|
684
|
+
productiveHeading07: productiveHeading07,
|
|
685
|
+
expressiveHeading01: expressiveHeading01,
|
|
686
|
+
expressiveHeading02: expressiveHeading02,
|
|
665
687
|
expressiveHeading03: expressiveHeading03,
|
|
666
688
|
expressiveHeading04: expressiveHeading04,
|
|
667
689
|
expressiveHeading05: expressiveHeading05,
|
|
@@ -701,10 +723,16 @@
|
|
|
701
723
|
exports.code01 = code01;
|
|
702
724
|
exports.code02 = code02;
|
|
703
725
|
exports.heading01 = heading01;
|
|
726
|
+
exports.productiveHeading01 = productiveHeading01;
|
|
704
727
|
exports.heading02 = heading02;
|
|
728
|
+
exports.productiveHeading02 = productiveHeading02;
|
|
705
729
|
exports.productiveHeading03 = productiveHeading03;
|
|
706
730
|
exports.productiveHeading04 = productiveHeading04;
|
|
707
731
|
exports.productiveHeading05 = productiveHeading05;
|
|
732
|
+
exports.productiveHeading06 = productiveHeading06;
|
|
733
|
+
exports.productiveHeading07 = productiveHeading07;
|
|
734
|
+
exports.expressiveHeading01 = expressiveHeading01;
|
|
735
|
+
exports.expressiveHeading02 = expressiveHeading02;
|
|
708
736
|
exports.expressiveHeading03 = expressiveHeading03;
|
|
709
737
|
exports.expressiveHeading04 = expressiveHeading04;
|
|
710
738
|
exports.expressiveHeading05 = expressiveHeading05;
|