@ltht-react/appointment-summary
Advanced tools
Comparing version 0.1.31 to 0.2.0
@@ -6,18 +6,2 @@ # Change Log | ||
## [0.1.31](https://github.com/ltht-epr/ltht-react/compare/@ltht-react/appointment-summary@0.1.29...@ltht-react/appointment-summary@0.1.31) (2020-11-19) | ||
**Note:** Version bump only for package @ltht-react/appointment-summary | ||
## [0.1.30](https://github.com/ltht-epr/ltht-react/compare/@ltht-react/appointment-summary@0.1.29...@ltht-react/appointment-summary@0.1.30) (2020-10-29) | ||
**Note:** Version bump only for package @ltht-react/appointment-summary | ||
## [0.1.29](https://github.com/ltht-epr/ltht-react/compare/@ltht-react/appointment-summary@0.1.28...@ltht-react/appointment-summary@0.1.29) (2020-09-10) | ||
@@ -24,0 +8,0 @@ |
@@ -1,2 +0,8 @@ | ||
import AppointmentSummary from './organisms/appointment-summary'; | ||
import React from 'react'; | ||
import { Encounter } from '@ltht-react/types'; | ||
declare const AppointmentSummary: React.FC<Props>; | ||
interface Props { | ||
encounters: Encounter[] | undefined; | ||
clickHandler?(appointment: Encounter): void; | ||
} | ||
export default AppointmentSummary; |
@@ -6,4 +6,11 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var appointment_summary_1 = __importDefault(require("./organisms/appointment-summary")); | ||
exports.default = appointment_summary_1.default; | ||
var react_1 = __importDefault(require("react")); | ||
var list_1 = require("@ltht-react/list"); | ||
var appointment_summary_item_1 = __importDefault(require("./organisms/appointment-summary-item")); | ||
var AppointmentSummary = function (_a) { | ||
var _b = _a.encounters, encounters = _b === void 0 ? [] : _b, clickHandler = _a.clickHandler; | ||
return (react_1.default.createElement(react_1.default.Fragment, null, encounters.map(function (encounter) { return (react_1.default.createElement(list_1.ListItem, { key: encounter.id }, | ||
react_1.default.createElement(appointment_summary_item_1.default, { encounter: encounter, clickHandler: clickHandler }))); }))); | ||
}; | ||
exports.default = AppointmentSummary; | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@ltht-react/appointment-summary", | ||
"version": "0.1.31", | ||
"version": "0.2.0", | ||
"description": "ltht-react clinical AppointmentSummary component.", | ||
@@ -26,11 +26,11 @@ "author": "LTHT", | ||
"@emotion/styled": "^10.0.27", | ||
"@ltht-react/list": "^0.1.26", | ||
"@ltht-react/styles": "^0.1.20", | ||
"@ltht-react/summary": "^0.0.24", | ||
"@ltht-react/types": "^0.0.27", | ||
"@ltht-react/utils": "^0.1.20", | ||
"@ltht-react/list": "^0.2.0", | ||
"@ltht-react/styles": "^0.2.0", | ||
"@ltht-react/summary": "^0.1.0", | ||
"@ltht-react/types": "^0.1.0", | ||
"@ltht-react/utils": "^0.2.0", | ||
"emotion": "^10.0.27", | ||
"react": "^16.12.0" | ||
}, | ||
"gitHead": "bed644100b6acf8597d480e640131a2ebb74f7ba" | ||
"gitHead": "130d29ad7089f9d9f0f48cdfa217205a2a1b9c0d" | ||
} |
Sorry, the diff of this file is not supported yet
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
28367
231
+ Added@ltht-react/banner@0.1.1(transitive)
+ Added@ltht-react/icon@0.2.1(transitive)
+ Added@ltht-react/list@0.2.1(transitive)
+ Added@ltht-react/styles@0.2.1(transitive)
+ Added@ltht-react/summary@0.1.1(transitive)
+ Added@ltht-react/types@0.1.1(transitive)
+ Added@ltht-react/utils@0.2.1(transitive)
- Removed@emotion/core@10.0.35(transitive)
- Removed@ltht-react/banner@0.0.18(transitive)
- Removed@ltht-react/icon@0.1.28(transitive)
- Removed@ltht-react/list@0.1.26(transitive)
- Removed@ltht-react/styles@0.1.20(transitive)
- Removed@ltht-react/summary@0.0.24(transitive)
- Removed@ltht-react/types@0.0.27(transitive)
- Removed@ltht-react/utils@0.1.20(transitive)
Updated@ltht-react/list@^0.2.0
Updated@ltht-react/styles@^0.2.0
Updated@ltht-react/summary@^0.1.0
Updated@ltht-react/types@^0.1.0
Updated@ltht-react/utils@^0.2.0