@rango-dev/ui 0.1.15 → 0.1.16-next.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +0 -4
- package/dist/components/Alert/Alert.d.ts +8 -7
- package/dist/components/Alert/Alert.d.ts.map +1 -0
- package/dist/components/Alert/Alert.stories.d.ts +8 -5
- package/dist/components/Alert/Alert.stories.d.ts.map +1 -0
- package/dist/components/Alert/LoadingFailedAlert.d.ts +3 -2
- package/dist/components/Alert/LoadingFailedAlert.d.ts.map +1 -0
- package/dist/components/Alert/NotFoundAlert.d.ts +8 -7
- package/dist/components/Alert/NotFoundAlert.d.ts.map +1 -0
- package/dist/components/Alert/index.d.ts +3 -2
- package/dist/components/Alert/index.d.ts.map +1 -0
- package/dist/components/BestRoute/BestRoute.d.ts +16 -12
- package/dist/components/BestRoute/BestRoute.d.ts.map +1 -0
- package/dist/components/BestRoute/BestRoute.stories.d.ts +11 -8
- package/dist/components/BestRoute/BestRoute.stories.d.ts.map +1 -0
- package/dist/components/BestRoute/index.d.ts +2 -1
- package/dist/components/BestRoute/index.d.ts.map +1 -0
- package/dist/components/BestRoute/mock.d.ts +5 -4
- package/dist/components/BestRoute/mock.d.ts.map +1 -0
- package/dist/components/BlockchainsList/BlockchainsList.d.ts +11 -10
- package/dist/components/BlockchainsList/BlockchainsList.d.ts.map +1 -0
- package/dist/components/BlockchainsList/BlockchainsList.stories.d.ts +6 -5
- package/dist/components/BlockchainsList/BlockchainsList.stories.d.ts.map +1 -0
- package/dist/components/BlockchainsList/index.d.ts +2 -1
- package/dist/components/BlockchainsList/index.d.ts.map +1 -0
- package/dist/components/BlockchainsList/mockData.d.ts +3 -2
- package/dist/components/BlockchainsList/mockData.d.ts.map +1 -0
- package/dist/components/Button/Button.d.ts +18 -17
- package/dist/components/Button/Button.d.ts.map +1 -0
- package/dist/components/Button/Button.stories.d.ts +11 -8
- package/dist/components/Button/Button.stories.d.ts.map +1 -0
- package/dist/components/Button/index.d.ts +2 -1
- package/dist/components/Button/index.d.ts.map +1 -0
- package/dist/components/Checkbox/Checkbox.d.ts +12 -11
- package/dist/components/Checkbox/Checkbox.d.ts.map +1 -0
- package/dist/components/Checkbox/Checkbox.stories.d.ts +8 -5
- package/dist/components/Checkbox/Checkbox.stories.d.ts.map +1 -0
- package/dist/components/Checkbox/index.d.ts +2 -1
- package/dist/components/Checkbox/index.d.ts.map +1 -0
- package/dist/components/Chip/Chip.d.ts +13 -12
- package/dist/components/Chip/Chip.d.ts.map +1 -0
- package/dist/components/Chip/Chip.stories.d.ts +8 -7
- package/dist/components/Chip/Chip.stories.d.ts.map +1 -0
- package/dist/components/Chip/index.d.ts +2 -1
- package/dist/components/Chip/index.d.ts.map +1 -0
- package/dist/components/ColorPicker/ColorPicker.d.ts +10 -9
- package/dist/components/ColorPicker/ColorPicker.d.ts.map +1 -0
- package/dist/components/ColorPicker/ColorPicker.stories.d.ts +6 -5
- package/dist/components/ColorPicker/ColorPicker.stories.d.ts.map +1 -0
- package/dist/components/ColorPicker/index.d.ts +2 -1
- package/dist/components/ColorPicker/index.d.ts.map +1 -0
- package/dist/components/Divider/Divider.d.ts +7 -6
- package/dist/components/Divider/Divider.d.ts.map +1 -0
- package/dist/components/Divider/index.d.ts +2 -1
- package/dist/components/Divider/index.d.ts.map +1 -0
- package/dist/components/Drawer/Drawer.d.ts +14 -13
- package/dist/components/Drawer/Drawer.d.ts.map +1 -0
- package/dist/components/Drawer/Drawer.stories.d.ts +9 -8
- package/dist/components/Drawer/Drawer.stories.d.ts.map +1 -0
- package/dist/components/Drawer/index.d.ts +2 -1
- package/dist/components/Drawer/index.d.ts.map +1 -0
- package/dist/components/Header/Header.d.ts +10 -9
- package/dist/components/Header/Header.d.ts.map +1 -0
- package/dist/components/Header/index.d.ts +2 -1
- package/dist/components/Header/index.d.ts.map +1 -0
- package/dist/components/Icon/AddCircleIcon.d.ts +4 -3
- package/dist/components/Icon/AddCircleIcon.d.ts.map +1 -0
- package/dist/components/Icon/AddIcon.d.ts +4 -3
- package/dist/components/Icon/AddIcon.d.ts.map +1 -0
- package/dist/components/Icon/AddWalletIcon.d.ts +4 -3
- package/dist/components/Icon/AddWalletIcon.d.ts.map +1 -0
- package/dist/components/Icon/AngleDownIcon.d.ts +4 -3
- package/dist/components/Icon/AngleDownIcon.d.ts.map +1 -0
- package/dist/components/Icon/AngleLeftIcon.d.ts +4 -3
- package/dist/components/Icon/AngleLeftIcon.d.ts.map +1 -0
- package/dist/components/Icon/AngleRightIcon.d.ts +4 -3
- package/dist/components/Icon/AngleRightIcon.d.ts.map +1 -0
- package/dist/components/Icon/AngleUpIcon.d.ts +4 -3
- package/dist/components/Icon/AngleUpIcon.d.ts.map +1 -0
- package/dist/components/Icon/ArrowRightIcon.d.ts +4 -3
- package/dist/components/Icon/ArrowRightIcon.d.ts.map +1 -0
- package/dist/components/Icon/BagIcon.d.ts +4 -3
- package/dist/components/Icon/BagIcon.d.ts.map +1 -0
- package/dist/components/Icon/BanIcon.d.ts +4 -3
- package/dist/components/Icon/BanIcon.d.ts.map +1 -0
- package/dist/components/Icon/CheckCircleIcon.d.ts +4 -3
- package/dist/components/Icon/CheckCircleIcon.d.ts.map +1 -0
- package/dist/components/Icon/CheckIcon.d.ts +4 -3
- package/dist/components/Icon/CheckIcon.d.ts.map +1 -0
- package/dist/components/Icon/CheckSquareIcon.d.ts +4 -3
- package/dist/components/Icon/CheckSquareIcon.d.ts.map +1 -0
- package/dist/components/Icon/CheckWalletIcon.d.ts +4 -3
- package/dist/components/Icon/CheckWalletIcon.d.ts.map +1 -0
- package/dist/components/Icon/ChevronRightIcon.d.ts +4 -3
- package/dist/components/Icon/ChevronRightIcon.d.ts.map +1 -0
- package/dist/components/Icon/CloseIcon.d.ts +113 -1
- package/dist/components/Icon/CloseIcon.d.ts.map +1 -0
- package/dist/components/Icon/CopyIcon.d.ts +4 -3
- package/dist/components/Icon/CopyIcon.d.ts.map +1 -0
- package/dist/components/Icon/DeleteCircleIcon.d.ts +4 -3
- package/dist/components/Icon/DeleteCircleIcon.d.ts.map +1 -0
- package/dist/components/Icon/DeleteWalletIcon.d.ts +4 -3
- package/dist/components/Icon/DeleteWalletIcon.d.ts.map +1 -0
- package/dist/components/Icon/DisconnectIcon.d.ts +4 -3
- package/dist/components/Icon/DisconnectIcon.d.ts.map +1 -0
- package/dist/components/Icon/DownloadIcon.d.ts +4 -3
- package/dist/components/Icon/DownloadIcon.d.ts.map +1 -0
- package/dist/components/Icon/GasIcon.d.ts +4 -3
- package/dist/components/Icon/GasIcon.d.ts.map +1 -0
- package/dist/components/Icon/HistoryIcon.d.ts +4 -3
- package/dist/components/Icon/HistoryIcon.d.ts.map +1 -0
- package/dist/components/Icon/HorizontalSwapIcon.d.ts +4 -3
- package/dist/components/Icon/HorizontalSwapIcon.d.ts.map +1 -0
- package/dist/components/Icon/Icons.stories.d.ts +6 -5
- package/dist/components/Icon/Icons.stories.d.ts.map +1 -0
- package/dist/components/Icon/InfoCircleIcon.d.ts +4 -3
- package/dist/components/Icon/InfoCircleIcon.d.ts.map +1 -0
- package/dist/components/Icon/MinusCircleIcon.d.ts +4 -3
- package/dist/components/Icon/MinusCircleIcon.d.ts.map +1 -0
- package/dist/components/Icon/RetryIcon.d.ts +4 -3
- package/dist/components/Icon/RetryIcon.d.ts.map +1 -0
- package/dist/components/Icon/RetryLeftIcon.d.ts +4 -3
- package/dist/components/Icon/RetryLeftIcon.d.ts.map +1 -0
- package/dist/components/Icon/RetryRightIcon.d.ts +4 -3
- package/dist/components/Icon/RetryRightIcon.d.ts.map +1 -0
- package/dist/components/Icon/SearchIcon.d.ts +4 -3
- package/dist/components/Icon/SearchIcon.d.ts.map +1 -0
- package/dist/components/Icon/SearchMinusIcon.d.ts +4 -3
- package/dist/components/Icon/SearchMinusIcon.d.ts.map +1 -0
- package/dist/components/Icon/SettingIcon.d.ts +4 -3
- package/dist/components/Icon/SettingIcon.d.ts.map +1 -0
- package/dist/components/Icon/SignatureIcon.d.ts +4 -3
- package/dist/components/Icon/SignatureIcon.d.ts.map +1 -0
- package/dist/components/Icon/SwapWalletIcon.d.ts +4 -3
- package/dist/components/Icon/SwapWalletIcon.d.ts.map +1 -0
- package/dist/components/Icon/TimeIcon.d.ts +4 -3
- package/dist/components/Icon/TimeIcon.d.ts.map +1 -0
- package/dist/components/Icon/TrashIcon.d.ts +4 -3
- package/dist/components/Icon/TrashIcon.d.ts.map +1 -0
- package/dist/components/Icon/TryAgainIcon.d.ts +4 -3
- package/dist/components/Icon/TryAgainIcon.d.ts.map +1 -0
- package/dist/components/Icon/VerticalSwapIcon.d.ts +4 -3
- package/dist/components/Icon/VerticalSwapIcon.d.ts.map +1 -0
- package/dist/components/Icon/WalletIconIcon.d.ts +4 -3
- package/dist/components/Icon/WalletIconIcon.d.ts.map +1 -0
- package/dist/components/Icon/WarningIcon.d.ts +4 -3
- package/dist/components/Icon/WarningIcon.d.ts.map +1 -0
- package/dist/components/Icon/common.d.ts +229 -2
- package/dist/components/Icon/common.d.ts.map +1 -0
- package/dist/components/Icon/index.d.ts +41 -40
- package/dist/components/Icon/index.d.ts.map +1 -0
- package/dist/components/Icon/types.d.ts +8 -7
- package/dist/components/Icon/types.d.ts.map +1 -0
- package/dist/components/LiquiditySourceList/LiquiditySource.stories.d.ts +6 -5
- package/dist/components/LiquiditySourceList/LiquiditySource.stories.d.ts.map +1 -0
- package/dist/components/LiquiditySourceList/LiquiditySourceList.d.ts +12 -11
- package/dist/components/LiquiditySourceList/LiquiditySourceList.d.ts.map +1 -0
- package/dist/components/LiquiditySourceList/index.d.ts +2 -1
- package/dist/components/LiquiditySourceList/index.d.ts.map +1 -0
- package/dist/components/LiquiditySourceList/mockData.d.ts +3 -2
- package/dist/components/LiquiditySourceList/mockData.d.ts.map +1 -0
- package/dist/components/Modal/Modal.d.ts +12 -11
- package/dist/components/Modal/Modal.d.ts.map +1 -0
- package/dist/components/Modal/Modal.stories.d.ts +6 -5
- package/dist/components/Modal/Modal.stories.d.ts.map +1 -0
- package/dist/components/Modal/index.d.ts +2 -1
- package/dist/components/Modal/index.d.ts.map +1 -0
- package/dist/components/Radio/Radio.d.ts +14 -13
- package/dist/components/Radio/Radio.d.ts.map +1 -0
- package/dist/components/Radio/Radio.stories.d.ts +6 -5
- package/dist/components/Radio/Radio.stories.d.ts.map +1 -0
- package/dist/components/Radio/index.d.ts +2 -1
- package/dist/components/Radio/index.d.ts.map +1 -0
- package/dist/components/SecondaryPage/SecondaryPage.d.ts +17 -16
- package/dist/components/SecondaryPage/SecondaryPage.d.ts.map +1 -0
- package/dist/components/SecondaryPage/SecondaryPage.stories.d.ts +6 -2
- package/dist/components/SecondaryPage/SecondaryPage.stories.d.ts.map +1 -0
- package/dist/components/SecondaryPage/index.d.ts +2 -1
- package/dist/components/SecondaryPage/index.d.ts.map +1 -0
- package/dist/components/SelectableWalletList/SelectableWalletList.d.ts +8 -7
- package/dist/components/SelectableWalletList/SelectableWalletList.d.ts.map +1 -0
- package/dist/components/SelectableWalletList/SelectableWalletList.stories.d.ts +8 -5
- package/dist/components/SelectableWalletList/SelectableWalletList.stories.d.ts.map +1 -0
- package/dist/components/SelectableWalletList/index.d.ts +2 -1
- package/dist/components/SelectableWalletList/index.d.ts.map +1 -0
- package/dist/components/SelectableWalletList/mock.d.ts +3 -2
- package/dist/components/SelectableWalletList/mock.d.ts.map +1 -0
- package/dist/components/Skeleton/Skeleton.d.ts +7 -6
- package/dist/components/Skeleton/Skeleton.d.ts.map +1 -0
- package/dist/components/Skeleton/Skeleton.stories.d.ts +6 -5
- package/dist/components/Skeleton/Skeleton.stories.d.ts.map +1 -0
- package/dist/components/Skeleton/index.d.ts +2 -1
- package/dist/components/Skeleton/index.d.ts.map +1 -0
- package/dist/components/Spinner/Spinner.d.ts +7 -6
- package/dist/components/Spinner/Spinner.d.ts.map +1 -0
- package/dist/components/Spinner/Spinner.stories.d.ts +6 -5
- package/dist/components/Spinner/Spinner.stories.d.ts.map +1 -0
- package/dist/components/Spinner/index.d.ts +2 -1
- package/dist/components/Spinner/index.d.ts.map +1 -0
- package/dist/components/StatusDrawer/StatusDrawer.d.ts +12 -11
- package/dist/components/StatusDrawer/StatusDrawer.d.ts.map +1 -0
- package/dist/components/StatusDrawer/StatusDrawer.stories.d.ts +6 -5
- package/dist/components/StatusDrawer/StatusDrawer.stories.d.ts.map +1 -0
- package/dist/components/StatusDrawer/index.d.ts +2 -1
- package/dist/components/StatusDrawer/index.d.ts.map +1 -0
- package/dist/components/StepDetail/StepDetail.d.ts +13 -12
- package/dist/components/StepDetail/StepDetail.d.ts.map +1 -0
- package/dist/components/StepDetail/StepDetail.stories.d.ts +8 -5
- package/dist/components/StepDetail/StepDetail.stories.d.ts.map +1 -0
- package/dist/components/StepDetail/index.d.ts +2 -1
- package/dist/components/StepDetail/index.d.ts.map +1 -0
- package/dist/components/SwapContainer/SwapContainer.d.ts +8 -7
- package/dist/components/SwapContainer/SwapContainer.d.ts.map +1 -0
- package/dist/components/SwapContainer/index.d.ts +2 -1
- package/dist/components/SwapContainer/index.d.ts.map +1 -0
- package/dist/components/SwapDetail/SwapDetail.d.ts +9 -8
- package/dist/components/SwapDetail/SwapDetail.d.ts.map +1 -0
- package/dist/components/SwapDetail/SwapDetail.stories.d.ts +8 -5
- package/dist/components/SwapDetail/SwapDetail.stories.d.ts.map +1 -0
- package/dist/components/SwapDetail/Token.d.ts +18 -17
- package/dist/components/SwapDetail/Token.d.ts.map +1 -0
- package/dist/components/SwapDetail/index.d.ts +2 -1
- package/dist/components/SwapDetail/index.d.ts.map +1 -0
- package/dist/components/SwapDetail/mock.d.ts +3 -2
- package/dist/components/SwapDetail/mock.d.ts.map +1 -0
- package/dist/components/Switch/Switch.d.ts +7 -6
- package/dist/components/Switch/Switch.d.ts.map +1 -0
- package/dist/components/Switch/Switch.stories.d.ts +6 -5
- package/dist/components/Switch/Switch.stories.d.ts.map +1 -0
- package/dist/components/Switch/index.d.ts +2 -1
- package/dist/components/Switch/index.d.ts.map +1 -0
- package/dist/components/TextField/TextField.d.ts +11 -10
- package/dist/components/TextField/TextField.d.ts.map +1 -0
- package/dist/components/TextField/TextField.stories.d.ts +8 -7
- package/dist/components/TextField/TextField.stories.d.ts.map +1 -0
- package/dist/components/TextField/index.d.ts +2 -1
- package/dist/components/TextField/index.d.ts.map +1 -0
- package/dist/components/TokenList/TokenItem.d.ts +12 -11
- package/dist/components/TokenList/TokenItem.d.ts.map +1 -0
- package/dist/components/TokenList/TokenList.d.ts +18 -17
- package/dist/components/TokenList/TokenList.d.ts.map +1 -0
- package/dist/components/TokenList/TokenList.stories.d.ts +6 -5
- package/dist/components/TokenList/TokenList.stories.d.ts.map +1 -0
- package/dist/components/TokenList/index.d.ts +2 -1
- package/dist/components/TokenList/index.d.ts.map +1 -0
- package/dist/components/TokenList/mockData.d.ts +3 -2
- package/dist/components/TokenList/mockData.d.ts.map +1 -0
- package/dist/components/Tooltip/Tooltip.d.ts +8 -7
- package/dist/components/Tooltip/Tooltip.d.ts.map +1 -0
- package/dist/components/Tooltip/Tooltip.stories.d.ts +8 -5
- package/dist/components/Tooltip/Tooltip.stories.d.ts.map +1 -0
- package/dist/components/Tooltip/index.d.ts +2 -1
- package/dist/components/Tooltip/index.d.ts.map +1 -0
- package/dist/components/Typography/Typography.d.ts +19 -18
- package/dist/components/Typography/Typography.d.ts.map +1 -0
- package/dist/components/Typography/Typography.stories.d.ts +8 -5
- package/dist/components/Typography/Typography.stories.d.ts.map +1 -0
- package/dist/components/Typography/index.d.ts +2 -1
- package/dist/components/Typography/index.d.ts.map +1 -0
- package/dist/components/VirtualizedList/VirtualizedList.d.ts +18 -17
- package/dist/components/VirtualizedList/VirtualizedList.d.ts.map +1 -0
- package/dist/components/Wallet/State.d.ts +8 -7
- package/dist/components/Wallet/State.d.ts.map +1 -0
- package/dist/components/Wallet/Wallet.d.ts +8 -7
- package/dist/components/Wallet/Wallet.d.ts.map +1 -0
- package/dist/components/Wallet/Wallet.stories.d.ts +8 -5
- package/dist/components/Wallet/Wallet.stories.d.ts.map +1 -0
- package/dist/components/Wallet/index.d.ts +2 -1
- package/dist/components/Wallet/index.d.ts.map +1 -0
- package/dist/components/common/FilledCircle.d.ts +112 -1
- package/dist/components/common/FilledCircle.d.ts.map +1 -0
- package/dist/components/common/Image.d.ts +7 -6
- package/dist/components/common/Image.d.ts.map +1 -0
- package/dist/components/common/index.d.ts +3 -2
- package/dist/components/common/index.d.ts.map +1 -0
- package/dist/components/index.d.ts +26 -31
- package/dist/components/index.d.ts.map +1 -0
- package/dist/{components → containers}/BlockchainSelector/BlockchainSelector.d.ts +18 -17
- package/dist/containers/BlockchainSelector/BlockchainSelector.d.ts.map +1 -0
- package/dist/containers/BlockchainSelector/BlockchainSelector.stories.d.ts +6 -0
- package/dist/containers/BlockchainSelector/BlockchainSelector.stories.d.ts.map +1 -0
- package/dist/{components → containers}/BlockchainSelector/index.d.ts +2 -1
- package/dist/containers/BlockchainSelector/index.d.ts.map +1 -0
- package/dist/containers/ConfirmSwap/ConfirmSwap.d.ts +23 -22
- package/dist/containers/ConfirmSwap/ConfirmSwap.d.ts.map +1 -0
- package/dist/containers/ConfirmSwap/ConfirmSwap.stories.d.ts +9 -6
- package/dist/containers/ConfirmSwap/ConfirmSwap.stories.d.ts.map +1 -0
- package/dist/containers/ConfirmSwap/index.d.ts +2 -1
- package/dist/containers/ConfirmSwap/index.d.ts.map +1 -0
- package/dist/containers/ConfirmSwap/mock.d.ts +6 -5
- package/dist/containers/ConfirmSwap/mock.d.ts.map +1 -0
- package/dist/containers/ConnectWalletsModal/ConnectWallets.stories.d.ts +6 -0
- package/dist/containers/ConnectWalletsModal/ConnectWallets.stories.d.ts.map +1 -0
- package/dist/{components → containers}/ConnectWalletsModal/ConnectWalletsModal.d.ts +12 -11
- package/dist/containers/ConnectWalletsModal/ConnectWalletsModal.d.ts.map +1 -0
- package/dist/{components → containers}/ConnectWalletsModal/index.d.ts +2 -1
- package/dist/containers/ConnectWalletsModal/index.d.ts.map +1 -0
- package/dist/{components → containers}/ConnectWalletsModal/mockData.d.ts +3 -2
- package/dist/containers/ConnectWalletsModal/mockData.d.ts.map +1 -0
- package/dist/containers/History/History.d.ts +7 -6
- package/dist/containers/History/History.d.ts.map +1 -0
- package/dist/containers/History/History.stories.d.ts +10 -5
- package/dist/containers/History/History.stories.d.ts.map +1 -0
- package/dist/containers/History/SwapsGroup.d.ts +14 -13
- package/dist/containers/History/SwapsGroup.d.ts.map +1 -0
- package/dist/containers/History/index.d.ts +4 -2
- package/dist/containers/History/index.d.ts.map +1 -0
- package/dist/containers/History/mock.d.ts +3 -2
- package/dist/containers/History/mock.d.ts.map +1 -0
- package/dist/containers/History/types.d.ts +40 -39
- package/dist/containers/History/types.d.ts.map +1 -0
- package/dist/{components → containers}/LiquiditySourcesSelector/LiquiditySourcesSelector.d.ts +14 -13
- package/dist/containers/LiquiditySourcesSelector/LiquiditySourcesSelector.d.ts.map +1 -0
- package/dist/containers/LiquiditySourcesSelector/LiquiditySourcesSelector.stories.d.ts +6 -0
- package/dist/containers/LiquiditySourcesSelector/LiquiditySourcesSelector.stories.d.ts.map +1 -0
- package/dist/{components → containers}/LiquiditySourcesSelector/index.d.ts +2 -1
- package/dist/containers/LiquiditySourcesSelector/index.d.ts.map +1 -0
- package/dist/{components → containers}/Settings/Settings.d.ts +25 -24
- package/dist/containers/Settings/Settings.d.ts.map +1 -0
- package/dist/containers/Settings/Settings.stories.d.ts +6 -0
- package/dist/containers/Settings/Settings.stories.d.ts.map +1 -0
- package/dist/{components → containers}/Settings/index.d.ts +2 -1
- package/dist/containers/Settings/index.d.ts.map +1 -0
- package/dist/containers/SwapHistory/SwapHistory.d.ts +1129 -24
- package/dist/containers/SwapHistory/SwapHistory.d.ts.map +1 -0
- package/dist/containers/SwapHistory/SwapHistory.stories.d.ts +15 -5
- package/dist/containers/SwapHistory/SwapHistory.stories.d.ts.map +1 -0
- package/dist/containers/SwapHistory/SwapMessages.d.ts +18 -17
- package/dist/containers/SwapHistory/SwapMessages.d.ts.map +1 -0
- package/dist/containers/SwapHistory/index.d.ts +2 -1
- package/dist/containers/SwapHistory/index.d.ts.map +1 -0
- package/dist/containers/SwapHistory/mock.d.ts +3 -2
- package/dist/containers/SwapHistory/mock.d.ts.map +1 -0
- package/dist/containers/TokenSelector/TokenSelector.d.ts +125 -0
- package/dist/containers/TokenSelector/TokenSelector.d.ts.map +1 -0
- package/dist/containers/TokenSelector/TokenSelector.stories.d.ts +6 -0
- package/dist/containers/TokenSelector/TokenSelector.stories.d.ts.map +1 -0
- package/dist/{components → containers}/TokenSelector/index.d.ts +2 -1
- package/dist/containers/TokenSelector/index.d.ts.map +1 -0
- package/dist/containers/index.d.ts +9 -3
- package/dist/containers/index.d.ts.map +1 -0
- package/dist/helper/index.d.ts +7 -6
- package/dist/helper/index.d.ts.map +1 -0
- package/dist/hooks/index.d.ts +2 -1
- package/dist/hooks/index.d.ts.map +1 -0
- package/dist/hooks/useCopyToClipboard.d.ts +2 -1
- package/dist/hooks/useCopyToClipboard.d.ts.map +1 -0
- package/dist/index.d.ts +7 -6
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +20 -8
- package/dist/index.js.map +7 -0
- package/dist/theme.d.ts +929 -8
- package/dist/theme.d.ts.map +1 -0
- package/dist/types/index.d.ts +3 -2
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/meta.d.ts +24 -23
- package/dist/types/meta.d.ts.map +1 -0
- package/dist/types/swaps.d.ts +30 -29
- package/dist/types/swaps.d.ts.map +1 -0
- package/dist/types/wallet.d.ts +24 -23
- package/dist/types/wallet.d.ts.map +1 -0
- package/package.json +19 -37
- package/src/components/Alert/Alert.stories.tsx +19 -6
- package/src/components/Alert/Alert.tsx +3 -3
- package/src/components/BestRoute/BestRoute.stories.tsx +15 -5
- package/src/components/BestRoute/mock.ts +1 -1
- package/src/components/BlockchainsList/BlockchainsList.stories.tsx +9 -3
- package/src/components/BlockchainsList/mockData.ts +603 -108
- package/src/components/Button/Button.stories.tsx +8 -3
- package/src/components/Checkbox/Checkbox.stories.tsx +6 -2
- package/src/components/Chip/Chip.stories.tsx +23 -7
- package/src/components/ColorPicker/ColorPicker.stories.tsx +6 -3
- package/src/components/Divider/Divider.tsx +113 -11
- package/src/components/Drawer/Drawer.stories.tsx +8 -11
- package/src/components/Icon/Icons.stories.tsx +8 -4
- package/src/components/LiquiditySourceList/LiquiditySource.stories.tsx +6 -3
- package/src/components/LiquiditySourceList/LiquiditySourceList.tsx +3 -3
- package/src/components/Modal/Modal.stories.tsx +9 -10
- package/src/components/Radio/Radio.stories.tsx +12 -7
- package/src/components/SecondaryPage/SecondaryPage.stories.tsx +12 -3
- package/src/components/SelectableWalletList/SelectableWalletList.stories.tsx +2 -2
- package/src/components/SelectableWalletList/mock.ts +2 -2
- package/src/components/Skeleton/Skeleton.stories.tsx +6 -2
- package/src/components/Spinner/Spinner.stories.tsx +6 -2
- package/src/components/StatusDrawer/StatusDrawer.stories.tsx +7 -2
- package/src/components/StatusDrawer/StatusDrawer.tsx +2 -2
- package/src/components/StepDetail/StepDetail.stories.tsx +9 -2
- package/src/components/SwapDetail/SwapDetail.stories.tsx +5 -2
- package/src/components/SwapDetail/SwapDetail.tsx +3 -3
- package/src/components/SwapDetail/Token.tsx +4 -4
- package/src/components/Switch/Switch.stories.tsx +2 -2
- package/src/components/TextField/TextField.stories.tsx +3 -2
- package/src/components/TokenList/TokenList.stories.tsx +3 -3
- package/src/components/Tooltip/Tooltip.stories.tsx +7 -2
- package/src/components/Typography/Typography.stories.tsx +2 -2
- package/src/components/Wallet/Wallet.stories.tsx +7 -13
- package/src/components/index.ts +0 -6
- package/src/containers/BlockchainSelector/BlockchainSelector.stories.tsx +41 -0
- package/src/{components → containers}/BlockchainSelector/BlockchainSelector.tsx +5 -5
- package/src/containers/ConfirmSwap/ConfirmSwap.stories.tsx +223 -10
- package/src/containers/ConfirmSwap/ConfirmSwap.tsx +21 -12
- package/src/containers/ConfirmSwap/mock.ts +12 -15
- package/src/containers/ConnectWalletsModal/ConnectWallets.stories.tsx +24 -0
- package/src/{components → containers}/ConnectWalletsModal/ConnectWalletsModal.tsx +3 -3
- package/src/{components → containers}/ConnectWalletsModal/mockData.ts +17 -17
- package/src/containers/History/History.stories.tsx +2 -2
- package/src/containers/History/History.tsx +1 -1
- package/src/containers/History/index.ts +2 -1
- package/src/containers/History/mock.ts +3 -3
- package/src/containers/History/types.tsx +1 -1
- package/src/{components → containers}/LiquiditySourcesSelector/LiquiditySourcesSelector.stories.tsx +7 -4
- package/src/{components → containers}/LiquiditySourcesSelector/LiquiditySourcesSelector.tsx +2 -3
- package/src/containers/Settings/Settings.stories.tsx +27 -0
- package/src/{components → containers}/Settings/Settings.tsx +11 -8
- package/src/containers/SwapHistory/SwapHistory.stories.tsx +3 -3
- package/src/containers/SwapHistory/SwapHistory.tsx +4 -5
- package/src/containers/SwapHistory/mock.ts +2 -2
- package/src/{components → containers}/TokenSelector/TokenSelector.stories.tsx +7 -8
- package/src/{components → containers}/TokenSelector/TokenSelector.tsx +7 -6
- package/src/containers/index.ts +5 -0
- package/src/theme.ts +14 -22
- package/src/types/index.ts +1 -1
- package/dist/components/BlockchainSelector/BlockchainSelector.stories.d.ts +0 -5
- package/dist/components/ConnectWalletsModal/ConnectWallets.stories.d.ts +0 -5
- package/dist/components/LiquiditySourcesSelector/LiquiditySourcesSelector.stories.d.ts +0 -5
- package/dist/components/Settings/Settings.stories.d.ts +0 -5
- package/dist/components/Spacer/Spacer.d.ts +0 -6
- package/dist/components/Spacer/Spacer.stories.d.ts +0 -5
- package/dist/components/Spacer/index.d.ts +0 -1
- package/dist/components/SwapContainer/SwapContainer.stories.d.ts +0 -5
- package/dist/components/TokenSelector/TokenSelector.d.ts +0 -14
- package/dist/components/TokenSelector/TokenSelector.stories.d.ts +0 -5
- package/dist/ui.cjs.development.js +0 -5181
- package/dist/ui.cjs.development.js.map +0 -1
- package/dist/ui.cjs.production.min.js +0 -2
- package/dist/ui.cjs.production.min.js.map +0 -1
- package/dist/ui.esm.js +0 -5091
- package/dist/ui.esm.js.map +0 -1
- package/src/components/BlockchainSelector/BlockchainSelector.stories.tsx +0 -25
- package/src/components/ConnectWalletsModal/ConnectWallets.stories.tsx +0 -13
- package/src/components/Settings/Settings.stories.tsx +0 -34
- package/src/components/Spacer/Spacer.stories.tsx +0 -31
- package/src/components/Spacer/Spacer.tsx +0 -128
- package/src/components/Spacer/index.ts +0 -1
- package/src/components/SwapContainer/SwapContainer.stories.tsx +0 -13
- /package/src/{components → containers}/BlockchainSelector/index.ts +0 -0
- /package/src/{components → containers}/ConnectWalletsModal/index.ts +0 -0
- /package/src/{components → containers}/LiquiditySourcesSelector/index.ts +0 -0
- /package/src/{components → containers}/Settings/index.ts +0 -0
- /package/src/{components → containers}/TokenSelector/index.ts +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { PropsWithChildren, ReactNode } from 'react';
|
|
2
|
-
export interface PropTypes {
|
|
3
|
-
type?: 'primary' | 'secondary' | 'success' | 'warning' | 'error';
|
|
4
|
-
title?: string;
|
|
5
|
-
footer?: ReactNode;
|
|
6
|
-
}
|
|
7
|
-
export declare function Alert(props: PropsWithChildren<PropTypes>): JSX.Element;
|
|
1
|
+
import { PropsWithChildren, ReactNode } from 'react';
|
|
2
|
+
export interface PropTypes {
|
|
3
|
+
type?: 'primary' | 'secondary' | 'success' | 'warning' | 'error';
|
|
4
|
+
title?: string;
|
|
5
|
+
footer?: ReactNode;
|
|
6
|
+
}
|
|
7
|
+
export declare function Alert(props: PropsWithChildren<PropTypes>): JSX.Element;
|
|
8
|
+
//# sourceMappingURL=Alert.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Alert.d.ts","sourceRoot":"","sources":["../../../src/components/Alert/Alert.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,iBAAiB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AA6C5D,MAAM,WAAW,SAAS;IACxB,IAAI,CAAC,EAAE,SAAS,GAAG,WAAW,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,CAAC;IACjE,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,SAAS,CAAC;CACpB;AAED,wBAAgB,KAAK,CAAC,KAAK,EAAE,iBAAiB,CAAC,SAAS,CAAC,eAkDxD"}
|
|
@@ -1,5 +1,8 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { PropTypes } from './Alert';
|
|
3
|
-
declare const _default: import("@storybook/
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { PropTypes } from './Alert';
|
|
3
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, PropTypes & {
|
|
4
|
+
children?: React.ReactNode;
|
|
5
|
+
}>;
|
|
6
|
+
export default _default;
|
|
7
|
+
export declare const Main: (args: PropTypes) => JSX.Element;
|
|
8
|
+
//# sourceMappingURL=Alert.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Alert.stories.d.ts","sourceRoot":"","sources":["../../../src/components/Alert/Alert.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;;;;AAIpC,wBA0BwB;AAExB,eAAO,MAAM,IAAI,SAAU,SAAS,gBAAwB,CAAC"}
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export declare function LoadingFailedAlert(): JSX.Element;
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare function LoadingFailedAlert(): JSX.Element;
|
|
3
|
+
//# sourceMappingURL=LoadingFailedAlert.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LoadingFailedAlert.d.ts","sourceRoot":"","sources":["../../../src/components/Alert/LoadingFailedAlert.tsx"],"names":[],"mappings":";AAGA,wBAAgB,kBAAkB,gBAOjC"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
interface PropTypes {
|
|
3
|
-
catergory: string;
|
|
4
|
-
searchedFor?: string;
|
|
5
|
-
}
|
|
6
|
-
export declare function NotFoundAlert(props: PropTypes): JSX.Element;
|
|
7
|
-
export {};
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
interface PropTypes {
|
|
3
|
+
catergory: string;
|
|
4
|
+
searchedFor?: string;
|
|
5
|
+
}
|
|
6
|
+
export declare function NotFoundAlert(props: PropTypes): JSX.Element;
|
|
7
|
+
export {};
|
|
8
|
+
//# sourceMappingURL=NotFoundAlert.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NotFoundAlert.d.ts","sourceRoot":"","sources":["../../../src/components/Alert/NotFoundAlert.tsx"],"names":[],"mappings":";AAGA,UAAU,SAAS;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,wBAAgB,aAAa,CAAC,KAAK,EAAE,SAAS,eAU7C"}
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
export { Alert } from './Alert';
|
|
2
|
-
export { LoadingFailedAlert } from './LoadingFailedAlert';
|
|
1
|
+
export { Alert } from './Alert';
|
|
2
|
+
export { LoadingFailedAlert } from './LoadingFailedAlert';
|
|
3
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Alert/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC"}
|
|
@@ -1,12 +1,16 @@
|
|
|
1
|
-
import { PropsWithChildren } from 'react';
|
|
2
|
-
import { BestRouteResponse } from 'rango-sdk';
|
|
3
|
-
export declare const pulse:
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
1
|
+
import { PropsWithChildren } from 'react';
|
|
2
|
+
import { BestRouteResponse } from 'rango-sdk';
|
|
3
|
+
export declare const pulse: {
|
|
4
|
+
(): string;
|
|
5
|
+
name: string;
|
|
6
|
+
};
|
|
7
|
+
export interface PropTypes {
|
|
8
|
+
data: BestRouteResponse | null;
|
|
9
|
+
totalFee: string;
|
|
10
|
+
feeWarning: boolean;
|
|
11
|
+
totalTime: string;
|
|
12
|
+
loading?: boolean;
|
|
13
|
+
error?: string;
|
|
14
|
+
}
|
|
15
|
+
export declare function BestRoute(props: PropsWithChildren<PropTypes>): JSX.Element;
|
|
16
|
+
//# sourceMappingURL=BestRoute.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BestRoute.d.ts","sourceRoot":"","sources":["../../../src/components/BestRoute/BestRoute.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAY,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAO3D,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAwE9C,eAAO,MAAM,KAAK;;;CAUhB,CAAC;AAoDH,MAAM,WAAW,SAAS;IACxB,IAAI,EAAE,iBAAiB,GAAG,IAAI,CAAC;IAC/B,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,OAAO,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AACD,wBAAgB,SAAS,CAAC,KAAK,EAAE,iBAAiB,CAAC,SAAS,CAAC,eAgF5D"}
|
|
@@ -1,8 +1,11 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { PropTypes } from './BestRoute';
|
|
3
|
-
declare const _default: import("@storybook/
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
export
|
|
7
|
-
export declare const
|
|
8
|
-
export declare const
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { PropTypes } from './BestRoute';
|
|
3
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, PropTypes & {
|
|
4
|
+
children?: React.ReactNode;
|
|
5
|
+
}>;
|
|
6
|
+
export default _default;
|
|
7
|
+
export declare const Main: (props: PropTypes) => JSX.Element;
|
|
8
|
+
export declare const With4Step: (props: PropTypes) => JSX.Element;
|
|
9
|
+
export declare const With2Step: (props: PropTypes) => JSX.Element;
|
|
10
|
+
export declare const WithError: (props: PropTypes) => JSX.Element;
|
|
11
|
+
//# sourceMappingURL=BestRoute.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BestRoute.stories.d.ts","sourceRoot":"","sources":["../../../src/components/BestRoute/BestRoute.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAa,SAAS,EAAE,MAAM,aAAa,CAAC;;;;AAInD,wBAG4B;AAE5B,eAAO,MAAM,IAAI,UAAW,SAAS,gBAIpC,CAAC;AACF,eAAO,MAAM,SAAS,UAAW,SAAS,gBASzC,CAAC;AAEF,eAAO,MAAM,SAAS,UAAW,SAAS,gBASzC,CAAC;AACF,eAAO,MAAM,SAAS,UAAW,SAAS,gBAIzC,CAAC"}
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export { BestRoute } from './BestRoute';
|
|
1
|
+
export { BestRoute } from './BestRoute';
|
|
2
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/BestRoute/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { BestRouteType } from '../../types/swaps';
|
|
2
|
-
export declare const bestRoute: BestRouteType;
|
|
3
|
-
export declare const bestRouteExample2: BestRouteType;
|
|
4
|
-
export declare const bestRouteExample3: BestRouteType;
|
|
1
|
+
import { BestRouteType } from '../../types/swaps';
|
|
2
|
+
export declare const bestRoute: BestRouteType;
|
|
3
|
+
export declare const bestRouteExample2: BestRouteType;
|
|
4
|
+
export declare const bestRouteExample3: BestRouteType;
|
|
5
|
+
//# sourceMappingURL=mock.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mock.d.ts","sourceRoot":"","sources":["../../../src/components/BestRoute/mock.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAIlD,eAAO,MAAM,SAAS,EAAE,aAuJvB,CAAC;AACF,eAAO,MAAM,iBAAiB,EAAE,aAwU/B,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,aAkE/B,CAAC"}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { BlockchainMeta } from 'rango-sdk';
|
|
3
|
-
export interface PropTypes {
|
|
4
|
-
list: BlockchainMeta[];
|
|
5
|
-
selected?: BlockchainMeta | null;
|
|
6
|
-
onChange: (blockchain: BlockchainMeta) => void;
|
|
7
|
-
multiSelect?: boolean;
|
|
8
|
-
selectedList?: BlockchainMeta[] | 'all';
|
|
9
|
-
}
|
|
10
|
-
export declare function BlockchainsList(props: PropTypes): JSX.Element;
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { BlockchainMeta } from 'rango-sdk';
|
|
3
|
+
export interface PropTypes {
|
|
4
|
+
list: BlockchainMeta[];
|
|
5
|
+
selected?: BlockchainMeta | null;
|
|
6
|
+
onChange: (blockchain: BlockchainMeta) => void;
|
|
7
|
+
multiSelect?: boolean;
|
|
8
|
+
selectedList?: BlockchainMeta[] | 'all';
|
|
9
|
+
}
|
|
10
|
+
export declare function BlockchainsList(props: PropTypes): JSX.Element;
|
|
11
|
+
//# sourceMappingURL=BlockchainsList.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BlockchainsList.d.ts","sourceRoot":"","sources":["../../../src/components/BlockchainsList/BlockchainsList.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAK3C,MAAM,WAAW,SAAS;IACxB,IAAI,EAAE,cAAc,EAAE,CAAC;IACvB,QAAQ,CAAC,EAAE,cAAc,GAAG,IAAI,CAAC;IACjC,QAAQ,EAAE,CAAC,UAAU,EAAE,cAAc,KAAK,IAAI,CAAC;IAC/C,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,YAAY,CAAC,EAAE,cAAc,EAAE,GAAG,KAAK,CAAC;CACzC;AAeD,wBAAgB,eAAe,CAAC,KAAK,EAAE,SAAS,eA2C/C"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { PropTypes } from './BlockchainsList';
|
|
3
|
-
declare const _default: import("@storybook/
|
|
4
|
-
export default _default;
|
|
5
|
-
export declare const Main: (args: PropTypes) => JSX.Element;
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { PropTypes } from './BlockchainsList';
|
|
3
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, PropTypes>;
|
|
4
|
+
export default _default;
|
|
5
|
+
export declare const Main: (args: PropTypes) => JSX.Element;
|
|
6
|
+
//# sourceMappingURL=BlockchainsList.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BlockchainsList.stories.d.ts","sourceRoot":"","sources":["../../../src/components/BlockchainsList/BlockchainsList.stories.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAmB,SAAS,EAAE,MAAM,mBAAmB,CAAC;;AAG/D,wBAekC;AAElC,eAAO,MAAM,IAAI,SAAU,SAAS,gBAQnC,CAAC"}
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export { BlockchainsList } from './BlockchainsList';
|
|
1
|
+
export { BlockchainsList } from './BlockchainsList';
|
|
2
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/BlockchainsList/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC"}
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
import { BlockchainMeta } from 'rango-sdk';
|
|
2
|
-
export declare const blockchainMeta: BlockchainMeta[];
|
|
1
|
+
import { BlockchainMeta } from 'rango-sdk';
|
|
2
|
+
export declare const blockchainMeta: BlockchainMeta[];
|
|
3
|
+
//# sourceMappingURL=mockData.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mockData.d.ts","sourceRoot":"","sources":["../../../src/components/BlockchainsList/mockData.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAmB,MAAM,WAAW,CAAC;AAE5D,eAAO,MAAM,cAAc,EAAE,cAAc,EAs4G1C,CAAC"}
|
|
@@ -1,17 +1,18 @@
|
|
|
1
|
-
import { CSSProperties } from '@stitches/react';
|
|
2
|
-
import React, { PropsWithChildren, HTMLAttributes } from 'react';
|
|
3
|
-
export interface PropTypes extends Omit<HTMLAttributes<HTMLButtonElement>, 'prefix'> {
|
|
4
|
-
onClick?: (event: React.MouseEvent<HTMLButtonElement>) => void;
|
|
5
|
-
size?: 'small' | 'medium' | 'large' | 'compact' | 'free';
|
|
6
|
-
variant?: 'contained' | 'outlined' | 'ghost';
|
|
7
|
-
type?: 'primary' | 'error' | 'warning' | 'success';
|
|
8
|
-
prefix?: React.ReactNode;
|
|
9
|
-
suffix?: React.ReactNode;
|
|
10
|
-
align?: 'start' | 'grow';
|
|
11
|
-
loading?: boolean;
|
|
12
|
-
fullWidth?: boolean;
|
|
13
|
-
disabled?: boolean;
|
|
14
|
-
style?: CSSProperties;
|
|
15
|
-
flexContent?: boolean;
|
|
16
|
-
}
|
|
17
|
-
export declare function Button({ children, loading, disabled, prefix, suffix, align, flexContent, ...props }: PropsWithChildren<PropTypes>): JSX.Element;
|
|
1
|
+
import { CSSProperties } from '@stitches/react';
|
|
2
|
+
import React, { PropsWithChildren, HTMLAttributes } from 'react';
|
|
3
|
+
export interface PropTypes extends Omit<HTMLAttributes<HTMLButtonElement>, 'prefix'> {
|
|
4
|
+
onClick?: (event: React.MouseEvent<HTMLButtonElement>) => void;
|
|
5
|
+
size?: 'small' | 'medium' | 'large' | 'compact' | 'free';
|
|
6
|
+
variant?: 'contained' | 'outlined' | 'ghost';
|
|
7
|
+
type?: 'primary' | 'error' | 'warning' | 'success';
|
|
8
|
+
prefix?: React.ReactNode;
|
|
9
|
+
suffix?: React.ReactNode;
|
|
10
|
+
align?: 'start' | 'grow';
|
|
11
|
+
loading?: boolean;
|
|
12
|
+
fullWidth?: boolean;
|
|
13
|
+
disabled?: boolean;
|
|
14
|
+
style?: CSSProperties;
|
|
15
|
+
flexContent?: boolean;
|
|
16
|
+
}
|
|
17
|
+
export declare function Button({ children, loading, disabled, prefix, suffix, align, flexContent, ...props }: PropsWithChildren<PropTypes>): JSX.Element;
|
|
18
|
+
//# sourceMappingURL=Button.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../src/components/Button/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,KAAK,EAAE,EAAE,iBAAiB,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAsXjE,MAAM,WAAW,SACf,SAAQ,IAAI,CAAC,cAAc,CAAC,iBAAiB,CAAC,EAAE,QAAQ,CAAC;IACzD,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,UAAU,CAAC,iBAAiB,CAAC,KAAK,IAAI,CAAC;IAC/D,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,GAAG,SAAS,GAAG,MAAM,CAAC;IACzD,OAAO,CAAC,EAAE,WAAW,GAAG,UAAU,GAAG,OAAO,CAAC;IAC7C,IAAI,CAAC,EAAE,SAAS,GAAG,OAAO,GAAG,SAAS,GAAG,SAAS,CAAC;IACnD,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB,KAAK,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;IACzB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAED,wBAAgB,MAAM,CAAC,EACrB,QAAQ,EACR,OAAO,EACP,QAAQ,EACR,MAAM,EACN,MAAM,EACN,KAAK,EACL,WAAW,EACX,GAAG,KAAK,EACT,EAAE,iBAAiB,CAAC,SAAS,CAAC,eAoB9B"}
|
|
@@ -1,8 +1,11 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { PropTypes } from './Button';
|
|
3
|
-
declare const _default: import("@storybook/
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
export
|
|
7
|
-
export declare const
|
|
8
|
-
export declare const
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { PropTypes } from './Button';
|
|
3
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, PropTypes & {
|
|
4
|
+
children?: React.ReactNode;
|
|
5
|
+
}>;
|
|
6
|
+
export default _default;
|
|
7
|
+
export declare const Main: (props: PropTypes) => JSX.Element;
|
|
8
|
+
export declare const WithPrefix: (args: PropTypes) => JSX.Element;
|
|
9
|
+
export declare const WithSuffix: (args: PropTypes) => JSX.Element;
|
|
10
|
+
export declare const IconButton: (args: PropTypes) => JSX.Element;
|
|
11
|
+
//# sourceMappingURL=Button.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Button.stories.d.ts","sourceRoot":"","sources":["../../../src/components/Button/Button.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAU,SAAS,EAAE,MAAM,UAAU,CAAC;;;;AAG7C,wBAoCyB;AAEzB,eAAO,MAAM,IAAI,UAAW,SAAS,gBAEpC,CAAC;AAEF,eAAO,MAAM,UAAU,SAAU,SAAS,gBAIzC,CAAC;AAEF,eAAO,MAAM,UAAU,SAAU,SAAS,gBAIzC,CAAC;AACF,eAAO,MAAM,UAAU,SAAU,SAAS,gBAIzC,CAAC"}
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export { Button } from './Button';
|
|
1
|
+
export { Button } from './Button';
|
|
2
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Button/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC"}
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import { PropsWithChildren } from 'react';
|
|
2
|
-
export interface PropTypes {
|
|
3
|
-
id: string;
|
|
4
|
-
defaultChecked?: boolean;
|
|
5
|
-
label: string;
|
|
6
|
-
checked?: boolean;
|
|
7
|
-
onCheckedChange?: (checked: boolean) => void;
|
|
8
|
-
disabled?: boolean;
|
|
9
|
-
name?: string;
|
|
10
|
-
}
|
|
11
|
-
export declare function Checkbox({ label, id, ...props }: PropsWithChildren<PropTypes>): JSX.Element;
|
|
1
|
+
import { PropsWithChildren } from 'react';
|
|
2
|
+
export interface PropTypes {
|
|
3
|
+
id: string;
|
|
4
|
+
defaultChecked?: boolean;
|
|
5
|
+
label: string;
|
|
6
|
+
checked?: boolean;
|
|
7
|
+
onCheckedChange?: (checked: boolean) => void;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
name?: string;
|
|
10
|
+
}
|
|
11
|
+
export declare function Checkbox({ label, id, ...props }: PropsWithChildren<PropTypes>): JSX.Element;
|
|
12
|
+
//# sourceMappingURL=Checkbox.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Checkbox.d.ts","sourceRoot":"","sources":["../../../src/components/Checkbox/Checkbox.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AA8BjD,MAAM,WAAW,SAAS;IACxB,EAAE,EAAE,MAAM,CAAC;IACX,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,eAAe,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IAC7C,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,wBAAgB,QAAQ,CAAC,EACvB,KAAK,EACL,EAAE,EACF,GAAG,KAAK,EACT,EAAE,iBAAiB,CAAC,SAAS,CAAC,eAa9B"}
|
|
@@ -1,5 +1,8 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { PropTypes } from './Checkbox';
|
|
3
|
-
declare const _default: import("@storybook/
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { PropTypes } from './Checkbox';
|
|
3
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, PropTypes & {
|
|
4
|
+
children?: React.ReactNode;
|
|
5
|
+
}>;
|
|
6
|
+
export default _default;
|
|
7
|
+
export declare const Main: (props: PropTypes) => JSX.Element;
|
|
8
|
+
//# sourceMappingURL=Checkbox.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Checkbox.stories.d.ts","sourceRoot":"","sources":["../../../src/components/Checkbox/Checkbox.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAY,SAAS,EAAE,MAAM,YAAY,CAAC;;;;AAEjD,wBAmB2B;AAE3B,eAAO,MAAM,IAAI,UAAW,SAAS,gBAAsC,CAAC"}
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export { Checkbox } from './Checkbox';
|
|
1
|
+
export { Checkbox } from './Checkbox';
|
|
2
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Checkbox/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC"}
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import { CSSProperties } from '@stitches/react';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
export interface PropTypes {
|
|
4
|
-
label: string;
|
|
5
|
-
selected?: boolean;
|
|
6
|
-
onClick?: React.MouseEventHandler<HTMLDivElement>;
|
|
7
|
-
className?: string;
|
|
8
|
-
style?: CSSProperties;
|
|
9
|
-
prefix?: React.ReactNode;
|
|
10
|
-
suffix?: React.ReactNode;
|
|
11
|
-
}
|
|
12
|
-
export declare function Chip(props: PropTypes): JSX.Element;
|
|
1
|
+
import { CSSProperties } from '@stitches/react';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
export interface PropTypes {
|
|
4
|
+
label: string;
|
|
5
|
+
selected?: boolean;
|
|
6
|
+
onClick?: React.MouseEventHandler<HTMLDivElement>;
|
|
7
|
+
className?: string;
|
|
8
|
+
style?: CSSProperties;
|
|
9
|
+
prefix?: React.ReactNode;
|
|
10
|
+
suffix?: React.ReactNode;
|
|
11
|
+
}
|
|
12
|
+
export declare function Chip(props: PropTypes): JSX.Element;
|
|
13
|
+
//# sourceMappingURL=Chip.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Chip.d.ts","sourceRoot":"","sources":["../../../src/components/Chip/Chip.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,KAAK,MAAM,OAAO,CAAC;AA2B1B,MAAM,WAAW,SAAS;IACxB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC,cAAc,CAAC,CAAC;IAClD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC1B;AAED,wBAAgB,IAAI,CAAC,KAAK,EAAE,SAAS,eASpC"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { PropTypes } from './Chip';
|
|
3
|
-
declare const _default: import("@storybook/
|
|
4
|
-
export default _default;
|
|
5
|
-
export declare const Main: (args: PropTypes) => JSX.Element;
|
|
6
|
-
export declare const ChipWithPrefix: (args: PropTypes) => JSX.Element;
|
|
7
|
-
export declare const ChipWithSuffix: (args: PropTypes) => JSX.Element;
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { PropTypes } from './Chip';
|
|
3
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, PropTypes>;
|
|
4
|
+
export default _default;
|
|
5
|
+
export declare const Main: (args: PropTypes) => JSX.Element;
|
|
6
|
+
export declare const ChipWithPrefix: (args: PropTypes) => JSX.Element;
|
|
7
|
+
export declare const ChipWithSuffix: (args: PropTypes) => JSX.Element;
|
|
8
|
+
//# sourceMappingURL=Chip.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Chip.stories.d.ts","sourceRoot":"","sources":["../../../src/components/Chip/Chip.stories.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAQ,SAAS,EAAE,MAAM,QAAQ,CAAC;;AAEzC,wBAqBuB;AAEvB,eAAO,MAAM,IAAI,SAAU,SAAS,gBAAuB,CAAC;AAE5D,eAAO,MAAM,cAAc,SAAU,SAAS,gBAU7C,CAAC;AAEF,eAAO,MAAM,cAAc,SAAU,SAAS,gBAU7C,CAAC"}
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export { Chip } from './Chip';
|
|
1
|
+
export { Chip } from './Chip';
|
|
2
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Chip/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC"}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export interface PropTypes {
|
|
3
|
-
color?: string;
|
|
4
|
-
place: 'top' | 'bottom' | 'left' | 'right';
|
|
5
|
-
onChangeColor: (color?: string) => void;
|
|
6
|
-
label?: string;
|
|
7
|
-
placeholder?: string;
|
|
8
|
-
}
|
|
9
|
-
export declare function ColorPicker({ color, onChangeColor, label, place, placeholder, }: PropTypes): JSX.Element;
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export interface PropTypes {
|
|
3
|
+
color?: string;
|
|
4
|
+
place: 'top' | 'bottom' | 'left' | 'right';
|
|
5
|
+
onChangeColor: (color?: string) => void;
|
|
6
|
+
label?: string;
|
|
7
|
+
placeholder?: string;
|
|
8
|
+
}
|
|
9
|
+
export declare function ColorPicker({ color, onChangeColor, label, place, placeholder, }: PropTypes): JSX.Element;
|
|
10
|
+
//# sourceMappingURL=ColorPicker.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ColorPicker.d.ts","sourceRoot":"","sources":["../../../src/components/ColorPicker/ColorPicker.tsx"],"names":[],"mappings":";AA4CA,MAAM,WAAW,SAAS;IACxB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,KAAK,GAAG,QAAQ,GAAG,MAAM,GAAG,OAAO,CAAC;IAC3C,aAAa,EAAE,CAAC,KAAK,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AASD,wBAAgB,WAAW,CAAC,EAC1B,KAAK,EACL,aAAa,EACb,KAAK,EACL,KAAK,EACL,WAAW,GACZ,EAAE,SAAS,eA2CX"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { PropTypes } from './ColorPicker';
|
|
3
|
-
declare const _default: import("@storybook/
|
|
4
|
-
export default _default;
|
|
5
|
-
export declare const Main: (args: PropTypes) => JSX.Element;
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { PropTypes } from './ColorPicker';
|
|
3
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, PropTypes>;
|
|
4
|
+
export default _default;
|
|
5
|
+
export declare const Main: (args: PropTypes) => JSX.Element;
|
|
6
|
+
//# sourceMappingURL=ColorPicker.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ColorPicker.stories.d.ts","sourceRoot":"","sources":["../../../src/components/ColorPicker/ColorPicker.stories.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAe,SAAS,EAAE,MAAM,eAAe,CAAC;;AAEvD,wBAmB8B;AAE9B,eAAO,MAAM,IAAI,SAAU,SAAS,gBAoBnC,CAAC"}
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export { ColorPicker } from './ColorPicker';
|
|
1
|
+
export { ColorPicker } from './ColorPicker';
|
|
2
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ColorPicker/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export interface PropTypes {
|
|
3
|
-
size?: 4 | 8 | 12 | 16 | 18 | 20 | 24 | 32;
|
|
4
|
-
direction?: 'vertical' | 'horizontal';
|
|
5
|
-
}
|
|
6
|
-
export declare function Divider({ size }: PropTypes): JSX.Element;
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export interface PropTypes {
|
|
3
|
+
size?: 4 | 8 | 12 | 16 | 18 | 20 | 24 | 32;
|
|
4
|
+
direction?: 'vertical' | 'horizontal';
|
|
5
|
+
}
|
|
6
|
+
export declare function Divider({ size, direction }: PropTypes): JSX.Element;
|
|
7
|
+
//# sourceMappingURL=Divider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Divider.d.ts","sourceRoot":"","sources":["../../../src/components/Divider/Divider.tsx"],"names":[],"mappings":";AAuIA,MAAM,WAAW,SAAS;IACxB,IAAI,CAAC,EAAE,CAAC,GAAG,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,CAAC;IAC3C,SAAS,CAAC,EAAE,UAAU,GAAG,YAAY,CAAC;CACvC;AAED,wBAAgB,OAAO,CAAC,EAAE,IAAS,EAAE,SAAsB,EAAE,EAAE,SAAS,eAEvE"}
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export { Divider } from './Divider';
|
|
1
|
+
export { Divider } from './Divider';
|
|
2
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Divider/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC"}
|
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export interface PropTypes {
|
|
3
|
-
title?: string;
|
|
4
|
-
open: boolean;
|
|
5
|
-
onClose: () => void;
|
|
6
|
-
content: React.ReactNode;
|
|
7
|
-
containerStyle?: React.CSSProperties;
|
|
8
|
-
anchor?: 'bottom' | 'left' | 'right' | 'top';
|
|
9
|
-
showClose?: boolean;
|
|
10
|
-
footer?: React.ReactNode;
|
|
11
|
-
container: Element | null;
|
|
12
|
-
}
|
|
13
|
-
export declare function Drawer(props: PropTypes): JSX.Element;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface PropTypes {
|
|
3
|
+
title?: string;
|
|
4
|
+
open: boolean;
|
|
5
|
+
onClose: () => void;
|
|
6
|
+
content: React.ReactNode;
|
|
7
|
+
containerStyle?: React.CSSProperties;
|
|
8
|
+
anchor?: 'bottom' | 'left' | 'right' | 'top';
|
|
9
|
+
showClose?: boolean;
|
|
10
|
+
footer?: React.ReactNode;
|
|
11
|
+
container: Element | null;
|
|
12
|
+
}
|
|
13
|
+
export declare function Drawer(props: PropTypes): JSX.Element;
|
|
14
|
+
//# sourceMappingURL=Drawer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Drawer.d.ts","sourceRoot":"","sources":["../../../src/components/Drawer/Drawer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,MAAM,WAAW,SAAS;IACxB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,OAAO,CAAC;IACd,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB,cAAc,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IACrC,MAAM,CAAC,EAAE,QAAQ,GAAG,MAAM,GAAG,OAAO,GAAG,KAAK,CAAC;IAC7C,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB,SAAS,EAAE,OAAO,GAAG,IAAI,CAAC;CAC3B;AAuED,wBAAgB,MAAM,CAAC,KAAK,EAAE,SAAS,eAoCtC"}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { PropTypes } from './Drawer';
|
|
3
|
-
declare const _default: import("@storybook/
|
|
4
|
-
export default _default;
|
|
5
|
-
export declare const Main: (args: PropTypes) => JSX.Element;
|
|
6
|
-
export declare const EmptyContent: (args: PropTypes) => JSX.Element;
|
|
7
|
-
export declare const BottomAnchor: (args: PropTypes) => JSX.Element;
|
|
8
|
-
export declare const LeftAnchor: (args: PropTypes) => JSX.Element;
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { PropTypes } from './Drawer';
|
|
3
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, PropTypes>;
|
|
4
|
+
export default _default;
|
|
5
|
+
export declare const Main: (args: PropTypes) => JSX.Element;
|
|
6
|
+
export declare const EmptyContent: (args: PropTypes) => JSX.Element;
|
|
7
|
+
export declare const BottomAnchor: (args: PropTypes) => JSX.Element;
|
|
8
|
+
export declare const LeftAnchor: (args: PropTypes) => JSX.Element;
|
|
9
|
+
//# sourceMappingURL=Drawer.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Drawer.stories.d.ts","sourceRoot":"","sources":["../../../src/components/Drawer/Drawer.stories.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAU,SAAS,EAAE,MAAM,UAAU,CAAC;;AAE7C,wBAgByB;AAEzB,eAAO,MAAM,IAAI,SAAU,SAAS,gBAQnC,CAAC;AAEF,eAAO,MAAM,YAAY,SAAU,SAAS,gBAQ3C,CAAC;AACF,eAAO,MAAM,YAAY,SAAU,SAAS,gBAmB3C,CAAC;AAEF,eAAO,MAAM,UAAU,SAAU,SAAS,gBAoBzC,CAAC"}
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export { Drawer } from './Drawer';
|
|
1
|
+
export { Drawer } from './Drawer';
|
|
2
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Drawer/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC"}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import React, { PropsWithChildren } from 'react';
|
|
2
|
-
interface PropTypes {
|
|
3
|
-
onBack?: () => void;
|
|
4
|
-
prefix?: React.ReactNode;
|
|
5
|
-
suffix?: React.ReactNode;
|
|
6
|
-
title: string;
|
|
7
|
-
}
|
|
8
|
-
export declare function Header(props: PropsWithChildren<PropTypes>): JSX.Element;
|
|
9
|
-
export {};
|
|
1
|
+
import React, { PropsWithChildren } from 'react';
|
|
2
|
+
interface PropTypes {
|
|
3
|
+
onBack?: () => void;
|
|
4
|
+
prefix?: React.ReactNode;
|
|
5
|
+
suffix?: React.ReactNode;
|
|
6
|
+
title: string;
|
|
7
|
+
}
|
|
8
|
+
export declare function Header(props: PropsWithChildren<PropTypes>): JSX.Element;
|
|
9
|
+
export {};
|
|
10
|
+
//# sourceMappingURL=Header.d.ts.map
|