@gearbox-protocol/ui-kit 4.0.0-next.23 → 4.0.0-next.25
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/history-chart/history-chart.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/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/graph/default-config.cjs +1 -1
- package/dist/cjs/components/graph/formatters.cjs +1 -1
- package/dist/cjs/components/graph/graph-current-value.cjs +1 -1
- package/dist/cjs/components/graph/graph-tooltip.cjs +1 -1
- package/dist/cjs/components/graph/graph.cjs +1 -1
- package/dist/cjs/components/graph/index.cjs +1 -1
- package/dist/cjs/components/graph/y-axis-scale.cjs +1 -0
- 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/index.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/index.cjs +1 -1
- package/dist/cjs/locale/en.json.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/history-chart/history-chart.js +16 -15
- 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 +42 -26
- 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/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 +1 -1
- package/dist/esm/components/composites/pool-assets-table/pool-assets-table.js +1 -1
- 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/graph/default-config.js +44 -24
- package/dist/esm/components/graph/formatters.js +123 -128
- package/dist/esm/components/graph/graph-current-value.js +11 -11
- package/dist/esm/components/graph/graph-tooltip.js +6 -6
- package/dist/esm/components/graph/graph.js +597 -547
- package/dist/esm/components/graph/index.js +32 -27
- package/dist/esm/components/graph/y-axis-scale.js +112 -0
- 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/index.js +496 -491
- 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 +84 -83
- 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 +95 -56
- package/dist/esm/index.js +649 -644
- package/dist/esm/locale/en.json.js +16 -4
- 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/history-chart/history-chart.d.ts +2 -1
- package/dist/types/components/base/info-portal/info-portal.d.ts +1 -1
- package/dist/types/components/base/pool-apy-breakdown-card/pool-apy-breakdown-card.d.ts +4 -2
- 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/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/graph/default-config.d.ts +23 -0
- package/dist/types/components/graph/formatters.d.ts +5 -1
- package/dist/types/components/graph/graph.d.ts +12 -4
- package/dist/types/components/graph/y-axis-scale.d.ts +48 -0
- 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/trading-view/trading-view.d.ts +5 -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 +4 -2
- package/dist/types/hooks/use-hf.d.ts +1 -1
- package/dist/types/locale/en.json.d.ts +14 -2
- package/dist/types/utils/network-icons.d.ts +1 -1
- package/package.json +19 -19
- 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
|
@@ -33,11 +33,11 @@ declare const AlertDialogPortal: React.FC<AlertDialogPrimitive.AlertDialogPortal
|
|
|
33
33
|
declare const AlertDialogOverlay: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogOverlayProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
34
34
|
declare const AlertDialogContent: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
35
35
|
declare const AlertDialogHeader: {
|
|
36
|
-
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>):
|
|
36
|
+
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): React.JSX.Element;
|
|
37
37
|
displayName: string;
|
|
38
38
|
};
|
|
39
39
|
declare const AlertDialogFooter: {
|
|
40
|
-
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>):
|
|
40
|
+
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): React.JSX.Element;
|
|
41
41
|
displayName: string;
|
|
42
42
|
};
|
|
43
43
|
declare const AlertDialogTitle: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogTitleProps & React.RefAttributes<HTMLHeadingElement>, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
|
|
@@ -151,5 +151,5 @@ export type AssetsListCellProps = SingleAssetCellProps | MultiAssetCellProps | T
|
|
|
151
151
|
* />
|
|
152
152
|
* ```
|
|
153
153
|
*/
|
|
154
|
-
export declare function AssetsListCell(props: AssetsListCellProps):
|
|
154
|
+
export declare function AssetsListCell(props: AssetsListCellProps): React.JSX.Element;
|
|
155
155
|
export {};
|
|
@@ -25,5 +25,5 @@ declare const badgeVariants: (props?: ({
|
|
|
25
25
|
*/
|
|
26
26
|
export interface BadgeProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof badgeVariants> {
|
|
27
27
|
}
|
|
28
|
-
declare function Badge({ className, variant, ...props }: BadgeProps):
|
|
28
|
+
declare function Badge({ className, variant, ...props }: BadgeProps): React.JSX.Element;
|
|
29
29
|
export { Badge, badgeVariants };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { AddressMap } from '@gearbox-protocol/sdk';
|
|
2
1
|
import { Token } from '@gearbox-protocol/sdk/model';
|
|
2
|
+
import { AddressMap } from '@gearbox-protocol/sdk/onchain';
|
|
3
3
|
import { default as React } from 'react';
|
|
4
4
|
import { TitleText } from '../text';
|
|
5
5
|
import { AmountInputTest } from './constants';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { AddressMap } from '@gearbox-protocol/sdk';
|
|
2
1
|
import { Token } from '@gearbox-protocol/sdk/model';
|
|
2
|
+
import { AddressMap } from '@gearbox-protocol/sdk/onchain';
|
|
3
3
|
import { default as React } from 'react';
|
|
4
4
|
export interface TokenSelectPanelProps {
|
|
5
5
|
readonly tokens: ReadonlyArray<Token>;
|
|
@@ -49,7 +49,8 @@ export interface HistoryChartProps {
|
|
|
49
49
|
readonly trailing?: React.ReactNode;
|
|
50
50
|
/**
|
|
51
51
|
* Force a second Y-axis. When omitted, the chart splits axes only if
|
|
52
|
-
* `yMeasureUnit` lists more than one distinct unit.
|
|
52
|
+
* `yMeasureUnit` lists more than one distinct unit. Same-unit series share
|
|
53
|
+
* one scale and show its labels.
|
|
53
54
|
*/
|
|
54
55
|
readonly dualYAxis?: boolean;
|
|
55
56
|
}
|
|
@@ -3,6 +3,6 @@ import { default as React, PropsWithChildren } from 'react';
|
|
|
3
3
|
* Lets a deeply nested child render information into a slot reserved higher up
|
|
4
4
|
* (e.g. a dialog's projection into the manage pane's card top).
|
|
5
5
|
*/
|
|
6
|
-
export declare function InfoPortalProvider({ children }: PropsWithChildren<object>):
|
|
6
|
+
export declare function InfoPortalProvider({ children }: PropsWithChildren<object>): React.JSX.Element;
|
|
7
7
|
/** The slot inside the pane card where portal content appears. */
|
|
8
8
|
export declare function InfoPortalOut(): React.ReactElement;
|
|
@@ -8,6 +8,8 @@ export interface PoolApyBreakdownCardProps {
|
|
|
8
8
|
readonly organicApy?: Bps;
|
|
9
9
|
readonly incentiveApy?: Bps;
|
|
10
10
|
};
|
|
11
|
+
/** When `"7d"`, labels carry the averaging-window suffix. */
|
|
12
|
+
readonly period?: "7d";
|
|
11
13
|
}
|
|
12
|
-
/** Organic vs incentive APY next to the pool APY chart. Missing
|
|
13
|
-
export declare function PoolApyBreakdownCard({ data, }: PoolApyBreakdownCardProps): React.ReactElement;
|
|
14
|
+
/** Organic vs incentive APY next to the pool APY chart. Missing organic renders as a dash; incentive is 0% when omitted. */
|
|
15
|
+
export declare function PoolApyBreakdownCard({ data, period, }: PoolApyBreakdownCardProps): React.ReactElement;
|
|
@@ -16,5 +16,5 @@ export interface BackButtonProps extends VariantProps<typeof backButtonVariants>
|
|
|
16
16
|
className?: string;
|
|
17
17
|
LinkComponent?: React.ComponentType<LinkComponentProps>;
|
|
18
18
|
}
|
|
19
|
-
export declare function BackButton({ href, text, onClick, className, variant, size, LinkComponent, }: BackButtonProps): import("react
|
|
19
|
+
export declare function BackButton({ href, text, onClick, className, variant, size, LinkComponent, }: BackButtonProps): import("react").JSX.Element;
|
|
20
20
|
export { backButtonVariants };
|
|
@@ -46,4 +46,4 @@ export interface RangeButtonsProps<T> {
|
|
|
46
46
|
* />
|
|
47
47
|
* ```
|
|
48
48
|
*/
|
|
49
|
-
export declare function RangeButtons<T>({ range, rangeList, setRange, className, }: RangeButtonsProps<T>):
|
|
49
|
+
export declare function RangeButtons<T>({ range, rangeList, setRange, className, }: RangeButtonsProps<T>): React.JSX.Element;
|
|
@@ -16,4 +16,4 @@ import { CardProps } from '../card';
|
|
|
16
16
|
* - for warnings or informational content (use regular Card with appropriate styling).
|
|
17
17
|
* - when actions are not actually dangerous or destructive.
|
|
18
18
|
*/
|
|
19
|
-
export declare function DangerZone({ children, ...props }: CardProps): import("react
|
|
19
|
+
export declare function DangerZone({ children, ...props }: CardProps): import("react").JSX.Element;
|
|
@@ -24,5 +24,5 @@ export interface ExpandablCallProps {
|
|
|
24
24
|
* - for displaying transactions themselves (use ExpandableCard instead).
|
|
25
25
|
* - outside of transaction context (use ExpandableCard or regular Card instead).
|
|
26
26
|
*/
|
|
27
|
-
declare function ExpandablCall({ header, children, index, isExpandable, }: ExpandablCallProps):
|
|
27
|
+
declare function ExpandablCall({ header, children, index, isExpandable, }: ExpandablCallProps): React.JSX.Element;
|
|
28
28
|
export { ExpandablCall };
|
|
@@ -24,5 +24,5 @@ export interface ExpandableCardProps {
|
|
|
24
24
|
* - when you need multiple independent expandable sections (consider using Tabs or separate ExpandableCards).
|
|
25
25
|
* - for non-transaction content when a regular Card would suffice.
|
|
26
26
|
*/
|
|
27
|
-
declare function ExpandableCard({ header, children, alwaysExpanded, }: ExpandableCardProps):
|
|
27
|
+
declare function ExpandableCard({ header, children, alwaysExpanded, }: ExpandableCardProps): React.JSX.Element;
|
|
28
28
|
export { ExpandableCard };
|
|
@@ -41,4 +41,4 @@ export interface CompoundAPYProps {
|
|
|
41
41
|
* No `tokensList`, no external APY, no 7D history, no "soon" points state.
|
|
42
42
|
* For the legacy percent-based API see {@link CompoundAPYLegacy}.
|
|
43
43
|
*/
|
|
44
|
-
export declare function CompoundAPY({ apy, maxLeverage, collateralApy, borrowApy, quotaRate, decimals, tooltip, className, }: CompoundAPYProps): import("react
|
|
44
|
+
export declare function CompoundAPY({ apy, maxLeverage, collateralApy, borrowApy, quotaRate, decimals, tooltip, className, }: CompoundAPYProps): import("react").JSX.Element;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type * as React from "react";
|
|
2
2
|
declare const DialogFooter: {
|
|
3
|
-
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>):
|
|
3
|
+
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): React.JSX.Element;
|
|
4
4
|
displayName: string;
|
|
5
5
|
};
|
|
6
6
|
export { DialogFooter };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type * as React from "react";
|
|
2
2
|
declare const DialogHeader: {
|
|
3
|
-
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>):
|
|
3
|
+
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): React.JSX.Element;
|
|
4
4
|
displayName: string;
|
|
5
5
|
};
|
|
6
6
|
export { DialogHeader };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type * as React from "react";
|
|
2
2
|
declare const DropdownMenuShortcut: {
|
|
3
|
-
({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>):
|
|
3
|
+
({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>): React.JSX.Element;
|
|
4
4
|
displayName: string;
|
|
5
5
|
};
|
|
6
6
|
export { DropdownMenuShortcut };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as DropdownMenuPrimitive from "@radix-ui/react-dropdown-menu";
|
|
2
2
|
import type * as React from "react";
|
|
3
3
|
declare const DropdownMenu: {
|
|
4
|
-
({ modal, ...props }: React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Root>):
|
|
4
|
+
({ modal, ...props }: React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Root>): React.JSX.Element;
|
|
5
5
|
displayName: string;
|
|
6
6
|
};
|
|
7
7
|
declare const DropdownMenuTrigger: React.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
@@ -36,5 +36,5 @@ export interface EditInputProps extends Omit<React.ComponentProps<typeof Input>,
|
|
|
36
36
|
* EditInput — inline editable field: view mode (TextButton + label) or edit mode (Input + arrow submit).
|
|
37
37
|
* Matches interface EditInput structure and styles.
|
|
38
38
|
*/
|
|
39
|
-
export declare function EditInput({ label, value, onChange, onSubmit, onEditModeChange, textButtonProps, inputSize, colorTheme, placeholder, inputMode, autoComplete, autoCorrect, type, spellCheck, className, onKeyDown: onKeyDownProp, ...restProps }: EditInputProps):
|
|
39
|
+
export declare function EditInput({ label, value, onChange, onSubmit, onEditModeChange, textButtonProps, inputSize, colorTheme, placeholder, inputMode, autoComplete, autoCorrect, type, spellCheck, className, onKeyDown: onKeyDownProp, ...restProps }: EditInputProps): React.JSX.Element;
|
|
40
40
|
export {};
|
|
@@ -120,4 +120,4 @@ export interface FilterModalProps<T> {
|
|
|
120
120
|
*/
|
|
121
121
|
showSearch?: boolean;
|
|
122
122
|
}
|
|
123
|
-
export declare function FilterModal<T>({ title, state, modalShow, onOpen, onClose, onReset, options, tabbedOptions, onSelect, className, optionsClassName, resetLabel, applyLabel, showApplyButton, showSearch, }: FilterModalProps<T>):
|
|
123
|
+
export declare function FilterModal<T>({ title, state, modalShow, onOpen, onClose, onReset, options, tabbedOptions, onSelect, className, optionsClassName, resetLabel, applyLabel, showApplyButton, showSearch, }: FilterModalProps<T>): React.JSX.Element;
|
|
@@ -18,4 +18,4 @@ export interface FormattedNumberStringProps extends React.HTMLAttributes<HTMLSpa
|
|
|
18
18
|
* FormattedNumberString — displays a number with optional compact decimal (zeros as repeat count) and tooltip with full value.
|
|
19
19
|
* Matches interface FormattedNumber structure and styles.
|
|
20
20
|
*/
|
|
21
|
-
export declare function FormattedNumberString({ value, decimalPartLength, hideZerosIfMore, className, ...props }: FormattedNumberStringProps):
|
|
21
|
+
export declare function FormattedNumberString({ value, decimalPartLength, hideZerosIfMore, className, ...props }: FormattedNumberStringProps): React.JSX.Element;
|
|
@@ -2,6 +2,29 @@ import { AreaSeriesPartialOptions, ChartOptions, DeepPartial } from 'lightweight
|
|
|
2
2
|
import { VertLineOptions } from './plugins/vertical-line';
|
|
3
3
|
export declare const DEFAULT_AREA_SERIES: AreaSeriesPartialOptions;
|
|
4
4
|
export declare const DEFAULT_VERTICAL_LINE: Partial<VertLineOptions>;
|
|
5
|
+
/** Matches UI `text-sm` so axis tick labels read with the rest of the chrome. */
|
|
6
|
+
export declare const AXIS_FONT_SIZE = 14;
|
|
7
|
+
/**
|
|
8
|
+
* Price-scale tick density. Higher → more space between labels (fewer ticks).
|
|
9
|
+
* Lightweight-charts defaults to 2.5, which packs ~12 labels onto a 460px pane.
|
|
10
|
+
*/
|
|
11
|
+
export declare const AXIS_TICK_MARK_DENSITY = 5;
|
|
12
|
+
/**
|
|
13
|
+
* Pixel inset so a tick sitting on the pane edge is drawn fully inside the
|
|
14
|
+
* canvas (half the font plus a couple of pixels of breathing room).
|
|
15
|
+
*/
|
|
16
|
+
export declare const AXIS_EDGE_LABEL_PADDING_PX: number;
|
|
17
|
+
/**
|
|
18
|
+
* Extra air above the top tick so the label does not sit flush with the
|
|
19
|
+
* chart frame. Larger than the bottom inset because the top edge has no
|
|
20
|
+
* time-axis chrome to separate it from the container.
|
|
21
|
+
*/
|
|
22
|
+
export declare const AXIS_TOP_LABEL_PADDING_PX: number;
|
|
23
|
+
/**
|
|
24
|
+
* Horizontal inset so a centred date label (`dd MMM`, ~50px) sits fully
|
|
25
|
+
* inside the time-scale canvas with a few pixels of air on each side.
|
|
26
|
+
*/
|
|
27
|
+
export declare const AXIS_TIME_EDGE_PADDING_PX = 40;
|
|
5
28
|
/**
|
|
6
29
|
* Gets the default chart options with resolved CSS colors
|
|
7
30
|
* Call this at runtime to ensure CSS variables are properly resolved
|
|
@@ -27,6 +27,11 @@ export interface AdaptiveYAxisFormatterOptions {
|
|
|
27
27
|
* stay bare so charts without a real unit don't render a placeholder.
|
|
28
28
|
*/
|
|
29
29
|
export declare function withYAxisUnit(label: string, unit: YMeasureUnits): string;
|
|
30
|
+
/**
|
|
31
|
+
* Ratio units (`base / quote`) stay off axis ticks, the crosshair pill, and
|
|
32
|
+
* tooltip values — the pair belongs in the series title, not after the number.
|
|
33
|
+
*/
|
|
34
|
+
export declare function isRatioUnit(unit: YMeasureUnits): boolean;
|
|
30
35
|
/**
|
|
31
36
|
* Creates an adaptive Y-axis formatter that determines precision dynamically
|
|
32
37
|
* based on visible range to ensure unique labels on the axis.
|
|
@@ -37,7 +42,6 @@ export declare function createAdaptiveYAxisFormatter(initialValues: number[], un
|
|
|
37
42
|
formatter: (price: number) => string;
|
|
38
43
|
tickmarksFormatter: (prices: number[]) => string[];
|
|
39
44
|
updateVisibleRange: (visibleValues: number[]) => void;
|
|
40
|
-
updateLastValues: (lastValues: number[]) => void;
|
|
41
45
|
};
|
|
42
46
|
export type XMeasureUnits = "time" | "%";
|
|
43
47
|
type XFormatter = (time: Time, symbol: XMeasureUnits | undefined) => string;
|
|
@@ -6,6 +6,12 @@ export type SeriesPriceScaleId = "left" | "right";
|
|
|
6
6
|
export type SeriesChartType = "area" | "line";
|
|
7
7
|
export interface SeriesConfig {
|
|
8
8
|
data: Array<Point>;
|
|
9
|
+
/**
|
|
10
|
+
* Stable chart-instance key. Prefer this over `label` so renaming the legend
|
|
11
|
+
* (e.g. interpolating leverage into the title) updates the existing series
|
|
12
|
+
* instead of destroying it — which shuffles `seriesRefs` and breaks tooltips.
|
|
13
|
+
*/
|
|
14
|
+
id?: string;
|
|
9
15
|
label: string;
|
|
10
16
|
/** Line color (area stroke). Alias: prefer `lineColor` for clarity; if both set, `lineColor` wins. */
|
|
11
17
|
color?: string;
|
|
@@ -23,6 +29,8 @@ export interface SeriesConfig {
|
|
|
23
29
|
/** Line dash style (line series only). */
|
|
24
30
|
lineStyle?: LineStyle;
|
|
25
31
|
}
|
|
32
|
+
/** Chart-instance key: stable `id` when set, otherwise the display `label`. */
|
|
33
|
+
export declare function seriesIdentity(series: Pick<SeriesConfig, "id" | "label">): string;
|
|
26
34
|
export type VerticalLineOptions = Partial<{
|
|
27
35
|
color: string;
|
|
28
36
|
labelText: string;
|
|
@@ -51,8 +59,8 @@ export interface PriceLineConfig {
|
|
|
51
59
|
/** Y value (price) where the horizontal line is drawn. */
|
|
52
60
|
price: number;
|
|
53
61
|
/**
|
|
54
|
-
*
|
|
55
|
-
* attached to the first series that has data
|
|
62
|
+
* `id` (preferred) or display `label` of the series to attach the line to.
|
|
63
|
+
* When omitted, the line is attached to the first series that has data.
|
|
56
64
|
*/
|
|
57
65
|
seriesLabel?: string;
|
|
58
66
|
/** Line color. Defaults to the destructive theme color. */
|
|
@@ -80,8 +88,8 @@ export interface PriceZoneConfig {
|
|
|
80
88
|
/** Fill color — use a translucent value. Defaults to a translucent destructive tint. */
|
|
81
89
|
color?: string;
|
|
82
90
|
/**
|
|
83
|
-
*
|
|
84
|
-
* omitted, the first series with data is used.
|
|
91
|
+
* `id` (preferred) or display `label` of the series whose price scale the
|
|
92
|
+
* band is drawn against. When omitted, the first series with data is used.
|
|
85
93
|
*/
|
|
86
94
|
seriesLabel?: string;
|
|
87
95
|
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Nice Y-axis range: a tick step from the same 1 / 2 / 2.5 / 5 × 10^n family
|
|
3
|
+
* that lightweight-charts uses, with min/max snapped onto that grid so the
|
|
4
|
+
* first and last labels sit on the pane edges.
|
|
5
|
+
*/
|
|
6
|
+
export interface PickTickSpanArgs {
|
|
7
|
+
min: number;
|
|
8
|
+
max: number;
|
|
9
|
+
scaleHeightPx: number;
|
|
10
|
+
fontSizePx: number;
|
|
11
|
+
tickMarkDensity: number;
|
|
12
|
+
minMove: number;
|
|
13
|
+
}
|
|
14
|
+
export interface NiceAxisRangeArgs {
|
|
15
|
+
min: number;
|
|
16
|
+
max: number;
|
|
17
|
+
/** Hard floor (e.g. `yScaleMin`, or 0 when the series never goes negative). */
|
|
18
|
+
floor?: number;
|
|
19
|
+
scaleHeightPx: number;
|
|
20
|
+
fontSizePx: number;
|
|
21
|
+
tickMarkDensity: number;
|
|
22
|
+
minMove?: number;
|
|
23
|
+
/** Pixel inset lightweight-charts will add via AutoscaleInfo.margins.below. */
|
|
24
|
+
edgePaddingPx?: number;
|
|
25
|
+
/** Pixel inset for AutoscaleInfo.margins.above. Defaults to `edgePaddingPx`. */
|
|
26
|
+
edgePaddingTopPx?: number;
|
|
27
|
+
}
|
|
28
|
+
export interface NiceAxisRange {
|
|
29
|
+
min: number;
|
|
30
|
+
max: number;
|
|
31
|
+
step: number;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Smallest price increment the scale should resolve. One thousandth of the
|
|
35
|
+
* data span, snapped down to a power of ten — coarse enough to stay stable,
|
|
36
|
+
* fine enough not to cap the tick step the way a hardcoded `0.01` does on
|
|
37
|
+
* narrow ratio charts.
|
|
38
|
+
*/
|
|
39
|
+
export declare function pickMinMove(range: number): number;
|
|
40
|
+
/**
|
|
41
|
+
* Tick step lightweight-charts would pick for this visible range.
|
|
42
|
+
*/
|
|
43
|
+
export declare function pickTickSpan({ min, max, scaleHeightPx, fontSizePx, tickMarkDensity, minMove, }: PickTickSpanArgs): number;
|
|
44
|
+
/**
|
|
45
|
+
* Expand `[min, max]` onto the tick grid so both edges are labelled, matching
|
|
46
|
+
* the step the library will use once pixel edge-padding is applied.
|
|
47
|
+
*/
|
|
48
|
+
export declare function niceAxisRange({ min: rawMin, max: rawMax, floor, scaleHeightPx, fontSizePx, tickMarkDensity, minMove: minMoveArg, edgePaddingPx, edgePaddingTopPx, }: NiceAxisRangeArgs): NiceAxisRange;
|
|
@@ -41,4 +41,4 @@ export interface HealthFactorProps extends React.HTMLAttributes<HTMLSpanElement>
|
|
|
41
41
|
* <HealthFactor value={15000} debt={0n} /> // "N/A"
|
|
42
42
|
* ```
|
|
43
43
|
*/
|
|
44
|
-
export declare function HealthFactor({ value, debt, decimals, zone, zoneType, className, ...props }: HealthFactorProps):
|
|
44
|
+
export declare function HealthFactor({ value, debt, decimals, zone, zoneType, className, ...props }: HealthFactorProps): React.JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { FontAwesomeIconProps } from '@fortawesome/react-fontawesome';
|
|
2
|
-
export declare function FaIcon({ className, ...props }: FontAwesomeIconProps): import("react
|
|
2
|
+
export declare function FaIcon({ className, ...props }: FontAwesomeIconProps): import("react").JSX.Element;
|
|
@@ -96,7 +96,7 @@ export interface LegalAgreementDialogProps {
|
|
|
96
96
|
* <LegalAgreementDialog open={isOpen} onClose={handleClose} onSign={handleSign} isSigning={isSigning} config={config} />
|
|
97
97
|
* ```
|
|
98
98
|
*/
|
|
99
|
-
export declare function LegalAgreementDialog({ open, onClose, onSign, isSigning, hasV2Signature, isAwaitingSignature, config, theme, }: LegalAgreementDialogProps):
|
|
99
|
+
export declare function LegalAgreementDialog({ open, onClose, onSign, isSigning, hasV2Signature, isAwaitingSignature, config, theme, }: LegalAgreementDialogProps): React.JSX.Element;
|
|
100
100
|
export interface BlockedRegionDialogProps {
|
|
101
101
|
open: boolean;
|
|
102
102
|
onClose: () => void;
|
|
@@ -116,4 +116,4 @@ export interface BlockedRegionDialogProps {
|
|
|
116
116
|
*
|
|
117
117
|
* Note: Displays information about access restriction with link to terms of service.
|
|
118
118
|
*/
|
|
119
|
-
export declare function BlockedRegionDialog({ open, onClose, termsOfServiceLink, }: BlockedRegionDialogProps):
|
|
119
|
+
export declare function BlockedRegionDialog({ open, onClose, termsOfServiceLink, }: BlockedRegionDialogProps): React.JSX.Element;
|
|
@@ -21,7 +21,7 @@ export interface LoadingProps {
|
|
|
21
21
|
* <Loading data={items} message={customMessage} />
|
|
22
22
|
* ```
|
|
23
23
|
*/
|
|
24
|
-
declare function Loading({ data, loadingFunction, message, subMessage, }: LoadingProps): import("react
|
|
24
|
+
declare function Loading({ data, loadingFunction, message, subMessage, }: LoadingProps): import("react").JSX.Element;
|
|
25
25
|
declare namespace Loading {
|
|
26
26
|
var displayName: string;
|
|
27
27
|
}
|
|
@@ -8,4 +8,4 @@ export interface NavBarLogoProps extends React.ImgHTMLAttributes<HTMLImageElemen
|
|
|
8
8
|
/**
|
|
9
9
|
* NavBarLogo — a logo image for navigation bar
|
|
10
10
|
*/
|
|
11
|
-
export declare function NavBarLogo({ size, className, style, ...props }: NavBarLogoProps):
|
|
11
|
+
export declare function NavBarLogo({ size, className, style, ...props }: NavBarLogoProps): React.JSX.Element;
|
|
@@ -40,6 +40,6 @@ interface NavigationProviderProps extends NavigationAdapter {
|
|
|
40
40
|
* </NextNavigationProvider>
|
|
41
41
|
* ```
|
|
42
42
|
*/
|
|
43
|
-
export declare function NavigationProvider({ Link, useLocation, useNavigate, children, }: NavigationProviderProps):
|
|
43
|
+
export declare function NavigationProvider({ Link, useLocation, useNavigate, children, }: NavigationProviderProps): React.JSX.Element;
|
|
44
44
|
export declare function useNavigationAdapter(): NavigationAdapter;
|
|
45
45
|
export {};
|
|
@@ -25,4 +25,4 @@ export interface NetworkIconProps {
|
|
|
25
25
|
rounded?: boolean;
|
|
26
26
|
className?: string;
|
|
27
27
|
}
|
|
28
|
-
export declare function NetworkIcon({ network, size, isTest, suffixSize, showTooltip, rounded, className, }: NetworkIconProps): import("react
|
|
28
|
+
export declare function NetworkIcon({ network, size, isTest, suffixSize, showTooltip, rounded, className, }: NetworkIconProps): import("react").JSX.Element;
|
|
@@ -38,4 +38,4 @@ export interface PoolPointsIndicatorProps {
|
|
|
38
38
|
* </PoolPointsIndicator>
|
|
39
39
|
* ```
|
|
40
40
|
*/
|
|
41
|
-
export declare function PoolPointsIndicator({ size, color, className, children, }: PropsWithChildren<PoolPointsIndicatorProps>): import("react
|
|
41
|
+
export declare function PoolPointsIndicator({ size, color, className, children, }: PropsWithChildren<PoolPointsIndicatorProps>): import("react").JSX.Element;
|
|
@@ -28,7 +28,7 @@ import * as React from "react";
|
|
|
28
28
|
* - for simple toggle switches (use Checkbox or Switch components).
|
|
29
29
|
*/
|
|
30
30
|
declare const Select: {
|
|
31
|
-
(props: React.ComponentPropsWithoutRef<typeof SelectPrimitive.Root>):
|
|
31
|
+
(props: React.ComponentPropsWithoutRef<typeof SelectPrimitive.Root>): React.JSX.Element;
|
|
32
32
|
displayName: string;
|
|
33
33
|
};
|
|
34
34
|
declare const SelectGroup: React.ForwardRefExoticComponent<SelectPrimitive.SelectGroupProps & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -36,4 +36,4 @@ export interface ShortStringProps {
|
|
|
36
36
|
* </ShortString>
|
|
37
37
|
* ```
|
|
38
38
|
*/
|
|
39
|
-
export declare function ShortString({ children, maxLength, showTooltip, className, }: ShortStringProps): string | number | bigint | boolean | Iterable<React.ReactNode> | Promise<string | number | bigint | boolean | React.ReactPortal | React.ReactElement<unknown, string | React.JSXElementConstructor<any>> | Iterable<React.ReactNode> | null | undefined> |
|
|
39
|
+
export declare function ShortString({ children, maxLength, showTooltip, className, }: ShortStringProps): string | number | bigint | boolean | Iterable<React.ReactNode> | Promise<string | number | bigint | boolean | React.ReactPortal | React.ReactElement<unknown, string | React.JSXElementConstructor<any>> | Iterable<React.ReactNode> | null | undefined> | React.JSX.Element | null | undefined;
|
|
@@ -31,7 +31,7 @@ export interface SimpleAccordionItemProps {
|
|
|
31
31
|
*/
|
|
32
32
|
onClick?: (opened: boolean) => void;
|
|
33
33
|
}
|
|
34
|
-
export declare function SimpleAccordionItem({ value, title, description, className, hideIcon, reverse, last, triggerClassName, onClick, }: SimpleAccordionItemProps): import("react
|
|
34
|
+
export declare function SimpleAccordionItem({ value, title, description, className, hideIcon, reverse, last, triggerClassName, onClick, }: SimpleAccordionItemProps): import("react").JSX.Element;
|
|
35
35
|
export declare namespace SimpleAccordionItem {
|
|
36
36
|
var displayName: string;
|
|
37
37
|
}
|
|
@@ -79,7 +79,7 @@ export interface SimpleAccordionProps {
|
|
|
79
79
|
* </SimpleAccordion>
|
|
80
80
|
* ```
|
|
81
81
|
*/
|
|
82
|
-
export declare function SimpleAccordion({ children, className, type, collapsible, defaultValue, }: SimpleAccordionProps): import("react
|
|
82
|
+
export declare function SimpleAccordion({ children, className, type, collapsible, defaultValue, }: SimpleAccordionProps): import("react").JSX.Element;
|
|
83
83
|
export declare namespace SimpleAccordion {
|
|
84
84
|
var displayName: string;
|
|
85
85
|
}
|
|
@@ -100,7 +100,7 @@ export interface SimpleDropdownProps {
|
|
|
100
100
|
* </SimpleDropdown>
|
|
101
101
|
* ```
|
|
102
102
|
*/
|
|
103
|
-
export declare function SimpleDropdown({ children, title, asChild, placement, align, sideOffset, maxWidth, minWidth, open, onOpenChange, modal, avoidCollisions, matchTriggerWidth, closeOnlyOnOutsideClick, className, triggerClassName, }: SimpleDropdownProps): import("react
|
|
103
|
+
export declare function SimpleDropdown({ children, title, asChild, placement, align, sideOffset, maxWidth, minWidth, open, onOpenChange, modal, avoidCollisions, matchTriggerWidth, closeOnlyOnOutsideClick, className, triggerClassName, }: SimpleDropdownProps): import("react").JSX.Element;
|
|
104
104
|
export declare namespace SimpleDropdown {
|
|
105
105
|
var displayName: string;
|
|
106
106
|
}
|
|
@@ -78,5 +78,5 @@ interface SkeletonProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "chil
|
|
|
78
78
|
* </Skeleton>
|
|
79
79
|
* ```
|
|
80
80
|
*/
|
|
81
|
-
declare function Skeleton({ className, variant, speed, width, height, loading, children, style, ...props }: SkeletonProps):
|
|
81
|
+
declare function Skeleton({ className, variant, speed, width, height, loading, children, style, ...props }: SkeletonProps): React.JSX.Element;
|
|
82
82
|
export { Skeleton, skeletonVariants };
|
|
@@ -11,6 +11,6 @@ interface SliderProviderProps {
|
|
|
11
11
|
min: number;
|
|
12
12
|
max: number;
|
|
13
13
|
}
|
|
14
|
-
export declare function SliderProvider({ children, colorIntervals, min, max, }: SliderProviderProps):
|
|
14
|
+
export declare function SliderProvider({ children, colorIntervals, min, max, }: SliderProviderProps): React.JSX.Element;
|
|
15
15
|
export declare function useSliderContext(): SliderContextValue | undefined;
|
|
16
16
|
export {};
|
|
@@ -13,5 +13,5 @@ interface SliderMarkProps {
|
|
|
13
13
|
* Uses onPointerDown + stopPropagation so Radix Slider
|
|
14
14
|
* doesn't also process the same click (prevents double-firing).
|
|
15
15
|
*/
|
|
16
|
-
export declare function SliderMark({ value, min, max, onSelect }: SliderMarkProps): import("react
|
|
16
|
+
export declare function SliderMark({ value, min, max, onSelect }: SliderMarkProps): import("react").JSX.Element | null;
|
|
17
17
|
export {};
|
|
@@ -4,4 +4,4 @@
|
|
|
4
4
|
* Intervals are rendered in reversed order so that the first interval
|
|
5
5
|
* in the array renders on top (matching original interface behavior).
|
|
6
6
|
*/
|
|
7
|
-
export declare function SliderTrack(): import("react
|
|
7
|
+
export declare function SliderTrack(): import("react").JSX.Element | null;
|
|
@@ -6,7 +6,7 @@ export interface AccountHealthDotProps {
|
|
|
6
6
|
/**
|
|
7
7
|
* HealthDot — colored dot indicating health factor zone.
|
|
8
8
|
*/
|
|
9
|
-
export declare function HealthDot({ zone, size }: AccountHealthDotProps): import("react
|
|
9
|
+
export declare function HealthDot({ zone, size }: AccountHealthDotProps): import("react").JSX.Element;
|
|
10
10
|
export interface StatusBarsProps {
|
|
11
11
|
/** Health factor zone; determines how many bars are filled (1–3) and their color. */
|
|
12
12
|
zone: HFZones;
|
|
@@ -23,4 +23,4 @@ export interface StatusBarsProps {
|
|
|
23
23
|
* <StatusBars zone="bad" />
|
|
24
24
|
* ```
|
|
25
25
|
*/
|
|
26
|
-
export declare function StatusBars({ zone }: StatusBarsProps): import("react
|
|
26
|
+
export declare function StatusBars({ zone }: StatusBarsProps): import("react").JSX.Element;
|
|
@@ -11,7 +11,7 @@ export interface TabControlProps<T extends string> {
|
|
|
11
11
|
variant?: "equal" | "auto";
|
|
12
12
|
tabItemWrapPadding?: string;
|
|
13
13
|
}
|
|
14
|
-
export declare function TabControl<T extends string>({ className, tabs, state: controlState, showBorder, tabItemWrapPadding, variant, }: TabControlProps<T>): import("react
|
|
14
|
+
export declare function TabControl<T extends string>({ className, tabs, state: controlState, showBorder, tabItemWrapPadding, variant, }: TabControlProps<T>): import("react").JSX.Element;
|
|
15
15
|
interface TabItemProps {
|
|
16
16
|
icon?: React.ReactNode;
|
|
17
17
|
label: React.ReactNode;
|
|
@@ -19,7 +19,7 @@ interface TabItemProps {
|
|
|
19
19
|
selected: boolean;
|
|
20
20
|
textSize?: "default" | "unset";
|
|
21
21
|
}
|
|
22
|
-
export declare function TabItem({ icon, label, selected, textSize, amount, }: TabItemProps): import("react
|
|
22
|
+
export declare function TabItem({ icon, label, selected, textSize, amount, }: TabItemProps): import("react").JSX.Element;
|
|
23
23
|
interface UseTabControlReturnType<T extends string> {
|
|
24
24
|
id: T;
|
|
25
25
|
index: number;
|
|
@@ -44,4 +44,4 @@ export interface GridLoadingLineProps extends React.HTMLAttributes<HTMLDivElemen
|
|
|
44
44
|
* <GridLoadingLine /> // Uses defaults
|
|
45
45
|
* ```
|
|
46
46
|
*/
|
|
47
|
-
export declare function GridLoadingLine({ height, columns, cellClassName, last, className, ...props }: GridLoadingLineProps):
|
|
47
|
+
export declare function GridLoadingLine({ height, columns, cellClassName, last, className, ...props }: GridLoadingLineProps): React.JSX.Element;
|
|
@@ -47,4 +47,4 @@ export interface TableLoaderProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
47
47
|
* </GridTable>
|
|
48
48
|
* ```
|
|
49
49
|
*/
|
|
50
|
-
export declare function TableLoader({ height, columns, rows, cellClassName, className, ...props }: TableLoaderProps):
|
|
50
|
+
export declare function TableLoader({ height, columns, rows, cellClassName, className, ...props }: TableLoaderProps): React.JSX.Element;
|
|
@@ -28,7 +28,7 @@ export interface TableCellSmProps extends Omit<React.HTMLAttributes<HTMLDivEleme
|
|
|
28
28
|
* </TableCellSm>
|
|
29
29
|
* ```
|
|
30
30
|
*/
|
|
31
|
-
export declare function TableCellSm({ title, className, children, ...props }: TableCellSmProps):
|
|
31
|
+
export declare function TableCellSm({ title, className, children, ...props }: TableCellSmProps): React.JSX.Element;
|
|
32
32
|
/**
|
|
33
33
|
* TableLineSmProps — props for TableLineSm component.
|
|
34
34
|
*/
|
|
@@ -91,4 +91,4 @@ export interface TableLineSmProps extends Omit<React.HTMLAttributes<HTMLDivEleme
|
|
|
91
91
|
* </TableLineSm>
|
|
92
92
|
* ```
|
|
93
93
|
*/
|
|
94
|
-
export declare function TableLineSm({ title, columnsXs, columnsSm, columnsMd, columns, className, children, ...props }: TableLineSmProps):
|
|
94
|
+
export declare function TableLineSm({ title, columnsXs, columnsSm, columnsMd, columns, className, children, ...props }: TableLineSmProps): React.JSX.Element;
|
|
@@ -30,5 +30,5 @@ export declare function useTheme(): ThemeContextValue;
|
|
|
30
30
|
*/
|
|
31
31
|
export declare function ThemeProvider({ children, defaultTheme, storageKey, attribute, enableColorScheme, }: ThemeConfig & {
|
|
32
32
|
children: ReactNode;
|
|
33
|
-
}): import("react
|
|
33
|
+
}): import("react").JSX.Element;
|
|
34
34
|
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { NetworkType } from '@gearbox-protocol/sdk';
|
|
2
1
|
import { Token } from '@gearbox-protocol/sdk/model';
|
|
2
|
+
import { NetworkType } from '@gearbox-protocol/sdk/onchain';
|
|
3
3
|
import { VariantProps } from 'class-variance-authority';
|
|
4
4
|
import { default as React } from 'react';
|
|
5
5
|
import { TokenMetaInfo } from '../../types/common';
|
|
@@ -48,5 +48,5 @@ export interface TokenTemplateProps extends Omit<FormattedNumberStringProps, "va
|
|
|
48
48
|
* // Output: "-1.5 ETH"
|
|
49
49
|
* ```
|
|
50
50
|
*/
|
|
51
|
-
export declare function TokenTemplate({ value, token, precision, formatter, noFormattedAmountValue, showSymbol, maxLength, ...rest }: TokenTemplateProps):
|
|
51
|
+
export declare function TokenTemplate({ value, token, precision, formatter, noFormattedAmountValue, showSymbol, maxLength, ...rest }: TokenTemplateProps): React.JSX.Element;
|
|
52
52
|
export { tokenTemplateString, negativeTokenTemplate };
|
|
@@ -82,7 +82,7 @@ export interface SimpleTooltipProps {
|
|
|
82
82
|
* </SimpleTooltip>
|
|
83
83
|
* ```
|
|
84
84
|
*/
|
|
85
|
-
export declare function SimpleTooltip({ children, title, placement, trigger, triangle, delayShow, maxWidth, minWidth, type, open: controlledOpen, onOpenChange: controlledOnOpenChange, className, triggerClassName, useTitleAsTrigger, }: SimpleTooltipProps):
|
|
85
|
+
export declare function SimpleTooltip({ children, title, placement, trigger, triangle, delayShow, maxWidth, minWidth, type, open: controlledOpen, onOpenChange: controlledOnOpenChange, className, triggerClassName, useTitleAsTrigger, }: SimpleTooltipProps): React.JSX.Element;
|
|
86
86
|
export declare namespace SimpleTooltip {
|
|
87
87
|
var displayName: string;
|
|
88
88
|
}
|
|
@@ -15,7 +15,11 @@ export interface GraphDataPoint {
|
|
|
15
15
|
* Graph data structure with title and data points
|
|
16
16
|
*/
|
|
17
17
|
export interface GraphData {
|
|
18
|
-
/**
|
|
18
|
+
/**
|
|
19
|
+
* Stable identifier used for color mapping and as the chart series key.
|
|
20
|
+
* Should match `GraphDropdownItem.value`. Keep this fixed when only `title`
|
|
21
|
+
* changes, otherwise the series is recreated and hover tooltips break.
|
|
22
|
+
*/
|
|
19
23
|
id?: string;
|
|
20
24
|
title?: string;
|
|
21
25
|
data: GraphDataPoint[];
|
|
@@ -9,7 +9,7 @@ export interface FormattedMessageTypedProps {
|
|
|
9
9
|
values?: Values;
|
|
10
10
|
defaultMessage?: string;
|
|
11
11
|
}
|
|
12
|
-
export declare function FormattedMessageTyped({ messageId, values, defaultMessage, }: FormattedMessageTypedProps):
|
|
12
|
+
export declare function FormattedMessageTyped({ messageId, values, defaultMessage, }: FormattedMessageTypedProps): React.JSX.Element;
|
|
13
13
|
export interface FormatMessageTypedProps {
|
|
14
14
|
messageId: LocaleKeys;
|
|
15
15
|
/** Fallback when the key is missing in the app's messages (e.g. app did not merge locale). */
|