@ltht-react/community-treatment-order-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.
Files changed (2) hide show
  1. package/README.md +27 -27
  2. package/package.json +7 -7
package/README.md CHANGED
@@ -1,27 +1,27 @@
1
- # Community Treatment Order Summary
2
-
3
- <!-- STORY -->
4
-
5
- ### Import
6
-
7
- ```js
8
- import CommunityTreatmentOrderSummary from '@ltht-react/community-treatment-order-summary'
9
- ```
10
-
11
- ### Usage
12
-
13
- ```jsx
14
- <CommunityTreatmentOrderSummary
15
- title="Community Treatment Orders"
16
- communityTreatmentOrders={communityTreatmentOrders}
17
- clickHandler={handleClick}
18
- />
19
- ```
20
-
21
- ### Properties
22
-
23
- | Prop | Required | Default | Type | Description |
24
- | :------------------------- | :------- | :------------------------- | :----------------------------- | :-------------------------------------------------- |
25
- | `title` | No | Community Treatment Orders | string | Header text |
26
- | `communityTreatmentOrders` | Yes | | LypftCommunityTreatmentOrder[] | Array of community treatment orders to display |
27
- | `clickHandler` | No | undefined | Function | Callback click handler containing the selected item |
1
+ # Community Treatment Order Summary
2
+
3
+ <!-- STORY -->
4
+
5
+ ### Import
6
+
7
+ ```js
8
+ import CommunityTreatmentOrderSummary from '@ltht-react/community-treatment-order-summary'
9
+ ```
10
+
11
+ ### Usage
12
+
13
+ ```jsx
14
+ <CommunityTreatmentOrderSummary
15
+ title="Community Treatment Orders"
16
+ communityTreatmentOrders={communityTreatmentOrders}
17
+ clickHandler={handleClick}
18
+ />
19
+ ```
20
+
21
+ ### Properties
22
+
23
+ | Prop | Required | Default | Type | Description |
24
+ | :------------------------- | :------- | :------------------------- | :----------------------------- | :-------------------------------------------------- |
25
+ | `title` | No | Community Treatment Orders | string | Header text |
26
+ | `communityTreatmentOrders` | Yes | | LypftCommunityTreatmentOrder[] | Array of community treatment orders to display |
27
+ | `clickHandler` | No | undefined | Function | Callback click handler containing the selected item |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ltht-react/community-treatment-order-summary",
3
- "version": "2.0.2",
3
+ "version": "2.0.3",
4
4
  "description": "ltht-react clinical CommunityTreatmentOrderSummary 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.2",
27
- "@ltht-react/styles": "^2.0.2",
28
- "@ltht-react/type-summary": "^2.0.2",
29
- "@ltht-react/types": "^2.0.2",
30
- "@ltht-react/utils": "^2.0.2",
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": "c1487e107fcc3e16a95a65393cfb673ab92db352"
33
+ "gitHead": "6f18742bbf2f44123b6478257e52fbbdd291a25b"
34
34
  }