Skip to content

@rainbow-me/rainbowkit@0.1.1

Compare
Choose a tag to compare
@nicoglennon nicoglennon released this 19 May 22:35
· 506 commits to main since this release
800bfc7

Patch Changes

  • 85be3f8: Avatar image is now correctly centered, and background + emoji are hidden if image is present.

  • 4062169: Add ethers to peer dependencies to ensure consistent versioning with wagmi

    We previously had a direct dependency on @ethersproject/providers, but this meant that provider instances generated by RainbowKit could potentially clash with the version of Ethers.js installed alongside wagmi. To avoid this, we’re now relying on the ethers peer dependency that wagmi already requires, ensuring that there's only ever a single copy of ethers between them.

  • 5224d54: Adds imToken to available wallets

  • b1b09c5: Add the label prop to the ConnectButton component to easily display a custom label on the button.

  • 39fa4cb: Fix bug where click events were ignored on the edges of links/buttons due to scale transforms during hover/active states

  • 127690a: Added an aria label to the x button inside the dialog

  • 5213855: Fix usage of quotes in custom theme font values

  • 209aa43: Add line-height values to all text styles

  • be6ee16: Pin to exact versions of dependencies and reduce bundle size by inlining platform/browser checks from detect-browser

  • c4e7f67: Increase specificity of RainbowKit styles to avoid app styles overriding them

    In order to avoid issues with CSS ordering and specificity, we've prepended a data attribute selector to all styles in RainbowKit. This ensures that low-specificity styles like CSS resets won't override RainbowKit styles if they're applied later in the document.