@0xsquid/ui 0.26.0 → 0.27.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/dist/cjs/index.js +1646 -1518
- package/dist/cjs/types/components/badges/BadgeImage.d.ts +1 -1
- package/dist/cjs/types/components/badges/IconLabel.d.ts +2 -2
- package/dist/cjs/types/components/badges/ImageIcon.d.ts +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +12 -0
- 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/Link.d.ts +2 -2
- package/dist/cjs/types/components/icons/Loader.d.ts +2 -2
- package/dist/cjs/types/components/icons/Timeline.d.ts +2 -2
- package/dist/cjs/types/components/icons/index.d.ts +54 -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 +1 -1
- 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 +3 -3
- 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 +2 -1
- package/dist/cjs/types/components/lists/HistoryItem.d.ts +3 -3
- package/dist/cjs/types/components/lists/ListItem.d.ts +6 -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 +26 -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 +9 -2
- 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 +2 -2
- 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 +2 -2
- 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 +3 -2
- package/dist/cjs/types/stories/lists/HistoryItem.stories.d.ts +2 -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 +2 -2
- package/dist/esm/index.js +1640 -1518
- package/dist/esm/types/components/badges/BadgeImage.d.ts +1 -1
- package/dist/esm/types/components/badges/IconLabel.d.ts +2 -2
- package/dist/esm/types/components/badges/ImageIcon.d.ts +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +12 -0
- 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/Link.d.ts +2 -2
- package/dist/esm/types/components/icons/Loader.d.ts +2 -2
- package/dist/esm/types/components/icons/Timeline.d.ts +2 -2
- package/dist/esm/types/components/icons/index.d.ts +54 -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 +1 -1
- 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 +3 -3
- 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 +2 -1
- package/dist/esm/types/components/lists/HistoryItem.d.ts +3 -3
- package/dist/esm/types/components/lists/ListItem.d.ts +6 -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 +26 -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 +9 -2
- 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 +2 -2
- 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 +2 -2
- 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 +3 -2
- package/dist/esm/types/stories/lists/HistoryItem.stories.d.ts +2 -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 +2 -2
- package/dist/index.css +1 -1
- package/dist/index.d.ts +145 -105
- package/package.json +7 -5
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,17 +52,18 @@ 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 ImageIconVariant =
|
|
61
|
-
type ImageIconSize =
|
|
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 ImageIconVariant = "square" | "round" | "proportional";
|
|
61
|
+
type ImageIconSize = "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
|
+
type DropdownPosition = "top" | "bottom" | "center";
|
|
66
67
|
|
|
67
68
|
interface IconLabelProps {
|
|
68
69
|
isLoading?: boolean;
|
|
@@ -89,12 +90,12 @@ interface LoadingSkeletonProps {
|
|
|
89
90
|
width?: string;
|
|
90
91
|
}
|
|
91
92
|
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<
|
|
93
|
+
interface LoadingTextProps extends ComponentProps<"span"> {
|
|
93
94
|
width?: string | [string, string];
|
|
94
95
|
isLoading?: boolean;
|
|
95
96
|
}
|
|
96
97
|
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<
|
|
98
|
+
interface LoadingBlockProps extends ComponentProps<"div"> {
|
|
98
99
|
isLoading?: boolean;
|
|
99
100
|
}
|
|
100
101
|
declare function BlockSkeleton({ isLoading, className, children, ...props }: LoadingBlockProps): string | number | boolean | Iterable<react.ReactNode> | react_jsx_runtime.JSX.Element | null | undefined;
|
|
@@ -150,8 +151,8 @@ type InputActionButtonProps = {
|
|
|
150
151
|
label?: string;
|
|
151
152
|
};
|
|
152
153
|
|
|
153
|
-
type TooltipWidth =
|
|
154
|
-
type TooltipThreshold =
|
|
154
|
+
type TooltipWidth = "max" | "container";
|
|
155
|
+
type TooltipThreshold = "xxs" | "xs" | "s" | "m" | "l" | "xl" | "xxl";
|
|
155
156
|
interface TooltipProps {
|
|
156
157
|
children: react__default.ReactNode;
|
|
157
158
|
tooltipContent?: react__default.ReactNode;
|
|
@@ -189,21 +190,21 @@ interface NumericInputProps extends React.InputHTMLAttributes<HTMLInputElement>
|
|
|
189
190
|
criticalPriceImpactPercentage?: number;
|
|
190
191
|
direction?: SwapDirection;
|
|
191
192
|
inputModeButton?: {
|
|
192
|
-
usdModeTooltip?: Omit<TooltipProps,
|
|
193
|
-
tokenModeTooltip?: Omit<TooltipProps,
|
|
193
|
+
usdModeTooltip?: Omit<TooltipProps, "children">;
|
|
194
|
+
tokenModeTooltip?: Omit<TooltipProps, "children">;
|
|
194
195
|
amountUsd?: string;
|
|
195
196
|
};
|
|
196
197
|
maxUsdDecimals?: number;
|
|
197
198
|
isInteractive?: boolean;
|
|
198
199
|
balanceButton?: {
|
|
199
|
-
tooltip?: Omit<TooltipProps,
|
|
200
|
+
tooltip?: Omit<TooltipProps, "children">;
|
|
200
201
|
};
|
|
201
202
|
}
|
|
202
203
|
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
204
|
|
|
204
205
|
interface SettingsSliderProps {
|
|
205
206
|
value: number | undefined;
|
|
206
|
-
type:
|
|
207
|
+
type: "percentage" | "amount";
|
|
207
208
|
onChange?: (value: number | undefined) => void;
|
|
208
209
|
decimalsFormat?: number;
|
|
209
210
|
min?: number;
|
|
@@ -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,7 +296,7 @@ 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
302
|
declare const IconButton: ({ icon, ...props }: IconButtonProps) => react_jsx_runtime.JSX.Element;
|
|
@@ -365,6 +366,18 @@ declare function ArrowCornerDownRightIcon({ size, className, }: {
|
|
|
365
366
|
size?: string;
|
|
366
367
|
className?: string;
|
|
367
368
|
}): react_jsx_runtime.JSX.Element;
|
|
369
|
+
declare function ChevronDownSmallIcon({ size, className, }: {
|
|
370
|
+
size?: string;
|
|
371
|
+
className?: string;
|
|
372
|
+
}): react_jsx_runtime.JSX.Element;
|
|
373
|
+
declare function ArrowDownIcon({ size, className, }: {
|
|
374
|
+
size?: string;
|
|
375
|
+
className?: string;
|
|
376
|
+
}): react_jsx_runtime.JSX.Element;
|
|
377
|
+
declare function ArrowSplit({ size, className, }: {
|
|
378
|
+
size?: string;
|
|
379
|
+
className?: string;
|
|
380
|
+
}): react_jsx_runtime.JSX.Element;
|
|
368
381
|
|
|
369
382
|
declare function ArrowRotate(): react_jsx_runtime.JSX.Element;
|
|
370
383
|
|
|
@@ -433,7 +446,11 @@ declare function StocksIcon({ size, className, }: {
|
|
|
433
446
|
|
|
434
447
|
declare function CollectionIcon(): react_jsx_runtime.JSX.Element;
|
|
435
448
|
|
|
436
|
-
declare function
|
|
449
|
+
declare function CompassRoundOutlinedIcon({ size, className, }: {
|
|
450
|
+
size?: string;
|
|
451
|
+
className?: string;
|
|
452
|
+
}): react_jsx_runtime.JSX.Element;
|
|
453
|
+
declare function CompassRoundSolidIcon({ size, className, }: {
|
|
437
454
|
size?: string;
|
|
438
455
|
className?: string;
|
|
439
456
|
}): react_jsx_runtime.JSX.Element;
|
|
@@ -465,7 +482,7 @@ declare function PowerIcon({ size, className, }: {
|
|
|
465
482
|
declare function Copy({ size, strokeWidth, ...props }: {
|
|
466
483
|
size?: string;
|
|
467
484
|
strokeWidth?: string;
|
|
468
|
-
} & ComponentProps<
|
|
485
|
+
} & ComponentProps<"svg">): react_jsx_runtime.JSX.Element;
|
|
469
486
|
|
|
470
487
|
declare function DashboardFast({ size, className, }: {
|
|
471
488
|
size?: string;
|
|
@@ -554,9 +571,9 @@ declare function LightningIcon({ size, className, }: {
|
|
|
554
571
|
className?: string;
|
|
555
572
|
}): react_jsx_runtime.JSX.Element;
|
|
556
573
|
|
|
557
|
-
declare function LinkIcon(props: ComponentProps<
|
|
574
|
+
declare function LinkIcon(props: ComponentProps<"svg">): react_jsx_runtime.JSX.Element;
|
|
558
575
|
|
|
559
|
-
interface LoaderProps extends ComponentProps<
|
|
576
|
+
interface LoaderProps extends ComponentProps<"svg"> {
|
|
560
577
|
size?: string;
|
|
561
578
|
strokeWidth?: string;
|
|
562
579
|
rotateDuration?: string;
|
|
@@ -640,7 +657,7 @@ declare function Tick({ className }: {
|
|
|
640
657
|
className?: string;
|
|
641
658
|
}): react_jsx_runtime.JSX.Element;
|
|
642
659
|
|
|
643
|
-
declare function Timeline({ className, ...props }: ComponentProps<
|
|
660
|
+
declare function Timeline({ className, ...props }: ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
644
661
|
declare namespace Timeline {
|
|
645
662
|
var ArrowDown: (props: react.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
646
663
|
var ArrowReverse: (props: react.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
@@ -668,7 +685,7 @@ declare function WalletFilledIcon({ size }: {
|
|
|
668
685
|
declare function CrossAnimatedIcon({ size, isOpen, transitionDuration, className, }: {
|
|
669
686
|
size?: number;
|
|
670
687
|
isOpen?: boolean;
|
|
671
|
-
transitionDuration?: React.CSSProperties[
|
|
688
|
+
transitionDuration?: React.CSSProperties["transitionDuration"];
|
|
672
689
|
className?: string;
|
|
673
690
|
}): react_jsx_runtime.JSX.Element;
|
|
674
691
|
|
|
@@ -1238,7 +1255,7 @@ interface BoostProps {
|
|
|
1238
1255
|
}) => void;
|
|
1239
1256
|
estimatedTime: string;
|
|
1240
1257
|
canToggleBoostMode?: boolean;
|
|
1241
|
-
tooltip?: Omit<TooltipProps,
|
|
1258
|
+
tooltip?: Omit<TooltipProps, "children">;
|
|
1242
1259
|
}
|
|
1243
1260
|
declare function Boost({ boostMode, onToggleBoostMode, estimatedTime, canToggleBoostMode, tooltip, }: BoostProps): react_jsx_runtime.JSX.Element;
|
|
1244
1261
|
|
|
@@ -1247,51 +1264,53 @@ declare function Breadcrumb({ children, className, }: {
|
|
|
1247
1264
|
className?: string;
|
|
1248
1265
|
}): react_jsx_runtime.JSX.Element;
|
|
1249
1266
|
|
|
1250
|
-
interface CollapseProps extends ComponentProps<
|
|
1267
|
+
interface CollapseProps extends ComponentProps<"div"> {
|
|
1251
1268
|
collapsed: boolean;
|
|
1252
1269
|
collapsedHeight?: number;
|
|
1253
1270
|
duration?: number;
|
|
1254
1271
|
}
|
|
1255
1272
|
declare function Collapse({ collapsed, collapsedHeight, children, className, duration, ...props }: CollapseProps): react_jsx_runtime.JSX.Element;
|
|
1256
|
-
interface SizeTransitionProps extends ComponentProps<
|
|
1273
|
+
interface SizeTransitionProps extends ComponentProps<"div"> {
|
|
1257
1274
|
}
|
|
1258
1275
|
declare function SizeTransition({ children, className, ...props }: SizeTransitionProps): react_jsx_runtime.JSX.Element;
|
|
1259
1276
|
|
|
1260
|
-
interface DescriptionBlocksProps extends ComponentProps<
|
|
1277
|
+
interface DescriptionBlocksProps extends ComponentProps<"div"> {
|
|
1261
1278
|
blocks: DescriptionBlock[] | string;
|
|
1262
1279
|
}
|
|
1263
1280
|
declare function DescriptionBlocks({ className, blocks: blocksProp, ...props }: DescriptionBlocksProps): react_jsx_runtime.JSX.Element;
|
|
1264
|
-
declare function Inline({ className, children, ...props }: ComponentProps<
|
|
1281
|
+
declare function Inline({ className, children, ...props }: ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
1282
|
+
|
|
1283
|
+
interface StopsProps extends React.ComponentProps<"button"> {
|
|
1284
|
+
stopsCount?: string | number;
|
|
1285
|
+
estimatedTime?: string;
|
|
1286
|
+
tooltip?: Omit<TooltipProps, "children">;
|
|
1287
|
+
providers: Provider[];
|
|
1288
|
+
}
|
|
1289
|
+
type Provider = {
|
|
1290
|
+
logoUrl: string;
|
|
1291
|
+
};
|
|
1265
1292
|
|
|
1266
1293
|
interface DetailsToolbarProps {
|
|
1267
1294
|
errorMessage?: string;
|
|
1268
1295
|
flipButton?: {
|
|
1269
1296
|
onClick?: () => void;
|
|
1270
|
-
tooltip?: Omit<TooltipProps,
|
|
1297
|
+
tooltip?: Omit<TooltipProps, "children">;
|
|
1271
1298
|
isDisabled?: boolean;
|
|
1272
1299
|
};
|
|
1273
1300
|
feeButton?: {
|
|
1274
1301
|
feeInUsd: string;
|
|
1275
|
-
tooltip?: Omit<TooltipProps,
|
|
1302
|
+
tooltip?: Omit<TooltipProps, "children">;
|
|
1276
1303
|
onClick: () => void;
|
|
1277
1304
|
};
|
|
1278
|
-
estimatedTime?: string;
|
|
1279
1305
|
isLoading?: boolean;
|
|
1280
1306
|
isEmpty?: boolean;
|
|
1281
1307
|
helpButton?: {
|
|
1282
1308
|
label: string;
|
|
1283
1309
|
onClick: () => void;
|
|
1284
1310
|
};
|
|
1285
|
-
|
|
1286
|
-
tooltip?: Omit<TooltipProps, 'children'>;
|
|
1287
|
-
onClick?: ({ boostMode }: {
|
|
1288
|
-
boostMode: BoostMode;
|
|
1289
|
-
}) => void;
|
|
1290
|
-
canToggleBoostMode?: boolean;
|
|
1291
|
-
boostMode?: BoostMode;
|
|
1292
|
-
};
|
|
1311
|
+
stopsButton?: StopsProps;
|
|
1293
1312
|
}
|
|
1294
|
-
declare function DetailsToolbar({ errorMessage,
|
|
1313
|
+
declare function DetailsToolbar({ errorMessage, helpButton, isLoading, isEmpty, flipButton, feeButton, stopsButton, }: DetailsToolbarProps): react_jsx_runtime.JSX.Element;
|
|
1295
1314
|
|
|
1296
1315
|
interface DropdownMenuItemProps {
|
|
1297
1316
|
label: string;
|
|
@@ -1299,8 +1318,9 @@ interface DropdownMenuItemProps {
|
|
|
1299
1318
|
imageUrl?: string;
|
|
1300
1319
|
icon?: React.ReactNode;
|
|
1301
1320
|
onClick?: () => void;
|
|
1321
|
+
link?: string;
|
|
1302
1322
|
}
|
|
1303
|
-
declare function DropdownMenuItem({ label, imageUrl, icon, labelClassName, onClick, }: DropdownMenuItemProps): react_jsx_runtime.JSX.Element;
|
|
1323
|
+
declare function DropdownMenuItem({ label, imageUrl, icon, labelClassName, onClick, link, }: DropdownMenuItemProps): react_jsx_runtime.JSX.Element;
|
|
1304
1324
|
|
|
1305
1325
|
interface HistoryItemProps {
|
|
1306
1326
|
firstImageUrl: string;
|
|
@@ -1316,7 +1336,7 @@ interface HistoryItemProps {
|
|
|
1316
1336
|
onClick?: () => void;
|
|
1317
1337
|
warningLabel?: string;
|
|
1318
1338
|
}
|
|
1319
|
-
declare function HistoryItem({ firstImageUrl, secondImageUrl, dateCompleted, fromAmount, fromLabel, toAmount, toLabel, dropdownMenuItems, itemsContainerRef, status, warningLabel, onClick, }: HistoryItemProps): react_jsx_runtime.JSX.Element;
|
|
1339
|
+
declare function HistoryItem({ firstImageUrl, secondImageUrl, dateCompleted, fromAmount, fromLabel, toAmount, toLabel, dropdownMenuItems: _dropdownMenuItemsProp, itemsContainerRef, status, warningLabel, onClick, }: HistoryItemProps): react_jsx_runtime.JSX.Element;
|
|
1320
1340
|
|
|
1321
1341
|
interface ListItemProps extends React.HTMLAttributes<HTMLButtonElement> {
|
|
1322
1342
|
itemTitle: string | React.ReactNode;
|
|
@@ -1341,9 +1361,12 @@ interface ListItemProps extends React.HTMLAttributes<HTMLButtonElement> {
|
|
|
1341
1361
|
containerProps?: React.HTMLAttributes<HTMLLIElement>;
|
|
1342
1362
|
compactOnMobile?: boolean;
|
|
1343
1363
|
extraPadding?: boolean;
|
|
1364
|
+
dropdownMenuItems?: DropdownMenuItemProps[];
|
|
1365
|
+
itemsContainerRef?: React.RefObject<HTMLElement>;
|
|
1344
1366
|
}
|
|
1345
|
-
type ListItemSize =
|
|
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;
|
|
1367
|
+
type ListItemSize = "small" | "large";
|
|
1368
|
+
declare function ListItem({ itemTitle, mainImageUrl, subtitle, subtitleOnHover, detail, icon, secondaryImageUrl, placeholderImageUrl, size, mainIcon, className, isSelected, onDetailClick, showDetailOnHoverOnly, rounded, detailButtonClassName, loading, containerProps, compactOnMobile, extraPadding, itemsContainerRef, dropdownMenuItems: _dropdownMenuItemsProp, ...props }: ListItemProps): react_jsx_runtime.JSX.Element;
|
|
1369
|
+
declare const ListItemActionsButton: react.ForwardRefExoticComponent<Omit<react.DetailedHTMLProps<react.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & react.RefAttributes<HTMLButtonElement>>;
|
|
1347
1370
|
|
|
1348
1371
|
interface MenuItemProps {
|
|
1349
1372
|
label: string;
|
|
@@ -1352,14 +1375,18 @@ interface MenuItemProps {
|
|
|
1352
1375
|
}
|
|
1353
1376
|
declare function MenuItem({ label, imageUrl, icon }: MenuItemProps): react_jsx_runtime.JSX.Element;
|
|
1354
1377
|
|
|
1355
|
-
interface PropertyListItemProps extends ComponentProps<
|
|
1378
|
+
interface PropertyListItemProps extends ComponentProps<"li"> {
|
|
1356
1379
|
isLoading?: boolean;
|
|
1357
1380
|
label?: React.ReactNode;
|
|
1358
1381
|
icon?: React.ReactNode;
|
|
1359
1382
|
detail?: React.ReactNode;
|
|
1360
1383
|
variant?: PropertyListItemSize;
|
|
1384
|
+
showGradientBg?: boolean;
|
|
1385
|
+
labelClassName?: string;
|
|
1386
|
+
iconClassName?: string;
|
|
1387
|
+
detailClassName?: string;
|
|
1361
1388
|
}
|
|
1362
|
-
declare function PropertyListItem({ isLoading, label, detail, icon, className, variant, ...props }: PropertyListItemProps): react_jsx_runtime.JSX.Element;
|
|
1389
|
+
declare function PropertyListItem({ isLoading, label, detail, icon, className, variant, showGradientBg, labelClassName, iconClassName, detailClassName, ...props }: PropertyListItemProps): react_jsx_runtime.JSX.Element;
|
|
1363
1390
|
|
|
1364
1391
|
interface SectionTitleProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
1365
1392
|
title: string;
|
|
@@ -1371,7 +1398,7 @@ interface SectionTitleProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
1371
1398
|
declare function SectionTitle({ title, icon, accessory, actionIcon, className, ...props }: SectionTitleProps): react_jsx_runtime.JSX.Element;
|
|
1372
1399
|
|
|
1373
1400
|
type SettingsControl = {
|
|
1374
|
-
type:
|
|
1401
|
+
type: "percentage";
|
|
1375
1402
|
value: number | undefined;
|
|
1376
1403
|
onChange: (value: number | undefined) => void;
|
|
1377
1404
|
min?: number;
|
|
@@ -1383,7 +1410,7 @@ type SettingsControl = {
|
|
|
1383
1410
|
value: number | undefined;
|
|
1384
1411
|
};
|
|
1385
1412
|
} | {
|
|
1386
|
-
type:
|
|
1413
|
+
type: "amount";
|
|
1387
1414
|
value: number | undefined;
|
|
1388
1415
|
onChange: (value: number | undefined) => void;
|
|
1389
1416
|
options: {
|
|
@@ -1395,13 +1422,13 @@ type SettingsControl = {
|
|
|
1395
1422
|
value: number | undefined;
|
|
1396
1423
|
};
|
|
1397
1424
|
} | {
|
|
1398
|
-
type:
|
|
1425
|
+
type: "switch";
|
|
1399
1426
|
checked: boolean;
|
|
1400
1427
|
onChange: (checked: boolean) => void;
|
|
1401
|
-
tooltip?: Omit<TooltipProps,
|
|
1428
|
+
tooltip?: Omit<TooltipProps, "children">;
|
|
1402
1429
|
disabled?: boolean;
|
|
1403
1430
|
} | {
|
|
1404
|
-
type:
|
|
1431
|
+
type: "options";
|
|
1405
1432
|
selectedLabel: string;
|
|
1406
1433
|
options: {
|
|
1407
1434
|
label: string;
|
|
@@ -1414,7 +1441,7 @@ interface SettingsItemProps {
|
|
|
1414
1441
|
control?: SettingsControl;
|
|
1415
1442
|
link?: string;
|
|
1416
1443
|
transparent?: boolean;
|
|
1417
|
-
helpTooltip?: Omit<TooltipProps,
|
|
1444
|
+
helpTooltip?: Omit<TooltipProps, "children">;
|
|
1418
1445
|
}
|
|
1419
1446
|
declare function SettingsItem({ icon, label, control, link, transparent, helpTooltip, }: SettingsItemProps): react_jsx_runtime.JSX.Element;
|
|
1420
1447
|
|
|
@@ -1454,7 +1481,7 @@ declare const ActionStatusRow: ({ children, status, icon, }: {
|
|
|
1454
1481
|
status: ActionStatus;
|
|
1455
1482
|
icon?: ReactNode;
|
|
1456
1483
|
}) => react_jsx_runtime.JSX.Element;
|
|
1457
|
-
declare function ActionRow({ className, ...props }: ComponentProps<
|
|
1484
|
+
declare function ActionRow({ className, ...props }: ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
1458
1485
|
declare function ActionWrapper({ children, status, className, }: {
|
|
1459
1486
|
children?: ReactNode;
|
|
1460
1487
|
status?: ActionStatus;
|
|
@@ -1703,7 +1730,7 @@ declare function TransactionAction({ type, props }: TransactionActionProps): rea
|
|
|
1703
1730
|
|
|
1704
1731
|
declare function linkActionTimelineProps(actions: TransactionActionProps[], collapsed: boolean): TransactionActionProps[];
|
|
1705
1732
|
|
|
1706
|
-
type TransactionItemVariant =
|
|
1733
|
+
type TransactionItemVariant = "compact" | "full";
|
|
1707
1734
|
type TransactionItemType = {
|
|
1708
1735
|
icon?: ReactNode;
|
|
1709
1736
|
name: string;
|
|
@@ -1730,6 +1757,14 @@ interface TransactionItemProps {
|
|
|
1730
1757
|
}
|
|
1731
1758
|
declare function TransactionItem({ className, isLoading, status, image, type, hash, fromChain, toChain, fromAmount, toAmount, timestamp, variant, }: TransactionItemProps): react_jsx_runtime.JSX.Element;
|
|
1732
1759
|
|
|
1760
|
+
interface RouteStepProps {
|
|
1761
|
+
imageUrl: string;
|
|
1762
|
+
descriptionBlocks: DescriptionBlock[];
|
|
1763
|
+
subtitle: string;
|
|
1764
|
+
showStepSeparator?: boolean;
|
|
1765
|
+
}
|
|
1766
|
+
declare function RouteStep({ imageUrl, descriptionBlocks, subtitle, showStepSeparator, }: RouteStepProps): react_jsx_runtime.JSX.Element;
|
|
1767
|
+
|
|
1733
1768
|
interface DropdownMenuProps {
|
|
1734
1769
|
dropdownRef?: React.RefObject<HTMLDivElement>;
|
|
1735
1770
|
menuRef?: React.RefObject<HTMLDivElement>;
|
|
@@ -1768,8 +1803,8 @@ interface JoinProps {
|
|
|
1768
1803
|
}
|
|
1769
1804
|
declare function Join({ children, glue }: JoinProps): react_jsx_runtime.JSX.Element[] | null | undefined;
|
|
1770
1805
|
|
|
1771
|
-
type Rounded =
|
|
1772
|
-
interface MenuProps extends react__default.ComponentProps<
|
|
1806
|
+
type Rounded = "sm" | "lg";
|
|
1807
|
+
interface MenuProps extends react__default.ComponentProps<"div"> {
|
|
1773
1808
|
containerClassName?: string;
|
|
1774
1809
|
contentClassName?: string;
|
|
1775
1810
|
rounded?: Rounded;
|
|
@@ -1778,7 +1813,7 @@ interface MenuProps extends react__default.ComponentProps<'div'> {
|
|
|
1778
1813
|
}
|
|
1779
1814
|
declare function Menu({ children, containerClassName, contentClassName, rounded, menuRef, contentWrapperClassName, ...props }: MenuProps): react_jsx_runtime.JSX.Element;
|
|
1780
1815
|
|
|
1781
|
-
type ModalWidth =
|
|
1816
|
+
type ModalWidth = "large" | "extra-large";
|
|
1782
1817
|
interface ModalProps {
|
|
1783
1818
|
children: React.ReactNode;
|
|
1784
1819
|
className?: string;
|
|
@@ -1789,7 +1824,7 @@ interface ModalProps {
|
|
|
1789
1824
|
}
|
|
1790
1825
|
declare function Modal({ children, className, onBackdropClick, isOpen: _isOpen, maxHeight, width, }: ModalProps): false | react_jsx_runtime.JSX.Element;
|
|
1791
1826
|
|
|
1792
|
-
type ModalContentBorderType =
|
|
1827
|
+
type ModalContentBorderType = "border" | "outline";
|
|
1793
1828
|
interface ModalContentProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
1794
1829
|
children?: React.ReactNode;
|
|
1795
1830
|
addGap?: boolean;
|
|
@@ -1804,10 +1839,10 @@ type ActionButton = {
|
|
|
1804
1839
|
labelOrIcon: string | React.ReactNode;
|
|
1805
1840
|
onClick?: () => void;
|
|
1806
1841
|
id: React.Key;
|
|
1807
|
-
tooltip?: Omit<TooltipProps,
|
|
1842
|
+
tooltip?: Omit<TooltipProps, "children">;
|
|
1808
1843
|
chip?: ChipProps;
|
|
1809
1844
|
};
|
|
1810
|
-
interface NavigationBarProps extends React.ComponentProps<
|
|
1845
|
+
interface NavigationBarProps extends React.ComponentProps<"nav"> {
|
|
1811
1846
|
title?: string;
|
|
1812
1847
|
displayBackButton?: boolean;
|
|
1813
1848
|
logoUrl?: string;
|
|
@@ -1819,7 +1854,7 @@ interface NavigationBarProps extends React.ComponentProps<'nav'> {
|
|
|
1819
1854
|
}
|
|
1820
1855
|
declare function NavigationBar({ title, displayBackButton, logoUrl, transparent, displayButtonShadows, onBackButtonClick, actions, isLoading, ...props }: NavigationBarProps): react_jsx_runtime.JSX.Element;
|
|
1821
1856
|
|
|
1822
|
-
declare function PipeSeparator({ className, ...props }: ComponentProps<
|
|
1857
|
+
declare function PipeSeparator({ className, ...props }: ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
1823
1858
|
|
|
1824
1859
|
interface CollapsibleMenuProps {
|
|
1825
1860
|
menuRef: React.MutableRefObject<HTMLDivElement | null>;
|
|
@@ -1835,7 +1870,7 @@ interface CollapsibleMenuProps {
|
|
|
1835
1870
|
};
|
|
1836
1871
|
children?: React.ReactNode;
|
|
1837
1872
|
isOpen?: boolean;
|
|
1838
|
-
transitionDuration?: React.CSSProperties[
|
|
1873
|
+
transitionDuration?: React.CSSProperties["transitionDuration"];
|
|
1839
1874
|
className?: string;
|
|
1840
1875
|
}
|
|
1841
1876
|
declare function CollapsibleMenu({ children, menuRef, isOpen, transitionDuration, size, className, }: CollapsibleMenuProps): react_jsx_runtime.JSX.Element;
|
|
@@ -1875,20 +1910,20 @@ interface SwapConfigurationProps {
|
|
|
1875
1910
|
isInputInteractive?: boolean;
|
|
1876
1911
|
isLoading?: boolean;
|
|
1877
1912
|
inputModeButton?: {
|
|
1878
|
-
usdModeTooltip?: Omit<TooltipProps,
|
|
1879
|
-
tokenModeTooltip?: Omit<TooltipProps,
|
|
1913
|
+
usdModeTooltip?: Omit<TooltipProps, "children">;
|
|
1914
|
+
tokenModeTooltip?: Omit<TooltipProps, "children">;
|
|
1880
1915
|
amountUsd?: string;
|
|
1881
1916
|
};
|
|
1882
1917
|
balanceButton?: {
|
|
1883
|
-
tooltip?: Omit<TooltipProps,
|
|
1918
|
+
tooltip?: Omit<TooltipProps, "children">;
|
|
1884
1919
|
};
|
|
1885
1920
|
assetsButton?: {
|
|
1886
|
-
tooltip?: Omit<TooltipProps,
|
|
1921
|
+
tooltip?: Omit<TooltipProps, "children">;
|
|
1887
1922
|
onClick?: () => void;
|
|
1888
1923
|
variant?: AssetsButtonVariant;
|
|
1889
1924
|
};
|
|
1890
1925
|
walletButton?: {
|
|
1891
|
-
tooltip?: Omit<TooltipProps,
|
|
1926
|
+
tooltip?: Omit<TooltipProps, "children">;
|
|
1892
1927
|
onClick?: () => void;
|
|
1893
1928
|
address?: string;
|
|
1894
1929
|
emptyAddressLabel?: string;
|
|
@@ -2228,7 +2263,7 @@ declare function MainView({ isLoading }: {
|
|
|
2228
2263
|
isLoading?: boolean;
|
|
2229
2264
|
}): react_jsx_runtime.JSX.Element;
|
|
2230
2265
|
|
|
2231
|
-
type WalletViewType =
|
|
2266
|
+
type WalletViewType = "paymentMethod" | "recipientEmpty" | "recipientTypingEns" | "recipientTypingAddress";
|
|
2232
2267
|
interface WalletsViewProps {
|
|
2233
2268
|
type: WalletViewType;
|
|
2234
2269
|
}
|
|
@@ -2389,7 +2424,7 @@ type TransactionViewProps = {
|
|
|
2389
2424
|
}[TransactionViewType];
|
|
2390
2425
|
declare function TransactionView({ type, props }: TransactionViewProps): react_jsx_runtime.JSX.Element;
|
|
2391
2426
|
|
|
2392
|
-
interface TransactionViewLayoutProps extends ComponentProps<
|
|
2427
|
+
interface TransactionViewLayoutProps extends ComponentProps<"div"> {
|
|
2393
2428
|
isLoading?: boolean;
|
|
2394
2429
|
header?: ReactNode;
|
|
2395
2430
|
properties?: ReactNode;
|
|
@@ -2401,23 +2436,23 @@ declare function TransactionViewLayout({ isLoading, header, properties, actions,
|
|
|
2401
2436
|
declare function WalletsView(): react_jsx_runtime.JSX.Element;
|
|
2402
2437
|
|
|
2403
2438
|
type SquidTheme = {
|
|
2404
|
-
|
|
2405
|
-
|
|
2406
|
-
|
|
2407
|
-
|
|
2408
|
-
|
|
2409
|
-
|
|
2410
|
-
|
|
2411
|
-
|
|
2412
|
-
|
|
2413
|
-
|
|
2414
|
-
|
|
2415
|
-
|
|
2416
|
-
|
|
2417
|
-
|
|
2418
|
-
|
|
2419
|
-
|
|
2420
|
-
|
|
2439
|
+
"content-100": string;
|
|
2440
|
+
"content-200": string;
|
|
2441
|
+
"content-300": string;
|
|
2442
|
+
"content-400": string;
|
|
2443
|
+
"content-500": string;
|
|
2444
|
+
"content-600": string;
|
|
2445
|
+
"content-700": string;
|
|
2446
|
+
"content-800": string;
|
|
2447
|
+
"content-900": string;
|
|
2448
|
+
"accent-300": string;
|
|
2449
|
+
"accent-400": string;
|
|
2450
|
+
"accent-500": string;
|
|
2451
|
+
"accent-700": string;
|
|
2452
|
+
"status-positive": string;
|
|
2453
|
+
"status-negative": string;
|
|
2454
|
+
"status-warning": string;
|
|
2455
|
+
"highlight-700": string;
|
|
2421
2456
|
};
|
|
2422
2457
|
|
|
2423
2458
|
declare function SquidConfigProvider({ theme, children, themeType, }: {
|
|
@@ -2426,14 +2461,19 @@ declare function SquidConfigProvider({ theme, children, themeType, }: {
|
|
|
2426
2461
|
themeType?: ThemeType;
|
|
2427
2462
|
}): react_jsx_runtime.JSX.Element;
|
|
2428
2463
|
|
|
2429
|
-
|
|
2464
|
+
interface UseDropdownMenuParams {
|
|
2430
2465
|
initialIsModalOpen?: boolean;
|
|
2431
|
-
|
|
2466
|
+
itemsContainerRef?: React.RefObject<HTMLElement>;
|
|
2467
|
+
}
|
|
2468
|
+
declare function useDropdownMenu(props?: UseDropdownMenuParams): {
|
|
2432
2469
|
isDropdownOpen: boolean;
|
|
2433
2470
|
openDropdown: () => void;
|
|
2434
2471
|
closeDropdown: () => void;
|
|
2435
2472
|
dropdownRef: React.RefObject<HTMLDivElement>;
|
|
2436
2473
|
openDropdownButtonRef: React.RefObject<HTMLButtonElement>;
|
|
2474
|
+
dropdownPosition: DropdownPosition | null;
|
|
2475
|
+
itemRef: React.RefObject<HTMLLIElement>;
|
|
2476
|
+
menuRef: React.RefObject<HTMLDivElement>;
|
|
2437
2477
|
};
|
|
2438
2478
|
|
|
2439
2479
|
type UseMediaQueryOptions = {
|
|
@@ -2502,7 +2542,7 @@ declare const CSS_VARS: {
|
|
|
2502
2542
|
COLLAPSIBLE_MENU_CLOSED_WIDTH: string;
|
|
2503
2543
|
COLLAPSIBLE_MENU_CLOSED_HEIGHT: string;
|
|
2504
2544
|
};
|
|
2505
|
-
type MediaQuery =
|
|
2545
|
+
type MediaQuery = "MOBILE_LG" | "MOBILE_SM_HEIGHT" | "MOBILE_XS" | "MOBILE_XS_HEIGHT";
|
|
2506
2546
|
declare const MEDIA_QUERIES: Record<MediaQuery, {
|
|
2507
2547
|
media: string;
|
|
2508
2548
|
key: string;
|
|
@@ -2524,4 +2564,4 @@ declare const baseTailwindConfig: Config;
|
|
|
2524
2564
|
*/
|
|
2525
2565
|
declare const cn: (...inputs: ClassValue[]) => string;
|
|
2526
2566
|
|
|
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, ClockIcon, ClockOutlineIcon, CoinsAddIcon, CoinsIcon, Collapse, CollapsibleMenu, CollectionIcon, ColorPaletteIcon,
|
|
2567
|
+
export { type ActionButton, ActionLayout, ActionLineOutRow, ActionProperties, ActionRow, type ActionStatus, ActionStatusRow, ActionWrapper, AddressButton, 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, 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, ChevronDownSmallIcon, ChevronGrabberVerticalIcon, ChevronLargeDownIcon, ChevronLargeRightIcon, ChevronRightSmallIcon, ChevronTopIcon, ChevronTopSmallIcon, Chip, type ChipProps, CircleMinusIcon, CirclePlusIcon, CircleX, CircleXFilledIcon, ClockIcon, ClockOutlineIcon, CoinsAddIcon, CoinsIcon, Collapse, CollapsibleMenu, CollectionIcon, ColorPaletteIcon, CompassRoundOutlinedIcon, CompassRoundSolidIcon, ConsoleIcon, Copy, CrossAnimatedIcon, DashboardFast, DescriptionBlocks, DetailsToolbar, DiscordIcon, DockIconAnalytics, DockIconCheckout, DockIconHelp, DockIconProfile, DockIconScan, DockIconSwap, DockSwapIcon, Dollar, DotGrid1x3HorizontalIcon, DropdownMenu, DropdownMenuItem, type DropdownMenuItemProps, EmojiMeh, EmojiSadIcon, EmptyHeartIcon, ErrorMessage, EthereumIcon, ExplosionIcon, FeeButton, FeesAction, type FeesActionProps, FeesLines, FeesTotal, FilledHeartIcon, FilterButton, FilterIcon, GasIcon, GithubIcon, HashLink, HeadingText, HeartSmallIcon, HelpIcon, HistoryItem, type HistoryItemStatus, HomeIcon, IconButton, IconLabel, ImageIcon, ImageSparkle, IncompleteAction, InfinityIcon, InfoBox, Inline, Input, InteractionHeader, InteractionProperties, InteractionTransactionView, Join, LightningIcon, 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, 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, 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, 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 };
|
package/package.json
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"url": "git+https://github.com/0xsquid/squid-ui.git"
|
|
6
6
|
},
|
|
7
7
|
"description": "Squid's UI components",
|
|
8
|
-
"version": "0.
|
|
8
|
+
"version": "0.27.0",
|
|
9
9
|
"author": "",
|
|
10
10
|
"license": "MIT",
|
|
11
11
|
"resolutions": {
|
|
@@ -17,15 +17,16 @@
|
|
|
17
17
|
"build-storybook": "storybook build",
|
|
18
18
|
"watch:build-tailwind": "yarn build-tailwind --watch",
|
|
19
19
|
"build-tailwind": "tailwindcss -i src/styles/tailwind.css -o src/styles/compiled-tailwind.css",
|
|
20
|
-
"lint
|
|
21
|
-
"format
|
|
20
|
+
"lint": "eslint . --fix",
|
|
21
|
+
"format": "prettier --write --ignore-path .prettierignore .",
|
|
22
22
|
"release": "release-it",
|
|
23
23
|
"release:pre": "release-it --preRelease=beta",
|
|
24
24
|
"release:ci": "release-it --ci",
|
|
25
25
|
"release:dry": "release-it --dry-run",
|
|
26
26
|
"build": "yarn build-tailwind && rollup -c && yarn copy-fonts && yarn move-styles",
|
|
27
27
|
"copy-fonts": "cp -r src/styles/fonts dist/fonts",
|
|
28
|
-
"move-styles": "mv dist/esm/index.css dist/index.css && rm -rf dist/cjs/index.css"
|
|
28
|
+
"move-styles": "mv dist/esm/index.css dist/index.css && rm -rf dist/cjs/index.css",
|
|
29
|
+
"test": "vitest"
|
|
29
30
|
},
|
|
30
31
|
"dependencies": {
|
|
31
32
|
"@lottiefiles/react-lottie-player": "3.5.0",
|
|
@@ -90,7 +91,8 @@
|
|
|
90
91
|
"tailwindcss": "3.4.1",
|
|
91
92
|
"ts-loader": "9.5.1",
|
|
92
93
|
"tslib": "^2.6.2",
|
|
93
|
-
"typescript": "5.4"
|
|
94
|
+
"typescript": "5.4",
|
|
95
|
+
"vitest": "2.0.5"
|
|
94
96
|
},
|
|
95
97
|
"release-it": {
|
|
96
98
|
"plugins": {
|