2.0.8
Changelog
Version 2.0.8 - 2024-11-16
Styles:
- Global Design Enhancements:
- Updated the global font to Plus Jakarta Sans, providing a modern and consistent look across components.
- Refined border-radius settings for loading indicators, enhancing visual aesthetics.
- Improved color variables for better design consistency throughout the widget.
- Component Styling Improvements:
- Enhanced
SettingPopover
andSlippageSetting
components for better usability and layout. - Updated input colors in
SlippageSetting
for increased visibility. - Adjusted layout and spacing in
SwapCard
,Token
, andCardDialog
components for a more polished user interface. - Enhanced modal and button styles, focusing on layout improvements and overall design consistency.
- Enhanced
Fixes:
- Confirmation Modal State Handling:
- Resolved an issue where the modal state was not reset on close, ensuring proper state management.
- Balance Calculation:
- Updated token balance calculation in
SwapCard
to handle numeric types correctly, preventing potential display errors.
- Updated token balance calculation in
- Asset Sorting Utility:
- Fixed the asset price reference in the
sortAssets
utility function to ensure accurate sorting.
- Fixed the asset price reference in the
Features:
- Utility Function Addition:
- Added a new
toFixedDecimal
utility function for precise token balance formatting inSwapCard
.
- Added a new
Release Note
Version 2.0.8 brings significant visual and usability improvements with an updated global font and enhanced component styling. The update also includes fixes for modal state handling and token balance calculations, alongside improved testing for slippage input. These changes aim to offer a more consistent and user-friendly experience.
Full Changelog: 2.0.7...2.0.8