New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@ltht-react/type-summary

Package Overview
Dependencies
Maintainers
13
Versions
304
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ltht-react/type-summary - npm Package Compare versions

Comparing version 1.3.231 to 1.3.232

0

lib/atoms/date-summary.d.ts

@@ -0,0 +0,0 @@ import { HTMLAttributes, FC } from 'react';

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ export { default as PeriodSummary } from './period-summary';

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import { FC } from 'react';

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import { HTMLAttributes, FC } from 'react';

@@ -0,0 +0,0 @@ "use strict";

import { HTMLAttributes, FC } from 'react';
declare const RedactedDescription: FC<HTMLAttributes<HTMLDivElement>>;
export default RedactedDescription;

@@ -0,0 +0,0 @@ "use strict";

export * from './atoms';
export * from './organisms';

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import { FC } from 'react';

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ export { default as MissingDataSummary } from './missing-data-summary';

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import { FC } from 'react';

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import { FC } from 'react';

10

lib/organisms/missing-data-summary.js

@@ -19,12 +19,12 @@ "use strict";

var card_1 = __importDefault(require("@ltht-react/card"));
var icon_1 = require("@ltht-react/icon");
var icon_1 = __importDefault(require("@ltht-react/icon"));
var MissingDataSummary = function (_a) {
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.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),
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.default, { type: "counter", size: "large", color: "amber", counterValue: 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.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),
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.default, { type: "counter", size: "large", color: "amber", counterValue: 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.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),
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.default, { type: "counter", size: "large", color: "info-blue", counterValue: 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.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),
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.default, { type: "counter", size: "large", color: "info-blue", counterValue: 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));

@@ -0,0 +0,0 @@ import { FC } from 'react';

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import { FC } from 'react';

@@ -0,0 +0,0 @@ "use strict";

{
"name": "@ltht-react/type-summary",
"version": "1.3.231",
"version": "1.3.232",
"description": "ltht-react clinical Summary component.",

@@ -30,11 +30,11 @@ "author": "LTHT",

"@emotion/styled": "^11.0.0",
"@ltht-react/card": "^1.3.231",
"@ltht-react/icon": "^1.3.231",
"@ltht-react/list": "^1.3.229",
"@ltht-react/styles": "^1.3.223",
"@ltht-react/types": "^1.0.227",
"@ltht-react/utils": "^1.1.229",
"@ltht-react/card": "^1.3.232",
"@ltht-react/icon": "^1.3.232",
"@ltht-react/list": "^1.3.230",
"@ltht-react/styles": "^1.3.224",
"@ltht-react/types": "^1.0.228",
"@ltht-react/utils": "^1.1.230",
"react": "^17.0.0"
},
"gitHead": "4da792f7d14cfffb94006643bfab6a09fba75d04"
"gitHead": "509a9a4f06eabf917b4839cd7e9cee75fb97f38e"
}

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc