mui-x icon indicating copy to clipboard operation
mui-x copied to clipboard

[pickers] `LocalizationProvider` is missing in x-date-pickers-pro ^5.0.0-beta.3

Open SirAndrii opened this issue 3 years ago • 1 comments

Duplicates

  • [X] I have searched the existing issues

Latest version

  • [X] I have tested the latest version

Current behavior 😯

As described on https://mui.com/x/api/date-pickers/localization-provider/#heading-import and https://www.npmjs.com/package/@mui/x-date-pickers-pro LocalizationProvider can be imported from pro version, but it is missed in the folder tree https://github.com/mui/mui-x/tree/master/packages/x-date-pickers-pro/src

image

Expected behavior 🤔

LocalalizationProvider should be imported from @mui/x-date-pickers-pro version without installing @mui/x-date-pickers as described in documentation https://www.npmjs.com/package/@mui/x-date-pickers-pro.

Steps to reproduce 🕹

Link to live example:

Steps:

  1. intstall only @mui/x-date-pickers-pro
  2. try to import {LocalizationProvider} from '@mui/x-date-pickers-pro';

Context 🔦

No response

Your environment 🌎

npx @mui/envinfo
  Don't forget to mention which browser you used.
  Output from `npx @mui/envinfo` goes here.

Order ID 💳 (optional)

No response

SirAndrii avatar Aug 03 '22 12:08 SirAndrii

Hey @SirAndrii What version of the package are you using? Here's a working demo with the latest version of the package: https://codesandbox.io/s/staticdaterangepickerdemo-demo-mui-x-forked-neu0yi?file=/demo.tsx

cherniavskii avatar Aug 03 '22 13:08 cherniavskii

Since the issue is missing key information and has been inactive for 7 days, it has been automatically closed. If you wish to see the issue reopened, please provide the missing information.

github-actions[bot] avatar Aug 10 '22 14:08 github-actions[bot]