@xswap-link/sdk 0.14.1 → 0.15.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (59) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/dist/index.global.js +92 -92
  3. package/dist/index.js +1799 -1725
  4. package/dist/index.js.map +1 -1
  5. package/dist/index.mjs +1752 -1681
  6. package/dist/index.mjs.map +1 -1
  7. package/localTheme.ts +1 -1
  8. package/package.json +1 -1
  9. package/src/assets/icons/ChainlinkMarkIcon.tsx +4 -5
  10. package/src/assets/icons/CheckCircleThinIcon.tsx +22 -0
  11. package/src/assets/icons/ChevronDownThinIcon.tsx +39 -0
  12. package/src/assets/icons/ChevronDownWideThinIcon.tsx +18 -0
  13. package/src/assets/icons/ChevronsUpDownThinIcon.tsx +21 -0
  14. package/src/assets/icons/CloseIcon.tsx +3 -2
  15. package/src/assets/icons/ErrorCircleThinIcon.tsx +22 -0
  16. package/src/assets/icons/LinkExternalThinIcon.tsx +19 -0
  17. package/src/assets/icons/LoadingRingIcon.tsx +22 -0
  18. package/src/assets/icons/ProgressRingThinIcon.tsx +29 -0
  19. package/src/assets/icons/SearchThinIcon.tsx +15 -0
  20. package/src/assets/icons/SignThinIcon.tsx +15 -0
  21. package/src/assets/icons/WalletCheckThinIcon.tsx +24 -0
  22. package/src/assets/icons/index.ts +11 -0
  23. package/src/components/PoweredBy/index.tsx +1 -1
  24. package/src/components/Swap/Header/index.tsx +2 -4
  25. package/src/components/Swap/HistoryView/ActivityCard/index.tsx +110 -115
  26. package/src/components/Swap/HistoryView/index.tsx +10 -7
  27. package/src/components/Swap/ReorderButton/ReorderButton.tsx +4 -4
  28. package/src/components/Swap/SettingsView/Delivery/index.tsx +19 -17
  29. package/src/components/Swap/SettingsView/InfiniteApproval/index.tsx +19 -17
  30. package/src/components/Swap/SettingsView/Slippage/index.tsx +55 -49
  31. package/src/components/Swap/SwapView/ConfirmationView/TokenTiles/index.tsx +69 -0
  32. package/src/components/Swap/SwapView/ConfirmationView/TxOverview/Header/index.tsx +13 -25
  33. package/src/components/Swap/SwapView/ConfirmationView/TxOverview/Steps/index.tsx +65 -113
  34. package/src/components/Swap/SwapView/ConfirmationView/TxOverview/index.tsx +19 -23
  35. package/src/components/Swap/SwapView/ConfirmationView/TxResult/index.tsx +51 -74
  36. package/src/components/Swap/SwapView/FeesPanel/index.tsx +4 -4
  37. package/src/components/Swap/SwapView/SwapButton/index.tsx +0 -29
  38. package/src/components/Swap/SwapView/SwapPanel/AmountPanel/index.tsx +2 -2
  39. package/src/components/Swap/SwapView/SwapPanel/TokenPanel/ChainPicker/index.tsx +3 -3
  40. package/src/components/Swap/SwapView/SwapPanel/TokenPanel/TokenPicker/NetworkFilter/index.tsx +17 -16
  41. package/src/components/Swap/SwapView/SwapPanel/TokenPanel/TokenPicker/index.tsx +91 -40
  42. package/src/components/Swap/SwapView/SwapPanel/TokenPanel/index.tsx +4 -4
  43. package/src/components/Swap/SwapView/SwapPanel/UsdValue/index.tsx +2 -2
  44. package/src/components/Swap/SwapView/SwapPanel/WalletPanel/index.tsx +10 -16
  45. package/src/components/Swap/SwapView/SwapPanel/index.tsx +3 -3
  46. package/src/components/Swap/SwapView/WalletPicker/index.tsx +131 -139
  47. package/src/components/Swap/SwapView/index.tsx +11 -7
  48. package/src/components/Swap/WalletPickerView/index.tsx +65 -0
  49. package/src/components/Swap/index.tsx +23 -6
  50. package/src/components/ToggleButton/index.tsx +5 -7
  51. package/src/components/TokenLogo/index.tsx +1 -1
  52. package/src/components/TxModal/index.tsx +14 -4
  53. package/src/components/global.css +18 -1
  54. package/src/constants/index.ts +4 -0
  55. package/src/context/SwapProvider.tsx +106 -19
  56. package/src/utils/validation.ts +9 -4
  57. package/src/components/Swap/SwapView/ConfirmationView/TxOverview/ArrowIcon.tsx +0 -13
  58. package/src/components/Swap/SwapView/ConfirmationView/TxOverview/SwapPanel/index.tsx +0 -72
  59. package/src/components/Swap/SwapView/ConfirmationView/TxResult/TokenItem/index.tsx +0 -25
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @xswap-link/xswap-sdk
2
2
 
3
+ ## 0.15.0
4
+
5
+ ### Minor Changes
6
+
7
+ - c4495ea: Confirmation flow redesign and route defaults: new TxOverview/TxResult layout with token tiles and step indicators, new wallet picker view, thin icon set, fixed default bridge route (Ethereum -> Base), source chain follows real in-session wallet network switches only, widget state fully re-initializes when bridgeUI changes at runtime, and stale token balances are cleared so MAX never uses an outdated value.
8
+
3
9
  ## 0.14.1
4
10
 
5
11
  ### Patch Changes