@gearbox-protocol/permissionless-ui 1.26.11-next.7 → 1.27.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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/alert-modal/alert-modal.cjs +1 -1
- package/dist/cjs/components/app-bar/app-bar.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-copy-button.cjs +1 -1
- package/dist/cjs/components/detailed-page-title/detailed-page-title-explorer-dropdown.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/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/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/link/link.cjs +1 -1
- package/dist/cjs/components/liquidation/liquidation-assets-table/liquidation-assets-table.cjs +1 -1
- package/dist/cjs/components/liquidation/liquidation-graph-tip/liquidation-graph-tip.cjs +1 -1
- package/dist/cjs/components/liquidation-price/liquidation-price.cjs +1 -1
- package/dist/cjs/components/loader/loader.cjs +1 -1
- package/dist/cjs/components/loader-guard/loader-guard.cjs +1 -1
- package/dist/cjs/components/loading-bar/loading-bar.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-with-overflow.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-apy-tooltip/pool-apy-tooltip.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-bar/progress-bar.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/separate-line/separate-line.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/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/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/spinner-loader/spinner-loader.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/toggle/toggle.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/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/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/hooks/use-debounce-call.cjs +1 -1
- package/dist/cjs/hooks/use-hf.cjs +1 -1
- package/dist/cjs/hooks/use-liquidation/index.cjs +1 -1
- package/dist/cjs/utils/format-money.cjs +1 -1
- package/dist/cjs/utils/templates.cjs +1 -1
- package/dist/esm/components/accordion/accordion.js +7 -8
- package/dist/esm/components/address/address.js +2 -3
- package/dist/esm/components/alert-badge/alert-badge.js +0 -1
- package/dist/esm/components/alert-dialog/alert-dialog.js +7 -8
- package/dist/esm/components/alert-modal/alert-modal.js +0 -1
- package/dist/esm/components/app-bar/app-bar.js +0 -1
- package/dist/esm/components/apy/apy.js +9 -10
- package/dist/esm/components/arc-loader/arc-loader.js +0 -1
- package/dist/esm/components/asset-line/asset-line.js +9 -10
- package/dist/esm/components/assets-list-cell/assets-list-cell.js +2 -3
- package/dist/esm/components/assets-ratio/assets-ratio.js +11 -12
- package/dist/esm/components/auth/connect-required.js +2 -3
- package/dist/esm/components/auth/signin-required.js +11 -12
- package/dist/esm/components/avatar/avatar.js +9 -10
- package/dist/esm/components/badge/badge.js +6 -7
- package/dist/esm/components/base-link/base-link.js +7 -8
- package/dist/esm/components/block-sync/block-sync.js +2 -3
- package/dist/esm/components/breadcrumbs/breadcrumbs.js +2 -3
- package/dist/esm/components/button-checkbox/button-checkbox.js +13 -16
- package/dist/esm/components/buttons/back-button/back-button.js +6 -7
- package/dist/esm/components/buttons/button/button.js +4 -5
- package/dist/esm/components/buttons/copy-button/copy-button.js +7 -8
- package/dist/esm/components/buttons/external-button/external-button.js +7 -8
- package/dist/esm/components/buttons/navigation-button/navigation-button.js +3 -4
- package/dist/esm/components/buttons/range-buttons/range-buttons.js +2 -3
- package/dist/esm/components/card-grid/card-grid.js +4 -5
- package/dist/esm/components/cards/card/card.js +0 -1
- package/dist/esm/components/cards/expandable-call/expandable-call.js +19 -20
- package/dist/esm/components/cards/expandable-card/expandable-card.js +11 -12
- package/dist/esm/components/carousel/carousel.js +14 -15
- package/dist/esm/components/checkbox/checkbox-labeled.js +0 -1
- package/dist/esm/components/checkbox/checkbox.js +0 -1
- package/dist/esm/components/checkbox-item/checkbox-item.js +9 -10
- package/dist/esm/components/client-adapters/styled-button/styled-button.js +4 -5
- package/dist/esm/components/client-adapters/styled-dialog-container/styled-dialog-container.js +0 -1
- package/dist/esm/components/client-adapters/styled-rounded-image/styled-rounded-image.js +0 -1
- package/dist/esm/components/colored-text/colored-text.js +0 -1
- package/dist/esm/components/complex-input/complex-input.js +2 -3
- package/dist/esm/components/compound-apy/compound-apy.js +2 -3
- package/dist/esm/components/confirm-menu/confirm-menu.js +3 -4
- package/dist/esm/components/credit-session-status/credit-session-status.js +2 -3
- package/dist/esm/components/currency-button/currency-button.js +9 -10
- package/dist/esm/components/description/description.js +0 -1
- package/dist/esm/components/detailed-apy/detailed-apy.js +8 -9
- package/dist/esm/components/detailed-page-title/detailed-page-title-copy-button.js +0 -1
- package/dist/esm/components/detailed-page-title/detailed-page-title-explorer-dropdown.js +0 -1
- package/dist/esm/components/detailed-page-title/detailed-page-title.js +0 -1
- package/dist/esm/components/dialog/dialog-container.js +6 -7
- package/dist/esm/components/dialog/dialog-content.js +0 -1
- package/dist/esm/components/dialog/dialog-description.js +4 -5
- package/dist/esm/components/dialog/dialog-footer.js +0 -1
- package/dist/esm/components/dialog/dialog-form.js +11 -12
- package/dist/esm/components/dialog/dialog-header.js +4 -5
- package/dist/esm/components/dialog/dialog-modal-container.js +0 -1
- package/dist/esm/components/dialog/dialog-overlay.js +3 -4
- package/dist/esm/components/dialog/dialog-title.js +0 -1
- package/dist/esm/components/dropdown-label/dropdown-label.js +6 -7
- package/dist/esm/components/dropdown-menu/dropdown-menu-checkbox-item.js +0 -1
- package/dist/esm/components/dropdown-menu/dropdown-menu-content.js +4 -5
- package/dist/esm/components/dropdown-menu/dropdown-menu-item.js +3 -4
- package/dist/esm/components/dropdown-menu/dropdown-menu-label.js +3 -4
- package/dist/esm/components/dropdown-menu/dropdown-menu-radio-item.js +3 -4
- package/dist/esm/components/dropdown-menu/dropdown-menu-separator.js +7 -8
- package/dist/esm/components/dropdown-menu/dropdown-menu-shortcut.js +0 -1
- package/dist/esm/components/dropdown-menu/dropdown-menu-sub-content.js +0 -1
- package/dist/esm/components/dropdown-menu/dropdown-menu-sub-trigger.js +7 -8
- package/dist/esm/components/edit-input/edit-input.js +6 -7
- package/dist/esm/components/error-message/error-line-message.js +5 -6
- package/dist/esm/components/error-message/error-message.js +2 -3
- package/dist/esm/components/error-view/error-view.js +2 -3
- package/dist/esm/components/explorer-links-dropdown/explorer-links-dropdown.js +2 -3
- package/dist/esm/components/fadeout-loading/fadeout-loading.js +0 -1
- package/dist/esm/components/filter/filter-block.js +0 -1
- package/dist/esm/components/filter/filter-checkbox-item.js +3 -4
- package/dist/esm/components/filter/filter-chip.js +8 -9
- package/dist/esm/components/filter/filter-chips.js +5 -6
- package/dist/esm/components/filter/filter-dropdown-item.js +11 -12
- package/dist/esm/components/filter/filter-group.js +0 -1
- package/dist/esm/components/filter/filter-label.js +0 -1
- package/dist/esm/components/filter/filter-modal-item.js +4 -5
- package/dist/esm/components/filter/filter-modal.js +2 -3
- package/dist/esm/components/filter/filter-radio-item.js +4 -5
- package/dist/esm/components/filter/filter-separator.js +3 -4
- package/dist/esm/components/formatted-number/formatted-number.js +2 -3
- package/dist/esm/components/grid-td-cell/grid-td-cell.js +2 -3
- package/dist/esm/components/head-cell/head-cell.js +12 -13
- package/dist/esm/components/health-factor/health-factor.js +6 -7
- package/dist/esm/components/help-sections/help-sections.js +7 -8
- package/dist/esm/components/help-tip/help-tip.js +4 -5
- package/dist/esm/components/horizontal-indicator/horizontal-indicator.js +2 -3
- package/dist/esm/components/icon-button/icon-button.js +6 -7
- package/dist/esm/components/icons/fa-icon.js +2 -3
- package/dist/esm/components/input/input.js +62 -56
- package/dist/esm/components/label/label.js +0 -1
- package/dist/esm/components/layout/block/block.js +2 -3
- package/dist/esm/components/link/link.js +13 -14
- package/dist/esm/components/liquidation/liquidation-assets-table/liquidation-assets-table.js +5 -6
- package/dist/esm/components/liquidation/liquidation-graph-tip/liquidation-graph-tip.js +17 -18
- package/dist/esm/components/liquidation-price/liquidation-price.js +2 -3
- package/dist/esm/components/loader/loader.js +0 -1
- package/dist/esm/components/loader-guard/loader-guard.js +2 -3
- package/dist/esm/components/loading-bar/loading-bar.js +0 -1
- package/dist/esm/components/markdown-viewer/markdown-viewer.js +2 -3
- package/dist/esm/components/modal/modal.js +7 -8
- package/dist/esm/components/navbar/navbar-with-overflow.js +2 -3
- package/dist/esm/components/navbar/navbar.js +21 -22
- package/dist/esm/components/navbar-logo/navbar-logo.js +2 -3
- package/dist/esm/components/navitem/navitem.js +0 -1
- package/dist/esm/components/not-found/not-found.js +2 -3
- package/dist/esm/components/options-list/options-list.js +4 -5
- package/dist/esm/components/overflow/overflow.js +8 -9
- package/dist/esm/components/overflow-container/overflow-container.js +2 -3
- package/dist/esm/components/page-title/page-title.js +5 -6
- package/dist/esm/components/percent-indicator/percent-indicator.js +2 -3
- package/dist/esm/components/pool-apy-tooltip/pool-apy-tooltip.js +2 -3
- package/dist/esm/components/pool-indicator-icon/pool-indicator-icon.js +5 -6
- package/dist/esm/components/pool-points-indicator/pool-points-indicator.js +2 -3
- package/dist/esm/components/progress/progress.js +5 -6
- package/dist/esm/components/progress-bar/progress-bar.js +16 -17
- package/dist/esm/components/progress-circle/progress-circle.js +10 -11
- package/dist/esm/components/radio-group/radio-group.js +0 -1
- package/dist/esm/components/rounded-image/rounded-image.js +0 -1
- package/dist/esm/components/row/row.js +2 -3
- package/dist/esm/components/search-bar/search-bar.js +4 -5
- package/dist/esm/components/search-line/search-line.js +0 -1
- package/dist/esm/components/segmented-control/segmented-control.js +8 -9
- package/dist/esm/components/select/select.js +3 -4
- package/dist/esm/components/separate-line/separate-line.js +0 -1
- package/dist/esm/components/separator/separator.js +3 -4
- package/dist/esm/components/short-string/short-string.js +3 -4
- package/dist/esm/components/signatures/confirmation-item.js +2 -3
- package/dist/esm/components/simple-accordion/simple-accordion.js +0 -1
- package/dist/esm/components/simple-dropdown/simple-dropdown-menu-item.js +0 -1
- package/dist/esm/components/simple-dropdown/simple-dropdown.js +4 -5
- package/dist/esm/components/skeleton/skeleton-stack.js +6 -7
- package/dist/esm/components/skeleton/skeleton.js +2 -3
- package/dist/esm/components/slider/slider.js +0 -1
- package/dist/esm/components/slider-token/slider-token.js +12 -13
- package/dist/esm/components/smart-number-input/balance-indicator.js +13 -14
- package/dist/esm/components/smart-number-input/smart-number-input.js +0 -1
- package/dist/esm/components/spinner/spinner.js +0 -1
- package/dist/esm/components/spinner-loader/spinner-loader.js +7 -8
- package/dist/esm/components/split-list/split-list.js +4 -5
- package/dist/esm/components/stat-badge/stat-badge.js +9 -10
- package/dist/esm/components/status-dot/status-dot.js +3 -4
- package/dist/esm/components/status-elements/status-elements.js +6 -7
- package/dist/esm/components/status-triangle/status-triangle.js +5 -6
- package/dist/esm/components/stepper/stepper.js +20 -21
- package/dist/esm/components/styled-dropdown/styled-dropdown.js +2 -3
- package/dist/esm/components/switch/switch.js +7 -8
- package/dist/esm/components/tab-control/tab-control.js +36 -37
- package/dist/esm/components/table/edit-button.js +2 -3
- package/dist/esm/components/table/editable-grid-table.js +35 -36
- package/dist/esm/components/table/editable-table.js +16 -17
- package/dist/esm/components/table/grid-loading-line.js +13 -14
- package/dist/esm/components/table/table-sm.js +20 -21
- package/dist/esm/components/table/table.js +0 -1
- package/dist/esm/components/tabs/tabs.js +6 -7
- package/dist/esm/components/text-button/text-button.js +9 -10
- package/dist/esm/components/textarea/textarea.js +0 -1
- package/dist/esm/components/time-to-liquidation/time-to-liquidation.js +0 -1
- package/dist/esm/components/tip-card/tip-card.js +4 -5
- package/dist/esm/components/toggle/toggle.js +0 -1
- package/dist/esm/components/token-symbol/token-symbol.js +4 -5
- package/dist/esm/components/token-template/token-template.js +5 -6
- package/dist/esm/components/tokens-list-cell/tokens-list-cell.js +2 -3
- package/dist/esm/components/tooltip/simple-tooltip.js +0 -1
- package/dist/esm/components/tooltip/tooltip.js +6 -7
- package/dist/esm/components/trading-view/trading-view.js +2 -3
- package/dist/esm/components/typography/typography.js +4 -5
- package/dist/esm/components/vertical-indicator/vertical-indicator.js +0 -1
- package/dist/esm/components/vertical-list/vertical-list.js +8 -9
- package/dist/esm/components/with-copy/with-copy.js +2 -3
- package/dist/esm/components/with-filter-button/with-filter-button.js +0 -1
- package/dist/esm/components/with-title/with-title.js +7 -8
- package/dist/esm/hooks/use-debounce-call.js +5 -6
- package/dist/esm/hooks/use-hf.js +22 -22
- package/dist/esm/hooks/use-liquidation/index.js +65 -66
- package/dist/esm/utils/format-money.js +17 -18
- package/dist/esm/utils/templates.js +20 -21
- package/dist/globals.css +1 -1
- package/dist/types/components/asset-line/asset-line.d.ts +3 -4
- package/dist/types/components/compound-apy/compound-apy.d.ts +4 -3
- package/dist/types/components/credit-session-status/credit-session-status.d.ts +1 -1
- package/dist/types/components/currency-button/currency-button.d.ts +2 -2
- package/dist/types/components/detailed-apy/detailed-apy.d.ts +5 -5
- package/dist/types/components/detailed-page-title/detailed-page-title.d.ts +2 -2
- package/dist/types/components/liquidation/liquidation-assets-table/liquidation-assets-table.d.ts +2 -2
- package/dist/types/components/liquidation/liquidation-graph/liquidation-graph.d.ts +4 -5
- package/dist/types/components/liquidation/liquidation-graph-tip/liquidation-graph-tip.d.ts +2 -2
- package/dist/types/components/pool-apy-tooltip/pool-apy-tooltip.d.ts +3 -3
- package/dist/types/components/slider-token/slider-token.d.ts +2 -2
- package/dist/types/components/smart-number-input/balance-indicator.d.ts +2 -2
- package/dist/types/components/smart-number-input/smart-number-input.d.ts +10 -2
- package/dist/types/components/token-symbol/token-symbol.d.ts +6 -2
- package/dist/types/components/token-template/token-template.d.ts +2 -2
- package/dist/types/components/tokens-list-cell/tokens-list-cell.d.ts +2 -2
- package/dist/types/hooks/use-hf.d.ts +3 -4
- package/dist/types/hooks/use-liquidation/index.d.ts +8 -9
- package/dist/types/hooks/use-liquidation/types.d.ts +2 -2
- package/dist/types/hooks/use-liquidation/utils.d.ts +10 -11
- package/dist/types/utils/interface.d.ts +9 -0
- package/dist/types/utils/search-in-token.d.ts +4 -4
- package/dist/types/utils/templates.d.ts +8 -8
- package/package.json +7 -7
- package/dist/cjs/types/common.cjs +0 -1
- package/dist/esm/types/common.js +0 -1
- package/dist/types/types/common.d.ts +0 -23
|
@@ -2,18 +2,17 @@ import { jsx as t } from "react/jsx-runtime";
|
|
|
2
2
|
import * as o from "@radix-ui/react-dropdown-menu";
|
|
3
3
|
import * as i from "react";
|
|
4
4
|
import "@gearbox-protocol/sdk";
|
|
5
|
-
import { cn as
|
|
5
|
+
import { cn as n } from "../../utils/cn.js";
|
|
6
6
|
import "sonner";
|
|
7
|
-
import "@gearbox-protocol/sdk/common-utils";
|
|
8
7
|
import "luxon";
|
|
9
|
-
import { Z_INDEX as
|
|
8
|
+
import { Z_INDEX as m } from "../../utils/z-index.js";
|
|
10
9
|
const s = i.forwardRef(({ className: e, sideOffset: a = 4, ...r }, d) => /* @__PURE__ */ t(o.Portal, { children: /* @__PURE__ */ t(
|
|
11
10
|
o.Content,
|
|
12
11
|
{
|
|
13
12
|
ref: d,
|
|
14
13
|
sideOffset: a,
|
|
15
|
-
className:
|
|
16
|
-
|
|
14
|
+
className: n(
|
|
15
|
+
m.DROPDOWN,
|
|
17
16
|
"min-w-32 overflow-hidden rounded-lg border border-border bg-gray-40 p-1 text-popover-foreground shadow-lg",
|
|
18
17
|
"data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
|
|
19
18
|
e
|
|
@@ -1,16 +1,15 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as i } from "react/jsx-runtime";
|
|
2
2
|
import * as o from "@radix-ui/react-dropdown-menu";
|
|
3
3
|
import * as n from "react";
|
|
4
4
|
import "@gearbox-protocol/sdk";
|
|
5
5
|
import { cn as a } from "../../utils/cn.js";
|
|
6
6
|
import "sonner";
|
|
7
|
-
import "@gearbox-protocol/sdk/common-utils";
|
|
8
7
|
import "luxon";
|
|
9
8
|
import "../../utils/z-index.js";
|
|
10
|
-
const m = n.forwardRef(({ className: e, inset: r, ...t },
|
|
9
|
+
const m = n.forwardRef(({ className: e, inset: r, ...t }, s) => /* @__PURE__ */ i(
|
|
11
10
|
o.Item,
|
|
12
11
|
{
|
|
13
|
-
ref:
|
|
12
|
+
ref: s,
|
|
14
13
|
className: a(
|
|
15
14
|
"relative flex cursor-pointer select-none items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-none transition-colors hover:text-foreground hover:bg-secondary focus-visible:outline-none focus:bg-secondary focus:text-foreground data-[disabled]:cursor-not-allowed data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&>svg]:size-3! [&>svg]:shrink-0",
|
|
16
15
|
r && "pl-8",
|
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import * as o from "@radix-ui/react-dropdown-menu";
|
|
3
|
-
import * as
|
|
3
|
+
import * as i from "react";
|
|
4
4
|
import "@gearbox-protocol/sdk";
|
|
5
5
|
import { cn as a } from "../../utils/cn.js";
|
|
6
6
|
import "sonner";
|
|
7
|
-
import "@gearbox-protocol/sdk/common-utils";
|
|
8
7
|
import "luxon";
|
|
9
8
|
import "../../utils/z-index.js";
|
|
10
|
-
const s =
|
|
9
|
+
const s = i.forwardRef(({ className: m, inset: r, ...p }, t) => /* @__PURE__ */ e(
|
|
11
10
|
o.Label,
|
|
12
11
|
{
|
|
13
12
|
ref: t,
|
|
@@ -6,18 +6,17 @@ import { FaIcon as c } from "../icons/fa-icon.js";
|
|
|
6
6
|
import "@gearbox-protocol/sdk";
|
|
7
7
|
import { cn as d } from "../../utils/cn.js";
|
|
8
8
|
import "sonner";
|
|
9
|
-
import "@gearbox-protocol/sdk/common-utils";
|
|
10
9
|
import "luxon";
|
|
11
10
|
import "../../utils/z-index.js";
|
|
12
|
-
const l = s.forwardRef(({ className: t, children: r, ...
|
|
11
|
+
const l = s.forwardRef(({ className: t, children: r, ...a }, i) => /* @__PURE__ */ n(
|
|
13
12
|
o.RadioItem,
|
|
14
13
|
{
|
|
15
|
-
ref:
|
|
14
|
+
ref: i,
|
|
16
15
|
className: d(
|
|
17
16
|
"relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:cursor-not-allowed data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
|
|
18
17
|
t
|
|
19
18
|
),
|
|
20
|
-
...
|
|
19
|
+
...a,
|
|
21
20
|
children: [
|
|
22
21
|
/* @__PURE__ */ e("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ e(o.ItemIndicator, { children: /* @__PURE__ */ e(c, { icon: m, className: "size-2 fill-current" }) }) }),
|
|
23
22
|
r
|
|
@@ -1,21 +1,20 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import * as r from "@radix-ui/react-dropdown-menu";
|
|
3
|
-
import * as
|
|
3
|
+
import * as t from "react";
|
|
4
4
|
import "@gearbox-protocol/sdk";
|
|
5
|
-
import { cn as
|
|
5
|
+
import { cn as e } from "../../utils/cn.js";
|
|
6
6
|
import "sonner";
|
|
7
|
-
import "@gearbox-protocol/sdk/common-utils";
|
|
8
7
|
import "luxon";
|
|
9
8
|
import "../../utils/z-index.js";
|
|
10
|
-
const
|
|
9
|
+
const i = t.forwardRef(({ className: o, ...m }, p) => /* @__PURE__ */ a(
|
|
11
10
|
r.Separator,
|
|
12
11
|
{
|
|
13
12
|
ref: p,
|
|
14
|
-
className:
|
|
13
|
+
className: e("-mx-1 my-1 h-px bg-muted", o),
|
|
15
14
|
...m
|
|
16
15
|
}
|
|
17
16
|
));
|
|
18
|
-
|
|
17
|
+
i.displayName = r.Separator.displayName;
|
|
19
18
|
export {
|
|
20
|
-
|
|
19
|
+
i as DropdownMenuSeparator
|
|
21
20
|
};
|
|
@@ -4,7 +4,6 @@ import * as i from "react";
|
|
|
4
4
|
import "@gearbox-protocol/sdk";
|
|
5
5
|
import { cn as r } from "../../utils/cn.js";
|
|
6
6
|
import "sonner";
|
|
7
|
-
import "@gearbox-protocol/sdk/common-utils";
|
|
8
7
|
import "luxon";
|
|
9
8
|
import { Z_INDEX as m } from "../../utils/z-index.js";
|
|
10
9
|
const n = i.forwardRef(({ className: o, ...e }, a) => /* @__PURE__ */ d(
|
|
@@ -1,14 +1,13 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { IconExpand as
|
|
1
|
+
import { jsxs as n, jsx as m } from "react/jsx-runtime";
|
|
2
|
+
import { IconExpand as a } from "@gearbox-protocol/static";
|
|
3
3
|
import * as e from "@radix-ui/react-dropdown-menu";
|
|
4
|
-
import * as
|
|
4
|
+
import * as p from "react";
|
|
5
5
|
import "@gearbox-protocol/sdk";
|
|
6
6
|
import { cn as c } from "../../utils/cn.js";
|
|
7
7
|
import "sonner";
|
|
8
|
-
import "@gearbox-protocol/sdk/common-utils";
|
|
9
8
|
import "luxon";
|
|
10
9
|
import "../../utils/z-index.js";
|
|
11
|
-
const g =
|
|
10
|
+
const g = p.forwardRef(({ className: r, inset: o, children: s, ...t }, i) => /* @__PURE__ */ n(
|
|
12
11
|
e.SubTrigger,
|
|
13
12
|
{
|
|
14
13
|
ref: i,
|
|
@@ -17,10 +16,10 @@ const g = a.forwardRef(({ className: r, inset: o, children: t, ...s }, i) => /*
|
|
|
17
16
|
o && "pl-8",
|
|
18
17
|
r
|
|
19
18
|
),
|
|
20
|
-
...
|
|
19
|
+
...t,
|
|
21
20
|
children: [
|
|
22
|
-
|
|
23
|
-
/* @__PURE__ */
|
|
21
|
+
s,
|
|
22
|
+
/* @__PURE__ */ m(a, { size: 16, className: "ml-auto [&_svg]:size-4" })
|
|
24
23
|
]
|
|
25
24
|
}
|
|
26
25
|
));
|
|
@@ -9,7 +9,6 @@ import { TextButton as M } from "../text-button/text-button.js";
|
|
|
9
9
|
import "@gearbox-protocol/sdk";
|
|
10
10
|
import { cn as f } from "../../utils/cn.js";
|
|
11
11
|
import "sonner";
|
|
12
|
-
import "@gearbox-protocol/sdk/common-utils";
|
|
13
12
|
import "luxon";
|
|
14
13
|
import "../../utils/z-index.js";
|
|
15
14
|
const S = D("", {
|
|
@@ -30,9 +29,9 @@ const S = D("", {
|
|
|
30
29
|
md: "default",
|
|
31
30
|
lg: "lg"
|
|
32
31
|
};
|
|
33
|
-
function
|
|
34
|
-
label:
|
|
35
|
-
value:
|
|
32
|
+
function X({
|
|
33
|
+
label: c,
|
|
34
|
+
value: m,
|
|
36
35
|
onChange: d,
|
|
37
36
|
onSubmit: u,
|
|
38
37
|
onEditModeChange: p,
|
|
@@ -75,7 +74,7 @@ function Y({
|
|
|
75
74
|
L,
|
|
76
75
|
{
|
|
77
76
|
ref: n,
|
|
78
|
-
value:
|
|
77
|
+
value: m,
|
|
79
78
|
size: V[s],
|
|
80
79
|
colorTheme: x,
|
|
81
80
|
onChange: d,
|
|
@@ -114,12 +113,12 @@ function Y({
|
|
|
114
113
|
icon: /* @__PURE__ */ t(z, { size: 12, className: "mb-[3px] shrink-0", "aria-hidden": !0 }),
|
|
115
114
|
tabIndex: -1,
|
|
116
115
|
onClick: j,
|
|
117
|
-
children:
|
|
116
|
+
children: c
|
|
118
117
|
}
|
|
119
118
|
)
|
|
120
119
|
}
|
|
121
120
|
);
|
|
122
121
|
}
|
|
123
122
|
export {
|
|
124
|
-
|
|
123
|
+
X as EditInput
|
|
125
124
|
};
|
|
@@ -1,17 +1,16 @@
|
|
|
1
1
|
import { jsxs as r } from "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
3
|
import "@gearbox-protocol/sdk";
|
|
4
|
-
import { cn as
|
|
4
|
+
import { cn as i } from "../../utils/cn.js";
|
|
5
5
|
import "sonner";
|
|
6
|
-
import "@gearbox-protocol/sdk/common-utils";
|
|
7
6
|
import "luxon";
|
|
8
7
|
import "../../utils/z-index.js";
|
|
9
|
-
function
|
|
8
|
+
function f({
|
|
10
9
|
err: t,
|
|
11
10
|
title: o,
|
|
12
|
-
className:
|
|
11
|
+
className: e
|
|
13
12
|
}) {
|
|
14
|
-
return /* @__PURE__ */ r("div", { className:
|
|
13
|
+
return /* @__PURE__ */ r("div", { className: i("text-destructive", e), children: [
|
|
15
14
|
/* @__PURE__ */ r("strong", { children: [
|
|
16
15
|
o ?? "Error",
|
|
17
16
|
":"
|
|
@@ -21,5 +20,5 @@ function g({
|
|
|
21
20
|
] });
|
|
22
21
|
}
|
|
23
22
|
export {
|
|
24
|
-
|
|
23
|
+
f as ErrorLineMessage
|
|
25
24
|
};
|
|
@@ -7,10 +7,9 @@ import "react";
|
|
|
7
7
|
import "@gearbox-protocol/sdk";
|
|
8
8
|
import { cn as n } from "../../utils/cn.js";
|
|
9
9
|
import "sonner";
|
|
10
|
-
import "@gearbox-protocol/sdk/common-utils";
|
|
11
10
|
import "luxon";
|
|
12
11
|
import "../../utils/z-index.js";
|
|
13
|
-
function
|
|
12
|
+
function v({
|
|
14
13
|
err: t,
|
|
15
14
|
btnTitle: m,
|
|
16
15
|
onClick: o,
|
|
@@ -35,5 +34,5 @@ function y({
|
|
|
35
34
|
);
|
|
36
35
|
}
|
|
37
36
|
export {
|
|
38
|
-
|
|
37
|
+
v as ErrorMessage
|
|
39
38
|
};
|
|
@@ -4,10 +4,9 @@ import "react";
|
|
|
4
4
|
import "@gearbox-protocol/sdk";
|
|
5
5
|
import { cn as l } from "../../utils/cn.js";
|
|
6
6
|
import "sonner";
|
|
7
|
-
import "@gearbox-protocol/sdk/common-utils";
|
|
8
7
|
import "luxon";
|
|
9
8
|
import "../../utils/z-index.js";
|
|
10
|
-
function
|
|
9
|
+
function g({
|
|
11
10
|
status: m,
|
|
12
11
|
message: t,
|
|
13
12
|
backButton: r,
|
|
@@ -48,5 +47,5 @@ function N({
|
|
|
48
47
|
);
|
|
49
48
|
}
|
|
50
49
|
export {
|
|
51
|
-
|
|
50
|
+
g as ErrorView
|
|
52
51
|
};
|
|
@@ -14,7 +14,6 @@ import "../dropdown-menu/dropdown-menu-sub-trigger.js";
|
|
|
14
14
|
import "@gearbox-protocol/sdk";
|
|
15
15
|
import { cn as M } from "../../utils/cn.js";
|
|
16
16
|
import "sonner";
|
|
17
|
-
import "@gearbox-protocol/sdk/common-utils";
|
|
18
17
|
import "luxon";
|
|
19
18
|
import "../../utils/z-index.js";
|
|
20
19
|
const s = {
|
|
@@ -35,7 +34,7 @@ const s = {
|
|
|
35
34
|
function N(e, r, n) {
|
|
36
35
|
return n ? `${e}/tx/${n}` : r ? `${e}/address/${r}` : e;
|
|
37
36
|
}
|
|
38
|
-
function
|
|
37
|
+
function F({
|
|
39
38
|
explorerLinks: e,
|
|
40
39
|
opened: r,
|
|
41
40
|
opens: n = "right",
|
|
@@ -79,5 +78,5 @@ function G({
|
|
|
79
78
|
] });
|
|
80
79
|
}
|
|
81
80
|
export {
|
|
82
|
-
|
|
81
|
+
F as ExplorerLinksDropdown
|
|
83
82
|
};
|
|
@@ -3,7 +3,6 @@ import * as s from "react";
|
|
|
3
3
|
import "@gearbox-protocol/sdk";
|
|
4
4
|
import { cn as l } from "../../utils/cn.js";
|
|
5
5
|
import "sonner";
|
|
6
|
-
import "@gearbox-protocol/sdk/common-utils";
|
|
7
6
|
import "luxon";
|
|
8
7
|
import "../../utils/z-index.js";
|
|
9
8
|
import { filterBlockVariants as c } from "./variants.js";
|
|
@@ -1,15 +1,14 @@
|
|
|
1
|
-
import { jsxs as
|
|
1
|
+
import { jsxs as c, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import * as t from "@radix-ui/react-dropdown-menu";
|
|
3
|
-
import * as
|
|
3
|
+
import * as m from "react";
|
|
4
4
|
import { faCheck as n } from "@fortawesome/free-solid-svg-icons";
|
|
5
5
|
import { FaIcon as l } from "../icons/fa-icon.js";
|
|
6
6
|
import "@gearbox-protocol/sdk";
|
|
7
7
|
import { cn as d } from "../../utils/cn.js";
|
|
8
8
|
import "sonner";
|
|
9
|
-
import "@gearbox-protocol/sdk/common-utils";
|
|
10
9
|
import "luxon";
|
|
11
10
|
import "../../utils/z-index.js";
|
|
12
|
-
const p =
|
|
11
|
+
const p = m.forwardRef(({ className: o, children: r, checked: a, ...i }, s) => /* @__PURE__ */ c(
|
|
13
12
|
t.CheckboxItem,
|
|
14
13
|
{
|
|
15
14
|
ref: s,
|
|
@@ -1,17 +1,16 @@
|
|
|
1
|
-
import { jsx as r, jsxs as
|
|
2
|
-
import * as
|
|
3
|
-
import { Badge as
|
|
1
|
+
import { jsx as r, jsxs as p } from "react/jsx-runtime";
|
|
2
|
+
import * as s from "react";
|
|
3
|
+
import { Badge as m } from "../badge/badge.js";
|
|
4
4
|
import { faXmark as f } from "@fortawesome/free-solid-svg-icons";
|
|
5
5
|
import { FaIcon as l } from "../icons/fa-icon.js";
|
|
6
6
|
import "@gearbox-protocol/sdk";
|
|
7
7
|
import { cn as u } from "../../utils/cn.js";
|
|
8
8
|
import "sonner";
|
|
9
|
-
import "@gearbox-protocol/sdk/common-utils";
|
|
10
9
|
import "luxon";
|
|
11
10
|
import "../../utils/z-index.js";
|
|
12
|
-
const d =
|
|
13
|
-
({ className: e, label: i, value: g, onRemove: o, showRemove: t = !0, ...a }, n) => /* @__PURE__ */ r("div", { ref: n, ...a, children: /* @__PURE__ */
|
|
14
|
-
|
|
11
|
+
const d = s.forwardRef(
|
|
12
|
+
({ className: e, label: i, value: g, onRemove: o, showRemove: t = !0, ...a }, n) => /* @__PURE__ */ r("div", { ref: n, ...a, children: /* @__PURE__ */ p(
|
|
13
|
+
m,
|
|
15
14
|
{
|
|
16
15
|
variant: "secondary",
|
|
17
16
|
className: u(
|
|
@@ -25,8 +24,8 @@ const d = m.forwardRef(
|
|
|
25
24
|
"button",
|
|
26
25
|
{
|
|
27
26
|
type: "button",
|
|
28
|
-
onClick: (
|
|
29
|
-
|
|
27
|
+
onClick: (c) => {
|
|
28
|
+
c.stopPropagation(), o();
|
|
30
29
|
},
|
|
31
30
|
className: "ml-1 rounded-sm hover:bg-accent hover:text-accent-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",
|
|
32
31
|
"aria-label": `Remove filter: ${i}`,
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { jsxs as
|
|
1
|
+
import { jsxs as p, jsx as i } from "react/jsx-runtime";
|
|
2
2
|
import * as d from "react";
|
|
3
3
|
import "@gearbox-protocol/sdk";
|
|
4
4
|
import { cn as s } from "../../utils/cn.js";
|
|
5
5
|
import "sonner";
|
|
6
|
-
import "@gearbox-protocol/sdk/common-utils";
|
|
7
6
|
import "luxon";
|
|
8
7
|
import "../../utils/z-index.js";
|
|
9
8
|
import { FilterChip as u } from "./filter-chip.js";
|
|
@@ -14,13 +13,13 @@ const c = d.forwardRef(
|
|
|
14
13
|
onRemoveFilter: t,
|
|
15
14
|
onClearAll: o,
|
|
16
15
|
showClearAll: n = !0,
|
|
17
|
-
...
|
|
18
|
-
},
|
|
16
|
+
...a
|
|
17
|
+
}, l) => r.length === 0 ? null : /* @__PURE__ */ p(
|
|
19
18
|
"div",
|
|
20
19
|
{
|
|
21
|
-
ref:
|
|
20
|
+
ref: l,
|
|
22
21
|
className: s("flex flex-wrap items-center gap-2", m),
|
|
23
|
-
...
|
|
22
|
+
...a,
|
|
24
23
|
children: [
|
|
25
24
|
r.map((e) => /* @__PURE__ */ i(
|
|
26
25
|
u,
|
|
@@ -1,26 +1,25 @@
|
|
|
1
|
-
import { jsxs as
|
|
1
|
+
import { jsxs as p, jsx as r } from "react/jsx-runtime";
|
|
2
2
|
import * as d from "react";
|
|
3
3
|
import "@gearbox-protocol/sdk";
|
|
4
4
|
import { cn as u } from "../../utils/cn.js";
|
|
5
5
|
import "sonner";
|
|
6
|
-
import "@gearbox-protocol/sdk/common-utils";
|
|
7
6
|
import "luxon";
|
|
8
7
|
import "../../utils/z-index.js";
|
|
9
8
|
const x = d.forwardRef(
|
|
10
9
|
({
|
|
11
10
|
className: n,
|
|
12
11
|
inset: a,
|
|
13
|
-
title:
|
|
12
|
+
title: s,
|
|
14
13
|
decimals: f,
|
|
15
14
|
maxValue: h,
|
|
16
|
-
state:
|
|
15
|
+
state: e,
|
|
17
16
|
onSave: v,
|
|
18
|
-
onReset:
|
|
19
|
-
children:
|
|
17
|
+
onReset: t,
|
|
18
|
+
children: i,
|
|
20
19
|
...m
|
|
21
20
|
}, l) => {
|
|
22
|
-
const o =
|
|
23
|
-
return /* @__PURE__ */
|
|
21
|
+
const o = e != null;
|
|
22
|
+
return /* @__PURE__ */ p(
|
|
24
23
|
"div",
|
|
25
24
|
{
|
|
26
25
|
ref: l,
|
|
@@ -32,13 +31,13 @@ const x = d.forwardRef(
|
|
|
32
31
|
),
|
|
33
32
|
...m,
|
|
34
33
|
children: [
|
|
35
|
-
/* @__PURE__ */ r("span", { children:
|
|
36
|
-
o &&
|
|
34
|
+
/* @__PURE__ */ r("span", { children: s || i }),
|
|
35
|
+
o && t && /* @__PURE__ */ r(
|
|
37
36
|
"button",
|
|
38
37
|
{
|
|
39
38
|
type: "button",
|
|
40
|
-
onClick: (
|
|
41
|
-
|
|
39
|
+
onClick: (c) => {
|
|
40
|
+
c.stopPropagation(), t();
|
|
42
41
|
},
|
|
43
42
|
className: "text-xs text-muted-foreground hover:text-foreground",
|
|
44
43
|
children: "Reset"
|
|
@@ -4,7 +4,6 @@ import * as t from "react";
|
|
|
4
4
|
import "@gearbox-protocol/sdk";
|
|
5
5
|
import { cn as a } from "../../utils/cn.js";
|
|
6
6
|
import "sonner";
|
|
7
|
-
import "@gearbox-protocol/sdk/common-utils";
|
|
8
7
|
import "luxon";
|
|
9
8
|
import "../../utils/z-index.js";
|
|
10
9
|
const e = t.forwardRef(({ className: o, ...m }, p) => /* @__PURE__ */ i(r.Group, { ref: p, className: a(o), ...m }));
|
|
@@ -4,7 +4,6 @@ import * as e from "react";
|
|
|
4
4
|
import "@gearbox-protocol/sdk";
|
|
5
5
|
import { cn as a } from "../../utils/cn.js";
|
|
6
6
|
import "sonner";
|
|
7
|
-
import "@gearbox-protocol/sdk/common-utils";
|
|
8
7
|
import "luxon";
|
|
9
8
|
import "../../utils/z-index.js";
|
|
10
9
|
const s = e.forwardRef(({ className: m, inset: r, ...t }, i) => /* @__PURE__ */ p(
|
|
@@ -3,7 +3,6 @@ import * as x from "react";
|
|
|
3
3
|
import "@gearbox-protocol/sdk";
|
|
4
4
|
import { cn as g } from "../../utils/cn.js";
|
|
5
5
|
import "sonner";
|
|
6
|
-
import "@gearbox-protocol/sdk/common-utils";
|
|
7
6
|
import "luxon";
|
|
8
7
|
import "../../utils/z-index.js";
|
|
9
8
|
const b = x.forwardRef(
|
|
@@ -17,13 +16,13 @@ const b = x.forwardRef(
|
|
|
17
16
|
onReset: o,
|
|
18
17
|
children: l,
|
|
19
18
|
onClick: p,
|
|
20
|
-
...
|
|
21
|
-
},
|
|
19
|
+
...u
|
|
20
|
+
}, m) => {
|
|
22
21
|
const r = e != null;
|
|
23
22
|
return /* @__PURE__ */ d(
|
|
24
23
|
"button",
|
|
25
24
|
{
|
|
26
|
-
ref:
|
|
25
|
+
ref: m,
|
|
27
26
|
type: "button",
|
|
28
27
|
"data-has-state": r,
|
|
29
28
|
className: g(
|
|
@@ -36,7 +35,7 @@ const b = x.forwardRef(
|
|
|
36
35
|
),
|
|
37
36
|
onClick: p || a,
|
|
38
37
|
disabled: t,
|
|
39
|
-
...
|
|
38
|
+
...u,
|
|
40
39
|
children: [
|
|
41
40
|
/* @__PURE__ */ n("span", { children: c || l }),
|
|
42
41
|
r && o && /* @__PURE__ */ n(
|
|
@@ -9,7 +9,6 @@ import "../buttons/navigation-button/navigation-button.js";
|
|
|
9
9
|
import "@gearbox-protocol/sdk";
|
|
10
10
|
import { cn as D } from "../../utils/cn.js";
|
|
11
11
|
import "sonner";
|
|
12
|
-
import "@gearbox-protocol/sdk/common-utils";
|
|
13
12
|
import { extractTextFromLabel as j, serializeValue as R } from "../../utils/react.js";
|
|
14
13
|
import "luxon";
|
|
15
14
|
import "../../utils/z-index.js";
|
|
@@ -34,7 +33,7 @@ import { useIntlTyped as ae } from "../typed-intl/index.js";
|
|
|
34
33
|
function d(m, o) {
|
|
35
34
|
return m ? Array.isArray(m) ? m.includes(o) : m.has(o) : !1;
|
|
36
35
|
}
|
|
37
|
-
function
|
|
36
|
+
function qe({
|
|
38
37
|
title: m,
|
|
39
38
|
state: o,
|
|
40
39
|
modalShow: f,
|
|
@@ -214,5 +213,5 @@ function Qe({
|
|
|
214
213
|
);
|
|
215
214
|
}
|
|
216
215
|
export {
|
|
217
|
-
|
|
216
|
+
qe as FilterModal
|
|
218
217
|
};
|
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
import { jsxs as s, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import * as t from "@radix-ui/react-dropdown-menu";
|
|
3
|
-
import * as
|
|
4
|
-
import { faCircle as
|
|
3
|
+
import * as n from "react";
|
|
4
|
+
import { faCircle as m } from "@fortawesome/free-solid-svg-icons";
|
|
5
5
|
import { FaIcon as c } from "../icons/fa-icon.js";
|
|
6
6
|
import "@gearbox-protocol/sdk";
|
|
7
7
|
import { cn as l } from "../../utils/cn.js";
|
|
8
8
|
import "sonner";
|
|
9
|
-
import "@gearbox-protocol/sdk/common-utils";
|
|
10
9
|
import "luxon";
|
|
11
10
|
import "../../utils/z-index.js";
|
|
12
|
-
const d =
|
|
11
|
+
const d = n.forwardRef(({ className: o, children: r, ...i }, a) => /* @__PURE__ */ s(
|
|
13
12
|
t.RadioItem,
|
|
14
13
|
{
|
|
15
14
|
ref: a,
|
|
@@ -19,7 +18,7 @@ const d = m.forwardRef(({ className: o, children: r, ...i }, a) => /* @__PURE__
|
|
|
19
18
|
),
|
|
20
19
|
...i,
|
|
21
20
|
children: [
|
|
22
|
-
/* @__PURE__ */ e("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ e(t.ItemIndicator, { children: /* @__PURE__ */ e(c, { icon:
|
|
21
|
+
/* @__PURE__ */ e("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ e(t.ItemIndicator, { children: /* @__PURE__ */ e(c, { icon: m, className: "size-2 fill-current" }) }) }),
|
|
23
22
|
r
|
|
24
23
|
]
|
|
25
24
|
}
|
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import * as r from "@radix-ui/react-dropdown-menu";
|
|
3
|
-
import * as
|
|
3
|
+
import * as p from "react";
|
|
4
4
|
import "@gearbox-protocol/sdk";
|
|
5
5
|
import { cn as i } from "../../utils/cn.js";
|
|
6
6
|
import "sonner";
|
|
7
|
-
import "@gearbox-protocol/sdk/common-utils";
|
|
8
7
|
import "luxon";
|
|
9
8
|
import "../../utils/z-index.js";
|
|
10
|
-
const e =
|
|
9
|
+
const e = p.forwardRef(({ className: o, ...m }, t) => /* @__PURE__ */ a(
|
|
11
10
|
r.Separator,
|
|
12
11
|
{
|
|
13
12
|
ref: t,
|
|
@@ -5,10 +5,9 @@ import "react";
|
|
|
5
5
|
import "@gearbox-protocol/sdk";
|
|
6
6
|
import { cn as u } from "../../utils/cn.js";
|
|
7
7
|
import "sonner";
|
|
8
|
-
import "@gearbox-protocol/sdk/common-utils";
|
|
9
8
|
import "luxon";
|
|
10
9
|
import "../../utils/z-index.js";
|
|
11
|
-
function
|
|
10
|
+
function k({
|
|
12
11
|
value: t,
|
|
13
12
|
decimalPartLength: r = 4,
|
|
14
13
|
hideZerosIfMore: p = 3,
|
|
@@ -55,5 +54,5 @@ function x({ zeroPart: t, repeats: r }) {
|
|
|
55
54
|
] });
|
|
56
55
|
}
|
|
57
56
|
export {
|
|
58
|
-
|
|
57
|
+
k as FormattedNumberString
|
|
59
58
|
};
|
|
@@ -3,12 +3,11 @@ import "react";
|
|
|
3
3
|
import "@gearbox-protocol/sdk";
|
|
4
4
|
import { cn as t } from "../../utils/cn.js";
|
|
5
5
|
import "sonner";
|
|
6
|
-
import "@gearbox-protocol/sdk/common-utils";
|
|
7
6
|
import "luxon";
|
|
8
7
|
import "../../utils/z-index.js";
|
|
9
|
-
function
|
|
8
|
+
function f({ children: r, className: i, ...m }) {
|
|
10
9
|
return /* @__PURE__ */ o("td", { className: t("px-3 py-2 align-middle", i), ...m, children: r });
|
|
11
10
|
}
|
|
12
11
|
export {
|
|
13
|
-
|
|
12
|
+
f as GridTDCell
|
|
14
13
|
};
|