@arconnect/components
Advanced tools
Comparing version 0.1.15 to 0.1.16
@@ -57,3 +57,3 @@ "use strict"; | ||
exports.Text = Text; | ||
var TextElement = styled_components_1.default.p(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n font-size: ", ";\n color: rgb(", ");\n font-weight: ", ";\n margin-top: 0;\n margin-bottom: ", ";\n"], ["\n font-size: ", ";\n color: rgb(", ");\n font-weight: ", ";\n margin-top: 0;\n margin-bottom: ", ";\n"])), function (props) { return sizes[props.size]; }, function (props) { return props.size === "p" ? props.theme.secondaryText : props.theme.primaryText; }, function (props) { return props.size === "p" ? "500" : "700"; }, function (props) { return props.noMargin ? "0" : "1em"; }); | ||
var TextElement = styled_components_1.default.p(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n font-size: ", ";\n color: rgb(", ");\n font-weight: ", ";\n margin-top: 0;\n margin-bottom: ", ";\n"], ["\n font-size: ", ";\n color: rgb(", ");\n font-weight: ", ";\n margin-top: 0;\n margin-bottom: ", ";\n"])), function (props) { return sizes[props.size]; }, function (props) { return props.size === "p" ? props.theme.secondaryText : props.theme.primaryText; }, function (props) { return props.size === "p" ? "500" : (props.size === "h1" ? "700" : "600"); }, function (props) { return props.noMargin ? "0" : "1em"; }); | ||
var templateObject_1; |
@@ -50,3 +50,3 @@ var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) { | ||
} | ||
var TextElement = styled.p(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n font-size: ", ";\n color: rgb(", ");\n font-weight: ", ";\n margin-top: 0;\n margin-bottom: ", ";\n"], ["\n font-size: ", ";\n color: rgb(", ");\n font-weight: ", ";\n margin-top: 0;\n margin-bottom: ", ";\n"])), function (props) { return sizes[props.size]; }, function (props) { return props.size === "p" ? props.theme.secondaryText : props.theme.primaryText; }, function (props) { return props.size === "p" ? "500" : "700"; }, function (props) { return props.noMargin ? "0" : "1em"; }); | ||
var TextElement = styled.p(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n font-size: ", ";\n color: rgb(", ");\n font-weight: ", ";\n margin-top: 0;\n margin-bottom: ", ";\n"], ["\n font-size: ", ";\n color: rgb(", ");\n font-weight: ", ";\n margin-top: 0;\n margin-bottom: ", ";\n"])), function (props) { return sizes[props.size]; }, function (props) { return props.size === "p" ? props.theme.secondaryText : props.theme.primaryText; }, function (props) { return props.size === "p" ? "500" : (props.size === "h1" ? "700" : "600"); }, function (props) { return props.noMargin ? "0" : "1em"; }); | ||
var templateObject_1; |
{ | ||
"name": "@arconnect/components", | ||
"version": "0.1.15", | ||
"version": "0.1.16", | ||
"private": false, | ||
@@ -5,0 +5,0 @@ "publishConfig": { |
168231
2985