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 0.1.0 to 0.1.1

12

CHANGELOG.md

@@ -6,2 +6,14 @@ # Change Log

## [0.1.1](https://github.com/ltht-epr/ltht-react/compare/@ltht-react/summary@0.0.24...@ltht-react/summary@0.1.1) (2021-01-22)
### Reverts
* Revert "refactor components and fix styles" ([b0c5fd8](https://github.com/ltht-epr/ltht-react/commit/b0c5fd89836aa7c47afe96aeccefd955a06dd50b))
* Revert "Publish" ([833cdd7](https://github.com/ltht-epr/ltht-react/commit/833cdd729f74c9fee22fa55530a6ec5552f438ea))
## [0.0.22](https://github.com/ltht-epr/ltht-react/compare/@ltht-react/summary@0.0.21...@ltht-react/summary@0.0.22) (2020-09-10)

@@ -8,0 +20,0 @@

1

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

@@ -6,2 +6,3 @@ /** @jsx jsx */

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

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

@@ -18,3 +18,8 @@ "use strict";

var MissingDataSummary = function (_a) {
var noData = _a.noData, partialData = _a.partialData, allData = _a.allData;
var missingData = _a.missingData, noData = _a.noData, partialData = _a.partialData, allData = _a.allData;
var missingDataSection = missingData != null ? (core_1.jsx(react_1.default.Fragment, null,
core_1.jsx(banner_1.WarningBanner, null,
core_1.jsx(icon_1.CounterIcon, { size: "large", status: "amber", value: missingData.length }),
core_1.jsx("div", { css: styles }, "Missing Data")),
missingData.map(function (data) { return (core_1.jsx(list_1.ListItem, null, data)); }))) : (core_1.jsx(react_1.default.Fragment, null));
var noDataSection = noData != null ? (core_1.jsx(react_1.default.Fragment, null,

@@ -36,2 +41,3 @@ core_1.jsx(banner_1.WarningBanner, null,

return (core_1.jsx(react_1.default.Fragment, null,
missingDataSection,
noDataSection,

@@ -38,0 +44,0 @@ partialDataSection,

4

lib/organisms/missing-data-warning.js

@@ -20,5 +20,5 @@ "use strict";

return (core_1.jsx(banner_1.WarningBanner, { clickHandler: handleClick },
core_1.jsx(icon_1.ExclamationIcon, { size: "large", status: "amber" }),
core_1.jsx(icon_1.ExclamationIcon, { size: "medium", status: "amber" }),
core_1.jsx("div", { css: styles }, "Missing Data"),
core_1.jsx(icon_1.ChevronIcon, { size: "large", direction: "right" })));
core_1.jsx(icon_1.ChevronIcon, { size: "medium", direction: "right" })));
};

@@ -25,0 +25,0 @@ exports.default = MissingDataWarning;

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

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

"@emotion/styled": "^10.0.27",
"@ltht-react/banner": "^0.1.0",
"@ltht-react/icon": "^0.2.0",
"@ltht-react/list": "^0.2.0",
"@ltht-react/styles": "^0.2.0",
"@ltht-react/types": "^0.1.0",
"@ltht-react/utils": "^0.2.0",
"@ltht-react/banner": "^0.1.1",
"@ltht-react/icon": "^0.2.1",
"@ltht-react/list": "^0.2.1",
"@ltht-react/styles": "^0.2.1",
"@ltht-react/types": "^0.1.1",
"@ltht-react/utils": "^0.2.1",
"emotion": "^10.0.27",
"react": "^16.12.0"
},
"gitHead": "130d29ad7089f9d9f0f48cdfa217205a2a1b9c0d"
"gitHead": "8ed606fa5eb29a987434481dce1c2fed87966fc7"
}

Sorry, the diff of this file is not supported yet

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