travelcircus-styleguide 2.1.0 → 2.1.1
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.
|
@@ -95,10 +95,6 @@ var textTransform = (0, _styledSystem.style)({
|
|
|
95
95
|
prop: 'textTransform',
|
|
96
96
|
cssProperty: 'text-transform'
|
|
97
97
|
});
|
|
98
|
-
var fontWeight = (0, _styledSystem.style)({
|
|
99
|
-
prop: 'fontWeight',
|
|
100
|
-
cssProperty: 'font-weight'
|
|
101
|
-
});
|
|
102
98
|
|
|
103
99
|
var italic = function italic(props) {
|
|
104
100
|
return props.italic ? {
|
|
@@ -165,7 +161,7 @@ var semiBoldItalic = function semiBoldItalic(props) {
|
|
|
165
161
|
} : null;
|
|
166
162
|
};
|
|
167
163
|
|
|
168
|
-
var styledText = (0, _styledComponents.css)(_templateObject2(), italic, bold, semiBold, boldItalic, semiBoldItalic, light, _styledSystem.fontSize, caps, lower, _styledSystem.fontFamily, _styledSystem.fontStyle, _styledSystem.letterSpacing, _styledSystem.lineHeight, inheritHoverColor, truncate, whiteSpace, textDecoration, textTransform, fontWeight);
|
|
164
|
+
var styledText = (0, _styledComponents.css)(_templateObject2(), italic, bold, semiBold, boldItalic, semiBoldItalic, light, _styledSystem.fontSize, caps, lower, _styledSystem.fontFamily, _styledSystem.fontStyle, _styledSystem.letterSpacing, _styledSystem.lineHeight, inheritHoverColor, truncate, whiteSpace, textDecoration, textTransform, _styledSystem.fontWeight);
|
|
169
165
|
var Text = (0, _styledComponents.default)(_Box.default).attrs(function (props) {
|
|
170
166
|
return {
|
|
171
167
|
as: props.as ? props.as : _Box.default.target
|