From 753b2f777b1052cebf0a505c8a864b67f55e2ee6 Mon Sep 17 00:00:00 2001 From: Rajat Date: Tue, 29 Oct 2024 22:15:01 +0530 Subject: [PATCH] [pickers] Remove the re-export from `@mui/x-license` (#14487) Co-authored-by: arthurbalduini Co-authored-by: flavien --- packages/x-date-pickers-pro/src/index.ts | 7 ------- scripts/x-date-pickers-pro.exports.json | 1 - 2 files changed, 8 deletions(-) diff --git a/packages/x-date-pickers-pro/src/index.ts b/packages/x-date-pickers-pro/src/index.ts index 8a7bb7e61c04..2ebbc0c72541 100644 --- a/packages/x-date-pickers-pro/src/index.ts +++ b/packages/x-date-pickers-pro/src/index.ts @@ -1,10 +1,3 @@ -import { LicenseInfo as LicenseInfoExport } from '@mui/x-license'; -/** - * @deprecated Use `@mui/x-license` package instead: - * @example import { LicenseInfo } from '@mui/x-license'; - */ -export class LicenseInfo extends LicenseInfoExport {} - export * from '@mui/x-date-pickers'; export * from './DateRangePickerDay'; diff --git a/scripts/x-date-pickers-pro.exports.json b/scripts/x-date-pickers-pro.exports.json index 581ce00f24b3..836e164724c1 100644 --- a/scripts/x-date-pickers-pro.exports.json +++ b/scripts/x-date-pickers-pro.exports.json @@ -190,7 +190,6 @@ { "name": "getTimeClockUtilityClass", "kind": "Function" }, { "name": "getYearCalendarUtilityClass", "kind": "Function" }, { "name": "InferError", "kind": "TypeAlias" }, - { "name": "LicenseInfo", "kind": "Class" }, { "name": "LocalizationProvider", "kind": "Variable" }, { "name": "LocalizationProviderProps", "kind": "Interface" }, { "name": "LocalizedComponent", "kind": "TypeAlias" },