@gearbox-protocol/ui-kit 4.0.0-next.24 → 4.0.0-next.26
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.
- package/dist/cjs/_virtual/index.cjs +1 -1
- package/dist/cjs/components/accordion/accordion.cjs +1 -1
- package/dist/cjs/components/alert-badge/alert-badge.cjs +1 -1
- package/dist/cjs/components/alert-dialog/alert-dialog.cjs +1 -1
- package/dist/cjs/components/alert-modal/alert-modal.cjs +1 -1
- package/dist/cjs/components/app-bar/app-bar.cjs +1 -1
- package/dist/cjs/components/assets-list-cell/assets-list-cell.cjs +1 -1
- package/dist/cjs/components/badge/badge.cjs +1 -1
- package/dist/cjs/components/badge/chip.cjs +1 -1
- package/dist/cjs/components/base/amount-input/token-select-panel.cjs +1 -1
- package/dist/cjs/components/base/borrow-rate-block/borrow-rate-block.cjs +1 -1
- package/dist/cjs/components/base/detailed-page-title/detailed-page-title.cjs +1 -1
- package/dist/cjs/components/base/details-view/detail-aside/detail-aside-screen-layout.cjs +1 -1
- package/dist/cjs/components/base/info-list/info-list.cjs +1 -1
- package/dist/cjs/components/base/liquidation-params-table/liquidation-params-table.cjs +1 -1
- package/dist/cjs/components/base/manage-pane/manage-pane.cjs +1 -1
- package/dist/cjs/components/base/pool-apy-breakdown-card/pool-apy-breakdown-card.cjs +1 -1
- package/dist/cjs/components/base/position-assets/position-assets.cjs +1 -1
- package/dist/cjs/components/base/review-button/review-button.cjs +1 -1
- package/dist/cjs/components/base/section-heading/section-heading.cjs +1 -1
- package/dist/cjs/components/base/segmented-tabs/segmented-tabs.cjs +1 -1
- package/dist/cjs/components/base/side-card/side-card.cjs +1 -1
- package/dist/cjs/components/base/stack/stack.cjs +1 -1
- package/dist/cjs/components/base/stat-badge/stat-badge.cjs +1 -1
- package/dist/cjs/components/base/sticky-bar/sticky-bar.cjs +1 -1
- package/dist/cjs/components/base/strategy-apy-breakdown-card/strategy-apy-breakdown-card.cjs +1 -1
- package/dist/cjs/components/base/title-meta/title-meta.cjs +1 -1
- package/dist/cjs/components/base/token-amount/token-amount.cjs +1 -1
- package/dist/cjs/components/base/token-pair-symbol/token-pair-symbol.cjs +1 -1
- package/dist/cjs/components/base/values/pnl-value.cjs +1 -1
- package/dist/cjs/components/base/values/position-status-badge.cjs +1 -1
- package/dist/cjs/components/base/values/position-type-badge.cjs +1 -1
- package/dist/cjs/components/base/values/scalars.cjs +1 -1
- package/dist/cjs/components/base-link/base-link.cjs +1 -1
- package/dist/cjs/components/base-table/base-table-line.cjs +1 -1
- package/dist/cjs/components/base-table/base-table.cjs +1 -1
- package/dist/cjs/components/breadcrumbs/breadcrumbs.cjs +1 -1
- package/dist/cjs/components/buttons/back-button/back-button.cjs +1 -1
- package/dist/cjs/components/buttons/button/button.cjs +1 -1
- package/dist/cjs/components/buttons/copy-button/copy-button.cjs +1 -1
- package/dist/cjs/components/buttons/external-button/external-button.cjs +1 -1
- package/dist/cjs/components/buttons/navigation-button/navigation-button.cjs +1 -1
- package/dist/cjs/components/buttons/range-buttons/range-buttons.cjs +1 -1
- package/dist/cjs/components/cards/card/card.cjs +1 -1
- package/dist/cjs/components/cards/expandable-call/expandable-call.cjs +1 -1
- package/dist/cjs/components/cards/expandable-card/expandable-card.cjs +1 -1
- package/dist/cjs/components/checkbox/checkbox-labeled.cjs +1 -1
- package/dist/cjs/components/checkbox/checkbox.cjs +1 -1
- package/dist/cjs/components/checkbox-item/checkbox-item.cjs +1 -1
- package/dist/cjs/components/client-adapters/styled-button/styled-button.cjs +1 -1
- package/dist/cjs/components/client-adapters/styled-dialog-container/styled-dialog-container.cjs +1 -1
- package/dist/cjs/components/client-adapters/styled-rounded-image/styled-rounded-image.cjs +1 -1
- package/dist/cjs/components/collateral-allocation-tooltip/allocation-wheel.cjs +1 -1
- package/dist/cjs/components/collateral-allocation-tooltip/collateral-allocation-tooltip.cjs +1 -1
- package/dist/cjs/components/composites/notification-center/notification-center.cjs +1 -1
- package/dist/cjs/components/composites/pool-assets-table/pool-assets-table-head.cjs +1 -1
- package/dist/cjs/components/composites/pool-assets-table/pool-assets-table-row.cjs +1 -1
- package/dist/cjs/components/composites/pool-assets-table/pool-assets-table.cjs +1 -1
- package/dist/cjs/components/composites/tx-preview/confirm/amounts/TransactionConfirmAmountField.cjs +1 -1
- package/dist/cjs/components/composites/tx-preview/confirm/dialog/TransactionConfirmShell.cjs +1 -1
- package/dist/cjs/components/composites/tx-preview/confirm/stepper/ProgressStepper.cjs +1 -1
- package/dist/cjs/components/compound-apy/compound-apy.cjs +1 -1
- package/dist/cjs/components/confirm-menu/confirm-menu.cjs +1 -1
- package/dist/cjs/components/detailed-apy/detailed-apy.cjs +1 -1
- package/dist/cjs/components/detailed-page-title/detailed-page-title-copy-button.cjs +1 -1
- package/dist/cjs/components/detailed-page-title/detailed-page-title-explorer-dropdown.cjs +1 -1
- package/dist/cjs/components/dialog/dialog-container.cjs +1 -1
- package/dist/cjs/components/dialog/dialog-content.cjs +1 -1
- package/dist/cjs/components/dialog/dialog-description.cjs +1 -1
- package/dist/cjs/components/dialog/dialog-footer.cjs +1 -1
- package/dist/cjs/components/dialog/dialog-form.cjs +1 -1
- package/dist/cjs/components/dialog/dialog-header.cjs +1 -1
- package/dist/cjs/components/dialog/dialog-modal-container.cjs +1 -1
- package/dist/cjs/components/dialog/dialog-overlay.cjs +1 -1
- package/dist/cjs/components/dialog/dialog-title.cjs +1 -1
- package/dist/cjs/components/dropdown-menu/dropdown-menu-checkbox-item.cjs +1 -1
- package/dist/cjs/components/dropdown-menu/dropdown-menu-content.cjs +1 -1
- package/dist/cjs/components/dropdown-menu/dropdown-menu-item.cjs +1 -1
- package/dist/cjs/components/dropdown-menu/dropdown-menu-label.cjs +1 -1
- package/dist/cjs/components/dropdown-menu/dropdown-menu-radio-item.cjs +1 -1
- package/dist/cjs/components/dropdown-menu/dropdown-menu-separator.cjs +1 -1
- package/dist/cjs/components/dropdown-menu/dropdown-menu-shortcut.cjs +1 -1
- package/dist/cjs/components/dropdown-menu/dropdown-menu-sub-content.cjs +1 -1
- package/dist/cjs/components/dropdown-menu/dropdown-menu-sub-trigger.cjs +1 -1
- package/dist/cjs/components/edit-input/edit-input.cjs +1 -1
- package/dist/cjs/components/error-message/error-line-message.cjs +1 -1
- package/dist/cjs/components/error-message/error-message.cjs +1 -1
- package/dist/cjs/components/fadeout-loading/fadeout-loading.cjs +1 -1
- package/dist/cjs/components/filter/filter-block.cjs +1 -1
- package/dist/cjs/components/filter/filter-checkbox-item.cjs +1 -1
- package/dist/cjs/components/filter/filter-chip.cjs +1 -1
- package/dist/cjs/components/filter/filter-chips.cjs +1 -1
- package/dist/cjs/components/filter/filter-dropdown-item.cjs +1 -1
- package/dist/cjs/components/filter/filter-group.cjs +1 -1
- package/dist/cjs/components/filter/filter-label.cjs +1 -1
- package/dist/cjs/components/filter/filter-modal-item.cjs +1 -1
- package/dist/cjs/components/filter/filter-modal.cjs +1 -1
- package/dist/cjs/components/filter/filter-radio-item.cjs +1 -1
- package/dist/cjs/components/filter/filter-separator.cjs +1 -1
- package/dist/cjs/components/formatted-number/formatted-number.cjs +1 -1
- package/dist/cjs/components/head-cell/head-cell.cjs +1 -1
- package/dist/cjs/components/health-factor/health-factor.cjs +1 -1
- package/dist/cjs/components/help-tip/help-tip.cjs +1 -1
- package/dist/cjs/components/icon-button/icon-button.cjs +1 -1
- package/dist/cjs/components/icons/fa-icon.cjs +1 -1
- package/dist/cjs/components/input/input.cjs +1 -1
- package/dist/cjs/components/label/label.cjs +1 -1
- package/dist/cjs/components/link/link.cjs +1 -1
- package/dist/cjs/components/loader/loader.cjs +1 -1
- package/dist/cjs/components/loading-bar/loading-bar.cjs +1 -1
- package/dist/cjs/components/modal/modal.cjs +1 -1
- package/dist/cjs/components/navbar-logo/navbar-logo.cjs +1 -1
- package/dist/cjs/components/network-icon/network-indicator.cjs +1 -1
- package/dist/cjs/components/pool-points-indicator/pool-points-indicator.cjs +1 -1
- package/dist/cjs/components/rounded-image/rounded-image.cjs +1 -1
- package/dist/cjs/components/search-line/search-line.cjs +1 -1
- package/dist/cjs/components/segmented-control/segmented-control.cjs +1 -1
- package/dist/cjs/components/select/select.cjs +1 -1
- package/dist/cjs/components/separate-line/separate-line.cjs +1 -1
- package/dist/cjs/components/short-string/short-string.cjs +1 -1
- package/dist/cjs/components/simple-accordion/simple-accordion.cjs +1 -1
- package/dist/cjs/components/simple-dropdown/simple-dropdown-menu-item.cjs +1 -1
- package/dist/cjs/components/simple-dropdown/simple-dropdown.cjs +1 -1
- package/dist/cjs/components/skeleton/skeleton-stack.cjs +1 -1
- package/dist/cjs/components/skeleton/skeleton.cjs +1 -1
- package/dist/cjs/components/slider/slider.cjs +1 -1
- package/dist/cjs/components/spinner/spinner.cjs +1 -1
- package/dist/cjs/components/spinner-loader/spinner-loader.cjs +1 -1
- package/dist/cjs/components/split-list/split-list.cjs +1 -1
- package/dist/cjs/components/status-dot/status-dot.cjs +1 -1
- package/dist/cjs/components/status-elements/status-elements.cjs +1 -1
- package/dist/cjs/components/tab-control/tab-control.cjs +1 -1
- package/dist/cjs/components/table/grid-loading-line.cjs +1 -1
- package/dist/cjs/components/table/table-sm.cjs +1 -1
- package/dist/cjs/components/table/table.cjs +1 -1
- package/dist/cjs/components/tabs/tabs.cjs +1 -1
- package/dist/cjs/components/text-button/text-button.cjs +1 -1
- package/dist/cjs/components/textarea/textarea.cjs +1 -1
- package/dist/cjs/components/tip-card/tip-card.cjs +1 -1
- package/dist/cjs/components/token-icon/token-icon.cjs +1 -1
- package/dist/cjs/components/token-symbol/token-symbol.cjs +1 -1
- package/dist/cjs/components/token-template/token-template.cjs +1 -1
- package/dist/cjs/components/tooltip/simple-tooltip.cjs +1 -1
- package/dist/cjs/components/tooltip/tooltip.cjs +1 -1
- package/dist/cjs/components/trading-view/trading-view.cjs +1 -1
- package/dist/cjs/components/typography/typography.cjs +1 -1
- package/dist/cjs/components/vertical-indicator/vertical-indicator.cjs +1 -1
- package/dist/cjs/components/vspace/vspace.cjs +1 -1
- package/dist/cjs/components/with-copy/with-copy.cjs +1 -1
- package/dist/cjs/components/with-title/with-title.cjs +1 -1
- package/dist/cjs/components/yield-breakdown-tooltip/yield-breakdown-tooltip.cjs +1 -1
- 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
- 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
- package/dist/cjs/node_modules/.pnpm/tailwindcss@4.3.3/node_modules/tailwindcss/dist/flatten-color-palette.cjs +1 -0
- package/dist/cjs/utils/bn-to-pretty-view.cjs +1 -1
- package/dist/cjs/utils/format-asset-amount.cjs +1 -1
- package/dist/cjs/utils/format-money.cjs +1 -1
- package/dist/cjs/utils/format-slippage.cjs +1 -1
- package/dist/cjs/utils/parse-input-to-bn.cjs +1 -1
- package/dist/cjs/utils/templates.cjs +1 -1
- package/dist/esm/_virtual/index.js +1 -1
- package/dist/esm/components/accordion/accordion.js +1 -1
- package/dist/esm/components/alert-badge/alert-badge.js +1 -1
- package/dist/esm/components/alert-dialog/alert-dialog.js +1 -1
- package/dist/esm/components/alert-modal/alert-modal.js +1 -1
- package/dist/esm/components/app-bar/app-bar.js +1 -1
- package/dist/esm/components/assets-list-cell/assets-list-cell.js +1 -1
- package/dist/esm/components/badge/badge.js +1 -1
- package/dist/esm/components/badge/chip.js +1 -1
- package/dist/esm/components/base/amount-input/token-select-panel.js +1 -1
- package/dist/esm/components/base/borrow-rate-block/borrow-rate-block.js +1 -1
- package/dist/esm/components/base/detailed-page-title/detailed-page-title.js +1 -1
- package/dist/esm/components/base/details-view/detail-aside/detail-aside-screen-layout.js +1 -1
- package/dist/esm/components/base/info-list/info-list.js +1 -1
- package/dist/esm/components/base/liquidation-params-table/liquidation-params-table.js +1 -1
- package/dist/esm/components/base/manage-pane/manage-pane.js +1 -1
- package/dist/esm/components/base/pool-apy-breakdown-card/pool-apy-breakdown-card.js +1 -1
- package/dist/esm/components/base/position-assets/position-assets.js +1 -1
- package/dist/esm/components/base/review-button/review-button.js +1 -1
- package/dist/esm/components/base/section-heading/section-heading.js +1 -1
- package/dist/esm/components/base/segmented-tabs/segmented-tabs.js +1 -1
- package/dist/esm/components/base/side-card/side-card.js +1 -1
- package/dist/esm/components/base/stack/stack.js +1 -1
- package/dist/esm/components/base/stat-badge/stat-badge.js +1 -1
- package/dist/esm/components/base/sticky-bar/sticky-bar.js +1 -1
- package/dist/esm/components/base/strategy-apy-breakdown-card/strategy-apy-breakdown-card.js +1 -1
- package/dist/esm/components/base/title-meta/title-meta.js +37 -37
- package/dist/esm/components/base/token-amount/token-amount.js +11 -11
- package/dist/esm/components/base/token-pair-symbol/token-pair-symbol.js +1 -1
- package/dist/esm/components/base/values/pnl-value.js +1 -1
- package/dist/esm/components/base/values/position-status-badge.js +1 -1
- package/dist/esm/components/base/values/position-type-badge.js +1 -1
- package/dist/esm/components/base/values/scalars.js +1 -1
- package/dist/esm/components/base-link/base-link.js +1 -1
- package/dist/esm/components/base-table/base-table-line.js +1 -1
- package/dist/esm/components/base-table/base-table.js +1 -1
- package/dist/esm/components/breadcrumbs/breadcrumbs.js +1 -1
- package/dist/esm/components/buttons/back-button/back-button.js +1 -1
- package/dist/esm/components/buttons/button/button.js +1 -1
- package/dist/esm/components/buttons/copy-button/copy-button.js +1 -1
- package/dist/esm/components/buttons/external-button/external-button.js +1 -1
- package/dist/esm/components/buttons/navigation-button/navigation-button.js +1 -1
- package/dist/esm/components/buttons/range-buttons/range-buttons.js +1 -1
- package/dist/esm/components/cards/card/card.js +1 -1
- package/dist/esm/components/cards/expandable-call/expandable-call.js +1 -1
- package/dist/esm/components/cards/expandable-card/expandable-card.js +1 -1
- package/dist/esm/components/checkbox/checkbox-labeled.js +1 -1
- package/dist/esm/components/checkbox/checkbox.js +1 -1
- package/dist/esm/components/checkbox-item/checkbox-item.js +1 -1
- package/dist/esm/components/client-adapters/styled-button/styled-button.js +1 -1
- package/dist/esm/components/client-adapters/styled-dialog-container/styled-dialog-container.js +1 -1
- package/dist/esm/components/client-adapters/styled-rounded-image/styled-rounded-image.js +1 -1
- package/dist/esm/components/collateral-allocation-tooltip/allocation-wheel.js +1 -1
- package/dist/esm/components/collateral-allocation-tooltip/collateral-allocation-tooltip.js +1 -1
- package/dist/esm/components/composites/notification-center/notification-center.js +1 -1
- package/dist/esm/components/composites/pool-assets-table/pool-assets-table-head.js +1 -1
- package/dist/esm/components/composites/pool-assets-table/pool-assets-table-row.js +52 -50
- package/dist/esm/components/composites/pool-assets-table/pool-assets-table.js +24 -22
- package/dist/esm/components/composites/tx-preview/confirm/amounts/TransactionConfirmAmountField.js +1 -1
- package/dist/esm/components/composites/tx-preview/confirm/dialog/TransactionConfirmShell.js +1 -1
- package/dist/esm/components/composites/tx-preview/confirm/stepper/ProgressStepper.js +1 -1
- package/dist/esm/components/compound-apy/compound-apy.js +1 -1
- package/dist/esm/components/confirm-menu/confirm-menu.js +1 -1
- package/dist/esm/components/detailed-apy/detailed-apy.js +1 -1
- package/dist/esm/components/detailed-page-title/detailed-page-title-copy-button.js +1 -1
- package/dist/esm/components/detailed-page-title/detailed-page-title-explorer-dropdown.js +1 -1
- package/dist/esm/components/dialog/dialog-container.js +1 -1
- package/dist/esm/components/dialog/dialog-content.js +1 -1
- package/dist/esm/components/dialog/dialog-description.js +1 -1
- package/dist/esm/components/dialog/dialog-footer.js +1 -1
- package/dist/esm/components/dialog/dialog-form.js +1 -1
- package/dist/esm/components/dialog/dialog-header.js +1 -1
- package/dist/esm/components/dialog/dialog-modal-container.js +1 -1
- package/dist/esm/components/dialog/dialog-overlay.js +1 -1
- package/dist/esm/components/dialog/dialog-title.js +1 -1
- package/dist/esm/components/dropdown-menu/dropdown-menu-checkbox-item.js +1 -1
- package/dist/esm/components/dropdown-menu/dropdown-menu-content.js +1 -1
- package/dist/esm/components/dropdown-menu/dropdown-menu-item.js +1 -1
- package/dist/esm/components/dropdown-menu/dropdown-menu-label.js +1 -1
- package/dist/esm/components/dropdown-menu/dropdown-menu-radio-item.js +1 -1
- package/dist/esm/components/dropdown-menu/dropdown-menu-separator.js +1 -1
- package/dist/esm/components/dropdown-menu/dropdown-menu-shortcut.js +1 -1
- package/dist/esm/components/dropdown-menu/dropdown-menu-sub-content.js +1 -1
- package/dist/esm/components/dropdown-menu/dropdown-menu-sub-trigger.js +1 -1
- package/dist/esm/components/edit-input/edit-input.js +1 -1
- package/dist/esm/components/error-message/error-line-message.js +1 -1
- package/dist/esm/components/error-message/error-message.js +1 -1
- package/dist/esm/components/fadeout-loading/fadeout-loading.js +1 -1
- package/dist/esm/components/filter/filter-block.js +1 -1
- package/dist/esm/components/filter/filter-checkbox-item.js +1 -1
- package/dist/esm/components/filter/filter-chip.js +1 -1
- package/dist/esm/components/filter/filter-chips.js +1 -1
- package/dist/esm/components/filter/filter-dropdown-item.js +1 -1
- package/dist/esm/components/filter/filter-group.js +1 -1
- package/dist/esm/components/filter/filter-label.js +1 -1
- package/dist/esm/components/filter/filter-modal-item.js +1 -1
- package/dist/esm/components/filter/filter-modal.js +1 -1
- package/dist/esm/components/filter/filter-radio-item.js +1 -1
- package/dist/esm/components/filter/filter-separator.js +1 -1
- package/dist/esm/components/formatted-number/formatted-number.js +1 -1
- package/dist/esm/components/head-cell/head-cell.js +1 -1
- package/dist/esm/components/health-factor/health-factor.js +1 -1
- package/dist/esm/components/help-tip/help-tip.js +1 -1
- package/dist/esm/components/icon-button/icon-button.js +1 -1
- package/dist/esm/components/icons/fa-icon.js +1 -1
- package/dist/esm/components/input/input.js +1 -1
- package/dist/esm/components/label/label.js +1 -1
- package/dist/esm/components/link/link.js +1 -1
- package/dist/esm/components/loader/loader.js +1 -1
- package/dist/esm/components/loading-bar/loading-bar.js +1 -1
- package/dist/esm/components/modal/modal.js +1 -1
- package/dist/esm/components/navbar-logo/navbar-logo.js +1 -1
- package/dist/esm/components/network-icon/network-indicator.js +1 -1
- package/dist/esm/components/pool-points-indicator/pool-points-indicator.js +1 -1
- package/dist/esm/components/rounded-image/rounded-image.js +1 -1
- package/dist/esm/components/search-line/search-line.js +1 -1
- package/dist/esm/components/segmented-control/segmented-control.js +1 -1
- package/dist/esm/components/select/select.js +1 -1
- package/dist/esm/components/separate-line/separate-line.js +1 -1
- package/dist/esm/components/short-string/short-string.js +1 -1
- package/dist/esm/components/simple-accordion/simple-accordion.js +1 -1
- package/dist/esm/components/simple-dropdown/simple-dropdown-menu-item.js +1 -1
- package/dist/esm/components/simple-dropdown/simple-dropdown.js +1 -1
- package/dist/esm/components/skeleton/skeleton-stack.js +1 -1
- package/dist/esm/components/skeleton/skeleton.js +1 -1
- package/dist/esm/components/slider/slider.js +1 -1
- package/dist/esm/components/spinner/spinner.js +1 -1
- package/dist/esm/components/spinner-loader/spinner-loader.js +1 -1
- package/dist/esm/components/split-list/split-list.js +1 -1
- package/dist/esm/components/status-dot/status-dot.js +1 -1
- package/dist/esm/components/status-elements/status-elements.js +1 -1
- package/dist/esm/components/tab-control/tab-control.js +1 -1
- package/dist/esm/components/table/grid-loading-line.js +1 -1
- package/dist/esm/components/table/table-sm.js +1 -1
- package/dist/esm/components/table/table.js +1 -1
- package/dist/esm/components/tabs/tabs.js +1 -1
- package/dist/esm/components/text-button/text-button.js +1 -1
- package/dist/esm/components/textarea/textarea.js +1 -1
- package/dist/esm/components/tip-card/tip-card.js +1 -1
- package/dist/esm/components/token-icon/token-icon.js +1 -1
- package/dist/esm/components/token-symbol/token-symbol.js +1 -1
- package/dist/esm/components/token-template/token-template.js +1 -1
- package/dist/esm/components/tooltip/simple-tooltip.js +1 -1
- package/dist/esm/components/tooltip/tooltip.js +1 -1
- package/dist/esm/components/trading-view/trading-view.js +1 -1
- package/dist/esm/components/typography/typography.js +1 -1
- package/dist/esm/components/vertical-indicator/vertical-indicator.js +1 -1
- package/dist/esm/components/vspace/vspace.js +1 -1
- package/dist/esm/components/with-copy/with-copy.js +1 -1
- package/dist/esm/components/with-title/with-title.js +1 -1
- package/dist/esm/components/yield-breakdown-tooltip/yield-breakdown-tooltip.js +1 -1
- 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
- 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
- package/dist/esm/node_modules/.pnpm/tailwindcss@4.3.3/node_modules/tailwindcss/dist/flatten-color-palette.js +16 -0
- package/dist/esm/utils/bn-to-pretty-view.js +1 -1
- package/dist/esm/utils/format-asset-amount.js +1 -1
- package/dist/esm/utils/format-money.js +4 -4
- package/dist/esm/utils/format-slippage.js +1 -1
- package/dist/esm/utils/parse-input-to-bn.js +1 -1
- package/dist/esm/utils/templates.js +4 -4
- package/dist/globals.css +2 -2
- package/dist/types/components/alert-dialog/alert-dialog.d.ts +2 -2
- package/dist/types/components/assets-list-cell/assets-list-cell.d.ts +1 -1
- package/dist/types/components/badge/badge.d.ts +1 -1
- package/dist/types/components/base/amount-input/amount-input.d.ts +1 -1
- package/dist/types/components/base/amount-input/token-select-panel.d.ts +1 -1
- package/dist/types/components/base/info-portal/info-portal.d.ts +1 -1
- package/dist/types/components/base/token-amount/token-amount.d.ts +6 -1
- package/dist/types/components/buttons/back-button/back-button.d.ts +1 -1
- package/dist/types/components/buttons/range-buttons/range-buttons.d.ts +1 -1
- package/dist/types/components/cards/danger-zone/danger-zone.d.ts +1 -1
- package/dist/types/components/cards/expandable-call/expandable-call.d.ts +1 -1
- package/dist/types/components/cards/expandable-card/expandable-card.d.ts +1 -1
- package/dist/types/components/composites/pool-assets-table/pool-assets-table-row.d.ts +3 -1
- package/dist/types/components/composites/pool-assets-table/pool-assets-table.d.ts +6 -1
- package/dist/types/components/compound-apy/compound-apy.d.ts +1 -1
- package/dist/types/components/dialog/dialog-footer.d.ts +1 -1
- package/dist/types/components/dialog/dialog-header.d.ts +1 -1
- package/dist/types/components/dropdown-menu/dropdown-menu-shortcut.d.ts +1 -1
- package/dist/types/components/dropdown-menu/dropdown-menu.d.ts +1 -1
- package/dist/types/components/edit-input/edit-input.d.ts +1 -1
- package/dist/types/components/filter/filter-modal.d.ts +1 -1
- package/dist/types/components/formatted-number/formatted-number.d.ts +1 -1
- package/dist/types/components/health-factor/health-factor.d.ts +1 -1
- package/dist/types/components/icons/fa-icon.d.ts +1 -1
- package/dist/types/components/legal-agreement/legal-agreement-dialog.d.ts +2 -2
- package/dist/types/components/loading/loading.d.ts +1 -1
- package/dist/types/components/navbar-logo/navbar-logo.d.ts +1 -1
- package/dist/types/components/navigation-context/navigation-context.d.ts +1 -1
- package/dist/types/components/network-icon/network-icon.d.ts +1 -1
- package/dist/types/components/pool-points-indicator/pool-points-indicator.d.ts +1 -1
- package/dist/types/components/select/select.d.ts +1 -1
- package/dist/types/components/short-string/short-string.d.ts +1 -1
- package/dist/types/components/simple-accordion/simple-accordion.d.ts +2 -2
- package/dist/types/components/simple-dropdown/simple-dropdown.d.ts +1 -1
- package/dist/types/components/skeleton/skeleton.d.ts +1 -1
- package/dist/types/components/slider/slider-context.d.ts +1 -1
- package/dist/types/components/slider/slider-mark.d.ts +1 -1
- package/dist/types/components/slider/slider-track.d.ts +1 -1
- package/dist/types/components/status-elements/status-elements.d.ts +2 -2
- package/dist/types/components/tab-control/tab-control.d.ts +2 -2
- package/dist/types/components/table/grid-loading-line.d.ts +1 -1
- package/dist/types/components/table/table-loader.d.ts +1 -1
- package/dist/types/components/table/table-sm.d.ts +2 -2
- package/dist/types/components/theme-provider.d.ts +1 -1
- package/dist/types/components/token-symbol/token-symbol.d.ts +1 -1
- package/dist/types/components/token-template/token-template.d.ts +1 -1
- package/dist/types/components/tooltip/simple-tooltip.d.ts +1 -1
- package/dist/types/components/typed-intl/index.d.ts +1 -1
- package/dist/types/components/with-title/with-title.d.ts +1 -1
- package/dist/types/components/yield-breakdown-tooltip/yield-breakdown-tooltip.d.ts +1 -1
- package/dist/types/hooks/use-hf.d.ts +1 -1
- package/dist/types/utils/network-icons.d.ts +1 -1
- package/package.json +17 -17
- 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
- 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
- package/dist/cjs/node_modules/.pnpm/tailwindcss@4.1.17/node_modules/tailwindcss/dist/flatten-color-palette.cjs +0 -3
- package/dist/esm/node_modules/.pnpm/tailwindcss@4.1.17/node_modules/tailwindcss/dist/flatten-color-palette.js +0 -363
- /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
- /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
- /package/dist/cjs/node_modules/.pnpm/{tailwindcss@4.1.17 → tailwindcss@4.3.3}/node_modules/tailwindcss/dist/plugin.cjs +0 -0
- /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
- /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
- /package/dist/esm/node_modules/.pnpm/{tailwindcss@4.1.17 → tailwindcss@4.3.3}/node_modules/tailwindcss/dist/plugin.js +0 -0
|
@@ -2,7 +2,7 @@ import { jsx as u } from "react/jsx-runtime";
|
|
|
2
2
|
import { Slot as c } from "@radix-ui/react-slot";
|
|
3
3
|
import { cva as x } from "class-variance-authority";
|
|
4
4
|
import * as y from "react";
|
|
5
|
-
import "@gearbox-protocol/sdk";
|
|
5
|
+
import "@gearbox-protocol/sdk/onchain";
|
|
6
6
|
import { cn as e } from "../../../utils/cn.js";
|
|
7
7
|
import "sonner";
|
|
8
8
|
import "@gearbox-protocol/sdk/common-utils";
|
|
@@ -4,7 +4,7 @@ import * as r from "react";
|
|
|
4
4
|
import { Button as C } from "../button/button.js";
|
|
5
5
|
import { faCheck as x } from "@fortawesome/free-solid-svg-icons";
|
|
6
6
|
import { FaIcon as w } from "../../icons/fa-icon.js";
|
|
7
|
-
import "@gearbox-protocol/sdk";
|
|
7
|
+
import "@gearbox-protocol/sdk/onchain";
|
|
8
8
|
import { cn as i } from "../../../utils/cn.js";
|
|
9
9
|
import "sonner";
|
|
10
10
|
import "@gearbox-protocol/sdk/common-utils";
|
|
@@ -2,7 +2,7 @@ import { jsx as t } from "react/jsx-runtime";
|
|
|
2
2
|
import { IconExternal as e } from "@gearbox-protocol/static";
|
|
3
3
|
import * as p from "react";
|
|
4
4
|
import { Button as s } from "../button/button.js";
|
|
5
|
-
import "@gearbox-protocol/sdk";
|
|
5
|
+
import "@gearbox-protocol/sdk/onchain";
|
|
6
6
|
import { cn as r } from "../../../utils/cn.js";
|
|
7
7
|
import "sonner";
|
|
8
8
|
import "@gearbox-protocol/sdk/common-utils";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as n } from "react/jsx-runtime";
|
|
2
2
|
import * as a from "react";
|
|
3
3
|
import { BaseLink as s } from "../../base-link/base-link.js";
|
|
4
|
-
import "@gearbox-protocol/sdk";
|
|
4
|
+
import "@gearbox-protocol/sdk/onchain";
|
|
5
5
|
import { cn as d } from "../../../utils/cn.js";
|
|
6
6
|
import "sonner";
|
|
7
7
|
import "@gearbox-protocol/sdk/common-utils";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import { cva as s } from "class-variance-authority";
|
|
3
3
|
import * as o from "react";
|
|
4
|
-
import "@gearbox-protocol/sdk";
|
|
4
|
+
import "@gearbox-protocol/sdk/onchain";
|
|
5
5
|
import { cn as d } from "../../../utils/cn.js";
|
|
6
6
|
import "sonner";
|
|
7
7
|
import "@gearbox-protocol/sdk/common-utils";
|
|
@@ -2,7 +2,7 @@ import { jsxs as t, jsx as o } from "react/jsx-runtime";
|
|
|
2
2
|
import * as n from "react";
|
|
3
3
|
import { faCaretDown as d } from "@fortawesome/free-solid-svg-icons";
|
|
4
4
|
import { FaIcon as p } from "../../icons/fa-icon.js";
|
|
5
|
-
import "@gearbox-protocol/sdk";
|
|
5
|
+
import "@gearbox-protocol/sdk/onchain";
|
|
6
6
|
import { cn as c } from "../../../utils/cn.js";
|
|
7
7
|
import "sonner";
|
|
8
8
|
import "@gearbox-protocol/sdk/common-utils";
|
|
@@ -2,7 +2,7 @@ import { jsxs as e, jsx as o } from "react/jsx-runtime";
|
|
|
2
2
|
import * as a from "react";
|
|
3
3
|
import { faCaretDown as d } from "@fortawesome/free-solid-svg-icons";
|
|
4
4
|
import { FaIcon as c } from "../../icons/fa-icon.js";
|
|
5
|
-
import "@gearbox-protocol/sdk";
|
|
5
|
+
import "@gearbox-protocol/sdk/onchain";
|
|
6
6
|
import { cn as n } from "../../../utils/cn.js";
|
|
7
7
|
import "sonner";
|
|
8
8
|
import "@gearbox-protocol/sdk/common-utils";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as f, jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import { cva as b } from "class-variance-authority";
|
|
3
3
|
import * as o from "react";
|
|
4
|
-
import "@gearbox-protocol/sdk";
|
|
4
|
+
import "@gearbox-protocol/sdk/onchain";
|
|
5
5
|
import { cn as h } from "../../utils/cn.js";
|
|
6
6
|
import "sonner";
|
|
7
7
|
import "@gearbox-protocol/sdk/common-utils";
|
|
@@ -4,7 +4,7 @@ import { cva as y } from "class-variance-authority";
|
|
|
4
4
|
import * as f from "react";
|
|
5
5
|
import { faCheck as a } from "@fortawesome/free-solid-svg-icons";
|
|
6
6
|
import { FaIcon as o } from "../icons/fa-icon.js";
|
|
7
|
-
import "@gearbox-protocol/sdk";
|
|
7
|
+
import "@gearbox-protocol/sdk/onchain";
|
|
8
8
|
import { cn as r } from "../../utils/cn.js";
|
|
9
9
|
import "sonner";
|
|
10
10
|
import "@gearbox-protocol/sdk/common-utils";
|
|
@@ -2,7 +2,7 @@ import { jsxs as c, jsx as e } from "react/jsx-runtime";
|
|
|
2
2
|
import * as l from "react";
|
|
3
3
|
import { faCheck as f } from "@fortawesome/free-solid-svg-icons";
|
|
4
4
|
import { FaIcon as x } from "../icons/fa-icon.js";
|
|
5
|
-
import "@gearbox-protocol/sdk";
|
|
5
|
+
import "@gearbox-protocol/sdk/onchain";
|
|
6
6
|
import { cn as t } from "../../utils/cn.js";
|
|
7
7
|
import "sonner";
|
|
8
8
|
import "@gearbox-protocol/sdk/common-utils";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import * as n from "react";
|
|
3
3
|
import { Button as p } from "../../buttons/button/button.js";
|
|
4
|
-
import "@gearbox-protocol/sdk";
|
|
4
|
+
import "@gearbox-protocol/sdk/onchain";
|
|
5
5
|
import { cn as s } from "../../../utils/cn.js";
|
|
6
6
|
import "sonner";
|
|
7
7
|
import "@gearbox-protocol/sdk/common-utils";
|
package/dist/esm/components/client-adapters/styled-dialog-container/styled-dialog-container.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as s } from "react/jsx-runtime";
|
|
2
2
|
import * as f from "react";
|
|
3
3
|
import { DialogContainer as d } from "../../dialog/dialog-container.js";
|
|
4
|
-
import "@gearbox-protocol/sdk";
|
|
4
|
+
import "@gearbox-protocol/sdk/onchain";
|
|
5
5
|
import { cn as c } from "../../../utils/cn.js";
|
|
6
6
|
import "sonner";
|
|
7
7
|
import "@gearbox-protocol/sdk/common-utils";
|
|
@@ -11,7 +11,7 @@ import "../../buttons/copy-button/copy-button.js";
|
|
|
11
11
|
import "../../buttons/external-button/external-button.js";
|
|
12
12
|
import "../../buttons/filter-button/filter-button.js";
|
|
13
13
|
import "../../buttons/navigation-button/navigation-button.js";
|
|
14
|
-
import "@gearbox-protocol/sdk";
|
|
14
|
+
import "@gearbox-protocol/sdk/onchain";
|
|
15
15
|
import "clsx";
|
|
16
16
|
import "tailwind-merge";
|
|
17
17
|
import "sonner";
|
|
@@ -5,7 +5,7 @@ import { TokenIcon as w } from "../token-icon/token-icon.js";
|
|
|
5
5
|
import { SimpleTooltip as y } from "../tooltip/simple-tooltip.js";
|
|
6
6
|
import "../tooltip/tooltip.js";
|
|
7
7
|
import "react";
|
|
8
|
-
import "@gearbox-protocol/sdk";
|
|
8
|
+
import "@gearbox-protocol/sdk/onchain";
|
|
9
9
|
import { cn as N } from "../../utils/cn.js";
|
|
10
10
|
import "sonner";
|
|
11
11
|
import "@gearbox-protocol/sdk/common-utils";
|
|
@@ -6,7 +6,7 @@ import "../../simple-dropdown/simple-dropdown-menu-item.js";
|
|
|
6
6
|
import { FormattedMessageTyped as r } from "../../typed-intl/index.js";
|
|
7
7
|
import { Typography as n } from "../../typography/typography.js";
|
|
8
8
|
import "react";
|
|
9
|
-
import "@gearbox-protocol/sdk";
|
|
9
|
+
import "@gearbox-protocol/sdk/onchain";
|
|
10
10
|
import { cn as c } from "../../../utils/cn.js";
|
|
11
11
|
import "sonner";
|
|
12
12
|
import "@gearbox-protocol/sdk/common-utils";
|
|
@@ -3,7 +3,7 @@ import { HeadCell as i } from "../../head-cell/head-cell.js";
|
|
|
3
3
|
import "react-intl";
|
|
4
4
|
import "../../buttons/button/button.js";
|
|
5
5
|
import "react";
|
|
6
|
-
import "@gearbox-protocol/sdk";
|
|
6
|
+
import "@gearbox-protocol/sdk/onchain";
|
|
7
7
|
import "clsx";
|
|
8
8
|
import "tailwind-merge";
|
|
9
9
|
import "sonner";
|
|
@@ -1,76 +1,77 @@
|
|
|
1
|
-
import { jsx as e, jsxs as
|
|
1
|
+
import { jsx as e, jsxs as a, Fragment as y } from "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
import "@gearbox-protocol/sdk";
|
|
3
|
+
import "@gearbox-protocol/sdk/onchain";
|
|
4
4
|
import "clsx";
|
|
5
5
|
import "tailwind-merge";
|
|
6
6
|
import "sonner";
|
|
7
|
-
import { formatMoney as
|
|
7
|
+
import { formatMoney as C } from "../../../utils/format-money.js";
|
|
8
8
|
import "@gearbox-protocol/sdk/common-utils";
|
|
9
9
|
import "luxon";
|
|
10
10
|
import "../../../utils/z-index.js";
|
|
11
11
|
import "../../points-icon/points-icon.js";
|
|
12
|
-
import { UtilizationValue as
|
|
12
|
+
import { UtilizationValue as N } from "../../base/values/scalars.js";
|
|
13
13
|
import "../../badge/badge.js";
|
|
14
14
|
import "../../badge/chip.js";
|
|
15
15
|
import { FormattedMessageTyped as m } from "../../typed-intl/index.js";
|
|
16
|
-
import { AllocationWheel as
|
|
16
|
+
import { AllocationWheel as S } from "../../collateral-allocation-tooltip/allocation-wheel.js";
|
|
17
17
|
import "@fortawesome/free-solid-svg-icons";
|
|
18
18
|
import "../../icons/fa-icon.js";
|
|
19
19
|
import "../../token-icon/token-icon.js";
|
|
20
20
|
import "../../tooltip/simple-tooltip.js";
|
|
21
21
|
import "../../tooltip/tooltip.js";
|
|
22
|
-
import { NameCell as
|
|
23
|
-
import { ShortString as
|
|
22
|
+
import { NameCell as k } from "../../name-cell/name-cell.js";
|
|
23
|
+
import { ShortString as w } from "../../short-string/short-string.js";
|
|
24
24
|
import "react-intl";
|
|
25
25
|
import "../../buttons/button/button.js";
|
|
26
|
-
import { GridTableRow as
|
|
26
|
+
import { GridTableRow as L, GridTableCell as o } from "../../table/grid-table.js";
|
|
27
27
|
import "../../skeleton/skeleton.js";
|
|
28
28
|
import "../../table/table.js";
|
|
29
|
-
import { TableLineSm as
|
|
30
|
-
import { TokenSymbol as
|
|
31
|
-
import { TokenTemplate as
|
|
32
|
-
import { VerticalIndicator as
|
|
33
|
-
import { PoolAssetsTableTest as
|
|
34
|
-
function
|
|
29
|
+
import { TableLineSm as U, TableCellSm as n } from "../../table/table-sm.js";
|
|
30
|
+
import { TokenSymbol as I } from "../../token-symbol/token-symbol.js";
|
|
31
|
+
import { TokenTemplate as b } from "../../token-template/token-template.js";
|
|
32
|
+
import { VerticalIndicator as P } from "../../vertical-indicator/vertical-indicator.js";
|
|
33
|
+
import { PoolAssetsTableTest as p } from "./constants.js";
|
|
34
|
+
function j(i, t) {
|
|
35
35
|
if (t !== 0n)
|
|
36
36
|
return Number(i * 10000n / t);
|
|
37
37
|
}
|
|
38
|
-
function
|
|
38
|
+
function B(i, t) {
|
|
39
39
|
return t <= 0n || i <= 0n ? 0 : Number(i * 10000n / t) / 1e4;
|
|
40
40
|
}
|
|
41
41
|
function ue({
|
|
42
42
|
asset: i,
|
|
43
43
|
underlyingToken: t,
|
|
44
|
-
last:
|
|
45
|
-
isCompact:
|
|
46
|
-
totalUsed:
|
|
47
|
-
colorIndex:
|
|
44
|
+
last: x,
|
|
45
|
+
isCompact: c,
|
|
46
|
+
totalUsed: T,
|
|
47
|
+
colorIndex: z,
|
|
48
|
+
explorerUrl: d
|
|
48
49
|
}) {
|
|
49
|
-
const { token:
|
|
50
|
-
|
|
50
|
+
const { token: r, limit: s, used: l } = i, A = c ? 40 : 21, h = B(l.value, T), u = () => /* @__PURE__ */ e(
|
|
51
|
+
k,
|
|
51
52
|
{
|
|
52
|
-
leading: /* @__PURE__ */ e(
|
|
53
|
-
title: /* @__PURE__ */ e(
|
|
53
|
+
leading: /* @__PURE__ */ e(I, { size: 32, token: r }),
|
|
54
|
+
title: /* @__PURE__ */ e(w, { maxLength: A, children: r.symbol })
|
|
54
55
|
}
|
|
55
|
-
),
|
|
56
|
+
), f = () => /* @__PURE__ */ a(
|
|
56
57
|
"div",
|
|
57
58
|
{
|
|
58
59
|
className: "flex items-center justify-end gap-2",
|
|
59
|
-
"data-testid":
|
|
60
|
+
"data-testid": p.exposureCell,
|
|
60
61
|
children: [
|
|
61
62
|
/* @__PURE__ */ e(
|
|
62
|
-
|
|
63
|
+
S,
|
|
63
64
|
{
|
|
64
|
-
share:
|
|
65
|
-
colorIndex:
|
|
66
|
-
idle:
|
|
65
|
+
share: h,
|
|
66
|
+
colorIndex: z,
|
|
67
|
+
idle: h === 0
|
|
67
68
|
}
|
|
68
69
|
),
|
|
69
70
|
/* @__PURE__ */ e(
|
|
70
|
-
|
|
71
|
+
P,
|
|
71
72
|
{
|
|
72
73
|
value: /* @__PURE__ */ e(
|
|
73
|
-
|
|
74
|
+
b,
|
|
74
75
|
{
|
|
75
76
|
decimalPartLength: 2,
|
|
76
77
|
precision: 2,
|
|
@@ -79,30 +80,31 @@ function ue({
|
|
|
79
80
|
value: l.value
|
|
80
81
|
}
|
|
81
82
|
),
|
|
82
|
-
valueDescription: l.valueUsd === null ? "—" :
|
|
83
|
+
valueDescription: l.valueUsd === null ? "—" : C(l.valueUsd)
|
|
83
84
|
}
|
|
84
85
|
)
|
|
85
86
|
]
|
|
86
87
|
}
|
|
87
|
-
),
|
|
88
|
-
|
|
88
|
+
), g = () => /* @__PURE__ */ e("div", { "data-testid": p.capCell, children: s.value === 0n ? /* @__PURE__ */ e("span", { children: "—" }) : /* @__PURE__ */ e(
|
|
89
|
+
b,
|
|
89
90
|
{
|
|
90
91
|
decimalPartLength: 2,
|
|
91
92
|
precision: 2,
|
|
92
93
|
showSymbol: !1,
|
|
93
94
|
token: t,
|
|
94
|
-
value:
|
|
95
|
+
value: s.value
|
|
95
96
|
}
|
|
96
|
-
) }),
|
|
97
|
+
) }), v = () => /* @__PURE__ */ e("div", { "data-testid": p.capUtilizationCell, children: /* @__PURE__ */ e(N, { data: j(l.value, s.value) }) });
|
|
97
98
|
return /* @__PURE__ */ e(
|
|
98
|
-
|
|
99
|
+
L,
|
|
99
100
|
{
|
|
100
|
-
last:
|
|
101
|
+
last: x,
|
|
101
102
|
height: "auto",
|
|
102
|
-
|
|
103
|
+
href: d ? `${d}/address/${r.address}` : void 0,
|
|
104
|
+
target: "_blank",
|
|
103
105
|
style: { minHeight: "75px" },
|
|
104
|
-
children:
|
|
105
|
-
|
|
106
|
+
children: c ? /* @__PURE__ */ e(o, { className: "px-3 py-0!", size: "sm", span: "full", children: /* @__PURE__ */ a(
|
|
107
|
+
U,
|
|
106
108
|
{
|
|
107
109
|
className: "w-full",
|
|
108
110
|
columns: 3,
|
|
@@ -110,33 +112,33 @@ function ue({
|
|
|
110
112
|
title: u(),
|
|
111
113
|
children: [
|
|
112
114
|
/* @__PURE__ */ e(
|
|
113
|
-
|
|
115
|
+
n,
|
|
114
116
|
{
|
|
115
117
|
title: /* @__PURE__ */ e(m, { messageId: "components.poolAssetsTable.exposure" }),
|
|
116
|
-
children:
|
|
118
|
+
children: f()
|
|
117
119
|
}
|
|
118
120
|
),
|
|
119
121
|
/* @__PURE__ */ e(
|
|
120
|
-
|
|
122
|
+
n,
|
|
121
123
|
{
|
|
122
124
|
title: /* @__PURE__ */ e(m, { messageId: "components.poolAssetsTable.cap" }),
|
|
123
|
-
children:
|
|
125
|
+
children: g()
|
|
124
126
|
}
|
|
125
127
|
),
|
|
126
128
|
/* @__PURE__ */ e(
|
|
127
|
-
|
|
129
|
+
n,
|
|
128
130
|
{
|
|
129
131
|
title: /* @__PURE__ */ e(m, { messageId: "components.poolAssetsTable.capUtilization" }),
|
|
130
|
-
children:
|
|
132
|
+
children: v()
|
|
131
133
|
}
|
|
132
134
|
)
|
|
133
135
|
]
|
|
134
136
|
}
|
|
135
|
-
) }) : /* @__PURE__ */
|
|
137
|
+
) }) : /* @__PURE__ */ a(y, { children: [
|
|
136
138
|
/* @__PURE__ */ e(o, { className: "pl-4", size: "sm", textAlign: "left", children: u() }),
|
|
137
|
-
/* @__PURE__ */ e(o, { size: "sm", textAlign: "right", children: h() }),
|
|
138
139
|
/* @__PURE__ */ e(o, { size: "sm", textAlign: "right", children: f() }),
|
|
139
|
-
/* @__PURE__ */ e(o, {
|
|
140
|
+
/* @__PURE__ */ e(o, { size: "sm", textAlign: "right", children: g() }),
|
|
141
|
+
/* @__PURE__ */ e(o, { className: "pr-4", size: "sm", textAlign: "right", children: v() })
|
|
140
142
|
] })
|
|
141
143
|
}
|
|
142
144
|
);
|
|
@@ -1,51 +1,53 @@
|
|
|
1
|
-
import { jsx as o, jsxs as
|
|
2
|
-
import { Card as
|
|
1
|
+
import { jsx as o, jsxs as c } from "react/jsx-runtime";
|
|
2
|
+
import { Card as f } from "../../cards/card/card.js";
|
|
3
3
|
import "clsx";
|
|
4
4
|
import "tailwind-merge";
|
|
5
5
|
import "react";
|
|
6
6
|
import "@fortawesome/free-solid-svg-icons";
|
|
7
7
|
import "../../icons/fa-icon.js";
|
|
8
|
-
import "@gearbox-protocol/sdk";
|
|
8
|
+
import "@gearbox-protocol/sdk/onchain";
|
|
9
9
|
import "sonner";
|
|
10
10
|
import "@gearbox-protocol/sdk/common-utils";
|
|
11
11
|
import "luxon";
|
|
12
12
|
import "../../../utils/z-index.js";
|
|
13
13
|
import "react-intl";
|
|
14
14
|
import "../../buttons/button/button.js";
|
|
15
|
-
import { GridTable as
|
|
15
|
+
import { GridTable as b, GridTableHeader as T, GridTableBody as h } from "../../table/grid-table.js";
|
|
16
16
|
import "../../skeleton/skeleton.js";
|
|
17
17
|
import "../../table/table.js";
|
|
18
|
-
import { useIsMobile as
|
|
19
|
-
import { useObservedWidthKey as
|
|
20
|
-
import { PoolAssetsTableTest as
|
|
21
|
-
import { PoolAssetsTableHead as
|
|
22
|
-
import { PoolAssetsTableRow as
|
|
23
|
-
const
|
|
24
|
-
function
|
|
18
|
+
import { useIsMobile as u } from "../../../hooks/use-media-query.js";
|
|
19
|
+
import { useObservedWidthKey as x } from "../../../hooks/use-observed-width-key.js";
|
|
20
|
+
import { PoolAssetsTableTest as v } from "./constants.js";
|
|
21
|
+
import { PoolAssetsTableHead as w } from "./pool-assets-table-head.js";
|
|
22
|
+
import { PoolAssetsTableRow as A } from "./pool-assets-table-row.js";
|
|
23
|
+
const C = 680;
|
|
24
|
+
function q({
|
|
25
25
|
list: t,
|
|
26
26
|
sort: s,
|
|
27
|
-
underlyingToken: p
|
|
27
|
+
underlyingToken: p,
|
|
28
|
+
explorerUrl: l
|
|
28
29
|
}) {
|
|
29
|
-
const
|
|
30
|
-
return /* @__PURE__ */ o(
|
|
31
|
-
|
|
30
|
+
const a = u(), { ref: d, widthKey: m } = x(), i = m > 0 ? m < C : a, n = t.reduce((r, e) => r + e.used.value, 0n);
|
|
31
|
+
return /* @__PURE__ */ o(f, { ref: d, className: "overflow-hidden rounded-lg p-2", children: /* @__PURE__ */ c(
|
|
32
|
+
b,
|
|
32
33
|
{
|
|
33
34
|
cols: i ? "1fr" : "1fr max-content max-content minmax(0,1fr)",
|
|
34
|
-
"data-testid":
|
|
35
|
+
"data-testid": v.root,
|
|
35
36
|
gap: 0,
|
|
36
37
|
size: "lg",
|
|
37
38
|
wrapperClassName: "overflow-visible",
|
|
38
39
|
children: [
|
|
39
|
-
!i && /* @__PURE__ */ o(
|
|
40
|
-
/* @__PURE__ */ o(
|
|
41
|
-
|
|
40
|
+
!i && /* @__PURE__ */ o(T, { children: /* @__PURE__ */ o(w, { sort: s }) }),
|
|
41
|
+
/* @__PURE__ */ o(h, { children: t.map((r, e) => /* @__PURE__ */ o(
|
|
42
|
+
A,
|
|
42
43
|
{
|
|
43
44
|
asset: r,
|
|
44
45
|
underlyingToken: p,
|
|
45
46
|
last: e === t.length - 1,
|
|
46
47
|
isCompact: i,
|
|
47
|
-
totalUsed:
|
|
48
|
-
colorIndex: e
|
|
48
|
+
totalUsed: n,
|
|
49
|
+
colorIndex: e,
|
|
50
|
+
explorerUrl: l
|
|
49
51
|
},
|
|
50
52
|
r.token.address
|
|
51
53
|
)) })
|
|
@@ -54,5 +56,5 @@ function U({
|
|
|
54
56
|
) });
|
|
55
57
|
}
|
|
56
58
|
export {
|
|
57
|
-
|
|
59
|
+
q as PoolAssetsTable
|
|
58
60
|
};
|
package/dist/esm/components/composites/tx-preview/confirm/amounts/TransactionConfirmAmountField.js
CHANGED
|
@@ -4,7 +4,7 @@ import { FadeoutLoading as g } from "../../../../fadeout-loading/fadeout-loading
|
|
|
4
4
|
import { TokenIcon as v } from "../../../../token-icon/token-icon.js";
|
|
5
5
|
import { TokenTemplate as A } from "../../../../token-template/token-template.js";
|
|
6
6
|
import "react";
|
|
7
|
-
import "@gearbox-protocol/sdk";
|
|
7
|
+
import "@gearbox-protocol/sdk/onchain";
|
|
8
8
|
import { cn as h } from "../../../../../utils/cn.js";
|
|
9
9
|
import "sonner";
|
|
10
10
|
import { formatMoney as k } from "../../../../../utils/format-money.js";
|
|
@@ -7,7 +7,7 @@ import "../../../../buttons/button/button.js";
|
|
|
7
7
|
import "../../../../dialog/dialog-container.js";
|
|
8
8
|
import { useIntlTyped as N, FormattedMessageTyped as P } from "../../../../typed-intl/index.js";
|
|
9
9
|
import "react";
|
|
10
|
-
import "@gearbox-protocol/sdk";
|
|
10
|
+
import "@gearbox-protocol/sdk/onchain";
|
|
11
11
|
import { cn as I } from "../../../../../utils/cn.js";
|
|
12
12
|
import "sonner";
|
|
13
13
|
import "@gearbox-protocol/sdk/common-utils";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as t, jsxs as i } from "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
import "@gearbox-protocol/sdk";
|
|
3
|
+
import "@gearbox-protocol/sdk/onchain";
|
|
4
4
|
import { cn as o } from "../../../../../utils/cn.js";
|
|
5
5
|
import "sonner";
|
|
6
6
|
import "@gearbox-protocol/sdk/common-utils";
|
|
@@ -2,7 +2,7 @@ import { jsx as e, jsxs as r } from "react/jsx-runtime";
|
|
|
2
2
|
import { useId as w } from "react";
|
|
3
3
|
import { YieldBreakdownTooltip as x } from "../yield-breakdown-tooltip/yield-breakdown-tooltip.js";
|
|
4
4
|
import { totalApyOf as v, positiveTokenRewardsOf as C, pointProgramsOf as I } from "../../utils/apy-breakdown.js";
|
|
5
|
-
import "@gearbox-protocol/sdk";
|
|
5
|
+
import "@gearbox-protocol/sdk/onchain";
|
|
6
6
|
import { bpsToPercent as k } from "../../utils/bps.js";
|
|
7
7
|
import { cn as P } from "../../utils/cn.js";
|
|
8
8
|
import "sonner";
|
|
@@ -3,7 +3,7 @@ import * as s from "react";
|
|
|
3
3
|
import { IconButton as t } from "../icon-button/icon-button.js";
|
|
4
4
|
import { faXmark as c } from "@fortawesome/free-solid-svg-icons";
|
|
5
5
|
import { FaIcon as p } from "../icons/fa-icon.js";
|
|
6
|
-
import "@gearbox-protocol/sdk";
|
|
6
|
+
import "@gearbox-protocol/sdk/onchain";
|
|
7
7
|
import { cn as l } from "../../utils/cn.js";
|
|
8
8
|
import "sonner";
|
|
9
9
|
import "@gearbox-protocol/sdk/common-utils";
|
|
@@ -2,7 +2,7 @@ import { jsx as r, jsxs as m } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef as y, useMemo as i } from "react";
|
|
3
3
|
import { RoundedImage as u } from "../rounded-image/rounded-image.js";
|
|
4
4
|
import { Skeleton as g } from "../skeleton/skeleton.js";
|
|
5
|
-
import "@gearbox-protocol/sdk";
|
|
5
|
+
import "@gearbox-protocol/sdk/onchain";
|
|
6
6
|
import "clsx";
|
|
7
7
|
import "tailwind-merge";
|
|
8
8
|
import "sonner";
|
|
@@ -8,7 +8,7 @@ import { SimpleTooltip as T } from "../tooltip/simple-tooltip.js";
|
|
|
8
8
|
import "../tooltip/tooltip.js";
|
|
9
9
|
import { FormattedMessageTyped as g } from "../typed-intl/index.js";
|
|
10
10
|
import { useIsMobile as h } from "../../hooks/use-media-query.js";
|
|
11
|
-
import "@gearbox-protocol/sdk";
|
|
11
|
+
import "@gearbox-protocol/sdk/onchain";
|
|
12
12
|
import { cn as s } from "../../utils/cn.js";
|
|
13
13
|
import "sonner";
|
|
14
14
|
import "@gearbox-protocol/sdk/common-utils";
|
|
@@ -9,7 +9,7 @@ import { SimpleTooltip as u } from "../tooltip/simple-tooltip.js";
|
|
|
9
9
|
import "../tooltip/tooltip.js";
|
|
10
10
|
import { FormattedMessageTyped as h } from "../typed-intl/index.js";
|
|
11
11
|
import { useIsMobile as x } from "../../hooks/use-media-query.js";
|
|
12
|
-
import "@gearbox-protocol/sdk";
|
|
12
|
+
import "@gearbox-protocol/sdk/onchain";
|
|
13
13
|
import { cn as g } from "../../utils/cn.js";
|
|
14
14
|
import "sonner";
|
|
15
15
|
import "@gearbox-protocol/sdk/common-utils";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as i } from "react/jsx-runtime";
|
|
2
2
|
import { cva as n } from "class-variance-authority";
|
|
3
3
|
import * as s from "react";
|
|
4
|
-
import "@gearbox-protocol/sdk";
|
|
4
|
+
import "@gearbox-protocol/sdk/onchain";
|
|
5
5
|
import { cn as p } from "../../utils/cn.js";
|
|
6
6
|
import "sonner";
|
|
7
7
|
import "@gearbox-protocol/sdk/common-utils";
|
|
@@ -3,7 +3,7 @@ import * as a from "@radix-ui/react-dialog";
|
|
|
3
3
|
import * as d from "react";
|
|
4
4
|
import { faXmark as n } from "@fortawesome/free-solid-svg-icons";
|
|
5
5
|
import { FaIcon as l } from "../icons/fa-icon.js";
|
|
6
|
-
import "@gearbox-protocol/sdk";
|
|
6
|
+
import "@gearbox-protocol/sdk/onchain";
|
|
7
7
|
import { cn as m } from "../../utils/cn.js";
|
|
8
8
|
import "sonner";
|
|
9
9
|
import "@gearbox-protocol/sdk/common-utils";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as m } from "react/jsx-runtime";
|
|
2
2
|
import * as o from "@radix-ui/react-dialog";
|
|
3
3
|
import * as p from "react";
|
|
4
|
-
import "@gearbox-protocol/sdk";
|
|
4
|
+
import "@gearbox-protocol/sdk/onchain";
|
|
5
5
|
import { cn as e } from "../../utils/cn.js";
|
|
6
6
|
import "sonner";
|
|
7
7
|
import "@gearbox-protocol/sdk/common-utils";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as e, jsxs as i } from "react/jsx-runtime";
|
|
2
2
|
import { Button as n } from "../buttons/button/button.js";
|
|
3
3
|
import "react";
|
|
4
|
-
import "@gearbox-protocol/sdk";
|
|
4
|
+
import "@gearbox-protocol/sdk/onchain";
|
|
5
5
|
import { cn as b } from "../../utils/cn.js";
|
|
6
6
|
import "sonner";
|
|
7
7
|
import "@gearbox-protocol/sdk/common-utils";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import { cva as f } from "class-variance-authority";
|
|
3
3
|
import * as c from "react";
|
|
4
|
-
import "@gearbox-protocol/sdk";
|
|
4
|
+
import "@gearbox-protocol/sdk/onchain";
|
|
5
5
|
import { cn as w } from "../../utils/cn.js";
|
|
6
6
|
import "sonner";
|
|
7
7
|
import "@gearbox-protocol/sdk/common-utils";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as i } from "react/jsx-runtime";
|
|
2
2
|
import * as a from "@radix-ui/react-dialog";
|
|
3
3
|
import * as r from "react";
|
|
4
|
-
import "@gearbox-protocol/sdk";
|
|
4
|
+
import "@gearbox-protocol/sdk/onchain";
|
|
5
5
|
import { cn as m } from "../../utils/cn.js";
|
|
6
6
|
import "sonner";
|
|
7
7
|
import "@gearbox-protocol/sdk/common-utils";
|