Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@ltht-react/summary

Package Overview
Dependencies
Maintainers
6
Versions
63
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ltht-react/summary - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

1

lib/organisms/missing-data-summary.d.ts

@@ -5,2 +5,3 @@ import React from 'react';

interface Props {
type: string;
missingData?: Maybe<Array<string>>;

@@ -7,0 +8,0 @@ partialData?: Maybe<Array<string>>;

10

lib/organisms/missing-data-summary.js

@@ -10,3 +10,3 @@ "use strict";

var MissingDataSummary = function (_a) {
var noData = _a.noData, partialData = _a.partialData, completeData = _a.completeData, missingData = _a.missingData;
var type = _a.type, noData = _a.noData, partialData = _a.partialData, completeData = _a.completeData, missingData = _a.missingData;
var missingDataSection = missingData != null && missingData.length > 0 ? (react_1.default.createElement(react_1.default.Fragment, null,

@@ -16,3 +16,3 @@ react_1.default.createElement(card_1.default.Banner, { status: "warning" },

" Missing Data"),
react_1.default.createElement(card_1.default.List, null, missingData.map(function (data) { return (react_1.default.createElement(card_1.default.ListItem, null, data)); })))) : (react_1.default.createElement(react_1.default.Fragment, null));
react_1.default.createElement(card_1.default.List, null, missingData.map(function (data, index) { return (react_1.default.createElement(card_1.default.ListItem, { key: type + "-missing-data-" + index }, data)); })))) : (react_1.default.createElement(react_1.default.Fragment, null));
var partialDataSection = partialData != null && partialData.length > 0 ? (react_1.default.createElement(react_1.default.Fragment, null,

@@ -22,3 +22,3 @@ react_1.default.createElement(card_1.default.Banner, { status: "warning" },

" Partial Data"),
react_1.default.createElement(card_1.default.List, null, partialData.map(function (data) { return (react_1.default.createElement(card_1.default.ListItem, null, data)); })))) : (react_1.default.createElement(react_1.default.Fragment, null));
react_1.default.createElement(card_1.default.List, null, partialData.map(function (data, index) { return (react_1.default.createElement(card_1.default.ListItem, { key: type + "-partial-data-" + index }, data)); })))) : (react_1.default.createElement(react_1.default.Fragment, null));
var completeDataSection = completeData != null && completeData.length > 0 ? (react_1.default.createElement(react_1.default.Fragment, null,

@@ -28,3 +28,3 @@ react_1.default.createElement(card_1.default.Banner, { status: "info" },

" Complete Data"),
react_1.default.createElement(card_1.default.List, null, completeData.map(function (data) { return (react_1.default.createElement(card_1.default.ListItem, null, data)); })))) : (react_1.default.createElement(react_1.default.Fragment, null));
react_1.default.createElement(card_1.default.List, null, completeData.map(function (data, index) { return (react_1.default.createElement(card_1.default.ListItem, { key: type + "-complete-data-" + index }, data)); })))) : (react_1.default.createElement(react_1.default.Fragment, null));
var noDataSection = noData != null && noData.length > 0 ? (react_1.default.createElement(react_1.default.Fragment, null,

@@ -34,3 +34,3 @@ react_1.default.createElement(card_1.default.Banner, { status: "info" },

" No Data"),
react_1.default.createElement(card_1.default.List, null, noData.map(function (data) { return (react_1.default.createElement(card_1.default.ListItem, null, data)); })))) : (react_1.default.createElement(react_1.default.Fragment, null));
react_1.default.createElement(card_1.default.List, null, noData.map(function (data, index) { return (react_1.default.createElement(card_1.default.ListItem, { key: type + "-no-data-" + index }, data)); })))) : (react_1.default.createElement(react_1.default.Fragment, null));
return (react_1.default.createElement(react_1.default.Fragment, null,

@@ -37,0 +37,0 @@ missingDataSection,

{
"name": "@ltht-react/summary",
"version": "1.0.2",
"version": "1.0.3",
"description": "ltht-react clinical Summary component.",

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

"@emotion/styled": "^10.0.27",
"@ltht-react/card": "^1.0.2",
"@ltht-react/card": "^1.0.3",
"@ltht-react/icon": "^1.0.1",

@@ -40,3 +40,3 @@ "@ltht-react/list": "^1.0.1",

},
"gitHead": "eec6002f7fc3d696b1299fd3a98a857773429028"
"gitHead": "e7b99ce24b07bd9c0c58943499bc97feb6875435"
}

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