Skip to content

Commit

Permalink
fix eslint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
cherniavskii committed Mar 18, 2024
1 parent 9266aaa commit 58562cd
Show file tree
Hide file tree
Showing 8 changed files with 6 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,9 @@ import {
gridHeaderFilteringEditFieldSelector,
gridHeaderFilteringMenuSelector,
isNavigationKey,
} from '@mui/x-data-grid/internals';
import {
shouldCellShowLeftBorder,
shouldCellShowRightBorder,
} from '@mui/x-data-grid/utils/cellBorderUtils';
} from '@mui/x-data-grid/internals';
import { useGridRootProps } from '../../hooks/utils/useGridRootProps';
import { DataGridProProcessedProps } from '../../models/dataGridProProps';
import { GridHeaderFilterMenuContainer } from './GridHeaderFilterMenuContainer';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,9 @@ import {
useGridApiMethod,
gridDimensionsSelector,
} from '@mui/x-data-grid';
import { useGridVisibleRows } from '@mui/x-data-grid/internals';
import { useGridVisibleRows, GridInfiniteLoaderPrivateApi } from '@mui/x-data-grid/internals';
import useEventCallback from '@mui/utils/useEventCallback';
import { styled } from '@mui/system';
import type { GridInfiniteLoaderPrivateApi } from '@mui/x-data-grid/models/api/gridInfiniteLoaderApi';
import { GridRowScrollEndParams } from '../../../models';
import { GridPrivateApiPro } from '../../../models/gridApiPro';
import { DataGridProProcessedProps } from '../../../models/dataGridProProps';
Expand Down
3 changes: 1 addition & 2 deletions packages/x-data-grid-pro/src/models/gridApiPro.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ import {
GridRowMultiSelectionApi,
GridRowProApi,
} from '@mui/x-data-grid';
import { GridPrivateOnlyApiCommon } from '@mui/x-data-grid/internals';
import type { GridInfiniteLoaderPrivateApi } from '@mui/x-data-grid/models/api/gridInfiniteLoaderApi';
import { GridPrivateOnlyApiCommon, GridInfiniteLoaderPrivateApi } from '@mui/x-data-grid/internals';
import { GridInitialStatePro, GridStatePro } from './gridStatePro';
import type {
GridColumnPinningApi,
Expand Down
2 changes: 2 additions & 0 deletions packages/x-data-grid/src/internals/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,9 @@ export * from '../utils/fastMemo';
export { buildWarning } from '../utils/warning';
export { exportAs } from '../utils/exportAs';
export * from '../utils/getPublicApiRef';
export * from '../utils/cellBorderUtils';
export type { GridPrivateOnlyApiCommon } from '../models/api/gridApiCommon';
export type { GridInfiniteLoaderPrivateApi } from '../models/api/gridInfiniteLoaderApi';
export { useGridPrivateApiContext } from '../hooks/utils/useGridPrivateApiContext';
export * from '../hooks/utils';

Expand Down
2 changes: 1 addition & 1 deletion packages/x-data-grid/src/models/api/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export * from './gridPreferencesPanelApi';
export * from './gridPrintExportApi';
export * from './gridCallbackDetails';
export * from './gridScrollApi';
export * from './gridVirtualizationApi';
export type { GridVirtualizationApi } from './gridVirtualizationApi';
export type { GridApiCommon } from './gridApiCommon';

export type { GridEditingApi, GridCellModesModel, GridRowModesModel } from './gridEditingApi';
Expand Down
1 change: 0 additions & 1 deletion scripts/x-data-grid-premium.exports.json
Original file line number Diff line number Diff line change
Expand Up @@ -598,7 +598,6 @@
{ "name": "GridVirtualizationApi", "kind": "Interface" },
{ "name": "gridVirtualizationColumnEnabledSelector", "kind": "Variable" },
{ "name": "gridVirtualizationEnabledSelector", "kind": "Variable" },
{ "name": "GridVirtualizationPrivateApi", "kind": "Interface" },
{ "name": "gridVirtualizationSelector", "kind": "Variable" },
{ "name": "GridVirtualizationState", "kind": "TypeAlias" },
{ "name": "GridVisibilityOffIcon", "kind": "Variable" },
Expand Down
1 change: 0 additions & 1 deletion scripts/x-data-grid-pro.exports.json
Original file line number Diff line number Diff line change
Expand Up @@ -552,7 +552,6 @@
{ "name": "GridVirtualizationApi", "kind": "Interface" },
{ "name": "gridVirtualizationColumnEnabledSelector", "kind": "Variable" },
{ "name": "gridVirtualizationEnabledSelector", "kind": "Variable" },
{ "name": "GridVirtualizationPrivateApi", "kind": "Interface" },
{ "name": "gridVirtualizationSelector", "kind": "Variable" },
{ "name": "GridVirtualizationState", "kind": "TypeAlias" },
{ "name": "GridVisibilityOffIcon", "kind": "Variable" },
Expand Down
1 change: 0 additions & 1 deletion scripts/x-data-grid.exports.json
Original file line number Diff line number Diff line change
Expand Up @@ -511,7 +511,6 @@
{ "name": "GridVirtualizationApi", "kind": "Interface" },
{ "name": "gridVirtualizationColumnEnabledSelector", "kind": "Variable" },
{ "name": "gridVirtualizationEnabledSelector", "kind": "Variable" },
{ "name": "GridVirtualizationPrivateApi", "kind": "Interface" },
{ "name": "gridVirtualizationSelector", "kind": "Variable" },
{ "name": "GridVirtualizationState", "kind": "TypeAlias" },
{ "name": "GridVisibilityOffIcon", "kind": "Variable" },
Expand Down

0 comments on commit 58562cd

Please sign in to comment.