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

Bump @material-ui/core to ^5.0.0-beta.4 #27768

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Aug 15, 2021

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@material-ui/core (source) ^5.0.0-alpha.4 -> ^5.0.0-beta.4 age adoption passing confidence

Release Notes

mui-org/material-ui

v5.0.0-beta.4

Compare Source

Aug 13, 2021

Big thanks to the 19 contributors who made this release possible. Here are some highlights ✨:

@material-ui/[email protected]
Breaking changes
  • [Grid] Fix "auto" behavior to match natural width of its content (#​27514) @​aaronlademann-wf
Changes
  • [ButtonBase] Fix tabIndex type (#​27684) @​kylegach
  • [MenuList] Fix text navigation (#​27526) @​ryancogswell
  • [l10n] Add Arabic Sudan (ar-SD) locale (#​27588) @​YassinHussein
  • [Radio] Fix size prop forwarding with custom icons (#​27656) @​DouglasPds
  • [TextField] Password visibility icons ( "visibility" ⇔ "visibility-off" ) should be reversed (#​27507) @​tonextone
  • [ToggleButton] Fix handling of color prop (#​27635) @​oliviertassinari
@material-ui/[email protected]
  • [codemod] Fix filename case sensitive duplicate @​oliviertassinari
@material-ui/[email protected]
  • [StyledEngineProvider] Remove unnecessary emotion cache export (#​27680) @​garronej
  • [system] Fix missing filterProps in compose type (#​27618) @​R-Bower
@material-ui/[email protected]
  • [CalendarPicker] Improve contrast between enabled and disabled days (#​27603) @​nikitabobers
  • [PickersDay] Render `children` if specified (#​27462) @​abriginets
  • [TreeView] Fix TreeItem label overflow (#​27585) @​LorenzHenk
Docs
  • [docs] Update guides for @​material-ui/styled-engine-sc installation (#​27602) @​mnajdova
  • [docs] Document that @​material-ui/styles is not strict mode compatible (#​27639) @​oliviertassinari
  • [docs] Link to "Customization of Theme" from relevant theme interfaces (#​27689) @​eps1lon
  • [docs] Update CSP page (#​27627) @​mnajdova
  • [docs] Reorder and rename "enforce value" ToggleButton demo (#​27678) @​LorenzHenk
  • [docs] Fix missing dependency in the DataGrid demo (#​27597) @​m4theushw
  • [docs] img should have a src attribute (#​27632) @​oliviertassinari
  • [docs] Add badges to Transfer List (#​27634) @​oliviertassinari
  • [docs] Recommend the `direct-import` babel plugin over `transform-import` (#​27335) @​umidbekk
  • [docs] Remove unused code (#​27711) @​eps1lon
  • [docs] Improve virtualization demo (#​27340) @​vedadeepta
  • [examples] Include a follow-up on the example (#​27620) @​matiasherranz
  • [website] Add about page (#​27599) @​siriwatknp
  • [website] Add pricing page (#​27598) @​siriwatknp
Core
  • [core] Batch small changes (#​27636) @​oliviertassinari
  • [core] Change range strategy to bump (#​27652) @​oliviertassinari
  • [core] Fix visual regression example images (#​27660) @​eps1lon
  • [core] Remove diff when running yarn docs:dev (#​27720) @​eps1lon
  • [core] Remove mocks of require.context in markdown loader (#​27406) @​eps1lon
  • [core] Reduce use CSS when Checkbox disableRipple is set (#​27568) @​oliviertassinari
  • [test] Add coverage for jss-to-styled prefix from filename (#​27522) @​eps1lon
  • [test] Add current behavior for a11y name vs visible name for PickersDay (#​27661) @​eps1lon
  • [test] Dodge double logging in dev mode (#​27653) @​oliviertassinari
  • [test] Enable skipped test fixed by upstream React fix (#​27615) @​eps1lon
  • [theme] Add missed variants in Components interface (#​27453) @​nikitabobers

All contributors of this release in alphabetical order: @​aaronlademann-wf, @​abriginets, @​DouglasPds, @​eps1lon, @​garronej, @​kylegach, @​LorenzHenk, @​m4theushw, @​matiasherranz, @​mnajdova, @​nikitabobers, @​oliviertassinari, @​R-Bower, @​ryancogswell, @​siriwatknp, @​tonextone, @​umidbekk, @​vedadeepta, @​YassinHussein

v5.0.0-beta.3

Compare Source

Aug 6, 2021

Big thanks to the 15 contributors who made this release possible. Here are some highlights ✨:

  • ✨ `jss-to-styled` codemod has been improved to support `createStyles` and `` usage (#​27578) @​mnajdova
@material-ui/[email protected]
  • [Modal] Restore `overflowX` and `overflowY` styles (#​27487) @​PCOffline
  • [Modal] Remove unnecessary check for children.props.tabIndex (#​27374) @​noviicee
  • [Select] Fix regression for icon not rotating (#​27511) @​mnajdova
@material-ui/[email protected]
  • [system] Added top, left, right and bottom border color CSS properties to system (#​27580) @​R-Bower
@material-ui/[email protected]
  • [codemod] Add support for `createStyles` usage in `jss-to-styled` (#​27578) @​mnajdova
  • [codemod] Fix `jss-to-styled` PREFIX generation on Windows (#​27491) @​mnajdova
  • [codemod] Fix `jss-to-styled` codemod to handle React.Fragment as root (#​27495) @​mnajdova
@material-ui/[email protected]
  • [FormControl] Create FormControlUnstyled (#​27240) @​michaldudak
  • [Autocomplete] Move useAutocomplete to the Unstyled package (#​27485) @​michaldudak
Docs
  • [docs] Fix layout shift when opening hash anchor (#​27619) @​oliviertassinari
  • [docs] Add TypeScript guide for the `sx` prop (#​27417) @​mnajdova
  • [docs] Hardcode listed colors in /customization/color/#playground (#​27446) @​eps1lon
  • [docs] Bring back Select#onChange signature API (#​27443) @​eps1lon
  • [docs] Remove backticks in the title (#​27567) @​oliviertassinari
  • [docs] Fix 404 links (#​27566) @​oliviertassinari
  • [docs] Use the same h2 for the customization demos (#​27569) @​oliviertassinari
  • [docs] Fix syntax error in v5 migration `styled` api example (#​27518) @​kimbaudi
  • [docs] Improve SSR configuration with emotion (#​27496) @​frandiox
  • [docs] Change "pseudo-classes" to "state classes" (#​27570) @​michaldudak
  • [docs] Add StackBlitz edit demo integration (#​27391) @​sulco
  • [docs] Remove unnecessary generic argument (#​27516) @​bezpalko
  • [docs] Add customization demos (#​27411) @​siriwatknp
  • [docs] Restore initial descriptionRegExp logic (#​27436) @​oliviertassinari
  • [docs] Polish jss-to-styled docs (#​27457) @​oliviertassinari
  • [examples] Fix nextjs with styled-components example (#​27583) @​mnajdova
  • [examples] Update create-react-app examples with styled-components to use package aliases (#​27591) @​mnajdova
  • [examples] Improve integration examples with Next.js (#​27331) @​Harshita-Kanal
  • [website] Add spicefactory as gold sponsor @​oliviertassinari
  • [website] Homepage rebranding (#​27488) @​siriwatknp
  • [website] Add Flavien to team and about pages (#​27575) @​flaviendelangle
  • [website] Add Ryan to Community contributors for Stack Overflow contributions (#​27529) @​ryancogswell
  • [website] Add references section to home (#​27444) @​siriwatknp
Core
  • [core] rebaseWhen=auto does not seem to work (#​27565) @​oliviertassinari
  • [core] Improve instructions for the @​material-ui/styles migration (#​27466) @​mnajdova
  • [core] Batch small changes (#​27435) @​oliviertassinari
  • [core] Receive patch and minor dependency updates (#​27455) @​eps1lon
  • [test] Update coverage to include all @​material-ui packages (#​27521) @​eps1lon
  • [test] Lint codemod tests (#​27519) @​eps1lon
  • [test] Allow tests to run for 6s before timeout (#​27456) @​oliviertassinari

All contributors of this release in alphabetical order: @​bezpalko, @​eps1lon, @​flaviendelangle, @​frandiox, @​Harshita-Kanal, @​kimbaudi, @​michaldudak, @​mnajdova, @​noviicee, @​oliviertassinari, @​PCOffline, @​R-Bower, @​ryancogswell, @​siriwatknp, @​sulco

v5.0.0-beta.2

Compare Source

Jul 26, 2021

Big thanks to the 20 contributors who made this release possible. Here are some highlights ✨:

  • ✨ We introduced new codemod for converting JSS styles to emotion (#​27292) @​siriwatknp
    It should help adoption of v5, by making possible the removal of JSS sooner.

  • 🐛 The majority of other changes in this release were bug fixes, test utilities and docs.

@material-ui/[email protected]
  • [Autocomplete] Explain how the loading prop works (#​27416) @​michaldudak
  • [Autocomplete] Update input value when the input changes (#​27313) @​turtleseason
  • [Autocomplete] Popper is not closing when the Autocomplete is disabled (#​27312) @​Goodiec
  • [Checkbox] Skip default hover styles with `disableRipple` (#​27314) @​faan234
  • [Dialog] Fix override paper styles (#​27423) @​newsiberian
  • [Grid] Remove width prop for rowSpacing (#​27326) @​sashkopavlenko
  • [Input] Merge `componentsProps` correctly (#​27371) @​mnajdova
  • [Pagination] Fixed usePagination requires @​emotion in development mode (#​27348) @​ruppysuppy
  • [Pagination] Fix :hover effect on previous/next button (#​27304) @​Aubrey-Li
  • [Popper] Consistent timing of popper instance creation (#​27233) @​eps1lon
  • [Select] Add `SelectChangeEvent` for accurate types for event in onChange prop (#​27370) @​eps1lon
  • [Tabs] Use theme transition duration for the Tab animation (#​27303) @​florianbepunkt
  • [TextField] Allow custom colors in FormLabel (#​27337) @​oliviertassinari
  • [TextField] Fix name of componentsProps (#​27338) @​oliviertassinari
  • [transitions] Make sure inline styles used for transition values if declared (#​27140) @​eps1lon
@material-ui/[email protected]
  • [codemod] Add `optimal-imports` for v5 (#​27404) @​mnajdova
  • [codemod] Add jss to emotion codemod (#​27292) @​siriwatknp
  • [codemod] Fix running codemod CLI on Windows (#​27395) @​michaldudak
  • [codemod] Fix published version (#​27384) @​eps1lon
  • [codemod] Improve README.md (#​27257) @​mnajdova
@material-ui/[email protected]
  • [NoSsr] Move NoSsr to the Unstyled package (#​27356) @​michaldudak
@material-ui/[email protected]
  • [utils] Convert createChainedFunction to TypeScript (#​27386) @​eps1lon
@material-ui/[email protected]
  • [system] Compute display name of `styled` component if `name` isn't set (#​27401) @​eps1lon
  • [system] Adds missing type for `shouldForwardProp` (#​27310) @​KLubin1
@material-ui/[email protected]
  • [pickers] Only accept dates from adapters in min/max props (#​27392) @​eps1lon
  • [pickers] Fallback to today if all possible dates are disabled (#​27294) @​eps1lon
  • [pickers] Minify error when LocalizationProvider is missing (#​27295) @​eps1lon
  • [pickers] Fix Fade animation behavior change (#​27283) @​oliviertassinari
Docs
  • [docs] Display Popper arrow correctly (#​27339) @​Patil2099
  • [docs] Focus pickers introduction on Material-UI (#​27394) @​eps1lon
  • [docs] Fix wrong import path in @​material-ui/styles section (#​27427) @​WeldonTan
  • [docs] Update color imports (#​27321) @​siriwatknp
  • [docs] Sync params of callbacks between types and JSDoc description (#​27366) @​eps1lon
  • [docs] Add migration note for synthetic native events in onChange (#​27368) @​eps1lon
  • [docs] Improve unstyled docs (#​27382) @​oliviertassinari
  • [docs] Update `Transitions` page (#​27319) @​siriwatknp
  • [docs] Add Unstyled components docs page (#​27158) @​michaldudak
  • [docs] Fix app bar regression (#​27373) @​mnajdova
  • [docs] Update migration guide to have a section on nested classes (#​27354) @​mnajdova
  • [docs] Convert App* components to emotion (#​27150) @​eps1lon
  • [docs] Fix duplicate "Theme" header (#​27353) @​eps1lon
  • [docs] Remove horizontal scrollbar in MiniDrawer (#​27055) @​AlvesJorge
  • [docs] Add `makeStyles` explanation in troubleshooting (#​27322) @​siriwatknp
  • [docs] Fix ExpansionPanel migration notes (#​27352) @​eps1lon
  • [docs] Transpile markdown files (#​27349) @​eps1lon
  • [docs] Fix typo in the word typography (#​27329) @​tudi2d
  • [docs] Use actual symbol of kilogram (#​27332) @​getsnoopy
  • [docs] Make migration doc easier to follow (#​26948) @​siriwatknp
  • [examples] Cleanup `gatsby` examples (#​27375) @​mnajdova
  • [examples] Create nextjs example using styled-components (#​27088) @​hboylan
  • [examples] Update gatsby example to use custom plugin (#​27357) @​mnajdova
Core
  • [core] Remove obsolete styles documentation (#​27350) @​eps1lon
  • [core] Fix GitHub language detection (#​27298) @​oliviertassinari
  • [test] Include coverage report of browser tests (#​27389) @​eps1lon
  • [test] Add current behavior for getDisplayName with context components (#​27402) @​eps1lon
  • [test] Enable skipped picker tests (#​27268) @​eps1lon
  • [website] Add hero section to homepage (#​27364) @​siriwatknp

All contributors of this release in alphabetical order: @​AlvesJorge, @​Aubrey-Li, @​eps1lon, @​faan234, @​florianbepunkt, @​g
etsnoopy, @​Goodiec, @​hboylan, @​KLubin1, @​michaldudak, @​mnajdova, @​newsiberian, @​oliviertassinari, @​Patil2099, @​ruppysupp
y, @​sashkopavlenko, @​siriwatknp, @​tudi2d, @​turtleseason, @​WeldonTan

v5.0.0-beta.1

Compare Source

Jul 14, 2021

Big thanks to the 17 contributors who made this release possible. Here are some highlights ✨:

@material-ui/[email protected]
Breaking changes
Changes
@material-ui/[email protected]
@material-ui/[email protected]
@material-ui/[email protected]
@material-ui/[email protected]
Docs
Core

All contributors of this release in alphabetical order: @​eps1lon, @​mbrookes, @​michal-perlakowski, @​michaldudak, @​mnajdova, @​moshfeu, @​oliviertassinari, @​rajzik, @​renovate[bot], @​sahil-blulabs, @​ShirasawaSama, @​siriwatknp, @​vimutti77

v5.0.0-beta.0

Compare Source

Jul 01, 2021

Big thanks to the 13 contributors who made this release possible. Here are some highlights ✨:

  • 🎉 This is the first beta release of v5! A huge thanks to everyone who helped to make this happen! We're targeting the 1st of September for a stable release, and will use the next two months to polish v5, and ease the migration from v4. You can follow the v5 stable milestone for more details. We now encourage any new projects to start on v5.
  • 🚀 We have completed all the planned breaking changes.
  • ⚒️ We added the codemod CLI to simplify migration to v5 (#​26941) @​eps1lon. You can find it at @material-ui/codemod.
  • 🐛 The majority of other changes in this release were bug fixes, test utilities and docs.
@material-ui/[email protected]
Breaking changes
  • [Tabs] Remove unnecessary wrapper from Tab (#​26926) @​siriwatknp

    span element that wraps children has been removed. wrapper classKey is also removed. More details about this change.

    <button class="MuiTab-root">
    - <span class="MuiTab-wrapper">
        {icon}
        {label}
    - </span>
    </button>
  • [BottomNavigation] Remove wrapper from BottomNavigationAction (#​26923) @​siriwatknp

    span element that wraps children has been removed. wrapper classKey is also removed. More details about this change.

    <button class="MuiBottomNavigationAction-root">
    - <span class="MuiBottomNavigationAction-wrapper">
        {icon}
        <span class="MuiBottomNavigationAction-label">
          {label}
        </span>
    - </span>
    </button>
Changes
  • [Box] Fix TypeScript error on maxWidth prop (#​26859) @​ansh-saini
  • [Dialog] Automatically label by its DialogTitle (#​26814) @​eps1lon
  • [Hidden] Bring back and mark as deprecated (#​26908) @​siriwatknp
  • [List] Add button runtime deprecation warning (#​26743) @​siriwatknp
  • [Modal] Type BackdropProps according to styled version (#​26836) @​eps1lon
  • [Radio] Fix `defaultValue` to match the other value types (#​26945) @​oliviertassinari
  • [Stepper] Add completed to global pseudo-classes (#​26953) @​michal-perlakowski
  • [Stepper] Fix support for no connectors (#​26874) @​varandasi
  • [TextField] Prevent `hiddenLabel` from spreading to DOM (#​26864) @​siriwatknp
  • [TextField] Fix label disappearing when focusing a button (#​26933) @​michal-perlakowski
@material-ui/[email protected]
  • [codemod] Add CLI (#​26941) @​eps1lon
@​material-ui/icons@​5.0.0-beta.0
  • [icons] Regenerate transpiled files (#​26985) @​eps1lon
@​material-ui/lab@​5.0.0-alpha.39
Breaking changes
  • [DatePicker] Remove helper text default value (#​26866) @​DouglasPds

    Make the default rendered text field closer to the most common use cases (denser).

    <DatePicker
      label="Helper text example"
      value={value}
      onChange={onChange}
      renderInput={(params) => (
    -    <TextField {...params} />
    +    <TextField {...params} helperText={params?.inputProps?.placeholder} />
      )}
    >
Changes
  • [lab] Fix missing dependency on unstyled (#​26937) @​fishyFrogFace
  • [pickers] Consider TDate in ToolbarComponent types (#​27035) @​michal-perlakowski
@material-ui/[email protected]
  • [system] Support array overridesResolver (#​26824) @​siriwatknp
Docs
  • [docs] Add notes to Table demo about stableSort (#​27025) @​CarlosGomez-dev
  • [docs] Add gold sponsor (#​26968) @​oliviertassinari
  • [docs] Update unstyled demos to not depend on `@material-ui/core` (#​26869) @​mnajdova
  • [docs] Fix demo paths in windows (#​27004) @​eps1lon
  • [docs] Export all locales (#​27002) @​eps1lon
  • [docs] Misc CONTRIBUTING.md changes (#​26925) @​eps1lon
  • [docs] Fix /components/hidden merge conflict (#​26997) @​eps1lon
  • [docs] Fix 404 links (#​26963) @​oliviertassinari
  • [docs] Remove link that points to v4 blog post (#​26960) @​steveafrost
  • [docs] Use custom webpack loader for markdown (#​26774) @​eps1lon
  • [docs] Fix 301 links (#​26942) @​oliviertassinari
  • [docs] Add page for the `sx` prop (#​26769) @​mnajdova
  • [docs] pre-fill issue when a demo crashes (#​27034) @​eps1lon
  • [docs] Move styled page under system (#​26818)
Core
  • [core] Inline rollup-plugin-size-snapshot (#​26986) @​eps1lon
  • [core] Remove unused props clone (#​26992) @​oliviertassinari
  • [core] Fix tests on Windows (#​26931) @​michaldudak
  • [core] Fix merge conflict between #​26954 and #​26874 @​oliviertassinari
  • [core] Upgrade issues-helper to v2 (#​26955) @​michal-perlakowski
  • [core] Fix merge conflict (#​26928) @​eps1lon
  • [test] Convert HiddenCSS tests to testing-library (#​27019) @​eps1lon
  • [test] Convert NativeSelectInput tests to testing-library (#​26952) @​eps1lon
  • [test] Add a default mount implementation to conformance tests (#​26949) @​eps1lon
  • [test] Update tests to pass react@next (#​26967) @​eps1lon
  • [test] Add types to describeConformanceV5 (#​26954) @​eps1lon
  • [test] Use createPickerMount where appropriate (#​26951) @​eps1lon
  • [test] Convert SwipeableDrawer tests to testing-library (#​26916) @​eps1lon
  • [test] Convert Menu tests to testing-library (#​26915) @​eps1lon
  • [test] Convert Popover tests to testing-library (#​26913) @​eps1lon
  • [test] Convert Modal tests to testing-library (#​26912) @​eps1lon
  • [test] Make remaining testing-library tests StrictMode compatible (#​26924) @​eps1lon
  • [test] Only allow wrapping enzyme mount not creating (#​27018) @​eps1lon
  • [typescript] Disallow spreading TransitionHandlerProps (#​26927) @​eps1lon

All contributors of this release in alphabetical order: @​ansh-saini, @​BC-M, @​CarlosGomez-dev, @​DouglasPds, @​eps1lon, @​fishyFrogFace, @​michal-perlakowski, @​michaldudak, @​mnajdova, @​oliviertassinari, @​siriwatknp, @​steveafrost, @​varandasi

v5.0.0-alpha.38

Compare Source

Jun 23, 2021

Big thanks to the 18 contributors who made this release possible. Here are some highlights ✨:

  • 🚀 We have only 2 left in the breaking changes. The plan to release 5.0.0-beta.0 is on July 1st and will start to promote its usage over v4.

  • 🎨 We have updated Slider to match current Material Design guidelines.

  • 💡 IconButton now supports 3 sizes (small, medium, large). See demo.

  • ♿️ We have improved the default style of the Link to be more accessible (#​26145) @​ahmed-28

@material-ui/[email protected]
Breaking changes
  • [Menu] Use ButtonBase in MenuItem (#​26591) @​siriwatknp
    • Change the default value of anchorOrigin.vertical to follow the Material Design guidelines. The menu now displays below the anchor instead of on top of it. You can restore the previous behavior with:

       <Menu
      +  anchorOrigin={{
      +    vertical: 'top',
      +    horizontal: 'left',
      +  }}
    • The MenuItem component inherits the ButtonBase component instead of ListItem. The class names related to "MuiListItem-*" are removed and theming ListItem is no longer affecting MenuItem.

      -<li className="MuiButtonBase-root MuiMenuItem-root MuiListItem-root">
      +<li className="MuiButtonBase-root MuiMenuItem-root">
    • The prop listItemClasses was removed, you can use classes instead.

      -<MenuItem listItemClasses={{...}}>
      +<MenuItem classes={{...}}>
  • [theme] Improve default breakpoints (#​26746) @​siriwatknp

    The default breakpoints were changed to better match the common use cases. They also better match the Material Design guidelines. Read more about the change.

    {
      xs: 0,
      sm: 600,
    - md: 960,
    + md: 900,
    - lg: 1280,
    + lg: 1200,
    - xl: 1920,
    + xl: 1536,
    }

    If you prefer the old breakpoint values, use the snippet below.

    import { createTheme } from '@&#8203;material-ui/core/styles';
    
    const theme = createTheme({
      breakpoints: {
        values: {
          xs: 0,
          sm: 600,
          md: 960,
          lg: 1280,
          xl: 1920,
        },
      },
    });
  • [IconButton] Add size `large` and update styles (#​26748) @​siriwatknp

    The default size's padding is reduced to 8px which makes the default IconButton size of 40px. To get the old default size (48px), use size="large". The change was done to better match Google's products when Material Design stopped documenting the icon button pattern.

    - <IconButton>
    + <IconButton size="large">
  • [Slider] Adjust css to match the specification (#​26632) @​siriwatknp

    Rework the CSS to match the latest Material Design guidelines and make custom styles more intuitive. See documentation.

    You can reduce the density of the slider, closer to v4 with the size="small" prop.

  • [IconButton] Remove label span (#​26801) @​siriwatknp

    span element that wraps children has been removed. label classKey is also removed. More details about this change.

    <button class="MuiIconButton-root">
    - <span class="MuiIconButton-label">
        <svg />
    - </span>
    </button>
  • [core] Remove `unstable_` prefix on the `useThemeProps` hook (#​26777) @​mnajdova

    The following utilities were renamed to not contain the unstable_ prefix:

    • @material-ui/sytstem
     import {
    -  unstable_useThemeProps,
    +  useThemeProps,
     } from '@&#8203;material-ui/system';
    • @material-ui/core
     import {
    -  unstable_useThemeProps,
    +  useThemeProps,
     } from '@&#8203;material-ui/core/styles';
Changes
  • [Alert] Add support for custom colors (#​26831) @​varandasi
  • [Button] Fix loading text invisible when disabled (#​26857) @​DanielBretzigheimer
  • [ButtonBase] Consider as a link with a custom component and `to` prop (#​26576) @​shadab14meb346
  • [ButtonBase] Derive state on render instead of in layout effects (#​26762) @​eps1lon
  • [Drawer] Fix incorrect z-index (#​26791) @​michal-perlakowski
  • [Drawer] Remove incorrect transition handler props (#​26835) @​eps1lon
  • [Link] Improve accessibility support (#​26145) @​ahmed-28
  • [Modal] Fix calculating scrollbar size when using custom scrollbar (#​26816) @​michal-perlakowski
  • [Rating] Make input ids less predictable (#​26493) @​eps1lon
  • [Stepper] Add componentsProps.label to StepLabel (#​26807) @​michal-perlakowski
  • [Tabs] Show error when Tab has display: none (#​26783) @​michal-perlakowski
  • [theme] Add base color palette type to components (#​26697) @​siriwatknp
@material-ui/[email protected]
Breaking Changes
  • [system] Normalize api for `createBox` (#​26820) @​mnajdova
     import { createBox } from '@&#8203;material-ui/system';
    
    -const styled = createBox(defaultTheme);
    +const styled = createBox({ defaultTheme });
Changes
  • [system] Add ThemeProvider component (#​26787) @​mnajdova
Docs
  • [docs] Fix misspelling of the word Typography (#​26898) @​dmrqx
  • [docs] Instruct users to install @​material-ui/icons with the next tag (#​26873) @​michal-perlakowski
  • [docs] Sync translations (#​26828) @​l10nbot
  • [docs] Improve grammar of autocomplete/autofill section (#​26798) @​dijonkitchen
  • [docs] Explain "inherited props" better in the props table (#​26778) @​eps1lon
  • [docs] Fix documentation for upgrading to v5 (#​26812) @​tungdt-90
  • [docs] Improve notification color (#​26796) @​mnajdova
  • [docs] Fix various a11y issues with /customization/color (#​26757) @​eps1lon
  • [docs] Move custom theme to frame (#​26744) @​siriwatknp
  • [docs] Fix small PT typo fix: inciar -> iniciar (#​26775) @​brunocavalcante
  • [I10n] Add Chinese (Hong Kong) (zh-HK) locale (#​26637) @​kshuiroy
  • [l10n] Add sinhalese (siLK) locale (#​26875) @​pavinduLakshan
  • [examples] Rename nextjs typescript theme from tsx to ts (#​26862) @​Izhaki
Core
  • [test] Fix Drawer test API @​oliviertassinari
  • [test] Adjust expected useAutocomplete error messages for React 18 (#​26858) @​eps1lon
  • [test] Convert Drawer tests to testing-library (#​26837) @​eps1lon
  • [test] Convert remaining enzyme tests to testing-library (#​26832) @​eps1lon
  • [test] Ignore ReactDOM.hydrate deprecation warnings (#​26815) @​eps1lon
  • [test] Reduce flakiness (#​26761) @​eps1lon
  • [useId] Reduce likelyhood of collisions (#​26758) @​eps1lon
  • yarn deduplicate @​oliviertassinari
  • Fix running framer's prettier under pwsh (#​26819) @​michaldudak
  • [core] Update babel-plugin-optimize-clsx (#​26861) @​oliviertassinari
  • [core] Assume no document.all at runtime (#​26821) @​eps1lon
  • [core] Remove dependency on `@material-ui/private-theming` (#​26793) @​mnajdova
  • [core] Remove dependency on `@material-ui/styled-engine` (#​26792) @​mnajdova

All contributors of this release in alphabetical order: @​ahmed-28, @​brunocavalcante, @​DanielBretzigheimer, @​dijonkitchen, @​dmrqx, @​eps1lon, @​Izhaki, @​kshuiroy, @​l10nbot, @​michal-perlakowski, @​michaldudak, @​mnajdova, @​oliviertassinari, @​pavinduLakshan, @​shadab14meb346, @​siriwatknp, @​tungdt-90, @​varandasi

v5.0.0-alpha.37

Compare Source

Jun 15, 2021

Big thanks to the 11 contributors who made this release possible. Here are some highlights ✨:

  • 💄 Add support for responsive props on the Grid component (#​26590) @​likitarai1.
    This fixes a longstanding issue. You can now specify different values for each breakpoint.

    <Grid container spacing={{ xs: 2, md: 3 }} columns={{ xs: 1, sm: 2, md: 3 }}>
      <Grid item xs={2} sm={4} md={4} />
      <Grid item xs={2} sm={4} md={4} />
      <Grid item xs={2} sm={4} md={4} />
    </Grid>

    Head to the documentation for more details.

  • ⚒️ We've introduced a new useTheme and useThemeProps hooks in the @material-ui/system package.
    We believe that this package can be used as a standalone styling solution for building custom design systems (#​26649) @​mnajdova.

  • 💥 Made progress with the breaking changes. We have done 105 of the 109 changes planned. We are getting closer to our goal of releasing 5.0.0-beta.0 on July 1st and start to promote its usage over v4. You can also follow our milestone for more details.

  • And many more 🐛 bug fixes and 📚 improvements.

@material-ui/[email protected]
Breaking changes
  • [Button] Remove label span (#​26666) @​siriwatknp

    The span element that wraps children has been removed. label classKey is also removed. The nested span was required for fixing a flexbox issue with iOS < 11.0.

    <button class="MuiButton-root">
    - <span class="MuiButton-label">
        children
    - </span>
    </button>
Changes
  • [Button] Add missing color type (#​26593) @​sakura90
  • [Grid] Add responsive direction and spacing props (#​26590) @​likitarai1
  • [List] Add ListItemButton export to index (#​26667) @​chadmuro
  • [theme] Fix missing exported Breakpoints types (#​26684) @​robphoenix
@material-ui/[email protected]
Breaking changes
  • [system] Remove `theme` & `isRtl` from `useThemeProps` (#​26701) @​mnajdova

    The isRtl and theme props are no longer added by the useThemeProps hook. You can use the useTheme hook for this.

    -import { unstable_useThemeProps as useThemeProps } from '@&#8203;material-ui/core/styles';
    +import { unstable_useThemeProps as useThemeProps, useTheme } from '@&#8203;material-ui/core/styles';
    
     const Component = (inProps) => {
    -  const { isRtl, theme, ...props } = useThemeProps({ props: inProps, name: 'MuiComponent' });
    +  const props = useThemeProps({ props: inProps, name: 'MuiComponent' });
    
    +  const theme = useTheme();
    +  const isRtl = theme.direction === 'rtl';
       //.. rest of the code
    }
Changes
  • [system] Add useThemeProps & useTheme hooks (#​26649) @​mnajdova
  • [system] Add color manipulators (#​26668) @​mnajdova
  • [system] Fix support of custom shape in createTheme (#​26673) @​varandasi
@material-ui/[email protected]
  • [Slider] Improve TS definition (#​26642) @​mnajdova
  • [TrapFocus] Capture nodeToRestore via relatedTarget (#​26696) @​eps1lon
@material-ui/[email protected]
  • Revert "[icons] Only ship ES modules (#​26310)" (#​26656) @​eps1lon

    The changes that we have tried in #​26310 were breaking the integration with Next.js.

@material-ui/[email protected]
  • [core] Remove unused useKeyDown (#​26765) @​eps1lon
  • [DateTimePicker] Fix not visible selected tab icon (#​26624) @​nikitabobers
Docs
  • [blog] Michał Dudak joins Material-UI (#​26700) @​oliviertassinari
  • [docs] Migrate onepirate premium template to emotion part2 (#​26707) @​vicasas
  • [docs] Fix TextField demo layout (#​26710) @​vicasas
  • [docs] Improve Paperbase demo (#​26711) @​oliviertassinari
  • [docs] Migrate onepirate premium template to emotion part1 (#​26671) @​vicasas
  • [docs] Migrate paperbase premium template to emotion (#​26658) @​vicasas
  • [List] Fix demo to have correct semantic (#​26742) @​siriwatknp
Core
  • [core] Monitore size of key system modules (#​26712) @​oliviertassinari
  • [core] Batch small changes (#​26738) @​oliviertassinari
  • [core] Batch small changes (#​26628) @​oli

Configuration

📅 Schedule: "on sunday before 6:00am" in timezone UTC.

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box.

This PR has been generated by WhiteSource Renovate. View repository job log here.

@renovate renovate bot added the dependencies Update of dependencies label Aug 15, 2021
@mui-pr-bot
Copy link

mui-pr-bot commented Aug 15, 2021

No bundle size changes (experimental)

Generated by 🚫 dangerJS against c6de907

@eps1lon eps1lon closed this Aug 15, 2021
@eps1lon eps1lon deleted the renovate/material-ui-core-5.x branch August 15, 2021 11:19
@renovate
Copy link
Contributor Author

renovate bot commented Aug 15, 2021

Renovate Ignore Notification

As this PR has been closed unmerged, Renovate will now ignore this update (^5.0.0-beta.4). You will still receive a PR once a newer version is released, so if you wish to permanently ignore this dependency, please add it to the ignoreDeps array of your renovate config.

If this PR was closed by mistake or you changed your mind, you can simply rename this PR and you will soon get a fresh replacement PR opened.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Update of dependencies
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants