Releases: rcaferati/react-awesome-button
Releases · rcaferati/react-awesome-button
v8.1.0
v8.1.0
Added
- Added
textTransitiontoAwesomeButtonfor string-only animated label changes. - Added
showProgressBartoAwesomeButtonProgressto support loading/result text without the dark progress bar. - Added
progressLoadingTimetoAwesomeButtonProgressfor runtime progress bar timing control. - Added Storybook coverage for multiple auto-size buttons, text transition, custom progress timing, no-progress-bar mode, and bundled theme showcases.
Improved
- Auto-width buttons now snap internal content and label widths to whole pixels to avoid subpixel drift and half-pixel animation flicker.
- Partial press releases now use an explicit
aws-btn--releasingphase so interrupted presses return with deterministic release easing. - Progress buttons now fully hide the original foreground content during loading/result overlays, preventing ellipsis or label ghosting.
- Controlled
activestate and customclassNamebehavior are now more stable across themed/CSS-module usage.
Fixed
- Fixed controlled
activenot applying consistently on initial render and prop changes. - Fixed custom
classNamebeing dropped whencssModuletheme mappings are used. - Fixed progress loading text overlap caused by fixed-width label ellipsis leaking through the overlay.
- Fixed progress stories rendering unthemed in Storybook.
v8.0.0
v8 — Scoped package, modern build, Storybook refresh
This release introduces the v8 line under the new scoped package:
- Package rename:
@rcaferati/react-awesome-button(the oldreact-awesome-buttonis deprecated and v7 is end-of-life) - Modern library build: ESM + CJS outputs via
tsup, with proper subpath exports:@rcaferati/react-awesome-button@rcaferati/react-awesome-button/AwesomeButton@rcaferati/react-awesome-button/AwesomeButtonProgress@rcaferati/react-awesome-button/AwesomeButtonSocial
- Updated styling + theming: blue theme module wiring (
cssModule) and default CSS entry (styles.css) - Storybook v10: rebuilt stories and icon showcases (Lucide), with themed previews
- Button UX updates: fixed vs auto sizing behavior (
size="small|medium|large"vssize={null}) and label wrapper (__label) to enable truncation/ellipsis strategy - Testing refresh: Jest + Testing Library interaction smoke coverage for all three buttons
Install / upgrade
npm i @rcaferati/react-awesome-button