Skip to content
This repository was archived by the owner on Nov 14, 2022. It is now read-only.

Conversation

@dependabot
Copy link
Contributor

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

Bumps theme-ui from 0.3.5 to 0.15.1.

Release notes

Sourced from theme-ui'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'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

You can trigger a rebase of this PR 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](https://github.com/system-ui/theme-ui) from 0.3.5 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.3.5...v0.15.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
@changeset-bot
Copy link

changeset-bot bot commented Oct 1, 2022

⚠️ No Changeset found

Latest commit: 6efb315

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@vercel
Copy link

vercel bot commented Oct 1, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
design-system ❌ Failed (Inspect) Oct 1, 2022 at 7:10AM (UTC)

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Nov 1, 2022

Superseded by #803.

@dependabot dependabot bot closed this Nov 1, 2022
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/theme-ui-0.15.1 branch November 1, 2022 07:37
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants