-
Notifications
You must be signed in to change notification settings - Fork 117
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
fix(deps): update material-ui monorepo #1033
fix(deps): update material-ui monorepo #1033
Conversation
WalkthroughThe pull request updates the Changes
Possibly related PRs
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
Documentation and Community
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 2
📜 Review details
Configuration used: .coderabbit.yaml
Review profile: CHILL
⛔ Files ignored due to path filters (1)
Client/package-lock.json
is excluded by!**/package-lock.json
📒 Files selected for processing (1)
- Client/package.json (1 hunks)
🧰 Additional context used
🔇 Additional comments (1)
Client/package.json (1)
20-21
: Yo dawg, I heard you like version updates, but some are missing! 🤔The PR objectives mention updates for additional MUI packages that aren't reflected in the code:
- @mui/icons-material: 5.16.4 -> 5.16.7
- @mui/lab: 5.0.0-alpha.172 -> 5.0.0-alpha.173
- @mui/material: 5.16.4 -> 5.16.7
- @mui/x-charts: 7.10.0 -> 7.21.0
Let's verify if these updates should be included:
#!/bin/bash # Check if these MUI components are used in the codebase echo "Checking usage of other MUI components..." rg -l "@mui/(icons-material|lab|material|x-charts)" --type js --type jsx --type ts --type tsx
"@mui/x-data-grid": "7.21.0", | ||
"@mui/x-date-pickers": "7.21.0", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🛠️ Refactor suggestion
Keep the MUI family together! 🤝
Consider synchronizing versions across related MUI X packages for better compatibility:
- @mui/x-charts is at 7.5.1
- @mui/x-data-grid and @mui/x-date-pickers are being updated to 7.21.0
Consider updating @mui/x-charts to match the other X packages:
"@mui/material": "^5.15.16",
- "@mui/x-charts": "^7.5.1",
+ "@mui/x-charts": "7.21.0",
"@mui/x-data-grid": "7.21.0",
Committable suggestion was skipped due to low confidence.
💡 Codebase verification
Yo dawg, we got a version mismatch situation that's heavier than mom's spaghetti! 🍝
After diving deep into the codebase (palms sweaty), I found some serious version inconsistencies that we need to address:
- The DatePicker is used in
Client/src/Pages/Maintenance/CreateMaintenance/index.jsx
, and we're updating it to 7.21.0 - The current MUI dependencies show different major versions:
- Core packages (@mui/material, @mui/icons-material, @mui/lab) are on version 5.x
- X-suite packages have mixed versions:
- @mui/x-charts: 7.5.1
- @mui/x-data-grid and @mui/x-date-pickers: jumping to 7.21.0
This version mismatch is making my knees weak! We should:
- Align all X-suite packages (@mui/x-charts) to version 7.21.0 for consistency
- Keep core packages (@mui/material, @mui/icons-material, @mui/lab) on their respective 5.x versions as they follow a different versioning scheme
🔗 Analysis chain
Yo! These version updates are fire, but let's check for breaking changes! 🔥
The jump from 7.3.2 to 7.21.0 is significant for both x-data-grid and x-date-pickers. While keeping the same major version (7), this update spans multiple minor versions which could introduce breaking changes.
Let's check the release notes and usage:
Note: I've simplified the search patterns and removed file type restrictions that were causing issues. This should give us a better picture of MUI component usage across the codebase.
🏁 Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash
# Search for MUI component usage patterns that might be affected
echo "Checking for DataGrid usage patterns..."
rg -l "DataGrid|XGrid" --type js --type jsx --type ts --type tsx
echo "Checking for DatePicker usage patterns..."
rg -l "DatePicker|TimePicker|DateTimePicker" --type js --type jsx --type ts --type tsx
Length of output: 310
Script:
#!/bin/bash
# Let's try a more reliable search approach
echo "Checking DataGrid usage..."
rg -l "DataGrid" .
echo -e "\nChecking DatePicker usage..."
rg -l "DatePicker" .
echo -e "\nChecking MUI package imports..."
rg -l "@mui/" .
# Let's also check package.json to see all MUI dependencies
echo -e "\nChecking package.json for MUI deps..."
cat Client/package.json | grep "@mui/"
Length of output: 4621
This PR contains the following updates:
5.16.4
->5.16.7
5.0.0-alpha.172
->5.0.0-alpha.173
5.16.4
->5.16.7
7.10.0
->7.21.0
7.3.2
->7.21.0
7.3.2
->7.21.0
Release Notes
mui/material-ui (@mui/icons-material)
v5.16.7
Compare Source
v5.16.6
Compare Source
Jul 30, 2024
A big thanks to the 5 contributors who made this release possible.
@mui/[email protected]
Docs
<ListItem button/>
withListItemButton
component in routing libraries list example (#43114) @aliharis99reason
type in demos (#43105) @sai6855Core
All contributors of this release in alphabetical order: @aliharis99, @anuujj, @mnajdova, @sai6855, @shahzaibdev1
v5.16.5
Compare Source
Jul 25, 2024
A big thanks to the 4 contributors who made this release possible.
@mui/[email protected]
Docs
Hint
demo (@ManthanGajjar) (#43039) @ManthanGajjarAll contributors of this release in alphabetical order: @ManthanGajjar, @mnajdova, @navedqb, @oliviertassinari
Full Changelog: mui/material-ui@v5.16.4...v5.16.5
mui/material-ui (@mui/material)
v5.16.7
Compare Source
v5.16.6
Compare Source
Jul 30, 2024
A big thanks to the 5 contributors who made this release possible.
@mui/[email protected]
Docs
<ListItem button/>
withListItemButton
component in routing libraries list example (#43114) @aliharis99reason
type in demos (#43105) @sai6855Core
All contributors of this release in alphabetical order: @aliharis99, @anuujj, @mnajdova, @sai6855, @shahzaibdev1
v5.16.5
Compare Source
Jul 25, 2024
A big thanks to the 4 contributors who made this release possible.
@mui/[email protected]
Docs
Hint
demo (@ManthanGajjar) (#43039) @ManthanGajjarAll contributors of this release in alphabetical order: @ManthanGajjar, @mnajdova, @navedqb, @oliviertassinari
Full Changelog: mui/material-ui@v5.16.4...v5.16.5
mui/mui-x (@mui/x-charts)
v7.21.0
Compare Source
Oct 17, 2024
We'd like to offer a big thanks to the 13 contributors who made this release possible. Here are some highlights ✨:
dataset
prop support for the Scatter Chart componentSpecial thanks go out to the community contributors who have helped make this release possible:
@k-rajat19, @kalyan90, @rotembarsela, @wangkailang.
Following are all team members who have contributed to this release:
@arthurbalduini, @cherniavskii, @flaviendelangle, @JCQuintas, @LukasTy, @MBilalShafi, @arminmeh, @romgrk, @KenanYusuf, @oliviertassinari, @samuelsycamore.
Data Grid
@mui/[email protected]
onRowSelectionModelChange
firing unnecessarily on initial render (#14909) @MBilalShafionRowSelectionModelChange
not being called after row is removed (#14972) @arminmeh@mui/[email protected]
Same changes as in
@mui/[email protected]
, plus:rowHeight={undefined}
(#14983) @cherniavskii@mui/[email protected]
Same changes as in
@mui/[email protected]
.Date and Time Pickers
@mui/[email protected]
PageUp
andPageDown
event handlers on time components (#14928) @arthurbalduiniownerState
object (#14889) @flaviendelanglePickerValidDate
usage in the Date Range Picker Toolbar (#14925) @flaviendelangle@mui/[email protected]
Same changes as in
@mui/[email protected]
.Charts
@mui/[email protected]
dataset
to be used with the Scatter Chart (#14915) @JCQuintasreduce motion
preference disables animation on page load (#14417) @JCQuintas@mui/[email protected]
Same changes as in
@mui/[email protected]
.Tree View
@mui/[email protected]
alpha
usage with CSS variables (#14969) @wangkailangaria-selected
attribute (#14991) @flaviendelangle@mui/[email protected]
Docs
Core
vitest/playwright
(#14926) @JCQuintasAdapterDayjs
coverage calculation (#14957) @LukasTyv7.20.0
Compare Source
Oct 11, 2024
We'd like to offer a big thanks to the 14 contributors who made this release possible. Here are some highlights ✨:
props.ContentComponent
andprops.ContentProps
) have been deprecated and will be removed in the new major version of the Tree View component.Special thanks go out to the community contributors who have helped make this release possible:
@k-rajat19, @kalyan90, @uma-neko, @vfbiby.
Following are all team members who have contributed to this release: @alelthomas, @arminmeh, @arthurbalduini,
@cherniavskii, @flaviendelangle, @JCQuintas, @MBilalShafi, @noraleonte, @oliviertassinari, @samuelsycamore, @siriwatknp.
Data Grid
@mui/[email protected]
onColumnHeaderContextMenu
event (#14734) @vfbibyscrollToIndexes
(#14888) @arminmehrowId
param toprocessRowUpdate
(#14821) @k-rajat19@mui/[email protected]
Same changes as in
@mui/[email protected]
, plus:rowSelectionPropagation
JSDoc and doc section (#14907) @flaviendelangle@mui/[email protected]
Same changes as in
@mui/[email protected]
.Date and Time Pickers
@mui/[email protected]
PageUp
andPageDown
support for time components (#14812) @arthurbalduiniPickerValidDate
(#14896) @flaviendelangleDateFieldInPickerProps
interface to theDatePicker
folder and rename itDatePickerFieldProps
(same for time and date time) (#14828) @flaviendelangle@mui/[email protected]
Same changes as in
@mui/[email protected]
.Charts
@mui/[email protected]
No changes since
@mui/[email protected]
.@mui/[email protected]
Same changes as in
@mui/[email protected]
.Tree View
@mui/[email protected]
ContentComponent
andContentProps
props (#14908) @flaviendelangleDocs
tooltip
andhighlighting
pages (#14824) @JCQuintas<TreeItem2 />
component and theuseTreeItem2
hook (#14551) @noraleonteCore
@mui/utils
v6 (#14867) @siriwatknpdata-mui-test
in favour ofdata-testid
(#14882) @JCQuintasvitest
group (#14856) @JCQuintaswaitFor()
withact()
(#14851) @oliviertassinariv7.19.0
Compare Source
Oct 4, 2024
We'd like to offer a big thanks to the 26 contributors who made this release possible. Here are some highlights ✨:
minHeight
andmaxHeight
on flex parent container for the Data Grid componentpublicAPI
from theuseTreeItem2Utils
hook for the Tree ViewSpecial thanks goes out to our community contributors who have helped make this release possible:
@AWAIS97, @chucamphong, @GMchris, @JakubSveda, @k-rajat19, @k725, @lhilgert9, @ruiaraujo012, @Sanderand, @thomasmoon, @vallereaugabriel.
Following are all team members who have contributed to this release:
@alexfauquette, @arminmeh, @arthurbalduini, @cherniavskii, @flaviendelangle, @Janpot, @JCQuintas, @KenanYusuf, @MBilalShafi, @michelengelen, @noraleonte, @oliviertassinari, @romgrk, @sai6855, @samuelsycamore.
Data Grid
@mui/[email protected]
undefined
value (#14456) @sai6855checkboxSelectionVisibleOnly
reset the selection on filtering (#14677) @MBilalShafiCSSVarsProvider
is used (#12901) @cherniavskiiminHeight
andmaxHeight
on flex parent container (#14614) @cherniavskii@mui/[email protected]
Same changes as in
@mui/[email protected]
, plus:onRowsScrollEnd
not firing on very fast scrolling (#14171) @arminmeh@mui/[email protected]
Same changes as in
@mui/[email protected]
, plus:Date and Time Pickers
@mui/[email protected]
yearsOrder="desc"
anddirection="rtl"
(#14682) @thomasmoonPickerValidDate
type (#14771) @flaviendelangle@mui/[email protected]
Same changes as in
@mui/[email protected]
.Charts
@mui/[email protected]
LineChart
area animation being stuck when resizing container (#14711) @alexfauquettewarnOnce
(#14792) @JCQuintas@mui/[email protected]
Same changes as in
@mui/[email protected]
.Tree View
@mui/[email protected]
getDefaultizedParams
instead of in the plugin render (#14661) @flaviendelanglepublicAPI
formuseTreeItem2Utils
(#14729) @noraleonteinstance.getTreeItemIdAttribute
(#14667) @flaviendelangleDocs
pages.ts
navigation (#14782) @samuelsycamoreCore
e
identifier (#14724) @samuelsycamoreEscape
event firing event (#14797) @oliviertassinariv7.18.0
Compare Source
Sep 20, 2024
We'd like to offer a big thanks to the 14 contributors who made this release possible. Here are some highlights ✨:
💫 Support Row spanning on the Data Grid that automatically merges the consecutive cells in a column based on the cell value
⏰ Support
date-fns
v4 (#14673) @LukasTy🎉 Add option for Pickers to change the order of displayed years (#11780) @thomasmoon
🐞 Bugfixes
📚 Documentation improvements
Data Grid
@mui/[email protected]
columnGroupHeaderHeight
prop for sizing column group headers (#14637) @KenanYusufdocument
reference when the grid is rendered in a popup window (#14649) @arminmehminFirstColumn
fromGetHeadersParams
interface (#14450) @k-rajat19@mui/[email protected]
Same changes as in
@mui/[email protected]
, plus:onRowsScrollEnd
being triggered instantly when bottom pinned row is present (#14602) @arminmehisEmpty
andisNotEmpty
filter operators (#14493) @k-rajat19@mui/[email protected]
Same changes as in
@mui/[email protected]
.Date and Time Pickers
@mui/[email protected]
date-fns
v4 (#14673) @LukasTy@mui/[email protected]
Same changes as in
@mui/[email protected]
.Charts
@mui/[email protected]
PolarProvider
to manage polar axes (#14642) @alexfauquetteLineChart
animation being stuck with initial drawing area value (#14553) @JCQuintas@mui/[email protected]
Same changes as in
@mui/[email protected]
.Tree View
@mui/[email protected]
"use client"
directive to every public component and hook (#14579) @flaviendelangleDocs
groupingValueGetter
callout in column definition docs (#14599) @michelengelenvale-action.yml
from main repo @oliviertassinarivalueGetter
andvalueFormatter
signature change (#14613) @cherniavskiiobserve
method to avoid flaky wait for a callback (#14640) @arminmehCore
master
(#14644) @cherniavskiipackage.json
repository rule @oliviertassinariv7.17.0
Compare Source
Sep 13, 2024
We'd like to offer a big thanks to the 12 contributors who made this release possible. Here are some highlights ✨:
Data Grid
@mui/[email protected]
:has()
selectors (#14559) @KenanYusuf@mui/[email protected]
Same changes as in
@mui/[email protected]
.@mui/[email protected]
Same changes as in
@mui/[email protected]
.Date and Time Pickers
@mui/[email protected]
useSplitFieldProps
and make it public (#14514) @flaviendelangle"use client"
directive to every public component and hook (#14562) @flaviendelangle@mui/[email protected]
Same changes as in
@mui/[email protected]
, plus:currentMonthCalendarPosition
not scrolling to future sibling (#14442) @GMchrisCharts
@mui/[email protected]
"use client"
directive to every public component and hook (#14578) @flaviendelangleonItemClick
on theLegend
component (#14231) @JCQuintasonAxisClick
withlayout='horizontal'
(#14547) @alexfauquettepath
withcircle
for performance improvement (#14518) @alexfauquette@mui/[email protected]
Same changes as in
@mui/[email protected]
.Tree View
@mui/[email protected]
useTreeItem2
stable (#14498) @flaviendelangleDocs
console.error
messages oncharts
docs (#14554) @JCQuintasCore
@mui/x-internals
(#14528) @k-rajat19ESLint plugins
renovate group (#14574) @LukasTyact()
logic (#14529) @oliviertassinariv7.16.0
Compare Source
Sep 5, 2024
We'd like to offer a big thanks to the 13 contributors who made this release possible. Here are some highlights ✨:
slots
concept introduction documentation page (#13881)Data Grid
@mui/[email protected]
GridFilterInputMultipleValue
(#14302) @sai6855columns
andcolumnGroupingModel
update (#14368) @cherniavskiiautoHeight
prop enabled (#14235) @KenanYusuf@mui/[email protected]
Same changes as in
@mui/[email protected]
, plus:@mui/[email protected]
[](https://mui.com/r/x-premium-svg-liConfiguration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.