Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pickers] Remove the re-export from @mui/x-license #14476

Closed
flaviendelangle opened this issue Sep 4, 2024 · 4 comments · Fixed by #14487
Closed

[pickers] Remove the re-export from @mui/x-license #14476

flaviendelangle opened this issue Sep 4, 2024 · 4 comments · Fixed by #14487
Labels
breaking change component: pickers This is the name of the generic UI component, not the React module! package: x-license Specific to @mui/x-license. v8.x

Comments

@flaviendelangle
Copy link
Member

flaviendelangle commented Sep 4, 2024

This has been deprecated in v7

diff --git a/packages/x-date-pickers-pro/src/index.ts b/packages/x-date-pickers-pro/src/index.ts
index 55114fb14..44e15629a 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';

Search keywords:

@flaviendelangle flaviendelangle added breaking change package: x-license Specific to @mui/x-license. component: pickers This is the name of the generic UI component, not the React module! v8.x labels Sep 4, 2024
@k-rajat19
Copy link
Contributor

@flaviendelangle opened a PR, should I remove them from grid packages as well?

@flaviendelangle
Copy link
Member Author

Thanks for your help
However, the issues with a "v8.x" label should not be started before we start the v8 alpha 👍

@k-rajat19
Copy link
Contributor

Okay, thanks for the clarification.

Copy link

This issue has been closed. If you have a similar problem but not exactly the same, please open a new issue.
Now, if you have additional information related to this issue or things that could help future readers, feel free to leave a comment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking change component: pickers This is the name of the generic UI component, not the React module! package: x-license Specific to @mui/x-license. v8.x
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants