ywana-core8 0.0.735 → 0.0.736

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/dist/index.cjs CHANGED
@@ -6158,15 +6158,19 @@ var CollectionList$1 = function CollectionList(props) {
6158
6158
  return {
6159
6159
  id: content.id,
6160
6160
  line1: content.name || content.centre || content.tag,
6161
- // centre: Signflow legacy
6161
+ // TODO: centres page Signflow legacy
6162
6162
  line2: content.description,
6163
+ grouper: content[groupBy],
6163
6164
  content: content
6164
6165
  };
6165
6166
  });
6166
- return /*#__PURE__*/React__default["default"].createElement(React.Fragment, null, /*#__PURE__*/React__default["default"].createElement("main", null, /*#__PURE__*/React__default["default"].createElement(List, {
6167
+ return /*#__PURE__*/React__default["default"].createElement(React.Fragment, null, /*#__PURE__*/React__default["default"].createElement("main", null, groupBy ? /*#__PURE__*/React__default["default"].createElement(List, {
6167
6168
  items: items2,
6168
6169
  onSelect: select,
6169
- groupBy: groupBy
6170
+ groupBy: "grouper"
6171
+ }) : /*#__PURE__*/React__default["default"].createElement(List, {
6172
+ items: items2,
6173
+ onSelect: select
6170
6174
  })), /*#__PURE__*/React__default["default"].createElement("footer", null, /*#__PURE__*/React__default["default"].createElement("div", {
6171
6175
  className: "search-box"
6172
6176
  }, /*#__PURE__*/React__default["default"].createElement(TextField, {