@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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as y } from "react/jsx-runtime";
|
|
2
2
|
import { CHART_RANGES as b } from "@gearbox-protocol/sdk/model";
|
|
3
|
-
import { useMemo as
|
|
3
|
+
import { useMemo as S } from "react";
|
|
4
4
|
import { useTitleText as w } from "../text/use-title-text.js";
|
|
5
5
|
import "@gearbox-protocol/static";
|
|
6
6
|
import "../../checkbox/checkbox.js";
|
|
@@ -16,12 +16,12 @@ const N = b, O = {
|
|
|
16
16
|
"1y": "1Y",
|
|
17
17
|
max: "MAX"
|
|
18
18
|
};
|
|
19
|
-
function
|
|
19
|
+
function F({
|
|
20
20
|
data: t,
|
|
21
21
|
range: r,
|
|
22
22
|
onRange: s,
|
|
23
|
-
isLoading:
|
|
24
|
-
error:
|
|
23
|
+
isLoading: g = !1,
|
|
24
|
+
error: v,
|
|
25
25
|
yMeasureUnit: a = "none",
|
|
26
26
|
height: x,
|
|
27
27
|
seriesTitles: c,
|
|
@@ -33,17 +33,17 @@ function J({
|
|
|
33
33
|
trailing: R,
|
|
34
34
|
dualYAxis: E
|
|
35
35
|
}) {
|
|
36
|
-
const h = H(), G = w(), o =
|
|
36
|
+
const h = H(), G = w(), o = S(
|
|
37
37
|
() => Array.isArray(a) ? a : void 0,
|
|
38
38
|
[a]
|
|
39
|
-
),
|
|
39
|
+
), d = o != null && new Set(o).size > 1, l = E ?? d, p = o?.[0], L = S(() => {
|
|
40
40
|
const n = (i, e) => {
|
|
41
|
-
if (!
|
|
42
|
-
if (
|
|
43
|
-
const m = o[e] ??
|
|
41
|
+
if (!l) return i;
|
|
42
|
+
if (d && o != null && p != null) {
|
|
43
|
+
const m = o[e] ?? p;
|
|
44
44
|
return {
|
|
45
45
|
...i,
|
|
46
|
-
priceScaleId: m ===
|
|
46
|
+
priceScaleId: m === p ? "left" : "right"
|
|
47
47
|
};
|
|
48
48
|
}
|
|
49
49
|
return {
|
|
@@ -66,17 +66,18 @@ function J({
|
|
|
66
66
|
m
|
|
67
67
|
)
|
|
68
68
|
);
|
|
69
|
-
}, [t, c,
|
|
69
|
+
}, [t, c, d, l, p, o]);
|
|
70
70
|
return /* @__PURE__ */ y("div", { "data-testid": M.root, children: /* @__PURE__ */ y(
|
|
71
71
|
D,
|
|
72
72
|
{
|
|
73
73
|
data: L,
|
|
74
|
-
isLoading:
|
|
75
|
-
error:
|
|
74
|
+
isLoading: g,
|
|
75
|
+
error: v ? h.formatMessage({ messageId: "components.historyChart.error" }) : void 0,
|
|
76
76
|
emptyMessage: h.formatMessage({
|
|
77
77
|
messageId: "components.historyChart.empty"
|
|
78
78
|
}),
|
|
79
|
-
dualYAxis:
|
|
79
|
+
dualYAxis: l,
|
|
80
|
+
useSharedPriceScale: !l,
|
|
80
81
|
yMeasureUnit: a,
|
|
81
82
|
height: x,
|
|
82
83
|
rangeList: N.map((n) => ({
|
|
@@ -106,6 +107,6 @@ function T(t) {
|
|
|
106
107
|
});
|
|
107
108
|
}
|
|
108
109
|
export {
|
|
109
|
-
|
|
110
|
+
F as HistoryChart,
|
|
110
111
|
M as HistoryChartTest
|
|
111
112
|
};
|
|
@@ -3,7 +3,7 @@ import { Stack as c } from "../stack/stack.js";
|
|
|
3
3
|
import { useTitleText as n } from "../text/use-title-text.js";
|
|
4
4
|
import "react";
|
|
5
5
|
import { pointProgramsOf as f } from "../../../utils/apy-breakdown.js";
|
|
6
|
-
import "@gearbox-protocol/sdk";
|
|
6
|
+
import "@gearbox-protocol/sdk/onchain";
|
|
7
7
|
import "clsx";
|
|
8
8
|
import "tailwind-merge";
|
|
9
9
|
import "sonner";
|
|
@@ -2,7 +2,7 @@ import { jsxs as i, jsx as e } from "react/jsx-runtime";
|
|
|
2
2
|
import "react-intl";
|
|
3
3
|
import "../../buttons/button/button.js";
|
|
4
4
|
import "react";
|
|
5
|
-
import "@gearbox-protocol/sdk";
|
|
5
|
+
import "@gearbox-protocol/sdk/onchain";
|
|
6
6
|
import "clsx";
|
|
7
7
|
import "tailwind-merge";
|
|
8
8
|
import "sonner";
|
|
@@ -14,7 +14,7 @@ import "../../dialog/dialog-container.js";
|
|
|
14
14
|
import "../../dialog/dialog-content.js";
|
|
15
15
|
import "../../dialog/dialog-description.js";
|
|
16
16
|
import "../../dialog/dialog-footer.js";
|
|
17
|
-
import "@gearbox-protocol/sdk";
|
|
17
|
+
import "@gearbox-protocol/sdk/onchain";
|
|
18
18
|
import "clsx";
|
|
19
19
|
import "tailwind-merge";
|
|
20
20
|
import "sonner";
|
|
@@ -1,51 +1,67 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { FormattedMessageTyped as
|
|
1
|
+
import { jsxs as d, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { FormattedMessageTyped as a } from "../../typed-intl/index.js";
|
|
3
3
|
import { VerticalIndicator as m } from "../../vertical-indicator/vertical-indicator.js";
|
|
4
4
|
import "react";
|
|
5
|
-
import "@gearbox-protocol/sdk";
|
|
5
|
+
import "@gearbox-protocol/sdk/onchain";
|
|
6
6
|
import "clsx";
|
|
7
7
|
import "tailwind-merge";
|
|
8
8
|
import "sonner";
|
|
9
|
-
import { percentTemplate as
|
|
9
|
+
import { percentTemplate as l } from "../../../utils/format-money.js";
|
|
10
10
|
import "@gearbox-protocol/sdk/common-utils";
|
|
11
11
|
import "luxon";
|
|
12
12
|
import "../../../utils/z-index.js";
|
|
13
|
-
import { SideCard as
|
|
14
|
-
import { PoolApyBreakdownCardTest as
|
|
15
|
-
function
|
|
13
|
+
import { SideCard as s } from "../side-card/side-card.js";
|
|
14
|
+
import { PoolApyBreakdownCardTest as p } from "./constants.js";
|
|
15
|
+
function t(r, o, i) {
|
|
16
|
+
return r === "7d" ? i : o;
|
|
17
|
+
}
|
|
18
|
+
function n({
|
|
16
19
|
title: r,
|
|
17
|
-
value:
|
|
20
|
+
value: o
|
|
18
21
|
}) {
|
|
19
|
-
return /* @__PURE__ */
|
|
22
|
+
return /* @__PURE__ */ e(
|
|
20
23
|
m,
|
|
21
24
|
{
|
|
22
25
|
size: "sm",
|
|
23
|
-
label: /* @__PURE__ */
|
|
24
|
-
value: /* @__PURE__ */
|
|
26
|
+
label: /* @__PURE__ */ e(a, { messageId: r }),
|
|
27
|
+
value: /* @__PURE__ */ e("span", { "data-testid": p.value, children: o === void 0 ? "—" : l(o / 100) })
|
|
25
28
|
}
|
|
26
29
|
);
|
|
27
30
|
}
|
|
28
|
-
function
|
|
29
|
-
data: r
|
|
31
|
+
function h({
|
|
32
|
+
data: r,
|
|
33
|
+
period: o
|
|
30
34
|
}) {
|
|
31
|
-
return /* @__PURE__ */
|
|
32
|
-
|
|
35
|
+
return /* @__PURE__ */ d(
|
|
36
|
+
s,
|
|
33
37
|
{
|
|
34
|
-
title:
|
|
35
|
-
|
|
38
|
+
title: t(
|
|
39
|
+
o,
|
|
40
|
+
"components.poolApyBreakdownCard.title",
|
|
41
|
+
"components.poolApyBreakdownCard.title7d"
|
|
42
|
+
),
|
|
43
|
+
testId: p.root,
|
|
36
44
|
children: [
|
|
37
|
-
/* @__PURE__ */
|
|
38
|
-
|
|
45
|
+
/* @__PURE__ */ e(
|
|
46
|
+
n,
|
|
39
47
|
{
|
|
40
|
-
title:
|
|
48
|
+
title: t(
|
|
49
|
+
o,
|
|
50
|
+
"components.poolApyBreakdownCard.organicApy",
|
|
51
|
+
"components.poolApyBreakdownCard.organicApy7d"
|
|
52
|
+
),
|
|
41
53
|
value: r?.organicApy
|
|
42
54
|
}
|
|
43
55
|
),
|
|
44
|
-
/* @__PURE__ */
|
|
45
|
-
|
|
56
|
+
/* @__PURE__ */ e(
|
|
57
|
+
n,
|
|
46
58
|
{
|
|
47
|
-
title:
|
|
48
|
-
|
|
59
|
+
title: t(
|
|
60
|
+
o,
|
|
61
|
+
"components.poolApyBreakdownCard.incentiveApy",
|
|
62
|
+
"components.poolApyBreakdownCard.incentiveApy7d"
|
|
63
|
+
),
|
|
64
|
+
value: r == null ? void 0 : r.incentiveApy ?? 0
|
|
49
65
|
}
|
|
50
66
|
)
|
|
51
67
|
]
|
|
@@ -53,6 +69,6 @@ function I({
|
|
|
53
69
|
);
|
|
54
70
|
}
|
|
55
71
|
export {
|
|
56
|
-
|
|
57
|
-
|
|
72
|
+
h as PoolApyBreakdownCard,
|
|
73
|
+
p as PoolApyBreakdownCardTest
|
|
58
74
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as n, jsxs as m, Fragment as p } from "react/jsx-runtime";
|
|
2
2
|
import { Stack as h } from "../stack/stack.js";
|
|
3
3
|
import "react";
|
|
4
|
-
import "@gearbox-protocol/sdk";
|
|
4
|
+
import "@gearbox-protocol/sdk/onchain";
|
|
5
5
|
import "clsx";
|
|
6
6
|
import "tailwind-merge";
|
|
7
7
|
import "sonner";
|
|
@@ -4,7 +4,7 @@ import { Button as d } from "../../buttons/button/button.js";
|
|
|
4
4
|
import { TipCard as l } from "../../tip-card/tip-card.js";
|
|
5
5
|
import { FormattedMessageTyped as r } from "../../typed-intl/index.js";
|
|
6
6
|
import "react";
|
|
7
|
-
import "@gearbox-protocol/sdk";
|
|
7
|
+
import "@gearbox-protocol/sdk/onchain";
|
|
8
8
|
import { cn as c } from "../../../utils/cn.js";
|
|
9
9
|
import "sonner";
|
|
10
10
|
import "@gearbox-protocol/sdk/common-utils";
|
|
@@ -3,7 +3,7 @@ import { Link as S } from "react-router-dom";
|
|
|
3
3
|
import { Stack as v } from "../stack/stack.js";
|
|
4
4
|
import { Button as n } from "../../buttons/button/button.js";
|
|
5
5
|
import "react";
|
|
6
|
-
import "@gearbox-protocol/sdk";
|
|
6
|
+
import "@gearbox-protocol/sdk/onchain";
|
|
7
7
|
import { cn as y } from "../../../utils/cn.js";
|
|
8
8
|
import "sonner";
|
|
9
9
|
import "@gearbox-protocol/sdk/common-utils";
|
|
@@ -2,7 +2,7 @@ import { jsxs as t, jsx as e } from "react/jsx-runtime";
|
|
|
2
2
|
import { useTitleText as l } from "../text/use-title-text.js";
|
|
3
3
|
import { Typography as p } from "../../typography/typography.js";
|
|
4
4
|
import "react";
|
|
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";
|
|
@@ -5,7 +5,7 @@ import { faCaretDown as h, faCaretUp as S } from "@fortawesome/free-solid-svg-ic
|
|
|
5
5
|
import { FaIcon as v } from "../../icons/fa-icon.js";
|
|
6
6
|
import { Skeleton as N } from "../../skeleton/skeleton.js";
|
|
7
7
|
import "react";
|
|
8
|
-
import "@gearbox-protocol/sdk";
|
|
8
|
+
import "@gearbox-protocol/sdk/onchain";
|
|
9
9
|
import { cn as o } from "../../../utils/cn.js";
|
|
10
10
|
import "sonner";
|
|
11
11
|
import "@gearbox-protocol/sdk/common-utils";
|
|
@@ -4,7 +4,7 @@ import { TokenIcon as N } from "../../token-icon/token-icon.js";
|
|
|
4
4
|
import { FormattedMessageTyped as l } from "../../typed-intl/index.js";
|
|
5
5
|
import "react";
|
|
6
6
|
import { totalApyOf as A, positiveTokenRewardsOf as I, pointProgramsOf as B } from "../../../utils/apy-breakdown.js";
|
|
7
|
-
import "@gearbox-protocol/sdk";
|
|
7
|
+
import "@gearbox-protocol/sdk/onchain";
|
|
8
8
|
import { bpsToPercent as C } from "../../../utils/bps.js";
|
|
9
9
|
import { cn as g } from "../../../utils/cn.js";
|
|
10
10
|
import "sonner";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as r, jsxs as p } from "react/jsx-runtime";
|
|
2
2
|
import { TokenSymbol as m } from "../../token-symbol/token-symbol.js";
|
|
3
3
|
import "react";
|
|
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";
|
|
@@ -3,7 +3,7 @@ import { Badge as r } from "../../badge/badge.js";
|
|
|
3
3
|
import "../../badge/chip.js";
|
|
4
4
|
import { FormattedMessageTyped as o } from "../../typed-intl/index.js";
|
|
5
5
|
import "react";
|
|
6
|
-
import "@gearbox-protocol/sdk";
|
|
6
|
+
import "@gearbox-protocol/sdk/onchain";
|
|
7
7
|
import { cn as i } from "../../../utils/cn.js";
|
|
8
8
|
import "sonner";
|
|
9
9
|
import "@gearbox-protocol/sdk/common-utils";
|
|
@@ -3,7 +3,7 @@ import { Badge as r } from "../../badge/badge.js";
|
|
|
3
3
|
import "../../badge/chip.js";
|
|
4
4
|
import { FormattedMessageTyped as i } from "../../typed-intl/index.js";
|
|
5
5
|
import "react";
|
|
6
|
-
import "@gearbox-protocol/sdk";
|
|
6
|
+
import "@gearbox-protocol/sdk/onchain";
|
|
7
7
|
import { cn as n } from "../../../utils/cn.js";
|
|
8
8
|
import "sonner";
|
|
9
9
|
import "@gearbox-protocol/sdk/common-utils";
|
|
@@ -4,7 +4,7 @@ import { CompoundAPY as p } from "../../compound-apy/compound-apy.js";
|
|
|
4
4
|
import { SimpleTooltip as a } from "../../tooltip/simple-tooltip.js";
|
|
5
5
|
import "../../tooltip/tooltip.js";
|
|
6
6
|
import "react";
|
|
7
|
-
import "@gearbox-protocol/sdk";
|
|
7
|
+
import "@gearbox-protocol/sdk/onchain";
|
|
8
8
|
import { cn as c } from "../../../utils/cn.js";
|
|
9
9
|
import "sonner";
|
|
10
10
|
import { formatAssetAmount as d } from "../../../utils/format-asset-amount.js";
|
|
@@ -3,7 +3,7 @@ import { Slot as b } from "@radix-ui/react-slot";
|
|
|
3
3
|
import { cva as k } from "class-variance-authority";
|
|
4
4
|
import * as y from "react";
|
|
5
5
|
import { useNavigationAdapter as N } from "../navigation-context/navigation-context.js";
|
|
6
|
-
import "@gearbox-protocol/sdk";
|
|
6
|
+
import "@gearbox-protocol/sdk/onchain";
|
|
7
7
|
import { cn as j } from "../../utils/cn.js";
|
|
8
8
|
import "sonner";
|
|
9
9
|
import "@gearbox-protocol/sdk/common-utils";
|
|
@@ -2,7 +2,7 @@ import { jsx as i, jsxs as a } from "react/jsx-runtime";
|
|
|
2
2
|
import "react-intl";
|
|
3
3
|
import "../buttons/button/button.js";
|
|
4
4
|
import "react";
|
|
5
|
-
import "@gearbox-protocol/sdk";
|
|
5
|
+
import "@gearbox-protocol/sdk/onchain";
|
|
6
6
|
import { cn as o } from "../../utils/cn.js";
|
|
7
7
|
import "sonner";
|
|
8
8
|
import "@gearbox-protocol/sdk/common-utils";
|
|
@@ -4,7 +4,7 @@ import { Guard as x } from "../guard/guard.js";
|
|
|
4
4
|
import { HeadCell as y } from "../head-cell/head-cell.js";
|
|
5
5
|
import "react-intl";
|
|
6
6
|
import "../buttons/button/button.js";
|
|
7
|
-
import "@gearbox-protocol/sdk";
|
|
7
|
+
import "@gearbox-protocol/sdk/onchain";
|
|
8
8
|
import { cn as n } from "../../utils/cn.js";
|
|
9
9
|
import "sonner";
|
|
10
10
|
import "@gearbox-protocol/sdk/common-utils";
|
|
@@ -2,7 +2,7 @@ import { jsx as r, jsxs as h } from "react/jsx-runtime";
|
|
|
2
2
|
import { IconExpand as x } from "@gearbox-protocol/static";
|
|
3
3
|
import { useNavigationAdapter as N } from "../navigation-context/navigation-context.js";
|
|
4
4
|
import "react";
|
|
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";
|
|
@@ -3,7 +3,7 @@ import { cva as f } from "class-variance-authority";
|
|
|
3
3
|
import { faArrowLeft as u } from "@fortawesome/free-solid-svg-icons";
|
|
4
4
|
import { FaIcon as c } from "../../icons/fa-icon.js";
|
|
5
5
|
import "react";
|
|
6
|
-
import "@gearbox-protocol/sdk";
|
|
6
|
+
import "@gearbox-protocol/sdk/onchain";
|
|
7
7
|
import { cn as p } from "../../../utils/cn.js";
|
|
8
8
|
import "sonner";
|
|
9
9
|
import "@gearbox-protocol/sdk/common-utils";
|
|
@@ -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";
|
|
@@ -5,7 +5,7 @@ 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";
|
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";
|