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

@ltht-react/detail

Package Overview
Dependencies
Maintainers
6
Versions
66
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ltht-react/detail - npm Package Compare versions

Comparing version 1.3.25 to 1.3.29

32

CHANGELOG.md

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

## 1.3.29 (2021-11-24)
**Note:** Version bump only for package @ltht-react/detail
## 1.3.28 (2021-11-24)
**Note:** Version bump only for package @ltht-react/detail
## 1.3.27 (2021-11-24)
**Note:** Version bump only for package @ltht-react/detail
## 1.3.26 (2021-11-23)
**Note:** Version bump only for package @ltht-react/detail
## 1.3.25 (2021-10-22)

@@ -8,0 +40,0 @@

20

lib/molecules/annotation-list-detail.js

@@ -6,2 +6,13 @@ "use strict";

};
var __assign = (this && this.__assign) || function () {
__assign = Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
}
return t;
};
return __assign.apply(this, arguments);
};
var __importDefault = (this && this.__importDefault) || function (mod) {

@@ -15,3 +26,6 @@ return (mod && mod.__esModule) ? mod : { "default": mod };

var description_list_1 = __importDefault(require("@ltht-react/description-list"));
var StyledAnnotation = styled_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n margin-bottom: 1.5rem;\n"], ["\n margin-bottom: 1.5rem;\n"])));
var StyledAnnotation = styled_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n margin-bottom: ", ";\n"], ["\n margin-bottom: ", ";\n"])), function (_a) {
var isLastAnnotation = _a.isLastAnnotation;
return (isLastAnnotation ? '0' : '1.5rem');
});
var StyledAnnotationNoteText = styled_1.default(description_list_1.default.Description)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n margin-top: 0.25rem;\n"], ["\n margin-top: 0.25rem;\n"])));

@@ -26,5 +40,5 @@ var StyledAnnotationAuthorInfo = styled_1.default(description_list_1.default.Description)(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n font-weight: bold;\n"], ["\n font-weight: bold;\n"])));

var _a;
return (jsx_runtime_1.jsxs(StyledAnnotation, { children: [(note === null || note === void 0 ? void 0 : note.author) && jsx_runtime_1.jsx(StyledAnnotationAuthorInfo, { children: (_a = note.author) === null || _a === void 0 ? void 0 : _a.display }, void 0),
return (jsx_runtime_1.jsxs(StyledAnnotation, __assign({ isLastAnnotation: index === notes.length - 1 }, { children: [(note === null || note === void 0 ? void 0 : note.author) && jsx_runtime_1.jsx(StyledAnnotationAuthorInfo, { children: (_a = note.author) === null || _a === void 0 ? void 0 : _a.display }, void 0),
(note === null || note === void 0 ? void 0 : note.time) && jsx_runtime_1.jsx(StyledAnnotationAuthorInfo, { children: utils_1.partialDateTimeText(note.time) }, void 0),
jsx_runtime_1.jsx(StyledAnnotationNoteText, { children: note === null || note === void 0 ? void 0 : note.text }, void 0)] }, "allergy-note-" + (index + 1)));
jsx_runtime_1.jsx(StyledAnnotationNoteText, { children: note === null || note === void 0 ? void 0 : note.text }, void 0)] }), "allergy-note-" + (index + 1)));
})] }, void 0));

@@ -31,0 +45,0 @@ };

16

package.json
{
"name": "@ltht-react/detail",
"version": "1.3.25",
"version": "1.3.29",
"description": "ltht-react clinical Detail component.",

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

"@emotion/styled": "^11.0.0",
"@ltht-react/description-list": "^1.3.23",
"@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/description-list": "^1.3.27",
"@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

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