@linzjs/step-ag-grid 28.3.0 → 28.4.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.
@@ -3233,11 +3233,8 @@ const Grid = ({ 'data-testid': dataTestId, defaultPostSort = true, rowSelection
3233
3233
  event.api.forEachNode(() => rowCount++);
3234
3234
  return (jsx(GridNoRowsOverlay, { loading: !rowData || params.loading === true, rowCount: rowCount, headerRowHeight: headerRowCount * rowHeight, filteredRowCount: event.api.getDisplayedRowCount(), noRowsOverlayText: params.noRowsOverlayText, noRowsMatchingOverlayText: params.noRowsMatchingOverlayText }));
3235
3235
  }, quickFilterParser: (filterStr) => {
3236
- filterStr = filterStr.trim();
3237
- const quoted = filterStr.startsWith('"');
3238
- filterStr = filterStr.replace(/^"/, '').replace(/"$/, '');
3239
- // If the user encloses the search term in quotes, treat it as an exact match otherwise split by space
3240
- return quoted ? [filterStr] : filterStr.split(' ');
3236
+ // filter is exact matches exactly groups separated by commas
3237
+ return filterStr.split(',').map((str) => str.trim());
3241
3238
  }, onModelUpdated: onModelUpdated, onGridReady: onGridReady, onSortChanged: ensureSelectedRowIsVisible, postSortRows: params.onRowDragEnd || !defaultPostSort ? undefined : postSortRows, onSelectionChanged: synchroniseExternalStateToGridSelection, onColumnMoved: params.onColumnMoved, alwaysShowVerticalScroll: params.alwaysShowVerticalScroll, isExternalFilterPresent: isExternalFilterPresent, doesExternalFilterPass: doesExternalFilterPass, maintainColumnOrder: true, preventDefaultOnContextMenu: true, onCellContextMenu: gridContextMenu.cellContextMenu, rowDragText: params.rowDragText, onRowDragCancel: clearHighlightRowClasses, onRowDragMove: onRowDragMove, onRowDragEnd: onRowDragEnd, suppressCellFocus: params.suppressCellFocus, pinnedTopRowData: params.pinnedTopRowData, pinnedBottomRowData: params.pinnedBottomRowData, selectionColumnDef: {
3242
3239
  suppressNavigable: params.hideSelectColumn,
3243
3240
  rowDrag: !!params.onRowDragEnd,