oolib 2.199.5 → 2.199.7

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.
@@ -69,6 +69,10 @@ var CardContent = function (_a) {
69
69
  react_1.default.createElement(LineClampWrapper_1.LineClampWrapper, { title: title, noOfLines_M: 6 },
70
70
  react_1.default.createElement(styled_1.StyledTitle, { capitalize: true, className: "StyledTitle" }, localize(title))))) : null,
71
71
  description ? (react_1.default.createElement(styled_2.StyledDescription, null,
72
- react_1.default.createElement(LineClampWrapper_1.LineClampWrapper, { title: description, noOfLines_M: 6 }, description))) : null))));
72
+ react_1.default.createElement(LineClampWrapper_1.LineClampWrapper, { title: description, noOfLines_M: 6 }, description))) : null),
73
+ react_1.default.createElement("div", null, (metaBlock === null || metaBlock === void 0 ? void 0 : metaBlock.length) > 0 ? (
74
+ //show only two meta for cardContent
75
+ react_1.default.createElement(styled_2.StyledMetaBlockWrapper, null,
76
+ react_1.default.createElement(MetaBlock_1.default, { data: data, config: metaBlock }))) : null))));
73
77
  };
74
78
  exports.CardContent = CardContent;
@@ -81,5 +81,5 @@ exports.StyledStarWrapper = styled_components_1.default.div(templateObject_8 ||
81
81
  var highlight = _a.highlight;
82
82
  return highlight === "secondary" ? yellow : highlight === "primary" ? green : white;
83
83
  });
84
- exports.StyledMetaBlockWrapper = styled_components_1.default.div(templateObject_9 || (templateObject_9 = __makeTemplateObject(["\n color: ", ";\n font-family: ", ";\n padding-top: 0.2rem;\n"], ["\n color: ", ";\n font-family: ", ";\n padding-top: 0.2rem;\n"])), grey50, Typo2_1.UI_CAPTION);
84
+ exports.StyledMetaBlockWrapper = styled_components_1.default.div(templateObject_9 || (templateObject_9 = __makeTemplateObject(["\n color: ", ";\n padding-top: 0.2rem;\n"], ["\n color: ", ";\n padding-top: 0.2rem;\n"])), grey50);
85
85
  var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7, templateObject_8, templateObject_9;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oolib",
3
- "version": "2.199.5",
3
+ "version": "2.199.7",
4
4
  "description": " OKE Component Library",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",