@gearbox-protocol/ui-kit 4.0.0-next.5 → 4.0.0-next.50

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 (804) hide show
  1. package/dist/cjs/_virtual/index.cjs +1 -1
  2. package/dist/cjs/components/accordion/accordion.cjs +1 -1
  3. package/dist/cjs/components/alert-badge/alert-badge.cjs +1 -1
  4. package/dist/cjs/components/alert-dialog/alert-dialog.cjs +1 -1
  5. package/dist/cjs/components/alert-modal/alert-modal.cjs +1 -1
  6. package/dist/cjs/components/app-bar/app-bar.cjs +1 -1
  7. package/dist/cjs/components/assets-list-cell/assets-list-cell.cjs +1 -1
  8. package/dist/cjs/components/badge/badge.cjs +1 -1
  9. package/dist/cjs/components/badge/chip.cjs +1 -1
  10. package/dist/cjs/components/base/amount-input/amount-input.cjs +1 -1
  11. package/dist/cjs/components/base/amount-input/token-select-panel.cjs +1 -1
  12. package/dist/cjs/components/base/apy-breakdown-body/apy-breakdown-body.cjs +1 -0
  13. package/dist/cjs/components/base/apy-breakdown-body/index.cjs +1 -0
  14. package/dist/cjs/components/base/borrow-rate-block/borrow-rate-block.cjs +1 -1
  15. package/dist/cjs/components/base/detailed-page-title/detailed-page-title.cjs +1 -1
  16. package/dist/cjs/components/base/details-view/detail-aside/detail-aside-screen-layout.cjs +1 -1
  17. package/dist/cjs/components/base/details-view/index.cjs +1 -1
  18. package/dist/cjs/components/base/health-factor-block/health-factor-block.cjs +1 -1
  19. package/dist/cjs/components/base/history-chart/history-chart.cjs +1 -1
  20. package/dist/cjs/components/base/index.cjs +1 -1
  21. package/dist/cjs/components/base/info-list/index.cjs +1 -1
  22. package/dist/cjs/components/base/info-list/info-list.cjs +1 -1
  23. package/dist/cjs/components/base/leverage-input/leverage-input.cjs +1 -1
  24. package/dist/cjs/components/base/liquidation-params-table/liquidation-params-table.cjs +1 -1
  25. package/dist/cjs/components/base/liquidation-price-block/liquidation-price-block.cjs +1 -1
  26. package/dist/cjs/components/base/manage-pane/manage-pane.cjs +1 -1
  27. package/dist/cjs/components/base/more-accordion/more-accordion.cjs +1 -1
  28. package/dist/cjs/components/base/pool-apy-breakdown-card/constants.cjs +1 -1
  29. package/dist/cjs/components/base/pool-apy-breakdown-card/pool-apy-breakdown-card.cjs +1 -1
  30. package/dist/cjs/components/base/position-assets/constants.cjs +1 -0
  31. package/dist/cjs/components/base/position-assets/index.cjs +1 -0
  32. package/dist/cjs/components/base/position-assets/position-assets.cjs +1 -0
  33. package/dist/cjs/components/base/review-button/constants.cjs +1 -1
  34. package/dist/cjs/components/base/review-button/review-button.cjs +1 -1
  35. package/dist/cjs/components/base/section-heading/section-heading.cjs +1 -1
  36. package/dist/cjs/components/base/segmented-tabs/segmented-tabs.cjs +1 -1
  37. package/dist/cjs/components/base/stack/stack.cjs +1 -1
  38. package/dist/cjs/components/base/stat-badge/constants.cjs +1 -1
  39. package/dist/cjs/components/base/stat-badge/stat-badge.cjs +1 -1
  40. package/dist/cjs/components/base/sticky-bar/sticky-bar.cjs +1 -1
  41. package/dist/cjs/components/base/strategy-apy-breakdown-card/constants.cjs +1 -1
  42. package/dist/cjs/components/base/strategy-apy-breakdown-card/strategy-apy-breakdown-card.cjs +1 -1
  43. package/dist/cjs/components/base/tabber/tabber.cjs +1 -1
  44. package/dist/cjs/components/base/time-to-liquidation-block/time-to-liquidation-block.cjs +1 -1
  45. package/dist/cjs/components/base/title-meta/title-meta.cjs +1 -1
  46. package/dist/cjs/components/base/token-amount/token-amount.cjs +1 -1
  47. package/dist/cjs/components/base/token-pair-symbol/token-pair-symbol.cjs +1 -1
  48. package/dist/cjs/components/base/values/constants.cjs +1 -1
  49. package/dist/cjs/components/base/values/index.cjs +1 -1
  50. package/dist/cjs/components/base/values/no-value.cjs +1 -0
  51. package/dist/cjs/components/base/values/pnl-value.cjs +1 -1
  52. package/dist/cjs/components/base/values/position-status-badge.cjs +1 -1
  53. package/dist/cjs/components/base/values/position-type-badge.cjs +1 -1
  54. package/dist/cjs/components/base/values/price-impact-value.cjs +1 -0
  55. package/dist/cjs/components/base/values/scalars.cjs +1 -1
  56. package/dist/cjs/components/base-link/base-link.cjs +1 -1
  57. package/dist/cjs/components/base-table/base-table-line.cjs +1 -1
  58. package/dist/cjs/components/base-table/base-table.cjs +1 -1
  59. package/dist/cjs/components/breadcrumbs/breadcrumbs.cjs +1 -1
  60. package/dist/cjs/components/buttons/back-button/back-button.cjs +1 -1
  61. package/dist/cjs/components/buttons/button/button.cjs +1 -1
  62. package/dist/cjs/components/buttons/copy-button/copy-button.cjs +1 -1
  63. package/dist/cjs/components/buttons/external-button/external-button.cjs +1 -1
  64. package/dist/cjs/components/buttons/index.cjs +1 -1
  65. package/dist/cjs/components/buttons/range-buttons/index.cjs +1 -1
  66. package/dist/cjs/components/buttons/range-buttons/range-buttons.cjs +1 -1
  67. package/dist/cjs/components/cards/card/card.cjs +1 -1
  68. package/dist/cjs/components/cards/expandable-card/expandable-card.cjs +1 -1
  69. package/dist/cjs/components/cards/index.cjs +1 -1
  70. package/dist/cjs/components/checkbox/checkbox-labeled.cjs +1 -1
  71. package/dist/cjs/components/checkbox/checkbox.cjs +1 -1
  72. package/dist/cjs/components/client-adapters/index.cjs +1 -1
  73. package/dist/cjs/components/client-adapters/styled-button/styled-button.cjs +1 -1
  74. package/dist/cjs/components/client-adapters/styled-dialog-container/styled-dialog-container.cjs +1 -1
  75. package/dist/cjs/components/collateral-allocation-tooltip/allocation-wheel.cjs +1 -1
  76. package/dist/cjs/components/collateral-allocation-tooltip/collateral-allocation-tooltip.cjs +1 -1
  77. package/dist/cjs/components/composites/index.cjs +1 -1
  78. package/dist/cjs/components/composites/notification-center/notification-center.cjs +1 -1
  79. package/dist/cjs/components/composites/pool-assets-table/pool-assets-table-head.cjs +1 -1
  80. package/dist/cjs/components/composites/pool-assets-table/pool-assets-table-row.cjs +1 -1
  81. package/dist/cjs/components/composites/pool-assets-table/pool-assets-table.cjs +1 -1
  82. package/dist/cjs/components/composites/tx-preview/confirm/amounts/TransactionConfirmAmountField.cjs +1 -1
  83. package/dist/cjs/components/composites/tx-preview/confirm/amounts/constants.cjs +1 -1
  84. package/dist/cjs/components/composites/tx-preview/confirm/amounts/index.cjs +1 -1
  85. package/dist/cjs/components/composites/tx-preview/confirm/dialog/TransactionConfirmShell.cjs +1 -1
  86. package/dist/cjs/components/composites/tx-preview/confirm/dialog/constants.cjs +1 -1
  87. package/dist/cjs/components/composites/tx-preview/confirm/dialog/index.cjs +1 -1
  88. package/dist/cjs/components/composites/tx-preview/confirm/index.cjs +1 -1
  89. package/dist/cjs/components/composites/tx-preview/confirm/stepper/ProgressStepper.cjs +1 -1
  90. package/dist/cjs/components/composites/tx-preview/confirm/stepper/index.cjs +1 -1
  91. package/dist/cjs/components/composites/tx-preview/confirm/stepper/transactionExecutionStepTypes.cjs +1 -1
  92. package/dist/cjs/components/composites/tx-preview/index.cjs +1 -1
  93. package/dist/cjs/components/compound-apy/compound-apy.cjs +1 -1
  94. package/dist/cjs/components/confirm-menu/confirm-menu.cjs +1 -1
  95. package/dist/cjs/components/detailed-page-title/detailed-page-title-copy-button.cjs +1 -1
  96. package/dist/cjs/components/detailed-page-title/detailed-page-title-explorer-dropdown.cjs +1 -1
  97. package/dist/cjs/components/dialog/dialog-container.cjs +1 -1
  98. package/dist/cjs/components/dialog/dialog-content.cjs +1 -1
  99. package/dist/cjs/components/dialog/dialog-description.cjs +1 -1
  100. package/dist/cjs/components/dialog/dialog-footer.cjs +1 -1
  101. package/dist/cjs/components/dialog/dialog-form.cjs +1 -1
  102. package/dist/cjs/components/dialog/dialog-header.cjs +1 -1
  103. package/dist/cjs/components/dialog/dialog-modal-container.cjs +1 -1
  104. package/dist/cjs/components/dialog/dialog-overlay.cjs +1 -1
  105. package/dist/cjs/components/dialog/dialog-title.cjs +1 -1
  106. package/dist/cjs/components/dropdown-menu/dropdown-menu-content.cjs +1 -1
  107. package/dist/cjs/components/dropdown-menu/dropdown-menu-item.cjs +1 -1
  108. package/dist/cjs/components/dropdown-menu/dropdown-menu-label.cjs +1 -1
  109. package/dist/cjs/components/dropdown-menu/dropdown-menu.cjs +1 -1
  110. package/dist/cjs/components/dropdown-menu/index.cjs +1 -1
  111. package/dist/cjs/components/edit-input/edit-input.cjs +1 -1
  112. package/dist/cjs/components/error-message/error-line-message.cjs +1 -1
  113. package/dist/cjs/components/error-message/index.cjs +1 -1
  114. package/dist/cjs/components/fadeout-loading/fadeout-loading.cjs +1 -1
  115. package/dist/cjs/components/formatted-number/formatted-number.cjs +1 -1
  116. package/dist/cjs/components/graph/default-config.cjs +1 -1
  117. package/dist/cjs/components/graph/formatters.cjs +1 -1
  118. package/dist/cjs/components/graph/graph-current-value.cjs +1 -1
  119. package/dist/cjs/components/graph/graph-tooltip.cjs +1 -1
  120. package/dist/cjs/components/graph/graph-view.cjs +1 -1
  121. package/dist/cjs/components/graph/graph.cjs +1 -1
  122. package/dist/cjs/components/graph/index.cjs +1 -1
  123. package/dist/cjs/components/graph/y-axis-scale.cjs +1 -0
  124. package/dist/cjs/components/head-cell/head-cell.cjs +1 -1
  125. package/dist/cjs/components/health-factor/health-factor.cjs +1 -1
  126. package/dist/cjs/components/help-tip/help-tip.cjs +1 -1
  127. package/dist/cjs/components/hf-indicator/hf-indicator.cjs +1 -1
  128. package/dist/cjs/components/icon-button/icon-button.cjs +1 -1
  129. package/dist/cjs/components/icons/fa-icon.cjs +1 -1
  130. package/dist/cjs/components/icons/index.cjs +1 -1
  131. package/dist/cjs/components/index.cjs +1 -1
  132. package/dist/cjs/components/input/input.cjs +1 -1
  133. package/dist/cjs/components/label/label.cjs +1 -1
  134. package/dist/cjs/components/layout/app-footer/app-footer.cjs +1 -1
  135. package/dist/cjs/components/legal-agreement/legal-agreement-dialog.cjs +1 -1
  136. package/dist/cjs/components/legal-agreement/legal-agreement-panel.cjs +1 -1
  137. package/dist/cjs/components/link/link.cjs +1 -1
  138. package/dist/cjs/components/loader/loader.cjs +1 -1
  139. package/dist/cjs/components/loading-bar/loading-bar.cjs +1 -1
  140. package/dist/cjs/components/modal/modal.cjs +1 -1
  141. package/dist/cjs/components/navbar-logo/navbar-logo.cjs +1 -1
  142. package/dist/cjs/components/network-icon/index.cjs +1 -1
  143. package/dist/cjs/components/pool-points-indicator/pool-points-indicator.cjs +1 -1
  144. package/dist/cjs/components/radio-group/index.cjs +1 -0
  145. package/dist/cjs/components/radio-group/radio-group.cjs +1 -0
  146. package/dist/cjs/components/rounded-image/rounded-image.cjs +1 -1
  147. package/dist/cjs/components/rwa-styles/index.cjs +1 -1
  148. package/dist/cjs/components/sdk-status-pill/constants.cjs +1 -0
  149. package/dist/cjs/components/sdk-status-pill/index.cjs +1 -0
  150. package/dist/cjs/components/sdk-status-pill/sdk-status-pill.cjs +1 -0
  151. package/dist/cjs/components/sdk-status-pill/sdk-status.cjs +1 -0
  152. package/dist/cjs/components/search-line/search-line.cjs +1 -1
  153. package/dist/cjs/components/segmented-control/segmented-control.cjs +1 -1
  154. package/dist/cjs/components/select/select.cjs +1 -1
  155. package/dist/cjs/components/separate-line/separate-line.cjs +1 -1
  156. package/dist/cjs/components/short-string/short-string.cjs +1 -1
  157. package/dist/cjs/components/simple-accordion/simple-accordion.cjs +1 -1
  158. package/dist/cjs/components/simple-dropdown/simple-dropdown-menu-item.cjs +1 -1
  159. package/dist/cjs/components/simple-dropdown/simple-dropdown.cjs +1 -1
  160. package/dist/cjs/components/skeleton/skeleton-stack.cjs +1 -1
  161. package/dist/cjs/components/skeleton/skeleton.cjs +1 -1
  162. package/dist/cjs/components/slider/constants.cjs +1 -0
  163. package/dist/cjs/components/slider/index.cjs +1 -1
  164. package/dist/cjs/components/slider/slider-track.cjs +1 -1
  165. package/dist/cjs/components/slider/slider-utils.cjs +1 -1
  166. package/dist/cjs/components/slider/slider.cjs +1 -1
  167. package/dist/cjs/components/spinner/spinner.cjs +1 -1
  168. package/dist/cjs/components/spinner-loader/spinner-loader.cjs +1 -1
  169. package/dist/cjs/components/split-list/split-list.cjs +1 -1
  170. package/dist/cjs/components/status-dot/status-dot.cjs +1 -1
  171. package/dist/cjs/components/status-elements/status-elements.cjs +1 -1
  172. package/dist/cjs/components/tab-control/index.cjs +1 -1
  173. package/dist/cjs/components/tab-control/tab-control.cjs +1 -1
  174. package/dist/cjs/components/table/grid-loading-line.cjs +1 -1
  175. package/dist/cjs/components/table/grid-table.cjs +1 -1
  176. package/dist/cjs/components/table/index.cjs +1 -1
  177. package/dist/cjs/components/table/table-sm.cjs +1 -1
  178. package/dist/cjs/components/table/table.cjs +1 -1
  179. package/dist/cjs/components/tabs/tabs.cjs +1 -1
  180. package/dist/cjs/components/text-button/text-button.cjs +1 -1
  181. package/dist/cjs/components/textarea/textarea.cjs +1 -1
  182. package/dist/cjs/components/theme-provider.cjs +1 -1
  183. package/dist/cjs/components/tip-card/tip-card.cjs +1 -1
  184. package/dist/cjs/components/token-icon/index.cjs +1 -1
  185. package/dist/cjs/components/token-icon/token-icon.cjs +1 -1
  186. package/dist/cjs/components/token-symbol/token-symbol.cjs +1 -1
  187. package/dist/cjs/components/token-template/index.cjs +1 -1
  188. package/dist/cjs/components/token-template/token-template.cjs +1 -1
  189. package/dist/cjs/components/tooltip/simple-tooltip.cjs +1 -1
  190. package/dist/cjs/components/tooltip/tooltip.cjs +1 -1
  191. package/dist/cjs/components/trading-view/trading-view.cjs +1 -1
  192. package/dist/cjs/components/typography/typography.cjs +1 -1
  193. package/dist/cjs/components/vertical-indicator/vertical-indicator.cjs +1 -1
  194. package/dist/cjs/components/vspace/vspace.cjs +1 -1
  195. package/dist/cjs/components/with-copy/with-copy.cjs +1 -1
  196. package/dist/cjs/components/with-title/with-title.cjs +1 -1
  197. package/dist/cjs/components/yield-breakdown-tooltip/index.cjs +1 -1
  198. package/dist/cjs/components/yield-breakdown-tooltip/yield-breakdown-tooltip.cjs +1 -1
  199. package/dist/cjs/configs/index.cjs +1 -1
  200. package/dist/cjs/hooks/index.cjs +1 -1
  201. package/dist/cjs/hooks/use-debounce-call.cjs +1 -1
  202. package/dist/cjs/hooks/use-filter.cjs +1 -1
  203. package/dist/cjs/hooks/use-media-query.cjs +1 -1
  204. package/dist/cjs/index.cjs +1 -1
  205. package/dist/cjs/locale/en.json.cjs +1 -1
  206. package/dist/cjs/node_modules/.pnpm/tailwind-scrollbar@4.0.2_react@19.2.8_tailwindcss@4.3.3/node_modules/tailwind-scrollbar/src/index.cjs +1 -0
  207. package/dist/cjs/node_modules/.pnpm/tailwind-scrollbar@4.0.2_react@19.2.8_tailwindcss@4.3.3/node_modules/tailwind-scrollbar/src/utilities.cjs +1 -0
  208. package/dist/cjs/node_modules/.pnpm/tailwindcss@4.3.3/node_modules/tailwindcss/dist/flatten-color-palette.cjs +1 -0
  209. package/dist/cjs/utils/bn-to-pretty-view.cjs +1 -1
  210. package/dist/cjs/utils/colors.cjs +1 -1
  211. package/dist/cjs/utils/format-asset-amount.cjs +1 -1
  212. package/dist/cjs/utils/format-money.cjs +1 -1
  213. package/dist/cjs/utils/format-number.cjs +1 -1
  214. package/dist/cjs/utils/format-slippage.cjs +1 -1
  215. package/dist/cjs/utils/format.cjs +1 -1
  216. package/dist/cjs/utils/index.cjs +1 -1
  217. package/dist/cjs/utils/loading.cjs +1 -1
  218. package/dist/cjs/utils/math.cjs +1 -1
  219. package/dist/cjs/utils/parse-input-to-bn.cjs +1 -1
  220. package/dist/cjs/utils/ranges.cjs +1 -1
  221. package/dist/cjs/utils/ranges.spec.cjs +1 -1
  222. package/dist/cjs/utils/templates.cjs +1 -1
  223. package/dist/cjs/utils/ttl.cjs +1 -1
  224. package/dist/esm/_virtual/index.js +1 -1
  225. package/dist/esm/components/accordion/accordion.js +8 -10
  226. package/dist/esm/components/alert-badge/alert-badge.js +16 -18
  227. package/dist/esm/components/alert-dialog/alert-dialog.js +9 -13
  228. package/dist/esm/components/alert-modal/alert-modal.js +9 -13
  229. package/dist/esm/components/app-bar/app-bar.js +1 -3
  230. package/dist/esm/components/assets-list-cell/assets-list-cell.js +35 -39
  231. package/dist/esm/components/badge/badge.js +3 -6
  232. package/dist/esm/components/badge/chip.js +10 -13
  233. package/dist/esm/components/base/amount-input/amount-input.js +13 -14
  234. package/dist/esm/components/base/amount-input/token-select-panel.js +34 -40
  235. package/dist/esm/components/base/apy-breakdown-body/apy-breakdown-body.js +106 -0
  236. package/dist/esm/components/base/apy-breakdown-body/index.js +10 -0
  237. package/dist/esm/components/base/borrow-rate-block/borrow-rate-block.js +4 -6
  238. package/dist/esm/components/base/detailed-page-title/detailed-page-title.js +22 -25
  239. package/dist/esm/components/base/details-view/detail-aside/detail-aside-scope.js +1 -1
  240. package/dist/esm/components/base/details-view/detail-aside/detail-aside-screen-layout.js +20 -23
  241. package/dist/esm/components/base/details-view/index.js +11 -9
  242. package/dist/esm/components/base/health-factor-block/health-factor-block.js +49 -34
  243. package/dist/esm/components/base/history-chart/history-chart.js +65 -63
  244. package/dist/esm/components/base/index.js +157 -154
  245. package/dist/esm/components/base/info-list/index.js +4 -5
  246. package/dist/esm/components/base/info-list/info-list.js +27 -53
  247. package/dist/esm/components/base/leverage-input/leverage-input.js +10 -12
  248. package/dist/esm/components/base/liquidation-params-table/liquidation-params-table.js +4 -6
  249. package/dist/esm/components/base/liquidation-price-block/liquidation-price-block.js +46 -38
  250. package/dist/esm/components/base/manage-pane/manage-pane.js +5 -7
  251. package/dist/esm/components/base/more-accordion/more-accordion.js +4 -4
  252. package/dist/esm/components/base/pool-apy-breakdown-card/constants.js +5 -2
  253. package/dist/esm/components/base/pool-apy-breakdown-card/pool-apy-breakdown-card.js +122 -40
  254. package/dist/esm/components/base/position-assets/constants.js +9 -0
  255. package/dist/esm/components/base/position-assets/index.js +7 -0
  256. package/dist/esm/components/base/position-assets/position-assets.js +116 -0
  257. package/dist/esm/components/base/review-button/constants.js +3 -2
  258. package/dist/esm/components/base/review-button/review-button.js +27 -17
  259. package/dist/esm/components/base/section-heading/section-heading.js +3 -6
  260. package/dist/esm/components/base/segmented-tabs/segmented-tabs.js +14 -17
  261. package/dist/esm/components/base/stack/stack.js +20 -22
  262. package/dist/esm/components/base/stat-badge/constants.js +1 -0
  263. package/dist/esm/components/base/stat-badge/stat-badge.js +91 -58
  264. package/dist/esm/components/base/sticky-bar/sticky-bar.js +3 -6
  265. package/dist/esm/components/base/strategy-apy-breakdown-card/constants.js +7 -3
  266. package/dist/esm/components/base/strategy-apy-breakdown-card/strategy-apy-breakdown-card.js +191 -186
  267. package/dist/esm/components/base/tabber/tabber.js +67 -64
  268. package/dist/esm/components/base/time-to-liquidation-block/time-to-liquidation-block.js +36 -28
  269. package/dist/esm/components/base/title-meta/title-meta.js +39 -40
  270. package/dist/esm/components/base/token-amount/token-amount.js +36 -16
  271. package/dist/esm/components/base/token-pair-symbol/token-pair-symbol.js +13 -16
  272. package/dist/esm/components/base/values/constants.js +2 -0
  273. package/dist/esm/components/base/values/index.js +23 -18
  274. package/dist/esm/components/base/values/no-value.js +34 -0
  275. package/dist/esm/components/base/values/pnl-value.js +11 -12
  276. package/dist/esm/components/base/values/position-status-badge.js +6 -9
  277. package/dist/esm/components/base/values/position-type-badge.js +10 -13
  278. package/dist/esm/components/base/values/price-impact-value.js +21 -0
  279. package/dist/esm/components/base/values/scalars.js +60 -41
  280. package/dist/esm/components/base-link/base-link.js +8 -10
  281. package/dist/esm/components/base-table/base-table-line.js +50 -42
  282. package/dist/esm/components/base-table/base-table.js +37 -37
  283. package/dist/esm/components/breadcrumbs/breadcrumbs.js +9 -12
  284. package/dist/esm/components/buttons/back-button/back-button.js +20 -23
  285. package/dist/esm/components/buttons/button/button.js +5 -7
  286. package/dist/esm/components/buttons/copy-button/copy-button.js +13 -15
  287. package/dist/esm/components/buttons/external-button/external-button.js +8 -10
  288. package/dist/esm/components/buttons/index.js +5 -11
  289. package/dist/esm/components/buttons/range-buttons/index.js +1 -4
  290. package/dist/esm/components/buttons/range-buttons/range-buttons.js +1 -36
  291. package/dist/esm/components/cards/card/card.js +7 -9
  292. package/dist/esm/components/cards/expandable-card/expandable-card.js +14 -16
  293. package/dist/esm/components/cards/index.js +2 -4
  294. package/dist/esm/components/checkbox/checkbox-labeled.js +10 -32
  295. package/dist/esm/components/checkbox/checkbox.js +8 -10
  296. package/dist/esm/components/client-adapters/index.js +4 -6
  297. package/dist/esm/components/client-adapters/styled-button/styled-button.js +14 -22
  298. package/dist/esm/components/client-adapters/styled-dialog-container/styled-dialog-container.js +5 -7
  299. package/dist/esm/components/collateral-allocation-tooltip/allocation-wheel.js +13 -16
  300. package/dist/esm/components/collateral-allocation-tooltip/collateral-allocation-tooltip.js +16 -19
  301. package/dist/esm/components/composites/index.js +34 -38
  302. package/dist/esm/components/composites/notification-center/notification-center.js +22 -25
  303. package/dist/esm/components/composites/pool-assets-table/pool-assets-table-head.js +16 -18
  304. package/dist/esm/components/composites/pool-assets-table/pool-assets-table-row.js +45 -46
  305. package/dist/esm/components/composites/pool-assets-table/pool-assets-table.js +10 -12
  306. package/dist/esm/components/composites/tx-preview/confirm/amounts/TransactionConfirmAmountField.js +46 -37
  307. package/dist/esm/components/composites/tx-preview/confirm/amounts/constants.js +1 -5
  308. package/dist/esm/components/composites/tx-preview/confirm/amounts/index.js +4 -4
  309. package/dist/esm/components/composites/tx-preview/confirm/dialog/TransactionConfirmShell.js +115 -66
  310. package/dist/esm/components/composites/tx-preview/confirm/dialog/constants.js +10 -7
  311. package/dist/esm/components/composites/tx-preview/confirm/dialog/index.js +8 -10
  312. package/dist/esm/components/composites/tx-preview/confirm/index.js +27 -31
  313. package/dist/esm/components/composites/tx-preview/confirm/stepper/ProgressStepper.js +20 -23
  314. package/dist/esm/components/composites/tx-preview/confirm/stepper/index.js +1 -3
  315. package/dist/esm/components/composites/tx-preview/confirm/stepper/transactionExecutionStepTypes.js +1 -6
  316. package/dist/esm/components/composites/tx-preview/index.js +27 -31
  317. package/dist/esm/components/compound-apy/compound-apy.js +51 -42
  318. package/dist/esm/components/confirm-menu/confirm-menu.js +10 -12
  319. package/dist/esm/components/detailed-page-title/detailed-page-title-copy-button.js +7 -9
  320. package/dist/esm/components/detailed-page-title/detailed-page-title-explorer-dropdown.js +51 -44
  321. package/dist/esm/components/dialog/dialog-container.js +11 -13
  322. package/dist/esm/components/dialog/dialog-content.js +5 -7
  323. package/dist/esm/components/dialog/dialog-description.js +5 -7
  324. package/dist/esm/components/dialog/dialog-footer.js +10 -13
  325. package/dist/esm/components/dialog/dialog-form.js +12 -15
  326. package/dist/esm/components/dialog/dialog-header.js +5 -8
  327. package/dist/esm/components/dialog/dialog-modal-container.js +4 -6
  328. package/dist/esm/components/dialog/dialog-overlay.js +6 -8
  329. package/dist/esm/components/dialog/dialog-title.js +4 -6
  330. package/dist/esm/components/dropdown-menu/dropdown-menu-content.js +8 -10
  331. package/dist/esm/components/dropdown-menu/dropdown-menu-item.js +10 -12
  332. package/dist/esm/components/dropdown-menu/dropdown-menu-label.js +7 -9
  333. package/dist/esm/components/dropdown-menu/dropdown-menu.js +8 -11
  334. package/dist/esm/components/dropdown-menu/index.js +9 -24
  335. package/dist/esm/components/edit-input/edit-input.js +13 -15
  336. package/dist/esm/components/error-message/error-line-message.js +10 -13
  337. package/dist/esm/components/error-message/index.js +1 -3
  338. package/dist/esm/components/fadeout-loading/fadeout-loading.js +4 -6
  339. package/dist/esm/components/formatted-number/formatted-number.js +3 -6
  340. package/dist/esm/components/graph/default-config.js +39 -73
  341. package/dist/esm/components/graph/formatters.js +99 -138
  342. package/dist/esm/components/graph/graph-current-value.js +11 -11
  343. package/dist/esm/components/graph/graph-tooltip.js +6 -6
  344. package/dist/esm/components/graph/graph-view.js +76 -91
  345. package/dist/esm/components/graph/graph.js +684 -594
  346. package/dist/esm/components/graph/index.js +31 -27
  347. package/dist/esm/components/graph/y-axis-scale.js +112 -0
  348. package/dist/esm/components/head-cell/head-cell.js +21 -23
  349. package/dist/esm/components/health-factor/health-factor.js +27 -27
  350. package/dist/esm/components/help-tip/help-tip.js +70 -67
  351. package/dist/esm/components/hf-indicator/hf-indicator.js +55 -29
  352. package/dist/esm/components/icon-button/icon-button.js +14 -16
  353. package/dist/esm/components/icons/fa-icon.js +3 -6
  354. package/dist/esm/components/icons/index.js +2 -41
  355. package/dist/esm/components/index.js +616 -708
  356. package/dist/esm/components/input/input.js +3 -5
  357. package/dist/esm/components/label/label.js +1 -3
  358. package/dist/esm/components/layout/app-footer/app-footer.js +20 -23
  359. package/dist/esm/components/legal-agreement/legal-agreement-dialog.js +12 -12
  360. package/dist/esm/components/legal-agreement/legal-agreement-panel.js +6 -6
  361. package/dist/esm/components/link/link.js +51 -40
  362. package/dist/esm/components/loader/loader.js +5 -7
  363. package/dist/esm/components/loading-bar/loading-bar.js +4 -6
  364. package/dist/esm/components/modal/modal.js +8 -10
  365. package/dist/esm/components/navbar-logo/navbar-logo.js +9 -12
  366. package/dist/esm/components/network-icon/index.js +2 -4
  367. package/dist/esm/components/pool-points-indicator/pool-points-indicator.js +20 -23
  368. package/dist/esm/components/radio-group/index.js +5 -0
  369. package/dist/esm/components/radio-group/radio-group.js +55 -0
  370. package/dist/esm/components/rounded-image/rounded-image.js +5 -7
  371. package/dist/esm/components/rwa-styles/index.js +2 -3
  372. package/dist/esm/components/sdk-status-pill/constants.js +8 -0
  373. package/dist/esm/components/sdk-status-pill/index.js +8 -0
  374. package/dist/esm/components/sdk-status-pill/sdk-status-pill.js +58 -0
  375. package/dist/esm/components/sdk-status-pill/sdk-status.js +6 -0
  376. package/dist/esm/components/search-line/search-line.js +6 -8
  377. package/dist/esm/components/segmented-control/segmented-control.js +7 -9
  378. package/dist/esm/components/select/select.js +8 -10
  379. package/dist/esm/components/separate-line/separate-line.js +1 -3
  380. package/dist/esm/components/short-string/short-string.js +7 -10
  381. package/dist/esm/components/simple-accordion/simple-accordion.js +10 -13
  382. package/dist/esm/components/simple-dropdown/simple-dropdown-menu-item.js +5 -13
  383. package/dist/esm/components/simple-dropdown/simple-dropdown.js +11 -13
  384. package/dist/esm/components/skeleton/skeleton-stack.js +9 -11
  385. package/dist/esm/components/skeleton/skeleton.js +11 -14
  386. package/dist/esm/components/slider/constants.js +6 -0
  387. package/dist/esm/components/slider/index.js +27 -26
  388. package/dist/esm/components/slider/slider-track.js +19 -17
  389. package/dist/esm/components/slider/slider-utils.js +36 -21
  390. package/dist/esm/components/slider/slider.js +54 -54
  391. package/dist/esm/components/spinner/spinner.js +1 -3
  392. package/dist/esm/components/spinner-loader/spinner-loader.js +10 -12
  393. package/dist/esm/components/split-list/split-list.js +5 -7
  394. package/dist/esm/components/status-dot/status-dot.js +4 -6
  395. package/dist/esm/components/status-elements/status-elements.js +10 -13
  396. package/dist/esm/components/tab-control/index.js +3 -6
  397. package/dist/esm/components/tab-control/tab-control.js +59 -103
  398. package/dist/esm/components/table/grid-loading-line.js +16 -18
  399. package/dist/esm/components/table/grid-table.js +46 -49
  400. package/dist/esm/components/table/index.js +23 -28
  401. package/dist/esm/components/table/table-sm.js +23 -26
  402. package/dist/esm/components/table/table.js +2 -7
  403. package/dist/esm/components/tabs/tabs.js +10 -12
  404. package/dist/esm/components/text-button/text-button.js +10 -12
  405. package/dist/esm/components/textarea/textarea.js +1 -3
  406. package/dist/esm/components/theme-provider.js +19 -26
  407. package/dist/esm/components/tip-card/tip-card.js +5 -7
  408. package/dist/esm/components/token-icon/index.js +2 -3
  409. package/dist/esm/components/token-icon/token-icon.js +73 -86
  410. package/dist/esm/components/token-symbol/token-symbol.js +5 -7
  411. package/dist/esm/components/token-template/index.js +4 -2
  412. package/dist/esm/components/token-template/token-template.js +16 -20
  413. package/dist/esm/components/tooltip/simple-tooltip.js +52 -52
  414. package/dist/esm/components/tooltip/tooltip.js +7 -9
  415. package/dist/esm/components/trading-view/trading-view.js +133 -131
  416. package/dist/esm/components/typography/typography.js +9 -11
  417. package/dist/esm/components/vertical-indicator/vertical-indicator.js +16 -18
  418. package/dist/esm/components/vspace/vspace.js +10 -13
  419. package/dist/esm/components/with-copy/with-copy.js +18 -40
  420. package/dist/esm/components/with-title/with-title.js +12 -15
  421. package/dist/esm/components/yield-breakdown-tooltip/index.js +2 -1
  422. package/dist/esm/components/yield-breakdown-tooltip/yield-breakdown-tooltip.js +149 -130
  423. package/dist/esm/configs/index.js +4 -11
  424. package/dist/esm/hooks/index.js +18 -34
  425. package/dist/esm/hooks/use-debounce-call.js +5 -6
  426. package/dist/esm/hooks/use-filter.js +25 -61
  427. package/dist/esm/hooks/use-media-query.js +27 -41
  428. package/dist/esm/index.js +730 -878
  429. package/dist/esm/locale/en.json.js +49 -36
  430. package/dist/esm/node_modules/.pnpm/{tailwind-scrollbar@4.0.2_react@19.2.0_tailwindcss@4.1.17 → tailwind-scrollbar@4.0.2_react@19.2.8_tailwindcss@4.3.3}/node_modules/tailwind-scrollbar/src/index.js +1 -1
  431. package/dist/esm/node_modules/.pnpm/{tailwind-scrollbar@4.0.2_react@19.2.0_tailwindcss@4.1.17 → tailwind-scrollbar@4.0.2_react@19.2.8_tailwindcss@4.3.3}/node_modules/tailwind-scrollbar/src/utilities.js +1 -1
  432. package/dist/esm/node_modules/.pnpm/tailwindcss@4.3.3/node_modules/tailwindcss/dist/flatten-color-palette.js +16 -0
  433. package/dist/esm/utils/bn-to-pretty-view.js +1 -1
  434. package/dist/esm/utils/colors.js +22 -34
  435. package/dist/esm/utils/format-asset-amount.js +1 -1
  436. package/dist/esm/utils/format-money.js +29 -69
  437. package/dist/esm/utils/format-number.js +26 -30
  438. package/dist/esm/utils/format-slippage.js +1 -1
  439. package/dist/esm/utils/format.js +6 -25
  440. package/dist/esm/utils/index.js +77 -110
  441. package/dist/esm/utils/loading.js +6 -13
  442. package/dist/esm/utils/math.js +22 -31
  443. package/dist/esm/utils/parse-input-to-bn.js +1 -1
  444. package/dist/esm/utils/ranges.js +1 -24
  445. package/dist/esm/utils/ranges.spec.js +1 -188
  446. package/dist/esm/utils/templates.js +5 -39
  447. package/dist/esm/utils/ttl.js +11 -36
  448. package/dist/globals.css +2 -2
  449. package/dist/types/components/alert-badge/alert-badge.d.ts +1 -1
  450. package/dist/types/components/alert-dialog/alert-dialog.d.ts +2 -2
  451. package/dist/types/components/assets-list-cell/assets-list-cell.d.ts +1 -1
  452. package/dist/types/components/badge/badge.d.ts +2 -2
  453. package/dist/types/components/base/amount-input/amount-input.d.ts +3 -2
  454. package/dist/types/components/base/amount-input/token-select-panel.d.ts +4 -3
  455. package/dist/types/components/base/apy-breakdown-body/apy-breakdown-body.d.ts +43 -0
  456. package/dist/types/components/base/apy-breakdown-body/index.d.ts +2 -0
  457. package/dist/types/components/base/details-view/index.d.ts +2 -2
  458. package/dist/types/components/base/health-factor-block/health-factor-block.d.ts +8 -1
  459. package/dist/types/components/base/history-chart/history-chart.d.ts +21 -6
  460. package/dist/types/components/base/index.d.ts +1 -2
  461. package/dist/types/components/base/info-list/info-list.d.ts +16 -16
  462. package/dist/types/components/base/info-portal/info-portal.d.ts +1 -1
  463. package/dist/types/components/base/leverage-input/leverage-input.d.ts +4 -2
  464. package/dist/types/components/base/liquidation-price-block/liquidation-price-block.d.ts +8 -1
  465. package/dist/types/components/base/pool-apy-breakdown-card/constants.d.ts +3 -0
  466. package/dist/types/components/base/pool-apy-breakdown-card/pool-apy-breakdown-card.d.ts +12 -8
  467. package/dist/types/components/base/position-assets/constants.d.ts +6 -0
  468. package/dist/types/components/base/position-assets/index.d.ts +2 -0
  469. package/dist/types/components/base/position-assets/position-assets.d.ts +65 -0
  470. package/dist/types/components/base/review-button/constants.d.ts +1 -0
  471. package/dist/types/components/base/review-button/review-button.d.ts +17 -3
  472. package/dist/types/components/base/stat-badge/constants.d.ts +1 -0
  473. package/dist/types/components/base/stat-badge/stat-badge.d.ts +11 -1
  474. package/dist/types/components/base/strategy-apy-breakdown-card/constants.d.ts +5 -1
  475. package/dist/types/components/base/strategy-apy-breakdown-card/strategy-apy-breakdown-card.d.ts +40 -12
  476. package/dist/types/components/base/tabber/tabber.d.ts +2 -2
  477. package/dist/types/components/base/time-to-liquidation-block/time-to-liquidation-block.d.ts +8 -1
  478. package/dist/types/components/base/token-amount/token-amount.d.ts +14 -2
  479. package/dist/types/components/base/values/constants.d.ts +2 -0
  480. package/dist/types/components/base/values/index.d.ts +9 -7
  481. package/dist/types/components/base/values/no-value.d.ts +25 -0
  482. package/dist/types/components/base/values/pnl-value.d.ts +8 -2
  483. package/dist/types/components/base/values/price-impact-value.d.ts +25 -0
  484. package/dist/types/components/base/values/scalars.d.ts +29 -3
  485. package/dist/types/components/base-table/base-table-line.d.ts +1 -1
  486. package/dist/types/components/base-table/base-table.d.ts +2 -2
  487. package/dist/types/components/buttons/back-button/back-button.d.ts +2 -2
  488. package/dist/types/components/buttons/button/button.d.ts +2 -2
  489. package/dist/types/components/buttons/index.d.ts +0 -2
  490. package/dist/types/components/buttons/range-buttons/range-buttons.d.ts +0 -32
  491. package/dist/types/components/cards/card/card.d.ts +2 -2
  492. package/dist/types/components/cards/danger-zone/danger-zone.d.ts +1 -1
  493. package/dist/types/components/cards/expandable-card/expandable-card.d.ts +1 -1
  494. package/dist/types/components/cards/index.d.ts +0 -1
  495. package/dist/types/components/checkbox/checkbox.d.ts +2 -2
  496. package/dist/types/components/client-adapters/index.d.ts +0 -1
  497. package/dist/types/components/client-adapters/styled-button/styled-button.d.ts +10 -5
  498. package/dist/types/components/composites/pool-assets-table/pool-assets-table-row.d.ts +3 -2
  499. package/dist/types/components/composites/pool-assets-table/pool-assets-table.d.ts +6 -2
  500. package/dist/types/components/composites/pool-assets-table/types.d.ts +0 -3
  501. package/dist/types/components/composites/tx-preview/confirm/amounts/TransactionConfirmAmountField.d.ts +47 -14
  502. package/dist/types/components/composites/tx-preview/confirm/amounts/constants.d.ts +0 -3
  503. package/dist/types/components/composites/tx-preview/confirm/dialog/TransactionConfirmShell.d.ts +23 -19
  504. package/dist/types/components/composites/tx-preview/confirm/dialog/index.d.ts +2 -2
  505. package/dist/types/components/composites/tx-preview/confirm/dialog/transactionConfirmPhase.d.ts +0 -3
  506. package/dist/types/components/composites/tx-preview/confirm/dialog/transactionConfirmShellTypes.d.ts +98 -0
  507. package/dist/types/components/composites/tx-preview/confirm/stepper/transactionExecutionStepTypes.d.ts +0 -9
  508. package/dist/types/components/compound-apy/compound-apy.d.ts +14 -2
  509. package/dist/types/components/dialog/dialog-footer.d.ts +1 -1
  510. package/dist/types/components/dialog/dialog-header.d.ts +1 -1
  511. package/dist/types/components/dropdown-menu/dropdown-menu.d.ts +2 -5
  512. package/dist/types/components/dropdown-menu/index.d.ts +0 -6
  513. package/dist/types/components/edit-input/edit-input.d.ts +1 -1
  514. package/dist/types/components/error-message/index.d.ts +0 -1
  515. package/dist/types/components/formatted-number/formatted-number.d.ts +1 -1
  516. package/dist/types/components/graph/default-config.d.ts +23 -2
  517. package/dist/types/components/graph/formatters.d.ts +11 -4
  518. package/dist/types/components/graph/graph-view.d.ts +0 -32
  519. package/dist/types/components/graph/graph.d.ts +26 -5
  520. package/dist/types/components/graph/index.d.ts +3 -3
  521. package/dist/types/components/graph/y-axis-scale.d.ts +48 -0
  522. package/dist/types/components/head-cell/head-cell.d.ts +2 -1
  523. package/dist/types/components/head-cell/index.d.ts +1 -1
  524. package/dist/types/components/health-factor/health-factor.d.ts +10 -1
  525. package/dist/types/components/help-tip/help-tip.d.ts +4 -4
  526. package/dist/types/components/hf-indicator/hf-indicator.d.ts +12 -3
  527. package/dist/types/components/icon-button/icon-button.d.ts +0 -8
  528. package/dist/types/components/icons/fa-icon.d.ts +1 -1
  529. package/dist/types/components/icons/index.d.ts +1 -2
  530. package/dist/types/components/index.d.ts +2 -4
  531. package/dist/types/components/label/label.d.ts +2 -2
  532. package/dist/types/components/layout/app-footer/app-footer.d.ts +9 -15
  533. package/dist/types/components/legal-agreement/index.d.ts +5 -5
  534. package/dist/types/components/legal-agreement/legal-agreement-dialog.d.ts +2 -2
  535. package/dist/types/components/legal-agreement/legal-agreement-theme.d.ts +0 -2
  536. package/dist/types/components/loading/loading.d.ts +1 -1
  537. package/dist/types/components/navbar-logo/navbar-logo.d.ts +1 -1
  538. package/dist/types/components/navigation-context/index.d.ts +1 -1
  539. package/dist/types/components/navigation-context/navigation-context.d.ts +1 -9
  540. package/dist/types/components/network-icon/index.d.ts +0 -2
  541. package/dist/types/components/network-icon/network-icon.d.ts +1 -1
  542. package/dist/types/components/points-icon/index.d.ts +1 -1
  543. package/dist/types/components/points-icon/points-icon.d.ts +0 -5
  544. package/dist/types/components/pool-points-indicator/pool-points-indicator.d.ts +1 -1
  545. package/dist/types/components/radio-group/index.d.ts +1 -0
  546. package/dist/types/components/radio-group/radio-group.d.ts +39 -0
  547. package/dist/types/components/rwa-styles/index.d.ts +0 -1
  548. package/dist/types/components/sdk-status-pill/constants.d.ts +5 -0
  549. package/dist/types/components/sdk-status-pill/index.d.ts +3 -0
  550. package/dist/types/components/sdk-status-pill/sdk-status-pill.d.ts +27 -0
  551. package/dist/types/components/sdk-status-pill/sdk-status.d.ts +11 -0
  552. package/dist/types/components/search-line/search-line.d.ts +1 -1
  553. package/dist/types/components/select/select.d.ts +4 -4
  554. package/dist/types/components/separate-line/index.d.ts +1 -1
  555. package/dist/types/components/short-string/short-string.d.ts +1 -1
  556. package/dist/types/components/simple-accordion/simple-accordion.d.ts +2 -2
  557. package/dist/types/components/simple-dropdown/simple-dropdown.d.ts +1 -1
  558. package/dist/types/components/skeleton/skeleton.d.ts +1 -1
  559. package/dist/types/components/slider/constants.d.ts +3 -0
  560. package/dist/types/components/slider/index.d.ts +1 -0
  561. package/dist/types/components/slider/slider-context.d.ts +1 -1
  562. package/dist/types/components/slider/slider-mark.d.ts +1 -1
  563. package/dist/types/components/slider/slider-track.d.ts +1 -1
  564. package/dist/types/components/slider/slider-utils.d.ts +28 -3
  565. package/dist/types/components/spinner/spinner.d.ts +2 -2
  566. package/dist/types/components/status-dot/status-dot.d.ts +1 -1
  567. package/dist/types/components/status-elements/status-elements.d.ts +2 -2
  568. package/dist/types/components/tab-control/tab-control.d.ts +2 -14
  569. package/dist/types/components/table/grid-loading-line.d.ts +1 -1
  570. package/dist/types/components/table/grid-table.d.ts +5 -7
  571. package/dist/types/components/table/table-loader.d.ts +1 -1
  572. package/dist/types/components/table/table-sm.d.ts +2 -2
  573. package/dist/types/components/table/table.d.ts +1 -46
  574. package/dist/types/components/theme-provider.d.ts +1 -14
  575. package/dist/types/components/tip-card/index.d.ts +1 -1
  576. package/dist/types/components/tip-card/tip-card.d.ts +1 -1
  577. package/dist/types/components/token-icon/index.d.ts +1 -1
  578. package/dist/types/components/token-icon/token-icon.d.ts +1 -16
  579. package/dist/types/components/token-symbol/token-symbol.d.ts +1 -1
  580. package/dist/types/components/token-template/index.d.ts +1 -1
  581. package/dist/types/components/token-template/token-template.d.ts +3 -3
  582. package/dist/types/components/tooltip/simple-tooltip.d.ts +1 -1
  583. package/dist/types/components/trading-view/trading-view.d.ts +18 -7
  584. package/dist/types/components/typed-intl/index.d.ts +1 -1
  585. package/dist/types/components/typography/typography.d.ts +3 -3
  586. package/dist/types/components/vertical-indicator/vertical-indicator.d.ts +3 -3
  587. package/dist/types/components/with-title/with-title.d.ts +1 -1
  588. package/dist/types/components/yield-breakdown-tooltip/yield-breakdown-tooltip.d.ts +27 -5
  589. package/dist/types/configs/index.d.ts +0 -2
  590. package/dist/types/hooks/index.d.ts +0 -5
  591. package/dist/types/hooks/use-filter.d.ts +1 -38
  592. package/dist/types/hooks/use-media-query.d.ts +0 -8
  593. package/dist/types/index.d.ts +4 -11
  594. package/dist/types/locale/en.json.d.ts +50 -37
  595. package/dist/types/types/index.d.ts +0 -1
  596. package/dist/types/utils/colors.d.ts +0 -6
  597. package/dist/types/utils/format-money.d.ts +0 -1
  598. package/dist/types/utils/format-number.d.ts +2 -5
  599. package/dist/types/utils/format.d.ts +8 -4
  600. package/dist/types/utils/index.d.ts +3 -12
  601. package/dist/types/utils/loading.d.ts +0 -1
  602. package/dist/types/utils/math.d.ts +0 -3
  603. package/dist/types/utils/network-icons.d.ts +1 -1
  604. package/dist/types/utils/ranges.d.ts +0 -23
  605. package/dist/types/utils/templates.d.ts +0 -77
  606. package/dist/types/utils/token-icon-source.d.ts +25 -1
  607. package/dist/types/utils/ttl.d.ts +0 -37
  608. package/package.json +24 -36
  609. package/dist/cjs/components/base/side-card/constants.cjs +0 -1
  610. package/dist/cjs/components/base/side-card/index.cjs +0 -1
  611. package/dist/cjs/components/base/side-card/side-card.cjs +0 -1
  612. package/dist/cjs/components/base/token-pair-title/constants.cjs +0 -1
  613. package/dist/cjs/components/base/token-pair-title/index.cjs +0 -1
  614. package/dist/cjs/components/base/token-pair-title/token-pair-title.cjs +0 -1
  615. package/dist/cjs/components/block-sync-pill/block-sync-pill.cjs +0 -1
  616. package/dist/cjs/components/block-sync-pill/block-sync-status.cjs +0 -1
  617. package/dist/cjs/components/block-sync-pill/index.cjs +0 -1
  618. package/dist/cjs/components/buttons/filter-button/filter-button.cjs +0 -1
  619. package/dist/cjs/components/buttons/filter-button/index.cjs +0 -1
  620. package/dist/cjs/components/buttons/navigation-button/index.cjs +0 -1
  621. package/dist/cjs/components/buttons/navigation-button/navigation-button.cjs +0 -1
  622. package/dist/cjs/components/cards/expandable-call/expandable-call.cjs +0 -1
  623. package/dist/cjs/components/cards/expandable-call/index.cjs +0 -1
  624. package/dist/cjs/components/checkbox-item/checkbox-item.cjs +0 -1
  625. package/dist/cjs/components/checkbox-item/index.cjs +0 -1
  626. package/dist/cjs/components/client-adapters/styled-rounded-image/index.cjs +0 -1
  627. package/dist/cjs/components/client-adapters/styled-rounded-image/styled-rounded-image.cjs +0 -1
  628. package/dist/cjs/components/composites/tx-preview/confirm/dialog/TransactionConfirmModalView.cjs +0 -1
  629. package/dist/cjs/components/composites/tx-preview/confirm/dialog/TransactionConfirmPageView.cjs +0 -1
  630. package/dist/cjs/components/detailed-apy/detailed-apy.cjs +0 -1
  631. package/dist/cjs/components/detailed-apy/index.cjs +0 -1
  632. package/dist/cjs/components/dropdown-menu/dropdown-menu-checkbox-item.cjs +0 -1
  633. package/dist/cjs/components/dropdown-menu/dropdown-menu-radio-item.cjs +0 -1
  634. package/dist/cjs/components/dropdown-menu/dropdown-menu-separator.cjs +0 -1
  635. package/dist/cjs/components/dropdown-menu/dropdown-menu-shortcut.cjs +0 -1
  636. package/dist/cjs/components/dropdown-menu/dropdown-menu-sub-content.cjs +0 -1
  637. package/dist/cjs/components/dropdown-menu/dropdown-menu-sub-trigger.cjs +0 -1
  638. package/dist/cjs/components/error-message/error-message.cjs +0 -1
  639. package/dist/cjs/components/filter/filter-block.cjs +0 -1
  640. package/dist/cjs/components/filter/filter-checkbox-item.cjs +0 -1
  641. package/dist/cjs/components/filter/filter-chip.cjs +0 -1
  642. package/dist/cjs/components/filter/filter-chips.cjs +0 -1
  643. package/dist/cjs/components/filter/filter-dropdown-item.cjs +0 -1
  644. package/dist/cjs/components/filter/filter-group.cjs +0 -1
  645. package/dist/cjs/components/filter/filter-label.cjs +0 -1
  646. package/dist/cjs/components/filter/filter-modal-item.cjs +0 -1
  647. package/dist/cjs/components/filter/filter-modal.cjs +0 -1
  648. package/dist/cjs/components/filter/filter-radio-item.cjs +0 -1
  649. package/dist/cjs/components/filter/filter-separator.cjs +0 -1
  650. package/dist/cjs/components/filter/index.cjs +0 -1
  651. package/dist/cjs/components/filter/variants.cjs +0 -1
  652. package/dist/cjs/components/network-icon/network-indicator.cjs +0 -1
  653. package/dist/cjs/configs/design-tokens.cjs +0 -1
  654. package/dist/cjs/configs/variants.cjs +0 -1
  655. package/dist/cjs/hooks/use-checkbox-select.cjs +0 -1
  656. package/dist/cjs/hooks/use-controllable-state.cjs +0 -1
  657. package/dist/cjs/hooks/use-hf.cjs +0 -1
  658. package/dist/cjs/hooks/use-opened-state.cjs +0 -1
  659. package/dist/cjs/hooks/use-smart-number-input.cjs +0 -1
  660. package/dist/cjs/node_modules/.pnpm/tailwind-scrollbar@4.0.2_react@19.2.0_tailwindcss@4.1.17/node_modules/tailwind-scrollbar/src/index.cjs +0 -1
  661. package/dist/cjs/node_modules/.pnpm/tailwind-scrollbar@4.0.2_react@19.2.0_tailwindcss@4.1.17/node_modules/tailwind-scrollbar/src/utilities.cjs +0 -1
  662. package/dist/cjs/node_modules/.pnpm/tailwindcss@4.1.17/node_modules/tailwindcss/dist/flatten-color-palette.cjs +0 -3
  663. package/dist/cjs/types/footer.cjs +0 -1
  664. package/dist/cjs/utils/a11y.cjs +0 -1
  665. package/dist/cjs/utils/copy.cjs +0 -1
  666. package/dist/cjs/utils/interface.cjs +0 -1
  667. package/dist/cjs/utils/plural.cjs +0 -1
  668. package/dist/cjs/utils/react.cjs +0 -1
  669. package/dist/cjs/utils/search-in-token.cjs +0 -1
  670. package/dist/cjs/utils/search.cjs +0 -1
  671. package/dist/cjs/utils/short-sha.cjs +0 -1
  672. package/dist/cjs/utils/sort.cjs +0 -1
  673. package/dist/esm/components/base/side-card/constants.js +0 -8
  674. package/dist/esm/components/base/side-card/index.js +0 -6
  675. package/dist/esm/components/base/side-card/side-card.js +0 -57
  676. package/dist/esm/components/base/token-pair-title/constants.js +0 -6
  677. package/dist/esm/components/base/token-pair-title/index.js +0 -6
  678. package/dist/esm/components/base/token-pair-title/token-pair-title.js +0 -20
  679. package/dist/esm/components/block-sync-pill/block-sync-pill.js +0 -210
  680. package/dist/esm/components/block-sync-pill/block-sync-status.js +0 -12
  681. package/dist/esm/components/block-sync-pill/index.js +0 -4
  682. package/dist/esm/components/buttons/filter-button/filter-button.js +0 -32
  683. package/dist/esm/components/buttons/filter-button/index.js +0 -4
  684. package/dist/esm/components/buttons/navigation-button/index.js +0 -4
  685. package/dist/esm/components/buttons/navigation-button/navigation-button.js +0 -28
  686. package/dist/esm/components/cards/expandable-call/expandable-call.js +0 -51
  687. package/dist/esm/components/cards/expandable-call/index.js +0 -4
  688. package/dist/esm/components/checkbox-item/checkbox-item.js +0 -52
  689. package/dist/esm/components/checkbox-item/index.js +0 -4
  690. package/dist/esm/components/client-adapters/styled-rounded-image/index.js +0 -4
  691. package/dist/esm/components/client-adapters/styled-rounded-image/styled-rounded-image.js +0 -149
  692. package/dist/esm/components/composites/tx-preview/confirm/dialog/TransactionConfirmModalView.js +0 -180
  693. package/dist/esm/components/composites/tx-preview/confirm/dialog/TransactionConfirmPageView.js +0 -54
  694. package/dist/esm/components/detailed-apy/detailed-apy.js +0 -74
  695. package/dist/esm/components/detailed-apy/index.js +0 -5
  696. package/dist/esm/components/dropdown-menu/dropdown-menu-checkbox-item.js +0 -35
  697. package/dist/esm/components/dropdown-menu/dropdown-menu-radio-item.js +0 -30
  698. package/dist/esm/components/dropdown-menu/dropdown-menu-separator.js +0 -21
  699. package/dist/esm/components/dropdown-menu/dropdown-menu-shortcut.js +0 -22
  700. package/dist/esm/components/dropdown-menu/dropdown-menu-sub-content.js +0 -25
  701. package/dist/esm/components/dropdown-menu/dropdown-menu-sub-trigger.js +0 -30
  702. package/dist/esm/components/error-message/error-message.js +0 -39
  703. package/dist/esm/components/filter/filter-block.js +0 -26
  704. package/dist/esm/components/filter/filter-checkbox-item.js +0 -31
  705. package/dist/esm/components/filter/filter-chip.js +0 -44
  706. package/dist/esm/components/filter/filter-chips.js +0 -50
  707. package/dist/esm/components/filter/filter-dropdown-item.js +0 -55
  708. package/dist/esm/components/filter/filter-group.js +0 -14
  709. package/dist/esm/components/filter/filter-label.js +0 -25
  710. package/dist/esm/components/filter/filter-modal-item.js +0 -61
  711. package/dist/esm/components/filter/filter-modal.js +0 -218
  712. package/dist/esm/components/filter/filter-radio-item.js +0 -30
  713. package/dist/esm/components/filter/filter-separator.js +0 -21
  714. package/dist/esm/components/filter/index.js +0 -26
  715. package/dist/esm/components/filter/variants.js +0 -17
  716. package/dist/esm/components/network-icon/network-indicator.js +0 -82
  717. package/dist/esm/configs/design-tokens.js +0 -85
  718. package/dist/esm/configs/variants.js +0 -28
  719. package/dist/esm/hooks/use-checkbox-select.js +0 -74
  720. package/dist/esm/hooks/use-controllable-state.js +0 -18
  721. package/dist/esm/hooks/use-hf.js +0 -43
  722. package/dist/esm/hooks/use-opened-state.js +0 -20
  723. package/dist/esm/hooks/use-smart-number-input.js +0 -10
  724. package/dist/esm/node_modules/.pnpm/tailwindcss@4.1.17/node_modules/tailwindcss/dist/flatten-color-palette.js +0 -363
  725. package/dist/esm/types/footer.js +0 -1
  726. package/dist/esm/utils/a11y.js +0 -12
  727. package/dist/esm/utils/copy.js +0 -10
  728. package/dist/esm/utils/interface.js +0 -1
  729. package/dist/esm/utils/plural.js +0 -11
  730. package/dist/esm/utils/react.js +0 -44
  731. package/dist/esm/utils/search-in-token.js +0 -14
  732. package/dist/esm/utils/search.js +0 -6
  733. package/dist/esm/utils/short-sha.js +0 -4
  734. package/dist/esm/utils/sort.js +0 -1
  735. package/dist/types/components/base/side-card/constants.d.ts +0 -5
  736. package/dist/types/components/base/side-card/index.d.ts +0 -2
  737. package/dist/types/components/base/side-card/side-card.d.ts +0 -16
  738. package/dist/types/components/base/token-pair-title/constants.d.ts +0 -3
  739. package/dist/types/components/base/token-pair-title/index.d.ts +0 -2
  740. package/dist/types/components/base/token-pair-title/token-pair-title.d.ts +0 -11
  741. package/dist/types/components/block-sync-pill/block-sync-pill.d.ts +0 -35
  742. package/dist/types/components/block-sync-pill/block-sync-status.d.ts +0 -29
  743. package/dist/types/components/block-sync-pill/index.d.ts +0 -1
  744. package/dist/types/components/buttons/filter-button/filter-button.d.ts +0 -52
  745. package/dist/types/components/buttons/filter-button/index.d.ts +0 -1
  746. package/dist/types/components/buttons/navigation-button/index.d.ts +0 -1
  747. package/dist/types/components/buttons/navigation-button/navigation-button.d.ts +0 -26
  748. package/dist/types/components/cards/expandable-call/expandable-call.d.ts +0 -28
  749. package/dist/types/components/cards/expandable-call/index.d.ts +0 -1
  750. package/dist/types/components/checkbox-item/checkbox-item.d.ts +0 -56
  751. package/dist/types/components/checkbox-item/index.d.ts +0 -1
  752. package/dist/types/components/client-adapters/styled-rounded-image/index.d.ts +0 -1
  753. package/dist/types/components/client-adapters/styled-rounded-image/styled-rounded-image.d.ts +0 -9
  754. package/dist/types/components/composites/tx-preview/confirm/dialog/TransactionConfirmModalView.d.ts +0 -17
  755. package/dist/types/components/composites/tx-preview/confirm/dialog/TransactionConfirmPageView.d.ts +0 -16
  756. package/dist/types/components/detailed-apy/detailed-apy.d.ts +0 -40
  757. package/dist/types/components/detailed-apy/index.d.ts +0 -1
  758. package/dist/types/components/dropdown-menu/dropdown-menu-checkbox-item.d.ts +0 -22
  759. package/dist/types/components/dropdown-menu/dropdown-menu-radio-item.d.ts +0 -4
  760. package/dist/types/components/dropdown-menu/dropdown-menu-separator.d.ts +0 -4
  761. package/dist/types/components/dropdown-menu/dropdown-menu-shortcut.d.ts +0 -6
  762. package/dist/types/components/dropdown-menu/dropdown-menu-sub-content.d.ts +0 -4
  763. package/dist/types/components/dropdown-menu/dropdown-menu-sub-trigger.d.ts +0 -6
  764. package/dist/types/components/error-message/error-message.d.ts +0 -22
  765. package/dist/types/components/filter/filter-block.d.ts +0 -39
  766. package/dist/types/components/filter/filter-checkbox-item.d.ts +0 -23
  767. package/dist/types/components/filter/filter-chip.d.ts +0 -34
  768. package/dist/types/components/filter/filter-chips.d.ts +0 -42
  769. package/dist/types/components/filter/filter-dropdown-item.d.ts +0 -62
  770. package/dist/types/components/filter/filter-group.d.ts +0 -22
  771. package/dist/types/components/filter/filter-label.d.ts +0 -21
  772. package/dist/types/components/filter/filter-modal-item.d.ts +0 -55
  773. package/dist/types/components/filter/filter-modal.d.ts +0 -123
  774. package/dist/types/components/filter/filter-radio-item.d.ts +0 -19
  775. package/dist/types/components/filter/filter-separator.d.ts +0 -22
  776. package/dist/types/components/filter/index.d.ts +0 -109
  777. package/dist/types/components/filter/interface.d.ts +0 -24
  778. package/dist/types/components/filter/variants.d.ts +0 -3
  779. package/dist/types/components/network-icon/network-indicator.d.ts +0 -23
  780. package/dist/types/configs/design-tokens.d.ts +0 -73
  781. package/dist/types/configs/variants.d.ts +0 -28
  782. package/dist/types/hooks/use-checkbox-select.d.ts +0 -101
  783. package/dist/types/hooks/use-controllable-state.d.ts +0 -24
  784. package/dist/types/hooks/use-hf.d.ts +0 -17
  785. package/dist/types/hooks/use-opened-state.d.ts +0 -71
  786. package/dist/types/hooks/use-smart-number-input.d.ts +0 -1
  787. package/dist/types/types/footer.d.ts +0 -51
  788. package/dist/types/utils/a11y.d.ts +0 -24
  789. package/dist/types/utils/copy.d.ts +0 -4
  790. package/dist/types/utils/interface.d.ts +0 -24
  791. package/dist/types/utils/plural.d.ts +0 -36
  792. package/dist/types/utils/react.d.ts +0 -31
  793. package/dist/types/utils/search-in-token.d.ts +0 -43
  794. package/dist/types/utils/search.d.ts +0 -15
  795. package/dist/types/utils/short-sha.d.ts +0 -9
  796. package/dist/types/utils/sort.d.ts +0 -5
  797. /package/dist/cjs/components/{filter/interface.cjs → composites/tx-preview/confirm/dialog/transactionConfirmShellTypes.cjs} +0 -0
  798. /package/dist/cjs/node_modules/.pnpm/{tailwind-scrollbar@4.0.2_react@19.2.0_tailwindcss@4.1.17 → tailwind-scrollbar@4.0.2_react@19.2.8_tailwindcss@4.3.3}/node_modules/tailwind-scrollbar/src/helpers.cjs +0 -0
  799. /package/dist/cjs/node_modules/.pnpm/{tailwind-scrollbar@4.0.2_react@19.2.0_tailwindcss@4.1.17 → tailwind-scrollbar@4.0.2_react@19.2.8_tailwindcss@4.3.3}/node_modules/tailwind-scrollbar/src/variants.cjs +0 -0
  800. /package/dist/cjs/node_modules/.pnpm/{tailwindcss@4.1.17 → tailwindcss@4.3.3}/node_modules/tailwindcss/dist/plugin.cjs +0 -0
  801. /package/dist/esm/components/{filter/interface.js → composites/tx-preview/confirm/dialog/transactionConfirmShellTypes.js} +0 -0
  802. /package/dist/esm/node_modules/.pnpm/{tailwind-scrollbar@4.0.2_react@19.2.0_tailwindcss@4.1.17 → tailwind-scrollbar@4.0.2_react@19.2.8_tailwindcss@4.3.3}/node_modules/tailwind-scrollbar/src/helpers.js +0 -0
  803. /package/dist/esm/node_modules/.pnpm/{tailwind-scrollbar@4.0.2_react@19.2.0_tailwindcss@4.1.17 → tailwind-scrollbar@4.0.2_react@19.2.8_tailwindcss@4.3.3}/node_modules/tailwind-scrollbar/src/variants.js +0 -0
  804. /package/dist/esm/node_modules/.pnpm/{tailwindcss@4.1.17 → tailwindcss@4.3.3}/node_modules/tailwindcss/dist/plugin.js +0 -0
@@ -21,7 +21,19 @@ type TokenAmountDataProps = {
21
21
  readonly token: Token;
22
22
  };
23
23
  export type TokenAmountProps = TokenAmountDataProps & {
24
- /** Cross-axis alignment of the token line and the USD caption. */
24
+ /**
25
+ * Cross-axis alignment of the token line and the USD caption. Defaults to
26
+ * `end`: nearly every slot this lands in — table cells, info lines, metric
27
+ * rows — is right-aligned, and a flex column ignores the `text-right` its
28
+ * wrapper sets. Pass `start` inside a card, where the left edge is right.
29
+ */
25
30
  readonly align?: TokenAmountAlign;
31
+ /**
32
+ * Prefixes the token line with {@link APPROXIMATE_SYMBOL}, for a figure the
33
+ * operation projects rather than promises. The USD caption underneath is not
34
+ * marked: the mark belongs beside the amount it hedges, and repeating it on
35
+ * the second line only reads as a second claim.
36
+ */
37
+ readonly approximate?: boolean;
26
38
  };
27
- export declare function TokenAmount({ data, token, align, }: TokenAmountProps): React.ReactElement;
39
+ export declare function TokenAmount({ data, token, align, approximate, }: TokenAmountProps): React.ReactElement;
@@ -5,9 +5,11 @@ export declare class ValueTest {
5
5
  static utilization: string;
6
6
  static healthFactor: string;
7
7
  static pnl: string;
8
+ static priceImpact: string;
8
9
  static tokenBigint: string;
9
10
  static points: string;
10
11
  static placeholder: string;
12
+ static accruing: string;
11
13
  }
