cht-conf 6.2.0 → 6.3.0
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
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
# [6.3.0](https://github.com/medic/cht-conf/compare/v6.2.0...v6.3.0) (2026-04-27)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* **#10766:** support `collapsed` in contact summary card ([#812](https://github.com/medic/cht-conf/issues/812)) ([8b3f34a](https://github.com/medic/cht-conf/commit/8b3f34a3b58ffbd2c58c0e28f15dbc87e6d1e572)), closes [#10766](https://github.com/medic/cht-conf/issues/10766)
|
|
7
|
+
|
|
1
8
|
# [6.2.0](https://github.com/medic/cht-conf/compare/v6.1.1...v6.2.0) (2026-04-18)
|
|
2
9
|
|
|
3
10
|
|
package/package.json
CHANGED
|
@@ -122,10 +122,14 @@ function addCard(card, context, r) {
|
|
|
122
122
|
card.modifyContext(context, r);
|
|
123
123
|
}
|
|
124
124
|
|
|
125
|
-
|
|
125
|
+
const summary = {
|
|
126
126
|
label: card.label,
|
|
127
127
|
fields: fields,
|
|
128
128
|
};
|
|
129
|
+
if (card.collapsed !== undefined) {
|
|
130
|
+
summary.collapsed = card.collapsed;
|
|
131
|
+
}
|
|
132
|
+
return summary;
|
|
129
133
|
}
|
|
130
134
|
|
|
131
135
|
module.exports = emitter;
|