@0xsquid/ui 1.0.0 → 2.0.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 +98 -1
- package/dist/cjs/index.js +60685 -4770
- package/dist/cjs/types/assets/animations/index.d.ts +11 -0
- package/dist/cjs/types/components/badges/BadgeImage.d.ts +7 -2
- package/dist/cjs/types/components/badges/IconLabel.d.ts +10 -0
- package/dist/cjs/types/components/badges/Image.d.ts +9 -0
- package/dist/cjs/types/components/badges/LoadingSkeleton.d.ts +20 -0
- package/dist/cjs/types/components/badges/TransactionState.d.ts +10 -0
- package/dist/cjs/types/components/badges/UsdAmount.d.ts +1 -1
- package/dist/cjs/types/components/badges/WalletLink.d.ts +6 -0
- package/dist/cjs/types/components/badges/index.d.ts +7 -0
- package/dist/cjs/types/components/buttons/AssetsButton.d.ts +21 -0
- package/dist/cjs/types/components/buttons/BoostButton.d.ts +6 -6
- package/dist/cjs/types/components/buttons/Button.d.ts +9 -2
- package/dist/cjs/types/components/buttons/Chip.d.ts +1 -2
- package/dist/cjs/types/components/buttons/FeeButton.d.ts +9 -1
- package/dist/cjs/types/components/buttons/FilterButton.d.ts +7 -0
- package/dist/cjs/types/components/buttons/IconButton.d.ts +6 -0
- package/dist/cjs/types/components/buttons/SettingsButton.d.ts +6 -0
- package/dist/cjs/types/components/buttons/StopsButton.d.ts +14 -0
- package/dist/cjs/types/components/buttons/index.d.ts +11 -7
- package/dist/cjs/types/components/controls/Input.d.ts +13 -2
- package/dist/cjs/types/components/controls/NumericInput.d.ts +38 -0
- package/dist/cjs/types/components/controls/RangeInput.d.ts +10 -0
- package/dist/cjs/types/components/controls/SettingsSlider.d.ts +10 -0
- package/dist/cjs/types/components/controls/Switch.d.ts +8 -6
- package/dist/cjs/types/components/controls/Tooltip.d.ts +12 -8
- package/dist/cjs/types/components/controls/index.d.ts +6 -0
- package/dist/cjs/types/components/icons/Approve.d.ts +1 -0
- package/dist/cjs/types/components/icons/Arrow.d.ts +72 -7
- package/dist/cjs/types/components/icons/ArrowRotate.d.ts +1 -0
- package/dist/cjs/types/components/icons/Bag.d.ts +5 -0
- package/dist/cjs/types/components/icons/BoostBadge.d.ts +1 -0
- package/dist/cjs/types/components/icons/Calendar.d.ts +1 -0
- package/dist/cjs/types/components/icons/Checkmark.d.ts +10 -1
- package/dist/cjs/types/components/icons/Clock.d.ts +20 -0
- package/dist/cjs/types/components/icons/Coins.d.ts +12 -0
- package/dist/cjs/types/components/icons/Collection.d.ts +1 -0
- package/dist/cjs/types/components/icons/CompassRound.d.ts +32 -0
- package/dist/cjs/types/components/icons/Copy.d.ts +5 -0
- package/dist/cjs/types/components/icons/CrossAnimatedIcon.d.ts +7 -0
- package/dist/cjs/types/components/icons/DashboardFast.d.ts +4 -0
- package/dist/cjs/types/components/icons/DockIcons.d.ts +10 -0
- package/dist/cjs/types/components/icons/DotGrid.d.ts +4 -1
- package/dist/cjs/types/components/icons/EmojiSad.d.ts +12 -1
- package/dist/cjs/types/components/icons/Filter.d.ts +1 -0
- package/dist/cjs/types/components/icons/Generic.d.ts +84 -0
- package/dist/cjs/types/components/icons/Heart.d.ts +9 -3
- package/dist/cjs/types/components/icons/Help.d.ts +16 -0
- package/dist/cjs/types/components/icons/HomeIcon.d.ts +19 -0
- package/dist/cjs/types/components/icons/ImageSparkle.d.ts +1 -0
- package/dist/cjs/types/components/icons/Infinity.d.ts +4 -0
- package/dist/cjs/types/components/icons/Lightning.d.ts +4 -0
- package/dist/cjs/types/components/icons/Link.d.ts +2 -0
- package/dist/cjs/types/components/icons/Loader.d.ts +5 -2
- package/dist/cjs/types/components/icons/NotAllowed.d.ts +1 -0
- package/dist/cjs/types/components/icons/Percent.d.ts +8 -0
- package/dist/cjs/types/components/icons/PieChart.d.ts +1 -0
- package/dist/cjs/types/components/icons/Search.d.ts +4 -1
- package/dist/cjs/types/components/icons/Social.d.ts +16 -0
- package/dist/cjs/types/components/icons/SquareArrowCenter.d.ts +1 -0
- package/dist/cjs/types/components/icons/SquidIcons.d.ts +1 -0
- package/dist/cjs/types/components/icons/SquidLogo.d.ts +4 -0
- package/dist/cjs/types/components/icons/SwapInputs.d.ts +4 -0
- package/dist/cjs/types/components/icons/SwapStatus.d.ts +3 -2
- package/dist/cjs/types/components/icons/SwapStepSeparator.d.ts +1 -0
- package/dist/cjs/types/components/icons/Tag.d.ts +4 -0
- package/dist/cjs/types/components/icons/ThumbsUp.d.ts +3 -0
- package/dist/cjs/types/components/icons/Tick.d.ts +3 -0
- package/dist/cjs/types/components/icons/Timeline.d.ts +11 -0
- package/dist/cjs/types/components/icons/TradingViewSteps.d.ts +4 -0
- package/dist/cjs/types/components/icons/Weather.d.ts +20 -0
- package/dist/cjs/types/components/icons/index.d.ts +55 -0
- package/dist/cjs/types/components/index.d.ts +8 -1
- package/dist/cjs/types/components/layout/AnimationWrapper.d.ts +8 -0
- package/dist/cjs/types/components/layout/AppContainer.d.ts +531 -0
- package/dist/cjs/types/components/layout/Boost.d.ts +13 -1
- package/dist/cjs/types/components/layout/Breadcrumb.d.ts +5 -0
- package/dist/cjs/types/components/layout/Collapse.d.ts +11 -0
- package/dist/cjs/types/components/layout/CollapsibleMenu.d.ts +20 -0
- package/dist/cjs/types/components/layout/DescriptionBlocks.d.ts +8 -0
- package/dist/cjs/types/components/layout/DetailsToolbar.d.ts +21 -4
- package/dist/cjs/types/components/layout/DropdownMenu.d.ts +15 -0
- package/dist/cjs/types/components/layout/ErrorMessage.d.ts +6 -0
- package/dist/cjs/types/components/layout/HashLink.d.ts +10 -0
- package/dist/cjs/types/components/layout/InfoBox.d.ts +8 -0
- package/dist/cjs/types/components/layout/Join.d.ts +7 -0
- package/dist/cjs/types/components/layout/Menu.d.ts +8 -4
- package/dist/cjs/types/components/layout/Modal.d.ts +7 -1
- package/dist/cjs/types/components/layout/ModalContent.d.ts +12 -0
- package/dist/cjs/types/components/layout/NavigationBar.d.ts +17 -2
- package/dist/cjs/types/components/layout/PipeSeparator.d.ts +2 -0
- package/dist/cjs/types/components/layout/ProductCard.d.ts +5 -5
- package/dist/cjs/types/components/layout/ProfileHeaderBackground.d.ts +1 -0
- package/dist/cjs/types/components/layout/SwapConfiguration.d.ts +39 -5
- package/dist/cjs/types/components/layout/SwapProgressViewHeader.d.ts +6 -0
- package/dist/cjs/types/components/layout/SwapStepsCollapsed.d.ts +18 -0
- package/dist/cjs/types/components/layout/Toast.d.ts +10 -0
- package/dist/cjs/types/components/layout/TokenPair.d.ts +15 -0
- package/dist/cjs/types/components/layout/TransactionFilters.d.ts +20 -0
- package/dist/cjs/types/components/layout/TransactionHeader/BridgeHeader.d.ts +11 -0
- package/dist/cjs/types/components/layout/TransactionHeader/BuyNFTHeader.d.ts +10 -0
- package/dist/cjs/types/components/layout/TransactionHeader/InteractionHeader.d.ts +11 -0
- package/dist/cjs/types/components/layout/TransactionHeader/ProfileHeader.d.ts +11 -0
- package/dist/cjs/types/components/layout/TransactionHeader/SwapHeader.d.ts +16 -0
- package/dist/cjs/types/components/layout/TransactionHeader/TransactionHeader.d.ts +23 -0
- package/dist/cjs/types/components/layout/TransactionHeader/TransactionHeaderLayout.d.ts +11 -0
- package/dist/cjs/types/components/layout/TransactionHeader/index.d.ts +1 -0
- package/dist/cjs/types/components/layout/TransactionProperties/BridgeProperties.d.ts +21 -0
- package/dist/cjs/types/components/layout/TransactionProperties/BuyNFTProperties.d.ts +33 -0
- package/dist/cjs/types/components/layout/TransactionProperties/InteractionProperties.d.ts +11 -0
- package/dist/cjs/types/components/layout/TransactionProperties/PropertiesLayout.d.ts +7 -0
- package/dist/cjs/types/components/layout/TransactionProperties/SwapProperties.d.ts +28 -0
- package/dist/cjs/types/components/layout/TransactionProperties/TransactionProperties.d.ts +21 -0
- package/dist/cjs/types/components/layout/TransactionProperties/index.d.ts +6 -0
- package/dist/cjs/types/components/layout/TransactionSearch.d.ts +11 -0
- package/dist/cjs/types/components/layout/Transfer.d.ts +9 -0
- package/dist/cjs/types/components/layout/index.d.ts +41 -0
- package/dist/cjs/types/components/layout/useOnClickOutside.d.ts +4 -0
- package/dist/cjs/types/components/lists/DropdownMenuItem.d.ts +19 -2
- package/dist/cjs/types/components/lists/DropdownMenuTitle.d.ts +3 -0
- package/dist/cjs/types/components/lists/HistoryItem.d.ts +8 -3
- package/dist/cjs/types/components/lists/ListItem.d.ts +22 -4
- package/dist/cjs/types/components/lists/PropertyListItem.d.ts +14 -0
- package/dist/cjs/types/components/lists/RouteStep.d.ts +9 -0
- package/dist/cjs/types/components/lists/SectionTitle.d.ts +2 -2
- package/dist/cjs/types/components/lists/SettingsItem.d.ts +49 -0
- package/dist/cjs/types/components/lists/SwapStepItem.d.ts +10 -0
- package/dist/cjs/types/components/lists/TransactionAction/ActionLayout.d.ts +40 -0
- package/dist/cjs/types/components/lists/TransactionAction/ApproveAction.d.ts +21 -0
- package/dist/cjs/types/components/lists/TransactionAction/BaseActionProps.d.ts +10 -0
- package/dist/cjs/types/components/lists/TransactionAction/BridgeAction.d.ts +20 -0
- package/dist/cjs/types/components/lists/TransactionAction/FeesAction.d.ts +29 -0
- package/dist/cjs/types/components/lists/TransactionAction/IncompleteAction.d.ts +8 -0
- package/dist/cjs/types/components/lists/TransactionAction/ReceiveNFTAction.d.ts +21 -0
- package/dist/cjs/types/components/lists/TransactionAction/ReceiveTokensAction.d.ts +22 -0
- package/dist/cjs/types/components/lists/TransactionAction/SendTokensAction.d.ts +22 -0
- package/dist/cjs/types/components/lists/TransactionAction/StakeAction.d.ts +16 -0
- package/dist/cjs/types/components/lists/TransactionAction/StartAction.d.ts +8 -0
- package/dist/cjs/types/components/lists/TransactionAction/SuccessAction.d.ts +9 -0
- package/dist/cjs/types/components/lists/TransactionAction/SwapAction.d.ts +20 -0
- package/dist/cjs/types/components/lists/TransactionAction/TransactionAction.d.ts +37 -0
- package/dist/cjs/types/components/lists/TransactionAction/WrapAction.d.ts +20 -0
- package/dist/cjs/types/components/lists/TransactionAction/index.d.ts +14 -0
- package/dist/cjs/types/components/lists/TransactionAction/linkActionTimelineProps.d.ts +2 -0
- package/dist/cjs/types/components/lists/TransactionItem.d.ts +29 -0
- package/dist/cjs/types/components/lists/index.d.ts +27 -0
- package/dist/cjs/types/components/storybook/SwapStepsControls.d.ts +4 -0
- package/dist/cjs/types/components/typography/BodyText.d.ts +5 -4
- package/dist/cjs/types/components/typography/CaptionText.d.ts +0 -1
- package/dist/cjs/types/components/typography/HeadingText.d.ts +5 -3
- package/dist/cjs/types/components/typography/index.d.ts +3 -0
- package/dist/cjs/types/components/views/AssetsView.d.ts +2 -6
- package/dist/cjs/types/components/views/HistoryView.d.ts +1 -0
- package/dist/cjs/types/components/views/MainView.d.ts +3 -5
- package/dist/cjs/types/components/views/RecipientView.d.ts +1 -1
- package/dist/cjs/types/components/views/SettingsView.d.ts +1 -0
- package/dist/cjs/types/components/views/SwapDetailsView.d.ts +5 -0
- package/dist/cjs/types/components/views/SwapProgressView.d.ts +30 -3
- package/dist/cjs/types/components/views/TransactionView/BaseTransactionViewProps.d.ts +10 -0
- package/dist/cjs/types/components/views/TransactionView/BridgeTransactionView.d.ts +22 -0
- package/dist/cjs/types/components/views/TransactionView/BuyNFTTransactionView.d.ts +34 -0
- package/dist/cjs/types/components/views/TransactionView/InteractionTransactionView.d.ts +14 -0
- package/dist/cjs/types/components/views/TransactionView/SwapTransactionView.d.ts +30 -0
- package/dist/cjs/types/components/views/TransactionView/TransactionView.d.ts +21 -0
- package/dist/cjs/types/components/views/TransactionView/TransactionViewLayout.d.ts +11 -0
- package/dist/cjs/types/components/views/TransactionView/index.d.ts +6 -0
- package/dist/cjs/types/components/views/index.d.ts +13 -0
- package/dist/cjs/types/core/constants.d.ts +43 -0
- package/dist/cjs/types/core/design-system.d.ts +11 -0
- package/dist/cjs/types/core/externalLinks.d.ts +2 -0
- package/dist/cjs/types/core/index.d.ts +4 -0
- package/dist/cjs/types/core/numbers.d.ts +24 -0
- package/dist/cjs/types/core/themes.d.ts +14 -5
- package/dist/cjs/types/core/utils.d.ts +59 -1
- package/dist/cjs/types/hooks/index.d.ts +7 -0
- package/dist/cjs/types/hooks/useCollapsibleMenu.d.ts +6 -0
- package/dist/cjs/types/hooks/useDropdownMenu.d.ts +21 -0
- package/dist/cjs/types/hooks/useMediaQuery.d.ts +26 -0
- package/dist/cjs/types/hooks/useRect.d.ts +3 -0
- package/dist/cjs/types/hooks/useTimer.d.ts +7 -0
- package/dist/cjs/types/hooks/useUserTheme.d.ts +13 -0
- package/dist/cjs/types/hooks/useVersion.d.ts +1 -0
- package/dist/cjs/types/index.d.ts +5 -1
- package/dist/cjs/types/providers/ThemeProvider.d.ts +11 -0
- package/dist/cjs/types/providers/index.d.ts +1 -0
- package/dist/cjs/types/services/internal/colorService.d.ts +13 -23
- package/dist/cjs/types/stores/container.d.ts +6 -0
- package/dist/cjs/types/stories/badges/BadgeImage.stories.d.ts +15 -0
- package/dist/cjs/types/stories/badges/IconLabel.stories.d.ts +7 -0
- package/dist/cjs/types/stories/badges/ImageIcon.stories.d.ts +7 -0
- package/dist/cjs/types/stories/badges/Loader.stories.d.ts +8 -0
- package/dist/cjs/types/stories/badges/LoadingSkeleton.stories.d.ts +8 -0
- package/dist/cjs/types/stories/badges/TransactionState.stories.d.ts +20 -0
- package/dist/cjs/types/stories/badges/UsdAmount.stories.d.ts +2 -2
- package/dist/cjs/types/stories/badges/WalletLink.stories.d.ts +6 -0
- 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 +15 -0
- package/dist/cjs/types/stories/buttons/BoostButton.stories.d.ts +2 -2
- package/dist/cjs/types/stories/buttons/Button.stories.d.ts +13 -2
- package/dist/cjs/types/stories/buttons/Chip.stories.d.ts +2 -2
- package/dist/cjs/types/stories/buttons/FeeButton.stories.d.ts +3 -2
- package/dist/cjs/types/stories/buttons/FilterButton.stories.d.ts +7 -0
- package/dist/cjs/types/stories/buttons/IconButon.stories.d.ts +7 -0
- package/dist/cjs/types/stories/buttons/SettingsButton.stories.d.ts +7 -0
- package/dist/cjs/types/stories/buttons/StopsButton.stories.d.ts +10 -0
- package/dist/cjs/types/stories/controls/Input.stories.d.ts +6 -3
- package/dist/cjs/types/stories/controls/RangeInput.stories.d.ts +7 -0
- package/dist/cjs/types/stories/controls/SettingsSlider.stories.d.ts +11 -0
- package/dist/cjs/types/stories/controls/Switch.stories.d.ts +4 -2
- package/dist/cjs/types/stories/controls/Tooltip.stories.d.ts +3 -2
- package/dist/cjs/types/stories/data/actions.d.ts +225 -0
- package/dist/cjs/types/stories/data/network.d.ts +52 -0
- package/dist/cjs/types/stories/layout/AppContainer.stories.d.ts +6 -0
- package/dist/cjs/types/stories/layout/Boost.stories.d.ts +11 -0
- package/dist/cjs/types/stories/layout/DetailsToolbar.stories.d.ts +10 -2
- package/dist/cjs/types/stories/layout/DropdownMenu.stories.d.ts +9 -0
- package/dist/cjs/types/stories/layout/ErrorMessage.stories.d.ts +7 -0
- package/dist/cjs/types/stories/layout/HashLink.stories.d.ts +11 -0
- package/dist/cjs/types/stories/layout/InfoBox.stories.d.ts +7 -0
- package/dist/cjs/types/stories/layout/Menu.stories.d.ts +4 -3
- package/dist/cjs/types/stories/layout/ModalContent.stories.d.ts +9 -0
- package/dist/cjs/types/stories/layout/NavigationBar.stories.d.ts +5 -2
- package/dist/cjs/types/stories/layout/ProductCard.stories.d.ts +2 -2
- package/dist/cjs/types/stories/layout/SwapConfiguration.stories.d.ts +18 -4
- package/dist/cjs/types/stories/layout/SwapProgressViewHeader.stories.d.ts +6 -0
- package/dist/cjs/types/stories/layout/SwapStepsCollapsed.stories.d.ts +13 -0
- package/dist/cjs/types/stories/layout/Toast.stories.d.ts +10 -0
- package/dist/cjs/types/stories/layout/TokenPair.stories.d.ts +9 -0
- package/dist/cjs/types/stories/layout/TransactionFilters.stories.d.ts +6 -0
- package/dist/cjs/types/stories/layout/TransactionHeader.stories.d.ts +10 -0
- package/dist/cjs/types/stories/layout/TransactionProperties.stories.d.ts +9 -0
- package/dist/cjs/types/stories/layout/TransactionSearch.stories.d.ts +7 -0
- package/dist/cjs/types/stories/layout/Transfer.stories.d.ts +7 -0
- 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 +8 -3
- package/dist/cjs/types/stories/lists/ListItem.stories.d.ts +22 -3
- package/dist/cjs/types/stories/lists/MenuItem.stories.d.ts +2 -2
- package/dist/cjs/types/stories/lists/PropertyListItem.stories.d.ts +11 -0
- 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 +14 -0
- package/dist/cjs/types/stories/lists/SwapStepItem.stories.d.ts +27 -0
- package/dist/cjs/types/stories/lists/TransactionAction.stories.d.ts +23 -0
- package/dist/cjs/types/stories/lists/TransactionItem.stories.d.ts +15 -0
- 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 +6 -0
- package/dist/cjs/types/stories/views/MainView.stories.d.ts +3 -2
- package/dist/cjs/types/stories/views/RecipientView.stories.d.ts +2 -2
- package/dist/cjs/types/stories/views/SettingsView.stories.d.ts +6 -0
- package/dist/cjs/types/stories/views/SwapDetailsView.stories.d.ts +9 -0
- package/dist/cjs/types/stories/views/SwapProgressView.stories.d.ts +11 -6
- package/dist/cjs/types/stories/views/TransactionView.stories.d.ts +9 -0
- 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 +43 -11
- package/dist/cjs/types/types/config.d.ts +31 -41
- package/dist/cjs/types/types/index.d.ts +3 -0
- package/dist/cjs/types/types/utils.d.ts +11 -0
- package/dist/esm/index.js +60386 -4770
- package/dist/esm/types/assets/animations/index.d.ts +11 -0
- package/dist/esm/types/components/badges/BadgeImage.d.ts +7 -2
- package/dist/esm/types/components/badges/IconLabel.d.ts +10 -0
- package/dist/esm/types/components/badges/Image.d.ts +9 -0
- package/dist/esm/types/components/badges/LoadingSkeleton.d.ts +20 -0
- package/dist/esm/types/components/badges/TransactionState.d.ts +10 -0
- package/dist/esm/types/components/badges/UsdAmount.d.ts +1 -1
- package/dist/esm/types/components/badges/WalletLink.d.ts +6 -0
- package/dist/esm/types/components/badges/index.d.ts +7 -0
- package/dist/esm/types/components/buttons/AssetsButton.d.ts +21 -0
- package/dist/esm/types/components/buttons/BoostButton.d.ts +6 -6
- package/dist/esm/types/components/buttons/Button.d.ts +9 -2
- package/dist/esm/types/components/buttons/Chip.d.ts +1 -2
- package/dist/esm/types/components/buttons/FeeButton.d.ts +9 -1
- package/dist/esm/types/components/buttons/FilterButton.d.ts +7 -0
- package/dist/esm/types/components/buttons/IconButton.d.ts +6 -0
- package/dist/esm/types/components/buttons/SettingsButton.d.ts +6 -0
- package/dist/esm/types/components/buttons/StopsButton.d.ts +14 -0
- package/dist/esm/types/components/buttons/index.d.ts +11 -7
- package/dist/esm/types/components/controls/Input.d.ts +13 -2
- package/dist/esm/types/components/controls/NumericInput.d.ts +38 -0
- package/dist/esm/types/components/controls/RangeInput.d.ts +10 -0
- package/dist/esm/types/components/controls/SettingsSlider.d.ts +10 -0
- package/dist/esm/types/components/controls/Switch.d.ts +8 -6
- package/dist/esm/types/components/controls/Tooltip.d.ts +12 -8
- package/dist/esm/types/components/controls/index.d.ts +6 -0
- package/dist/esm/types/components/icons/Approve.d.ts +1 -0
- package/dist/esm/types/components/icons/Arrow.d.ts +72 -7
- package/dist/esm/types/components/icons/ArrowRotate.d.ts +1 -0
- package/dist/esm/types/components/icons/Bag.d.ts +5 -0
- package/dist/esm/types/components/icons/BoostBadge.d.ts +1 -0
- package/dist/esm/types/components/icons/Calendar.d.ts +1 -0
- package/dist/esm/types/components/icons/Checkmark.d.ts +10 -1
- package/dist/esm/types/components/icons/Clock.d.ts +20 -0
- package/dist/esm/types/components/icons/Coins.d.ts +12 -0
- package/dist/esm/types/components/icons/Collection.d.ts +1 -0
- package/dist/esm/types/components/icons/CompassRound.d.ts +32 -0
- package/dist/esm/types/components/icons/Copy.d.ts +5 -0
- package/dist/esm/types/components/icons/CrossAnimatedIcon.d.ts +7 -0
- package/dist/esm/types/components/icons/DashboardFast.d.ts +4 -0
- package/dist/esm/types/components/icons/DockIcons.d.ts +10 -0
- package/dist/esm/types/components/icons/DotGrid.d.ts +4 -1
- package/dist/esm/types/components/icons/EmojiSad.d.ts +12 -1
- package/dist/esm/types/components/icons/Filter.d.ts +1 -0
- package/dist/esm/types/components/icons/Generic.d.ts +84 -0
- package/dist/esm/types/components/icons/Heart.d.ts +9 -3
- package/dist/esm/types/components/icons/Help.d.ts +16 -0
- package/dist/esm/types/components/icons/HomeIcon.d.ts +19 -0
- package/dist/esm/types/components/icons/ImageSparkle.d.ts +1 -0
- package/dist/esm/types/components/icons/Infinity.d.ts +4 -0
- package/dist/esm/types/components/icons/Lightning.d.ts +4 -0
- package/dist/esm/types/components/icons/Link.d.ts +2 -0
- package/dist/esm/types/components/icons/Loader.d.ts +5 -2
- package/dist/esm/types/components/icons/NotAllowed.d.ts +1 -0
- package/dist/esm/types/components/icons/Percent.d.ts +8 -0
- package/dist/esm/types/components/icons/PieChart.d.ts +1 -0
- package/dist/esm/types/components/icons/Search.d.ts +4 -1
- package/dist/esm/types/components/icons/Social.d.ts +16 -0
- package/dist/esm/types/components/icons/SquareArrowCenter.d.ts +1 -0
- package/dist/esm/types/components/icons/SquidIcons.d.ts +1 -0
- package/dist/esm/types/components/icons/SquidLogo.d.ts +4 -0
- package/dist/esm/types/components/icons/SwapInputs.d.ts +4 -0
- package/dist/esm/types/components/icons/SwapStatus.d.ts +3 -2
- package/dist/esm/types/components/icons/SwapStepSeparator.d.ts +1 -0
- package/dist/esm/types/components/icons/Tag.d.ts +4 -0
- package/dist/esm/types/components/icons/ThumbsUp.d.ts +3 -0
- package/dist/esm/types/components/icons/Tick.d.ts +3 -0
- package/dist/esm/types/components/icons/Timeline.d.ts +11 -0
- package/dist/esm/types/components/icons/TradingViewSteps.d.ts +4 -0
- package/dist/esm/types/components/icons/Weather.d.ts +20 -0
- package/dist/esm/types/components/icons/index.d.ts +55 -0
- package/dist/esm/types/components/index.d.ts +8 -1
- package/dist/esm/types/components/layout/AnimationWrapper.d.ts +8 -0
- package/dist/esm/types/components/layout/AppContainer.d.ts +531 -0
- package/dist/esm/types/components/layout/Boost.d.ts +13 -1
- package/dist/esm/types/components/layout/Breadcrumb.d.ts +5 -0
- package/dist/esm/types/components/layout/Collapse.d.ts +11 -0
- package/dist/esm/types/components/layout/CollapsibleMenu.d.ts +20 -0
- package/dist/esm/types/components/layout/DescriptionBlocks.d.ts +8 -0
- package/dist/esm/types/components/layout/DetailsToolbar.d.ts +21 -4
- package/dist/esm/types/components/layout/DropdownMenu.d.ts +15 -0
- package/dist/esm/types/components/layout/ErrorMessage.d.ts +6 -0
- package/dist/esm/types/components/layout/HashLink.d.ts +10 -0
- package/dist/esm/types/components/layout/InfoBox.d.ts +8 -0
- package/dist/esm/types/components/layout/Join.d.ts +7 -0
- package/dist/esm/types/components/layout/Menu.d.ts +8 -4
- package/dist/esm/types/components/layout/Modal.d.ts +7 -1
- package/dist/esm/types/components/layout/ModalContent.d.ts +12 -0
- package/dist/esm/types/components/layout/NavigationBar.d.ts +17 -2
- package/dist/esm/types/components/layout/PipeSeparator.d.ts +2 -0
- package/dist/esm/types/components/layout/ProductCard.d.ts +5 -5
- package/dist/esm/types/components/layout/ProfileHeaderBackground.d.ts +1 -0
- package/dist/esm/types/components/layout/SwapConfiguration.d.ts +39 -5
- package/dist/esm/types/components/layout/SwapProgressViewHeader.d.ts +6 -0
- package/dist/esm/types/components/layout/SwapStepsCollapsed.d.ts +18 -0
- package/dist/esm/types/components/layout/Toast.d.ts +10 -0
- package/dist/esm/types/components/layout/TokenPair.d.ts +15 -0
- package/dist/esm/types/components/layout/TransactionFilters.d.ts +20 -0
- package/dist/esm/types/components/layout/TransactionHeader/BridgeHeader.d.ts +11 -0
- package/dist/esm/types/components/layout/TransactionHeader/BuyNFTHeader.d.ts +10 -0
- package/dist/esm/types/components/layout/TransactionHeader/InteractionHeader.d.ts +11 -0
- package/dist/esm/types/components/layout/TransactionHeader/ProfileHeader.d.ts +11 -0
- package/dist/esm/types/components/layout/TransactionHeader/SwapHeader.d.ts +16 -0
- package/dist/esm/types/components/layout/TransactionHeader/TransactionHeader.d.ts +23 -0
- package/dist/esm/types/components/layout/TransactionHeader/TransactionHeaderLayout.d.ts +11 -0
- package/dist/esm/types/components/layout/TransactionHeader/index.d.ts +1 -0
- package/dist/esm/types/components/layout/TransactionProperties/BridgeProperties.d.ts +21 -0
- package/dist/esm/types/components/layout/TransactionProperties/BuyNFTProperties.d.ts +33 -0
- package/dist/esm/types/components/layout/TransactionProperties/InteractionProperties.d.ts +11 -0
- package/dist/esm/types/components/layout/TransactionProperties/PropertiesLayout.d.ts +7 -0
- package/dist/esm/types/components/layout/TransactionProperties/SwapProperties.d.ts +28 -0
- package/dist/esm/types/components/layout/TransactionProperties/TransactionProperties.d.ts +21 -0
- package/dist/esm/types/components/layout/TransactionProperties/index.d.ts +6 -0
- package/dist/esm/types/components/layout/TransactionSearch.d.ts +11 -0
- package/dist/esm/types/components/layout/Transfer.d.ts +9 -0
- package/dist/esm/types/components/layout/index.d.ts +41 -0
- package/dist/esm/types/components/layout/useOnClickOutside.d.ts +4 -0
- package/dist/esm/types/components/lists/DropdownMenuItem.d.ts +19 -2
- package/dist/esm/types/components/lists/DropdownMenuTitle.d.ts +3 -0
- package/dist/esm/types/components/lists/HistoryItem.d.ts +8 -3
- package/dist/esm/types/components/lists/ListItem.d.ts +22 -4
- package/dist/esm/types/components/lists/PropertyListItem.d.ts +14 -0
- package/dist/esm/types/components/lists/RouteStep.d.ts +9 -0
- package/dist/esm/types/components/lists/SectionTitle.d.ts +2 -2
- package/dist/esm/types/components/lists/SettingsItem.d.ts +49 -0
- package/dist/esm/types/components/lists/SwapStepItem.d.ts +10 -0
- package/dist/esm/types/components/lists/TransactionAction/ActionLayout.d.ts +40 -0
- package/dist/esm/types/components/lists/TransactionAction/ApproveAction.d.ts +21 -0
- package/dist/esm/types/components/lists/TransactionAction/BaseActionProps.d.ts +10 -0
- package/dist/esm/types/components/lists/TransactionAction/BridgeAction.d.ts +20 -0
- package/dist/esm/types/components/lists/TransactionAction/FeesAction.d.ts +29 -0
- package/dist/esm/types/components/lists/TransactionAction/IncompleteAction.d.ts +8 -0
- package/dist/esm/types/components/lists/TransactionAction/ReceiveNFTAction.d.ts +21 -0
- package/dist/esm/types/components/lists/TransactionAction/ReceiveTokensAction.d.ts +22 -0
- package/dist/esm/types/components/lists/TransactionAction/SendTokensAction.d.ts +22 -0
- package/dist/esm/types/components/lists/TransactionAction/StakeAction.d.ts +16 -0
- package/dist/esm/types/components/lists/TransactionAction/StartAction.d.ts +8 -0
- package/dist/esm/types/components/lists/TransactionAction/SuccessAction.d.ts +9 -0
- package/dist/esm/types/components/lists/TransactionAction/SwapAction.d.ts +20 -0
- package/dist/esm/types/components/lists/TransactionAction/TransactionAction.d.ts +37 -0
- package/dist/esm/types/components/lists/TransactionAction/WrapAction.d.ts +20 -0
- package/dist/esm/types/components/lists/TransactionAction/index.d.ts +14 -0
- package/dist/esm/types/components/lists/TransactionAction/linkActionTimelineProps.d.ts +2 -0
- package/dist/esm/types/components/lists/TransactionItem.d.ts +29 -0
- package/dist/esm/types/components/lists/index.d.ts +27 -0
- package/dist/esm/types/components/storybook/SwapStepsControls.d.ts +4 -0
- package/dist/esm/types/components/typography/BodyText.d.ts +5 -4
- package/dist/esm/types/components/typography/CaptionText.d.ts +0 -1
- package/dist/esm/types/components/typography/HeadingText.d.ts +5 -3
- package/dist/esm/types/components/typography/index.d.ts +3 -0
- package/dist/esm/types/components/views/AssetsView.d.ts +2 -6
- package/dist/esm/types/components/views/HistoryView.d.ts +1 -0
- package/dist/esm/types/components/views/MainView.d.ts +3 -5
- package/dist/esm/types/components/views/RecipientView.d.ts +1 -1
- package/dist/esm/types/components/views/SettingsView.d.ts +1 -0
- package/dist/esm/types/components/views/SwapDetailsView.d.ts +5 -0
- package/dist/esm/types/components/views/SwapProgressView.d.ts +30 -3
- package/dist/esm/types/components/views/TransactionView/BaseTransactionViewProps.d.ts +10 -0
- package/dist/esm/types/components/views/TransactionView/BridgeTransactionView.d.ts +22 -0
- package/dist/esm/types/components/views/TransactionView/BuyNFTTransactionView.d.ts +34 -0
- package/dist/esm/types/components/views/TransactionView/InteractionTransactionView.d.ts +14 -0
- package/dist/esm/types/components/views/TransactionView/SwapTransactionView.d.ts +30 -0
- package/dist/esm/types/components/views/TransactionView/TransactionView.d.ts +21 -0
- package/dist/esm/types/components/views/TransactionView/TransactionViewLayout.d.ts +11 -0
- package/dist/esm/types/components/views/TransactionView/index.d.ts +6 -0
- package/dist/esm/types/components/views/index.d.ts +13 -0
- package/dist/esm/types/core/constants.d.ts +43 -0
- package/dist/esm/types/core/design-system.d.ts +11 -0
- package/dist/esm/types/core/externalLinks.d.ts +2 -0
- package/dist/esm/types/core/index.d.ts +4 -0
- package/dist/esm/types/core/numbers.d.ts +24 -0
- package/dist/esm/types/core/themes.d.ts +14 -5
- package/dist/esm/types/core/utils.d.ts +59 -1
- package/dist/esm/types/hooks/index.d.ts +7 -0
- package/dist/esm/types/hooks/useCollapsibleMenu.d.ts +6 -0
- package/dist/esm/types/hooks/useDropdownMenu.d.ts +21 -0
- package/dist/esm/types/hooks/useMediaQuery.d.ts +26 -0
- package/dist/esm/types/hooks/useRect.d.ts +3 -0
- package/dist/esm/types/hooks/useTimer.d.ts +7 -0
- package/dist/esm/types/hooks/useUserTheme.d.ts +13 -0
- package/dist/esm/types/hooks/useVersion.d.ts +1 -0
- package/dist/esm/types/index.d.ts +5 -1
- package/dist/esm/types/providers/ThemeProvider.d.ts +11 -0
- package/dist/esm/types/providers/index.d.ts +1 -0
- package/dist/esm/types/services/internal/colorService.d.ts +13 -23
- package/dist/esm/types/stores/container.d.ts +6 -0
- package/dist/esm/types/stories/badges/BadgeImage.stories.d.ts +15 -0
- package/dist/esm/types/stories/badges/IconLabel.stories.d.ts +7 -0
- package/dist/esm/types/stories/badges/ImageIcon.stories.d.ts +7 -0
- package/dist/esm/types/stories/badges/Loader.stories.d.ts +8 -0
- package/dist/esm/types/stories/badges/LoadingSkeleton.stories.d.ts +8 -0
- package/dist/esm/types/stories/badges/TransactionState.stories.d.ts +20 -0
- package/dist/esm/types/stories/badges/UsdAmount.stories.d.ts +2 -2
- package/dist/esm/types/stories/badges/WalletLink.stories.d.ts +6 -0
- 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 +15 -0
- package/dist/esm/types/stories/buttons/BoostButton.stories.d.ts +2 -2
- package/dist/esm/types/stories/buttons/Button.stories.d.ts +13 -2
- package/dist/esm/types/stories/buttons/Chip.stories.d.ts +2 -2
- package/dist/esm/types/stories/buttons/FeeButton.stories.d.ts +3 -2
- package/dist/esm/types/stories/buttons/FilterButton.stories.d.ts +7 -0
- package/dist/esm/types/stories/buttons/IconButon.stories.d.ts +7 -0
- package/dist/esm/types/stories/buttons/SettingsButton.stories.d.ts +7 -0
- package/dist/esm/types/stories/buttons/StopsButton.stories.d.ts +10 -0
- package/dist/esm/types/stories/controls/Input.stories.d.ts +6 -3
- package/dist/esm/types/stories/controls/RangeInput.stories.d.ts +7 -0
- package/dist/esm/types/stories/controls/SettingsSlider.stories.d.ts +11 -0
- package/dist/esm/types/stories/controls/Switch.stories.d.ts +4 -2
- package/dist/esm/types/stories/controls/Tooltip.stories.d.ts +3 -2
- package/dist/esm/types/stories/data/actions.d.ts +225 -0
- package/dist/esm/types/stories/data/network.d.ts +52 -0
- package/dist/esm/types/stories/layout/AppContainer.stories.d.ts +6 -0
- package/dist/esm/types/stories/layout/Boost.stories.d.ts +11 -0
- package/dist/esm/types/stories/layout/DetailsToolbar.stories.d.ts +10 -2
- package/dist/esm/types/stories/layout/DropdownMenu.stories.d.ts +9 -0
- package/dist/esm/types/stories/layout/ErrorMessage.stories.d.ts +7 -0
- package/dist/esm/types/stories/layout/HashLink.stories.d.ts +11 -0
- package/dist/esm/types/stories/layout/InfoBox.stories.d.ts +7 -0
- package/dist/esm/types/stories/layout/Menu.stories.d.ts +4 -3
- package/dist/esm/types/stories/layout/ModalContent.stories.d.ts +9 -0
- package/dist/esm/types/stories/layout/NavigationBar.stories.d.ts +5 -2
- package/dist/esm/types/stories/layout/ProductCard.stories.d.ts +2 -2
- package/dist/esm/types/stories/layout/SwapConfiguration.stories.d.ts +18 -4
- package/dist/esm/types/stories/layout/SwapProgressViewHeader.stories.d.ts +6 -0
- package/dist/esm/types/stories/layout/SwapStepsCollapsed.stories.d.ts +13 -0
- package/dist/esm/types/stories/layout/Toast.stories.d.ts +10 -0
- package/dist/esm/types/stories/layout/TokenPair.stories.d.ts +9 -0
- package/dist/esm/types/stories/layout/TransactionFilters.stories.d.ts +6 -0
- package/dist/esm/types/stories/layout/TransactionHeader.stories.d.ts +10 -0
- package/dist/esm/types/stories/layout/TransactionProperties.stories.d.ts +9 -0
- package/dist/esm/types/stories/layout/TransactionSearch.stories.d.ts +7 -0
- package/dist/esm/types/stories/layout/Transfer.stories.d.ts +7 -0
- 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 +8 -3
- package/dist/esm/types/stories/lists/ListItem.stories.d.ts +22 -3
- package/dist/esm/types/stories/lists/MenuItem.stories.d.ts +2 -2
- package/dist/esm/types/stories/lists/PropertyListItem.stories.d.ts +11 -0
- 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 +14 -0
- package/dist/esm/types/stories/lists/SwapStepItem.stories.d.ts +27 -0
- package/dist/esm/types/stories/lists/TransactionAction.stories.d.ts +23 -0
- package/dist/esm/types/stories/lists/TransactionItem.stories.d.ts +15 -0
- 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 +6 -0
- package/dist/esm/types/stories/views/MainView.stories.d.ts +3 -2
- package/dist/esm/types/stories/views/RecipientView.stories.d.ts +2 -2
- package/dist/esm/types/stories/views/SettingsView.stories.d.ts +6 -0
- package/dist/esm/types/stories/views/SwapDetailsView.stories.d.ts +9 -0
- package/dist/esm/types/stories/views/SwapProgressView.stories.d.ts +11 -6
- package/dist/esm/types/stories/views/TransactionView.stories.d.ts +9 -0
- 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 +43 -11
- package/dist/esm/types/types/config.d.ts +31 -41
- package/dist/esm/types/types/index.d.ts +3 -0
- package/dist/esm/types/types/utils.d.ts +11 -0
- package/dist/fonts/Geist-Variable.woff2 +0 -0
- package/dist/fonts/fonts/Geist-Variable.woff2 +0 -0
- package/dist/index.css +2 -2178
- package/dist/index.d.ts +2699 -19
- package/package.json +35 -15
- package/dist/cjs/types/components/buttons/Dropdown.d.ts +0 -7
- package/dist/cjs/types/components/icons/Animations.d.ts +0 -2
- package/dist/cjs/types/components/layout/WalletAddress.d.ts +0 -6
- package/dist/cjs/types/providers/SquidConfigProvider.d.ts +0 -7
- package/dist/cjs/types/services/internal/walletService.d.ts +0 -1
- package/dist/cjs/types/stories/buttons/Dropdown.stories.d.ts +0 -8
- package/dist/esm/types/components/buttons/Dropdown.d.ts +0 -7
- package/dist/esm/types/components/icons/Animations.d.ts +0 -2
- package/dist/esm/types/components/layout/WalletAddress.d.ts +0 -6
- package/dist/esm/types/providers/SquidConfigProvider.d.ts +0 -7
- package/dist/esm/types/services/internal/walletService.d.ts +0 -1
- package/dist/esm/types/stories/buttons/Dropdown.stories.d.ts +0 -8
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
interface DropdownMenuProps {
|
|
3
|
+
dropdownRef?: React.RefObject<HTMLDivElement>;
|
|
4
|
+
menuRef?: React.RefObject<HTMLDivElement>;
|
|
5
|
+
className?: string;
|
|
6
|
+
isHidden?: boolean;
|
|
7
|
+
listClassName?: string;
|
|
8
|
+
containerClassName?: string;
|
|
9
|
+
containerRef?: React.RefObject<HTMLDivElement>;
|
|
10
|
+
children?: React.ReactNode;
|
|
11
|
+
contentWrapperProps?: React.ComponentProps<"div">;
|
|
12
|
+
menuContentClassName?: string;
|
|
13
|
+
}
|
|
14
|
+
export declare function DropdownMenu({ dropdownRef, className, menuRef, isHidden, listClassName, containerClassName, children, contentWrapperProps, menuContentClassName, }: DropdownMenuProps): import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ReactNode } from "react";
|
|
2
|
+
interface HashLinkProps {
|
|
3
|
+
showTx?: boolean;
|
|
4
|
+
hash: string;
|
|
5
|
+
children?: ReactNode;
|
|
6
|
+
showCopyButton?: boolean;
|
|
7
|
+
url?: string;
|
|
8
|
+
}
|
|
9
|
+
export declare function HashLink({ showTx, hash, showCopyButton, url, children, }: HashLinkProps): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ReactNode } from "react";
|
|
2
|
+
interface InfoBoxProps {
|
|
3
|
+
title: string;
|
|
4
|
+
description: string | ReactNode;
|
|
5
|
+
icon?: ReactNode;
|
|
6
|
+
}
|
|
7
|
+
export declare function InfoBox({ title, description, icon }: InfoBoxProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export {};
|
|
@@ -1,7 +1,11 @@
|
|
|
1
|
-
import React from
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import React from "react";
|
|
2
|
+
type Rounded = "sm" | "lg";
|
|
3
|
+
interface MenuProps extends React.ComponentProps<"div"> {
|
|
4
|
+
containerClassName?: string;
|
|
4
5
|
contentClassName?: string;
|
|
6
|
+
rounded?: Rounded;
|
|
7
|
+
menuRef?: React.RefObject<HTMLDivElement>;
|
|
8
|
+
contentWrapperProps?: React.ComponentProps<"div">;
|
|
5
9
|
}
|
|
6
|
-
export declare function Menu({ children,
|
|
10
|
+
export declare function Menu({ children, containerClassName, contentClassName, rounded, menuRef, contentWrapperProps, ...props }: MenuProps): import("react/jsx-runtime").JSX.Element;
|
|
7
11
|
export {};
|
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
+
type ModalWidth = "large" | "extra-large";
|
|
2
3
|
interface ModalProps {
|
|
3
4
|
children: React.ReactNode;
|
|
5
|
+
className?: string;
|
|
6
|
+
onBackdropClick?: () => void;
|
|
7
|
+
isOpen?: boolean;
|
|
8
|
+
maxHeight?: boolean;
|
|
9
|
+
width?: ModalWidth;
|
|
4
10
|
}
|
|
5
|
-
export declare function Modal({ children }: ModalProps): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export declare function Modal({ children, className, onBackdropClick, isOpen: _isOpen, maxHeight, width, }: ModalProps): false | import("react/jsx-runtime").JSX.Element;
|
|
6
12
|
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
type ModalContentBorderType = "border" | "outline";
|
|
3
|
+
interface ModalContentProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
4
|
+
children?: React.ReactNode;
|
|
5
|
+
addGap?: boolean;
|
|
6
|
+
paddingY?: boolean;
|
|
7
|
+
borderType?: ModalContentBorderType;
|
|
8
|
+
className?: string;
|
|
9
|
+
}
|
|
10
|
+
export declare function ModalContent({ children, addGap, paddingY, borderType, className, ...props }: ModalContentProps): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export declare function ModalContentDivider(): import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
export {};
|
|
@@ -1,7 +1,22 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ChipProps } from "../buttons";
|
|
3
|
+
import { TooltipProps } from "../controls";
|
|
4
|
+
export type ActionButton = {
|
|
5
|
+
labelOrIcon: string | React.ReactNode;
|
|
6
|
+
onClick?: () => void;
|
|
7
|
+
id: React.Key;
|
|
8
|
+
tooltip?: Omit<TooltipProps, "children">;
|
|
9
|
+
chip?: ChipProps;
|
|
10
|
+
};
|
|
11
|
+
interface NavigationBarProps extends React.ComponentProps<"nav"> {
|
|
2
12
|
title?: string;
|
|
3
13
|
displayBackButton?: boolean;
|
|
4
14
|
logoUrl?: string;
|
|
15
|
+
transparent?: boolean;
|
|
16
|
+
displayButtonShadows?: boolean;
|
|
17
|
+
onBackButtonClick?: () => void;
|
|
18
|
+
actions?: ActionButton[];
|
|
19
|
+
isLoading?: boolean;
|
|
5
20
|
}
|
|
6
|
-
export declare function NavigationBar({ title, displayBackButton, logoUrl, }: NavigationBarProps): import("react/jsx-runtime").JSX.Element;
|
|
21
|
+
export declare function NavigationBar({ title, displayBackButton, logoUrl, transparent, displayButtonShadows, onBackButtonClick, actions, isLoading, ...props }: NavigationBarProps): import("react/jsx-runtime").JSX.Element;
|
|
7
22
|
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
2
|
+
export declare function ProductCard({ children }: React.PropsWithChildren): import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export declare function BorderedContainer({ children, className, }: {
|
|
4
|
+
children: React.ReactNode;
|
|
5
|
+
className?: string;
|
|
6
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function ProfileHeaderBackground(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,18 +1,52 @@
|
|
|
1
|
-
import { SwapDirection } from
|
|
1
|
+
import { AssetsButtonVariant, SwapDirection } from "../../types/components";
|
|
2
|
+
import { TooltipProps } from "../controls";
|
|
2
3
|
interface SwapConfigurationProps {
|
|
3
4
|
direction: SwapDirection;
|
|
4
|
-
priceImpactPercentage?:
|
|
5
|
-
amount?:
|
|
6
|
-
|
|
5
|
+
priceImpactPercentage?: string;
|
|
6
|
+
amount?: string;
|
|
7
|
+
tokenPrice?: number;
|
|
7
8
|
balance?: string;
|
|
8
9
|
isFetching?: boolean;
|
|
9
10
|
chain?: {
|
|
10
11
|
iconUrl: string;
|
|
12
|
+
bgColor: string;
|
|
11
13
|
};
|
|
12
14
|
token?: {
|
|
13
15
|
iconUrl: string;
|
|
14
16
|
symbol: string;
|
|
17
|
+
bgColor: string;
|
|
18
|
+
textColor: string;
|
|
19
|
+
decimals: number;
|
|
15
20
|
};
|
|
21
|
+
onAmountChange?: (amount: string) => void;
|
|
22
|
+
error?: {
|
|
23
|
+
message: string;
|
|
24
|
+
};
|
|
25
|
+
criticalPriceImpactPercentage?: number;
|
|
26
|
+
maxUsdDecimals?: number;
|
|
27
|
+
isInputInteractive?: boolean;
|
|
28
|
+
isLoading?: boolean;
|
|
29
|
+
inputModeButton?: {
|
|
30
|
+
usdModeTooltip?: Omit<TooltipProps, "children">;
|
|
31
|
+
tokenModeTooltip?: Omit<TooltipProps, "children">;
|
|
32
|
+
amountUsd?: string;
|
|
33
|
+
};
|
|
34
|
+
balanceButton?: {
|
|
35
|
+
tooltip?: Omit<TooltipProps, "children">;
|
|
36
|
+
};
|
|
37
|
+
assetsButton?: {
|
|
38
|
+
tooltip?: Omit<TooltipProps, "children">;
|
|
39
|
+
onClick?: () => void;
|
|
40
|
+
variant?: AssetsButtonVariant;
|
|
41
|
+
};
|
|
42
|
+
walletButton?: {
|
|
43
|
+
tooltip?: Omit<TooltipProps, "children">;
|
|
44
|
+
onClick?: () => void;
|
|
45
|
+
address?: string;
|
|
46
|
+
emptyAddressLabel?: string;
|
|
47
|
+
disabled?: boolean;
|
|
48
|
+
};
|
|
49
|
+
showNumericInputDetails?: boolean;
|
|
16
50
|
}
|
|
17
|
-
export declare function SwapConfiguration({
|
|
51
|
+
export declare function SwapConfiguration({ amount, tokenPrice, isFetching: isFetchingProp, chain, token, direction, onAmountChange, balance, criticalPriceImpactPercentage, error, priceImpactPercentage, maxUsdDecimals, isInputInteractive, isLoading, inputModeButton, balanceButton, assetsButton, walletButton, showNumericInputDetails, }: SwapConfigurationProps): import("react/jsx-runtime").JSX.Element;
|
|
18
52
|
export {};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { SwapStep } from "../../types/components";
|
|
3
|
+
export type SwapStepsCollapsedFooterButton = {
|
|
4
|
+
label: string;
|
|
5
|
+
link?: string;
|
|
6
|
+
onClick?: () => void;
|
|
7
|
+
};
|
|
8
|
+
interface SwapStepsCollapsedProps {
|
|
9
|
+
steps: SwapStep[];
|
|
10
|
+
currentStepIndex: number;
|
|
11
|
+
onOpen?: () => void;
|
|
12
|
+
onClose?: () => void;
|
|
13
|
+
footerButton?: SwapStepsCollapsedFooterButton;
|
|
14
|
+
}
|
|
15
|
+
export declare const SwapStepsCollapsed: import("react").ForwardRefExoticComponent<SwapStepsCollapsedProps & import("react").RefAttributes<{
|
|
16
|
+
handleToggleRouteSteps: () => void;
|
|
17
|
+
}>>;
|
|
18
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
interface ToastProps {
|
|
3
|
+
title: string;
|
|
4
|
+
description: string;
|
|
5
|
+
headerContent?: React.ReactNode;
|
|
6
|
+
actionsContent?: React.ReactNode;
|
|
7
|
+
chipLabel?: string;
|
|
8
|
+
}
|
|
9
|
+
export declare function Toast({ headerContent, actionsContent, description, chipLabel, title, }: ToastProps): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { TokenPairSize, TokenPairVariant } from "../../types/components";
|
|
2
|
+
interface TokenPairProps {
|
|
3
|
+
firstToken?: {
|
|
4
|
+
logoURI: string;
|
|
5
|
+
bgColor: string;
|
|
6
|
+
};
|
|
7
|
+
secondToken?: {
|
|
8
|
+
logoURI: string;
|
|
9
|
+
bgColor: string;
|
|
10
|
+
};
|
|
11
|
+
variant?: TokenPairVariant;
|
|
12
|
+
size?: TokenPairSize;
|
|
13
|
+
}
|
|
14
|
+
export declare function TokenPair({ firstToken, secondToken, variant, size, }: TokenPairProps): import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
export {};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import "react-day-picker/dist/style.css";
|
|
2
|
+
import { ChainTypeFilter, StatusFilter as TStatusFilter } from "../../types/components";
|
|
3
|
+
interface TransactionFiltersProps {
|
|
4
|
+
chainType?: ChainTypeFilter;
|
|
5
|
+
setChainType: (chainType: ChainTypeFilter) => void;
|
|
6
|
+
chain?: string;
|
|
7
|
+
setChain: (chain?: string) => void;
|
|
8
|
+
fromDate?: Date;
|
|
9
|
+
setFromDate: (fromDate?: Date) => void;
|
|
10
|
+
toDate?: Date;
|
|
11
|
+
setToDate: (toDate?: Date) => void;
|
|
12
|
+
status?: TStatusFilter[];
|
|
13
|
+
setStatus: (status?: TStatusFilter[]) => void;
|
|
14
|
+
chains: {
|
|
15
|
+
name: string;
|
|
16
|
+
logoURI: string;
|
|
17
|
+
}[];
|
|
18
|
+
}
|
|
19
|
+
export declare function TransactionFilters({ chainType, setChainType, chain, setChain, fromDate, setFromDate, toDate, setToDate, status, setStatus, chains, }: TransactionFiltersProps): import("react/jsx-runtime").JSX.Element;
|
|
20
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ActionStatus } from "../../../types/components";
|
|
2
|
+
interface BridgeHeaderProps {
|
|
3
|
+
tokenLogoURI: string;
|
|
4
|
+
chainLogoURI: string;
|
|
5
|
+
title?: string;
|
|
6
|
+
hash: string;
|
|
7
|
+
url?: string;
|
|
8
|
+
status: ActionStatus;
|
|
9
|
+
}
|
|
10
|
+
export declare function BridgeHeader({ tokenLogoURI, chainLogoURI, title, hash, url, status, }: BridgeHeaderProps): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ActionStatus } from "../../../types/components";
|
|
2
|
+
interface BuyNFTHeaderProps {
|
|
3
|
+
imageUrl: string;
|
|
4
|
+
title?: string;
|
|
5
|
+
hash: string;
|
|
6
|
+
url?: string;
|
|
7
|
+
status: ActionStatus;
|
|
8
|
+
}
|
|
9
|
+
export declare function BuyNFTHeader({ imageUrl, title, hash, url, status, }: BuyNFTHeaderProps): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ReactNode } from "react";
|
|
2
|
+
import { ActionStatus } from "../../../types/components";
|
|
3
|
+
interface InteractionHeaderProps {
|
|
4
|
+
title?: string;
|
|
5
|
+
image?: ReactNode;
|
|
6
|
+
hash: string;
|
|
7
|
+
url?: string;
|
|
8
|
+
status: ActionStatus;
|
|
9
|
+
}
|
|
10
|
+
export declare function InteractionHeader({ title, image, hash, url, status, }: InteractionHeaderProps): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
interface ProfileHeaderProps {
|
|
2
|
+
imageUrl: string;
|
|
3
|
+
title: string;
|
|
4
|
+
wallet: {
|
|
5
|
+
imageURI: string;
|
|
6
|
+
address: string;
|
|
7
|
+
};
|
|
8
|
+
amount: string;
|
|
9
|
+
}
|
|
10
|
+
export declare function ProfileHeader({ imageUrl, title, wallet, amount, }: ProfileHeaderProps): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { ActionStatus } from "../../../types/components";
|
|
2
|
+
export interface SwapHeaderProps {
|
|
3
|
+
fromToken: {
|
|
4
|
+
logoURI: string;
|
|
5
|
+
bgColor: string;
|
|
6
|
+
};
|
|
7
|
+
toToken: {
|
|
8
|
+
logoURI: string;
|
|
9
|
+
bgColor: string;
|
|
10
|
+
};
|
|
11
|
+
title?: string;
|
|
12
|
+
hash: string;
|
|
13
|
+
url?: string;
|
|
14
|
+
status: ActionStatus;
|
|
15
|
+
}
|
|
16
|
+
export declare function SwapHeader({ fromToken, toToken, title, hash, url, status, }: SwapHeaderProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { ComponentProps } from "react";
|
|
2
|
+
import { BridgeHeader } from "./BridgeHeader";
|
|
3
|
+
import { BuyNFTHeader } from "./BuyNFTHeader";
|
|
4
|
+
import { InteractionHeader } from "./InteractionHeader";
|
|
5
|
+
import { ProfileHeader } from "./ProfileHeader";
|
|
6
|
+
import { SwapHeader } from "./SwapHeader";
|
|
7
|
+
declare const headerComponentsMap: {
|
|
8
|
+
readonly swap: typeof SwapHeader;
|
|
9
|
+
readonly buy_nft: typeof BuyNFTHeader;
|
|
10
|
+
readonly interaction: typeof InteractionHeader;
|
|
11
|
+
readonly bridge: typeof BridgeHeader;
|
|
12
|
+
readonly profile: typeof ProfileHeader;
|
|
13
|
+
};
|
|
14
|
+
type TransactionHeaderComponents = typeof headerComponentsMap;
|
|
15
|
+
export type TransactionHeaderType = keyof TransactionHeaderComponents;
|
|
16
|
+
export type TransactionHeaderProps = {
|
|
17
|
+
[Type in TransactionHeaderType]: {
|
|
18
|
+
type: Type;
|
|
19
|
+
props: ComponentProps<TransactionHeaderComponents[Type]>;
|
|
20
|
+
};
|
|
21
|
+
}[TransactionHeaderType];
|
|
22
|
+
export declare function TransactionHeader({ type, props }: TransactionHeaderProps): import("react/jsx-runtime").JSX.Element;
|
|
23
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ReactNode } from "react";
|
|
2
|
+
import { ActionStatus } from "../../../types/components";
|
|
3
|
+
interface TransactionHeaderLayoutProps {
|
|
4
|
+
isLoading?: boolean;
|
|
5
|
+
status?: ActionStatus;
|
|
6
|
+
title?: string;
|
|
7
|
+
image?: ReactNode;
|
|
8
|
+
children?: ReactNode;
|
|
9
|
+
}
|
|
10
|
+
export declare function TransactionHeaderLayout({ isLoading, status, title, image, children, }: TransactionHeaderLayoutProps): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./TransactionHeader";
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
interface BridgePropertiesProps {
|
|
2
|
+
amount: string;
|
|
3
|
+
token: {
|
|
4
|
+
logoURI: string;
|
|
5
|
+
bgColor: string;
|
|
6
|
+
symbol: string;
|
|
7
|
+
};
|
|
8
|
+
fromChain: {
|
|
9
|
+
logoURI: string;
|
|
10
|
+
name: string;
|
|
11
|
+
};
|
|
12
|
+
toChain: {
|
|
13
|
+
logoURI: string;
|
|
14
|
+
name: string;
|
|
15
|
+
};
|
|
16
|
+
wallet: string;
|
|
17
|
+
boosted?: boolean;
|
|
18
|
+
timeToComplete: string;
|
|
19
|
+
}
|
|
20
|
+
export declare function BridgeProperties({ amount, token, fromChain, toChain, wallet, boosted, timeToComplete, }: BridgePropertiesProps): import("react/jsx-runtime").JSX.Element;
|
|
21
|
+
export default BridgeProperties;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
interface BuyNFTPropertiesProps {
|
|
2
|
+
title: string;
|
|
3
|
+
imageURI: string;
|
|
4
|
+
collection: {
|
|
5
|
+
imageURI: string;
|
|
6
|
+
name: string;
|
|
7
|
+
};
|
|
8
|
+
price: string;
|
|
9
|
+
token: {
|
|
10
|
+
logoURI: string;
|
|
11
|
+
symbol: string;
|
|
12
|
+
};
|
|
13
|
+
marketplace: {
|
|
14
|
+
logoURI: string;
|
|
15
|
+
name: string;
|
|
16
|
+
};
|
|
17
|
+
fromChain: {
|
|
18
|
+
logoURI: string;
|
|
19
|
+
name: string;
|
|
20
|
+
};
|
|
21
|
+
toChain: {
|
|
22
|
+
logoURI: string;
|
|
23
|
+
name: string;
|
|
24
|
+
};
|
|
25
|
+
fromAddress: string;
|
|
26
|
+
toAddress: string;
|
|
27
|
+
boosted?: boolean;
|
|
28
|
+
timeToComplete: string;
|
|
29
|
+
tokenId: string;
|
|
30
|
+
nftType: string;
|
|
31
|
+
}
|
|
32
|
+
export declare function BuyNFTProperties({ title, imageURI, collection, price, token, marketplace, fromChain, toChain, fromAddress, toAddress, boosted, timeToComplete, tokenId, nftType, }: BuyNFTPropertiesProps): import("react/jsx-runtime").JSX.Element;
|
|
33
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
interface InteractionPropertiesProps {
|
|
2
|
+
chain: {
|
|
3
|
+
logoURI: string;
|
|
4
|
+
name: string;
|
|
5
|
+
};
|
|
6
|
+
wallet: string;
|
|
7
|
+
boosted?: boolean;
|
|
8
|
+
timeToComplete: string;
|
|
9
|
+
}
|
|
10
|
+
export declare function InteractionProperties({ chain, wallet, boosted, timeToComplete, }: InteractionPropertiesProps): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
export interface SwapPropertiesProps {
|
|
2
|
+
fromAmount: string;
|
|
3
|
+
fromToken: {
|
|
4
|
+
logoURI: string;
|
|
5
|
+
bgColor: string;
|
|
6
|
+
symbol: string;
|
|
7
|
+
};
|
|
8
|
+
toAmount: string;
|
|
9
|
+
toToken: {
|
|
10
|
+
logoURI: string;
|
|
11
|
+
bgColor: string;
|
|
12
|
+
symbol: string;
|
|
13
|
+
};
|
|
14
|
+
fromChain: {
|
|
15
|
+
logoURI: string;
|
|
16
|
+
name: string;
|
|
17
|
+
};
|
|
18
|
+
toChain: {
|
|
19
|
+
logoURI: string;
|
|
20
|
+
name: string;
|
|
21
|
+
};
|
|
22
|
+
fromAddress: string;
|
|
23
|
+
toAddress: string;
|
|
24
|
+
exchangeRate: string;
|
|
25
|
+
boosted?: boolean;
|
|
26
|
+
timeToComplete: string;
|
|
27
|
+
}
|
|
28
|
+
export declare function SwapProperties({ fromAmount, fromToken, toAmount, toToken, fromChain, toChain, fromAddress, toAddress, exchangeRate, boosted, timeToComplete, }: SwapPropertiesProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { ComponentProps } from "react";
|
|
2
|
+
import BridgeProperties from "./BridgeProperties";
|
|
3
|
+
import { BuyNFTProperties } from "./BuyNFTProperties";
|
|
4
|
+
import { InteractionProperties } from "./InteractionProperties";
|
|
5
|
+
import { SwapProperties } from "./SwapProperties";
|
|
6
|
+
declare const propertiesComponentsMap: {
|
|
7
|
+
readonly swap: typeof SwapProperties;
|
|
8
|
+
readonly buy_nft: typeof BuyNFTProperties;
|
|
9
|
+
readonly interaction: typeof InteractionProperties;
|
|
10
|
+
readonly bridge: typeof BridgeProperties;
|
|
11
|
+
};
|
|
12
|
+
type TransactionPropertiesComponents = typeof propertiesComponentsMap;
|
|
13
|
+
export type TransactionPropertiesType = keyof TransactionPropertiesComponents;
|
|
14
|
+
export type TransactionPropertiesProps = {
|
|
15
|
+
[Type in TransactionPropertiesType]: {
|
|
16
|
+
type: Type;
|
|
17
|
+
props: ComponentProps<TransactionPropertiesComponents[Type]>;
|
|
18
|
+
};
|
|
19
|
+
}[TransactionPropertiesType];
|
|
20
|
+
export declare function TransactionProperties({ type, props, }: TransactionPropertiesProps): import("react/jsx-runtime").JSX.Element;
|
|
21
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ReactNode } from "react";
|
|
2
|
+
interface TransactionSearchProps {
|
|
3
|
+
query: string;
|
|
4
|
+
setQuery: (query: string) => void;
|
|
5
|
+
children?: ReactNode;
|
|
6
|
+
className?: string;
|
|
7
|
+
onFocus?: () => void;
|
|
8
|
+
onBlur?: () => void;
|
|
9
|
+
}
|
|
10
|
+
export declare function TransactionSearch({ query, setQuery, children, className, onFocus, onBlur, }: TransactionSearchProps): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ReactNode } from "react";
|
|
2
|
+
interface FromToProps {
|
|
3
|
+
isLoading?: boolean;
|
|
4
|
+
from?: ReactNode;
|
|
5
|
+
to?: ReactNode;
|
|
6
|
+
className?: string;
|
|
7
|
+
}
|
|
8
|
+
export declare function Transfer({ isLoading, from, to, className }: FromToProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
export * from "./AnimationWrapper";
|
|
2
|
+
export * from "./AppContainer";
|
|
3
|
+
export * from "./Boost";
|
|
4
|
+
export * from "./Breadcrumb";
|
|
5
|
+
export * from "./Collapse";
|
|
6
|
+
export * from "./DescriptionBlocks";
|
|
7
|
+
export * from "./DetailsToolbar";
|
|
8
|
+
export * from "./DropdownMenu";
|
|
9
|
+
export * from "./ErrorMessage";
|
|
10
|
+
export * from "./HashLink";
|
|
11
|
+
export * from "./InfoBox";
|
|
12
|
+
export * from "./Join";
|
|
13
|
+
export * from "./Menu";
|
|
14
|
+
export * from "./Modal";
|
|
15
|
+
export * from "./ModalContent";
|
|
16
|
+
export * from "./NavigationBar";
|
|
17
|
+
export * from "./PipeSeparator";
|
|
18
|
+
export * from "./CollapsibleMenu";
|
|
19
|
+
export * from "./ProductCard";
|
|
20
|
+
export * from "./ProfileHeaderBackground";
|
|
21
|
+
export * from "./SwapConfiguration";
|
|
22
|
+
export * from "./SwapProgressViewHeader";
|
|
23
|
+
export * from "./SwapStepsCollapsed";
|
|
24
|
+
export * from "./TokenPair";
|
|
25
|
+
export * from "./TransactionFilters";
|
|
26
|
+
export * from "./TransactionHeader/BridgeHeader";
|
|
27
|
+
export * from "./TransactionHeader/BuyNFTHeader";
|
|
28
|
+
export * from "./TransactionHeader/InteractionHeader";
|
|
29
|
+
export * from "./TransactionHeader/ProfileHeader";
|
|
30
|
+
export * from "./TransactionHeader/SwapHeader";
|
|
31
|
+
export * from "./TransactionHeader/TransactionHeader";
|
|
32
|
+
export * from "./TransactionHeader/TransactionHeaderLayout";
|
|
33
|
+
export * from "./TransactionProperties/BridgeProperties";
|
|
34
|
+
export * from "./TransactionProperties/BuyNFTProperties";
|
|
35
|
+
export * from "./TransactionProperties/InteractionProperties";
|
|
36
|
+
export * from "./TransactionProperties/PropertiesLayout";
|
|
37
|
+
export * from "./TransactionProperties/SwapProperties";
|
|
38
|
+
export * from "./TransactionProperties/TransactionProperties";
|
|
39
|
+
export * from "./TransactionSearch";
|
|
40
|
+
export * from "./Transfer";
|
|
41
|
+
export * from "./Toast";
|
|
@@ -1,8 +1,25 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
|
|
2
|
+
import { AllOrNone } from "../../types";
|
|
3
|
+
import { SwitchProps } from "../controls";
|
|
4
|
+
interface DropdownMenuItemControl extends Omit<SwitchProps, "size"> {
|
|
5
|
+
type: "switch";
|
|
6
|
+
}
|
|
7
|
+
export interface DropdownMenuItemProps {
|
|
3
8
|
label: string;
|
|
9
|
+
labelClassName?: string;
|
|
4
10
|
imageUrl?: string;
|
|
5
11
|
icon?: React.ReactNode;
|
|
12
|
+
onClick?: (event: React.MouseEvent<HTMLButtonElement>) => void;
|
|
13
|
+
link?: string;
|
|
14
|
+
control?: DropdownMenuItemControl;
|
|
15
|
+
detail?: React.ReactNode;
|
|
16
|
+
isSelected?: boolean;
|
|
17
|
+
itemRef?: React.RefObject<HTMLLIElement>;
|
|
18
|
+
children?: React.ReactNode;
|
|
19
|
+
contentRef?: React.RefObject<HTMLButtonElement>;
|
|
6
20
|
}
|
|
7
|
-
export declare function DropdownMenuItem(
|
|
21
|
+
export declare function DropdownMenuItem(props: DropdownMenuItemProps & AllOrNone<{
|
|
22
|
+
submenu: React.ReactNode;
|
|
23
|
+
containerRef: React.RefObject<HTMLDivElement>;
|
|
24
|
+
}>): import("react/jsx-runtime").JSX.Element;
|
|
8
25
|
export {};
|