@linzjs/step-ag-grid 28.2.3 → 28.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/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@linzjs/step-ag-grid",
3
3
  "repository": "github:linz/step-ag-grid.git",
4
4
  "license": "MIT",
5
- "version": "28.2.3",
5
+ "version": "28.3.0",
6
6
  "keywords": [
7
7
  "aggrid",
8
8
  "ag-grid",
@@ -755,6 +755,13 @@ export const Grid = <TData extends GridBaseRow = GridBaseRow>({
755
755
  />
756
756
  );
757
757
  }}
758
+ quickFilterParser={(filterStr) => {
759
+ filterStr = filterStr.trim();
760
+ const quoted = filterStr.startsWith('"');
761
+ filterStr = filterStr.replace(/^"/, '').replace(/"$/, '');
762
+ // If the user encloses the search term in quotes, treat it as an exact match otherwise split by space
763
+ return quoted ? [filterStr] : filterStr.split(' ');
764
+ }}
758
765
  onModelUpdated={onModelUpdated}
759
766
  onGridReady={onGridReady}
760
767
  onSortChanged={ensureSelectedRowIsVisible}
@@ -149,7 +149,7 @@ export const editCell = async (rowId: number | string, colId: string, within?: H
149
149
  async () => {
150
150
  const cell = await findCell(rowId, colId, within);
151
151
  await user.dblClick(cell);
152
- await waitFor(findOpenPopover, { timeout: 1000 });
152
+ await waitFor(findOpenPopover, { timeout: 4000 });
153
153
  },
154
154
  { timeout: 5000 },
155
155
  );