Skip to content
This repository was archived by the owner on Feb 12, 2023. It is now read-only.

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 3, 2022

Bumps @theme-ui/presets from 0.7.3 to 0.15.1.

Release notes

Sourced from @​theme-ui/presets's releases.

v0.15.0

🎉 This release contains work from new contributors! 🎉

Thanks for all your work!

❤️ Luke Watts (@​thisislawatts)

❤️ Valto Savi (@​pointlessrapunzel)

❤️ 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 @​theme-ui/presets's changelog.

v0.15.0 (Mon Sep 26 2022)

🎉 This release contains work from new contributors! 🎉

Thanks for all your work!

❤️ Luke Watts (@​thisislawatts)

❤️ Valto Savi (@​pointlessrapunzel)

❤️ 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)

Bumps [@theme-ui/presets](https://github.com/system-ui/theme-ui) from 0.7.3 to 0.15.1.
- [Release notes](https://github.com/system-ui/theme-ui/releases)
- [Changelog](https://github.com/system-ui/theme-ui/blob/develop/CHANGELOG.md)
- [Commits](system-ui/theme-ui@v0.7.3...v0.15.1)

---
updated-dependencies:
- dependency-name: "@theme-ui/presets"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Oct 3, 2022
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Oct 24, 2022

Superseded by #352.

@dependabot dependabot bot closed this Oct 24, 2022
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/gatsby-theme-code-notes/theme-ui/presets-0.15.1 branch October 24, 2022 08:02
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant