@gearbox-protocol/permissionless-ui 1.26.11-next.7 → 1.27.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 (388) hide show
  1. package/dist/cjs/components/accordion/accordion.cjs +1 -1
  2. package/dist/cjs/components/address/address.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/apy/apy.cjs +1 -1
  8. package/dist/cjs/components/arc-loader/arc-loader.cjs +1 -1
  9. package/dist/cjs/components/asset-line/asset-line.cjs +1 -1
  10. package/dist/cjs/components/assets-list-cell/assets-list-cell.cjs +1 -1
  11. package/dist/cjs/components/assets-ratio/assets-ratio.cjs +1 -1
  12. package/dist/cjs/components/auth/connect-required.cjs +1 -1
  13. package/dist/cjs/components/auth/signin-required.cjs +1 -1
  14. package/dist/cjs/components/avatar/avatar.cjs +1 -1
  15. package/dist/cjs/components/badge/badge.cjs +1 -1
  16. package/dist/cjs/components/base-link/base-link.cjs +1 -1
  17. package/dist/cjs/components/block-sync/block-sync.cjs +1 -1
  18. package/dist/cjs/components/breadcrumbs/breadcrumbs.cjs +1 -1
  19. package/dist/cjs/components/button-checkbox/button-checkbox.cjs +1 -1
  20. package/dist/cjs/components/buttons/back-button/back-button.cjs +1 -1
  21. package/dist/cjs/components/buttons/button/button.cjs +1 -1
  22. package/dist/cjs/components/buttons/copy-button/copy-button.cjs +1 -1
  23. package/dist/cjs/components/buttons/external-button/external-button.cjs +1 -1
  24. package/dist/cjs/components/buttons/navigation-button/navigation-button.cjs +1 -1
  25. package/dist/cjs/components/buttons/range-buttons/range-buttons.cjs +1 -1
  26. package/dist/cjs/components/card-grid/card-grid.cjs +1 -1
  27. package/dist/cjs/components/cards/card/card.cjs +1 -1
  28. package/dist/cjs/components/cards/expandable-call/expandable-call.cjs +1 -1
  29. package/dist/cjs/components/cards/expandable-card/expandable-card.cjs +1 -1
  30. package/dist/cjs/components/carousel/carousel.cjs +1 -1
  31. package/dist/cjs/components/checkbox/checkbox-labeled.cjs +1 -1
  32. package/dist/cjs/components/checkbox/checkbox.cjs +1 -1
  33. package/dist/cjs/components/checkbox-item/checkbox-item.cjs +1 -1
  34. package/dist/cjs/components/client-adapters/styled-button/styled-button.cjs +1 -1
  35. package/dist/cjs/components/client-adapters/styled-dialog-container/styled-dialog-container.cjs +1 -1
  36. package/dist/cjs/components/client-adapters/styled-rounded-image/styled-rounded-image.cjs +1 -1
  37. package/dist/cjs/components/colored-text/colored-text.cjs +1 -1
  38. package/dist/cjs/components/complex-input/complex-input.cjs +1 -1
  39. package/dist/cjs/components/compound-apy/compound-apy.cjs +1 -1
  40. package/dist/cjs/components/confirm-menu/confirm-menu.cjs +1 -1
  41. package/dist/cjs/components/credit-session-status/credit-session-status.cjs +1 -1
  42. package/dist/cjs/components/currency-button/currency-button.cjs +1 -1
  43. package/dist/cjs/components/description/description.cjs +1 -1
  44. package/dist/cjs/components/detailed-apy/detailed-apy.cjs +1 -1
  45. package/dist/cjs/components/detailed-page-title/detailed-page-title-copy-button.cjs +1 -1
  46. package/dist/cjs/components/detailed-page-title/detailed-page-title-explorer-dropdown.cjs +1 -1
  47. package/dist/cjs/components/detailed-page-title/detailed-page-title.cjs +1 -1
  48. package/dist/cjs/components/dialog/dialog-container.cjs +1 -1
  49. package/dist/cjs/components/dialog/dialog-content.cjs +1 -1
  50. package/dist/cjs/components/dialog/dialog-description.cjs +1 -1
  51. package/dist/cjs/components/dialog/dialog-footer.cjs +1 -1
  52. package/dist/cjs/components/dialog/dialog-form.cjs +1 -1
  53. package/dist/cjs/components/dialog/dialog-header.cjs +1 -1
  54. package/dist/cjs/components/dialog/dialog-modal-container.cjs +1 -1
  55. package/dist/cjs/components/dialog/dialog-overlay.cjs +1 -1
  56. package/dist/cjs/components/dialog/dialog-title.cjs +1 -1
  57. package/dist/cjs/components/dropdown-label/dropdown-label.cjs +1 -1
  58. package/dist/cjs/components/dropdown-menu/dropdown-menu-checkbox-item.cjs +1 -1
  59. package/dist/cjs/components/dropdown-menu/dropdown-menu-content.cjs +1 -1
  60. package/dist/cjs/components/dropdown-menu/dropdown-menu-item.cjs +1 -1
  61. package/dist/cjs/components/dropdown-menu/dropdown-menu-label.cjs +1 -1
  62. package/dist/cjs/components/dropdown-menu/dropdown-menu-radio-item.cjs +1 -1
  63. package/dist/cjs/components/dropdown-menu/dropdown-menu-separator.cjs +1 -1
  64. package/dist/cjs/components/dropdown-menu/dropdown-menu-shortcut.cjs +1 -1
  65. package/dist/cjs/components/dropdown-menu/dropdown-menu-sub-content.cjs +1 -1
  66. package/dist/cjs/components/dropdown-menu/dropdown-menu-sub-trigger.cjs +1 -1
  67. package/dist/cjs/components/edit-input/edit-input.cjs +1 -1
  68. package/dist/cjs/components/error-message/error-line-message.cjs +1 -1
  69. package/dist/cjs/components/error-message/error-message.cjs +1 -1
  70. package/dist/cjs/components/error-view/error-view.cjs +1 -1
  71. package/dist/cjs/components/explorer-links-dropdown/explorer-links-dropdown.cjs +1 -1
  72. package/dist/cjs/components/fadeout-loading/fadeout-loading.cjs +1 -1
  73. package/dist/cjs/components/filter/filter-block.cjs +1 -1
  74. package/dist/cjs/components/filter/filter-checkbox-item.cjs +1 -1
  75. package/dist/cjs/components/filter/filter-chip.cjs +1 -1
  76. package/dist/cjs/components/filter/filter-chips.cjs +1 -1
  77. package/dist/cjs/components/filter/filter-dropdown-item.cjs +1 -1
  78. package/dist/cjs/components/filter/filter-group.cjs +1 -1
  79. package/dist/cjs/components/filter/filter-label.cjs +1 -1
  80. package/dist/cjs/components/filter/filter-modal-item.cjs +1 -1
  81. package/dist/cjs/components/filter/filter-modal.cjs +1 -1
  82. package/dist/cjs/components/filter/filter-radio-item.cjs +1 -1
  83. package/dist/cjs/components/filter/filter-separator.cjs +1 -1
  84. package/dist/cjs/components/formatted-number/formatted-number.cjs +1 -1
  85. package/dist/cjs/components/grid-td-cell/grid-td-cell.cjs +1 -1
  86. package/dist/cjs/components/head-cell/head-cell.cjs +1 -1
  87. package/dist/cjs/components/health-factor/health-factor.cjs +1 -1
  88. package/dist/cjs/components/help-sections/help-sections.cjs +1 -1
  89. package/dist/cjs/components/help-tip/help-tip.cjs +1 -1
  90. package/dist/cjs/components/horizontal-indicator/horizontal-indicator.cjs +1 -1
  91. package/dist/cjs/components/icon-button/icon-button.cjs +1 -1
  92. package/dist/cjs/components/icons/fa-icon.cjs +1 -1
  93. package/dist/cjs/components/input/input.cjs +1 -1
  94. package/dist/cjs/components/label/label.cjs +1 -1
  95. package/dist/cjs/components/layout/block/block.cjs +1 -1
  96. package/dist/cjs/components/link/link.cjs +1 -1
  97. package/dist/cjs/components/liquidation/liquidation-assets-table/liquidation-assets-table.cjs +1 -1
  98. package/dist/cjs/components/liquidation/liquidation-graph-tip/liquidation-graph-tip.cjs +1 -1
  99. package/dist/cjs/components/liquidation-price/liquidation-price.cjs +1 -1
  100. package/dist/cjs/components/loader/loader.cjs +1 -1
  101. package/dist/cjs/components/loader-guard/loader-guard.cjs +1 -1
  102. package/dist/cjs/components/loading-bar/loading-bar.cjs +1 -1
  103. package/dist/cjs/components/markdown-viewer/markdown-viewer.cjs +1 -1
  104. package/dist/cjs/components/modal/modal.cjs +1 -1
  105. package/dist/cjs/components/navbar/navbar-with-overflow.cjs +1 -1
  106. package/dist/cjs/components/navbar/navbar.cjs +1 -1
  107. package/dist/cjs/components/navbar-logo/navbar-logo.cjs +1 -1
  108. package/dist/cjs/components/navitem/navitem.cjs +1 -1
  109. package/dist/cjs/components/not-found/not-found.cjs +1 -1
  110. package/dist/cjs/components/options-list/options-list.cjs +1 -1
  111. package/dist/cjs/components/overflow/overflow.cjs +1 -1
  112. package/dist/cjs/components/overflow-container/overflow-container.cjs +1 -1
  113. package/dist/cjs/components/page-title/page-title.cjs +1 -1
  114. package/dist/cjs/components/percent-indicator/percent-indicator.cjs +1 -1
  115. package/dist/cjs/components/pool-apy-tooltip/pool-apy-tooltip.cjs +1 -1
  116. package/dist/cjs/components/pool-indicator-icon/pool-indicator-icon.cjs +1 -1
  117. package/dist/cjs/components/pool-points-indicator/pool-points-indicator.cjs +1 -1
  118. package/dist/cjs/components/progress/progress.cjs +1 -1
  119. package/dist/cjs/components/progress-bar/progress-bar.cjs +1 -1
  120. package/dist/cjs/components/progress-circle/progress-circle.cjs +1 -1
  121. package/dist/cjs/components/radio-group/radio-group.cjs +1 -1
  122. package/dist/cjs/components/rounded-image/rounded-image.cjs +1 -1
  123. package/dist/cjs/components/row/row.cjs +1 -1
  124. package/dist/cjs/components/search-bar/search-bar.cjs +1 -1
  125. package/dist/cjs/components/search-line/search-line.cjs +1 -1
  126. package/dist/cjs/components/segmented-control/segmented-control.cjs +1 -1
  127. package/dist/cjs/components/select/select.cjs +1 -1
  128. package/dist/cjs/components/separate-line/separate-line.cjs +1 -1
  129. package/dist/cjs/components/separator/separator.cjs +1 -1
  130. package/dist/cjs/components/short-string/short-string.cjs +1 -1
  131. package/dist/cjs/components/signatures/confirmation-item.cjs +1 -1
  132. package/dist/cjs/components/simple-accordion/simple-accordion.cjs +1 -1
  133. package/dist/cjs/components/simple-dropdown/simple-dropdown-menu-item.cjs +1 -1
  134. package/dist/cjs/components/simple-dropdown/simple-dropdown.cjs +1 -1
  135. package/dist/cjs/components/skeleton/skeleton-stack.cjs +1 -1
  136. package/dist/cjs/components/skeleton/skeleton.cjs +1 -1
  137. package/dist/cjs/components/slider/slider.cjs +1 -1
  138. package/dist/cjs/components/slider-token/slider-token.cjs +1 -1
  139. package/dist/cjs/components/smart-number-input/balance-indicator.cjs +1 -1
  140. package/dist/cjs/components/smart-number-input/smart-number-input.cjs +1 -1
  141. package/dist/cjs/components/spinner/spinner.cjs +1 -1
  142. package/dist/cjs/components/spinner-loader/spinner-loader.cjs +1 -1
  143. package/dist/cjs/components/split-list/split-list.cjs +1 -1
  144. package/dist/cjs/components/stat-badge/stat-badge.cjs +1 -1
  145. package/dist/cjs/components/status-dot/status-dot.cjs +1 -1
  146. package/dist/cjs/components/status-elements/status-elements.cjs +1 -1
  147. package/dist/cjs/components/status-triangle/status-triangle.cjs +1 -1
  148. package/dist/cjs/components/stepper/stepper.cjs +1 -1
  149. package/dist/cjs/components/styled-dropdown/styled-dropdown.cjs +1 -1
  150. package/dist/cjs/components/switch/switch.cjs +1 -1
  151. package/dist/cjs/components/tab-control/tab-control.cjs +1 -1
  152. package/dist/cjs/components/table/edit-button.cjs +1 -1
  153. package/dist/cjs/components/table/editable-grid-table.cjs +1 -1
  154. package/dist/cjs/components/table/editable-table.cjs +1 -1
  155. package/dist/cjs/components/table/grid-loading-line.cjs +1 -1
  156. package/dist/cjs/components/table/table-sm.cjs +1 -1
  157. package/dist/cjs/components/table/table.cjs +1 -1
  158. package/dist/cjs/components/tabs/tabs.cjs +1 -1
  159. package/dist/cjs/components/text-button/text-button.cjs +1 -1
  160. package/dist/cjs/components/textarea/textarea.cjs +1 -1
  161. package/dist/cjs/components/time-to-liquidation/time-to-liquidation.cjs +1 -1
  162. package/dist/cjs/components/tip-card/tip-card.cjs +1 -1
  163. package/dist/cjs/components/toggle/toggle.cjs +1 -1
  164. package/dist/cjs/components/token-symbol/token-symbol.cjs +1 -1
  165. package/dist/cjs/components/token-template/token-template.cjs +1 -1
  166. package/dist/cjs/components/tokens-list-cell/tokens-list-cell.cjs +1 -1
  167. package/dist/cjs/components/tooltip/simple-tooltip.cjs +1 -1
  168. package/dist/cjs/components/tooltip/tooltip.cjs +1 -1
  169. package/dist/cjs/components/trading-view/trading-view.cjs +1 -1
  170. package/dist/cjs/components/typography/typography.cjs +1 -1
  171. package/dist/cjs/components/vertical-indicator/vertical-indicator.cjs +1 -1
  172. package/dist/cjs/components/vertical-list/vertical-list.cjs +1 -1
  173. package/dist/cjs/components/with-copy/with-copy.cjs +1 -1
  174. package/dist/cjs/components/with-filter-button/with-filter-button.cjs +1 -1
  175. package/dist/cjs/components/with-title/with-title.cjs +1 -1
  176. package/dist/cjs/hooks/use-debounce-call.cjs +1 -1
  177. package/dist/cjs/hooks/use-hf.cjs +1 -1
  178. package/dist/cjs/hooks/use-liquidation/index.cjs +1 -1
  179. package/dist/cjs/utils/format-money.cjs +1 -1
  180. package/dist/cjs/utils/templates.cjs +1 -1
  181. package/dist/esm/components/accordion/accordion.js +7 -8
  182. package/dist/esm/components/address/address.js +2 -3
  183. package/dist/esm/components/alert-badge/alert-badge.js +0 -1
  184. package/dist/esm/components/alert-dialog/alert-dialog.js +7 -8
  185. package/dist/esm/components/alert-modal/alert-modal.js +0 -1
  186. package/dist/esm/components/app-bar/app-bar.js +0 -1
  187. package/dist/esm/components/apy/apy.js +9 -10
  188. package/dist/esm/components/arc-loader/arc-loader.js +0 -1
  189. package/dist/esm/components/asset-line/asset-line.js +9 -10
  190. package/dist/esm/components/assets-list-cell/assets-list-cell.js +2 -3
  191. package/dist/esm/components/assets-ratio/assets-ratio.js +11 -12
  192. package/dist/esm/components/auth/connect-required.js +2 -3
  193. package/dist/esm/components/auth/signin-required.js +11 -12
  194. package/dist/esm/components/avatar/avatar.js +9 -10
  195. package/dist/esm/components/badge/badge.js +6 -7
  196. package/dist/esm/components/base-link/base-link.js +7 -8
  197. package/dist/esm/components/block-sync/block-sync.js +2 -3
  198. package/dist/esm/components/breadcrumbs/breadcrumbs.js +2 -3
  199. package/dist/esm/components/button-checkbox/button-checkbox.js +13 -16
  200. package/dist/esm/components/buttons/back-button/back-button.js +6 -7
  201. package/dist/esm/components/buttons/button/button.js +4 -5
  202. package/dist/esm/components/buttons/copy-button/copy-button.js +7 -8
  203. package/dist/esm/components/buttons/external-button/external-button.js +7 -8
  204. package/dist/esm/components/buttons/navigation-button/navigation-button.js +3 -4
  205. package/dist/esm/components/buttons/range-buttons/range-buttons.js +2 -3
  206. package/dist/esm/components/card-grid/card-grid.js +4 -5
  207. package/dist/esm/components/cards/card/card.js +0 -1
  208. package/dist/esm/components/cards/expandable-call/expandable-call.js +19 -20
  209. package/dist/esm/components/cards/expandable-card/expandable-card.js +11 -12
  210. package/dist/esm/components/carousel/carousel.js +14 -15
  211. package/dist/esm/components/checkbox/checkbox-labeled.js +0 -1
  212. package/dist/esm/components/checkbox/checkbox.js +0 -1
  213. package/dist/esm/components/checkbox-item/checkbox-item.js +9 -10
  214. package/dist/esm/components/client-adapters/styled-button/styled-button.js +4 -5
  215. package/dist/esm/components/client-adapters/styled-dialog-container/styled-dialog-container.js +0 -1
  216. package/dist/esm/components/client-adapters/styled-rounded-image/styled-rounded-image.js +0 -1
  217. package/dist/esm/components/colored-text/colored-text.js +0 -1
  218. package/dist/esm/components/complex-input/complex-input.js +2 -3
  219. package/dist/esm/components/compound-apy/compound-apy.js +2 -3
  220. package/dist/esm/components/confirm-menu/confirm-menu.js +3 -4
  221. package/dist/esm/components/credit-session-status/credit-session-status.js +2 -3
  222. package/dist/esm/components/currency-button/currency-button.js +9 -10
  223. package/dist/esm/components/description/description.js +0 -1
  224. package/dist/esm/components/detailed-apy/detailed-apy.js +8 -9
  225. package/dist/esm/components/detailed-page-title/detailed-page-title-copy-button.js +0 -1
  226. package/dist/esm/components/detailed-page-title/detailed-page-title-explorer-dropdown.js +0 -1
  227. package/dist/esm/components/detailed-page-title/detailed-page-title.js +0 -1
  228. package/dist/esm/components/dialog/dialog-container.js +6 -7
  229. package/dist/esm/components/dialog/dialog-content.js +0 -1
  230. package/dist/esm/components/dialog/dialog-description.js +4 -5
  231. package/dist/esm/components/dialog/dialog-footer.js +0 -1
  232. package/dist/esm/components/dialog/dialog-form.js +11 -12
  233. package/dist/esm/components/dialog/dialog-header.js +4 -5
  234. package/dist/esm/components/dialog/dialog-modal-container.js +0 -1
  235. package/dist/esm/components/dialog/dialog-overlay.js +3 -4
  236. package/dist/esm/components/dialog/dialog-title.js +0 -1
  237. package/dist/esm/components/dropdown-label/dropdown-label.js +6 -7
  238. package/dist/esm/components/dropdown-menu/dropdown-menu-checkbox-item.js +0 -1
  239. package/dist/esm/components/dropdown-menu/dropdown-menu-content.js +4 -5
  240. package/dist/esm/components/dropdown-menu/dropdown-menu-item.js +3 -4
  241. package/dist/esm/components/dropdown-menu/dropdown-menu-label.js +3 -4
  242. package/dist/esm/components/dropdown-menu/dropdown-menu-radio-item.js +3 -4
  243. package/dist/esm/components/dropdown-menu/dropdown-menu-separator.js +7 -8
  244. package/dist/esm/components/dropdown-menu/dropdown-menu-shortcut.js +0 -1
  245. package/dist/esm/components/dropdown-menu/dropdown-menu-sub-content.js +0 -1
  246. package/dist/esm/components/dropdown-menu/dropdown-menu-sub-trigger.js +7 -8
  247. package/dist/esm/components/edit-input/edit-input.js +6 -7
  248. package/dist/esm/components/error-message/error-line-message.js +5 -6
  249. package/dist/esm/components/error-message/error-message.js +2 -3
  250. package/dist/esm/components/error-view/error-view.js +2 -3
  251. package/dist/esm/components/explorer-links-dropdown/explorer-links-dropdown.js +2 -3
  252. package/dist/esm/components/fadeout-loading/fadeout-loading.js +0 -1
  253. package/dist/esm/components/filter/filter-block.js +0 -1
  254. package/dist/esm/components/filter/filter-checkbox-item.js +3 -4
  255. package/dist/esm/components/filter/filter-chip.js +8 -9
  256. package/dist/esm/components/filter/filter-chips.js +5 -6
  257. package/dist/esm/components/filter/filter-dropdown-item.js +11 -12
  258. package/dist/esm/components/filter/filter-group.js +0 -1
  259. package/dist/esm/components/filter/filter-label.js +0 -1
  260. package/dist/esm/components/filter/filter-modal-item.js +4 -5
  261. package/dist/esm/components/filter/filter-modal.js +2 -3
  262. package/dist/esm/components/filter/filter-radio-item.js +4 -5
  263. package/dist/esm/components/filter/filter-separator.js +3 -4
  264. package/dist/esm/components/formatted-number/formatted-number.js +2 -3
  265. package/dist/esm/components/grid-td-cell/grid-td-cell.js +2 -3
  266. package/dist/esm/components/head-cell/head-cell.js +12 -13
  267. package/dist/esm/components/health-factor/health-factor.js +6 -7
  268. package/dist/esm/components/help-sections/help-sections.js +7 -8
  269. package/dist/esm/components/help-tip/help-tip.js +4 -5
  270. package/dist/esm/components/horizontal-indicator/horizontal-indicator.js +2 -3
  271. package/dist/esm/components/icon-button/icon-button.js +6 -7
  272. package/dist/esm/components/icons/fa-icon.js +2 -3
  273. package/dist/esm/components/input/input.js +62 -56
  274. package/dist/esm/components/label/label.js +0 -1
  275. package/dist/esm/components/layout/block/block.js +2 -3
  276. package/dist/esm/components/link/link.js +13 -14
  277. package/dist/esm/components/liquidation/liquidation-assets-table/liquidation-assets-table.js +5 -6
  278. package/dist/esm/components/liquidation/liquidation-graph-tip/liquidation-graph-tip.js +17 -18
  279. package/dist/esm/components/liquidation-price/liquidation-price.js +2 -3
  280. package/dist/esm/components/loader/loader.js +0 -1
  281. package/dist/esm/components/loader-guard/loader-guard.js +2 -3
  282. package/dist/esm/components/loading-bar/loading-bar.js +0 -1
  283. package/dist/esm/components/markdown-viewer/markdown-viewer.js +2 -3
  284. package/dist/esm/components/modal/modal.js +7 -8
  285. package/dist/esm/components/navbar/navbar-with-overflow.js +2 -3
  286. package/dist/esm/components/navbar/navbar.js +21 -22
  287. package/dist/esm/components/navbar-logo/navbar-logo.js +2 -3
  288. package/dist/esm/components/navitem/navitem.js +0 -1
  289. package/dist/esm/components/not-found/not-found.js +2 -3
  290. package/dist/esm/components/options-list/options-list.js +4 -5
  291. package/dist/esm/components/overflow/overflow.js +8 -9
  292. package/dist/esm/components/overflow-container/overflow-container.js +2 -3
  293. package/dist/esm/components/page-title/page-title.js +5 -6
  294. package/dist/esm/components/percent-indicator/percent-indicator.js +2 -3
  295. package/dist/esm/components/pool-apy-tooltip/pool-apy-tooltip.js +2 -3
  296. package/dist/esm/components/pool-indicator-icon/pool-indicator-icon.js +5 -6
  297. package/dist/esm/components/pool-points-indicator/pool-points-indicator.js +2 -3
  298. package/dist/esm/components/progress/progress.js +5 -6
  299. package/dist/esm/components/progress-bar/progress-bar.js +16 -17
  300. package/dist/esm/components/progress-circle/progress-circle.js +10 -11
  301. package/dist/esm/components/radio-group/radio-group.js +0 -1
  302. package/dist/esm/components/rounded-image/rounded-image.js +0 -1
  303. package/dist/esm/components/row/row.js +2 -3
  304. package/dist/esm/components/search-bar/search-bar.js +4 -5
  305. package/dist/esm/components/search-line/search-line.js +0 -1
  306. package/dist/esm/components/segmented-control/segmented-control.js +8 -9
  307. package/dist/esm/components/select/select.js +3 -4
  308. package/dist/esm/components/separate-line/separate-line.js +0 -1
  309. package/dist/esm/components/separator/separator.js +3 -4
  310. package/dist/esm/components/short-string/short-string.js +3 -4
  311. package/dist/esm/components/signatures/confirmation-item.js +2 -3
  312. package/dist/esm/components/simple-accordion/simple-accordion.js +0 -1
  313. package/dist/esm/components/simple-dropdown/simple-dropdown-menu-item.js +0 -1
  314. package/dist/esm/components/simple-dropdown/simple-dropdown.js +4 -5
  315. package/dist/esm/components/skeleton/skeleton-stack.js +6 -7
  316. package/dist/esm/components/skeleton/skeleton.js +2 -3
  317. package/dist/esm/components/slider/slider.js +0 -1
  318. package/dist/esm/components/slider-token/slider-token.js +12 -13
  319. package/dist/esm/components/smart-number-input/balance-indicator.js +13 -14
  320. package/dist/esm/components/smart-number-input/smart-number-input.js +0 -1
  321. package/dist/esm/components/spinner/spinner.js +0 -1
  322. package/dist/esm/components/spinner-loader/spinner-loader.js +7 -8
  323. package/dist/esm/components/split-list/split-list.js +4 -5
  324. package/dist/esm/components/stat-badge/stat-badge.js +9 -10
  325. package/dist/esm/components/status-dot/status-dot.js +3 -4
  326. package/dist/esm/components/status-elements/status-elements.js +6 -7
  327. package/dist/esm/components/status-triangle/status-triangle.js +5 -6
  328. package/dist/esm/components/stepper/stepper.js +20 -21
  329. package/dist/esm/components/styled-dropdown/styled-dropdown.js +2 -3
  330. package/dist/esm/components/switch/switch.js +7 -8
  331. package/dist/esm/components/tab-control/tab-control.js +36 -37
  332. package/dist/esm/components/table/edit-button.js +2 -3
  333. package/dist/esm/components/table/editable-grid-table.js +35 -36
  334. package/dist/esm/components/table/editable-table.js +16 -17
  335. package/dist/esm/components/table/grid-loading-line.js +13 -14
  336. package/dist/esm/components/table/table-sm.js +20 -21
  337. package/dist/esm/components/table/table.js +0 -1
  338. package/dist/esm/components/tabs/tabs.js +6 -7
  339. package/dist/esm/components/text-button/text-button.js +9 -10
  340. package/dist/esm/components/textarea/textarea.js +0 -1
  341. package/dist/esm/components/time-to-liquidation/time-to-liquidation.js +0 -1
  342. package/dist/esm/components/tip-card/tip-card.js +4 -5
  343. package/dist/esm/components/toggle/toggle.js +0 -1
  344. package/dist/esm/components/token-symbol/token-symbol.js +4 -5
  345. package/dist/esm/components/token-template/token-template.js +5 -6
  346. package/dist/esm/components/tokens-list-cell/tokens-list-cell.js +2 -3
  347. package/dist/esm/components/tooltip/simple-tooltip.js +0 -1
  348. package/dist/esm/components/tooltip/tooltip.js +6 -7
  349. package/dist/esm/components/trading-view/trading-view.js +2 -3
  350. package/dist/esm/components/typography/typography.js +4 -5
  351. package/dist/esm/components/vertical-indicator/vertical-indicator.js +0 -1
  352. package/dist/esm/components/vertical-list/vertical-list.js +8 -9
  353. package/dist/esm/components/with-copy/with-copy.js +2 -3
  354. package/dist/esm/components/with-filter-button/with-filter-button.js +0 -1
  355. package/dist/esm/components/with-title/with-title.js +7 -8
  356. package/dist/esm/hooks/use-debounce-call.js +5 -6
  357. package/dist/esm/hooks/use-hf.js +22 -22
  358. package/dist/esm/hooks/use-liquidation/index.js +65 -66
  359. package/dist/esm/utils/format-money.js +17 -18
  360. package/dist/esm/utils/templates.js +20 -21
  361. package/dist/globals.css +1 -1
  362. package/dist/types/components/asset-line/asset-line.d.ts +3 -4
  363. package/dist/types/components/compound-apy/compound-apy.d.ts +4 -3
  364. package/dist/types/components/credit-session-status/credit-session-status.d.ts +1 -1
  365. package/dist/types/components/currency-button/currency-button.d.ts +2 -2
  366. package/dist/types/components/detailed-apy/detailed-apy.d.ts +5 -5
  367. package/dist/types/components/detailed-page-title/detailed-page-title.d.ts +2 -2
  368. package/dist/types/components/liquidation/liquidation-assets-table/liquidation-assets-table.d.ts +2 -2
  369. package/dist/types/components/liquidation/liquidation-graph/liquidation-graph.d.ts +4 -5
  370. package/dist/types/components/liquidation/liquidation-graph-tip/liquidation-graph-tip.d.ts +2 -2
  371. package/dist/types/components/pool-apy-tooltip/pool-apy-tooltip.d.ts +3 -3
  372. package/dist/types/components/slider-token/slider-token.d.ts +2 -2
  373. package/dist/types/components/smart-number-input/balance-indicator.d.ts +2 -2
  374. package/dist/types/components/smart-number-input/smart-number-input.d.ts +10 -2
  375. package/dist/types/components/token-symbol/token-symbol.d.ts +6 -2
  376. package/dist/types/components/token-template/token-template.d.ts +2 -2
  377. package/dist/types/components/tokens-list-cell/tokens-list-cell.d.ts +2 -2
  378. package/dist/types/hooks/use-hf.d.ts +3 -4
  379. package/dist/types/hooks/use-liquidation/index.d.ts +8 -9
  380. package/dist/types/hooks/use-liquidation/types.d.ts +2 -2
  381. package/dist/types/hooks/use-liquidation/utils.d.ts +10 -11
  382. package/dist/types/utils/interface.d.ts +9 -0
  383. package/dist/types/utils/search-in-token.d.ts +4 -4
  384. package/dist/types/utils/templates.d.ts +8 -8
  385. package/package.json +7 -7
  386. package/dist/cjs/types/common.cjs +0 -1
  387. package/dist/esm/types/common.js +0 -1
  388. package/dist/types/types/common.d.ts +0 -23
@@ -3,19 +3,18 @@ import "react";
3
3
  import "@gearbox-protocol/sdk";
4
4
  import { cn as u } from "../../utils/cn.js";
5
5
  import "sonner";
6
- import "@gearbox-protocol/sdk/common-utils";
7
6
  import "luxon";
8
7
  import "../../utils/z-index.js";
9
- function w({
8
+ function N({
10
9
  value: l,
11
10
  size: r = 40,
12
- strokeWidth: e = 4,
11
+ strokeWidth: t = 4,
13
12
  indicatorColor: m = "hsl(var(--primary))",
14
13
  trackColor: f = "hsl(var(--muted))",
15
14
  className: h,
16
15
  children: i
17
16
  }) {
18
- const o = Math.max(0, Math.min(100, l || 0)), t = r / 2, s = t - e / 2, c = 2 * Math.PI * s, p = (100 - o) * c / 100;
17
+ const o = Math.max(0, Math.min(100, l || 0)), e = r / 2, s = e - t / 2, c = 2 * Math.PI * s, p = (100 - o) * c / 100;
19
18
  return /* @__PURE__ */ n(
20
19
  "div",
21
20
  {
@@ -38,23 +37,23 @@ function w({
38
37
  /* @__PURE__ */ a(
39
38
  "circle",
40
39
  {
41
- cx: t,
42
- cy: t,
40
+ cx: e,
41
+ cy: e,
43
42
  r: s,
44
43
  fill: "transparent",
45
44
  stroke: f,
46
- strokeWidth: e
45
+ strokeWidth: t
47
46
  }
48
47
  ),
49
48
  /* @__PURE__ */ a(
50
49
  "circle",
51
50
  {
52
- cx: t,
53
- cy: t,
51
+ cx: e,
52
+ cy: e,
54
53
  r: s,
55
54
  fill: "transparent",
56
55
  stroke: m,
57
- strokeWidth: e,
56
+ strokeWidth: t,
58
57
  strokeDasharray: c,
59
58
  strokeDashoffset: p,
60
59
  strokeLinecap: "round",
@@ -70,5 +69,5 @@ function w({
70
69
  );
71
70
  }
72
71
  export {
73
- w as ProgressCircle
72
+ N as ProgressCircle
74
73
  };
@@ -5,7 +5,6 @@ import * as c from "react";
5
5
  import "@gearbox-protocol/sdk";
6
6
  import { cn as d } from "../../utils/cn.js";
7
7
  import "sonner";
8
- import "@gearbox-protocol/sdk/common-utils";
9
8
  import "luxon";
10
9
  import "../../utils/z-index.js";
11
10
  const g = s("w-full flex flex-col gap-4"), f = s(
@@ -4,7 +4,6 @@ import { useState as s, useRef as E, useEffect as j } from "react";
4
4
  import "@gearbox-protocol/sdk";
5
5
  import { cn as k } from "../../utils/cn.js";
6
6
  import "sonner";
7
- import "@gearbox-protocol/sdk/common-utils";
8
7
  import { getStatic as w } from "../../utils/static.js";
9
8
  import "luxon";
10
9
  import "../../utils/z-index.js";
@@ -3,7 +3,6 @@ import "react";
3
3
  import "@gearbox-protocol/sdk";
4
4
  import { cn as b } from "../../utils/cn.js";
5
5
  import "sonner";
6
- import "@gearbox-protocol/sdk/common-utils";
7
6
  import "luxon";
8
7
  import "../../utils/z-index.js";
9
8
  const v = {
@@ -20,7 +19,7 @@ const v = {
20
19
  "space-around": "justify-around",
21
20
  "space-evenly": "justify-evenly"
22
21
  };
23
- function R({
22
+ function N({
24
23
  $align: n,
25
24
  align: i,
26
25
  $justify: r,
@@ -54,5 +53,5 @@ function R({
54
53
  );
55
54
  }
56
55
  export {
57
- R as Row
56
+ N as Row
58
57
  };
@@ -7,7 +7,6 @@ import { Input as V } from "../input/input.js";
7
7
  import "@gearbox-protocol/sdk";
8
8
  import { cn as i } from "../../utils/cn.js";
9
9
  import "sonner";
10
- import "@gearbox-protocol/sdk/common-utils";
11
10
  import "luxon";
12
11
  import "../../utils/z-index.js";
13
12
  const z = l("relative w-full transition-all duration-200", {
@@ -60,7 +59,7 @@ const z = l("relative w-full transition-all duration-200", {
60
59
  theme: "light"
61
60
  }
62
61
  });
63
- function E({
62
+ function D({
64
63
  onChange: c,
65
64
  placeholder: m = "Search...",
66
65
  className: u,
@@ -68,9 +67,9 @@ function E({
68
67
  theme: d = "light",
69
68
  value: t
70
69
  }) {
71
- const [p, h] = n(""), [g, a] = n(!1), r = t !== void 0, o = r ? t : p, v = o !== "" || g, x = (N) => {
70
+ const [h, p] = n(""), [g, a] = n(!1), r = t !== void 0, o = r ? t : h, v = o !== "" || g, x = (N) => {
72
71
  const s = N.target.value;
73
- r || h(s), c(s);
72
+ r || p(s), c(s);
74
73
  };
75
74
  return /* @__PURE__ */ e("div", { className: i(z({ size: f }), u), children: /* @__PURE__ */ y("div", { className: "relative", children: [
76
75
  /* @__PURE__ */ e(
@@ -95,5 +94,5 @@ function E({
95
94
  ] }) });
96
95
  }
97
96
  export {
98
- E as SearchBar
97
+ D as SearchBar
99
98
  };
@@ -8,7 +8,6 @@ import { Input as V } from "../input/input.js";
8
8
  import "@gearbox-protocol/sdk";
9
9
  import { cn as f } from "../../utils/cn.js";
10
10
  import "sonner";
11
- import "@gearbox-protocol/sdk/common-utils";
12
11
  import "luxon";
13
12
  import "../../utils/z-index.js";
14
13
  const D = x("relative w-full transition-all duration-200", {
@@ -1,10 +1,9 @@
1
- import { jsxs as p, jsx as s } from "react/jsx-runtime";
1
+ import { jsxs as p, jsx as o } from "react/jsx-runtime";
2
2
  import { cva as u } from "class-variance-authority";
3
3
  import * as g from "react";
4
4
  import "@gearbox-protocol/sdk";
5
5
  import { cn as m } from "../../utils/cn.js";
6
6
  import "sonner";
7
- import "@gearbox-protocol/sdk/common-utils";
8
7
  import "luxon";
9
8
  import "../../utils/z-index.js";
10
9
  const h = u(
@@ -27,9 +26,9 @@ const h = u(
27
26
  },
28
27
  defaultVariants: { size: "md" }
29
28
  }), b = g.forwardRef(({ className: l, name: d, items: t, size: r = "md", ...n }, e) => {
30
- const o = t.findIndex((a) => a.checked), i = o < 0 ? 0 : o, c = t.length;
29
+ const s = t.findIndex((a) => a.checked), i = s < 0 ? 0 : s, c = t.length;
31
30
  return /* @__PURE__ */ p("div", { ref: e, className: m(h({ size: r }), l), ...n, children: [
32
- t.map((a, f) => /* @__PURE__ */ s(
31
+ t.map((a, f) => /* @__PURE__ */ o(
33
32
  v,
34
33
  {
35
34
  ...a,
@@ -37,7 +36,7 @@ const h = u(
37
36
  },
38
37
  typeof a.value == "string" ? a.value : f
39
38
  )),
40
- /* @__PURE__ */ s(
39
+ /* @__PURE__ */ o(
41
40
  "div",
42
41
  {
43
42
  className: m(
@@ -61,7 +60,7 @@ function v({
61
60
  onSelect: n,
62
61
  ...e
63
62
  }) {
64
- const o = r ?? (n ? (i) => {
63
+ const s = r ?? (n ? (i) => {
65
64
  i.preventDefault(), n();
66
65
  } : void 0);
67
66
  return /* @__PURE__ */ p(
@@ -74,17 +73,17 @@ function v({
74
73
  "data-checked": e.checked,
75
74
  "data-disabled": e.disabled,
76
75
  children: [
77
- /* @__PURE__ */ s(
76
+ /* @__PURE__ */ o(
78
77
  "input",
79
78
  {
80
79
  type: "radio",
81
80
  name: l,
82
81
  className: "absolute h-0 w-0 cursor-pointer opacity-0",
83
82
  ...e,
84
- onChange: o
83
+ onChange: s
85
84
  }
86
85
  ),
87
- /* @__PURE__ */ s("span", { className: "flex h-full grow shrink-0 basis-0 items-center justify-center px-2 py-1", children: d ?? t })
86
+ /* @__PURE__ */ o("span", { className: "flex h-full grow shrink-0 basis-0 items-center justify-center px-2 py-1", children: d ?? t })
88
87
  ]
89
88
  }
90
89
  );
@@ -7,12 +7,11 @@ import { FaIcon as i } from "../icons/fa-icon.js";
7
7
  import "@gearbox-protocol/sdk";
8
8
  import { cn as s } from "../../utils/cn.js";
9
9
  import "sonner";
10
- import "@gearbox-protocol/sdk/common-utils";
11
10
  import "luxon";
12
11
  import { Z_INDEX as h } from "../../utils/z-index.js";
13
12
  const x = (a) => /* @__PURE__ */ t(e.Root, { ...a });
14
13
  x.displayName = "Select";
15
- const G = e.Group, O = e.Value, N = g(
14
+ const P = e.Group, G = e.Value, N = g(
16
15
  "group flex w-full items-center justify-between whitespace-nowrap rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm placeholder:text-muted-foreground focus:outline-none disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1 bg-[rgb(40,40,40)] text-foreground cursor-pointer",
17
16
  {
18
17
  variants: {
@@ -143,13 +142,13 @@ I.displayName = e.Separator.displayName;
143
142
  export {
144
143
  x as Select,
145
144
  S as SelectContent,
146
- G as SelectGroup,
145
+ P as SelectGroup,
147
146
  R as SelectItem,
148
147
  v as SelectLabel,
149
148
  f as SelectScrollDownButton,
150
149
  p as SelectScrollUpButton,
151
150
  I as SelectSeparator,
152
151
  w as SelectTrigger,
153
- O as SelectValue,
152
+ G as SelectValue,
154
153
  N as selectTriggerVariants
155
154
  };
@@ -3,7 +3,6 @@ import * as p from "react";
3
3
  import "@gearbox-protocol/sdk";
4
4
  import { cn as d } from "../../utils/cn.js";
5
5
  import "sonner";
6
- import "@gearbox-protocol/sdk/common-utils";
7
6
  import "luxon";
8
7
  import "../../utils/z-index.js";
9
8
  const s = p.forwardRef(
@@ -4,14 +4,13 @@ import * as e from "react";
4
4
  import "@gearbox-protocol/sdk";
5
5
  import { cn as l } from "../../utils/cn.js";
6
6
  import "sonner";
7
- import "@gearbox-protocol/sdk/common-utils";
8
7
  import "luxon";
9
8
  import "../../utils/z-index.js";
10
9
  const s = e.forwardRef(
11
- ({ className: t, orientation: r = "horizontal", decorative: m = !0, ...p }, a) => /* @__PURE__ */ i(
10
+ ({ className: t, orientation: r = "horizontal", decorative: m = !0, ...a }, p) => /* @__PURE__ */ i(
12
11
  o.Root,
13
12
  {
14
- ref: a,
13
+ ref: p,
15
14
  decorative: m,
16
15
  orientation: r,
17
16
  className: l(
@@ -19,7 +18,7 @@ const s = e.forwardRef(
19
18
  r === "horizontal" ? "h-[1px] w-full" : "h-full w-[1px]",
20
19
  t
21
20
  ),
22
- ...p
21
+ ...a
23
22
  }
24
23
  )
25
24
  );
@@ -5,19 +5,18 @@ import "react";
5
5
  import "@gearbox-protocol/sdk";
6
6
  import { cn as s } from "../../utils/cn.js";
7
7
  import "sonner";
8
- import "@gearbox-protocol/sdk/common-utils";
9
8
  import { isLongString as u, shortenString as S } from "../../utils/shorten-string.js";
10
9
  import "luxon";
11
10
  import "../../utils/z-index.js";
12
- function y({
11
+ function k({
13
12
  children: o,
14
13
  maxLength: t,
15
14
  showTooltip: m = !0,
16
15
  className: i
17
16
  }) {
18
- const n = (p, e) => e === "text-overflow" ? /* @__PURE__ */ r("span", { className: s("inline-block max-w-full truncate", i), children: p }) : /* @__PURE__ */ r("span", { className: i, children: S(p, e) });
17
+ const n = (e, p) => p === "text-overflow" ? /* @__PURE__ */ r("span", { className: s("inline-block max-w-full truncate", i), children: e }) : /* @__PURE__ */ r("span", { className: i, children: S(e, p) });
19
18
  return typeof o == "string" && t !== void 0 ? m && (t === "text-overflow" || u(o, t)) ? /* @__PURE__ */ r(f, { title: n(o, t), children: o }) : n(o, t) : o;
20
19
  }
21
20
  export {
22
- y as ShortString
21
+ k as ShortString
23
22
  };
@@ -11,12 +11,11 @@ import "clsx";
11
11
  import "tailwind-merge";
12
12
  import "sonner";
13
13
  import { shortenHash as s } from "../../utils/format.js";
14
- import "@gearbox-protocol/sdk/common-utils";
15
14
  import "luxon";
16
15
  import "../../utils/z-index.js";
17
16
  import "../buttons/tab-button/tab-button.js";
18
17
  import { Identicon as a } from "./identicon.js";
19
- function z({
18
+ function I({
20
19
  confirmation: r,
21
20
  note: o,
22
21
  explorerUrl: i
@@ -35,5 +34,5 @@ function z({
35
34
  ] });
36
35
  }
37
36
  export {
38
- z as ConfirmationItem
37
+ I as ConfirmationItem
39
38
  };
@@ -5,7 +5,6 @@ import "react";
5
5
  import "@gearbox-protocol/sdk";
6
6
  import { cn as a } from "../../utils/cn.js";
7
7
  import "sonner";
8
- import "@gearbox-protocol/sdk/common-utils";
9
8
  import "luxon";
10
9
  import "../../utils/z-index.js";
11
10
  const h = "flex-wrap text-left bg-transparent border-0 [&[data-state=open]>[data-accordion-icon]]:rotate-180";
@@ -13,7 +13,6 @@ import "../dropdown-menu/dropdown-menu-sub-trigger.js";
13
13
  import "@gearbox-protocol/sdk";
14
14
  import { cn as e } from "../../utils/cn.js";
15
15
  import "sonner";
16
- import "@gearbox-protocol/sdk/common-utils";
17
16
  import "luxon";
18
17
  import "../../utils/z-index.js";
19
18
  const n = "cursor-pointer gap-0 rounded-lg px-3 py-3 text-sm font-normal leading-[17px] text-foreground hover:bg-gray-80 focus:bg-gray-80", a = p.forwardRef(({ className: o, ...r }, m) => /* @__PURE__ */ t(
@@ -4,12 +4,11 @@ import { useRef as j } from "react";
4
4
  import "@gearbox-protocol/sdk";
5
5
  import { cn as l } from "../../utils/cn.js";
6
6
  import "sonner";
7
- import "@gearbox-protocol/sdk/common-utils";
8
7
  import "luxon";
9
8
  import { Z_INDEX as y } from "../../utils/z-index.js";
10
9
  function E({
11
- children: p,
12
- title: f,
10
+ children: f,
11
+ title: p,
13
12
  asChild: a = !1,
14
13
  placement: m = "bottom",
15
14
  align: u = "start",
@@ -60,7 +59,7 @@ function E({
60
59
  "inline-flex appearance-none border-0 bg-transparent p-0 text-inherit font-inherit cursor-pointer",
61
60
  v
62
61
  ),
63
- children: f
62
+ children: p
64
63
  }
65
64
  ),
66
65
  /* @__PURE__ */ r(t.Portal, { children: /* @__PURE__ */ r(
@@ -77,7 +76,7 @@ function E({
77
76
  },
78
77
  onPointerDownOutside: o ? x : void 0,
79
78
  onEscapeKeyDown: o ? () => e?.(!1) : void 0,
80
- children: p
79
+ children: f
81
80
  }
82
81
  ) })
83
82
  ]
@@ -3,16 +3,15 @@ import { useMemo as c } from "react";
3
3
  import "@gearbox-protocol/sdk";
4
4
  import { cn as r } from "../../utils/cn.js";
5
5
  import "sonner";
6
- import "@gearbox-protocol/sdk/common-utils";
7
6
  import "luxon";
8
7
  import "../../utils/z-index.js";
9
- import { Skeleton as i } from "./skeleton.js";
10
- const n = {
8
+ import { Skeleton as n } from "./skeleton.js";
9
+ const i = {
11
10
  sm: "space-y-2",
12
11
  md: "space-y-3",
13
12
  lg: "space-y-4"
14
13
  };
15
- function w({
14
+ function S({
16
15
  lines: o = 5,
17
16
  className: t,
18
17
  gap: e = "md"
@@ -21,8 +20,8 @@ function w({
21
20
  () => Array.from({ length: o }, () => crypto.randomUUID()),
22
21
  [o]
23
22
  );
24
- return /* @__PURE__ */ m("div", { className: r(n[e], t), children: p.map((s, a) => /* @__PURE__ */ m(
25
- i,
23
+ return /* @__PURE__ */ m("div", { className: r(i[e], t), children: p.map((s, a) => /* @__PURE__ */ m(
24
+ n,
26
25
  {
27
26
  className: r("h-4 w-full", a === o - 1 && "w-3/4")
28
27
  },
@@ -30,5 +29,5 @@ function w({
30
29
  )) });
31
30
  }
32
31
  export {
33
- w as SkeletonStack
32
+ S as SkeletonStack
34
33
  };
@@ -4,7 +4,6 @@ import "react";
4
4
  import "@gearbox-protocol/sdk";
5
5
  import { cn as w } from "../../utils/cn.js";
6
6
  import "sonner";
7
- import "@gearbox-protocol/sdk/common-utils";
8
7
  import "luxon";
9
8
  import "../../utils/z-index.js";
10
9
  const c = f("animate-pulse rounded-md bg-muted", {
@@ -51,7 +50,7 @@ const c = f("animate-pulse rounded-md bg-muted", {
51
50
  height: "md"
52
51
  }
53
52
  });
54
- function j({
53
+ function $({
55
54
  className: s,
56
55
  variant: l,
57
56
  speed: n,
@@ -87,6 +86,6 @@ function j({
87
86
  );
88
87
  }
89
88
  export {
90
- j as Skeleton,
89
+ $ as Skeleton,
91
90
  c as skeletonVariants
92
91
  };
@@ -5,7 +5,6 @@ import * as H from "react";
5
5
  import { useMemo as m, useRef as w, useCallback as J, useState as K, useLayoutEffect as Q } from "react";
6
6
  import { cn as y } from "../../utils/cn.js";
7
7
  import "sonner";
8
- import "@gearbox-protocol/sdk/common-utils";
9
8
  import { findClosestPoint as X, validateMinMax as Y } from "../../utils/math.js";
10
9
  import "luxon";
11
10
  import "../../utils/z-index.js";
@@ -6,14 +6,13 @@ import { SliderProvider as K } from "../slider/slider-context.js";
6
6
  import { SliderMark as Q } from "../slider/slider-mark.js";
7
7
  import { cn as x } from "../../utils/cn.js";
8
8
  import "sonner";
9
- import "@gearbox-protocol/sdk/common-utils";
10
9
  import { validateMinMax as w } from "../../utils/math.js";
11
10
  import "luxon";
12
11
  import "../../utils/z-index.js";
13
12
  import { SliderTokenLabel as X } from "./slider-token-label.js";
14
13
  import { makeSliderTokenMarkerPoints as Y, mergeCloseMarkers as Z } from "./slider-token-utils.js";
15
14
  const V = 7.5;
16
- function pe({
15
+ function ue({
17
16
  from: p,
18
17
  to: g,
19
18
  step: I,
@@ -46,21 +45,21 @@ function pe({
46
45
  f
47
46
  ),
48
47
  [t, n, N, f]
49
- ), i = l(
48
+ ), s = l(
50
49
  () => Z(y, T),
51
50
  [y, T]
52
51
  ), C = u(
53
52
  (e) => {
54
- if (i.length === 0) {
53
+ if (s.length === 0) {
55
54
  m(w(e, t, n));
56
55
  return;
57
56
  }
58
- const o = i.reduce(
59
- (a, s) => Math.abs(s.point - e) < Math.abs(a.point - e) ? s : a
57
+ const o = s.reduce(
58
+ (a, i) => Math.abs(i.point - e) < Math.abs(a.point - e) ? i : a
60
59
  );
61
60
  Math.abs(o.point - e) < M ? m(w(o.point, t, n)) : m(e);
62
61
  },
63
- [i, M, t, n, m]
62
+ [s, M, t, n, m]
64
63
  ), P = u(
65
64
  (e) => {
66
65
  e.length > 0 && C(e[0]);
@@ -80,11 +79,11 @@ function pe({
80
79
  document.removeEventListener("pointermove", o), delete e.dataset.dragging;
81
80
  };
82
81
  document.addEventListener("pointermove", o, { once: !0 }), document.addEventListener("pointerup", a, { once: !0 });
83
- }, []), G = l(() => i.map(({ point: e }, o, a) => {
84
- const s = a[o + 1], k = a[o - 1], O = s ? Math.abs(e - s.point) <= h : !1, U = k ? Math.abs(e - k.point) <= h : !1, W = o === 0 || o === a.length - 1 || f[e] !== void 0 && !U && !O, _ = S?.[e], q = W ? F(H(String(e), b.decimals), b.decimals) : "", j = _ ?? q;
82
+ }, []), G = l(() => s.map(({ point: e }, o, a) => {
83
+ const i = a[o + 1], k = a[o - 1], O = i ? Math.abs(e - i.point) <= h : !1, U = k ? Math.abs(e - k.point) <= h : !1, W = o === 0 || o === a.length - 1 || f[e] !== void 0 && !U && !O, _ = S?.[e], q = W ? F(H(String(e), b.decimals), b.decimals) : "", j = _ ?? q;
85
84
  return { point: e, labelText: j, align: _ ? "top" : "bottom", hasLabel: !!j };
86
85
  }), [
87
- i,
86
+ s,
88
87
  f,
89
88
  S,
90
89
  b,
@@ -114,7 +113,7 @@ function pe({
114
113
  onValueCommit: P,
115
114
  children: [
116
115
  /* @__PURE__ */ r(v.Track, { className: "relative h-1 w-full grow overflow-hidden rounded-full bg-gray-40 mx-[9px] cursor-pointer" }),
117
- i.length > 0 && /* @__PURE__ */ r("div", { className: "absolute inset-0 pointer-events-none flex items-center", children: /* @__PURE__ */ r("div", { className: "relative w-full", children: i.map(({ point: e }) => /* @__PURE__ */ r(
116
+ s.length > 0 && /* @__PURE__ */ r("div", { className: "absolute inset-0 pointer-events-none flex items-center", children: /* @__PURE__ */ r("div", { className: "relative w-full", children: s.map(({ point: e }) => /* @__PURE__ */ r(
118
117
  Q,
119
118
  {
120
119
  value: e,
@@ -141,7 +140,7 @@ function pe({
141
140
  }
142
141
  ),
143
142
  /* @__PURE__ */ r("div", { className: "absolute inset-0 pointer-events-none", children: /* @__PURE__ */ r("div", { className: "relative w-full h-full", children: G.map(
144
- ({ point: e, labelText: o, align: a, hasLabel: s }) => s && /* @__PURE__ */ r(
143
+ ({ point: e, labelText: o, align: a, hasLabel: i }) => i && /* @__PURE__ */ r(
145
144
  X,
146
145
  {
147
146
  point: e,
@@ -159,5 +158,5 @@ function pe({
159
158
  ) }) }) });
160
159
  }
161
160
  export {
162
- pe as SliderToken
161
+ ue as SliderToken
163
162
  };
@@ -1,12 +1,11 @@
1
- import { jsxs as m, jsx as t } from "react/jsx-runtime";
1
+ import { jsxs as s, jsx as t } from "react/jsx-runtime";
2
2
  import { cva as x } from "class-variance-authority";
3
3
  import { TextButton as u } from "../text-button/text-button.js";
4
4
  import { TokenTemplate as f } from "../token-template/token-template.js";
5
5
  import "react";
6
6
  import "@gearbox-protocol/sdk";
7
- import { cn as r } from "../../utils/cn.js";
7
+ import { cn as a } from "../../utils/cn.js";
8
8
  import "sonner";
9
- import "@gearbox-protocol/sdk/common-utils";
10
9
  import "luxon";
11
10
  import "../../utils/z-index.js";
12
11
  const b = x("font-normal leading-[130%] text-foreground", {
@@ -18,35 +17,35 @@ const b = x("font-normal leading-[130%] text-foreground", {
18
17
  },
19
18
  defaultVariants: { size: "md" }
20
19
  });
21
- function V({
22
- title: s = "Balance",
20
+ function S({
21
+ title: m = "Balance",
23
22
  className: i,
24
23
  maxAmount: l,
25
24
  token: c,
26
25
  disabled: d,
27
26
  maxButton: p = !0,
28
- onMaxButtonClick: a,
27
+ onMaxButtonClick: r,
29
28
  size: e = "sm"
30
29
  }) {
31
30
  const o = !d && p, n = /* @__PURE__ */ t(f, { value: l, token: c, showSymbol: !1 });
32
- return /* @__PURE__ */ m(
31
+ return /* @__PURE__ */ s(
33
32
  "div",
34
33
  {
35
- className: r("flex shrink-0 basis-auto items-center", i),
34
+ className: a("flex shrink-0 basis-auto items-center", i),
36
35
  "data-testid": "balance-indicator",
37
36
  children: [
38
- /* @__PURE__ */ m("span", { className: r(b({ size: e })), children: [
39
- s,
37
+ /* @__PURE__ */ s("span", { className: a(b({ size: e })), children: [
38
+ m,
40
39
  ": ",
41
- o && e === "sm" ? /* @__PURE__ */ t(u, { onClick: a, children: n }) : n
40
+ o && e === "sm" ? /* @__PURE__ */ t(u, { onClick: r, children: n }) : n
42
41
  ] }),
43
42
  o && e !== "sm" && /* @__PURE__ */ t("div", { className: "ml-2", children: /* @__PURE__ */ t(
44
43
  "button",
45
44
  {
46
45
  type: "button",
47
- onClick: a,
46
+ onClick: r,
48
47
  "data-testid": "balance-max",
49
- className: r(
48
+ className: a(
50
49
  "rounded-[6px] border-0 py-[3px] px-1 text-[11px]! leading-[13px]!",
51
50
  "text-center uppercase text-foreground",
52
51
  "bg-gray-70 hover:bg-gray-90 transition-colors"
@@ -59,5 +58,5 @@ function V({
59
58
  );
60
59
  }
61
60
  export {
62
- V as BalanceIndicator
61
+ S as BalanceIndicator
63
62
  };
@@ -10,7 +10,6 @@ import "@gearbox-protocol/sdk";
10
10
  import { parseInputToBN as Q } from "../../utils/parse-input-to-bn.js";
11
11
  import { cn as d } from "../../utils/cn.js";
12
12
  import "sonner";
13
- import "@gearbox-protocol/sdk/common-utils";
14
13
  import "luxon";
15
14
  import "../../utils/z-index.js";
16
15
  import { BalanceIndicator as U } from "./balance-indicator.js";
@@ -4,7 +4,6 @@ import * as i from "react";
4
4
  import "@gearbox-protocol/sdk";
5
5
  import { cn as a } from "../../utils/cn.js";
6
6
  import "sonner";
7
- import "@gearbox-protocol/sdk/common-utils";
8
7
  import "luxon";
9
8
  import { Z_INDEX as d } from "../../utils/z-index.js";
10
9
  const m = i.forwardRef(
@@ -1,26 +1,25 @@
1
1
  import { jsx as m } from "react/jsx-runtime";
2
- import * as p from "react";
2
+ import * as d from "react";
3
3
  import "@gearbox-protocol/sdk";
4
- import { cn as d } from "../../utils/cn.js";
4
+ import { cn as p } from "../../utils/cn.js";
5
5
  import "sonner";
6
- import "@gearbox-protocol/sdk/common-utils";
7
6
  import "luxon";
8
7
  import "../../utils/z-index.js";
9
- const s = p.forwardRef(
10
- ({ size: r = 40, speed: o = "1s", width: i = 4, className: t, style: e, ...a }, n) => /* @__PURE__ */ m(
8
+ const s = d.forwardRef(
9
+ ({ size: r = 40, speed: o = "1s", width: i = 4, className: e, style: t, ...a }, n) => /* @__PURE__ */ m(
11
10
  "span",
12
11
  {
13
12
  ref: n,
14
- className: d(
13
+ className: p(
15
14
  "inline-block rounded-full border-solid border-gray-20 border-b-gray-110 animate-spin",
16
- t
15
+ e
17
16
  ),
18
17
  style: {
19
18
  width: r,
20
19
  height: r,
21
20
  borderWidth: i,
22
21
  animationDuration: o,
23
- ...e
22
+ ...t
24
23
  },
25
24
  ...a
26
25
  }