Skip to content

Latest commit

 

History

History
37 lines (21 loc) · 1.95 KB

CHANGELOG.md

File metadata and controls

37 lines (21 loc) · 1.95 KB

@hashicorp/react-button

6.0.4

Patch Changes

6.0.3

Patch Changes

  • #397 edcaf4f Thanks @zchsh! - Fixes a off-by-1px issue where small-size buttons were not the correct height. Targets specific alignment issue in react-subnav.

6.0.2

Patch Changes

  • #335 8012b33 Thanks @zchsh! - Fixes contrast issue on brand background by using proper brand values.

6.0.1

Patch Changes

  • #345 2e4a44a Thanks @BRKalow! - - Fix tertiary/neutral button to have the expected text color
    • Update hero styles to have dark text when passing data.backgroundTheme = "light"

6.0.0

Major Changes

  • #288 b0fd753 Thanks @zchsh! - Converts Button to CSS modules.

    • 💥✨ BREAKING CHANGE: Refactored to CSS modules.
      • Consumers will need to remove any @hashicorp/react-button/style.css imports.
      • No longer renders a g-btn className. Does however accept a className prop, so that we can continue to meet override use cases.
    • 🔨 Converts to Typescript