@redsift/table 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
|
@@ -922,7 +922,7 @@ declare const numberOperatorDecoder: Record<string, string>;
|
|
|
922
922
|
declare const isOperatorValueValid: (field: string, operator: OperatorValue, columns: DataGridProps["columns"]) => boolean;
|
|
923
923
|
declare const isValueValid: (value: OperatorValue, field: string, columns: DataGridProps["columns"], operator: OperatorValue) => boolean;
|
|
924
924
|
/** FILTERS */
|
|
925
|
-
declare const getFilterModelFromString: (searchString: string, columns: DataGridProps["columns"]) => ExtendedGridFilterModel | "invalid";
|
|
925
|
+
declare const getFilterModelFromString: (searchString: string, columns: DataGridProps["columns"], previousModel?: ExtendedGridFilterModel) => ExtendedGridFilterModel | "invalid";
|
|
926
926
|
/**
|
|
927
927
|
* Normalises a `date` / `dateTime` filter value to a canonical, URL-safe string
|
|
928
928
|
* before it is serialised into the URL.
|
|
@@ -1069,7 +1069,7 @@ type ModelsTable = {
|
|
|
1069
1069
|
pendingSearch: string | null;
|
|
1070
1070
|
};
|
|
1071
1071
|
/** Return the state of the table given the URL and the local storage state */
|
|
1072
|
-
declare const getModelsParsedOrUpdateLocalStorage: (search: string, localStorageVersion: number, columns: DataGridProps["columns"], initialState: GridInitialState | undefined, localStorage: ModelsLocalStorage) => ModelsTable;
|
|
1072
|
+
declare const getModelsParsedOrUpdateLocalStorage: (search: string, localStorageVersion: number, columns: DataGridProps["columns"], initialState: GridInitialState | undefined, localStorage: ModelsLocalStorage, previousFilterModel?: ExtendedGridFilterModel) => ModelsTable;
|
|
1073
1073
|
type DataGridModel = {
|
|
1074
1074
|
filterModel: GridFilterModel;
|
|
1075
1075
|
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
|
|
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-premium": "^8.24.0",
|
|
89
|
-
"@redsift/design-system": "^12.5.
|
|
90
|
-
"@redsift/icons": "^12.5.
|
|
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": "
|
|
95
|
+
"gitHead": "e91832d4957650451448df157ea290db6873254d"
|
|
96
96
|
}
|