@rango-dev/ui 0.15.1-next.1 → 0.15.1-next.11
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 +1392 -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 +33 -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/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 +13 -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 +9 -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/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/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 +155 -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 +54 -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 +21 -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 +38 -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 +591 -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/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/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 +40 -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 +166 -0
- package/src/components/BestRoute/BestRoute.tsx +156 -217
- package/src/components/BestRoute/BestRoute.types.ts +31 -0
- package/src/components/BestRoute/BestRouteSkeleton.styles.ts +106 -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/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 +469 -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 +38 -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 +31 -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 +18 -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 +27 -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 +47 -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 +44 -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 +21 -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 +40 -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/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 +38 -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 +43 -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/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 +130 -0
- package/src/components/StepDetails/StepDetails.tsx +96 -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 +61 -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 +116 -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 +9 -0
- package/src/components/Tooltip/Tooltip.tsx +23 -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 +34 -0
- package/src/components/Wallet/Wallet.styles.ts +59 -0
- package/src/components/Wallet/Wallet.tsx +2 -76
- package/src/components/Wallet/Wallet.types.ts +65 -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 +21 -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 +39 -0
- package/src/containers/SwapInput/SwapInput.styles.ts +60 -0
- package/src/containers/SwapInput/SwapInput.tsx +106 -0
- package/src/containers/SwapInput/SwapInput.types.ts +41 -0
- package/src/containers/SwapInput/TokenSection.styles.ts +45 -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/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/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 +39 -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
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import type { SvgIconPropsWithChildren } from '../components/SvgIcon';
|
|
2
|
+
|
|
3
|
+
import React, { createElement } from 'react';
|
|
4
|
+
|
|
5
|
+
import { SvgIcon } from '../components/SvgIcon';
|
|
6
|
+
|
|
7
|
+
function SvgSearch(props: SvgIconPropsWithChildren) {
|
|
8
|
+
return createElement(
|
|
9
|
+
SvgIcon,
|
|
10
|
+
props,
|
|
11
|
+
<svg viewBox="0 0 25 24" xmlns="http://www.w3.org/2000/svg">
|
|
12
|
+
<path
|
|
13
|
+
fillRule="evenodd"
|
|
14
|
+
clipRule="evenodd"
|
|
15
|
+
d="M18.058 4.04189C14.3131 0.296976 8.2414 0.296976 4.49648 4.04189C0.751566 7.78681 0.751566 13.8585 4.49648 17.6034C8.2414 21.3483 14.3131 21.3483 18.058 17.6034C21.8029 13.8585 21.8029 7.78681 18.058 4.04189ZM18.93 3.16988C14.7035 -1.05663 7.85098 -1.05663 3.62447 3.16988C-0.602038 7.39639 -0.602038 14.2489 3.62447 18.4754C7.85098 22.7019 14.7035 22.7019 18.93 18.4754C23.1565 14.2489 23.1565 7.39639 18.93 3.16988Z"
|
|
16
|
+
fill="currentColor"
|
|
17
|
+
/>
|
|
18
|
+
<path
|
|
19
|
+
fillRule="evenodd"
|
|
20
|
+
clipRule="evenodd"
|
|
21
|
+
d="M18.0517 17.5971C18.2925 17.3563 18.6829 17.3563 18.9237 17.5971L24.2739 22.9473C24.5147 23.1881 24.5147 23.5785 24.2739 23.8193C24.0331 24.0601 23.6427 24.0601 23.4019 23.8193L18.0517 18.4691C17.8109 18.2283 17.8109 17.8379 18.0517 17.5971Z"
|
|
22
|
+
fill="currentColor"
|
|
23
|
+
/>
|
|
24
|
+
</svg>
|
|
25
|
+
);
|
|
26
|
+
}
|
|
27
|
+
export default SvgSearch;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { SvgIconPropsWithChildren } from '../components/SvgIcon';
|
|
2
|
+
|
|
3
|
+
import React, { createElement } from 'react';
|
|
4
|
+
|
|
5
|
+
import { SvgIcon } from '../components/SvgIcon';
|
|
6
|
+
|
|
7
|
+
function SvgSettings(props: SvgIconPropsWithChildren) {
|
|
8
|
+
return createElement(
|
|
9
|
+
SvgIcon,
|
|
10
|
+
props,
|
|
11
|
+
<svg viewBox="0 0 25 24" xmlns="http://www.w3.org/2000/svg">
|
|
12
|
+
<path
|
|
13
|
+
fillRule="evenodd"
|
|
14
|
+
clipRule="evenodd"
|
|
15
|
+
d="M8.50467 2.93423C8.50467 1.50705 9.66162 0.350098 11.0888 0.350098H13.8205C15.2477 0.350098 16.4047 1.50706 16.4047 2.93424C16.4047 3.92275 17.4748 4.5406 18.3309 4.04632C19.5669 3.33272 21.1474 3.75618 21.861 4.99218L23.2268 7.35787C23.9404 8.59386 23.5169 10.1743 22.2809 10.8879C21.4248 11.3822 21.4248 12.6179 22.2809 13.1121C23.5169 13.8257 23.9404 15.4062 23.2268 16.6422L21.861 19.0079C21.1474 20.2439 19.5669 20.6673 18.3309 19.9537C17.4748 19.4595 16.4047 20.0773 16.4047 21.0659C16.4047 22.4931 15.2477 23.6501 13.8205 23.6501H11.0889C9.66164 23.6501 8.50467 22.4931 8.50467 21.0659C8.50467 20.0773 7.43452 19.4595 6.57844 19.9537C5.34246 20.6673 3.76202 20.2439 3.04842 19.0079L1.68258 16.6422C0.968984 15.4062 1.39246 13.8257 2.62845 13.1121C3.48456 12.6179 3.48456 11.3822 2.62845 10.8879C1.39247 10.1743 0.968985 8.59386 1.68258 7.35787L3.04842 4.99216C3.76202 3.75618 5.34248 3.33271 6.57845 4.0463C7.43455 4.54057 8.50467 3.92274 8.50467 2.93423ZM11.0888 1.6501C10.3796 1.6501 9.80467 2.22502 9.80467 2.93423C9.80467 4.92351 7.65119 6.16676 5.92845 5.17214C5.31425 4.81752 4.52886 5.02797 4.17426 5.64216L2.80842 8.00787C2.4538 8.62208 2.66425 9.40746 3.27845 9.76207C5.00123 10.7567 5.00123 13.2433 3.27845 14.238C2.66424 14.5926 2.4538 15.378 2.80841 15.9922L4.17426 18.3579C4.52886 18.9721 5.31424 19.1825 5.92844 18.8279C7.65123 17.8333 9.80467 19.0766 9.80467 21.0659C9.80467 21.7751 10.3796 22.3501 11.0889 22.3501H13.8205C14.5297 22.3501 15.1047 21.7751 15.1047 21.0659C15.1047 19.0766 17.2581 17.8332 18.9809 18.8279C19.5951 19.1825 20.3805 18.9721 20.7351 18.3579L22.101 15.9922C22.4556 15.378 22.2451 14.5926 21.6309 14.238C19.9082 13.2433 19.9082 10.7567 21.6309 9.76207C22.2451 9.40746 22.4556 8.62208 22.101 8.00787L20.7351 5.64218C20.3805 5.02798 19.5951 4.81753 18.9809 5.17215C17.2582 6.16678 15.1047 4.92353 15.1047 2.93424C15.1047 2.22503 14.5297 1.6501 13.8205 1.6501H11.0888ZM12.4547 8.2501C10.3836 8.2501 8.70467 9.92903 8.70467 12.0001C8.70467 14.0712 10.3836 15.7501 12.4547 15.7501C14.5257 15.7501 16.2047 14.0712 16.2047 12.0001C16.2047 9.92903 14.5257 8.2501 12.4547 8.2501ZM7.40467 12.0001C7.40467 9.21106 9.66563 6.9501 12.4547 6.9501C15.2437 6.9501 17.5047 9.21106 17.5047 12.0001C17.5047 14.7891 15.2437 17.0501 12.4547 17.0501C9.66563 17.0501 7.40467 14.7891 7.40467 12.0001Z"
|
|
16
|
+
fill="currentColor"
|
|
17
|
+
/>
|
|
18
|
+
</svg>
|
|
19
|
+
);
|
|
20
|
+
}
|
|
21
|
+
export default SvgSettings;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import type { SvgIconPropsWithChildren } from '../components/SvgIcon';
|
|
2
|
+
|
|
3
|
+
import React, { createElement } from 'react';
|
|
4
|
+
|
|
5
|
+
import { SvgIcon } from '../components/SvgIcon';
|
|
6
|
+
|
|
7
|
+
function SvgStyle(props: SvgIconPropsWithChildren) {
|
|
8
|
+
return createElement(
|
|
9
|
+
SvgIcon,
|
|
10
|
+
props,
|
|
11
|
+
<svg viewBox="0 0 22 22" xmlns="http://www.w3.org/2000/svg">
|
|
12
|
+
<path
|
|
13
|
+
fillRule="evenodd"
|
|
14
|
+
clipRule="evenodd"
|
|
15
|
+
d="M2.12348 2.1536C3.43468 0.842406 5.40414 0.333338 7.96989 0.333338H9.96989C10.3381 0.333338 10.6366 0.631815 10.6366 1.00001C10.6366 1.3682 10.3381 1.66667 9.96989 1.66667H7.96989C5.53564 1.66667 4.0051 2.1576 3.06629 3.09641C2.12749 4.03522 1.63656 5.56576 1.63656 8.00001V14C1.63656 16.4343 2.12749 17.9648 3.06629 18.9036C4.0051 19.8424 5.53564 20.3333 7.96989 20.3333H13.9699C16.4041 20.3333 17.9347 19.8424 18.8735 18.9036C19.8123 17.9648 20.3032 16.4343 20.3032 14V12C20.3032 11.6318 20.6017 11.3333 20.9699 11.3333C21.3381 11.3333 21.6366 11.6318 21.6366 12V14C21.6366 16.5658 21.1275 18.5352 19.8163 19.8464C18.5051 21.1576 16.5356 21.6667 13.9699 21.6667H7.96989C5.40414 21.6667 3.43468 21.1576 2.12348 19.8464C0.81229 18.5352 0.303223 16.5658 0.303223 14V8.00001C0.303223 5.43425 0.81229 3.4648 2.12348 2.1536Z"
|
|
16
|
+
fill="#469BF5"
|
|
17
|
+
/>
|
|
18
|
+
<path
|
|
19
|
+
fillRule="evenodd"
|
|
20
|
+
clipRule="evenodd"
|
|
21
|
+
d="M19.6533 1.70118C18.1946 2.28844 16.4352 3.33798 14.7767 4.56925C13.1164 5.80189 11.599 7.18566 10.6112 8.41663C10.611 8.4169 10.6108 8.41716 10.6106 8.41743L9.57353 9.71786C10.1923 9.89703 10.7777 10.2353 11.2798 10.7366C11.7724 11.2208 12.1029 11.7818 12.2804 12.3834L13.5634 11.3602C13.5631 11.3604 13.5636 11.36 13.5634 11.3602C14.794 10.3727 16.1734 8.8575 17.4009 7.19866C18.6287 5.53958 19.6747 3.77753 20.2617 2.31228L20.2625 2.31037C20.342 2.1138 20.2901 1.93255 20.1592 1.80163C20.0422 1.6846 19.858 1.62456 19.6533 1.70118ZM11.0795 13.126C11.0087 12.6036 10.7766 12.111 10.3436 11.686L10.3392 11.6817C9.89856 11.241 9.38154 10.9984 8.85474 10.9241C8.70039 10.9145 8.58818 10.909 8.48218 10.9156C8.25816 10.9296 8.04212 10.8299 7.90739 10.6504C7.77266 10.4709 7.73731 10.2356 7.81333 10.0244C7.92575 9.71214 8.09202 9.41042 8.3202 9.15099L9.56937 7.58457L9.5706 7.58302C10.6528 6.2342 12.2651 4.77329 13.9819 3.4987C15.6987 2.22414 17.5618 1.10487 19.162 0.46166L19.1721 0.45757C19.9057 0.176639 20.6398 0.396658 21.102 0.858821C21.5709 1.3277 21.799 2.06602 21.4991 2.80913C20.856 4.41366 19.7423 6.27621 18.4727 7.99179C17.203 9.70761 15.7469 11.3178 14.3978 12.4002L14.3963 12.4014L12.8162 13.6614L12.8006 13.6736C12.5646 13.8505 12.3122 14.0042 12.0135 14.1211C11.8083 14.2013 11.5767 14.1751 11.3948 14.0509C11.2128 13.9267 11.1039 13.7206 11.1039 13.5002C11.1039 13.3816 11.0961 13.2603 11.0795 13.126Z"
|
|
22
|
+
fill="#469BF5"
|
|
23
|
+
/>
|
|
24
|
+
<path
|
|
25
|
+
fillRule="evenodd"
|
|
26
|
+
clipRule="evenodd"
|
|
27
|
+
d="M8.8644 10.9143C8.71005 10.9048 8.59784 10.8992 8.49184 10.9058C8.48226 10.9064 8.47267 10.9068 8.46307 10.907C7.20229 10.9313 6.05337 11.8306 5.9031 13.2118C5.90307 13.212 5.90312 13.2116 5.9031 13.2118L5.69317 15.1811L5.69292 15.1834C5.61951 15.8502 6.18196 16.4002 6.82596 16.328L6.82959 16.3276L8.79274 16.1183C9.43334 16.0359 9.95384 15.7633 10.337 15.3809C10.8429 14.866 11.1136 14.1948 11.1136 13.4905C11.1136 13.3809 11.1057 13.2498 11.0891 13.1162C11.0188 12.5976 10.7885 12.1116 10.3489 11.6719C9.90825 11.2313 9.3912 10.9887 8.8644 10.9143ZM8.95752 9.58421C8.96234 9.58451 8.96712 9.58481 8.97184 9.58511C8.98719 9.58607 9.00249 9.58756 9.01773 9.58957C9.84347 9.69886 10.6383 10.0757 11.2917 10.7291C11.9311 11.3685 12.3008 12.1215 12.411 12.9417L12.4118 12.9478C12.435 13.1332 12.4469 13.3209 12.4469 13.4905C12.4469 14.5453 12.0383 15.5533 11.2854 16.3182L11.2817 16.3219C10.6862 16.9173 9.8895 17.3234 8.95398 17.4419L8.94094 17.4435L6.97251 17.6532C5.4778 17.8196 4.20177 16.5507 4.36746 15.0388C4.36741 15.0392 4.3675 15.0383 4.36746 15.0388L4.57735 13.0698C4.80677 10.9567 6.56956 9.6164 8.42348 9.57423C8.62029 9.56308 8.81008 9.57497 8.95752 9.58421Z"
|
|
28
|
+
fill="#469BF5"
|
|
29
|
+
/>
|
|
30
|
+
<path
|
|
31
|
+
fillRule="evenodd"
|
|
32
|
+
clipRule="evenodd"
|
|
33
|
+
d="M10.3638 7.19043C10.3638 6.82225 10.6622 6.52377 11.0304 6.52377C13.4998 6.52377 15.4871 8.52339 15.4871 10.9804C15.4871 11.3486 15.1886 11.6471 14.8204 11.6471C14.4522 11.6471 14.1538 11.3486 14.1538 10.9804C14.1538 9.25748 12.7611 7.8571 11.0304 7.8571C10.6622 7.8571 10.3638 7.55862 10.3638 7.19043Z"
|
|
34
|
+
fill="#469BF5"
|
|
35
|
+
/>
|
|
36
|
+
</svg>
|
|
37
|
+
);
|
|
38
|
+
}
|
|
39
|
+
export default SvgStyle;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import type { SvgIconPropsWithChildren } from '../components/SvgIcon';
|
|
2
|
+
|
|
3
|
+
import React, { createElement } from 'react';
|
|
4
|
+
|
|
5
|
+
import { SvgIcon } from '../components/SvgIcon';
|
|
6
|
+
|
|
7
|
+
function SvgTime(props: SvgIconPropsWithChildren) {
|
|
8
|
+
return createElement(
|
|
9
|
+
SvgIcon,
|
|
10
|
+
props,
|
|
11
|
+
<svg viewBox="0 0 25 24" xmlns="http://www.w3.org/2000/svg">
|
|
12
|
+
<path
|
|
13
|
+
fillRule="evenodd"
|
|
14
|
+
clipRule="evenodd"
|
|
15
|
+
d="M12.4551 22.6998C18.3645 22.6998 23.1551 17.9092 23.1551 11.9998C23.1551 6.09031 18.3645 1.29976 12.4551 1.29976C6.54563 1.29976 1.75508 6.09031 1.75508 11.9998C1.75508 17.9092 6.54563 22.6998 12.4551 22.6998ZM12.4551 23.9998C19.0825 23.9998 24.4551 18.6272 24.4551 11.9998C24.4551 5.37234 19.0825 -0.000244141 12.4551 -0.000244141C5.82766 -0.000244141 0.455078 5.37234 0.455078 11.9998C0.455078 18.6272 5.82766 23.9998 12.4551 23.9998Z"
|
|
16
|
+
fill="currentColor"
|
|
17
|
+
/>
|
|
18
|
+
<path
|
|
19
|
+
fillRule="evenodd"
|
|
20
|
+
clipRule="evenodd"
|
|
21
|
+
d="M12.1564 6.64951C12.1564 6.29053 11.8654 5.99951 11.5064 5.99951C11.1475 5.99951 10.8564 6.29053 10.8564 6.64951V13.5539C10.8564 13.7039 10.9073 13.8421 10.9927 13.9522C11.0305 14.019 11.0778 14.0798 11.1342 14.1315L15.3897 18.0282C15.6545 18.2706 16.0194 18.2179 16.2049 17.9106C16.3903 17.6032 16.326 17.1574 16.0612 16.915L12.1564 13.3395V6.64951Z"
|
|
22
|
+
fill="currentColor"
|
|
23
|
+
/>
|
|
24
|
+
<path
|
|
25
|
+
fillRule="evenodd"
|
|
26
|
+
clipRule="evenodd"
|
|
27
|
+
d="M12.1564 13.3395L16.0612 16.915C16.077 16.9294 16.092 16.9446 16.1063 16.9603C16.1506 17.0092 16.188 17.0642 16.2182 17.1233C16.3425 17.3663 16.3451 17.678 16.2049 17.9106C16.0194 18.2179 15.6545 18.2706 15.3897 18.0282L11.1342 14.1315C11.0778 14.0798 11.0305 14.019 10.9927 13.9522C10.9073 13.8421 10.8564 13.7039 10.8564 13.5539V6.64951C10.8564 6.29053 11.1475 5.99951 11.5064 5.99951C11.8654 5.99951 12.1564 6.29053 12.1564 6.64951V13.3395Z"
|
|
28
|
+
fill="currentColor"
|
|
29
|
+
/>
|
|
30
|
+
</svg>
|
|
31
|
+
);
|
|
32
|
+
}
|
|
33
|
+
export default SvgTime;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { SvgIconPropsWithChildren } from '../components/SvgIcon';
|
|
2
|
+
|
|
3
|
+
import React, { createElement } from 'react';
|
|
4
|
+
|
|
5
|
+
import { SvgIcon } from '../components/SvgIcon';
|
|
6
|
+
|
|
7
|
+
function SvgTransaction(props: SvgIconPropsWithChildren) {
|
|
8
|
+
return createElement(
|
|
9
|
+
SvgIcon,
|
|
10
|
+
props,
|
|
11
|
+
<svg viewBox="0 0 25 24" xmlns="http://www.w3.org/2000/svg">
|
|
12
|
+
<path
|
|
13
|
+
fillRule="evenodd"
|
|
14
|
+
clipRule="evenodd"
|
|
15
|
+
d="M1.72071 5.68769C1.71769 2.54635 4.26488 -0.00214142 7.40636 1.35055e-06C10.77 0.00229565 14.1336 0.0022956 17.4972 1.35055e-06C20.6387 -0.00214148 23.1856 2.5459 23.1849 5.68684C23.1845 7.86988 23.1856 9.9259 23.1869 12.0692C23.188 14.0266 23.1892 16.0568 23.1892 18.323C23.1892 18.4865 23.1242 18.6433 23.0086 18.7589L17.9483 23.8194C17.8327 23.935 17.6758 24 17.5123 24C15.9522 24 14.295 23.9993 12.6072 23.9986C10.8818 23.9979 9.1243 23.9971 7.40581 23.9971C4.26467 23.9971 1.71769 21.4485 1.72071 18.3071C1.7249 13.9398 1.7249 10.055 1.72071 5.68769ZM7.40552 1.2332C4.94605 1.23152 2.95155 3.22689 2.95391 5.68651C2.9581 10.0546 2.9581 13.9402 2.95391 18.3083C2.95155 20.7679 4.94602 22.7639 7.40583 22.7639C9.13703 22.7639 10.8892 22.7647 12.6094 22.7654C14.0722 22.766 15.5119 22.7666 16.8957 22.7668V19.5881C16.8957 18.5488 17.7382 17.7064 18.7774 17.7064H21.956C21.9558 15.6878 21.9547 13.8496 21.9537 12.0711C21.9524 9.92644 21.9513 7.8687 21.9517 5.68659C21.9522 3.22658 19.9575 1.23152 17.498 1.2332C14.1339 1.2355 10.7697 1.2355 7.40552 1.2332ZM21.084 18.9396H18.7774C18.4192 18.9396 18.1289 19.2299 18.1289 19.5881V21.8948L21.084 18.9396ZM6.7748 5.67184C6.7748 5.3313 7.05087 5.05524 7.3914 5.05524H17.5122C17.8527 5.05524 18.1288 5.3313 18.1288 5.67184C18.1288 6.01238 17.8527 6.28844 17.5122 6.28844H7.3914C7.05087 6.28844 6.7748 6.01238 6.7748 5.67184ZM6.7748 9.46718C6.7748 9.12664 7.05087 8.85058 7.3914 8.85058H17.5122C17.8527 8.85058 18.1288 9.12664 18.1288 9.46718C18.1288 9.80772 17.8527 10.0838 17.5122 10.0838H7.3914C7.05087 10.0838 6.7748 9.80772 6.7748 9.46718ZM6.7748 13.2625C6.7748 12.922 7.05087 12.6459 7.3914 12.6459H12.4518C12.7924 12.6459 13.0684 12.922 13.0684 13.2625C13.0684 13.603 12.7924 13.8791 12.4518 13.8791H7.3914C7.05087 13.8791 6.7748 13.603 6.7748 13.2625Z"
|
|
16
|
+
fill="currentColor"
|
|
17
|
+
/>
|
|
18
|
+
</svg>
|
|
19
|
+
);
|
|
20
|
+
}
|
|
21
|
+
export default SvgTransaction;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import type { SvgIconPropsWithChildren } from '../components/SvgIcon';
|
|
2
|
+
|
|
3
|
+
import React, { createElement } from 'react';
|
|
4
|
+
|
|
5
|
+
import { SvgIcon } from '../components/SvgIcon';
|
|
6
|
+
|
|
7
|
+
function SvgWallet(props: SvgIconPropsWithChildren) {
|
|
8
|
+
return createElement(
|
|
9
|
+
SvgIcon,
|
|
10
|
+
props,
|
|
11
|
+
<svg viewBox="0 0 25 24" xmlns="http://www.w3.org/2000/svg">
|
|
12
|
+
<g clipPath="url(#clip0_3736_40081)">
|
|
13
|
+
<path
|
|
14
|
+
fillRule="evenodd"
|
|
15
|
+
clipRule="evenodd"
|
|
16
|
+
d="M12.8584 0.862959L15.3058 1.41525C16.9489 1.78602 18.2271 2.07447 19.2188 2.40426C20.2261 2.73925 21.004 3.13692 21.6096 3.76475C21.7414 3.9014 21.8498 4.01602 21.9385 4.11203C21.9394 4.11303 21.9403 4.11403 21.9413 4.11504C22.5067 4.5409 22.9972 5.05945 23.3914 5.64946C23.95 6.48545 24.2066 7.45716 24.3315 8.68458C24.4546 9.89445 24.4546 11.419 24.4546 13.3875V13.4584C24.4546 15.4268 24.4546 16.9514 24.3315 18.1613C24.2066 19.3887 23.95 20.3604 23.3914 21.1964C22.9312 21.8852 22.3398 22.4766 21.651 22.9369C20.815 23.4954 19.8433 23.7521 18.6159 23.8769C17.406 24 15.8814 24 13.9129 24H10.9962C9.02776 24 7.50318 24 6.29331 23.8769C5.06589 23.7521 4.09417 23.4954 3.25818 22.9369C2.56938 22.4766 1.97797 21.8852 1.51773 21.1964C0.959139 20.3604 0.702521 19.3887 0.577659 18.1613C0.504912 17.4462 0.475165 16.6211 0.463001 15.6594C0.457469 15.6262 0.45459 15.5921 0.45459 15.5573V13.5198C0.45459 13.4993 0.45459 13.4789 0.45459 13.4584V13.3875C0.45459 13.367 0.45459 13.3465 0.45459 13.3261V11.2885C0.45459 11.2538 0.457469 11.2197 0.463001 11.1865C0.475164 10.2248 0.504912 9.3997 0.577659 8.68458C0.702521 7.45716 0.959139 6.48545 1.51773 5.64946C1.85461 5.14527 2.26177 4.69328 2.72596 4.3067C3.11565 3.02447 3.55365 2.07925 4.32097 1.37775C4.84839 0.895558 5.46731 0.520025 6.14202 0.271815C6.96557 -0.0311507 7.84132 -0.0555731 8.89761 0.0751007C9.93706 0.203692 11.2152 0.492136 12.8584 0.862959ZM4.39684 3.35079C4.95892 3.15746 5.58334 3.04115 6.29331 2.96893C7.50318 2.84585 9.02777 2.84586 10.9962 2.84586H13.9129C14.7013 2.84586 15.4185 2.84586 16.0727 2.85376C15.7378 2.77698 15.3811 2.69646 15.0007 2.61061L12.6204 2.07346C10.9367 1.6935 9.7179 1.41918 8.7462 1.29897C7.7843 1.17997 7.13094 1.22202 6.56779 1.42918C6.04187 1.62266 5.56127 1.91472 5.15307 2.28791C4.85984 2.55599 4.61826 2.89086 4.39684 3.35079ZM1.68779 13.4229C1.68779 12.8782 1.68785 12.3738 1.69023 11.9051H4.6285C5.46675 11.9051 6.14629 12.5847 6.14629 13.4229C6.14629 14.2612 5.46675 14.9407 4.6285 14.9407H1.69023C1.68785 14.4721 1.68779 13.9676 1.68779 13.4229ZM1.70507 16.1739H4.6285C6.14783 16.1739 7.37949 14.9423 7.37949 13.4229C7.37949 11.9036 6.14783 10.6719 4.6285 10.6719H1.70507C1.72046 9.96264 1.74955 9.34986 1.80453 8.80939C1.91947 7.67947 2.14247 6.93418 2.5431 6.33459C2.91337 5.78044 3.38916 5.30464 3.94331 4.93437C4.5429 4.53374 5.2882 4.31074 6.41812 4.1958C7.55834 4.07981 9.02038 4.07906 11.0317 4.07906H13.8775C15.8888 4.07906 17.3508 4.07981 18.491 4.1958C19.621 4.31074 20.3663 4.53374 20.9658 4.93437C21.52 5.30464 21.9958 5.78044 22.3661 6.33459C22.7667 6.93418 22.9897 7.67947 23.1046 8.80939C23.2206 9.94961 23.2214 11.4117 23.2214 13.4229C23.2214 15.4342 23.2206 16.8963 23.1046 18.0365C22.9897 19.1664 22.7667 19.9117 22.3661 20.5113C21.9958 21.0654 21.52 21.5412 20.9658 21.9115C20.3663 22.3121 19.621 22.5351 18.491 22.6501C17.3508 22.7661 15.8888 22.7668 13.8775 22.7668H11.0317C9.02038 22.7668 7.55834 22.7661 6.41812 22.6501C5.2882 22.5351 4.5429 22.3121 3.94331 21.9115C3.38916 21.5412 2.91337 21.0654 2.5431 20.5113C2.14247 19.9117 1.91947 19.1664 1.80453 18.0365C1.74955 17.496 1.72046 16.8832 1.70507 16.1739ZM17.5297 19.1146C17.5297 18.7741 17.8058 18.498 18.1463 18.498H19.5693C19.9098 18.498 20.1859 18.7741 20.1859 19.1146C20.1859 19.4552 19.9098 19.7312 19.5693 19.7312H18.1463C17.8058 19.7312 17.5297 19.4552 17.5297 19.1146Z"
|
|
17
|
+
fill="currentColor"
|
|
18
|
+
/>
|
|
19
|
+
</g>
|
|
20
|
+
<defs>
|
|
21
|
+
<clipPath id="clip0_3736_40081">
|
|
22
|
+
<rect
|
|
23
|
+
width={24}
|
|
24
|
+
height={24}
|
|
25
|
+
fill="white"
|
|
26
|
+
transform="translate(0.45459)"
|
|
27
|
+
/>
|
|
28
|
+
</clipPath>
|
|
29
|
+
</defs>
|
|
30
|
+
</svg>
|
|
31
|
+
);
|
|
32
|
+
}
|
|
33
|
+
export default SvgWallet;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { SvgIconPropsWithChildren } from '../components/SvgIcon';
|
|
2
|
+
|
|
3
|
+
import React, { createElement } from 'react';
|
|
4
|
+
|
|
5
|
+
import { SvgIcon } from '../components/SvgIcon';
|
|
6
|
+
|
|
7
|
+
function SvgWarning(props: SvgIconPropsWithChildren) {
|
|
8
|
+
return createElement(
|
|
9
|
+
SvgIcon,
|
|
10
|
+
props,
|
|
11
|
+
<svg viewBox="0 0 25 24" xmlns="http://www.w3.org/2000/svg">
|
|
12
|
+
<path
|
|
13
|
+
d="M22.7245 22.4863H1.73091C1.38524 22.4863 1.05369 22.3491 0.809081 22.1049C0.56447 21.8606 0.426788 21.5293 0.42627 21.1836C0.426608 20.9568 0.485203 20.7339 0.59644 20.5362L11.0923 2.15775C11.1771 2.00885 11.2905 1.87815 11.4259 1.77315C11.5614 1.66815 11.7162 1.5909 11.8816 1.54584C12.0469 1.50078 12.2195 1.48878 12.3895 1.51055C12.5595 1.53231 12.7235 1.5874 12.8722 1.67267C13.075 1.78726 13.2427 1.95497 13.3573 2.15775L23.8531 20.544C23.9681 20.7424 24.0287 20.9677 24.0288 21.197C24.0288 21.4263 23.9683 21.6516 23.8534 21.85C23.7385 22.0485 23.5733 22.2131 23.3743 22.3272C23.1754 22.4414 22.9499 22.501 22.7206 22.5L22.7245 22.4863ZM11.0394 17.7724V20.1196H13.4121V17.7724H11.0394ZM10.9201 8.14893L11.5754 16.5166H12.8644L13.5314 8.16067L10.9201 8.14893Z"
|
|
14
|
+
fill="currentColor"
|
|
15
|
+
/>
|
|
16
|
+
</svg>
|
|
17
|
+
);
|
|
18
|
+
}
|
|
19
|
+
export default SvgWarning;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
export { default as AutoThemeIcon } from './AutoTheme';
|
|
2
|
+
export { default as BorderRadiusIcon } from './BorderRadius';
|
|
3
|
+
export { default as ChevronDownIcon } from './ChevronDown';
|
|
4
|
+
export { default as ChevronLeftIcon } from './ChevronLeft';
|
|
5
|
+
export { default as ChevronRightIcon } from './ChevronRight';
|
|
6
|
+
export { default as ChevronUpIcon } from './ChevronUp';
|
|
7
|
+
export { default as CloseIcon } from './Close';
|
|
8
|
+
export { default as CompleteIcon } from './Complete';
|
|
9
|
+
export { default as CopyIcon } from './Copy';
|
|
10
|
+
export { default as DarkModeIcon } from './DarkMode';
|
|
11
|
+
export { default as DeleteIcon } from './Delete';
|
|
12
|
+
export { default as DoneIcon } from './Done';
|
|
13
|
+
export { default as ErrorIcon } from './Error';
|
|
14
|
+
export { default as ExternalLinkIcon } from './ExternalLink';
|
|
15
|
+
export { default as FontIcon } from './Font';
|
|
16
|
+
export { default as GasIcon } from './Gas';
|
|
17
|
+
export { default as InProgressIcon } from './InProgress';
|
|
18
|
+
export { default as InfoErrorIcon } from './InfoError';
|
|
19
|
+
export { default as InfoIcon } from './Info';
|
|
20
|
+
export { default as LightModeIcon } from './LightMode';
|
|
21
|
+
export { default as LinkIcon } from './Link';
|
|
22
|
+
export { default as LoadingIcon } from './Loading';
|
|
23
|
+
export { default as NoRouteIcon } from './NoRoute';
|
|
24
|
+
export { default as NextIcon } from './Next';
|
|
25
|
+
export { default as NoNotificationIcon } from './NoNotification';
|
|
26
|
+
export { default as NotificationNumberIcon } from './NotificationNumber';
|
|
27
|
+
export { default as NotificationsIcon } from './Notifications';
|
|
28
|
+
export { default as NumberIcon } from './Number';
|
|
29
|
+
export { default as PinIcon } from './Pin';
|
|
30
|
+
export { default as RefreshIcon } from './Refresh';
|
|
31
|
+
export { default as ReverseIcon } from './Reverse';
|
|
32
|
+
export { default as RouteIcon } from './Route';
|
|
33
|
+
export { default as SearchIcon } from './Search';
|
|
34
|
+
export { default as TimeIcon } from './Time';
|
|
35
|
+
export { default as TransactionIcon } from './Transaction';
|
|
36
|
+
export { default as WalletIcon } from './Wallet';
|
|
37
|
+
export { default as WarningIcon } from './Warning';
|
|
38
|
+
export { default as SettingsIcon } from './Settings';
|
|
39
|
+
export { default as StyleIcon } from './Style';
|
package/src/index.ts
CHANGED
package/src/theme.ts
CHANGED
|
@@ -1,88 +1,143 @@
|
|
|
1
1
|
// TSDX + stiches doesn't work with import statement and has a bug.
|
|
2
2
|
|
|
3
|
-
import { PropertyValue
|
|
4
|
-
import { DefaultThemeMap } from '@stitches/react/types/config';
|
|
3
|
+
import type { PropertyValue } from '@stitches/react';
|
|
4
|
+
import type { DefaultThemeMap } from '@stitches/react/types/config';
|
|
5
|
+
|
|
5
6
|
import { createStitches } from '@stitches/react';
|
|
6
7
|
|
|
7
8
|
/* ----------------------- Values ----------------------- */
|
|
8
9
|
|
|
9
|
-
const theme = {
|
|
10
|
+
export const theme = {
|
|
10
11
|
colors: {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
12
|
+
primary500: '#1C3CF1',
|
|
13
|
+
primary600: '#0B27C5',
|
|
14
|
+
|
|
15
|
+
secondary100: '#E9F4FF',
|
|
16
|
+
secondary200: '#D6EAFF',
|
|
17
|
+
secondary300: '#C8E3FF',
|
|
18
|
+
secondary400: '#B5D9FF',
|
|
19
|
+
secondary500: '#469BF5',
|
|
20
|
+
secondary600: '#2284ED',
|
|
21
|
+
secondary700: '#242D5B',
|
|
22
|
+
secondary800: '#131C49',
|
|
23
|
+
secondary900: '#0E1744',
|
|
24
|
+
|
|
25
|
+
neutral100: '#F9F9F9',
|
|
26
|
+
neutral200: '#F6F6F6',
|
|
27
|
+
neutral300: '#F2F2F2',
|
|
28
|
+
neutral400: '#EEEEEE',
|
|
29
|
+
neutral500: '#E6E6E6',
|
|
30
|
+
neutral600: '#1B1B1B',
|
|
31
|
+
neutral700: '#121212',
|
|
32
|
+
neutral800: '#A2A2A2',
|
|
33
|
+
neutral900: '#727272',
|
|
34
|
+
|
|
35
|
+
error100: '#FDF3F3',
|
|
36
|
+
error300: '#FFD7D7',
|
|
37
|
+
error500: '#FF3B3B',
|
|
38
|
+
error600: '#432F2F',
|
|
39
|
+
error700: '#191212',
|
|
40
|
+
|
|
41
|
+
warning100: '#FFF1D4',
|
|
42
|
+
warning300: '#FFD8B4',
|
|
43
|
+
warning500: '#F17606',
|
|
44
|
+
warning600: '#38271F',
|
|
45
|
+
warning700: '#1A1412',
|
|
46
|
+
|
|
47
|
+
info100: '#E9F3FF',
|
|
48
|
+
info300: '#C8E2FF',
|
|
49
|
+
info500: '#5BABFF',
|
|
50
|
+
info600: '#2E2E41',
|
|
51
|
+
info700: '#121521',
|
|
52
|
+
|
|
53
|
+
success100: '#CEFAE6',
|
|
54
|
+
success300: '#BDECD7',
|
|
55
|
+
success500: '#06C270',
|
|
56
|
+
success600: '#1F2825',
|
|
57
|
+
success700: '#0F1412',
|
|
58
|
+
|
|
59
|
+
background: '#FDFDFD',
|
|
60
|
+
foreground: '#010101',
|
|
50
61
|
},
|
|
51
62
|
space: {
|
|
63
|
+
0: '0rem',
|
|
64
|
+
5: '0.313rem',
|
|
65
|
+
10: '0.625rem',
|
|
66
|
+
15: '0.938rem',
|
|
67
|
+
20: '1.25rem',
|
|
68
|
+
25: '1.563rem',
|
|
69
|
+
30: '1.875rem',
|
|
70
|
+
40: '2.5rem',
|
|
71
|
+
46: '2.875rem',
|
|
72
|
+
50: '3.125rem',
|
|
73
|
+
60: '3.75rem',
|
|
74
|
+
70: '4.375rem',
|
|
75
|
+
80: '5rem',
|
|
76
|
+
90: '5.625rem',
|
|
77
|
+
100: '6.25rem',
|
|
78
|
+
|
|
79
|
+
//These should be removed
|
|
52
80
|
2: '2px',
|
|
53
81
|
4: '4px',
|
|
54
82
|
6: '6px',
|
|
55
83
|
8: '8px',
|
|
56
|
-
10: '10px',
|
|
57
84
|
12: '12px',
|
|
58
85
|
16: '16px',
|
|
59
|
-
20: '20px',
|
|
60
86
|
24: '24px',
|
|
61
87
|
28: '28px',
|
|
62
|
-
30: '30px',
|
|
63
88
|
32: '32px',
|
|
64
89
|
},
|
|
90
|
+
|
|
91
|
+
radii: {
|
|
92
|
+
xs: '5px',
|
|
93
|
+
sm: '10px',
|
|
94
|
+
xm: '15px',
|
|
95
|
+
md: '25px',
|
|
96
|
+
xl: '35px',
|
|
97
|
+
lg: '40px',
|
|
98
|
+
primary: '20px',
|
|
99
|
+
secondary: `$md`,
|
|
100
|
+
},
|
|
101
|
+
|
|
65
102
|
fontSizes: {
|
|
66
|
-
10: '
|
|
67
|
-
12: '
|
|
68
|
-
14: '
|
|
69
|
-
16: '
|
|
70
|
-
18: '
|
|
71
|
-
20: '
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
103
|
+
10: '0.625rem',
|
|
104
|
+
12: '0.75rem',
|
|
105
|
+
14: '0.875rem',
|
|
106
|
+
16: '1rem',
|
|
107
|
+
18: '1.125rem',
|
|
108
|
+
20: '1.25rem',
|
|
109
|
+
22: '1.375rem',
|
|
110
|
+
24: '1.5rem',
|
|
111
|
+
28: '1.75rem',
|
|
112
|
+
32: '2rem',
|
|
113
|
+
36: '2.25rem',
|
|
114
|
+
40: '2.5rem',
|
|
115
|
+
48: '3rem',
|
|
116
|
+
},
|
|
117
|
+
fonts: {
|
|
118
|
+
primary: 'Roboto',
|
|
119
|
+
widget: '$primary',
|
|
77
120
|
},
|
|
78
|
-
fonts: {},
|
|
79
121
|
fontWeights: {
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
122
|
+
regular: 400,
|
|
123
|
+
medium: 500,
|
|
124
|
+
semiBold: 600,
|
|
125
|
+
bold: 700,
|
|
126
|
+
},
|
|
127
|
+
lineHeights: {
|
|
128
|
+
12: '0.75rem',
|
|
129
|
+
16: '1rem',
|
|
130
|
+
20: '1.25rem',
|
|
131
|
+
24: '1.5rem',
|
|
132
|
+
26: '1.625rem',
|
|
133
|
+
28: '1.75rem',
|
|
134
|
+
30: '1.875rem',
|
|
135
|
+
36: '2.25rem',
|
|
136
|
+
40: '2.5rem',
|
|
137
|
+
44: '2.75rem',
|
|
138
|
+
52: '3.25rem',
|
|
139
|
+
64: '4rem',
|
|
84
140
|
},
|
|
85
|
-
lineHeights: {},
|
|
86
141
|
letterSpacings: {},
|
|
87
142
|
sizes: {
|
|
88
143
|
4: '4px',
|
|
@@ -90,20 +145,18 @@ const theme = {
|
|
|
90
145
|
8: '8px',
|
|
91
146
|
12: '12px',
|
|
92
147
|
16: '16px',
|
|
148
|
+
18: '18px',
|
|
93
149
|
20: '20px',
|
|
94
150
|
24: '24px',
|
|
95
151
|
28: '28px',
|
|
96
152
|
32: '32px',
|
|
97
153
|
36: '36px',
|
|
98
154
|
40: '40px',
|
|
155
|
+
45: '45px',
|
|
99
156
|
48: '48px',
|
|
100
157
|
},
|
|
101
158
|
borderWidths: {},
|
|
102
159
|
borderStyles: {},
|
|
103
|
-
radii: {
|
|
104
|
-
5: '8px',
|
|
105
|
-
10: '12px',
|
|
106
|
-
},
|
|
107
160
|
shadows: {
|
|
108
161
|
s: '0px 3px 5px 3px #f0f2f5, 0px 6px 10px 3px #f0f2f5, 0px 1px 18px 3px #f0f2f5',
|
|
109
162
|
},
|
|
@@ -123,37 +176,39 @@ const utils = {
|
|
|
123
176
|
|
|
124
177
|
/* ----------------------- End of Values ----------------------- */
|
|
125
178
|
|
|
126
|
-
const typedCreateStiches = createStitches
|
|
127
|
-
|
|
128
|
-
export const { styled, css, createTheme, keyframes, globalCss, config } =
|
|
129
|
-
'',
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
{}
|
|
135
|
-
>({
|
|
136
|
-
media,
|
|
137
|
-
theme,
|
|
138
|
-
utils,
|
|
139
|
-
});
|
|
179
|
+
const typedCreateStiches = createStitches;
|
|
180
|
+
|
|
181
|
+
export const { styled, css, createTheme, keyframes, globalCss, config } =
|
|
182
|
+
typedCreateStiches<'', typeof media, typeof theme, DefaultThemeMap>({
|
|
183
|
+
media,
|
|
184
|
+
theme,
|
|
185
|
+
utils,
|
|
186
|
+
});
|
|
140
187
|
|
|
141
188
|
export const lightTheme = createTheme({});
|
|
142
189
|
|
|
143
190
|
export const darkTheme = createTheme({
|
|
144
191
|
colors: {
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
192
|
+
secondary400: '#469BF5',
|
|
193
|
+
secondary500: '#2284ED',
|
|
194
|
+
secondary600: '#2B3462',
|
|
195
|
+
|
|
196
|
+
neutral900: '#E9E9E9',
|
|
197
|
+
neutral800: '#B8B8B8',
|
|
198
|
+
neutral700: '#F2F2F2',
|
|
199
|
+
neutral600: '#EEEEEE',
|
|
200
|
+
neutral500: '#222222',
|
|
201
|
+
neutral400: '#1B1B1B',
|
|
202
|
+
neutral300: '#121212',
|
|
203
|
+
neutral200: '#111111',
|
|
204
|
+
neutral100: '#101010',
|
|
205
|
+
|
|
206
|
+
error500: '#FF5050',
|
|
207
|
+
|
|
208
|
+
warning500: '#FF8A20',
|
|
209
|
+
|
|
210
|
+
background: '#010101',
|
|
211
|
+
foreground: '#FDFDFD',
|
|
157
212
|
},
|
|
158
213
|
shadows: {
|
|
159
214
|
s: '0px 3px 5px 3px #222, 0px 6px 10px 3px #222, 0px 1px 18px 3px #222',
|
package/src/types/index.ts
CHANGED
package/src/types/meta.ts
CHANGED
package/src/types/swaps.ts
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type {
|
|
2
2
|
BestRouteResponse,
|
|
3
3
|
BlockchainValidationStatus,
|
|
4
4
|
SimulationResult,
|
|
5
5
|
SwapResult,
|
|
6
6
|
WalletRequiredAssets,
|
|
7
7
|
} from 'rango-sdk';
|
|
8
|
+
|
|
8
9
|
export type SwapStatus = 'running' | 'failed' | 'success';
|
|
9
10
|
export type MessageSeverity = 'error' | 'warning' | 'info' | 'success';
|
|
10
11
|
|
package/src/types/wallet.ts
CHANGED
|
@@ -1,33 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
export enum WalletState {
|
|
4
|
-
NOT_INSTALLED = 'not installed',
|
|
5
|
-
DISCONNECTED = 'disconnected',
|
|
6
|
-
CONNECTING = 'connecting',
|
|
7
|
-
CONNECTED = 'connected',
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
export type WalletInfo = {
|
|
11
|
-
state:
|
|
12
|
-
| WalletState.CONNECTED
|
|
13
|
-
| WalletState.DISCONNECTED
|
|
14
|
-
| WalletState.CONNECTING
|
|
15
|
-
| WalletState.NOT_INSTALLED;
|
|
16
|
-
installLink: InstallObjects | string;
|
|
17
|
-
name: string;
|
|
18
|
-
image: string;
|
|
19
|
-
type: WalletType;
|
|
20
|
-
showOnMobile: boolean;
|
|
21
|
-
};
|
|
22
|
-
|
|
23
|
-
export interface SelectableWallet {
|
|
24
|
-
chain: string;
|
|
25
|
-
walletType: WalletType;
|
|
26
|
-
address: string;
|
|
27
|
-
image: string;
|
|
28
|
-
selected: boolean;
|
|
29
|
-
name: string;
|
|
30
|
-
}
|
|
1
|
+
import type { WalletType } from '@rango-dev/wallets-shared';
|
|
31
2
|
|
|
32
3
|
interface Wallet {
|
|
33
4
|
chain: string;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
interface PropTypes {
|
|
3
|
-
onClickRefresh?: () => void;
|
|
4
|
-
onClickHistory?: () => void;
|
|
5
|
-
onClickSettings?: () => void;
|
|
6
|
-
}
|
|
7
|
-
export declare function HeaderButtons(props: PropTypes): React.JSX.Element;
|
|
8
|
-
export {};
|
|
9
|
-
//# sourceMappingURL=HeaderButtons.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"HeaderButtons.d.ts","sourceRoot":"","sources":["../../../../../../src/components/HeaderButtons/HeaderButtons.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAS1B,UAAU,SAAS;IACjB,cAAc,CAAC,EAAE,MAAM,IAAI,CAAC;IAC5B,cAAc,CAAC,EAAE,MAAM,IAAI,CAAC;IAC5B,eAAe,CAAC,EAAE,MAAM,IAAI,CAAC;CAC9B;AAED,wBAAgB,aAAa,CAAC,KAAK,EAAE,SAAS,qBAyB7C"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/HeaderButtons/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC"}
|