aegis-swap-widget 0.10.3 → 0.11.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 (79) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/THIRD_PARTY_NOTICES.md +25 -0
  3. package/dist/aegis-swap-widget.js +18879 -16434
  4. package/dist/components/ValueText.d.ts +19 -0
  5. package/dist/components/icons.d.ts +1 -0
  6. package/dist/format.d.ts +12 -0
  7. package/dist/hooks/useIsoLayoutEffect.d.ts +2 -0
  8. package/dist/hooks/useKeyedFetch.d.ts +4 -1
  9. package/dist/hooks/usePrefersReducedMotion.d.ts +2 -0
  10. package/dist/hooks/useSubmitSwap.d.ts +5 -1
  11. package/dist/hooks/useSubmittedReceiptRecovery.d.ts +3204 -3
  12. package/dist/hooks/useTokenBalances.d.ts +2 -2
  13. package/dist/hooks/useVisibleMotionRef.d.ts +4 -0
  14. package/dist/motion.d.ts +12 -0
  15. package/dist/styles.css +1 -1
  16. package/dist/submittedSwapContext.d.ts +4 -1
  17. package/dist/transactionProgress.d.ts +4 -1
  18. package/dist/widget/AmountField.d.ts +9 -5
  19. package/dist/widget/EngineAmountBox.d.ts +5 -3
  20. package/dist/widget/ProgressRail.d.ts +14 -3
  21. package/dist/widget/SettingsMenu.d.ts +7 -1
  22. package/dist/widget/SpendingLimitChoices.d.ts +11 -0
  23. package/dist/widget/SwapFormBody.d.ts +4 -1
  24. package/dist/widget/SwapWidgetShell.d.ts +9 -11
  25. package/dist/widget/TransactionPending.d.ts +12 -0
  26. package/dist/widget/TransactionReceipt.d.ts +9 -4
  27. package/dist/widget/TransactionStatusHeader.d.ts +9 -0
  28. package/dist/widget/TransactionStepList.d.ts +3 -1
  29. package/dist/widget/engine-controller/engineActionState.d.ts +1 -0
  30. package/dist/widget/engine-controller/engineCtaLabel.d.ts +5 -1
  31. package/dist/widget/engine-controller/enginePermissionFamilies.d.ts +7 -2
  32. package/dist/widget/engine-controller/engineQuoteFetch.d.ts +4 -0
  33. package/dist/widget/engine-controller/engineTokenPull.d.ts +4 -0
  34. package/dist/widget/engine-controller/engineTransactionProgress.d.ts +7 -2
  35. package/dist/widget/engine-controller/simpleBorrowSizing.d.ts +17 -0
  36. package/dist/widget/engine-controller/useBorrowWalletCollateral.d.ts +5 -0
  37. package/dist/widget/engine-controller/useEngineBuySwapProps.d.ts +2 -2
  38. package/dist/widget/engine-controller/useEngineChainConfig.d.ts +2 -1
  39. package/dist/widget/engine-controller/useEngineFills.d.ts +2 -2
  40. package/dist/widget/engine-controller/useEnginePermissionSetup.d.ts +1 -1
  41. package/dist/widget/engine-controller/useEnginePositionActions.d.ts +2 -1
  42. package/dist/widget/engine-controller/useEngineSubmit.d.ts +5 -0
  43. package/dist/widget/engine-controller/useEngineTradePermissions.d.ts +1 -1
  44. package/dist/widget/engine-controller/useEngineTradeSubmit.d.ts +6 -1
  45. package/dist/widget/engine-ui/EngineBuyPanel.d.ts +4 -1
  46. package/dist/widget/engine-ui/EngineDirectionLedger.d.ts +18 -0
  47. package/dist/widget/engine-ui/EngineDisclosure.d.ts +7 -0
  48. package/dist/widget/engine-ui/EngineMarketNavigation.d.ts +11 -0
  49. package/dist/widget/engine-ui/EngineOnboardingAuthorize.d.ts +9 -2
  50. package/dist/widget/engine-ui/EngineOnboardingProgress.d.ts +3 -4
  51. package/dist/widget/engine-ui/EngineOnboardingReview.d.ts +11 -9
  52. package/dist/widget/engine-ui/EngineOnboardingSuccess.d.ts +6 -4
  53. package/dist/widget/engine-ui/EngineOverlaySheet.d.ts +2 -1
  54. package/dist/widget/engine-ui/EnginePermissionRailRow.d.ts +5 -1
  55. package/dist/widget/engine-ui/EnginePositionManageDialog.d.ts +2 -1
  56. package/dist/widget/engine-ui/EnginePositionsPanel.d.ts +2 -0
  57. package/dist/widget/engine-ui/EngineTradeIntentSummary.d.ts +16 -0
  58. package/dist/widget/engine-ui/EngineTradeOnboarding.d.ts +9 -2
  59. package/dist/widget/engine-ui/EngineTradePermissions.d.ts +3 -2
  60. package/dist/widget/engine-ui/EngineTradePermissionsPanels.d.ts +7 -2
  61. package/dist/widget/engine-ui/EngineTransactionReceipt.d.ts +8 -2
  62. package/dist/widget/engine-ui/engineOnboardingPanelTypes.d.ts +7 -1
  63. package/dist/widget/engine-ui/enginePermissionCopy.d.ts +31 -3
  64. package/dist/widget/engine-ui/enginePermissionRailGeometry.d.ts +6 -1
  65. package/dist/widget/engine-ui/useSuccessHeightSettle.d.ts +8 -0
  66. package/dist/widget/engineTradeViewModel.d.ts +4 -0
  67. package/dist/widget/simpleBorrowMath.d.ts +0 -20
  68. package/dist/widget/simpleBorrowViewModel.d.ts +4 -0
  69. package/dist/widget/spendingLimit.d.ts +4 -0
  70. package/dist/widget/transactionSteps.d.ts +1 -1
  71. package/dist/widget/types.d.ts +18 -2
  72. package/dist/widget/useAggregatedSwapController.d.ts +5 -3
  73. package/dist/widget/useEngineController.d.ts +31 -14
  74. package/dist/widget/useStatusSurface.d.ts +2 -1
  75. package/dist/widget/useSwapConfig.d.ts +2 -1
  76. package/dist/widget/useSwapController.d.ts +6 -0
  77. package/dist/widget/viewState.d.ts +6 -3
  78. package/package.json +5 -3
  79. package/dist/widget/useRailAutoReset.d.ts +0 -11
