[code-infra] Add pkg-pr-new as dev dependency#48023
Merged
silviuaavram merged 2 commits intomui:v7.xfrom Mar 18, 2026
Merged
Conversation
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Netlify deploy previewhttps://deploy-preview-48023--material-ui.netlify.app/ Bundle size report
|
Janpot
approved these changes
Mar 18, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates the monorepo for the 7.3.9 release cycle, including adding pkg-pr-new to devDependencies and landing multiple infra, theme, component, codemod, and docs updates.
Changes:
- Add
pkg-pr-newas a dev dependency and update lockfile-related package version bumps to7.3.9. - Improve theming + component behavior (e.g., nativeColor
color-mix()generation, Tooltip blur handling, Autocomplete slotting, layout-support warnings). - Expand and refresh docs content (new Menubar docs, migration page, cookie consent/analytics integration, sponsors, copy fixes).
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 8 comments.
Show a summary per file
| File | Description |
|---|---|
| packages/mui-material/src/transitions/transition.ts | Type updates for optional easing props. |
| packages/mui-material/src/styles/overrides.ts | Allow MuiCssBaseline to be explicitly undefined. |
| packages/mui-material/src/styles/createThemeWithVars.js | Generate color-mix() using CSS variables when nativeColor is enabled. |
| packages/mui-material/src/styles/createThemeFoundation.ts | Tighten ColorSystemOptions typing with explicit undefined. |
| packages/mui-material/src/styles/createTheme.ts | Explicit undefined in ThemeOptions/return typing. |
| packages/mui-material/src/styles/createTheme.test.js | Add new nativeColor CSS-var color-mix() regression test. |
| packages/mui-material/src/styles/createGetSelector.ts | Explicit undefined typing for selector config fields. |
| packages/mui-material/src/styles/createColorScheme.ts | Explicit undefined for colorSpace option. |
| packages/mui-material/src/styles/ThemeProvider.tsx | Explicit undefined for ThemeProvider prop typings. |
| packages/mui-material/src/locale/utils/LocaleTextApi.ts | Refine localization typings to include explicit undefined. |
| packages/mui-material/src/internal/index.ts | Refine InternalStandardProps optional fields with explicit undefined. |
| packages/mui-material/src/Unstable_TrapFocus/FocusTrap.types.ts | Refine FocusTrap prop typing (optional callbacks/refs). |
| packages/mui-material/src/Tooltip/Tooltip.js | Harden blur handling when onBlur() is invoked without an event. |
| packages/mui-material/src/ToggleButtonGroup/ToggleButtonGroupContext.ts | Explicit undefined for context optional fields. |
| packages/mui-material/src/TextareaAutosize/TextareaAutosize.types.ts | Explicit undefined for props. |
| packages/mui-material/src/Tabs/Tabs.js | Use isLayoutSupported() for dev warnings gating. |
| packages/mui-material/src/StepLabel/StepLabel.js | Deduplicate CSS rules by combining selectors. |
| packages/mui-material/src/StepIcon/StepIcon.js | Deduplicate CSS rules by combining selectors. |
| packages/mui-material/src/SpeedDialIcon/SpeedDialIcon.js | Deduplicate CSS rules in styled variants. |
| packages/mui-material/src/Snackbar/useSnackbar.types.ts | Explicit undefined for optional fields/callbacks. |
| packages/mui-material/src/Slider/useSlider.types.ts | Explicit undefined for optional slider parameters/slot props. |
| packages/mui-material/src/Slider/useSlider.ts | Explicit undefined typing for internal optional params. |
| packages/mui-material/src/Slider/SliderValueLabel.types.ts | Explicit undefined in optional props typing. |
| packages/mui-material/src/Slider/Slider.spec.tsx | Add TS coverage for readonly array slider values. |
| packages/mui-material/src/Slide/Slide.js | Use isLayoutSupported() and wrap warnings in dev-only block. |
| packages/mui-material/src/Portal/Portal.types.ts | Explicit undefined in Portal prop typing. |
| packages/mui-material/src/Popper/Popper.tsx | Explicit undefined in Popper prop typing. |
| packages/mui-material/src/Popper/BasePopper.types.ts | Explicit undefined in BasePopper types. |
| packages/mui-material/src/Popper/BasePopper.tsx | Use isLayoutSupported() and dev-only warning wrapper. |
| packages/mui-material/src/Popover/Popover.js | Use isLayoutSupported() and dev-only warning wrapper. |
| packages/mui-material/src/PigmentStack/PigmentStack.tsx | Explicit undefined in PigmentStack typing. |
| packages/mui-material/src/PigmentGrid/PigmentGrid.tsx | Explicit undefined in PigmentGrid typing. |
| packages/mui-material/src/PigmentContainer/PigmentContainer.tsx | Explicit undefined in PigmentContainer typing. |
| packages/mui-material/src/OverridableComponent/index.ts | Explicit undefined in CommonProps typing. |
| packages/mui-material/src/NoSsr/NoSsr.types.ts | Explicit undefined for defer prop. |
| packages/mui-material/src/Modal/useModal.types.ts | Explicit undefined across modal hook parameter typing. |
| packages/mui-material/src/Modal/ModalManager.ts | Explicit undefined for disableScrollLock. |
| packages/mui-material/src/ListItemText/ListItemText.js | Add comment around emotion selector workaround. |
| packages/mui-material/src/InitColorSchemeScript/InitColorSchemeScript.tsx | Explicit undefined in InitColorSchemeScript props. |
| packages/mui-material/src/Grid/Grid.tsx | Explicit undefined in Grid typings. |
| packages/mui-material/src/Dialog/DialogContext.ts | Explicit undefined for titleId. |
| packages/mui-material/src/ClickAwayListener/ClickAwayListener.tsx | Explicit undefined in ClickAwayListener props. |
| packages/mui-material/src/CardHeader/CardHeader.js | Add comment around emotion selector workaround. |
| packages/mui-material/src/ButtonGroup/ButtonGroupContext.ts | Explicit undefined in context typing. |
| packages/mui-material/src/Badge/useBadge.types.ts | Explicit undefined for optional parameters. |
| packages/mui-material/src/Autocomplete/Autocomplete.test.js | Expand slot/slotProps test coverage and add focus regression test. |
| packages/mui-material/src/Autocomplete/Autocomplete.js | Move more internals to useSlot and expose additional slots. |
| packages/mui-material/package.json | Bump package version to 7.3.9. |
| packages/mui-material-pigment-css/package.json | Bump package version to 7.3.9. |
| packages/mui-material-nextjs/src/v13-pagesRouter/pagesRouterV13Document.tsx | Explicit undefined in options typing. |
| packages/mui-material-nextjs/src/v13-pagesRouter/pagesRouterV13App.tsx | Explicit undefined in provider props typing. |
| packages/mui-material-nextjs/src/v13-pagesRouter/createCache.ts | Explicit undefined for enableCssLayer option. |
| packages/mui-material-nextjs/src/v13-appRouter/appRouterV13.tsx | Explicit undefined in options/CacheProvider typing. |
| packages/mui-material-nextjs/package.json | Bump package version to 7.3.9. |
| packages/mui-lab/src/themeAugmentation/components.ts | Explicit undefined across Lab theme augmentation types. |
| packages/mui-lab/src/Timeline/Timeline.types.ts | Explicit undefined in Timeline typings. |
| packages/mui-lab/package.json | Bump lab beta version to 7.0.1-beta.23. |
| packages/mui-icons-material/package.json | Bump package version to 7.3.9. |
| packages/mui-docs/src/i18n/i18n.tsx | Gate missing-translation warnings behind dev mode. |
| packages/mui-docs/package.json | Bump package version to 7.3.9. |
| packages/mui-core-downloads-tracker/package.json | Bump package version to 7.3.9. |
| packages/mui-codemod/src/v5.0.0/top-level-imports.js | Change whitelist resolution to @mui/material-v5/modern. |
| packages/mui-codemod/src/v5.0.0/path-imports.js | Remove test-only require.resolve override hook. |
| packages/mui-codemod/src/deprecations/autocomplete-props/test-cases/theme.expected.js | Update codemod expected output for renderTags→renderValue. |
| packages/mui-codemod/src/deprecations/autocomplete-props/test-cases/theme.actual.js | Update codemod inputs for renderTags→renderValue. |
| packages/mui-codemod/src/deprecations/autocomplete-props/test-cases/package.expected.js | Update codemod expected output and imports. |
| packages/mui-codemod/src/deprecations/autocomplete-props/test-cases/package.actual.js | Update codemod inputs and imports. |
| packages/mui-codemod/src/deprecations/autocomplete-props/test-cases/expected.js | Update core codemod expected output and hook renames. |
| packages/mui-codemod/src/deprecations/autocomplete-props/test-cases/actual.js | Update core codemod inputs and hook renames. |
| packages/mui-codemod/src/deprecations/autocomplete-props/autocomplete-props.js | Implement renderTags→renderValue + useAutocomplete return renames. |
| packages/mui-codemod/package.json | Bump package version and move @mui/material-v5 dep. |
| packages/mui-codemod/README.md | Document new codemod behavior (renderTags/useAutocomplete fields). |
| packages-internal/scripts/typescript-to-proptypes/src/getPropTypesFromFile.ts | Improve detection of `React.ElementType |
| packages-internal/scripts/package.json | Bump internal scripts version to 2.0.19. |
| package.json | Bump root version, update internal-code-infra, add pkg-pr-new. |
| eslint.config.mjs | Enable new lint rules for explicit undefined and dev-wrapper enforcement. |
| docs/translations/translations.json | Add Menubar + migration route translations. |
| docs/translations/api-docs/autocomplete/autocomplete.json | Update Autocomplete slot/class description strings. |
| docs/src/modules/components/TopLayoutBlog.js | Add new blog author entries. |
| docs/src/modules/components/DiamondSponsors.js | Add new diamond sponsor rendering entry. |
| docs/src/modules/components/AppSearch.js | Switch Algolia index and facet filtering behavior. |
| docs/src/modules/components/AnalyticsProvider.tsx | Add cookie consent + analytics consent management. |
| docs/src/components/home/GoldSponsors.tsx | Add a new gold sponsor entry. |
| docs/src/components/home/DiamondSponsors.tsx | Add a new diamond sponsor entry. |
| docs/src/components/banner/TableOfContentsBanner.tsx | Update banner link target. |
| docs/src/components/banner/AppHeaderBanner.tsx | Add pricing banner messaging on pricing page. |
| docs/src/BrandingCssVarsProvider.tsx | Cache theme creation and extract BrandingCssThemeProvider wrapper. |
| docs/scripts/generateTemplateScreenshots.ts | Copy edit in script usage comment. |
| docs/public/_redirects | Point MUI X routes to new Netlify domain. |
| docs/pages/system/api/box.json | Add Menubar demo link to System Box API page. |
| docs/pages/material-ui/react-menubar.js | Add new public Menubar docs route. |
| docs/pages/material-ui/migration/v7/migrating-from-deprecated-apis.js | Add new migration route page. |
| docs/pages/material-ui/api/typography.json | Add Menubar demo link to Typography API page. |
| docs/pages/material-ui/api/paper.json | Add Menubar demo link to Paper API page. |
| docs/pages/material-ui/api/list.json | Add Menubar demo link to List API page. |
| docs/pages/material-ui/api/list-subheader.json | Add Menubar demo link to ListSubheader API page. |
| docs/pages/material-ui/api/list-item-text.json | Add Menubar demo link to ListItemText API page. |
| docs/pages/material-ui/api/list-item-icon.json | Add Menubar demo link to ListItemIcon API page. |
| docs/pages/material-ui/api/list-item-button.json | Add Menubar demo link to ListItemButton API page. |
| docs/pages/material-ui/api/divider.json | Add Menubar demo link to Divider API page. |
| docs/pages/material-ui/api/button.json | Add Menubar demo link to Button API page. |
| docs/pages/material-ui/api/box.json | Add Menubar demo link to Material Box API page. |
| docs/pages/material-ui/api/autocomplete.json | Update slot/class metadata for new Autocomplete slots. |
| docs/pages/blog/material-ui-is-now-mui.md | Copy edit fix in blog post. |
| docs/pages/blog/2026-and-beyond.md | Copy edits and swap external assets for local images. |
| docs/pages/blog/2026-MUI-X-price-changes.md | Add new pricing-change announcement blog post. |
| docs/pages/blog/2026-MUI-X-price-changes.js | Add blog page wrapper for new post. |
| docs/pages/_document.js | Add Google Consent Mode defaults and Apollo loader + persisted-consent check. |
| docs/pages/_app.js | Wrap docs in AnalyticsProvider. |
| docs/package.json | Make deploy script use current branch instead of master. |
| docs/data/system/styled/styled.md | Minor copy clarification around sx support. |
| docs/data/system/styled/BasicUsage.tsx | Add comments clarifying px conversion. |
| docs/data/system/styled/BasicUsage.js | Add comments clarifying px conversion. |
| docs/data/system/sizing/sizing.md | Clarify (0, 1] number behavior and pixel behavior. |
| docs/data/material/pages.ts | Add Menubar + new migration page to nav. |
| docs/data/material/migration/upgrade-to-v7/upgrade-to-v7.md | Link to new deprecations migration page. |
| docs/data/material/migration/upgrade-to-v7/migrating-from-deprecated-apis.md | Add new migration guide content for deprecated APIs. |
| docs/data/material/integrations/tailwindcss/tailwindcss-v4.md | Update Tailwind token mapping examples and playground link. |
| docs/data/material/discover-more/backers/backers.md | Add sponsor entries and update slot counts. |
| docs/data/material/customization/theming/theming.md | Fix video attributes/source and add community theme builder link. |
| docs/data/material/customization/overriding-component-structure/overriding-component-structure.md | Fix JSX example component name. |
| docs/data/material/customization/css-theme-variables/native-color.md | Add missing demo reference. |
| docs/data/material/customization/css-theme-variables/configuration.md | Grammar fix in SSR flicker section. |
| docs/data/material/customization/css-theme-variables/ModernColorSpaces.tsx | Simplify data structure for radio options. |
| docs/data/material/customization/css-theme-variables/ModernColorSpaces.js | Simplify data structure for radio options. |
| docs/data/material/customization/color/color.md | Add community theme builder link. |
| docs/data/material/components/number-field/number-field.md | Fix typo in section link text. |
| docs/data/material/components/menus/GroupedMenu.tsx | Preserve muiSkipListHighlight static field after styling wrapper. |
| docs/data/material/components/menus/GroupedMenu.js | Preserve muiSkipListHighlight static field after styling wrapper. |
| docs/data/material/components/menubar/menubar.md | Add new Menubar documentation page content. |
| docs/data/material/components/menubar/components/Menubar.tsx | Add composed Material-styled wrappers for Base UI Menubar/Menu. |
| docs/data/material/components/menubar/components/Menubar.js | Add JS (propTypes) version of Menubar composed components. |
| docs/data/material/components/menubar/ShortcutHintsMenubar.tsx | Add Menubar demo (shortcut hints). |
| docs/data/material/components/menubar/ShortcutHintsMenubar.js | Add Menubar demo (shortcut hints). |
| docs/data/material/components/menubar/RadioGroupItemsMenubar.tsx | Add Menubar demo (radio group items). |
| docs/data/material/components/menubar/RadioGroupItemsMenubar.js | Add Menubar demo (radio group items). |
| docs/data/material/components/menubar/IconItemsMenubar.tsx | Add Menubar demo (icon items). |
| docs/data/material/components/menubar/IconItemsMenubar.js | Add Menubar demo (icon items). |
| docs/data/material/components/menubar/GroupLabelMenubar.tsx | Add Menubar demo (group labels). |
| docs/data/material/components/menubar/GroupLabelMenubar.js | Add Menubar demo (group labels). |
| docs/data/material/components/menubar/CheckboxItemsMenubar.tsx | Add Menubar demo (checkbox items). |
| docs/data/material/components/menubar/CheckboxItemsMenubar.js | Add Menubar demo (checkbox items). |
| docs/data/material/components/menubar/BasicMenubar.tsx | Add Menubar demo (basic). |
| docs/data/material/components/menubar/BasicMenubar.js | Add Menubar demo (basic). |
| README.md | Add new sponsor link entries. |
| CHANGELOG.md | Add 7.3.9 changelog section. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
You can also share your feedback on Copilot code review. Take the survey.
brijeshb42
approved these changes
Mar 18, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add the dev dependency from #47992
pnpm installandpnpm dedupeand commit the lockfile changes