maui-r / cultivator

Explore the Lens Protocol Social Graph
https://cultivator.cc/
MIT License
5 stars 1 forks source link

build: bump @mui/lab from 5.0.0-alpha.109 to 5.0.0-alpha.122 #85

Open dependabot[bot] opened 1 year ago

dependabot[bot] commented 1 year ago

Bumps @mui/lab from 5.0.0-alpha.109 to 5.0.0-alpha.122.

Changelog

Sourced from @​mui/lab's changelog.

@mui/lab@5.0.0-alpha.122

@mui/system@5.11.12

Breaking changes

  • ​[core] Generate vars in extendTheme (#35739) @​mnajdova

    The shouldSkipGeneratingVar prop was moved from the createCssVarsProvider's option to the theme. If the default theme does not use extendTheme from Material UI or Joy UI, it needs to be wrapped inside unstable_createCssVarsTheme - a util exported from the MUI System. Below is an example of how the migration should look like:

     import {
        unstable_createCssVarsProvider as createCssVarsProvider,
    +   unstable_createCssVarsTheme as createCssVarsTheme,
     } from '@mui/system';
    

    const { CssVarsProvider } = createCssVarsProvider({

    • theme: {
    • theme: createCssVarsTheme({ colorSchemes: { light: { typography: { htmlFontSize: '16px', h1: { fontSize: '1rem', fontWeight: 500, }, }, }, },
    • shouldSkipGeneratingVar: (keys) => keys[0] === 'typography' && keys[1] === 'h1',
    • },
    • }), defaultColorScheme: 'light',
    • shouldSkipGeneratingVar: (keys) => keys[0] === 'typography' && keys[1] === 'h1', });

Or you can define it directly in the theme prop:

 <CssVarsProvider
+   theme={createCssVarsProvider({
+    // other theme keys
+    shouldSkipGeneratingVar: (keys) => keys[0] === 'typography' && keys[1] === 'h1'
+   })} />

... (truncated)

Commits


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)