Skip to content

2.0.8

Compare
Choose a tag to compare
@Ho3einWave Ho3einWave released this 16 Nov 05:30
· 86 commits to main since this release

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 and SlippageSetting components for better usability and layout.
    • Updated input colors in SlippageSetting for increased visibility.
    • Adjusted layout and spacing in SwapCard, Token, and CardDialog components for a more polished user interface.
    • Enhanced modal and button styles, focusing on layout improvements and overall design consistency.

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.
  • Asset Sorting Utility:
    • Fixed the asset price reference in the sortAssets utility function to ensure accurate sorting.

Features:

  • Utility Function Addition:
    • Added a new toFixedDecimal utility function for precise token balance formatting in SwapCard.

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