Sentry scraps@0.2.0

scraps@0.2.0

0.2.0

Added 6
  • Adds theme.tokens.dataviz.sequential.magma.series5, series6, and series7 color scales for heatmaps in light and dark themes
  • Adds Button, LinkButton, ButtonBar, InfoTip, InfoText, Checkbox, Chip, Disclosure, SegmentedControl, Alert, and generic badges to @sentry/scraps
  • Adds Tooltip and shared overlay helpers to @sentry/scraps, with support for server rendering without a document
  • Adds Image, DescriptionList, Prose, Radio, StatusIndicator, and Hotkey to @sentry/scraps
  • Adds Link and ExternalLink to @sentry/scraps, rendering native links without a router and supporting custom routing through LinkBehaviorContext
  • Adds Backdrop, EmptyState, RevealOnHover, Slider, Slot, Switch, and the theme, datetime, renderToString, and useScrollLock utilities to @sentry/scraps
Changed 3
  • Updates theme.tokens.syntax.ansi colors to match Figma, including distinct cyan colors and revised light-mode yellows
  • Improves TypeScript declarations so consumers no longer need a global React namespace
  • Removes the circular dependency between Separator and layout components while preserving their public APIs and rendering behavior
Fixed 1
  • Fixes @sentry/scraps/theme imports throwing 'process is not defined' in apps built with Vite or webpack 5

From Sentry

Features
  • Adds theme.tokens.dataviz.sequential.magma.series5, series6, and series7 color scales for heatmaps in light and dark themes. (#126947)
  • Updates theme.tokens.syntax.ansi colors to match Figma, including distinct cyan colors and revised light-mode yellows. (#126948)
Fixes
  • Fixes @sentry/scraps/theme imports throwing process is not defined in apps built with Vite or webpack 5. (#127595)
Improvements
  • Adds Button, LinkButton, ButtonBar, InfoTip, InfoText, Checkbox, Chip, Disclosure, SegmentedControl, Alert, and generic badges to @sentry/scraps. (#127639)
  • Adds Tooltip and shared overlay helpers to @sentry/scraps, with support for server rendering without a document. (#127630)
  • Adds Image, DescriptionList, Prose, Radio, StatusIndicator, and Hotkey to @sentry/scraps. (#127628)
  • Adds Link and ExternalLink to @sentry/scraps, rendering native links without a router and supporting custom routing through LinkBehaviorContext. (#127423)
  • Improves TypeScript declarations so consumers no longer need a global React namespace. (#127532)
  • Adds Backdrop, EmptyState, RevealOnHover, Slider, Slot, Switch, and the theme, datetime, renderToString, and useScrollLock utilities to @sentry/scraps. (#127513)
  • Removes the circular dependency between Separator and layout components while preserving their public APIs and rendering behavior. (#127222)
View original

Upgraded? How did it go?

Discussion