diff --git a/docs/data/migration/migration-data-grid-v7/migration-data-grid-v7.md b/docs/data/migration/migration-data-grid-v7/migration-data-grid-v7.md index 0ab2d97e6e86a..a16848e577412 100644 --- a/docs/data/migration/migration-data-grid-v7/migration-data-grid-v7.md +++ b/docs/data/migration/migration-data-grid-v7/migration-data-grid-v7.md @@ -52,6 +52,7 @@ Below are described the steps you need to make to migrate from v7 to v8. - The `rowPositionsDebounceMs` prop was removed. - The `apiRef.current.resize()` method was removed. - The `` component is not exported anymore. +- The `sanitizeFilterItemValue()` utility is not exported anymore. - `gridRowsDataRowIdToIdLookupSelector` was removed. Use `gridRowsLookupSelector` in combination with `getRowId()` API method instead. ```diff diff --git a/packages/x-data-grid/src/components/panel/filterPanel/index.ts b/packages/x-data-grid/src/components/panel/filterPanel/index.ts index 6490e6abb478d..a5afc2d7adc50 100644 --- a/packages/x-data-grid/src/components/panel/filterPanel/index.ts +++ b/packages/x-data-grid/src/components/panel/filterPanel/index.ts @@ -2,7 +2,8 @@ export * from './GridFilterForm'; export * from './GridFilterInputValue'; export * from './GridFilterInputDate'; export * from './GridFilterInputSingleSelect'; -export * from './GridFilterInputBoolean'; +export { GridFilterInputBoolean } from './GridFilterInputBoolean'; +export type { GridFilterInputBooleanProps } from './GridFilterInputBoolean'; export * from './GridFilterInputValueProps'; export { GridFilterPanel } from './GridFilterPanel'; export type { GetColumnForNewFilterArgs } from './GridFilterPanel'; diff --git a/scripts/x-data-grid-premium.exports.json b/scripts/x-data-grid-premium.exports.json index b9eeb6931ca98..6afcabc3b631c 100644 --- a/scripts/x-data-grid-premium.exports.json +++ b/scripts/x-data-grid-premium.exports.json @@ -660,7 +660,6 @@ { "name": "renderEditSingleSelectCell", "kind": "Variable" }, { "name": "renderRowReorderCell", "kind": "Variable" }, { "name": "RowPropsOverrides", "kind": "Interface" }, - { "name": "sanitizeFilterItemValue", "kind": "Function" }, { "name": "selectedGridRowsCountSelector", "kind": "Variable" }, { "name": "selectedGridRowsSelector", "kind": "Variable" }, { "name": "selectedIdsLookupSelector", "kind": "Variable" }, diff --git a/scripts/x-data-grid-pro.exports.json b/scripts/x-data-grid-pro.exports.json index e030f67f8df24..1c634b6c745a2 100644 --- a/scripts/x-data-grid-pro.exports.json +++ b/scripts/x-data-grid-pro.exports.json @@ -609,7 +609,6 @@ { "name": "renderEditSingleSelectCell", "kind": "Variable" }, { "name": "renderRowReorderCell", "kind": "Variable" }, { "name": "RowPropsOverrides", "kind": "Interface" }, - { "name": "sanitizeFilterItemValue", "kind": "Function" }, { "name": "selectedGridRowsCountSelector", "kind": "Variable" }, { "name": "selectedGridRowsSelector", "kind": "Variable" }, { "name": "selectedIdsLookupSelector", "kind": "Variable" }, diff --git a/scripts/x-data-grid.exports.json b/scripts/x-data-grid.exports.json index b1f4c713f4c4a..6db0d957f670a 100644 --- a/scripts/x-data-grid.exports.json +++ b/scripts/x-data-grid.exports.json @@ -557,7 +557,6 @@ { "name": "renderEditInputCell", "kind": "Variable" }, { "name": "renderEditSingleSelectCell", "kind": "Variable" }, { "name": "RowPropsOverrides", "kind": "Interface" }, - { "name": "sanitizeFilterItemValue", "kind": "Function" }, { "name": "selectedGridRowsCountSelector", "kind": "Variable" }, { "name": "selectedGridRowsSelector", "kind": "Variable" }, { "name": "selectedIdsLookupSelector", "kind": "Variable" },