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] Support DefaultPropsProvider from material ui v6 in all components #16438

Open
povilass opened this issue Feb 3, 2025 · 3 comments
Labels
component: pickers This is the name of the generic UI component, not the React module! new feature New feature or request

Comments

@povilass
Copy link

povilass commented Feb 3, 2025

Summary

Apply changes from DefaultPropsProvider.tsx over import { useThemeProps } from '@mui/material/styles'; DatePicker.tsx

Examples

No response

Motivation

Migration from v5 -> v6 https://mui.com/material-ui/migration/migrating-to-pigment-css/#default-props-provider

Search keywords: v6, material ui

@povilass povilass added new feature New feature or request status: waiting for maintainer These issues haven't been looked at yet by a maintainer labels Feb 3, 2025
@github-actions github-actions bot changed the title [date-pickers] Support DefaultPropsProvider from material ui v6 in all components [pickers] Support DefaultPropsProvider from material ui v6 in all components Feb 3, 2025
@zannager zannager added the component: pickers This is the name of the generic UI component, not the React module! label Feb 5, 2025
@michelengelen
Copy link
Member

What is your intention here? Can you please elaborate a bit?

@michelengelen michelengelen added status: waiting for author Issue with insufficient information and removed status: waiting for maintainer These issues haven't been looked at yet by a maintainer labels Feb 7, 2025
@povilass
Copy link
Author

povilass commented Feb 7, 2025

Material ui core is moving from emotion to pigment CSS styling direction for zero-runtime CSS-in-JS and all component defaultProps are transferred from theme to a DefaultPropsProvider.

@github-actions github-actions bot added status: waiting for maintainer These issues haven't been looked at yet by a maintainer and removed status: waiting for author Issue with insufficient information labels Feb 7, 2025
@michelengelen
Copy link
Member

All right ... I'll add this to the board as a feature request.

@michelengelen michelengelen removed the status: waiting for maintainer These issues haven't been looked at yet by a maintainer label Feb 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: pickers This is the name of the generic UI component, not the React module! new feature New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants