-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
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
[system][core] Standardize index pattern #41574
[system][core] Standardize index pattern #41574
Conversation
Netlify deploy preview@material-ui/core: parsed: -3.46% 😍, gzip: -2.75% 😍 Bundle size reportDetails of bundle changes (Toolpad) |
e3787c0
to
bbf1791
Compare
bbf1791
to
e2de1a8
Compare
I'm not sure why the |
e2de1a8
to
95f2bc8
Compare
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.
LGTM
'use client' | ||
export * from './colorManipulator' |
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.
We are missing semicolons in these files, how did the CI pass? 😕 I created #41636 to address this.
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.
how did the CI pass?
> @mui/[email protected] prettier /tmp/material-ui
> pretty-quick --ignore-path .eslintignore "--check"
🔍 Finding changed files since git revision null.
🎯 Found 0 changed files.
✅ Everything is awesome!
I believe we're hitting prettier/pretty-quick#127
We should probably add the --branch
flag to pretty-quick
?
Part of #30671
Standardize index pattern in
@mui/system
package, in which all exports have the build structureThis eases the move into using the
exports
field. This pattern is followed in all other packages except@mui/icons-material
, an exception as we'll move it to ESM only.Breaking changes
Added here: https://deploy-preview-41574--material-ui.netlify.app/system/migration/migration-v5/
@mui/system
package no longer has CJS in its root, but ESM instead, which was previously inside theesm/
build. The CJS code is moved to thenode/
build.cssGrid
's functionGridProps
type toCssGridProps
, asGridProps
was already being used for theGrid
component.