mrmartineau / gatsby-theme-code-notes

A Gatsby theme for publishing code-related notes to your website
https://code-notes-example.netlify.com
MIT License
470 stars 39 forks source link

chore(deps): bump gatsby-plugin-theme-ui from 0.7.3 to 0.15.1 in /gatsby-theme-code-notes #343

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Bumps gatsby-plugin-theme-ui from 0.7.3 to 0.15.1.

Release notes

Sourced from gatsby-plugin-theme-ui's releases.

v0.15.0

:tada: This release contains work from new contributors! :tada:

Thanks for all your work!

:heart: Luke Watts (@​thisislawatts)

:heart: Valto Savi (@​pointlessrapunzel)

:heart: Brage Sekse Aarset (@​braaar)

Release Notes

Pull out MDX to be opt-in (#2288)

Breaking: theme-ui no longer includes @theme-ui/mdx — MDX is now opt-in.

If your project is not using MDX or importing Themed, you shouldn't need to change anything.

  • MDXProvider is no longer included in Theme UI ThemeProvider, and has been removed in favour of an useThemedStylesWithMdx hook.
    • Migration: Use useThemedStylesWithMdx together with MDXProvider and useMDXComponents from @mdx-js/react.

      import {
        MDXProvider,
        useMDXComponents,
        Components as MDXComponents,
        MergeComponents as MergeMDXComponents,
      } from '@mdx-js/react'
      import { useThemedStylesWithMdx } from '@theme-ui/mdx'
      import { ThemeProvider, Theme } from 'theme-ui'
      

      interface MyProviderProps { theme: Theme components?: MDXComponents | MergeMDXComponents children: React.ReactNode } function MyProvider({ theme, components, children }: MyProviderProps) { const componentsWithStyles = useThemedStylesWithMdx(useMDXComponents(components))

      return ( <ThemeProvider theme={theme}> <MDXProvider components={componentsWithStyles}> {children} </MDXProvider> </ThemeProvider> ) }

... (truncated)

Changelog

Sourced from gatsby-plugin-theme-ui's changelog.

v0.15.0 (Mon Sep 26 2022)

:tada: This release contains work from new contributors! :tada:

Thanks for all your work!

:heart: Luke Watts (@​thisislawatts)

:heart: Valto Savi (@​pointlessrapunzel)

:heart: Brage Sekse Aarset (@​braaar)

Release Notes

Pull out MDX to be opt-in (#2288)

Breaking: theme-ui no longer includes @theme-ui/mdx — MDX is now opt-in.

If your project is not using MDX or importing Themed, you shouldn't need to change anything.

  • MDXProvider is no longer included in Theme UI ThemeProvider, and has been removed in favour of an useThemedStylesWithMdx hook.
    • Migration: Use useThemedStylesWithMdx together with MDXProvider and useMDXComponents from @mdx-js/react.

      import {
        MDXProvider,
        useMDXComponents,
        Components as MDXComponents,
        MergeComponents as MergeMDXComponents,
      } from '@mdx-js/react'
      import { useThemedStylesWithMdx } from '@theme-ui/mdx'
      import { ThemeProvider, Theme } from 'theme-ui'
      

      interface MyProviderProps { theme: Theme components?: MDXComponents | MergeMDXComponents children: React.ReactNode } function MyProvider({ theme, components, children }: MyProviderProps) { const componentsWithStyles = useThemedStylesWithMdx(useMDXComponents(components))

      return ( <ThemeProvider theme={theme}> <MDXProvider components={componentsWithStyles}> {children} </MDXProvider> </ThemeProvider> )

... (truncated)

Commits
  • cda7f97 fix(typography): drop broken dev dependencies
  • 1ff2aa2 chore(publish): update bump version message
  • 649361a fix(match-media): add dev dependency on react-dom
  • c53c9dd fix(theme-ui): remove redundant dependency on @​theme-ui/mdx from package.json
  • 3924d5d Bump version to: v0.15.0 [skip ci]
  • acc91f4 Bump version to: 0.15.0 [skip ci]
  • 2a870df Update contributors [skip ci]
  • aacb457 Update CHANGELOG.md [skip ci]
  • 3857642 Merge pull request #2328 from system-ui/develop
  • 472521f chore(release): remove verbose flag from shipit script
  • Additional commits viewable in compare view


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)
dependabot[bot] commented 1 year ago

Superseded by #353.