Skip to content

Releases: MyTonSwap/widget

2.0.10

19 Nov 07:15
5ab6b67

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 2.0.9...2.0.10

2.0.9

16 Nov 07:29

Choose a tag to compare

Changelog

Version 2.0.9 - 2024-11-16

Styles:

  • Updated Color Variables:
    • Refined the list of CSS color variables in the README for better clarity and improved design consistency.
    • This update provides developers with a clearer guide for customizing the widget's appearance.

Release Note

Version 2.0.9 focuses on documentation improvements, specifically enhancing the color variable section in the README. This change aims to provide better guidance for users customizing the widget's theme.

Full Changelog: 2.0.8...2.0.9

2.0.8

16 Nov 05:30

Choose a tag to compare

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

2.0.7

12 Nov 12:28

Choose a tag to compare

Changelog

Version 2.0.7 - 2024-11-12

Styles:

  • README and CSS Variables Update:
    • Enhanced the README with updated CSS variable documentation for better customization of the Swap component.
    • Refined CSS variables, improving flexibility for theming and component styling.
  • Responsive Design Improvements:
    • Enhanced responsive design across components to provide a better user experience on various screen sizes.
    • Updated overall component styling for a more polished look and feel.

Refactor:

  • Header and Swap Component Enhancements:
    • Refactored Header and Swap components to streamline styling and enhance icon usage for a more consistent appearance.

Release Note

This update focuses on improving the customization capabilities of the Swap component through updated CSS variables and enhanced responsive design. The Header and Swap components have been refactored for better styling and icon integration. Additionally, the README has been updated to reflect these changes, providing clearer guidance on customization options.

Full Changelog: 2.0.4...2.0.7

2.0.4

11 Nov 10:00

Choose a tag to compare

Changelog

Version 2.0.4 - 2024-11-11

Features:

  • CardButton and SwapCard Disabled State:
    • Added a disabled state to the CardButton and SwapCard components, allowing for better control over component interactivity based on user actions or conditions.

Tests:

  • Refresh Button Visibility:
    • Added tests for checking the visibility of the Refresh button to ensure it behaves as expected across different scenarios.
  • Locked Input Tests:
    • Added tests for locked inputs in the Pay and Receive buttons, ensuring that these buttons function correctly when locked.

Fix:

  • README Example Formatting:
    • Corrected the formatting of example links in the README for improved clarity and navigation.

Release Note

This release introduces a disabled state for the CardButton and SwapCard components, enhancing the user experience by controlling component interactivity. It also includes tests for the Refresh button visibility and locked inputs, ensuring a more stable user interface. Additionally, the README has been updated with new examples and improved formatting.

Full Changelog: 2.0.3...2.0.4

2.0.3

10 Nov 11:14

Choose a tag to compare

Changelog

Version 2.0.3 - 2024-11-10

Features:

  • Enhanced Documentation:
    • Updated the README file to include details about available CSS variables for widget customization. This provides clear guidance for developers on how to modify the appearance of the widget using custom styles.
  • Improved Swap Component Integration:
    • Refactored the Swap component for smoother integration into various projects, improving compatibility and reducing potential conflicts.

Release Note

This release focuses on improving the developer experience by updating the documentation with detailed customization options and enhancing the integration process for the Swap component.

Full Changelog: 2.0.2...2.0.3

2.0.2

10 Nov 10:50

Choose a tag to compare

Changelog

Version 2.0.2 - 2024-11-10

Features:

  • Swap Component Style Update:
    • Updated styles for the Swap component by using mts- prefixed classes. This change ensures consistent and scoped styling across the widget, preventing potential conflicts with existing styles.
  • CDN Build Configuration:
    • Added a build configuration for CDN distribution, making it easier to integrate the widget via a script tag without needing to install dependencies.
    • Exposed global swap and walletProfile functions for direct use in web applications, providing more flexibility for developers integrating the widget via CDN.
  • SwapButton Style Enhancement:
    • Removed hardcoded colors from the SwapButton component and replaced them with CSS variables, allowing for easier theming and customization.

Release Note

This release introduces improved styling with consistent class naming, enhances the SwapButton component with CSS variables, and adds a CDN build configuration. Developers can now use the widget more easily via a script tag and have access to globally exposed functions for direct interaction.

Full Changelog: 2.0.1...2.0.2

2.0.1

09 Nov 10:04

Choose a tag to compare

Changelog

Version 2.0.1 - 2024-11-09

Features:

  • Refactored Language Handling:
    • Exported the i18n instance directly for improved flexibility in language customization.
    • Removed the setLang function, simplifying the language configuration process and allowing developers to handle localization directly through the exported i18n instance.

Release Note

This release streamlines the language management by exporting the i18n instance and removing the need for a separate setLang function. It provides developers with more control over localization and makes the integration process simpler.

Full Changelog: 2.0.0...2.0.1

2.0.0

09 Nov 09:12

Choose a tag to compare

Changelog

Version 2.0.0 - 2024-11-09

Breaking Changes:

  • Theming Overhaul:
    • Introduced CSS variables for theming, allowing consistent and flexible styling across all components.
    • This update improves maintainability and enables easier customization for both light and dark themes, as well as any user-defined color schemes.

Features:

  • Enhanced Styling:
    • All components now use CSS variables, providing a centralized and consistent approach for theme customization.

Release Note

This major update revamps the theming system with CSS variables, paving the way for more cohesive styling and easier theme adjustments. Users can now fine-tune the look and feel of the widget with greater ease and precision.

Full Changelog: 1.2.4...2.0.0

1.2.4

07 Nov 11:53

Choose a tag to compare

Changelog

Version 1.2.4 - 2024-11-07

Features:

  • Theme Management:
    • Enhanced the setTheme function to directly apply colors and user-defined themes in the theme store. This allows for more streamlined theme updates and customization flexibility within the widget.

Release Note

This release refines theme management by enabling direct updates to colors and user themes, simplifying customization for users and developers alike.

Full Changelog: 1.2.3...1.2.4