@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
|
@@ -2,7 +2,7 @@ import type {
|
|
|
2
2
|
ProviderContext,
|
|
3
3
|
ProviderPropTypes,
|
|
4
4
|
ToastPosition,
|
|
5
|
-
|
|
5
|
+
ToastPropTypes,
|
|
6
6
|
ToastType,
|
|
7
7
|
} from './Toast.types';
|
|
8
8
|
import type { PropsWithChildren } from 'react';
|
|
@@ -17,7 +17,7 @@ import { ToastContainer } from './Toast.styles';
|
|
|
17
17
|
const ToastContext = createContext<ProviderContext | undefined>(undefined);
|
|
18
18
|
|
|
19
19
|
const renderToastContainer = (
|
|
20
|
-
toasts:
|
|
20
|
+
toasts: ToastPropTypes[],
|
|
21
21
|
position: ToastPosition
|
|
22
22
|
) => (
|
|
23
23
|
<>
|
|
@@ -35,14 +35,18 @@ export const ToastProvider = (props: PropsWithChildren<ProviderPropTypes>) => {
|
|
|
35
35
|
const generateId = useMemo(() => idGenerator(), []);
|
|
36
36
|
|
|
37
37
|
const { children, container } = props;
|
|
38
|
-
const [leftTopToasts, setLeftTopToasts] = useState<
|
|
39
|
-
const [leftBottomToasts, setLeftBottomToasts] = useState<
|
|
40
|
-
const [rightTopToasts, setRightTopToasts] = useState<ToastProps[]>([]);
|
|
41
|
-
const [rightBottomToasts, setRightBottomToasts] = useState<ToastProps[]>([]);
|
|
42
|
-
const [centerTopToasts, setCenterTopToasts] = useState<ToastProps[]>([]);
|
|
43
|
-
const [centerBottomToasts, setCenterBottomToasts] = useState<ToastProps[]>(
|
|
38
|
+
const [leftTopToasts, setLeftTopToasts] = useState<ToastPropTypes[]>([]);
|
|
39
|
+
const [leftBottomToasts, setLeftBottomToasts] = useState<ToastPropTypes[]>(
|
|
44
40
|
[]
|
|
45
41
|
);
|
|
42
|
+
const [rightTopToasts, setRightTopToasts] = useState<ToastPropTypes[]>([]);
|
|
43
|
+
const [rightBottomToasts, setRightBottomToasts] = useState<ToastPropTypes[]>(
|
|
44
|
+
[]
|
|
45
|
+
);
|
|
46
|
+
const [centerTopToasts, setCenterTopToasts] = useState<ToastPropTypes[]>([]);
|
|
47
|
+
const [centerBottomToasts, setCenterBottomToasts] = useState<
|
|
48
|
+
ToastPropTypes[]
|
|
49
|
+
>([]);
|
|
46
50
|
|
|
47
51
|
const getToastSetter = (position: ToastPosition) => {
|
|
48
52
|
switch (position) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { ToastPropTypes } from './Toast.types';
|
|
2
2
|
|
|
3
3
|
import React, { useEffect, useState } from 'react';
|
|
4
4
|
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
toastContentStyles,
|
|
20
20
|
} from './Toast.styles';
|
|
21
21
|
|
|
22
|
-
export const Toast = (props:
|
|
22
|
+
export const Toast = (props: ToastPropTypes) => {
|
|
23
23
|
const {
|
|
24
24
|
id,
|
|
25
25
|
autoHideDuration,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type {
|
|
1
|
+
import type { SwapInputPropTypes } from '../../containers/SwapInput/SwapInput.types';
|
|
2
|
+
import type { PriceImpactPropTypes } from '../PriceImpact/PriceImpact.types';
|
|
3
3
|
|
|
4
|
-
type BaseProps = Pick<
|
|
5
|
-
chain: Pick<
|
|
4
|
+
type BaseProps = Pick<SwapInputPropTypes, 'token' | 'price'> & {
|
|
5
|
+
chain: Pick<SwapInputPropTypes['chain'], 'image'>;
|
|
6
6
|
direction?: 'vertical' | 'horizontal';
|
|
7
7
|
centerAlign?: boolean;
|
|
8
8
|
label?: string;
|
|
@@ -12,7 +12,7 @@ type BaseProps = Pick<SwapInputProps, 'token' | 'price'> & {
|
|
|
12
12
|
type InputAmountProps = { type: 'input' };
|
|
13
13
|
|
|
14
14
|
type OutputAmountProps = Pick<
|
|
15
|
-
|
|
15
|
+
PriceImpactPropTypes,
|
|
16
16
|
'percentageChange' | 'warningLevel'
|
|
17
17
|
> & {
|
|
18
18
|
type: 'output';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { TooltipPropTypes } from './Tooltip.types';
|
|
2
2
|
import type { PropsWithChildren } from 'react';
|
|
3
3
|
|
|
4
4
|
import * as RadixTooltip from '@radix-ui/react-tooltip';
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
TriggerContent,
|
|
11
11
|
} from './Tooltip.styles';
|
|
12
12
|
|
|
13
|
-
export function Tooltip(props: PropsWithChildren<
|
|
13
|
+
export function Tooltip(props: PropsWithChildren<TooltipPropTypes>) {
|
|
14
14
|
const {
|
|
15
15
|
children,
|
|
16
16
|
content,
|
|
@@ -5,7 +5,7 @@ import type { ComponentProps, ReactNode } from 'react';
|
|
|
5
5
|
|
|
6
6
|
type RadixTooltipContentProps = ComponentProps<typeof RadixTooltip.Content>;
|
|
7
7
|
|
|
8
|
-
export interface
|
|
8
|
+
export interface TooltipPropTypes {
|
|
9
9
|
content: ReactNode;
|
|
10
10
|
side?: RadixTooltipContentProps['side'];
|
|
11
11
|
color?: 'primary' | 'error' | 'warning' | 'success';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { TypographyPropTypes } from './Typography.types';
|
|
2
2
|
import type { PropsWithChildren } from 'react';
|
|
3
3
|
|
|
4
4
|
import React from 'react';
|
|
@@ -10,7 +10,7 @@ export function Typography({
|
|
|
10
10
|
className,
|
|
11
11
|
color,
|
|
12
12
|
...props
|
|
13
|
-
}: PropsWithChildren<
|
|
13
|
+
}: PropsWithChildren<TypographyPropTypes>) {
|
|
14
14
|
const customCss = color
|
|
15
15
|
? {
|
|
16
16
|
color: color.startsWith('$') ? color : `$${color}`,
|
|
@@ -6,7 +6,7 @@ type BaseSizes = Exclude<BaseProps['size'], object>;
|
|
|
6
6
|
type BaseVariants = Exclude<BaseProps['variant'], object>;
|
|
7
7
|
export type BaseAlign = Exclude<BaseProps['align'], object>;
|
|
8
8
|
|
|
9
|
-
export interface
|
|
9
|
+
export interface TypographyPropTypes {
|
|
10
10
|
variant: BaseVariants;
|
|
11
11
|
size: BaseSizes;
|
|
12
12
|
align?: BaseAlign;
|
package/src/components/index.ts
CHANGED
|
@@ -1,28 +1,13 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type { WalletType } from '@rango-dev/wallets-shared';
|
|
1
|
+
import type { ConnectWalletsModalPropTypes } from './ConnectWalletsModal.types';
|
|
3
2
|
|
|
4
3
|
import { i18n } from '@lingui/core';
|
|
5
4
|
import React from 'react';
|
|
6
5
|
|
|
7
6
|
import { Modal, Wallet } from '../../components';
|
|
8
|
-
import { styled } from '../../theme';
|
|
9
7
|
|
|
10
|
-
|
|
11
|
-
open: boolean;
|
|
12
|
-
list: WalletInfo[];
|
|
13
|
-
onSelect: (walletType: WalletType) => void;
|
|
14
|
-
onClose: () => void;
|
|
15
|
-
error?: string;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
const ModalContent = styled('div', {
|
|
19
|
-
display: 'grid',
|
|
20
|
-
gap: '$8',
|
|
21
|
-
gridTemplateColumns: 'repeat(2, minmax(0, 1fr))',
|
|
22
|
-
overflow: 'auto',
|
|
23
|
-
});
|
|
8
|
+
import { ModalContent } from './ConnectWalletsModal.styles';
|
|
24
9
|
|
|
25
|
-
export function ConnectWalletsModal(props:
|
|
10
|
+
export function ConnectWalletsModal(props: ConnectWalletsModalPropTypes) {
|
|
26
11
|
const { open, list, onSelect, onClose } = props;
|
|
27
12
|
|
|
28
13
|
return (
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { WalletInfo } from '../../components';
|
|
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
|
+
onClose: () => void;
|
|
9
|
+
error?: string;
|
|
10
|
+
}
|
|
@@ -6,28 +6,32 @@ import { WalletState } from '../../components';
|
|
|
6
6
|
|
|
7
7
|
export const walletsInfo: WalletInfo[] = [
|
|
8
8
|
{
|
|
9
|
-
image:
|
|
9
|
+
image:
|
|
10
|
+
'https://raw.githubusercontent.com/rango-exchange/assets/main/wallets/coinbase/icon.svg',
|
|
10
11
|
title: 'Coinbase',
|
|
11
12
|
state: WalletState.DISCONNECTED,
|
|
12
13
|
link: '',
|
|
13
14
|
type: WalletTypes.COINBASE,
|
|
14
15
|
},
|
|
15
16
|
{
|
|
16
|
-
image:
|
|
17
|
+
image:
|
|
18
|
+
'https://raw.githubusercontent.com/rango-exchange/assets/main/wallets/coinbase/icon.svg',
|
|
17
19
|
title: 'Coinbase',
|
|
18
20
|
state: WalletState.CONNECTED,
|
|
19
21
|
link: '',
|
|
20
22
|
type: WalletTypes.COINBASE,
|
|
21
23
|
},
|
|
22
24
|
{
|
|
23
|
-
image:
|
|
25
|
+
image:
|
|
26
|
+
'https://raw.githubusercontent.com/rango-exchange/assets/main/wallets/coinbase/icon.svg',
|
|
24
27
|
title: 'Coinbase',
|
|
25
28
|
state: WalletState.CONNECTING,
|
|
26
29
|
link: '',
|
|
27
30
|
type: WalletTypes.COINBASE,
|
|
28
31
|
},
|
|
29
32
|
{
|
|
30
|
-
image:
|
|
33
|
+
image:
|
|
34
|
+
'https://raw.githubusercontent.com/rango-exchange/assets/main/wallets/coinbase/icon.svg',
|
|
31
35
|
title: 'Coinbase',
|
|
32
36
|
state: WalletState.NOT_INSTALLED,
|
|
33
37
|
type: WalletTypes.COINBASE,
|
|
@@ -35,84 +39,96 @@ export const walletsInfo: WalletInfo[] = [
|
|
|
35
39
|
link: 'https://chrome.google.com/webstore/detail/coinbase-wallet-extension/hnfanknocfeofbddgcijnmhnfnkdnaad?hl=en',
|
|
36
40
|
},
|
|
37
41
|
{
|
|
38
|
-
image:
|
|
42
|
+
image:
|
|
43
|
+
'https://raw.githubusercontent.com/rango-exchange/assets/main/wallets/coinbase/icon.svg',
|
|
39
44
|
title: 'Coinbase',
|
|
40
45
|
state: WalletState.DISCONNECTED,
|
|
41
46
|
link: '',
|
|
42
47
|
type: WalletTypes.COINBASE,
|
|
43
48
|
},
|
|
44
49
|
{
|
|
45
|
-
image:
|
|
50
|
+
image:
|
|
51
|
+
'https://raw.githubusercontent.com/rango-exchange/assets/main/wallets/coinbase/icon.svg',
|
|
46
52
|
title: 'Coinbase',
|
|
47
53
|
state: WalletState.CONNECTED,
|
|
48
54
|
link: '',
|
|
49
55
|
type: WalletTypes.COINBASE,
|
|
50
56
|
},
|
|
51
57
|
{
|
|
52
|
-
image:
|
|
58
|
+
image:
|
|
59
|
+
'https://raw.githubusercontent.com/rango-exchange/assets/main/wallets/coinbase/icon.svg',
|
|
53
60
|
title: 'Coinbase',
|
|
54
61
|
state: WalletState.DISCONNECTED,
|
|
55
62
|
link: '',
|
|
56
63
|
type: WalletTypes.COINBASE,
|
|
57
64
|
},
|
|
58
65
|
{
|
|
59
|
-
image:
|
|
66
|
+
image:
|
|
67
|
+
'https://raw.githubusercontent.com/rango-exchange/assets/main/wallets/coinbase/icon.svg',
|
|
60
68
|
title: 'Coinbase',
|
|
61
69
|
state: WalletState.DISCONNECTED,
|
|
62
70
|
link: '',
|
|
63
71
|
type: WalletTypes.COINBASE,
|
|
64
72
|
},
|
|
65
73
|
{
|
|
66
|
-
image:
|
|
74
|
+
image:
|
|
75
|
+
'https://raw.githubusercontent.com/rango-exchange/assets/main/wallets/coinbase/icon.svg',
|
|
67
76
|
title: 'Coinbase',
|
|
68
77
|
state: WalletState.DISCONNECTED,
|
|
69
78
|
link: '',
|
|
70
79
|
type: WalletTypes.COINBASE,
|
|
71
80
|
},
|
|
72
81
|
{
|
|
73
|
-
image:
|
|
82
|
+
image:
|
|
83
|
+
'https://raw.githubusercontent.com/rango-exchange/assets/main/wallets/coinbase/icon.svg',
|
|
74
84
|
title: 'Coinbase',
|
|
75
85
|
state: WalletState.DISCONNECTED,
|
|
76
86
|
link: '',
|
|
77
87
|
type: WalletTypes.COINBASE,
|
|
78
88
|
},
|
|
79
89
|
{
|
|
80
|
-
image:
|
|
90
|
+
image:
|
|
91
|
+
'https://raw.githubusercontent.com/rango-exchange/assets/main/wallets/coinbase/icon.svg',
|
|
81
92
|
title: 'Coinbase',
|
|
82
93
|
state: WalletState.DISCONNECTED,
|
|
83
94
|
link: '',
|
|
84
95
|
type: WalletTypes.COINBASE,
|
|
85
96
|
},
|
|
86
97
|
{
|
|
87
|
-
image:
|
|
98
|
+
image:
|
|
99
|
+
'https://raw.githubusercontent.com/rango-exchange/assets/main/wallets/coinbase/icon.svg',
|
|
88
100
|
title: 'Coinbase',
|
|
89
101
|
state: WalletState.DISCONNECTED,
|
|
90
102
|
link: '',
|
|
91
103
|
type: WalletTypes.COINBASE,
|
|
92
104
|
},
|
|
93
105
|
{
|
|
94
|
-
image:
|
|
106
|
+
image:
|
|
107
|
+
'https://raw.githubusercontent.com/rango-exchange/assets/main/wallets/coinbase/icon.svg',
|
|
95
108
|
title: 'Coinbase',
|
|
96
109
|
state: WalletState.DISCONNECTED,
|
|
97
110
|
link: '',
|
|
98
111
|
type: WalletTypes.COINBASE,
|
|
99
112
|
},
|
|
100
113
|
{
|
|
101
|
-
image:
|
|
114
|
+
image:
|
|
115
|
+
'https://raw.githubusercontent.com/rango-exchange/assets/main/wallets/coinbase/icon.svg',
|
|
102
116
|
title: 'Coinbase',
|
|
103
117
|
state: WalletState.DISCONNECTED,
|
|
104
118
|
link: '',
|
|
105
119
|
type: WalletTypes.COINBASE,
|
|
106
120
|
},
|
|
107
121
|
{
|
|
108
|
-
image:
|
|
122
|
+
image:
|
|
123
|
+
'https://raw.githubusercontent.com/rango-exchange/assets/main/wallets/coinbase/icon.svg',
|
|
109
124
|
title: 'Coinbase',
|
|
110
125
|
state: WalletState.DISCONNECTED,
|
|
111
126
|
link: '',
|
|
112
127
|
type: WalletTypes.COINBASE,
|
|
113
128
|
},
|
|
114
129
|
{
|
|
115
|
-
image:
|
|
130
|
+
image:
|
|
131
|
+
'https://raw.githubusercontent.com/rango-exchange/assets/main/wallets/coinbase/icon.svg',
|
|
116
132
|
title: 'Coinbase',
|
|
117
133
|
state: WalletState.DISCONNECTED,
|
|
118
134
|
link: '',
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { SwapInputPropTypes } from './SwapInput.types';
|
|
2
2
|
|
|
3
3
|
import { i18n } from '@lingui/core';
|
|
4
4
|
import React from 'react';
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
} from './SwapInput.styles';
|
|
28
28
|
import { TokenSection } from './TokenSection';
|
|
29
29
|
|
|
30
|
-
export function SwapInput(props:
|
|
30
|
+
export function SwapInput(props: SwapInputPropTypes) {
|
|
31
31
|
const showBalance =
|
|
32
32
|
'balance' in props && !props.loading && !props.loadingBalance;
|
|
33
33
|
const showBalanceSkeleton =
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { AlertPropTypes } from './Alert.types';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-bf5e6555").R, AlertPropTypes & {
|
|
4
|
-
children?: React.ReactNode;
|
|
5
|
-
}>;
|
|
6
|
-
export default _default;
|
|
7
|
-
export declare const Main: (args: AlertPropTypes) => React.JSX.Element;
|
|
8
|
-
export declare const WithoutFooter: (args: AlertPropTypes) => React.JSX.Element;
|
|
9
|
-
//# sourceMappingURL=Alert.stories.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Alert.stories.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Alert/Alert.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAGpD,OAAO,KAAK,MAAM,OAAO,CAAC;;;;AAI1B,wBAyBwB;AAExB,eAAO,MAAM,IAAI,SAAU,cAAc,sBAOxC,CAAC;AACF,eAAO,MAAM,aAAa,SAAU,cAAc,sBAIjD,CAAC"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { PropTypes } from './Button.types';
|
|
2
|
-
import type { Meta } from '@storybook/react';
|
|
3
|
-
import React from 'react';
|
|
4
|
-
import { Button } from './Button';
|
|
5
|
-
declare const meta: Meta<typeof Button>;
|
|
6
|
-
export default meta;
|
|
7
|
-
export declare const Main: (props: PropTypes) => React.JSX.Element;
|
|
8
|
-
export declare const WithPrefix: (args: PropTypes) => React.JSX.Element;
|
|
9
|
-
export declare const WithSuffix: (args: PropTypes) => React.JSX.Element;
|
|
10
|
-
//# sourceMappingURL=Button.stories.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Button.stories.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Button/Button.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAChD,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAE7C,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAElC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,MAAM,CAE7B,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,eAAO,MAAM,IAAI,UAAW,SAAS,sBAEpC,CAAC;AAEF,eAAO,MAAM,UAAU,SAAU,SAAS,sBAQzC,CAAC;AAEF,eAAO,MAAM,UAAU,SAAU,SAAS,sBAMzC,CAAC"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { PropTypes } from './ChainToken.types';
|
|
2
|
-
import type { Meta } from '@storybook/react';
|
|
3
|
-
import React from 'react';
|
|
4
|
-
import { ChainToken } from './ChainToken';
|
|
5
|
-
declare const meta: Meta<typeof ChainToken>;
|
|
6
|
-
export default meta;
|
|
7
|
-
export declare const Main: (args: PropTypes) => React.JSX.Element;
|
|
8
|
-
//# sourceMappingURL=ChainToken.stories.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ChainToken.stories.d.ts","sourceRoot":"","sources":["../../../../../../src/components/ChainToken/ChainToken.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAE7C,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,UAAU,CAQjC,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,eAAO,MAAM,IAAI,SAAU,SAAS,sBAA6B,CAAC"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { PropTypes } from './Checkbox.types';
|
|
2
|
-
import type { Meta } from '@storybook/react';
|
|
3
|
-
import React from 'react';
|
|
4
|
-
import { Checkbox } from './Checkbox';
|
|
5
|
-
declare const meta: Meta<typeof Checkbox>;
|
|
6
|
-
export default meta;
|
|
7
|
-
export declare const Main: (props: PropTypes) => React.JSX.Element;
|
|
8
|
-
//# sourceMappingURL=Checkbox.stories.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Checkbox.stories.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Checkbox/Checkbox.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAE7C,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,QAAQ,CAmB/B,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,eAAO,MAAM,IAAI,UAAW,SAAS,sBAEpC,CAAC"}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import type { PropTypes } from './Chip.types';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import { Chip } from './Chip';
|
|
4
|
-
declare const _default: {
|
|
5
|
-
title: string;
|
|
6
|
-
component: typeof Chip;
|
|
7
|
-
args: {
|
|
8
|
-
label: string;
|
|
9
|
-
selected: boolean;
|
|
10
|
-
};
|
|
11
|
-
argTypes: {
|
|
12
|
-
label: {
|
|
13
|
-
name: string;
|
|
14
|
-
defaultValue: string;
|
|
15
|
-
control: {
|
|
16
|
-
type: string;
|
|
17
|
-
};
|
|
18
|
-
};
|
|
19
|
-
selected: {
|
|
20
|
-
name: string;
|
|
21
|
-
control: {
|
|
22
|
-
type: string;
|
|
23
|
-
};
|
|
24
|
-
defaultValue: boolean;
|
|
25
|
-
};
|
|
26
|
-
};
|
|
27
|
-
};
|
|
28
|
-
export default _default;
|
|
29
|
-
export declare const Main: (args: PropTypes) => React.JSX.Element;
|
|
30
|
-
export declare const ChipWithPrefix: (args: PropTypes) => React.JSX.Element;
|
|
31
|
-
export declare const ChipWithSuffix: (args: PropTypes) => React.JSX.Element;
|
|
32
|
-
//# sourceMappingURL=Chip.stories.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Chip.stories.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Chip/Chip.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAE9C,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;AAE9B,wBAqBE;AAEF,eAAO,MAAM,IAAI,SAAU,SAAS,sBAAuB,CAAC;AAE5D,eAAO,MAAM,cAAc,SAAU,SAAS,sBAU7C,CAAC;AAEF,eAAO,MAAM,cAAc,SAAU,SAAS,sBAU7C,CAAC"}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import type { CollapsibleProps } from './Collapsible.types';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import { CollapsibleComponent as Collapsible } from './Collapsible';
|
|
4
|
-
declare const _default: {
|
|
5
|
-
title: string;
|
|
6
|
-
component: typeof Collapsible;
|
|
7
|
-
args: {
|
|
8
|
-
open: boolean;
|
|
9
|
-
};
|
|
10
|
-
argTypes: {
|
|
11
|
-
open: {
|
|
12
|
-
name: string;
|
|
13
|
-
defaultValue: boolean;
|
|
14
|
-
control: {
|
|
15
|
-
type: string;
|
|
16
|
-
};
|
|
17
|
-
};
|
|
18
|
-
};
|
|
19
|
-
};
|
|
20
|
-
export default _default;
|
|
21
|
-
export declare const Main: (args: CollapsibleProps) => React.JSX.Element;
|
|
22
|
-
//# sourceMappingURL=Collapsible.stories.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Collapsible.stories.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Collapsible/Collapsible.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAE5D,OAAO,KAAmB,MAAM,OAAO,CAAC;AAMxC,OAAO,EAAE,oBAAoB,IAAI,WAAW,EAAE,MAAM,eAAe,CAAC;;;;;;;;;;;;;;;;;AAEpE,wBAaE;AAEF,eAAO,MAAM,IAAI,SAAU,gBAAgB,sBAqB1C,CAAC"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import * as Flags from '.';
|
|
3
|
-
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-bf5e6555").R, any>;
|
|
4
|
-
export default _default;
|
|
5
|
-
export declare const Main: (props: Flags.FlagPropTypes) => React.JSX.Element;
|
|
6
|
-
//# sourceMappingURL=flags.stories.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"flags.stories.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Flags/flags.stories.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,OAAO,KAAK,KAAK,MAAM,GAAG,CAAC;;AAE3B,wBAgCe;AAQf,eAAO,MAAM,IAAI,UAAW,MAAM,aAAa,sBAiB9C,CAAC"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
-
import { FullExpandedQuote } from './FullExpandedQuote';
|
|
3
|
-
declare const meta: Meta<typeof FullExpandedQuote>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<typeof FullExpandedQuote>;
|
|
6
|
-
export declare const Main: Story;
|
|
7
|
-
//# sourceMappingURL=FullExpandedQuote.stories.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FullExpandedQuote.stories.d.ts","sourceRoot":"","sources":["../../../../../../src/components/FullExpandedQuote/FullExpandedQuote.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAEvD,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAGxD,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,iBAAiB,CAExC,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAEhD,eAAO,MAAM,IAAI,EAAE,KAgBlB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"mock.d.ts","sourceRoot":"","sources":["../../../../../../src/components/FullExpandedQuote/mock.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,kCAAkC,CAAC;AAM7D,eAAO,MAAM,KAAK,EAAE,IAAI,EAmavB,CAAC;AAEF,eAAO,MAAM,IAAI;;;GAqBhB,CAAC"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { PropTypes } from './IconButton.types';
|
|
2
|
-
import type { Meta } from '@storybook/react';
|
|
3
|
-
import React from 'react';
|
|
4
|
-
import { IconButton } from './IconButton';
|
|
5
|
-
declare const meta: Meta<typeof IconButton>;
|
|
6
|
-
export default meta;
|
|
7
|
-
export declare const Main: (props: PropTypes) => React.JSX.Element;
|
|
8
|
-
//# sourceMappingURL=IconButton.stories.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IconButton.stories.d.ts","sourceRoot":"","sources":["../../../../../../src/components/IconButton/IconButton.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAE7C,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,UAAU,CAEjC,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,eAAO,MAAM,IAAI,UAAW,SAAS,sBAIpC,CAAC"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { StoryObj } from '@storybook/react';
|
|
2
|
-
import { List } from './List';
|
|
3
|
-
type Story = StoryObj<typeof List>;
|
|
4
|
-
declare const _default: {
|
|
5
|
-
title: string;
|
|
6
|
-
component: typeof List;
|
|
7
|
-
argTypes: {};
|
|
8
|
-
};
|
|
9
|
-
export default _default;
|
|
10
|
-
export declare const Item: Story;
|
|
11
|
-
export declare const ItemButton: Story;
|
|
12
|
-
//# sourceMappingURL=List.stories.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"List.stories.d.ts","sourceRoot":"","sources":["../../../../../../src/components/List/List.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAevD,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAM9B,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;;;;;;AAEnC,wBAI8B;AAE9B,eAAO,MAAM,IAAI,EAAE,KAwElB,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,KAKxB,CAAC"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
-
import { CollapsibleMessageBox } from './CollapsibleMessageBox';
|
|
3
|
-
declare const meta: Meta<typeof CollapsibleMessageBox>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<typeof CollapsibleMessageBox>;
|
|
6
|
-
export declare const Main: Story;
|
|
7
|
-
//# sourceMappingURL=CollapsibleMessageBox.stories.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CollapsibleMessageBox.stories.d.ts","sourceRoot":"","sources":["../../../../../../src/components/MessageBox/CollapsibleMessageBox.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAMvD,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAEhE,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,qBAAqB,CAE5C,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAEpD,eAAO,MAAM,IAAI,EAAE,KAWlB,CAAC"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
-
import { MessageBox } from './DefaultMessageBox';
|
|
3
|
-
declare const meta: Meta<typeof MessageBox>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<typeof MessageBox>;
|
|
6
|
-
export declare const Main: Story;
|
|
7
|
-
//# sourceMappingURL=MessageBox.stories.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"MessageBox.stories.d.ts","sourceRoot":"","sources":["../../../../../../src/components/MessageBox/MessageBox.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAEvD,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEjD,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,UAAU,CAEjC,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,UAAU,CAAC,CAAC;AAEzC,eAAO,MAAM,IAAI,EAAE,KAMlB,CAAC"}
|