@rango-dev/ui 0.31.0 → 0.31.1-next.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/CHANGELOG.md +17 -0
- package/dist/index.js +1 -19
- package/dist/index.js.map +4 -4
- package/dist/widget/ui/src/components/Alert/{AlertIcon.d.ts → Alert.icon.d.ts} +1 -1
- package/dist/widget/ui/src/components/Alert/Alert.icon.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Alert/index.d.ts +0 -2
- package/dist/widget/ui/src/components/Alert/index.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Collapsible/Collapsible.stories.d.ts +0 -1
- package/dist/widget/ui/src/components/Collapsible/Collapsible.stories.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Divider/Divider.styles.d.ts +1 -1
- package/dist/widget/ui/src/components/Flags/flags.stories.d.ts +6 -0
- package/dist/widget/ui/src/components/Flags/flags.stories.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Logo/index.d.ts +2 -0
- package/dist/widget/ui/src/components/Logo/index.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Popover/Popover.stories.d.ts.map +1 -1
- package/dist/widget/ui/src/components/QuoteCost/QuoteCost.d.ts.map +1 -1
- package/dist/widget/ui/src/components/RefreshProgressButton/RefreshProgressButton.stories.d.ts +12 -0
- package/dist/widget/ui/src/components/RefreshProgressButton/RefreshProgressButton.stories.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Select/Select.stories.d.ts +6 -0
- package/dist/widget/ui/src/components/Select/Select.stories.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Select/{select.styles.d.ts → Select.styles.d.ts} +1 -1
- package/dist/widget/ui/src/components/Select/{select.styles.d.ts.map → Select.styles.d.ts.map} +1 -1
- package/dist/widget/ui/src/components/{TokenList/TokenList.stories.d.ts → SelectableCategoryList/SelectableCategoryList.stories.d.ts} +2 -2
- package/dist/widget/ui/src/components/SelectableCategoryList/SelectableCategoryList.stories.d.ts.map +1 -0
- package/dist/widget/ui/src/components/SelectableCategoryList/mock.d.ts +139 -0
- package/dist/widget/ui/src/components/SelectableCategoryList/mock.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Spinner/Spinner.d.ts +1 -7
- package/dist/widget/ui/src/components/Spinner/Spinner.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Spinner/Spinner.stories.d.ts +1 -1
- package/dist/widget/ui/src/components/Spinner/Spinner.stories.d.ts.map +1 -1
- package/dist/widget/ui/src/components/{common/FilledCircle.d.ts → Spinner/Spinner.styles.d.ts} +2 -2
- package/dist/widget/ui/src/components/Spinner/Spinner.styles.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Spinner/Spinner.types.d.ts +8 -0
- package/dist/widget/ui/src/components/Spinner/Spinner.types.d.ts.map +1 -0
- package/dist/widget/ui/src/components/StepDetails/StepDetails.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Switch/Switch.stories.d.ts +1 -1
- package/dist/widget/ui/src/components/Switch/Switch.stories.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Tabs/Tabs.stories.d.ts +162 -0
- package/dist/widget/ui/src/components/Tabs/Tabs.stories.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Tabs/mock.d.ts +7 -0
- package/dist/widget/ui/src/components/Tabs/mock.d.ts.map +1 -0
- package/dist/widget/ui/src/components/TokenAmount/TokenAmount.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Typography/Typography.styles.d.ts +0 -4
- package/dist/widget/ui/src/components/Typography/Typography.styles.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Typography/Typography.types.d.ts +0 -5
- package/dist/widget/ui/src/components/Typography/Typography.types.d.ts.map +1 -1
- package/dist/widget/ui/src/components/common/index.d.ts +0 -1
- package/dist/widget/ui/src/components/common/index.d.ts.map +1 -1
- package/dist/widget/ui/src/components/index.d.ts +0 -11
- package/dist/widget/ui/src/components/index.d.ts.map +1 -1
- package/dist/widget/ui/src/containers/ConnectWalletsModal/mockData.d.ts +1 -1
- package/dist/widget/ui/src/containers/ConnectWalletsModal/mockData.d.ts.map +1 -1
- package/dist/widget/ui/src/containers/SwapInput/SwapInput.d.ts.map +1 -1
- package/dist/widget/ui/src/containers/Warnings/index.d.ts +0 -2
- package/dist/widget/ui/src/containers/Warnings/index.d.ts.map +1 -1
- package/dist/widget/ui/src/containers/index.d.ts +0 -5
- package/dist/widget/ui/src/containers/index.d.ts.map +1 -1
- package/package.json +5 -5
- package/src/components/Alert/Alert.tsx +1 -1
- package/src/components/Alert/index.ts +0 -2
- package/src/components/BottomLogo/BottomLogo.tsx +1 -1
- package/src/components/Collapsible/Collapsible.stories.tsx +10 -9
- package/src/components/Flags/flags.stories.tsx +67 -0
- package/src/components/Logo/index.tsx +1 -0
- package/src/components/Popover/Popover.stories.tsx +2 -3
- package/src/components/PriceImpact/PriceImpact.tsx +15 -15
- package/src/components/QuoteCost/QuoteCost.tsx +7 -3
- package/src/components/RefreshProgressButton/RefreshProgressButton.stories.tsx +20 -0
- package/src/components/Select/Select.stories.tsx +41 -0
- package/src/components/Select/Select.tsx +1 -1
- package/src/components/SelectableCategoryList/SelectableCategoryList.stories.tsx +27 -0
- package/src/components/SelectableCategoryList/mock.ts +235 -0
- package/src/components/Spinner/Spinner.stories.tsx +6 -2
- package/src/components/Spinner/Spinner.styles.ts +15 -0
- package/src/components/Spinner/Spinner.tsx +2 -23
- package/src/components/Spinner/Spinner.types.ts +9 -0
- package/src/components/StepDetails/StepDetails.tsx +14 -11
- package/src/components/Switch/Switch.stories.tsx +4 -2
- package/src/components/Tabs/Tabs.stories.tsx +33 -5
- package/src/components/Tabs/mock.tsx +34 -0
- package/src/components/Toast/Toast.tsx +1 -1
- package/src/components/TokenAmount/TokenAmount.tsx +12 -11
- package/src/components/Tooltip/Tooltip.stories.tsx +2 -2
- package/src/components/Typography/Typography.styles.tsx +0 -56
- package/src/components/Typography/Typography.types.tsx +0 -11
- package/src/components/common/index.ts +0 -1
- package/src/components/index.ts +0 -11
- package/src/containers/ConnectWalletsModal/mockData.ts +4 -1
- package/src/containers/SwapInput/SwapInput.tsx +2 -5
- package/src/containers/Warnings/index.ts +0 -2
- package/src/containers/index.ts +0 -5
- package/src/hooks/useCopyToClipboard.ts +1 -1
- package/dist/widget/ui/src/components/Alert/AlertIcon.d.ts.map +0 -1
- package/dist/widget/ui/src/components/Alert/LoadingFailedAlert.d.ts +0 -6
- package/dist/widget/ui/src/components/Alert/LoadingFailedAlert.d.ts.map +0 -1
- package/dist/widget/ui/src/components/Alert/NotFoundAlert.d.ts +0 -11
- package/dist/widget/ui/src/components/Alert/NotFoundAlert.d.ts.map +0 -1
- package/dist/widget/ui/src/components/BlockchainsList/BlockchainsList.d.ts +0 -14
- package/dist/widget/ui/src/components/BlockchainsList/BlockchainsList.d.ts.map +0 -1
- package/dist/widget/ui/src/components/BlockchainsList/BlockchainsList.stories.d.ts +0 -6
- package/dist/widget/ui/src/components/BlockchainsList/BlockchainsList.stories.d.ts.map +0 -1
- package/dist/widget/ui/src/components/BlockchainsList/index.d.ts +0 -2
- package/dist/widget/ui/src/components/BlockchainsList/index.d.ts.map +0 -1
- package/dist/widget/ui/src/components/BlockchainsList/mockData.d.ts +0 -3
- package/dist/widget/ui/src/components/BlockchainsList/mockData.d.ts.map +0 -1
- package/dist/widget/ui/src/components/ChangeSlippageButton/ChangeSlippageButton.d.ts +0 -7
- package/dist/widget/ui/src/components/ChangeSlippageButton/ChangeSlippageButton.d.ts.map +0 -1
- package/dist/widget/ui/src/components/ChangeSlippageButton/index.d.ts +0 -2
- package/dist/widget/ui/src/components/ChangeSlippageButton/index.d.ts.map +0 -1
- package/dist/widget/ui/src/components/Drawer/Drawer.d.ts +0 -5
- package/dist/widget/ui/src/components/Drawer/Drawer.d.ts.map +0 -1
- package/dist/widget/ui/src/components/Drawer/Drawer.stories.d.ts +0 -11
- package/dist/widget/ui/src/components/Drawer/Drawer.stories.d.ts.map +0 -1
- package/dist/widget/ui/src/components/Drawer/Drawer.styles.d.ts +0 -813
- package/dist/widget/ui/src/components/Drawer/Drawer.styles.d.ts.map +0 -1
- package/dist/widget/ui/src/components/Drawer/Drawer.types.d.ts +0 -18
- package/dist/widget/ui/src/components/Drawer/Drawer.types.d.ts.map +0 -1
- package/dist/widget/ui/src/components/Drawer/index.d.ts +0 -2
- package/dist/widget/ui/src/components/Drawer/index.d.ts.map +0 -1
- package/dist/widget/ui/src/components/Icon/AddCircleIcon.d.ts +0 -4
- package/dist/widget/ui/src/components/Icon/AddCircleIcon.d.ts.map +0 -1
- package/dist/widget/ui/src/components/Icon/AddIcon.d.ts +0 -4
- package/dist/widget/ui/src/components/Icon/AddIcon.d.ts.map +0 -1
- package/dist/widget/ui/src/components/Icon/AddWalletIcon.d.ts +0 -4
- package/dist/widget/ui/src/components/Icon/AddWalletIcon.d.ts.map +0 -1
- package/dist/widget/ui/src/components/Icon/AngleDownIcon.d.ts +0 -4
- package/dist/widget/ui/src/components/Icon/AngleDownIcon.d.ts.map +0 -1
- package/dist/widget/ui/src/components/Icon/AngleLeftIcon.d.ts +0 -4
- package/dist/widget/ui/src/components/Icon/AngleLeftIcon.d.ts.map +0 -1
- package/dist/widget/ui/src/components/Icon/AngleRightIcon.d.ts +0 -4
- package/dist/widget/ui/src/components/Icon/AngleRightIcon.d.ts.map +0 -1
- package/dist/widget/ui/src/components/Icon/AngleUpIcon.d.ts +0 -4
- package/dist/widget/ui/src/components/Icon/AngleUpIcon.d.ts.map +0 -1
- package/dist/widget/ui/src/components/Icon/ArrowRightIcon.d.ts +0 -4
- package/dist/widget/ui/src/components/Icon/ArrowRightIcon.d.ts.map +0 -1
- package/dist/widget/ui/src/components/Icon/BagIcon.d.ts +0 -4
- package/dist/widget/ui/src/components/Icon/BagIcon.d.ts.map +0 -1
- package/dist/widget/ui/src/components/Icon/BanIcon.d.ts +0 -4
- package/dist/widget/ui/src/components/Icon/BanIcon.d.ts.map +0 -1
- package/dist/widget/ui/src/components/Icon/CheckCircleIcon.d.ts +0 -4
- package/dist/widget/ui/src/components/Icon/CheckCircleIcon.d.ts.map +0 -1
- package/dist/widget/ui/src/components/Icon/CheckIcon.d.ts +0 -4
- package/dist/widget/ui/src/components/Icon/CheckIcon.d.ts.map +0 -1
- package/dist/widget/ui/src/components/Icon/CheckSquareIcon.d.ts +0 -4
- package/dist/widget/ui/src/components/Icon/CheckSquareIcon.d.ts.map +0 -1
- package/dist/widget/ui/src/components/Icon/CheckWalletIcon.d.ts +0 -4
- package/dist/widget/ui/src/components/Icon/CheckWalletIcon.d.ts.map +0 -1
- package/dist/widget/ui/src/components/Icon/ChevronRightIcon.d.ts +0 -4
- package/dist/widget/ui/src/components/Icon/ChevronRightIcon.d.ts.map +0 -1
- package/dist/widget/ui/src/components/Icon/CloseIcon.d.ts +0 -164
- package/dist/widget/ui/src/components/Icon/CloseIcon.d.ts.map +0 -1
- package/dist/widget/ui/src/components/Icon/CopyIcon.d.ts +0 -4
- package/dist/widget/ui/src/components/Icon/CopyIcon.d.ts.map +0 -1
- package/dist/widget/ui/src/components/Icon/DeleteCircleIcon.d.ts +0 -4
- package/dist/widget/ui/src/components/Icon/DeleteCircleIcon.d.ts.map +0 -1
- package/dist/widget/ui/src/components/Icon/DeleteWalletIcon.d.ts +0 -4
- package/dist/widget/ui/src/components/Icon/DeleteWalletIcon.d.ts.map +0 -1
- package/dist/widget/ui/src/components/Icon/DisconnectIcon.d.ts +0 -4
- package/dist/widget/ui/src/components/Icon/DisconnectIcon.d.ts.map +0 -1
- package/dist/widget/ui/src/components/Icon/DownloadIcon.d.ts +0 -4
- package/dist/widget/ui/src/components/Icon/DownloadIcon.d.ts.map +0 -1
- package/dist/widget/ui/src/components/Icon/GasIcon.d.ts +0 -4
- package/dist/widget/ui/src/components/Icon/GasIcon.d.ts.map +0 -1
- package/dist/widget/ui/src/components/Icon/HistoryIcon.d.ts +0 -4
- package/dist/widget/ui/src/components/Icon/HistoryIcon.d.ts.map +0 -1
- package/dist/widget/ui/src/components/Icon/HorizontalSwapIcon.d.ts +0 -4
- package/dist/widget/ui/src/components/Icon/HorizontalSwapIcon.d.ts.map +0 -1
- package/dist/widget/ui/src/components/Icon/Icons.stories.d.ts +0 -6
- package/dist/widget/ui/src/components/Icon/Icons.stories.d.ts.map +0 -1
- package/dist/widget/ui/src/components/Icon/InfoCircleIcon.d.ts +0 -4
- package/dist/widget/ui/src/components/Icon/InfoCircleIcon.d.ts.map +0 -1
- package/dist/widget/ui/src/components/Icon/MinusCircleIcon.d.ts +0 -4
- package/dist/widget/ui/src/components/Icon/MinusCircleIcon.d.ts.map +0 -1
- package/dist/widget/ui/src/components/Icon/RetryIcon.d.ts +0 -4
- package/dist/widget/ui/src/components/Icon/RetryIcon.d.ts.map +0 -1
- package/dist/widget/ui/src/components/Icon/RetryLeftIcon.d.ts +0 -4
- package/dist/widget/ui/src/components/Icon/RetryLeftIcon.d.ts.map +0 -1
- package/dist/widget/ui/src/components/Icon/RetryRightIcon.d.ts +0 -4
- package/dist/widget/ui/src/components/Icon/RetryRightIcon.d.ts.map +0 -1
- package/dist/widget/ui/src/components/Icon/SearchIcon.d.ts +0 -4
- package/dist/widget/ui/src/components/Icon/SearchIcon.d.ts.map +0 -1
- package/dist/widget/ui/src/components/Icon/SearchMinusIcon.d.ts +0 -4
- package/dist/widget/ui/src/components/Icon/SearchMinusIcon.d.ts.map +0 -1
- package/dist/widget/ui/src/components/Icon/SettingIcon.d.ts +0 -4
- package/dist/widget/ui/src/components/Icon/SettingIcon.d.ts.map +0 -1
- package/dist/widget/ui/src/components/Icon/SignatureIcon.d.ts +0 -4
- package/dist/widget/ui/src/components/Icon/SignatureIcon.d.ts.map +0 -1
- package/dist/widget/ui/src/components/Icon/SwapWalletIcon.d.ts +0 -4
- package/dist/widget/ui/src/components/Icon/SwapWalletIcon.d.ts.map +0 -1
- package/dist/widget/ui/src/components/Icon/TimeIcon.d.ts +0 -4
- package/dist/widget/ui/src/components/Icon/TimeIcon.d.ts.map +0 -1
- package/dist/widget/ui/src/components/Icon/TrashIcon.d.ts +0 -4
- package/dist/widget/ui/src/components/Icon/TrashIcon.d.ts.map +0 -1
- package/dist/widget/ui/src/components/Icon/TryAgainIcon.d.ts +0 -4
- package/dist/widget/ui/src/components/Icon/TryAgainIcon.d.ts.map +0 -1
- package/dist/widget/ui/src/components/Icon/VerticalSwapIcon.d.ts +0 -4
- package/dist/widget/ui/src/components/Icon/VerticalSwapIcon.d.ts.map +0 -1
- package/dist/widget/ui/src/components/Icon/WalletIconIcon.d.ts +0 -4
- package/dist/widget/ui/src/components/Icon/WalletIconIcon.d.ts.map +0 -1
- package/dist/widget/ui/src/components/Icon/WarningIcon.d.ts +0 -4
- package/dist/widget/ui/src/components/Icon/WarningIcon.d.ts.map +0 -1
- package/dist/widget/ui/src/components/Icon/common.d.ts +0 -331
- package/dist/widget/ui/src/components/Icon/common.d.ts.map +0 -1
- package/dist/widget/ui/src/components/Icon/index.d.ts +0 -41
- package/dist/widget/ui/src/components/Icon/index.d.ts.map +0 -1
- package/dist/widget/ui/src/components/Icon/types.d.ts +0 -8
- package/dist/widget/ui/src/components/Icon/types.d.ts.map +0 -1
- package/dist/widget/ui/src/components/LiquiditySourceList/LiquiditySource.stories.d.ts +0 -6
- package/dist/widget/ui/src/components/LiquiditySourceList/LiquiditySource.stories.d.ts.map +0 -1
- package/dist/widget/ui/src/components/LiquiditySourceList/LiquiditySourceList.d.ts +0 -12
- package/dist/widget/ui/src/components/LiquiditySourceList/LiquiditySourceList.d.ts.map +0 -1
- package/dist/widget/ui/src/components/LiquiditySourceList/index.d.ts +0 -2
- package/dist/widget/ui/src/components/LiquiditySourceList/index.d.ts.map +0 -1
- package/dist/widget/ui/src/components/LiquiditySourceList/mockData.d.ts +0 -3
- package/dist/widget/ui/src/components/LiquiditySourceList/mockData.d.ts.map +0 -1
- package/dist/widget/ui/src/components/PercentageChange/PercentageChange.d.ts +0 -8
- package/dist/widget/ui/src/components/PercentageChange/PercentageChange.d.ts.map +0 -1
- package/dist/widget/ui/src/components/PercentageChange/index.d.ts +0 -2
- package/dist/widget/ui/src/components/PercentageChange/index.d.ts.map +0 -1
- package/dist/widget/ui/src/components/RoutesOverview/RoutesOverview.d.ts +0 -171
- package/dist/widget/ui/src/components/RoutesOverview/RoutesOverview.d.ts.map +0 -1
- package/dist/widget/ui/src/components/RoutesOverview/index.d.ts +0 -2
- package/dist/widget/ui/src/components/RoutesOverview/index.d.ts.map +0 -1
- package/dist/widget/ui/src/components/SecondaryPage/SecondaryPage.d.ts +0 -21
- package/dist/widget/ui/src/components/SecondaryPage/SecondaryPage.d.ts.map +0 -1
- package/dist/widget/ui/src/components/SecondaryPage/SecondaryPage.stories.d.ts +0 -6
- package/dist/widget/ui/src/components/SecondaryPage/SecondaryPage.stories.d.ts.map +0 -1
- package/dist/widget/ui/src/components/SecondaryPage/index.d.ts +0 -2
- package/dist/widget/ui/src/components/SecondaryPage/index.d.ts.map +0 -1
- package/dist/widget/ui/src/components/SelectableWalletList/SelectableWalletList.d.ts +0 -8
- package/dist/widget/ui/src/components/SelectableWalletList/SelectableWalletList.d.ts.map +0 -1
- package/dist/widget/ui/src/components/SelectableWalletList/SelectableWalletList.stories.d.ts +0 -8
- package/dist/widget/ui/src/components/SelectableWalletList/SelectableWalletList.stories.d.ts.map +0 -1
- package/dist/widget/ui/src/components/SelectableWalletList/index.d.ts +0 -2
- package/dist/widget/ui/src/components/SelectableWalletList/index.d.ts.map +0 -1
- package/dist/widget/ui/src/components/SelectableWalletList/mock.d.ts +0 -10
- package/dist/widget/ui/src/components/SelectableWalletList/mock.d.ts.map +0 -1
- package/dist/widget/ui/src/components/StepDetail/StepDetail.d.ts +0 -14
- package/dist/widget/ui/src/components/StepDetail/StepDetail.d.ts.map +0 -1
- package/dist/widget/ui/src/components/StepDetail/StepDetail.stories.d.ts +0 -8
- package/dist/widget/ui/src/components/StepDetail/StepDetail.stories.d.ts.map +0 -1
- package/dist/widget/ui/src/components/StepDetail/index.d.ts +0 -2
- package/dist/widget/ui/src/components/StepDetail/index.d.ts.map +0 -1
- package/dist/widget/ui/src/components/SwapContainer/SwapContainer.d.ts +0 -8
- package/dist/widget/ui/src/components/SwapContainer/SwapContainer.d.ts.map +0 -1
- package/dist/widget/ui/src/components/SwapContainer/index.d.ts +0 -2
- package/dist/widget/ui/src/components/SwapContainer/index.d.ts.map +0 -1
- package/dist/widget/ui/src/components/SwapDetailsPlaceholder/SwapDetailsPlaceholder.d.ts +0 -171
- package/dist/widget/ui/src/components/SwapDetailsPlaceholder/SwapDetailsPlaceholder.d.ts.map +0 -1
- package/dist/widget/ui/src/components/SwapDetailsPlaceholder/index.d.ts +0 -2
- package/dist/widget/ui/src/components/SwapDetailsPlaceholder/index.d.ts.map +0 -1
- package/dist/widget/ui/src/components/TokenList/TokenItem.d.ts +0 -13
- package/dist/widget/ui/src/components/TokenList/TokenItem.d.ts.map +0 -1
- package/dist/widget/ui/src/components/TokenList/TokenList.d.ts +0 -21
- package/dist/widget/ui/src/components/TokenList/TokenList.d.ts.map +0 -1
- package/dist/widget/ui/src/components/TokenList/TokenList.stories.d.ts.map +0 -1
- package/dist/widget/ui/src/components/TokenList/index.d.ts +0 -2
- package/dist/widget/ui/src/components/TokenList/index.d.ts.map +0 -1
- package/dist/widget/ui/src/components/TokenList/mockData.d.ts +0 -3
- package/dist/widget/ui/src/components/TokenList/mockData.d.ts.map +0 -1
- package/dist/widget/ui/src/components/TokenPreview/TokenPreview.d.ts +0 -21
- package/dist/widget/ui/src/components/TokenPreview/TokenPreview.d.ts.map +0 -1
- package/dist/widget/ui/src/components/TokenPreview/index.d.ts +0 -2
- package/dist/widget/ui/src/components/TokenPreview/index.d.ts.map +0 -1
- package/dist/widget/ui/src/components/Tooltip/useEventListener.d.ts +0 -5
- package/dist/widget/ui/src/components/Tooltip/useEventListener.d.ts.map +0 -1
- package/dist/widget/ui/src/components/Wallet/Content.d.ts +0 -5
- package/dist/widget/ui/src/components/Wallet/Content.d.ts.map +0 -1
- package/dist/widget/ui/src/components/common/FilledCircle.d.ts.map +0 -1
- package/dist/widget/ui/src/containers/BlockchainSelector/BlockchainSelector.d.ts +0 -18
- package/dist/widget/ui/src/containers/BlockchainSelector/BlockchainSelector.d.ts.map +0 -1
- package/dist/widget/ui/src/containers/BlockchainSelector/BlockchainSelector.stories.d.ts +0 -6
- package/dist/widget/ui/src/containers/BlockchainSelector/BlockchainSelector.stories.d.ts.map +0 -1
- package/dist/widget/ui/src/containers/BlockchainSelector/index.d.ts +0 -2
- package/dist/widget/ui/src/containers/BlockchainSelector/index.d.ts.map +0 -1
- package/dist/widget/ui/src/containers/HomePanel/HomePanel.d.ts +0 -50
- package/dist/widget/ui/src/containers/HomePanel/HomePanel.d.ts.map +0 -1
- package/dist/widget/ui/src/containers/HomePanel/index.d.ts +0 -2
- package/dist/widget/ui/src/containers/HomePanel/index.d.ts.map +0 -1
- package/dist/widget/ui/src/containers/SwapHistory/SwapHistory.d.ts +0 -1643
- package/dist/widget/ui/src/containers/SwapHistory/SwapHistory.d.ts.map +0 -1
- package/dist/widget/ui/src/containers/SwapHistory/SwapHistory.stories.d.ts +0 -15
- package/dist/widget/ui/src/containers/SwapHistory/SwapHistory.stories.d.ts.map +0 -1
- package/dist/widget/ui/src/containers/SwapHistory/SwapMessages.d.ts +0 -18
- package/dist/widget/ui/src/containers/SwapHistory/SwapMessages.d.ts.map +0 -1
- package/dist/widget/ui/src/containers/SwapHistory/index.d.ts +0 -2
- package/dist/widget/ui/src/containers/SwapHistory/index.d.ts.map +0 -1
- package/dist/widget/ui/src/containers/SwapHistory/mock.d.ts +0 -3
- package/dist/widget/ui/src/containers/SwapHistory/mock.d.ts.map +0 -1
- package/dist/widget/ui/src/containers/TokenInfo/TokenInfo.d.ts +0 -34
- package/dist/widget/ui/src/containers/TokenInfo/TokenInfo.d.ts.map +0 -1
- package/dist/widget/ui/src/containers/TokenInfo/index.d.ts +0 -2
- package/dist/widget/ui/src/containers/TokenInfo/index.d.ts.map +0 -1
- package/dist/widget/ui/src/containers/TokenSelector/TokenSelector.d.ts +0 -176
- package/dist/widget/ui/src/containers/TokenSelector/TokenSelector.d.ts.map +0 -1
- package/dist/widget/ui/src/containers/TokenSelector/TokenSelector.stories.d.ts +0 -6
- package/dist/widget/ui/src/containers/TokenSelector/TokenSelector.stories.d.ts.map +0 -1
- package/dist/widget/ui/src/containers/TokenSelector/index.d.ts +0 -2
- package/dist/widget/ui/src/containers/TokenSelector/index.d.ts.map +0 -1
- package/dist/widget/ui/src/containers/Warnings/HighSlippageWarning.d.ts +0 -9
- package/dist/widget/ui/src/containers/Warnings/HighSlippageWarning.d.ts.map +0 -1
- package/dist/widget/ui/src/containers/Warnings/MinRequiredSlippage.d.ts +0 -8
- package/dist/widget/ui/src/containers/Warnings/MinRequiredSlippage.d.ts.map +0 -1
- package/dist/widget/ui/src/icons/Gass.d.ts +0 -5
- package/dist/widget/ui/src/icons/Gass.d.ts.map +0 -1
- package/dist/widget/ui/src/types/meta.d.ts +0 -31
- package/dist/widget/ui/src/types/meta.d.ts.map +0 -1
- package/dist/widget/ui/src/utils/index.d.ts +0 -3
- package/dist/widget/ui/src/utils/index.d.ts.map +0 -1
- package/src/components/Alert/LoadingFailedAlert.tsx +0 -18
- package/src/components/Alert/NotFoundAlert.tsx +0 -23
- package/src/components/BlockchainsList/BlockchainsList.stories.tsx +0 -34
- package/src/components/BlockchainsList/BlockchainsList.tsx +0 -78
- package/src/components/BlockchainsList/index.ts +0 -1
- package/src/components/BlockchainsList/mockData.ts +0 -3467
- package/src/components/ChangeSlippageButton/ChangeSlippageButton.tsx +0 -17
- package/src/components/ChangeSlippageButton/index.ts +0 -1
- package/src/components/Drawer/Drawer.stories.tsx +0 -78
- package/src/components/Drawer/Drawer.styles.ts +0 -67
- package/src/components/Drawer/Drawer.tsx +0 -66
- package/src/components/Drawer/Drawer.types.ts +0 -17
- package/src/components/Drawer/index.ts +0 -1
- package/src/components/Icon/AddCircleIcon.tsx +0 -30
- package/src/components/Icon/AddIcon.tsx +0 -30
- package/src/components/Icon/AddWalletIcon.tsx +0 -49
- package/src/components/Icon/AngleDownIcon.tsx +0 -29
- package/src/components/Icon/AngleLeftIcon.tsx +0 -32
- package/src/components/Icon/AngleRightIcon.tsx +0 -31
- package/src/components/Icon/AngleUpIcon.tsx +0 -31
- package/src/components/Icon/ArrowRightIcon.tsx +0 -30
- package/src/components/Icon/BagIcon.tsx +0 -38
- package/src/components/Icon/BanIcon.tsx +0 -31
- package/src/components/Icon/CheckCircleIcon.tsx +0 -38
- package/src/components/Icon/CheckIcon.tsx +0 -29
- package/src/components/Icon/CheckSquareIcon.tsx +0 -36
- package/src/components/Icon/CheckWalletIcon.tsx +0 -44
- package/src/components/Icon/ChevronRightIcon.tsx +0 -28
- package/src/components/Icon/CloseIcon.tsx +0 -9
- package/src/components/Icon/CopyIcon.tsx +0 -58
- package/src/components/Icon/DeleteCircleIcon.tsx +0 -30
- package/src/components/Icon/DeleteWalletIcon.tsx +0 -49
- package/src/components/Icon/DisconnectIcon.tsx +0 -30
- package/src/components/Icon/DownloadIcon.tsx +0 -36
- package/src/components/Icon/GasIcon.tsx +0 -39
- package/src/components/Icon/HistoryIcon.tsx +0 -33
- package/src/components/Icon/HorizontalSwapIcon.tsx +0 -37
- package/src/components/Icon/Icons.stories.tsx +0 -48
- package/src/components/Icon/InfoCircleIcon.tsx +0 -38
- package/src/components/Icon/MinusCircleIcon.tsx +0 -30
- package/src/components/Icon/RetryIcon.tsx +0 -29
- package/src/components/Icon/RetryLeftIcon.tsx +0 -30
- package/src/components/Icon/RetryRightIcon.tsx +0 -30
- package/src/components/Icon/SearchIcon.tsx +0 -30
- package/src/components/Icon/SearchMinusIcon.tsx +0 -30
- package/src/components/Icon/SettingIcon.tsx +0 -30
- package/src/components/Icon/SignatureIcon.tsx +0 -31
- package/src/components/Icon/SwapWalletIcon.tsx +0 -49
- package/src/components/Icon/TimeIcon.tsx +0 -28
- package/src/components/Icon/TrashIcon.tsx +0 -30
- package/src/components/Icon/TryAgainIcon.tsx +0 -30
- package/src/components/Icon/VerticalSwapIcon.tsx +0 -37
- package/src/components/Icon/WalletIconIcon.tsx +0 -39
- package/src/components/Icon/WarningIcon.tsx +0 -36
- package/src/components/Icon/common.ts +0 -79
- package/src/components/Icon/index.ts +0 -48
- package/src/components/Icon/types.tsx +0 -46
- package/src/components/LiquiditySourceList/LiquiditySource.stories.tsx +0 -19
- package/src/components/LiquiditySourceList/LiquiditySourceList.tsx +0 -216
- package/src/components/LiquiditySourceList/index.ts +0 -1
- package/src/components/LiquiditySourceList/mockData.ts +0 -316
- package/src/components/PercentageChange/PercentageChange.tsx +0 -22
- package/src/components/PercentageChange/index.ts +0 -1
- package/src/components/RoutesOverview/RoutesOverview.tsx +0 -66
- package/src/components/RoutesOverview/index.ts +0 -1
- package/src/components/SecondaryPage/SecondaryPage.stories.tsx +0 -18
- package/src/components/SecondaryPage/SecondaryPage.tsx +0 -86
- package/src/components/SecondaryPage/index.ts +0 -1
- package/src/components/SelectableWalletList/SelectableWalletList.stories.tsx +0 -16
- package/src/components/SelectableWalletList/SelectableWalletList.tsx +0 -123
- package/src/components/SelectableWalletList/index.ts +0 -1
- package/src/components/SelectableWalletList/mock.ts +0 -12
- package/src/components/StepDetail/StepDetail.stories.tsx +0 -44
- package/src/components/StepDetail/StepDetail.tsx +0 -145
- package/src/components/StepDetail/index.ts +0 -1
- package/src/components/SwapContainer/SwapContainer.tsx +0 -38
- package/src/components/SwapContainer/index.ts +0 -1
- package/src/components/SwapDetailsPlaceholder/SwapDetailsPlaceholder.tsx +0 -48
- package/src/components/SwapDetailsPlaceholder/index.ts +0 -1
- package/src/components/TokenList/TokenItem.tsx +0 -80
- package/src/components/TokenList/TokenList.stories.tsx +0 -21
- package/src/components/TokenList/TokenList.tsx +0 -79
- package/src/components/TokenList/index.ts +0 -1
- package/src/components/TokenList/mockData.ts +0 -863
- package/src/components/TokenPreview/TokenPreview.tsx +0 -182
- package/src/components/TokenPreview/index.ts +0 -1
- package/src/components/Tooltip/useEventListener.ts +0 -54
- package/src/components/Wallet/Content.tsx +0 -35
- package/src/components/common/FilledCircle.tsx +0 -8
- package/src/containers/BlockchainSelector/BlockchainSelector.stories.tsx +0 -41
- package/src/containers/BlockchainSelector/BlockchainSelector.tsx +0 -97
- package/src/containers/BlockchainSelector/index.ts +0 -1
- package/src/containers/HomePanel/HomePanel.tsx +0 -202
- package/src/containers/HomePanel/index.ts +0 -1
- package/src/containers/SwapHistory/SwapHistory.stories.tsx +0 -16
- package/src/containers/SwapHistory/SwapHistory.tsx +0 -438
- package/src/containers/SwapHistory/SwapMessages.tsx +0 -126
- package/src/containers/SwapHistory/index.ts +0 -1
- package/src/containers/SwapHistory/mock.ts +0 -292
- package/src/containers/TokenInfo/TokenInfo.tsx +0 -310
- package/src/containers/TokenInfo/index.ts +0 -1
- package/src/containers/TokenSelector/TokenSelector.stories.tsx +0 -17
- package/src/containers/TokenSelector/TokenSelector.tsx +0 -70
- package/src/containers/TokenSelector/index.ts +0 -1
- package/src/containers/Warnings/HighSlippageWarning.tsx +0 -30
- package/src/containers/Warnings/MinRequiredSlippage.tsx +0 -30
- package/src/icons/Gass.tsx +0 -39
- package/src/types/meta.ts +0 -31
- package/src/utils/index.ts +0 -23
- /package/src/components/Alert/{AlertIcon.tsx → Alert.icon.tsx} +0 -0
- /package/src/components/Select/{select.styles.ts → Select.styles.ts} +0 -0
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import type { PropTypes } from './SecondaryPage';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, PropTypes>;
|
|
4
|
-
export default _default;
|
|
5
|
-
export declare const Main: (args: PropTypes) => React.JSX.Element;
|
|
6
|
-
//# sourceMappingURL=SecondaryPage.stories.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SecondaryPage.stories.d.ts","sourceRoot":"","sources":["../../../../../../src/components/SecondaryPage/SecondaryPage.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAGjD,OAAO,KAAK,MAAM,OAAO,CAAC;;AAI1B,wBAQgC;AAEhC,eAAO,MAAM,IAAI,SAAU,SAAS,sBAAgC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/SecondaryPage/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { PropsWithChildren } from 'react';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
export interface PropTypes {
|
|
4
|
-
list: any[];
|
|
5
|
-
onChange: (w: any) => void;
|
|
6
|
-
}
|
|
7
|
-
export declare function SelectableWalletList({ list, onChange, }: PropsWithChildren<PropTypes>): React.JSX.Element;
|
|
8
|
-
//# sourceMappingURL=SelectableWalletList.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SelectableWalletList.d.ts","sourceRoot":"","sources":["../../../../../../src/components/SelectableWalletList/SelectableWalletList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAE/C,OAAO,KAA8B,MAAM,OAAO,CAAC;AA0EnD,MAAM,WAAW,SAAS;IACxB,IAAI,EAAE,GAAG,EAAE,CAAC;IACZ,QAAQ,EAAE,CAAC,CAAC,EAAE,GAAG,KAAK,IAAI,CAAC;CAC5B;AAED,wBAAgB,oBAAoB,CAAC,EACnC,IAAI,EACJ,QAAQ,GACT,EAAE,iBAAiB,CAAC,SAAS,CAAC,qBAsC9B"}
|
package/dist/widget/ui/src/components/SelectableWalletList/SelectableWalletList.stories.d.ts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { PropTypes } from './SelectableWalletList';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, PropTypes & {
|
|
4
|
-
children?: React.ReactNode;
|
|
5
|
-
}>;
|
|
6
|
-
export default _default;
|
|
7
|
-
export declare const Main: (props: PropTypes) => React.JSX.Element;
|
|
8
|
-
//# sourceMappingURL=SelectableWalletList.stories.d.ts.map
|
package/dist/widget/ui/src/components/SelectableWalletList/SelectableWalletList.stories.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SelectableWalletList.stories.d.ts","sourceRoot":"","sources":["../../../../../../src/components/SelectableWalletList/SelectableWalletList.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAGxD,OAAO,KAAK,MAAM,OAAO,CAAC;;;;AAK1B,wBAGuC;AAEvC,eAAO,MAAM,IAAI,UAAW,SAAS,sBAEpC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/SelectableWalletList/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { Networks, WalletTypes } from '@rango-dev/wallets-shared';
|
|
2
|
-
export declare const data: {
|
|
3
|
-
chain: Networks;
|
|
4
|
-
name: Networks;
|
|
5
|
-
walletType: WalletTypes;
|
|
6
|
-
address: string;
|
|
7
|
-
image: string;
|
|
8
|
-
selected: boolean;
|
|
9
|
-
}[];
|
|
10
|
-
//# sourceMappingURL=mock.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"mock.d.ts","sourceRoot":"","sources":["../../../../../../src/components/SelectableWalletList/mock.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAElE,eAAO,MAAM,IAAI;;;;;;;GAShB,CAAC"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import type { PropsWithChildren } from 'react';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
export interface PropTypes {
|
|
4
|
-
logo: string;
|
|
5
|
-
chainLogo: string;
|
|
6
|
-
amount: string;
|
|
7
|
-
symbol: string;
|
|
8
|
-
blockchain: string;
|
|
9
|
-
estimatedAmount?: string;
|
|
10
|
-
direction?: 'horizontal' | 'vertical';
|
|
11
|
-
success?: boolean;
|
|
12
|
-
}
|
|
13
|
-
export declare function StepDetail(props: PropsWithChildren<PropTypes>): React.JSX.Element;
|
|
14
|
-
//# sourceMappingURL=StepDetail.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"StepDetail.d.ts","sourceRoot":"","sources":["../../../../../../src/components/StepDetail/StepDetail.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAE/C,OAAO,KAAK,MAAM,OAAO,CAAC;AAiF1B,MAAM,WAAW,SAAS;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,MAAM,CAAC;IACnB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,SAAS,CAAC,EAAE,YAAY,GAAG,UAAU,CAAC;IACtC,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,wBAAgB,UAAU,CAAC,KAAK,EAAE,iBAAiB,CAAC,SAAS,CAAC,qBAkD7D"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { PropTypes } from './StepDetail';
|
|
3
|
-
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, PropTypes & {
|
|
4
|
-
children?: React.ReactNode;
|
|
5
|
-
}>;
|
|
6
|
-
export default _default;
|
|
7
|
-
export declare const Main: (props: PropTypes) => React.JSX.Element;
|
|
8
|
-
//# sourceMappingURL=StepDetail.stories.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"StepDetail.stories.d.ts","sourceRoot":"","sources":["../../../../../../src/components/StepDetail/StepDetail.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAc,SAAS,EAAE,MAAM,cAAc,CAAC;;;;AAErD,wBAqC6B;AAE7B,eAAO,MAAM,IAAI,UAAW,SAAS,sBAA8B,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/StepDetail/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { CSSProperties } from '@stitches/react';
|
|
2
|
-
import type { PropsWithChildren } from 'react';
|
|
3
|
-
import React from 'react';
|
|
4
|
-
export interface PropTypes {
|
|
5
|
-
style?: CSSProperties;
|
|
6
|
-
}
|
|
7
|
-
export declare function SwapContainer(props: PropsWithChildren<PropTypes>): React.JSX.Element;
|
|
8
|
-
//# sourceMappingURL=SwapContainer.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SwapContainer.d.ts","sourceRoot":"","sources":["../../../../../../src/components/SwapContainer/SwapContainer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AACrD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAE/C,OAAO,KAAK,MAAM,OAAO,CAAC;AAuB1B,MAAM,WAAW,SAAS;IACxB,KAAK,CAAC,EAAE,aAAa,CAAC;CACvB;AAED,wBAAgB,aAAa,CAAC,KAAK,EAAE,iBAAiB,CAAC,SAAS,CAAC,qBAOhE"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/SwapContainer/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC"}
|
|
@@ -1,171 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export declare const LoaderContainer: import("@stitches/react/types/styled-component").StyledComponent<"div", {}, {
|
|
3
|
-
xs: string;
|
|
4
|
-
sm: string;
|
|
5
|
-
md: string;
|
|
6
|
-
lg: string;
|
|
7
|
-
}, import("@stitches/react/types/css-util").CSS<{
|
|
8
|
-
xs: string;
|
|
9
|
-
sm: string;
|
|
10
|
-
md: string;
|
|
11
|
-
lg: string;
|
|
12
|
-
}, {
|
|
13
|
-
colors: {
|
|
14
|
-
primary: string;
|
|
15
|
-
primary500: string;
|
|
16
|
-
primary600: string;
|
|
17
|
-
secondary: string;
|
|
18
|
-
secondary100: string;
|
|
19
|
-
secondary200: string;
|
|
20
|
-
secondary300: string;
|
|
21
|
-
secondary400: string;
|
|
22
|
-
secondary500: string;
|
|
23
|
-
secondary600: string;
|
|
24
|
-
secondary700: string;
|
|
25
|
-
secondary800: string;
|
|
26
|
-
secondary900: string;
|
|
27
|
-
neutral: string;
|
|
28
|
-
neutral100: string;
|
|
29
|
-
neutral200: string;
|
|
30
|
-
neutral300: string;
|
|
31
|
-
neutral400: string;
|
|
32
|
-
neutral500: string;
|
|
33
|
-
neutral600: string;
|
|
34
|
-
neutral700: string;
|
|
35
|
-
neutral800: string;
|
|
36
|
-
neutral900: string;
|
|
37
|
-
error100: string;
|
|
38
|
-
error300: string;
|
|
39
|
-
error500: string;
|
|
40
|
-
error600: string;
|
|
41
|
-
error700: string;
|
|
42
|
-
warning100: string;
|
|
43
|
-
warning300: string;
|
|
44
|
-
warning500: string;
|
|
45
|
-
warning600: string;
|
|
46
|
-
warning700: string;
|
|
47
|
-
info: string;
|
|
48
|
-
info100: string;
|
|
49
|
-
info300: string;
|
|
50
|
-
info500: string;
|
|
51
|
-
info600: string;
|
|
52
|
-
info700: string;
|
|
53
|
-
success100: string;
|
|
54
|
-
success300: string;
|
|
55
|
-
success500: string;
|
|
56
|
-
success600: string;
|
|
57
|
-
success700: string;
|
|
58
|
-
background: string;
|
|
59
|
-
foreground: string;
|
|
60
|
-
};
|
|
61
|
-
space: {
|
|
62
|
-
0: string;
|
|
63
|
-
5: string;
|
|
64
|
-
10: string;
|
|
65
|
-
15: string;
|
|
66
|
-
20: string;
|
|
67
|
-
25: string;
|
|
68
|
-
30: string;
|
|
69
|
-
40: string;
|
|
70
|
-
46: string;
|
|
71
|
-
50: string;
|
|
72
|
-
60: string;
|
|
73
|
-
70: string;
|
|
74
|
-
80: string;
|
|
75
|
-
90: string;
|
|
76
|
-
100: string;
|
|
77
|
-
2: string;
|
|
78
|
-
4: string;
|
|
79
|
-
6: string;
|
|
80
|
-
8: string;
|
|
81
|
-
12: string;
|
|
82
|
-
16: string;
|
|
83
|
-
24: string;
|
|
84
|
-
28: string;
|
|
85
|
-
32: string;
|
|
86
|
-
};
|
|
87
|
-
radii: {
|
|
88
|
-
xs: string;
|
|
89
|
-
sm: string;
|
|
90
|
-
xm: string;
|
|
91
|
-
md: string;
|
|
92
|
-
xl: string;
|
|
93
|
-
lg: string;
|
|
94
|
-
primary: string;
|
|
95
|
-
secondary: string;
|
|
96
|
-
};
|
|
97
|
-
fontSizes: {
|
|
98
|
-
10: string;
|
|
99
|
-
12: string;
|
|
100
|
-
14: string;
|
|
101
|
-
16: string;
|
|
102
|
-
18: string;
|
|
103
|
-
20: string;
|
|
104
|
-
22: string;
|
|
105
|
-
24: string;
|
|
106
|
-
28: string;
|
|
107
|
-
32: string;
|
|
108
|
-
36: string;
|
|
109
|
-
40: string;
|
|
110
|
-
48: string;
|
|
111
|
-
};
|
|
112
|
-
fonts: {
|
|
113
|
-
primary: string;
|
|
114
|
-
widget: string;
|
|
115
|
-
};
|
|
116
|
-
fontWeights: {
|
|
117
|
-
regular: number;
|
|
118
|
-
medium: number;
|
|
119
|
-
semiBold: number;
|
|
120
|
-
bold: number;
|
|
121
|
-
};
|
|
122
|
-
lineHeights: {
|
|
123
|
-
12: string;
|
|
124
|
-
16: string;
|
|
125
|
-
20: string;
|
|
126
|
-
24: string;
|
|
127
|
-
26: string;
|
|
128
|
-
28: string;
|
|
129
|
-
30: string;
|
|
130
|
-
36: string;
|
|
131
|
-
40: string;
|
|
132
|
-
44: string;
|
|
133
|
-
52: string;
|
|
134
|
-
64: string;
|
|
135
|
-
};
|
|
136
|
-
letterSpacings: {};
|
|
137
|
-
sizes: {
|
|
138
|
-
4: string;
|
|
139
|
-
6: string;
|
|
140
|
-
8: string;
|
|
141
|
-
10: string;
|
|
142
|
-
12: string;
|
|
143
|
-
16: string;
|
|
144
|
-
18: string;
|
|
145
|
-
20: string;
|
|
146
|
-
24: string;
|
|
147
|
-
26: string;
|
|
148
|
-
28: string;
|
|
149
|
-
30: string;
|
|
150
|
-
32: string;
|
|
151
|
-
36: string;
|
|
152
|
-
40: string;
|
|
153
|
-
45: string;
|
|
154
|
-
48: string;
|
|
155
|
-
};
|
|
156
|
-
borderWidths: {};
|
|
157
|
-
borderStyles: {};
|
|
158
|
-
shadows: {
|
|
159
|
-
s: string;
|
|
160
|
-
};
|
|
161
|
-
zIndices: {};
|
|
162
|
-
transitions: {};
|
|
163
|
-
}, import("@stitches/react/types/config").DefaultThemeMap, {}>>;
|
|
164
|
-
interface PropTypes {
|
|
165
|
-
requestId: string;
|
|
166
|
-
loading: boolean;
|
|
167
|
-
onBack: () => void;
|
|
168
|
-
}
|
|
169
|
-
export declare function SwapDetailsPlaceholder(props: PropTypes): React.JSX.Element;
|
|
170
|
-
export {};
|
|
171
|
-
//# sourceMappingURL=SwapDetailsPlaceholder.d.ts.map
|
package/dist/widget/ui/src/components/SwapDetailsPlaceholder/SwapDetailsPlaceholder.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SwapDetailsPlaceholder.d.ts","sourceRoot":"","sources":["../../../../../../src/components/SwapDetailsPlaceholder/SwapDetailsPlaceholder.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAO1B,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAM1B,CAAC;AAEH,UAAU,SAAS;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,OAAO,CAAC;IACjB,MAAM,EAAE,MAAM,IAAI,CAAC;CACpB;AAED,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,SAAS,qBAyBtD"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/SwapDetailsPlaceholder/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { TokenWithAmount } from './TokenList';
|
|
2
|
-
import type { Token } from 'rango-sdk';
|
|
3
|
-
import type { CSSProperties } from 'react';
|
|
4
|
-
import React from 'react';
|
|
5
|
-
interface PropTypes {
|
|
6
|
-
token: TokenWithAmount;
|
|
7
|
-
selected: boolean;
|
|
8
|
-
onClick: (token: Token) => void;
|
|
9
|
-
style?: CSSProperties;
|
|
10
|
-
}
|
|
11
|
-
export declare function TokenItem(props: PropTypes): React.JSX.Element;
|
|
12
|
-
export {};
|
|
13
|
-
//# sourceMappingURL=TokenItem.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TokenItem.d.ts","sourceRoot":"","sources":["../../../../../../src/components/TokenList/TokenItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AACnD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,WAAW,CAAC;AACvC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAE3C,OAAO,KAAK,MAAM,OAAO,CAAC;AAsB1B,UAAU,SAAS;IACjB,KAAK,EAAE,eAAe,CAAC;IACvB,QAAQ,EAAE,OAAO,CAAC;IAClB,OAAO,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;IAChC,KAAK,CAAC,EAAE,aAAa,CAAC;CACvB;AAED,wBAAgB,SAAS,CAAC,KAAK,EAAE,SAAS,qBA8CzC"}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import type { Asset, Token } from 'rango-sdk';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
export interface TokenWithAmount extends Token {
|
|
4
|
-
balance?: {
|
|
5
|
-
amount: string;
|
|
6
|
-
usdValue: string;
|
|
7
|
-
};
|
|
8
|
-
}
|
|
9
|
-
export interface PropTypes {
|
|
10
|
-
list: TokenWithAmount[];
|
|
11
|
-
selected?: TokenWithAmount | null;
|
|
12
|
-
searchedText: string;
|
|
13
|
-
onChange: (token: TokenWithAmount) => void;
|
|
14
|
-
multiSelect?: boolean;
|
|
15
|
-
selectedList?: Asset[];
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
* @deprecated will be removed in v2
|
|
19
|
-
*/
|
|
20
|
-
export declare function TokenList(props: PropTypes): React.JSX.Element;
|
|
21
|
-
//# sourceMappingURL=TokenList.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TokenList.d.ts","sourceRoot":"","sources":["../../../../../../src/components/TokenList/TokenList.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,WAAW,CAAC;AAE9C,OAAO,KAA8B,MAAM,OAAO,CAAC;AAMnD,MAAM,WAAW,eAAgB,SAAQ,KAAK;IAC5C,OAAO,CAAC,EAAE;QACR,MAAM,EAAE,MAAM,CAAC;QACf,QAAQ,EAAE,MAAM,CAAC;KAClB,CAAC;CACH;AAGD,MAAM,WAAW,SAAS;IACxB,IAAI,EAAE,eAAe,EAAE,CAAC;IACxB,QAAQ,CAAC,EAAE,eAAe,GAAG,IAAI,CAAC;IAClC,YAAY,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE,CAAC,KAAK,EAAE,eAAe,KAAK,IAAI,CAAC;IAC3C,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,YAAY,CAAC,EAAE,KAAK,EAAE,CAAC;CACxB;AACD;;GAEG;AACH,wBAAgB,SAAS,CAAC,KAAK,EAAE,SAAS,qBAkDzC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TokenList.stories.d.ts","sourceRoot":"","sources":["../../../../../../src/components/TokenList/TokenList.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAG7C,OAAO,KAAK,MAAM,OAAO,CAAC;;AAK1B,wBAQ4B;AAE5B,eAAO,MAAM,IAAI,SAAU,SAAS,sBAEnC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/TokenList/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"mockData.d.ts","sourceRoot":"","sources":["../../../../../../src/components/TokenList/mockData.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAEnD,eAAO,MAAM,UAAU,EAAE,eAAe,EAy1BvC,CAAC"}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import type { LoadingStatus } from '../../types/meta';
|
|
2
|
-
import type { ReactNode } from 'react';
|
|
3
|
-
import React from 'react';
|
|
4
|
-
interface PropTypes {
|
|
5
|
-
label: string;
|
|
6
|
-
amount: string;
|
|
7
|
-
usdValue: string | null;
|
|
8
|
-
loadingStatus: LoadingStatus;
|
|
9
|
-
chain: {
|
|
10
|
-
displayName: string;
|
|
11
|
-
logo: string;
|
|
12
|
-
};
|
|
13
|
-
token: {
|
|
14
|
-
symbol: string;
|
|
15
|
-
image: string;
|
|
16
|
-
};
|
|
17
|
-
percentageChange?: ReactNode;
|
|
18
|
-
}
|
|
19
|
-
export declare function TokenPreview(props: PropTypes): React.JSX.Element;
|
|
20
|
-
export {};
|
|
21
|
-
//# sourceMappingURL=TokenPreview.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TokenPreview.d.ts","sourceRoot":"","sources":["../../../../../../src/components/TokenPreview/TokenPreview.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGvC,OAAO,KAAK,MAAM,OAAO,CAAC;AAiF1B,UAAU,SAAS;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,aAAa,EAAE,aAAa,CAAC;IAC7B,KAAK,EAAE;QACL,WAAW,EAAE,MAAM,CAAC;QACpB,IAAI,EAAE,MAAM,CAAC;KACd,CAAC;IACF,KAAK,EAAE;QACL,MAAM,EAAE,MAAM,CAAC;QACf,KAAK,EAAE,MAAM,CAAC;KACf,CAAC;IACF,gBAAgB,CAAC,EAAE,SAAS,CAAC;CAC9B;AAED,wBAAgB,YAAY,CAAC,KAAK,EAAE,SAAS,qBAgF5C"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/TokenPreview/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC"}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { RefObject } from 'react';
|
|
2
|
-
declare function useEventListener<K extends keyof WindowEventMap>(eventName: K, handler: (event: WindowEventMap[K]) => void): void;
|
|
3
|
-
declare function useEventListener<K extends keyof HTMLElementEventMap, T extends HTMLElement = HTMLDivElement>(eventName: K, handler: (event: HTMLElementEventMap[K]) => void, element: RefObject<T>): void;
|
|
4
|
-
export default useEventListener;
|
|
5
|
-
//# sourceMappingURL=useEventListener.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useEventListener.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Tooltip/useEventListener.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAqB,MAAM,OAAO,CAAC;AAErD,iBAAS,gBAAgB,CAAC,CAAC,SAAS,MAAM,cAAc,EACtD,SAAS,EAAE,CAAC,EACZ,OAAO,EAAE,CAAC,KAAK,EAAE,cAAc,CAAC,CAAC,CAAC,KAAK,IAAI,GAC1C,IAAI,CAAC;AACR,iBAAS,gBAAgB,CACvB,CAAC,SAAS,MAAM,mBAAmB,EACnC,CAAC,SAAS,WAAW,GAAG,cAAc,EAEtC,SAAS,EAAE,CAAC,EACZ,OAAO,EAAE,CAAC,KAAK,EAAE,mBAAmB,CAAC,CAAC,CAAC,KAAK,IAAI,EAChD,OAAO,EAAE,SAAS,CAAC,CAAC,CAAC,GACpB,IAAI,CAAC;AAwCR,eAAe,gBAAgB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Content.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Wallet/Content.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAEnD,OAAO,KAAK,MAAM,OAAO,CAAC;AAO1B,iBAAS,OAAO,CAAC,KAAK,EAAE,YAAY,qBAuBnC;AAED,eAAe,OAAO,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FilledCircle.d.ts","sourceRoot":"","sources":["../../../../../../src/components/common/FilledCircle.tsx"],"names":[],"mappings":"AAEA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAKvB,CAAC"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import type { LoadingStatus } from '../../types/meta';
|
|
2
|
-
import type { CSSProperties } from '@stitches/react';
|
|
3
|
-
import type { BlockchainMeta } from 'rango-sdk';
|
|
4
|
-
import React from 'react';
|
|
5
|
-
export interface PropTypes {
|
|
6
|
-
type?: 'Source' | 'Destination';
|
|
7
|
-
list: BlockchainMeta[];
|
|
8
|
-
selected?: BlockchainMeta | null;
|
|
9
|
-
onChange: (blockchain: BlockchainMeta) => void;
|
|
10
|
-
onBack?: () => void;
|
|
11
|
-
loadingStatus: LoadingStatus;
|
|
12
|
-
hasHeader?: boolean;
|
|
13
|
-
listContainerStyle?: CSSProperties;
|
|
14
|
-
multiSelect?: boolean;
|
|
15
|
-
selectedList?: BlockchainMeta[] | 'all';
|
|
16
|
-
}
|
|
17
|
-
export declare function BlockchainSelector(props: PropTypes): React.JSX.Element;
|
|
18
|
-
//# sourceMappingURL=BlockchainSelector.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"BlockchainSelector.d.ts","sourceRoot":"","sources":["../../../../../../src/containers/BlockchainSelector/BlockchainSelector.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AACrD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAEhD,OAAO,KAAK,MAAM,OAAO,CAAC;AAuB1B,MAAM,WAAW,SAAS;IACxB,IAAI,CAAC,EAAE,QAAQ,GAAG,aAAa,CAAC;IAChC,IAAI,EAAE,cAAc,EAAE,CAAC;IACvB,QAAQ,CAAC,EAAE,cAAc,GAAG,IAAI,CAAC;IACjC,QAAQ,EAAE,CAAC,UAAU,EAAE,cAAc,KAAK,IAAI,CAAC;IAC/C,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,aAAa,EAAE,aAAa,CAAC;IAC7B,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,kBAAkB,CAAC,EAAE,aAAa,CAAC;IACnC,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,YAAY,CAAC,EAAE,cAAc,EAAE,GAAG,KAAK,CAAC;CACzC;AAED,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,SAAS,qBAwDlD"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { PropTypes } from './BlockchainSelector';
|
|
3
|
-
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, PropTypes>;
|
|
4
|
-
export default _default;
|
|
5
|
-
export declare const Main: (args: PropTypes) => React.JSX.Element;
|
|
6
|
-
//# sourceMappingURL=BlockchainSelector.stories.d.ts.map
|
package/dist/widget/ui/src/containers/BlockchainSelector/BlockchainSelector.stories.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"BlockchainSelector.stories.d.ts","sourceRoot":"","sources":["../../../../../../src/containers/BlockchainSelector/BlockchainSelector.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAsB,SAAS,EAAE,MAAM,sBAAsB,CAAC;;AAIrE,wBAwBqC;AAErC,eAAO,MAAM,IAAI,SAAU,SAAS,sBAQnC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/containers/BlockchainSelector/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC"}
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import type { ConnectedWallet } from '../..';
|
|
2
|
-
import type { LoadingStatus, TokenWithBalance } from '../../types/meta';
|
|
3
|
-
import type { BestRouteResponse, BlockchainMeta, SwapResult } from 'rango-sdk';
|
|
4
|
-
import React from 'react';
|
|
5
|
-
interface HomePanelProps {
|
|
6
|
-
bestRoute: BestRouteResponse | null;
|
|
7
|
-
bestRouteError: string;
|
|
8
|
-
fetchBestRoute: () => void;
|
|
9
|
-
onClickHistory: () => void;
|
|
10
|
-
onClickSettings: () => void;
|
|
11
|
-
fromBlockchain: BlockchainMeta | null;
|
|
12
|
-
toBlockchain: BlockchainMeta | null;
|
|
13
|
-
fromToken: TokenWithBalance | null;
|
|
14
|
-
toToken: TokenWithBalance | null;
|
|
15
|
-
setInputAmount: (amount: string) => void;
|
|
16
|
-
outputAmount: string;
|
|
17
|
-
outputUsdValue: string;
|
|
18
|
-
inputUsdValue: string;
|
|
19
|
-
inputAmount: string;
|
|
20
|
-
loadingStatus: LoadingStatus;
|
|
21
|
-
showBestRoute: boolean;
|
|
22
|
-
fetchingBestRoute: boolean;
|
|
23
|
-
swapButtonTitle: string;
|
|
24
|
-
swapButtonDisabled: boolean;
|
|
25
|
-
swapButtonClick: () => void;
|
|
26
|
-
onChainClick: (route: 'from-chain' | 'to-chain') => void;
|
|
27
|
-
onTokenClick: (route: 'from-token' | 'to-token') => void;
|
|
28
|
-
connectedWallets: ConnectedWallet[];
|
|
29
|
-
highFee: boolean;
|
|
30
|
-
errorMessage: string;
|
|
31
|
-
hasLimitError: (bestRoute: BestRouteResponse | null) => boolean;
|
|
32
|
-
swap: SwapResult | null;
|
|
33
|
-
swapFromAmount: string | null;
|
|
34
|
-
fromAmountRangeError: string;
|
|
35
|
-
recommendation: string;
|
|
36
|
-
totalFeeInUsd: string;
|
|
37
|
-
swithFromAndToComponent: React.ReactNode;
|
|
38
|
-
percentageChange: string;
|
|
39
|
-
tokenBalanceReal: string;
|
|
40
|
-
tokenBalance: string;
|
|
41
|
-
totalTime: string;
|
|
42
|
-
bestRouteData: BestRouteResponse | null;
|
|
43
|
-
showPercentageChange: boolean;
|
|
44
|
-
}
|
|
45
|
-
/**
|
|
46
|
-
* @deprecated Will be removed in v2
|
|
47
|
-
*/
|
|
48
|
-
export declare function HomePanel({ bestRoute, fromBlockchain, toBlockchain, fromToken, toToken, setInputAmount, outputAmount, inputAmount, loadingStatus, showBestRoute, fetchingBestRoute, outputUsdValue, inputUsdValue, swapButtonTitle, swapButtonDisabled, swapButtonClick, onChainClick, onTokenClick, connectedWallets, errorMessage, hasLimitError, swap, fromAmountRangeError, recommendation, swithFromAndToComponent, percentageChange, tokenBalanceReal, tokenBalance, swapFromAmount, showPercentageChange, }: HomePanelProps): React.JSX.Element;
|
|
49
|
-
export {};
|
|
50
|
-
//# sourceMappingURL=HomePanel.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"HomePanel.d.ts","sourceRoot":"","sources":["../../../../../../src/containers/HomePanel/HomePanel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,OAAO,CAAC;AAC7C,OAAO,KAAK,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AACxE,OAAO,KAAK,EAAE,iBAAiB,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAG/E,OAAO,KAAK,MAAM,OAAO,CAAC;AAuC1B,UAAU,cAAc;IACtB,SAAS,EAAE,iBAAiB,GAAG,IAAI,CAAC;IACpC,cAAc,EAAE,MAAM,CAAC;IACvB,cAAc,EAAE,MAAM,IAAI,CAAC;IAC3B,cAAc,EAAE,MAAM,IAAI,CAAC;IAC3B,eAAe,EAAE,MAAM,IAAI,CAAC;IAC5B,cAAc,EAAE,cAAc,GAAG,IAAI,CAAC;IACtC,YAAY,EAAE,cAAc,GAAG,IAAI,CAAC;IACpC,SAAS,EAAE,gBAAgB,GAAG,IAAI,CAAC;IACnC,OAAO,EAAE,gBAAgB,GAAG,IAAI,CAAC;IACjC,cAAc,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IACzC,YAAY,EAAE,MAAM,CAAC;IACrB,cAAc,EAAE,MAAM,CAAC;IACvB,aAAa,EAAE,MAAM,CAAC;IACtB,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE,aAAa,CAAC;IAC7B,aAAa,EAAE,OAAO,CAAC;IACvB,iBAAiB,EAAE,OAAO,CAAC;IAC3B,eAAe,EAAE,MAAM,CAAC;IACxB,kBAAkB,EAAE,OAAO,CAAC;IAC5B,eAAe,EAAE,MAAM,IAAI,CAAC;IAC5B,YAAY,EAAE,CAAC,KAAK,EAAE,YAAY,GAAG,UAAU,KAAK,IAAI,CAAC;IACzD,YAAY,EAAE,CAAC,KAAK,EAAE,YAAY,GAAG,UAAU,KAAK,IAAI,CAAC;IACzD,gBAAgB,EAAE,eAAe,EAAE,CAAC;IACpC,OAAO,EAAE,OAAO,CAAC;IACjB,YAAY,EAAE,MAAM,CAAC;IACrB,aAAa,EAAE,CAAC,SAAS,EAAE,iBAAiB,GAAG,IAAI,KAAK,OAAO,CAAC;IAChE,IAAI,EAAE,UAAU,GAAG,IAAI,CAAC;IACxB,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,oBAAoB,EAAE,MAAM,CAAC;IAC7B,cAAc,EAAE,MAAM,CAAC;IACvB,aAAa,EAAE,MAAM,CAAC;IACtB,uBAAuB,EAAE,KAAK,CAAC,SAAS,CAAC;IACzC,gBAAgB,EAAE,MAAM,CAAC;IACzB,gBAAgB,EAAE,MAAM,CAAC;IACzB,YAAY,EAAE,MAAM,CAAC;IACrB,SAAS,EAAE,MAAM,CAAC;IAClB,aAAa,EAAE,iBAAiB,GAAG,IAAI,CAAC;IACxC,oBAAoB,EAAE,OAAO,CAAC;CAC/B;AAED;;GAEG;AACH,wBAAgB,SAAS,CAAC,EACxB,SAAS,EACT,cAAc,EACd,YAAY,EACZ,SAAS,EACT,OAAO,EACP,cAAc,EACd,YAAY,EACZ,WAAW,EACX,aAAa,EACb,aAAa,EACb,iBAAiB,EACjB,cAAc,EACd,aAAa,EACb,eAAe,EACf,kBAAkB,EAClB,eAAe,EACf,YAAY,EACZ,YAAY,EACZ,gBAAgB,EAChB,YAAY,EACZ,aAAa,EACb,IAAI,EACJ,oBAAoB,EACpB,cAAc,EACd,uBAAuB,EACvB,gBAAgB,EAChB,gBAAgB,EAChB,YAAY,EACZ,cAAc,EACd,oBAAoB,GACrB,EAAE,cAAc,qBAkFhB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/containers/HomePanel/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC"}
|