@ltht-react/care-plan-summary 2.0.2 → 2.0.3
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/README.md +21 -21
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
# Care Plan Summary
|
|
2
|
-
|
|
3
|
-
### Import
|
|
4
|
-
|
|
5
|
-
```js
|
|
6
|
-
import CarePlanSummary from '@ltht-react/care-plan-summary'
|
|
7
|
-
```
|
|
8
|
-
|
|
9
|
-
### Usage
|
|
10
|
-
|
|
11
|
-
```jsx
|
|
12
|
-
<CarePlanSummary title="Care Plans" carePlans={carePlans} clickHandler={handleClick} />
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
### Properties
|
|
16
|
-
|
|
17
|
-
| Prop | Required | Default | Type | Description |
|
|
18
|
-
| :------------- | :------- | :--------- | :--------- | :------------------------------------------------------------ |
|
|
19
|
-
| `title` | No | Care Plans | string | Header text |
|
|
20
|
-
| `carePlans` | Yes | | CarePlan[] | Array of care plans to display |
|
|
21
|
-
| `clickHandler` | No | undefined | Function | Callback click handler containing the selected care plan item |
|
|
1
|
+
# Care Plan Summary
|
|
2
|
+
|
|
3
|
+
### Import
|
|
4
|
+
|
|
5
|
+
```js
|
|
6
|
+
import CarePlanSummary from '@ltht-react/care-plan-summary'
|
|
7
|
+
```
|
|
8
|
+
|
|
9
|
+
### Usage
|
|
10
|
+
|
|
11
|
+
```jsx
|
|
12
|
+
<CarePlanSummary title="Care Plans" carePlans={carePlans} clickHandler={handleClick} />
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
### Properties
|
|
16
|
+
|
|
17
|
+
| Prop | Required | Default | Type | Description |
|
|
18
|
+
| :------------- | :------- | :--------- | :--------- | :------------------------------------------------------------ |
|
|
19
|
+
| `title` | No | Care Plans | string | Header text |
|
|
20
|
+
| `carePlans` | Yes | | CarePlan[] | Array of care plans to display |
|
|
21
|
+
| `clickHandler` | No | undefined | Function | Callback click handler containing the selected care plan item |
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ltht-react/care-plan-summary",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.3",
|
|
4
4
|
"description": "ltht-react clinical CarePlanSummary component.",
|
|
5
5
|
"author": "LTHT",
|
|
6
6
|
"homepage": "",
|
|
@@ -23,12 +23,12 @@
|
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"@emotion/react": "^11.0.0",
|
|
25
25
|
"@emotion/styled": "^11.0.0",
|
|
26
|
-
"@ltht-react/list": "^2.0.
|
|
27
|
-
"@ltht-react/styles": "^2.0.
|
|
28
|
-
"@ltht-react/type-summary": "^2.0.
|
|
29
|
-
"@ltht-react/types": "^2.0.
|
|
30
|
-
"@ltht-react/utils": "^2.0.
|
|
26
|
+
"@ltht-react/list": "^2.0.3",
|
|
27
|
+
"@ltht-react/styles": "^2.0.3",
|
|
28
|
+
"@ltht-react/type-summary": "^2.0.3",
|
|
29
|
+
"@ltht-react/types": "^2.0.3",
|
|
30
|
+
"@ltht-react/utils": "^2.0.3",
|
|
31
31
|
"react": "^18.2.0"
|
|
32
32
|
},
|
|
33
|
-
"gitHead": "
|
|
33
|
+
"gitHead": "6f18742bbf2f44123b6478257e52fbbdd291a25b"
|
|
34
34
|
}
|