package/CHANGELOG.md CHANGED
@@ -1,5 +1,23 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.11.0
4
+
5
+ ### Minor Changes
6
+
7
+ - Refresh the widget layout, styling, amount transitions, permission review, and transaction progress across Swap, Borrow, Lend, and Leverage. Keep the chart visible during Leverage execution and show transaction links after confirmation.
8
+
9
+ Add editable spending limits, wallet-aware borrow limits, receipt-based swap amounts, and consistent confirmed transaction progress to support the updated widget experience.
10
+
11
+ Improve the landing site and playground with funded multi-chain demo portfolios, simulated transaction lifecycles, clearer wallet prompts, installation snippets, event inspection, sharing, reset controls, and walkthroughs. Tap Trading remains marked as coming soon.
12
+
13
+ ### Patch Changes
14
+
15
+ - 1727b9d: Expose settled borrow collateral sizing outcomes and align the Widget's advice,
16
+ button, retry, and existing-vault withdrawal review with them.
17
+ - Updated dependencies [1727b9d]
18
+ - Updated dependencies
19
+ - @aegis-engine/core@0.7.0
20
+
3
21
  ## 0.10.3
4
22
 
5
23
  ### Patch Changes
@@ -0,0 +1,25 @@
1
+ # Third-party notices
2
+
3
+ The shared value display includes `torph` 0.1.2 under the MIT License:
4
+
5
+ MIT License
6
+
7
+ Copyright (c) 2025 Lochie Axon
8
+
9
+ Permission is hereby granted, free of charge, to any person obtaining a copy
10
+ of this software and associated documentation files (the "Software"), to deal
11
+ in the Software without restriction, including without limitation the rights
12
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
13
+ copies of the Software, and to permit persons to whom the Software is
14
+ furnished to do so, subject to the following conditions:
15
+
16
+ The above copyright notice and this permission notice shall be included in all
17
+ copies or substantial portions of the Software.
18
+
19
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
20
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
21
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
22
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
23
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
24
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
25
+ SOFTWARE.