kui-crm_actions 0.0.82 → 0.0.83
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 +1 -1
- package/cjs/index.js.map +1 -1
- package/index.js +1 -1
- package/index.js.map +1 -1
- package/package.json +1 -1
package/cjs/index.js
CHANGED
@@ -992,7 +992,7 @@ var templateObject_1$6;
|
|
992
992
|
|
993
993
|
var FillingCardContent = function (props) {
|
994
994
|
var filling = props.filling, warningLabel = props.warningLabel;
|
995
|
-
return (jsxRuntime.jsxs(kuiBasic.Grid, __assign({ container: true, alignItems: "center" }, { children: [
|
995
|
+
return (jsxRuntime.jsxs(kuiBasic.Grid, __assign({ container: true, alignItems: "center" }, { children: [filling.wasMissing && (jsxRuntime.jsx(kuiCrm.Tooltip, __assign({ content: jsxRuntime.jsx(kuiBasic.Caption, __assign({ size: "xs" }, { children: warningLabel })) }, { children: jsxRuntime.jsx(StyledWarningIcon, { width: 17, height: 17 }) }))), jsxRuntime.jsxs(StyledLabelWrapper, { children: [jsxRuntime.jsx(kuiBasic.Caption, __assign({ size: "s" }, { children: filling.name })), jsxRuntime.jsxs(StyledSubtitle, __assign({ size: "xs", color: "fiftyP" }, { children: [filling.numberOfSubjects ? "".concat(filling.numberOfSubjects, " pieces") : "", filling.numberOfSubjects && filling.serialNumber ? " \u2022 " : "", filling.serialNumber] }))] })] })));
|
996
996
|
};
|
997
997
|
var StyledWarningIcon = styled__default["default"](kuiIcon.WarningIcon)(templateObject_1$5 || (templateObject_1$5 = __makeTemplateObject(["\n margin-left: 4px;\n path {\n fill: ", ";\n }\n"], ["\n margin-left: 4px;\n path {\n fill: ", ";\n }\n"])), kuiBasic.theme.palette.red.fiftyP);
|
998
998
|
var StyledLabelWrapper = styled__default["default"].div(templateObject_2$4 || (templateObject_2$4 = __makeTemplateObject(["\n margin-left: 8px;\n"], ["\n margin-left: 8px;\n"])));
|