12
14
  export declare class PositionShortLabelTest {
13
15
  static root: string;
@@ -1,7 +1,9 @@
1
- export { ValueTest } from './constants';
2
- export { PnlValue } from './pnl-value';
3
- export { PointsValue, type PointsValueProps } from './points-value';
4
- export { PositionShortLabel, PositionShortLabelTest, } from './position-short-label';
5
- export { type PositionStatus, PositionStatusBadge, type PositionStatusBadgeProps, } from './position-status-badge';
6
- export { PositionTypeBadge, type PositionTypeBadgeProps, } from './position-type-badge';
7
- export { ApyValue, type ApyValueProps, bps, HealthFactorValue, LeverageValue, TokenBigint, UsdValue, UtilizationValue, } from './scalars';
1
+ export * from './constants';
2
+ export * from './no-value';
3
+ export * from './pnl-value';
4
+ export * from './points-value';
5
+ export * from './position-short-label';
6
+ export * from './position-status-badge';
7
+ export * from './position-type-badge';
8
+ export * from './price-impact-value';
9
+ export * from './scalars';
@@ -0,0 +1,25 @@
1
+ import { default as React } from 'react';
2
+ export interface NoValueProps {
3
+ /**
4
+ * Why the figure is absent, when the absence has an explanation worth
5
+ * giving. `"7d"` — the trailing seven-day average has not been computed yet
6
+ * — is the only one so far; anything else, including a spot figure that is
7
+ * simply not there, keeps the dash.
8
+ */
9
+ readonly reason?: "7d";
10
+ }
11
+ /**
12
+ * Whatever stands where a figure would be.
13
+ *
14
+ * One component rather than a dash per call site, so no two surfaces can
15
+ * quietly disagree about what an absent value looks like — and so an absence
16
+ * that has an explanation carries it everywhere at once rather than wherever
17
+ * someone remembered to add it.
18
+ *
19
+ * The explained form is deliberately not a skeleton: a skeleton promises the
20
+ * value in a moment, and this one waits on days of history.
21
+ *
22
+ * The visually-hidden copy is load-bearing — `HelpTipIcon` is `aria-hidden`,
23
+ * so without it the cell would reach a screen reader as nothing at all.
24
+ */
25
+ export declare function NoValue({ reason }: NoValueProps): React.ReactElement;
@@ -1,6 +1,12 @@
1
1
  import { PnlBreakdown } from '@gearbox-protocol/sdk/model';
2
2
  import { default as React } from 'react';
3
- /** Realised + unrealised PnL of a position, signed. */
3
+ /**
4
+ * Realised + unrealised PnL, signed.
5
+ *
6
+ * A breakdown (a position's own) or a bare USD figure (a wallet's total, which
7
+ * the model carries as a plain number) — the same pairing {@link ApyValue}
8
+ * makes between a breakdown and a bare rate.
9
+ */
4
10
  export declare function PnlValue({ data, }: {
5
- readonly data: PnlBreakdown | undefined;
11
+ readonly data: PnlBreakdown | number | null | undefined;
6
12
  }): React.ReactElement;
@@ -0,0 +1,25 @@
1
+ import { default as React } from 'react';
2
+ /**
3
+ * A price impact as a percentage.
4
+ *
5
+ * The scale is `PERCENTAGE_FACTOR_1KK` — `1_000_000` is 100%, so `-10_000` is
6
+ * -1% — the legacy price-impact scale, a hundred times finer than the `Bps`
7
+ * the rest of this module speaks. The conversion is owned here for the same
8
+ * reason `bps` owns its own: `percentageTemplate` carries a same-named,
9
+ * differently-scaled twin, so a shared step would inherit that ambiguity.
10
+ *
11
+ * A loss is what this figure almost always is, and it prints its own minus.
12
+ * Only the rare route that beat the marginal price needs its sign spelled out,
13
+ * or a gain would read as a loss of the same size.
14
+ */
15
+ export declare function priceImpact(value: bigint): string;
16
+ /**
17
+ * What a routed operation gave up to market depth.
18
+ *
19
+ * Which of the three rates a caller shows — against the routed output, the
20
+ * equity or the position — is the caller's choice; this renders the one it is
21
+ * handed.
22
+ */
23
+ export declare function PriceImpactValue({ data, }: {
24
+ readonly data: bigint | undefined;
25
+ }): React.ReactElement;
@@ -10,15 +10,32 @@ import { default as React } from 'react';
10
10
  */
11
11
  export declare function bps(value: Bps): string;
12
12
  export interface ApyValueProps {
13
- /** A breakdown (tooltip-able) or a bare rate; `undefined` renders a dash. */
13
+ /** A breakdown (tooltip-able) or a bare rate; `undefined` renders the empty state. */
14
14
  readonly data: ApyBreakdown | Bps | undefined;
15
+ /**
16
+ * Whether a breakdown carries its yield tooltip on hover. Off where the
17
+ * figure is already explained — a badge that states one rate, or a figure
18
+ * wrapped in a tooltip of its own, which would otherwise stack two.
19
+ *
20
+ * A bare `Bps` has no tooltip to begin with, so this does not reach it.
21
+ *
22
+ * @default true
23
+ */
24
+ readonly tooltip?: boolean;
25
+ /**
26
+ * The averaging window this figure comes from. `"7d"` suffixes the breakdown
27
+ * tooltip labels — and, when the rate is missing, says the average is still
28
+ * accruing rather than printing a dash. A spot figure keeps the dash: history
29
+ * has nothing to do with why it is absent.
30
+ */
31
+ readonly period?: "7d";
15
32
  }
16
33
  /**
17
34
  * Any APY the model carries, in one place: `supplyApy`, `netApy`, `borrowApy`.
18
35
  * A breakdown renders the reference chip (reward icons + breakdown tooltip)
19
36
  * via `CompoundAPY`; a bare `Bps` stays a plain percentage.
20
37
  */
21
- export declare function ApyValue({ data }: ApyValueProps): React.ReactElement;
38
+ export declare function ApyValue({ data, tooltip, period, }: ApyValueProps): React.ReactElement;
22
39
  export declare function UsdValue({ data, }: {
23
40
  readonly data: number | null | undefined;
24
41
  }): React.ReactElement;
@@ -36,8 +53,17 @@ export declare function HealthFactorValue({ data, }: {
36
53
  * A bare `bigint` in token units (simulate previews carry these): the only
37
54
  * value component that needs a denomination passed with it, because the SDK
38
55
  * hands these out without one.
56
+ *
57
+ * Shown to `formatAssetAmount`'s three decimals, with the exact amount in a
58
+ * tooltip — a metrics row reads better short, and nothing is lost: the figure
59
+ * behind the rounding stays a hover away.
39
60
  */
40
- export declare function TokenBigint({ data, token, }: {
61
+ export declare function TokenBigint({ data, token, showSymbol, }: {
41
62
  readonly data: bigint | undefined;
42
63
  readonly token: Token | undefined;
64
+ /**
65
+ * Off where the row names the token itself — a `before → after` pair prints
66
+ * the symbol once for both amounts rather than twice.
67
+ */
68
+ readonly showSymbol?: boolean;
43
69
  }): React.ReactElement;
@@ -1,6 +1,6 @@
1
1
  import { default as React, ReactNode } from 'react';
2
2
  import { BaseTableColumn } from './types';
3
- export { BaseTableLineTest } from './constants';
3
+ export * from './constants';
4
4
  export interface BaseTableLineProps<TSort extends string = never> {
5
5
  readonly columns: ReadonlyArray<BaseTableColumn<TSort>>;
6
6
  readonly cells: Readonly<Record<string, ReactNode>>;
@@ -1,7 +1,7 @@
1
1
  import { default as React, PropsWithChildren, ReactNode } from 'react';
2
2
  import { BaseTableColumn, BaseTableSortApi } from './types';
3
- export { BaseTableTest } from './constants';
4
- export type { BaseTableColumn, BaseTableSortApi } from './types';
3
+ export * from './constants';
4
+ export * from './types';
5
5
  export interface BaseTableProps<TSort extends string = never> {
6
6
  readonly columns: ReadonlyArray<BaseTableColumn<TSort>>;
7
7
  readonly isLoading: boolean;
@@ -1,6 +1,6 @@
1
1
  import { VariantProps } from 'class-variance-authority';
2
2
  declare const backButtonVariants: (props?: ({
3
- variant?: "default" | "primary" | "ghost" | null | undefined;
3
+ variant?: "default" | "ghost" | "primary" | null | undefined;
4
4
  size?: "default" | "sm" | "lg" | null | undefined;
5
5
  } & import('class-variance-authority/types').ClassProp) | undefined) => string;
6
6
  export interface LinkComponentProps {
@@ -16,5 +16,5 @@ export interface BackButtonProps extends VariantProps<typeof backButtonVariants>
16
16
  className?: string;
17
17
  LinkComponent?: React.ComponentType<LinkComponentProps>;
18
18
  }
19
- export declare function BackButton({ href, text, onClick, className, variant, size, LinkComponent, }: BackButtonProps): import("react/jsx-runtime").JSX.Element;
19
+ export declare function BackButton({ href, text, onClick, className, variant, size, LinkComponent, }: BackButtonProps): import("react").JSX.Element;
20
20
  export { backButtonVariants };
@@ -1,8 +1,8 @@
1
1
  import { VariantProps } from 'class-variance-authority';
2
2
  import * as React from "react";
3
3
  declare const buttonVariants: (props?: ({
4
- variant?: "link" | "text" | "default" | "success" | "destructive" | "blue" | "pink" | "white" | "secondary" | "ghost" | "outline" | "neutral" | "pink-outline" | "blue-outline" | null | undefined;
5
- size?: "auto" | "default" | "icon" | "sm" | "md" | "lg" | "xs" | null | undefined;
4
+ variant?: "link" | "text" | "default" | "success" | "blue" | "pink" | "white" | "secondary" | "ghost" | "destructive" | "outline" | "neutral" | "pink-outline" | "blue-outline" | null | undefined;
5
+ size?: "auto" | "icon" | "default" | "sm" | "md" | "lg" | "xs" | null | undefined;
6
6
  width?: "compact" | "wide" | null | undefined;
7
7
  } & import('class-variance-authority/types').ClassProp) | undefined) => string;
8
8
  /**
@@ -2,7 +2,5 @@ export * from './back-button';
2
2
  export * from './button';
3
3
  export * from './copy-button';
4
4
  export * from './external-button';
5
- export * from './filter-button';
6
- export * from './navigation-button';
7
5
  export * from './range-buttons';
8
6
  export * from './tab-button';
@@ -15,35 +15,3 @@ export interface RangeButtonsProps<T> {
15
15
  setRange: (range: T) => void;
16
16
  className?: string;
17
17
  }
18
- /**
19
- * RangeButtons — button group component for selecting from a list of options.
20
- *
21
- * @usage
22
- * Use RangeButtons to create option selectors:
23
- * time range selectors, view mode toggles, filter options, segmented controls.
24
- *
25
- * Props:
26
- * - `range` — currently selected value (required).
27
- * - `rangeList` — array of selectable options with value and label (required).
28
- * - `setRange` — callback function to change selected value (required).
29
- * - `className` — additional CSS classes for styling.
30
- *
31
- * Note: Displays inline button group with active state highlighting.
32
- * Supports generic type T for flexible value types.
33
- *
34
- * @example
35
- * ```tsx
36
- * const [timeRange, setTimeRange] = useState<"24h" | "7d" | "30d">("24h");
37
- *
38
- * <RangeButtons
39
- * range={timeRange}
40
- * rangeList={[
41
- * { value: "24h", label: "24H" },
42
- * { value: "7d", label: "7D" },
43
- * { value: "30d", label: "30D" },
44
- * ]}
45
- * setRange={setTimeRange}
46
- * />
47
- * ```
48
- */
49
- export declare function RangeButtons<T>({ range, rangeList, setRange, className, }: RangeButtonsProps<T>): import("react/jsx-runtime").JSX.Element;
@@ -54,5 +54,5 @@ declare const CardContent: React.ForwardRefExoticComponent<React.HTMLAttributes<
54
54
  * CardFooter — footer section of a Card with border-top.
55
55
  * Typically contains action buttons and/or additional information.
56
56
  */
57
- declare const CardFooter: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
58
- export { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, };
57
+ export declare const CardFooter: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
58
+ export { Card, CardContent, CardDescription, CardHeader, CardTitle };
@@ -16,4 +16,4 @@ import { CardProps } from '../card';
16
16
  * - for warnings or informational content (use regular Card with appropriate styling).
17
17
  * - when actions are not actually dangerous or destructive.
18
18
  */
19
- export declare function DangerZone({ children, ...props }: CardProps): import("react/jsx-runtime").JSX.Element;
19
+ export declare function DangerZone({ children, ...props }: CardProps): import("react").JSX.Element;
@@ -24,5 +24,5 @@ export interface ExpandableCardProps {
24
24
  * - when you need multiple independent expandable sections (consider using Tabs or separate ExpandableCards).
25
25
  * - for non-transaction content when a regular Card would suffice.
26
26
  */
27
- declare function ExpandableCard({ header, children, alwaysExpanded, }: ExpandableCardProps): import("react/jsx-runtime").JSX.Element;
27
+ declare function ExpandableCard({ header, children, alwaysExpanded, }: ExpandableCardProps): React.JSX.Element;
28
28
  export { ExpandableCard };
@@ -1,4 +1,3 @@
1
1
  export * from './card';
2
2
  export * from './danger-zone';
3
- export * from './expandable-call';
4
3
  export * from './expandable-card';
@@ -3,7 +3,7 @@ import * as CheckboxPrimitive from "@radix-ui/react-checkbox";
3
3
  import * as React from "react";
4
4
  declare const checkboxVariants: (props?: ({
5
5
  size?: "md" | "lg" | null | undefined;
6
- color?: "primary" | "secondary" | null | undefined;
6
+ color?: "secondary" | "primary" | null | undefined;
7
7
  } & import('class-variance-authority/types').ClassProp) | undefined) => string;
8
8
  export type CheckboxProps = React.ComponentPropsWithoutRef<typeof CheckboxPrimitive.Root> & VariantProps<typeof checkboxVariants>;
9
9
  /**
@@ -26,6 +26,6 @@ export type CheckboxProps = React.ComponentPropsWithoutRef<typeof CheckboxPrimit
26
26
  */
27
27
  declare const Checkbox: React.ForwardRefExoticComponent<Omit<CheckboxPrimitive.CheckboxProps & React.RefAttributes<HTMLButtonElement>, "ref"> & VariantProps<(props?: ({
28
28
  size?: "md" | "lg" | null | undefined;
29
- color?: "primary" | "secondary" | null | undefined;
29
+ color?: "secondary" | "primary" | null | undefined;
30
30
  } & import('class-variance-authority/types').ClassProp) | undefined) => string> & React.RefAttributes<HTMLButtonElement>>;
31
31
  export { Checkbox };
@@ -1,3 +1,2 @@
1
1
  export * from './styled-button';
2
2
  export * from './styled-dialog-container';
3
- export * from './styled-rounded-image';
@@ -3,11 +3,16 @@ import * as React from "react";
3
3
  type ButtonWidth = "compact" | "wide";
4
4
  type ButtonColors = "primary" | "outlined" | "neutral" | "white" | "success";
5
5
  type ButtonSize = "sm" | "md" | "lg";
6
- export interface StyledButtonProps extends Omit<ButtonProps, "size" | "$size" | "width" | "variant"> {
7
- $size?: ButtonSize;
8
- $width?: ButtonWidth;
9
- $color?: ButtonColors;
10
- $square?: boolean;
6
+ /**
7
+ * `color` and `square` are named in this component's own vocabulary, so both
8
+ * are omitted from `ButtonProps` before being redeclared — `color` otherwise
9
+ * collides with the HTML attribute.
10
+ */
11
+ export interface StyledButtonProps extends Omit<ButtonProps, "size" | "width" | "variant" | "color"> {
12
+ size?: ButtonSize;
13
+ width?: ButtonWidth;
14
+ color?: ButtonColors;
15
+ square?: boolean;
11
16
  }
12
17
  declare const StyledButton: React.ForwardRefExoticComponent<StyledButtonProps & React.RefAttributes<HTMLButtonElement>>;
13
18
  export { StyledButton };
@@ -1,15 +1,16 @@
1
1
  import { QuotaAsset, Token } from '@gearbox-protocol/sdk/model';
2
2
  import { default as React } from 'react';
3
3
  export interface PoolAssetsTableRowProps {
4
- readonly poolName: string;
5
4
  readonly asset: QuotaAsset;
6
5
  readonly underlyingToken: Token;
7
6
  readonly last: boolean;
8
7
  readonly isCompact: boolean;
9
8
  readonly totalUsed: bigint;
10
9
  readonly colorIndex: number;
10
+ /** Base URL of the chain's explorer; absent leaves the row inert. */
11
+ readonly explorerUrl?: string;
11
12
  }
12
13
  /**
13
14
  * Single data row: token name, exposure (amount + pie), cap, and cap utilization.
14
15
  */
15
- export declare function PoolAssetsTableRow({ poolName, asset, underlyingToken, last, isCompact, totalUsed, colorIndex, }: PoolAssetsTableRowProps): React.ReactElement;
16
+ export declare function PoolAssetsTableRow({ asset, underlyingToken, last, isCompact, totalUsed, colorIndex, explorerUrl, }: PoolAssetsTableRowProps): React.ReactElement;
@@ -3,12 +3,16 @@ import { default as React } from 'react';
3
3
  import { PoolAssetsTableSort } from './types';
4
4
  export interface PoolAssetsTableProps {
5
5
  readonly list: ReadonlyArray<QuotaAsset>;
6
- readonly poolName: string;
7
6
  readonly sort: PoolAssetsTableSort;
8
7
  readonly underlyingToken: Token;
8
+ /**
9
+ * Block explorer base URL of the pool's chain. Given one, each row links to
10
+ * its token's address there; without one the rows stay inert.
11
+ */
12
+ readonly explorerUrl?: string;
9
13
  }
10
14
  /**
11
15
  * Grid table of pool asset quotas: exposure, cap, and cap utilization.
12
16
  * Collapses into stacked cards below {@link COMPACT_WIDTH_THRESHOLD}.
13
17
  */
14
- export declare function PoolAssetsTable({ list, poolName, sort, underlyingToken, }: PoolAssetsTableProps): React.ReactElement | null;
18
+ export declare function PoolAssetsTable({ list, sort, underlyingToken, explorerUrl, }: PoolAssetsTableProps): React.ReactElement | null;
@@ -1,4 +1,3 @@
1
- import { QuotaAsset } from '@gearbox-protocol/sdk/model';
2
1
  import { SortField, SortSetterFunction } from '../../../hooks';
3
2
  /** Column identifiers used by the pool assets table header sort controls. */
4
3
  export type PoolAssetsSortFields = "name" | "exposure" | "cap" | "capUtilization";
@@ -13,5 +12,3 @@ export interface PoolAssetsTableSort {
13
12
  export interface PoolAssetsFilterState {
14
13
  readonly sort: PoolAssetsTableSort;
15
14
  }
16
- /** One quota row — the SDK's {@link QuotaAsset}. */
17
- export type PoolAssetsTableQuotaRow = QuotaAsset;
@@ -1,3 +1,4 @@
1
+ import { TokenAmount } from '@gearbox-protocol/sdk/model';
1
2
  import { VariantProps } from 'class-variance-authority';
2
3
  import { default as React } from 'react';
3
4
  import { TokenTemplateProps } from '../../../../token-template';
@@ -5,25 +6,57 @@ declare const rootVariants: (props?: ({
5
6
  position?: "first" | "last" | "inBetween" | "solo" | null | undefined;
6
7
  size?: "sm" | "md" | null | undefined;
7
8
  } & import('class-variance-authority/types').ClassProp) | undefined) => string;
8
- export interface TransactionConfirmAmountFieldProps extends VariantProps<typeof rootVariants> {
9
+ type PrimarySlot = {
10
+ readonly value: TokenTemplateProps["value"];
11
+ readonly token?: TokenTemplateProps["token"];
12
+ } | {
13
+ node: React.ReactNode;
14
+ };
15
+ type SecondarySlot = {
16
+ readonly valueUSD?: bigint | number;
17
+ } | {
18
+ node: React.ReactNode;
19
+ };
20
+ /**
21
+ * Either hand over the SDK's {@link TokenAmount} whole, or fill the two slots
22
+ * yourself. The slot form stays for the `node` escape hatch and for callers
23
+ * that have no `TokenAmount` to give.
24
+ */
25
+ type AmountSource = {
26
+ /**
27
+ * Value, token and the USD caption all read off one SDK amount.
28
+ * `null` means unavailable and renders like any other absent value.
29
+ */
30
+ readonly amount: TokenAmount | null;
31
+ readonly primaryAmount?: undefined;
32
+ readonly secondaryAmount?: undefined;
33
+ } | {
34
+ readonly amount?: undefined;
35
+ readonly primaryAmount: PrimarySlot;
36
+ readonly secondaryAmount?: SecondarySlot;
37
+ };
38
+ export type TransactionConfirmAmountFieldProps = VariantProps<typeof rootVariants> & AmountSource & {
9
39
  readonly label: React.ReactNode;
10
- readonly primaryAmount: {
11
- readonly value: TokenTemplateProps["value"];
12
- readonly token?: TokenTemplateProps["token"];
13
- } | {
14
- node: React.ReactNode;
15
- };
16
- readonly secondaryAmount?: {
17
- readonly valueUSD?: bigint | number;
18
- } | {
19
- node: React.ReactNode;
20
- };
21
40
  readonly loading?: boolean;
22
41
  readonly maxLength?: number;
23
42
  readonly approximate?: {
24
43
  isApproximate?: boolean;
25
44
  approximateSymbol?: string;
26
45
  };
27
- }
28
- export declare function TransactionConfirmAmountField({ label, primaryAmount, secondaryAmount, loading, position, size, maxLength, approximate, }: TransactionConfirmAmountFieldProps): React.ReactElement;
46
+ };
47
+ /**
48
+ * One SDK amount already carries all three things the field shows: the number,
49
+ * its token and the dollar value. Callers used to take it apart and hand the
50
+ * pieces back through two props; passing `amount` lets them stop.
51
+ *
52
+ * Takes the whole prop union so the slot form is picked by the discriminant
53
+ * rather than by a cast — `amount` is `TokenAmount | null`, never `undefined`,
54
+ * so a caller holding `TokenAmount | undefined` has to say `?? null` and
55
+ * cannot land here with nothing at all.
56
+ */
57
+ export declare function resolveAmountSlots(source: AmountSource): {
58
+ readonly primaryAmount: PrimarySlot;
59
+ readonly secondaryAmount: SecondarySlot | undefined;
60
+ };
61
+ export declare function TransactionConfirmAmountField(props: TransactionConfirmAmountFieldProps): React.ReactElement;
29
62
  export {};
@@ -1,6 +1,3 @@
1
1
  export declare class TransactionConfirmAmountFieldTest {
2
2
  static root: string;
3
3
  }
4
- export declare class TransactionConfirmAmountPairTest {
5
- static root: string;
6
- }
@@ -1,23 +1,27 @@
1
1
  import { default as React } from 'react';
2
- import { TransactionExecutionStepView } from '../stepper/transactionExecutionStepTypes';
3
- import { TransactionConfirmPhase } from './transactionConfirmPhase';
4
- export interface TransactionConfirmShellProps {
5
- readonly phase?: TransactionConfirmPhase;
6
- readonly header?: React.ReactNode;
7
- readonly preview: React.ReactNode;
8
- readonly previewLoading?: boolean;
9
- readonly previewError?: Error | null;
10
- readonly previewErrorTitle?: string;
11
- readonly previewClassName?: string;
12
- readonly execution: React.ReactNode;
13
- readonly progressSteps?: ReadonlyArray<TransactionExecutionStepView>;
14
- readonly renderProgressStepLabel?: (step: TransactionExecutionStepView) => React.ReactNode;
15
- readonly result?: React.ReactNode;
16
- readonly className?: string;
17
- readonly "data-testid"?: string;
18
- }
2
+ import { TransactionConfirmShellProps } from './transactionConfirmShellTypes';
19
3
  /**
4
+ * The one card every transaction confirmation renders, on every surface.
20
5
  *
21
- * Base shell component
6
+ * Callers describe *what the card shows* (`body`) and *how it is framed*
7
+ * (`mode`); everything else is decided here. This replaces the former
8
+ * `TransactionConfirmPageView` / `TransactionConfirmModalView` pair, which
9
+ * differed only in the frame yet each restated the whole prop list.
10
+ *
11
+ * Two traps from that pair are closed here rather than left to callers.
12
+ *
13
+ * The modal's height clamp is composed with `className` instead of being
14
+ * replaced by it, so a caller adding a class no longer drops the viewport
15
+ * clamp and the flex context the scrollable preview depends on by accident.
16
+ * `cn` is tailwind-merge, so a utility deliberately targeting the same
17
+ * property still wins — though arbitrary-property syntax such as
18
+ * `[max-height:50vh]` sits in a different group and will not displace it.
19
+ *
20
+ * And a `placeholder` or `error` body pins the phase to `confirm`, so those
21
+ * two can never be asked for a result view they were never given. Note the
22
+ * limit of that guarantee: a `ready` body driven to a terminal phase without a
23
+ * `result` still draws a header and nothing else, exactly as the views it
24
+ * replaces did. Requiring both halves of `result` is what keeps the promise
25
+ * whole once a caller opts into one.
22
26
  */
23
- export declare function TransactionConfirmShell({ phase, header, preview, previewLoading, previewError, previewErrorTitle, previewClassName, execution, progressSteps, renderProgressStepLabel, result, className, "data-testid": dataTestId, }: TransactionConfirmShellProps): React.ReactElement;
27
+ export declare function TransactionConfirmShell(props: TransactionConfirmShellProps): React.ReactElement | null;
@@ -1,5 +1,5 @@
1
1
  export * from './computeTransactionConfirmDialogLayout';
2
2
  export * from './constants';
3
- export * from './TransactionConfirmModalView';
4
- export * from './TransactionConfirmPageView';
3
+ export * from './TransactionConfirmShell';
5
4
  export * from './transactionConfirmPhase';
5
+ export * from './transactionConfirmShellTypes';
@@ -1,4 +1 @@
1
1
  export type TransactionConfirmPhase = "confirm" | "awaiting_receipt" | "success" | "failure";
2
- export interface TransactionConfirmSubmittedTx {
3
- readonly hash: `0x${string}`;
4
- }