@smals-belgium-shared/vidis-medication-scheme-list 3.4.2-snapshot.5 → 3.4.2-snapshot.7

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
@@ -171,3 +171,11 @@
171
171
  ### vidis-delivered-medication-list
172
172
  * redesign of information banner, aligned to design kit
173
173
  * make banner expanded by default for desktop view and collapsed for mobile view
174
+
175
+ ### vidis-medication-scheme-list:
176
+ * Change the type of `onSelectMedication` output : new type `{ id: string; date?: string; }`, old type : `id: string`.
177
+
178
+ ### vidis-medication-scheme-detail:
179
+ * Mobile view : Redesign the Medicationscheme details page to provide a more structured overview.
180
+ * Remove of `id` input.
181
+ * Add of `detail` input, with the type : `{ id: string; date?: string; }`
package/README.md CHANGED
@@ -54,9 +54,9 @@ The **daily view** is tailored for those who need a more specific, day-to-day br
54
54
 
55
55
  ## Outputs
56
56
 
57
- | Name | Type | Description |
58
- |------------------------|--------|-----------------------------------------------|
59
- | `onSelectMedication` | string | Notified with the selected ID code as string |
57
+ | Name | Type | Description |
58
+ |------------------------|--------------------------------|--------------------------------------------------------------------------------|
59
+ | `onSelectMedication` | { id: string; date?: string; } | Notified with the selected ID code as string, date returned only if daily view |
60
60
 
61
61
 
62
62
  ## Usage