[RFC] Extract Material UI from internal DataGrid APIs #7100
Labels
component: data grid
This is the name of the generic UI component, not the React module!
umbrella
For grouping multiple issues to provide a holistic view
Goal
A continuation of #6811 to separate internal DataGrid APIs from Material UI without breaking changes. Those internal APIs will be used to integrate with Joy UI.
Not related to this issue but in the future, using Joy UI with DataGrid will be like this:
Working branch?
next
Tasks
We will focus on the DataGrid MIT license (
@mui-x/data-grid
) first.1. Start using
@mui/system
and@mui/base
styled
from@mui/system
[data grid] Usestyled
from system #8032@mui/system
use ClickAwayListener fromduplicate the component with Joy UI@mui/base
use TrapFocus fromTrapFocus changed to FocusTrap which can break existing DataGrid projects.@mui/base
use PopperUnstyled fromduplicate the component with Joy UI@mui/base
2. Convert components to slots in
defaultGridSlotsComponents.ts
to userootProps.components.*
instead.GridActionsCell
)GridActionsCell
)GridEditDataCell
)GridEditSingleSelectCell
)GridColumnHeaderFilterIconButton
)GridFilterForm
)GridColumnsPanel
)GridLoadingOverlay
)3. Extract components to internal
These components are using Material UI component types. We need to generalize them to not include types from
@mui/material
and mask the types from the reexport of each design system.Timeline
Start now - End of March
Next step (in a separate issue)
Start adding Joy UI components (April)
cc @cherniavskii
The text was updated successfully, but these errors were encountered: