@gearbox-protocol/permissionless-ui 1.22.0-next.3 → 1.22.0-next.31
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/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/index.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/index.cjs +1 -0
- package/dist/cjs/components/client-adapters/styled-dialog-container/styled-dialog-container.cjs +1 -0
- package/dist/cjs/components/client-adapters/styled-rounded-image/index.cjs +1 -0
- package/dist/cjs/components/client-adapters/styled-rounded-image/styled-rounded-image.cjs +1 -0
- 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/dialog/index.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-center-container/help-center-container.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/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/app-logo/app-logo.cjs +1 -1
- package/dist/cjs/components/layout/block/block.cjs +1 -1
- package/dist/cjs/components/layout/col/col.cjs +1 -1
- package/dist/cjs/components/layout/container/container.cjs +1 -1
- package/dist/cjs/components/layout/footer/footer.cjs +1 -1
- package/dist/cjs/components/layout/grid/grid.cjs +1 -1
- package/dist/cjs/components/layout/header/header.cjs +1 -1
- package/dist/cjs/components/layout/layout/layout.cjs +2 -2
- 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/index.cjs +1 -0
- package/dist/cjs/components/modal/modal.cjs +1 -0
- 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/network-icon/network-icon.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/points-icon/points-icon.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-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/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-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/grid-table.cjs +1 -1
- package/dist/cjs/components/table/table-sm.cjs +1 -1
- package/dist/cjs/components/table/table.cjs +1 -1
- package/dist/cjs/components/tabs/tabs.cjs +1 -1
- package/dist/cjs/components/text-button/text-button.cjs +1 -1
- package/dist/cjs/components/textarea/textarea.cjs +1 -1
- package/dist/cjs/components/tip-card/tip-card.cjs +1 -1
- package/dist/cjs/components/token-icon/token-icon.cjs +1 -1
- package/dist/cjs/components/token-symbol/token-symbol.cjs +1 -1
- package/dist/cjs/components/token-template/token-template.cjs +1 -1
- package/dist/cjs/components/tokens-list-cell/tokens-list-cell.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/configs/tailwind-preset.cjs +1 -1
- package/dist/cjs/hooks/index.cjs +1 -1
- package/dist/cjs/index.cjs +1 -1
- package/dist/cjs/utils/bn-to-input-view.cjs +1 -1
- package/dist/cjs/utils/bn-to-pretty-view.cjs +1 -1
- package/dist/cjs/utils/format-money.cjs +1 -1
- package/dist/cjs/utils/format-slippage.cjs +1 -0
- package/dist/cjs/utils/index.cjs +1 -1
- package/dist/cjs/utils/loading.cjs +1 -0
- package/dist/cjs/utils/network-icons.cjs +1 -1
- package/dist/cjs/utils/parse-input-to-bn.cjs +1 -1
- package/dist/cjs/utils/search-in-token.cjs +1 -1
- package/dist/cjs/utils/shorten-string.cjs +1 -1
- package/dist/cjs/utils/static.cjs +1 -0
- package/dist/cjs/utils/templates.cjs +1 -1
- package/dist/cjs/utils/window.cjs +1 -1
- package/dist/cjs/utils/z-index.cjs +1 -0
- package/dist/esm/components/accordion/accordion.js +1 -1
- package/dist/esm/components/address/address.js +1 -1
- package/dist/esm/components/alert-badge/alert-badge.js +1 -1
- package/dist/esm/components/alert-dialog/alert-dialog.js +1 -1
- package/dist/esm/components/apy/apy.js +1 -1
- package/dist/esm/components/arc-loader/arc-loader.js +1 -1
- package/dist/esm/components/asset-line/asset-line.js +1 -1
- package/dist/esm/components/assets-list-cell/assets-list-cell.js +100 -25
- package/dist/esm/components/auth/connect-required.js +1 -1
- package/dist/esm/components/auth/signin-required.js +1 -1
- package/dist/esm/components/avatar/avatar.js +1 -1
- package/dist/esm/components/badge/badge.js +1 -1
- package/dist/esm/components/base-link/base-link.js +1 -1
- package/dist/esm/components/block-sync/block-sync.js +162 -52
- package/dist/esm/components/breadcrumbs/breadcrumbs.js +1 -1
- package/dist/esm/components/button-checkbox/button-checkbox.js +1 -1
- package/dist/esm/components/buttons/back-button/back-button.js +1 -1
- package/dist/esm/components/buttons/button/button.js +23 -16
- package/dist/esm/components/buttons/copy-button/copy-button.js +1 -1
- package/dist/esm/components/buttons/external-button/external-button.js +1 -1
- package/dist/esm/components/buttons/navigation-button/navigation-button.js +7 -7
- package/dist/esm/components/buttons/range-buttons/range-buttons.js +1 -1
- package/dist/esm/components/card-grid/card-grid.js +1 -1
- package/dist/esm/components/cards/card/card.js +1 -1
- package/dist/esm/components/cards/expandable-call/expandable-call.js +1 -1
- package/dist/esm/components/cards/expandable-card/expandable-card.js +1 -1
- package/dist/esm/components/carousel/carousel.js +1 -1
- package/dist/esm/components/checkbox/checkbox-labeled.js +8 -2
- package/dist/esm/components/checkbox/checkbox.js +1 -1
- package/dist/esm/components/checkbox-item/checkbox-item.js +1 -1
- package/dist/esm/components/client-adapters/index.js +6 -2
- package/dist/esm/components/client-adapters/styled-button/styled-button.js +24 -13
- package/dist/esm/components/client-adapters/styled-dialog-container/index.js +4 -0
- package/dist/esm/components/client-adapters/styled-dialog-container/styled-dialog-container.js +39 -0
- package/dist/esm/components/client-adapters/styled-rounded-image/index.js +4 -0
- package/dist/esm/components/client-adapters/styled-rounded-image/styled-rounded-image.js +136 -0
- package/dist/esm/components/colored-text/colored-text.js +1 -1
- package/dist/esm/components/complex-input/complex-input.js +5 -5
- package/dist/esm/components/compound-apy/compound-apy.js +1 -1
- package/dist/esm/components/confirm-menu/confirm-menu.js +1 -1
- package/dist/esm/components/credit-session-status/credit-session-status.js +1 -1
- package/dist/esm/components/currency-button/currency-button.js +1 -1
- package/dist/esm/components/description/description.js +17 -11
- package/dist/esm/components/detailed-apy/detailed-apy.js +1 -1
- package/dist/esm/components/detailed-page-title/detailed-page-title.js +1 -1
- package/dist/esm/components/dialog/dialog-container.js +56 -22
- package/dist/esm/components/dialog/dialog-content.js +1 -1
- package/dist/esm/components/dialog/dialog-description.js +1 -1
- package/dist/esm/components/dialog/dialog-footer.js +1 -1
- package/dist/esm/components/dialog/dialog-form.js +1 -1
- package/dist/esm/components/dialog/dialog-header.js +1 -1
- package/dist/esm/components/dialog/dialog-modal-container.js +39 -18
- package/dist/esm/components/dialog/dialog-overlay.js +1 -1
- package/dist/esm/components/dialog/dialog-title.js +1 -1
- package/dist/esm/components/dialog/index.js +18 -18
- package/dist/esm/components/dropdown-label/dropdown-label.js +1 -1
- package/dist/esm/components/dropdown-menu/dropdown-menu-checkbox-item.js +1 -1
- package/dist/esm/components/dropdown-menu/dropdown-menu-content.js +1 -1
- package/dist/esm/components/dropdown-menu/dropdown-menu-item.js +1 -1
- package/dist/esm/components/dropdown-menu/dropdown-menu-label.js +1 -1
- package/dist/esm/components/dropdown-menu/dropdown-menu-radio-item.js +1 -1
- package/dist/esm/components/dropdown-menu/dropdown-menu-separator.js +1 -1
- package/dist/esm/components/dropdown-menu/dropdown-menu-shortcut.js +1 -1
- package/dist/esm/components/dropdown-menu/dropdown-menu-sub-content.js +1 -1
- package/dist/esm/components/dropdown-menu/dropdown-menu-sub-trigger.js +1 -1
- package/dist/esm/components/edit-input/edit-input.js +1 -1
- package/dist/esm/components/error-message/error-line-message.js +1 -1
- package/dist/esm/components/error-message/error-message.js +1 -1
- package/dist/esm/components/error-view/error-view.js +1 -1
- package/dist/esm/components/explorer-links-dropdown/explorer-links-dropdown.js +1 -1
- package/dist/esm/components/fadeout-loading/fadeout-loading.js +1 -1
- package/dist/esm/components/filter/filter-block.js +1 -1
- package/dist/esm/components/filter/filter-checkbox-item.js +1 -1
- package/dist/esm/components/filter/filter-chip.js +1 -1
- package/dist/esm/components/filter/filter-chips.js +1 -1
- package/dist/esm/components/filter/filter-dropdown-item.js +1 -1
- package/dist/esm/components/filter/filter-group.js +1 -1
- package/dist/esm/components/filter/filter-label.js +1 -1
- package/dist/esm/components/filter/filter-modal-item.js +1 -1
- package/dist/esm/components/filter/filter-modal.js +2 -2
- package/dist/esm/components/filter/filter-radio-item.js +1 -1
- package/dist/esm/components/filter/filter-separator.js +1 -1
- package/dist/esm/components/formatted-number/formatted-number.js +1 -1
- package/dist/esm/components/general-asset-list/general-asset-list.js +1 -1
- package/dist/esm/components/general-select/general-select.js +1 -1
- package/dist/esm/components/grid-td-cell/grid-td-cell.js +6 -6
- package/dist/esm/components/head-cell/head-cell.js +1 -1
- package/dist/esm/components/health-factor/health-factor.js +1 -1
- package/dist/esm/components/help-center-container/help-center-container.js +41 -51
- package/dist/esm/components/help-sections/help-sections.js +1 -1
- package/dist/esm/components/help-tip/help-tip.js +1 -1
- package/dist/esm/components/horizontal-indicator/horizontal-indicator.js +1 -1
- package/dist/esm/components/icon-button/icon-button.js +1 -1
- package/dist/esm/components/index.js +470 -466
- package/dist/esm/components/input/input.js +128 -40
- package/dist/esm/components/label/label.js +1 -1
- package/dist/esm/components/layout/app-logo/app-logo.js +8 -7
- package/dist/esm/components/layout/block/block.js +1 -1
- package/dist/esm/components/layout/col/col.js +4 -4
- package/dist/esm/components/layout/container/container.js +5 -5
- package/dist/esm/components/layout/footer/footer.js +4 -4
- package/dist/esm/components/layout/grid/grid.js +9 -9
- package/dist/esm/components/layout/header/header.js +23 -23
- package/dist/esm/components/layout/layout/layout.js +4 -4
- package/dist/esm/components/loader-guard/loader-guard.js +1 -1
- package/dist/esm/components/markdown-viewer/markdown-viewer.js +1 -1
- package/dist/esm/components/modal/index.js +4 -0
- package/dist/esm/components/modal/modal.js +108 -0
- package/dist/esm/components/navbar/navbar.js +1 -1
- package/dist/esm/components/navbar-logo/navbar-logo.js +1 -1
- package/dist/esm/components/navitem/navitem.js +1 -1
- package/dist/esm/components/network-icon/network-icon.js +52 -31
- package/dist/esm/components/not-found/not-found.js +1 -1
- package/dist/esm/components/options-list/options-list.js +1 -1
- package/dist/esm/components/overflow/overflow.js +1 -1
- package/dist/esm/components/overflow-container/overflow-container.js +1 -1
- package/dist/esm/components/page-title/page-title.js +1 -1
- package/dist/esm/components/percent-indicator/percent-indicator.js +1 -1
- package/dist/esm/components/points-icon/points-icon.js +34 -37
- package/dist/esm/components/pool-apy-tooltip/pool-apy-tooltip.js +72 -46
- package/dist/esm/components/pool-indicator-icon/pool-indicator-icon.js +1 -1
- package/dist/esm/components/pool-points-indicator/pool-points-indicator.js +1 -1
- package/dist/esm/components/progress/progress.js +1 -1
- package/dist/esm/components/progress-circle/progress-circle.js +1 -1
- package/dist/esm/components/radio-group/radio-group.js +1 -1
- package/dist/esm/components/rounded-image/rounded-image.js +60 -28
- package/dist/esm/components/row/row.js +1 -1
- package/dist/esm/components/search-bar/search-bar.js +1 -1
- package/dist/esm/components/search-line/search-line.js +1 -1
- package/dist/esm/components/segmented-control/segmented-control.js +1 -1
- package/dist/esm/components/select/select.js +1 -1
- package/dist/esm/components/separator/separator.js +1 -1
- package/dist/esm/components/short-string/short-string.js +19 -23
- package/dist/esm/components/signatures/confirmation-item.js +1 -1
- package/dist/esm/components/skeleton/skeleton-stack.js +1 -1
- package/dist/esm/components/skeleton/skeleton.js +1 -1
- package/dist/esm/components/slider/slider.js +1 -1
- package/dist/esm/components/slider-token/slider-token.js +1 -1
- package/dist/esm/components/smart-number-input/smart-number-input.js +1 -1
- package/dist/esm/components/spinner/spinner.js +1 -1
- package/dist/esm/components/split-list/split-list.js +1 -1
- package/dist/esm/components/stat-badge/stat-badge.js +1 -1
- package/dist/esm/components/status-dot/status-dot.js +12 -12
- package/dist/esm/components/status-triangle/status-triangle.js +1 -1
- package/dist/esm/components/stepper/stepper.js +1 -1
- package/dist/esm/components/styled-dropdown/styled-dropdown.js +1 -1
- package/dist/esm/components/switch/switch.js +1 -1
- package/dist/esm/components/tab-control/tab-control.js +1 -1
- package/dist/esm/components/table/edit-button.js +1 -1
- package/dist/esm/components/table/editable-grid-table.js +1 -1
- package/dist/esm/components/table/editable-table.js +1 -1
- package/dist/esm/components/table/grid-loading-line.js +1 -1
- package/dist/esm/components/table/grid-table.js +103 -84
- package/dist/esm/components/table/table-sm.js +10 -10
- package/dist/esm/components/table/table.js +5 -5
- package/dist/esm/components/tabs/tabs.js +1 -1
- package/dist/esm/components/text-button/text-button.js +99 -47
- package/dist/esm/components/textarea/textarea.js +1 -1
- package/dist/esm/components/tip-card/tip-card.js +89 -53
- package/dist/esm/components/token-icon/token-icon.js +45 -39
- package/dist/esm/components/token-symbol/token-symbol.js +99 -41
- package/dist/esm/components/token-template/token-template.js +1 -1
- package/dist/esm/components/tokens-list-cell/tokens-list-cell.js +1 -1
- package/dist/esm/components/tooltip/tooltip.js +1 -1
- package/dist/esm/components/typography/typography.js +11 -8
- package/dist/esm/components/vertical-indicator/vertical-indicator.js +1 -1
- package/dist/esm/components/vertical-list/vertical-list.js +40 -34
- package/dist/esm/components/with-copy/with-copy.js +1 -1
- package/dist/esm/components/with-filter-button/with-filter-button.js +1 -1
- package/dist/esm/components/with-title/with-title.js +1 -1
- package/dist/esm/configs/tailwind-preset.js +5 -3
- package/dist/esm/hooks/index.js +34 -36
- package/dist/esm/index.js +618 -608
- package/dist/esm/utils/bn-to-input-view.js +14 -14
- package/dist/esm/utils/bn-to-pretty-view.js +11 -3
- package/dist/esm/utils/format-money.js +13 -17
- package/dist/esm/utils/format-slippage.js +7 -0
- package/dist/esm/utils/index.js +79 -71
- package/dist/esm/utils/loading.js +22 -0
- package/dist/esm/utils/network-icons.js +4 -53
- package/dist/esm/utils/parse-input-to-bn.js +99 -17
- package/dist/esm/utils/search-in-token.js +8 -8
- package/dist/esm/utils/shorten-string.js +7 -3
- package/dist/esm/utils/static.js +6 -0
- package/dist/esm/utils/templates.js +8 -9
- package/dist/esm/utils/window.js +4 -3
- package/dist/esm/utils/z-index.js +7 -0
- package/dist/globals.css +1 -1
- package/dist/types/components/assets-list-cell/assets-list-cell.d.ts +70 -6
- package/dist/types/components/auth/connect-required.d.ts +2 -2
- package/dist/types/components/auth/signin-required.d.ts +2 -2
- package/dist/types/components/buttons/button/button.d.ts +1 -1
- package/dist/types/components/buttons/navigation-button/navigation-button.d.ts +1 -1
- package/dist/types/components/card-grid/card-grid.d.ts +4 -4
- package/dist/types/components/client-adapters/index.d.ts +2 -0
- package/dist/types/components/client-adapters/styled-button/styled-button.d.ts +2 -2
- package/dist/types/components/client-adapters/styled-dialog-container/index.d.ts +1 -0
- package/dist/types/components/client-adapters/styled-dialog-container/styled-dialog-container.d.ts +13 -0
- package/dist/types/components/client-adapters/styled-rounded-image/index.d.ts +1 -0
- package/dist/types/components/client-adapters/styled-rounded-image/styled-rounded-image.d.ts +9 -0
- package/dist/types/components/description/description.d.ts +5 -3
- package/dist/types/components/dialog/dialog-container.d.ts +8 -3
- package/dist/types/components/dialog/dialog-modal-container.d.ts +9 -3
- package/dist/types/components/dialog/dialog.d.ts +3 -3
- package/dist/types/components/dialog/index.d.ts +1 -1
- package/dist/types/components/index.d.ts +1 -0
- package/dist/types/components/input/input.d.ts +9 -3
- package/dist/types/components/layout/col/col.d.ts +1 -1
- package/dist/types/components/layout/container/container.d.ts +1 -1
- package/dist/types/components/layout/footer/footer.d.ts +1 -1
- package/dist/types/components/layout/grid/grid.d.ts +1 -1
- package/dist/types/components/layout/header/header.d.ts +1 -1
- package/dist/types/components/layout/layout/layout.d.ts +1 -1
- package/dist/types/components/modal/index.d.ts +1 -0
- package/dist/types/components/modal/modal.d.ts +33 -0
- package/dist/types/components/navbar/navbar-indicator-context.d.ts +1 -1
- package/dist/types/components/network-icon/network-icon.d.ts +8 -1
- package/dist/types/components/points-icon/points-icon.d.ts +2 -5
- package/dist/types/components/pool-apy-tooltip/pool-apy-tooltip.d.ts +27 -1
- package/dist/types/components/pool-points-indicator/pool-points-indicator.d.ts +1 -1
- package/dist/types/components/rounded-image/rounded-image.d.ts +19 -4
- package/dist/types/components/short-string/short-string.d.ts +4 -4
- package/dist/types/components/skeleton/skeleton.d.ts +1 -1
- package/dist/types/components/stat-badge/stat-badge.d.ts +1 -1
- package/dist/types/components/table/grid-table.d.ts +4 -0
- package/dist/types/components/text-button/text-button.d.ts +13 -24
- package/dist/types/components/theme-provider.d.ts +1 -1
- package/dist/types/components/tip-card/tip-card.d.ts +20 -40
- package/dist/types/components/token-icon/token-icon.d.ts +10 -4
- package/dist/types/components/token-symbol/token-symbol.d.ts +9 -4
- package/dist/types/components/typed-intl/index.d.ts +0 -2
- package/dist/types/components/typography/typography.d.ts +2 -2
- package/dist/types/components/vertical-list/vertical-list.d.ts +2 -5
- package/dist/types/components/with-copy/with-copy.d.ts +1 -1
- package/dist/types/configs/tailwind-preset.d.ts +2 -0
- package/dist/types/hooks/index.d.ts +0 -1
- package/dist/types/hooks/use-filter.d.ts +2 -2
- package/dist/types/index.d.ts +1 -0
- package/dist/types/types/component-props.d.ts +1 -1
- package/dist/types/types/footer.d.ts +1 -1
- package/dist/types/utils/bn-to-pretty-view.d.ts +2 -1
- package/dist/types/utils/format-money.d.ts +0 -15
- package/dist/types/utils/format-slippage.d.ts +15 -0
- package/dist/types/utils/index.d.ts +4 -1
- package/dist/types/utils/loading.d.ts +3 -0
- package/dist/types/utils/network-icons.d.ts +6 -33
- package/dist/types/utils/parse-input-to-bn.d.ts +13 -16
- package/dist/types/utils/shorten-string.d.ts +2 -1
- package/dist/types/utils/static.d.ts +3 -0
- package/dist/types/utils/templates.d.ts +1 -1
- package/dist/types/utils/window.d.ts +3 -1
- package/dist/types/utils/z-index.d.ts +8 -0
- package/package.json +9 -6
- package/src/styles/base.css +19 -8
- package/src/styles/theme.css +21 -0
- package/dist/cjs/components/dialog/dialog-modal.cjs +0 -1
- package/dist/cjs/hooks/use-pool-points-tips.cjs +0 -1
- package/dist/esm/components/dialog/dialog-modal.js +0 -70
- package/dist/esm/hooks/use-pool-points-tips.js +0 -17
- package/dist/types/components/dialog/dialog-modal.d.ts +0 -30
- package/dist/types/hooks/use-pool-points-tips.d.ts +0 -40
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as m } from "react/jsx-runtime";
|
|
2
2
|
import * as o from "@radix-ui/react-dialog";
|
|
3
3
|
import * as e from "react";
|
|
4
|
+
import "@gearbox-protocol/sdk";
|
|
4
5
|
import { cn as a } from "../../utils/cn.js";
|
|
5
6
|
import "sonner";
|
|
6
|
-
import "@gearbox-protocol/sdk";
|
|
7
7
|
const p = e.forwardRef(({ className: i, ...r }, t) => /* @__PURE__ */ m(
|
|
8
8
|
o.Description,
|
|
9
9
|
{
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as e, jsxs as i } from "react/jsx-runtime";
|
|
2
2
|
import { Button as m } from "../buttons/button/button.js";
|
|
3
3
|
import "react";
|
|
4
|
+
import "@gearbox-protocol/sdk";
|
|
4
5
|
import { cn as b } from "../../utils/cn.js";
|
|
5
6
|
import "sonner";
|
|
6
|
-
import "@gearbox-protocol/sdk";
|
|
7
7
|
import { Dialog as g } from "./dialog.js";
|
|
8
8
|
import { DialogContent as v } from "./dialog-content.js";
|
|
9
9
|
import { DialogFooter as D } from "./dialog-footer.js";
|
|
@@ -1,26 +1,47 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import "sonner";
|
|
1
|
+
import { jsx as a } from "react/jsx-runtime";
|
|
2
|
+
import { cva as f } from "class-variance-authority";
|
|
3
|
+
import * as c from "react";
|
|
5
4
|
import "@gearbox-protocol/sdk";
|
|
6
|
-
import {
|
|
7
|
-
import
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
5
|
+
import { cn as w } from "../../utils/cn.js";
|
|
6
|
+
import "sonner";
|
|
7
|
+
import { Modal as g } from "../modal/modal.js";
|
|
8
|
+
import { DialogContainer as h } from "./dialog-container.js";
|
|
9
|
+
const u = f("", {
|
|
10
|
+
variants: {
|
|
11
|
+
width: {
|
|
12
|
+
default: "md:w-[640px]",
|
|
13
|
+
lg: "md:w-[720px]",
|
|
14
|
+
full: "md:w-full"
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
defaultVariants: {
|
|
18
|
+
width: "default"
|
|
19
|
+
}
|
|
20
|
+
}), x = c.forwardRef(({ show: o, onClickOutside: r, modal: i, dialog: l, children: t }, m) => {
|
|
21
|
+
const {
|
|
22
|
+
className: d,
|
|
23
|
+
colorTheme: e = "modal",
|
|
24
|
+
padding: n = "xl",
|
|
25
|
+
width: s,
|
|
26
|
+
...p
|
|
27
|
+
} = l || {};
|
|
28
|
+
return /* @__PURE__ */ a(g, { ...i, show: o, onClickOutside: r, children: /* @__PURE__ */ a(
|
|
29
|
+
h,
|
|
12
30
|
{
|
|
13
|
-
ref:
|
|
14
|
-
className:
|
|
15
|
-
"w-full
|
|
16
|
-
|
|
31
|
+
ref: m,
|
|
32
|
+
className: w(
|
|
33
|
+
"w-full sm:w-[440px] min-h-screen sm:min-h-0",
|
|
34
|
+
u({ width: s }),
|
|
35
|
+
d
|
|
17
36
|
),
|
|
18
|
-
|
|
19
|
-
|
|
37
|
+
colorTheme: e,
|
|
38
|
+
padding: n,
|
|
39
|
+
...p,
|
|
40
|
+
children: t
|
|
20
41
|
}
|
|
21
42
|
) });
|
|
22
43
|
});
|
|
23
|
-
|
|
44
|
+
x.displayName = "DialogModalContainer";
|
|
24
45
|
export {
|
|
25
|
-
|
|
46
|
+
x as DialogModalContainer
|
|
26
47
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as i } from "react/jsx-runtime";
|
|
2
2
|
import * as a from "@radix-ui/react-dialog";
|
|
3
3
|
import * as r from "react";
|
|
4
|
+
import "@gearbox-protocol/sdk";
|
|
4
5
|
import { cn as m } from "../../utils/cn.js";
|
|
5
6
|
import "sonner";
|
|
6
|
-
import "@gearbox-protocol/sdk";
|
|
7
7
|
const s = r.forwardRef(({ className: t, ...e }, o) => /* @__PURE__ */ i(
|
|
8
8
|
a.Overlay,
|
|
9
9
|
{
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as m } from "react/jsx-runtime";
|
|
2
2
|
import * as o from "@radix-ui/react-dialog";
|
|
3
3
|
import * as e from "react";
|
|
4
|
+
import "@gearbox-protocol/sdk";
|
|
4
5
|
import { cn as a } from "../../utils/cn.js";
|
|
5
6
|
import "sonner";
|
|
6
|
-
import "@gearbox-protocol/sdk";
|
|
7
7
|
const l = e.forwardRef(({ className: t, ...i }, r) => /* @__PURE__ */ m(
|
|
8
8
|
o.Title,
|
|
9
9
|
{
|
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
1
|
+
import { Modal as e } from "../modal/modal.js";
|
|
2
|
+
import { Dialog as i, DialogPortal as t, DialogTrigger as l } from "./dialog.js";
|
|
3
|
+
import { DialogContainer as D } from "./dialog-container.js";
|
|
4
|
+
import { DialogContent as p } from "./dialog-content.js";
|
|
5
|
+
import { DialogDescription as x } from "./dialog-description.js";
|
|
6
|
+
import { DialogFooter as d } from "./dialog-footer.js";
|
|
7
|
+
import { DialogForm as F } from "./dialog-form.js";
|
|
8
|
+
import { DialogHeader as O } from "./dialog-header.js";
|
|
9
9
|
import { DialogModalContainer as c } from "./dialog-modal-container.js";
|
|
10
10
|
import { DialogOverlay as v } from "./dialog-overlay.js";
|
|
11
11
|
import { DialogTitle as H } from "./dialog-title.js";
|
|
12
12
|
import { OneFieldDialog as b } from "./one-field-dialog.js";
|
|
13
13
|
export {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
O as DialogModal,
|
|
14
|
+
i as Dialog,
|
|
15
|
+
D as DialogContainer,
|
|
16
|
+
p as DialogContent,
|
|
17
|
+
x as DialogDescription,
|
|
18
|
+
d as DialogFooter,
|
|
19
|
+
F as DialogForm,
|
|
20
|
+
O as DialogHeader,
|
|
22
21
|
c as DialogModalContainer,
|
|
23
22
|
v as DialogOverlay,
|
|
24
|
-
|
|
23
|
+
t as DialogPortal,
|
|
25
24
|
H as DialogTitle,
|
|
26
|
-
|
|
25
|
+
l as DialogTrigger,
|
|
26
|
+
e as Modal,
|
|
27
27
|
b as OneFieldDialog
|
|
28
28
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsxs as f, jsx as c } from "react/jsx-runtime";
|
|
2
2
|
import { ChevronDown as u } from "lucide-react";
|
|
3
3
|
import "react";
|
|
4
|
+
import "@gearbox-protocol/sdk";
|
|
4
5
|
import { cn as e } from "../../utils/cn.js";
|
|
5
6
|
import "sonner";
|
|
6
|
-
import "@gearbox-protocol/sdk";
|
|
7
7
|
function j({
|
|
8
8
|
children: n,
|
|
9
9
|
label: s,
|
|
@@ -2,9 +2,9 @@ import { jsxs as m, jsx as e } from "react/jsx-runtime";
|
|
|
2
2
|
import * as o from "@radix-ui/react-dropdown-menu";
|
|
3
3
|
import { Check as d } from "lucide-react";
|
|
4
4
|
import * as l from "react";
|
|
5
|
+
import "@gearbox-protocol/sdk";
|
|
5
6
|
import { cn as p } from "../../utils/cn.js";
|
|
6
7
|
import "sonner";
|
|
7
|
-
import "@gearbox-protocol/sdk";
|
|
8
8
|
const f = l.forwardRef(
|
|
9
9
|
({ className: r, children: t, checked: s, onCheckedChange: n, disabled: a, ...i }, c) => /* @__PURE__ */ m(
|
|
10
10
|
o.CheckboxItem,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import * as t from "@radix-ui/react-dropdown-menu";
|
|
3
3
|
import * as i from "react";
|
|
4
|
+
import "@gearbox-protocol/sdk";
|
|
4
5
|
import { cn as n } from "../../utils/cn.js";
|
|
5
6
|
import "sonner";
|
|
6
|
-
import "@gearbox-protocol/sdk";
|
|
7
7
|
const m = i.forwardRef(({ className: e, sideOffset: a = 4, ...d }, r) => /* @__PURE__ */ o(t.Portal, { children: /* @__PURE__ */ o(
|
|
8
8
|
t.Content,
|
|
9
9
|
{
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as n } from "react/jsx-runtime";
|
|
2
2
|
import * as e from "@radix-ui/react-dropdown-menu";
|
|
3
3
|
import * as i from "react";
|
|
4
|
+
import "@gearbox-protocol/sdk";
|
|
4
5
|
import { cn as a } from "../../utils/cn.js";
|
|
5
6
|
import "sonner";
|
|
6
|
-
import "@gearbox-protocol/sdk";
|
|
7
7
|
const d = i.forwardRef(({ className: o, inset: r, ...t }, s) => /* @__PURE__ */ n(
|
|
8
8
|
e.Item,
|
|
9
9
|
{
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import * as o from "@radix-ui/react-dropdown-menu";
|
|
3
3
|
import * as t from "react";
|
|
4
|
+
import "@gearbox-protocol/sdk";
|
|
4
5
|
import { cn as i } from "../../utils/cn.js";
|
|
5
6
|
import "sonner";
|
|
6
|
-
import "@gearbox-protocol/sdk";
|
|
7
7
|
const s = t.forwardRef(({ className: m, inset: r, ...e }, p) => /* @__PURE__ */ a(
|
|
8
8
|
o.Label,
|
|
9
9
|
{
|
|
@@ -2,9 +2,9 @@ import { jsxs as s, jsx as e } from "react/jsx-runtime";
|
|
|
2
2
|
import * as t from "@radix-ui/react-dropdown-menu";
|
|
3
3
|
import { Circle as n } from "lucide-react";
|
|
4
4
|
import * as c from "react";
|
|
5
|
+
import "@gearbox-protocol/sdk";
|
|
5
6
|
import { cn as d } from "../../utils/cn.js";
|
|
6
7
|
import "sonner";
|
|
7
|
-
import "@gearbox-protocol/sdk";
|
|
8
8
|
const l = c.forwardRef(({ className: o, children: r, ...a }, i) => /* @__PURE__ */ s(
|
|
9
9
|
t.RadioItem,
|
|
10
10
|
{
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as p } from "react/jsx-runtime";
|
|
2
2
|
import * as r from "@radix-ui/react-dropdown-menu";
|
|
3
3
|
import * as t from "react";
|
|
4
|
+
import "@gearbox-protocol/sdk";
|
|
4
5
|
import { cn as e } from "../../utils/cn.js";
|
|
5
6
|
import "sonner";
|
|
6
|
-
import "@gearbox-protocol/sdk";
|
|
7
7
|
const i = t.forwardRef(({ className: o, ...m }, a) => /* @__PURE__ */ p(
|
|
8
8
|
r.Separator,
|
|
9
9
|
{
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as d } from "react/jsx-runtime";
|
|
2
2
|
import * as t from "@radix-ui/react-dropdown-menu";
|
|
3
3
|
import * as i from "react";
|
|
4
|
+
import "@gearbox-protocol/sdk";
|
|
4
5
|
import { cn as r } from "../../utils/cn.js";
|
|
5
6
|
import "sonner";
|
|
6
|
-
import "@gearbox-protocol/sdk";
|
|
7
7
|
const n = i.forwardRef(({ className: o, ...e }, a) => /* @__PURE__ */ d(
|
|
8
8
|
t.SubContent,
|
|
9
9
|
{
|
|
@@ -2,9 +2,9 @@ import { jsxs as i, jsx as m } from "react/jsx-runtime";
|
|
|
2
2
|
import * as e from "@radix-ui/react-dropdown-menu";
|
|
3
3
|
import { ChevronRight as a } from "lucide-react";
|
|
4
4
|
import * as p from "react";
|
|
5
|
+
import "@gearbox-protocol/sdk";
|
|
5
6
|
import { cn as c } from "../../utils/cn.js";
|
|
6
7
|
import "sonner";
|
|
7
|
-
import "@gearbox-protocol/sdk";
|
|
8
8
|
const g = p.forwardRef(({ className: r, inset: o, children: t, ...s }, n) => /* @__PURE__ */ i(
|
|
9
9
|
e.SubTrigger,
|
|
10
10
|
{
|
|
@@ -2,9 +2,9 @@ import { jsxs as h, jsx as e } from "react/jsx-runtime";
|
|
|
2
2
|
import { Pencil as z, Check as I, X as R } from "lucide-react";
|
|
3
3
|
import * as s from "react";
|
|
4
4
|
import { Input as S } from "../input/input.js";
|
|
5
|
+
import "@gearbox-protocol/sdk";
|
|
5
6
|
import { cn as l } from "../../utils/cn.js";
|
|
6
7
|
import "sonner";
|
|
7
|
-
import "@gearbox-protocol/sdk";
|
|
8
8
|
function L({
|
|
9
9
|
value: n = "",
|
|
10
10
|
onChange: g,
|
|
@@ -4,9 +4,9 @@ import { Button as i } from "../buttons/button/button.js";
|
|
|
4
4
|
import { DialogContainer as l } from "../dialog/dialog-container.js";
|
|
5
5
|
import { FormattedMessageTyped as d } from "../typed-intl/index.js";
|
|
6
6
|
import "react";
|
|
7
|
+
import "@gearbox-protocol/sdk";
|
|
7
8
|
import { cn as n } from "../../utils/cn.js";
|
|
8
9
|
import "sonner";
|
|
9
|
-
import "@gearbox-protocol/sdk";
|
|
10
10
|
function N({
|
|
11
11
|
err: t,
|
|
12
12
|
btnTitle: s,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as e, jsxs as i } from "react/jsx-runtime";
|
|
2
2
|
import { BackButton as x } from "../buttons/back-button/back-button.js";
|
|
3
3
|
import "react";
|
|
4
|
+
import "@gearbox-protocol/sdk";
|
|
4
5
|
import { cn as r } from "../../utils/cn.js";
|
|
5
6
|
import "sonner";
|
|
6
|
-
import "@gearbox-protocol/sdk";
|
|
7
7
|
function h({
|
|
8
8
|
status: m,
|
|
9
9
|
message: t,
|
|
@@ -11,9 +11,9 @@ import "../dropdown-menu/dropdown-menu-separator.js";
|
|
|
11
11
|
import "../dropdown-menu/dropdown-menu-shortcut.js";
|
|
12
12
|
import "../dropdown-menu/dropdown-menu-sub-content.js";
|
|
13
13
|
import "../dropdown-menu/dropdown-menu-sub-trigger.js";
|
|
14
|
+
import "@gearbox-protocol/sdk";
|
|
14
15
|
import { cn as M } from "../../utils/cn.js";
|
|
15
16
|
import "sonner";
|
|
16
|
-
import "@gearbox-protocol/sdk";
|
|
17
17
|
const m = {
|
|
18
18
|
1: [
|
|
19
19
|
{ name: "Etherscan", url: "https://etherscan.io" },
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as m } from "react/jsx-runtime";
|
|
2
2
|
import * as n from "react";
|
|
3
|
+
import "@gearbox-protocol/sdk";
|
|
3
4
|
import { cn as p } from "../../utils/cn.js";
|
|
4
5
|
import "sonner";
|
|
5
|
-
import "@gearbox-protocol/sdk";
|
|
6
6
|
const d = n.forwardRef(
|
|
7
7
|
({ className: o, loading: a = !1, duration: t = 150, children: i, style: e, ...r }, s) => /* @__PURE__ */ m(
|
|
8
8
|
"span",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as p } from "react/jsx-runtime";
|
|
2
2
|
import * as s from "react";
|
|
3
|
+
import "@gearbox-protocol/sdk";
|
|
3
4
|
import { cn as l } from "../../utils/cn.js";
|
|
4
5
|
import "sonner";
|
|
5
|
-
import "@gearbox-protocol/sdk";
|
|
6
6
|
import { filterBlockVariants as c } from "./variants.js";
|
|
7
7
|
const d = s.forwardRef(
|
|
8
8
|
({ className: t, variant: o, opened: r, type: a, hasSelected: e, onReset: f, ...i }, m) => /* @__PURE__ */ p(
|
|
@@ -2,9 +2,9 @@ import { jsxs as c, jsx as e } from "react/jsx-runtime";
|
|
|
2
2
|
import * as t from "@radix-ui/react-dropdown-menu";
|
|
3
3
|
import { Check as n } from "lucide-react";
|
|
4
4
|
import * as m from "react";
|
|
5
|
+
import "@gearbox-protocol/sdk";
|
|
5
6
|
import { cn as l } from "../../utils/cn.js";
|
|
6
7
|
import "sonner";
|
|
7
|
-
import "@gearbox-protocol/sdk";
|
|
8
8
|
const d = m.forwardRef(({ className: o, children: r, checked: a, ...s }, i) => /* @__PURE__ */ c(
|
|
9
9
|
t.CheckboxItem,
|
|
10
10
|
{
|
|
@@ -2,9 +2,9 @@ import { jsx as r, jsxs as s } from "react/jsx-runtime";
|
|
|
2
2
|
import { X as p } from "lucide-react";
|
|
3
3
|
import * as m from "react";
|
|
4
4
|
import { Badge as f } from "../badge/badge.js";
|
|
5
|
+
import "@gearbox-protocol/sdk";
|
|
5
6
|
import { cn as l } from "../../utils/cn.js";
|
|
6
7
|
import "sonner";
|
|
7
|
-
import "@gearbox-protocol/sdk";
|
|
8
8
|
const u = m.forwardRef(
|
|
9
9
|
({ className: e, label: t, value: d, onRemove: o, showRemove: i = !0, ...a }, n) => /* @__PURE__ */ r("div", { ref: n, ...a, children: /* @__PURE__ */ s(
|
|
10
10
|
f,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsxs as p, jsx as i } from "react/jsx-runtime";
|
|
2
2
|
import * as d from "react";
|
|
3
|
+
import "@gearbox-protocol/sdk";
|
|
3
4
|
import { cn as s } from "../../utils/cn.js";
|
|
4
5
|
import "sonner";
|
|
5
|
-
import "@gearbox-protocol/sdk";
|
|
6
6
|
import { FilterChip as u } from "./filter-chip.js";
|
|
7
7
|
const c = d.forwardRef(
|
|
8
8
|
({
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsxs as d, jsx as r } from "react/jsx-runtime";
|
|
2
2
|
import * as p from "react";
|
|
3
|
+
import "@gearbox-protocol/sdk";
|
|
3
4
|
import { cn as u } from "../../utils/cn.js";
|
|
4
5
|
import "sonner";
|
|
5
|
-
import "@gearbox-protocol/sdk";
|
|
6
6
|
const x = p.forwardRef(
|
|
7
7
|
({
|
|
8
8
|
className: n,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as i } from "react/jsx-runtime";
|
|
2
2
|
import * as r from "@radix-ui/react-dropdown-menu";
|
|
3
3
|
import * as t from "react";
|
|
4
|
+
import "@gearbox-protocol/sdk";
|
|
4
5
|
import { cn as a } from "../../utils/cn.js";
|
|
5
6
|
import "sonner";
|
|
6
|
-
import "@gearbox-protocol/sdk";
|
|
7
7
|
const e = t.forwardRef(({ className: o, ...m }, p) => /* @__PURE__ */ i(r.Group, { ref: p, className: a(o), ...m }));
|
|
8
8
|
e.displayName = r.Group.displayName;
|
|
9
9
|
export {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import * as o from "@radix-ui/react-dropdown-menu";
|
|
3
3
|
import * as i from "react";
|
|
4
|
+
import "@gearbox-protocol/sdk";
|
|
4
5
|
import { cn as p } from "../../utils/cn.js";
|
|
5
6
|
import "sonner";
|
|
6
|
-
import "@gearbox-protocol/sdk";
|
|
7
7
|
const s = i.forwardRef(({ className: m, inset: r, ...e }, t) => /* @__PURE__ */ a(
|
|
8
8
|
o.Label,
|
|
9
9
|
{
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsxs as d, jsx as n } from "react/jsx-runtime";
|
|
2
2
|
import * as x from "react";
|
|
3
|
+
import "@gearbox-protocol/sdk";
|
|
3
4
|
import { cn as g } from "../../utils/cn.js";
|
|
4
5
|
import "sonner";
|
|
5
|
-
import "@gearbox-protocol/sdk";
|
|
6
6
|
const b = x.forwardRef(
|
|
7
7
|
({
|
|
8
8
|
className: i,
|
|
@@ -6,12 +6,13 @@ import "../buttons/copy-button/copy-button.js";
|
|
|
6
6
|
import "../buttons/external-button/external-button.js";
|
|
7
7
|
import "../buttons/filter-button/filter-button.js";
|
|
8
8
|
import "../buttons/navigation-button/navigation-button.js";
|
|
9
|
+
import "@gearbox-protocol/sdk";
|
|
9
10
|
import { cn as j } from "../../utils/cn.js";
|
|
10
11
|
import "sonner";
|
|
11
|
-
import "@gearbox-protocol/sdk";
|
|
12
12
|
import { extractTextFromLabel as R, serializeValue as z } from "../../utils/react.js";
|
|
13
13
|
import "../buttons/tab-button/tab-button.js";
|
|
14
14
|
import { CheckboxItem as F } from "../checkbox-item/checkbox-item.js";
|
|
15
|
+
import "../modal/modal.js";
|
|
15
16
|
import { Dialog as P } from "../dialog/dialog.js";
|
|
16
17
|
import "../dialog/dialog-container.js";
|
|
17
18
|
import { DialogContent as U } from "../dialog/dialog-content.js";
|
|
@@ -19,7 +20,6 @@ import "../dialog/dialog-description.js";
|
|
|
19
20
|
import { DialogFooter as W } from "../dialog/dialog-footer.js";
|
|
20
21
|
import { DialogHeader as X } from "../dialog/dialog-header.js";
|
|
21
22
|
import { DialogTitle as Y } from "../dialog/dialog-title.js";
|
|
22
|
-
import "../dialog/dialog-modal.js";
|
|
23
23
|
import "../dialog/dialog-modal-container.js";
|
|
24
24
|
import "../dialog/dialog-overlay.js";
|
|
25
25
|
import "viem";
|
|
@@ -2,9 +2,9 @@ import { jsxs as s, jsx as e } from "react/jsx-runtime";
|
|
|
2
2
|
import * as t from "@radix-ui/react-dropdown-menu";
|
|
3
3
|
import { Circle as n } from "lucide-react";
|
|
4
4
|
import * as l from "react";
|
|
5
|
+
import "@gearbox-protocol/sdk";
|
|
5
6
|
import { cn as c } from "../../utils/cn.js";
|
|
6
7
|
import "sonner";
|
|
7
|
-
import "@gearbox-protocol/sdk";
|
|
8
8
|
const m = l.forwardRef(({ className: o, children: r, ...a }, i) => /* @__PURE__ */ s(
|
|
9
9
|
t.RadioItem,
|
|
10
10
|
{
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import * as r from "@radix-ui/react-dropdown-menu";
|
|
3
3
|
import * as p from "react";
|
|
4
|
+
import "@gearbox-protocol/sdk";
|
|
4
5
|
import { cn as e } from "../../utils/cn.js";
|
|
5
6
|
import "sonner";
|
|
6
|
-
import "@gearbox-protocol/sdk";
|
|
7
7
|
const i = p.forwardRef(({ className: o, ...m }, a) => /* @__PURE__ */ t(
|
|
8
8
|
r.Separator,
|
|
9
9
|
{
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as n, Fragment as p, jsxs as t } from "react/jsx-runtime";
|
|
2
2
|
import { TokenSymbol as i } from "../token-symbol/token-symbol.js";
|
|
3
3
|
import "react";
|
|
4
|
+
import "@gearbox-protocol/sdk";
|
|
4
5
|
import { cn as r } from "../../utils/cn.js";
|
|
5
6
|
import "sonner";
|
|
6
|
-
import "@gearbox-protocol/sdk";
|
|
7
7
|
function h({
|
|
8
8
|
assets: m,
|
|
9
9
|
onSelect: l,
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
import { cn as p } from "../../utils/cn.js";
|
|
4
|
-
import "sonner";
|
|
5
3
|
import "@gearbox-protocol/sdk";
|
|
6
|
-
|
|
7
|
-
|
|
4
|
+
import { cn as t } from "../../utils/cn.js";
|
|
5
|
+
import "sonner";
|
|
6
|
+
function a({ children: r, className: i, ...m }) {
|
|
7
|
+
return /* @__PURE__ */ o("td", { className: t("px-3 py-2 align-middle", i), ...m, children: r });
|
|
8
8
|
}
|
|
9
9
|
export {
|
|
10
|
-
|
|
10
|
+
a as GridTDCell
|
|
11
11
|
};
|
|
@@ -3,9 +3,9 @@ import { ChevronUp as v, ChevronDown as C } from "lucide-react";
|
|
|
3
3
|
import * as N from "react";
|
|
4
4
|
import { HelpTip as m } from "../help-tip/help-tip.js";
|
|
5
5
|
import { TooltipProvider as T, Tooltip as w, TooltipTrigger as y, TooltipContent as b } from "../tooltip/tooltip.js";
|
|
6
|
+
import "@gearbox-protocol/sdk";
|
|
6
7
|
import { cn as o } from "../../utils/cn.js";
|
|
7
8
|
import "sonner";
|
|
8
|
-
import "@gearbox-protocol/sdk";
|
|
9
9
|
function R({
|
|
10
10
|
title: l,
|
|
11
11
|
tip: r,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as g } from "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
+
import "@gearbox-protocol/sdk";
|
|
3
4
|
import { cn as p } from "../../utils/cn.js";
|
|
4
5
|
import "sonner";
|
|
5
|
-
import "@gearbox-protocol/sdk";
|
|
6
6
|
import { PERCENTAGE_FACTOR as i, formatPercentAmount as v } from "../../utils/format-money.js";
|
|
7
7
|
const x = 15e3, A = 11e3, C = 10500, F = (r) => {
|
|
8
8
|
if (!r) return;
|