@redsift/table-pro 12.5.8-muiv8-alpha.3 → 12.5.8

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/index.d.ts CHANGED
@@ -915,7 +915,7 @@ declare const numberOperatorDecoder: Record<string, string>;
915
915
  declare const isOperatorValueValid: (field: string, operator: OperatorValue, columns: DataGridProps["columns"]) => boolean;
916
916
  declare const isValueValid: (value: OperatorValue, field: string, columns: DataGridProps["columns"], operator: OperatorValue) => boolean;
917
917
  /** FILTERS */
918
- declare const getFilterModelFromString: (searchString: string, columns: DataGridProps["columns"]) => ExtendedGridFilterModel | "invalid";
918
+ declare const getFilterModelFromString: (searchString: string, columns: DataGridProps["columns"], previousModel?: ExtendedGridFilterModel) => ExtendedGridFilterModel | "invalid";
919
919
  /**
920
920
  * Normalises a `date` / `dateTime` filter value to a canonical, URL-safe string
921
921
  * before it is serialised into the URL.
@@ -1021,7 +1021,7 @@ type ModelsTable = {
1021
1021
  pendingSearch: string | null;
1022
1022
  };
1023
1023
  /** Return the state of the table given the URL and the local storage state */
1024
- declare const getModelsParsedOrUpdateLocalStorage: (search: string, localStorageVersion: number, columns: DataGridProps["columns"], initialState: GridInitialState | undefined, localStorage: ModelsLocalStorage) => ModelsTable;
1024
+ declare const getModelsParsedOrUpdateLocalStorage: (search: string, localStorageVersion: number, columns: DataGridProps["columns"], initialState: GridInitialState | undefined, localStorage: ModelsLocalStorage, previousFilterModel?: ExtendedGridFilterModel) => ModelsTable;
1025
1025
  type DataGridModel = {
1026
1026
  filterModel: GridFilterModel;
1027
1027
  sortModel: GridSortModel;
package/package.json CHANGED
@@ -30,7 +30,7 @@
30
30
  "test": "yarn test:unit && yarn test:storybook"
31
31
  },
32
32
  "types": "index.d.ts",
33
- "version": "12.5.8-muiv8-alpha.3",
33
+ "version": "12.5.8",
34
34
  "dependencies": {
35
35
  "@emotion/react": "^11.11.0",
36
36
  "@emotion/styled": "^11.11.0",
@@ -86,11 +86,11 @@
86
86
  },
87
87
  "peerDependencies": {
88
88
  "@mui/x-data-grid-pro": ">=8",
89
- "@redsift/design-system": "^12.5.7-0",
90
- "@redsift/icons": "^12.5.7-0",
89
+ "@redsift/design-system": "^12.5.8-0",
90
+ "@redsift/icons": "^12.5.8-0",
91
91
  "react": ">=17",
92
92
  "react-dom": ">=17",
93
93
  "styled-components": "6.1.19"
94
94
  },
95
- "gitHead": "2f2f723a55e9aecaffded9a66272608f0fb4dd99"
95
+ "gitHead": "e91832d4957650451448df157ea290db6873254d"
96
96
  }