@0xsquid/ui 0.26.0 → 0.27.1
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/README.md +3 -3
- package/dist/cjs/index.js +2027 -1729
- package/dist/cjs/types/components/badges/BadgeImage.d.ts +1 -1
- package/dist/cjs/types/components/badges/IconLabel.d.ts +3 -3
- package/dist/cjs/types/components/badges/Image.d.ts +9 -0
- package/dist/cjs/types/components/badges/LoadingSkeleton.d.ts +3 -3
- package/dist/cjs/types/components/badges/TransactionState.d.ts +2 -2
- package/dist/cjs/types/components/badges/index.d.ts +7 -7
- package/dist/cjs/types/components/buttons/AssetsButton.d.ts +3 -3
- package/dist/cjs/types/components/buttons/BoostButton.d.ts +1 -1
- package/dist/cjs/types/components/buttons/Button.d.ts +2 -2
- package/dist/cjs/types/components/buttons/FeeButton.d.ts +2 -2
- package/dist/cjs/types/components/buttons/IconButton.d.ts +2 -2
- package/dist/cjs/types/components/buttons/StopsButton.d.ts +13 -0
- package/dist/cjs/types/components/buttons/index.d.ts +11 -11
- package/dist/cjs/types/components/controls/Input.d.ts +1 -1
- package/dist/cjs/types/components/controls/NumericInput.d.ts +5 -5
- package/dist/cjs/types/components/controls/SettingsSlider.d.ts +1 -1
- package/dist/cjs/types/components/controls/Switch.d.ts +5 -4
- package/dist/cjs/types/components/controls/Tooltip.d.ts +3 -3
- package/dist/cjs/types/components/controls/index.d.ts +6 -6
- package/dist/cjs/types/components/icons/Arrow.d.ts +16 -1
- package/dist/cjs/types/components/icons/Clock.d.ts +1 -1
- package/dist/cjs/types/components/icons/Coins.d.ts +5 -1
- package/dist/cjs/types/components/icons/CompassRound.d.ts +5 -1
- package/dist/cjs/types/components/icons/Copy.d.ts +2 -2
- package/dist/cjs/types/components/icons/CrossAnimatedIcon.d.ts +1 -1
- package/dist/cjs/types/components/icons/Generic.d.ts +40 -0
- package/dist/cjs/types/components/icons/Link.d.ts +2 -2
- package/dist/cjs/types/components/icons/Loader.d.ts +2 -2
- package/dist/cjs/types/components/icons/Search.d.ts +4 -1
- package/dist/cjs/types/components/icons/Timeline.d.ts +2 -2
- package/dist/cjs/types/components/icons/index.d.ts +55 -54
- package/dist/cjs/types/components/index.d.ts +8 -8
- package/dist/cjs/types/components/layout/AppContainer.d.ts +2 -2
- package/dist/cjs/types/components/layout/Boost.d.ts +3 -3
- package/dist/cjs/types/components/layout/Breadcrumb.d.ts +1 -1
- package/dist/cjs/types/components/layout/Collapse.d.ts +3 -3
- package/dist/cjs/types/components/layout/CollapsibleMenu.d.ts +1 -1
- package/dist/cjs/types/components/layout/DescriptionBlocks.d.ts +4 -4
- package/dist/cjs/types/components/layout/DetailsToolbar.d.ts +6 -14
- package/dist/cjs/types/components/layout/DropdownMenu.d.ts +6 -3
- package/dist/cjs/types/components/layout/HashLink.d.ts +1 -1
- package/dist/cjs/types/components/layout/Join.d.ts +1 -1
- package/dist/cjs/types/components/layout/Menu.d.ts +5 -5
- package/dist/cjs/types/components/layout/Modal.d.ts +1 -1
- package/dist/cjs/types/components/layout/ModalContent.d.ts +1 -1
- package/dist/cjs/types/components/layout/NavigationBar.d.ts +4 -4
- package/dist/cjs/types/components/layout/PipeSeparator.d.ts +2 -2
- package/dist/cjs/types/components/layout/SwapConfiguration.d.ts +7 -7
- package/dist/cjs/types/components/layout/SwapStepsCollapsed.d.ts +1 -1
- package/dist/cjs/types/components/layout/TokenPair.d.ts +1 -1
- package/dist/cjs/types/components/layout/TransactionFilters.d.ts +2 -2
- package/dist/cjs/types/components/layout/TransactionHeader/BridgeHeader.d.ts +1 -1
- package/dist/cjs/types/components/layout/TransactionHeader/BuyNFTHeader.d.ts +1 -1
- package/dist/cjs/types/components/layout/TransactionHeader/InteractionHeader.d.ts +2 -2
- package/dist/cjs/types/components/layout/TransactionHeader/SwapHeader.d.ts +1 -1
- package/dist/cjs/types/components/layout/TransactionHeader/TransactionHeader.d.ts +6 -6
- package/dist/cjs/types/components/layout/TransactionHeader/TransactionHeaderLayout.d.ts +2 -2
- package/dist/cjs/types/components/layout/TransactionHeader/index.d.ts +1 -1
- package/dist/cjs/types/components/layout/TransactionProperties/PropertiesLayout.d.ts +1 -1
- package/dist/cjs/types/components/layout/TransactionProperties/TransactionProperties.d.ts +5 -5
- package/dist/cjs/types/components/layout/TransactionProperties/index.d.ts +6 -6
- package/dist/cjs/types/components/layout/TransactionSearch.d.ts +1 -1
- package/dist/cjs/types/components/layout/Transfer.d.ts +1 -1
- package/dist/cjs/types/components/layout/index.d.ts +41 -41
- package/dist/cjs/types/components/lists/DropdownMenuItem.d.ts +18 -2
- package/dist/cjs/types/components/lists/DropdownMenuTitle.d.ts +3 -0
- package/dist/cjs/types/components/lists/HistoryItem.d.ts +3 -4
- package/dist/cjs/types/components/lists/ListItem.d.ts +7 -2
- package/dist/cjs/types/components/lists/PropertyListItem.d.ts +8 -4
- package/dist/cjs/types/components/lists/RouteStep.d.ts +9 -0
- package/dist/cjs/types/components/lists/SettingsItem.d.ts +7 -7
- package/dist/cjs/types/components/lists/SwapStepItem.d.ts +1 -1
- package/dist/cjs/types/components/lists/TransactionAction/ActionLayout.d.ts +3 -3
- package/dist/cjs/types/components/lists/TransactionAction/ApproveAction.d.ts +1 -1
- package/dist/cjs/types/components/lists/TransactionAction/BaseActionProps.d.ts +1 -1
- package/dist/cjs/types/components/lists/TransactionAction/BridgeAction.d.ts +1 -1
- package/dist/cjs/types/components/lists/TransactionAction/FeesAction.d.ts +2 -2
- package/dist/cjs/types/components/lists/TransactionAction/IncompleteAction.d.ts +2 -2
- package/dist/cjs/types/components/lists/TransactionAction/ReceiveNFTAction.d.ts +1 -1
- package/dist/cjs/types/components/lists/TransactionAction/ReceiveTokensAction.d.ts +1 -1
- package/dist/cjs/types/components/lists/TransactionAction/SendTokensAction.d.ts +1 -1
- package/dist/cjs/types/components/lists/TransactionAction/StakeAction.d.ts +1 -1
- package/dist/cjs/types/components/lists/TransactionAction/StartAction.d.ts +1 -1
- package/dist/cjs/types/components/lists/TransactionAction/SuccessAction.d.ts +1 -1
- package/dist/cjs/types/components/lists/TransactionAction/SwapAction.d.ts +1 -1
- package/dist/cjs/types/components/lists/TransactionAction/TransactionAction.d.ts +13 -13
- package/dist/cjs/types/components/lists/TransactionAction/WrapAction.d.ts +1 -1
- package/dist/cjs/types/components/lists/TransactionAction/index.d.ts +14 -14
- package/dist/cjs/types/components/lists/TransactionAction/linkActionTimelineProps.d.ts +1 -1
- package/dist/cjs/types/components/lists/TransactionItem.d.ts +3 -3
- package/dist/cjs/types/components/lists/index.d.ts +27 -25
- package/dist/cjs/types/components/typography/BodyText.d.ts +2 -2
- package/dist/cjs/types/components/typography/HeadingText.d.ts +2 -2
- package/dist/cjs/types/components/typography/index.d.ts +3 -3
- package/dist/cjs/types/components/views/AssetsView.d.ts +1 -1
- package/dist/cjs/types/components/views/RecipientView.d.ts +1 -1
- package/dist/cjs/types/components/views/SwapProgressView.d.ts +2 -2
- package/dist/cjs/types/components/views/TransactionView/BaseTransactionViewProps.d.ts +2 -2
- package/dist/cjs/types/components/views/TransactionView/BridgeTransactionView.d.ts +1 -1
- package/dist/cjs/types/components/views/TransactionView/BuyNFTTransactionView.d.ts +1 -1
- package/dist/cjs/types/components/views/TransactionView/InteractionTransactionView.d.ts +2 -2
- package/dist/cjs/types/components/views/TransactionView/SwapTransactionView.d.ts +1 -1
- package/dist/cjs/types/components/views/TransactionView/TransactionView.d.ts +5 -5
- package/dist/cjs/types/components/views/TransactionView/TransactionViewLayout.d.ts +3 -3
- package/dist/cjs/types/components/views/TransactionView/index.d.ts +6 -6
- package/dist/cjs/types/components/views/index.d.ts +13 -13
- package/dist/cjs/types/core/constants.d.ts +1 -1
- package/dist/cjs/types/core/design-system.d.ts +1 -1
- package/dist/cjs/types/core/index.d.ts +4 -4
- package/dist/cjs/types/core/themes.d.ts +2 -2
- package/dist/cjs/types/core/utils.d.ts +12 -3
- package/dist/cjs/types/hooks/index.d.ts +6 -6
- package/dist/cjs/types/hooks/useDropdownMenu.d.ts +14 -3
- package/dist/cjs/types/index.d.ts +5 -5
- package/dist/cjs/types/providers/SquidConfigProvider.d.ts +3 -3
- package/dist/cjs/types/providers/index.d.ts +1 -1
- package/dist/cjs/types/services/internal/colorService.d.ts +1 -1
- package/dist/cjs/types/stories/badges/BadgeImage.stories.d.ts +2 -2
- package/dist/cjs/types/stories/badges/IconLabel.stories.d.ts +2 -2
- package/dist/cjs/types/stories/badges/ImageIcon.stories.d.ts +3 -3
- package/dist/cjs/types/stories/badges/Loader.stories.d.ts +2 -2
- package/dist/cjs/types/stories/badges/LoadingSkeleton.stories.d.ts +2 -2
- package/dist/cjs/types/stories/badges/TransactionState.stories.d.ts +2 -2
- package/dist/cjs/types/stories/badges/UsdAmount.stories.d.ts +2 -2
- package/dist/cjs/types/stories/badges/WalletLink.stories.d.ts +2 -2
- package/dist/cjs/types/stories/buttons/AddressButton.stories.d.ts +2 -2
- package/dist/cjs/types/stories/buttons/ArrowButton.stories.d.ts +2 -2
- package/dist/cjs/types/stories/buttons/AssetsButton.stories.d.ts +2 -2
- package/dist/cjs/types/stories/buttons/BoostButton.stories.d.ts +2 -2
- package/dist/cjs/types/stories/buttons/Button.stories.d.ts +2 -2
- package/dist/cjs/types/stories/buttons/Chip.stories.d.ts +2 -2
- package/dist/cjs/types/stories/buttons/FeeButton.stories.d.ts +2 -2
- package/dist/cjs/types/stories/buttons/FilterButton.stories.d.ts +2 -2
- package/dist/cjs/types/stories/buttons/IconButon.stories.d.ts +2 -2
- package/dist/cjs/types/stories/buttons/SettingsButton.stories.d.ts +2 -2
- package/dist/cjs/types/stories/buttons/StopsButton.stories.d.ts +10 -0
- package/dist/cjs/types/stories/controls/Input.stories.d.ts +2 -2
- package/dist/cjs/types/stories/controls/RangeInput.stories.d.ts +2 -2
- package/dist/cjs/types/stories/controls/SettingsSlider.stories.d.ts +2 -2
- package/dist/cjs/types/stories/controls/Switch.stories.d.ts +2 -2
- package/dist/cjs/types/stories/controls/Tooltip.stories.d.ts +2 -2
- package/dist/cjs/types/stories/layout/AppContainer.stories.d.ts +1 -1
- package/dist/cjs/types/stories/layout/Boost.stories.d.ts +2 -2
- package/dist/cjs/types/stories/layout/DetailsToolbar.stories.d.ts +5 -5
- package/dist/cjs/types/stories/layout/DropdownMenu.stories.d.ts +6 -3
- package/dist/cjs/types/stories/layout/ErrorMessage.stories.d.ts +2 -2
- package/dist/cjs/types/stories/layout/HashLink.stories.d.ts +2 -2
- package/dist/cjs/types/stories/layout/InfoBox.stories.d.ts +2 -2
- package/dist/cjs/types/stories/layout/Menu.stories.d.ts +2 -2
- package/dist/cjs/types/stories/layout/ModalContent.stories.d.ts +2 -2
- package/dist/cjs/types/stories/layout/NavigationBar.stories.d.ts +2 -2
- package/dist/cjs/types/stories/layout/ProductCard.stories.d.ts +2 -2
- package/dist/cjs/types/stories/layout/SwapConfiguration.stories.d.ts +2 -2
- package/dist/cjs/types/stories/layout/SwapProgressViewHeader.stories.d.ts +2 -2
- package/dist/cjs/types/stories/layout/SwapStepsCollapsed.stories.d.ts +2 -2
- package/dist/cjs/types/stories/layout/Toast.stories.d.ts +2 -2
- package/dist/cjs/types/stories/layout/TokenPair.stories.d.ts +2 -2
- package/dist/cjs/types/stories/layout/TransactionFilters.stories.d.ts +1 -1
- package/dist/cjs/types/stories/layout/TransactionHeader.stories.d.ts +2 -2
- package/dist/cjs/types/stories/layout/TransactionProperties.stories.d.ts +2 -2
- package/dist/cjs/types/stories/layout/TransactionSearch.stories.d.ts +2 -2
- package/dist/cjs/types/stories/layout/Transfer.stories.d.ts +2 -2
- package/dist/cjs/types/stories/lists/DropdownMenuItem.stories.d.ts +9 -3
- package/dist/cjs/types/stories/lists/DropdownMenuTitle.stories.d.ts +6 -0
- package/dist/cjs/types/stories/lists/HistoryItem.stories.d.ts +3 -2
- package/dist/cjs/types/stories/lists/ListItem.stories.d.ts +3 -2
- package/dist/cjs/types/stories/lists/MenuItem.stories.d.ts +2 -2
- package/dist/cjs/types/stories/lists/PropertyListItem.stories.d.ts +4 -2
- package/dist/cjs/types/stories/lists/RouteStep.stories.d.ts +7 -0
- package/dist/cjs/types/stories/lists/SectionTitle.stories.d.ts +2 -2
- package/dist/cjs/types/stories/lists/SettingsItem.stories.d.ts +2 -2
- package/dist/cjs/types/stories/lists/SwapStepItem.stories.d.ts +2 -2
- package/dist/cjs/types/stories/lists/TransactionAction.stories.d.ts +2 -2
- package/dist/cjs/types/stories/lists/TransactionItem.stories.d.ts +2 -2
- package/dist/cjs/types/stories/typography/BodyText.stories.d.ts +2 -2
- package/dist/cjs/types/stories/typography/CaptionText.stories.d.ts +2 -2
- package/dist/cjs/types/stories/typography/HeadingText.stories.d.ts +2 -2
- package/dist/cjs/types/stories/views/AssetsView.stories.d.ts +2 -2
- package/dist/cjs/types/stories/views/HistoryView.stories.d.ts +2 -2
- package/dist/cjs/types/stories/views/MainView.stories.d.ts +2 -2
- package/dist/cjs/types/stories/views/RecipientView.stories.d.ts +2 -2
- package/dist/cjs/types/stories/views/SettingsView.stories.d.ts +2 -2
- package/dist/cjs/types/stories/views/SwapDetailsView.stories.d.ts +2 -2
- package/dist/cjs/types/stories/views/SwapProgressView.stories.d.ts +2 -2
- package/dist/cjs/types/stories/views/TransactionView.stories.d.ts +2 -2
- package/dist/cjs/types/stories/views/WalletsView.stories.d.ts +2 -2
- package/dist/cjs/types/tests/utils.test.d.ts +1 -0
- package/dist/cjs/types/types/components.d.ts +23 -22
- package/dist/cjs/types/types/config.d.ts +18 -18
- package/dist/cjs/types/types/index.d.ts +3 -2
- package/dist/cjs/types/types/utils.d.ts +11 -0
- package/dist/esm/index.js +2007 -1727
- package/dist/esm/types/components/badges/BadgeImage.d.ts +1 -1
- package/dist/esm/types/components/badges/IconLabel.d.ts +3 -3
- package/dist/esm/types/components/badges/Image.d.ts +9 -0
- package/dist/esm/types/components/badges/LoadingSkeleton.d.ts +3 -3
- package/dist/esm/types/components/badges/TransactionState.d.ts +2 -2
- package/dist/esm/types/components/badges/index.d.ts +7 -7
- package/dist/esm/types/components/buttons/AssetsButton.d.ts +3 -3
- package/dist/esm/types/components/buttons/BoostButton.d.ts +1 -1
- package/dist/esm/types/components/buttons/Button.d.ts +2 -2
- package/dist/esm/types/components/buttons/FeeButton.d.ts +2 -2
- package/dist/esm/types/components/buttons/IconButton.d.ts +2 -2
- package/dist/esm/types/components/buttons/StopsButton.d.ts +13 -0
- package/dist/esm/types/components/buttons/index.d.ts +11 -11
- package/dist/esm/types/components/controls/Input.d.ts +1 -1
- package/dist/esm/types/components/controls/NumericInput.d.ts +5 -5
- package/dist/esm/types/components/controls/SettingsSlider.d.ts +1 -1
- package/dist/esm/types/components/controls/Switch.d.ts +5 -4
- package/dist/esm/types/components/controls/Tooltip.d.ts +3 -3
- package/dist/esm/types/components/controls/index.d.ts +6 -6
- package/dist/esm/types/components/icons/Arrow.d.ts +16 -1
- package/dist/esm/types/components/icons/Clock.d.ts +1 -1
- package/dist/esm/types/components/icons/Coins.d.ts +5 -1
- package/dist/esm/types/components/icons/CompassRound.d.ts +5 -1
- package/dist/esm/types/components/icons/Copy.d.ts +2 -2
- package/dist/esm/types/components/icons/CrossAnimatedIcon.d.ts +1 -1
- package/dist/esm/types/components/icons/Generic.d.ts +40 -0
- package/dist/esm/types/components/icons/Link.d.ts +2 -2
- package/dist/esm/types/components/icons/Loader.d.ts +2 -2
- package/dist/esm/types/components/icons/Search.d.ts +4 -1
- package/dist/esm/types/components/icons/Timeline.d.ts +2 -2
- package/dist/esm/types/components/icons/index.d.ts +55 -54
- package/dist/esm/types/components/index.d.ts +8 -8
- package/dist/esm/types/components/layout/AppContainer.d.ts +2 -2
- package/dist/esm/types/components/layout/Boost.d.ts +3 -3
- package/dist/esm/types/components/layout/Breadcrumb.d.ts +1 -1
- package/dist/esm/types/components/layout/Collapse.d.ts +3 -3
- package/dist/esm/types/components/layout/CollapsibleMenu.d.ts +1 -1
- package/dist/esm/types/components/layout/DescriptionBlocks.d.ts +4 -4
- package/dist/esm/types/components/layout/DetailsToolbar.d.ts +6 -14
- package/dist/esm/types/components/layout/DropdownMenu.d.ts +6 -3
- package/dist/esm/types/components/layout/HashLink.d.ts +1 -1
- package/dist/esm/types/components/layout/Join.d.ts +1 -1
- package/dist/esm/types/components/layout/Menu.d.ts +5 -5
- package/dist/esm/types/components/layout/Modal.d.ts +1 -1
- package/dist/esm/types/components/layout/ModalContent.d.ts +1 -1
- package/dist/esm/types/components/layout/NavigationBar.d.ts +4 -4
- package/dist/esm/types/components/layout/PipeSeparator.d.ts +2 -2
- package/dist/esm/types/components/layout/SwapConfiguration.d.ts +7 -7
- package/dist/esm/types/components/layout/SwapStepsCollapsed.d.ts +1 -1
- package/dist/esm/types/components/layout/TokenPair.d.ts +1 -1
- package/dist/esm/types/components/layout/TransactionFilters.d.ts +2 -2
- package/dist/esm/types/components/layout/TransactionHeader/BridgeHeader.d.ts +1 -1
- package/dist/esm/types/components/layout/TransactionHeader/BuyNFTHeader.d.ts +1 -1
- package/dist/esm/types/components/layout/TransactionHeader/InteractionHeader.d.ts +2 -2
- package/dist/esm/types/components/layout/TransactionHeader/SwapHeader.d.ts +1 -1
- package/dist/esm/types/components/layout/TransactionHeader/TransactionHeader.d.ts +6 -6
- package/dist/esm/types/components/layout/TransactionHeader/TransactionHeaderLayout.d.ts +2 -2
- package/dist/esm/types/components/layout/TransactionHeader/index.d.ts +1 -1
- package/dist/esm/types/components/layout/TransactionProperties/PropertiesLayout.d.ts +1 -1
- package/dist/esm/types/components/layout/TransactionProperties/TransactionProperties.d.ts +5 -5
- package/dist/esm/types/components/layout/TransactionProperties/index.d.ts +6 -6
- package/dist/esm/types/components/layout/TransactionSearch.d.ts +1 -1
- package/dist/esm/types/components/layout/Transfer.d.ts +1 -1
- package/dist/esm/types/components/layout/index.d.ts +41 -41
- package/dist/esm/types/components/lists/DropdownMenuItem.d.ts +18 -2
- package/dist/esm/types/components/lists/DropdownMenuTitle.d.ts +3 -0
- package/dist/esm/types/components/lists/HistoryItem.d.ts +3 -4
- package/dist/esm/types/components/lists/ListItem.d.ts +7 -2
- package/dist/esm/types/components/lists/PropertyListItem.d.ts +8 -4
- package/dist/esm/types/components/lists/RouteStep.d.ts +9 -0
- package/dist/esm/types/components/lists/SettingsItem.d.ts +7 -7
- package/dist/esm/types/components/lists/SwapStepItem.d.ts +1 -1
- package/dist/esm/types/components/lists/TransactionAction/ActionLayout.d.ts +3 -3
- package/dist/esm/types/components/lists/TransactionAction/ApproveAction.d.ts +1 -1
- package/dist/esm/types/components/lists/TransactionAction/BaseActionProps.d.ts +1 -1
- package/dist/esm/types/components/lists/TransactionAction/BridgeAction.d.ts +1 -1
- package/dist/esm/types/components/lists/TransactionAction/FeesAction.d.ts +2 -2
- package/dist/esm/types/components/lists/TransactionAction/IncompleteAction.d.ts +2 -2
- package/dist/esm/types/components/lists/TransactionAction/ReceiveNFTAction.d.ts +1 -1
- package/dist/esm/types/components/lists/TransactionAction/ReceiveTokensAction.d.ts +1 -1
- package/dist/esm/types/components/lists/TransactionAction/SendTokensAction.d.ts +1 -1
- package/dist/esm/types/components/lists/TransactionAction/StakeAction.d.ts +1 -1
- package/dist/esm/types/components/lists/TransactionAction/StartAction.d.ts +1 -1
- package/dist/esm/types/components/lists/TransactionAction/SuccessAction.d.ts +1 -1
- package/dist/esm/types/components/lists/TransactionAction/SwapAction.d.ts +1 -1
- package/dist/esm/types/components/lists/TransactionAction/TransactionAction.d.ts +13 -13
- package/dist/esm/types/components/lists/TransactionAction/WrapAction.d.ts +1 -1
- package/dist/esm/types/components/lists/TransactionAction/index.d.ts +14 -14
- package/dist/esm/types/components/lists/TransactionAction/linkActionTimelineProps.d.ts +1 -1
- package/dist/esm/types/components/lists/TransactionItem.d.ts +3 -3
- package/dist/esm/types/components/lists/index.d.ts +27 -25
- package/dist/esm/types/components/typography/BodyText.d.ts +2 -2
- package/dist/esm/types/components/typography/HeadingText.d.ts +2 -2
- package/dist/esm/types/components/typography/index.d.ts +3 -3
- package/dist/esm/types/components/views/AssetsView.d.ts +1 -1
- package/dist/esm/types/components/views/RecipientView.d.ts +1 -1
- package/dist/esm/types/components/views/SwapProgressView.d.ts +2 -2
- package/dist/esm/types/components/views/TransactionView/BaseTransactionViewProps.d.ts +2 -2
- package/dist/esm/types/components/views/TransactionView/BridgeTransactionView.d.ts +1 -1
- package/dist/esm/types/components/views/TransactionView/BuyNFTTransactionView.d.ts +1 -1
- package/dist/esm/types/components/views/TransactionView/InteractionTransactionView.d.ts +2 -2
- package/dist/esm/types/components/views/TransactionView/SwapTransactionView.d.ts +1 -1
- package/dist/esm/types/components/views/TransactionView/TransactionView.d.ts +5 -5
- package/dist/esm/types/components/views/TransactionView/TransactionViewLayout.d.ts +3 -3
- package/dist/esm/types/components/views/TransactionView/index.d.ts +6 -6
- package/dist/esm/types/components/views/index.d.ts +13 -13
- package/dist/esm/types/core/constants.d.ts +1 -1
- package/dist/esm/types/core/design-system.d.ts +1 -1
- package/dist/esm/types/core/index.d.ts +4 -4
- package/dist/esm/types/core/themes.d.ts +2 -2
- package/dist/esm/types/core/utils.d.ts +12 -3
- package/dist/esm/types/hooks/index.d.ts +6 -6
- package/dist/esm/types/hooks/useDropdownMenu.d.ts +14 -3
- package/dist/esm/types/index.d.ts +5 -5
- package/dist/esm/types/providers/SquidConfigProvider.d.ts +3 -3
- package/dist/esm/types/providers/index.d.ts +1 -1
- package/dist/esm/types/services/internal/colorService.d.ts +1 -1
- package/dist/esm/types/stories/badges/BadgeImage.stories.d.ts +2 -2
- package/dist/esm/types/stories/badges/IconLabel.stories.d.ts +2 -2
- package/dist/esm/types/stories/badges/ImageIcon.stories.d.ts +3 -3
- package/dist/esm/types/stories/badges/Loader.stories.d.ts +2 -2
- package/dist/esm/types/stories/badges/LoadingSkeleton.stories.d.ts +2 -2
- package/dist/esm/types/stories/badges/TransactionState.stories.d.ts +2 -2
- package/dist/esm/types/stories/badges/UsdAmount.stories.d.ts +2 -2
- package/dist/esm/types/stories/badges/WalletLink.stories.d.ts +2 -2
- package/dist/esm/types/stories/buttons/AddressButton.stories.d.ts +2 -2
- package/dist/esm/types/stories/buttons/ArrowButton.stories.d.ts +2 -2
- package/dist/esm/types/stories/buttons/AssetsButton.stories.d.ts +2 -2
- package/dist/esm/types/stories/buttons/BoostButton.stories.d.ts +2 -2
- package/dist/esm/types/stories/buttons/Button.stories.d.ts +2 -2
- package/dist/esm/types/stories/buttons/Chip.stories.d.ts +2 -2
- package/dist/esm/types/stories/buttons/FeeButton.stories.d.ts +2 -2
- package/dist/esm/types/stories/buttons/FilterButton.stories.d.ts +2 -2
- package/dist/esm/types/stories/buttons/IconButon.stories.d.ts +2 -2
- package/dist/esm/types/stories/buttons/SettingsButton.stories.d.ts +2 -2
- package/dist/esm/types/stories/buttons/StopsButton.stories.d.ts +10 -0
- package/dist/esm/types/stories/controls/Input.stories.d.ts +2 -2
- package/dist/esm/types/stories/controls/RangeInput.stories.d.ts +2 -2
- package/dist/esm/types/stories/controls/SettingsSlider.stories.d.ts +2 -2
- package/dist/esm/types/stories/controls/Switch.stories.d.ts +2 -2
- package/dist/esm/types/stories/controls/Tooltip.stories.d.ts +2 -2
- package/dist/esm/types/stories/layout/AppContainer.stories.d.ts +1 -1
- package/dist/esm/types/stories/layout/Boost.stories.d.ts +2 -2
- package/dist/esm/types/stories/layout/DetailsToolbar.stories.d.ts +5 -5
- package/dist/esm/types/stories/layout/DropdownMenu.stories.d.ts +6 -3
- package/dist/esm/types/stories/layout/ErrorMessage.stories.d.ts +2 -2
- package/dist/esm/types/stories/layout/HashLink.stories.d.ts +2 -2
- package/dist/esm/types/stories/layout/InfoBox.stories.d.ts +2 -2
- package/dist/esm/types/stories/layout/Menu.stories.d.ts +2 -2
- package/dist/esm/types/stories/layout/ModalContent.stories.d.ts +2 -2
- package/dist/esm/types/stories/layout/NavigationBar.stories.d.ts +2 -2
- package/dist/esm/types/stories/layout/ProductCard.stories.d.ts +2 -2
- package/dist/esm/types/stories/layout/SwapConfiguration.stories.d.ts +2 -2
- package/dist/esm/types/stories/layout/SwapProgressViewHeader.stories.d.ts +2 -2
- package/dist/esm/types/stories/layout/SwapStepsCollapsed.stories.d.ts +2 -2
- package/dist/esm/types/stories/layout/Toast.stories.d.ts +2 -2
- package/dist/esm/types/stories/layout/TokenPair.stories.d.ts +2 -2
- package/dist/esm/types/stories/layout/TransactionFilters.stories.d.ts +1 -1
- package/dist/esm/types/stories/layout/TransactionHeader.stories.d.ts +2 -2
- package/dist/esm/types/stories/layout/TransactionProperties.stories.d.ts +2 -2
- package/dist/esm/types/stories/layout/TransactionSearch.stories.d.ts +2 -2
- package/dist/esm/types/stories/layout/Transfer.stories.d.ts +2 -2
- package/dist/esm/types/stories/lists/DropdownMenuItem.stories.d.ts +9 -3
- package/dist/esm/types/stories/lists/DropdownMenuTitle.stories.d.ts +6 -0
- package/dist/esm/types/stories/lists/HistoryItem.stories.d.ts +3 -2
- package/dist/esm/types/stories/lists/ListItem.stories.d.ts +3 -2
- package/dist/esm/types/stories/lists/MenuItem.stories.d.ts +2 -2
- package/dist/esm/types/stories/lists/PropertyListItem.stories.d.ts +4 -2
- package/dist/esm/types/stories/lists/RouteStep.stories.d.ts +7 -0
- package/dist/esm/types/stories/lists/SectionTitle.stories.d.ts +2 -2
- package/dist/esm/types/stories/lists/SettingsItem.stories.d.ts +2 -2
- package/dist/esm/types/stories/lists/SwapStepItem.stories.d.ts +2 -2
- package/dist/esm/types/stories/lists/TransactionAction.stories.d.ts +2 -2
- package/dist/esm/types/stories/lists/TransactionItem.stories.d.ts +2 -2
- package/dist/esm/types/stories/typography/BodyText.stories.d.ts +2 -2
- package/dist/esm/types/stories/typography/CaptionText.stories.d.ts +2 -2
- package/dist/esm/types/stories/typography/HeadingText.stories.d.ts +2 -2
- package/dist/esm/types/stories/views/AssetsView.stories.d.ts +2 -2
- package/dist/esm/types/stories/views/HistoryView.stories.d.ts +2 -2
- package/dist/esm/types/stories/views/MainView.stories.d.ts +2 -2
- package/dist/esm/types/stories/views/RecipientView.stories.d.ts +2 -2
- package/dist/esm/types/stories/views/SettingsView.stories.d.ts +2 -2
- package/dist/esm/types/stories/views/SwapDetailsView.stories.d.ts +2 -2
- package/dist/esm/types/stories/views/SwapProgressView.stories.d.ts +2 -2
- package/dist/esm/types/stories/views/TransactionView.stories.d.ts +2 -2
- package/dist/esm/types/stories/views/WalletsView.stories.d.ts +2 -2
- package/dist/esm/types/tests/utils.test.d.ts +1 -0
- package/dist/esm/types/types/components.d.ts +23 -22
- package/dist/esm/types/types/config.d.ts +18 -18
- package/dist/esm/types/types/index.d.ts +3 -2
- package/dist/esm/types/types/utils.d.ts +11 -0
- package/dist/index.css +1 -1
- package/dist/index.d.ts +894 -764
- package/package.json +7 -5
- package/dist/cjs/types/components/badges/ImageIcon.d.ts +0 -9
- package/dist/esm/types/components/badges/ImageIcon.d.ts +0 -9
package/dist/index.d.ts
CHANGED
|
@@ -19,21 +19,21 @@ interface BadgeImageProps {
|
|
|
19
19
|
*/
|
|
20
20
|
placeholderImageUrl?: string;
|
|
21
21
|
}
|
|
22
|
-
type BadgeSize =
|
|
22
|
+
type BadgeSize = "sm" | "md";
|
|
23
23
|
declare function BadgeImage({ imageUrl: _imageUrl, badgeUrl, size, extraMarginForBadge, rounded, placeholderImageUrl, }: BadgeImageProps): react_jsx_runtime.JSX.Element | null;
|
|
24
24
|
|
|
25
|
-
type TextSize =
|
|
26
|
-
type SwitchSize =
|
|
27
|
-
type ButtonVariant =
|
|
28
|
-
type ButtonSize =
|
|
29
|
-
type SwapDirection =
|
|
30
|
-
type BoostMode =
|
|
31
|
-
type HistoryItemStatus =
|
|
25
|
+
type TextSize = "small" | "medium" | "large";
|
|
26
|
+
type SwitchSize = "small" | "large";
|
|
27
|
+
type ButtonVariant = "primary" | "secondary" | "tertiary";
|
|
28
|
+
type ButtonSize = "md" | "lg";
|
|
29
|
+
type SwapDirection = "from" | "to";
|
|
30
|
+
type BoostMode = "normal" | "boost";
|
|
31
|
+
type HistoryItemStatus = "completed" | "pending" | "failed" | "warning";
|
|
32
32
|
type DescriptionBlock = {
|
|
33
|
-
type:
|
|
33
|
+
type: "string";
|
|
34
34
|
value: string;
|
|
35
35
|
} | {
|
|
36
|
-
type:
|
|
36
|
+
type: "image";
|
|
37
37
|
value: string;
|
|
38
38
|
rounded?: boolean;
|
|
39
39
|
};
|
|
@@ -52,33 +52,33 @@ declare enum SwapState {
|
|
|
52
52
|
CONFIRMATION_REJECTED = 6,
|
|
53
53
|
NEEDS_GAS = 7
|
|
54
54
|
}
|
|
55
|
-
type ThemeType =
|
|
56
|
-
type ActionStatus =
|
|
57
|
-
type TransactionStateVariant =
|
|
58
|
-
type TokenPairVariant =
|
|
59
|
-
type TokenPairSize =
|
|
60
|
-
type
|
|
61
|
-
type
|
|
62
|
-
type ChainTypeFilter =
|
|
63
|
-
type StatusFilter =
|
|
64
|
-
type AssetsButtonVariant =
|
|
65
|
-
type PropertyListItemSize =
|
|
55
|
+
type ThemeType = "light" | "dark";
|
|
56
|
+
type ActionStatus = "pending" | "waiting" | "ongoing" | "executed" | "success" | "error" | "warning";
|
|
57
|
+
type TransactionStateVariant = "full" | "compact" | "small";
|
|
58
|
+
type TokenPairVariant = "horizontal" | "vertical";
|
|
59
|
+
type TokenPairSize = "small" | "medium";
|
|
60
|
+
type ImageVariant = "square" | "round" | "proportional";
|
|
61
|
+
type ImageSize = "small" | "medium" | "large" | "xlarge";
|
|
62
|
+
type ChainTypeFilter = "source" | "destination";
|
|
63
|
+
type StatusFilter = "success" | "ongoing" | "error";
|
|
64
|
+
type AssetsButtonVariant = "primary" | "accent";
|
|
65
|
+
type PropertyListItemSize = "small" | "large";
|
|
66
66
|
|
|
67
67
|
interface IconLabelProps {
|
|
68
68
|
isLoading?: boolean;
|
|
69
69
|
src?: string;
|
|
70
70
|
children?: ReactNode;
|
|
71
|
-
variant?:
|
|
71
|
+
variant?: ImageVariant;
|
|
72
72
|
}
|
|
73
73
|
declare function IconLabel({ src, children, variant }: IconLabelProps): react_jsx_runtime.JSX.Element;
|
|
74
74
|
|
|
75
|
-
interface
|
|
75
|
+
interface ImageProps {
|
|
76
76
|
src?: string;
|
|
77
|
-
variant?:
|
|
78
|
-
size?:
|
|
77
|
+
variant?: ImageVariant;
|
|
78
|
+
size?: ImageSize;
|
|
79
79
|
className?: string;
|
|
80
80
|
}
|
|
81
|
-
declare function
|
|
81
|
+
declare function Image({ src, variant, size, className: propsClassName, }: ImageProps): react_jsx_runtime.JSX.Element;
|
|
82
82
|
|
|
83
83
|
declare const LoadingProvider: react.Provider<boolean | null>;
|
|
84
84
|
interface LoadingSkeletonProps {
|
|
@@ -89,12 +89,12 @@ interface LoadingSkeletonProps {
|
|
|
89
89
|
width?: string;
|
|
90
90
|
}
|
|
91
91
|
declare function LoadingSkeleton({ className, height, isLoading: isLoadingProp, children, width, }: LoadingSkeletonProps): string | number | true | Iterable<react.ReactNode> | react_jsx_runtime.JSX.Element;
|
|
92
|
-
interface LoadingTextProps extends ComponentProps<
|
|
92
|
+
interface LoadingTextProps extends ComponentProps<"span"> {
|
|
93
93
|
width?: string | [string, string];
|
|
94
94
|
isLoading?: boolean;
|
|
95
95
|
}
|
|
96
96
|
declare function TextSkeleton({ className, width, children, isLoading, ...props }: LoadingTextProps): string | number | boolean | Iterable<react.ReactNode> | react_jsx_runtime.JSX.Element | null | undefined;
|
|
97
|
-
interface LoadingBlockProps extends ComponentProps<
|
|
97
|
+
interface LoadingBlockProps extends ComponentProps<"div"> {
|
|
98
98
|
isLoading?: boolean;
|
|
99
99
|
}
|
|
100
100
|
declare function BlockSkeleton({ isLoading, className, children, ...props }: LoadingBlockProps): string | number | boolean | Iterable<react.ReactNode> | react_jsx_runtime.JSX.Element | null | undefined;
|
|
@@ -150,8 +150,8 @@ type InputActionButtonProps = {
|
|
|
150
150
|
label?: string;
|
|
151
151
|
};
|
|
152
152
|
|
|
153
|
-
type TooltipWidth =
|
|
154
|
-
type TooltipThreshold =
|
|
153
|
+
type TooltipWidth = "max" | "container";
|
|
154
|
+
type TooltipThreshold = "xxs" | "xs" | "s" | "m" | "l" | "xl" | "xxl";
|
|
155
155
|
interface TooltipProps {
|
|
156
156
|
children: react__default.ReactNode;
|
|
157
157
|
tooltipContent?: react__default.ReactNode;
|
|
@@ -189,21 +189,21 @@ interface NumericInputProps extends React.InputHTMLAttributes<HTMLInputElement>
|
|
|
189
189
|
criticalPriceImpactPercentage?: number;
|
|
190
190
|
direction?: SwapDirection;
|
|
191
191
|
inputModeButton?: {
|
|
192
|
-
usdModeTooltip?: Omit<TooltipProps,
|
|
193
|
-
tokenModeTooltip?: Omit<TooltipProps,
|
|
192
|
+
usdModeTooltip?: Omit<TooltipProps, "children">;
|
|
193
|
+
tokenModeTooltip?: Omit<TooltipProps, "children">;
|
|
194
194
|
amountUsd?: string;
|
|
195
195
|
};
|
|
196
196
|
maxUsdDecimals?: number;
|
|
197
197
|
isInteractive?: boolean;
|
|
198
198
|
balanceButton?: {
|
|
199
|
-
tooltip?: Omit<TooltipProps,
|
|
199
|
+
tooltip?: Omit<TooltipProps, "children">;
|
|
200
200
|
};
|
|
201
201
|
}
|
|
202
202
|
declare function NumericInput({ priceImpactPercentage, balance, error, criticalPriceImpactPercentage, token, onAmountChange, forcedAmount, maxUsdDecimals, formatIfVerySmall, showDetails, isLoading, direction, inputModeButton, isInteractive, balanceButton, ...props }: NumericInputProps): react_jsx_runtime.JSX.Element;
|
|
203
203
|
|
|
204
204
|
interface SettingsSliderProps {
|
|
205
205
|
value: number | undefined;
|
|
206
|
-
type:
|
|
206
|
+
type: "percentage" | "amount";
|
|
207
207
|
onChange?: (value: number | undefined) => void;
|
|
208
208
|
decimalsFormat?: number;
|
|
209
209
|
min?: number;
|
|
@@ -217,8 +217,9 @@ interface SwitchProps {
|
|
|
217
217
|
onChange?: (checked: boolean) => void;
|
|
218
218
|
size: SwitchSize;
|
|
219
219
|
disabled?: boolean;
|
|
220
|
+
inputProps?: React.ComponentProps<"input">;
|
|
220
221
|
}
|
|
221
|
-
declare function Switch({ checked, onChange, size, disabled, }: SwitchProps): react_jsx_runtime.JSX.Element;
|
|
222
|
+
declare function Switch({ checked, onChange, size, disabled, inputProps, }: SwitchProps): react_jsx_runtime.JSX.Element;
|
|
222
223
|
|
|
223
224
|
interface RangeInputProps {
|
|
224
225
|
label: string;
|
|
@@ -244,7 +245,7 @@ interface AssetsButtonProps {
|
|
|
244
245
|
onClick?: () => void;
|
|
245
246
|
variant?: AssetsButtonVariant;
|
|
246
247
|
isLoading?: boolean;
|
|
247
|
-
tooltip?: Omit<TooltipProps,
|
|
248
|
+
tooltip?: Omit<TooltipProps, "children">;
|
|
248
249
|
}
|
|
249
250
|
declare function AssetsButton({ chain, token, onClick, variant, isLoading, tooltip, }: AssetsButtonProps): react_jsx_runtime.JSX.Element;
|
|
250
251
|
|
|
@@ -277,7 +278,7 @@ declare function Button({ label, disabled, size, variant, icon, link, isLoading,
|
|
|
277
278
|
interface FeeButtonProps extends React.HTMLAttributes<HTMLButtonElement> {
|
|
278
279
|
feeInUsd?: string;
|
|
279
280
|
chipLabel?: string;
|
|
280
|
-
tooltip?: Omit<TooltipProps,
|
|
281
|
+
tooltip?: Omit<TooltipProps, "children">;
|
|
281
282
|
}
|
|
282
283
|
declare function FeeButton({ feeInUsd, chipLabel, className, tooltip, ...props }: FeeButtonProps): react_jsx_runtime.JSX.Element;
|
|
283
284
|
|
|
@@ -295,10 +296,10 @@ interface SettingsButtonProps {
|
|
|
295
296
|
}
|
|
296
297
|
declare function SettingsButton({ label, isSelected, onClick, }: SettingsButtonProps): react_jsx_runtime.JSX.Element;
|
|
297
298
|
|
|
298
|
-
interface IconButtonProps extends React.ComponentProps<
|
|
299
|
+
interface IconButtonProps extends React.ComponentProps<"button"> {
|
|
299
300
|
icon: React.ReactNode;
|
|
300
301
|
}
|
|
301
|
-
declare const IconButton:
|
|
302
|
+
declare const IconButton: react.ForwardRefExoticComponent<Omit<IconButtonProps, "ref"> & react.RefAttributes<HTMLButtonElement>>;
|
|
302
303
|
|
|
303
304
|
declare function Approve(): react_jsx_runtime.JSX.Element;
|
|
304
305
|
|
|
@@ -324,7 +325,10 @@ declare function ChevronLargeRightIcon({ size, className, }: {
|
|
|
324
325
|
size?: string;
|
|
325
326
|
className?: string;
|
|
326
327
|
}): react_jsx_runtime.JSX.Element;
|
|
327
|
-
declare function ChevronRightSmallIcon(
|
|
328
|
+
declare function ChevronRightSmallIcon({ className, size, }: {
|
|
329
|
+
className?: string;
|
|
330
|
+
size?: string;
|
|
331
|
+
}): react_jsx_runtime.JSX.Element;
|
|
328
332
|
declare function ArrowLeftIcon({ className, size, }: {
|
|
329
333
|
className?: string;
|
|
330
334
|
size?: string;
|
|
@@ -365,6 +369,18 @@ declare function ArrowCornerDownRightIcon({ size, className, }: {
|
|
|
365
369
|
size?: string;
|
|
366
370
|
className?: string;
|
|
367
371
|
}): react_jsx_runtime.JSX.Element;
|
|
372
|
+
declare function ChevronDownSmallIcon({ size, className, }: {
|
|
373
|
+
size?: string;
|
|
374
|
+
className?: string;
|
|
375
|
+
}): react_jsx_runtime.JSX.Element;
|
|
376
|
+
declare function ArrowDownIcon({ size, className, }: {
|
|
377
|
+
size?: string;
|
|
378
|
+
className?: string;
|
|
379
|
+
}): react_jsx_runtime.JSX.Element;
|
|
380
|
+
declare function ArrowSplit({ size, className, }: {
|
|
381
|
+
size?: string;
|
|
382
|
+
className?: string;
|
|
383
|
+
}): react_jsx_runtime.JSX.Element;
|
|
368
384
|
|
|
369
385
|
declare function ArrowRotate(): react_jsx_runtime.JSX.Element;
|
|
370
386
|
|
|
@@ -399,7 +415,7 @@ declare function Checkmark2Icon({ className, size, style, }: {
|
|
|
399
415
|
style?: React.CSSProperties;
|
|
400
416
|
}): react_jsx_runtime.JSX.Element;
|
|
401
417
|
|
|
402
|
-
declare function
|
|
418
|
+
declare function ClockSolidIcon({ className, size, }: {
|
|
403
419
|
className?: string;
|
|
404
420
|
size?: string;
|
|
405
421
|
}): react_jsx_runtime.JSX.Element;
|
|
@@ -422,7 +438,7 @@ declare function TimeFliesIcon({ size, className, }: {
|
|
|
422
438
|
|
|
423
439
|
declare function CoinsIcon(): react_jsx_runtime.JSX.Element;
|
|
424
440
|
declare function CoinsAddIcon(): react_jsx_runtime.JSX.Element;
|
|
425
|
-
declare function
|
|
441
|
+
declare function DollarOutlinedIcon({ className, size, }: {
|
|
426
442
|
className?: string;
|
|
427
443
|
size?: string;
|
|
428
444
|
}): react_jsx_runtime.JSX.Element;
|
|
@@ -430,10 +446,18 @@ declare function StocksIcon({ size, className, }: {
|
|
|
430
446
|
size?: string;
|
|
431
447
|
className?: string;
|
|
432
448
|
}): react_jsx_runtime.JSX.Element;
|
|
449
|
+
declare function DollarSolidIcon({ size, className, }: {
|
|
450
|
+
size?: string;
|
|
451
|
+
className?: string;
|
|
452
|
+
}): react_jsx_runtime.JSX.Element;
|
|
433
453
|
|
|
434
454
|
declare function CollectionIcon(): react_jsx_runtime.JSX.Element;
|
|
435
455
|
|
|
436
|
-
declare function
|
|
456
|
+
declare function CompassRoundOutlinedIcon({ size, className, }: {
|
|
457
|
+
size?: string;
|
|
458
|
+
className?: string;
|
|
459
|
+
}): react_jsx_runtime.JSX.Element;
|
|
460
|
+
declare function CompassRoundSolidIcon({ size, className, }: {
|
|
437
461
|
size?: string;
|
|
438
462
|
className?: string;
|
|
439
463
|
}): react_jsx_runtime.JSX.Element;
|
|
@@ -465,7 +489,7 @@ declare function PowerIcon({ size, className, }: {
|
|
|
465
489
|
declare function Copy({ size, strokeWidth, ...props }: {
|
|
466
490
|
size?: string;
|
|
467
491
|
strokeWidth?: string;
|
|
468
|
-
} & ComponentProps<
|
|
492
|
+
} & ComponentProps<"svg">): react_jsx_runtime.JSX.Element;
|
|
469
493
|
|
|
470
494
|
declare function DashboardFast({ size, className, }: {
|
|
471
495
|
size?: string;
|
|
@@ -554,9 +578,9 @@ declare function LightningIcon({ size, className, }: {
|
|
|
554
578
|
className?: string;
|
|
555
579
|
}): react_jsx_runtime.JSX.Element;
|
|
556
580
|
|
|
557
|
-
declare function LinkIcon(props: ComponentProps<
|
|
581
|
+
declare function LinkIcon(props: ComponentProps<"svg">): react_jsx_runtime.JSX.Element;
|
|
558
582
|
|
|
559
|
-
interface LoaderProps extends ComponentProps<
|
|
583
|
+
interface LoaderProps extends ComponentProps<"svg"> {
|
|
560
584
|
size?: string;
|
|
561
585
|
strokeWidth?: string;
|
|
562
586
|
rotateDuration?: string;
|
|
@@ -582,7 +606,10 @@ declare function PlusIcon(): react_jsx_runtime.JSX.Element;
|
|
|
582
606
|
|
|
583
607
|
declare function RefreshIcon(): react_jsx_runtime.JSX.Element;
|
|
584
608
|
|
|
585
|
-
declare function SearchIcon(
|
|
609
|
+
declare function SearchIcon({ className, size, }: {
|
|
610
|
+
className?: string;
|
|
611
|
+
size?: string;
|
|
612
|
+
}): react_jsx_runtime.JSX.Element;
|
|
586
613
|
|
|
587
614
|
declare function XSocial({ className, size, }: {
|
|
588
615
|
size?: string;
|
|
@@ -640,7 +667,7 @@ declare function Tick({ className }: {
|
|
|
640
667
|
className?: string;
|
|
641
668
|
}): react_jsx_runtime.JSX.Element;
|
|
642
669
|
|
|
643
|
-
declare function Timeline({ className, ...props }: ComponentProps<
|
|
670
|
+
declare function Timeline({ className, ...props }: ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
644
671
|
declare namespace Timeline {
|
|
645
672
|
var ArrowDown: (props: react.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
646
673
|
var ArrowReverse: (props: react.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
@@ -668,7 +695,7 @@ declare function WalletFilledIcon({ size }: {
|
|
|
668
695
|
declare function CrossAnimatedIcon({ size, isOpen, transitionDuration, className, }: {
|
|
669
696
|
size?: number;
|
|
670
697
|
isOpen?: boolean;
|
|
671
|
-
transitionDuration?: React.CSSProperties[
|
|
698
|
+
transitionDuration?: React.CSSProperties["transitionDuration"];
|
|
672
699
|
className?: string;
|
|
673
700
|
}): react_jsx_runtime.JSX.Element;
|
|
674
701
|
|
|
@@ -695,6 +722,47 @@ declare function DockIconAnalytics({ isSelected }: DockIconProps): react_jsx_run
|
|
|
695
722
|
declare function DockIconProfile({ isSelected }: DockIconProps): react_jsx_runtime.JSX.Element;
|
|
696
723
|
declare function DockIconHelp({ isSelected }: DockIconProps): react_jsx_runtime.JSX.Element;
|
|
697
724
|
|
|
725
|
+
declare function GhostIcon({ size, className, }: {
|
|
726
|
+
size?: string;
|
|
727
|
+
className?: string;
|
|
728
|
+
}): react_jsx_runtime.JSX.Element;
|
|
729
|
+
declare function SettingsSliderIcon({ size, className, }: {
|
|
730
|
+
size?: string;
|
|
731
|
+
className?: string;
|
|
732
|
+
}): react_jsx_runtime.JSX.Element;
|
|
733
|
+
declare function EyeOpenIcon({ size, className, }: {
|
|
734
|
+
size?: string;
|
|
735
|
+
className?: string;
|
|
736
|
+
}): react_jsx_runtime.JSX.Element;
|
|
737
|
+
declare function BellAlarmIcon({ size, className, }: {
|
|
738
|
+
size?: string;
|
|
739
|
+
className?: string;
|
|
740
|
+
}): react_jsx_runtime.JSX.Element;
|
|
741
|
+
declare function LimitIcon({ size, className, }: {
|
|
742
|
+
size?: string;
|
|
743
|
+
className?: string;
|
|
744
|
+
}): react_jsx_runtime.JSX.Element;
|
|
745
|
+
declare function PoopIcon({ size, className, }: {
|
|
746
|
+
size?: string;
|
|
747
|
+
className?: string;
|
|
748
|
+
}): react_jsx_runtime.JSX.Element;
|
|
749
|
+
declare function CatSquareIcon({ size, className, }: {
|
|
750
|
+
size?: string;
|
|
751
|
+
className?: string;
|
|
752
|
+
}): react_jsx_runtime.JSX.Element;
|
|
753
|
+
declare function FilterAscendingIcon({ size, className, }: {
|
|
754
|
+
size?: string;
|
|
755
|
+
className?: string;
|
|
756
|
+
}): react_jsx_runtime.JSX.Element;
|
|
757
|
+
declare function ImageIcon({ size, className, }: {
|
|
758
|
+
size?: string;
|
|
759
|
+
className?: string;
|
|
760
|
+
}): react_jsx_runtime.JSX.Element;
|
|
761
|
+
declare function FilterTimelineIcon({ size, className, }: {
|
|
762
|
+
size?: string;
|
|
763
|
+
className?: string;
|
|
764
|
+
}): react_jsx_runtime.JSX.Element;
|
|
765
|
+
|
|
698
766
|
interface Props {
|
|
699
767
|
lottieJsonFile: object;
|
|
700
768
|
animReplacement?: JSX.Element;
|
|
@@ -1238,7 +1306,7 @@ interface BoostProps {
|
|
|
1238
1306
|
}) => void;
|
|
1239
1307
|
estimatedTime: string;
|
|
1240
1308
|
canToggleBoostMode?: boolean;
|
|
1241
|
-
tooltip?: Omit<TooltipProps,
|
|
1309
|
+
tooltip?: Omit<TooltipProps, "children">;
|
|
1242
1310
|
}
|
|
1243
1311
|
declare function Boost({ boostMode, onToggleBoostMode, estimatedTime, canToggleBoostMode, tooltip, }: BoostProps): react_jsx_runtime.JSX.Element;
|
|
1244
1312
|
|
|
@@ -1247,933 +1315,1005 @@ declare function Breadcrumb({ children, className, }: {
|
|
|
1247
1315
|
className?: string;
|
|
1248
1316
|
}): react_jsx_runtime.JSX.Element;
|
|
1249
1317
|
|
|
1250
|
-
interface CollapseProps extends ComponentProps<
|
|
1318
|
+
interface CollapseProps extends ComponentProps<"div"> {
|
|
1251
1319
|
collapsed: boolean;
|
|
1252
1320
|
collapsedHeight?: number;
|
|
1253
1321
|
duration?: number;
|
|
1254
1322
|
}
|
|
1255
1323
|
declare function Collapse({ collapsed, collapsedHeight, children, className, duration, ...props }: CollapseProps): react_jsx_runtime.JSX.Element;
|
|
1256
|
-
interface SizeTransitionProps extends ComponentProps<
|
|
1324
|
+
interface SizeTransitionProps extends ComponentProps<"div"> {
|
|
1257
1325
|
}
|
|
1258
1326
|
declare function SizeTransition({ children, className, ...props }: SizeTransitionProps): react_jsx_runtime.JSX.Element;
|
|
1259
1327
|
|
|
1260
|
-
interface DescriptionBlocksProps extends ComponentProps<
|
|
1328
|
+
interface DescriptionBlocksProps extends ComponentProps<"div"> {
|
|
1261
1329
|
blocks: DescriptionBlock[] | string;
|
|
1262
1330
|
}
|
|
1263
1331
|
declare function DescriptionBlocks({ className, blocks: blocksProp, ...props }: DescriptionBlocksProps): react_jsx_runtime.JSX.Element;
|
|
1264
|
-
declare function Inline({ className, children, ...props }: ComponentProps<
|
|
1332
|
+
declare function Inline({ className, children, ...props }: ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
1333
|
+
|
|
1334
|
+
interface StopsProps extends React.ComponentProps<"button"> {
|
|
1335
|
+
stopsCount?: string | number;
|
|
1336
|
+
estimatedTime?: string;
|
|
1337
|
+
tooltip?: Omit<TooltipProps, "children">;
|
|
1338
|
+
providers: Provider[];
|
|
1339
|
+
}
|
|
1340
|
+
type Provider = {
|
|
1341
|
+
logoUrl: string;
|
|
1342
|
+
};
|
|
1265
1343
|
|
|
1266
1344
|
interface DetailsToolbarProps {
|
|
1267
1345
|
errorMessage?: string;
|
|
1268
1346
|
flipButton?: {
|
|
1269
1347
|
onClick?: () => void;
|
|
1270
|
-
tooltip?: Omit<TooltipProps,
|
|
1348
|
+
tooltip?: Omit<TooltipProps, "children">;
|
|
1271
1349
|
isDisabled?: boolean;
|
|
1272
1350
|
};
|
|
1273
1351
|
feeButton?: {
|
|
1274
1352
|
feeInUsd: string;
|
|
1275
|
-
tooltip?: Omit<TooltipProps,
|
|
1353
|
+
tooltip?: Omit<TooltipProps, "children">;
|
|
1276
1354
|
onClick: () => void;
|
|
1277
1355
|
};
|
|
1278
|
-
estimatedTime?: string;
|
|
1279
1356
|
isLoading?: boolean;
|
|
1280
1357
|
isEmpty?: boolean;
|
|
1281
1358
|
helpButton?: {
|
|
1282
1359
|
label: string;
|
|
1283
1360
|
onClick: () => void;
|
|
1284
1361
|
};
|
|
1285
|
-
|
|
1286
|
-
tooltip?: Omit<TooltipProps, 'children'>;
|
|
1287
|
-
onClick?: ({ boostMode }: {
|
|
1288
|
-
boostMode: BoostMode;
|
|
1289
|
-
}) => void;
|
|
1290
|
-
canToggleBoostMode?: boolean;
|
|
1291
|
-
boostMode?: BoostMode;
|
|
1292
|
-
};
|
|
1362
|
+
stopsButton?: StopsProps;
|
|
1293
1363
|
}
|
|
1294
|
-
declare function DetailsToolbar({ errorMessage,
|
|
1364
|
+
declare function DetailsToolbar({ errorMessage, helpButton, isLoading, isEmpty, flipButton, feeButton, stopsButton, }: DetailsToolbarProps): react_jsx_runtime.JSX.Element;
|
|
1295
1365
|
|
|
1296
|
-
interface
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1366
|
+
interface DropdownMenuProps {
|
|
1367
|
+
dropdownRef?: React.RefObject<HTMLDivElement>;
|
|
1368
|
+
menuRef?: React.RefObject<HTMLDivElement>;
|
|
1369
|
+
className?: string;
|
|
1370
|
+
isHidden?: boolean;
|
|
1371
|
+
listClassName?: string;
|
|
1372
|
+
containerClassName?: string;
|
|
1373
|
+
containerRef?: React.RefObject<HTMLDivElement>;
|
|
1374
|
+
children?: React.ReactNode;
|
|
1375
|
+
contentWrapperProps?: React.ComponentProps<"div">;
|
|
1376
|
+
menuContentClassName?: string;
|
|
1302
1377
|
}
|
|
1303
|
-
declare function
|
|
1378
|
+
declare function DropdownMenu({ dropdownRef, className, menuRef, isHidden, listClassName, containerClassName, children, contentWrapperProps, menuContentClassName, }: DropdownMenuProps): react_jsx_runtime.JSX.Element;
|
|
1304
1379
|
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
warningLabel?: string;
|
|
1380
|
+
type ErrorMessageProps = {
|
|
1381
|
+
message: string;
|
|
1382
|
+
showIcon?: boolean;
|
|
1383
|
+
};
|
|
1384
|
+
declare function ErrorMessage({ message, showIcon }: ErrorMessageProps): react_jsx_runtime.JSX.Element;
|
|
1385
|
+
|
|
1386
|
+
interface HashLinkProps {
|
|
1387
|
+
showTx?: boolean;
|
|
1388
|
+
hash: string;
|
|
1389
|
+
children?: ReactNode;
|
|
1390
|
+
showCopyButton?: boolean;
|
|
1391
|
+
url?: string;
|
|
1318
1392
|
}
|
|
1319
|
-
declare function
|
|
1393
|
+
declare function HashLink({ showTx, hash, showCopyButton, url, children, }: HashLinkProps): react_jsx_runtime.JSX.Element;
|
|
1320
1394
|
|
|
1321
|
-
interface
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
secondaryImageUrl?: string;
|
|
1325
|
-
placeholderImageUrl?: string;
|
|
1326
|
-
subtitle?: string;
|
|
1327
|
-
subtitleOnHover?: React.ReactNode;
|
|
1328
|
-
detail?: string;
|
|
1395
|
+
interface InfoBoxProps {
|
|
1396
|
+
title: string;
|
|
1397
|
+
description: string;
|
|
1329
1398
|
icon?: React.ReactNode;
|
|
1330
|
-
size?: ListItemSize;
|
|
1331
|
-
mainIcon?: React.ReactNode;
|
|
1332
|
-
isSelected?: boolean;
|
|
1333
|
-
className?: string;
|
|
1334
|
-
onDetailClick?: () => void;
|
|
1335
|
-
showDetailOnHoverOnly?: boolean;
|
|
1336
|
-
rounded?: boolean;
|
|
1337
|
-
detailButtonClassName?: string;
|
|
1338
|
-
loading?: {
|
|
1339
|
-
subtitle?: boolean | string;
|
|
1340
|
-
};
|
|
1341
|
-
containerProps?: React.HTMLAttributes<HTMLLIElement>;
|
|
1342
|
-
compactOnMobile?: boolean;
|
|
1343
|
-
extraPadding?: boolean;
|
|
1344
1399
|
}
|
|
1345
|
-
|
|
1346
|
-
declare function ListItem({ itemTitle, mainImageUrl, subtitle, subtitleOnHover, detail, icon, secondaryImageUrl, placeholderImageUrl, size, mainIcon, className, isSelected, onDetailClick, showDetailOnHoverOnly, rounded, detailButtonClassName, loading, containerProps, compactOnMobile, extraPadding, ...props }: ListItemProps): react_jsx_runtime.JSX.Element;
|
|
1400
|
+
declare function InfoBox({ title, description, icon }: InfoBoxProps): react_jsx_runtime.JSX.Element;
|
|
1347
1401
|
|
|
1348
|
-
interface
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
icon?: React.ReactNode;
|
|
1402
|
+
interface JoinProps {
|
|
1403
|
+
children?: ReactNode;
|
|
1404
|
+
glue: () => ReactNode;
|
|
1352
1405
|
}
|
|
1353
|
-
declare function
|
|
1406
|
+
declare function Join({ children, glue }: JoinProps): react_jsx_runtime.JSX.Element[] | null | undefined;
|
|
1354
1407
|
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1408
|
+
type Rounded = "sm" | "lg";
|
|
1409
|
+
interface MenuProps extends react__default.ComponentProps<"div"> {
|
|
1410
|
+
containerClassName?: string;
|
|
1411
|
+
contentClassName?: string;
|
|
1412
|
+
rounded?: Rounded;
|
|
1413
|
+
menuRef?: react__default.RefObject<HTMLDivElement>;
|
|
1414
|
+
contentWrapperProps?: react__default.ComponentProps<"div">;
|
|
1361
1415
|
}
|
|
1362
|
-
declare function
|
|
1416
|
+
declare function Menu({ children, containerClassName, contentClassName, rounded, menuRef, contentWrapperProps, ...props }: MenuProps): react_jsx_runtime.JSX.Element;
|
|
1363
1417
|
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
accessory?: string | null;
|
|
1368
|
-
actionIcon?: React.ReactNode;
|
|
1418
|
+
type ModalWidth = "large" | "extra-large";
|
|
1419
|
+
interface ModalProps {
|
|
1420
|
+
children: React.ReactNode;
|
|
1369
1421
|
className?: string;
|
|
1422
|
+
onBackdropClick?: () => void;
|
|
1423
|
+
isOpen?: boolean;
|
|
1424
|
+
maxHeight?: boolean;
|
|
1425
|
+
width?: ModalWidth;
|
|
1370
1426
|
}
|
|
1371
|
-
declare function
|
|
1427
|
+
declare function Modal({ children, className, onBackdropClick, isOpen: _isOpen, maxHeight, width, }: ModalProps): false | react_jsx_runtime.JSX.Element;
|
|
1372
1428
|
|
|
1373
|
-
type
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
value: number;
|
|
1391
|
-
}[];
|
|
1392
|
-
decimalsFormat?: number;
|
|
1393
|
-
resetValueControl: {
|
|
1394
|
-
label: string;
|
|
1395
|
-
value: number | undefined;
|
|
1396
|
-
};
|
|
1397
|
-
} | {
|
|
1398
|
-
type: 'switch';
|
|
1399
|
-
checked: boolean;
|
|
1400
|
-
onChange: (checked: boolean) => void;
|
|
1401
|
-
tooltip?: Omit<TooltipProps, 'children'>;
|
|
1402
|
-
disabled?: boolean;
|
|
1403
|
-
} | {
|
|
1404
|
-
type: 'options';
|
|
1405
|
-
selectedLabel: string;
|
|
1406
|
-
options: {
|
|
1407
|
-
label: string;
|
|
1408
|
-
onSelect: () => void;
|
|
1409
|
-
}[];
|
|
1429
|
+
type ModalContentBorderType = "border" | "outline";
|
|
1430
|
+
interface ModalContentProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
1431
|
+
children?: React.ReactNode;
|
|
1432
|
+
addGap?: boolean;
|
|
1433
|
+
paddingY?: boolean;
|
|
1434
|
+
borderType?: ModalContentBorderType;
|
|
1435
|
+
className?: string;
|
|
1436
|
+
}
|
|
1437
|
+
declare function ModalContent({ children, addGap, paddingY, borderType, className, ...props }: ModalContentProps): react_jsx_runtime.JSX.Element;
|
|
1438
|
+
declare function ModalContentDivider(): react_jsx_runtime.JSX.Element;
|
|
1439
|
+
|
|
1440
|
+
type ActionButton = {
|
|
1441
|
+
labelOrIcon: string | React.ReactNode;
|
|
1442
|
+
onClick?: () => void;
|
|
1443
|
+
id: React.Key;
|
|
1444
|
+
tooltip?: Omit<TooltipProps, "children">;
|
|
1445
|
+
chip?: ChipProps;
|
|
1410
1446
|
};
|
|
1411
|
-
interface
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
link?: string;
|
|
1447
|
+
interface NavigationBarProps extends React.ComponentProps<"nav"> {
|
|
1448
|
+
title?: string;
|
|
1449
|
+
displayBackButton?: boolean;
|
|
1450
|
+
logoUrl?: string;
|
|
1416
1451
|
transparent?: boolean;
|
|
1417
|
-
|
|
1452
|
+
displayButtonShadows?: boolean;
|
|
1453
|
+
onBackButtonClick?: () => void;
|
|
1454
|
+
actions?: ActionButton[];
|
|
1455
|
+
isLoading?: boolean;
|
|
1418
1456
|
}
|
|
1419
|
-
declare function
|
|
1457
|
+
declare function NavigationBar({ title, displayBackButton, logoUrl, transparent, displayButtonShadows, onBackButtonClick, actions, isLoading, ...props }: NavigationBarProps): react_jsx_runtime.JSX.Element;
|
|
1420
1458
|
|
|
1421
|
-
|
|
1422
|
-
descriptionBlocks: DescriptionBlock[];
|
|
1423
|
-
showStepSeparator?: boolean;
|
|
1424
|
-
link?: string;
|
|
1425
|
-
status?: ActionStatus;
|
|
1426
|
-
}
|
|
1427
|
-
declare const STEP_ITEM_HEIGHT = 52;
|
|
1428
|
-
declare function SwapStepItem({ descriptionBlocks, showStepSeparator, link, status, }: SwapStepItemProps): react_jsx_runtime.JSX.Element;
|
|
1459
|
+
declare function PipeSeparator({ className, ...props }: ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
1429
1460
|
|
|
1430
|
-
interface
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
}
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
url?: string;
|
|
1461
|
+
interface CollapsibleMenuProps {
|
|
1462
|
+
menuRef: React.MutableRefObject<HTMLDivElement | null>;
|
|
1463
|
+
size: {
|
|
1464
|
+
open: {
|
|
1465
|
+
width: string;
|
|
1466
|
+
height: string;
|
|
1467
|
+
};
|
|
1468
|
+
closed: {
|
|
1469
|
+
width: string;
|
|
1470
|
+
height: string;
|
|
1471
|
+
};
|
|
1472
|
+
};
|
|
1473
|
+
children?: React.ReactNode;
|
|
1474
|
+
isOpen?: boolean;
|
|
1475
|
+
transitionDuration?: React.CSSProperties["transitionDuration"];
|
|
1476
|
+
className?: string;
|
|
1447
1477
|
}
|
|
1448
|
-
declare function
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
}
|
|
1452
|
-
|
|
1453
|
-
children?: ReactNode;
|
|
1454
|
-
status: ActionStatus;
|
|
1455
|
-
icon?: ReactNode;
|
|
1456
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
1457
|
-
declare function ActionRow({ className, ...props }: ComponentProps<'div'>): react_jsx_runtime.JSX.Element;
|
|
1458
|
-
declare function ActionWrapper({ children, status, className, }: {
|
|
1459
|
-
children?: ReactNode;
|
|
1460
|
-
status?: ActionStatus;
|
|
1478
|
+
declare function CollapsibleMenu({ children, menuRef, isOpen, transitionDuration, size, className, }: CollapsibleMenuProps): react_jsx_runtime.JSX.Element;
|
|
1479
|
+
|
|
1480
|
+
declare function ProductCard({ children }: React.PropsWithChildren): react_jsx_runtime.JSX.Element;
|
|
1481
|
+
declare function BorderedContainer({ children, className, }: {
|
|
1482
|
+
children: React.ReactNode;
|
|
1461
1483
|
className?: string;
|
|
1462
1484
|
}): react_jsx_runtime.JSX.Element;
|
|
1463
|
-
interface TimestampProps {
|
|
1464
|
-
time: number;
|
|
1465
|
-
}
|
|
1466
|
-
declare function Timestamp({ time }: TimestampProps): react_jsx_runtime.JSX.Element;
|
|
1467
1485
|
|
|
1468
|
-
|
|
1469
|
-
status: ActionStatus;
|
|
1470
|
-
/** if set, renders a line upwards to the next item in the status color */
|
|
1471
|
-
nextStatus?: ActionStatus;
|
|
1472
|
-
/** should we render a line down to the previous item? (default true) */
|
|
1473
|
-
showTimeline?: boolean;
|
|
1474
|
-
/** if false, fades out everything but the status line (for collapsed timeline state) */
|
|
1475
|
-
showBody?: boolean;
|
|
1476
|
-
}
|
|
1486
|
+
declare function ProfileHeaderBackground(): react_jsx_runtime.JSX.Element;
|
|
1477
1487
|
|
|
1478
|
-
interface
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
|
|
1488
|
+
interface SwapConfigurationProps {
|
|
1489
|
+
direction: SwapDirection;
|
|
1490
|
+
priceImpactPercentage?: string;
|
|
1491
|
+
amount?: string;
|
|
1492
|
+
tokenPrice?: number;
|
|
1493
|
+
balance?: string;
|
|
1494
|
+
isFetching?: boolean;
|
|
1495
|
+
chain?: {
|
|
1496
|
+
iconUrl: string;
|
|
1497
|
+
bgColor: string;
|
|
1482
1498
|
};
|
|
1483
|
-
|
|
1484
|
-
|
|
1485
|
-
|
|
1499
|
+
token?: {
|
|
1500
|
+
iconUrl: string;
|
|
1501
|
+
symbol: string;
|
|
1502
|
+
bgColor: string;
|
|
1503
|
+
textColor: string;
|
|
1504
|
+
decimals: number;
|
|
1486
1505
|
};
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
|
|
1490
|
-
|
|
1506
|
+
onAmountChange?: (amount: string) => void;
|
|
1507
|
+
error?: {
|
|
1508
|
+
message: string;
|
|
1509
|
+
};
|
|
1510
|
+
criticalPriceImpactPercentage?: number;
|
|
1511
|
+
maxUsdDecimals?: number;
|
|
1512
|
+
isInputInteractive?: boolean;
|
|
1513
|
+
isLoading?: boolean;
|
|
1514
|
+
inputModeButton?: {
|
|
1515
|
+
usdModeTooltip?: Omit<TooltipProps, "children">;
|
|
1516
|
+
tokenModeTooltip?: Omit<TooltipProps, "children">;
|
|
1517
|
+
amountUsd?: string;
|
|
1518
|
+
};
|
|
1519
|
+
balanceButton?: {
|
|
1520
|
+
tooltip?: Omit<TooltipProps, "children">;
|
|
1521
|
+
};
|
|
1522
|
+
assetsButton?: {
|
|
1523
|
+
tooltip?: Omit<TooltipProps, "children">;
|
|
1524
|
+
onClick?: () => void;
|
|
1525
|
+
variant?: AssetsButtonVariant;
|
|
1526
|
+
};
|
|
1527
|
+
walletButton?: {
|
|
1528
|
+
tooltip?: Omit<TooltipProps, "children">;
|
|
1529
|
+
onClick?: () => void;
|
|
1530
|
+
address?: string;
|
|
1531
|
+
emptyAddressLabel?: string;
|
|
1532
|
+
disabled?: boolean;
|
|
1491
1533
|
};
|
|
1492
|
-
timestamp?: number;
|
|
1493
|
-
hash?: string;
|
|
1494
|
-
url?: string;
|
|
1495
1534
|
}
|
|
1496
|
-
declare function
|
|
1535
|
+
declare function SwapConfiguration({ amount, tokenPrice, isFetching: isFetchingProp, chain, token, direction, onAmountChange, balance, criticalPriceImpactPercentage, error, priceImpactPercentage, maxUsdDecimals, isInputInteractive, isLoading, inputModeButton, balanceButton, assetsButton, walletButton, }: SwapConfigurationProps): react_jsx_runtime.JSX.Element;
|
|
1497
1536
|
|
|
1498
|
-
interface
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
|
-
|
|
1537
|
+
interface SwapProgressViewHeaderProps {
|
|
1538
|
+
title: string;
|
|
1539
|
+
description: string;
|
|
1540
|
+
}
|
|
1541
|
+
declare function SwapProgressViewHeader({ title, description, }: SwapProgressViewHeaderProps): react_jsx_runtime.JSX.Element;
|
|
1542
|
+
|
|
1543
|
+
type SwapStepsCollapsedFooterButton = {
|
|
1544
|
+
label: string;
|
|
1545
|
+
link?: string;
|
|
1546
|
+
onClick?: () => void;
|
|
1547
|
+
};
|
|
1548
|
+
interface SwapStepsCollapsedProps {
|
|
1549
|
+
steps: SwapStep[];
|
|
1550
|
+
currentStepIndex: number;
|
|
1551
|
+
onOpen?: () => void;
|
|
1552
|
+
onClose?: () => void;
|
|
1553
|
+
footerButton?: SwapStepsCollapsedFooterButton;
|
|
1554
|
+
}
|
|
1555
|
+
declare const SwapStepsCollapsed: react.ForwardRefExoticComponent<SwapStepsCollapsedProps & react.RefAttributes<{
|
|
1556
|
+
handleToggleRouteSteps: () => void;
|
|
1557
|
+
}>>;
|
|
1558
|
+
|
|
1559
|
+
interface TokenPairProps {
|
|
1560
|
+
firstToken?: {
|
|
1504
1561
|
logoURI: string;
|
|
1505
|
-
|
|
1562
|
+
bgColor: string;
|
|
1506
1563
|
};
|
|
1507
|
-
|
|
1564
|
+
secondToken?: {
|
|
1508
1565
|
logoURI: string;
|
|
1509
|
-
|
|
1566
|
+
bgColor: string;
|
|
1510
1567
|
};
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
url?: string;
|
|
1568
|
+
variant?: TokenPairVariant;
|
|
1569
|
+
size?: TokenPairSize;
|
|
1514
1570
|
}
|
|
1515
|
-
declare function
|
|
1571
|
+
declare function TokenPair({ firstToken, secondToken, variant, size, }: TokenPairProps): react_jsx_runtime.JSX.Element;
|
|
1516
1572
|
|
|
1517
|
-
interface
|
|
1518
|
-
|
|
1519
|
-
|
|
1573
|
+
interface TransactionFiltersProps {
|
|
1574
|
+
chainType?: ChainTypeFilter;
|
|
1575
|
+
setChainType: (chainType: ChainTypeFilter) => void;
|
|
1576
|
+
chain?: string;
|
|
1577
|
+
setChain: (chain?: string) => void;
|
|
1578
|
+
fromDate?: Date;
|
|
1579
|
+
setFromDate: (fromDate?: Date) => void;
|
|
1580
|
+
toDate?: Date;
|
|
1581
|
+
setToDate: (toDate?: Date) => void;
|
|
1582
|
+
status?: StatusFilter[];
|
|
1583
|
+
setStatus: (status?: StatusFilter[]) => void;
|
|
1584
|
+
chains: {
|
|
1585
|
+
name: string;
|
|
1586
|
+
logoURI: string;
|
|
1587
|
+
}[];
|
|
1520
1588
|
}
|
|
1521
|
-
declare function
|
|
1522
|
-
|
|
1589
|
+
declare function TransactionFilters({ chainType, setChainType, chain, setChain, fromDate, setFromDate, toDate, setToDate, status, setStatus, chains, }: TransactionFiltersProps): react_jsx_runtime.JSX.Element;
|
|
1590
|
+
|
|
1591
|
+
interface BridgeHeaderProps {
|
|
1592
|
+
tokenLogoURI: string;
|
|
1593
|
+
chainLogoURI: string;
|
|
1594
|
+
title?: string;
|
|
1595
|
+
hash: string;
|
|
1596
|
+
url?: string;
|
|
1523
1597
|
status: ActionStatus;
|
|
1524
|
-
nextStatus?: ActionStatus;
|
|
1525
|
-
total: FeesRowProps;
|
|
1526
|
-
showTimeline?: boolean;
|
|
1527
|
-
collapsed?: boolean;
|
|
1528
1598
|
}
|
|
1529
|
-
declare function
|
|
1530
|
-
|
|
1599
|
+
declare function BridgeHeader({ tokenLogoURI, chainLogoURI, title, hash, url, status, }: BridgeHeaderProps): react_jsx_runtime.JSX.Element;
|
|
1600
|
+
|
|
1601
|
+
interface BuyNFTHeaderProps {
|
|
1602
|
+
imageUrl: string;
|
|
1603
|
+
title?: string;
|
|
1604
|
+
hash: string;
|
|
1605
|
+
url?: string;
|
|
1531
1606
|
status: ActionStatus;
|
|
1532
|
-
lines?: FeesRowProps[];
|
|
1533
|
-
showTimeline?: boolean;
|
|
1534
|
-
}
|
|
1535
|
-
declare function FeesLines({ status, lines, showTimeline, }: FeesLinesProps): react_jsx_runtime.JSX.Element;
|
|
1536
|
-
interface FeesRowProps {
|
|
1537
|
-
label: string;
|
|
1538
|
-
amount: number | string;
|
|
1539
|
-
symbol: string;
|
|
1540
|
-
usd: number | string;
|
|
1541
|
-
collapsed?: boolean;
|
|
1542
1607
|
}
|
|
1608
|
+
declare function BuyNFTHeader({ imageUrl, title, hash, url, status, }: BuyNFTHeaderProps): react_jsx_runtime.JSX.Element;
|
|
1543
1609
|
|
|
1544
|
-
interface
|
|
1545
|
-
|
|
1546
|
-
|
|
1610
|
+
interface InteractionHeaderProps {
|
|
1611
|
+
title?: string;
|
|
1612
|
+
image?: ReactNode;
|
|
1613
|
+
hash: string;
|
|
1614
|
+
url?: string;
|
|
1615
|
+
status: ActionStatus;
|
|
1547
1616
|
}
|
|
1548
|
-
declare function
|
|
1617
|
+
declare function InteractionHeader({ title, image, hash, url, status, }: InteractionHeaderProps): react_jsx_runtime.JSX.Element;
|
|
1549
1618
|
|
|
1550
|
-
interface
|
|
1551
|
-
|
|
1619
|
+
interface ProfileHeaderProps {
|
|
1620
|
+
imageUrl: string;
|
|
1621
|
+
title: string;
|
|
1622
|
+
wallet: {
|
|
1552
1623
|
imageURI: string;
|
|
1553
|
-
|
|
1624
|
+
address: string;
|
|
1554
1625
|
};
|
|
1555
|
-
|
|
1626
|
+
amount: string;
|
|
1627
|
+
}
|
|
1628
|
+
declare function ProfileHeader({ imageUrl, title, wallet, amount, }: ProfileHeaderProps): react_jsx_runtime.JSX.Element;
|
|
1629
|
+
|
|
1630
|
+
interface SwapHeaderProps {
|
|
1631
|
+
fromToken: {
|
|
1556
1632
|
logoURI: string;
|
|
1557
|
-
|
|
1633
|
+
bgColor: string;
|
|
1558
1634
|
};
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
url: string;
|
|
1635
|
+
toToken: {
|
|
1636
|
+
logoURI: string;
|
|
1637
|
+
bgColor: string;
|
|
1563
1638
|
};
|
|
1564
|
-
|
|
1639
|
+
title?: string;
|
|
1565
1640
|
hash: string;
|
|
1566
|
-
url
|
|
1641
|
+
url?: string;
|
|
1642
|
+
status: ActionStatus;
|
|
1567
1643
|
}
|
|
1568
|
-
declare function
|
|
1644
|
+
declare function SwapHeader({ fromToken, toToken, title, hash, url, status, }: SwapHeaderProps): react_jsx_runtime.JSX.Element;
|
|
1569
1645
|
|
|
1570
|
-
|
|
1646
|
+
declare const headerComponentsMap: {
|
|
1647
|
+
readonly swap: typeof SwapHeader;
|
|
1648
|
+
readonly buy_nft: typeof BuyNFTHeader;
|
|
1649
|
+
readonly interaction: typeof InteractionHeader;
|
|
1650
|
+
readonly bridge: typeof BridgeHeader;
|
|
1651
|
+
readonly profile: typeof ProfileHeader;
|
|
1652
|
+
};
|
|
1653
|
+
type TransactionHeaderComponents = typeof headerComponentsMap;
|
|
1654
|
+
type TransactionHeaderType = keyof TransactionHeaderComponents;
|
|
1655
|
+
type TransactionHeaderProps = {
|
|
1656
|
+
[Type in TransactionHeaderType]: {
|
|
1657
|
+
type: Type;
|
|
1658
|
+
props: ComponentProps<TransactionHeaderComponents[Type]>;
|
|
1659
|
+
};
|
|
1660
|
+
}[TransactionHeaderType];
|
|
1661
|
+
declare function TransactionHeader({ type, props }: TransactionHeaderProps): react_jsx_runtime.JSX.Element;
|
|
1662
|
+
|
|
1663
|
+
interface TransactionHeaderLayoutProps {
|
|
1664
|
+
isLoading?: boolean;
|
|
1665
|
+
status?: ActionStatus;
|
|
1666
|
+
title?: string;
|
|
1667
|
+
image?: ReactNode;
|
|
1668
|
+
children?: ReactNode;
|
|
1669
|
+
}
|
|
1670
|
+
declare function TransactionHeaderLayout({ isLoading, status, title, image, children, }: TransactionHeaderLayoutProps): react_jsx_runtime.JSX.Element;
|
|
1671
|
+
|
|
1672
|
+
interface BridgePropertiesProps {
|
|
1571
1673
|
amount: string;
|
|
1572
1674
|
token: {
|
|
1573
1675
|
logoURI: string;
|
|
1676
|
+
bgColor: string;
|
|
1574
1677
|
symbol: string;
|
|
1575
1678
|
};
|
|
1576
|
-
|
|
1679
|
+
fromChain: {
|
|
1577
1680
|
logoURI: string;
|
|
1578
1681
|
name: string;
|
|
1579
1682
|
};
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
url: string;
|
|
1683
|
+
toChain: {
|
|
1684
|
+
logoURI: string;
|
|
1685
|
+
name: string;
|
|
1584
1686
|
};
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
1687
|
+
wallet: string;
|
|
1688
|
+
boosted?: boolean;
|
|
1689
|
+
timeToComplete: string;
|
|
1588
1690
|
}
|
|
1589
|
-
declare function
|
|
1691
|
+
declare function BridgeProperties({ amount, token, fromChain, toChain, wallet, boosted, timeToComplete, }: BridgePropertiesProps): react_jsx_runtime.JSX.Element;
|
|
1590
1692
|
|
|
1591
|
-
interface
|
|
1592
|
-
|
|
1693
|
+
interface BuyNFTPropertiesProps {
|
|
1694
|
+
title: string;
|
|
1695
|
+
imageURI: string;
|
|
1696
|
+
collection: {
|
|
1697
|
+
imageURI: string;
|
|
1698
|
+
name: string;
|
|
1699
|
+
};
|
|
1700
|
+
price: string;
|
|
1593
1701
|
token: {
|
|
1594
1702
|
logoURI: string;
|
|
1595
1703
|
symbol: string;
|
|
1596
1704
|
};
|
|
1597
|
-
|
|
1705
|
+
marketplace: {
|
|
1598
1706
|
logoURI: string;
|
|
1599
1707
|
name: string;
|
|
1600
1708
|
};
|
|
1601
|
-
|
|
1602
|
-
imageURI: string;
|
|
1603
|
-
address: string;
|
|
1604
|
-
url: string;
|
|
1605
|
-
};
|
|
1606
|
-
timestamp: number;
|
|
1607
|
-
hash: string;
|
|
1608
|
-
url: string;
|
|
1609
|
-
}
|
|
1610
|
-
declare function SendTokensAction({ status, nextStatus, showTimeline, showBody, token, amount, chain, wallet, timestamp, hash, url, }: SendTokensActionProps): react_jsx_runtime.JSX.Element;
|
|
1611
|
-
|
|
1612
|
-
interface StakeActionProps extends BaseActionProps {
|
|
1613
|
-
token: {
|
|
1709
|
+
fromChain: {
|
|
1614
1710
|
logoURI: string;
|
|
1615
|
-
|
|
1711
|
+
name: string;
|
|
1616
1712
|
};
|
|
1617
|
-
|
|
1713
|
+
toChain: {
|
|
1618
1714
|
logoURI: string;
|
|
1619
1715
|
name: string;
|
|
1620
1716
|
};
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
|
|
1717
|
+
fromAddress: string;
|
|
1718
|
+
toAddress: string;
|
|
1719
|
+
boosted?: boolean;
|
|
1720
|
+
timeToComplete: string;
|
|
1721
|
+
tokenId: string;
|
|
1722
|
+
nftType: string;
|
|
1624
1723
|
}
|
|
1625
|
-
declare function
|
|
1724
|
+
declare function BuyNFTProperties({ title, imageURI, collection, price, token, marketplace, fromChain, toChain, fromAddress, toAddress, boosted, timeToComplete, tokenId, nftType, }: BuyNFTPropertiesProps): react_jsx_runtime.JSX.Element;
|
|
1626
1725
|
|
|
1627
|
-
interface
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
|
|
1726
|
+
interface InteractionPropertiesProps {
|
|
1727
|
+
chain: {
|
|
1728
|
+
logoURI: string;
|
|
1729
|
+
name: string;
|
|
1730
|
+
};
|
|
1731
|
+
wallet: string;
|
|
1732
|
+
boosted?: boolean;
|
|
1733
|
+
timeToComplete: string;
|
|
1631
1734
|
}
|
|
1632
|
-
declare function
|
|
1735
|
+
declare function InteractionProperties({ chain, wallet, boosted, timeToComplete, }: InteractionPropertiesProps): react_jsx_runtime.JSX.Element;
|
|
1633
1736
|
|
|
1634
|
-
interface
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
hash?: string;
|
|
1638
|
-
url?: string;
|
|
1737
|
+
interface PropertiesLayoutProps {
|
|
1738
|
+
children?: ReactNode;
|
|
1739
|
+
className?: string;
|
|
1639
1740
|
}
|
|
1640
|
-
declare function
|
|
1741
|
+
declare function PropertiesLayout({ children, className, }: PropertiesLayoutProps): react_jsx_runtime.JSX.Element;
|
|
1641
1742
|
|
|
1642
|
-
interface
|
|
1743
|
+
interface SwapPropertiesProps {
|
|
1744
|
+
fromAmount: string;
|
|
1643
1745
|
fromToken: {
|
|
1644
1746
|
logoURI: string;
|
|
1747
|
+
bgColor: string;
|
|
1645
1748
|
symbol: string;
|
|
1646
1749
|
};
|
|
1750
|
+
toAmount: string;
|
|
1647
1751
|
toToken: {
|
|
1648
1752
|
logoURI: string;
|
|
1753
|
+
bgColor: string;
|
|
1649
1754
|
symbol: string;
|
|
1650
1755
|
};
|
|
1651
|
-
|
|
1756
|
+
fromChain: {
|
|
1652
1757
|
logoURI: string;
|
|
1653
1758
|
name: string;
|
|
1654
1759
|
};
|
|
1655
|
-
|
|
1656
|
-
hash?: string;
|
|
1657
|
-
url?: string;
|
|
1658
|
-
}
|
|
1659
|
-
declare function SwapAction({ status, nextStatus, showTimeline, showBody, fromToken, toToken, provider, timestamp, hash, url, }: SwapActionProps): react_jsx_runtime.JSX.Element;
|
|
1660
|
-
|
|
1661
|
-
interface WrapActionProps extends BaseActionProps {
|
|
1662
|
-
fromToken: {
|
|
1663
|
-
logoURI: string;
|
|
1664
|
-
symbol: string;
|
|
1665
|
-
};
|
|
1666
|
-
toToken: {
|
|
1667
|
-
logoURI: string;
|
|
1668
|
-
symbol: string;
|
|
1669
|
-
};
|
|
1670
|
-
provider: {
|
|
1760
|
+
toChain: {
|
|
1671
1761
|
logoURI: string;
|
|
1672
1762
|
name: string;
|
|
1673
1763
|
};
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
|
|
1764
|
+
fromAddress: string;
|
|
1765
|
+
toAddress: string;
|
|
1766
|
+
exchangeRate: string;
|
|
1767
|
+
boosted?: boolean;
|
|
1768
|
+
timeToComplete: string;
|
|
1677
1769
|
}
|
|
1678
|
-
declare function
|
|
1770
|
+
declare function SwapProperties({ fromAmount, fromToken, toAmount, toToken, fromChain, toChain, fromAddress, toAddress, exchangeRate, boosted, timeToComplete, }: SwapPropertiesProps): react_jsx_runtime.JSX.Element;
|
|
1679
1771
|
|
|
1680
|
-
declare const
|
|
1681
|
-
readonly
|
|
1682
|
-
readonly
|
|
1683
|
-
readonly
|
|
1684
|
-
readonly
|
|
1685
|
-
readonly send_tokens: typeof SendTokensAction;
|
|
1686
|
-
readonly swap: typeof SwapAction;
|
|
1687
|
-
readonly bridge: typeof BridgeAction;
|
|
1688
|
-
readonly wrap: typeof WrapAction;
|
|
1689
|
-
readonly stake: typeof StakeAction;
|
|
1690
|
-
readonly start: typeof StartAction;
|
|
1691
|
-
readonly fees: typeof FeesAction;
|
|
1692
|
-
readonly incomplete: typeof IncompleteAction;
|
|
1772
|
+
declare const propertiesComponentsMap: {
|
|
1773
|
+
readonly swap: typeof SwapProperties;
|
|
1774
|
+
readonly buy_nft: typeof BuyNFTProperties;
|
|
1775
|
+
readonly interaction: typeof InteractionProperties;
|
|
1776
|
+
readonly bridge: typeof BridgeProperties;
|
|
1693
1777
|
};
|
|
1694
|
-
type
|
|
1695
|
-
type
|
|
1696
|
-
type
|
|
1697
|
-
[Type in
|
|
1778
|
+
type TransactionPropertiesComponents = typeof propertiesComponentsMap;
|
|
1779
|
+
type TransactionPropertiesType = keyof TransactionPropertiesComponents;
|
|
1780
|
+
type TransactionPropertiesProps = {
|
|
1781
|
+
[Type in TransactionPropertiesType]: {
|
|
1698
1782
|
type: Type;
|
|
1699
|
-
props: ComponentProps<
|
|
1783
|
+
props: ComponentProps<TransactionPropertiesComponents[Type]>;
|
|
1700
1784
|
};
|
|
1701
|
-
}[
|
|
1702
|
-
declare function
|
|
1703
|
-
|
|
1704
|
-
declare function linkActionTimelineProps(actions: TransactionActionProps[], collapsed: boolean): TransactionActionProps[];
|
|
1785
|
+
}[TransactionPropertiesType];
|
|
1786
|
+
declare function TransactionProperties({ type, props, }: TransactionPropertiesProps): react_jsx_runtime.JSX.Element;
|
|
1705
1787
|
|
|
1706
|
-
|
|
1707
|
-
|
|
1708
|
-
|
|
1709
|
-
|
|
1710
|
-
};
|
|
1711
|
-
interface TransactionItemProps {
|
|
1788
|
+
interface TransactionSearchProps {
|
|
1789
|
+
query: string;
|
|
1790
|
+
setQuery: (query: string) => void;
|
|
1791
|
+
children?: ReactNode;
|
|
1712
1792
|
className?: string;
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
image?: ReactNode;
|
|
1716
|
-
type?: TransactionItemType;
|
|
1717
|
-
hash?: string;
|
|
1718
|
-
fromChain?: {
|
|
1719
|
-
logoURI: string;
|
|
1720
|
-
name: string;
|
|
1721
|
-
};
|
|
1722
|
-
toChain?: {
|
|
1723
|
-
logoURI: string;
|
|
1724
|
-
name: string;
|
|
1725
|
-
};
|
|
1726
|
-
fromAmount?: string;
|
|
1727
|
-
toAmount?: string;
|
|
1728
|
-
timestamp?: number;
|
|
1729
|
-
variant?: TransactionItemVariant;
|
|
1793
|
+
onFocus?: () => void;
|
|
1794
|
+
onBlur?: () => void;
|
|
1730
1795
|
}
|
|
1731
|
-
declare function
|
|
1796
|
+
declare function TransactionSearch({ query, setQuery, children, className, onFocus, onBlur, }: TransactionSearchProps): react_jsx_runtime.JSX.Element;
|
|
1732
1797
|
|
|
1733
|
-
interface
|
|
1734
|
-
|
|
1735
|
-
|
|
1736
|
-
|
|
1798
|
+
interface FromToProps {
|
|
1799
|
+
isLoading?: boolean;
|
|
1800
|
+
from?: ReactNode;
|
|
1801
|
+
to?: ReactNode;
|
|
1737
1802
|
className?: string;
|
|
1738
|
-
isHidden?: boolean;
|
|
1739
|
-
listClassName?: string;
|
|
1740
|
-
}
|
|
1741
|
-
declare function DropdownMenu({ dropdownRef, items, className, menuRef, isHidden, listClassName, }: DropdownMenuProps): react_jsx_runtime.JSX.Element;
|
|
1742
|
-
|
|
1743
|
-
type ErrorMessageProps = {
|
|
1744
|
-
message: string;
|
|
1745
|
-
showIcon?: boolean;
|
|
1746
|
-
};
|
|
1747
|
-
declare function ErrorMessage({ message, showIcon }: ErrorMessageProps): react_jsx_runtime.JSX.Element;
|
|
1748
|
-
|
|
1749
|
-
interface HashLinkProps {
|
|
1750
|
-
showTx?: boolean;
|
|
1751
|
-
hash: string;
|
|
1752
|
-
children?: ReactNode;
|
|
1753
|
-
showCopyButton?: boolean;
|
|
1754
|
-
url?: string;
|
|
1755
1803
|
}
|
|
1756
|
-
declare function
|
|
1804
|
+
declare function Transfer({ isLoading, from, to, className }: FromToProps): react_jsx_runtime.JSX.Element;
|
|
1757
1805
|
|
|
1758
|
-
interface
|
|
1806
|
+
interface ToastProps {
|
|
1759
1807
|
title: string;
|
|
1760
1808
|
description: string;
|
|
1761
|
-
|
|
1809
|
+
headerContent?: React.ReactNode;
|
|
1810
|
+
actionsContent?: React.ReactNode;
|
|
1811
|
+
chipLabel?: string;
|
|
1762
1812
|
}
|
|
1763
|
-
declare function
|
|
1813
|
+
declare function Toast({ headerContent, actionsContent, description, chipLabel, title, }: ToastProps): react_jsx_runtime.JSX.Element;
|
|
1764
1814
|
|
|
1765
|
-
|
|
1766
|
-
|
|
1767
|
-
|
|
1768
|
-
|
|
1769
|
-
|
|
1815
|
+
type SquidTheme = {
|
|
1816
|
+
"content-100": string;
|
|
1817
|
+
"content-200": string;
|
|
1818
|
+
"content-300": string;
|
|
1819
|
+
"content-400": string;
|
|
1820
|
+
"content-500": string;
|
|
1821
|
+
"content-600": string;
|
|
1822
|
+
"content-700": string;
|
|
1823
|
+
"content-800": string;
|
|
1824
|
+
"content-900": string;
|
|
1825
|
+
"accent-300": string;
|
|
1826
|
+
"accent-400": string;
|
|
1827
|
+
"accent-500": string;
|
|
1828
|
+
"accent-700": string;
|
|
1829
|
+
"status-positive": string;
|
|
1830
|
+
"status-negative": string;
|
|
1831
|
+
"status-warning": string;
|
|
1832
|
+
"highlight-700": string;
|
|
1833
|
+
};
|
|
1770
1834
|
|
|
1771
|
-
|
|
1772
|
-
|
|
1773
|
-
|
|
1774
|
-
|
|
1775
|
-
|
|
1776
|
-
|
|
1777
|
-
|
|
1778
|
-
|
|
1779
|
-
|
|
1835
|
+
/**
|
|
1836
|
+
* Utility type to allow for a type to be either all of the properties of another type, or none of them
|
|
1837
|
+
* @example
|
|
1838
|
+
* type Person = { age: number } & AllOrNone<{ name: string, lastName: string }>
|
|
1839
|
+
* const person: Person = { age: 30 } // ok
|
|
1840
|
+
* const person: Person = { age: 30, name: "John" } // error, requires lastName
|
|
1841
|
+
* const person: Person = { age: 30, name: "John", lastName: "Doe" } // ok, all properties are present
|
|
1842
|
+
*/
|
|
1843
|
+
type AllOrNone<T> = T | {
|
|
1844
|
+
[K in keyof T]?: never;
|
|
1845
|
+
};
|
|
1780
1846
|
|
|
1781
|
-
|
|
1782
|
-
|
|
1783
|
-
children: React.ReactNode;
|
|
1784
|
-
className?: string;
|
|
1785
|
-
onBackdropClick?: () => void;
|
|
1786
|
-
isOpen?: boolean;
|
|
1787
|
-
maxHeight?: boolean;
|
|
1788
|
-
width?: ModalWidth;
|
|
1847
|
+
interface DropdownMenuItemControl extends Omit<SwitchProps, "size"> {
|
|
1848
|
+
type: "switch";
|
|
1789
1849
|
}
|
|
1790
|
-
|
|
1791
|
-
|
|
1792
|
-
|
|
1793
|
-
|
|
1850
|
+
interface DropdownMenuItemProps {
|
|
1851
|
+
label: string;
|
|
1852
|
+
labelClassName?: string;
|
|
1853
|
+
imageUrl?: string;
|
|
1854
|
+
icon?: React.ReactNode;
|
|
1855
|
+
onClick?: (event: React.MouseEvent<HTMLButtonElement>) => void;
|
|
1856
|
+
link?: string;
|
|
1857
|
+
control?: DropdownMenuItemControl;
|
|
1858
|
+
detail?: React.ReactNode;
|
|
1859
|
+
isSelected?: boolean;
|
|
1860
|
+
itemRef?: React.RefObject<HTMLLIElement>;
|
|
1794
1861
|
children?: React.ReactNode;
|
|
1795
|
-
|
|
1796
|
-
paddingY?: boolean;
|
|
1797
|
-
borderType?: ModalContentBorderType;
|
|
1798
|
-
className?: string;
|
|
1862
|
+
contentRef?: React.RefObject<HTMLButtonElement>;
|
|
1799
1863
|
}
|
|
1800
|
-
declare function
|
|
1801
|
-
|
|
1864
|
+
declare function DropdownMenuItem(props: DropdownMenuItemProps & AllOrNone<{
|
|
1865
|
+
submenu: React.ReactNode;
|
|
1866
|
+
containerRef: React.RefObject<HTMLDivElement>;
|
|
1867
|
+
}>): react_jsx_runtime.JSX.Element;
|
|
1802
1868
|
|
|
1803
|
-
|
|
1804
|
-
|
|
1805
|
-
|
|
1806
|
-
|
|
1807
|
-
|
|
1808
|
-
|
|
1809
|
-
|
|
1810
|
-
|
|
1811
|
-
|
|
1812
|
-
|
|
1813
|
-
|
|
1814
|
-
|
|
1815
|
-
|
|
1816
|
-
onBackButtonClick?: () => void;
|
|
1817
|
-
actions?: ActionButton[];
|
|
1818
|
-
isLoading?: boolean;
|
|
1869
|
+
interface HistoryItemProps {
|
|
1870
|
+
firstImageUrl: string;
|
|
1871
|
+
secondImageUrl: string;
|
|
1872
|
+
status: HistoryItemStatus;
|
|
1873
|
+
fromLabel: string;
|
|
1874
|
+
toLabel: string;
|
|
1875
|
+
dateCompleted: string;
|
|
1876
|
+
fromAmount: string;
|
|
1877
|
+
toAmount: string;
|
|
1878
|
+
itemsContainerRef?: React.RefObject<HTMLElement>;
|
|
1879
|
+
onClick?: () => void;
|
|
1880
|
+
warningLabel?: string;
|
|
1881
|
+
dropdownMenuContent?: React.ReactNode;
|
|
1819
1882
|
}
|
|
1820
|
-
declare function
|
|
1883
|
+
declare function HistoryItem({ firstImageUrl, secondImageUrl, dateCompleted, fromAmount, fromLabel, toAmount, toLabel, dropdownMenuContent, itemsContainerRef, status, warningLabel, onClick, }: HistoryItemProps): react_jsx_runtime.JSX.Element;
|
|
1821
1884
|
|
|
1822
|
-
|
|
1823
|
-
|
|
1824
|
-
|
|
1825
|
-
|
|
1826
|
-
|
|
1827
|
-
|
|
1828
|
-
|
|
1829
|
-
|
|
1830
|
-
|
|
1831
|
-
|
|
1832
|
-
|
|
1833
|
-
|
|
1834
|
-
};
|
|
1835
|
-
};
|
|
1836
|
-
children?: React.ReactNode;
|
|
1837
|
-
isOpen?: boolean;
|
|
1838
|
-
transitionDuration?: React.CSSProperties['transitionDuration'];
|
|
1885
|
+
interface ListItemProps extends React.HTMLAttributes<HTMLButtonElement> {
|
|
1886
|
+
itemTitle: string | React.ReactNode;
|
|
1887
|
+
mainImageUrl?: string;
|
|
1888
|
+
secondaryImageUrl?: string;
|
|
1889
|
+
placeholderImageUrl?: string;
|
|
1890
|
+
subtitle?: string;
|
|
1891
|
+
subtitleOnHover?: React.ReactNode;
|
|
1892
|
+
detail?: string;
|
|
1893
|
+
icon?: React.ReactNode;
|
|
1894
|
+
size?: ListItemSize;
|
|
1895
|
+
mainIcon?: React.ReactNode;
|
|
1896
|
+
isSelected?: boolean;
|
|
1839
1897
|
className?: string;
|
|
1898
|
+
onDetailClick?: () => void;
|
|
1899
|
+
showDetailOnHoverOnly?: boolean;
|
|
1900
|
+
rounded?: boolean;
|
|
1901
|
+
detailButtonClassName?: string;
|
|
1902
|
+
loading?: {
|
|
1903
|
+
subtitle?: boolean | string;
|
|
1904
|
+
};
|
|
1905
|
+
containerProps?: React.HTMLAttributes<HTMLLIElement>;
|
|
1906
|
+
compactOnMobile?: boolean;
|
|
1907
|
+
extraPadding?: boolean;
|
|
1908
|
+
dropdownMenuContent?: React.ReactNode;
|
|
1909
|
+
itemsContainerRef?: React.RefObject<HTMLElement>;
|
|
1840
1910
|
}
|
|
1841
|
-
|
|
1842
|
-
|
|
1843
|
-
declare
|
|
1844
|
-
|
|
1845
|
-
|
|
1846
|
-
className?: string;
|
|
1847
|
-
}): react_jsx_runtime.JSX.Element;
|
|
1911
|
+
type ListItemSize = "small" | "large";
|
|
1912
|
+
declare function ListItem({ itemTitle, mainImageUrl, subtitle, subtitleOnHover, detail, icon, secondaryImageUrl, placeholderImageUrl, size, mainIcon, className, isSelected, onDetailClick, showDetailOnHoverOnly, rounded, detailButtonClassName, loading, containerProps, compactOnMobile, extraPadding, itemsContainerRef, dropdownMenuContent, ...props }: ListItemProps): react_jsx_runtime.JSX.Element;
|
|
1913
|
+
declare const ListItemActionsButton: react.ForwardRefExoticComponent<Omit<react.ClassAttributes<HTMLButtonElement> & react.ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
1914
|
+
isActive?: boolean | undefined;
|
|
1915
|
+
}, "ref"> & react.RefAttributes<HTMLButtonElement>>;
|
|
1848
1916
|
|
|
1849
|
-
|
|
1917
|
+
interface MenuItemProps {
|
|
1918
|
+
label: string;
|
|
1919
|
+
imageUrl?: string;
|
|
1920
|
+
icon?: React.ReactNode;
|
|
1921
|
+
}
|
|
1922
|
+
declare function MenuItem({ label, imageUrl, icon }: MenuItemProps): react_jsx_runtime.JSX.Element;
|
|
1850
1923
|
|
|
1851
|
-
interface
|
|
1852
|
-
direction: SwapDirection;
|
|
1853
|
-
priceImpactPercentage?: string;
|
|
1854
|
-
amount?: string;
|
|
1855
|
-
tokenPrice?: number;
|
|
1856
|
-
balance?: string;
|
|
1857
|
-
isFetching?: boolean;
|
|
1858
|
-
chain?: {
|
|
1859
|
-
iconUrl: string;
|
|
1860
|
-
bgColor: string;
|
|
1861
|
-
};
|
|
1862
|
-
token?: {
|
|
1863
|
-
iconUrl: string;
|
|
1864
|
-
symbol: string;
|
|
1865
|
-
bgColor: string;
|
|
1866
|
-
textColor: string;
|
|
1867
|
-
decimals: number;
|
|
1868
|
-
};
|
|
1869
|
-
onAmountChange?: (amount: string) => void;
|
|
1870
|
-
error?: {
|
|
1871
|
-
message: string;
|
|
1872
|
-
};
|
|
1873
|
-
criticalPriceImpactPercentage?: number;
|
|
1874
|
-
maxUsdDecimals?: number;
|
|
1875
|
-
isInputInteractive?: boolean;
|
|
1924
|
+
interface PropertyListItemProps extends ComponentProps<"li"> {
|
|
1876
1925
|
isLoading?: boolean;
|
|
1877
|
-
|
|
1878
|
-
|
|
1879
|
-
|
|
1880
|
-
|
|
1881
|
-
|
|
1882
|
-
|
|
1883
|
-
|
|
1884
|
-
|
|
1885
|
-
assetsButton?: {
|
|
1886
|
-
tooltip?: Omit<TooltipProps, 'children'>;
|
|
1887
|
-
onClick?: () => void;
|
|
1888
|
-
variant?: AssetsButtonVariant;
|
|
1889
|
-
};
|
|
1890
|
-
walletButton?: {
|
|
1891
|
-
tooltip?: Omit<TooltipProps, 'children'>;
|
|
1892
|
-
onClick?: () => void;
|
|
1893
|
-
address?: string;
|
|
1894
|
-
emptyAddressLabel?: string;
|
|
1895
|
-
disabled?: boolean;
|
|
1896
|
-
};
|
|
1926
|
+
label?: React.ReactNode;
|
|
1927
|
+
icon?: React.ReactNode;
|
|
1928
|
+
detail?: React.ReactNode;
|
|
1929
|
+
variant?: PropertyListItemSize;
|
|
1930
|
+
showGradientBg?: boolean;
|
|
1931
|
+
labelClassName?: string;
|
|
1932
|
+
iconClassName?: string;
|
|
1933
|
+
detailClassName?: string;
|
|
1897
1934
|
}
|
|
1898
|
-
declare function
|
|
1935
|
+
declare function PropertyListItem({ isLoading, label, detail, icon, className, variant, showGradientBg, labelClassName, iconClassName, detailClassName, ...props }: PropertyListItemProps): react_jsx_runtime.JSX.Element;
|
|
1899
1936
|
|
|
1900
|
-
interface
|
|
1937
|
+
interface SectionTitleProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
1901
1938
|
title: string;
|
|
1902
|
-
|
|
1939
|
+
icon?: React.ReactNode;
|
|
1940
|
+
accessory?: string | null;
|
|
1941
|
+
actionIcon?: React.ReactNode;
|
|
1942
|
+
className?: string;
|
|
1903
1943
|
}
|
|
1904
|
-
declare function
|
|
1944
|
+
declare function SectionTitle({ title, icon, accessory, actionIcon, className, ...props }: SectionTitleProps): react_jsx_runtime.JSX.Element;
|
|
1905
1945
|
|
|
1906
|
-
type
|
|
1946
|
+
type SettingsControl = {
|
|
1947
|
+
type: "percentage";
|
|
1948
|
+
value: number | undefined;
|
|
1949
|
+
onChange: (value: number | undefined) => void;
|
|
1950
|
+
min?: number;
|
|
1951
|
+
max?: number;
|
|
1952
|
+
decimalsFormat?: number;
|
|
1953
|
+
resetValueControl: {
|
|
1954
|
+
label: string;
|
|
1955
|
+
onSelect: () => void;
|
|
1956
|
+
value: number | undefined;
|
|
1957
|
+
};
|
|
1958
|
+
} | {
|
|
1959
|
+
type: "amount";
|
|
1960
|
+
value: number | undefined;
|
|
1961
|
+
onChange: (value: number | undefined) => void;
|
|
1962
|
+
options: {
|
|
1963
|
+
value: number;
|
|
1964
|
+
}[];
|
|
1965
|
+
decimalsFormat?: number;
|
|
1966
|
+
resetValueControl: {
|
|
1967
|
+
label: string;
|
|
1968
|
+
value: number | undefined;
|
|
1969
|
+
};
|
|
1970
|
+
} | {
|
|
1971
|
+
type: "switch";
|
|
1972
|
+
checked: boolean;
|
|
1973
|
+
onChange: (checked: boolean) => void;
|
|
1974
|
+
tooltip?: Omit<TooltipProps, "children">;
|
|
1975
|
+
disabled?: boolean;
|
|
1976
|
+
} | {
|
|
1977
|
+
type: "options";
|
|
1978
|
+
selectedLabel: string;
|
|
1979
|
+
options: {
|
|
1980
|
+
label: string;
|
|
1981
|
+
onSelect: () => void;
|
|
1982
|
+
}[];
|
|
1983
|
+
};
|
|
1984
|
+
interface SettingsItemProps {
|
|
1985
|
+
icon: React.ReactNode;
|
|
1907
1986
|
label: string;
|
|
1987
|
+
control?: SettingsControl;
|
|
1908
1988
|
link?: string;
|
|
1909
|
-
|
|
1910
|
-
|
|
1911
|
-
interface SwapStepsCollapsedProps {
|
|
1912
|
-
steps: SwapStep[];
|
|
1913
|
-
currentStepIndex: number;
|
|
1914
|
-
onOpen?: () => void;
|
|
1915
|
-
onClose?: () => void;
|
|
1916
|
-
footerButton?: SwapStepsCollapsedFooterButton;
|
|
1989
|
+
transparent?: boolean;
|
|
1990
|
+
helpTooltip?: Omit<TooltipProps, "children">;
|
|
1917
1991
|
}
|
|
1918
|
-
declare
|
|
1919
|
-
handleToggleRouteSteps: () => void;
|
|
1920
|
-
}>>;
|
|
1992
|
+
declare function SettingsItem({ icon, label, control, link, transparent, helpTooltip, }: SettingsItemProps): react_jsx_runtime.JSX.Element;
|
|
1921
1993
|
|
|
1922
|
-
interface
|
|
1923
|
-
|
|
1924
|
-
|
|
1925
|
-
|
|
1994
|
+
interface SwapStepItemProps {
|
|
1995
|
+
descriptionBlocks: DescriptionBlock[];
|
|
1996
|
+
showStepSeparator?: boolean;
|
|
1997
|
+
link?: string;
|
|
1998
|
+
status?: ActionStatus;
|
|
1999
|
+
}
|
|
2000
|
+
declare const STEP_ITEM_HEIGHT = 52;
|
|
2001
|
+
declare function SwapStepItem({ descriptionBlocks, showStepSeparator, link, status, }: SwapStepItemProps): react_jsx_runtime.JSX.Element;
|
|
2002
|
+
|
|
2003
|
+
interface ActionLayoutProps {
|
|
2004
|
+
lineCap?: ReactNode;
|
|
2005
|
+
status?: ActionStatus;
|
|
2006
|
+
showTimeline?: boolean;
|
|
2007
|
+
statusIcon?: ReactNode;
|
|
2008
|
+
nextStatus?: ActionStatus;
|
|
2009
|
+
description?: ReactNode;
|
|
2010
|
+
title?: string;
|
|
2011
|
+
icon?: ReactNode;
|
|
2012
|
+
children?: ReactNode;
|
|
2013
|
+
showBody?: boolean;
|
|
2014
|
+
}
|
|
2015
|
+
declare function ActionLayout({ lineCap, status, showTimeline, showBody, nextStatus, statusIcon, description, title, icon, children, }: ActionLayoutProps): react_jsx_runtime.JSX.Element;
|
|
2016
|
+
interface ActionPropertiesProps {
|
|
2017
|
+
timestamp?: number;
|
|
2018
|
+
hash?: string;
|
|
2019
|
+
url?: string;
|
|
2020
|
+
}
|
|
2021
|
+
declare function ActionProperties({ timestamp, hash, url, }: ActionPropertiesProps): react_jsx_runtime.JSX.Element;
|
|
2022
|
+
declare const ActionLineOutRow: ({ status }: {
|
|
2023
|
+
status?: ActionStatus;
|
|
2024
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
2025
|
+
declare const ActionStatusRow: ({ children, status, icon, }: {
|
|
2026
|
+
children?: ReactNode;
|
|
2027
|
+
status: ActionStatus;
|
|
2028
|
+
icon?: ReactNode;
|
|
2029
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
2030
|
+
declare function ActionRow({ className, ...props }: ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
2031
|
+
declare function ActionWrapper({ children, status, className, }: {
|
|
2032
|
+
children?: ReactNode;
|
|
2033
|
+
status?: ActionStatus;
|
|
2034
|
+
className?: string;
|
|
2035
|
+
}): react_jsx_runtime.JSX.Element;
|
|
2036
|
+
interface TimestampProps {
|
|
2037
|
+
time: number;
|
|
2038
|
+
}
|
|
2039
|
+
declare function Timestamp({ time }: TimestampProps): react_jsx_runtime.JSX.Element;
|
|
2040
|
+
|
|
2041
|
+
interface BaseActionProps {
|
|
2042
|
+
status: ActionStatus;
|
|
2043
|
+
/** if set, renders a line upwards to the next item in the status color */
|
|
2044
|
+
nextStatus?: ActionStatus;
|
|
2045
|
+
/** should we render a line down to the previous item? (default true) */
|
|
2046
|
+
showTimeline?: boolean;
|
|
2047
|
+
/** if false, fades out everything but the status line (for collapsed timeline state) */
|
|
2048
|
+
showBody?: boolean;
|
|
2049
|
+
}
|
|
2050
|
+
|
|
2051
|
+
interface ApproveActionProps extends BaseActionProps {
|
|
2052
|
+
profile: {
|
|
2053
|
+
imageURI: string;
|
|
2054
|
+
label: string;
|
|
1926
2055
|
};
|
|
1927
|
-
|
|
2056
|
+
chain: {
|
|
1928
2057
|
logoURI: string;
|
|
1929
|
-
|
|
2058
|
+
name: string;
|
|
1930
2059
|
};
|
|
1931
|
-
|
|
1932
|
-
|
|
2060
|
+
wallet: {
|
|
2061
|
+
imageURI: string;
|
|
2062
|
+
address: string;
|
|
2063
|
+
url: string;
|
|
2064
|
+
};
|
|
2065
|
+
timestamp?: number;
|
|
2066
|
+
hash?: string;
|
|
2067
|
+
url?: string;
|
|
1933
2068
|
}
|
|
1934
|
-
declare function
|
|
2069
|
+
declare function ApproveAction({ status, nextStatus, showTimeline, showBody, profile, chain, wallet, timestamp, hash, url, }: ApproveActionProps): react_jsx_runtime.JSX.Element;
|
|
1935
2070
|
|
|
1936
|
-
interface
|
|
1937
|
-
|
|
1938
|
-
|
|
1939
|
-
|
|
1940
|
-
|
|
1941
|
-
|
|
1942
|
-
|
|
1943
|
-
toDate?: Date;
|
|
1944
|
-
setToDate: (toDate?: Date) => void;
|
|
1945
|
-
status?: StatusFilter[];
|
|
1946
|
-
setStatus: (status?: StatusFilter[]) => void;
|
|
1947
|
-
chains: {
|
|
2071
|
+
interface BridgeActionProps extends BaseActionProps {
|
|
2072
|
+
token: {
|
|
2073
|
+
logoURI: string;
|
|
2074
|
+
symbol: string;
|
|
2075
|
+
};
|
|
2076
|
+
chain: {
|
|
2077
|
+
logoURI: string;
|
|
1948
2078
|
name: string;
|
|
2079
|
+
};
|
|
2080
|
+
provider: {
|
|
1949
2081
|
logoURI: string;
|
|
1950
|
-
|
|
2082
|
+
name: string;
|
|
2083
|
+
};
|
|
2084
|
+
timestamp?: number;
|
|
2085
|
+
hash?: string;
|
|
2086
|
+
url?: string;
|
|
1951
2087
|
}
|
|
1952
|
-
declare function
|
|
2088
|
+
declare function BridgeAction({ status, nextStatus, showTimeline, showBody, token, chain, provider, timestamp, hash, url, }: BridgeActionProps): react_jsx_runtime.JSX.Element;
|
|
1953
2089
|
|
|
1954
|
-
interface
|
|
1955
|
-
|
|
1956
|
-
|
|
1957
|
-
|
|
1958
|
-
|
|
1959
|
-
|
|
2090
|
+
interface FeesActionProps extends BaseActionProps {
|
|
2091
|
+
total: FeesRowProps;
|
|
2092
|
+
lines?: FeesRowProps[];
|
|
2093
|
+
}
|
|
2094
|
+
declare function FeesAction({ status, nextStatus, showTimeline, total, lines, }: FeesActionProps): react_jsx_runtime.JSX.Element;
|
|
2095
|
+
interface FeesTotalProps {
|
|
1960
2096
|
status: ActionStatus;
|
|
2097
|
+
nextStatus?: ActionStatus;
|
|
2098
|
+
total: FeesRowProps;
|
|
2099
|
+
showTimeline?: boolean;
|
|
2100
|
+
collapsed?: boolean;
|
|
1961
2101
|
}
|
|
1962
|
-
declare function
|
|
1963
|
-
|
|
1964
|
-
interface BuyNFTHeaderProps {
|
|
1965
|
-
imageUrl: string;
|
|
1966
|
-
title?: string;
|
|
1967
|
-
hash: string;
|
|
1968
|
-
url?: string;
|
|
2102
|
+
declare function FeesTotal({ status, nextStatus, total, showTimeline, collapsed, }: FeesTotalProps): react_jsx_runtime.JSX.Element;
|
|
2103
|
+
interface FeesLinesProps {
|
|
1969
2104
|
status: ActionStatus;
|
|
2105
|
+
lines?: FeesRowProps[];
|
|
2106
|
+
showTimeline?: boolean;
|
|
2107
|
+
}
|
|
2108
|
+
declare function FeesLines({ status, lines, showTimeline, }: FeesLinesProps): react_jsx_runtime.JSX.Element;
|
|
2109
|
+
interface FeesRowProps {
|
|
2110
|
+
label: string;
|
|
2111
|
+
amount: number | string;
|
|
2112
|
+
symbol: string;
|
|
2113
|
+
usd: number | string;
|
|
2114
|
+
collapsed?: boolean;
|
|
1970
2115
|
}
|
|
1971
|
-
declare function BuyNFTHeader({ imageUrl, title, hash, url, status, }: BuyNFTHeaderProps): react_jsx_runtime.JSX.Element;
|
|
1972
2116
|
|
|
1973
|
-
interface
|
|
1974
|
-
|
|
1975
|
-
|
|
1976
|
-
hash: string;
|
|
1977
|
-
url?: string;
|
|
1978
|
-
status: ActionStatus;
|
|
2117
|
+
interface IncompleteActionProps extends BaseActionProps {
|
|
2118
|
+
message: string;
|
|
2119
|
+
buttons: ReactNode;
|
|
1979
2120
|
}
|
|
1980
|
-
declare function
|
|
2121
|
+
declare function IncompleteAction({ status, nextStatus, message, buttons, }: IncompleteActionProps): react_jsx_runtime.JSX.Element;
|
|
1981
2122
|
|
|
1982
|
-
interface
|
|
1983
|
-
|
|
1984
|
-
|
|
2123
|
+
interface ReceiveNFTActionProps extends BaseActionProps {
|
|
2124
|
+
nft: {
|
|
2125
|
+
imageURI: string;
|
|
2126
|
+
name: string;
|
|
2127
|
+
};
|
|
2128
|
+
chain: {
|
|
2129
|
+
logoURI: string;
|
|
2130
|
+
name: string;
|
|
2131
|
+
};
|
|
1985
2132
|
wallet: {
|
|
1986
2133
|
imageURI: string;
|
|
1987
2134
|
address: string;
|
|
2135
|
+
url: string;
|
|
1988
2136
|
};
|
|
1989
|
-
|
|
2137
|
+
timestamp: number;
|
|
2138
|
+
hash: string;
|
|
2139
|
+
url: string;
|
|
1990
2140
|
}
|
|
1991
|
-
declare function
|
|
2141
|
+
declare function ReceiveNFTAction({ status, nextStatus, showTimeline, showBody, nft, chain, wallet, timestamp, hash, url, }: ReceiveNFTActionProps): react_jsx_runtime.JSX.Element;
|
|
1992
2142
|
|
|
1993
|
-
interface
|
|
1994
|
-
|
|
2143
|
+
interface ReceiveTokensActionProps extends BaseActionProps {
|
|
2144
|
+
amount: string;
|
|
2145
|
+
token: {
|
|
1995
2146
|
logoURI: string;
|
|
1996
|
-
|
|
2147
|
+
symbol: string;
|
|
1997
2148
|
};
|
|
1998
|
-
|
|
2149
|
+
chain: {
|
|
1999
2150
|
logoURI: string;
|
|
2000
|
-
|
|
2151
|
+
name: string;
|
|
2001
2152
|
};
|
|
2002
|
-
|
|
2003
|
-
|
|
2004
|
-
|
|
2005
|
-
|
|
2006
|
-
}
|
|
2007
|
-
declare function SwapHeader({ fromToken, toToken, title, hash, url, status, }: SwapHeaderProps): react_jsx_runtime.JSX.Element;
|
|
2008
|
-
|
|
2009
|
-
declare const headerComponentsMap: {
|
|
2010
|
-
readonly swap: typeof SwapHeader;
|
|
2011
|
-
readonly buy_nft: typeof BuyNFTHeader;
|
|
2012
|
-
readonly interaction: typeof InteractionHeader;
|
|
2013
|
-
readonly bridge: typeof BridgeHeader;
|
|
2014
|
-
readonly profile: typeof ProfileHeader;
|
|
2015
|
-
};
|
|
2016
|
-
type TransactionHeaderComponents = typeof headerComponentsMap;
|
|
2017
|
-
type TransactionHeaderType = keyof TransactionHeaderComponents;
|
|
2018
|
-
type TransactionHeaderProps = {
|
|
2019
|
-
[Type in TransactionHeaderType]: {
|
|
2020
|
-
type: Type;
|
|
2021
|
-
props: ComponentProps<TransactionHeaderComponents[Type]>;
|
|
2153
|
+
wallet: {
|
|
2154
|
+
imageURI: string;
|
|
2155
|
+
address: string;
|
|
2156
|
+
url: string;
|
|
2022
2157
|
};
|
|
2023
|
-
|
|
2024
|
-
|
|
2025
|
-
|
|
2026
|
-
interface TransactionHeaderLayoutProps {
|
|
2027
|
-
isLoading?: boolean;
|
|
2028
|
-
status?: ActionStatus;
|
|
2029
|
-
title?: string;
|
|
2030
|
-
image?: ReactNode;
|
|
2031
|
-
children?: ReactNode;
|
|
2158
|
+
timestamp: number;
|
|
2159
|
+
hash: string;
|
|
2160
|
+
url: string;
|
|
2032
2161
|
}
|
|
2033
|
-
declare function
|
|
2162
|
+
declare function ReceiveTokensAction({ status, nextStatus, showTimeline, showBody, token, amount, chain, wallet, timestamp, hash, url, }: ReceiveTokensActionProps): react_jsx_runtime.JSX.Element;
|
|
2034
2163
|
|
|
2035
|
-
interface
|
|
2164
|
+
interface SendTokensActionProps extends BaseActionProps {
|
|
2036
2165
|
amount: string;
|
|
2037
2166
|
token: {
|
|
2038
2167
|
logoURI: string;
|
|
2039
|
-
bgColor: string;
|
|
2040
2168
|
symbol: string;
|
|
2041
2169
|
};
|
|
2042
|
-
|
|
2170
|
+
chain: {
|
|
2043
2171
|
logoURI: string;
|
|
2044
2172
|
name: string;
|
|
2045
2173
|
};
|
|
2046
|
-
|
|
2047
|
-
|
|
2048
|
-
|
|
2174
|
+
wallet: {
|
|
2175
|
+
imageURI: string;
|
|
2176
|
+
address: string;
|
|
2177
|
+
url: string;
|
|
2049
2178
|
};
|
|
2050
|
-
|
|
2051
|
-
|
|
2052
|
-
|
|
2179
|
+
timestamp: number;
|
|
2180
|
+
hash: string;
|
|
2181
|
+
url: string;
|
|
2053
2182
|
}
|
|
2054
|
-
declare function
|
|
2183
|
+
declare function SendTokensAction({ status, nextStatus, showTimeline, showBody, token, amount, chain, wallet, timestamp, hash, url, }: SendTokensActionProps): react_jsx_runtime.JSX.Element;
|
|
2055
2184
|
|
|
2056
|
-
interface
|
|
2057
|
-
title: string;
|
|
2058
|
-
imageURI: string;
|
|
2059
|
-
collection: {
|
|
2060
|
-
imageURI: string;
|
|
2061
|
-
name: string;
|
|
2062
|
-
};
|
|
2063
|
-
price: string;
|
|
2185
|
+
interface StakeActionProps extends BaseActionProps {
|
|
2064
2186
|
token: {
|
|
2065
2187
|
logoURI: string;
|
|
2066
2188
|
symbol: string;
|
|
2067
2189
|
};
|
|
2068
|
-
|
|
2069
|
-
logoURI: string;
|
|
2070
|
-
name: string;
|
|
2071
|
-
};
|
|
2072
|
-
fromChain: {
|
|
2073
|
-
logoURI: string;
|
|
2074
|
-
name: string;
|
|
2075
|
-
};
|
|
2076
|
-
toChain: {
|
|
2190
|
+
provider: {
|
|
2077
2191
|
logoURI: string;
|
|
2078
2192
|
name: string;
|
|
2079
2193
|
};
|
|
2080
|
-
|
|
2081
|
-
|
|
2082
|
-
|
|
2083
|
-
timeToComplete: string;
|
|
2084
|
-
tokenId: string;
|
|
2085
|
-
nftType: string;
|
|
2194
|
+
timestamp: number;
|
|
2195
|
+
hash: string;
|
|
2196
|
+
url: string;
|
|
2086
2197
|
}
|
|
2087
|
-
declare function
|
|
2198
|
+
declare function StakeAction({ status, nextStatus, showTimeline, showBody, token, provider, timestamp, hash, url, }: StakeActionProps): react_jsx_runtime.JSX.Element;
|
|
2088
2199
|
|
|
2089
|
-
interface
|
|
2090
|
-
|
|
2091
|
-
|
|
2092
|
-
|
|
2093
|
-
};
|
|
2094
|
-
wallet: string;
|
|
2095
|
-
boosted?: boolean;
|
|
2096
|
-
timeToComplete: string;
|
|
2200
|
+
interface StartActionProps extends BaseActionProps {
|
|
2201
|
+
timestamp?: number;
|
|
2202
|
+
hash?: string;
|
|
2203
|
+
url?: string;
|
|
2097
2204
|
}
|
|
2098
|
-
declare function
|
|
2205
|
+
declare function StartAction({ status, nextStatus, showTimeline, showBody, timestamp, hash, url, }: StartActionProps): react_jsx_runtime.JSX.Element;
|
|
2099
2206
|
|
|
2100
|
-
interface
|
|
2101
|
-
|
|
2102
|
-
|
|
2207
|
+
interface SuccessActionProps extends BaseActionProps {
|
|
2208
|
+
description?: string;
|
|
2209
|
+
timestamp?: number;
|
|
2210
|
+
hash?: string;
|
|
2211
|
+
url?: string;
|
|
2103
2212
|
}
|
|
2104
|
-
declare function
|
|
2213
|
+
declare function SuccessAction({ nextStatus, status, description, showTimeline, showBody, timestamp, hash, url, }: SuccessActionProps): react_jsx_runtime.JSX.Element;
|
|
2105
2214
|
|
|
2106
|
-
interface
|
|
2107
|
-
fromAmount: string;
|
|
2215
|
+
interface SwapActionProps extends BaseActionProps {
|
|
2108
2216
|
fromToken: {
|
|
2109
2217
|
logoURI: string;
|
|
2110
|
-
bgColor: string;
|
|
2111
2218
|
symbol: string;
|
|
2112
2219
|
};
|
|
2113
|
-
toAmount: string;
|
|
2114
2220
|
toToken: {
|
|
2115
2221
|
logoURI: string;
|
|
2116
|
-
bgColor: string;
|
|
2117
2222
|
symbol: string;
|
|
2118
2223
|
};
|
|
2119
|
-
|
|
2224
|
+
provider: {
|
|
2120
2225
|
logoURI: string;
|
|
2121
2226
|
name: string;
|
|
2122
2227
|
};
|
|
2123
|
-
|
|
2228
|
+
timestamp?: number;
|
|
2229
|
+
hash?: string;
|
|
2230
|
+
url?: string;
|
|
2231
|
+
}
|
|
2232
|
+
declare function SwapAction({ status, nextStatus, showTimeline, showBody, fromToken, toToken, provider, timestamp, hash, url, }: SwapActionProps): react_jsx_runtime.JSX.Element;
|
|
2233
|
+
|
|
2234
|
+
interface WrapActionProps extends BaseActionProps {
|
|
2235
|
+
fromToken: {
|
|
2236
|
+
logoURI: string;
|
|
2237
|
+
symbol: string;
|
|
2238
|
+
};
|
|
2239
|
+
toToken: {
|
|
2240
|
+
logoURI: string;
|
|
2241
|
+
symbol: string;
|
|
2242
|
+
};
|
|
2243
|
+
provider: {
|
|
2124
2244
|
logoURI: string;
|
|
2125
2245
|
name: string;
|
|
2126
2246
|
};
|
|
2127
|
-
|
|
2128
|
-
|
|
2129
|
-
|
|
2130
|
-
boosted?: boolean;
|
|
2131
|
-
timeToComplete: string;
|
|
2247
|
+
timestamp?: number;
|
|
2248
|
+
hash?: string;
|
|
2249
|
+
url?: string;
|
|
2132
2250
|
}
|
|
2133
|
-
declare function
|
|
2251
|
+
declare function WrapAction({ status, nextStatus, showTimeline, showBody, fromToken, toToken, provider, timestamp, hash, url, }: WrapActionProps): react_jsx_runtime.JSX.Element;
|
|
2134
2252
|
|
|
2135
|
-
declare const
|
|
2136
|
-
readonly
|
|
2137
|
-
readonly
|
|
2138
|
-
readonly
|
|
2139
|
-
readonly
|
|
2253
|
+
declare const actionComponentMap: {
|
|
2254
|
+
readonly success: typeof SuccessAction;
|
|
2255
|
+
readonly receive_tokens: typeof ReceiveTokensAction;
|
|
2256
|
+
readonly receive_nft: typeof ReceiveNFTAction;
|
|
2257
|
+
readonly approve: typeof ApproveAction;
|
|
2258
|
+
readonly send_tokens: typeof SendTokensAction;
|
|
2259
|
+
readonly swap: typeof SwapAction;
|
|
2260
|
+
readonly bridge: typeof BridgeAction;
|
|
2261
|
+
readonly wrap: typeof WrapAction;
|
|
2262
|
+
readonly stake: typeof StakeAction;
|
|
2263
|
+
readonly start: typeof StartAction;
|
|
2264
|
+
readonly fees: typeof FeesAction;
|
|
2265
|
+
readonly incomplete: typeof IncompleteAction;
|
|
2140
2266
|
};
|
|
2141
|
-
type
|
|
2142
|
-
type
|
|
2143
|
-
type
|
|
2144
|
-
[Type in
|
|
2267
|
+
type TransactionActionComponents = typeof actionComponentMap;
|
|
2268
|
+
type TransactionActionType = keyof TransactionActionComponents;
|
|
2269
|
+
type TransactionActionProps = {
|
|
2270
|
+
[Type in TransactionActionType]: {
|
|
2145
2271
|
type: Type;
|
|
2146
|
-
props: ComponentProps<
|
|
2272
|
+
props: ComponentProps<TransactionActionComponents[Type]>;
|
|
2147
2273
|
};
|
|
2148
|
-
}[
|
|
2149
|
-
declare function
|
|
2274
|
+
}[TransactionActionType];
|
|
2275
|
+
declare function TransactionAction({ type, props }: TransactionActionProps): react_jsx_runtime.JSX.Element;
|
|
2150
2276
|
|
|
2151
|
-
|
|
2152
|
-
|
|
2153
|
-
|
|
2154
|
-
|
|
2277
|
+
declare function linkActionTimelineProps(actions: TransactionActionProps[], collapsed: boolean): TransactionActionProps[];
|
|
2278
|
+
|
|
2279
|
+
type TransactionItemVariant = "compact" | "full";
|
|
2280
|
+
type TransactionItemType = {
|
|
2281
|
+
icon?: ReactNode;
|
|
2282
|
+
name: string;
|
|
2283
|
+
};
|
|
2284
|
+
interface TransactionItemProps {
|
|
2155
2285
|
className?: string;
|
|
2156
|
-
|
|
2157
|
-
|
|
2286
|
+
isLoading?: boolean;
|
|
2287
|
+
status?: ActionStatus;
|
|
2288
|
+
image?: ReactNode;
|
|
2289
|
+
type?: TransactionItemType;
|
|
2290
|
+
hash?: string;
|
|
2291
|
+
fromChain?: {
|
|
2292
|
+
logoURI: string;
|
|
2293
|
+
name: string;
|
|
2294
|
+
};
|
|
2295
|
+
toChain?: {
|
|
2296
|
+
logoURI: string;
|
|
2297
|
+
name: string;
|
|
2298
|
+
};
|
|
2299
|
+
fromAmount?: string;
|
|
2300
|
+
toAmount?: string;
|
|
2301
|
+
timestamp?: number;
|
|
2302
|
+
variant?: TransactionItemVariant;
|
|
2158
2303
|
}
|
|
2159
|
-
declare function
|
|
2304
|
+
declare function TransactionItem({ className, isLoading, status, image, type, hash, fromChain, toChain, fromAmount, toAmount, timestamp, variant, }: TransactionItemProps): react_jsx_runtime.JSX.Element;
|
|
2160
2305
|
|
|
2161
|
-
interface
|
|
2162
|
-
|
|
2163
|
-
|
|
2164
|
-
|
|
2165
|
-
|
|
2306
|
+
interface RouteStepProps {
|
|
2307
|
+
imageUrl: string;
|
|
2308
|
+
descriptionBlocks: DescriptionBlock[];
|
|
2309
|
+
subtitle: string;
|
|
2310
|
+
showStepSeparator?: boolean;
|
|
2166
2311
|
}
|
|
2167
|
-
declare function
|
|
2312
|
+
declare function RouteStep({ imageUrl, descriptionBlocks, subtitle, showStepSeparator, }: RouteStepProps): react_jsx_runtime.JSX.Element;
|
|
2168
2313
|
|
|
2169
|
-
|
|
2314
|
+
declare function DropdownMenuTitle({ title }: {
|
|
2170
2315
|
title: string;
|
|
2171
|
-
|
|
2172
|
-
headerContent?: React.ReactNode;
|
|
2173
|
-
actionsContent?: React.ReactNode;
|
|
2174
|
-
chipLabel?: string;
|
|
2175
|
-
}
|
|
2176
|
-
declare function Toast({ headerContent, actionsContent, description, chipLabel, title, }: ToastProps): react_jsx_runtime.JSX.Element;
|
|
2316
|
+
}): react_jsx_runtime.JSX.Element;
|
|
2177
2317
|
|
|
2178
2318
|
interface BodyTextProps extends React.HTMLAttributes<HTMLSpanElement> {
|
|
2179
2319
|
children: ReactNode;
|
|
@@ -2228,7 +2368,7 @@ declare function MainView({ isLoading }: {
|
|
|
2228
2368
|
isLoading?: boolean;
|
|
2229
2369
|
}): react_jsx_runtime.JSX.Element;
|
|
2230
2370
|
|
|
2231
|
-
type WalletViewType =
|
|
2371
|
+
type WalletViewType = "paymentMethod" | "recipientEmpty" | "recipientTypingEns" | "recipientTypingAddress";
|
|
2232
2372
|
interface WalletsViewProps {
|
|
2233
2373
|
type: WalletViewType;
|
|
2234
2374
|
}
|
|
@@ -2389,7 +2529,7 @@ type TransactionViewProps = {
|
|
|
2389
2529
|
}[TransactionViewType];
|
|
2390
2530
|
declare function TransactionView({ type, props }: TransactionViewProps): react_jsx_runtime.JSX.Element;
|
|
2391
2531
|
|
|
2392
|
-
interface TransactionViewLayoutProps extends ComponentProps<
|
|
2532
|
+
interface TransactionViewLayoutProps extends ComponentProps<"div"> {
|
|
2393
2533
|
isLoading?: boolean;
|
|
2394
2534
|
header?: ReactNode;
|
|
2395
2535
|
properties?: ReactNode;
|
|
@@ -2400,40 +2540,30 @@ declare function TransactionViewLayout({ isLoading, header, properties, actions,
|
|
|
2400
2540
|
|
|
2401
2541
|
declare function WalletsView(): react_jsx_runtime.JSX.Element;
|
|
2402
2542
|
|
|
2403
|
-
type SquidTheme = {
|
|
2404
|
-
'content-100': string;
|
|
2405
|
-
'content-200': string;
|
|
2406
|
-
'content-300': string;
|
|
2407
|
-
'content-400': string;
|
|
2408
|
-
'content-500': string;
|
|
2409
|
-
'content-600': string;
|
|
2410
|
-
'content-700': string;
|
|
2411
|
-
'content-800': string;
|
|
2412
|
-
'content-900': string;
|
|
2413
|
-
'accent-300': string;
|
|
2414
|
-
'accent-400': string;
|
|
2415
|
-
'accent-500': string;
|
|
2416
|
-
'accent-700': string;
|
|
2417
|
-
'status-positive': string;
|
|
2418
|
-
'status-negative': string;
|
|
2419
|
-
'status-warning': string;
|
|
2420
|
-
'highlight-700': string;
|
|
2421
|
-
};
|
|
2422
|
-
|
|
2423
2543
|
declare function SquidConfigProvider({ theme, children, themeType, }: {
|
|
2424
2544
|
theme?: SquidTheme;
|
|
2425
2545
|
children?: React.ReactNode;
|
|
2426
2546
|
themeType?: ThemeType;
|
|
2427
2547
|
}): react_jsx_runtime.JSX.Element;
|
|
2428
2548
|
|
|
2429
|
-
|
|
2549
|
+
type DropdownPosition = "top" | "bottom" | "center";
|
|
2550
|
+
type DropdownStyles = {
|
|
2551
|
+
position: DropdownPosition;
|
|
2552
|
+
maxHeight: number | null;
|
|
2553
|
+
};
|
|
2554
|
+
interface UseDropdownMenuParams {
|
|
2430
2555
|
initialIsModalOpen?: boolean;
|
|
2431
|
-
|
|
2556
|
+
itemsContainerRef?: react__default.RefObject<HTMLElement>;
|
|
2557
|
+
}
|
|
2558
|
+
declare function useDropdownMenu(props?: UseDropdownMenuParams): {
|
|
2432
2559
|
isDropdownOpen: boolean;
|
|
2433
2560
|
openDropdown: () => void;
|
|
2434
2561
|
closeDropdown: () => void;
|
|
2435
|
-
dropdownRef:
|
|
2436
|
-
openDropdownButtonRef:
|
|
2562
|
+
dropdownRef: react__default.RefObject<HTMLDivElement>;
|
|
2563
|
+
openDropdownButtonRef: react__default.RefObject<HTMLButtonElement>;
|
|
2564
|
+
dropdownStyles: DropdownStyles | null;
|
|
2565
|
+
itemRef: react__default.RefObject<HTMLLIElement>;
|
|
2566
|
+
menuRef: react__default.RefObject<HTMLDivElement>;
|
|
2437
2567
|
};
|
|
2438
2568
|
|
|
2439
2569
|
type UseMediaQueryOptions = {
|
|
@@ -2502,7 +2632,7 @@ declare const CSS_VARS: {
|
|
|
2502
2632
|
COLLAPSIBLE_MENU_CLOSED_WIDTH: string;
|
|
2503
2633
|
COLLAPSIBLE_MENU_CLOSED_HEIGHT: string;
|
|
2504
2634
|
};
|
|
2505
|
-
type MediaQuery =
|
|
2635
|
+
type MediaQuery = "MOBILE_LG" | "MOBILE_SM_HEIGHT" | "MOBILE_XS" | "MOBILE_XS_HEIGHT";
|
|
2506
2636
|
declare const MEDIA_QUERIES: Record<MediaQuery, {
|
|
2507
2637
|
media: string;
|
|
2508
2638
|
key: string;
|
|
@@ -2524,4 +2654,4 @@ declare const baseTailwindConfig: Config;
|
|
|
2524
2654
|
*/
|
|
2525
2655
|
declare const cn: (...inputs: ClassValue[]) => string;
|
|
2526
2656
|
|
|
2527
|
-
export { type ActionButton, ActionLayout, ActionLineOutRow, ActionProperties, ActionRow, type ActionStatus, ActionStatusRow, ActionWrapper, AddressButton, AnimationWrapper, AppContainer, Approve, ApproveAction, ArrowBottomTopIcon, ArrowButton, ArrowCornerDownRightIcon, ArrowLeftIcon, ArrowOutOfBoxIcon, ArrowRightDownCircleIcon, ArrowRightDownIcon, ArrowRightIcon, ArrowRightUpCircleIcon, ArrowRightUpIcon, ArrowRotate, ArrowTriangle, ArrowUpIcon, ArrowWallDownIcon, ArrowsSwapIcon, AssetsButton, type AssetsButtonVariant, AssetsView, BackpackIcon, BadgeImage, BankIcon, type BaseActionProps, type BaseTransactionViewProps, BlockSkeleton, BodyText, Boost, BoostBadge, BoostButton, BorderedContainer, Breadcrumb, BridgeAction, BridgeHeader, BridgeProperties, BridgeTransactionView, BrokenHeartIcon, BubblesIcon, Button, BuyNFTHeader, BuyNFTProperties, BuyNFTTransactionView, CSS_VARS, Calendar, CaptionText, ChainLink, Checkmark1Icon, Checkmark2Icon, ChevronArrowIcon, ChevronGrabberVerticalIcon, ChevronLargeDownIcon, ChevronLargeRightIcon, ChevronRightSmallIcon, ChevronTopIcon, ChevronTopSmallIcon, Chip, type ChipProps, CircleMinusIcon, CirclePlusIcon, CircleX, CircleXFilledIcon,
|
|
2657
|
+
export { type ActionButton, ActionLayout, ActionLineOutRow, ActionProperties, ActionRow, type ActionStatus, ActionStatusRow, ActionWrapper, AddressButton, type AllOrNone, AnimationWrapper, AppContainer, Approve, ApproveAction, ArrowBottomTopIcon, ArrowButton, ArrowCornerDownRightIcon, ArrowDownIcon, ArrowLeftIcon, ArrowOutOfBoxIcon, ArrowRightDownCircleIcon, ArrowRightDownIcon, ArrowRightIcon, ArrowRightUpCircleIcon, ArrowRightUpIcon, ArrowRotate, ArrowSplit, ArrowTriangle, ArrowUpIcon, ArrowWallDownIcon, ArrowsSwapIcon, AssetsButton, type AssetsButtonVariant, AssetsView, BackpackIcon, BadgeImage, BankIcon, type BaseActionProps, type BaseTransactionViewProps, BellAlarmIcon, BlockSkeleton, BodyText, Boost, BoostBadge, BoostButton, BorderedContainer, Breadcrumb, BridgeAction, BridgeHeader, BridgeProperties, BridgeTransactionView, BrokenHeartIcon, BubblesIcon, Button, BuyNFTHeader, BuyNFTProperties, BuyNFTTransactionView, CSS_VARS, Calendar, CaptionText, CatSquareIcon, ChainLink, Checkmark1Icon, Checkmark2Icon, ChevronArrowIcon, ChevronDownSmallIcon, ChevronGrabberVerticalIcon, ChevronLargeDownIcon, ChevronLargeRightIcon, ChevronRightSmallIcon, ChevronTopIcon, ChevronTopSmallIcon, Chip, type ChipProps, CircleMinusIcon, CirclePlusIcon, CircleX, CircleXFilledIcon, ClockOutlineIcon, ClockSolidIcon, CoinsAddIcon, CoinsIcon, Collapse, CollapsibleMenu, CollectionIcon, ColorPaletteIcon, CompassRoundOutlinedIcon, CompassRoundSolidIcon, ConsoleIcon, Copy, CrossAnimatedIcon, DashboardFast, DescriptionBlocks, DetailsToolbar, DiscordIcon, DockIconAnalytics, DockIconCheckout, DockIconHelp, DockIconProfile, DockIconScan, DockIconSwap, DockSwapIcon, DollarOutlinedIcon, DollarSolidIcon, DotGrid1x3HorizontalIcon, DropdownMenu, DropdownMenuItem, type DropdownMenuItemProps, DropdownMenuTitle, type DropdownPosition, type DropdownStyles, EmojiMeh, EmojiSadIcon, EmptyHeartIcon, ErrorMessage, EthereumIcon, ExplosionIcon, EyeOpenIcon, FeeButton, FeesAction, type FeesActionProps, FeesLines, FeesTotal, FilledHeartIcon, FilterAscendingIcon, FilterButton, FilterIcon, FilterTimelineIcon, GasIcon, GhostIcon, GithubIcon, HashLink, HeadingText, HeartSmallIcon, HelpIcon, HistoryItem, type HistoryItemStatus, HomeIcon, IconButton, IconLabel, Image, ImageIcon, ImageSparkle, IncompleteAction, InfinityIcon, InfoBox, Inline, Input, InteractionHeader, InteractionProperties, InteractionTransactionView, Join, LightningIcon, LimitIcon, LinkIcon, List, ListItem, ListItemActionsButton, Loader, LoadingProvider, LoadingSkeleton, MEDIA_QUERIES, MainView, MaxIcon, Menu, MenuItem, MenuSwapIcon, MirrorIcon, Modal, ModalContent, ModalContentDivider, MoonIcon, NavigationBar, NotAllowedIcon, NumericInput, PathSquareIcon, PercentIcon, PieChartIcon, PipeSeparator, PlusIcon, PoopIcon, PowerIcon, ProductCard, ProfileHeader, ProfileHeaderBackground, PropertiesLayout, PropertyListItem, type PropertyListItemProps, PunkIcon, RangeInput, ReceiptBillIcon, ReceiveNFTAction, ReceiveTokensAction, RecipientView, RefreshIcon, ReorderIcon, RouteStep, STEP_ITEM_HEIGHT, SearchIcon, SectionTitle, SendTokensAction, SettingsButton, type SettingsButtonProps, type SettingsControl, SettingsGearIcon, SettingsItem, type SettingsItemProps, SettingsSlider, SettingsSliderIcon, type SettingsSliderProps, ShoppingBagIcon, SizeTransition, SmileIcon, SnapIcon, SortIcon, SparkleIcon, SparklesIcon, SquareArrowCenter, SquareArrowTopLeftIcon, SquareArrowTopRight2Icon, SquidConfigProvider, SquidLogo, type SquidTheme, StakeAction, StartAction, StocksIcon, SuccessAction, SunIcon, SunriseIcon, SwapAction, SwapConfiguration, SwapDetailsView, SwapErrorIcon, SwapHeader, type SwapHeaderProps, SwapIcon, SwapInputsIcon, SwapProgressView, SwapProgressViewHeader, SwapProperties, type SwapPropertiesProps, SwapState, type SwapStep, SwapStepItem, SwapStepSeparator, SwapStepsCollapsed, type SwapStepsCollapsedFooterButton, SwapSuccessIcon, SwapTransactionView, SwapWarningIcon, Switch, type SwitchProps, TagIcon, TagIconFilled, TextSkeleton, type ThemeType, ThumbsUp, Tick, TimeFliesIcon, Timeline, Timestamp, Toast, TokenPair, Tooltip, type TooltipProps, type TooltipThreshold, type TooltipWidth, TradingViewStepsIcon, TransactionAction, type TransactionActionProps, type TransactionActionType, TransactionFilters, TransactionHeader, TransactionHeaderLayout, type TransactionHeaderProps, type TransactionHeaderType, TransactionItem, TransactionProperties, type TransactionPropertiesProps, type TransactionPropertiesType, TransactionSearch, TransactionState, TransactionView, TransactionViewLayout, type TransactionViewProps, type TransactionViewType, Transfer, TranslateIcon, TriangleExclamation, UsdAmount, WalletFilledIcon, WalletIcon, WalletLink, WalletsView, WrapAction, XSocial, baseTailwindConfig, cn, darkTheme, lightTheme, linkActionTimelineProps, statusTextClassMap, useCollapsibleMenu, useDropdownMenu, useMediaQuery, useOnResize, useRect, useTimer, useVersion };
|