Skip to content

55.0.0

Choose a tag to compare

@github-actions github-actions released this 22 Jul 00:04
3950fe3

@metamask/design-system-react-native 0.37.0

Changed

  • BREAKING: Updated Toast / Toaster to slide in from the top of the screen (below the safe area) with spring-based enter/exit motion (#1304)
    • Renamed bottomOffset and customTopOffset to topOffset (extra offset from the top, in addition to the safe-area inset and default top padding)
    • Renamed exported TOAST_BOTTOM_PADDING to TOAST_TOP_PADDING and changed the default padding value from 36 to 8
    • See Migration Guide
  • Updated Toast surface styling for light/dark themes: light uses background.default with medium shadow; dark uses background.section with no shadow; border radius updated from 12px to 16px; description defaults to TextColor.TextAlternative (#1391)

Fixed

  • Fixed Toast descriptionProps so partial consumer props merge with the default TextAlternative color instead of replacing it (#1396)