kui-crm 0.0.186 → 0.0.187

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/cjs/index.js CHANGED
@@ -3667,8 +3667,8 @@ var StyledLink$1 = styled__default["default"].a(templateObject_1$e || (templateO
3667
3667
  var templateObject_1$e;
3668
3668
 
3669
3669
  function PreviewContent(_a) {
3670
- var imageSrc = _a.imageSrc, description = _a.description, content = _a.content, label = _a.label, other = __rest(_a, ["imageSrc", "description", "content", "label"]);
3671
- return (jsxRuntime.jsxs(kuiBasic.Grid, __assign({ container: true, alignItems: "center", wrap: "nowrap" }, other, { children: [jsxRuntime.jsx(StyledImage$2, { size: "sm", imageSrc: imageSrc, name: description }), jsxRuntime.jsxs(StyledContent, { children: [content || (jsxRuntime.jsx(StyledCaption$2, __assign({ size: "s", weight: 500 }, { children: description }))), label] })] })));
3670
+ var imageSrc = _a.imageSrc, description = _a.description, content = _a.content, label = _a.label, withoutImage = _a.withoutImage, other = __rest(_a, ["imageSrc", "description", "content", "label", "withoutImage"]);
3671
+ return (jsxRuntime.jsxs(kuiBasic.Grid, __assign({ container: true, alignItems: "center", wrap: "nowrap" }, other, { children: [!withoutImage && (jsxRuntime.jsx(StyledImage$2, { size: "sm", imageSrc: imageSrc, name: description })), jsxRuntime.jsxs(StyledContent, { children: [content || (jsxRuntime.jsx(StyledCaption$2, __assign({ size: "s", weight: 500 }, { children: description }))), label] })] })));
3672
3672
  }
3673
3673
  var StyledImage$2 = styled__default["default"](SquarePreviewImage)(templateObject_1$d || (templateObject_1$d = __makeTemplateObject(["\n margin-right: 10px;\n"], ["\n margin-right: 10px;\n"])));
3674
3674
  var StyledCaption$2 = styled__default["default"](kuiBasic.Caption)(templateObject_2$8 || (templateObject_2$8 = __makeTemplateObject(["\n max-width: 100%;\n"], ["\n max-width: 100%;\n"])));