@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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../../../src/theme.ts"],"names":[],"mappings":";AAGA,OAAO,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;
|
|
1
|
+
{"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../../../src/theme.ts"],"names":[],"mappings":";AAGA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAMpE,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2JjB,CAAC;AAgBF,eAAO,MAAQ,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0BAAE,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;SAAE,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4KAAE,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAE,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gDAAE,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKjE,CAAC;AAEL,eAAO,MAAM,UAAU;;;gEAAkB,CAAC;AAE1C,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;MA0BpB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/types/index.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/types/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAChD,YAAY,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"meta.d.ts","sourceRoot":"","sources":["../../../../../src/types/meta.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"meta.d.ts","sourceRoot":"","sources":["../../../../../src/types/meta.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,WAAW,CAAC;AAEvC,MAAM,MAAM,SAAS,GAAG;IACtB,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,eAAe,EAAE,OAAO,CAAC;IACzB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE;QAAE,MAAM,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,MAAM,CAAA;KAAE,CAAC;CAChD,CAAC;AAEF,MAAM,WAAW,eAAe;IAC9B,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,QAAQ,GAAG,YAAY,GAAG,KAAK,CAAC;IACtC,QAAQ,EAAE,OAAO,CAAC;CACnB;AAED,MAAM,MAAM,aAAa,GAAG,SAAS,GAAG,SAAS,GAAG,QAAQ,CAAC;AAE7D,MAAM,WAAW,gBAAiB,SAAQ,KAAK;IAC7C,OAAO,CAAC,EAAE;QACR,MAAM,EAAE,MAAM,CAAC;QACf,QAAQ,EAAE,MAAM,CAAC;KAClB,CAAC;CACH"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BestRouteResponse, BlockchainValidationStatus, SimulationResult, SwapResult, WalletRequiredAssets } from 'rango-sdk';
|
|
1
|
+
import type { BestRouteResponse, BlockchainValidationStatus, SimulationResult, SwapResult, WalletRequiredAssets } from 'rango-sdk';
|
|
2
2
|
export type SwapStatus = 'running' | 'failed' | 'success';
|
|
3
3
|
export type MessageSeverity = 'error' | 'warning' | 'info' | 'success';
|
|
4
4
|
export type StepStatus = 'created' | 'running' | 'failed' | 'success' | 'waitingForApproval' | 'approved';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"swaps.d.ts","sourceRoot":"","sources":["../../../../../src/types/swaps.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"swaps.d.ts","sourceRoot":"","sources":["../../../../../src/types/swaps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,iBAAiB,EACjB,0BAA0B,EAC1B,gBAAgB,EAChB,UAAU,EACV,oBAAoB,EACrB,MAAM,WAAW,CAAC;AAEnB,MAAM,MAAM,UAAU,GAAG,SAAS,GAAG,QAAQ,GAAG,SAAS,CAAC;AAC1D,MAAM,MAAM,eAAe,GAAG,OAAO,GAAG,SAAS,GAAG,MAAM,GAAG,SAAS,CAAC;AAEvE,MAAM,MAAM,UAAU,GAClB,SAAS,GACT,SAAS,GACT,QAAQ,GACR,SAAS,GACT,oBAAoB,GACpB,UAAU,CAAC;AAEf,oBAAY,wBAAwB;IAClC,0BAA0B,+BAA+B;IACzD,eAAe,oBAAoB;IACnC,uBAAuB,4BAA4B;IACnD,cAAc,mBAAmB;CAClC;AAED,MAAM,MAAM,oBAAoB,GAAG;IACjC,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AACF,MAAM,MAAM,iBAAiB,GAAG;IAC9B,QAAQ,EAAE,MAAM,CAAC;IACjB,mBAAmB,EAAE,MAAM,EAAE,CAAC;IAC9B,sBAAsB,EAAE,MAAM,EAAE,CAAC;CAClC,CAAC;AAEF,MAAM,MAAM,wBAAwB,GAAG,oBAAoB,CAAC;AAC5D,MAAM,MAAM,0BAA0B,GAAG,0BAA0B,CAAC;AACpE,MAAM,MAAM,aAAa,GAAG,iBAAiB,CAAC;AAE9C,MAAM,MAAM,gBAAgB,GAAG,IAAI,CAAC,iBAAiB,EAAE,QAAQ,CAAC,GAAG;IACjE,MAAM,EAAE,IAAI,CAAC,gBAAgB,EAAE,OAAO,CAAC,GAAG;QACxC,KAAK,EAAE,CAAC,UAAU,GAAG;YAAE,QAAQ,CAAC,EAAE,MAAM,CAAA;SAAE,CAAC,EAAE,CAAC;KAC/C,CAAC;CACH,CAAC"}
|
|
@@ -1,26 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare enum WalletState {
|
|
3
|
-
NOT_INSTALLED = "not installed",
|
|
4
|
-
DISCONNECTED = "disconnected",
|
|
5
|
-
CONNECTING = "connecting",
|
|
6
|
-
CONNECTED = "connected"
|
|
7
|
-
}
|
|
8
|
-
export type WalletInfo = {
|
|
9
|
-
state: WalletState.CONNECTED | WalletState.DISCONNECTED | WalletState.CONNECTING | WalletState.NOT_INSTALLED;
|
|
10
|
-
installLink: InstallObjects | string;
|
|
11
|
-
name: string;
|
|
12
|
-
image: string;
|
|
13
|
-
type: WalletType;
|
|
14
|
-
showOnMobile: boolean;
|
|
15
|
-
};
|
|
16
|
-
export interface SelectableWallet {
|
|
17
|
-
chain: string;
|
|
18
|
-
walletType: WalletType;
|
|
19
|
-
address: string;
|
|
20
|
-
image: string;
|
|
21
|
-
selected: boolean;
|
|
22
|
-
name: string;
|
|
23
|
-
}
|
|
1
|
+
import type { WalletType } from '@rango-dev/wallets-shared';
|
|
24
2
|
interface Wallet {
|
|
25
3
|
chain: string;
|
|
26
4
|
address: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wallet.d.ts","sourceRoot":"","sources":["../../../../../src/types/wallet.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"wallet.d.ts","sourceRoot":"","sources":["../../../../../src/types/wallet.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAE5D,UAAU,MAAM;IACd,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,UAAU,CAAC;CACxB;AAED,MAAM,MAAM,YAAY,GAAG;IACzB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;CACzB,CAAC;AAEF,MAAM,WAAW,eAAgB,SAAQ,MAAM;IAC7C,QAAQ,EAAE,YAAY,EAAE,GAAG,IAAI,CAAC;IAChC,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,OAAO,CAAC;IACf,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;CAC5B"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rango-dev/ui",
|
|
3
|
-
"version": "0.15.1-next.
|
|
3
|
+
"version": "0.15.1-next.21",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./dist/index.js",
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
"scripts": {
|
|
15
15
|
"dev": "yarn bundle --watch",
|
|
16
16
|
"build": "node ../../scripts/build/command.mjs --path widget/ui",
|
|
17
|
+
"build:icons": "svgr svgs/resources/fill --config-file svgs/configs/.svgrrc.default.cjs",
|
|
17
18
|
"type-checking": "tsc --declaration --emitDeclarationOnly",
|
|
18
19
|
"storybook": "storybook dev -p 3000",
|
|
19
20
|
"build-storybook": "storybook build",
|
|
@@ -30,12 +31,14 @@
|
|
|
30
31
|
"@babel/preset-env": "^7.21.4",
|
|
31
32
|
"@babel/preset-react": "^7.18.6",
|
|
32
33
|
"@babel/preset-typescript": "^7.21.4",
|
|
33
|
-
"@storybook/addon-essentials": "^7.
|
|
34
|
+
"@storybook/addon-essentials": "^7.1.1",
|
|
34
35
|
"@storybook/addon-info": "^5.3.21",
|
|
35
|
-
"@storybook/addon-links": "^7.
|
|
36
|
-
"@storybook/addons": "^7.
|
|
37
|
-
"@storybook/react": "^7.
|
|
38
|
-
"@storybook/react-webpack5": "^7.
|
|
36
|
+
"@storybook/addon-links": "^7.1.1",
|
|
37
|
+
"@storybook/addons": "^7.1.1",
|
|
38
|
+
"@storybook/react": "^7.1.1",
|
|
39
|
+
"@storybook/react-webpack5": "^7.1.1",
|
|
40
|
+
"@svgr/babel-plugin-remove-jsx-attribute": "8.0.0",
|
|
41
|
+
"@svgr/cli": "^8.0.1",
|
|
39
42
|
"@types/react": "^18.0.25",
|
|
40
43
|
"@types/react-dom": "^18.0.8",
|
|
41
44
|
"@types/react-virtualized-auto-sizer": "^1.0.1",
|
|
@@ -46,7 +49,7 @@
|
|
|
46
49
|
"react": "^18.2.0",
|
|
47
50
|
"react-dom": "^18.2.0",
|
|
48
51
|
"react-is": "^18.2.0",
|
|
49
|
-
"storybook": "^7.
|
|
52
|
+
"storybook": "^7.1.1",
|
|
50
53
|
"tsdx": "^0.14.1",
|
|
51
54
|
"tslib": "^2.4.1",
|
|
52
55
|
"typescript": "^4.8.4"
|
|
@@ -55,10 +58,12 @@
|
|
|
55
58
|
"@lingui/core": "4.2.1",
|
|
56
59
|
"@lingui/react": "4.2.1",
|
|
57
60
|
"@radix-ui/react-checkbox": "^1.0.1",
|
|
61
|
+
"@radix-ui/react-collapsible": "^1.0.3",
|
|
62
|
+
"@radix-ui/react-popover": "^1.0.6",
|
|
58
63
|
"@radix-ui/react-radio-group": "^1.1.1",
|
|
59
64
|
"@radix-ui/react-switch": "^1.0.1",
|
|
60
65
|
"@radix-ui/react-tooltip": "^1.0.2",
|
|
61
|
-
"@rango-dev/wallets-shared": "^0.15.1-next.
|
|
66
|
+
"@rango-dev/wallets-shared": "^0.15.1-next.4",
|
|
62
67
|
"@stitches/react": "^1.2.8",
|
|
63
68
|
"@types/react-color": "^3.0.6",
|
|
64
69
|
"rango-sdk": "^0.1.35",
|
package/readme.md
CHANGED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { Type } from './Alert.types';
|
|
2
|
+
|
|
3
|
+
export const getColor = (type: Type, variant: 'alarm' | 'regular') => {
|
|
4
|
+
if (variant === 'regular') {
|
|
5
|
+
return undefined;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
switch (type) {
|
|
9
|
+
case 'success':
|
|
10
|
+
case 'warning':
|
|
11
|
+
case 'error':
|
|
12
|
+
case 'info':
|
|
13
|
+
return `${type}500`;
|
|
14
|
+
default:
|
|
15
|
+
return undefined;
|
|
16
|
+
}
|
|
17
|
+
};
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
+
import type { PropTypes } from './Alert.types';
|
|
2
|
+
import type { Meta } from '@storybook/react';
|
|
3
|
+
|
|
1
4
|
import React from 'react';
|
|
5
|
+
|
|
2
6
|
import { Alert } from '.';
|
|
3
|
-
import { PropTypes } from './Alert';
|
|
4
|
-
import { Meta } from '@storybook/react';
|
|
5
|
-
import { Typography } from '../Typography';
|
|
6
7
|
|
|
7
8
|
export default {
|
|
8
9
|
title: 'Components/Alert',
|
|
9
10
|
component: Alert,
|
|
10
11
|
args: {
|
|
11
12
|
type: 'success',
|
|
12
|
-
title: '
|
|
13
|
-
footer: <Typography variant='body1'>It's a Alert!</Typography>
|
|
13
|
+
title: 'Please reset your liquidity sources.',
|
|
14
14
|
},
|
|
15
15
|
argTypes: {
|
|
16
16
|
type: {
|
|
@@ -18,13 +18,13 @@ export default {
|
|
|
18
18
|
defaultValue: 'success',
|
|
19
19
|
control: {
|
|
20
20
|
type: 'select',
|
|
21
|
-
options: ['
|
|
21
|
+
options: ['success', 'warning', 'error', 'info'],
|
|
22
22
|
},
|
|
23
23
|
},
|
|
24
24
|
|
|
25
25
|
title: {
|
|
26
26
|
name: 'title',
|
|
27
|
-
defaultValue: '
|
|
27
|
+
defaultValue: 'Swap transaction successfully',
|
|
28
28
|
control: {
|
|
29
29
|
type: 'text',
|
|
30
30
|
},
|
|
@@ -32,4 +32,16 @@ export default {
|
|
|
32
32
|
},
|
|
33
33
|
} as Meta<typeof Alert>;
|
|
34
34
|
|
|
35
|
-
export const Main = (args: PropTypes) =>
|
|
35
|
+
export const Main = (args: PropTypes) => (
|
|
36
|
+
<div style={{ width: 350 }}>
|
|
37
|
+
<Alert
|
|
38
|
+
{...args}
|
|
39
|
+
footer="Transaction was not sent. 38.3493 AVAX on Avalanche remain in your wallet."
|
|
40
|
+
/>
|
|
41
|
+
</div>
|
|
42
|
+
);
|
|
43
|
+
export const WithoutFooter = (args: PropTypes) => (
|
|
44
|
+
<div style={{ width: 350 }}>
|
|
45
|
+
<Alert {...args} variant="alarm" />
|
|
46
|
+
</div>
|
|
47
|
+
);
|
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
import { darkTheme, styled } from '../../theme';
|
|
2
|
+
|
|
3
|
+
export const Container = styled('div', {
|
|
4
|
+
display: 'flex',
|
|
5
|
+
flexDirection: 'column',
|
|
6
|
+
borderRadius: '$xs',
|
|
7
|
+
|
|
8
|
+
'.title': {
|
|
9
|
+
display: 'flex',
|
|
10
|
+
alignItems: 'center',
|
|
11
|
+
flex: '1 0 0',
|
|
12
|
+
},
|
|
13
|
+
|
|
14
|
+
'.title_typography:first-letter': {
|
|
15
|
+
textTransform: 'uppercase',
|
|
16
|
+
},
|
|
17
|
+
|
|
18
|
+
'.footer': {
|
|
19
|
+
paddingTop: '$5',
|
|
20
|
+
paddingLeft: '$24',
|
|
21
|
+
},
|
|
22
|
+
'.description': {
|
|
23
|
+
$$color: '$colors$neutral900',
|
|
24
|
+
[`.${darkTheme} &`]: {
|
|
25
|
+
$$color: '$colors$neutral800',
|
|
26
|
+
},
|
|
27
|
+
color: '$$color',
|
|
28
|
+
fontSize: '$10',
|
|
29
|
+
lineHeight: '$12',
|
|
30
|
+
},
|
|
31
|
+
variants: {
|
|
32
|
+
type: {
|
|
33
|
+
success: {},
|
|
34
|
+
warning: {},
|
|
35
|
+
error: {},
|
|
36
|
+
info: {},
|
|
37
|
+
loading: {},
|
|
38
|
+
},
|
|
39
|
+
variant: {
|
|
40
|
+
regular: {
|
|
41
|
+
padding: '$5',
|
|
42
|
+
alignItems: 'flex-start',
|
|
43
|
+
backgroundColor: '$neutral400',
|
|
44
|
+
},
|
|
45
|
+
alarm: {
|
|
46
|
+
padding: '$5 $10',
|
|
47
|
+
alignItems: 'center',
|
|
48
|
+
'.title_typography': {
|
|
49
|
+
fontWeight: '$medium',
|
|
50
|
+
},
|
|
51
|
+
},
|
|
52
|
+
},
|
|
53
|
+
},
|
|
54
|
+
|
|
55
|
+
compoundVariants: [
|
|
56
|
+
{
|
|
57
|
+
type: 'warning',
|
|
58
|
+
variant: 'alarm',
|
|
59
|
+
css: {
|
|
60
|
+
$$color: '$colors$warning100',
|
|
61
|
+
[`.${darkTheme} &`]: {
|
|
62
|
+
$$color: '$colors$warning700',
|
|
63
|
+
},
|
|
64
|
+
backgroundColor: '$$color',
|
|
65
|
+
},
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
type: 'error',
|
|
69
|
+
variant: 'alarm',
|
|
70
|
+
css: {
|
|
71
|
+
$$color: '$colors$error100',
|
|
72
|
+
[`.${darkTheme} &`]: {
|
|
73
|
+
$$color: '$colors$error700',
|
|
74
|
+
},
|
|
75
|
+
backgroundColor: '$$color',
|
|
76
|
+
},
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
type: 'info',
|
|
80
|
+
variant: 'alarm',
|
|
81
|
+
css: {
|
|
82
|
+
$$color: '$colors$info100',
|
|
83
|
+
[`.${darkTheme} &`]: {
|
|
84
|
+
$$color: '$colors$info700',
|
|
85
|
+
},
|
|
86
|
+
backgroundColor: '$$color',
|
|
87
|
+
},
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
type: 'success',
|
|
91
|
+
variant: 'alarm',
|
|
92
|
+
css: {
|
|
93
|
+
$$color: '$colors$success100',
|
|
94
|
+
[`.${darkTheme} &`]: {
|
|
95
|
+
$$color: '$colors$success700',
|
|
96
|
+
},
|
|
97
|
+
backgroundColor: '$$color',
|
|
98
|
+
},
|
|
99
|
+
},
|
|
100
|
+
],
|
|
101
|
+
});
|
|
102
|
+
|
|
103
|
+
export const Main = styled('div', {
|
|
104
|
+
display: 'flex',
|
|
105
|
+
alignItems: 'center',
|
|
106
|
+
alignSelf: 'stretch',
|
|
107
|
+
variants: {
|
|
108
|
+
variant: {
|
|
109
|
+
regular: {
|
|
110
|
+
justifyContent: 'space-between',
|
|
111
|
+
},
|
|
112
|
+
alarm: {
|
|
113
|
+
justifyContent: 'flex-start',
|
|
114
|
+
},
|
|
115
|
+
},
|
|
116
|
+
},
|
|
117
|
+
});
|
|
118
|
+
|
|
119
|
+
export const IconHighlight = styled('div', {
|
|
120
|
+
borderRadius: '$lg',
|
|
121
|
+
width: '$20',
|
|
122
|
+
height: '$20',
|
|
123
|
+
display: 'flex',
|
|
124
|
+
justifyContent: 'center',
|
|
125
|
+
alignItems: 'center',
|
|
126
|
+
alignSelf: 'flex-start',
|
|
127
|
+
variants: {
|
|
128
|
+
type: {
|
|
129
|
+
success: {
|
|
130
|
+
$$color: '$colors$success300',
|
|
131
|
+
[`.${darkTheme} &`]: {
|
|
132
|
+
$$color: '$colors$success600',
|
|
133
|
+
},
|
|
134
|
+
backgroundColor: '$$color',
|
|
135
|
+
},
|
|
136
|
+
warning: {
|
|
137
|
+
$$color: '$colors$warning300',
|
|
138
|
+
[`.${darkTheme} &`]: {
|
|
139
|
+
$$color: '$colors$warning600',
|
|
140
|
+
},
|
|
141
|
+
backgroundColor: '$$color',
|
|
142
|
+
},
|
|
143
|
+
error: {
|
|
144
|
+
$$color: '$colors$error300',
|
|
145
|
+
[`.${darkTheme} &`]: {
|
|
146
|
+
$$color: '$colors$error600',
|
|
147
|
+
},
|
|
148
|
+
backgroundColor: '$$color',
|
|
149
|
+
},
|
|
150
|
+
info: {
|
|
151
|
+
$$color: '$colors$info300',
|
|
152
|
+
[`.${darkTheme} &`]: {
|
|
153
|
+
$$color: '$colors$info600',
|
|
154
|
+
},
|
|
155
|
+
backgroundColor: '$$color',
|
|
156
|
+
},
|
|
157
|
+
loading: {
|
|
158
|
+
$$color: '$colors$info300',
|
|
159
|
+
[`.${darkTheme} &`]: {
|
|
160
|
+
$$color: '$colors$info600',
|
|
161
|
+
},
|
|
162
|
+
backgroundColor: '$$color',
|
|
163
|
+
},
|
|
164
|
+
},
|
|
165
|
+
},
|
|
166
|
+
});
|
|
@@ -1,102 +1,57 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import { Typography } from '../Typography';
|
|
4
|
-
import { styled } from '../../theme';
|
|
5
|
-
import { Divider } from '../Divider';
|
|
1
|
+
import type { PropTypes } from './Alert.types';
|
|
2
|
+
import type { PropsWithChildren } from 'react';
|
|
6
3
|
|
|
7
|
-
|
|
8
|
-
width: '100%',
|
|
9
|
-
padding: '$16',
|
|
10
|
-
borderRadius: '$5',
|
|
11
|
-
backgroundColor: '$neutral100',
|
|
12
|
-
color: '$neutral800',
|
|
4
|
+
import React from 'react';
|
|
13
5
|
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
alignItems: 'center',
|
|
17
|
-
},
|
|
6
|
+
import { Divider } from '../Divider';
|
|
7
|
+
import { Typography } from '../Typography';
|
|
18
8
|
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
'&.hasIcon .footer': {
|
|
23
|
-
paddingLeft: '$32',
|
|
24
|
-
},
|
|
25
|
-
variants: {
|
|
26
|
-
type: {
|
|
27
|
-
primary: {
|
|
28
|
-
color: '$primary200',
|
|
29
|
-
},
|
|
30
|
-
secondary: {
|
|
31
|
-
color: '$foreground',
|
|
32
|
-
},
|
|
33
|
-
success: {
|
|
34
|
-
color: '$success300',
|
|
35
|
-
},
|
|
36
|
-
warning: {
|
|
37
|
-
color: '$warning500',
|
|
38
|
-
},
|
|
39
|
-
error: {
|
|
40
|
-
color: '$error300',
|
|
41
|
-
},
|
|
42
|
-
},
|
|
43
|
-
},
|
|
44
|
-
});
|
|
45
|
-
|
|
46
|
-
export interface PropTypes {
|
|
47
|
-
type?: 'primary' | 'secondary' | 'success' | 'warning' | 'error';
|
|
48
|
-
title?: string;
|
|
49
|
-
footer?: ReactNode;
|
|
50
|
-
}
|
|
9
|
+
import { getColor } from './Alert.helpers';
|
|
10
|
+
import { Container, IconHighlight, Main } from './Alert.styles';
|
|
11
|
+
import AlertIcon from './AlertIcon';
|
|
51
12
|
|
|
52
13
|
export function Alert(props: PropsWithChildren<PropTypes>) {
|
|
53
|
-
const {
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
14
|
+
const {
|
|
15
|
+
type,
|
|
16
|
+
title,
|
|
17
|
+
footer,
|
|
18
|
+
action,
|
|
19
|
+
containerStyles,
|
|
20
|
+
variant = 'regular',
|
|
21
|
+
} = props;
|
|
22
|
+
const isFooterString = typeof footer === 'string';
|
|
58
23
|
|
|
59
24
|
return (
|
|
60
|
-
<
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
>
|
|
72
|
-
{type === 'success' && <CheckCircleIcon color={type} size={24} />}
|
|
73
|
-
{type === 'warning' && <WarningIcon color={type} size={24} />}
|
|
74
|
-
{type === 'error' && <InfoCircleIcon color={type} size={24} />}
|
|
75
|
-
<Divider size={4} direction='horizontal' />
|
|
76
|
-
</div>
|
|
77
|
-
</>
|
|
78
|
-
)}
|
|
79
|
-
<div
|
|
80
|
-
style={{
|
|
81
|
-
display: 'flex',
|
|
82
|
-
justifyContent: 'center',
|
|
83
|
-
alignItems: 'start',
|
|
84
|
-
flexDirection: 'column',
|
|
85
|
-
width: '100%',
|
|
86
|
-
}}
|
|
87
|
-
>
|
|
25
|
+
<Container
|
|
26
|
+
className="_alert"
|
|
27
|
+
style={containerStyles}
|
|
28
|
+
type={type}
|
|
29
|
+
variant={variant}>
|
|
30
|
+
<Main variant={variant}>
|
|
31
|
+
<div className="title">
|
|
32
|
+
<IconHighlight type={type}>
|
|
33
|
+
<AlertIcon type={type} />
|
|
34
|
+
</IconHighlight>
|
|
35
|
+
<Divider direction="horizontal" size={4} />
|
|
88
36
|
{title && (
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
{
|
|
94
|
-
|
|
37
|
+
<Typography
|
|
38
|
+
color={getColor(type, variant)}
|
|
39
|
+
variant="body"
|
|
40
|
+
className="title_typography"
|
|
41
|
+
size={variant === 'regular' ? 'xsmall' : 'small'}>
|
|
42
|
+
{title}
|
|
43
|
+
</Typography>
|
|
95
44
|
)}
|
|
96
|
-
{children}
|
|
97
45
|
</div>
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
46
|
+
{action ? <div>{action}</div> : null}
|
|
47
|
+
</Main>
|
|
48
|
+
{footer ? (
|
|
49
|
+
<div className={`footer ${isFooterString ? 'description' : ''}`}>
|
|
50
|
+
{footer}
|
|
51
|
+
</div>
|
|
52
|
+
) : null}
|
|
53
|
+
</Container>
|
|
101
54
|
);
|
|
102
55
|
}
|
|
56
|
+
|
|
57
|
+
Alert.toString = () => '._alert';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { CSSProperties, ReactNode } from 'react';
|
|
2
|
+
|
|
3
|
+
export type Type = 'success' | 'warning' | 'error' | 'info' | 'loading';
|
|
4
|
+
|
|
5
|
+
export interface PropTypes {
|
|
6
|
+
type: Type;
|
|
7
|
+
title?: ReactNode;
|
|
8
|
+
footer?: ReactNode;
|
|
9
|
+
action?: ReactNode;
|
|
10
|
+
variant?: 'alarm' | 'regular';
|
|
11
|
+
containerStyles?: CSSProperties;
|
|
12
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import type { PropTypes } from './Alert.types';
|
|
2
|
+
|
|
3
|
+
import React from 'react';
|
|
4
|
+
|
|
5
|
+
import {
|
|
6
|
+
CompleteIcon,
|
|
7
|
+
ErrorIcon,
|
|
8
|
+
InfoErrorIcon,
|
|
9
|
+
WarningIcon,
|
|
10
|
+
} from '../../icons';
|
|
11
|
+
import { Spinner } from '../Spinner';
|
|
12
|
+
|
|
13
|
+
function AlertIcon(props: Pick<PropTypes, 'type'>) {
|
|
14
|
+
switch (props.type) {
|
|
15
|
+
case 'success':
|
|
16
|
+
return <CompleteIcon color={props.type} size={12} />;
|
|
17
|
+
case 'warning':
|
|
18
|
+
return <WarningIcon color={props.type} size={12} />;
|
|
19
|
+
case 'error':
|
|
20
|
+
return <ErrorIcon color={props.type} size={12} />;
|
|
21
|
+
case 'loading':
|
|
22
|
+
return <Spinner color="info" size={12} />;
|
|
23
|
+
default:
|
|
24
|
+
return <InfoErrorIcon color={props.type} size={12} />;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
export default AlertIcon;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
|
|
2
3
|
import { Alert } from './Alert';
|
|
3
4
|
|
|
4
5
|
interface PropTypes {
|
|
@@ -6,11 +7,14 @@ interface PropTypes {
|
|
|
6
7
|
searchedFor?: string;
|
|
7
8
|
}
|
|
8
9
|
|
|
10
|
+
/**
|
|
11
|
+
* @deprecated Please use the Alert directly.
|
|
12
|
+
*/
|
|
9
13
|
export function NotFoundAlert(props: PropTypes) {
|
|
10
14
|
const { catergory, searchedFor } = props;
|
|
11
15
|
return (
|
|
12
16
|
<Alert
|
|
13
|
-
type="
|
|
17
|
+
type="error"
|
|
14
18
|
title={`${catergory} ${
|
|
15
19
|
searchedFor ? "'" + searchedFor + "'" : ''
|
|
16
20
|
} not found.`}
|