@rango-dev/ui 0.15.1-next.2 → 0.15.1-next.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +6 -6
- package/dist/index.js.map +4 -4
- package/dist/translations/en.d.ts.map +1 -1
- package/dist/translations/es.d.ts.map +1 -1
- package/dist/translations/fr.d.ts.map +1 -1
- package/dist/translations/jp.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Alert/Alert.d.ts +6 -6
- package/dist/widget/ui/src/components/Alert/Alert.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Alert/Alert.helpers.d.ts +3 -0
- package/dist/widget/ui/src/components/Alert/Alert.helpers.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Alert/Alert.stories.d.ts +2 -1
- package/dist/widget/ui/src/components/Alert/Alert.stories.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Alert/Alert.styles.d.ts +467 -0
- package/dist/widget/ui/src/components/Alert/Alert.styles.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Alert/Alert.types.d.ts +11 -0
- package/dist/widget/ui/src/components/Alert/Alert.types.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Alert/AlertIcon.d.ts +5 -0
- package/dist/widget/ui/src/components/Alert/AlertIcon.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Alert/LoadingFailedAlert.d.ts +3 -0
- package/dist/widget/ui/src/components/Alert/LoadingFailedAlert.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Alert/NotFoundAlert.d.ts +3 -0
- package/dist/widget/ui/src/components/Alert/NotFoundAlert.d.ts.map +1 -1
- package/dist/widget/ui/src/components/BestRoute/BestRoute.d.ts +3 -15
- package/dist/widget/ui/src/components/BestRoute/BestRoute.d.ts.map +1 -1
- package/dist/widget/ui/src/components/BestRoute/BestRoute.stories.d.ts +6 -10
- package/dist/widget/ui/src/components/BestRoute/BestRoute.stories.d.ts.map +1 -1
- package/dist/widget/ui/src/components/BestRoute/BestRoute.styles.d.ts +1393 -0
- package/dist/widget/ui/src/components/BestRoute/BestRoute.styles.d.ts.map +1 -0
- package/dist/widget/ui/src/components/BestRoute/BestRoute.types.d.ts +34 -0
- package/dist/widget/ui/src/components/BestRoute/BestRoute.types.d.ts.map +1 -0
- package/dist/widget/ui/src/components/BestRoute/BestRouteSkeleton.d.ts +4 -0
- package/dist/widget/ui/src/components/BestRoute/BestRouteSkeleton.d.ts.map +1 -0
- package/dist/widget/ui/src/components/BestRoute/BestRouteSkeleton.styles.d.ts +311 -0
- package/dist/widget/ui/src/components/BestRoute/BestRouteSkeleton.styles.d.ts.map +1 -0
- package/dist/widget/ui/src/components/BestRoute/BestRouteSkeleton.types.d.ts +6 -0
- package/dist/widget/ui/src/components/BestRoute/BestRouteSkeleton.types.d.ts.map +1 -0
- package/dist/widget/ui/src/components/BestRoute/RouteSummary.d.ts +12 -0
- package/dist/widget/ui/src/components/BestRoute/RouteSummary.d.ts.map +1 -0
- package/dist/widget/ui/src/components/BestRoute/RouteSummary.styles.d.ts +154 -0
- package/dist/widget/ui/src/components/BestRoute/RouteSummary.styles.d.ts.map +1 -0
- package/dist/widget/ui/src/components/BestRoute/index.d.ts +3 -0
- package/dist/widget/ui/src/components/BestRoute/index.d.ts.map +1 -1
- package/dist/widget/ui/src/components/BestRoute/mock.d.ts +2 -4
- package/dist/widget/ui/src/components/BestRoute/mock.d.ts.map +1 -1
- package/dist/widget/ui/src/components/BlockchainsChip/BlockchainsChip.d.ts +5 -0
- package/dist/widget/ui/src/components/BlockchainsChip/BlockchainsChip.d.ts.map +1 -0
- package/dist/widget/ui/src/components/BlockchainsChip/BlockchainsChip.styles.d.ts +156 -0
- package/dist/widget/ui/src/components/BlockchainsChip/BlockchainsChip.styles.d.ts.map +1 -0
- package/dist/widget/ui/src/components/BlockchainsChip/BlockchainsChip.types.d.ts +6 -0
- package/dist/widget/ui/src/components/BlockchainsChip/BlockchainsChip.types.d.ts.map +1 -0
- package/dist/widget/ui/src/components/BlockchainsChip/index.d.ts +2 -0
- package/dist/widget/ui/src/components/BlockchainsChip/index.d.ts.map +1 -0
- package/dist/widget/ui/src/components/BlockchainsList/BlockchainsList.d.ts +4 -1
- package/dist/widget/ui/src/components/BlockchainsList/BlockchainsList.d.ts.map +1 -1
- package/dist/widget/ui/src/components/BlockchainsList/BlockchainsList.stories.d.ts +1 -1
- package/dist/widget/ui/src/components/BlockchainsList/BlockchainsList.stories.d.ts.map +1 -1
- package/dist/widget/ui/src/components/BottomLogo/BottomLogo.d.ts.map +1 -1
- package/dist/widget/ui/src/components/BottomLogo/BottomLogo.styles.d.ts +307 -0
- package/dist/widget/ui/src/components/BottomLogo/BottomLogo.styles.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Button/Button.d.ts +281 -15
- package/dist/widget/ui/src/components/Button/Button.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Button/Button.stories.d.ts +5 -6
- package/dist/widget/ui/src/components/Button/Button.stories.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Button/Button.styles.d.ts +468 -0
- package/dist/widget/ui/src/components/Button/Button.styles.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Button/Button.types.d.ts +21 -0
- package/dist/widget/ui/src/components/Button/Button.types.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Button/Ripple.d.ts +6 -0
- package/dist/widget/ui/src/components/Button/Ripple.d.ts.map +1 -0
- package/dist/widget/ui/src/components/ChainToken/ChainToken.constants.d.ts +8 -0
- package/dist/widget/ui/src/components/ChainToken/ChainToken.constants.d.ts.map +1 -0
- package/dist/widget/ui/src/components/ChainToken/ChainToken.d.ts +4 -0
- package/dist/widget/ui/src/components/ChainToken/ChainToken.d.ts.map +1 -0
- package/dist/widget/ui/src/components/ChainToken/ChainToken.stories.d.ts +8 -0
- package/dist/widget/ui/src/components/ChainToken/ChainToken.stories.d.ts.map +1 -0
- package/dist/widget/ui/src/components/ChainToken/ChainToken.styles.d.ts +309 -0
- package/dist/widget/ui/src/components/ChainToken/ChainToken.styles.d.ts.map +1 -0
- package/dist/widget/ui/src/components/ChainToken/ChainToken.types.d.ts +13 -0
- package/dist/widget/ui/src/components/ChainToken/ChainToken.types.d.ts.map +1 -0
- package/dist/widget/ui/src/components/ChainToken/index.d.ts +2 -0
- package/dist/widget/ui/src/components/ChainToken/index.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Checkbox/Checkbox.d.ts +4 -11
- package/dist/widget/ui/src/components/Checkbox/Checkbox.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Checkbox/Checkbox.stories.d.ts +5 -5
- package/dist/widget/ui/src/components/Checkbox/Checkbox.stories.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Checkbox/Checkbox.styles.d.ts +615 -0
- package/dist/widget/ui/src/components/Checkbox/Checkbox.styles.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Checkbox/Checkbox.types.d.ts +14 -0
- package/dist/widget/ui/src/components/Checkbox/Checkbox.types.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Chip/Chip.d.ts +1 -10
- package/dist/widget/ui/src/components/Chip/Chip.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Chip/Chip.stories.d.ts +26 -2
- package/dist/widget/ui/src/components/Chip/Chip.stories.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Chip/Chip.styles.d.ts +156 -0
- package/dist/widget/ui/src/components/Chip/Chip.styles.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Chip/Chip.types.d.ts +14 -0
- package/dist/widget/ui/src/components/Chip/Chip.types.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Collapsible/Collapsible.d.ts +5 -0
- package/dist/widget/ui/src/components/Collapsible/Collapsible.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Collapsible/Collapsible.stories.d.ts +23 -0
- package/dist/widget/ui/src/components/Collapsible/Collapsible.stories.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Collapsible/Collapsible.styles.d.ts +156 -0
- package/dist/widget/ui/src/components/Collapsible/Collapsible.styles.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Collapsible/Collapsible.types.d.ts +7 -0
- package/dist/widget/ui/src/components/Collapsible/Collapsible.types.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Collapsible/index.d.ts +2 -0
- package/dist/widget/ui/src/components/Collapsible/index.d.ts.map +1 -0
- package/dist/widget/ui/src/components/ColorPicker/ColorPicker.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Divider/Divider.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Drawer/Drawer.d.ts +3 -12
- package/dist/widget/ui/src/components/Drawer/Drawer.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Drawer/Drawer.stories.d.ts +4 -2
- package/dist/widget/ui/src/components/Drawer/Drawer.stories.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Drawer/Drawer.styles.d.ts +768 -0
- package/dist/widget/ui/src/components/Drawer/Drawer.styles.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Drawer/Drawer.types.d.ts +18 -0
- package/dist/widget/ui/src/components/Drawer/Drawer.types.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Header/Header.d.ts +4 -9
- package/dist/widget/ui/src/components/Header/Header.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Header/Header.stories.d.ts +7 -0
- package/dist/widget/ui/src/components/Header/Header.stories.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Header/Header.styles.d.ts +307 -0
- package/dist/widget/ui/src/components/Header/Header.styles.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Header/Header.types.d.ts +7 -0
- package/dist/widget/ui/src/components/Header/Header.types.d.ts.map +1 -0
- package/dist/widget/ui/src/components/I18nManager/I18nManager.d.ts +1 -1
- package/dist/widget/ui/src/components/I18nManager/I18nManager.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Icon/AddCircleIcon.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Icon/AddIcon.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Icon/AddWalletIcon.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Icon/AngleDownIcon.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Icon/AngleLeftIcon.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Icon/AngleRightIcon.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Icon/AngleUpIcon.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Icon/ArrowRightIcon.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Icon/BagIcon.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Icon/BanIcon.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Icon/CheckCircleIcon.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Icon/CheckIcon.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Icon/CheckSquareIcon.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Icon/CheckWalletIcon.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Icon/ChevronRightIcon.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Icon/CloseIcon.d.ts +78 -36
- package/dist/widget/ui/src/components/Icon/CloseIcon.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Icon/CopyIcon.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Icon/DeleteCircleIcon.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Icon/DeleteWalletIcon.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Icon/DisconnectIcon.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Icon/DownloadIcon.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Icon/GasIcon.d.ts +1 -1
- package/dist/widget/ui/src/components/Icon/GasIcon.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Icon/HistoryIcon.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Icon/HorizontalSwapIcon.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Icon/InfoCircleIcon.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Icon/MinusCircleIcon.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Icon/RetryIcon.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Icon/RetryLeftIcon.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Icon/RetryRightIcon.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Icon/SearchIcon.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Icon/SearchMinusIcon.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Icon/SettingIcon.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Icon/SignatureIcon.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Icon/SwapWalletIcon.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Icon/TimeIcon.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Icon/TrashIcon.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Icon/TryAgainIcon.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Icon/VerticalSwapIcon.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Icon/WalletIconIcon.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Icon/WarningIcon.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Icon/common.d.ts +158 -74
- package/dist/widget/ui/src/components/Icon/common.d.ts.map +1 -1
- package/dist/widget/ui/src/components/IconButton/IconButton.d.ts +7 -0
- package/dist/widget/ui/src/components/IconButton/IconButton.d.ts.map +1 -0
- package/dist/widget/ui/src/components/IconButton/IconButton.stories.d.ts +8 -0
- package/dist/widget/ui/src/components/IconButton/IconButton.stories.d.ts.map +1 -0
- package/dist/widget/ui/src/components/IconButton/IconButton.types.d.ts +12 -0
- package/dist/widget/ui/src/components/IconButton/IconButton.types.d.ts.map +1 -0
- package/dist/widget/ui/src/components/IconButton/index.d.ts +2 -0
- package/dist/widget/ui/src/components/IconButton/index.d.ts.map +1 -0
- package/dist/widget/ui/src/components/LiquiditySourceList/LiquiditySource.stories.d.ts +1 -1
- package/dist/widget/ui/src/components/LiquiditySourceList/LiquiditySource.stories.d.ts.map +1 -1
- package/dist/widget/ui/src/components/LiquiditySourceList/LiquiditySourceList.d.ts +2 -2
- package/dist/widget/ui/src/components/LiquiditySourceList/LiquiditySourceList.d.ts.map +1 -1
- package/dist/widget/ui/src/components/List/List.d.ts +5 -0
- package/dist/widget/ui/src/components/List/List.d.ts.map +1 -0
- package/dist/widget/ui/src/components/List/List.stories.d.ts +12 -0
- package/dist/widget/ui/src/components/List/List.stories.d.ts.map +1 -0
- package/dist/widget/ui/src/components/List/List.styles.d.ts +154 -0
- package/dist/widget/ui/src/components/List/List.styles.d.ts.map +1 -0
- package/dist/widget/ui/src/components/List/List.types.d.ts +12 -0
- package/dist/widget/ui/src/components/List/List.types.d.ts.map +1 -0
- package/dist/widget/ui/src/components/List/index.d.ts +2 -0
- package/dist/widget/ui/src/components/List/index.d.ts.map +1 -0
- package/dist/widget/ui/src/components/ListItem/ListItem.d.ts +5 -0
- package/dist/widget/ui/src/components/ListItem/ListItem.d.ts.map +1 -0
- package/dist/widget/ui/src/components/ListItem/ListItem.styles.d.ts +156 -0
- package/dist/widget/ui/src/components/ListItem/ListItem.styles.d.ts.map +1 -0
- package/dist/widget/ui/src/components/ListItem/ListItem.types.d.ts +11 -0
- package/dist/widget/ui/src/components/ListItem/ListItem.types.d.ts.map +1 -0
- package/dist/widget/ui/src/components/ListItem/index.d.ts +3 -0
- package/dist/widget/ui/src/components/ListItem/index.d.ts.map +1 -0
- package/dist/widget/ui/src/components/ListItemButton/ListItemButton.d.ts +5 -0
- package/dist/widget/ui/src/components/ListItemButton/ListItemButton.d.ts.map +1 -0
- package/dist/widget/ui/src/components/ListItemButton/ListItemButton.styles.d.ts +157 -0
- package/dist/widget/ui/src/components/ListItemButton/ListItemButton.styles.d.ts.map +1 -0
- package/dist/widget/ui/src/components/ListItemButton/ListItemButton.types.d.ts +10 -0
- package/dist/widget/ui/src/components/ListItemButton/ListItemButton.types.d.ts.map +1 -0
- package/dist/widget/ui/src/components/ListItemButton/index.d.ts +3 -0
- package/dist/widget/ui/src/components/ListItemButton/index.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Logo/Logo.d.ts +4 -0
- package/dist/widget/ui/src/components/Logo/Logo.d.ts.map +1 -0
- package/dist/widget/ui/src/components/MessageBox/CollapsibleMessageBox.d.ts +5 -0
- package/dist/widget/ui/src/components/MessageBox/CollapsibleMessageBox.d.ts.map +1 -0
- package/dist/widget/ui/src/components/MessageBox/CollapsibleMessageBox.stories.d.ts +7 -0
- package/dist/widget/ui/src/components/MessageBox/CollapsibleMessageBox.stories.d.ts.map +1 -0
- package/dist/widget/ui/src/components/MessageBox/CollapsibleMessageBox.styles.d.ts +156 -0
- package/dist/widget/ui/src/components/MessageBox/CollapsibleMessageBox.styles.d.ts.map +1 -0
- package/dist/widget/ui/src/components/MessageBox/CollapsibleMessageBox.types.d.ts +11 -0
- package/dist/widget/ui/src/components/MessageBox/CollapsibleMessageBox.types.d.ts.map +1 -0
- package/dist/widget/ui/src/components/MessageBox/DefaultMessageBox.d.ts +5 -0
- package/dist/widget/ui/src/components/MessageBox/DefaultMessageBox.d.ts.map +1 -0
- package/dist/widget/ui/src/components/MessageBox/MessageBox.d.ts +3 -0
- package/dist/widget/ui/src/components/MessageBox/MessageBox.d.ts.map +1 -0
- package/dist/widget/ui/src/components/MessageBox/MessageBox.stories.d.ts +7 -0
- package/dist/widget/ui/src/components/MessageBox/MessageBox.stories.d.ts.map +1 -0
- package/dist/widget/ui/src/components/MessageBox/MessageBox.styles.d.ts +462 -0
- package/dist/widget/ui/src/components/MessageBox/MessageBox.styles.d.ts.map +1 -0
- package/dist/widget/ui/src/components/MessageBox/MessageBox.types.d.ts +13 -0
- package/dist/widget/ui/src/components/MessageBox/MessageBox.types.d.ts.map +1 -0
- package/dist/widget/ui/src/components/MessageBox/StatusIcon.d.ts +5 -0
- package/dist/widget/ui/src/components/MessageBox/StatusIcon.d.ts.map +1 -0
- package/dist/widget/ui/src/components/MessageBox/index.d.ts +2 -0
- package/dist/widget/ui/src/components/MessageBox/index.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Modal/Modal.d.ts +3 -11
- package/dist/widget/ui/src/components/Modal/Modal.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Modal/Modal.stories.d.ts +4 -2
- package/dist/widget/ui/src/components/Modal/Modal.stories.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Modal/Modal.styles.d.ts +927 -0
- package/dist/widget/ui/src/components/Modal/Modal.styles.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Modal/Modal.types.d.ts +22 -0
- package/dist/widget/ui/src/components/Modal/Modal.types.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Modal/index.d.ts +1 -0
- package/dist/widget/ui/src/components/Modal/index.d.ts.map +1 -1
- package/dist/widget/ui/src/components/NotFound/NotFound.d.ts +4 -0
- package/dist/widget/ui/src/components/NotFound/NotFound.d.ts.map +1 -0
- package/dist/widget/ui/src/{containers/Settings/Settings.stories.d.ts → components/NotFound/NotFound.stories.d.ts} +2 -2
- package/dist/widget/ui/src/components/NotFound/NotFound.stories.d.ts.map +1 -0
- package/dist/widget/ui/src/components/NotFound/NotFound.styles.d.ts +154 -0
- package/dist/widget/ui/src/components/NotFound/NotFound.styles.d.ts.map +1 -0
- package/dist/widget/ui/src/components/NotFound/NotFound.types.d.ts +5 -0
- package/dist/widget/ui/src/components/NotFound/NotFound.types.d.ts.map +1 -0
- package/dist/widget/ui/src/components/NotFound/index.d.ts +2 -0
- package/dist/widget/ui/src/components/NotFound/index.d.ts.map +1 -0
- package/dist/widget/ui/src/components/PercentageChange/PercentageChange.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Popover/Popover.d.ts +6 -0
- package/dist/widget/ui/src/components/Popover/Popover.d.ts.map +1 -0
- package/dist/widget/ui/src/{containers/History/History.stories.d.ts → components/Popover/Popover.stories.d.ts} +4 -4
- package/dist/widget/ui/src/components/Popover/Popover.stories.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Popover/Popover.styles.d.ts +309 -0
- package/dist/widget/ui/src/components/Popover/Popover.styles.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Popover/Popover.types.d.ts +17 -0
- package/dist/widget/ui/src/components/Popover/Popover.types.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Popover/index.d.ts +2 -0
- package/dist/widget/ui/src/components/Popover/index.d.ts.map +1 -0
- package/dist/widget/ui/src/components/PriceImpact/PriceImpact.d.ts +4 -0
- package/dist/widget/ui/src/components/PriceImpact/PriceImpact.d.ts.map +1 -0
- package/dist/widget/ui/src/components/PriceImpact/PriceImpact.stories.d.ts +8 -0
- package/dist/widget/ui/src/components/PriceImpact/PriceImpact.stories.d.ts.map +1 -0
- package/dist/widget/ui/src/components/PriceImpact/PriceImpact.styles.d.ts +154 -0
- package/dist/widget/ui/src/components/PriceImpact/PriceImpact.styles.d.ts.map +1 -0
- package/dist/widget/ui/src/components/PriceImpact/PriceImpact.types.d.ts +9 -0
- package/dist/widget/ui/src/components/PriceImpact/PriceImpact.types.d.ts.map +1 -0
- package/dist/widget/ui/src/components/PriceImpact/index.d.ts +3 -0
- package/dist/widget/ui/src/components/PriceImpact/index.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Radio/Radio.d.ts +1 -11
- package/dist/widget/ui/src/components/Radio/Radio.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Radio/Radio.stories.d.ts +1 -1
- package/dist/widget/ui/src/components/Radio/Radio.stories.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Radio/Radio.styles.d.ts +309 -0
- package/dist/widget/ui/src/components/Radio/Radio.styles.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Radio/Radio.types.d.ts +4 -0
- package/dist/widget/ui/src/components/Radio/Radio.types.d.ts.map +1 -0
- package/dist/widget/ui/src/components/RadioGroup/RadioGroup.d.ts +4 -0
- package/dist/widget/ui/src/components/RadioGroup/RadioGroup.d.ts.map +1 -0
- package/dist/widget/ui/src/components/{StatusDrawer/StatusDrawer.stories.d.ts → RadioGroup/RadioGroup.stories.d.ts} +2 -2
- package/dist/widget/ui/src/components/RadioGroup/RadioGroup.stories.d.ts.map +1 -0
- package/dist/widget/ui/src/components/RadioGroup/RadioGroup.styles.d.ts +617 -0
- package/dist/widget/ui/src/components/RadioGroup/RadioGroup.styles.d.ts.map +1 -0
- package/dist/widget/ui/src/components/RadioGroup/RadioGroup.types.d.ts +13 -0
- package/dist/widget/ui/src/components/RadioGroup/RadioGroup.types.d.ts.map +1 -0
- package/dist/widget/ui/src/components/RadioGroup/index.d.ts +3 -0
- package/dist/widget/ui/src/components/RadioGroup/index.d.ts.map +1 -0
- package/dist/widget/ui/src/components/RouteCost/RouteCost.d.ts +4 -0
- package/dist/widget/ui/src/components/RouteCost/RouteCost.d.ts.map +1 -0
- package/dist/widget/ui/src/components/RouteCost/RouteCost.styles.d.ts +154 -0
- package/dist/widget/ui/src/components/RouteCost/RouteCost.styles.d.ts.map +1 -0
- package/dist/widget/ui/src/components/RouteCost/RouteCost.types.d.ts +6 -0
- package/dist/widget/ui/src/components/RouteCost/RouteCost.types.d.ts.map +1 -0
- package/dist/widget/ui/src/components/RouteCost/index.d.ts +2 -0
- package/dist/widget/ui/src/components/RouteCost/index.d.ts.map +1 -0
- package/dist/widget/ui/src/components/RoutesOverview/RoutesOverview.d.ts +79 -37
- package/dist/widget/ui/src/components/RoutesOverview/RoutesOverview.d.ts.map +1 -1
- package/dist/widget/ui/src/components/SecondaryPage/SecondaryPage.d.ts +5 -1
- package/dist/widget/ui/src/components/SecondaryPage/SecondaryPage.d.ts.map +1 -1
- package/dist/widget/ui/src/components/SecondaryPage/SecondaryPage.stories.d.ts +1 -1
- package/dist/widget/ui/src/components/SecondaryPage/SecondaryPage.stories.d.ts.map +1 -1
- package/dist/widget/ui/src/components/SelectableCategoryList/SelectableCategoryList.d.ts +4 -0
- package/dist/widget/ui/src/components/SelectableCategoryList/SelectableCategoryList.d.ts.map +1 -0
- package/dist/widget/ui/src/components/SelectableCategoryList/SelectableCategoryList.helpers.d.ts +4 -0
- package/dist/widget/ui/src/components/SelectableCategoryList/SelectableCategoryList.helpers.d.ts.map +1 -0
- package/dist/widget/ui/src/components/SelectableCategoryList/SelectableCategoryList.styles.d.ts +460 -0
- package/dist/widget/ui/src/components/SelectableCategoryList/SelectableCategoryList.styles.d.ts.map +1 -0
- package/dist/widget/ui/src/components/SelectableCategoryList/SelectableCategoryList.types.d.ts +15 -0
- package/dist/widget/ui/src/components/SelectableCategoryList/SelectableCategoryList.types.d.ts.map +1 -0
- package/dist/widget/ui/src/components/SelectableCategoryList/index.d.ts +3 -0
- package/dist/widget/ui/src/components/SelectableCategoryList/index.d.ts.map +1 -0
- package/dist/widget/ui/src/components/SelectableWalletList/SelectableWalletList.d.ts +5 -5
- package/dist/widget/ui/src/components/SelectableWalletList/SelectableWalletList.d.ts.map +1 -1
- package/dist/widget/ui/src/components/SelectableWalletList/SelectableWalletList.stories.d.ts +1 -1
- package/dist/widget/ui/src/components/SelectableWalletList/SelectableWalletList.stories.d.ts.map +1 -1
- package/dist/widget/ui/src/components/SelectableWalletList/mock.d.ts +9 -2
- package/dist/widget/ui/src/components/SelectableWalletList/mock.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Skeleton/Skeleton.d.ts +2 -5
- package/dist/widget/ui/src/components/Skeleton/Skeleton.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Skeleton/Skeleton.stories.d.ts +2 -2
- package/dist/widget/ui/src/components/Skeleton/Skeleton.stories.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Skeleton/Skeleton.styles.d.ts +157 -0
- package/dist/widget/ui/src/components/Skeleton/Skeleton.styles.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Skeleton/Skeleton.types.d.ts +18 -0
- package/dist/widget/ui/src/components/Skeleton/Skeleton.types.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Spinner/Spinner.d.ts +6 -3
- package/dist/widget/ui/src/components/Spinner/Spinner.d.ts.map +1 -1
- package/dist/widget/ui/src/components/StepDetails/StepDetails.d.ts +4 -0
- package/dist/widget/ui/src/components/StepDetails/StepDetails.d.ts.map +1 -0
- package/dist/widget/ui/src/components/StepDetails/StepDetails.stories.d.ts +7 -0
- package/dist/widget/ui/src/components/StepDetails/StepDetails.stories.d.ts.map +1 -0
- package/dist/widget/ui/src/components/StepDetails/StepDetails.styles.d.ts +777 -0
- package/dist/widget/ui/src/components/StepDetails/StepDetails.styles.d.ts.map +1 -0
- package/dist/widget/ui/src/components/StepDetails/StepDetails.types.d.ts +10 -0
- package/dist/widget/ui/src/components/StepDetails/StepDetails.types.d.ts.map +1 -0
- package/dist/widget/ui/src/components/StepDetails/index.d.ts +3 -0
- package/dist/widget/ui/src/components/StepDetails/index.d.ts.map +1 -0
- package/dist/widget/ui/src/components/StepDetails/mock.d.ts +3 -0
- package/dist/widget/ui/src/components/StepDetails/mock.d.ts.map +1 -0
- package/dist/widget/ui/src/components/SvgIcon/SvgIcon.d.ts +4 -0
- package/dist/widget/ui/src/components/SvgIcon/SvgIcon.d.ts.map +1 -0
- package/dist/widget/ui/src/components/SvgIcon/SvgIcon.style.d.ts +156 -0
- package/dist/widget/ui/src/components/SvgIcon/SvgIcon.style.d.ts.map +1 -0
- package/dist/widget/ui/src/components/SvgIcon/SvgIcon.types.d.ts +9 -0
- package/dist/widget/ui/src/components/SvgIcon/SvgIcon.types.d.ts.map +1 -0
- package/dist/widget/ui/src/components/SvgIcon/index.d.ts +3 -0
- package/dist/widget/ui/src/components/SvgIcon/index.d.ts.map +1 -0
- package/dist/widget/ui/src/components/SwapContainer/SwapContainer.d.ts +3 -2
- package/dist/widget/ui/src/components/SwapContainer/SwapContainer.d.ts.map +1 -1
- package/dist/widget/ui/src/components/SwapDetailsPlaceholder/SwapDetailsPlaceholder.d.ts +78 -36
- package/dist/widget/ui/src/components/SwapDetailsPlaceholder/SwapDetailsPlaceholder.d.ts.map +1 -1
- package/dist/widget/ui/src/components/SwapListItem/SwapListItem.d.ts +5 -0
- package/dist/widget/ui/src/components/SwapListItem/SwapListItem.d.ts.map +1 -0
- package/dist/widget/ui/src/components/SwapListItem/SwapListItem.helpers.d.ts +4 -0
- package/dist/widget/ui/src/components/SwapListItem/SwapListItem.helpers.d.ts.map +1 -0
- package/dist/widget/ui/src/components/SwapListItem/SwapListItem.stories.d.ts +6 -0
- package/dist/widget/ui/src/components/SwapListItem/SwapListItem.stories.d.ts.map +1 -0
- package/dist/widget/ui/src/components/SwapListItem/SwapListItem.styles.d.ts +919 -0
- package/dist/widget/ui/src/components/SwapListItem/SwapListItem.styles.d.ts.map +1 -0
- package/dist/widget/ui/src/components/SwapListItem/SwapListItem.types.d.ts +42 -0
- package/dist/widget/ui/src/components/SwapListItem/SwapListItem.types.d.ts.map +1 -0
- package/dist/widget/ui/src/components/SwapListItem/SwapToken.d.ts +4 -0
- package/dist/widget/ui/src/components/SwapListItem/SwapToken.d.ts.map +1 -0
- package/dist/widget/ui/src/components/SwapListItem/SwapToken.styles.d.ts +1380 -0
- package/dist/widget/ui/src/components/SwapListItem/SwapToken.styles.d.ts.map +1 -0
- package/dist/widget/ui/src/components/SwapListItem/SwapToken.types.d.ts +7 -0
- package/dist/widget/ui/src/components/SwapListItem/SwapToken.types.d.ts.map +1 -0
- package/dist/widget/ui/src/components/SwapListItem/index.d.ts +2 -0
- package/dist/widget/ui/src/components/SwapListItem/index.d.ts.map +1 -0
- package/dist/widget/ui/src/components/SwapListItem/mock.d.ts +5 -0
- package/dist/widget/ui/src/components/SwapListItem/mock.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Switch/Switch.d.ts +1 -4
- package/dist/widget/ui/src/components/Switch/Switch.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/Switch/Switch.styles.d.ts +309 -0
- package/dist/widget/ui/src/components/Switch/Switch.styles.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Switch/Switch.types.d.ts +5 -0
- package/dist/widget/ui/src/components/Switch/Switch.types.d.ts.map +1 -0
- package/dist/widget/ui/src/components/TextField/TextField.d.ts +9 -7
- package/dist/widget/ui/src/components/TextField/TextField.d.ts.map +1 -1
- package/dist/widget/ui/src/components/TextField/TextField.stories.d.ts +11 -2
- package/dist/widget/ui/src/components/TextField/TextField.stories.d.ts.map +1 -1
- package/dist/widget/ui/src/components/TextField/TextField.styles.d.ts +467 -0
- package/dist/widget/ui/src/components/TextField/TextField.styles.d.ts.map +1 -0
- package/dist/widget/ui/src/components/TextField/TextField.types.d.ts +17 -0
- package/dist/widget/ui/src/components/TextField/TextField.types.d.ts.map +1 -0
- package/dist/widget/ui/src/components/TokenAmount/TokenAmount.d.ts +4 -0
- package/dist/widget/ui/src/components/TokenAmount/TokenAmount.d.ts.map +1 -0
- package/dist/widget/ui/src/components/TokenAmount/TokenAmount.stories.d.ts +7 -0
- package/dist/widget/ui/src/components/TokenAmount/TokenAmount.stories.d.ts.map +1 -0
- package/dist/widget/ui/src/components/TokenAmount/TokenAmount.styles.d.ts +5 -0
- package/dist/widget/ui/src/components/TokenAmount/TokenAmount.styles.d.ts.map +1 -0
- package/dist/widget/ui/src/components/TokenAmount/TokenAmount.types.d.ts +17 -0
- package/dist/widget/ui/src/components/TokenAmount/TokenAmount.types.d.ts.map +1 -0
- package/dist/widget/ui/src/components/TokenAmount/index.d.ts +2 -0
- package/dist/widget/ui/src/components/TokenAmount/index.d.ts.map +1 -0
- package/dist/widget/ui/src/components/TokenList/TokenItem.d.ts +4 -3
- package/dist/widget/ui/src/components/TokenList/TokenItem.d.ts.map +1 -1
- package/dist/widget/ui/src/components/TokenList/TokenList.d.ts +4 -1
- package/dist/widget/ui/src/components/TokenList/TokenList.d.ts.map +1 -1
- package/dist/widget/ui/src/components/TokenList/TokenList.stories.d.ts +1 -1
- package/dist/widget/ui/src/components/TokenList/TokenList.stories.d.ts.map +1 -1
- package/dist/widget/ui/src/components/TokenList/mockData.d.ts +1 -1
- package/dist/widget/ui/src/components/TokenList/mockData.d.ts.map +1 -1
- package/dist/widget/ui/src/components/TokenPreview/TokenPreview.d.ts +3 -2
- package/dist/widget/ui/src/components/TokenPreview/TokenPreview.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Tooltip/Tooltip.d.ts +4 -7
- package/dist/widget/ui/src/components/Tooltip/Tooltip.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Tooltip/Tooltip.stories.d.ts +1 -1
- package/dist/widget/ui/src/components/Tooltip/Tooltip.stories.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Tooltip/Tooltip.styles.d.ts +463 -0
- package/dist/widget/ui/src/components/Tooltip/Tooltip.styles.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Tooltip/Tooltip.types.d.ts +12 -0
- package/dist/widget/ui/src/components/Tooltip/Tooltip.types.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Tooltip/useEventListener.d.ts +5 -0
- package/dist/widget/ui/src/components/Tooltip/useEventListener.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Typography/Typography.d.ts +3 -17
- package/dist/widget/ui/src/components/Typography/Typography.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Typography/Typography.stories.d.ts +29 -4
- package/dist/widget/ui/src/components/Typography/Typography.stories.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Typography/Typography.styles.d.ts +163 -0
- package/dist/widget/ui/src/components/Typography/Typography.styles.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Typography/Typography.types.d.ts +22 -0
- package/dist/widget/ui/src/components/Typography/Typography.types.d.ts.map +1 -0
- package/dist/widget/ui/src/components/VirtualizedList/VirtualizedList.d.ts +3 -16
- package/dist/widget/ui/src/components/VirtualizedList/VirtualizedList.d.ts.map +1 -1
- package/dist/widget/ui/src/components/VirtualizedList/VirtualizedList.types.d.ts +16 -0
- package/dist/widget/ui/src/components/VirtualizedList/VirtualizedList.types.d.ts.map +1 -0
- package/dist/widget/ui/src/components/VirtualizedList/index.d.ts +2 -0
- package/dist/widget/ui/src/components/VirtualizedList/index.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Wallet/ClickableWallet.d.ts +5 -0
- package/dist/widget/ui/src/components/Wallet/ClickableWallet.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Wallet/ClickableWallet.stories.d.ts +7 -0
- package/dist/widget/ui/src/components/Wallet/ClickableWallet.stories.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Wallet/Content.d.ts +5 -0
- package/dist/widget/ui/src/components/Wallet/Content.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Wallet/SelectableWallet.d.ts +4 -0
- package/dist/widget/ui/src/components/Wallet/SelectableWallet.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Wallet/SelectableWallet.stories.d.ts +7 -0
- package/dist/widget/ui/src/components/Wallet/SelectableWallet.stories.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Wallet/Wallet.d.ts +2 -7
- package/dist/widget/ui/src/components/Wallet/Wallet.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Wallet/Wallet.helpers.d.ts +4 -0
- package/dist/widget/ui/src/components/Wallet/Wallet.helpers.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Wallet/Wallet.styles.d.ts +769 -0
- package/dist/widget/ui/src/components/Wallet/Wallet.styles.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Wallet/Wallet.types.d.ts +55 -0
- package/dist/widget/ui/src/components/Wallet/Wallet.types.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Wallet/index.d.ts +2 -0
- package/dist/widget/ui/src/components/Wallet/index.d.ts.map +1 -1
- package/dist/widget/ui/src/components/common/FilledCircle.d.ts +78 -36
- package/dist/widget/ui/src/components/common/FilledCircle.d.ts.map +1 -1
- package/dist/widget/ui/src/components/common/Image.d.ts +4 -0
- package/dist/widget/ui/src/components/common/Image.d.ts.map +1 -1
- package/dist/widget/ui/src/components/common/styles.d.ts +158 -0
- package/dist/widget/ui/src/components/common/styles.d.ts.map +1 -0
- package/dist/widget/ui/src/components/index.d.ts +23 -5
- package/dist/widget/ui/src/components/index.d.ts.map +1 -1
- package/dist/widget/ui/src/containers/ConnectWalletsModal/ConnectWalletsModal.d.ts +2 -2
- package/dist/widget/ui/src/containers/ConnectWalletsModal/ConnectWalletsModal.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/History/types.d.ts +0 -38
- package/dist/widget/ui/src/containers/History/types.d.ts.map +1 -1
- package/dist/widget/ui/src/containers/HomePanel/HomePanel.d.ts +9 -6
- package/dist/widget/ui/src/containers/HomePanel/HomePanel.d.ts.map +1 -1
- package/dist/widget/ui/src/containers/SwapHistory/SwapHistory.d.ts +786 -362
- package/dist/widget/ui/src/containers/SwapHistory/SwapHistory.d.ts.map +1 -1
- package/dist/widget/ui/src/containers/SwapHistory/SwapMessages.d.ts.map +1 -1
- package/dist/widget/ui/src/containers/SwapInput/SwapInput.d.ts +4 -0
- package/dist/widget/ui/src/containers/SwapInput/SwapInput.d.ts.map +1 -0
- package/dist/widget/ui/src/containers/SwapInput/SwapInput.stories.d.ts +9 -0
- package/dist/widget/ui/src/containers/SwapInput/SwapInput.stories.d.ts.map +1 -0
- package/dist/widget/ui/src/containers/SwapInput/SwapInput.styles.d.ts +753 -0
- package/dist/widget/ui/src/containers/SwapInput/SwapInput.styles.d.ts.map +1 -0
- package/dist/widget/ui/src/containers/SwapInput/SwapInput.types.d.ts +36 -0
- package/dist/widget/ui/src/containers/SwapInput/SwapInput.types.d.ts.map +1 -0
- package/dist/widget/ui/src/containers/SwapInput/TokenSection.d.ts +4 -0
- package/dist/widget/ui/src/containers/SwapInput/TokenSection.d.ts.map +1 -0
- package/dist/widget/ui/src/containers/SwapInput/TokenSection.styles.d.ts +589 -0
- package/dist/widget/ui/src/containers/SwapInput/TokenSection.styles.d.ts.map +1 -0
- package/dist/widget/ui/src/containers/SwapInput/TokenSection.types.d.ts +10 -0
- package/dist/widget/ui/src/containers/SwapInput/TokenSection.types.d.ts.map +1 -0
- package/dist/widget/ui/src/containers/SwapInput/index.d.ts +2 -0
- package/dist/widget/ui/src/containers/SwapInput/index.d.ts.map +1 -0
- package/dist/widget/ui/src/containers/TokenInfo/TokenInfo.d.ts +5 -5
- package/dist/widget/ui/src/containers/TokenInfo/TokenInfo.d.ts.map +1 -1
- package/dist/widget/ui/src/containers/TokenSelector/TokenSelector.d.ts +78 -36
- package/dist/widget/ui/src/containers/TokenSelector/TokenSelector.d.ts.map +1 -1
- package/dist/widget/ui/src/containers/Warnings/BalanceErrors.d.ts.map +1 -1
- package/dist/widget/ui/src/containers/index.d.ts +1 -4
- package/dist/widget/ui/src/containers/index.d.ts.map +1 -1
- package/dist/widget/ui/src/helper/index.d.ts +0 -1
- package/dist/widget/ui/src/helper/index.d.ts.map +1 -1
- package/dist/widget/ui/src/icons/AutoTheme.d.ts +5 -0
- package/dist/widget/ui/src/icons/AutoTheme.d.ts.map +1 -0
- package/dist/widget/ui/src/icons/BorderRadius.d.ts +5 -0
- package/dist/widget/ui/src/icons/BorderRadius.d.ts.map +1 -0
- package/dist/widget/ui/src/icons/ChevronDown.d.ts +5 -0
- package/dist/widget/ui/src/icons/ChevronDown.d.ts.map +1 -0
- package/dist/widget/ui/src/icons/ChevronLeft.d.ts +5 -0
- package/dist/widget/ui/src/icons/ChevronLeft.d.ts.map +1 -0
- package/dist/widget/ui/src/icons/ChevronRight.d.ts +5 -0
- package/dist/widget/ui/src/icons/ChevronRight.d.ts.map +1 -0
- package/dist/widget/ui/src/icons/ChevronUp.d.ts +5 -0
- package/dist/widget/ui/src/icons/ChevronUp.d.ts.map +1 -0
- package/dist/widget/ui/src/icons/Close.d.ts +5 -0
- package/dist/widget/ui/src/icons/Close.d.ts.map +1 -0
- package/dist/widget/ui/src/icons/Complete.d.ts +5 -0
- package/dist/widget/ui/src/icons/Complete.d.ts.map +1 -0
- package/dist/widget/ui/src/icons/Copy.d.ts +5 -0
- package/dist/widget/ui/src/icons/Copy.d.ts.map +1 -0
- package/dist/widget/ui/src/icons/DarkMode.d.ts +5 -0
- package/dist/widget/ui/src/icons/DarkMode.d.ts.map +1 -0
- package/dist/widget/ui/src/icons/Delete.d.ts +5 -0
- package/dist/widget/ui/src/icons/Delete.d.ts.map +1 -0
- package/dist/widget/ui/src/icons/Desktop.d.ts +5 -0
- package/dist/widget/ui/src/icons/Desktop.d.ts.map +1 -0
- package/dist/widget/ui/src/icons/Done.d.ts +5 -0
- package/dist/widget/ui/src/icons/Done.d.ts.map +1 -0
- package/dist/widget/ui/src/icons/Error.d.ts +5 -0
- package/dist/widget/ui/src/icons/Error.d.ts.map +1 -0
- package/dist/widget/ui/src/icons/ExternalLink.d.ts +5 -0
- package/dist/widget/ui/src/icons/ExternalLink.d.ts.map +1 -0
- package/dist/widget/ui/src/icons/Font.d.ts +5 -0
- package/dist/widget/ui/src/icons/Font.d.ts.map +1 -0
- package/dist/widget/ui/src/icons/Gas.d.ts +5 -0
- package/dist/widget/ui/src/icons/Gas.d.ts.map +1 -0
- package/dist/widget/ui/src/icons/Gass.d.ts +5 -0
- package/dist/widget/ui/src/icons/Gass.d.ts.map +1 -0
- package/dist/widget/ui/src/icons/Icons.stories.d.ts +6 -0
- package/dist/widget/ui/src/icons/Icons.stories.d.ts.map +1 -0
- package/dist/widget/ui/src/icons/InProgress.d.ts +5 -0
- package/dist/widget/ui/src/icons/InProgress.d.ts.map +1 -0
- package/dist/widget/ui/src/icons/Info.d.ts +5 -0
- package/dist/widget/ui/src/icons/Info.d.ts.map +1 -0
- package/dist/widget/ui/src/icons/InfoError.d.ts +5 -0
- package/dist/widget/ui/src/icons/InfoError.d.ts.map +1 -0
- package/dist/widget/ui/src/icons/LightMode.d.ts +5 -0
- package/dist/widget/ui/src/icons/LightMode.d.ts.map +1 -0
- package/dist/widget/ui/src/icons/Link.d.ts +5 -0
- package/dist/widget/ui/src/icons/Link.d.ts.map +1 -0
- package/dist/widget/ui/src/icons/Loading.d.ts +5 -0
- package/dist/widget/ui/src/icons/Loading.d.ts.map +1 -0
- package/dist/widget/ui/src/icons/LogoWithText.d.ts +5 -0
- package/dist/widget/ui/src/icons/LogoWithText.d.ts.map +1 -0
- package/dist/widget/ui/src/icons/Next.d.ts +5 -0
- package/dist/widget/ui/src/icons/Next.d.ts.map +1 -0
- package/dist/widget/ui/src/icons/NoNotification.d.ts +5 -0
- package/dist/widget/ui/src/icons/NoNotification.d.ts.map +1 -0
- package/dist/widget/ui/src/icons/NoRoute.d.ts +5 -0
- package/dist/widget/ui/src/icons/NoRoute.d.ts.map +1 -0
- package/dist/widget/ui/src/icons/NotificationNumber.d.ts +5 -0
- package/dist/widget/ui/src/icons/NotificationNumber.d.ts.map +1 -0
- package/dist/widget/ui/src/icons/Notifications.d.ts +5 -0
- package/dist/widget/ui/src/icons/Notifications.d.ts.map +1 -0
- package/dist/widget/ui/src/icons/Number.d.ts +5 -0
- package/dist/widget/ui/src/icons/Number.d.ts.map +1 -0
- package/dist/widget/ui/src/icons/Pin.d.ts +5 -0
- package/dist/widget/ui/src/icons/Pin.d.ts.map +1 -0
- package/dist/widget/ui/src/icons/Refresh.d.ts +5 -0
- package/dist/widget/ui/src/icons/Refresh.d.ts.map +1 -0
- package/dist/widget/ui/src/icons/Reverse.d.ts +5 -0
- package/dist/widget/ui/src/icons/Reverse.d.ts.map +1 -0
- package/dist/widget/ui/src/icons/Route.d.ts +5 -0
- package/dist/widget/ui/src/icons/Route.d.ts.map +1 -0
- package/dist/widget/ui/src/icons/Search.d.ts +5 -0
- package/dist/widget/ui/src/icons/Search.d.ts.map +1 -0
- package/dist/widget/ui/src/icons/Settings.d.ts +5 -0
- package/dist/widget/ui/src/icons/Settings.d.ts.map +1 -0
- package/dist/widget/ui/src/icons/Style.d.ts +5 -0
- package/dist/widget/ui/src/icons/Style.d.ts.map +1 -0
- package/dist/widget/ui/src/icons/Time.d.ts +5 -0
- package/dist/widget/ui/src/icons/Time.d.ts.map +1 -0
- package/dist/widget/ui/src/icons/Transaction.d.ts +5 -0
- package/dist/widget/ui/src/icons/Transaction.d.ts.map +1 -0
- package/dist/widget/ui/src/icons/Wallet.d.ts +5 -0
- package/dist/widget/ui/src/icons/Wallet.d.ts.map +1 -0
- package/dist/widget/ui/src/icons/Warning.d.ts +5 -0
- package/dist/widget/ui/src/icons/Warning.d.ts.map +1 -0
- package/dist/widget/ui/src/icons/index.d.ts +42 -0
- package/dist/widget/ui/src/icons/index.d.ts.map +1 -0
- package/dist/widget/ui/src/index.d.ts +1 -0
- package/dist/widget/ui/src/index.d.ts.map +1 -1
- package/dist/widget/ui/src/theme.d.ts +854 -327
- package/dist/widget/ui/src/theme.d.ts.map +1 -1
- package/dist/widget/ui/src/types/index.d.ts +1 -1
- package/dist/widget/ui/src/types/index.d.ts.map +1 -1
- package/dist/widget/ui/src/types/meta.d.ts +1 -1
- package/dist/widget/ui/src/types/meta.d.ts.map +1 -1
- package/dist/widget/ui/src/types/swaps.d.ts +1 -1
- package/dist/widget/ui/src/types/swaps.d.ts.map +1 -1
- package/dist/widget/ui/src/types/wallet.d.ts +1 -23
- package/dist/widget/ui/src/types/wallet.d.ts.map +1 -1
- package/package.json +13 -8
- package/readme.md +4 -0
- package/src/components/Alert/Alert.helpers.ts +17 -0
- package/src/components/Alert/Alert.stories.tsx +20 -8
- package/src/components/Alert/Alert.styles.ts +166 -0
- package/src/components/Alert/Alert.tsx +45 -90
- package/src/components/Alert/Alert.types.ts +12 -0
- package/src/components/Alert/AlertIcon.tsx +28 -0
- package/src/components/Alert/LoadingFailedAlert.tsx +5 -1
- package/src/components/Alert/NotFoundAlert.tsx +5 -1
- package/src/components/BestRoute/BestRoute.stories.tsx +13 -37
- package/src/components/BestRoute/BestRoute.styles.ts +212 -0
- package/src/components/BestRoute/BestRoute.tsx +163 -217
- package/src/components/BestRoute/BestRoute.types.ts +32 -0
- package/src/components/BestRoute/BestRouteSkeleton.styles.ts +110 -0
- package/src/components/BestRoute/BestRouteSkeleton.tsx +112 -0
- package/src/components/BestRoute/BestRouteSkeleton.types.ts +5 -0
- package/src/components/BestRoute/RouteSummary.styles.ts +15 -0
- package/src/components/BestRoute/RouteSummary.tsx +48 -0
- package/src/components/BestRoute/index.ts +3 -0
- package/src/components/BestRoute/mock.ts +118 -530
- package/src/components/BlockchainsChip/BlockchainsChip.styles.ts +43 -0
- package/src/components/BlockchainsChip/BlockchainsChip.tsx +15 -0
- package/src/components/BlockchainsChip/BlockchainsChip.types.ts +4 -0
- package/src/components/BlockchainsChip/index.ts +1 -0
- package/src/components/BlockchainsList/BlockchainsList.stories.tsx +6 -3
- package/src/components/BlockchainsList/BlockchainsList.tsx +13 -7
- package/src/components/BottomLogo/BottomLogo.styles.ts +15 -0
- package/src/components/BottomLogo/BottomLogo.tsx +13 -33
- package/src/components/Button/Button.stories.tsx +22 -50
- package/src/components/Button/Button.styles.tsx +564 -0
- package/src/components/Button/Button.tsx +40 -412
- package/src/components/Button/Button.types.tsx +27 -0
- package/src/components/Button/Ripple.tsx +82 -0
- package/src/components/ChainToken/ChainToken.constants.ts +9 -0
- package/src/components/ChainToken/ChainToken.stories.tsx +20 -0
- package/src/components/ChainToken/ChainToken.styles.ts +31 -0
- package/src/components/ChainToken/ChainToken.tsx +58 -0
- package/src/components/ChainToken/ChainToken.types.ts +13 -0
- package/src/components/ChainToken/index.ts +1 -0
- package/src/components/Checkbox/Checkbox.stories.tsx +12 -5
- package/src/components/Checkbox/Checkbox.styles.ts +39 -0
- package/src/components/Checkbox/Checkbox.tsx +26 -48
- package/src/components/Checkbox/Checkbox.types.ts +17 -0
- package/src/components/Chip/Chip.stories.tsx +4 -3
- package/src/components/Chip/Chip.styles.ts +41 -0
- package/src/components/Chip/Chip.tsx +13 -38
- package/src/components/Chip/Chip.types.ts +15 -0
- package/src/components/Collapsible/Collapsible.stories.tsx +46 -0
- package/src/components/Collapsible/Collapsible.styles.ts +9 -0
- package/src/components/Collapsible/Collapsible.tsx +21 -0
- package/src/components/Collapsible/Collapsible.types.ts +7 -0
- package/src/components/Collapsible/index.ts +1 -0
- package/src/components/ColorPicker/ColorPicker.tsx +5 -7
- package/src/components/Divider/Divider.tsx +3 -0
- package/src/components/Drawer/Drawer.stories.tsx +19 -24
- package/src/components/Drawer/Drawer.styles.ts +67 -0
- package/src/components/Drawer/Drawer.tsx +36 -94
- package/src/components/Drawer/Drawer.types.ts +17 -0
- package/src/components/Header/Header.stories.tsx +18 -0
- package/src/components/Header/Header.styles.ts +22 -0
- package/src/components/Header/Header.tsx +17 -32
- package/src/components/Header/Header.types.ts +5 -0
- package/src/components/I18nManager/I18nManager.tsx +12 -10
- package/src/components/Icon/AddCircleIcon.tsx +1 -2
- package/src/components/Icon/AddIcon.tsx +1 -2
- package/src/components/Icon/AddWalletIcon.tsx +1 -2
- package/src/components/Icon/AngleDownIcon.tsx +1 -2
- package/src/components/Icon/AngleLeftIcon.tsx +1 -2
- package/src/components/Icon/AngleRightIcon.tsx +1 -2
- package/src/components/Icon/AngleUpIcon.tsx +1 -2
- package/src/components/Icon/ArrowRightIcon.tsx +1 -2
- package/src/components/Icon/BagIcon.tsx +1 -2
- package/src/components/Icon/BanIcon.tsx +1 -2
- package/src/components/Icon/CheckCircleIcon.tsx +1 -2
- package/src/components/Icon/CheckIcon.tsx +1 -2
- package/src/components/Icon/CheckSquareIcon.tsx +1 -2
- package/src/components/Icon/CheckWalletIcon.tsx +1 -2
- package/src/components/Icon/ChevronRightIcon.tsx +1 -2
- package/src/components/Icon/CopyIcon.tsx +1 -2
- package/src/components/Icon/DeleteCircleIcon.tsx +1 -2
- package/src/components/Icon/DeleteWalletIcon.tsx +1 -2
- package/src/components/Icon/DisconnectIcon.tsx +1 -2
- package/src/components/Icon/DownloadIcon.tsx +1 -2
- package/src/components/Icon/GasIcon.tsx +5 -3
- package/src/components/Icon/HistoryIcon.tsx +1 -2
- package/src/components/Icon/HorizontalSwapIcon.tsx +1 -2
- package/src/components/Icon/Icons.stories.tsx +1 -1
- package/src/components/Icon/InfoCircleIcon.tsx +1 -2
- package/src/components/Icon/MinusCircleIcon.tsx +1 -2
- package/src/components/Icon/RetryIcon.tsx +1 -2
- package/src/components/Icon/RetryLeftIcon.tsx +1 -2
- package/src/components/Icon/RetryRightIcon.tsx +1 -2
- package/src/components/Icon/SearchIcon.tsx +1 -2
- package/src/components/Icon/SearchMinusIcon.tsx +1 -2
- package/src/components/Icon/SettingIcon.tsx +1 -2
- package/src/components/Icon/SignatureIcon.tsx +1 -2
- package/src/components/Icon/SwapWalletIcon.tsx +1 -2
- package/src/components/Icon/TimeIcon.tsx +1 -2
- package/src/components/Icon/TrashIcon.tsx +1 -2
- package/src/components/Icon/TryAgainIcon.tsx +1 -2
- package/src/components/Icon/VerticalSwapIcon.tsx +1 -2
- package/src/components/Icon/WalletIconIcon.tsx +1 -2
- package/src/components/Icon/WarningIcon.tsx +1 -2
- package/src/components/IconButton/IconButton.stories.tsx +20 -0
- package/src/components/IconButton/IconButton.tsx +33 -0
- package/src/components/IconButton/IconButton.types.ts +12 -0
- package/src/components/IconButton/index.ts +1 -0
- package/src/components/LiquiditySourceList/LiquiditySource.stories.tsx +6 -3
- package/src/components/LiquiditySourceList/LiquiditySourceList.tsx +49 -31
- package/src/components/List/List.stories.tsx +181 -0
- package/src/components/List/List.styles.tsx +7 -0
- package/src/components/List/List.tsx +30 -0
- package/src/components/List/List.types.ts +12 -0
- package/src/components/List/index.ts +1 -0
- package/src/components/ListItem/ListItem.styles.ts +52 -0
- package/src/components/ListItem/ListItem.tsx +29 -0
- package/src/components/ListItem/ListItem.types.ts +9 -0
- package/src/components/ListItem/index.ts +2 -0
- package/src/components/ListItemButton/ListItemButton.styles.ts +50 -0
- package/src/components/ListItemButton/ListItemButton.tsx +27 -0
- package/src/components/ListItemButton/ListItemButton.types.ts +10 -0
- package/src/components/ListItemButton/index.ts +2 -0
- package/src/components/Logo/Logo.tsx +35 -0
- package/src/components/MessageBox/CollapsibleMessageBox.stories.tsx +27 -0
- package/src/components/MessageBox/CollapsibleMessageBox.styles.tsx +33 -0
- package/src/components/MessageBox/CollapsibleMessageBox.tsx +38 -0
- package/src/components/MessageBox/CollapsibleMessageBox.types.tsx +11 -0
- package/src/components/MessageBox/DefaultMessageBox.tsx +40 -0
- package/src/components/MessageBox/MessageBox.stories.tsx +18 -0
- package/src/components/MessageBox/MessageBox.styles.tsx +60 -0
- package/src/components/MessageBox/MessageBox.tsx +2 -0
- package/src/components/MessageBox/MessageBox.types.tsx +13 -0
- package/src/components/MessageBox/StatusIcon.tsx +28 -0
- package/src/components/MessageBox/index.ts +1 -0
- package/src/components/Modal/Modal.stories.tsx +15 -3
- package/src/components/Modal/Modal.styles.ts +104 -0
- package/src/components/Modal/Modal.tsx +107 -62
- package/src/components/Modal/Modal.types.ts +21 -0
- package/src/components/Modal/index.ts +1 -0
- package/src/components/NotFound/NotFound.stories.tsx +17 -0
- package/src/components/NotFound/NotFound.styles.ts +8 -0
- package/src/components/NotFound/NotFound.tsx +24 -0
- package/src/components/NotFound/NotFound.types.ts +4 -0
- package/src/components/NotFound/index.tsx +1 -0
- package/src/components/PercentageChange/PercentageChange.tsx +2 -1
- package/src/components/Popover/Popover.stories.tsx +64 -0
- package/src/components/Popover/Popover.styles.ts +15 -0
- package/src/components/Popover/Popover.tsx +57 -0
- package/src/components/Popover/Popover.types.ts +23 -0
- package/src/components/Popover/index.ts +1 -0
- package/src/components/PriceImpact/PriceImpact.stories.tsx +21 -0
- package/src/components/PriceImpact/PriceImpact.styles.ts +7 -0
- package/src/components/PriceImpact/PriceImpact.tsx +48 -0
- package/src/components/PriceImpact/PriceImpact.types.ts +9 -0
- package/src/components/PriceImpact/index.ts +2 -0
- package/src/components/Radio/Radio.stories.tsx +12 -19
- package/src/components/Radio/Radio.styles.tsx +39 -0
- package/src/components/Radio/Radio.tsx +7 -93
- package/src/components/Radio/Radio.types.tsx +3 -0
- package/src/components/RadioGroup/RadioGroup.stories.tsx +31 -0
- package/src/components/RadioGroup/RadioGroup.styles.tsx +38 -0
- package/src/components/RadioGroup/RadioGroup.tsx +37 -0
- package/src/components/RadioGroup/RadioGroup.types.tsx +13 -0
- package/src/components/RadioGroup/index.ts +2 -0
- package/src/components/RouteCost/RouteCost.styles.ts +20 -0
- package/src/components/RouteCost/RouteCost.tsx +48 -0
- package/src/components/RouteCost/RouteCost.types.ts +5 -0
- package/src/components/RouteCost/index.ts +1 -0
- package/src/components/RoutesOverview/RoutesOverview.tsx +13 -7
- package/src/components/SecondaryPage/SecondaryPage.stories.tsx +11 -9
- package/src/components/SecondaryPage/SecondaryPage.tsx +22 -4
- package/src/components/SelectableCategoryList/SelectableCategoryList.helpers.ts +35 -0
- package/src/components/SelectableCategoryList/SelectableCategoryList.styles.ts +21 -0
- package/src/components/SelectableCategoryList/SelectableCategoryList.tsx +76 -0
- package/src/components/SelectableCategoryList/SelectableCategoryList.types.ts +16 -0
- package/src/components/SelectableCategoryList/index.ts +2 -0
- package/src/components/SelectableWalletList/SelectableWalletList.stories.tsx +5 -3
- package/src/components/SelectableWalletList/SelectableWalletList.tsx +29 -14
- package/src/components/SelectableWalletList/mock.ts +1 -2
- package/src/components/Skeleton/Skeleton.stories.tsx +39 -15
- package/src/components/Skeleton/Skeleton.styles.ts +66 -0
- package/src/components/Skeleton/Skeleton.tsx +12 -62
- package/src/components/Skeleton/Skeleton.types.ts +20 -0
- package/src/components/Spinner/Spinner.tsx +20 -44
- package/src/components/StepDetail/StepDetail.tsx +9 -9
- package/src/components/StepDetails/StepDetails.stories.tsx +23 -0
- package/src/components/StepDetails/StepDetails.styles.ts +133 -0
- package/src/components/StepDetails/StepDetails.tsx +106 -0
- package/src/components/StepDetails/StepDetails.types.ts +10 -0
- package/src/components/StepDetails/index.ts +2 -0
- package/src/components/StepDetails/mock.ts +35 -0
- package/src/components/SvgIcon/SvgIcon.style.ts +39 -0
- package/src/components/SvgIcon/SvgIcon.tsx +22 -0
- package/src/components/SvgIcon/SvgIcon.types.ts +16 -0
- package/src/components/SvgIcon/index.ts +2 -0
- package/src/components/SwapContainer/SwapContainer.tsx +12 -20
- package/src/components/SwapDetailsPlaceholder/SwapDetailsPlaceholder.tsx +5 -3
- package/src/components/SwapListItem/SwapListItem.helpers.ts +51 -0
- package/src/components/SwapListItem/SwapListItem.stories.tsx +32 -0
- package/src/components/SwapListItem/SwapListItem.styles.ts +74 -0
- package/src/components/SwapListItem/SwapListItem.tsx +64 -0
- package/src/components/SwapListItem/SwapListItem.types.ts +47 -0
- package/src/components/SwapListItem/SwapToken.styles.ts +76 -0
- package/src/components/SwapListItem/SwapToken.tsx +149 -0
- package/src/components/SwapListItem/SwapToken.types.ts +8 -0
- package/src/components/SwapListItem/index.ts +1 -0
- package/src/components/{SwapDetail → SwapListItem}/mock.ts +29 -1
- package/src/components/Switch/Switch.stories.tsx +2 -1
- package/src/components/Switch/Switch.styles.tsx +46 -0
- package/src/components/Switch/Switch.tsx +3 -44
- package/src/components/Switch/Switch.types.tsx +4 -0
- package/src/components/TextField/TextField.stories.tsx +13 -5
- package/src/components/TextField/TextField.styles.ts +123 -0
- package/src/components/TextField/TextField.tsx +52 -149
- package/src/components/TextField/TextField.types.tsx +21 -0
- package/src/components/TokenAmount/TokenAmount.stories.tsx +24 -0
- package/src/components/TokenAmount/TokenAmount.styles.ts +27 -0
- package/src/components/TokenAmount/TokenAmount.tsx +61 -0
- package/src/components/TokenAmount/TokenAmount.types.ts +20 -0
- package/src/components/TokenAmount/index.ts +1 -0
- package/src/components/TokenList/TokenItem.tsx +17 -13
- package/src/components/TokenList/TokenList.stories.tsx +6 -3
- package/src/components/TokenList/TokenList.tsx +12 -3
- package/src/components/TokenList/mockData.ts +1 -1
- package/src/components/TokenPreview/TokenPreview.tsx +20 -21
- package/src/components/Tooltip/Tooltip.stories.tsx +7 -21
- package/src/components/Tooltip/Tooltip.styles.ts +19 -0
- package/src/components/Tooltip/Tooltip.tsx +28 -105
- package/src/components/Tooltip/Tooltip.types.ts +12 -0
- package/src/components/Tooltip/useEventListener.ts +54 -0
- package/src/components/Typography/Typography.stories.tsx +86 -33
- package/src/components/Typography/Typography.styles.tsx +262 -0
- package/src/components/Typography/Typography.tsx +5 -200
- package/src/components/Typography/Typography.types.tsx +28 -0
- package/src/components/VirtualizedList/VirtualizedList.tsx +9 -21
- package/src/components/VirtualizedList/VirtualizedList.types.ts +19 -0
- package/src/components/VirtualizedList/index.ts +1 -0
- package/src/components/Wallet/ClickableWallet.stories.tsx +23 -0
- package/src/components/Wallet/ClickableWallet.tsx +71 -0
- package/src/components/Wallet/Content.tsx +33 -0
- package/src/components/Wallet/SelectableWallet.stories.tsx +23 -0
- package/src/components/Wallet/SelectableWallet.tsx +49 -0
- package/src/components/Wallet/Wallet.helpers.ts +36 -0
- package/src/components/Wallet/Wallet.styles.ts +76 -0
- package/src/components/Wallet/Wallet.tsx +2 -76
- package/src/components/Wallet/Wallet.types.ts +66 -0
- package/src/components/Wallet/index.ts +2 -0
- package/src/components/common/FilledCircle.tsx +1 -1
- package/src/components/common/Image.tsx +30 -3
- package/src/components/common/styles.ts +35 -0
- package/src/components/index.ts +23 -5
- package/src/containers/ConnectWalletsModal/ConnectWalletsModal.tsx +13 -15
- package/src/containers/ConnectWalletsModal/mockData.ts +34 -50
- package/src/containers/History/types.tsx +0 -46
- package/src/containers/HomePanel/HomePanel.tsx +28 -54
- package/src/containers/SwapHistory/SwapHistory.tsx +160 -149
- package/src/containers/SwapHistory/SwapMessages.tsx +26 -18
- package/src/containers/SwapInput/SwapInput.stories.tsx +40 -0
- package/src/containers/SwapInput/SwapInput.styles.ts +64 -0
- package/src/containers/SwapInput/SwapInput.tsx +109 -0
- package/src/containers/SwapInput/SwapInput.types.ts +38 -0
- package/src/containers/SwapInput/TokenSection.styles.ts +49 -0
- package/src/containers/SwapInput/TokenSection.tsx +53 -0
- package/src/containers/SwapInput/TokenSection.types.ts +9 -0
- package/src/containers/SwapInput/index.ts +1 -0
- package/src/containers/TokenInfo/TokenInfo.tsx +35 -33
- package/src/containers/Warnings/BalanceErrors.tsx +17 -25
- package/src/containers/Warnings/MinRequiredSlippage.tsx +1 -1
- package/src/containers/index.ts +1 -4
- package/src/helper/index.ts +10 -17
- package/src/icons/AutoTheme.tsx +25 -0
- package/src/icons/BorderRadius.tsx +21 -0
- package/src/icons/ChevronDown.tsx +21 -0
- package/src/icons/ChevronLeft.tsx +21 -0
- package/src/icons/ChevronRight.tsx +21 -0
- package/src/icons/ChevronUp.tsx +21 -0
- package/src/icons/Close.tsx +28 -0
- package/src/icons/Complete.tsx +19 -0
- package/src/icons/Copy.tsx +19 -0
- package/src/icons/DarkMode.tsx +19 -0
- package/src/icons/Delete.tsx +33 -0
- package/src/icons/Desktop.tsx +271 -0
- package/src/icons/Done.tsx +21 -0
- package/src/icons/Error.tsx +21 -0
- package/src/icons/ExternalLink.tsx +21 -0
- package/src/icons/Font.tsx +27 -0
- package/src/icons/Gas.tsx +39 -0
- package/src/icons/Gass.tsx +39 -0
- package/src/icons/Icons.stories.tsx +68 -0
- package/src/icons/InProgress.tsx +34 -0
- package/src/icons/Info.tsx +29 -0
- package/src/icons/InfoError.tsx +19 -0
- package/src/icons/LightMode.tsx +19 -0
- package/src/icons/Link.tsx +21 -0
- package/src/icons/Loading.tsx +63 -0
- package/src/icons/LogoWithText.tsx +159 -0
- package/src/icons/Next.tsx +21 -0
- package/src/icons/NoNotification.tsx +31 -0
- package/src/icons/NoRoute.tsx +64 -0
- package/src/icons/NotificationNumber.tsx +41 -0
- package/src/icons/Notifications.tsx +21 -0
- package/src/icons/Number.tsx +24 -0
- package/src/icons/Pin.tsx +31 -0
- package/src/icons/Refresh.tsx +19 -0
- package/src/icons/Reverse.tsx +39 -0
- package/src/icons/Route.tsx +33 -0
- package/src/icons/Search.tsx +27 -0
- package/src/icons/Settings.tsx +21 -0
- package/src/icons/Style.tsx +39 -0
- package/src/icons/Time.tsx +33 -0
- package/src/icons/Transaction.tsx +21 -0
- package/src/icons/Wallet.tsx +33 -0
- package/src/icons/Warning.tsx +19 -0
- package/src/icons/index.ts +41 -0
- package/src/index.ts +1 -0
- package/src/theme.ts +147 -92
- package/src/types/index.ts +1 -2
- package/src/types/meta.ts +1 -1
- package/src/types/swaps.ts +2 -1
- package/src/types/wallet.ts +1 -30
- package/dist/widget/ui/src/components/HeaderButtons/HeaderButtons.d.ts +0 -9
- package/dist/widget/ui/src/components/HeaderButtons/HeaderButtons.d.ts.map +0 -1
- package/dist/widget/ui/src/components/HeaderButtons/index.d.ts +0 -2
- package/dist/widget/ui/src/components/HeaderButtons/index.d.ts.map +0 -1
- package/dist/widget/ui/src/components/HeaderLayout/HeaderLayout.d.ts +0 -14
- package/dist/widget/ui/src/components/HeaderLayout/HeaderLayout.d.ts.map +0 -1
- package/dist/widget/ui/src/components/HeaderLayout/index.d.ts +0 -2
- package/dist/widget/ui/src/components/HeaderLayout/index.d.ts.map +0 -1
- package/dist/widget/ui/src/components/StatusDrawer/StatusDrawer.d.ts +0 -12
- package/dist/widget/ui/src/components/StatusDrawer/StatusDrawer.d.ts.map +0 -1
- package/dist/widget/ui/src/components/StatusDrawer/StatusDrawer.stories.d.ts.map +0 -1
- package/dist/widget/ui/src/components/StatusDrawer/index.d.ts +0 -2
- package/dist/widget/ui/src/components/StatusDrawer/index.d.ts.map +0 -1
- package/dist/widget/ui/src/components/SwapDetail/SwapDetail.d.ts +0 -9
- package/dist/widget/ui/src/components/SwapDetail/SwapDetail.d.ts.map +0 -1
- package/dist/widget/ui/src/components/SwapDetail/SwapDetail.stories.d.ts +0 -8
- package/dist/widget/ui/src/components/SwapDetail/SwapDetail.stories.d.ts.map +0 -1
- package/dist/widget/ui/src/components/SwapDetail/Token.d.ts +0 -18
- package/dist/widget/ui/src/components/SwapDetail/Token.d.ts.map +0 -1
- package/dist/widget/ui/src/components/SwapDetail/index.d.ts +0 -2
- package/dist/widget/ui/src/components/SwapDetail/index.d.ts.map +0 -1
- package/dist/widget/ui/src/components/SwapDetail/mock.d.ts +0 -3
- package/dist/widget/ui/src/components/SwapDetail/mock.d.ts.map +0 -1
- package/dist/widget/ui/src/components/Wallet/State.d.ts +0 -8
- package/dist/widget/ui/src/components/Wallet/State.d.ts.map +0 -1
- package/dist/widget/ui/src/components/Wallet/Wallet.stories.d.ts +0 -8
- package/dist/widget/ui/src/components/Wallet/Wallet.stories.d.ts.map +0 -1
- package/dist/widget/ui/src/containers/ConfirmSwap/ConfirmSwap.d.ts +0 -30
- package/dist/widget/ui/src/containers/ConfirmSwap/ConfirmSwap.d.ts.map +0 -1
- package/dist/widget/ui/src/containers/ConfirmSwap/ConfirmSwap.stories.d.ts +0 -9
- package/dist/widget/ui/src/containers/ConfirmSwap/ConfirmSwap.stories.d.ts.map +0 -1
- package/dist/widget/ui/src/containers/ConfirmSwap/index.d.ts +0 -2
- package/dist/widget/ui/src/containers/ConfirmSwap/index.d.ts.map +0 -1
- package/dist/widget/ui/src/containers/ConfirmSwap/mock.d.ts +0 -6
- package/dist/widget/ui/src/containers/ConfirmSwap/mock.d.ts.map +0 -1
- package/dist/widget/ui/src/containers/History/History.d.ts +0 -7
- package/dist/widget/ui/src/containers/History/History.d.ts.map +0 -1
- package/dist/widget/ui/src/containers/History/History.stories.d.ts.map +0 -1
- package/dist/widget/ui/src/containers/History/SwapsGroup.d.ts +0 -14
- package/dist/widget/ui/src/containers/History/SwapsGroup.d.ts.map +0 -1
- package/dist/widget/ui/src/containers/History/index.d.ts +0 -4
- package/dist/widget/ui/src/containers/History/index.d.ts.map +0 -1
- package/dist/widget/ui/src/containers/History/mock.d.ts +0 -3
- package/dist/widget/ui/src/containers/History/mock.d.ts.map +0 -1
- package/dist/widget/ui/src/containers/LiquiditySourcesSelector/LiquiditySourcesSelector.d.ts +0 -14
- package/dist/widget/ui/src/containers/LiquiditySourcesSelector/LiquiditySourcesSelector.d.ts.map +0 -1
- package/dist/widget/ui/src/containers/LiquiditySourcesSelector/LiquiditySourcesSelector.stories.d.ts +0 -6
- package/dist/widget/ui/src/containers/LiquiditySourcesSelector/LiquiditySourcesSelector.stories.d.ts.map +0 -1
- package/dist/widget/ui/src/containers/LiquiditySourcesSelector/index.d.ts +0 -2
- package/dist/widget/ui/src/containers/LiquiditySourcesSelector/index.d.ts.map +0 -1
- package/dist/widget/ui/src/containers/Settings/Settings.d.ts +0 -25
- package/dist/widget/ui/src/containers/Settings/Settings.d.ts.map +0 -1
- package/dist/widget/ui/src/containers/Settings/Settings.stories.d.ts.map +0 -1
- package/dist/widget/ui/src/containers/Settings/index.d.ts +0 -2
- package/dist/widget/ui/src/containers/Settings/index.d.ts.map +0 -1
- package/src/components/HeaderButtons/HeaderButtons.tsx +0 -41
- package/src/components/HeaderButtons/index.ts +0 -1
- package/src/components/HeaderLayout/HeaderLayout.tsx +0 -88
- package/src/components/HeaderLayout/index.ts +0 -1
- package/src/components/StatusDrawer/StatusDrawer.stories.tsx +0 -43
- package/src/components/StatusDrawer/StatusDrawer.tsx +0 -82
- package/src/components/StatusDrawer/index.ts +0 -1
- package/src/components/SwapDetail/SwapDetail.stories.tsx +0 -22
- package/src/components/SwapDetail/SwapDetail.tsx +0 -104
- package/src/components/SwapDetail/Token.tsx +0 -75
- package/src/components/SwapDetail/index.ts +0 -1
- package/src/components/Wallet/State.tsx +0 -34
- package/src/components/Wallet/Wallet.stories.tsx +0 -30
- package/src/containers/ConfirmSwap/ConfirmSwap.stories.tsx +0 -66
- package/src/containers/ConfirmSwap/ConfirmSwap.tsx +0 -247
- package/src/containers/ConfirmSwap/index.ts +0 -1
- package/src/containers/ConfirmSwap/mock.ts +0 -220
- package/src/containers/History/History.stories.tsx +0 -14
- package/src/containers/History/History.tsx +0 -72
- package/src/containers/History/SwapsGroup.tsx +0 -59
- package/src/containers/History/index.ts +0 -3
- package/src/containers/History/mock.ts +0 -826
- package/src/containers/LiquiditySourcesSelector/LiquiditySourcesSelector.stories.tsx +0 -19
- package/src/containers/LiquiditySourcesSelector/LiquiditySourcesSelector.tsx +0 -60
- package/src/containers/LiquiditySourcesSelector/index.ts +0 -1
- package/src/containers/Settings/Settings.stories.tsx +0 -27
- package/src/containers/Settings/Settings.tsx +0 -218
- package/src/containers/Settings/index.ts +0 -1
|
@@ -1,9 +1,11 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
import {
|
|
4
|
-
|
|
1
|
+
import type { PropsWithChildren } from 'react';
|
|
2
|
+
|
|
3
|
+
import React, { useEffect, useState } from 'react';
|
|
4
|
+
|
|
5
5
|
import { getConciseAddress } from '../../helper';
|
|
6
|
+
import { styled } from '../../theme';
|
|
6
7
|
import { Image } from '../common';
|
|
8
|
+
import { Typography } from '../Typography';
|
|
7
9
|
|
|
8
10
|
const Row = styled('div', {
|
|
9
11
|
display: 'flex',
|
|
@@ -47,7 +49,7 @@ const SolidCircle = styled('div', {
|
|
|
47
49
|
});
|
|
48
50
|
const Container = styled('div', {
|
|
49
51
|
border: '1.5px solid',
|
|
50
|
-
borderRadius: '$
|
|
52
|
+
borderRadius: '$xs',
|
|
51
53
|
padding: '$12',
|
|
52
54
|
flexBasis: 'calc(33.33% - 10px)',
|
|
53
55
|
margin: 5,
|
|
@@ -73,15 +75,18 @@ const Container = styled('div', {
|
|
|
73
75
|
});
|
|
74
76
|
|
|
75
77
|
export interface PropTypes {
|
|
76
|
-
list:
|
|
77
|
-
onChange: (w:
|
|
78
|
+
list: any[];
|
|
79
|
+
onChange: (w: any) => void;
|
|
78
80
|
}
|
|
79
81
|
|
|
80
|
-
export function SelectableWalletList({
|
|
82
|
+
export function SelectableWalletList({
|
|
83
|
+
list,
|
|
84
|
+
onChange,
|
|
85
|
+
}: PropsWithChildren<PropTypes>) {
|
|
81
86
|
const [active, setActive] = useState<string>(
|
|
82
|
-
list.find((item) => item.selected)?.walletType || ''
|
|
87
|
+
list.find((item) => item.selected)?.walletType || ''
|
|
83
88
|
);
|
|
84
|
-
const onClick = (w:
|
|
89
|
+
const onClick = (w: any) => {
|
|
85
90
|
setActive(w.walletType);
|
|
86
91
|
onChange(w);
|
|
87
92
|
};
|
|
@@ -95,11 +100,21 @@ export function SelectableWalletList({ list, onChange }: PropsWithChildren<PropT
|
|
|
95
100
|
{list.map((w, index) => {
|
|
96
101
|
const checked = active === w.walletType;
|
|
97
102
|
return (
|
|
98
|
-
<Container
|
|
103
|
+
<Container
|
|
104
|
+
checked={checked}
|
|
105
|
+
onClick={onClick.bind(null, w)}
|
|
106
|
+
// eslint-disable-next-line react/no-array-index-key
|
|
107
|
+
key={index}>
|
|
99
108
|
<Image src={w.image} alt={w.walletType} size={24} />
|
|
100
|
-
<Typography variant="
|
|
101
|
-
|
|
102
|
-
|
|
109
|
+
<Typography variant="body" size="small">
|
|
110
|
+
{w.name}
|
|
111
|
+
</Typography>
|
|
112
|
+
<Typography variant="body" size="xsmall">
|
|
113
|
+
{getConciseAddress(w.address)}
|
|
114
|
+
</Typography>
|
|
115
|
+
<Circle checked={checked}>
|
|
116
|
+
{checked && <SolidCircle checked={checked} />}
|
|
117
|
+
</Circle>
|
|
103
118
|
</Container>
|
|
104
119
|
);
|
|
105
120
|
})}
|
|
@@ -1,28 +1,52 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { PropTypes } from './Skeleton.types';
|
|
2
|
+
import type { Meta } from '@storybook/react';
|
|
3
|
+
|
|
2
4
|
import React from 'react';
|
|
3
|
-
|
|
5
|
+
|
|
6
|
+
import { Divider } from '../Divider';
|
|
7
|
+
import { Typography } from '../Typography';
|
|
8
|
+
|
|
9
|
+
import { Skeleton } from './Skeleton';
|
|
4
10
|
|
|
5
11
|
export default {
|
|
6
12
|
title: 'Components/Skeleton',
|
|
7
13
|
component: Skeleton,
|
|
8
14
|
args: {
|
|
9
|
-
width:
|
|
10
|
-
height:
|
|
15
|
+
width: 50,
|
|
16
|
+
height: 50,
|
|
11
17
|
},
|
|
12
18
|
argTypes: {
|
|
13
|
-
|
|
14
|
-
name: '
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
19
|
+
variant: {
|
|
20
|
+
name: 'variant',
|
|
21
|
+
defaultValue: 'rounded',
|
|
22
|
+
control: {
|
|
23
|
+
type: 'select',
|
|
24
|
+
options: ['text', 'circular', 'rectangular', 'rounded'],
|
|
25
|
+
},
|
|
18
26
|
},
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
27
|
+
|
|
28
|
+
size: {
|
|
29
|
+
name: 'size',
|
|
30
|
+
defaultValue: 'small',
|
|
31
|
+
control: {
|
|
32
|
+
type: 'select',
|
|
33
|
+
options: ['small', 'medium', 'large'],
|
|
34
|
+
},
|
|
24
35
|
},
|
|
25
36
|
},
|
|
26
37
|
} as Meta<typeof Skeleton>;
|
|
27
38
|
|
|
28
|
-
export const Main = (
|
|
39
|
+
export const Main = (args: PropTypes) => (
|
|
40
|
+
<>
|
|
41
|
+
<Skeleton {...args} height={50} width={50} variant="circular" />
|
|
42
|
+
<Divider />
|
|
43
|
+
<Skeleton {...args} variant="text" size="medium" width={200} />
|
|
44
|
+
<Divider />
|
|
45
|
+
<Skeleton width={210} height={60} variant="rectangular" />
|
|
46
|
+
<Divider />
|
|
47
|
+
<Skeleton {...args} width={210} height={60} variant="rounded" />
|
|
48
|
+
<Divider />
|
|
49
|
+
<Typography variant="title" size="small"></Typography>
|
|
50
|
+
<Skeleton {...args} />
|
|
51
|
+
</>
|
|
52
|
+
);
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { darkTheme, keyframes, styled } from '../../theme';
|
|
2
|
+
|
|
3
|
+
const waveSquares = keyframes({
|
|
4
|
+
'0%': {
|
|
5
|
+
backgroundPosition: '-468px 0',
|
|
6
|
+
},
|
|
7
|
+
'100%': {
|
|
8
|
+
backgroundPosition: '468px 0',
|
|
9
|
+
},
|
|
10
|
+
});
|
|
11
|
+
// #2B3462 -0.15%, rgba(43, 52, 98, 0.20) 99.85%
|
|
12
|
+
export const SkeletonContainer = styled('div', {
|
|
13
|
+
$$background:
|
|
14
|
+
'linear-gradient(90deg, $colors$info300 20%, rgba(200, 226, 255, 0.20) 70%, $colors$info300 100%)',
|
|
15
|
+
[`.${darkTheme} &`]: {
|
|
16
|
+
$$background:
|
|
17
|
+
'linear-gradient(90deg, $colors$secondary600 0%,rgba(43, 52, 98, 0.20) 70%, $colors$secondary600 100%)',
|
|
18
|
+
},
|
|
19
|
+
background: '$$background',
|
|
20
|
+
backgroundSize: '800px 100px',
|
|
21
|
+
animation: `${waveSquares} 2s infinite ease-out`,
|
|
22
|
+
variants: {
|
|
23
|
+
variant: {
|
|
24
|
+
text: {
|
|
25
|
+
borderRadius: '$sm',
|
|
26
|
+
},
|
|
27
|
+
circular: {
|
|
28
|
+
borderRadius: '$lg',
|
|
29
|
+
},
|
|
30
|
+
rectangular: {},
|
|
31
|
+
rounded: {
|
|
32
|
+
borderRadius: '$sm',
|
|
33
|
+
},
|
|
34
|
+
},
|
|
35
|
+
|
|
36
|
+
size: {
|
|
37
|
+
small: {},
|
|
38
|
+
medium: {},
|
|
39
|
+
large: {},
|
|
40
|
+
},
|
|
41
|
+
},
|
|
42
|
+
|
|
43
|
+
compoundVariants: [
|
|
44
|
+
{
|
|
45
|
+
size: 'small',
|
|
46
|
+
variant: 'text',
|
|
47
|
+
css: {
|
|
48
|
+
height: '$8',
|
|
49
|
+
},
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
size: 'medium',
|
|
53
|
+
variant: 'text',
|
|
54
|
+
css: {
|
|
55
|
+
height: '$12',
|
|
56
|
+
},
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
size: 'large',
|
|
60
|
+
variant: 'text',
|
|
61
|
+
css: {
|
|
62
|
+
height: '$16',
|
|
63
|
+
},
|
|
64
|
+
},
|
|
65
|
+
],
|
|
66
|
+
});
|
|
@@ -1,66 +1,16 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { keyframes, styled } from '../../theme';
|
|
1
|
+
import type { PropTypes } from './Skeleton.types';
|
|
3
2
|
|
|
4
|
-
|
|
5
|
-
'0%': {
|
|
6
|
-
backgroundPosition: '-468px 0',
|
|
7
|
-
},
|
|
8
|
-
'100%': {
|
|
9
|
-
backgroundPosition: '468px 0',
|
|
10
|
-
},
|
|
11
|
-
});
|
|
3
|
+
import React from 'react';
|
|
12
4
|
|
|
13
|
-
|
|
14
|
-
borderRadius: '$5',
|
|
15
|
-
backgroundColor: '$neutral100',
|
|
16
|
-
background: `linear-gradient(to right, rgba(130, 130, 130, 0.2) 8%, rgba(130, 130, 130, 0.3) 18%, rgba(130, 130, 130, 0.2) 33%)`,
|
|
17
|
-
backgroundSize: '800px 100px',
|
|
18
|
-
animation: `${waveSquares} 2s infinite ease-out`,
|
|
19
|
-
variants: {
|
|
20
|
-
width: {
|
|
21
|
-
16: {
|
|
22
|
-
width: '$16',
|
|
23
|
-
},
|
|
24
|
-
20: {
|
|
25
|
-
width: '$20',
|
|
26
|
-
},
|
|
27
|
-
24: {
|
|
28
|
-
width: '$24',
|
|
29
|
-
},
|
|
30
|
-
36: {
|
|
31
|
-
width: '$36',
|
|
32
|
-
},
|
|
33
|
-
48: {
|
|
34
|
-
width: '$48',
|
|
35
|
-
},
|
|
36
|
-
},
|
|
37
|
-
height: {
|
|
38
|
-
16: {
|
|
39
|
-
height: '$16',
|
|
40
|
-
},
|
|
41
|
-
20: {
|
|
42
|
-
height: '$20',
|
|
43
|
-
},
|
|
44
|
-
24: {
|
|
45
|
-
height: '$24',
|
|
46
|
-
},
|
|
47
|
-
36: {
|
|
48
|
-
height: '$36',
|
|
49
|
-
},
|
|
50
|
-
48: {
|
|
51
|
-
height: '$48',
|
|
52
|
-
},
|
|
53
|
-
94: {
|
|
54
|
-
height: 94,
|
|
55
|
-
},
|
|
56
|
-
},
|
|
57
|
-
},
|
|
58
|
-
});
|
|
59
|
-
export interface PropTypes {
|
|
60
|
-
width?: 20 | 24 | 36 | 48;
|
|
61
|
-
height?: 20 | 24 | 36 | 48 | 94;
|
|
62
|
-
}
|
|
5
|
+
import { SkeletonContainer } from './Skeleton.styles';
|
|
63
6
|
|
|
64
|
-
export function Skeleton(
|
|
65
|
-
|
|
7
|
+
export function Skeleton(props: PropTypes) {
|
|
8
|
+
const customCss =
|
|
9
|
+
props.variant !== 'text'
|
|
10
|
+
? {
|
|
11
|
+
width: props.width,
|
|
12
|
+
height: props.height,
|
|
13
|
+
}
|
|
14
|
+
: { width: props.width };
|
|
15
|
+
return <SkeletonContainer css={customCss} {...props} />;
|
|
66
16
|
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { SkeletonContainer } from './Skeleton.styles';
|
|
2
|
+
import type * as Stitches from '@stitches/react';
|
|
3
|
+
|
|
4
|
+
type BaseProps = Stitches.VariantProps<typeof SkeletonContainer>;
|
|
5
|
+
type BaseVariants = Exclude<BaseProps['variant'], object>;
|
|
6
|
+
type BaseSizes = Exclude<BaseProps['size'], object>;
|
|
7
|
+
|
|
8
|
+
type TextVariant = {
|
|
9
|
+
variant: 'text';
|
|
10
|
+
size: BaseSizes;
|
|
11
|
+
width: number;
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
type OtherVariant = {
|
|
15
|
+
variant: Exclude<BaseVariants, 'text'>;
|
|
16
|
+
width?: number;
|
|
17
|
+
height: number;
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
export type PropTypes = TextVariant | OtherVariant;
|
|
@@ -1,4 +1,9 @@
|
|
|
1
|
+
import type { SvgIconProps } from '../SvgIcon';
|
|
2
|
+
import type * as Stitches from '@stitches/react';
|
|
3
|
+
|
|
1
4
|
import React from 'react';
|
|
5
|
+
|
|
6
|
+
import { LoadingIcon } from '../../icons';
|
|
2
7
|
import { keyframes, styled } from '../../theme';
|
|
3
8
|
|
|
4
9
|
const spin = keyframes({
|
|
@@ -8,54 +13,25 @@ const spin = keyframes({
|
|
|
8
13
|
});
|
|
9
14
|
|
|
10
15
|
const SpinnerContainer = styled('div', {
|
|
11
|
-
borderRadius: '50%',
|
|
12
16
|
position: 'relative',
|
|
13
|
-
border: `2px solid $neutral100`,
|
|
14
|
-
borderRight: `2px solid`,
|
|
15
17
|
animation: `${spin} 1.5s linear infinite`,
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
primary: {
|
|
20
|
-
borderRightColor: '$primary',
|
|
21
|
-
},
|
|
22
|
-
error: {
|
|
23
|
-
borderRightColor: '$error',
|
|
24
|
-
},
|
|
25
|
-
warning: {
|
|
26
|
-
borderRightColor: '$warning',
|
|
27
|
-
},
|
|
28
|
-
success: {
|
|
29
|
-
borderRightColor: '$success',
|
|
30
|
-
},
|
|
31
|
-
black: {
|
|
32
|
-
borderRightColor: '$black',
|
|
33
|
-
},
|
|
34
|
-
white: {
|
|
35
|
-
borderRightColor: '$white',
|
|
36
|
-
},
|
|
37
|
-
},
|
|
38
|
-
size: {
|
|
39
|
-
16: {
|
|
40
|
-
width: '$16',
|
|
41
|
-
height: '$16',
|
|
42
|
-
},
|
|
43
|
-
20: {
|
|
44
|
-
width: '$20',
|
|
45
|
-
height: '$20',
|
|
46
|
-
},
|
|
47
|
-
24: {
|
|
48
|
-
width: '$24',
|
|
49
|
-
height: '$24',
|
|
50
|
-
},
|
|
51
|
-
},
|
|
52
|
-
},
|
|
18
|
+
display: 'flex',
|
|
19
|
+
justifyContent: 'center',
|
|
20
|
+
alignItems: 'center',
|
|
53
21
|
});
|
|
22
|
+
|
|
54
23
|
export interface PropTypes {
|
|
55
|
-
|
|
56
|
-
|
|
24
|
+
// eslint-disable-next-line @typescript-eslint/no-magic-numbers
|
|
25
|
+
size?: 12 | 16 | 20 | 24 | 30;
|
|
26
|
+
color?: SvgIconProps['color'];
|
|
27
|
+
css?: Stitches.CSS;
|
|
57
28
|
}
|
|
58
29
|
|
|
59
|
-
export function Spinner(
|
|
60
|
-
|
|
30
|
+
export function Spinner(props: PropTypes) {
|
|
31
|
+
const { size, color, css = {} } = props;
|
|
32
|
+
return (
|
|
33
|
+
<SpinnerContainer css={css}>
|
|
34
|
+
<LoadingIcon size={size} color={color} />
|
|
35
|
+
</SpinnerContainer>
|
|
36
|
+
);
|
|
61
37
|
}
|
|
@@ -112,28 +112,28 @@ export function StepDetail(props: PropsWithChildren<PropTypes>) {
|
|
|
112
112
|
{amount && (
|
|
113
113
|
<Typography
|
|
114
114
|
noWrap
|
|
115
|
-
variant={direction === 'vertical' ? '
|
|
116
|
-
|
|
115
|
+
variant={direction === 'vertical' ? 'body' : 'title'}
|
|
116
|
+
size="medium">
|
|
117
117
|
{amount}
|
|
118
118
|
</Typography>
|
|
119
119
|
)}
|
|
120
120
|
{!amount && estimatedAmount && (
|
|
121
121
|
<Typography
|
|
122
122
|
noWrap
|
|
123
|
-
variant={direction === 'vertical' ? '
|
|
124
|
-
|
|
125
|
-
|
|
123
|
+
variant={direction === 'vertical' ? 'body' : 'title'}
|
|
124
|
+
size="medium"
|
|
125
|
+
color={'$neutral600'}>
|
|
126
126
|
{estimatedAmount}
|
|
127
127
|
</Typography>
|
|
128
128
|
)}
|
|
129
129
|
|
|
130
130
|
<Typography
|
|
131
|
-
variant={direction === 'vertical' ? '
|
|
132
|
-
|
|
133
|
-
|
|
131
|
+
variant={direction === 'vertical' ? 'body' : 'title'}
|
|
132
|
+
size="medium"
|
|
133
|
+
noWrap>
|
|
134
134
|
{symbol}
|
|
135
135
|
</Typography>
|
|
136
|
-
<SubTitle noWrap variant="
|
|
136
|
+
<SubTitle noWrap variant="body" size="xsmall" color="$neutral800">
|
|
137
137
|
on {blockchain}
|
|
138
138
|
</SubTitle>
|
|
139
139
|
</Detail>
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
|
|
3
|
+
import React from 'react';
|
|
4
|
+
|
|
5
|
+
import { Alert } from '../Alert';
|
|
6
|
+
|
|
7
|
+
import { step1 } from './mock';
|
|
8
|
+
import { StepDetails } from './StepDetails';
|
|
9
|
+
|
|
10
|
+
const meta: Meta<typeof StepDetails> = {
|
|
11
|
+
component: StepDetails,
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
export default meta;
|
|
15
|
+
type Story = StoryObj<typeof StepDetails>;
|
|
16
|
+
|
|
17
|
+
export const Main: Story = {
|
|
18
|
+
args: {
|
|
19
|
+
step: { ...step1, alerts: <Alert title="test alert" type="warning" /> },
|
|
20
|
+
type: 'route-progress',
|
|
21
|
+
state: 'completed',
|
|
22
|
+
},
|
|
23
|
+
};
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
import { darkTheme, styled } from '../../theme';
|
|
2
|
+
|
|
3
|
+
export const Container = styled('div', {
|
|
4
|
+
width: '100%',
|
|
5
|
+
position: 'relative',
|
|
6
|
+
padding: '0 0.5rem',
|
|
7
|
+
boxSizing: 'border-box',
|
|
8
|
+
border: '1px solid transparent',
|
|
9
|
+
variants: {
|
|
10
|
+
type: {
|
|
11
|
+
'route-details': { border: 'none' },
|
|
12
|
+
'route-progress': {
|
|
13
|
+
$$color: '$colors$neutral100',
|
|
14
|
+
[`.${darkTheme} &`]: {
|
|
15
|
+
$$color: '$colors$neutral300',
|
|
16
|
+
},
|
|
17
|
+
borderRadius: '$xm',
|
|
18
|
+
padding: '$10 $15',
|
|
19
|
+
marginBottom: '15px',
|
|
20
|
+
},
|
|
21
|
+
},
|
|
22
|
+
state: {
|
|
23
|
+
default: {
|
|
24
|
+
borderColor: 'transparent',
|
|
25
|
+
},
|
|
26
|
+
'in-progress': { borderColor: '$info500' },
|
|
27
|
+
completed: {
|
|
28
|
+
borderColor: '$success500',
|
|
29
|
+
},
|
|
30
|
+
warning: { borderColor: '$warning500' },
|
|
31
|
+
error: { borderColor: '$error500' },
|
|
32
|
+
},
|
|
33
|
+
},
|
|
34
|
+
'& .swapper': {
|
|
35
|
+
display: 'flex',
|
|
36
|
+
alignItems: 'center',
|
|
37
|
+
},
|
|
38
|
+
'& .swapper__description': {
|
|
39
|
+
fontWeight: '$medium',
|
|
40
|
+
},
|
|
41
|
+
'& .step-info': {
|
|
42
|
+
display: 'flex',
|
|
43
|
+
flex: '1',
|
|
44
|
+
width: '100%',
|
|
45
|
+
alignItems: 'start',
|
|
46
|
+
variants: {
|
|
47
|
+
tx: {
|
|
48
|
+
true: {
|
|
49
|
+
paddingLeft: '36px',
|
|
50
|
+
},
|
|
51
|
+
},
|
|
52
|
+
},
|
|
53
|
+
},
|
|
54
|
+
'& div:nth-child(3)': { display: 'flex', flexDirection: 'column', flex: 1 },
|
|
55
|
+
'& .tokens-container': { width: '100%' },
|
|
56
|
+
'& .tokens': {
|
|
57
|
+
display: 'flex',
|
|
58
|
+
paddingTop: '$5',
|
|
59
|
+
paddingBottom: '$10',
|
|
60
|
+
alignItems: 'center',
|
|
61
|
+
},
|
|
62
|
+
});
|
|
63
|
+
|
|
64
|
+
export const SwapperImage = styled('div', {
|
|
65
|
+
borderRadius: '100%',
|
|
66
|
+
width: 'max-content',
|
|
67
|
+
height: 'max-content',
|
|
68
|
+
overflow: 'hidden',
|
|
69
|
+
border: '1.5px solid transparent',
|
|
70
|
+
variants: {
|
|
71
|
+
state: {
|
|
72
|
+
default: {
|
|
73
|
+
borderColor: 'transparent',
|
|
74
|
+
},
|
|
75
|
+
'in-progress': { borderColor: '$info500' },
|
|
76
|
+
completed: {
|
|
77
|
+
borderColor: '$success500',
|
|
78
|
+
},
|
|
79
|
+
warning: { borderColor: '$warning500' },
|
|
80
|
+
error: { borderColor: '$error500' },
|
|
81
|
+
},
|
|
82
|
+
},
|
|
83
|
+
});
|
|
84
|
+
|
|
85
|
+
export const Alerts = styled('div', {
|
|
86
|
+
width: '100%',
|
|
87
|
+
variants: {
|
|
88
|
+
pb: {
|
|
89
|
+
true: {
|
|
90
|
+
paddingBottom: '35px',
|
|
91
|
+
},
|
|
92
|
+
},
|
|
93
|
+
},
|
|
94
|
+
});
|
|
95
|
+
|
|
96
|
+
export const DashedLine = styled('div', {
|
|
97
|
+
borderLeft: '1px dashed black',
|
|
98
|
+
minHeight: '64px',
|
|
99
|
+
margin: '0 11.5px',
|
|
100
|
+
alignSelf: 'stretch',
|
|
101
|
+
variants: {
|
|
102
|
+
invisible: {
|
|
103
|
+
true: {
|
|
104
|
+
visibility: 'hidden',
|
|
105
|
+
minHeight: 'unset',
|
|
106
|
+
},
|
|
107
|
+
},
|
|
108
|
+
},
|
|
109
|
+
});
|
|
110
|
+
|
|
111
|
+
export const StepSeparator = styled('div', {
|
|
112
|
+
borderLeft: '1px dashed transparent',
|
|
113
|
+
margin: '0 $10',
|
|
114
|
+
alignSelf: 'stretch',
|
|
115
|
+
display: 'block',
|
|
116
|
+
height: '15px',
|
|
117
|
+
position: 'absolute',
|
|
118
|
+
top: '-16px',
|
|
119
|
+
left: '16px',
|
|
120
|
+
variants: {
|
|
121
|
+
state: {
|
|
122
|
+
default: {
|
|
123
|
+
borderColor: 'transparent',
|
|
124
|
+
},
|
|
125
|
+
'in-progress': { borderColor: '$info500' },
|
|
126
|
+
completed: {
|
|
127
|
+
borderColor: '$success500',
|
|
128
|
+
},
|
|
129
|
+
warning: { borderColor: '$warning500' },
|
|
130
|
+
error: { borderColor: '$error500' },
|
|
131
|
+
},
|
|
132
|
+
},
|
|
133
|
+
});
|