oolib 2.30.5 → 2.31.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.
|
@@ -46,7 +46,7 @@ function TagDisplay(_a) {
|
|
|
46
46
|
var size = M ? 'M' : XS ? 'XS' : 'S';
|
|
47
47
|
var TYPO_COMP = getTypoComp(size);
|
|
48
48
|
return (react_1.default.createElement(index_styled_1.StyledTagDisplay, { variant: variant, invert: invert, textColor: textColor, tagColor: tagColor, size: size, style: style },
|
|
49
|
-
react_1.default.createElement(TYPO_COMP, { semibold: true }, display)));
|
|
49
|
+
react_1.default.createElement(TYPO_COMP, { semibold: size === "XS" ? false : true }, display)));
|
|
50
50
|
}
|
|
51
51
|
exports.TagDisplay = TagDisplay;
|
|
52
52
|
function TagClear(_a) {
|
|
@@ -71,7 +71,7 @@ var StyledTagDisplay = styled_components_1.default.div(templateObject_7 || (temp
|
|
|
71
71
|
: !invert
|
|
72
72
|
? greyColor15
|
|
73
73
|
: greyColor80, textColor ? textColor : !invert ? greyColor80 : greyColor40) : //secondary
|
|
74
|
-
(0, styled_components_1.css)(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n background: none;\n border: ", " solid\n ", ";\n color: ", ";\n "], ["\n background: none;\n border: ", " solid\n ", ";\n color: ", ";\n "])), size === "XS" ? "1px" : "2px", tagColor ? tagColor : !invert ? greyColor15 : greyColor80, textColor ? textColor : !invert ? greyColor80 : greyColor15);
|
|
74
|
+
(0, styled_components_1.css)(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n background: none;\n /* border: ", " solid */\n border: 2px solid\n ", ";\n color: ", ";\n "], ["\n background: none;\n /* border: ", " solid */\n border: 2px solid\n ", ";\n color: ", ";\n "])), size === "XS" ? "1px" : "2px", tagColor ? tagColor : !invert ? greyColor15 : greyColor80, textColor ? textColor : !invert ? greyColor80 : greyColor15);
|
|
75
75
|
});
|
|
76
76
|
exports.StyledTagDisplay = StyledTagDisplay;
|
|
77
77
|
var StyledTagClear = styled_components_1.default.div(templateObject_13 || (templateObject_13 = __makeTemplateObject(["\n\n \t", "\n\t//overrides of commonStyle\n\tpadding-right: 0;\n\tgap: 0.5rem;\n\t//--\n\n\t", "\n \n\t\n\t", "\n"], ["\n\n \t", "\n\t//overrides of commonStyle\n\tpadding-right: 0;\n\tgap: 0.5rem;\n\t//--\n\n\t", "\n \n\t\n\t", "\n"])), function (_a) {
|