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 @chakra-ui/react from 1.4.1 to 1.6.0 #97

Merged
merged 1 commit into from
Apr 27, 2021

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 26, 2021

Bumps @chakra-ui/react from 1.4.1 to 1.6.0.

Release notes

Sourced from @​chakra-ui/react's releases.

@​chakra-ui/react@​1.6.0

Minor Changes

  • 1d5e55272 #3511 Thanks @​TimKolberger! - The extendTheme function allows you to pass multiple overrides or extensions:

    import {
      extendTheme,
      withDefaultColorScheme,
      withDefaultSize,
      withDefaultVariant,
      withDefaultProps,
    } from "@chakra-ui/react"
    const customTheme = extendTheme(
    {
    colors: {
    brand: {
    // ...
    500: "#b4d455",
    // ...
    },
    },
    },
    withDefaultColorScheme({ colorScheme: "brand" }),
    withDefaultSize({
    size: "lg",
    components: ["Input", "NumberInput", "PinInput"],
    }),
    withDefaultVariant({
    variant: "outline",
    components: ["Input", "NumberInput", "PinInput"],
    }),
    // or all in one:
    withDefaultProps({
    defaultProps: {
    colorScheme: "brand",
    variant: "outline",
    size: "lg",
    },
    components: ["Input", "NumberInput", "PinInput"],
    }),
    // optional:
    yourCustomBaseTheme, // defaults to our chakra default theme
    )

... (truncated)

Changelog

Sourced from @​chakra-ui/react's changelog.


title: Changelog description: The changelog for Chakra UI React slug: "/changelog"

The Changelog gives an overview of the meaningful changes we've made to Chakra UI as we keep driving for better performance and best-in-class developer experience.

To better understand the changelog, here are some legends we use:

  • 💥 Breaking
  • 🚀 Feature
  • 🐛 Bug fix

23-04-2021

@chakra-ui/react@1.6.0

Gatsby Plugin v2.0.0

  • 💥 Upgrading to this new major version is recommended for everyone as it fixes hot reloading in Gatsby (Fast Refresh). In the previous version changes to the shadowed theme.js file didn't trigger automatic reloading, and a manual reload was necessary.

  • 💥 The isUsingColorMode option was removed. The ChakraProvider will always use the ColorModeProvider.

  • 💥 The isResettingCSS option was renamed to resetCSS. Those changes were made to use the current ChakraProvider and align the prop names.

Improvements

  • Use ChakraProvider instead of the outdated ThemeProvider pattern.
  • Add initialColorMode to the ColorModeScript.
  • Allow Fast Refresh reloading of all theme files.
  • Set stricter peerDependency on gatsby (to ^2.29.3 || ^3.0.0).

Accordion v1.3.0

  • 🚀 Update tabs and accordion to use updated descendants logic.

Menu v1.6.0

  • 🚀 Update menu to use new descendants logic.
  • 🐛 Fix issue where menu doesn't select menu item when the first item is disabled.
  • 🐛 Fix issue where menu doesn't work when an input is used within it.
  • 🐛 Fix issue where menu button doesn't work with truncated text.

... (truncated)

Commits
  • 71f4055 Merge pull request #3865 from chakra-ui/changeset-release/main
  • ff51f15 chore(release): version packages
  • 0d70aad chore: update test snaps
  • 52748f4 chore: update valtio deps
  • 7cae763 Merge pull request #3841 from LekoArts/gatsby-plugin-fast-refresh
  • 326813e Merge pull request #3863 from isBatak/patch-1
  • 009ad50 Merge pull request #3864 from chakra-ui/feat/descendants
  • 68fe70c Merge pull request #3511 from chakra-ui/feat/theme-extensions
  • cc84c34 refactor: add checks for focus
  • e7261d5 add changesets
  • 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 dependabot bot added the dependencies Pull requests that update a dependency file label Apr 26, 2021
@nihaals
Copy link
Member

nihaals commented Apr 27, 2021

@dependabot rebase

@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/chakra-ui/react-1.6.0 branch from cca83e3 to f395d21 Compare April 27, 2021 19:03
@nihaals nihaals enabled auto-merge April 27, 2021 19:05
@nihaals nihaals merged commit 56ac449 into master Apr 27, 2021
@nihaals nihaals deleted the dependabot/npm_and_yarn/chakra-ui/react-1.6.0 branch April 27, 2021 19:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant