@gearbox-protocol/permissionless-ui 1.22.0-next.46 → 1.22.0-next.47
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/components/accordion/accordion.cjs +1 -1
- package/dist/cjs/components/address/address.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/apy/apy.cjs +1 -1
- package/dist/cjs/components/arc-loader/arc-loader.cjs +1 -1
- package/dist/cjs/components/asset-line/asset-line.cjs +1 -1
- package/dist/cjs/components/assets-list-cell/assets-list-cell.cjs +1 -1
- package/dist/cjs/components/assets-ratio/assets-ratio.cjs +1 -1
- package/dist/cjs/components/auth/connect-required.cjs +1 -1
- package/dist/cjs/components/auth/signin-required.cjs +1 -1
- package/dist/cjs/components/avatar/avatar.cjs +1 -1
- package/dist/cjs/components/badge/badge.cjs +1 -1
- package/dist/cjs/components/base-link/base-link.cjs +1 -1
- package/dist/cjs/components/block-sync/block-sync.cjs +1 -1
- package/dist/cjs/components/breadcrumbs/breadcrumbs.cjs +1 -1
- package/dist/cjs/components/button-checkbox/button-checkbox.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/card-grid/card-grid.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/carousel/carousel.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/colored-text/colored-text.cjs +1 -1
- package/dist/cjs/components/complex-input/complex-input.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/credit-session-status/credit-session-status.cjs +1 -1
- package/dist/cjs/components/currency-button/currency-button.cjs +1 -1
- package/dist/cjs/components/description/description.cjs +1 -1
- package/dist/cjs/components/detailed-apy/detailed-apy.cjs +1 -1
- package/dist/cjs/components/detailed-page-title/detailed-page-title.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-label/dropdown-label.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/error-view/error-view.cjs +1 -1
- package/dist/cjs/components/explorer-links-dropdown/explorer-links-dropdown.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/general-asset-list/general-asset-list.cjs +1 -1
- package/dist/cjs/components/general-select/general-select.cjs +1 -1
- package/dist/cjs/components/grid-td-cell/grid-td-cell.cjs +1 -1
- package/dist/cjs/components/head-cell/head-cell.cjs +1 -1
- package/dist/cjs/components/health-factor/health-factor.cjs +1 -1
- package/dist/cjs/components/help-sections/help-sections.cjs +1 -1
- package/dist/cjs/components/help-tip/help-tip.cjs +1 -1
- package/dist/cjs/components/horizontal-indicator/horizontal-indicator.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/layout/block/block.cjs +1 -1
- package/dist/cjs/components/liquidation-price/liquidation-price.cjs +1 -1
- package/dist/cjs/components/loader-guard/loader-guard.cjs +1 -1
- package/dist/cjs/components/markdown-viewer/markdown-viewer.cjs +1 -1
- package/dist/cjs/components/modal/modal.cjs +1 -1
- package/dist/cjs/components/navbar/navbar.cjs +1 -1
- package/dist/cjs/components/navbar-logo/navbar-logo.cjs +1 -1
- package/dist/cjs/components/navitem/navitem.cjs +1 -1
- package/dist/cjs/components/not-found/not-found.cjs +1 -1
- package/dist/cjs/components/options-list/options-list.cjs +1 -1
- package/dist/cjs/components/overflow/overflow.cjs +1 -1
- package/dist/cjs/components/overflow-container/overflow-container.cjs +1 -1
- package/dist/cjs/components/page-title/page-title.cjs +1 -1
- package/dist/cjs/components/percent-indicator/percent-indicator.cjs +1 -1
- package/dist/cjs/components/pool-indicator-icon/pool-indicator-icon.cjs +1 -1
- package/dist/cjs/components/pool-points-indicator/pool-points-indicator.cjs +1 -1
- package/dist/cjs/components/progress/progress.cjs +1 -1
- package/dist/cjs/components/progress-circle/progress-circle.cjs +1 -1
- package/dist/cjs/components/radio-group/radio-group.cjs +1 -1
- package/dist/cjs/components/rounded-image/rounded-image.cjs +1 -1
- package/dist/cjs/components/row/row.cjs +1 -1
- package/dist/cjs/components/search-bar/search-bar.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/separator/separator.cjs +1 -1
- package/dist/cjs/components/short-string/short-string.cjs +1 -1
- package/dist/cjs/components/signatures/confirmation-item.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/slider-token/slider-token.cjs +1 -1
- package/dist/cjs/components/smart-number-input/balance-indicator.cjs +1 -1
- package/dist/cjs/components/smart-number-input/smart-number-input.cjs +1 -1
- package/dist/cjs/components/spinner/spinner.cjs +1 -1
- package/dist/cjs/components/split-list/split-list.cjs +1 -1
- package/dist/cjs/components/stat-badge/stat-badge.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/status-triangle/status-triangle.cjs +1 -1
- package/dist/cjs/components/stepper/stepper.cjs +1 -1
- package/dist/cjs/components/styled-dropdown/styled-dropdown.cjs +1 -1
- package/dist/cjs/components/switch/switch.cjs +1 -1
- package/dist/cjs/components/tab-control/tab-control.cjs +1 -1
- package/dist/cjs/components/table/edit-button.cjs +1 -1
- package/dist/cjs/components/table/editable-grid-table.cjs +1 -1
- package/dist/cjs/components/table/editable-table.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/time-to-liquidation/time-to-liquidation.cjs +1 -1
- package/dist/cjs/components/tip-card/tip-card.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/tokens-list-cell/tokens-list-cell.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/typography/typography.cjs +1 -1
- package/dist/cjs/components/vertical-indicator/vertical-indicator.cjs +1 -1
- package/dist/cjs/components/vertical-list/vertical-list.cjs +1 -1
- package/dist/cjs/components/with-copy/with-copy.cjs +1 -1
- package/dist/cjs/components/with-filter-button/with-filter-button.cjs +1 -1
- package/dist/cjs/components/with-title/with-title.cjs +1 -1
- package/dist/cjs/index.cjs +1 -1
- package/dist/cjs/utils/format-money.cjs +1 -1
- package/dist/cjs/utils/index.cjs +1 -1
- package/dist/cjs/utils/ttl.cjs +1 -1
- package/dist/esm/components/accordion/accordion.js +6 -5
- package/dist/esm/components/address/address.js +3 -2
- package/dist/esm/components/alert-badge/alert-badge.js +1 -0
- package/dist/esm/components/alert-dialog/alert-dialog.js +4 -3
- package/dist/esm/components/apy/apy.js +14 -13
- package/dist/esm/components/arc-loader/arc-loader.js +8 -7
- package/dist/esm/components/asset-line/asset-line.js +8 -7
- package/dist/esm/components/assets-list-cell/assets-list-cell.js +3 -2
- package/dist/esm/components/assets-ratio/assets-ratio.js +17 -16
- package/dist/esm/components/auth/connect-required.js +6 -5
- package/dist/esm/components/auth/signin-required.js +10 -9
- package/dist/esm/components/avatar/avatar.js +8 -7
- package/dist/esm/components/badge/badge.js +3 -2
- package/dist/esm/components/base-link/base-link.js +11 -10
- package/dist/esm/components/block-sync/block-sync.js +4 -2
- package/dist/esm/components/breadcrumbs/breadcrumbs.js +3 -2
- package/dist/esm/components/button-checkbox/button-checkbox.js +8 -7
- package/dist/esm/components/buttons/back-button/back-button.js +8 -7
- package/dist/esm/components/buttons/button/button.js +1 -0
- package/dist/esm/components/buttons/copy-button/copy-button.js +1 -0
- package/dist/esm/components/buttons/external-button/external-button.js +1 -0
- package/dist/esm/components/buttons/navigation-button/navigation-button.js +1 -0
- package/dist/esm/components/buttons/range-buttons/range-buttons.js +3 -2
- package/dist/esm/components/card-grid/card-grid.js +9 -8
- package/dist/esm/components/cards/card/card.js +5 -4
- package/dist/esm/components/cards/expandable-call/expandable-call.js +7 -6
- package/dist/esm/components/cards/expandable-card/expandable-card.js +5 -4
- package/dist/esm/components/carousel/carousel.js +7 -6
- package/dist/esm/components/checkbox/checkbox-labeled.js +2 -0
- package/dist/esm/components/checkbox/checkbox.js +4 -3
- package/dist/esm/components/checkbox-item/checkbox-item.js +1 -0
- package/dist/esm/components/client-adapters/styled-button/styled-button.js +5 -4
- package/dist/esm/components/client-adapters/styled-dialog-container/styled-dialog-container.js +14 -13
- package/dist/esm/components/client-adapters/styled-rounded-image/styled-rounded-image.js +2 -0
- package/dist/esm/components/colored-text/colored-text.js +5 -4
- package/dist/esm/components/complex-input/complex-input.js +4 -2
- package/dist/esm/components/compound-apy/compound-apy.js +10 -9
- package/dist/esm/components/confirm-menu/confirm-menu.js +8 -7
- package/dist/esm/components/credit-session-status/credit-session-status.js +7 -6
- package/dist/esm/components/currency-button/currency-button.js +3 -2
- package/dist/esm/components/description/description.js +5 -4
- package/dist/esm/components/detailed-apy/detailed-apy.js +11 -10
- package/dist/esm/components/detailed-page-title/detailed-page-title.js +3 -2
- package/dist/esm/components/dialog/dialog-container.js +1 -0
- package/dist/esm/components/dialog/dialog-content.js +4 -3
- package/dist/esm/components/dialog/dialog-description.js +6 -5
- package/dist/esm/components/dialog/dialog-footer.js +8 -7
- package/dist/esm/components/dialog/dialog-form.js +3 -2
- package/dist/esm/components/dialog/dialog-header.js +1 -0
- package/dist/esm/components/dialog/dialog-modal-container.js +6 -5
- package/dist/esm/components/dialog/dialog-overlay.js +1 -0
- package/dist/esm/components/dialog/dialog-title.js +1 -0
- package/dist/esm/components/dropdown-label/dropdown-label.js +9 -8
- package/dist/esm/components/dropdown-menu/dropdown-menu-checkbox-item.js +1 -0
- package/dist/esm/components/dropdown-menu/dropdown-menu-content.js +4 -3
- package/dist/esm/components/dropdown-menu/dropdown-menu-item.js +1 -0
- package/dist/esm/components/dropdown-menu/dropdown-menu-label.js +6 -5
- package/dist/esm/components/dropdown-menu/dropdown-menu-radio-item.js +4 -3
- package/dist/esm/components/dropdown-menu/dropdown-menu-separator.js +1 -0
- package/dist/esm/components/dropdown-menu/dropdown-menu-shortcut.js +1 -0
- package/dist/esm/components/dropdown-menu/dropdown-menu-sub-content.js +1 -0
- package/dist/esm/components/dropdown-menu/dropdown-menu-sub-trigger.js +6 -5
- package/dist/esm/components/edit-input/edit-input.js +3 -2
- package/dist/esm/components/error-message/error-line-message.js +7 -6
- package/dist/esm/components/error-message/error-message.js +3 -2
- package/dist/esm/components/error-view/error-view.js +11 -10
- package/dist/esm/components/explorer-links-dropdown/explorer-links-dropdown.js +8 -7
- package/dist/esm/components/fadeout-loading/fadeout-loading.js +9 -8
- package/dist/esm/components/filter/filter-block.js +1 -0
- package/dist/esm/components/filter/filter-checkbox-item.js +4 -3
- package/dist/esm/components/filter/filter-chip.js +5 -4
- package/dist/esm/components/filter/filter-chips.js +9 -8
- package/dist/esm/components/filter/filter-dropdown-item.js +5 -4
- package/dist/esm/components/filter/filter-group.js +1 -0
- package/dist/esm/components/filter/filter-label.js +8 -7
- package/dist/esm/components/filter/filter-modal-item.js +5 -4
- package/dist/esm/components/filter/filter-modal.js +3 -2
- package/dist/esm/components/filter/filter-radio-item.js +4 -3
- package/dist/esm/components/filter/filter-separator.js +1 -0
- package/dist/esm/components/formatted-number/formatted-number.js +3 -2
- package/dist/esm/components/general-asset-list/general-asset-list.js +3 -2
- package/dist/esm/components/general-select/general-select.js +3 -2
- package/dist/esm/components/grid-td-cell/grid-td-cell.js +3 -2
- package/dist/esm/components/head-cell/head-cell.js +5 -4
- package/dist/esm/components/health-factor/health-factor.js +11 -10
- package/dist/esm/components/help-sections/help-sections.js +5 -4
- package/dist/esm/components/help-tip/help-tip.js +1 -0
- package/dist/esm/components/horizontal-indicator/horizontal-indicator.js +1 -0
- package/dist/esm/components/icon-button/icon-button.js +4 -3
- package/dist/esm/components/icons/fa-icon.js +3 -2
- package/dist/esm/components/index.js +76 -74
- package/dist/esm/components/input/input.js +7 -6
- package/dist/esm/components/label/label.js +7 -6
- package/dist/esm/components/layout/block/block.js +7 -6
- package/dist/esm/components/liquidation-price/liquidation-price.js +5 -4
- package/dist/esm/components/loader-guard/loader-guard.js +9 -8
- package/dist/esm/components/markdown-viewer/markdown-viewer.js +3 -2
- package/dist/esm/components/modal/modal.js +1 -0
- package/dist/esm/components/navbar/navbar.js +16 -15
- package/dist/esm/components/navbar-logo/navbar-logo.js +9 -8
- package/dist/esm/components/navitem/navitem.js +11 -10
- package/dist/esm/components/not-found/not-found.js +7 -6
- package/dist/esm/components/options-list/options-list.js +12 -11
- package/dist/esm/components/overflow/overflow.js +9 -8
- package/dist/esm/components/overflow-container/overflow-container.js +11 -10
- package/dist/esm/components/page-title/page-title.js +1 -0
- package/dist/esm/components/percent-indicator/percent-indicator.js +6 -5
- package/dist/esm/components/pool-indicator-icon/pool-indicator-icon.js +5 -4
- package/dist/esm/components/pool-points-indicator/pool-points-indicator.js +8 -7
- package/dist/esm/components/progress/progress.js +8 -7
- package/dist/esm/components/progress-circle/progress-circle.js +11 -10
- package/dist/esm/components/radio-group/radio-group.js +6 -5
- package/dist/esm/components/rounded-image/rounded-image.js +6 -5
- package/dist/esm/components/row/row.js +7 -6
- package/dist/esm/components/search-bar/search-bar.js +9 -8
- package/dist/esm/components/search-line/search-line.js +8 -7
- package/dist/esm/components/segmented-control/segmented-control.js +1 -0
- package/dist/esm/components/select/select.js +4 -3
- package/dist/esm/components/separator/separator.js +4 -3
- package/dist/esm/components/short-string/short-string.js +6 -5
- package/dist/esm/components/signatures/confirmation-item.js +11 -10
- package/dist/esm/components/skeleton/skeleton-stack.js +8 -7
- package/dist/esm/components/skeleton/skeleton.js +7 -6
- package/dist/esm/components/slider/slider.js +24 -23
- package/dist/esm/components/slider-token/slider-token.js +10 -9
- package/dist/esm/components/smart-number-input/balance-indicator.js +3 -2
- package/dist/esm/components/smart-number-input/smart-number-input.js +1 -0
- package/dist/esm/components/spinner/spinner.js +1 -0
- package/dist/esm/components/split-list/split-list.js +5 -4
- package/dist/esm/components/stat-badge/stat-badge.js +1 -0
- package/dist/esm/components/status-dot/status-dot.js +3 -2
- package/dist/esm/components/status-elements/status-elements.js +5 -4
- package/dist/esm/components/status-triangle/status-triangle.js +5 -4
- package/dist/esm/components/stepper/stepper.js +1 -0
- package/dist/esm/components/styled-dropdown/styled-dropdown.js +11 -10
- package/dist/esm/components/switch/switch.js +1 -0
- package/dist/esm/components/tab-control/tab-control.js +11 -10
- package/dist/esm/components/table/edit-button.js +3 -2
- package/dist/esm/components/table/editable-grid-table.js +7 -6
- package/dist/esm/components/table/editable-table.js +20 -19
- package/dist/esm/components/table/grid-loading-line.js +3 -2
- package/dist/esm/components/table/table-sm.js +8 -7
- package/dist/esm/components/table/table.js +13 -12
- package/dist/esm/components/tabs/tabs.js +11 -10
- package/dist/esm/components/text-button/text-button.js +14 -13
- package/dist/esm/components/textarea/textarea.js +3 -2
- package/dist/esm/components/time-to-liquidation/time-to-liquidation.js +150 -37
- package/dist/esm/components/tip-card/tip-card.js +1 -0
- package/dist/esm/components/token-symbol/token-symbol.js +1 -0
- package/dist/esm/components/token-template/token-template.js +9 -8
- package/dist/esm/components/tokens-list-cell/tokens-list-cell.js +10 -9
- package/dist/esm/components/tooltip/simple-tooltip.js +9 -8
- package/dist/esm/components/tooltip/tooltip.js +9 -8
- package/dist/esm/components/typography/typography.js +6 -5
- package/dist/esm/components/vertical-indicator/vertical-indicator.js +6 -5
- package/dist/esm/components/vertical-list/vertical-list.js +13 -12
- package/dist/esm/components/with-copy/with-copy.js +3 -2
- package/dist/esm/components/with-filter-button/with-filter-button.js +5 -4
- package/dist/esm/components/with-title/with-title.js +9 -8
- package/dist/esm/index.js +211 -209
- package/dist/esm/utils/format-money.js +9 -8
- package/dist/esm/utils/index.js +18 -18
- package/dist/esm/utils/ttl.js +32 -33
- package/dist/types/components/index.d.ts +1 -0
- package/dist/types/components/time-to-liquidation/time-to-liquidation.d.ts +18 -14
- package/dist/types/index.d.ts +1 -0
- package/dist/types/utils/ttl.d.ts +13 -13
- package/package.json +1 -1
|
@@ -3,9 +3,10 @@ import "react";
|
|
|
3
3
|
import "@gearbox-protocol/sdk";
|
|
4
4
|
import { cn as t } from "../../utils/cn.js";
|
|
5
5
|
import "sonner";
|
|
6
|
-
|
|
6
|
+
import "luxon";
|
|
7
|
+
function c({ children: r, className: i, ...m }) {
|
|
7
8
|
return /* @__PURE__ */ o("td", { className: t("px-3 py-2 align-middle", i), ...m, children: r });
|
|
8
9
|
}
|
|
9
10
|
export {
|
|
10
|
-
|
|
11
|
+
c as GridTDCell
|
|
11
12
|
};
|
|
@@ -8,7 +8,8 @@ import { TooltipProvider as y, Tooltip as b, TooltipTrigger as H, TooltipContent
|
|
|
8
8
|
import "@gearbox-protocol/sdk";
|
|
9
9
|
import { cn as n } from "../../utils/cn.js";
|
|
10
10
|
import "sonner";
|
|
11
|
-
|
|
11
|
+
import "luxon";
|
|
12
|
+
function U({
|
|
12
13
|
title: l,
|
|
13
14
|
tip: r,
|
|
14
15
|
arrowPosition: i = "left",
|
|
@@ -61,7 +62,7 @@ function R({
|
|
|
61
62
|
}
|
|
62
63
|
);
|
|
63
64
|
}
|
|
64
|
-
function
|
|
65
|
+
function $({
|
|
65
66
|
title: l,
|
|
66
67
|
tip: r,
|
|
67
68
|
className: i
|
|
@@ -72,6 +73,6 @@ function U({
|
|
|
72
73
|
] });
|
|
73
74
|
}
|
|
74
75
|
export {
|
|
75
|
-
|
|
76
|
-
|
|
76
|
+
U as HeadCell,
|
|
77
|
+
$ as SimpleHeadCell
|
|
77
78
|
};
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import { jsxs as f, jsx as c } from "react/jsx-runtime";
|
|
2
|
-
import { PERCENTAGE_FACTOR as v, formatPercentage as
|
|
3
|
-
import { cva as
|
|
2
|
+
import { PERCENTAGE_FACTOR as v, formatPercentage as p } from "@gearbox-protocol/sdk";
|
|
3
|
+
import { cva as x } from "class-variance-authority";
|
|
4
4
|
import "react";
|
|
5
5
|
import { cn as C } from "../../utils/cn.js";
|
|
6
6
|
import "sonner";
|
|
7
|
+
import "luxon";
|
|
7
8
|
import { StatusBars as F } from "../status-elements/status-elements.js";
|
|
8
9
|
const g = 15e3, A = 11e3, H = 10500, N = (t) => {
|
|
9
10
|
if (t)
|
|
10
11
|
return t >= g ? "good" : t > A ? "medium" : t > H ? "bad" : t > v ? "critical" : "liquidation";
|
|
11
|
-
}, b =
|
|
12
|
+
}, b = x(
|
|
12
13
|
"inline-flex items-center font-medium [text-decoration:inherit]",
|
|
13
14
|
{
|
|
14
15
|
variants: {
|
|
@@ -23,19 +24,19 @@ const g = 15e3, A = 11e3, H = 10500, N = (t) => {
|
|
|
23
24
|
}
|
|
24
25
|
}
|
|
25
26
|
);
|
|
26
|
-
function
|
|
27
|
+
function j({
|
|
27
28
|
value: t,
|
|
28
29
|
debt: e,
|
|
29
30
|
decimals: a = 3,
|
|
30
31
|
zone: o,
|
|
31
32
|
zoneType: n = "color",
|
|
32
|
-
className:
|
|
33
|
-
...
|
|
33
|
+
className: m,
|
|
34
|
+
...u
|
|
34
35
|
}) {
|
|
35
36
|
const i = e !== void 0 && e === 0n, r = !i && n === "color" ? o === void 0 ? N(t) : o : void 0, s = r === void 0 ? void 0 : r === null ? "unset" : r, d = () => {
|
|
36
37
|
if (i) return "N/A";
|
|
37
38
|
const l = Number(t);
|
|
38
|
-
return
|
|
39
|
+
return p(l, a);
|
|
39
40
|
};
|
|
40
41
|
return /* @__PURE__ */ f(
|
|
41
42
|
"span",
|
|
@@ -44,9 +45,9 @@ function R({
|
|
|
44
45
|
b(
|
|
45
46
|
s !== void 0 ? { zone: s } : {}
|
|
46
47
|
),
|
|
47
|
-
|
|
48
|
+
m
|
|
48
49
|
),
|
|
49
|
-
...
|
|
50
|
+
...u,
|
|
50
51
|
children: [
|
|
51
52
|
o && n === "bars" && /* @__PURE__ */ c("span", { className: "mr-6 shrink-0", children: /* @__PURE__ */ c(F, { zone: o }) }),
|
|
52
53
|
d()
|
|
@@ -57,6 +58,6 @@ function R({
|
|
|
57
58
|
export {
|
|
58
59
|
A as BAD_HF,
|
|
59
60
|
g as GOOD_HF,
|
|
60
|
-
|
|
61
|
+
j as HealthFactor,
|
|
61
62
|
N as getHFZones
|
|
62
63
|
};
|
|
@@ -3,16 +3,17 @@ import "react";
|
|
|
3
3
|
import "@gearbox-protocol/sdk";
|
|
4
4
|
import { cn as o } from "../../utils/cn.js";
|
|
5
5
|
import "sonner";
|
|
6
|
-
|
|
6
|
+
import "luxon";
|
|
7
|
+
function u({ children: e, className: t }) {
|
|
7
8
|
return /* @__PURE__ */ r("div", { className: o("space-y-4", t), children: e });
|
|
8
9
|
}
|
|
9
|
-
function
|
|
10
|
+
function f({ title: e, children: t, className: m }) {
|
|
10
11
|
return /* @__PURE__ */ s("div", { className: o("space-y-2", m), children: [
|
|
11
12
|
e && /* @__PURE__ */ r("h3", { className: "text-sm font-medium text-foreground", children: e }),
|
|
12
13
|
/* @__PURE__ */ r("div", { className: "text-sm text-muted-foreground", children: t })
|
|
13
14
|
] });
|
|
14
15
|
}
|
|
15
16
|
export {
|
|
16
|
-
|
|
17
|
-
|
|
17
|
+
f as HelpSection,
|
|
18
|
+
u as HelpSections
|
|
18
19
|
};
|
|
@@ -6,6 +6,7 @@ import { TooltipProvider as c, Tooltip as m, TooltipTrigger as f, TooltipContent
|
|
|
6
6
|
import "@gearbox-protocol/sdk";
|
|
7
7
|
import { cn as x } from "../../utils/cn.js";
|
|
8
8
|
import "sonner";
|
|
9
|
+
import "luxon";
|
|
9
10
|
const h = d.forwardRef(({ label: i, value: l, tip: r, valueDescription: t, className: n }, s) => /* @__PURE__ */ o("div", { ref: s, className: x("flex flex-col gap-2 w-full", n), children: [
|
|
10
11
|
/* @__PURE__ */ o("div", { className: "flex items-center gap-2 text-sm text-muted-foreground", children: [
|
|
11
12
|
/* @__PURE__ */ e("span", { children: i }),
|
|
@@ -5,6 +5,7 @@ import * as u from "react";
|
|
|
5
5
|
import "@gearbox-protocol/sdk";
|
|
6
6
|
import { cn as c } from "../../utils/cn.js";
|
|
7
7
|
import "sonner";
|
|
8
|
+
import "luxon";
|
|
8
9
|
const f = d(
|
|
9
10
|
"inline-flex items-center justify-center rounded-md transition-colors cursor-pointer focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50",
|
|
10
11
|
{
|
|
@@ -26,7 +27,7 @@ const f = d(
|
|
|
26
27
|
size: "default"
|
|
27
28
|
}
|
|
28
29
|
}
|
|
29
|
-
),
|
|
30
|
+
), m = u.forwardRef(
|
|
30
31
|
({ className: o, variant: r, size: e, asChild: t = !1, ...n }, i) => /* @__PURE__ */ a(
|
|
31
32
|
t ? s : "button",
|
|
32
33
|
{
|
|
@@ -36,8 +37,8 @@ const f = d(
|
|
|
36
37
|
}
|
|
37
38
|
)
|
|
38
39
|
);
|
|
39
|
-
|
|
40
|
+
m.displayName = "IconButton";
|
|
40
41
|
export {
|
|
41
|
-
|
|
42
|
+
m as IconButton,
|
|
42
43
|
f as iconButtonVariants
|
|
43
44
|
};
|
|
@@ -5,8 +5,9 @@ import "react";
|
|
|
5
5
|
import "@gearbox-protocol/sdk";
|
|
6
6
|
import { cn as n } from "../../utils/cn.js";
|
|
7
7
|
import "sonner";
|
|
8
|
+
import "luxon";
|
|
8
9
|
i.autoAddCss = !1;
|
|
9
|
-
function
|
|
10
|
+
function d({ className: o, ...r }) {
|
|
10
11
|
return /* @__PURE__ */ m(
|
|
11
12
|
t,
|
|
12
13
|
{
|
|
@@ -16,5 +17,5 @@ function u({ className: o, ...r }) {
|
|
|
16
17
|
);
|
|
17
18
|
}
|
|
18
19
|
export {
|
|
19
|
-
|
|
20
|
+
d as FaIcon
|
|
20
21
|
};
|
|
@@ -11,7 +11,7 @@ import { AssetsRatio as v } from "./assets-ratio/assets-ratio.js";
|
|
|
11
11
|
import { ConnectRequired as E } from "./auth/connect-required.js";
|
|
12
12
|
import { SignInRequired as R } from "./auth/signin-required.js";
|
|
13
13
|
import { SIWEClientProvider as N } from "./auth/siwe-provider.js";
|
|
14
|
-
import { Avatar as
|
|
14
|
+
import { Avatar as q, AvatarFallback as U, AvatarImage as W } from "./avatar/avatar.js";
|
|
15
15
|
import { Badge as Z, badgeVariants as z } from "./badge/badge.js";
|
|
16
16
|
import { BaseLink as j } from "./base-link/base-link.js";
|
|
17
17
|
import { BlockSync as K } from "./block-sync/block-sync.js";
|
|
@@ -33,7 +33,7 @@ import { ExpandableCard as yr } from "./cards/expandable-card/expandable-card.js
|
|
|
33
33
|
import { Carousel as Pr } from "./carousel/carousel.js";
|
|
34
34
|
import { Checkbox as Or } from "./checkbox/checkbox.js";
|
|
35
35
|
import { CheckboxLabeled as _r } from "./checkbox/checkbox-labeled.js";
|
|
36
|
-
import { CheckboxItem as
|
|
36
|
+
import { CheckboxItem as Ur } from "./checkbox-item/checkbox-item.js";
|
|
37
37
|
import { StyledButton as Yr } from "./client-adapters/styled-button/styled-button.js";
|
|
38
38
|
import { StyledDialogContainer as zr } from "./client-adapters/styled-dialog-container/styled-dialog-container.js";
|
|
39
39
|
import { StyledRoundedImage as jr } from "./client-adapters/styled-rounded-image/styled-rounded-image.js";
|
|
@@ -58,7 +58,7 @@ import { DialogModalContainer as yo } from "./dialog/dialog-modal-container.js";
|
|
|
58
58
|
import { DialogOverlay as Po } from "./dialog/dialog-overlay.js";
|
|
59
59
|
import { DialogTitle as Oo } from "./dialog/dialog-title.js";
|
|
60
60
|
import { OneFieldDialog as _o } from "./dialog/one-field-dialog.js";
|
|
61
|
-
import { DefaultDropdownLabel as
|
|
61
|
+
import { DefaultDropdownLabel as Uo } from "./dropdown-label/dropdown-label.js";
|
|
62
62
|
import { DropdownMenu as Yo, DropdownMenuGroup as Zo, DropdownMenuPortal as zo, DropdownMenuRadioGroup as Xo, DropdownMenuSub as jo, DropdownMenuTrigger as Jo } from "./dropdown-menu/dropdown-menu.js";
|
|
63
63
|
import { DropdownMenuCheckboxItem as Qo } from "./dropdown-menu/dropdown-menu-checkbox-item.js";
|
|
64
64
|
import { DropdownMenuContent as re } from "./dropdown-menu/dropdown-menu-content.js";
|
|
@@ -82,8 +82,8 @@ import { FilterChips as ve } from "./filter/filter-chips.js";
|
|
|
82
82
|
import { FilterDropdownItem as Ee } from "./filter/filter-dropdown-item.js";
|
|
83
83
|
import { FilterGroup as Re } from "./filter/filter-group.js";
|
|
84
84
|
import { FilterLabel as Ne } from "./filter/filter-label.js";
|
|
85
|
-
import { FilterModal as
|
|
86
|
-
import { FilterModalItem as
|
|
85
|
+
import { FilterModal as qe } from "./filter/filter-modal.js";
|
|
86
|
+
import { FilterModalItem as We } from "./filter/filter-modal-item.js";
|
|
87
87
|
import { FilterRadioItem as Ze } from "./filter/filter-radio-item.js";
|
|
88
88
|
import { FilterSeparator as Xe } from "./filter/filter-separator.js";
|
|
89
89
|
import { filterBlockVariants as Je } from "./filter/variants.js";
|
|
@@ -102,8 +102,8 @@ import { GridTDCell as wt } from "./grid-td-cell/grid-td-cell.js";
|
|
|
102
102
|
import { Guard as Mt } from "./guard/guard.js";
|
|
103
103
|
import { HeadCell as vt, SimpleHeadCell as yt } from "./head-cell/head-cell.js";
|
|
104
104
|
import { BAD_HF as Pt, GOOD_HF as Rt, HealthFactor as Ot, getHFZones as Nt } from "./health-factor/health-factor.js";
|
|
105
|
-
import { HelpCenterContainer as
|
|
106
|
-
import { HelpSection as
|
|
105
|
+
import { HelpCenterContainer as qt } from "./help-center-container/help-center-container.js";
|
|
106
|
+
import { HelpSection as Wt, HelpSections as Yt } from "./help-sections/help-sections.js";
|
|
107
107
|
import { HelpTip as zt, HelpTipIcon as Xt, TipWrap as jt } from "./help-tip/help-tip.js";
|
|
108
108
|
import { HideOn as Kt, ShowOn as Qt } from "./hide-on/hide-on.js";
|
|
109
109
|
import { HorizontalIndicator as ra } from "./horizontal-indicator/horizontal-indicator.js";
|
|
@@ -121,8 +121,8 @@ import { Header as ha, useMobileMenu as Fa } from "./layout/header/header.js";
|
|
|
121
121
|
import { Layout as ka } from "./layout/layout/layout.js";
|
|
122
122
|
import { LegalDisclaimer as Ha } from "./layout/legal-disclaimer/legal-disclaimer.js";
|
|
123
123
|
import { PageLayout as ya } from "./layout/page-layout/page-layout.js";
|
|
124
|
-
import { BlockedRegionDialog as Pa, LegalAgreementDialog as Ra, createGearboxAppConfig as Oa, createLegalAgreementConfig as Na, createPermissionlessInterfaceConfig as _a, createPermissionlessSafeConfig as
|
|
125
|
-
import { LiquidationModellingAssetsTable as
|
|
124
|
+
import { BlockedRegionDialog as Pa, LegalAgreementDialog as Ra, createGearboxAppConfig as Oa, createLegalAgreementConfig as Na, createPermissionlessInterfaceConfig as _a, createPermissionlessSafeConfig as qa } from "./legal-agreement/legal-agreement-dialog.js";
|
|
125
|
+
import { LiquidationModellingAssetsTable as Wa } from "./liquidation/liquidation-assets-table/liquidation-assets-table.js";
|
|
126
126
|
import { LiquidationGraph as Za } from "./liquidation/liquidation-graph/liquidation-graph.js";
|
|
127
127
|
import { LiquidationGraphLegend as Xa } from "./liquidation/liquidation-graph-legend/liquidation-graph-legend.js";
|
|
128
128
|
import { LiquidationGraphTip as Ja } from "./liquidation/liquidation-graph-tip/liquidation-graph-tip.js";
|
|
@@ -144,8 +144,8 @@ import { PoolAPYTooltip as vp } from "./pool-apy-tooltip/pool-apy-tooltip.js";
|
|
|
144
144
|
import { PoolIndicatorIcon as Ep } from "./pool-indicator-icon/pool-indicator-icon.js";
|
|
145
145
|
import { PoolPointsIndicator as Rp } from "./pool-points-indicator/pool-points-indicator.js";
|
|
146
146
|
import { Progress as Np } from "./progress/progress.js";
|
|
147
|
-
import { ProgressCircle as
|
|
148
|
-
import { RadioGroup as
|
|
147
|
+
import { ProgressCircle as qp } from "./progress-circle/progress-circle.js";
|
|
148
|
+
import { RadioGroup as Wp, RadioGroupItem as Yp, RadioOption as Zp } from "./radio-group/radio-group.js";
|
|
149
149
|
import { RoundedImage as Xp } from "./rounded-image/rounded-image.js";
|
|
150
150
|
import { Row as Jp } from "./row/row.js";
|
|
151
151
|
import { SearchBar as Qp } from "./search-bar/search-bar.js";
|
|
@@ -163,7 +163,7 @@ import { Slider as yi } from "./slider/slider.js";
|
|
|
163
163
|
import { SliderToken as Pi } from "./slider-token/slider-token.js";
|
|
164
164
|
import { BalanceIndicator as Oi } from "./smart-number-input/balance-indicator.js";
|
|
165
165
|
import { SmartNumberInput as _i } from "./smart-number-input/smart-number-input.js";
|
|
166
|
-
import { Spinner as
|
|
166
|
+
import { Spinner as Ui, SpinnerOverlay as Wi } from "./spinner/spinner.js";
|
|
167
167
|
import { SplitList as Zi } from "./split-list/split-list.js";
|
|
168
168
|
import { StatBadge as Xi, StatBadgeGrid as ji, statBadgeContentVariants as Ji, statBadgeGridVariants as Ki, statBadgeTitleVariants as Qi, statBadgeVariants as $i } from "./stat-badge/stat-badge.js";
|
|
169
169
|
import { StatusDot as on, statusDotVariants as en } from "./status-dot/status-dot.js";
|
|
@@ -178,7 +178,7 @@ import { GridTableCellAsset as In, GridTableCellUpdatable as An, GridTableEditab
|
|
|
178
178
|
import { TableCellAsset as hn, TableCellUpdatable as Fn, TableEditable as wn } from "./table/editable-table.js";
|
|
179
179
|
import { GridErrorLine as Mn } from "./table/grid-error-line.js";
|
|
180
180
|
import { GridLoadingLine as vn } from "./table/grid-loading-line.js";
|
|
181
|
-
import { GridTable as En, GridTableBody as Pn, GridTableCaption as Rn, GridTableCell as On, GridTableFooter as Nn, GridTableHead as _n, GridTableHeader as
|
|
181
|
+
import { GridTable as En, GridTableBody as Pn, GridTableCaption as Rn, GridTableCell as On, GridTableFooter as Nn, GridTableHead as _n, GridTableHeader as qn, GridTableRow as Un, Td as Wn, Th as Yn, gridTableCellVariants as Zn, gridTableHeadVariants as zn, gridTableVariants as Xn } from "./table/grid-table.js";
|
|
182
182
|
import { GridTableLoader as Jn } from "./table/grid-table-loader.js";
|
|
183
183
|
import { SortableHeadCell as Qn } from "./table/sortable-head-cell.js";
|
|
184
184
|
import { SortingTableHead as rl, Table as ol, TableBody as el, TableCaption as tl, TableCell as al, TableFooter as pl, TableHead as il, TableHeader as nl, TableRow as ll, tableCellVariants as ml, tableHeadVariants as xl, tableVariants as fl } from "./table/table.js";
|
|
@@ -191,23 +191,24 @@ import { TextButton as Bl } from "./text-button/text-button.js";
|
|
|
191
191
|
import { Textarea as Fl, textareaVariants as wl } from "./textarea/textarea.js";
|
|
192
192
|
import { ThemeProvider as Ml, useTheme as Hl } from "./theme-provider.js";
|
|
193
193
|
import { ThemeToggle as yl } from "./theme-toggle/theme-toggle.js";
|
|
194
|
-
import {
|
|
195
|
-
import {
|
|
196
|
-
import {
|
|
197
|
-
import {
|
|
198
|
-
import {
|
|
199
|
-
import {
|
|
200
|
-
import {
|
|
201
|
-
import {
|
|
202
|
-
import {
|
|
203
|
-
import {
|
|
204
|
-
import {
|
|
205
|
-
import {
|
|
206
|
-
import {
|
|
207
|
-
import {
|
|
208
|
-
import {
|
|
209
|
-
import {
|
|
210
|
-
import {
|
|
194
|
+
import { TimeToLiquidation as Pl } from "./time-to-liquidation/time-to-liquidation.js";
|
|
195
|
+
import { TipCard as Ol, tipCardVariants as Nl } from "./tip-card/tip-card.js";
|
|
196
|
+
import { TokenIcon as ql, preloadTokenIcons as Ul } from "./token-icon/token-icon.js";
|
|
197
|
+
import { TokenSymbol as Yl } from "./token-symbol/token-symbol.js";
|
|
198
|
+
import { TokenTemplate as zl } from "./token-template/token-template.js";
|
|
199
|
+
import { TokensListCell as jl } from "./tokens-list-cell/tokens-list-cell.js";
|
|
200
|
+
import { SimpleTooltip as Kl } from "./tooltip/simple-tooltip.js";
|
|
201
|
+
import { Tooltip as $l, TooltipContent as rm, TooltipProvider as om, TooltipTrigger as em } from "./tooltip/tooltip.js";
|
|
202
|
+
import { GraphDropdown as am } from "./trading-view/graph-dropdown.js";
|
|
203
|
+
import { TradingView as im } from "./trading-view/trading-view.js";
|
|
204
|
+
import { FormattedMessageTyped as lm, useIntlTyped as mm } from "./typed-intl/index.js";
|
|
205
|
+
import { Typography as fm, typographyVariants as dm } from "./typography/typography.js";
|
|
206
|
+
import { VerticalIndicator as gm, verticalIndicatorVariants as Tm } from "./vertical-indicator/vertical-indicator.js";
|
|
207
|
+
import { VerticalList as cm, verticalListVariants as bm } from "./vertical-list/vertical-list.js";
|
|
208
|
+
import { VSpace as Sm } from "./vspace/vspace.js";
|
|
209
|
+
import { WithCopy as Lm } from "./with-copy/with-copy.js";
|
|
210
|
+
import { WithFilterButton as Im } from "./with-filter-button/with-filter-button.js";
|
|
211
|
+
import { WithTitle as Gm } from "./with-title/with-title.js";
|
|
211
212
|
export {
|
|
212
213
|
e as Accordion,
|
|
213
214
|
t as AccordionContent,
|
|
@@ -233,9 +234,9 @@ export {
|
|
|
233
234
|
w as AssetLine,
|
|
234
235
|
M as AssetsListCell,
|
|
235
236
|
v as AssetsRatio,
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
237
|
+
q as Avatar,
|
|
238
|
+
U as AvatarFallback,
|
|
239
|
+
W as AvatarImage,
|
|
239
240
|
Pt as BAD_HF,
|
|
240
241
|
tr as BackButton,
|
|
241
242
|
Z as Badge,
|
|
@@ -256,7 +257,7 @@ export {
|
|
|
256
257
|
Fr as CardTitle,
|
|
257
258
|
Pr as Carousel,
|
|
258
259
|
Or as Checkbox,
|
|
259
|
-
|
|
260
|
+
Ur as CheckboxItem,
|
|
260
261
|
_r as CheckboxLabeled,
|
|
261
262
|
ca as Col,
|
|
262
263
|
Kr as ColoredText,
|
|
@@ -274,7 +275,7 @@ export {
|
|
|
274
275
|
ut as DEFAULT_SERIES_COLORS,
|
|
275
276
|
lt as DEFAULT_VERTICAL_LINE,
|
|
276
277
|
kr as DangerZone,
|
|
277
|
-
|
|
278
|
+
Uo as DefaultDropdownLabel,
|
|
278
279
|
xo as Description,
|
|
279
280
|
so as DetailedApy,
|
|
280
281
|
To as DetailedPageTitle,
|
|
@@ -323,15 +324,15 @@ export {
|
|
|
323
324
|
Ee as FilterDropdownItem,
|
|
324
325
|
Re as FilterGroup,
|
|
325
326
|
Ne as FilterLabel,
|
|
326
|
-
|
|
327
|
-
|
|
327
|
+
qe as FilterModal,
|
|
328
|
+
We as FilterModalItem,
|
|
328
329
|
Ze as FilterRadioItem,
|
|
329
330
|
Xe as FilterSeparator,
|
|
330
331
|
Da as Footer,
|
|
331
332
|
La as FooterLink,
|
|
332
333
|
Va as FooterLinkSection,
|
|
333
334
|
Qe as FormField,
|
|
334
|
-
|
|
335
|
+
lm as FormattedMessageTyped,
|
|
335
336
|
rt as FormattedNumberString,
|
|
336
337
|
Rt as GOOD_HF,
|
|
337
338
|
Ia as GearboxFooter,
|
|
@@ -339,7 +340,7 @@ export {
|
|
|
339
340
|
at as GeneralSelect,
|
|
340
341
|
ct as Graph,
|
|
341
342
|
Ct as GraphCurrentValue,
|
|
342
|
-
|
|
343
|
+
am as GraphDropdown,
|
|
343
344
|
Dt as GraphTooltip,
|
|
344
345
|
Vt as GraphView,
|
|
345
346
|
It as GraphViewWithData,
|
|
@@ -356,16 +357,16 @@ export {
|
|
|
356
357
|
Gn as GridTableEditable,
|
|
357
358
|
Nn as GridTableFooter,
|
|
358
359
|
_n as GridTableHead,
|
|
359
|
-
|
|
360
|
+
qn as GridTableHeader,
|
|
360
361
|
Jn as GridTableLoader,
|
|
361
|
-
|
|
362
|
+
Un as GridTableRow,
|
|
362
363
|
Mt as Guard,
|
|
363
364
|
vt as HeadCell,
|
|
364
365
|
ha as Header,
|
|
365
366
|
an as HealthDot,
|
|
366
367
|
Ot as HealthFactor,
|
|
367
|
-
|
|
368
|
-
|
|
368
|
+
qt as HelpCenterContainer,
|
|
369
|
+
Wt as HelpSection,
|
|
369
370
|
Yt as HelpSections,
|
|
370
371
|
zt as HelpTip,
|
|
371
372
|
Xt as HelpTipIcon,
|
|
@@ -382,7 +383,7 @@ export {
|
|
|
382
383
|
Za as LiquidationGraph,
|
|
383
384
|
Xa as LiquidationGraphLegend,
|
|
384
385
|
Ja as LiquidationGraphTip,
|
|
385
|
-
|
|
386
|
+
Wa as LiquidationModellingAssetsTable,
|
|
386
387
|
Qa as LiquidationPrice,
|
|
387
388
|
rp as LoaderGuard,
|
|
388
389
|
ep as MarkdownViewer,
|
|
@@ -408,8 +409,8 @@ export {
|
|
|
408
409
|
Ep as PoolIndicatorIcon,
|
|
409
410
|
Rp as PoolPointsIndicator,
|
|
410
411
|
Np as Progress,
|
|
411
|
-
|
|
412
|
-
|
|
412
|
+
qp as ProgressCircle,
|
|
413
|
+
Wp as RadioGroup,
|
|
413
414
|
Yp as RadioGroupItem,
|
|
414
415
|
Zp as RadioOption,
|
|
415
416
|
cr as RangeButtons,
|
|
@@ -434,7 +435,7 @@ export {
|
|
|
434
435
|
Qt as ShowOn,
|
|
435
436
|
R as SignInRequired,
|
|
436
437
|
yt as SimpleHeadCell,
|
|
437
|
-
|
|
438
|
+
Kl as SimpleTooltip,
|
|
438
439
|
wi as Skeleton,
|
|
439
440
|
Hi as SkeletonStack,
|
|
440
441
|
yi as Slider,
|
|
@@ -442,8 +443,8 @@ export {
|
|
|
442
443
|
_i as SmartNumberInput,
|
|
443
444
|
Qn as SortableHeadCell,
|
|
444
445
|
rl as SortingTableHead,
|
|
445
|
-
|
|
446
|
-
|
|
446
|
+
Ui as Spinner,
|
|
447
|
+
Wi as SpinnerOverlay,
|
|
447
448
|
Zi as SplitList,
|
|
448
449
|
Xi as StatBadge,
|
|
449
450
|
ji as StatBadgeGrid,
|
|
@@ -478,34 +479,35 @@ export {
|
|
|
478
479
|
Vl as TabsContent,
|
|
479
480
|
Il as TabsList,
|
|
480
481
|
Al as TabsTrigger,
|
|
481
|
-
|
|
482
|
+
Wn as Td,
|
|
482
483
|
Bl as TextButton,
|
|
483
484
|
Fl as Textarea,
|
|
484
485
|
Yn as Th,
|
|
485
486
|
Ml as ThemeProvider,
|
|
486
487
|
yl as ThemeToggle,
|
|
487
|
-
Pl as
|
|
488
|
+
Pl as TimeToLiquidation,
|
|
489
|
+
Ol as TipCard,
|
|
488
490
|
jt as TipWrap,
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
491
|
+
ql as TokenIcon,
|
|
492
|
+
Yl as TokenSymbol,
|
|
493
|
+
zl as TokenTemplate,
|
|
494
|
+
jl as TokensListCell,
|
|
495
|
+
$l as Tooltip,
|
|
496
|
+
rm as TooltipContent,
|
|
497
|
+
om as TooltipProvider,
|
|
498
|
+
em as TooltipTrigger,
|
|
499
|
+
im as TradingView,
|
|
500
|
+
fm as Typography,
|
|
499
501
|
Sl as UpdatedValue,
|
|
500
|
-
|
|
502
|
+
Sm as VSpace,
|
|
501
503
|
ht as VertLine,
|
|
502
|
-
|
|
503
|
-
|
|
504
|
+
gm as VerticalIndicator,
|
|
505
|
+
cm as VerticalList,
|
|
504
506
|
hi as VerticalTimeline,
|
|
505
|
-
|
|
506
|
-
|
|
507
|
+
Lm as WithCopy,
|
|
508
|
+
Im as WithFilterButton,
|
|
507
509
|
oi as WithSearchLine,
|
|
508
|
-
|
|
510
|
+
Gm as WithTitle,
|
|
509
511
|
x as alertBadgeVariants,
|
|
510
512
|
ar as backButtonVariants,
|
|
511
513
|
z as badgeVariants,
|
|
@@ -515,7 +517,7 @@ export {
|
|
|
515
517
|
Oa as createGearboxAppConfig,
|
|
516
518
|
Na as createLegalAgreementConfig,
|
|
517
519
|
_a as createPermissionlessInterfaceConfig,
|
|
518
|
-
|
|
520
|
+
qa as createPermissionlessSafeConfig,
|
|
519
521
|
Je as filterBlockVariants,
|
|
520
522
|
mt as getDefaultOptions,
|
|
521
523
|
xt as getDefaultSeries,
|
|
@@ -534,7 +536,7 @@ export {
|
|
|
534
536
|
gp as navitemVariants,
|
|
535
537
|
Bp as pageTitleRootVariants,
|
|
536
538
|
hp as pageTitleVariants,
|
|
537
|
-
|
|
539
|
+
Ul as preloadTokenIcons,
|
|
538
540
|
ei as searchLineInputVariants,
|
|
539
541
|
ti as searchLineVariants,
|
|
540
542
|
ii as segmentedControlVariants,
|
|
@@ -549,16 +551,16 @@ export {
|
|
|
549
551
|
xl as tableHeadVariants,
|
|
550
552
|
fl as tableVariants,
|
|
551
553
|
wl as textareaVariants,
|
|
552
|
-
|
|
553
|
-
|
|
554
|
+
Nl as tipCardVariants,
|
|
555
|
+
dm as typographyVariants,
|
|
554
556
|
Gt as useGraphAside,
|
|
555
557
|
bn as useHashTabs,
|
|
556
|
-
|
|
558
|
+
mm as useIntlTyped,
|
|
557
559
|
Fa as useMobileMenu,
|
|
558
560
|
mp as useNavbarIndicator,
|
|
559
561
|
Cn as useSectionTab,
|
|
560
562
|
Sn as useTabControl,
|
|
561
563
|
Hl as useTheme,
|
|
562
|
-
|
|
563
|
-
|
|
564
|
+
Tm as verticalIndicatorVariants,
|
|
565
|
+
bm as verticalListVariants
|
|
564
566
|
};
|
|
@@ -4,6 +4,7 @@ import * as T from "react";
|
|
|
4
4
|
import "@gearbox-protocol/sdk";
|
|
5
5
|
import { cn as e } from "../../utils/cn.js";
|
|
6
6
|
import "sonner";
|
|
7
|
+
import "luxon";
|
|
7
8
|
import { useIconSlotWidths as j } from "./use-icon-slot-widths.js";
|
|
8
9
|
const R = D(
|
|
9
10
|
e(
|
|
@@ -68,13 +69,13 @@ const R = D(
|
|
|
68
69
|
variant: "default"
|
|
69
70
|
}
|
|
70
71
|
}
|
|
71
|
-
),
|
|
72
|
+
), q = T.forwardRef(
|
|
72
73
|
({
|
|
73
74
|
hasError: t,
|
|
74
75
|
errorMessage: a,
|
|
75
76
|
value: h,
|
|
76
|
-
size:
|
|
77
|
-
colorTheme:
|
|
77
|
+
size: p,
|
|
78
|
+
colorTheme: b,
|
|
78
79
|
variant: g,
|
|
79
80
|
className: x,
|
|
80
81
|
style: m,
|
|
@@ -84,7 +85,7 @@ const R = D(
|
|
|
84
85
|
onEndingIconClick: n,
|
|
85
86
|
...d
|
|
86
87
|
}, y) => {
|
|
87
|
-
const u =
|
|
88
|
+
const u = b ?? "filledDark", c = u === "filledLight" ? "text-gray-50" : "text-gray-110", { setStartRef: w, setEndRef: v, inputPaddingStyle: _ } = j(), k = (s) => (C) => {
|
|
88
89
|
C.key === "Enter" && s?.();
|
|
89
90
|
}, N = {
|
|
90
91
|
...m,
|
|
@@ -118,7 +119,7 @@ const R = D(
|
|
|
118
119
|
style: N,
|
|
119
120
|
className: e(
|
|
120
121
|
R({
|
|
121
|
-
size:
|
|
122
|
+
size: p,
|
|
122
123
|
colorTheme: u,
|
|
123
124
|
variant: t ? "error" : g
|
|
124
125
|
}),
|
|
@@ -148,6 +149,6 @@ const R = D(
|
|
|
148
149
|
}
|
|
149
150
|
);
|
|
150
151
|
export {
|
|
151
|
-
|
|
152
|
+
q as Input,
|
|
152
153
|
R as inputVariants
|
|
153
154
|
};
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { jsx as x } from "react/jsx-runtime";
|
|
2
|
-
import * as
|
|
2
|
+
import * as d from "@radix-ui/react-label";
|
|
3
3
|
import { cva as v } from "class-variance-authority";
|
|
4
4
|
import * as r from "react";
|
|
5
5
|
import "@gearbox-protocol/sdk";
|
|
6
6
|
import { cn as g } from "../../utils/cn.js";
|
|
7
7
|
import "sonner";
|
|
8
|
+
import "luxon";
|
|
8
9
|
const y = v(
|
|
9
10
|
"flex leading-none peer-disabled:cursor-not-allowed",
|
|
10
11
|
{
|
|
@@ -51,15 +52,15 @@ const y = v(
|
|
|
51
52
|
s();
|
|
52
53
|
const i = document.getElementById(e);
|
|
53
54
|
if (!i) return;
|
|
54
|
-
const
|
|
55
|
-
return
|
|
55
|
+
const o = new MutationObserver(s);
|
|
56
|
+
return o.observe(i, {
|
|
56
57
|
attributes: !0,
|
|
57
58
|
attributeFilter: ["disabled"]
|
|
58
59
|
}), () => {
|
|
59
|
-
|
|
60
|
+
o.disconnect();
|
|
60
61
|
};
|
|
61
62
|
}, [e]), /* @__PURE__ */ x(
|
|
62
|
-
|
|
63
|
+
d.Root,
|
|
63
64
|
{
|
|
64
65
|
ref: b,
|
|
65
66
|
className: g(
|
|
@@ -73,7 +74,7 @@ const y = v(
|
|
|
73
74
|
);
|
|
74
75
|
}
|
|
75
76
|
);
|
|
76
|
-
w.displayName =
|
|
77
|
+
w.displayName = d.Root.displayName;
|
|
77
78
|
export {
|
|
78
79
|
w as Label,
|
|
79
80
|
y as labelVariants
|