ywana-core8 0.0.798 → 0.0.799

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
@@ -11404,9 +11404,7 @@ var CollectionList = function CollectionList(props) {
11404
11404
  sortBy = props.sortBy,
11405
11405
  sortDir = props.sortDir;
11406
11406
  var context = React.useContext(CollectionContext);
11407
- var _context$all = context.all,
11408
- all = _context$all === void 0 ? [] : _context$all,
11409
- _context$filtered = context.filtered,
11407
+ var _context$filtered = context.filtered,
11410
11408
  filtered = _context$filtered === void 0 ? [] : _context$filtered,
11411
11409
  selected = context.selected;
11412
11410
 
@@ -11427,7 +11425,7 @@ var CollectionList = function CollectionList(props) {
11427
11425
  return item[field];
11428
11426
  }).join(' ').toLowerCase();
11429
11427
  return text.includes(search.toLowerCase());
11430
- }) : all;
11428
+ }) : filtered;
11431
11429
  var sorted = sortBy ? searched.sort(function (a, b) {
11432
11430
  var valueA = a[sortBy];
11433
11431
  var valueB = b[sortBy];