@ltht-react/summary
Advanced tools
Comparing version 1.3.25 to 1.3.29
@@ -6,2 +6,34 @@ # Change Log | ||
## 1.3.29 (2021-11-24) | ||
**Note:** Version bump only for package @ltht-react/summary | ||
## 1.3.28 (2021-11-24) | ||
**Note:** Version bump only for package @ltht-react/summary | ||
## 1.3.27 (2021-11-24) | ||
**Note:** Version bump only for package @ltht-react/summary | ||
## 1.3.26 (2021-11-23) | ||
**Note:** Version bump only for package @ltht-react/summary | ||
## 1.3.25 (2021-10-22) | ||
@@ -8,0 +40,0 @@ |
@@ -19,3 +19,2 @@ "use strict"; | ||
var card_1 = __importDefault(require("@ltht-react/card")); | ||
var icon_1 = require("@ltht-react/icon"); | ||
var ErrorSummary = function (_a) { | ||
@@ -28,5 +27,5 @@ var clickHandler = _a.clickHandler; | ||
var errorSummaryProps = __assign({}, (clickHandler && { onClick: handleClick })); | ||
return (jsx_runtime_1.jsxs(card_1.default.Banner, __assign({ status: "danger" }, errorSummaryProps, { children: [jsx_runtime_1.jsx(icon_1.ExclamationIcon, { size: "medium", status: "default" }, void 0), " Regional Providers Unavailable"] }), void 0)); | ||
return (jsx_runtime_1.jsx(card_1.default.Banner, __assign({ status: "danger" }, errorSummaryProps, { children: "Regional Providers Unavailable" }), void 0)); | ||
}; | ||
exports.default = ErrorSummary; | ||
//# sourceMappingURL=error-summary.js.map |
@@ -19,3 +19,2 @@ "use strict"; | ||
var card_1 = __importDefault(require("@ltht-react/card")); | ||
var icon_1 = require("@ltht-react/icon"); | ||
var InfoSummary = function (_a) { | ||
@@ -28,5 +27,5 @@ var clickHandler = _a.clickHandler; | ||
var infoSummaryProps = __assign({}, (clickHandler && { onClick: handleClick })); | ||
return (jsx_runtime_1.jsxs(card_1.default.Banner, __assign({ status: "info" }, infoSummaryProps, { children: [jsx_runtime_1.jsx(icon_1.InfoCircleIcon, { size: "medium", status: "info" }, void 0), " View Data Sources"] }), void 0)); | ||
return (jsx_runtime_1.jsx(card_1.default.Banner, __assign({ status: "info" }, infoSummaryProps, { children: "View Data Sources" }), void 0)); | ||
}; | ||
exports.default = InfoSummary; | ||
//# sourceMappingURL=info-summary.js.map |
@@ -22,9 +22,9 @@ "use strict"; | ||
var type = _a.type, noData = _a.noData, partialData = _a.partialData, completeData = _a.completeData, missingData = _a.missingData; | ||
var missingDataSection = missingData != null && missingData.length > 0 ? (jsx_runtime_1.jsxs(jsx_runtime_1.Fragment, { children: [jsx_runtime_1.jsxs(card_1.default.Banner, __assign({ "data-testid": "missing-data-count", status: "warning" }, { children: [jsx_runtime_1.jsx(icon_1.CounterIcon, { size: "large", status: "amber", value: missingData.length }, void 0), " Missing Data"] }), void 0), | ||
var missingDataSection = missingData != null && missingData.length > 0 ? (jsx_runtime_1.jsxs(jsx_runtime_1.Fragment, { children: [jsx_runtime_1.jsx(card_1.default.Banner, __assign({ "data-testid": "missing-data-count", status: "warning", icon: jsx_runtime_1.jsx(icon_1.CounterIcon, { size: "large", status: "amber", value: missingData.length }, void 0) }, { children: "Missing Data" }), void 0), | ||
jsx_runtime_1.jsx(card_1.default.List, __assign({ "data-testid": "missing-data-list" }, { children: missingData.map(function (data, index) { return (jsx_runtime_1.jsx(card_1.default.ListItem, { children: data }, type + "-missing-data-" + index)); }) }), void 0)] }, void 0)) : (jsx_runtime_1.jsx(jsx_runtime_1.Fragment, {}, void 0)); | ||
var partialDataSection = partialData != null && partialData.length > 0 ? (jsx_runtime_1.jsxs(jsx_runtime_1.Fragment, { children: [jsx_runtime_1.jsxs(card_1.default.Banner, __assign({ "data-testid": "partial-data-count", status: "warning" }, { children: [jsx_runtime_1.jsx(icon_1.CounterIcon, { size: "large", status: "amber", value: partialData.length }, void 0), " Partial Data"] }), void 0), | ||
var partialDataSection = partialData != null && partialData.length > 0 ? (jsx_runtime_1.jsxs(jsx_runtime_1.Fragment, { children: [jsx_runtime_1.jsx(card_1.default.Banner, __assign({ "data-testid": "partial-data-count", status: "warning", icon: jsx_runtime_1.jsx(icon_1.CounterIcon, { size: "large", status: "amber", value: partialData.length }, void 0) }, { children: "Partial Data" }), void 0), | ||
jsx_runtime_1.jsx(card_1.default.List, __assign({ "data-testid": "partial-data-list" }, { children: partialData.map(function (data, index) { return (jsx_runtime_1.jsx(card_1.default.ListItem, { children: data }, type + "-partial-data-" + index)); }) }), void 0)] }, void 0)) : (jsx_runtime_1.jsx(jsx_runtime_1.Fragment, {}, void 0)); | ||
var completeDataSection = completeData != null && completeData.length > 0 ? (jsx_runtime_1.jsxs(jsx_runtime_1.Fragment, { children: [jsx_runtime_1.jsxs(card_1.default.Banner, __assign({ "data-testid": "complete-data-count", status: "info" }, { children: [jsx_runtime_1.jsx(icon_1.CounterIcon, { size: "large", status: "info", value: completeData.length }, void 0), " Complete Data"] }), void 0), | ||
var completeDataSection = completeData != null && completeData.length > 0 ? (jsx_runtime_1.jsxs(jsx_runtime_1.Fragment, { children: [jsx_runtime_1.jsx(card_1.default.Banner, __assign({ "data-testid": "complete-data-count", status: "info", icon: jsx_runtime_1.jsx(icon_1.CounterIcon, { size: "large", status: "info", value: completeData.length }, void 0) }, { children: "Complete Data" }), void 0), | ||
jsx_runtime_1.jsx(card_1.default.List, __assign({ "data-testid": "complete-data-list" }, { children: completeData.map(function (data, index) { return (jsx_runtime_1.jsx(card_1.default.ListItem, { children: data }, type + "-complete-data-" + index)); }) }), void 0)] }, void 0)) : (jsx_runtime_1.jsx(jsx_runtime_1.Fragment, {}, void 0)); | ||
var noDataSection = noData != null && noData.length > 0 ? (jsx_runtime_1.jsxs(jsx_runtime_1.Fragment, { children: [jsx_runtime_1.jsxs(card_1.default.Banner, __assign({ "data-testid": "no-data-count", status: "info" }, { children: [jsx_runtime_1.jsx(icon_1.CounterIcon, { size: "large", status: "info", value: noData.length }, void 0), " No Data"] }), void 0), | ||
var noDataSection = noData != null && noData.length > 0 ? (jsx_runtime_1.jsxs(jsx_runtime_1.Fragment, { children: [jsx_runtime_1.jsx(card_1.default.Banner, __assign({ "data-testid": "no-data-count", status: "info", icon: jsx_runtime_1.jsx(icon_1.CounterIcon, { size: "large", status: "info", value: noData.length }, void 0) }, { children: "No Data" }), void 0), | ||
jsx_runtime_1.jsx(card_1.default.List, __assign({ "data-testid": "no-data-list" }, { children: noData.map(function (data, index) { return (jsx_runtime_1.jsx(card_1.default.ListItem, { children: data }, type + "-no-data-" + index)); }) }), void 0)] }, void 0)) : (jsx_runtime_1.jsx(jsx_runtime_1.Fragment, {}, void 0)); | ||
@@ -31,0 +31,0 @@ return (jsx_runtime_1.jsxs(jsx_runtime_1.Fragment, { children: [missingDataSection, partialDataSection, completeDataSection, noDataSection] }, void 0)); |
@@ -19,3 +19,2 @@ "use strict"; | ||
var card_1 = __importDefault(require("@ltht-react/card")); | ||
var icon_1 = require("@ltht-react/icon"); | ||
var MissingDataWarning = function (_a) { | ||
@@ -28,5 +27,5 @@ var clickHandler = _a.clickHandler; | ||
var missingDataWarningProps = __assign({}, (clickHandler && { onClick: handleClick })); | ||
return (jsx_runtime_1.jsxs(card_1.default.Banner, __assign({ status: "warning" }, missingDataWarningProps, { children: [jsx_runtime_1.jsx(icon_1.ExclamationIcon, { size: "medium", status: "amber" }, void 0), " Missing Data"] }), void 0)); | ||
return (jsx_runtime_1.jsx(card_1.default.Banner, __assign({ status: "warning" }, missingDataWarningProps, { children: "Missing Data" }), void 0)); | ||
}; | ||
exports.default = MissingDataWarning; | ||
//# sourceMappingURL=missing-data-warning.js.map |
@@ -19,3 +19,2 @@ "use strict"; | ||
var card_1 = __importDefault(require("@ltht-react/card")); | ||
var icon_1 = require("@ltht-react/icon"); | ||
var WarningSummary = function (_a) { | ||
@@ -28,5 +27,5 @@ var clickHandler = _a.clickHandler; | ||
var warningSummaryProps = __assign({}, (clickHandler && { onClick: handleClick })); | ||
return (jsx_runtime_1.jsxs(card_1.default.Banner, __assign({ status: "warning" }, warningSummaryProps, { children: [jsx_runtime_1.jsx(icon_1.ExclamationIcon, { size: "medium", status: "default" }, void 0), " Incomplete Data"] }), void 0)); | ||
return (jsx_runtime_1.jsx(card_1.default.Banner, __assign({ status: "warning" }, warningSummaryProps, { children: "Incomplete Data" }), void 0)); | ||
}; | ||
exports.default = WarningSummary; | ||
//# sourceMappingURL=warning-summary.js.map |
{ | ||
"name": "@ltht-react/summary", | ||
"version": "1.3.25", | ||
"version": "1.3.29", | ||
"description": "ltht-react clinical Summary component.", | ||
@@ -30,11 +30,11 @@ "author": "LTHT", | ||
"@emotion/styled": "^11.0.0", | ||
"@ltht-react/card": "^1.3.25", | ||
"@ltht-react/icon": "^1.3.25", | ||
"@ltht-react/list": "^1.3.23", | ||
"@ltht-react/styles": "^1.3.17", | ||
"@ltht-react/types": "^1.0.21", | ||
"@ltht-react/utils": "^1.1.23", | ||
"@ltht-react/card": "^1.3.29", | ||
"@ltht-react/icon": "^1.3.29", | ||
"@ltht-react/list": "^1.3.27", | ||
"@ltht-react/styles": "^1.3.21", | ||
"@ltht-react/types": "^1.0.25", | ||
"@ltht-react/utils": "^1.1.27", | ||
"react": "^17.0.0" | ||
}, | ||
"gitHead": "79f54bbaa1e3fe35ac0c3381cafe7c74dcdf72e5" | ||
"gitHead": "f049286d4c7f2ec9943bbf8c2bf380aa264b5d8d" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
36433
381
Updated@ltht-react/card@^1.3.29
Updated@ltht-react/icon@^1.3.29
Updated@ltht-react/list@^1.3.27
Updated@ltht-react/styles@^1.3.21
Updated@ltht-react/types@^1.0.25
Updated@ltht-react/utils@^1.1.27