@rango-dev/ui 0.33.1-next.1 → 0.33.1-next.2
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 +2 -13
- 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
|
@@ -982,166 +982,4 @@ export declare const StyledTypography: import("@stitches/react/types/styled-comp
|
|
|
982
982
|
zIndices: {};
|
|
983
983
|
transitions: {};
|
|
984
984
|
}, import("@stitches/react/types/config").DefaultThemeMap, {}>>;
|
|
985
|
-
export declare const ToastStoryContainer: import("@stitches/react/types/styled-component").StyledComponent<"div", {}, {
|
|
986
|
-
xs: string;
|
|
987
|
-
sm: string;
|
|
988
|
-
md: string;
|
|
989
|
-
lg: string;
|
|
990
|
-
}, import("@stitches/react/types/css-util").CSS<{
|
|
991
|
-
xs: string;
|
|
992
|
-
sm: string;
|
|
993
|
-
md: string;
|
|
994
|
-
lg: string;
|
|
995
|
-
}, {
|
|
996
|
-
colors: {
|
|
997
|
-
primary: string;
|
|
998
|
-
primary500: string;
|
|
999
|
-
primary600: string;
|
|
1000
|
-
secondary: string;
|
|
1001
|
-
secondary100: string;
|
|
1002
|
-
secondary200: string;
|
|
1003
|
-
secondary300: string;
|
|
1004
|
-
secondary400: string;
|
|
1005
|
-
secondary500: string;
|
|
1006
|
-
secondary600: string;
|
|
1007
|
-
secondary700: string;
|
|
1008
|
-
secondary800: string;
|
|
1009
|
-
secondary900: string;
|
|
1010
|
-
neutral: string;
|
|
1011
|
-
neutral100: string;
|
|
1012
|
-
neutral200: string;
|
|
1013
|
-
neutral300: string;
|
|
1014
|
-
neutral400: string;
|
|
1015
|
-
neutral500: string;
|
|
1016
|
-
neutral600: string;
|
|
1017
|
-
neutral700: string;
|
|
1018
|
-
neutral800: string;
|
|
1019
|
-
neutral900: string;
|
|
1020
|
-
error100: string;
|
|
1021
|
-
error300: string;
|
|
1022
|
-
error500: string;
|
|
1023
|
-
error600: string;
|
|
1024
|
-
error700: string;
|
|
1025
|
-
warning100: string;
|
|
1026
|
-
warning300: string;
|
|
1027
|
-
warning500: string;
|
|
1028
|
-
warning600: string;
|
|
1029
|
-
warning700: string;
|
|
1030
|
-
info: string;
|
|
1031
|
-
info100: string;
|
|
1032
|
-
info300: string;
|
|
1033
|
-
info500: string;
|
|
1034
|
-
info600: string;
|
|
1035
|
-
info700: string;
|
|
1036
|
-
success100: string;
|
|
1037
|
-
success300: string;
|
|
1038
|
-
success500: string;
|
|
1039
|
-
success600: string;
|
|
1040
|
-
success700: string;
|
|
1041
|
-
background: string;
|
|
1042
|
-
foreground: string;
|
|
1043
|
-
};
|
|
1044
|
-
space: {
|
|
1045
|
-
0: string;
|
|
1046
|
-
5: string;
|
|
1047
|
-
10: string;
|
|
1048
|
-
15: string;
|
|
1049
|
-
20: string;
|
|
1050
|
-
25: string;
|
|
1051
|
-
30: string;
|
|
1052
|
-
40: string;
|
|
1053
|
-
46: string;
|
|
1054
|
-
50: string;
|
|
1055
|
-
60: string;
|
|
1056
|
-
70: string;
|
|
1057
|
-
80: string;
|
|
1058
|
-
90: string;
|
|
1059
|
-
100: string;
|
|
1060
|
-
2: string;
|
|
1061
|
-
4: string;
|
|
1062
|
-
6: string;
|
|
1063
|
-
8: string;
|
|
1064
|
-
12: string;
|
|
1065
|
-
16: string;
|
|
1066
|
-
24: string;
|
|
1067
|
-
28: string;
|
|
1068
|
-
32: string;
|
|
1069
|
-
};
|
|
1070
|
-
radii: {
|
|
1071
|
-
xs: string;
|
|
1072
|
-
sm: string;
|
|
1073
|
-
xm: string;
|
|
1074
|
-
md: string;
|
|
1075
|
-
xl: string;
|
|
1076
|
-
lg: string;
|
|
1077
|
-
primary: string;
|
|
1078
|
-
secondary: string;
|
|
1079
|
-
};
|
|
1080
|
-
fontSizes: {
|
|
1081
|
-
10: string;
|
|
1082
|
-
12: string;
|
|
1083
|
-
14: string;
|
|
1084
|
-
16: string;
|
|
1085
|
-
18: string;
|
|
1086
|
-
20: string;
|
|
1087
|
-
22: string;
|
|
1088
|
-
24: string;
|
|
1089
|
-
28: string;
|
|
1090
|
-
32: string;
|
|
1091
|
-
36: string;
|
|
1092
|
-
40: string;
|
|
1093
|
-
48: string;
|
|
1094
|
-
};
|
|
1095
|
-
fonts: {
|
|
1096
|
-
primary: string;
|
|
1097
|
-
widget: string;
|
|
1098
|
-
};
|
|
1099
|
-
fontWeights: {
|
|
1100
|
-
regular: number;
|
|
1101
|
-
medium: number;
|
|
1102
|
-
semiBold: number;
|
|
1103
|
-
bold: number;
|
|
1104
|
-
};
|
|
1105
|
-
lineHeights: {
|
|
1106
|
-
12: string;
|
|
1107
|
-
16: string;
|
|
1108
|
-
20: string;
|
|
1109
|
-
24: string;
|
|
1110
|
-
26: string;
|
|
1111
|
-
28: string;
|
|
1112
|
-
30: string;
|
|
1113
|
-
36: string;
|
|
1114
|
-
40: string;
|
|
1115
|
-
44: string;
|
|
1116
|
-
52: string;
|
|
1117
|
-
64: string;
|
|
1118
|
-
};
|
|
1119
|
-
letterSpacings: {};
|
|
1120
|
-
sizes: {
|
|
1121
|
-
4: string;
|
|
1122
|
-
6: string;
|
|
1123
|
-
8: string;
|
|
1124
|
-
10: string;
|
|
1125
|
-
12: string;
|
|
1126
|
-
16: string;
|
|
1127
|
-
18: string;
|
|
1128
|
-
20: string;
|
|
1129
|
-
24: string;
|
|
1130
|
-
26: string;
|
|
1131
|
-
28: string;
|
|
1132
|
-
30: string;
|
|
1133
|
-
32: string;
|
|
1134
|
-
36: string;
|
|
1135
|
-
40: string;
|
|
1136
|
-
45: string;
|
|
1137
|
-
48: string;
|
|
1138
|
-
};
|
|
1139
|
-
borderWidths: {};
|
|
1140
|
-
borderStyles: {};
|
|
1141
|
-
shadows: {
|
|
1142
|
-
s: string;
|
|
1143
|
-
};
|
|
1144
|
-
zIndices: {};
|
|
1145
|
-
transitions: {};
|
|
1146
|
-
}, import("@stitches/react/types/config").DefaultThemeMap, {}>>;
|
|
1147
985
|
//# sourceMappingURL=Toast.styles.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Toast.styles.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Toast/Toast.styles.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAO3C,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAK7B,CAAC;AAEH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAmMhC,CAAC;AAEH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAwCzB,CAAC;AAEH,eAAO,MAAM,QAAQ;;;;;;;;;;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CAAC,SAAS,CAAC,UAAU,CAAC,EAAE,MAAM,CAAC,CAAC;AACnE,MAAM,WAAW,iBAAiB;IAChC,SAAS,EAAE,WAAW,CAAC;CACxB;AAED,MAAM,MAAM,SAAS,GAAG;IACtB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACrB,cAAc,CAAC,EAAE,aAAa,CAAC;IAC/B,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,QAAQ,EAAE,aAAa,CAAC;IACxB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,IAAI,CAAC;IACX,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,OAAO,CAAC,EAAE,QAAQ,GAAG,UAAU,CAAC;CACjC,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG,SAAS,GAAG;IACvC,EAAE,EAAE,MAAM,GAAG,MAAM,CAAC;CACrB,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG;IAC5B,QAAQ,EAAE,CAAC,OAAO,EAAE,SAAS,KAAK,IAAI,CAAC;IACvC,WAAW,EAAE,CAAC,EAAE,EAAE,MAAM,GAAG,MAAM,EAAE,QAAQ,EAAE,aAAa,KAAK,IAAI,CAAC;CACrE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Toast/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Toast/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC3D,YAAY,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type {
|
|
3
|
-
type BaseProps = Pick<
|
|
4
|
-
chain: Pick<
|
|
1
|
+
import type { SwapInputPropTypes } from '../../containers/SwapInput/SwapInput.types';
|
|
2
|
+
import type { PriceImpactPropTypes } from '../PriceImpact/PriceImpact.types';
|
|
3
|
+
type BaseProps = Pick<SwapInputPropTypes, 'token' | 'price'> & {
|
|
4
|
+
chain: Pick<SwapInputPropTypes['chain'], 'image'>;
|
|
5
5
|
direction?: 'vertical' | 'horizontal';
|
|
6
6
|
centerAlign?: boolean;
|
|
7
7
|
label?: string;
|
|
@@ -10,7 +10,7 @@ type BaseProps = Pick<SwapInputProps, 'token' | 'price'> & {
|
|
|
10
10
|
type InputAmountProps = {
|
|
11
11
|
type: 'input';
|
|
12
12
|
};
|
|
13
|
-
type OutputAmountProps = Pick<
|
|
13
|
+
type OutputAmountProps = Pick<PriceImpactPropTypes, 'percentageChange' | 'warningLevel'> & {
|
|
14
14
|
type: 'output';
|
|
15
15
|
};
|
|
16
16
|
export type PropTypes = BaseProps & (InputAmountProps | OutputAmountProps);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TokenAmount.types.d.ts","sourceRoot":"","sources":["../../../../../../src/components/TokenAmount/TokenAmount.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"TokenAmount.types.d.ts","sourceRoot":"","sources":["../../../../../../src/components/TokenAmount/TokenAmount.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,4CAA4C,CAAC;AACrF,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,kCAAkC,CAAC;AAE7E,KAAK,SAAS,GAAG,IAAI,CAAC,kBAAkB,EAAE,OAAO,GAAG,OAAO,CAAC,GAAG;IAC7D,KAAK,EAAE,IAAI,CAAC,kBAAkB,CAAC,OAAO,CAAC,EAAE,OAAO,CAAC,CAAC;IAClD,SAAS,CAAC,EAAE,UAAU,GAAG,YAAY,CAAC;IACtC,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,gBAAgB,CAAC,EAAE,WAAW,CAAC;CAChC,CAAC;AAEF,KAAK,gBAAgB,GAAG;IAAE,IAAI,EAAE,OAAO,CAAA;CAAE,CAAC;AAE1C,KAAK,iBAAiB,GAAG,IAAI,CAC3B,oBAAoB,EACpB,kBAAkB,GAAG,cAAc,CACpC,GAAG;IACF,IAAI,EAAE,QAAQ,CAAC;CAChB,CAAC;AAEF,MAAM,MAAM,SAAS,GAAG,SAAS,GAAG,CAAC,gBAAgB,GAAG,iBAAiB,CAAC,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { TooltipPropTypes } from './Tooltip.types';
|
|
2
2
|
import type { PropsWithChildren } from 'react';
|
|
3
3
|
import React from 'react';
|
|
4
|
-
export declare function Tooltip(props: PropsWithChildren<
|
|
4
|
+
export declare function Tooltip(props: PropsWithChildren<TooltipPropTypes>): React.JSX.Element;
|
|
5
5
|
//# sourceMappingURL=Tooltip.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tooltip.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Tooltip/Tooltip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"Tooltip.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Tooltip/Tooltip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACxD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAG/C,OAAO,KAAK,MAAM,OAAO,CAAC;AAQ1B,wBAAgB,OAAO,CAAC,KAAK,EAAE,iBAAiB,CAAC,gBAAgB,CAAC,qBAqCjE"}
|
|
@@ -3,7 +3,7 @@ import type * as RadixTooltip from '@radix-ui/react-tooltip';
|
|
|
3
3
|
import type * as Stitches from '@stitches/react';
|
|
4
4
|
import type { ComponentProps, ReactNode } from 'react';
|
|
5
5
|
type RadixTooltipContentProps = ComponentProps<typeof RadixTooltip.Content>;
|
|
6
|
-
export interface
|
|
6
|
+
export interface TooltipPropTypes {
|
|
7
7
|
content: ReactNode;
|
|
8
8
|
side?: RadixTooltipContentProps['side'];
|
|
9
9
|
color?: 'primary' | 'error' | 'warning' | 'success';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tooltip.types.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Tooltip/Tooltip.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,KAAK,KAAK,YAAY,MAAM,yBAAyB,CAAC;AAC7D,OAAO,KAAK,KAAK,QAAQ,MAAM,iBAAiB,CAAC;AACjD,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvD,KAAK,wBAAwB,GAAG,cAAc,CAAC,OAAO,YAAY,CAAC,OAAO,CAAC,CAAC;AAE5E,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"Tooltip.types.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Tooltip/Tooltip.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,KAAK,KAAK,YAAY,MAAM,yBAAyB,CAAC;AAC7D,OAAO,KAAK,KAAK,QAAQ,MAAM,iBAAiB,CAAC;AACjD,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvD,KAAK,wBAAwB,GAAG,cAAc,CAAC,OAAO,YAAY,CAAC,OAAO,CAAC,CAAC;AAE5E,MAAM,WAAW,gBAAgB;IAC/B,OAAO,EAAE,SAAS,CAAC;IACnB,IAAI,CAAC,EAAE,wBAAwB,CAAC,MAAM,CAAC,CAAC;IACxC,KAAK,CAAC,EAAE,SAAS,GAAG,OAAO,GAAG,SAAS,GAAG,SAAS,CAAC;IACpD,UAAU,CAAC,EAAE,wBAAwB,CAAC,YAAY,CAAC,CAAC;IACpD,SAAS,CAAC,EAAE,WAAW,CAAC;IACxB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,MAAM,CAAC,EAAE;QACP,IAAI,CAAC,EAAE,QAAQ,CAAC,aAAa,CAAC;QAC9B,OAAO,CAAC,EAAE,GAAG,CAAC;KACf,CAAC;IACF,KAAK,CAAC,EAAE,wBAAwB,CAAC,OAAO,CAAC,CAAC;CAC3C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Tooltip/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Tooltip/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,YAAY,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { TypographyPropTypes } from './Typography.types';
|
|
2
2
|
import type { PropsWithChildren } from 'react';
|
|
3
3
|
import React from 'react';
|
|
4
|
-
export declare function Typography({ children, className, color, ...props }: PropsWithChildren<
|
|
4
|
+
export declare function Typography({ children, className, color, ...props }: PropsWithChildren<TypographyPropTypes>): React.JSX.Element;
|
|
5
5
|
//# sourceMappingURL=Typography.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Typography.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Typography/Typography.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"Typography.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Typography/Typography.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAC9D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAE/C,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,wBAAgB,UAAU,CAAC,EACzB,QAAQ,EACR,SAAS,EACT,KAAK,EACL,GAAG,KAAK,EACT,EAAE,iBAAiB,CAAC,mBAAmB,CAAC,qBAgBxC"}
|
|
@@ -4,7 +4,7 @@ type BaseProps = Stitches.VariantProps<typeof TypographyContainer>;
|
|
|
4
4
|
type BaseSizes = Exclude<BaseProps['size'], object>;
|
|
5
5
|
type BaseVariants = Exclude<BaseProps['variant'], object>;
|
|
6
6
|
export type BaseAlign = Exclude<BaseProps['align'], object>;
|
|
7
|
-
export interface
|
|
7
|
+
export interface TypographyPropTypes {
|
|
8
8
|
variant: BaseVariants;
|
|
9
9
|
size: BaseSizes;
|
|
10
10
|
align?: BaseAlign;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Typography.types.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Typography/Typography.types.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAC/D,OAAO,KAAK,KAAK,QAAQ,MAAM,iBAAiB,CAAC;AAEjD,KAAK,SAAS,GAAG,QAAQ,CAAC,YAAY,CAAC,OAAO,mBAAmB,CAAC,CAAC;AACnE,KAAK,SAAS,GAAG,OAAO,CAAC,SAAS,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC,CAAC;AACpD,KAAK,YAAY,GAAG,OAAO,CAAC,SAAS,CAAC,SAAS,CAAC,EAAE,MAAM,CAAC,CAAC;AAC1D,MAAM,MAAM,SAAS,GAAG,OAAO,CAAC,SAAS,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC,CAAC;AAE5D,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"Typography.types.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Typography/Typography.types.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAC/D,OAAO,KAAK,KAAK,QAAQ,MAAM,iBAAiB,CAAC;AAEjD,KAAK,SAAS,GAAG,QAAQ,CAAC,YAAY,CAAC,OAAO,mBAAmB,CAAC,CAAC;AACnE,KAAK,SAAS,GAAG,OAAO,CAAC,SAAS,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC,CAAC;AACpD,KAAK,YAAY,GAAG,OAAO,CAAC,SAAS,CAAC,SAAS,CAAC,EAAE,MAAM,CAAC,CAAC;AAC1D,MAAM,MAAM,SAAS,GAAG,OAAO,CAAC,SAAS,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC,CAAC;AAE5D,MAAM,WAAW,mBAAmB;IAClC,OAAO,EAAE,YAAY,CAAC;IACtB,IAAI,EAAE,SAAS,CAAC;IAChB,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,QAAQ,CAAC,aAAa,CAAC;IAC/B,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export { Typography } from './Typography';
|
|
2
2
|
export { NotSelectableTypography } from './NotSelectableTypography';
|
|
3
|
-
export type {
|
|
3
|
+
export type { TypographyPropTypes } from './Typography.types';
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Typography/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AACpE,YAAY,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Typography/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AACpE,YAAY,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC"}
|
|
@@ -43,5 +43,5 @@ export * from './Flags';
|
|
|
43
43
|
export * from './Select';
|
|
44
44
|
export * from './QuoteTag';
|
|
45
45
|
export * from './Tabs';
|
|
46
|
-
export type { SvgIconProps } from './SvgIcon';
|
|
46
|
+
export type { SvgIconProps, SvgIconPropsWithChildren } from './SvgIcon';
|
|
47
47
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,SAAS,CAAC;AACxB,cAAc,mBAAmB,CAAC;AAClC,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;AAC9B,cAAc,YAAY,CAAC;AAC3B,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,qBAAqB,CAAC;AACpC,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,yBAAyB,CAAC;AACxC,cAAc,0BAA0B,CAAC;AACzC,cAAc,WAAW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0BAA0B,CAAC;AACzC,cAAc,WAAW,CAAC;AAC1B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,UAAU,CAAC;AACzB,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC;AAC1B,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,mBAAmB,CAAC;AAClC,cAAc,kBAAkB,CAAC;AACjC,cAAc,QAAQ,CAAC;AACvB,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC;AAC5B,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,QAAQ,CAAC;AACvB,YAAY,EAAE,YAAY,EAAE,wBAAwB,EAAE,MAAM,WAAW,CAAC"}
|
|
@@ -1,12 +1,4 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type { WalletType } from '@rango-dev/wallets-shared';
|
|
1
|
+
import type { ConnectWalletsModalPropTypes } from './ConnectWalletsModal.types';
|
|
3
2
|
import React from 'react';
|
|
4
|
-
export
|
|
5
|
-
open: boolean;
|
|
6
|
-
list: WalletInfo[];
|
|
7
|
-
onSelect: (walletType: WalletType) => void;
|
|
8
|
-
onClose: () => void;
|
|
9
|
-
error?: string;
|
|
10
|
-
}
|
|
11
|
-
export declare function ConnectWalletsModal(props: PropTypes): React.JSX.Element;
|
|
3
|
+
export declare function ConnectWalletsModal(props: ConnectWalletsModalPropTypes): React.JSX.Element;
|
|
12
4
|
//# sourceMappingURL=ConnectWalletsModal.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConnectWalletsModal.d.ts","sourceRoot":"","sources":["../../../../../../src/containers/ConnectWalletsModal/ConnectWalletsModal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"ConnectWalletsModal.d.ts","sourceRoot":"","sources":["../../../../../../src/containers/ConnectWalletsModal/ConnectWalletsModal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,6BAA6B,CAAC;AAGhF,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,4BAA4B,qBAkBtE"}
|
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
import React from 'react';
|
|
3
|
-
export declare const TabsContainer: import("@stitches/react/types/styled-component").StyledComponent<"div", {}, {
|
|
1
|
+
export declare const ModalContent: import("@stitches/react/types/styled-component").StyledComponent<"div", {}, {
|
|
4
2
|
xs: string;
|
|
5
3
|
sm: string;
|
|
6
4
|
md: string;
|
|
@@ -162,7 +160,4 @@ export declare const TabsContainer: import("@stitches/react/types/styled-compone
|
|
|
162
160
|
zIndices: {};
|
|
163
161
|
transitions: {};
|
|
164
162
|
}, import("@stitches/react/types/config").DefaultThemeMap, {}>>;
|
|
165
|
-
|
|
166
|
-
export default _default;
|
|
167
|
-
export declare const Main: (args: PropTypes) => React.JSX.Element;
|
|
168
|
-
//# sourceMappingURL=Tabs.stories.d.ts.map
|
|
163
|
+
//# sourceMappingURL=ConnectWalletsModal.styles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ConnectWalletsModal.styles.d.ts","sourceRoot":"","sources":["../../../../../../src/containers/ConnectWalletsModal/ConnectWalletsModal.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAKvB,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { WalletInfo } from '../../components';
|
|
2
|
+
import type { WalletType } from '@rango-dev/wallets-shared';
|
|
3
|
+
export interface ConnectWalletsModalPropTypes {
|
|
4
|
+
open: boolean;
|
|
5
|
+
list: WalletInfo[];
|
|
6
|
+
onSelect: (walletType: WalletType) => void;
|
|
7
|
+
onClose: () => void;
|
|
8
|
+
error?: string;
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=ConnectWalletsModal.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ConnectWalletsModal.types.d.ts","sourceRoot":"","sources":["../../../../../../src/containers/ConnectWalletsModal/ConnectWalletsModal.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AACnD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAE5D,MAAM,WAAW,4BAA4B;IAC3C,IAAI,EAAE,OAAO,CAAC;IACd,IAAI,EAAE,UAAU,EAAE,CAAC;IACnB,QAAQ,EAAE,CAAC,UAAU,EAAE,UAAU,KAAK,IAAI,CAAC;IAC3C,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/containers/ConnectWalletsModal/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/containers/ConnectWalletsModal/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,YAAY,EAAE,4BAA4B,EAAE,MAAM,6BAA6B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mockData.d.ts","sourceRoot":"","sources":["../../../../../../src/containers/ConnectWalletsModal/mockData.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAMnD,eAAO,MAAM,WAAW,EAAE,UAAU,
|
|
1
|
+
{"version":3,"file":"mockData.d.ts","sourceRoot":"","sources":["../../../../../../src/containers/ConnectWalletsModal/mockData.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAMnD,eAAO,MAAM,WAAW,EAAE,UAAU,EAkInC,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { SwapInputPropTypes } from './SwapInput.types';
|
|
2
2
|
import React from 'react';
|
|
3
|
-
export declare function SwapInput(props:
|
|
3
|
+
export declare function SwapInput(props: SwapInputPropTypes): React.JSX.Element;
|
|
4
4
|
//# sourceMappingURL=SwapInput.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SwapInput.d.ts","sourceRoot":"","sources":["../../../../../../src/containers/SwapInput/SwapInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"SwapInput.d.ts","sourceRoot":"","sources":["../../../../../../src/containers/SwapInput/SwapInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAG5D,OAAO,KAAK,MAAM,OAAO,CAAC;AA0B1B,wBAAgB,SAAS,CAAC,KAAK,EAAE,kBAAkB,qBA+HlD"}
|
|
@@ -36,6 +36,6 @@ type ToProps = {
|
|
|
36
36
|
percentageChange: string | null;
|
|
37
37
|
warningLevel: PriceImpactWarningLevel;
|
|
38
38
|
};
|
|
39
|
-
export type
|
|
39
|
+
export type SwapInputPropTypes = BaseProps & (FromProps | ToProps);
|
|
40
40
|
export {};
|
|
41
41
|
//# sourceMappingURL=SwapInput.types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SwapInput.types.d.ts","sourceRoot":"","sources":["../../../../../../src/containers/SwapInput/SwapInput.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,gDAAgD,CAAC;AAE9F,MAAM,MAAM,SAAS,GAAG;IACtB,KAAK,EAAE;QACL,WAAW,EAAE,MAAM,CAAC;QACpB,KAAK,EAAE,MAAM,CAAC;KACf,CAAC;IACF,KAAK,EAAE;QACL,WAAW,EAAE,MAAM,CAAC;QACpB,KAAK,EAAE,MAAM,CAAC;KACf,CAAC;IACF,KAAK,EAAE;QACL,KAAK,EAAE,MAAM,CAAC;QACd,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,YAAY,CAAC,EAAE,MAAM,CAAC;QACtB,KAAK,CAAC,EAAE,MAAM,CAAC;KAChB,CAAC;IACF,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,YAAY,EAAE,MAAM,IAAI,CAAC;IACzB,gBAAgB,CAAC,EAAE,WAAW,CAAC;CAChC,CAAC;AAEF,KAAK,SAAS,GAAG;IACf,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,cAAc,EAAE,OAAO,CAAC;IACxB,kBAAkB,EAAE,MAAM,IAAI,CAAC;IAC/B,aAAa,EAAE,CAAC,WAAW,EAAE,MAAM,KAAK,IAAI,CAAC;CAC9C,CAAC;AAEF,KAAK,OAAO,GAAG;IACb,IAAI,EAAE,IAAI,CAAC;IACX,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,gBAAgB,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,YAAY,EAAE,uBAAuB,CAAC;CACvC,CAAC;AAEF,MAAM,MAAM,
|
|
1
|
+
{"version":3,"file":"SwapInput.types.d.ts","sourceRoot":"","sources":["../../../../../../src/containers/SwapInput/SwapInput.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,gDAAgD,CAAC;AAE9F,MAAM,MAAM,SAAS,GAAG;IACtB,KAAK,EAAE;QACL,WAAW,EAAE,MAAM,CAAC;QACpB,KAAK,EAAE,MAAM,CAAC;KACf,CAAC;IACF,KAAK,EAAE;QACL,WAAW,EAAE,MAAM,CAAC;QACpB,KAAK,EAAE,MAAM,CAAC;KACf,CAAC;IACF,KAAK,EAAE;QACL,KAAK,EAAE,MAAM,CAAC;QACd,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,YAAY,CAAC,EAAE,MAAM,CAAC;QACtB,KAAK,CAAC,EAAE,MAAM,CAAC;KAChB,CAAC;IACF,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,YAAY,EAAE,MAAM,IAAI,CAAC;IACzB,gBAAgB,CAAC,EAAE,WAAW,CAAC;CAChC,CAAC;AAEF,KAAK,SAAS,GAAG;IACf,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,cAAc,EAAE,OAAO,CAAC;IACxB,kBAAkB,EAAE,MAAM,IAAI,CAAC;IAC/B,aAAa,EAAE,CAAC,WAAW,EAAE,MAAM,KAAK,IAAI,CAAC;CAC9C,CAAC;AAEF,KAAK,OAAO,GAAG;IACb,IAAI,EAAE,IAAI,CAAC;IACX,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,gBAAgB,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,YAAY,EAAE,uBAAuB,CAAC;CACvC,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG,SAAS,GAAG,CAAC,SAAS,GAAG,OAAO,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/containers/SwapInput/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/containers/SwapInput/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,YAAY,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rango-dev/ui",
|
|
3
|
-
"version": "0.33.1-next.
|
|
3
|
+
"version": "0.33.1-next.2",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"source": "./src/index.ts",
|
|
@@ -17,8 +17,6 @@
|
|
|
17
17
|
"ts-check": "tsc --declaration --emitDeclarationOnly -p ./tsconfig.json",
|
|
18
18
|
"build:icons": "svgr svgs/resources/fill --config-file svgs/configs/.svgrrc.default.cjs",
|
|
19
19
|
"type-checking": "tsc --declaration --emitDeclarationOnly",
|
|
20
|
-
"storybook": "storybook dev -p 3000",
|
|
21
|
-
"build-storybook": "storybook build",
|
|
22
20
|
"clean": "rimraf dist",
|
|
23
21
|
"format": "prettier --write '{.,src}/**/*.{ts,tsx}'",
|
|
24
22
|
"lint": "eslint \"**/*.{ts,tsx}\" --ignore-path ../../.eslintignore"
|
|
@@ -33,16 +31,8 @@
|
|
|
33
31
|
"@babel/preset-env": "^7.21.4",
|
|
34
32
|
"@babel/preset-react": "^7.18.6",
|
|
35
33
|
"@babel/preset-typescript": "^7.21.4",
|
|
36
|
-
"@chromatic-com/storybook": "^1",
|
|
37
34
|
"@lingui/core": "4.2.1",
|
|
38
35
|
"@lingui/react": "4.2.1",
|
|
39
|
-
"@storybook/addon-essentials": "^8.0.8",
|
|
40
|
-
"@storybook/addon-info": "^5.3.21",
|
|
41
|
-
"@storybook/addon-links": "^8.0.8",
|
|
42
|
-
"@storybook/addons": "^7.1.1",
|
|
43
|
-
"@storybook/react": "^8.0.8",
|
|
44
|
-
"@storybook/react-vite": "^8.0.8",
|
|
45
|
-
"@storybook/react-webpack5": "^8.0.8",
|
|
46
36
|
"@svgr/babel-plugin-remove-jsx-attribute": "8.0.0",
|
|
47
37
|
"@svgr/cli": "^8.0.1",
|
|
48
38
|
"@types/react": "^18.0.25",
|
|
@@ -50,8 +40,7 @@
|
|
|
50
40
|
"babel-loader": "^9.1.0",
|
|
51
41
|
"react": "^18.2.0",
|
|
52
42
|
"react-dom": "^18.2.0",
|
|
53
|
-
"react-is": "^18.2.0"
|
|
54
|
-
"storybook": "^8.0.8"
|
|
43
|
+
"react-is": "^18.2.0"
|
|
55
44
|
},
|
|
56
45
|
"dependencies": {
|
|
57
46
|
"@radix-ui/react-checkbox": "^1.0.1",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { ButtonPropTypes, Ref } from './Button.types';
|
|
2
2
|
import type { PropsWithChildren } from 'react';
|
|
3
3
|
|
|
4
4
|
import React from 'react';
|
|
@@ -8,7 +8,7 @@ import { Spinner } from '../Spinner';
|
|
|
8
8
|
import { ButtonBase, Content } from './Button.styles';
|
|
9
9
|
import Ripple from './Ripple';
|
|
10
10
|
|
|
11
|
-
function ButtonComponent(props: PropsWithChildren<
|
|
11
|
+
function ButtonComponent(props: PropsWithChildren<ButtonPropTypes>, ref?: Ref) {
|
|
12
12
|
const {
|
|
13
13
|
children,
|
|
14
14
|
loading,
|
|
@@ -15,7 +15,7 @@ export type Ref =
|
|
|
15
15
|
|
|
16
16
|
type ButtonElement = Omit<HTMLAttributes<HTMLButtonElement>, 'prefix'>;
|
|
17
17
|
|
|
18
|
-
export type
|
|
18
|
+
export type ButtonPropTypes = ButtonElement & {
|
|
19
19
|
size?: BaseSizes;
|
|
20
20
|
variant?: BaseVariants;
|
|
21
21
|
type?: BaseTypes;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { ChainTokenPropTypes } from './ChainToken.types';
|
|
2
2
|
|
|
3
3
|
export const tokenChainSizeMap: {
|
|
4
|
-
[key in
|
|
4
|
+
[key in ChainTokenPropTypes['size']]: { token: number; chain: number };
|
|
5
5
|
} = {
|
|
6
6
|
small: { token: 17, chain: 10 },
|
|
7
7
|
xmedium: { token: 22, chain: 10 },
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { ChainTokenPropTypes } from './ChainToken.types';
|
|
2
2
|
|
|
3
3
|
import React from 'react';
|
|
4
4
|
|
|
@@ -8,7 +8,7 @@ import { Skeleton } from '../Skeleton';
|
|
|
8
8
|
import { tokenChainSizeMap } from './ChainToken.constants';
|
|
9
9
|
import { ChainImageContainer, Container } from './ChainToken.styles';
|
|
10
10
|
|
|
11
|
-
export const ChainToken: React.FC<
|
|
11
|
+
export const ChainToken: React.FC<ChainTokenPropTypes> = (props) => {
|
|
12
12
|
const {
|
|
13
13
|
tokenImage,
|
|
14
14
|
chainImage,
|
|
@@ -4,7 +4,7 @@ import type * as Stitches from '@stitches/react';
|
|
|
4
4
|
type BaseProps = Stitches.VariantProps<typeof ChainImageContainer>;
|
|
5
5
|
type BaseSizes = Exclude<BaseProps['size'], object>;
|
|
6
6
|
|
|
7
|
-
export type
|
|
7
|
+
export type ChainTokenPropTypes = {
|
|
8
8
|
tokenImage: string;
|
|
9
9
|
chainImage: string;
|
|
10
10
|
chianImageId?: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { CheckboxPropTypes } from './Checkbox.types';
|
|
2
2
|
import type { PropsWithChildren } from 'react';
|
|
3
3
|
|
|
4
4
|
import React from 'react';
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
Label,
|
|
14
14
|
} from './Checkbox.styles';
|
|
15
15
|
|
|
16
|
-
export function Checkbox(props: PropsWithChildren<
|
|
16
|
+
export function Checkbox(props: PropsWithChildren<CheckboxPropTypes>) {
|
|
17
17
|
const { id, label, ...otherProps } = props;
|
|
18
18
|
const hasLabel = id && label;
|
|
19
19
|
return (
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { ChipPropTypes } from './Chip.types';
|
|
2
2
|
|
|
3
3
|
import React from 'react';
|
|
4
4
|
|
|
@@ -6,7 +6,7 @@ import { Typography } from '../Typography';
|
|
|
6
6
|
|
|
7
7
|
import { ChipContainer } from './Chip.styles';
|
|
8
8
|
|
|
9
|
-
export function Chip(props:
|
|
9
|
+
export function Chip(props: ChipPropTypes) {
|
|
10
10
|
const { label, selected, prefix, suffix, ...otherProps } = props;
|
|
11
11
|
return (
|
|
12
12
|
<ChipContainer selected={selected} {...otherProps}>
|