@ltht-react/type-summary 1.3.69 → 1.3.72
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,30 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## 1.3.72 (2022-05-06)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @ltht-react/type-summary
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## 1.3.71 (2022-05-04)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @ltht-react/type-summary
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
## 1.3.70 (2022-05-03)
|
|
23
|
+
|
|
24
|
+
**Note:** Version bump only for package @ltht-react/type-summary
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
6
30
|
## 1.3.69 (2022-04-26)
|
|
7
31
|
|
|
8
32
|
**Note:** Version bump only for package @ltht-react/type-summary
|
|
@@ -33,10 +33,13 @@ var jsx_runtime_1 = require("react/jsx-runtime");
|
|
|
33
33
|
var styled_1 = __importDefault(require("@emotion/styled"));
|
|
34
34
|
var styles_1 = require("@ltht-react/styles");
|
|
35
35
|
var utils_1 = require("@ltht-react/utils");
|
|
36
|
-
var StyledDateSummary = styled_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n color: ", ";\n"], ["\n color: ", ";\n"])), styles_1.TEXT_COLOURS.PRIMARY)
|
|
36
|
+
var StyledDateSummary = styled_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n color: ", ";\n text-decoration: ", ";\n"], ["\n color: ", ";\n text-decoration: ", ";\n"])), styles_1.TEXT_COLOURS.PRIMARY, function (_a) {
|
|
37
|
+
var enteredInError = _a.enteredInError;
|
|
38
|
+
return (enteredInError ? 'line-through' : 'none');
|
|
39
|
+
});
|
|
37
40
|
var DateSummary = function (_a) {
|
|
38
|
-
var datetime = _a.datetime, rest = __rest(_a, ["datetime"]);
|
|
39
|
-
return (jsx_runtime_1.jsx(StyledDateSummary, __assign({}, rest, { children: utils_1.partialDateTimeText(datetime) }), void 0));
|
|
41
|
+
var datetime = _a.datetime, enteredInError = _a.enteredInError, rest = __rest(_a, ["datetime", "enteredInError"]);
|
|
42
|
+
return (jsx_runtime_1.jsx(StyledDateSummary, __assign({ enteredInError: enteredInError }, rest, { children: utils_1.partialDateTimeText(datetime) }), void 0));
|
|
40
43
|
};
|
|
41
44
|
exports.default = DateSummary;
|
|
42
45
|
var templateObject_1;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"date-summary.js","sourceRoot":"","sources":["../../src/atoms/date-summary.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,2DAAoC;AAEpC,6CAAiD;AAEjD,2CAAuD;AAEvD,IAAM,iBAAiB,GAAG,gBAAM,CAAC,GAAG,
|
|
1
|
+
{"version":3,"file":"date-summary.js","sourceRoot":"","sources":["../../src/atoms/date-summary.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,2DAAoC;AAEpC,6CAAiD;AAEjD,2CAAuD;AAEvD,IAAM,iBAAiB,GAAG,gBAAM,CAAC,GAAG,iHAAoB,aAC7C,EAAoB,wBACV,EAAkE,KACtF,KAFU,qBAAY,CAAC,OAAO,EACV,UAAC,EAAkB;QAAhB,cAAc,oBAAA;IAAO,OAAA,CAAC,cAAc,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,MAAM,CAAC;AAA1C,CAA0C,CACtF,CAAA;AAED,IAAM,WAAW,GAAc,UAAC,EAAqC;IAAnC,IAAA,QAAQ,cAAA,EAAE,cAAc,oBAAA,EAAK,IAAI,cAAnC,8BAAqC,CAAF;IAAO,OAAA,CACxE,kBAAC,iBAAiB,aAAC,cAAc,EAAE,cAAc,IAAM,IAAI,cACxD,2BAAmB,CAAC,QAAQ,CAAC,YACZ,CACrB,CAAA;CAAA,CAAA;AAWD,kBAAe,WAAW,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ltht-react/type-summary",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.72",
|
|
4
4
|
"description": "ltht-react clinical Summary component.",
|
|
5
5
|
"author": "LTHT",
|
|
6
6
|
"homepage": "",
|
|
@@ -27,13 +27,13 @@
|
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@emotion/react": "^11.0.0",
|
|
29
29
|
"@emotion/styled": "^11.0.0",
|
|
30
|
-
"@ltht-react/card": "^1.3.
|
|
31
|
-
"@ltht-react/icon": "^1.3.
|
|
32
|
-
"@ltht-react/list": "^1.3.
|
|
33
|
-
"@ltht-react/styles": "^1.3.
|
|
34
|
-
"@ltht-react/types": "^1.0.
|
|
35
|
-
"@ltht-react/utils": "^1.1.
|
|
30
|
+
"@ltht-react/card": "^1.3.72",
|
|
31
|
+
"@ltht-react/icon": "^1.3.72",
|
|
32
|
+
"@ltht-react/list": "^1.3.70",
|
|
33
|
+
"@ltht-react/styles": "^1.3.64",
|
|
34
|
+
"@ltht-react/types": "^1.0.68",
|
|
35
|
+
"@ltht-react/utils": "^1.1.70",
|
|
36
36
|
"react": "^17.0.0"
|
|
37
37
|
},
|
|
38
|
-
"gitHead": "
|
|
38
|
+
"gitHead": "025d7193a0b6b93f42265d23e4849f7343c18021"
|
|
39
39
|
}
|