@rango-dev/ui 0.33.1-next.1 → 0.33.1-next.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/dist/index.js.map +4 -4
- package/dist/widget/ui/src/components/Button/Button.types.d.ts +1 -1
- package/dist/widget/ui/src/components/Button/Button.types.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Button/index.d.ts +1 -0
- package/dist/widget/ui/src/components/Button/index.d.ts.map +1 -1
- package/dist/widget/ui/src/components/ChainToken/ChainToken.constants.d.ts +2 -2
- package/dist/widget/ui/src/components/ChainToken/ChainToken.constants.d.ts.map +1 -1
- package/dist/widget/ui/src/components/ChainToken/ChainToken.d.ts +2 -2
- package/dist/widget/ui/src/components/ChainToken/ChainToken.d.ts.map +1 -1
- package/dist/widget/ui/src/components/ChainToken/ChainToken.types.d.ts +1 -1
- package/dist/widget/ui/src/components/ChainToken/ChainToken.types.d.ts.map +1 -1
- package/dist/widget/ui/src/components/ChainToken/index.d.ts +1 -0
- package/dist/widget/ui/src/components/ChainToken/index.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Checkbox/Checkbox.d.ts +2 -2
- package/dist/widget/ui/src/components/Checkbox/Checkbox.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Checkbox/Checkbox.types.d.ts +1 -1
- package/dist/widget/ui/src/components/Checkbox/Checkbox.types.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Checkbox/index.d.ts +1 -0
- package/dist/widget/ui/src/components/Checkbox/index.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Chip/Chip.d.ts +2 -2
- package/dist/widget/ui/src/components/Chip/Chip.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Chip/Chip.types.d.ts +1 -1
- package/dist/widget/ui/src/components/Chip/Chip.types.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Chip/index.d.ts +1 -0
- package/dist/widget/ui/src/components/Chip/index.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Collapsible/Collapsible.d.ts +2 -2
- package/dist/widget/ui/src/components/Collapsible/Collapsible.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Collapsible/Collapsible.types.d.ts +1 -1
- package/dist/widget/ui/src/components/Collapsible/Collapsible.types.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Collapsible/index.d.ts +1 -0
- package/dist/widget/ui/src/components/Collapsible/index.d.ts.map +1 -1
- package/dist/widget/ui/src/components/FullExpandedQuote/FullExpandedQuote.types.d.ts +7 -7
- package/dist/widget/ui/src/components/FullExpandedQuote/FullExpandedQuote.types.d.ts.map +1 -1
- package/dist/widget/ui/src/components/IconButton/IconButton.d.ts +2 -2
- package/dist/widget/ui/src/components/IconButton/IconButton.d.ts.map +1 -1
- package/dist/widget/ui/src/components/IconButton/IconButton.types.d.ts +2 -2
- package/dist/widget/ui/src/components/IconButton/IconButton.types.d.ts.map +1 -1
- package/dist/widget/ui/src/components/IconButton/index.d.ts +1 -0
- package/dist/widget/ui/src/components/IconButton/index.d.ts.map +1 -1
- package/dist/widget/ui/src/components/List/List.types.d.ts +2 -2
- package/dist/widget/ui/src/components/List/List.types.d.ts.map +1 -1
- package/dist/widget/ui/src/components/ListItem/ListItem.d.ts +2 -2
- package/dist/widget/ui/src/components/ListItem/ListItem.d.ts.map +1 -1
- package/dist/widget/ui/src/components/ListItem/ListItem.types.d.ts +1 -1
- package/dist/widget/ui/src/components/ListItem/ListItem.types.d.ts.map +1 -1
- package/dist/widget/ui/src/components/ListItem/index.d.ts +1 -1
- package/dist/widget/ui/src/components/ListItem/index.d.ts.map +1 -1
- package/dist/widget/ui/src/components/ListItemButton/ListItemButton.types.d.ts +2 -2
- package/dist/widget/ui/src/components/ListItemButton/ListItemButton.types.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Modal/Modal.d.ts +2 -2
- package/dist/widget/ui/src/components/Modal/Modal.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Modal/Modal.types.d.ts +1 -1
- package/dist/widget/ui/src/components/Modal/Modal.types.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Modal/index.d.ts +1 -1
- package/dist/widget/ui/src/components/Modal/index.d.ts.map +1 -1
- package/dist/widget/ui/src/components/NotFound/NotFound.d.ts +2 -2
- package/dist/widget/ui/src/components/NotFound/NotFound.d.ts.map +1 -1
- package/dist/widget/ui/src/components/NotFound/NotFound.types.d.ts +1 -1
- package/dist/widget/ui/src/components/NotFound/NotFound.types.d.ts.map +1 -1
- package/dist/widget/ui/src/components/NotFound/index.d.ts +1 -0
- package/dist/widget/ui/src/components/NotFound/index.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Popover/Popover.d.ts +2 -2
- package/dist/widget/ui/src/components/Popover/Popover.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Popover/Popover.types.d.ts +1 -1
- package/dist/widget/ui/src/components/Popover/Popover.types.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Popover/index.d.ts +1 -0
- package/dist/widget/ui/src/components/Popover/index.d.ts.map +1 -1
- package/dist/widget/ui/src/components/PriceImpact/PriceImpact.d.ts +2 -2
- package/dist/widget/ui/src/components/PriceImpact/PriceImpact.d.ts.map +1 -1
- package/dist/widget/ui/src/components/PriceImpact/PriceImpact.types.d.ts +2 -2
- package/dist/widget/ui/src/components/PriceImpact/PriceImpact.types.d.ts.map +1 -1
- package/dist/widget/ui/src/components/PriceImpact/index.d.ts +1 -1
- package/dist/widget/ui/src/components/PriceImpact/index.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Radio/Radio.d.ts +2 -2
- package/dist/widget/ui/src/components/Radio/Radio.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Radio/Radio.types.d.ts +1 -1
- package/dist/widget/ui/src/components/Radio/Radio.types.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Radio/index.d.ts +1 -0
- package/dist/widget/ui/src/components/Radio/index.d.ts.map +1 -1
- package/dist/widget/ui/src/components/RadioGroup/RadioGroup.d.ts +2 -2
- package/dist/widget/ui/src/components/RadioGroup/RadioGroup.d.ts.map +1 -1
- package/dist/widget/ui/src/components/RadioGroup/RadioGroup.types.d.ts +4 -4
- package/dist/widget/ui/src/components/RadioGroup/RadioGroup.types.d.ts.map +1 -1
- package/dist/widget/ui/src/components/RadioGroup/index.d.ts +1 -0
- package/dist/widget/ui/src/components/RadioGroup/index.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Select/Select.d.ts +2 -2
- package/dist/widget/ui/src/components/Select/Select.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Select/Select.types.d.ts +1 -1
- package/dist/widget/ui/src/components/Select/Select.types.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Select/index.d.ts +1 -0
- package/dist/widget/ui/src/components/Select/index.d.ts.map +1 -1
- package/dist/widget/ui/src/components/SelectableCategoryList/SelectableCategoryList.d.ts +2 -2
- package/dist/widget/ui/src/components/SelectableCategoryList/SelectableCategoryList.d.ts.map +1 -1
- package/dist/widget/ui/src/components/SelectableCategoryList/SelectableCategoryList.types.d.ts +1 -1
- package/dist/widget/ui/src/components/SelectableCategoryList/SelectableCategoryList.types.d.ts.map +1 -1
- package/dist/widget/ui/src/components/SelectableCategoryList/index.d.ts +1 -0
- package/dist/widget/ui/src/components/SelectableCategoryList/index.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Skeleton/Skeleton.d.ts +2 -2
- package/dist/widget/ui/src/components/Skeleton/Skeleton.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Skeleton/Skeleton.types.d.ts +1 -1
- package/dist/widget/ui/src/components/Skeleton/Skeleton.types.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Skeleton/index.d.ts +1 -0
- package/dist/widget/ui/src/components/Skeleton/index.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Spinner/Spinner.d.ts +2 -2
- package/dist/widget/ui/src/components/Spinner/Spinner.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Spinner/Spinner.types.d.ts +1 -1
- package/dist/widget/ui/src/components/Spinner/Spinner.types.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Spinner/index.d.ts +1 -0
- package/dist/widget/ui/src/components/Spinner/index.d.ts.map +1 -1
- package/dist/widget/ui/src/components/StepDetails/StepDetails.types.d.ts +3 -3
- package/dist/widget/ui/src/components/StepDetails/StepDetails.types.d.ts.map +1 -1
- package/dist/widget/ui/src/components/SwapListItem/SwapListItem.d.ts +2 -2
- package/dist/widget/ui/src/components/SwapListItem/SwapListItem.d.ts.map +1 -1
- package/dist/widget/ui/src/components/SwapListItem/SwapListItem.types.d.ts +1 -1
- package/dist/widget/ui/src/components/SwapListItem/SwapListItem.types.d.ts.map +1 -1
- package/dist/widget/ui/src/components/SwapListItem/index.d.ts +1 -0
- package/dist/widget/ui/src/components/SwapListItem/index.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Switch/Switch.d.ts +2 -2
- package/dist/widget/ui/src/components/Switch/Switch.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Switch/Switch.types.d.ts +1 -1
- package/dist/widget/ui/src/components/Switch/Switch.types.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Switch/index.d.ts +1 -0
- package/dist/widget/ui/src/components/Switch/index.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Tabs/Tabs.d.ts +2 -2
- package/dist/widget/ui/src/components/Tabs/Tabs.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Tabs/Tabs.types.d.ts +1 -1
- package/dist/widget/ui/src/components/Tabs/Tabs.types.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Tabs/index.d.ts +1 -0
- package/dist/widget/ui/src/components/Tabs/index.d.ts.map +1 -1
- package/dist/widget/ui/src/components/TextField/TextField.d.ts.map +1 -1
- package/dist/widget/ui/src/components/TextField/TextField.types.d.ts +3 -3
- package/dist/widget/ui/src/components/TextField/TextField.types.d.ts.map +1 -1
- package/dist/widget/ui/src/components/TextField/index.d.ts +1 -0
- package/dist/widget/ui/src/components/TextField/index.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Toast/Toast.Provider.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Toast/Toast.d.ts +2 -2
- package/dist/widget/ui/src/components/Toast/Toast.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Toast/Toast.styles.d.ts +0 -162
- package/dist/widget/ui/src/components/Toast/Toast.styles.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Toast/Toast.types.d.ts +1 -1
- package/dist/widget/ui/src/components/Toast/Toast.types.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Toast/index.d.ts +1 -0
- package/dist/widget/ui/src/components/Toast/index.d.ts.map +1 -1
- package/dist/widget/ui/src/components/TokenAmount/TokenAmount.types.d.ts +5 -5
- package/dist/widget/ui/src/components/TokenAmount/TokenAmount.types.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Tooltip/Tooltip.d.ts +2 -2
- package/dist/widget/ui/src/components/Tooltip/Tooltip.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Tooltip/Tooltip.types.d.ts +1 -1
- package/dist/widget/ui/src/components/Tooltip/Tooltip.types.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Tooltip/index.d.ts +1 -0
- package/dist/widget/ui/src/components/Tooltip/index.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Typography/Typography.d.ts +2 -2
- package/dist/widget/ui/src/components/Typography/Typography.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Typography/Typography.types.d.ts +1 -1
- package/dist/widget/ui/src/components/Typography/Typography.types.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Typography/index.d.ts +1 -1
- package/dist/widget/ui/src/components/Typography/index.d.ts.map +1 -1
- package/dist/widget/ui/src/components/index.d.ts +1 -1
- package/dist/widget/ui/src/components/index.d.ts.map +1 -1
- package/dist/widget/ui/src/containers/ConnectWalletsModal/ConnectWalletsModal.d.ts +2 -10
- package/dist/widget/ui/src/containers/ConnectWalletsModal/ConnectWalletsModal.d.ts.map +1 -1
- package/dist/widget/ui/src/{components/Tabs/Tabs.stories.d.ts → containers/ConnectWalletsModal/ConnectWalletsModal.styles.d.ts} +2 -7
- 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 +10 -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 +1 -0
- package/dist/widget/ui/src/containers/ConnectWalletsModal/index.d.ts.map +1 -1
- package/dist/widget/ui/src/containers/ConnectWalletsModal/mockData.d.ts.map +1 -1
- package/dist/widget/ui/src/containers/SwapInput/SwapInput.d.ts +2 -2
- package/dist/widget/ui/src/containers/SwapInput/SwapInput.d.ts.map +1 -1
- package/dist/widget/ui/src/containers/SwapInput/SwapInput.types.d.ts +1 -1
- package/dist/widget/ui/src/containers/SwapInput/SwapInput.types.d.ts.map +1 -1
- package/dist/widget/ui/src/containers/SwapInput/index.d.ts +1 -0
- package/dist/widget/ui/src/containers/SwapInput/index.d.ts.map +1 -1
- package/package.json +4 -15
- package/src/components/Button/Button.tsx +2 -2
- package/src/components/Button/Button.types.tsx +1 -1
- package/src/components/Button/index.ts +1 -0
- package/src/components/ChainToken/ChainToken.constants.ts +2 -2
- package/src/components/ChainToken/ChainToken.tsx +2 -2
- package/src/components/ChainToken/ChainToken.types.ts +1 -1
- package/src/components/ChainToken/index.ts +1 -0
- package/src/components/Checkbox/Checkbox.tsx +2 -2
- package/src/components/Checkbox/Checkbox.types.ts +2 -1
- package/src/components/Checkbox/index.ts +1 -0
- package/src/components/Chip/Chip.tsx +2 -2
- package/src/components/Chip/Chip.types.ts +1 -1
- package/src/components/Chip/index.ts +1 -0
- package/src/components/Collapsible/Collapsible.tsx +2 -2
- package/src/components/Collapsible/Collapsible.types.ts +1 -1
- package/src/components/Collapsible/index.ts +1 -0
- package/src/components/FullExpandedQuote/FullExpandedQuote.types.ts +7 -7
- package/src/components/IconButton/IconButton.tsx +2 -2
- package/src/components/IconButton/IconButton.types.ts +2 -2
- package/src/components/IconButton/index.ts +1 -0
- package/src/components/List/List.types.ts +2 -2
- package/src/components/ListItem/ListItem.tsx +2 -2
- package/src/components/ListItem/ListItem.types.ts +1 -1
- package/src/components/ListItem/index.ts +1 -1
- package/src/components/ListItemButton/ListItemButton.types.ts +2 -2
- package/src/components/Modal/Modal.tsx +2 -2
- package/src/components/Modal/Modal.types.ts +1 -1
- package/src/components/Modal/index.ts +1 -1
- package/src/components/NotFound/NotFound.tsx +2 -2
- package/src/components/NotFound/NotFound.types.ts +1 -1
- package/src/components/NotFound/index.tsx +1 -0
- package/src/components/Popover/Popover.tsx +2 -2
- package/src/components/Popover/Popover.types.ts +1 -1
- package/src/components/Popover/index.ts +1 -0
- package/src/components/PriceImpact/PriceImpact.tsx +2 -2
- package/src/components/PriceImpact/PriceImpact.types.ts +2 -2
- package/src/components/PriceImpact/index.ts +4 -1
- package/src/components/Radio/Radio.tsx +2 -2
- package/src/components/Radio/Radio.types.tsx +1 -1
- package/src/components/Radio/index.ts +1 -0
- package/src/components/RadioGroup/RadioGroup.tsx +2 -2
- package/src/components/RadioGroup/RadioGroup.types.tsx +4 -4
- package/src/components/RadioGroup/index.ts +1 -0
- package/src/components/Select/Select.tsx +2 -2
- package/src/components/Select/Select.types.ts +1 -1
- package/src/components/Select/index.ts +1 -0
- package/src/components/SelectableCategoryList/SelectableCategoryList.tsx +2 -2
- package/src/components/SelectableCategoryList/SelectableCategoryList.types.ts +1 -1
- package/src/components/SelectableCategoryList/index.ts +1 -0
- package/src/components/Skeleton/Skeleton.tsx +2 -2
- package/src/components/Skeleton/Skeleton.types.ts +1 -1
- package/src/components/Skeleton/index.ts +1 -0
- package/src/components/Spinner/Spinner.tsx +2 -2
- package/src/components/Spinner/Spinner.types.ts +1 -1
- package/src/components/Spinner/index.ts +1 -0
- package/src/components/StepDetails/StepDetails.types.ts +3 -3
- package/src/components/SwapListItem/SwapListItem.tsx +2 -2
- package/src/components/SwapListItem/SwapListItem.types.ts +1 -1
- package/src/components/SwapListItem/index.ts +4 -0
- package/src/components/Switch/Switch.tsx +2 -2
- package/src/components/Switch/Switch.types.tsx +1 -1
- package/src/components/Switch/index.ts +1 -0
- package/src/components/Tabs/Tabs.tsx +2 -2
- package/src/components/Tabs/Tabs.types.tsx +1 -1
- package/src/components/Tabs/index.ts +1 -0
- package/src/components/TextField/TextField.tsx +5 -2
- package/src/components/TextField/TextField.types.tsx +3 -3
- package/src/components/TextField/index.ts +1 -0
- package/src/components/Toast/Toast.Provider.tsx +12 -8
- package/src/components/Toast/Toast.styles.ts +0 -5
- package/src/components/Toast/Toast.tsx +2 -2
- package/src/components/Toast/Toast.types.ts +1 -1
- package/src/components/Toast/index.ts +1 -0
- package/src/components/TokenAmount/TokenAmount.types.ts +5 -5
- package/src/components/Tooltip/Tooltip.tsx +2 -2
- package/src/components/Tooltip/Tooltip.types.ts +1 -1
- package/src/components/Tooltip/index.ts +1 -0
- package/src/components/Typography/Typography.tsx +2 -2
- package/src/components/Typography/Typography.types.tsx +1 -1
- package/src/components/Typography/index.ts +1 -1
- package/src/components/index.ts +1 -1
- package/src/containers/ConnectWalletsModal/ConnectWalletsModal.styles.ts +8 -0
- package/src/containers/ConnectWalletsModal/ConnectWalletsModal.tsx +3 -18
- package/src/containers/ConnectWalletsModal/ConnectWalletsModal.types.ts +10 -0
- package/src/containers/ConnectWalletsModal/index.ts +1 -0
- package/src/containers/ConnectWalletsModal/mockData.ts +32 -16
- package/src/containers/SwapInput/SwapInput.tsx +2 -2
- package/src/containers/SwapInput/SwapInput.types.ts +1 -1
- package/src/containers/SwapInput/index.ts +1 -0
- package/dist/widget/ui/src/components/Alert/Alert.stories.d.ts +0 -9
- package/dist/widget/ui/src/components/Alert/Alert.stories.d.ts.map +0 -1
- package/dist/widget/ui/src/components/Button/Button.stories.d.ts +0 -10
- package/dist/widget/ui/src/components/Button/Button.stories.d.ts.map +0 -1
- package/dist/widget/ui/src/components/ChainToken/ChainToken.stories.d.ts +0 -8
- package/dist/widget/ui/src/components/ChainToken/ChainToken.stories.d.ts.map +0 -1
- package/dist/widget/ui/src/components/Checkbox/Checkbox.stories.d.ts +0 -8
- package/dist/widget/ui/src/components/Checkbox/Checkbox.stories.d.ts.map +0 -1
- package/dist/widget/ui/src/components/Chip/Chip.stories.d.ts +0 -32
- package/dist/widget/ui/src/components/Chip/Chip.stories.d.ts.map +0 -1
- package/dist/widget/ui/src/components/Collapsible/Collapsible.stories.d.ts +0 -22
- package/dist/widget/ui/src/components/Collapsible/Collapsible.stories.d.ts.map +0 -1
- package/dist/widget/ui/src/components/Flags/flags.stories.d.ts +0 -6
- package/dist/widget/ui/src/components/Flags/flags.stories.d.ts.map +0 -1
- package/dist/widget/ui/src/components/FullExpandedQuote/FullExpandedQuote.stories.d.ts +0 -7
- package/dist/widget/ui/src/components/FullExpandedQuote/FullExpandedQuote.stories.d.ts.map +0 -1
- package/dist/widget/ui/src/components/FullExpandedQuote/mock.d.ts +0 -7
- package/dist/widget/ui/src/components/FullExpandedQuote/mock.d.ts.map +0 -1
- package/dist/widget/ui/src/components/IconButton/IconButton.stories.d.ts +0 -8
- package/dist/widget/ui/src/components/IconButton/IconButton.stories.d.ts.map +0 -1
- package/dist/widget/ui/src/components/List/List.stories.d.ts +0 -12
- package/dist/widget/ui/src/components/List/List.stories.d.ts.map +0 -1
- package/dist/widget/ui/src/components/MessageBox/CollapsibleMessageBox.stories.d.ts +0 -7
- package/dist/widget/ui/src/components/MessageBox/CollapsibleMessageBox.stories.d.ts.map +0 -1
- package/dist/widget/ui/src/components/MessageBox/MessageBox.stories.d.ts +0 -7
- package/dist/widget/ui/src/components/MessageBox/MessageBox.stories.d.ts.map +0 -1
- package/dist/widget/ui/src/components/Modal/Modal.stories.d.ts +0 -8
- package/dist/widget/ui/src/components/Modal/Modal.stories.d.ts.map +0 -1
- package/dist/widget/ui/src/components/NotFound/NotFound.stories.d.ts +0 -6
- package/dist/widget/ui/src/components/NotFound/NotFound.stories.d.ts.map +0 -1
- package/dist/widget/ui/src/components/Popover/Popover.stories.d.ts +0 -10
- package/dist/widget/ui/src/components/Popover/Popover.stories.d.ts.map +0 -1
- package/dist/widget/ui/src/components/PriceImpact/PriceImpact.stories.d.ts +0 -8
- package/dist/widget/ui/src/components/PriceImpact/PriceImpact.stories.d.ts.map +0 -1
- package/dist/widget/ui/src/components/Radio/Radio.stories.d.ts +0 -6
- package/dist/widget/ui/src/components/Radio/Radio.stories.d.ts.map +0 -1
- package/dist/widget/ui/src/components/RadioGroup/RadioGroup.stories.d.ts +0 -6
- package/dist/widget/ui/src/components/RadioGroup/RadioGroup.stories.d.ts.map +0 -1
- package/dist/widget/ui/src/components/RefreshProgressButton/RefreshProgressButton.stories.d.ts +0 -12
- package/dist/widget/ui/src/components/RefreshProgressButton/RefreshProgressButton.stories.d.ts.map +0 -1
- package/dist/widget/ui/src/components/Select/Select.stories.d.ts +0 -6
- package/dist/widget/ui/src/components/Select/Select.stories.d.ts.map +0 -1
- package/dist/widget/ui/src/components/SelectableCategoryList/SelectableCategoryList.stories.d.ts +0 -6
- package/dist/widget/ui/src/components/SelectableCategoryList/SelectableCategoryList.stories.d.ts.map +0 -1
- package/dist/widget/ui/src/components/SelectableCategoryList/mock.d.ts +0 -139
- package/dist/widget/ui/src/components/SelectableCategoryList/mock.d.ts.map +0 -1
- package/dist/widget/ui/src/components/Skeleton/Skeleton.stories.d.ts +0 -6
- package/dist/widget/ui/src/components/Skeleton/Skeleton.stories.d.ts.map +0 -1
- package/dist/widget/ui/src/components/Spinner/Spinner.stories.d.ts +0 -6
- package/dist/widget/ui/src/components/Spinner/Spinner.stories.d.ts.map +0 -1
- package/dist/widget/ui/src/components/StepDetails/StepDetails.stories.d.ts +0 -7
- package/dist/widget/ui/src/components/StepDetails/StepDetails.stories.d.ts.map +0 -1
- package/dist/widget/ui/src/components/StepDetails/mock.d.ts +0 -3
- package/dist/widget/ui/src/components/StepDetails/mock.d.ts.map +0 -1
- package/dist/widget/ui/src/components/SwapListItem/SwapListItem.stories.d.ts +0 -6
- package/dist/widget/ui/src/components/SwapListItem/SwapListItem.stories.d.ts.map +0 -1
- package/dist/widget/ui/src/components/SwapListItem/mock.d.ts +0 -5
- package/dist/widget/ui/src/components/SwapListItem/mock.d.ts.map +0 -1
- package/dist/widget/ui/src/components/Switch/Switch.stories.d.ts +0 -6
- package/dist/widget/ui/src/components/Switch/Switch.stories.d.ts.map +0 -1
- package/dist/widget/ui/src/components/Tabs/Tabs.stories.d.ts.map +0 -1
- package/dist/widget/ui/src/components/Tabs/mock.d.ts +0 -7
- package/dist/widget/ui/src/components/Tabs/mock.d.ts.map +0 -1
- package/dist/widget/ui/src/components/TextField/TextField.stories.d.ts +0 -18
- package/dist/widget/ui/src/components/TextField/TextField.stories.d.ts.map +0 -1
- package/dist/widget/ui/src/components/Toast/Toast.stories.d.ts +0 -8
- package/dist/widget/ui/src/components/Toast/Toast.stories.d.ts.map +0 -1
- package/dist/widget/ui/src/components/TokenAmount/TokenAmount.stories.d.ts +0 -7
- package/dist/widget/ui/src/components/TokenAmount/TokenAmount.stories.d.ts.map +0 -1
- package/dist/widget/ui/src/components/Tooltip/Tooltip.stories.d.ts +0 -8
- package/dist/widget/ui/src/components/Tooltip/Tooltip.stories.d.ts.map +0 -1
- package/dist/widget/ui/src/components/Typography/Typography.stories.d.ts +0 -33
- package/dist/widget/ui/src/components/Typography/Typography.stories.d.ts.map +0 -1
- package/dist/widget/ui/src/components/Wallet/ClickableWallet.stories.d.ts +0 -7
- package/dist/widget/ui/src/components/Wallet/ClickableWallet.stories.d.ts.map +0 -1
- package/dist/widget/ui/src/components/Wallet/SelectableWallet.stories.d.ts +0 -7
- package/dist/widget/ui/src/components/Wallet/SelectableWallet.stories.d.ts.map +0 -1
- package/dist/widget/ui/src/containers/ConnectWalletsModal/ConnectWallets.stories.d.ts +0 -6
- package/dist/widget/ui/src/containers/ConnectWalletsModal/ConnectWallets.stories.d.ts.map +0 -1
- package/dist/widget/ui/src/containers/SwapInput/SwapInput.stories.d.ts +0 -9
- package/dist/widget/ui/src/containers/SwapInput/SwapInput.stories.d.ts.map +0 -1
- package/dist/widget/ui/src/icons/Icons.stories.d.ts +0 -6
- package/dist/widget/ui/src/icons/Icons.stories.d.ts.map +0 -1
- package/src/components/Alert/Alert.stories.tsx +0 -47
- package/src/components/Button/Button.stories.tsx +0 -36
- package/src/components/ChainToken/ChainToken.stories.tsx +0 -20
- package/src/components/Checkbox/Checkbox.stories.tsx +0 -33
- package/src/components/Chip/Chip.stories.tsx +0 -54
- package/src/components/Collapsible/Collapsible.stories.tsx +0 -47
- package/src/components/Flags/flags.stories.tsx +0 -67
- package/src/components/FullExpandedQuote/FullExpandedQuote.stories.tsx +0 -29
- package/src/components/FullExpandedQuote/mock.tsx +0 -449
- package/src/components/IconButton/IconButton.stories.tsx +0 -20
- package/src/components/List/List.stories.tsx +0 -181
- package/src/components/MessageBox/CollapsibleMessageBox.stories.tsx +0 -27
- package/src/components/MessageBox/MessageBox.stories.tsx +0 -18
- package/src/components/Modal/Modal.stories.tsx +0 -33
- package/src/components/NotFound/NotFound.stories.tsx +0 -17
- package/src/components/Popover/Popover.stories.tsx +0 -63
- package/src/components/PriceImpact/PriceImpact.stories.tsx +0 -21
- package/src/components/Radio/Radio.stories.tsx +0 -21
- package/src/components/RadioGroup/RadioGroup.stories.tsx +0 -31
- package/src/components/RefreshProgressButton/RefreshProgressButton.stories.tsx +0 -20
- package/src/components/Select/Select.stories.tsx +0 -41
- package/src/components/SelectableCategoryList/SelectableCategoryList.stories.tsx +0 -27
- package/src/components/SelectableCategoryList/mock.ts +0 -235
- package/src/components/Skeleton/Skeleton.stories.tsx +0 -52
- package/src/components/Spinner/Spinner.stories.tsx +0 -33
- package/src/components/StepDetails/StepDetails.stories.tsx +0 -23
- package/src/components/StepDetails/mock.ts +0 -35
- package/src/components/SwapListItem/SwapListItem.stories.tsx +0 -32
- package/src/components/SwapListItem/mock.ts +0 -321
- package/src/components/Switch/Switch.stories.tsx +0 -12
- package/src/components/Tabs/Tabs.stories.tsx +0 -40
- package/src/components/Tabs/mock.tsx +0 -34
- package/src/components/TextField/TextField.stories.tsx +0 -40
- package/src/components/Toast/Toast.stories.tsx +0 -68
- package/src/components/TokenAmount/TokenAmount.stories.tsx +0 -24
- package/src/components/Tooltip/Tooltip.stories.tsx +0 -43
- package/src/components/Typography/Typography.stories.tsx +0 -125
- package/src/components/Wallet/ClickableWallet.stories.tsx +0 -23
- package/src/components/Wallet/SelectableWallet.stories.tsx +0 -23
- package/src/containers/ConnectWalletsModal/ConnectWallets.stories.tsx +0 -24
- package/src/containers/SwapInput/SwapInput.stories.tsx +0 -40
- package/src/icons/Icons.stories.tsx +0 -68
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import type { PropTypes } from './ChainToken.types';
|
|
2
|
-
import type { Meta } from '@storybook/react';
|
|
3
|
-
|
|
4
|
-
import React from 'react';
|
|
5
|
-
|
|
6
|
-
import { ChainToken } from './ChainToken';
|
|
7
|
-
|
|
8
|
-
const meta: Meta<typeof ChainToken> = {
|
|
9
|
-
title: 'Components/Chain Token',
|
|
10
|
-
component: ChainToken,
|
|
11
|
-
args: {
|
|
12
|
-
chainImage: 'https://api.rango.exchange/blockchains/bsc.svg',
|
|
13
|
-
tokenImage: 'https://api.rango.exchange/tokens/ETH/BNB.png',
|
|
14
|
-
size: 'medium',
|
|
15
|
-
},
|
|
16
|
-
};
|
|
17
|
-
|
|
18
|
-
export default meta;
|
|
19
|
-
|
|
20
|
-
export const Main = (args: PropTypes) => <ChainToken {...args} />;
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import type { PropTypes } from './Checkbox.types';
|
|
2
|
-
import type { Meta } from '@storybook/react';
|
|
3
|
-
|
|
4
|
-
import React from 'react';
|
|
5
|
-
|
|
6
|
-
import { Checkbox } from './Checkbox';
|
|
7
|
-
|
|
8
|
-
const meta: Meta<typeof Checkbox> = {
|
|
9
|
-
title: 'Components/Checkbox',
|
|
10
|
-
component: Checkbox,
|
|
11
|
-
args: {
|
|
12
|
-
label: 'I am a checkbox',
|
|
13
|
-
defaultChecked: true,
|
|
14
|
-
},
|
|
15
|
-
argTypes: {
|
|
16
|
-
label: {
|
|
17
|
-
name: 'label',
|
|
18
|
-
control: { type: 'text' },
|
|
19
|
-
defaultValue: 'I am a checkbox',
|
|
20
|
-
},
|
|
21
|
-
defaultChecked: {
|
|
22
|
-
name: 'defaultChecked',
|
|
23
|
-
control: { type: 'boolean' },
|
|
24
|
-
defaultValue: true,
|
|
25
|
-
},
|
|
26
|
-
},
|
|
27
|
-
};
|
|
28
|
-
|
|
29
|
-
export default meta;
|
|
30
|
-
|
|
31
|
-
export const Main = (props: PropTypes) => (
|
|
32
|
-
<Checkbox id="test" label="My checkbox" {...props} />
|
|
33
|
-
);
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
import type { PropTypes } from './Chip.types';
|
|
2
|
-
|
|
3
|
-
import React from 'react';
|
|
4
|
-
|
|
5
|
-
import { Chip } from './Chip';
|
|
6
|
-
|
|
7
|
-
export default {
|
|
8
|
-
title: 'Components/Chip',
|
|
9
|
-
component: Chip,
|
|
10
|
-
args: {
|
|
11
|
-
label: 'chip',
|
|
12
|
-
selected: true,
|
|
13
|
-
},
|
|
14
|
-
argTypes: {
|
|
15
|
-
label: {
|
|
16
|
-
name: 'label',
|
|
17
|
-
defaultValue: 'chip',
|
|
18
|
-
control: {
|
|
19
|
-
type: 'text',
|
|
20
|
-
},
|
|
21
|
-
},
|
|
22
|
-
selected: {
|
|
23
|
-
name: 'selected',
|
|
24
|
-
control: { type: 'boolean' },
|
|
25
|
-
defaultValue: true,
|
|
26
|
-
},
|
|
27
|
-
},
|
|
28
|
-
};
|
|
29
|
-
|
|
30
|
-
export const Main = (args: PropTypes) => <Chip {...args} />;
|
|
31
|
-
|
|
32
|
-
export const ChipWithPrefix = (args: PropTypes) => (
|
|
33
|
-
<Chip
|
|
34
|
-
{...args}
|
|
35
|
-
prefix={
|
|
36
|
-
<img
|
|
37
|
-
src="https://api.rango.exchange/blockchains/binance.svg"
|
|
38
|
-
style={{ width: '20px' }}
|
|
39
|
-
/>
|
|
40
|
-
}
|
|
41
|
-
/>
|
|
42
|
-
);
|
|
43
|
-
|
|
44
|
-
export const ChipWithSuffix = (args: PropTypes) => (
|
|
45
|
-
<Chip
|
|
46
|
-
{...args}
|
|
47
|
-
suffix={
|
|
48
|
-
<img
|
|
49
|
-
src=" https://api.rango.exchange/blockchains/binance.svg"
|
|
50
|
-
style={{ width: '20px' }}
|
|
51
|
-
/>
|
|
52
|
-
}
|
|
53
|
-
/>
|
|
54
|
-
);
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import type { CollapsibleProps } from './Collapsible.types';
|
|
2
|
-
|
|
3
|
-
import React, { useState } from 'react';
|
|
4
|
-
|
|
5
|
-
import { ChevronDownIcon } from '../../icons';
|
|
6
|
-
import { Button } from '../Button';
|
|
7
|
-
import { Typography } from '../Typography';
|
|
8
|
-
|
|
9
|
-
import { CollapsibleComponent as Collapsible } from './Collapsible';
|
|
10
|
-
|
|
11
|
-
export default {
|
|
12
|
-
title: 'Components/Collapsible',
|
|
13
|
-
component: Collapsible,
|
|
14
|
-
args: {
|
|
15
|
-
open: false,
|
|
16
|
-
},
|
|
17
|
-
argTypes: {
|
|
18
|
-
open: {
|
|
19
|
-
name: 'open',
|
|
20
|
-
defaultValue: false,
|
|
21
|
-
control: { type: 'boolean' },
|
|
22
|
-
},
|
|
23
|
-
},
|
|
24
|
-
};
|
|
25
|
-
|
|
26
|
-
export const Main = (args: CollapsibleProps) => {
|
|
27
|
-
const [open, setOpen] = useState<boolean>(false);
|
|
28
|
-
|
|
29
|
-
return (
|
|
30
|
-
<Collapsible
|
|
31
|
-
{...args}
|
|
32
|
-
trigger={
|
|
33
|
-
<Button onClick={() => setOpen(!open)}>
|
|
34
|
-
<Typography size="medium" variant="title">
|
|
35
|
-
Trigger
|
|
36
|
-
</Typography>
|
|
37
|
-
<ChevronDownIcon size={10} color="gray" />
|
|
38
|
-
</Button>
|
|
39
|
-
}
|
|
40
|
-
open={open || args.open}
|
|
41
|
-
onOpenChange={() => setOpen(!open)}>
|
|
42
|
-
<Typography size="medium" variant="title">
|
|
43
|
-
Content
|
|
44
|
-
</Typography>
|
|
45
|
-
</Collapsible>
|
|
46
|
-
);
|
|
47
|
-
};
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
import type { Meta } from '@storybook/react';
|
|
2
|
-
|
|
3
|
-
import React from 'react';
|
|
4
|
-
|
|
5
|
-
import { styled } from '../../theme';
|
|
6
|
-
import { Typography } from '../Typography';
|
|
7
|
-
|
|
8
|
-
import * as Flags from '.';
|
|
9
|
-
|
|
10
|
-
export default {
|
|
11
|
-
title: 'Components/Flags',
|
|
12
|
-
component: Flags.English,
|
|
13
|
-
args: {
|
|
14
|
-
size: 16,
|
|
15
|
-
color: 'black',
|
|
16
|
-
},
|
|
17
|
-
argTypes: {
|
|
18
|
-
color: {
|
|
19
|
-
name: 'color',
|
|
20
|
-
control: { type: 'select' },
|
|
21
|
-
options: [
|
|
22
|
-
'primary',
|
|
23
|
-
'secondary',
|
|
24
|
-
'error',
|
|
25
|
-
'warning',
|
|
26
|
-
'success',
|
|
27
|
-
'black',
|
|
28
|
-
'white',
|
|
29
|
-
'gray',
|
|
30
|
-
'info',
|
|
31
|
-
],
|
|
32
|
-
},
|
|
33
|
-
|
|
34
|
-
size: {
|
|
35
|
-
name: 'size',
|
|
36
|
-
control: { type: 'select' },
|
|
37
|
-
// eslint-disable-next-line @typescript-eslint/no-magic-numbers
|
|
38
|
-
options: [16, 18, 20, 24, 28, 32, 36, 40],
|
|
39
|
-
defaultValue: 16,
|
|
40
|
-
},
|
|
41
|
-
},
|
|
42
|
-
} as Meta<any>;
|
|
43
|
-
|
|
44
|
-
const Container = styled('div', {
|
|
45
|
-
display: 'grid',
|
|
46
|
-
gridTemplateColumns: 'auto auto auto auto auto',
|
|
47
|
-
gap: 15,
|
|
48
|
-
});
|
|
49
|
-
|
|
50
|
-
export const Main = (props: Flags.FlagPropTypes) => (
|
|
51
|
-
<Container>
|
|
52
|
-
{Object.keys(Flags).map((icon) => {
|
|
53
|
-
// eslint-disable-next-line
|
|
54
|
-
// @ts-ignore
|
|
55
|
-
const Component = Flags[icon];
|
|
56
|
-
return (
|
|
57
|
-
<div key={icon}>
|
|
58
|
-
<Component {...props} />
|
|
59
|
-
<div />
|
|
60
|
-
<Typography variant="label" size="medium">
|
|
61
|
-
{icon}
|
|
62
|
-
</Typography>
|
|
63
|
-
</div>
|
|
64
|
-
);
|
|
65
|
-
})}
|
|
66
|
-
</Container>
|
|
67
|
-
);
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
-
|
|
3
|
-
import { FullExpandedQuote } from './FullExpandedQuote';
|
|
4
|
-
import { steps, tags } from './mock';
|
|
5
|
-
|
|
6
|
-
const meta: Meta<typeof FullExpandedQuote> = {
|
|
7
|
-
component: FullExpandedQuote,
|
|
8
|
-
};
|
|
9
|
-
|
|
10
|
-
export default meta;
|
|
11
|
-
type Story = StoryObj<typeof FullExpandedQuote>;
|
|
12
|
-
|
|
13
|
-
export const Main: Story = {
|
|
14
|
-
args: {
|
|
15
|
-
steps,
|
|
16
|
-
tags,
|
|
17
|
-
time: '11:30',
|
|
18
|
-
fee: '16.46',
|
|
19
|
-
warningLevel: 'low',
|
|
20
|
-
percentageChange: '10',
|
|
21
|
-
outputPrice: {
|
|
22
|
-
realValue: '2.87978979879',
|
|
23
|
-
realUsdValue: '23.65484879797',
|
|
24
|
-
value: '2.5556484',
|
|
25
|
-
usdValue: '23.564464',
|
|
26
|
-
},
|
|
27
|
-
selected: false,
|
|
28
|
-
},
|
|
29
|
-
};
|
|
@@ -1,449 +0,0 @@
|
|
|
1
|
-
import type { Step } from '../StepDetails/StepDetails.types';
|
|
2
|
-
|
|
3
|
-
import React from 'react';
|
|
4
|
-
|
|
5
|
-
import { Alert } from '../Alert';
|
|
6
|
-
|
|
7
|
-
export const steps: Step[] = [
|
|
8
|
-
{
|
|
9
|
-
swapper: {
|
|
10
|
-
displayName: 'AllBridge',
|
|
11
|
-
image:
|
|
12
|
-
'https://raw.githubusercontent.com/rango-exchange/assets/main/swappers/AllBridge/icon.svg',
|
|
13
|
-
},
|
|
14
|
-
from: {
|
|
15
|
-
token: {
|
|
16
|
-
displayName: 'USDC',
|
|
17
|
-
image: 'https://rango.vip/i/mh9zko',
|
|
18
|
-
},
|
|
19
|
-
chain: {
|
|
20
|
-
displayName: 'Polygon',
|
|
21
|
-
image:
|
|
22
|
-
'https://raw.githubusercontent.com/rango-exchange/assets/main/blockchains/POLYGON/icon.svg',
|
|
23
|
-
},
|
|
24
|
-
price: {
|
|
25
|
-
value: '1.00000000',
|
|
26
|
-
realValue: '5.5',
|
|
27
|
-
},
|
|
28
|
-
},
|
|
29
|
-
to: {
|
|
30
|
-
token: {
|
|
31
|
-
displayName: 'AVAX',
|
|
32
|
-
image: 'https://api.rango.exchange/tokens/AVAX/AVAX.png',
|
|
33
|
-
},
|
|
34
|
-
chain: {
|
|
35
|
-
displayName: 'Avax',
|
|
36
|
-
image:
|
|
37
|
-
'https://raw.githubusercontent.com/rango-exchange/assets/main/blockchains/AVAX_CCHAIN/icon.svg',
|
|
38
|
-
},
|
|
39
|
-
price: {
|
|
40
|
-
value: '1.00000000',
|
|
41
|
-
realValue: '5.5',
|
|
42
|
-
},
|
|
43
|
-
},
|
|
44
|
-
internalSwaps: [
|
|
45
|
-
{
|
|
46
|
-
from: {
|
|
47
|
-
chain: {
|
|
48
|
-
displayName: 'BSC',
|
|
49
|
-
image:
|
|
50
|
-
'https://raw.githubusercontent.com/rango-exchange/assets/main/blockchains/BSC/icon.svg',
|
|
51
|
-
},
|
|
52
|
-
price: {
|
|
53
|
-
value: '1',
|
|
54
|
-
},
|
|
55
|
-
token: {
|
|
56
|
-
displayName: 'USDT',
|
|
57
|
-
image: 'https://rango.vip/i/6837hX',
|
|
58
|
-
},
|
|
59
|
-
},
|
|
60
|
-
to: {
|
|
61
|
-
chain: {
|
|
62
|
-
displayName: 'BSC',
|
|
63
|
-
image:
|
|
64
|
-
'https://raw.githubusercontent.com/rango-exchange/assets/main/blockchains/BSC/icon.svg',
|
|
65
|
-
},
|
|
66
|
-
price: {
|
|
67
|
-
value: '1',
|
|
68
|
-
},
|
|
69
|
-
token: {
|
|
70
|
-
displayName: 'USDT',
|
|
71
|
-
image: 'https://rango.vip/i/6837hX',
|
|
72
|
-
},
|
|
73
|
-
},
|
|
74
|
-
swapper: {
|
|
75
|
-
displayName: 'AllBridge',
|
|
76
|
-
image:
|
|
77
|
-
'https://raw.githubusercontent.com/rango-exchange/assets/main/swappers/AllBridge/icon.svg',
|
|
78
|
-
},
|
|
79
|
-
},
|
|
80
|
-
],
|
|
81
|
-
alerts: undefined,
|
|
82
|
-
fee: '0.19',
|
|
83
|
-
time: '07:00',
|
|
84
|
-
},
|
|
85
|
-
{
|
|
86
|
-
swapper: {
|
|
87
|
-
displayName: 'ThorChain',
|
|
88
|
-
image: 'https://api.rango.exchange/swappers/Thorchain.svg',
|
|
89
|
-
},
|
|
90
|
-
from: {
|
|
91
|
-
token: {
|
|
92
|
-
displayName: 'AVAX',
|
|
93
|
-
image: 'https://api.rango.exchange/tokens/AVAX/AVAX.png',
|
|
94
|
-
},
|
|
95
|
-
chain: {
|
|
96
|
-
displayName: 'Avax',
|
|
97
|
-
image:
|
|
98
|
-
'https://raw.githubusercontent.com/rango-exchange/assets/main/blockchains/AVAX_CCHAIN/icon.svg',
|
|
99
|
-
},
|
|
100
|
-
price: {
|
|
101
|
-
value: '1.00000000',
|
|
102
|
-
realValue: '5.5',
|
|
103
|
-
},
|
|
104
|
-
},
|
|
105
|
-
to: {
|
|
106
|
-
token: {
|
|
107
|
-
displayName: 'WMATIC',
|
|
108
|
-
image: 'https://rango.vip/i/NcQpfK',
|
|
109
|
-
},
|
|
110
|
-
chain: {
|
|
111
|
-
displayName: 'BTC',
|
|
112
|
-
image: 'https://api.rango.exchange/tokens/BTC/BTC.png',
|
|
113
|
-
},
|
|
114
|
-
price: {
|
|
115
|
-
value: '3.5',
|
|
116
|
-
},
|
|
117
|
-
},
|
|
118
|
-
internalSwaps: [
|
|
119
|
-
{
|
|
120
|
-
from: {
|
|
121
|
-
chain: {
|
|
122
|
-
displayName: 'Solana',
|
|
123
|
-
image:
|
|
124
|
-
'https://raw.githubusercontent.com/rango-exchange/assets/main/blockchains/SOLANA/icon.svg',
|
|
125
|
-
},
|
|
126
|
-
price: {
|
|
127
|
-
value: '1',
|
|
128
|
-
},
|
|
129
|
-
token: {
|
|
130
|
-
displayName: 'USDT',
|
|
131
|
-
image: 'https://rango.vip/i/6837hX',
|
|
132
|
-
},
|
|
133
|
-
},
|
|
134
|
-
to: {
|
|
135
|
-
chain: {
|
|
136
|
-
displayName: 'SOL',
|
|
137
|
-
image: 'https://rango.vip/tokens/SOLANA/SOL.png',
|
|
138
|
-
},
|
|
139
|
-
price: {
|
|
140
|
-
value: '1',
|
|
141
|
-
},
|
|
142
|
-
token: {
|
|
143
|
-
displayName: 'USDT',
|
|
144
|
-
image: 'https://rango.vip/i/6837hX',
|
|
145
|
-
},
|
|
146
|
-
},
|
|
147
|
-
swapper: {
|
|
148
|
-
displayName: 'AllBridge',
|
|
149
|
-
image:
|
|
150
|
-
'https://raw.githubusercontent.com/rango-exchange/assets/main/swappers/AllBridge/icon.svg',
|
|
151
|
-
},
|
|
152
|
-
},
|
|
153
|
-
{
|
|
154
|
-
from: {
|
|
155
|
-
chain: {
|
|
156
|
-
displayName: 'Solana',
|
|
157
|
-
image:
|
|
158
|
-
'https://raw.githubusercontent.com/rango-exchange/assets/main/blockchains/SOLANA/icon.svg',
|
|
159
|
-
},
|
|
160
|
-
price: {
|
|
161
|
-
value: '1',
|
|
162
|
-
},
|
|
163
|
-
token: {
|
|
164
|
-
displayName: 'USDT',
|
|
165
|
-
image: 'https://rango.vip/i/6837hX',
|
|
166
|
-
},
|
|
167
|
-
},
|
|
168
|
-
to: {
|
|
169
|
-
chain: {
|
|
170
|
-
displayName: 'Solana',
|
|
171
|
-
image:
|
|
172
|
-
'https://raw.githubusercontent.com/rango-exchange/assets/main/blockchains/SOLANA/icon.svg',
|
|
173
|
-
},
|
|
174
|
-
price: {
|
|
175
|
-
value: '1',
|
|
176
|
-
},
|
|
177
|
-
token: {
|
|
178
|
-
displayName: 'SOL',
|
|
179
|
-
image: 'https://rango.vip/tokens/SOLANA/SOL.png',
|
|
180
|
-
},
|
|
181
|
-
},
|
|
182
|
-
swapper: {
|
|
183
|
-
displayName: 'Jupiter',
|
|
184
|
-
image:
|
|
185
|
-
'https://raw.githubusercontent.com/rango-exchange/assets/main/swappers/Jupiter/icon.svg',
|
|
186
|
-
},
|
|
187
|
-
},
|
|
188
|
-
],
|
|
189
|
-
state: 'warning',
|
|
190
|
-
alerts: [
|
|
191
|
-
<Alert
|
|
192
|
-
key="alert"
|
|
193
|
-
variant="alarm"
|
|
194
|
-
type="warning"
|
|
195
|
-
title="Slippage Warning"
|
|
196
|
-
/>,
|
|
197
|
-
],
|
|
198
|
-
time: '02:45',
|
|
199
|
-
fee: '0.07',
|
|
200
|
-
},
|
|
201
|
-
{
|
|
202
|
-
swapper: {
|
|
203
|
-
displayName: 'Satellite',
|
|
204
|
-
image: 'https://api.rango.exchange/swappers/satellite.png',
|
|
205
|
-
},
|
|
206
|
-
from: {
|
|
207
|
-
token: {
|
|
208
|
-
displayName: 'WMATIC',
|
|
209
|
-
image: 'https://rango.vip/i/NcQpfK',
|
|
210
|
-
},
|
|
211
|
-
chain: {
|
|
212
|
-
displayName: 'BTC',
|
|
213
|
-
image: 'https://api.rango.exchange/tokens/BTC/BTC.png',
|
|
214
|
-
},
|
|
215
|
-
price: {
|
|
216
|
-
value: '3.5',
|
|
217
|
-
},
|
|
218
|
-
},
|
|
219
|
-
to: {
|
|
220
|
-
token: {
|
|
221
|
-
displayName: 'BTC',
|
|
222
|
-
image: 'https://api.rango.exchange/tokens/BTC/BTC.png',
|
|
223
|
-
},
|
|
224
|
-
chain: {
|
|
225
|
-
displayName: 'BTC',
|
|
226
|
-
image: 'https://api.rango.exchange/tokens/BTC/BTC.png',
|
|
227
|
-
},
|
|
228
|
-
price: {
|
|
229
|
-
value: '2',
|
|
230
|
-
},
|
|
231
|
-
},
|
|
232
|
-
fee: '0.19',
|
|
233
|
-
time: '07:00',
|
|
234
|
-
},
|
|
235
|
-
{
|
|
236
|
-
swapper: {
|
|
237
|
-
displayName: 'CurveFi',
|
|
238
|
-
image:
|
|
239
|
-
'https://raw.githubusercontent.com/rango-exchange/assets/main/swappers/CurveFi/icon.png',
|
|
240
|
-
},
|
|
241
|
-
from: {
|
|
242
|
-
token: {
|
|
243
|
-
displayName: 'BTC',
|
|
244
|
-
image: 'https://api.rango.exchange/tokens/BTC/BTC.png',
|
|
245
|
-
},
|
|
246
|
-
chain: {
|
|
247
|
-
displayName: 'BTC',
|
|
248
|
-
image: 'https://api.rango.exchange/tokens/BTC/BTC.png',
|
|
249
|
-
},
|
|
250
|
-
price: {
|
|
251
|
-
value: '2',
|
|
252
|
-
},
|
|
253
|
-
},
|
|
254
|
-
to: {
|
|
255
|
-
token: {
|
|
256
|
-
displayName: 'OSMO',
|
|
257
|
-
image: 'https://api.rango.exchange/tokens/COSMOS/OSMO.png',
|
|
258
|
-
},
|
|
259
|
-
chain: {
|
|
260
|
-
displayName: 'Osmosis',
|
|
261
|
-
image:
|
|
262
|
-
'https://raw.githubusercontent.com/rango-exchange/assets/main/blockchains/OSMOSIS/icon.svg',
|
|
263
|
-
},
|
|
264
|
-
price: {
|
|
265
|
-
value: '5.546',
|
|
266
|
-
},
|
|
267
|
-
},
|
|
268
|
-
internalSwaps: [
|
|
269
|
-
{
|
|
270
|
-
from: {
|
|
271
|
-
chain: {
|
|
272
|
-
displayName: 'BSC',
|
|
273
|
-
image:
|
|
274
|
-
'https://raw.githubusercontent.com/rango-exchange/assets/main/blockchains/BSC/icon.svg',
|
|
275
|
-
},
|
|
276
|
-
price: {
|
|
277
|
-
value: '1',
|
|
278
|
-
},
|
|
279
|
-
token: {
|
|
280
|
-
displayName: 'USDT',
|
|
281
|
-
image: 'https://rango.vip/i/6837hX',
|
|
282
|
-
},
|
|
283
|
-
},
|
|
284
|
-
to: {
|
|
285
|
-
chain: {
|
|
286
|
-
displayName: 'BSC',
|
|
287
|
-
image:
|
|
288
|
-
'https://raw.githubusercontent.com/rango-exchange/assets/main/blockchains/BSC/icon.svg',
|
|
289
|
-
},
|
|
290
|
-
price: {
|
|
291
|
-
value: '1',
|
|
292
|
-
},
|
|
293
|
-
token: {
|
|
294
|
-
displayName: 'USDT',
|
|
295
|
-
image: 'https://rango.vip/i/6837hX',
|
|
296
|
-
},
|
|
297
|
-
},
|
|
298
|
-
swapper: {
|
|
299
|
-
displayName: 'UniSwap',
|
|
300
|
-
image:
|
|
301
|
-
'https://raw.githubusercontent.com/rango-exchange/assets/main/swappers/UniSwapV2/icon.svg',
|
|
302
|
-
},
|
|
303
|
-
},
|
|
304
|
-
{
|
|
305
|
-
from: {
|
|
306
|
-
chain: {
|
|
307
|
-
displayName: 'Solana',
|
|
308
|
-
image:
|
|
309
|
-
'https://raw.githubusercontent.com/rango-exchange/assets/main/blockchains/SOLANA/icon.svg',
|
|
310
|
-
},
|
|
311
|
-
price: {
|
|
312
|
-
value: '1',
|
|
313
|
-
},
|
|
314
|
-
token: {
|
|
315
|
-
displayName: 'USDT',
|
|
316
|
-
image: 'https://rango.vip/i/6837hX',
|
|
317
|
-
},
|
|
318
|
-
},
|
|
319
|
-
to: {
|
|
320
|
-
chain: {
|
|
321
|
-
displayName: 'Solana',
|
|
322
|
-
image:
|
|
323
|
-
'https://raw.githubusercontent.com/rango-exchange/assets/main/blockchains/SOLANA/icon.svg',
|
|
324
|
-
},
|
|
325
|
-
price: {
|
|
326
|
-
value: '1',
|
|
327
|
-
},
|
|
328
|
-
token: {
|
|
329
|
-
displayName: 'SOL',
|
|
330
|
-
image: 'https://rango.vip/tokens/SOLANA/SOL.png',
|
|
331
|
-
},
|
|
332
|
-
},
|
|
333
|
-
swapper: {
|
|
334
|
-
displayName: 'DeBridge',
|
|
335
|
-
image:
|
|
336
|
-
'https://raw.githubusercontent.com/rango-exchange/assets/main/swappers/DeBridge/icon.svg',
|
|
337
|
-
},
|
|
338
|
-
},
|
|
339
|
-
],
|
|
340
|
-
fee: '0.19',
|
|
341
|
-
time: '07:00',
|
|
342
|
-
},
|
|
343
|
-
{
|
|
344
|
-
swapper: {
|
|
345
|
-
displayName: '1inch',
|
|
346
|
-
image:
|
|
347
|
-
'https://raw.githubusercontent.com/rango-exchange/assets/main/swappers/1Inch/icon.svg',
|
|
348
|
-
},
|
|
349
|
-
from: {
|
|
350
|
-
token: {
|
|
351
|
-
displayName: 'OSMO',
|
|
352
|
-
image: 'https://api.rango.exchange/tokens/COSMOS/OSMO.png',
|
|
353
|
-
},
|
|
354
|
-
chain: {
|
|
355
|
-
displayName: 'Osmosis',
|
|
356
|
-
image:
|
|
357
|
-
'https://raw.githubusercontent.com/rango-exchange/assets/main/blockchains/OSMOSIS/icon.svg',
|
|
358
|
-
},
|
|
359
|
-
price: {
|
|
360
|
-
value: '5.546',
|
|
361
|
-
},
|
|
362
|
-
},
|
|
363
|
-
to: {
|
|
364
|
-
token: {
|
|
365
|
-
displayName: 'USDC',
|
|
366
|
-
image: 'https://rango.vip/i/cY81Jl',
|
|
367
|
-
},
|
|
368
|
-
chain: {
|
|
369
|
-
displayName: 'Optimism',
|
|
370
|
-
image:
|
|
371
|
-
'https://raw.githubusercontent.com/rango-exchange/assets/main/blockchains/OPTIMISM/icon.svg',
|
|
372
|
-
},
|
|
373
|
-
price: {
|
|
374
|
-
value: '5.546',
|
|
375
|
-
},
|
|
376
|
-
},
|
|
377
|
-
alerts: [
|
|
378
|
-
<Alert
|
|
379
|
-
key="alert"
|
|
380
|
-
variant="alarm"
|
|
381
|
-
type="error"
|
|
382
|
-
title="Bridge Limit Error: Please decrease your amount."
|
|
383
|
-
/>,
|
|
384
|
-
],
|
|
385
|
-
state: 'error',
|
|
386
|
-
fee: '0.00',
|
|
387
|
-
time: '01:45',
|
|
388
|
-
},
|
|
389
|
-
{
|
|
390
|
-
swapper: {
|
|
391
|
-
displayName: 'Pancake',
|
|
392
|
-
image:
|
|
393
|
-
'https://raw.githubusercontent.com/rango-exchange/assets/main/swappers/Pancake/icon.svg',
|
|
394
|
-
},
|
|
395
|
-
from: {
|
|
396
|
-
token: {
|
|
397
|
-
displayName: 'USDC',
|
|
398
|
-
image: 'https://rango.vip/i/cY81Jl',
|
|
399
|
-
},
|
|
400
|
-
chain: {
|
|
401
|
-
displayName: 'Optimism',
|
|
402
|
-
image:
|
|
403
|
-
'https://raw.githubusercontent.com/rango-exchange/assets/main/blockchains/OPTIMISM/icon.svg',
|
|
404
|
-
},
|
|
405
|
-
price: {
|
|
406
|
-
value: '5.546',
|
|
407
|
-
},
|
|
408
|
-
},
|
|
409
|
-
to: {
|
|
410
|
-
chain: {
|
|
411
|
-
displayName: 'ETH',
|
|
412
|
-
image: 'https://api.rango.exchange/blockchains/ethereum.svg',
|
|
413
|
-
},
|
|
414
|
-
token: {
|
|
415
|
-
displayName: 'ETH',
|
|
416
|
-
|
|
417
|
-
image: 'https://api.rango.exchange/tokens/ETH/ETH.png',
|
|
418
|
-
},
|
|
419
|
-
price: {
|
|
420
|
-
value: '14.86',
|
|
421
|
-
},
|
|
422
|
-
},
|
|
423
|
-
fee: '0.19',
|
|
424
|
-
time: '07:00',
|
|
425
|
-
},
|
|
426
|
-
];
|
|
427
|
-
|
|
428
|
-
export const tags = [
|
|
429
|
-
{
|
|
430
|
-
value: 'RECOMMENDED',
|
|
431
|
-
label: 'Recommended',
|
|
432
|
-
},
|
|
433
|
-
{
|
|
434
|
-
value: 'CENTRALIZED',
|
|
435
|
-
label: 'Centrailized',
|
|
436
|
-
},
|
|
437
|
-
{
|
|
438
|
-
value: 'LOWEST_FEE',
|
|
439
|
-
label: 'Lowest Fee',
|
|
440
|
-
},
|
|
441
|
-
{
|
|
442
|
-
value: 'FASTEST',
|
|
443
|
-
label: 'Fastest',
|
|
444
|
-
},
|
|
445
|
-
{
|
|
446
|
-
value: 'HIGH_IMPACT',
|
|
447
|
-
label: 'High Impact',
|
|
448
|
-
},
|
|
449
|
-
];
|