@rango-dev/ui 0.15.1-next.2 → 0.15.1-next.3
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 +452 -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 +1347 -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 +301 -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/index.d.ts +2 -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 +297 -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 +453 -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 +299 -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 +595 -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 +151 -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/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 +743 -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 +297 -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 +72 -35
- 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 +146 -72
- 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 +149 -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 +151 -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 +152 -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 +151 -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 +447 -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 +897 -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 +149 -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 +299 -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 +149 -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 +299 -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 +597 -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 +149 -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 +73 -36
- 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 +152 -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 +752 -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 +151 -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 +72 -35
- 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 +889 -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 +1335 -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 +299 -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 +452 -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 +3 -6
- 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 +150 -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 +7 -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 +158 -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 +744 -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 +72 -35
- 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 +153 -0
- package/dist/widget/ui/src/components/common/styles.d.ts.map +1 -0
- package/dist/widget/ui/src/components/index.d.ts +20 -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 +726 -352
- 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 +738 -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 +581 -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 +72 -35
- 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/hooks/index.d.ts +1 -0
- package/dist/widget/ui/src/hooks/index.d.ts.map +1 -1
- package/dist/widget/ui/src/hooks/usePaddingRight.d.ts +7 -0
- package/dist/widget/ui/src/hooks/usePaddingRight.d.ts.map +1 -0
- 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/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/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 +38 -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 +795 -318
- 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 +5 -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 +167 -0
- package/src/components/BestRoute/BestRoute.tsx +178 -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/index.ts +2 -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 +474 -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/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 +117 -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 +48 -105
- package/src/components/Tooltip/Tooltip.types.ts +7 -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 +20 -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 +57 -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 +42 -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/hooks/index.ts +1 -0
- package/src/hooks/usePaddingRight.ts +38 -0
- package/src/icons/AutoTheme.tsx +25 -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/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 +37 -0
- package/src/index.ts +1 -0
- package/src/theme.ts +141 -91
- package/src/types/index.ts +1 -2
- package/src/types/meta.ts +1 -1
- package/src/types/swaps.ts +2 -1
- package/src/types/wallet.ts +1 -30
- package/dist/widget/ui/src/components/HeaderButtons/HeaderButtons.d.ts +0 -9
- package/dist/widget/ui/src/components/HeaderButtons/HeaderButtons.d.ts.map +0 -1
- package/dist/widget/ui/src/components/HeaderButtons/index.d.ts +0 -2
- package/dist/widget/ui/src/components/HeaderButtons/index.d.ts.map +0 -1
- package/dist/widget/ui/src/components/HeaderLayout/HeaderLayout.d.ts +0 -14
- package/dist/widget/ui/src/components/HeaderLayout/HeaderLayout.d.ts.map +0 -1
- package/dist/widget/ui/src/components/HeaderLayout/index.d.ts +0 -2
- package/dist/widget/ui/src/components/HeaderLayout/index.d.ts.map +0 -1
- package/dist/widget/ui/src/components/StatusDrawer/StatusDrawer.d.ts +0 -12
- package/dist/widget/ui/src/components/StatusDrawer/StatusDrawer.d.ts.map +0 -1
- package/dist/widget/ui/src/components/StatusDrawer/StatusDrawer.stories.d.ts.map +0 -1
- package/dist/widget/ui/src/components/StatusDrawer/index.d.ts +0 -2
- package/dist/widget/ui/src/components/StatusDrawer/index.d.ts.map +0 -1
- package/dist/widget/ui/src/components/SwapDetail/SwapDetail.d.ts +0 -9
- package/dist/widget/ui/src/components/SwapDetail/SwapDetail.d.ts.map +0 -1
- package/dist/widget/ui/src/components/SwapDetail/SwapDetail.stories.d.ts +0 -8
- package/dist/widget/ui/src/components/SwapDetail/SwapDetail.stories.d.ts.map +0 -1
- package/dist/widget/ui/src/components/SwapDetail/Token.d.ts +0 -18
- package/dist/widget/ui/src/components/SwapDetail/Token.d.ts.map +0 -1
- package/dist/widget/ui/src/components/SwapDetail/index.d.ts +0 -2
- package/dist/widget/ui/src/components/SwapDetail/index.d.ts.map +0 -1
- package/dist/widget/ui/src/components/SwapDetail/mock.d.ts +0 -3
- package/dist/widget/ui/src/components/SwapDetail/mock.d.ts.map +0 -1
- package/dist/widget/ui/src/components/Wallet/State.d.ts +0 -8
- package/dist/widget/ui/src/components/Wallet/State.d.ts.map +0 -1
- package/dist/widget/ui/src/components/Wallet/Wallet.stories.d.ts +0 -8
- package/dist/widget/ui/src/components/Wallet/Wallet.stories.d.ts.map +0 -1
- package/dist/widget/ui/src/containers/ConfirmSwap/ConfirmSwap.d.ts +0 -30
- package/dist/widget/ui/src/containers/ConfirmSwap/ConfirmSwap.d.ts.map +0 -1
- package/dist/widget/ui/src/containers/ConfirmSwap/ConfirmSwap.stories.d.ts +0 -9
- package/dist/widget/ui/src/containers/ConfirmSwap/ConfirmSwap.stories.d.ts.map +0 -1
- package/dist/widget/ui/src/containers/ConfirmSwap/index.d.ts +0 -2
- package/dist/widget/ui/src/containers/ConfirmSwap/index.d.ts.map +0 -1
- package/dist/widget/ui/src/containers/ConfirmSwap/mock.d.ts +0 -6
- package/dist/widget/ui/src/containers/ConfirmSwap/mock.d.ts.map +0 -1
- package/dist/widget/ui/src/containers/History/History.d.ts +0 -7
- package/dist/widget/ui/src/containers/History/History.d.ts.map +0 -1
- package/dist/widget/ui/src/containers/History/History.stories.d.ts.map +0 -1
- package/dist/widget/ui/src/containers/History/SwapsGroup.d.ts +0 -14
- package/dist/widget/ui/src/containers/History/SwapsGroup.d.ts.map +0 -1
- package/dist/widget/ui/src/containers/History/index.d.ts +0 -4
- package/dist/widget/ui/src/containers/History/index.d.ts.map +0 -1
- package/dist/widget/ui/src/containers/History/mock.d.ts +0 -3
- package/dist/widget/ui/src/containers/History/mock.d.ts.map +0 -1
- package/dist/widget/ui/src/containers/LiquiditySourcesSelector/LiquiditySourcesSelector.d.ts +0 -14
- package/dist/widget/ui/src/containers/LiquiditySourcesSelector/LiquiditySourcesSelector.d.ts.map +0 -1
- package/dist/widget/ui/src/containers/LiquiditySourcesSelector/LiquiditySourcesSelector.stories.d.ts +0 -6
- package/dist/widget/ui/src/containers/LiquiditySourcesSelector/LiquiditySourcesSelector.stories.d.ts.map +0 -1
- package/dist/widget/ui/src/containers/LiquiditySourcesSelector/index.d.ts +0 -2
- package/dist/widget/ui/src/containers/LiquiditySourcesSelector/index.d.ts.map +0 -1
- package/dist/widget/ui/src/containers/Settings/Settings.d.ts +0 -25
- package/dist/widget/ui/src/containers/Settings/Settings.d.ts.map +0 -1
- package/dist/widget/ui/src/containers/Settings/Settings.stories.d.ts.map +0 -1
- package/dist/widget/ui/src/containers/Settings/index.d.ts +0 -2
- package/dist/widget/ui/src/containers/Settings/index.d.ts.map +0 -1
- package/src/components/HeaderButtons/HeaderButtons.tsx +0 -41
- package/src/components/HeaderButtons/index.ts +0 -1
- package/src/components/HeaderLayout/HeaderLayout.tsx +0 -88
- package/src/components/HeaderLayout/index.ts +0 -1
- package/src/components/StatusDrawer/StatusDrawer.stories.tsx +0 -43
- package/src/components/StatusDrawer/StatusDrawer.tsx +0 -82
- package/src/components/StatusDrawer/index.ts +0 -1
- package/src/components/SwapDetail/SwapDetail.stories.tsx +0 -22
- package/src/components/SwapDetail/SwapDetail.tsx +0 -104
- package/src/components/SwapDetail/Token.tsx +0 -75
- package/src/components/SwapDetail/index.ts +0 -1
- package/src/components/Wallet/State.tsx +0 -34
- package/src/components/Wallet/Wallet.stories.tsx +0 -30
- package/src/containers/ConfirmSwap/ConfirmSwap.stories.tsx +0 -66
- package/src/containers/ConfirmSwap/ConfirmSwap.tsx +0 -247
- package/src/containers/ConfirmSwap/index.ts +0 -1
- package/src/containers/ConfirmSwap/mock.ts +0 -220
- package/src/containers/History/History.stories.tsx +0 -14
- package/src/containers/History/History.tsx +0 -72
- package/src/containers/History/SwapsGroup.tsx +0 -59
- package/src/containers/History/index.ts +0 -3
- package/src/containers/History/mock.ts +0 -826
- package/src/containers/LiquiditySourcesSelector/LiquiditySourcesSelector.stories.tsx +0 -19
- package/src/containers/LiquiditySourcesSelector/LiquiditySourcesSelector.tsx +0 -60
- package/src/containers/LiquiditySourcesSelector/index.ts +0 -1
- package/src/containers/Settings/Settings.stories.tsx +0 -27
- package/src/containers/Settings/Settings.tsx +0 -218
- package/src/containers/Settings/index.ts +0 -1
|
@@ -1,10 +1,13 @@
|
|
|
1
|
+
import type { PropTypes } from './LiquiditySourceList';
|
|
2
|
+
import type { Meta } from '@storybook/react';
|
|
3
|
+
|
|
1
4
|
import React from 'react';
|
|
2
|
-
|
|
3
|
-
import { LiquiditySourceList
|
|
5
|
+
|
|
6
|
+
import { LiquiditySourceList } from './LiquiditySourceList';
|
|
4
7
|
import { liquiditySources } from './mockData';
|
|
5
8
|
|
|
6
9
|
export default {
|
|
7
|
-
title: 'Components/Liquidity Source List',
|
|
10
|
+
title: 'Components/Liquidity Source List(Deprecated)',
|
|
8
11
|
component: LiquiditySourceList,
|
|
9
12
|
args: {
|
|
10
13
|
loadingStatus: 'success',
|
|
@@ -1,16 +1,18 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
1
|
+
import type { LiquiditySource, LoadingStatus } from '../../types/meta';
|
|
2
|
+
import type { CSSProperties } from '@stitches/react';
|
|
3
|
+
|
|
3
4
|
import { i18n } from '@lingui/core';
|
|
5
|
+
import React, { useEffect, useState } from 'react';
|
|
6
|
+
|
|
4
7
|
import { styled } from '../../theme';
|
|
5
|
-
import {
|
|
8
|
+
import { LoadingFailedAlert } from '../Alert/LoadingFailedAlert';
|
|
9
|
+
import { NotFoundAlert } from '../Alert/NotFoundAlert';
|
|
6
10
|
import { Button } from '../Button/Button';
|
|
11
|
+
import { Image } from '../common';
|
|
7
12
|
import { Divider } from '../Divider';
|
|
13
|
+
import { Spinner } from '../Spinner';
|
|
8
14
|
import { Switch } from '../Switch';
|
|
9
15
|
import { Typography } from '../Typography';
|
|
10
|
-
import { Spinner } from '../Spinner';
|
|
11
|
-
import { LoadingFailedAlert } from '../Alert/LoadingFailedAlert';
|
|
12
|
-
import { NotFoundAlert } from '../Alert/NotFoundAlert';
|
|
13
|
-
import { Image } from '../common';
|
|
14
16
|
|
|
15
17
|
const groupLiquiditySources = (
|
|
16
18
|
liquiditySources: LiquiditySource[]
|
|
@@ -75,7 +77,9 @@ export function LiquiditySourceList(props: PropTypes) {
|
|
|
75
77
|
const changeLiquiditySources = (clickedItem: LiquiditySource) => {
|
|
76
78
|
clickedItem.selected = !clickedItem.selected;
|
|
77
79
|
setSelected((prevState) => {
|
|
78
|
-
if (clickedItem.selected)
|
|
80
|
+
if (clickedItem.selected) {
|
|
81
|
+
return [...prevState, clickedItem];
|
|
82
|
+
}
|
|
79
83
|
return prevState.filter((item) => item.title != clickedItem.title);
|
|
80
84
|
});
|
|
81
85
|
onChange(clickedItem);
|
|
@@ -104,8 +108,10 @@ export function LiquiditySourceList(props: PropTypes) {
|
|
|
104
108
|
loaded={loadingStatus === 'success'}>
|
|
105
109
|
<div>
|
|
106
110
|
<LiquiditySourceType>
|
|
107
|
-
<Typography variant="
|
|
108
|
-
|
|
111
|
+
<Typography variant="title" size="xmedium">
|
|
112
|
+
{i18n.t('Bridges')}
|
|
113
|
+
</Typography>
|
|
114
|
+
<Typography variant="body" size="medium" color="neutral800">
|
|
109
115
|
{totalSelectedBridges === totalBridges
|
|
110
116
|
? totalBridges
|
|
111
117
|
: `${totalSelectedBridges} / ${totalBridges}`}
|
|
@@ -121,14 +127,18 @@ export function LiquiditySourceList(props: PropTypes) {
|
|
|
121
127
|
{loadingStatus === 'success' && (
|
|
122
128
|
<>
|
|
123
129
|
{totalBridges ? (
|
|
124
|
-
bridges.map((liquiditySource, index) =>
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
130
|
+
bridges.map((liquiditySource, index) => {
|
|
131
|
+
const key = `item-${index}`;
|
|
132
|
+
|
|
133
|
+
return (
|
|
134
|
+
<LiquiditySourceItem
|
|
135
|
+
liquiditySource={liquiditySource}
|
|
136
|
+
key={key}
|
|
137
|
+
selected={isSelected(liquiditySource)}
|
|
138
|
+
onChange={changeLiquiditySources}
|
|
139
|
+
/>
|
|
140
|
+
);
|
|
141
|
+
})
|
|
132
142
|
) : (
|
|
133
143
|
<NotFoundAlert catergory="Bridge" searchedFor={searchedFor} />
|
|
134
144
|
)}
|
|
@@ -137,8 +147,10 @@ export function LiquiditySourceList(props: PropTypes) {
|
|
|
137
147
|
</div>
|
|
138
148
|
<div>
|
|
139
149
|
<LiquiditySourceType>
|
|
140
|
-
<Typography variant="
|
|
141
|
-
|
|
150
|
+
<Typography variant="title" size="xmedium">
|
|
151
|
+
{i18n.t('Exchanges')}
|
|
152
|
+
</Typography>
|
|
153
|
+
<Typography variant="body" size="medium" color="neutral800">
|
|
142
154
|
{totalSelectedExchanges === totalExchanges
|
|
143
155
|
? totalExchanges
|
|
144
156
|
: `${totalSelectedExchanges} / ${totalExchanges}`}
|
|
@@ -154,14 +166,17 @@ export function LiquiditySourceList(props: PropTypes) {
|
|
|
154
166
|
{loadingStatus == 'success' && (
|
|
155
167
|
<>
|
|
156
168
|
{totalExchanges ? (
|
|
157
|
-
exchanges.map((liquiditySource, index) =>
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
169
|
+
exchanges.map((liquiditySource, index) => {
|
|
170
|
+
const key = `item-${index}`;
|
|
171
|
+
return (
|
|
172
|
+
<LiquiditySourceItem
|
|
173
|
+
liquiditySource={liquiditySource}
|
|
174
|
+
key={key}
|
|
175
|
+
selected={isSelected(liquiditySource)}
|
|
176
|
+
onChange={changeLiquiditySources}
|
|
177
|
+
/>
|
|
178
|
+
);
|
|
179
|
+
})
|
|
165
180
|
) : (
|
|
166
181
|
<NotFoundAlert catergory="Exchange" searchedFor={searchedFor} />
|
|
167
182
|
)}
|
|
@@ -171,7 +186,9 @@ export function LiquiditySourceList(props: PropTypes) {
|
|
|
171
186
|
</MainContainer>
|
|
172
187
|
);
|
|
173
188
|
}
|
|
174
|
-
|
|
189
|
+
/**
|
|
190
|
+
* @deprecated will be removed in v2
|
|
191
|
+
*/
|
|
175
192
|
const LiquiditySourceItem = ({
|
|
176
193
|
liquiditySource,
|
|
177
194
|
selected,
|
|
@@ -183,7 +200,6 @@ const LiquiditySourceItem = ({
|
|
|
183
200
|
}) => (
|
|
184
201
|
<Button
|
|
185
202
|
size="large"
|
|
186
|
-
align="start"
|
|
187
203
|
variant="outlined"
|
|
188
204
|
prefix={
|
|
189
205
|
<LiquidityImageContainer>
|
|
@@ -193,6 +209,8 @@ const LiquiditySourceItem = ({
|
|
|
193
209
|
suffix={<Switch checked={selected} />}
|
|
194
210
|
style={{ marginBottom: '12px' }}
|
|
195
211
|
onClick={onChange.bind(null, liquiditySource)}>
|
|
196
|
-
<Typography variant="
|
|
212
|
+
<Typography variant="body" size="medium">
|
|
213
|
+
{liquiditySource.title}
|
|
214
|
+
</Typography>
|
|
197
215
|
</Button>
|
|
198
216
|
);
|
|
@@ -0,0 +1,181 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
|
|
3
|
+
import React, { useState } from 'react';
|
|
4
|
+
|
|
5
|
+
import {
|
|
6
|
+
ChevronRightIcon,
|
|
7
|
+
DeleteIcon,
|
|
8
|
+
RefreshIcon,
|
|
9
|
+
WalletIcon,
|
|
10
|
+
} from '../../icons';
|
|
11
|
+
import { Button } from '../Button';
|
|
12
|
+
import { Checkbox } from '../Checkbox';
|
|
13
|
+
import { Chip } from '../Chip';
|
|
14
|
+
import { ListItemButton } from '../ListItemButton';
|
|
15
|
+
|
|
16
|
+
import { List } from './List';
|
|
17
|
+
|
|
18
|
+
const DEFAULT_TITLE = 'Your title';
|
|
19
|
+
const DEFAULT_DESCRIPTION = 'Here you can write your description.';
|
|
20
|
+
const DEFAULT_ICON = <WalletIcon />;
|
|
21
|
+
|
|
22
|
+
type Story = StoryObj<typeof List>;
|
|
23
|
+
|
|
24
|
+
export default {
|
|
25
|
+
title: 'Components/List',
|
|
26
|
+
component: List,
|
|
27
|
+
argTypes: {},
|
|
28
|
+
} satisfies Meta<typeof List>;
|
|
29
|
+
|
|
30
|
+
export const Item: Story = {
|
|
31
|
+
args: {},
|
|
32
|
+
render: () => {
|
|
33
|
+
return (
|
|
34
|
+
<List
|
|
35
|
+
items={[
|
|
36
|
+
{
|
|
37
|
+
id: '1',
|
|
38
|
+
title: DEFAULT_TITLE,
|
|
39
|
+
description: DEFAULT_DESCRIPTION,
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
id: '2',
|
|
43
|
+
title: DEFAULT_TITLE,
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
id: '3',
|
|
47
|
+
title: DEFAULT_TITLE,
|
|
48
|
+
description: DEFAULT_DESCRIPTION,
|
|
49
|
+
start: <DeleteIcon />,
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
id: '4',
|
|
53
|
+
title: DEFAULT_TITLE,
|
|
54
|
+
start: <RefreshIcon />,
|
|
55
|
+
end: (
|
|
56
|
+
<Button
|
|
57
|
+
type="primary"
|
|
58
|
+
onClick={() => {
|
|
59
|
+
console.log('Clicked on Hello Button.');
|
|
60
|
+
}}>
|
|
61
|
+
Hello, Button.
|
|
62
|
+
</Button>
|
|
63
|
+
),
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
id: '5',
|
|
67
|
+
title: DEFAULT_TITLE,
|
|
68
|
+
description: DEFAULT_DESCRIPTION,
|
|
69
|
+
start: DEFAULT_ICON,
|
|
70
|
+
end: <ChevronRightIcon />,
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
id: '6',
|
|
74
|
+
title: DEFAULT_TITLE,
|
|
75
|
+
description: DEFAULT_DESCRIPTION,
|
|
76
|
+
start: DEFAULT_ICON,
|
|
77
|
+
end: <Checkbox checked />,
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
id: '7',
|
|
81
|
+
title: (
|
|
82
|
+
<>
|
|
83
|
+
Dai
|
|
84
|
+
<Chip label="Ethereum" />
|
|
85
|
+
</>
|
|
86
|
+
),
|
|
87
|
+
description: DEFAULT_DESCRIPTION,
|
|
88
|
+
start: DEFAULT_ICON,
|
|
89
|
+
end: <Checkbox checked />,
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
id: '8',
|
|
93
|
+
title: DEFAULT_TITLE,
|
|
94
|
+
description: DEFAULT_DESCRIPTION,
|
|
95
|
+
start: DEFAULT_ICON,
|
|
96
|
+
end: 'end can be anything',
|
|
97
|
+
},
|
|
98
|
+
]}
|
|
99
|
+
/>
|
|
100
|
+
);
|
|
101
|
+
},
|
|
102
|
+
};
|
|
103
|
+
|
|
104
|
+
export const ItemButton: Story = {
|
|
105
|
+
args: {},
|
|
106
|
+
render: () => {
|
|
107
|
+
return <ItemButtonExamples />;
|
|
108
|
+
},
|
|
109
|
+
};
|
|
110
|
+
|
|
111
|
+
function ItemButtonExamples() {
|
|
112
|
+
const [checkedItem, setCheckedItem] = useState('');
|
|
113
|
+
return (
|
|
114
|
+
<List
|
|
115
|
+
type={
|
|
116
|
+
<ListItemButton
|
|
117
|
+
id="_"
|
|
118
|
+
title="List Item Button"
|
|
119
|
+
onClick={(id) => {
|
|
120
|
+
console.log('clicked on ', {
|
|
121
|
+
id,
|
|
122
|
+
checkedItem,
|
|
123
|
+
check: checkedItem === id,
|
|
124
|
+
result: checkedItem === id ? '' : id,
|
|
125
|
+
});
|
|
126
|
+
setCheckedItem(checkedItem === id ? '' : id);
|
|
127
|
+
}}
|
|
128
|
+
/>
|
|
129
|
+
}
|
|
130
|
+
items={[
|
|
131
|
+
{
|
|
132
|
+
id: '1',
|
|
133
|
+
title: DEFAULT_TITLE,
|
|
134
|
+
description: DEFAULT_DESCRIPTION,
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
id: '2',
|
|
138
|
+
title: DEFAULT_TITLE,
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
id: '3',
|
|
142
|
+
title: DEFAULT_TITLE,
|
|
143
|
+
description: DEFAULT_DESCRIPTION,
|
|
144
|
+
start: <DeleteIcon />,
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
id: '4',
|
|
148
|
+
title: DEFAULT_TITLE,
|
|
149
|
+
start: <RefreshIcon />,
|
|
150
|
+
end: <Button type="primary">Hello, Button.</Button>,
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
id: '5',
|
|
154
|
+
title: DEFAULT_TITLE,
|
|
155
|
+
description: DEFAULT_DESCRIPTION,
|
|
156
|
+
start: DEFAULT_ICON,
|
|
157
|
+
end: <ChevronRightIcon />,
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
id: '6',
|
|
161
|
+
title: DEFAULT_TITLE,
|
|
162
|
+
description: DEFAULT_DESCRIPTION,
|
|
163
|
+
start: DEFAULT_ICON,
|
|
164
|
+
end: <Checkbox checked={checkedItem === '6'} />,
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
id: '7',
|
|
168
|
+
title: (
|
|
169
|
+
<>
|
|
170
|
+
Dai
|
|
171
|
+
<Chip label="Ethereum" />
|
|
172
|
+
</>
|
|
173
|
+
),
|
|
174
|
+
description: DEFAULT_DESCRIPTION,
|
|
175
|
+
start: DEFAULT_ICON,
|
|
176
|
+
end: <Checkbox checked={checkedItem === '7'} />,
|
|
177
|
+
},
|
|
178
|
+
]}
|
|
179
|
+
/>
|
|
180
|
+
);
|
|
181
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type { ListPropTypes } from './List.types';
|
|
2
|
+
|
|
3
|
+
import React from 'react';
|
|
4
|
+
|
|
5
|
+
import { ListItem } from '../ListItem';
|
|
6
|
+
|
|
7
|
+
import { BaseList } from './List.styles';
|
|
8
|
+
|
|
9
|
+
function List(props: ListPropTypes) {
|
|
10
|
+
const container = props.type;
|
|
11
|
+
|
|
12
|
+
return (
|
|
13
|
+
<BaseList as={props.as}>
|
|
14
|
+
{props.items.map((item) => {
|
|
15
|
+
const { id, ...itemProps } = item;
|
|
16
|
+
|
|
17
|
+
if (!!container) {
|
|
18
|
+
return React.cloneElement(container, {
|
|
19
|
+
...itemProps,
|
|
20
|
+
key: id,
|
|
21
|
+
id,
|
|
22
|
+
});
|
|
23
|
+
}
|
|
24
|
+
return <ListItem key={id} {...itemProps} />;
|
|
25
|
+
})}
|
|
26
|
+
</BaseList>
|
|
27
|
+
);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
export { List };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { ListItemProps } from '../ListItem';
|
|
2
|
+
import type * as Stitches from '@stitches/react';
|
|
3
|
+
import type React from 'react';
|
|
4
|
+
|
|
5
|
+
export interface ListPropTypes {
|
|
6
|
+
type?: React.ReactElement;
|
|
7
|
+
items: (ListItemProps & {
|
|
8
|
+
id: string;
|
|
9
|
+
})[];
|
|
10
|
+
as?: 'div' | 'ul';
|
|
11
|
+
css?: Stitches.CSS;
|
|
12
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { List } from './List';
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { styled } from '../../theme';
|
|
2
|
+
|
|
3
|
+
export const BaseListItem = styled('li', {
|
|
4
|
+
width: '100%',
|
|
5
|
+
borderRadius: '$xs',
|
|
6
|
+
display: 'flex',
|
|
7
|
+
alignItems: 'center',
|
|
8
|
+
padding: '$10 $5',
|
|
9
|
+
border: 0,
|
|
10
|
+
backgroundColor: 'transparent',
|
|
11
|
+
|
|
12
|
+
'.item-start-container': {
|
|
13
|
+
paddingRight: '$10',
|
|
14
|
+
flexShrink: 0,
|
|
15
|
+
|
|
16
|
+
'& svg': {
|
|
17
|
+
display: 'block',
|
|
18
|
+
},
|
|
19
|
+
},
|
|
20
|
+
'.item-text-container': {
|
|
21
|
+
flexGrow: 1,
|
|
22
|
+
flexShrink: 1,
|
|
23
|
+
flexBasis: 'auto',
|
|
24
|
+
textAlign: 'left',
|
|
25
|
+
|
|
26
|
+
'.item-text-title': {
|
|
27
|
+
fontWeight: 'bold',
|
|
28
|
+
display: 'flex',
|
|
29
|
+
alignItems: 'center',
|
|
30
|
+
},
|
|
31
|
+
},
|
|
32
|
+
'.item-end-container': {
|
|
33
|
+
display: 'flex',
|
|
34
|
+
justifyContent: 'center',
|
|
35
|
+
alignItems: 'center',
|
|
36
|
+
paddingLeft: '$10',
|
|
37
|
+
},
|
|
38
|
+
variants: {
|
|
39
|
+
hasDivider: {
|
|
40
|
+
true: {
|
|
41
|
+
borderBottom: '1px solid $neutral300',
|
|
42
|
+
borderBottomRightRadius: 0,
|
|
43
|
+
borderBottomLeftRadius: 0,
|
|
44
|
+
},
|
|
45
|
+
},
|
|
46
|
+
},
|
|
47
|
+
});
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import type { ListItemProps } from './ListItem.types';
|
|
2
|
+
|
|
3
|
+
import React from 'react';
|
|
4
|
+
|
|
5
|
+
import { Typography } from '../Typography';
|
|
6
|
+
|
|
7
|
+
import { BaseListItem } from './ListItem.styles';
|
|
8
|
+
|
|
9
|
+
function ListItem(props: ListItemProps) {
|
|
10
|
+
const { start, title, description, end, onClick, hasDivider, ...restProps } =
|
|
11
|
+
props;
|
|
12
|
+
|
|
13
|
+
return (
|
|
14
|
+
<BaseListItem hasDivider={hasDivider} onClick={onClick} {...restProps}>
|
|
15
|
+
{start && <div className="item-start-container">{start}</div>}
|
|
16
|
+
<div className="item-text-container">
|
|
17
|
+
{title && <div className="item-text-title">{title}</div>}
|
|
18
|
+
{description && (
|
|
19
|
+
<Typography variant="body" size="small" color="neutral800">
|
|
20
|
+
{description}
|
|
21
|
+
</Typography>
|
|
22
|
+
)}
|
|
23
|
+
</div>
|
|
24
|
+
{end && <div className="item-end-container">{end}</div>}
|
|
25
|
+
</BaseListItem>
|
|
26
|
+
);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export { ListItem };
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { darkTheme, styled } from '../../theme';
|
|
2
|
+
|
|
3
|
+
export const BaseListItemButton = styled('button', {
|
|
4
|
+
transition: 'all 0.35s',
|
|
5
|
+
border: 0,
|
|
6
|
+
width: '100%',
|
|
7
|
+
backgroundColor: 'transparent',
|
|
8
|
+
'&:focus-visible': {
|
|
9
|
+
borderRadius: '$xs',
|
|
10
|
+
|
|
11
|
+
outline: 0,
|
|
12
|
+
$$color: '$colors$info100',
|
|
13
|
+
[`.${darkTheme} &`]: {
|
|
14
|
+
$$color: '$colors$neutral400',
|
|
15
|
+
},
|
|
16
|
+
backgroundColor: '$$color',
|
|
17
|
+
},
|
|
18
|
+
'&:hover': {
|
|
19
|
+
$$color: '$colors$info100',
|
|
20
|
+
borderRadius: '$xs',
|
|
21
|
+
|
|
22
|
+
[`.${darkTheme} &`]: {
|
|
23
|
+
$$color: '$colors$neutral400',
|
|
24
|
+
},
|
|
25
|
+
backgroundColor: '$$color',
|
|
26
|
+
cursor: 'pointer',
|
|
27
|
+
},
|
|
28
|
+
'&:active': {
|
|
29
|
+
transform: 'scale(0.99)',
|
|
30
|
+
},
|
|
31
|
+
variants: {
|
|
32
|
+
hasDivider: {
|
|
33
|
+
true: {
|
|
34
|
+
borderBottom: '1px solid $neutral300',
|
|
35
|
+
borderBottomRightRadius: 0,
|
|
36
|
+
borderBottomLeftRadius: 0,
|
|
37
|
+
},
|
|
38
|
+
},
|
|
39
|
+
selected: {
|
|
40
|
+
true: { outline: '1px solid $secondary500' },
|
|
41
|
+
false: { outline: 0 },
|
|
42
|
+
},
|
|
43
|
+
},
|
|
44
|
+
});
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import type { ListItemButtonProps } from './ListItemButton.types';
|
|
2
|
+
|
|
3
|
+
import React from 'react';
|
|
4
|
+
|
|
5
|
+
import { ListItem } from '../ListItem/ListItem';
|
|
6
|
+
|
|
7
|
+
import { BaseListItemButton } from './ListItemButton.styles';
|
|
8
|
+
|
|
9
|
+
function ListItemButton(props: ListItemButtonProps) {
|
|
10
|
+
const { onClick, id, style, hasDivider, selected, ...restProps } = props;
|
|
11
|
+
const onClickWithKey = () => {
|
|
12
|
+
if (onClick) {
|
|
13
|
+
onClick(id);
|
|
14
|
+
}
|
|
15
|
+
};
|
|
16
|
+
return (
|
|
17
|
+
<BaseListItemButton
|
|
18
|
+
hasDivider={hasDivider}
|
|
19
|
+
selected={selected}
|
|
20
|
+
onClick={onClickWithKey}
|
|
21
|
+
style={style}>
|
|
22
|
+
<ListItem {...restProps} />
|
|
23
|
+
</BaseListItemButton>
|
|
24
|
+
);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export { ListItemButton };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { ListItemProps } from '../ListItem';
|
|
2
|
+
import type { CSSProperties } from '@stitches/react';
|
|
3
|
+
|
|
4
|
+
export type ListItemButtonProps = Omit<ListItemProps, 'onClick'> & {
|
|
5
|
+
id: string;
|
|
6
|
+
onClick: (id: string) => void;
|
|
7
|
+
style?: CSSProperties;
|
|
8
|
+
hasDivider?: boolean;
|
|
9
|
+
selected?: boolean;
|
|
10
|
+
};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import type { SvgIconProps } from '../SvgIcon';
|
|
2
|
+
|
|
3
|
+
import React from 'react';
|
|
4
|
+
|
|
5
|
+
import { SvgWithColor } from '../SvgIcon/SvgIcon.style';
|
|
6
|
+
|
|
7
|
+
export function Logo(props: SvgIconProps) {
|
|
8
|
+
const { size = '1em', color } = props;
|
|
9
|
+
const commonProps = {
|
|
10
|
+
width: size,
|
|
11
|
+
height: size,
|
|
12
|
+
color: color,
|
|
13
|
+
className: '_icon',
|
|
14
|
+
};
|
|
15
|
+
return (
|
|
16
|
+
<SvgWithColor
|
|
17
|
+
{...commonProps}
|
|
18
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
19
|
+
viewBox="0 0 18 18"
|
|
20
|
+
className="c-lekKBq">
|
|
21
|
+
<g fill="currentColor">
|
|
22
|
+
<path d="m7.641 6.333.89.492 6.982-2.896a8.471 8.471 0 0 0-.825-.939c-.05.028-.09.044-.09.044L7.315 6.097c.083.084.19.164.33.236H7.64ZM3.134 14.967l7.067-2.947-1.315-.743-5.393 2.291-1.366.578c.251.325.526.63.82.914l.187-.095v.002Z" />
|
|
23
|
+
<path d="m16.253 5.1-1.287.498c-1.03.377-5.082 1.975-5.082 1.975.662.365 1.378.759 2.008 1.102 1.612.88.592 2.812.379 3.18l-.01.014a5.873 5.873 0 0 0-.027.046s.151-1.443-.866-1.977a648.55 648.55 0 0 1-4.365-2.313c-.466-.248-.804-.7-.868-1.223-.048-.392.051-.843.521-1.238.274-.254.569-.39.569-.39l5.253-2.156s.033-.013.081-.038l1.093-.454A8.421 8.421 0 0 0 1.447 13.12l2.032-.886 4.046-1.697c-.698-.383-1.342-.739-1.648-.903-.152-.081-.344-.21-.496-.292-.82-.433-1.357-1.656-.113-3.107 0 0-.13 1.377.641 1.845.734.446 3.582 1.905 4.428 2.358.216.116.416.264.576.453.329.39.454.87.316 1.38-.006.025-.015.049-.023.073l-.016.048a1.018 1.018 0 0 1-.037.095c-.29.7-1.062.91-1.062.91L10 13.43l-4.917 2.018-1.084.476A8.42 8.42 0 0 0 16.253 5.099v.002Z" />
|
|
24
|
+
</g>
|
|
25
|
+
<path
|
|
26
|
+
fill="currentColor"
|
|
27
|
+
d="m7.53 10.53 1.36.74-.68.29-1.426-.717.745-.314ZM10.09 13.392s1.13-.8.108-1.378l-.643.268s1.072.287.535 1.11ZM9.889 7.567l-1.361-.74.695-.29 1.437.731-.771.3ZM7.41 4.705s-1.131.801-.108 1.378l.642-.268s-1.072-.287-.535-1.11Z"
|
|
28
|
+
opacity={0.4}
|
|
29
|
+
style={{
|
|
30
|
+
mixBlendMode: 'multiply',
|
|
31
|
+
}}
|
|
32
|
+
/>
|
|
33
|
+
</SvgWithColor>
|
|
34
|
+
);
|
|
35
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
|
|
3
|
+
import React from 'react';
|
|
4
|
+
|
|
5
|
+
import { Typography } from '../Typography';
|
|
6
|
+
|
|
7
|
+
import { CollapsibleMessageBox } from './CollapsibleMessageBox';
|
|
8
|
+
|
|
9
|
+
const meta: Meta<typeof CollapsibleMessageBox> = {
|
|
10
|
+
component: CollapsibleMessageBox,
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
export default meta;
|
|
14
|
+
type Story = StoryObj<typeof CollapsibleMessageBox>;
|
|
15
|
+
|
|
16
|
+
export const Main: Story = {
|
|
17
|
+
args: {
|
|
18
|
+
status: 'warning',
|
|
19
|
+
title: 'Title',
|
|
20
|
+
description: 'This is a test text',
|
|
21
|
+
children: (
|
|
22
|
+
<Typography variant="body" size="medium">
|
|
23
|
+
test
|
|
24
|
+
</Typography>
|
|
25
|
+
),
|
|
26
|
+
},
|
|
27
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import * as Collapsible from '@radix-ui/react-collapsible';
|
|
2
|
+
|
|
3
|
+
import { darkTheme, styled } from '../../theme';
|
|
4
|
+
|
|
5
|
+
export const Trigger = styled(Collapsible.Trigger, {
|
|
6
|
+
padding: '$15',
|
|
7
|
+
paddingBottom: '$5',
|
|
8
|
+
borderRadius: '$xm',
|
|
9
|
+
cursor: 'pointer',
|
|
10
|
+
backgroundColor: '$neutral200',
|
|
11
|
+
textAlign: 'center',
|
|
12
|
+
border: 0,
|
|
13
|
+
width: '100%',
|
|
14
|
+
'&:hover': {
|
|
15
|
+
$$color: '$colors$info100',
|
|
16
|
+
[`.${darkTheme} &`]: {
|
|
17
|
+
$$color: '$colors$neutral400',
|
|
18
|
+
},
|
|
19
|
+
backgroundColor: '$$color',
|
|
20
|
+
},
|
|
21
|
+
});
|