@rango-dev/ui 0.0.0-experimental-936229e8-20251208
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +504 -0
- package/dist/index.js +2 -0
- package/dist/index.js.map +7 -0
- package/dist/translations/af.d.ts +2 -0
- package/dist/translations/af.d.ts.map +1 -0
- package/dist/translations/ar.d.ts +2 -0
- package/dist/translations/ar.d.ts.map +1 -0
- package/dist/translations/bn.d.ts +2 -0
- package/dist/translations/bn.d.ts.map +1 -0
- package/dist/translations/ca.d.ts +2 -0
- package/dist/translations/ca.d.ts.map +1 -0
- package/dist/translations/da.d.ts +2 -0
- package/dist/translations/da.d.ts.map +1 -0
- package/dist/translations/de.d.ts +2 -0
- package/dist/translations/de.d.ts.map +1 -0
- package/dist/translations/el.d.ts +2 -0
- package/dist/translations/el.d.ts.map +1 -0
- package/dist/translations/en.d.ts +2 -0
- package/dist/translations/en.d.ts.map +1 -0
- package/dist/translations/es.d.ts +2 -0
- package/dist/translations/es.d.ts.map +1 -0
- package/dist/translations/fi.d.ts +2 -0
- package/dist/translations/fi.d.ts.map +1 -0
- package/dist/translations/fil.d.ts +2 -0
- package/dist/translations/fil.d.ts.map +1 -0
- package/dist/translations/fr.d.ts +2 -0
- package/dist/translations/fr.d.ts.map +1 -0
- package/dist/translations/hi.d.ts +2 -0
- package/dist/translations/hi.d.ts.map +1 -0
- package/dist/translations/hu.d.ts +2 -0
- package/dist/translations/hu.d.ts.map +1 -0
- package/dist/translations/id.d.ts +2 -0
- package/dist/translations/id.d.ts.map +1 -0
- package/dist/translations/it.d.ts +2 -0
- package/dist/translations/it.d.ts.map +1 -0
- package/dist/translations/ja.d.ts +2 -0
- package/dist/translations/ja.d.ts.map +1 -0
- package/dist/translations/ko.d.ts +2 -0
- package/dist/translations/ko.d.ts.map +1 -0
- package/dist/translations/lt.d.ts +2 -0
- package/dist/translations/lt.d.ts.map +1 -0
- package/dist/translations/ms.d.ts +2 -0
- package/dist/translations/ms.d.ts.map +1 -0
- package/dist/translations/nl.d.ts +2 -0
- package/dist/translations/nl.d.ts.map +1 -0
- package/dist/translations/pl.d.ts +2 -0
- package/dist/translations/pl.d.ts.map +1 -0
- package/dist/translations/pt.d.ts +2 -0
- package/dist/translations/pt.d.ts.map +1 -0
- package/dist/translations/ru.d.ts +2 -0
- package/dist/translations/ru.d.ts.map +1 -0
- package/dist/translations/sk.d.ts +2 -0
- package/dist/translations/sk.d.ts.map +1 -0
- package/dist/translations/sr.d.ts +2 -0
- package/dist/translations/sr.d.ts.map +1 -0
- package/dist/translations/sv.d.ts +2 -0
- package/dist/translations/sv.d.ts.map +1 -0
- package/dist/translations/sw.d.ts +2 -0
- package/dist/translations/sw.d.ts.map +1 -0
- package/dist/translations/th.d.ts +2 -0
- package/dist/translations/th.d.ts.map +1 -0
- package/dist/translations/tr.d.ts +2 -0
- package/dist/translations/tr.d.ts.map +1 -0
- package/dist/translations/uk.d.ts +2 -0
- package/dist/translations/uk.d.ts.map +1 -0
- package/dist/translations/ur.d.ts +2 -0
- package/dist/translations/ur.d.ts.map +1 -0
- package/dist/translations/vi.d.ts +2 -0
- package/dist/translations/vi.d.ts.map +1 -0
- package/dist/translations/zh-CN.d.ts +2 -0
- package/dist/translations/zh-CN.d.ts.map +1 -0
- package/dist/translations/zh-TW.d.ts +2 -0
- package/dist/translations/zh-TW.d.ts.map +1 -0
- package/dist/ui.build.json +1 -0
- package/dist/widget/ui/src/components/Alert/Alert.d.ts +8 -0
- package/dist/widget/ui/src/components/Alert/Alert.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Alert/Alert.helpers.d.ts +4 -0
- package/dist/widget/ui/src/components/Alert/Alert.helpers.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Alert/Alert.icon.d.ts +5 -0
- package/dist/widget/ui/src/components/Alert/Alert.icon.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Alert/Alert.styles.d.ts +649 -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 +15 -0
- package/dist/widget/ui/src/components/Alert/Alert.types.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Alert/index.d.ts +3 -0
- package/dist/widget/ui/src/components/Alert/index.d.ts.map +1 -0
- package/dist/widget/ui/src/components/BlockchainsChip/BlockchainsChip.d.ts +5 -0
- package/dist/widget/ui/src/components/BlockchainsChip/BlockchainsChip.d.ts.map +1 -0
- package/dist/widget/ui/src/components/BlockchainsChip/BlockchainsChip.styles.d.ts +163 -0
- package/dist/widget/ui/src/components/BlockchainsChip/BlockchainsChip.styles.d.ts.map +1 -0
- package/dist/widget/ui/src/components/BlockchainsChip/BlockchainsChip.types.d.ts +6 -0
- package/dist/widget/ui/src/components/BlockchainsChip/BlockchainsChip.types.d.ts.map +1 -0
- package/dist/widget/ui/src/components/BlockchainsChip/index.d.ts +2 -0
- package/dist/widget/ui/src/components/BlockchainsChip/index.d.ts.map +1 -0
- package/dist/widget/ui/src/components/BottomLogo/BottomLogo.d.ts +3 -0
- package/dist/widget/ui/src/components/BottomLogo/BottomLogo.d.ts.map +1 -0
- package/dist/widget/ui/src/components/BottomLogo/BottomLogo.styles.d.ts +321 -0
- package/dist/widget/ui/src/components/BottomLogo/BottomLogo.styles.d.ts.map +1 -0
- package/dist/widget/ui/src/components/BottomLogo/index.d.ts +2 -0
- package/dist/widget/ui/src/components/BottomLogo/index.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Button/Button.d.ts +284 -0
- package/dist/widget/ui/src/components/Button/Button.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Button/Button.styles.d.ts +489 -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 +22 -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/Button/index.d.ts +3 -0
- package/dist/widget/ui/src/components/Button/index.d.ts.map +1 -0
- package/dist/widget/ui/src/components/ChainToken/ChainToken.constants.d.ts +9 -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.styles.d.ts +486 -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 +14 -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 +3 -0
- package/dist/widget/ui/src/components/ChainToken/index.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Checkbox/Checkbox.d.ts +5 -0
- package/dist/widget/ui/src/components/Checkbox/Checkbox.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Checkbox/Checkbox.styles.d.ts +642 -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/Checkbox/index.d.ts +3 -0
- package/dist/widget/ui/src/components/Checkbox/index.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Chip/Chip.d.ts +4 -0
- package/dist/widget/ui/src/components/Chip/Chip.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Chip/Chip.styles.d.ts +163 -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/Chip/index.d.ts +3 -0
- package/dist/widget/ui/src/components/Chip/index.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.styles.d.ts +162 -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 +3 -0
- package/dist/widget/ui/src/components/Collapsible/index.d.ts.map +1 -0
- package/dist/widget/ui/src/components/CustomTokenWarning/CustomTokenWarning.d.ts +4 -0
- package/dist/widget/ui/src/components/CustomTokenWarning/CustomTokenWarning.d.ts.map +1 -0
- package/dist/widget/ui/src/components/CustomTokenWarning/CustomTokenWarning.styles.d.ts +486 -0
- package/dist/widget/ui/src/components/CustomTokenWarning/CustomTokenWarning.styles.d.ts.map +1 -0
- package/dist/widget/ui/src/components/CustomTokenWarning/CustomTokenWarning.types.d.ts +4 -0
- package/dist/widget/ui/src/components/CustomTokenWarning/CustomTokenWarning.types.d.ts.map +1 -0
- package/dist/widget/ui/src/components/CustomTokenWarning/index.d.ts +2 -0
- package/dist/widget/ui/src/components/CustomTokenWarning/index.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Divider/Divider.d.ts +4 -0
- package/dist/widget/ui/src/components/Divider/Divider.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Divider/Divider.styles.d.ts +164 -0
- package/dist/widget/ui/src/components/Divider/Divider.styles.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Divider/Divider.types.d.ts +11 -0
- package/dist/widget/ui/src/components/Divider/Divider.types.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Divider/index.d.ts +2 -0
- package/dist/widget/ui/src/components/Divider/index.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Flags/Bengali.d.ts +4 -0
- package/dist/widget/ui/src/components/Flags/Bengali.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Flags/Catalonia.d.ts +4 -0
- package/dist/widget/ui/src/components/Flags/Catalonia.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Flags/Chinese.d.ts +4 -0
- package/dist/widget/ui/src/components/Flags/Chinese.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Flags/Cyprus.d.ts +4 -0
- package/dist/widget/ui/src/components/Flags/Cyprus.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Flags/Denmark.d.ts +4 -0
- package/dist/widget/ui/src/components/Flags/Denmark.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Flags/English.d.ts +4 -0
- package/dist/widget/ui/src/components/Flags/English.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Flags/Finland.d.ts +4 -0
- package/dist/widget/ui/src/components/Flags/Finland.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Flags/Flags.constants.d.ts +2 -0
- package/dist/widget/ui/src/components/Flags/Flags.constants.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Flags/Flags.types.d.ts +4 -0
- package/dist/widget/ui/src/components/Flags/Flags.types.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Flags/French.d.ts +4 -0
- package/dist/widget/ui/src/components/Flags/French.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Flags/German.d.ts +4 -0
- package/dist/widget/ui/src/components/Flags/German.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Flags/Greece.d.ts +4 -0
- package/dist/widget/ui/src/components/Flags/Greece.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Flags/Hindi.d.ts +4 -0
- package/dist/widget/ui/src/components/Flags/Hindi.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Flags/Hungary.d.ts +4 -0
- package/dist/widget/ui/src/components/Flags/Hungary.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Flags/India.d.ts +4 -0
- package/dist/widget/ui/src/components/Flags/India.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Flags/Indonesian.d.ts +4 -0
- package/dist/widget/ui/src/components/Flags/Indonesian.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Flags/Italian.d.ts +4 -0
- package/dist/widget/ui/src/components/Flags/Italian.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Flags/Japanese.d.ts +4 -0
- package/dist/widget/ui/src/components/Flags/Japanese.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Flags/Korea.d.ts +4 -0
- package/dist/widget/ui/src/components/Flags/Korea.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Flags/Lithuania.d.ts +4 -0
- package/dist/widget/ui/src/components/Flags/Lithuania.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Flags/Malay.d.ts +4 -0
- package/dist/widget/ui/src/components/Flags/Malay.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Flags/Netherlands.d.ts +4 -0
- package/dist/widget/ui/src/components/Flags/Netherlands.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Flags/Pakistan.d.ts +4 -0
- package/dist/widget/ui/src/components/Flags/Pakistan.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Flags/Philippines.d.ts +4 -0
- package/dist/widget/ui/src/components/Flags/Philippines.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Flags/Poland.d.ts +4 -0
- package/dist/widget/ui/src/components/Flags/Poland.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Flags/Portuguese.d.ts +4 -0
- package/dist/widget/ui/src/components/Flags/Portuguese.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Flags/Russian.d.ts +4 -0
- package/dist/widget/ui/src/components/Flags/Russian.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Flags/SaudiArabia.d.ts +4 -0
- package/dist/widget/ui/src/components/Flags/SaudiArabia.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Flags/Serbia.d.ts +4 -0
- package/dist/widget/ui/src/components/Flags/Serbia.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Flags/Slovakia.d.ts +4 -0
- package/dist/widget/ui/src/components/Flags/Slovakia.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Flags/SouthAfrica.d.ts +4 -0
- package/dist/widget/ui/src/components/Flags/SouthAfrica.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Flags/Spanish.d.ts +4 -0
- package/dist/widget/ui/src/components/Flags/Spanish.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Flags/Swahili.d.ts +4 -0
- package/dist/widget/ui/src/components/Flags/Swahili.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Flags/Swedish.d.ts +4 -0
- package/dist/widget/ui/src/components/Flags/Swedish.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Flags/Thai.d.ts +4 -0
- package/dist/widget/ui/src/components/Flags/Thai.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Flags/Turkish.d.ts +4 -0
- package/dist/widget/ui/src/components/Flags/Turkish.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Flags/Ukrainian.d.ts +4 -0
- package/dist/widget/ui/src/components/Flags/Ukrainian.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Flags/Vietnamese.d.ts +4 -0
- package/dist/widget/ui/src/components/Flags/Vietnamese.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Flags/index.d.ts +39 -0
- package/dist/widget/ui/src/components/Flags/index.d.ts.map +1 -0
- package/dist/widget/ui/src/components/FullExpandedQuote/FullExpandedQuote.Skeletons.d.ts +6 -0
- package/dist/widget/ui/src/components/FullExpandedQuote/FullExpandedQuote.Skeletons.d.ts.map +1 -0
- package/dist/widget/ui/src/components/FullExpandedQuote/FullExpandedQuote.TokenSection.d.ts +4 -0
- package/dist/widget/ui/src/components/FullExpandedQuote/FullExpandedQuote.TokenSection.d.ts.map +1 -0
- package/dist/widget/ui/src/components/FullExpandedQuote/FullExpandedQuote.Tooltip.d.ts +4 -0
- package/dist/widget/ui/src/components/FullExpandedQuote/FullExpandedQuote.Tooltip.d.ts.map +1 -0
- package/dist/widget/ui/src/components/FullExpandedQuote/FullExpandedQuote.d.ts +4 -0
- package/dist/widget/ui/src/components/FullExpandedQuote/FullExpandedQuote.d.ts.map +1 -0
- package/dist/widget/ui/src/components/FullExpandedQuote/FullExpandedQuote.helpers.d.ts +8 -0
- package/dist/widget/ui/src/components/FullExpandedQuote/FullExpandedQuote.helpers.d.ts.map +1 -0
- package/dist/widget/ui/src/components/FullExpandedQuote/FullExpandedQuote.styles.d.ts +6091 -0
- package/dist/widget/ui/src/components/FullExpandedQuote/FullExpandedQuote.styles.d.ts.map +1 -0
- package/dist/widget/ui/src/components/FullExpandedQuote/FullExpandedQuote.types.d.ts +52 -0
- package/dist/widget/ui/src/components/FullExpandedQuote/FullExpandedQuote.types.d.ts.map +1 -0
- package/dist/widget/ui/src/components/FullExpandedQuote/index.d.ts +2 -0
- package/dist/widget/ui/src/components/FullExpandedQuote/index.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Header/Header.constants.d.ts +2 -0
- package/dist/widget/ui/src/components/Header/Header.constants.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Header/Header.d.ts +5 -0
- package/dist/widget/ui/src/components/Header/Header.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Header/Header.styles.d.ts +484 -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 +6 -0
- package/dist/widget/ui/src/components/Header/Header.types.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Header/index.d.ts +3 -0
- package/dist/widget/ui/src/components/Header/index.d.ts.map +1 -0
- package/dist/widget/ui/src/components/I18nManager/I18nManager.d.ts +46 -0
- package/dist/widget/ui/src/components/I18nManager/I18nManager.d.ts.map +1 -0
- package/dist/widget/ui/src/components/I18nManager/index.d.ts +3 -0
- package/dist/widget/ui/src/components/I18nManager/index.d.ts.map +1 -0
- package/dist/widget/ui/src/components/IconButton/IconButton.d.ts +7 -0
- package/dist/widget/ui/src/components/IconButton/IconButton.d.ts.map +1 -0
- package/dist/widget/ui/src/components/IconButton/IconButton.types.d.ts +14 -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 +3 -0
- package/dist/widget/ui/src/components/IconButton/index.d.ts.map +1 -0
- 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.styles.d.ts +161 -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 +13 -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 +3 -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 +163 -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 +14 -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 +164 -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 +9 -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/Logo/index.d.ts +2 -0
- package/dist/widget/ui/src/components/Logo/index.d.ts.map +1 -0
- package/dist/widget/ui/src/components/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.styles.d.ts +162 -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.styles.d.ts +483 -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 +14 -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 +3 -0
- package/dist/widget/ui/src/components/MessageBox/index.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Modal/Modal.d.ts +5 -0
- package/dist/widget/ui/src/components/Modal/Modal.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Modal/Modal.helpers.d.ts +2 -0
- package/dist/widget/ui/src/components/Modal/Modal.helpers.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Modal/Modal.styles.d.ts +968 -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 +29 -0
- package/dist/widget/ui/src/components/Modal/Modal.types.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Modal/index.d.ts +4 -0
- package/dist/widget/ui/src/components/Modal/index.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/components/NotFound/NotFound.styles.d.ts +161 -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 +9 -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 +3 -0
- package/dist/widget/ui/src/components/NotFound/index.d.ts.map +1 -0
- 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/components/Popover/Popover.styles.d.ts +322 -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 +24 -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 +3 -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.styles.d.ts +324 -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 +19 -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/QuoteCost/QuoteCost.d.ts +4 -0
- package/dist/widget/ui/src/components/QuoteCost/QuoteCost.d.ts.map +1 -0
- package/dist/widget/ui/src/components/QuoteCost/QuoteCost.styles.d.ts +641 -0
- package/dist/widget/ui/src/components/QuoteCost/QuoteCost.styles.d.ts.map +1 -0
- package/dist/widget/ui/src/components/QuoteCost/QuoteCost.types.d.ts +11 -0
- package/dist/widget/ui/src/components/QuoteCost/QuoteCost.types.d.ts.map +1 -0
- package/dist/widget/ui/src/components/QuoteCost/index.d.ts +2 -0
- package/dist/widget/ui/src/components/QuoteCost/index.d.ts.map +1 -0
- package/dist/widget/ui/src/components/QuoteTag/QuoteTag.d.ts +4 -0
- package/dist/widget/ui/src/components/QuoteTag/QuoteTag.d.ts.map +1 -0
- package/dist/widget/ui/src/components/QuoteTag/QuoteTag.styles.d.ts +323 -0
- package/dist/widget/ui/src/components/QuoteTag/QuoteTag.styles.d.ts.map +1 -0
- package/dist/widget/ui/src/components/QuoteTag/index.d.ts +2 -0
- package/dist/widget/ui/src/components/QuoteTag/index.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Radio/Radio.d.ts +4 -0
- package/dist/widget/ui/src/components/Radio/Radio.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Radio/Radio.styles.d.ts +322 -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/Radio/index.d.ts +3 -0
- package/dist/widget/ui/src/components/Radio/index.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/RadioGroup/RadioGroup.styles.d.ts +644 -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 +4 -0
- package/dist/widget/ui/src/components/RadioGroup/index.d.ts.map +1 -0
- package/dist/widget/ui/src/components/RefreshProgressButton/RefreshProgressButton.d.ts +7 -0
- package/dist/widget/ui/src/components/RefreshProgressButton/RefreshProgressButton.d.ts.map +1 -0
- package/dist/widget/ui/src/components/RefreshProgressButton/RefreshProgressButton.styles.d.ts +323 -0
- package/dist/widget/ui/src/components/RefreshProgressButton/RefreshProgressButton.styles.d.ts.map +1 -0
- package/dist/widget/ui/src/components/RefreshProgressButton/index.d.ts +2 -0
- package/dist/widget/ui/src/components/RefreshProgressButton/index.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Select/Select.d.ts +4 -0
- package/dist/widget/ui/src/components/Select/Select.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Select/Select.styles.d.ts +486 -0
- package/dist/widget/ui/src/components/Select/Select.styles.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Select/Select.types.d.ts +19 -0
- package/dist/widget/ui/src/components/Select/Select.types.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Select/index.d.ts +3 -0
- package/dist/widget/ui/src/components/Select/index.d.ts.map +1 -0
- package/dist/widget/ui/src/components/SelectableCategoryList/SelectableCategoryList.d.ts +4 -0
- package/dist/widget/ui/src/components/SelectableCategoryList/SelectableCategoryList.d.ts.map +1 -0
- package/dist/widget/ui/src/components/SelectableCategoryList/SelectableCategoryList.helpers.d.ts +18 -0
- package/dist/widget/ui/src/components/SelectableCategoryList/SelectableCategoryList.helpers.d.ts.map +1 -0
- package/dist/widget/ui/src/components/SelectableCategoryList/SelectableCategoryList.styles.d.ts +481 -0
- package/dist/widget/ui/src/components/SelectableCategoryList/SelectableCategoryList.styles.d.ts.map +1 -0
- package/dist/widget/ui/src/components/SelectableCategoryList/SelectableCategoryList.types.d.ts +15 -0
- package/dist/widget/ui/src/components/SelectableCategoryList/SelectableCategoryList.types.d.ts.map +1 -0
- package/dist/widget/ui/src/components/SelectableCategoryList/index.d.ts +5 -0
- package/dist/widget/ui/src/components/SelectableCategoryList/index.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Skeleton/Skeleton.d.ts +4 -0
- package/dist/widget/ui/src/components/Skeleton/Skeleton.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Skeleton/Skeleton.styles.d.ts +164 -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/Skeleton/index.d.ts +3 -0
- package/dist/widget/ui/src/components/Skeleton/index.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Spinner/Spinner.d.ts +4 -0
- package/dist/widget/ui/src/components/Spinner/Spinner.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Spinner/Spinner.styles.d.ts +161 -0
- package/dist/widget/ui/src/components/Spinner/Spinner.styles.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Spinner/Spinner.types.d.ts +8 -0
- package/dist/widget/ui/src/components/Spinner/Spinner.types.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Spinner/index.d.ts +3 -0
- package/dist/widget/ui/src/components/Spinner/index.d.ts.map +1 -0
- 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.styles.d.ts +1305 -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 +41 -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/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 +163 -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 +8 -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/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.styles.d.ts +961 -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 +47 -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 +1927 -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 +10 -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 +3 -0
- package/dist/widget/ui/src/components/SwapListItem/index.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Switch/Switch.d.ts +4 -0
- package/dist/widget/ui/src/components/Switch/Switch.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Switch/Switch.styles.d.ts +322 -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/Switch/index.d.ts +3 -0
- package/dist/widget/ui/src/components/Switch/index.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Tabs/Tabs.d.ts +4 -0
- package/dist/widget/ui/src/components/Tabs/Tabs.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Tabs/Tabs.styles.d.ts +1744 -0
- package/dist/widget/ui/src/components/Tabs/Tabs.styles.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Tabs/Tabs.types.d.ts +31 -0
- package/dist/widget/ui/src/components/Tabs/Tabs.types.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Tabs/index.d.ts +3 -0
- package/dist/widget/ui/src/components/Tabs/index.d.ts.map +1 -0
- package/dist/widget/ui/src/components/TextField/TextField.d.ts +17 -0
- package/dist/widget/ui/src/components/TextField/TextField.d.ts.map +1 -0
- package/dist/widget/ui/src/components/TextField/TextField.styles.d.ts +492 -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 +22 -0
- package/dist/widget/ui/src/components/TextField/TextField.types.d.ts.map +1 -0
- package/dist/widget/ui/src/components/TextField/index.d.ts +3 -0
- package/dist/widget/ui/src/components/TextField/index.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Toast/Toast.Provider.d.ts +6 -0
- package/dist/widget/ui/src/components/Toast/Toast.Provider.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Toast/Toast.d.ts +4 -0
- package/dist/widget/ui/src/components/Toast/Toast.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Toast/Toast.helpers.d.ts +6 -0
- package/dist/widget/ui/src/components/Toast/Toast.helpers.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Toast/Toast.styles.d.ts +974 -0
- package/dist/widget/ui/src/components/Toast/Toast.styles.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Toast/Toast.types.d.ts +31 -0
- package/dist/widget/ui/src/components/Toast/Toast.types.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Toast/index.d.ts +4 -0
- package/dist/widget/ui/src/components/Toast/index.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.styles.d.ts +1771 -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 +19 -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/Tooltip/NumericTooltip.d.ts +5 -0
- package/dist/widget/ui/src/components/Tooltip/NumericTooltip.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Tooltip/NumericTooltip.types.d.ts +6 -0
- package/dist/widget/ui/src/components/Tooltip/NumericTooltip.types.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Tooltip/Tooltip.d.ts +5 -0
- package/dist/widget/ui/src/components/Tooltip/Tooltip.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Tooltip/Tooltip.styles.d.ts +484 -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 +22 -0
- package/dist/widget/ui/src/components/Tooltip/Tooltip.types.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Tooltip/index.d.ts +5 -0
- package/dist/widget/ui/src/components/Tooltip/index.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Typography/NotSelectableTypography.d.ts +163 -0
- package/dist/widget/ui/src/components/Typography/NotSelectableTypography.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Typography/Typography.d.ts +6 -0
- package/dist/widget/ui/src/components/Typography/Typography.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Typography/Typography.styles.d.ts +166 -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 +18 -0
- package/dist/widget/ui/src/components/Typography/Typography.types.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Typography/index.d.ts +4 -0
- package/dist/widget/ui/src/components/Typography/index.d.ts.map +1 -0
- package/dist/widget/ui/src/components/VirtualizedList/VirtualizedList.d.ts +3 -0
- package/dist/widget/ui/src/components/VirtualizedList/VirtualizedList.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/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/Wallet.d.ts +4 -0
- package/dist/widget/ui/src/components/Wallet/Wallet.d.ts.map +1 -0
- 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 +1126 -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 +52 -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 +5 -0
- package/dist/widget/ui/src/components/Wallet/index.d.ts.map +1 -0
- package/dist/widget/ui/src/components/common/Image.d.ts +172 -0
- package/dist/widget/ui/src/components/common/Image.d.ts.map +1 -0
- package/dist/widget/ui/src/components/common/index.d.ts +2 -0
- package/dist/widget/ui/src/components/common/index.d.ts.map +1 -0
- package/dist/widget/ui/src/components/common/styles.d.ts +164 -0
- package/dist/widget/ui/src/components/common/styles.d.ts.map +1 -0
- package/dist/widget/ui/src/components/index.d.ts +48 -0
- package/dist/widget/ui/src/components/index.d.ts.map +1 -0
- package/dist/widget/ui/src/constants/index.d.ts +7 -0
- package/dist/widget/ui/src/constants/index.d.ts.map +1 -0
- package/dist/widget/ui/src/containers/ConnectWalletsModal/ConnectWalletsModal.d.ts +4 -0
- package/dist/widget/ui/src/containers/ConnectWalletsModal/ConnectWalletsModal.d.ts.map +1 -0
- package/dist/widget/ui/src/containers/ConnectWalletsModal/ConnectWalletsModal.styles.d.ts +161 -0
- package/dist/widget/ui/src/containers/ConnectWalletsModal/ConnectWalletsModal.styles.d.ts.map +1 -0
- package/dist/widget/ui/src/containers/ConnectWalletsModal/ConnectWalletsModal.types.d.ts +11 -0
- package/dist/widget/ui/src/containers/ConnectWalletsModal/ConnectWalletsModal.types.d.ts.map +1 -0
- package/dist/widget/ui/src/containers/ConnectWalletsModal/index.d.ts +3 -0
- package/dist/widget/ui/src/containers/ConnectWalletsModal/index.d.ts.map +1 -0
- package/dist/widget/ui/src/containers/Notifications/NotificationNotFound.d.ts +3 -0
- package/dist/widget/ui/src/containers/Notifications/NotificationNotFound.d.ts.map +1 -0
- package/dist/widget/ui/src/containers/Notifications/Notifications.d.ts +4 -0
- package/dist/widget/ui/src/containers/Notifications/Notifications.d.ts.map +1 -0
- package/dist/widget/ui/src/containers/Notifications/Notifications.styles.d.ts +1566 -0
- package/dist/widget/ui/src/containers/Notifications/Notifications.styles.d.ts.map +1 -0
- package/dist/widget/ui/src/containers/Notifications/Notifications.types.d.ts +24 -0
- package/dist/widget/ui/src/containers/Notifications/Notifications.types.d.ts.map +1 -0
- package/dist/widget/ui/src/containers/Notifications/index.d.ts +2 -0
- package/dist/widget/ui/src/containers/Notifications/index.d.ts.map +1 -0
- 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.styles.d.ts +2220 -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 +48 -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 +1729 -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 +15 -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 +3 -0
- package/dist/widget/ui/src/containers/SwapInput/index.d.ts.map +1 -0
- package/dist/widget/ui/src/containers/Warnings/BalanceErrors.d.ts +7 -0
- package/dist/widget/ui/src/containers/Warnings/BalanceErrors.d.ts.map +1 -0
- package/dist/widget/ui/src/containers/Warnings/index.d.ts +2 -0
- package/dist/widget/ui/src/containers/Warnings/index.d.ts.map +1 -0
- package/dist/widget/ui/src/containers/index.d.ts +5 -0
- package/dist/widget/ui/src/containers/index.d.ts.map +1 -0
- package/dist/widget/ui/src/hooks/index.d.ts +3 -0
- package/dist/widget/ui/src/hooks/index.d.ts.map +1 -0
- package/dist/widget/ui/src/hooks/useCopyToClipboard.d.ts +2 -0
- package/dist/widget/ui/src/hooks/useCopyToClipboard.d.ts.map +1 -0
- package/dist/widget/ui/src/hooks/useIsTruncated.d.ts +3 -0
- package/dist/widget/ui/src/hooks/useIsTruncated.d.ts.map +1 -0
- package/dist/widget/ui/src/icons/Add.d.ts +5 -0
- package/dist/widget/ui/src/icons/Add.d.ts.map +1 -0
- package/dist/widget/ui/src/icons/Affiliate.d.ts +5 -0
- package/dist/widget/ui/src/icons/Affiliate.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/Autorenew.d.ts +5 -0
- package/dist/widget/ui/src/icons/Autorenew.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/Bridges.d.ts +5 -0
- package/dist/widget/ui/src/icons/Bridges.d.ts.map +1 -0
- package/dist/widget/ui/src/icons/BugReport.d.ts +5 -0
- package/dist/widget/ui/src/icons/BugReport.d.ts.map +1 -0
- package/dist/widget/ui/src/icons/Bullhorn.d.ts +5 -0
- package/dist/widget/ui/src/icons/Bullhorn.d.ts.map +1 -0
- package/dist/widget/ui/src/icons/Calendar.d.ts +5 -0
- package/dist/widget/ui/src/icons/Calendar.d.ts.map +1 -0
- package/dist/widget/ui/src/icons/Chains.d.ts +5 -0
- package/dist/widget/ui/src/icons/Chains.d.ts.map +1 -0
- package/dist/widget/ui/src/icons/Chart.d.ts +5 -0
- package/dist/widget/ui/src/icons/Chart.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/Colors.d.ts +5 -0
- package/dist/widget/ui/src/icons/Colors.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/ContactUs.d.ts +5 -0
- package/dist/widget/ui/src/icons/ContactUs.d.ts.map +1 -0
- package/dist/widget/ui/src/icons/Cookie.d.ts +5 -0
- package/dist/widget/ui/src/icons/Cookie.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/CosmosCategory.d.ts +5 -0
- package/dist/widget/ui/src/icons/CosmosCategory.d.ts.map +1 -0
- package/dist/widget/ui/src/icons/CreditCard.d.ts +5 -0
- package/dist/widget/ui/src/icons/CreditCard.d.ts.map +1 -0
- package/dist/widget/ui/src/icons/CustomColors.d.ts +5 -0
- package/dist/widget/ui/src/icons/CustomColors.d.ts.map +1 -0
- package/dist/widget/ui/src/icons/CustomTokensZeroState.d.ts +5 -0
- package/dist/widget/ui/src/icons/CustomTokensZeroState.d.ts.map +1 -0
- package/dist/widget/ui/src/icons/CustomTokensZeroStateDark.d.ts +5 -0
- package/dist/widget/ui/src/icons/CustomTokensZeroStateDark.d.ts.map +1 -0
- package/dist/widget/ui/src/icons/CustomerSupport.d.ts +5 -0
- package/dist/widget/ui/src/icons/CustomerSupport.d.ts.map +1 -0
- package/dist/widget/ui/src/icons/DarkMode.d.ts +5 -0
- package/dist/widget/ui/src/icons/DarkMode.d.ts.map +1 -0
- package/dist/widget/ui/src/icons/Delete.d.ts +5 -0
- package/dist/widget/ui/src/icons/Delete.d.ts.map +1 -0
- package/dist/widget/ui/src/icons/Desktop.d.ts +5 -0
- package/dist/widget/ui/src/icons/Desktop.d.ts.map +1 -0
- package/dist/widget/ui/src/icons/Disconnect.d.ts +5 -0
- package/dist/widget/ui/src/icons/Disconnect.d.ts.map +1 -0
- package/dist/widget/ui/src/icons/Discord.d.ts +5 -0
- package/dist/widget/ui/src/icons/Discord.d.ts.map +1 -0
- package/dist/widget/ui/src/icons/Document.d.ts +5 -0
- package/dist/widget/ui/src/icons/Document.d.ts.map +1 -0
- package/dist/widget/ui/src/icons/Documentation.d.ts +5 -0
- package/dist/widget/ui/src/icons/Documentation.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/EvmCategory.d.ts +5 -0
- package/dist/widget/ui/src/icons/EvmCategory.d.ts.map +1 -0
- package/dist/widget/ui/src/icons/Exchange.d.ts +5 -0
- package/dist/widget/ui/src/icons/Exchange.d.ts.map +1 -0
- package/dist/widget/ui/src/icons/Exit.d.ts +5 -0
- package/dist/widget/ui/src/icons/Exit.d.ts.map +1 -0
- package/dist/widget/ui/src/icons/Explorer.d.ts +5 -0
- package/dist/widget/ui/src/icons/Explorer.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/FeatureList.d.ts +5 -0
- package/dist/widget/ui/src/icons/FeatureList.d.ts.map +1 -0
- package/dist/widget/ui/src/icons/Filter.d.ts +5 -0
- package/dist/widget/ui/src/icons/Filter.d.ts.map +1 -0
- package/dist/widget/ui/src/icons/First.d.ts +5 -0
- package/dist/widget/ui/src/icons/First.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/GasStation.d.ts +5 -0
- package/dist/widget/ui/src/icons/GasStation.d.ts.map +1 -0
- package/dist/widget/ui/src/icons/Height.d.ts +5 -0
- package/dist/widget/ui/src/icons/Height.d.ts.map +1 -0
- package/dist/widget/ui/src/icons/Hide.d.ts +5 -0
- package/dist/widget/ui/src/icons/Hide.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/Infinity.d.ts +5 -0
- package/dist/widget/ui/src/icons/Infinity.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/Key.d.ts +5 -0
- package/dist/widget/ui/src/icons/Key.d.ts.map +1 -0
- package/dist/widget/ui/src/icons/Language.d.ts +5 -0
- package/dist/widget/ui/src/icons/Language.d.ts.map +1 -0
- package/dist/widget/ui/src/icons/Last.d.ts +5 -0
- package/dist/widget/ui/src/icons/Last.d.ts.map +1 -0
- package/dist/widget/ui/src/icons/Legacy.d.ts +5 -0
- package/dist/widget/ui/src/icons/Legacy.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/Login.d.ts +5 -0
- package/dist/widget/ui/src/icons/Login.d.ts.map +1 -0
- package/dist/widget/ui/src/icons/LogoWithText.d.ts +5 -0
- package/dist/widget/ui/src/icons/LogoWithText.d.ts.map +1 -0
- package/dist/widget/ui/src/icons/Logout.d.ts +5 -0
- package/dist/widget/ui/src/icons/Logout.d.ts.map +1 -0
- package/dist/widget/ui/src/icons/Medium.d.ts +5 -0
- package/dist/widget/ui/src/icons/Medium.d.ts.map +1 -0
- package/dist/widget/ui/src/icons/Menu.d.ts +5 -0
- package/dist/widget/ui/src/icons/Menu.d.ts.map +1 -0
- package/dist/widget/ui/src/icons/MoneyBag.d.ts +5 -0
- package/dist/widget/ui/src/icons/MoneyBag.d.ts.map +1 -0
- package/dist/widget/ui/src/icons/More.d.ts +5 -0
- package/dist/widget/ui/src/icons/More.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/NumberBlocks.d.ts +5 -0
- package/dist/widget/ui/src/icons/NumberBlocks.d.ts.map +1 -0
- package/dist/widget/ui/src/icons/OtherCategory.d.ts +5 -0
- package/dist/widget/ui/src/icons/OtherCategory.d.ts.map +1 -0
- package/dist/widget/ui/src/icons/Paste.d.ts +5 -0
- package/dist/widget/ui/src/icons/Paste.d.ts.map +1 -0
- package/dist/widget/ui/src/icons/Pencil.d.ts +5 -0
- package/dist/widget/ui/src/icons/Pencil.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/Profile.d.ts +5 -0
- package/dist/widget/ui/src/icons/Profile.d.ts.map +1 -0
- package/dist/widget/ui/src/icons/RangoExplorer.d.ts +5 -0
- package/dist/widget/ui/src/icons/RangoExplorer.d.ts.map +1 -0
- package/dist/widget/ui/src/icons/Rank.d.ts +5 -0
- package/dist/widget/ui/src/icons/Rank.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/Report.d.ts +5 -0
- package/dist/widget/ui/src/icons/Report.d.ts.map +1 -0
- package/dist/widget/ui/src/icons/Request.d.ts +5 -0
- package/dist/widget/ui/src/icons/Request.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/ReverseHorizontal.d.ts +5 -0
- package/dist/widget/ui/src/icons/ReverseHorizontal.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/Scanner.d.ts +5 -0
- package/dist/widget/ui/src/icons/Scanner.d.ts.map +1 -0
- package/dist/widget/ui/src/icons/Score.d.ts +5 -0
- package/dist/widget/ui/src/icons/Score.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/Share.d.ts +5 -0
- package/dist/widget/ui/src/icons/Share.d.ts.map +1 -0
- package/dist/widget/ui/src/icons/Show.d.ts +5 -0
- package/dist/widget/ui/src/icons/Show.d.ts.map +1 -0
- package/dist/widget/ui/src/icons/Slippage.d.ts +5 -0
- package/dist/widget/ui/src/icons/Slippage.d.ts.map +1 -0
- package/dist/widget/ui/src/icons/Stats.d.ts +5 -0
- package/dist/widget/ui/src/icons/Stats.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/Support.d.ts +5 -0
- package/dist/widget/ui/src/icons/Support.d.ts.map +1 -0
- package/dist/widget/ui/src/icons/Swap.d.ts +5 -0
- package/dist/widget/ui/src/icons/Swap.d.ts.map +1 -0
- package/dist/widget/ui/src/icons/Target.d.ts +5 -0
- package/dist/widget/ui/src/icons/Target.d.ts.map +1 -0
- package/dist/widget/ui/src/icons/Telegram.d.ts +5 -0
- package/dist/widget/ui/src/icons/Telegram.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/Trophy.d.ts +5 -0
- package/dist/widget/ui/src/icons/Trophy.d.ts.map +1 -0
- package/dist/widget/ui/src/icons/Tune.d.ts +5 -0
- package/dist/widget/ui/src/icons/Tune.d.ts.map +1 -0
- package/dist/widget/ui/src/icons/UtxoCategory.d.ts +5 -0
- package/dist/widget/ui/src/icons/UtxoCategory.d.ts.map +1 -0
- package/dist/widget/ui/src/icons/Volume.d.ts +5 -0
- package/dist/widget/ui/src/icons/Volume.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/Widget.d.ts +5 -0
- package/dist/widget/ui/src/icons/Widget.d.ts.map +1 -0
- package/dist/widget/ui/src/icons/Width.d.ts +5 -0
- package/dist/widget/ui/src/icons/Width.d.ts.map +1 -0
- package/dist/widget/ui/src/icons/X.d.ts +5 -0
- package/dist/widget/ui/src/icons/X.d.ts.map +1 -0
- package/dist/widget/ui/src/icons/index.d.ts +112 -0
- package/dist/widget/ui/src/icons/index.d.ts.map +1 -0
- package/dist/widget/ui/src/index.d.ts +8 -0
- package/dist/widget/ui/src/index.d.ts.map +1 -0
- package/dist/widget/ui/src/theme.d.ts +1672 -0
- package/dist/widget/ui/src/theme.d.ts.map +1 -0
- package/dist/widget/ui/src/types/index.d.ts +3 -0
- package/dist/widget/ui/src/types/index.d.ts.map +1 -0
- package/dist/widget/ui/src/types/swaps.d.ts +4 -0
- package/dist/widget/ui/src/types/swaps.d.ts.map +1 -0
- package/dist/widget/ui/src/types/wallet.d.ts +25 -0
- package/dist/widget/ui/src/types/wallet.d.ts.map +1 -0
- package/package.json +65 -0
- package/readme.md +8 -0
- package/src/components/Alert/Alert.helpers.ts +28 -0
- package/src/components/Alert/Alert.icon.tsx +28 -0
- package/src/components/Alert/Alert.styles.ts +172 -0
- package/src/components/Alert/Alert.tsx +71 -0
- package/src/components/Alert/Alert.types.ts +16 -0
- package/src/components/Alert/index.ts +2 -0
- package/src/components/BlockchainsChip/BlockchainsChip.styles.ts +45 -0
- package/src/components/BlockchainsChip/BlockchainsChip.tsx +15 -0
- package/src/components/BlockchainsChip/BlockchainsChip.types.ts +5 -0
- package/src/components/BlockchainsChip/index.ts +1 -0
- package/src/components/BottomLogo/BottomLogo.styles.ts +15 -0
- package/src/components/BottomLogo/BottomLogo.tsx +27 -0
- package/src/components/BottomLogo/index.ts +1 -0
- package/src/components/Button/Button.styles.tsx +564 -0
- package/src/components/Button/Button.tsx +52 -0
- package/src/components/Button/Button.types.tsx +28 -0
- package/src/components/Button/Ripple.tsx +82 -0
- package/src/components/Button/index.ts +2 -0
- package/src/components/ChainToken/ChainToken.constants.ts +13 -0
- package/src/components/ChainToken/ChainToken.styles.ts +68 -0
- package/src/components/ChainToken/ChainToken.tsx +84 -0
- package/src/components/ChainToken/ChainToken.types.ts +14 -0
- package/src/components/ChainToken/index.ts +2 -0
- package/src/components/Checkbox/Checkbox.styles.ts +47 -0
- package/src/components/Checkbox/Checkbox.tsx +36 -0
- package/src/components/Checkbox/Checkbox.types.ts +18 -0
- package/src/components/Checkbox/index.ts +2 -0
- package/src/components/Chip/Chip.styles.ts +41 -0
- package/src/components/Chip/Chip.tsx +23 -0
- package/src/components/Chip/Chip.types.ts +15 -0
- package/src/components/Chip/index.ts +2 -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 +2 -0
- package/src/components/CustomTokenWarning/CustomTokenWarning.styles.ts +30 -0
- package/src/components/CustomTokenWarning/CustomTokenWarning.tsx +44 -0
- package/src/components/CustomTokenWarning/CustomTokenWarning.types.ts +3 -0
- package/src/components/CustomTokenWarning/index.ts +1 -0
- package/src/components/Divider/Divider.styles.ts +203 -0
- package/src/components/Divider/Divider.tsx +15 -0
- package/src/components/Divider/Divider.types.ts +11 -0
- package/src/components/Divider/index.ts +1 -0
- package/src/components/Flags/Bengali.tsx +25 -0
- package/src/components/Flags/Catalonia.tsx +31 -0
- package/src/components/Flags/Chinese.tsx +28 -0
- package/src/components/Flags/Cyprus.tsx +32 -0
- package/src/components/Flags/Denmark.tsx +31 -0
- package/src/components/Flags/English.tsx +35 -0
- package/src/components/Flags/Finland.tsx +31 -0
- package/src/components/Flags/Flags.constants.ts +1 -0
- package/src/components/Flags/Flags.types.ts +3 -0
- package/src/components/Flags/French.tsx +26 -0
- package/src/components/Flags/German.tsx +26 -0
- package/src/components/Flags/Greece.tsx +31 -0
- package/src/components/Flags/Hindi.tsx +29 -0
- package/src/components/Flags/Hungary.tsx +29 -0
- package/src/components/Flags/India.tsx +29 -0
- package/src/components/Flags/Indonesian.tsx +25 -0
- package/src/components/Flags/Italian.tsx +26 -0
- package/src/components/Flags/Japanese.tsx +25 -0
- package/src/components/Flags/Korea.tsx +32 -0
- package/src/components/Flags/Lithuania.tsx +29 -0
- package/src/components/Flags/Malay.tsx +29 -0
- package/src/components/Flags/Netherlands.tsx +29 -0
- package/src/components/Flags/Pakistan.tsx +29 -0
- package/src/components/Flags/Philippines.tsx +30 -0
- package/src/components/Flags/Poland.tsx +25 -0
- package/src/components/Flags/Portuguese.tsx +34 -0
- package/src/components/Flags/Russian.tsx +26 -0
- package/src/components/Flags/SaudiArabia.tsx +29 -0
- package/src/components/Flags/Serbia.tsx +41 -0
- package/src/components/Flags/Slovakia.tsx +42 -0
- package/src/components/Flags/SouthAfrica.tsx +35 -0
- package/src/components/Flags/Spanish.tsx +85 -0
- package/src/components/Flags/Swahili.tsx +46 -0
- package/src/components/Flags/Swedish.tsx +31 -0
- package/src/components/Flags/Thai.tsx +32 -0
- package/src/components/Flags/Turkish.tsx +28 -0
- package/src/components/Flags/Ukrainian.tsx +25 -0
- package/src/components/Flags/Vietnamese.tsx +28 -0
- package/src/components/Flags/index.ts +77 -0
- package/src/components/FullExpandedQuote/FullExpandedQuote.Skeletons.tsx +65 -0
- package/src/components/FullExpandedQuote/FullExpandedQuote.TokenSection.tsx +61 -0
- package/src/components/FullExpandedQuote/FullExpandedQuote.Tooltip.tsx +101 -0
- package/src/components/FullExpandedQuote/FullExpandedQuote.helpers.ts +32 -0
- package/src/components/FullExpandedQuote/FullExpandedQuote.styles.ts +315 -0
- package/src/components/FullExpandedQuote/FullExpandedQuote.tsx +288 -0
- package/src/components/FullExpandedQuote/FullExpandedQuote.types.ts +58 -0
- package/src/components/FullExpandedQuote/index.ts +1 -0
- package/src/components/Header/Header.constants.ts +1 -0
- package/src/components/Header/Header.styles.ts +91 -0
- package/src/components/Header/Header.tsx +49 -0
- package/src/components/Header/Header.types.ts +5 -0
- package/src/components/Header/index.ts +2 -0
- package/src/components/I18nManager/I18nManager.tsx +113 -0
- package/src/components/I18nManager/index.ts +2 -0
- package/src/components/IconButton/IconButton.tsx +34 -0
- package/src/components/IconButton/IconButton.types.ts +14 -0
- package/src/components/IconButton/index.ts +2 -0
- package/src/components/List/List.styles.tsx +7 -0
- package/src/components/List/List.tsx +29 -0
- package/src/components/List/List.types.ts +13 -0
- package/src/components/List/index.ts +2 -0
- package/src/components/ListItem/ListItem.styles.ts +62 -0
- package/src/components/ListItem/ListItem.tsx +29 -0
- package/src/components/ListItem/ListItem.types.ts +13 -0
- package/src/components/ListItem/index.ts +2 -0
- package/src/components/ListItemButton/ListItemButton.styles.ts +36 -0
- package/src/components/ListItemButton/ListItemButton.tsx +31 -0
- package/src/components/ListItemButton/ListItemButton.types.ts +9 -0
- package/src/components/ListItemButton/index.ts +2 -0
- package/src/components/Logo/Logo.tsx +35 -0
- package/src/components/Logo/index.tsx +1 -0
- package/src/components/MessageBox/CollapsibleMessageBox.styles.tsx +33 -0
- package/src/components/MessageBox/CollapsibleMessageBox.tsx +38 -0
- package/src/components/MessageBox/CollapsibleMessageBox.types.tsx +11 -0
- package/src/components/MessageBox/DefaultMessageBox.tsx +45 -0
- package/src/components/MessageBox/MessageBox.styles.tsx +61 -0
- package/src/components/MessageBox/MessageBox.tsx +2 -0
- package/src/components/MessageBox/MessageBox.types.tsx +14 -0
- package/src/components/MessageBox/StatusIcon.tsx +28 -0
- package/src/components/MessageBox/index.ts +2 -0
- package/src/components/Modal/Modal.helpers.ts +4 -0
- package/src/components/Modal/Modal.styles.ts +128 -0
- package/src/components/Modal/Modal.tsx +163 -0
- package/src/components/Modal/Modal.types.ts +29 -0
- package/src/components/Modal/index.ts +3 -0
- package/src/components/NotFound/NotFound.styles.ts +15 -0
- package/src/components/NotFound/NotFound.tsx +29 -0
- package/src/components/NotFound/NotFound.types.ts +9 -0
- package/src/components/NotFound/index.tsx +2 -0
- package/src/components/Popover/Popover.styles.ts +22 -0
- package/src/components/Popover/Popover.tsx +61 -0
- package/src/components/Popover/Popover.types.ts +30 -0
- package/src/components/Popover/index.ts +2 -0
- package/src/components/PriceImpact/PriceImpact.styles.ts +43 -0
- package/src/components/PriceImpact/PriceImpact.tsx +72 -0
- package/src/components/PriceImpact/PriceImpact.types.ts +20 -0
- package/src/components/PriceImpact/index.ts +5 -0
- package/src/components/QuoteCost/QuoteCost.styles.ts +57 -0
- package/src/components/QuoteCost/QuoteCost.tsx +76 -0
- package/src/components/QuoteCost/QuoteCost.types.ts +10 -0
- package/src/components/QuoteCost/index.ts +1 -0
- package/src/components/QuoteTag/QuoteTag.styles.ts +44 -0
- package/src/components/QuoteTag/QuoteTag.tsx +19 -0
- package/src/components/QuoteTag/index.ts +1 -0
- package/src/components/Radio/Radio.styles.tsx +42 -0
- package/src/components/Radio/Radio.tsx +14 -0
- package/src/components/Radio/Radio.types.tsx +3 -0
- package/src/components/Radio/index.ts +2 -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 +3 -0
- package/src/components/RefreshProgressButton/RefreshProgressButton.styles.ts +28 -0
- package/src/components/RefreshProgressButton/RefreshProgressButton.tsx +70 -0
- package/src/components/RefreshProgressButton/index.ts +1 -0
- package/src/components/Select/Select.styles.ts +96 -0
- package/src/components/Select/Select.tsx +99 -0
- package/src/components/Select/Select.types.ts +20 -0
- package/src/components/Select/index.ts +2 -0
- package/src/components/SelectableCategoryList/SelectableCategoryList.helpers.ts +62 -0
- package/src/components/SelectableCategoryList/SelectableCategoryList.styles.ts +21 -0
- package/src/components/SelectableCategoryList/SelectableCategoryList.tsx +80 -0
- package/src/components/SelectableCategoryList/SelectableCategoryList.types.ts +16 -0
- package/src/components/SelectableCategoryList/index.ts +4 -0
- package/src/components/Skeleton/Skeleton.styles.ts +66 -0
- package/src/components/Skeleton/Skeleton.tsx +17 -0
- package/src/components/Skeleton/Skeleton.types.ts +20 -0
- package/src/components/Skeleton/index.ts +2 -0
- package/src/components/Spinner/Spinner.styles.ts +15 -0
- package/src/components/Spinner/Spinner.tsx +16 -0
- package/src/components/Spinner/Spinner.types.ts +9 -0
- package/src/components/Spinner/index.ts +2 -0
- package/src/components/StepDetails/StepDetails.styles.ts +180 -0
- package/src/components/StepDetails/StepDetails.tsx +215 -0
- package/src/components/StepDetails/StepDetails.types.ts +44 -0
- package/src/components/StepDetails/index.ts +2 -0
- package/src/components/SvgIcon/SvgIcon.style.ts +35 -0
- package/src/components/SvgIcon/SvgIcon.tsx +22 -0
- package/src/components/SvgIcon/SvgIcon.types.ts +16 -0
- package/src/components/SvgIcon/index.ts +5 -0
- package/src/components/SwapListItem/SwapListItem.helpers.ts +51 -0
- package/src/components/SwapListItem/SwapListItem.styles.ts +74 -0
- package/src/components/SwapListItem/SwapListItem.tsx +72 -0
- package/src/components/SwapListItem/SwapListItem.types.ts +53 -0
- package/src/components/SwapListItem/SwapToken.styles.ts +91 -0
- package/src/components/SwapListItem/SwapToken.tsx +223 -0
- package/src/components/SwapListItem/SwapToken.types.ts +15 -0
- package/src/components/SwapListItem/index.ts +5 -0
- package/src/components/Switch/Switch.styles.tsx +55 -0
- package/src/components/Switch/Switch.tsx +14 -0
- package/src/components/Switch/Switch.types.tsx +4 -0
- package/src/components/Switch/index.ts +2 -0
- package/src/components/Tabs/Tabs.styles.tsx +239 -0
- package/src/components/Tabs/Tabs.tsx +221 -0
- package/src/components/Tabs/Tabs.types.tsx +34 -0
- package/src/components/Tabs/index.ts +2 -0
- package/src/components/TextField/TextField.styles.ts +208 -0
- package/src/components/TextField/TextField.tsx +103 -0
- package/src/components/TextField/TextField.types.tsx +27 -0
- package/src/components/TextField/index.ts +2 -0
- package/src/components/Toast/Toast.Provider.tsx +129 -0
- package/src/components/Toast/Toast.helpers.ts +12 -0
- package/src/components/Toast/Toast.styles.ts +350 -0
- package/src/components/Toast/Toast.tsx +114 -0
- package/src/components/Toast/Toast.types.ts +33 -0
- package/src/components/Toast/index.ts +3 -0
- package/src/components/TokenAmount/TokenAmount.styles.ts +91 -0
- package/src/components/TokenAmount/TokenAmount.tsx +149 -0
- package/src/components/TokenAmount/TokenAmount.types.ts +22 -0
- package/src/components/TokenAmount/index.ts +1 -0
- package/src/components/Tooltip/NumericTooltip.tsx +16 -0
- package/src/components/Tooltip/NumericTooltip.types.tsx +6 -0
- package/src/components/Tooltip/Tooltip.styles.ts +24 -0
- package/src/components/Tooltip/Tooltip.tsx +54 -0
- package/src/components/Tooltip/Tooltip.types.ts +22 -0
- package/src/components/Tooltip/index.ts +4 -0
- package/src/components/Typography/NotSelectableTypography.ts +7 -0
- package/src/components/Typography/Typography.styles.tsx +206 -0
- package/src/components/Typography/Typography.tsx +30 -0
- package/src/components/Typography/Typography.types.tsx +18 -0
- package/src/components/Typography/index.ts +3 -0
- package/src/components/VirtualizedList/VirtualizedList.tsx +6 -0
- package/src/components/VirtualizedList/index.ts +1 -0
- package/src/components/Wallet/ClickableWallet.tsx +84 -0
- package/src/components/Wallet/SelectableWallet.tsx +59 -0
- package/src/components/Wallet/Wallet.helpers.ts +42 -0
- package/src/components/Wallet/Wallet.styles.ts +90 -0
- package/src/components/Wallet/Wallet.tsx +3 -0
- package/src/components/Wallet/Wallet.types.ts +57 -0
- package/src/components/Wallet/index.ts +7 -0
- package/src/components/common/Image.tsx +54 -0
- package/src/components/common/index.ts +1 -0
- package/src/components/common/styles.ts +35 -0
- package/src/components/index.ts +50 -0
- package/src/constants/index.ts +6 -0
- package/src/containers/ConnectWalletsModal/ConnectWalletsModal.styles.ts +8 -0
- package/src/containers/ConnectWalletsModal/ConnectWalletsModal.tsx +30 -0
- package/src/containers/ConnectWalletsModal/ConnectWalletsModal.types.ts +11 -0
- package/src/containers/ConnectWalletsModal/index.ts +2 -0
- package/src/containers/Notifications/NotificationNotFound.tsx +19 -0
- package/src/containers/Notifications/Notifications.styles.ts +82 -0
- package/src/containers/Notifications/Notifications.tsx +114 -0
- package/src/containers/Notifications/Notifications.types.ts +18 -0
- package/src/containers/Notifications/index.ts +1 -0
- package/src/containers/SwapInput/SwapInput.styles.ts +130 -0
- package/src/containers/SwapInput/SwapInput.tsx +162 -0
- package/src/containers/SwapInput/SwapInput.types.ts +49 -0
- package/src/containers/SwapInput/TokenSection.styles.ts +123 -0
- package/src/containers/SwapInput/TokenSection.tsx +124 -0
- package/src/containers/SwapInput/TokenSection.types.ts +14 -0
- package/src/containers/SwapInput/index.ts +2 -0
- package/src/containers/Warnings/BalanceErrors.tsx +40 -0
- package/src/containers/Warnings/index.ts +1 -0
- package/src/containers/index.ts +4 -0
- package/src/hooks/index.ts +2 -0
- package/src/hooks/useCopyToClipboard.ts +23 -0
- package/src/hooks/useIsTruncated.tsx +27 -0
- package/src/icons/Add.tsx +25 -0
- package/src/icons/Affiliate.tsx +21 -0
- package/src/icons/AutoTheme.tsx +45 -0
- package/src/icons/Autorenew.tsx +20 -0
- package/src/icons/BorderRadius.tsx +24 -0
- package/src/icons/Bridges.tsx +19 -0
- package/src/icons/BugReport.tsx +58 -0
- package/src/icons/Bullhorn.tsx +25 -0
- package/src/icons/Calendar.tsx +39 -0
- package/src/icons/Chains.tsx +19 -0
- package/src/icons/Chart.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/Colors.tsx +33 -0
- package/src/icons/Complete.tsx +19 -0
- package/src/icons/ContactUs.tsx +31 -0
- package/src/icons/Cookie.tsx +49 -0
- package/src/icons/Copy.tsx +19 -0
- package/src/icons/CosmosCategory.tsx +137 -0
- package/src/icons/CreditCard.tsx +23 -0
- package/src/icons/CustomColors.tsx +21 -0
- package/src/icons/CustomTokensZeroState.tsx +262 -0
- package/src/icons/CustomTokensZeroStateDark.tsx +415 -0
- package/src/icons/CustomerSupport.tsx +21 -0
- package/src/icons/DarkMode.tsx +21 -0
- package/src/icons/Delete.tsx +33 -0
- package/src/icons/Desktop.tsx +271 -0
- package/src/icons/Disconnect.tsx +26 -0
- package/src/icons/Discord.tsx +21 -0
- package/src/icons/Document.tsx +50 -0
- package/src/icons/Documentation.tsx +39 -0
- package/src/icons/Done.tsx +21 -0
- package/src/icons/Error.tsx +21 -0
- package/src/icons/EvmCategory.tsx +74 -0
- package/src/icons/Exchange.tsx +22 -0
- package/src/icons/Exit.tsx +20 -0
- package/src/icons/Explorer.tsx +20 -0
- package/src/icons/ExternalLink.tsx +21 -0
- package/src/icons/FeatureList.tsx +45 -0
- package/src/icons/Filter.tsx +21 -0
- package/src/icons/First.tsx +25 -0
- package/src/icons/Font.tsx +31 -0
- package/src/icons/Gas.tsx +39 -0
- package/src/icons/GasStation.tsx +21 -0
- package/src/icons/Height.tsx +24 -0
- package/src/icons/Hide.tsx +19 -0
- package/src/icons/InProgress.tsx +39 -0
- package/src/icons/Infinity.tsx +21 -0
- package/src/icons/Info.tsx +29 -0
- package/src/icons/InfoError.tsx +19 -0
- package/src/icons/Key.tsx +32 -0
- package/src/icons/Language.tsx +59 -0
- package/src/icons/Last.tsx +25 -0
- package/src/icons/Legacy.tsx +27 -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/Login.tsx +23 -0
- package/src/icons/LogoWithText.tsx +159 -0
- package/src/icons/Logout.tsx +28 -0
- package/src/icons/Medium.tsx +20 -0
- package/src/icons/Menu.tsx +36 -0
- package/src/icons/MoneyBag.tsx +25 -0
- package/src/icons/More.tsx +30 -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/NumberBlocks.tsx +56 -0
- package/src/icons/OtherCategory.tsx +72 -0
- package/src/icons/Paste.tsx +26 -0
- package/src/icons/Pencil.tsx +21 -0
- package/src/icons/Pin.tsx +31 -0
- package/src/icons/Profile.tsx +21 -0
- package/src/icons/RangoExplorer.tsx +40 -0
- package/src/icons/Rank.tsx +27 -0
- package/src/icons/Refresh.tsx +27 -0
- package/src/icons/Report.tsx +20 -0
- package/src/icons/Request.tsx +65 -0
- package/src/icons/Reverse.tsx +39 -0
- package/src/icons/ReverseHorizontal.tsx +21 -0
- package/src/icons/Route.tsx +33 -0
- package/src/icons/Scanner.tsx +27 -0
- package/src/icons/Score.tsx +39 -0
- package/src/icons/Search.tsx +27 -0
- package/src/icons/Settings.tsx +21 -0
- package/src/icons/Share.tsx +28 -0
- package/src/icons/Show.tsx +19 -0
- package/src/icons/Slippage.tsx +19 -0
- package/src/icons/Stats.tsx +28 -0
- package/src/icons/Style.tsx +43 -0
- package/src/icons/Support.tsx +40 -0
- package/src/icons/Swap.tsx +61 -0
- package/src/icons/Target.tsx +24 -0
- package/src/icons/Telegram.tsx +20 -0
- package/src/icons/Time.tsx +33 -0
- package/src/icons/Transaction.tsx +21 -0
- package/src/icons/Trophy.tsx +19 -0
- package/src/icons/Tune.tsx +51 -0
- package/src/icons/UtxoCategory.tsx +44 -0
- package/src/icons/Volume.tsx +26 -0
- package/src/icons/Wallet.tsx +33 -0
- package/src/icons/Warning.tsx +19 -0
- package/src/icons/Widget.tsx +24 -0
- package/src/icons/Width.tsx +29 -0
- package/src/icons/X.tsx +20 -0
- package/src/icons/index.ts +111 -0
- package/src/index.ts +7 -0
- package/src/theme.ts +242 -0
- package/src/types/index.ts +5 -0
- package/src/types/swaps.ts +7 -0
- package/src/types/wallet.ts +26 -0
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import * as Collapsible from '@radix-ui/react-collapsible';
|
|
2
|
+
|
|
3
|
+
import { keyframes, styled } from '../../theme.js';
|
|
4
|
+
|
|
5
|
+
const slideDown = keyframes({
|
|
6
|
+
from: {
|
|
7
|
+
height: 0,
|
|
8
|
+
},
|
|
9
|
+
to: {
|
|
10
|
+
height: 'var(--radix-collapsible-content-height)',
|
|
11
|
+
},
|
|
12
|
+
});
|
|
13
|
+
|
|
14
|
+
const slideUp = keyframes({
|
|
15
|
+
from: {
|
|
16
|
+
height: 'var(--radix-collapsible-content-height)',
|
|
17
|
+
},
|
|
18
|
+
to: {
|
|
19
|
+
height: 0,
|
|
20
|
+
},
|
|
21
|
+
});
|
|
22
|
+
|
|
23
|
+
export const CollapsibleContent = styled(Collapsible.Content, {
|
|
24
|
+
overflow: 'hidden',
|
|
25
|
+
variants: {
|
|
26
|
+
open: {
|
|
27
|
+
true: {
|
|
28
|
+
animation: `${slideDown} 300ms ease-out`,
|
|
29
|
+
},
|
|
30
|
+
false: {
|
|
31
|
+
animation: `${slideUp} 300ms ease-out`,
|
|
32
|
+
},
|
|
33
|
+
},
|
|
34
|
+
},
|
|
35
|
+
});
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
export * from './I18nManager/index.js';
|
|
2
|
+
export * from './Alert/index.js';
|
|
3
|
+
export * from './BlockchainsChip/index.js';
|
|
4
|
+
export * from './BottomLogo/index.js';
|
|
5
|
+
export * from './Button/index.js';
|
|
6
|
+
export * from './IconButton/index.js';
|
|
7
|
+
export * from './Collapsible/index.js';
|
|
8
|
+
export * from './Checkbox/index.js';
|
|
9
|
+
export * from './Chip/index.js';
|
|
10
|
+
export * from './common/index.js';
|
|
11
|
+
export * from './Divider/index.js';
|
|
12
|
+
export * from './FullExpandedQuote/index.js';
|
|
13
|
+
export * from './Header/index.js';
|
|
14
|
+
export * from './Modal/index.js';
|
|
15
|
+
export * from './MessageBox/index.js';
|
|
16
|
+
export * from './RadioGroup/index.js';
|
|
17
|
+
export * from './RefreshProgressButton/index.js';
|
|
18
|
+
export * from './SelectableCategoryList/index.js';
|
|
19
|
+
export * from './Spinner/index.js';
|
|
20
|
+
export * from './SwapListItem/index.js';
|
|
21
|
+
export * from './Switch/index.js';
|
|
22
|
+
export * from './TextField/index.js';
|
|
23
|
+
export * from './Toast/index.js';
|
|
24
|
+
export * from './Tooltip/index.js';
|
|
25
|
+
export * from './Typography/index.js';
|
|
26
|
+
export * from './Wallet/index.js';
|
|
27
|
+
export * from './Radio/index.js';
|
|
28
|
+
export * from './PriceImpact/index.js';
|
|
29
|
+
export * from './ChainToken/index.js';
|
|
30
|
+
export * from './Skeleton/index.js';
|
|
31
|
+
export * from './VirtualizedList/index.js';
|
|
32
|
+
export * from './ListItemButton/index.js';
|
|
33
|
+
export * from './List/index.js';
|
|
34
|
+
export * from './ListItem/index.js';
|
|
35
|
+
export * from './NotFound/index.js';
|
|
36
|
+
export * from './MessageBox/index.js';
|
|
37
|
+
export * from './IconButton/index.js';
|
|
38
|
+
export * from './QuoteCost/index.js';
|
|
39
|
+
export * from './TokenAmount/index.js';
|
|
40
|
+
export * from './StepDetails/index.js';
|
|
41
|
+
export * from './Popover/index.js';
|
|
42
|
+
export * from './Flags/index.js';
|
|
43
|
+
export * from './Select/index.js';
|
|
44
|
+
export * from './QuoteTag/index.js';
|
|
45
|
+
export * from './Tabs/index.js';
|
|
46
|
+
export * from './CustomTokenWarning/index.js';
|
|
47
|
+
export type {
|
|
48
|
+
SvgIconProps,
|
|
49
|
+
SvgIconPropsWithChildren,
|
|
50
|
+
} from './SvgIcon/index.js';
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export const UI_ID = {
|
|
2
|
+
SWAP_FROM_INPUT_CONTAINER_ID: 'rango-swap-from-input-container',
|
|
3
|
+
SWAP_TO_INPUT_CONTAINER_ID: 'rango-swap-to-input-container',
|
|
4
|
+
SWAP_FROM_CHAIN_IMAGE_ID: 'rango-swap-from-chain-image',
|
|
5
|
+
SWAP_TO_CHAIN_IMAGE_ID: 'rango-swap-to-chain-image',
|
|
6
|
+
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type { ConnectWalletsModalPropTypes } from './ConnectWalletsModal.types.js';
|
|
2
|
+
|
|
3
|
+
import { i18n } from '@lingui/core';
|
|
4
|
+
import React from 'react';
|
|
5
|
+
|
|
6
|
+
import { Modal, Wallet } from '../../components/index.js';
|
|
7
|
+
|
|
8
|
+
import { ModalContent } from './ConnectWalletsModal.styles.js';
|
|
9
|
+
|
|
10
|
+
export function ConnectWalletsModal(props: ConnectWalletsModalPropTypes) {
|
|
11
|
+
const { open, list, onSelect, onClose, id } = props;
|
|
12
|
+
|
|
13
|
+
return (
|
|
14
|
+
<Modal
|
|
15
|
+
title={i18n.t('Connect Wallets')}
|
|
16
|
+
open={open}
|
|
17
|
+
onClose={onClose}
|
|
18
|
+
id={id}
|
|
19
|
+
styles={{
|
|
20
|
+
container: { width: '75%', maxWidth: '30rem', height: '60%' },
|
|
21
|
+
}}
|
|
22
|
+
>
|
|
23
|
+
<ModalContent>
|
|
24
|
+
{list.map((info) => (
|
|
25
|
+
<Wallet {...info} key={info.title} onClick={onSelect} />
|
|
26
|
+
))}
|
|
27
|
+
</ModalContent>
|
|
28
|
+
</Modal>
|
|
29
|
+
);
|
|
30
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { WalletInfo } from '../../components/index.js';
|
|
2
|
+
import type { WalletType } from '@rango-dev/wallets-shared';
|
|
3
|
+
|
|
4
|
+
export interface ConnectWalletsModalPropTypes {
|
|
5
|
+
open: boolean;
|
|
6
|
+
list: WalletInfo[];
|
|
7
|
+
onSelect: (walletType: WalletType) => void;
|
|
8
|
+
id: string;
|
|
9
|
+
onClose: () => void;
|
|
10
|
+
error?: string;
|
|
11
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { i18n } from '@lingui/core';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
|
|
4
|
+
import { Divider, Typography } from '../../components/index.js';
|
|
5
|
+
import { NoNotificationIcon } from '../../icons/index.js';
|
|
6
|
+
|
|
7
|
+
import { NotFoundContainer } from './Notifications.styles.js';
|
|
8
|
+
|
|
9
|
+
export function NotificationNotFound() {
|
|
10
|
+
return (
|
|
11
|
+
<NotFoundContainer>
|
|
12
|
+
<NoNotificationIcon color="secondary" size={26} />
|
|
13
|
+
<Divider size={12} />
|
|
14
|
+
<Typography variant="body" size="medium" color="neutral700">
|
|
15
|
+
{i18n.t('There are no notifications.')}
|
|
16
|
+
</Typography>
|
|
17
|
+
</NotFoundContainer>
|
|
18
|
+
);
|
|
19
|
+
}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import { Button, ListItemButton } from '../../components/index.js';
|
|
2
|
+
import { darkTheme, styled } from '../../theme.js';
|
|
3
|
+
|
|
4
|
+
export const Container = styled('div', {
|
|
5
|
+
borderRadius: '$sm',
|
|
6
|
+
padding: '0 $10 $10 $10',
|
|
7
|
+
width: '350px',
|
|
8
|
+
maxWidth: '90vw',
|
|
9
|
+
minHeight: '150px',
|
|
10
|
+
maxHeight: '207px',
|
|
11
|
+
overflowY: 'auto',
|
|
12
|
+
background: 'inherit',
|
|
13
|
+
variants: {
|
|
14
|
+
equalPadding: {
|
|
15
|
+
true: {
|
|
16
|
+
padding: '$10',
|
|
17
|
+
},
|
|
18
|
+
},
|
|
19
|
+
},
|
|
20
|
+
});
|
|
21
|
+
|
|
22
|
+
export const Header = styled('div', {
|
|
23
|
+
padding: '$10 $10 0 $10',
|
|
24
|
+
display: 'flex',
|
|
25
|
+
justifyContent: 'space-between',
|
|
26
|
+
alignItems: 'center',
|
|
27
|
+
background: 'inherit',
|
|
28
|
+
position: 'sticky',
|
|
29
|
+
top: '0',
|
|
30
|
+
zIndex: 999,
|
|
31
|
+
});
|
|
32
|
+
|
|
33
|
+
export const ClearAllButton = styled(Button, {
|
|
34
|
+
padding: '$5 !important',
|
|
35
|
+
});
|
|
36
|
+
|
|
37
|
+
export const List = styled('ul', {
|
|
38
|
+
padding: 0,
|
|
39
|
+
margin: 0,
|
|
40
|
+
listStyle: 'none',
|
|
41
|
+
|
|
42
|
+
'.to-chain-token': {
|
|
43
|
+
transform: 'translateX(-3px)',
|
|
44
|
+
},
|
|
45
|
+
});
|
|
46
|
+
|
|
47
|
+
export const ListItem = styled(ListItemButton, {
|
|
48
|
+
variants: {
|
|
49
|
+
actionRequired: {
|
|
50
|
+
true: {
|
|
51
|
+
backgroundColor: '$error300',
|
|
52
|
+
[`.${darkTheme} &`]: {
|
|
53
|
+
backgroundColor: '$error600',
|
|
54
|
+
},
|
|
55
|
+
},
|
|
56
|
+
},
|
|
57
|
+
},
|
|
58
|
+
});
|
|
59
|
+
|
|
60
|
+
export const Images = styled('div', {
|
|
61
|
+
display: 'flex',
|
|
62
|
+
padding: '0 0 0 $5',
|
|
63
|
+
alignItems: 'center',
|
|
64
|
+
alignSelf: 'stretch',
|
|
65
|
+
});
|
|
66
|
+
|
|
67
|
+
export const NotFoundContainer = styled('div', {
|
|
68
|
+
display: 'flex',
|
|
69
|
+
justifyContent: 'center',
|
|
70
|
+
alignItems: 'center',
|
|
71
|
+
flexDirection: 'column',
|
|
72
|
+
padding: '$10',
|
|
73
|
+
width: '100%',
|
|
74
|
+
height: '150px',
|
|
75
|
+
});
|
|
76
|
+
|
|
77
|
+
export const IconContainer = styled('span', {
|
|
78
|
+
display: 'flex',
|
|
79
|
+
justifyContent: 'center',
|
|
80
|
+
alignItems: 'center',
|
|
81
|
+
paddingRight: '$8',
|
|
82
|
+
});
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
import type { PropTypes } from './Notifications.types.js';
|
|
2
|
+
|
|
3
|
+
import { i18n } from '@lingui/core';
|
|
4
|
+
import React from 'react';
|
|
5
|
+
|
|
6
|
+
import { ChainToken, Divider, Typography } from '../../components/index.js';
|
|
7
|
+
import { ChevronRightIcon } from '../../icons/index.js';
|
|
8
|
+
|
|
9
|
+
import { NotificationNotFound } from './NotificationNotFound.js';
|
|
10
|
+
import {
|
|
11
|
+
ClearAllButton,
|
|
12
|
+
Container,
|
|
13
|
+
Header,
|
|
14
|
+
IconContainer,
|
|
15
|
+
Images,
|
|
16
|
+
List,
|
|
17
|
+
ListItem,
|
|
18
|
+
} from './Notifications.styles.js';
|
|
19
|
+
|
|
20
|
+
export function Notifications(props: PropTypes) {
|
|
21
|
+
const {
|
|
22
|
+
list,
|
|
23
|
+
getBlockchainImage,
|
|
24
|
+
getTokenImage,
|
|
25
|
+
onClickItem,
|
|
26
|
+
onClearAll,
|
|
27
|
+
containerStyles,
|
|
28
|
+
id,
|
|
29
|
+
} = props;
|
|
30
|
+
return (
|
|
31
|
+
<Container equalPadding={list.length === 0} css={containerStyles}>
|
|
32
|
+
{list.length > 0 && (
|
|
33
|
+
<>
|
|
34
|
+
<Header>
|
|
35
|
+
<Typography variant="label" size="medium">
|
|
36
|
+
{i18n.t('Notifications')}
|
|
37
|
+
</Typography>
|
|
38
|
+
<ClearAllButton
|
|
39
|
+
id={`${id}-clear-all-btn`}
|
|
40
|
+
variant="ghost"
|
|
41
|
+
size="xsmall"
|
|
42
|
+
onClick={onClearAll}>
|
|
43
|
+
<Typography variant="body" size="xsmall" color="neutral700">
|
|
44
|
+
{i18n.t('Clear all')}
|
|
45
|
+
</Typography>
|
|
46
|
+
</ClearAllButton>
|
|
47
|
+
</Header>
|
|
48
|
+
<Divider direction="vertical" size={4} />
|
|
49
|
+
</>
|
|
50
|
+
)}
|
|
51
|
+
{list.length ? (
|
|
52
|
+
<List>
|
|
53
|
+
{list.map((notificationItem, index) => {
|
|
54
|
+
const { route, requestId, event } = notificationItem;
|
|
55
|
+
const fromTokenImage = getTokenImage(route.from);
|
|
56
|
+
|
|
57
|
+
const fromBlockchainImage = getBlockchainImage(
|
|
58
|
+
route.from.blockchain
|
|
59
|
+
);
|
|
60
|
+
|
|
61
|
+
const toTokenImage = getTokenImage(route.to);
|
|
62
|
+
|
|
63
|
+
const toBlockchainImage = getBlockchainImage(route.to.blockchain);
|
|
64
|
+
|
|
65
|
+
return (
|
|
66
|
+
<React.Fragment key={requestId}>
|
|
67
|
+
{index > 0 && <Divider size={4} />}
|
|
68
|
+
<ListItem
|
|
69
|
+
className={`${id}-list-item`}
|
|
70
|
+
onClick={() => onClickItem(requestId)}
|
|
71
|
+
actionRequired={event.messageSeverity === 'warning'}
|
|
72
|
+
title={
|
|
73
|
+
<Typography
|
|
74
|
+
variant="body"
|
|
75
|
+
size="small"
|
|
76
|
+
color={
|
|
77
|
+
event.messageSeverity === 'warning'
|
|
78
|
+
? '$foreground'
|
|
79
|
+
: '$neutral700'
|
|
80
|
+
}>
|
|
81
|
+
{i18n.t(event.message)}
|
|
82
|
+
</Typography>
|
|
83
|
+
}
|
|
84
|
+
id={requestId}
|
|
85
|
+
start={
|
|
86
|
+
<Images>
|
|
87
|
+
<ChainToken
|
|
88
|
+
tokenImage={fromTokenImage}
|
|
89
|
+
chainImage={fromBlockchainImage}
|
|
90
|
+
size="small"
|
|
91
|
+
/>
|
|
92
|
+
<ChainToken
|
|
93
|
+
tokenImage={toTokenImage}
|
|
94
|
+
chainImage={toBlockchainImage}
|
|
95
|
+
size="small"
|
|
96
|
+
/>
|
|
97
|
+
</Images>
|
|
98
|
+
}
|
|
99
|
+
end={
|
|
100
|
+
<IconContainer>
|
|
101
|
+
<ChevronRightIcon size={12} color="gray" />
|
|
102
|
+
</IconContainer>
|
|
103
|
+
}
|
|
104
|
+
/>
|
|
105
|
+
</React.Fragment>
|
|
106
|
+
);
|
|
107
|
+
})}
|
|
108
|
+
</List>
|
|
109
|
+
) : (
|
|
110
|
+
<NotificationNotFound />
|
|
111
|
+
)}
|
|
112
|
+
</Container>
|
|
113
|
+
);
|
|
114
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { CSS } from '../../theme.js';
|
|
2
|
+
import type { Asset } from 'rango-types';
|
|
3
|
+
|
|
4
|
+
type Notification = {
|
|
5
|
+
route: { from: Asset; to: Asset };
|
|
6
|
+
event: { messageSeverity: string; message: string };
|
|
7
|
+
requestId: string;
|
|
8
|
+
};
|
|
9
|
+
|
|
10
|
+
export type PropTypes = {
|
|
11
|
+
list: Notification[];
|
|
12
|
+
id: string;
|
|
13
|
+
getBlockchainImage: (blockchain: string) => string | undefined;
|
|
14
|
+
getTokenImage: (token: Asset) => string | undefined;
|
|
15
|
+
onClickItem: (requestId: string) => void;
|
|
16
|
+
onClearAll: () => void;
|
|
17
|
+
containerStyles?: CSS;
|
|
18
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Notifications.js';
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
import { Button, TextField, Typography } from '../../components/index.js';
|
|
2
|
+
import { css, darkTheme, styled } from '../../theme.js';
|
|
3
|
+
|
|
4
|
+
export const textStyles = css();
|
|
5
|
+
|
|
6
|
+
export const Container = styled('div', {
|
|
7
|
+
$$color: '$colors$neutral100',
|
|
8
|
+
[`.${darkTheme} &`]: {
|
|
9
|
+
$$color: '$colors$neutral300',
|
|
10
|
+
},
|
|
11
|
+
backgroundColor: '$$color',
|
|
12
|
+
borderRadius: '$xm',
|
|
13
|
+
padding: '$15',
|
|
14
|
+
variants: {
|
|
15
|
+
sharpBottomStyle: {
|
|
16
|
+
true: {
|
|
17
|
+
borderBottomLeftRadius: '$0',
|
|
18
|
+
borderBottomRightRadius: '$0',
|
|
19
|
+
},
|
|
20
|
+
},
|
|
21
|
+
},
|
|
22
|
+
[`& .${textStyles}`]: {
|
|
23
|
+
$$color: '$colors$neutral600',
|
|
24
|
+
[`.${darkTheme} &`]: {
|
|
25
|
+
$$color: '$colors$neutral700',
|
|
26
|
+
},
|
|
27
|
+
color: '$$color',
|
|
28
|
+
},
|
|
29
|
+
'& ._text-field': {
|
|
30
|
+
'& input': {
|
|
31
|
+
padding: 0,
|
|
32
|
+
},
|
|
33
|
+
},
|
|
34
|
+
});
|
|
35
|
+
|
|
36
|
+
export const InputAmount = styled(TextField, {
|
|
37
|
+
width: '100%',
|
|
38
|
+
fontSize: '$18',
|
|
39
|
+
lineHeight: '$26',
|
|
40
|
+
fontWeight: '$medium',
|
|
41
|
+
textAlign: 'right',
|
|
42
|
+
'&:disabled': {
|
|
43
|
+
cursor: 'unset',
|
|
44
|
+
},
|
|
45
|
+
});
|
|
46
|
+
export const MaxButton = styled(Button, {
|
|
47
|
+
$$color: '$colors$secondary200',
|
|
48
|
+
[`.${darkTheme} &`]: {
|
|
49
|
+
$$color: '$colors$secondary800',
|
|
50
|
+
},
|
|
51
|
+
backgroundColor: '$$color',
|
|
52
|
+
'& ._typography': {
|
|
53
|
+
color: '$colors$secondary500',
|
|
54
|
+
[`.${darkTheme} &`]: {
|
|
55
|
+
color: '$colors$secondary250',
|
|
56
|
+
},
|
|
57
|
+
},
|
|
58
|
+
});
|
|
59
|
+
|
|
60
|
+
export const ValueTypography = styled('div', {
|
|
61
|
+
display: 'flex',
|
|
62
|
+
width: '100%',
|
|
63
|
+
textAlign: 'right',
|
|
64
|
+
whiteSpace: 'nowrap',
|
|
65
|
+
overflow: 'hidden',
|
|
66
|
+
textOverflow: 'ellipsis',
|
|
67
|
+
variants: {
|
|
68
|
+
hasWarning: {
|
|
69
|
+
true: {
|
|
70
|
+
'& ._typography': {
|
|
71
|
+
color: '$warning500',
|
|
72
|
+
},
|
|
73
|
+
},
|
|
74
|
+
false: {
|
|
75
|
+
'& ._typography': {
|
|
76
|
+
$$color: '$colors$neutral600',
|
|
77
|
+
[`.${darkTheme} &`]: {
|
|
78
|
+
$$color: '$colors$neutral700',
|
|
79
|
+
},
|
|
80
|
+
color: '$$color',
|
|
81
|
+
},
|
|
82
|
+
},
|
|
83
|
+
},
|
|
84
|
+
},
|
|
85
|
+
});
|
|
86
|
+
|
|
87
|
+
export const formStyles = css({
|
|
88
|
+
display: 'flex',
|
|
89
|
+
justifyContent: 'space-between',
|
|
90
|
+
alignItems: 'center',
|
|
91
|
+
});
|
|
92
|
+
|
|
93
|
+
export const TokenSectionContainer = styled('div', {
|
|
94
|
+
width: '60%',
|
|
95
|
+
});
|
|
96
|
+
|
|
97
|
+
export const labelStyles = css({
|
|
98
|
+
display: 'flex',
|
|
99
|
+
justifyContent: 'space-between',
|
|
100
|
+
alignItems: 'center',
|
|
101
|
+
});
|
|
102
|
+
|
|
103
|
+
export const balanceStyles = css({
|
|
104
|
+
display: 'flex',
|
|
105
|
+
justifyContent: 'center',
|
|
106
|
+
alignItems: 'center',
|
|
107
|
+
});
|
|
108
|
+
|
|
109
|
+
export const amountStyles = css({
|
|
110
|
+
width: '48%',
|
|
111
|
+
maxWidth: '170px',
|
|
112
|
+
display: 'flex',
|
|
113
|
+
flexDirection: 'column',
|
|
114
|
+
justifyContent: 'center',
|
|
115
|
+
alignItems: 'end',
|
|
116
|
+
flexGrow: 1,
|
|
117
|
+
});
|
|
118
|
+
|
|
119
|
+
export const labelContainerStyles = css({
|
|
120
|
+
paddingBottom: '$5',
|
|
121
|
+
});
|
|
122
|
+
|
|
123
|
+
export const UsdPrice = styled(Typography, {
|
|
124
|
+
width: '100%',
|
|
125
|
+
textAlign: 'right',
|
|
126
|
+
whiteSpace: 'nowrap',
|
|
127
|
+
overflow: 'hidden',
|
|
128
|
+
textOverflow: 'ellipsis',
|
|
129
|
+
maxWidth: 147,
|
|
130
|
+
});
|
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
import type { SwapInputPropTypes } from './SwapInput.types.js';
|
|
2
|
+
|
|
3
|
+
import { i18n } from '@lingui/core';
|
|
4
|
+
import React from 'react';
|
|
5
|
+
|
|
6
|
+
import {
|
|
7
|
+
Divider,
|
|
8
|
+
NumericTooltip,
|
|
9
|
+
PriceImpact,
|
|
10
|
+
Skeleton,
|
|
11
|
+
Typography,
|
|
12
|
+
} from '../../components/index.js';
|
|
13
|
+
import { UI_ID } from '../../constants/index.js';
|
|
14
|
+
|
|
15
|
+
import {
|
|
16
|
+
amountStyles,
|
|
17
|
+
balanceStyles,
|
|
18
|
+
Container,
|
|
19
|
+
formStyles,
|
|
20
|
+
InputAmount,
|
|
21
|
+
labelContainerStyles,
|
|
22
|
+
labelStyles,
|
|
23
|
+
MaxButton,
|
|
24
|
+
textStyles,
|
|
25
|
+
TokenSectionContainer,
|
|
26
|
+
} from './SwapInput.styles.js';
|
|
27
|
+
import { TokenSection } from './TokenSection.js';
|
|
28
|
+
|
|
29
|
+
export function SwapInput(props: SwapInputPropTypes) {
|
|
30
|
+
const showBalance =
|
|
31
|
+
'balance' in props &&
|
|
32
|
+
!props.loading &&
|
|
33
|
+
!props.loadingBalance &&
|
|
34
|
+
props.token.displayName &&
|
|
35
|
+
props.anyWalletConnected;
|
|
36
|
+
|
|
37
|
+
const showBalanceSkeleton =
|
|
38
|
+
'balance' in props && (props.loading || props.loadingBalance);
|
|
39
|
+
const price = props.price;
|
|
40
|
+
|
|
41
|
+
return (
|
|
42
|
+
<Container
|
|
43
|
+
id={
|
|
44
|
+
props.mode === 'To'
|
|
45
|
+
? UI_ID.SWAP_TO_INPUT_CONTAINER_ID
|
|
46
|
+
: UI_ID.SWAP_FROM_INPUT_CONTAINER_ID
|
|
47
|
+
}
|
|
48
|
+
sharpBottomStyle={props.sharpBottomStyle}>
|
|
49
|
+
<div className={labelContainerStyles()}>
|
|
50
|
+
<div className={labelStyles()}>
|
|
51
|
+
<Typography variant="body" size="small" className={textStyles()}>
|
|
52
|
+
{props.label}
|
|
53
|
+
</Typography>
|
|
54
|
+
{showBalance && (
|
|
55
|
+
<div className={balanceStyles()}>
|
|
56
|
+
<Typography className={textStyles()} variant="body" size="xsmall">
|
|
57
|
+
{i18n.t('Balance')}: {props.balance}
|
|
58
|
+
</Typography>
|
|
59
|
+
<Divider direction="horizontal" size={4} />
|
|
60
|
+
<MaxButton
|
|
61
|
+
variant="default"
|
|
62
|
+
size="xsmall"
|
|
63
|
+
id={`${props.id}-max-btn`}
|
|
64
|
+
onClick={props.onSelectMaxBalance}>
|
|
65
|
+
<Typography variant="body" size="xsmall">
|
|
66
|
+
{i18n.t('Max')}
|
|
67
|
+
</Typography>
|
|
68
|
+
</MaxButton>
|
|
69
|
+
</div>
|
|
70
|
+
)}
|
|
71
|
+
{showBalanceSkeleton && (
|
|
72
|
+
<div className={balanceStyles()}>
|
|
73
|
+
<Skeleton variant="text" size="large" width={105} />
|
|
74
|
+
</div>
|
|
75
|
+
)}
|
|
76
|
+
</div>
|
|
77
|
+
</div>
|
|
78
|
+
<div className={formStyles()}>
|
|
79
|
+
<TokenSectionContainer>
|
|
80
|
+
<TokenSection
|
|
81
|
+
id={`${props.id}-token-selection-container`}
|
|
82
|
+
selectionType={props.selectionType}
|
|
83
|
+
chain={props.chain.displayName}
|
|
84
|
+
chianImageId={
|
|
85
|
+
props.mode === 'To'
|
|
86
|
+
? UI_ID.SWAP_TO_CHAIN_IMAGE_ID
|
|
87
|
+
: UI_ID.SWAP_FROM_CHAIN_IMAGE_ID
|
|
88
|
+
}
|
|
89
|
+
tokenSymbol={props.token.displayName}
|
|
90
|
+
error={props.error}
|
|
91
|
+
chainImage={props.chain.image}
|
|
92
|
+
tokenImage={props.token.image}
|
|
93
|
+
onClick={props.onClickToken}
|
|
94
|
+
loading={props.loading}
|
|
95
|
+
warning={props.token.securityWarning}
|
|
96
|
+
tooltipContainer={props.tooltipContainer}
|
|
97
|
+
/>
|
|
98
|
+
</TokenSectionContainer>
|
|
99
|
+
<div className={amountStyles()}>
|
|
100
|
+
{props.loading || (props.mode === 'To' && props.fetchingQuote) ? (
|
|
101
|
+
<>
|
|
102
|
+
<Skeleton variant="text" size="large" />
|
|
103
|
+
<Divider size={8} />
|
|
104
|
+
<Skeleton variant="text" size="medium" />
|
|
105
|
+
</>
|
|
106
|
+
) : (
|
|
107
|
+
<>
|
|
108
|
+
<NumericTooltip
|
|
109
|
+
align="end"
|
|
110
|
+
content={price.realValue}
|
|
111
|
+
container={props.tooltipContainer}
|
|
112
|
+
open={
|
|
113
|
+
!price.realValue || price.realValue === '0'
|
|
114
|
+
? false
|
|
115
|
+
: undefined
|
|
116
|
+
}>
|
|
117
|
+
<InputAmount
|
|
118
|
+
disabled={props.disabled || props.mode === 'To'}
|
|
119
|
+
style={{ padding: 0 }}
|
|
120
|
+
value={price.value}
|
|
121
|
+
id={`${props.id}-input`}
|
|
122
|
+
type={'onInputChange' in props ? 'number' : 'text'}
|
|
123
|
+
step="any"
|
|
124
|
+
size="large"
|
|
125
|
+
placeholder="0"
|
|
126
|
+
variant="ghost"
|
|
127
|
+
{...('onInputBlur' in props && {
|
|
128
|
+
onBlur: (event: React.ChangeEvent<HTMLInputElement>) =>
|
|
129
|
+
props.onInputBlur?.(event.target.value),
|
|
130
|
+
})}
|
|
131
|
+
min={0}
|
|
132
|
+
{...('onInputChange' in props && {
|
|
133
|
+
onChange: (event: React.ChangeEvent<HTMLInputElement>) =>
|
|
134
|
+
props.onInputChange(event.target.value),
|
|
135
|
+
})}
|
|
136
|
+
/>
|
|
137
|
+
</NumericTooltip>
|
|
138
|
+
<PriceImpact
|
|
139
|
+
size="medium"
|
|
140
|
+
tooltipProps={{
|
|
141
|
+
container: props.tooltipContainer,
|
|
142
|
+
side: 'bottom',
|
|
143
|
+
}}
|
|
144
|
+
outputUsdValue={price.usdValue}
|
|
145
|
+
realOutputUsdValue={price.realUsdValue}
|
|
146
|
+
percentageChange={
|
|
147
|
+
'percentageChange' in props
|
|
148
|
+
? props.percentageChange
|
|
149
|
+
: undefined
|
|
150
|
+
}
|
|
151
|
+
warningLevel={
|
|
152
|
+
'percentageChange' in props ? props.warningLevel : undefined
|
|
153
|
+
}
|
|
154
|
+
error={price.error}
|
|
155
|
+
/>
|
|
156
|
+
</>
|
|
157
|
+
)}
|
|
158
|
+
</div>
|
|
159
|
+
</div>
|
|
160
|
+
</Container>
|
|
161
|
+
);
|
|
162
|
+
}
|