@superdispatch/ui-lab 0.28.0 → 0.29.3
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/dist-node/index.js
CHANGED
|
@@ -665,6 +665,7 @@ var normalizeTextColor = /*#__PURE__*/createRuleNormalizer({
|
|
|
665
665
|
inherit: 'inherit',
|
|
666
666
|
primary: ui.Color.Dark500,
|
|
667
667
|
secondary: ui.Color.Dark300,
|
|
668
|
+
'light-gray': ui.Color.Dark100,
|
|
668
669
|
white: ui.Color.White,
|
|
669
670
|
blue: ui.Color.Blue500,
|
|
670
671
|
green: ui.Color.Green500,
|
|
@@ -683,7 +684,8 @@ var VARIANT_TYPE_MAPPING = {
|
|
|
683
684
|
body: 'span',
|
|
684
685
|
'body-block': 'p',
|
|
685
686
|
'body-semibold': 'span',
|
|
686
|
-
caption: 'span'
|
|
687
|
+
caption: 'span',
|
|
688
|
+
hint: 'span'
|
|
687
689
|
};
|
|
688
690
|
function variantMixin(_ref, variant) {
|
|
689
691
|
var {
|
|
@@ -719,6 +721,11 @@ function variantMixin(_ref, variant) {
|
|
|
719
721
|
return typography.body1;
|
|
720
722
|
case 'caption':
|
|
721
723
|
return typography.caption;
|
|
724
|
+
case 'hint':
|
|
725
|
+
return mergeStyles({}, typography.caption, {
|
|
726
|
+
lineHeight: '20px',
|
|
727
|
+
fontSize: '13px'
|
|
728
|
+
});
|
|
722
729
|
}
|
|
723
730
|
}
|
|
724
731
|
function textBoxMixin(noWrap, align, color, display, wrapOverflow) {
|