Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@
"date-fns-jalali": "catalog:",
"dayjs": "catalog:",
"es-toolkit": "^1.40.0",
"exceljs": "catalog:",
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No need to declare it in the docs' dependencies

"fg-loadcss": "^3.1.0",
"jscodeshift": "catalog:",
"luxon": "catalog:",
Expand Down
2 changes: 1 addition & 1 deletion packages/x-data-grid-premium/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@
"@mui/x-data-grid": "workspace:*",
"@mui/x-data-grid-pro": "workspace:*",
"@mui/x-internals": "workspace:*",
"@mui/x-internal-exceljs-fork": "catalog:",
"@mui/x-license": "workspace:*",
"clsx": "catalog:",
"exceljs": "catalog:",
"prop-types": "catalog:"
},
"peerDependencies": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type * as Excel from 'exceljs';
import type * as Excel from '@mui/x-internal-exceljs-fork';
import {
GridFileExportOptions,
GridExportFormat as GridExportFormatCommunity,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type * as Excel from 'exceljs';
import type * as Excel from '@mui/x-internal-exceljs-fork';
import { RefObject } from '@mui/x-internals/types';
import {
GridRowId,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type * as Excel from 'exceljs';
import type * as Excel from '@mui/x-internal-exceljs-fork';
import type { GridExcelExportOptions } from '../gridExcelExportInterface';
import {
addColumnGroupingHeaders,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import type * as Excel from 'exceljs';
import type * as Excel from '@mui/x-internal-exceljs-fork';
import type { GridColumnGroupLookup } from '@mui/x-data-grid/internals';
import type { GridExcelExportOptions } from '../gridExcelExportInterface';

export const getExcelJs = async () => {
const excelJsModule = await import('exceljs');
const excelJsModule = await import('@mui/x-internal-exceljs-fork');
return excelJsModule.default ?? excelJsModule;
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {
} from '@mui/x-data-grid-premium';
import { createRenderer, screen, act } from '@mui/internal-test-utils';
import { spy, SinonSpy } from 'sinon';
import Excel from 'exceljs';
import Excel from '@mui/x-internal-exceljs-fork';
import { spyApi } from 'test/utils/helperFn';

const isJSDOM = /jsdom/.test(window.navigator.userAgent);
Expand Down
Loading
Loading