0.3.4
Changelog
Version 0.3.4 - 2024-10-23
Refactors:
-
SwapButton Component:
- Updated styles for the
SwapButton
component inSwapButton.tsx
. - Added long press functionality to the
SwapButton
using theuseLongPress
hook from@uidotdev/usehooks
. - Displayed the widget version in a toast message when the button is long-pressed.
- Updated styles for the
-
Swap Component:
- Updated styles in
Swap.scss
, including a new CSS class for the "text-provided" element. - Conditionally rendered the "text-provided" element in
Swap.tsx
based on thedisable_provided_text
option. - Integrated the
Toaster
component fromreact-hot-toast
for displaying toast notifications.
- Updated styles in
Release Note
SwapButton Component Long Press and Style Updates
This version introduces long press functionality to the SwapButton
, showing the widget version in a toast message. Styles for both the SwapButton
and Swap
components have been updated for a more polished UI.
Full Changelog: 0.3.3...0.3.4