Releases: Algorand-Developer-Retreat/use-wallet-ui
Releases · Algorand-Developer-Retreat/use-wallet-ui
v0.3.0
v0.2.3
v0.2.2
v0.2.1
v0.2.0
@txnlab/use-wallet-ui-react v0.2.0
Overview
This release adds comprehensive NFD integration, account information display, CSS styling flexibility, and numerous UI enhancements to make wallet integration easier and more user-friendly.
Features
NFD Integration
- Added
NfdAvatarcomponent with IPFS support and fallback options - Enhanced NFD integration with TanStack Query for better caching and error handling
- Added view options to
useNfdhook ('tiny', 'thumbnail', 'brief', 'full') - Implemented automatic prefetching of NFD data for all connected accounts
Account Information
- Added
useAccountInfohook replacinguseBalancefor more comprehensive data - Added balance toggle in wallet menu (total vs available balance)
- Added balance persistence in local storage
- Enhanced
ConnectedWalletButtonwith avatar display and responsive design - Added Algorand symbol to replace text in balance display
CSS Flexibility
- Made Tailwind CSS optional with standalone CSS bundle generation
- Added CSS scoping with data attributes to prevent style conflicts
- Implemented
styleprop for inline styling of wallet buttons - Added CSS-only example project demonstrating usage without Tailwind
- Added comprehensive documentation for both Tailwind v3 and v4 integration
UI Improvements
- Enhanced responsiveness of wallet components for mobile devices
- Added utility for merging Tailwind classes with
clsxandtailwind-merge - Improved padding and spacing in wallet modal and menus
- Added border radius to wallet icon for better visual consistency
- Enhanced connected button with chevron icon and proper spacing
Developer Experience
- Added integration with
@txnlab/utils-tsfor consistent formatting - Improved documentation with clear examples for all features
- Added TanStack Query integration options for existing applications
Breaking Changes
- Removed balance display from
ConnectedWalletButtonand related props
Examples and Documentation
- Added both Tailwind CSS and CSS-only example projects
- Completely restructured README with clear integration instructions
- Added comprehensive documentation for all components and hooks
Full Changelog: v0.1.0...v0.2.0
v0.1.0
@txnlab/use-wallet-ui-react v0.1.0
Features
- Initial wallet connection UI with support for multiple wallets
- Flexible component architecture with four integration approaches:
WalletButtonfor simple drop-in usage- Customized button components with menus
- Completely custom UI elements
- Direct button component usage
- Account balance display in connected wallet state
- Account switching support for wallets with multiple accounts
- Dark mode support following Algorand design guidelines
- Smooth transitions and animations for wallet dialog
- Custom Aeonik font support with SSR compatibility
Prerequisites
@txnlab/use-wallet-reactv4- React v18 or v19
- Tailwind CSS
Documentation
- Comprehensive usage documentation with code examples
- Multiple integration approaches demonstrated
- Detailed component API descriptions