@huma-finance/widgets 0.0.59-beta.482 → 0.0.59-beta.487

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 (42) hide show
  1. package/API.md +0 -1
  2. package/dist/cjs/index.cjs +120 -407
  3. package/dist/cjs/index.cjs.map +1 -1
  4. package/dist/index.d.ts +0 -2
  5. package/dist/index.js +123 -409
  6. package/dist/index.js.map +1 -1
  7. package/package.json +4 -6
  8. package/src/components/Activity.tsx +1 -1
  9. package/src/components/ApproveAllowanceModal.tsx +1 -1
  10. package/src/components/ApproveAllowanceModalV2.tsx +1 -1
  11. package/src/components/ChooseAmountModal.tsx +5 -6
  12. package/src/components/ConfirmTransferModal.tsx +2 -3
  13. package/src/components/CreditLine/borrow/1-Evaluation.tsx +3 -3
  14. package/src/components/ErrorModal.tsx +2 -2
  15. package/src/components/Factoring/FactoredList.tsx +2 -2
  16. package/src/components/Factoring/UpcomingList.tsx +2 -2
  17. package/src/components/HumaSnackBar.tsx +2 -2
  18. package/src/components/HumaTable.tsx +3 -3
  19. package/src/components/InputAmountModal.tsx +4 -4
  20. package/src/components/Lend/addRedemptionV2/1-ChooseTranche.tsx +2 -2
  21. package/src/components/Lend/supply/1-Evaluation/EvaluationEA.tsx +1 -1
  22. package/src/components/Lend/supply/1-Evaluation/EvaluationKYC.tsx +1 -1
  23. package/src/components/Lend/supplyV2/1-ChooseTranche.tsx +2 -2
  24. package/src/components/Lend/supplyV2/2-Evaluation.tsx +329 -20
  25. package/src/components/Lend/supplyV2/3-ChooseAmount.tsx +9 -3
  26. package/src/components/Lend/supplyV2/index.tsx +4 -37
  27. package/src/components/Lend/withdrawV2/1-ConfirmTransfer.tsx +2 -2
  28. package/src/components/Notifi/NotifiSubscriptionModal.tsx +1 -1
  29. package/src/components/ReceivableBackedCreditLine/payment/1-ChoosePaymentType.tsx +2 -2
  30. package/src/components/SignIn.tsx +1 -1
  31. package/src/components/SuperfluidFactoring/index.tsx +2 -2
  32. package/src/components/TxDoneModal.tsx +1 -1
  33. package/src/components/WrapperModal.tsx +2 -2
  34. package/src/components/humaModal/HumaModal.tsx +0 -1
  35. package/src/index.tsx +0 -2
  36. package/src/store/widgets.reducers.ts +1 -0
  37. package/src/theme/components.ts +1 -1
  38. package/dist/assets/output-f6156dde.css +0 -45
  39. package/dist/cjs/assets/output-f6156dde.css +0 -45
  40. package/src/components/Lend/supplyV2/components/PersonaEvaluation.tsx +0 -361
  41. package/src/components/Lend/supplyV2/components/SecuritizeEvaluation.tsx +0 -345
  42. package/src/index.css +0 -61
package/dist/index.d.ts CHANGED
@@ -184,13 +184,11 @@ interface LendSupplyProps {
184
184
  * Lend pool supply props
185
185
  * @typedef {Object} LendSupplyPropsV2
186
186
  * @property {POOL_NAME} poolName The name of the pool.
187
- * @property {boolean} shouldApproveAll To check if should approve both tranches.
188
187
  * @property {function():void} handleClose Function to notify to close the widget modal when user clicks the 'x' close button.
189
188
  * @property {function((number|undefined)):void|undefined} handleSuccess Optional function to notify that the lending pool supply action is successful.
190
189
  */
191
190
  interface LendSupplyPropsV2 {
192
191
  poolName: keyof typeof POOL_NAME;
193
- shouldApproveAll?: boolean;
194
192
  handleClose: () => void;
195
193
  handleSuccess?: (blockNumber?: number) => void;
196
194
  }