chore: replace @0xproject with @0x in .tsx files

This commit is contained in:
Fabio Berger 2018-10-18 13:59:40 +01:00
parent 4bf50a0496
commit 8c6de7f69d
86 changed files with 132 additions and 132 deletions

View File

@ -1,4 +1,4 @@
import { BigNumber } from '@0xproject/utils'; import { BigNumber } from '@0x/utils';
import * as _ from 'lodash'; import * as _ from 'lodash';
import * as React from 'react'; import * as React from 'react';

View File

@ -1,4 +1,4 @@
import { BigNumber } from '@0xproject/utils'; import { BigNumber } from '@0x/utils';
import * as _ from 'lodash'; import * as _ from 'lodash';
import * as React from 'react'; import * as React from 'react';

View File

@ -1,4 +1,4 @@
import { BuyQuote } from '@0xproject/asset-buyer'; import { BuyQuote } from '@0x/asset-buyer';
import * as _ from 'lodash'; import * as _ from 'lodash';
import * as React from 'react'; import * as React from 'react';

View File

@ -1,5 +1,5 @@
import { BuyQuoteInfo } from '@0xproject/asset-buyer'; import { BuyQuoteInfo } from '@0x/asset-buyer';
import { BigNumber } from '@0xproject/utils'; import { BigNumber } from '@0x/utils';
import * as _ from 'lodash'; import * as _ from 'lodash';
import * as React from 'react'; import * as React from 'react';
import { oc } from 'ts-optchain'; import { oc } from 'ts-optchain';

View File

@ -1,4 +1,4 @@
import { Styles } from '@0xproject/react-shared'; import { Styles } from '@0x/react-shared';
import * as React from 'react'; import * as React from 'react';
const styles: Styles = { const styles: Styles = {

View File

@ -1,8 +1,8 @@
import { logUtils } from '@0xproject/utils'; import { logUtils } from '@0x/utils';
import * as _ from 'lodash'; import * as _ from 'lodash';
import * as React from 'react'; import * as React from 'react';
import { CustomType } from '@0xproject/types'; import { CustomType } from '@0x/types';
const STRING_ENUM_CODE_PREFIX = ' strEnum('; const STRING_ENUM_CODE_PREFIX = ' strEnum(';

View File

@ -8,7 +8,7 @@ import {
Networks, Networks,
SectionHeader, SectionHeader,
utils as sharedUtils, utils as sharedUtils,
} from '@0xproject/react-shared'; } from '@0x/react-shared';
import { import {
DocAgnosticFormat, DocAgnosticFormat,
Event, Event,
@ -18,7 +18,7 @@ import {
TypeDefinitionByName, TypeDefinitionByName,
TypescriptFunction, TypescriptFunction,
TypescriptMethod, TypescriptMethod,
} from '@0xproject/types'; } from '@0x/types';
import * as _ from 'lodash'; import * as _ from 'lodash';
import * as React from 'react'; import * as React from 'react';
import * as semver from 'semver'; import * as semver from 'semver';

View File

@ -1,5 +1,5 @@
import { AnchorTitle, colors, HeaderSizes } from '@0xproject/react-shared'; import { AnchorTitle, colors, HeaderSizes } from '@0x/react-shared';
import { Event, EventArg } from '@0xproject/types'; import { Event, EventArg } from '@0x/types';
import * as _ from 'lodash'; import * as _ from 'lodash';
import * as React from 'react'; import * as React from 'react';

View File

@ -1,7 +1,7 @@
import * as _ from 'lodash'; import * as _ from 'lodash';
import * as React from 'react'; import * as React from 'react';
import { CustomType, TypeDefinitionByName } from '@0xproject/types'; import { CustomType, TypeDefinitionByName } from '@0x/types';
import { DocsInfo } from '../docs_info'; import { DocsInfo } from '../docs_info';

View File

@ -1,5 +1,5 @@
import { AnchorTitle, HeaderSizes } from '@0xproject/react-shared'; import { AnchorTitle, HeaderSizes } from '@0x/react-shared';
import { Property, TypeDefinitionByName } from '@0xproject/types'; import { Property, TypeDefinitionByName } from '@0x/types';
import * as React from 'react'; import * as React from 'react';
import { DocsInfo } from '../docs_info'; import { DocsInfo } from '../docs_info';

View File

@ -1,7 +1,7 @@
import * as _ from 'lodash'; import * as _ from 'lodash';
import * as React from 'react'; import * as React from 'react';
import { Parameter, Type as TypeDef, TypeDefinitionByName, TypeParameter } from '@0xproject/types'; import { Parameter, Type as TypeDef, TypeDefinitionByName, TypeParameter } from '@0x/types';
import { DocsInfo } from '../docs_info'; import { DocsInfo } from '../docs_info';

View File

@ -1,4 +1,4 @@
import { ObjectMap } from '@0xproject/types'; import { ObjectMap } from '@0x/types';
import * as _ from 'lodash'; import * as _ from 'lodash';
import MenuItem from 'material-ui/MenuItem'; import MenuItem from 'material-ui/MenuItem';
import * as React from 'react'; import * as React from 'react';

View File

@ -1,4 +1,4 @@
import { colors, Networks } from '@0xproject/react-shared'; import { colors, Networks } from '@0x/react-shared';
import Dialog from 'material-ui/Dialog'; import Dialog from 'material-ui/Dialog';
import FlatButton from 'material-ui/FlatButton'; import FlatButton from 'material-ui/FlatButton';
import * as React from 'react'; import * as React from 'react';

View File

@ -1,5 +1,5 @@
import { colors } from '@0xproject/react-shared'; import { colors } from '@0x/react-shared';
import { BigNumber } from '@0xproject/utils'; import { BigNumber } from '@0x/utils';
import * as _ from 'lodash'; import * as _ from 'lodash';
import Dialog from 'material-ui/Dialog'; import Dialog from 'material-ui/Dialog';
import FlatButton from 'material-ui/FlatButton'; import FlatButton from 'material-ui/FlatButton';

View File

@ -1,6 +1,6 @@
import { colors, constants as sharedConstants } from '@0xproject/react-shared'; import { colors, constants as sharedConstants } from '@0x/react-shared';
import { BigNumber, logUtils } from '@0xproject/utils'; import { BigNumber, logUtils } from '@0x/utils';
import { Web3Wrapper } from '@0xproject/web3-wrapper'; import { Web3Wrapper } from '@0x/web3-wrapper';
import * as _ from 'lodash'; import * as _ from 'lodash';
import Dialog from 'material-ui/Dialog'; import Dialog from 'material-ui/Dialog';
import FlatButton from 'material-ui/FlatButton'; import FlatButton from 'material-ui/FlatButton';

View File

@ -1,4 +1,4 @@
import { colors } from '@0xproject/react-shared'; import { colors } from '@0x/react-shared';
import Dialog from 'material-ui/Dialog'; import Dialog from 'material-ui/Dialog';
import FlatButton from 'material-ui/FlatButton'; import FlatButton from 'material-ui/FlatButton';
import * as React from 'react'; import * as React from 'react';

View File

@ -1,4 +1,4 @@
import { BigNumber } from '@0xproject/utils'; import { BigNumber } from '@0x/utils';
import * as _ from 'lodash'; import * as _ from 'lodash';
import Dialog from 'material-ui/Dialog'; import Dialog from 'material-ui/Dialog';
import FlatButton from 'material-ui/FlatButton'; import FlatButton from 'material-ui/FlatButton';

View File

@ -1,4 +1,4 @@
import { colors } from '@0xproject/react-shared'; import { colors } from '@0x/react-shared';
import Dialog from 'material-ui/Dialog'; import Dialog from 'material-ui/Dialog';
import FlatButton from 'material-ui/FlatButton'; import FlatButton from 'material-ui/FlatButton';
import * as React from 'react'; import * as React from 'react';

View File

@ -1,4 +1,4 @@
import { Link } from '@0xproject/react-shared'; import { Link } from '@0x/react-shared';
import * as React from 'react'; import * as React from 'react';
import { WebsitePaths } from 'ts/types'; import { WebsitePaths } from 'ts/types';

View File

@ -1,4 +1,4 @@
import { ALink, colors, Link } from '@0xproject/react-shared'; import { ALink, colors, Link } from '@0x/react-shared';
import * as _ from 'lodash'; import * as _ from 'lodash';
import Drawer from 'material-ui/Drawer'; import Drawer from 'material-ui/Drawer';
import * as React from 'react'; import * as React from 'react';

View File

@ -1,5 +1,5 @@
import { colors, Link, MarkdownLinkBlock, utils as sharedUtils } from '@0xproject/react-shared'; import { colors, Link, MarkdownLinkBlock, utils as sharedUtils } from '@0x/react-shared';
import { ObjectMap } from '@0xproject/types'; import { ObjectMap } from '@0x/types';
import * as _ from 'lodash'; import * as _ from 'lodash';
import * as React from 'react'; import * as React from 'react';
import * as ReactMarkdown from 'react-markdown'; import * as ReactMarkdown from 'react-markdown';

View File

@ -1,4 +1,4 @@
import { colors } from '@0xproject/react-shared'; import { colors } from '@0x/react-shared';
import * as _ from 'lodash'; import * as _ from 'lodash';
import * as React from 'react'; import * as React from 'react';
import { VersionDropDown } from 'ts/components/documentation/version_drop_down'; import { VersionDropDown } from 'ts/components/documentation/version_drop_down';

View File

@ -1,4 +1,4 @@
import { colors, Link } from '@0xproject/react-shared'; import { colors, Link } from '@0x/react-shared';
import * as _ from 'lodash'; import * as _ from 'lodash';
import * as React from 'react'; import * as React from 'react';
import { Container } from 'ts/components/ui/container'; import { Container } from 'ts/components/ui/container';

View File

@ -1,4 +1,4 @@
import { colors } from '@0xproject/react-shared'; import { colors } from '@0x/react-shared';
import * as _ from 'lodash'; import * as _ from 'lodash';
import * as React from 'react'; import * as React from 'react';
import { Button } from 'ts/components/ui/button'; import { Button } from 'ts/components/ui/button';

View File

@ -1,4 +1,4 @@
import { ALink, colors, Link } from '@0xproject/react-shared'; import { ALink, colors, Link } from '@0x/react-shared';
import * as _ from 'lodash'; import * as _ from 'lodash';
import * as React from 'react'; import * as React from 'react';
import { Container } from 'ts/components/ui/container'; import { Container } from 'ts/components/ui/container';

View File

@ -1,4 +1,4 @@
import { constants as sharedConstants } from '@0xproject/react-shared'; import { constants as sharedConstants } from '@0x/react-shared';
import * as _ from 'lodash'; import * as _ from 'lodash';
import DropDownMenu from 'material-ui/DropDownMenu'; import DropDownMenu from 'material-ui/DropDownMenu';
import MenuItem from 'material-ui/MenuItem'; import MenuItem from 'material-ui/MenuItem';

View File

@ -1,5 +1,5 @@
import { BigNumber, logUtils } from '@0xproject/utils'; import { BigNumber, logUtils } from '@0x/utils';
import { Web3Wrapper } from '@0xproject/web3-wrapper'; import { Web3Wrapper } from '@0x/web3-wrapper';
import * as _ from 'lodash'; import * as _ from 'lodash';
import RaisedButton from 'material-ui/RaisedButton'; import RaisedButton from 'material-ui/RaisedButton';
import * as React from 'react'; import * as React from 'react';

View File

@ -1,6 +1,6 @@
import { colors, EtherscanLinkSuffixes, utils as sharedUtils } from '@0xproject/react-shared'; import { colors, EtherscanLinkSuffixes, utils as sharedUtils } from '@0x/react-shared';
import { BigNumber } from '@0xproject/utils'; import { BigNumber } from '@0x/utils';
import { Web3Wrapper } from '@0xproject/web3-wrapper'; import { Web3Wrapper } from '@0x/web3-wrapper';
import * as _ from 'lodash'; import * as _ from 'lodash';
import Divider from 'material-ui/Divider'; import Divider from 'material-ui/Divider';
import { Table, TableBody, TableHeader, TableHeaderColumn, TableRow, TableRowColumn } from 'material-ui/Table'; import { Table, TableBody, TableHeader, TableHeaderColumn, TableRow, TableRowColumn } from 'material-ui/Table';

View File

@ -1,5 +1,5 @@
import { generatePseudoRandomSalt } from '@0xproject/order-utils'; import { generatePseudoRandomSalt } from '@0x/order-utils';
import { BigNumber } from '@0xproject/utils'; import { BigNumber } from '@0x/utils';
import * as _ from 'lodash'; import * as _ from 'lodash';
import Paper from 'material-ui/Paper'; import Paper from 'material-ui/Paper';
import TextField from 'material-ui/TextField'; import TextField from 'material-ui/TextField';

View File

@ -1,4 +1,4 @@
import { colors } from '@0xproject/react-shared'; import { colors } from '@0x/react-shared';
import Dialog from 'material-ui/Dialog'; import Dialog from 'material-ui/Dialog';
import FlatButton from 'material-ui/FlatButton'; import FlatButton from 'material-ui/FlatButton';
import * as React from 'react'; import * as React from 'react';

View File

@ -1,6 +1,6 @@
import { colors } from '@0xproject/react-shared'; import { colors } from '@0x/react-shared';
import { BigNumber } from '@0xproject/utils'; import { BigNumber } from '@0x/utils';
import { Web3Wrapper } from '@0xproject/web3-wrapper'; import { Web3Wrapper } from '@0x/web3-wrapper';
import * as _ from 'lodash'; import * as _ from 'lodash';
import * as React from 'react'; import * as React from 'react';
import { utils } from 'ts/utils/utils'; import { utils } from 'ts/utils/utils';

View File

@ -1,4 +1,4 @@
import { colors } from '@0xproject/react-shared'; import { colors } from '@0x/react-shared';
import * as _ from 'lodash'; import * as _ from 'lodash';
import * as React from 'react'; import * as React from 'react';

View File

@ -1,4 +1,4 @@
import { colors } from '@0xproject/react-shared'; import { colors } from '@0x/react-shared';
import * as _ from 'lodash'; import * as _ from 'lodash';
import * as React from 'react'; import * as React from 'react';

View File

@ -1,7 +1,7 @@
import { assetDataUtils, generatePseudoRandomSalt, orderHashUtils } from '@0xproject/order-utils'; import { assetDataUtils, generatePseudoRandomSalt, orderHashUtils } from '@0x/order-utils';
import { colors } from '@0xproject/react-shared'; import { colors } from '@0x/react-shared';
import { Order as ZeroExOrder } from '@0xproject/types'; import { Order as ZeroExOrder } from '@0x/types';
import { BigNumber, logUtils } from '@0xproject/utils'; import { BigNumber, logUtils } from '@0x/utils';
import * as _ from 'lodash'; import * as _ from 'lodash';
import Dialog from 'material-ui/Dialog'; import Dialog from 'material-ui/Dialog';
import Divider from 'material-ui/Divider'; import Divider from 'material-ui/Divider';

View File

@ -1,4 +1,4 @@
import { colors } from '@0xproject/react-shared'; import { colors } from '@0x/react-shared';
import * as _ from 'lodash'; import * as _ from 'lodash';
import TextField from 'material-ui/TextField'; import TextField from 'material-ui/TextField';
import * as moment from 'moment'; import * as moment from 'moment';

View File

@ -1,5 +1,5 @@
import { colors } from '@0xproject/react-shared'; import { colors } from '@0x/react-shared';
import { addressUtils } from '@0xproject/utils'; import { addressUtils } from '@0x/utils';
import * as _ from 'lodash'; import * as _ from 'lodash';
import TextField from 'material-ui/TextField'; import TextField from 'material-ui/TextField';
import * as React from 'react'; import * as React from 'react';

View File

@ -1,5 +1,5 @@
import { colors } from '@0xproject/react-shared'; import { colors } from '@0x/react-shared';
import { BigNumber, logUtils } from '@0xproject/utils'; import { BigNumber, logUtils } from '@0x/utils';
import * as _ from 'lodash'; import * as _ from 'lodash';
import * as React from 'react'; import * as React from 'react';
import ReactTooltip = require('react-tooltip'); import ReactTooltip = require('react-tooltip');

View File

@ -1,5 +1,5 @@
import { colors } from '@0xproject/react-shared'; import { colors } from '@0x/react-shared';
import { BigNumber } from '@0xproject/utils'; import { BigNumber } from '@0x/utils';
import * as _ from 'lodash'; import * as _ from 'lodash';
import TextField from 'material-ui/TextField'; import TextField from 'material-ui/TextField';
import * as React from 'react'; import * as React from 'react';

View File

@ -1,5 +1,5 @@
import { BigNumber } from '@0xproject/utils'; import { BigNumber } from '@0x/utils';
import { Web3Wrapper } from '@0xproject/web3-wrapper'; import { Web3Wrapper } from '@0x/web3-wrapper';
import * as _ from 'lodash'; import * as _ from 'lodash';
import * as React from 'react'; import * as React from 'react';
import { BalanceBoundedInput } from 'ts/components/inputs/balance_bounded_input'; import { BalanceBoundedInput } from 'ts/components/inputs/balance_bounded_input';

View File

@ -1,4 +1,4 @@
import { BigNumber } from '@0xproject/utils'; import { BigNumber } from '@0x/utils';
import * as _ from 'lodash'; import * as _ from 'lodash';
import DatePicker from 'material-ui/DatePicker'; import DatePicker from 'material-ui/DatePicker';
import TimePicker from 'material-ui/TimePicker'; import TimePicker from 'material-ui/TimePicker';

View File

@ -1,6 +1,6 @@
import { assetDataUtils, orderHashUtils } from '@0xproject/order-utils'; import { assetDataUtils, orderHashUtils } from '@0x/order-utils';
import { Styles } from '@0xproject/react-shared'; import { Styles } from '@0x/react-shared';
import { Order } from '@0xproject/types'; import { Order } from '@0x/types';
import * as _ from 'lodash'; import * as _ from 'lodash';
import * as React from 'react'; import * as React from 'react';
import ReactTooltip = require('react-tooltip'); import ReactTooltip = require('react-tooltip');

View File

@ -1,4 +1,4 @@
import { colors } from '@0xproject/react-shared'; import { colors } from '@0x/react-shared';
import Paper from 'material-ui/Paper'; import Paper from 'material-ui/Paper';
import * as React from 'react'; import * as React from 'react';
import { Blockchain } from 'ts/blockchain'; import { Blockchain } from 'ts/blockchain';

View File

@ -1,4 +1,4 @@
import { BigNumber } from '@0xproject/utils'; import { BigNumber } from '@0x/utils';
import * as React from 'react'; import * as React from 'react';
import { Balance } from 'ts/components/ui/balance'; import { Balance } from 'ts/components/ui/balance';
import { Container } from 'ts/components/ui/container'; import { Container } from 'ts/components/ui/container';

View File

@ -1,4 +1,4 @@
import { colors } from '@0xproject/react-shared'; import { colors } from '@0x/react-shared';
import * as React from 'react'; import * as React from 'react';
import { Container } from 'ts/components/ui/container'; import { Container } from 'ts/components/ui/container';
import { Image } from 'ts/components/ui/image'; import { Image } from 'ts/components/ui/image';

View File

@ -1,4 +1,4 @@
import { colors } from '@0xproject/react-shared'; import { colors } from '@0x/react-shared';
import * as React from 'react'; import * as React from 'react';
import * as _ from 'lodash'; import * as _ from 'lodash';

View File

@ -2,7 +2,7 @@ import * as _ from 'lodash';
import * as React from 'react'; import * as React from 'react';
import { RouteComponentProps, withRouter } from 'react-router'; import { RouteComponentProps, withRouter } from 'react-router';
import { BigNumber } from '@0xproject/utils'; import { BigNumber } from '@0x/utils';
import { Blockchain } from 'ts/blockchain'; import { Blockchain } from 'ts/blockchain';
import { AddEthOnboardingStep } from 'ts/components/onboarding/add_eth_onboarding_step'; import { AddEthOnboardingStep } from 'ts/components/onboarding/add_eth_onboarding_step';
import { CongratsOnboardingStep } from 'ts/components/onboarding/congrats_onboarding_step'; import { CongratsOnboardingStep } from 'ts/components/onboarding/congrats_onboarding_step';

View File

@ -1,5 +1,5 @@
import { colors } from '@0xproject/react-shared'; import { colors } from '@0x/react-shared';
import { BigNumber } from '@0xproject/utils'; import { BigNumber } from '@0x/utils';
import * as React from 'react'; import * as React from 'react';
import { Balance } from 'ts/components/ui/balance'; import { Balance } from 'ts/components/ui/balance';
import { Container } from 'ts/components/ui/container'; import { Container } from 'ts/components/ui/container';

View File

@ -1,4 +1,4 @@
import { BigNumber, fetchAsync, logUtils } from '@0xproject/utils'; import { BigNumber, fetchAsync, logUtils } from '@0x/utils';
import * as _ from 'lodash'; import * as _ from 'lodash';
import Paper from 'material-ui/Paper'; import Paper from 'material-ui/Paper';
import TextField from 'material-ui/TextField'; import TextField from 'material-ui/TextField';

View File

@ -1,5 +1,5 @@
import { colors, Link } from '@0xproject/react-shared'; import { colors, Link } from '@0x/react-shared';
import { BigNumber } from '@0xproject/utils'; import { BigNumber } from '@0x/utils';
import * as _ from 'lodash'; import * as _ from 'lodash';
import * as React from 'react'; import * as React from 'react';
import * as DocumentTitle from 'react-document-title'; import * as DocumentTitle from 'react-document-title';

View File

@ -1,4 +1,4 @@
import { colors } from '@0xproject/react-shared'; import { colors } from '@0x/react-shared';
import * as React from 'react'; import * as React from 'react';
import { Text } from 'ts/components/ui/text'; import { Text } from 'ts/components/ui/text';

View File

@ -1,4 +1,4 @@
import { colors, EtherscanLinkSuffixes, utils as sharedUtils } from '@0xproject/react-shared'; import { colors, EtherscanLinkSuffixes, utils as sharedUtils } from '@0x/react-shared';
import * as _ from 'lodash'; import * as _ from 'lodash';
import * as React from 'react'; import * as React from 'react';

View File

@ -1,4 +1,4 @@
import { BigNumber, logUtils } from '@0xproject/utils'; import { BigNumber, logUtils } from '@0x/utils';
import * as _ from 'lodash'; import * as _ from 'lodash';
import RaisedButton from 'material-ui/RaisedButton'; import RaisedButton from 'material-ui/RaisedButton';
import * as React from 'react'; import * as React from 'react';

View File

@ -4,9 +4,9 @@ import {
Networks, Networks,
Styles, Styles,
utils as sharedUtils, utils as sharedUtils,
} from '@0xproject/react-shared'; } from '@0x/react-shared';
import { BigNumber, errorUtils, fetchAsync, logUtils } from '@0xproject/utils'; import { BigNumber, errorUtils, fetchAsync, logUtils } from '@0x/utils';
import { Web3Wrapper } from '@0xproject/web3-wrapper'; import { Web3Wrapper } from '@0x/web3-wrapper';
import * as _ from 'lodash'; import * as _ from 'lodash';
import Dialog from 'material-ui/Dialog'; import Dialog from 'material-ui/Dialog';
import Divider from 'material-ui/Divider'; import Divider from 'material-ui/Divider';

View File

@ -1,4 +1,4 @@
import { Styles } from '@0xproject/react-shared'; import { Styles } from '@0x/react-shared';
import * as _ from 'lodash'; import * as _ from 'lodash';
import CircularProgress from 'material-ui/CircularProgress'; import CircularProgress from 'material-ui/CircularProgress';
import ActionAccountBalanceWallet from 'material-ui/svg-icons/action/account-balance-wallet'; import ActionAccountBalanceWallet from 'material-ui/svg-icons/action/account-balance-wallet';

View File

@ -1,4 +1,4 @@
import { colors } from '@0xproject/react-shared'; import { colors } from '@0x/react-shared';
import * as _ from 'lodash'; import * as _ from 'lodash';
import * as React from 'react'; import * as React from 'react';
import { Party } from 'ts/components/ui/party'; import { Party } from 'ts/components/ui/party';

View File

@ -1,6 +1,6 @@
import { colors, EtherscanLinkSuffixes } from '@0xproject/react-shared'; import { colors, EtherscanLinkSuffixes } from '@0x/react-shared';
import { BigNumber } from '@0xproject/utils'; import { BigNumber } from '@0x/utils';
import { Web3Wrapper } from '@0xproject/web3-wrapper'; import { Web3Wrapper } from '@0x/web3-wrapper';
import * as _ from 'lodash'; import * as _ from 'lodash';
import Paper from 'material-ui/Paper'; import Paper from 'material-ui/Paper';
import * as moment from 'moment'; import * as moment from 'moment';

View File

@ -1,4 +1,4 @@
import { colors } from '@0xproject/react-shared'; import { colors } from '@0x/react-shared';
import * as React from 'react'; import * as React from 'react';
import { AlertTypes } from 'ts/types'; import { AlertTypes } from 'ts/types';

View File

@ -1,4 +1,4 @@
import { colors } from '@0xproject/react-shared'; import { colors } from '@0x/react-shared';
import * as React from 'react'; import * as React from 'react';
import { Container } from 'ts/components/ui/container'; import { Container } from 'ts/components/ui/container';
import { Spinner } from 'ts/components/ui/spinner'; import { Spinner } from 'ts/components/ui/spinner';

View File

@ -1,4 +1,4 @@
import { BigNumber } from '@0xproject/utils'; import { BigNumber } from '@0x/utils';
import * as React from 'react'; import * as React from 'react';
import { Container } from 'ts/components/ui/container'; import { Container } from 'ts/components/ui/container';
import { Text } from 'ts/components/ui/text'; import { Text } from 'ts/components/ui/text';

View File

@ -1,4 +1,4 @@
import { colors } from '@0xproject/react-shared'; import { colors } from '@0x/react-shared';
import * as React from 'react'; import * as React from 'react';
import * as CopyToClipboard from 'react-copy-to-clipboard'; import * as CopyToClipboard from 'react-copy-to-clipboard';
import * as ReactDOM from 'react-dom'; import * as ReactDOM from 'react-dom';

View File

@ -1,4 +1,4 @@
import { Link } from '@0xproject/react-shared'; import { Link } from '@0x/react-shared';
import * as _ from 'lodash'; import * as _ from 'lodash';
import * as React from 'react'; import * as React from 'react';

View File

@ -1,4 +1,4 @@
import { EtherscanLinkSuffixes } from '@0xproject/react-shared'; import { EtherscanLinkSuffixes } from '@0x/react-shared';
import * as React from 'react'; import * as React from 'react';
import ReactTooltip = require('react-tooltip'); import ReactTooltip = require('react-tooltip');
import { EtherScanIcon } from 'ts/components/ui/etherscan_icon'; import { EtherScanIcon } from 'ts/components/ui/etherscan_icon';

View File

@ -1,4 +1,4 @@
import { colors, EtherscanLinkSuffixes, utils as sharedUtils } from '@0xproject/react-shared'; import { colors, EtherscanLinkSuffixes, utils as sharedUtils } from '@0x/react-shared';
import * as _ from 'lodash'; import * as _ from 'lodash';
import * as React from 'react'; import * as React from 'react';
import ReactTooltip = require('react-tooltip'); import ReactTooltip = require('react-tooltip');

View File

@ -1,4 +1,4 @@
import { Styles } from '@0xproject/react-shared'; import { Styles } from '@0x/react-shared';
import * as React from 'react'; import * as React from 'react';
import { InputLabel } from 'ts/components/ui/input_label'; import { InputLabel } from 'ts/components/ui/input_label';

View File

@ -1,4 +1,4 @@
import { colors, Styles } from '@0xproject/react-shared'; import { colors, Styles } from '@0x/react-shared';
import * as _ from 'lodash'; import * as _ from 'lodash';
import * as React from 'react'; import * as React from 'react';

View File

@ -1,4 +1,4 @@
import { colors } from '@0xproject/react-shared'; import { colors } from '@0x/react-shared';
import * as React from 'react'; import * as React from 'react';
import { styled } from 'ts/style/theme'; import { styled } from 'ts/style/theme';

View File

@ -1,4 +1,4 @@
import { colors, Styles } from '@0xproject/react-shared'; import { colors, Styles } from '@0x/react-shared';
import * as React from 'react'; import * as React from 'react';
export interface InputLabelProps { export interface InputLabelProps {

View File

@ -1,5 +1,5 @@
import { colors } from '@0xproject/react-shared'; import { colors } from '@0x/react-shared';
import { errorUtils } from '@0xproject/utils'; import { errorUtils } from '@0x/utils';
import RaisedButton from 'material-ui/RaisedButton'; import RaisedButton from 'material-ui/RaisedButton';
import * as React from 'react'; import * as React from 'react';

View File

@ -1,4 +1,4 @@
import { colors, EtherscanLinkSuffixes, utils as sharedUtils } from '@0xproject/react-shared'; import { colors, EtherscanLinkSuffixes, utils as sharedUtils } from '@0x/react-shared';
import * as _ from 'lodash'; import * as _ from 'lodash';
import * as React from 'react'; import * as React from 'react';
import ReactTooltip = require('react-tooltip'); import ReactTooltip = require('react-tooltip');

View File

@ -1,4 +1,4 @@
import { colors } from '@0xproject/react-shared'; import { colors } from '@0x/react-shared';
import * as React from 'react'; import * as React from 'react';
import { styled } from 'ts/style/theme'; import { styled } from 'ts/style/theme';

View File

@ -1,4 +1,4 @@
import { colors } from '@0xproject/react-shared'; import { colors } from '@0x/react-shared';
import * as React from 'react'; import * as React from 'react';
export interface RequiredLabelProps { export interface RequiredLabelProps {

View File

@ -1,4 +1,4 @@
import { Link } from '@0xproject/react-shared'; import { Link } from '@0x/react-shared';
import * as _ from 'lodash'; import * as _ from 'lodash';
import * as React from 'react'; import * as React from 'react';
import * as CopyToClipboard from 'react-copy-to-clipboard'; import * as CopyToClipboard from 'react-copy-to-clipboard';

View File

@ -1,4 +1,4 @@
import { colors } from '@0xproject/react-shared'; import { colors } from '@0x/react-shared';
import * as React from 'react'; import * as React from 'react';
import { styled } from 'ts/style/theme'; import { styled } from 'ts/style/theme';

View File

@ -1,4 +1,4 @@
import { colors } from '@0xproject/react-shared'; import { colors } from '@0x/react-shared';
import * as React from 'react'; import * as React from 'react';
interface SwapIconProps { interface SwapIconProps {

View File

@ -1,4 +1,4 @@
import { Web3Wrapper } from '@0xproject/web3-wrapper'; import { Web3Wrapper } from '@0x/web3-wrapper';
import * as _ from 'lodash'; import * as _ from 'lodash';
import * as React from 'react'; import * as React from 'react';
import { Party } from 'ts/components/ui/party'; import { Party } from 'ts/components/ui/party';

View File

@ -1,5 +1,5 @@
import { EtherscanLinkSuffixes, utils as sharedUtils } from '@0xproject/react-shared'; import { EtherscanLinkSuffixes, utils as sharedUtils } from '@0x/react-shared';
import { BigNumber, errorUtils } from '@0xproject/utils'; import { BigNumber, errorUtils } from '@0x/utils';
import * as _ from 'lodash'; import * as _ from 'lodash';
import ActionAccountBalanceWallet from 'material-ui/svg-icons/action/account-balance-wallet'; import ActionAccountBalanceWallet from 'material-ui/svg-icons/action/account-balance-wallet';

View File

@ -1,6 +1,6 @@
import { Styles } from '@0xproject/react-shared'; import { Styles } from '@0x/react-shared';
import { BigNumber, logUtils } from '@0xproject/utils'; import { BigNumber, logUtils } from '@0x/utils';
import { Web3Wrapper } from '@0xproject/web3-wrapper'; import { Web3Wrapper } from '@0x/web3-wrapper';
import * as _ from 'lodash'; import * as _ from 'lodash';
import FlatButton from 'material-ui/FlatButton'; import FlatButton from 'material-ui/FlatButton';
import * as React from 'react'; import * as React from 'react';

View File

@ -1,4 +1,4 @@
import { BigNumber } from '@0xproject/utils'; import { BigNumber } from '@0x/utils';
import ethUtil = require('ethereumjs-util'); import ethUtil = require('ethereumjs-util');
import * as _ from 'lodash'; import * as _ from 'lodash';
import { localStorage } from 'ts/local_storage/local_storage'; import { localStorage } from 'ts/local_storage/local_storage';

View File

@ -1,4 +1,4 @@
import { colors, Styles } from '@0xproject/react-shared'; import { colors, Styles } from '@0x/react-shared';
import * as _ from 'lodash'; import * as _ from 'lodash';
import * as React from 'react'; import * as React from 'react';
import { ProfileInfo } from 'ts/types'; import { ProfileInfo } from 'ts/types';

View File

@ -1,4 +1,4 @@
import { colors, constants as sharedConstants } from '@0xproject/react-shared'; import { colors, constants as sharedConstants } from '@0x/react-shared';
import * as _ from 'lodash'; import * as _ from 'lodash';
import * as React from 'react'; import * as React from 'react';
import DocumentTitle = require('react-document-title'); import DocumentTitle = require('react-document-title');

View File

@ -1,5 +1,5 @@
import { ALink, colors, Link, NestedSidebarMenu } from '@0xproject/react-shared'; import { ALink, colors, Link, NestedSidebarMenu } from '@0x/react-shared';
import { ObjectMap } from '@0xproject/types'; import { ObjectMap } from '@0x/types';
import * as _ from 'lodash'; import * as _ from 'lodash';
import * as React from 'react'; import * as React from 'react';
import { OverviewContent } from 'ts/components/documentation/overview_content'; import { OverviewContent } from 'ts/components/documentation/overview_content';
@ -68,7 +68,7 @@ const CATEGORY_TO_PACKAGES: ObjectMap<Package[]> = {
description: description:
'An http & websocket client for interacting with relayers that have implemented the [Standard Relayer API](https://github.com/0xProject/standard-relayer-api)', 'An http & websocket client for interacting with relayers that have implemented the [Standard Relayer API](https://github.com/0xProject/standard-relayer-api)',
link: { link: {
title: '@0xproject/connect', title: '@0x/connect',
to: WebsitePaths.Connect, to: WebsitePaths.Connect,
}, },
}, },
@ -76,7 +76,7 @@ const CATEGORY_TO_PACKAGES: ObjectMap<Package[]> = {
description: description:
'Typescript/Javascript wrappers of the 0x protocol Ethereum smart contracts. Use this library to call methods on the 0x smart contracts, subscribe to contract events and to fetch information stored in contracts.', 'Typescript/Javascript wrappers of the 0x protocol Ethereum smart contracts. Use this library to call methods on the 0x smart contracts, subscribe to contract events and to fetch information stored in contracts.',
link: { link: {
title: '@0xproject/contract-wrappers', title: '@0x/contract-wrappers',
to: WebsitePaths.ContractWrappers, to: WebsitePaths.ContractWrappers,
}, },
}, },
@ -84,7 +84,7 @@ const CATEGORY_TO_PACKAGES: ObjectMap<Package[]> = {
description: description:
'A collection of 0x-related JSON-schemas (incl. SRA request/response schemas, 0x order message format schema, etc...)', 'A collection of 0x-related JSON-schemas (incl. SRA request/response schemas, 0x order message format schema, etc...)',
link: { link: {
title: '@0xproject/json-schemas', title: '@0x/json-schemas',
to: WebsitePaths.JSONSchemas, to: WebsitePaths.JSONSchemas,
}, },
}, },
@ -92,7 +92,7 @@ const CATEGORY_TO_PACKAGES: ObjectMap<Package[]> = {
description: description:
'A set of utils for working with 0x orders. It includes utilities for creating, signing, validating 0x orders, encoding/decoding assetData and much more.', 'A set of utils for working with 0x orders. It includes utilities for creating, signing, validating 0x orders, encoding/decoding assetData and much more.',
link: { link: {
title: '@0xproject/order-utils', title: '@0x/order-utils',
to: WebsitePaths.OrderUtils, to: WebsitePaths.OrderUtils,
}, },
}, },
@ -100,7 +100,7 @@ const CATEGORY_TO_PACKAGES: ObjectMap<Package[]> = {
description: description:
"A daemon that watches a set of 0x orders and emits events when an order's fillability has changed. Can be used by a relayer to prune their orderbook or by a trader to keep their view of the market up-to-date.", "A daemon that watches a set of 0x orders and emits events when an order's fillability has changed. Can be used by a relayer to prune their orderbook or by a trader to keep their view of the market up-to-date.",
link: { link: {
title: '@0xproject/order-watcher', title: '@0x/order-watcher',
to: WebsitePaths.OrderWatcher, to: WebsitePaths.OrderWatcher,
}, },
}, },
@ -108,7 +108,7 @@ const CATEGORY_TO_PACKAGES: ObjectMap<Package[]> = {
description: description:
'Contains the Standard Relayer API OpenAPI Spec. The package distributes both a javascript object version and a json version.', 'Contains the Standard Relayer API OpenAPI Spec. The package distributes both a javascript object version and a json version.',
link: { link: {
title: '@0xproject/sra-spec', title: '@0x/sra-spec',
to: 'https://github.com/0xProject/0x-monorepo/tree/development/packages/sra-spec', to: 'https://github.com/0xProject/0x-monorepo/tree/development/packages/sra-spec',
shouldOpenInNewTab: true, shouldOpenInNewTab: true,
}, },
@ -117,7 +117,7 @@ const CATEGORY_TO_PACKAGES: ObjectMap<Package[]> = {
description: description:
'Convenience package for buying assets represented on the Ethereum blockchain using 0x. In its simplest form, the package helps in the usage of the [0x forwarder contract](https://github.com/0xProject/0x-protocol-specification/blob/master/v2/forwarder-specification.md), which allows users to execute [Wrapped Ether](https://weth.io/) based 0x orders without having to set allowances, wrap Ether or own ZRX, meaning they can buy tokens with Ether alone. Given some liquidity (0x signed orders), it helps estimate the Ether cost of buying a certain asset (giving a range) and then buying that asset.', 'Convenience package for buying assets represented on the Ethereum blockchain using 0x. In its simplest form, the package helps in the usage of the [0x forwarder contract](https://github.com/0xProject/0x-protocol-specification/blob/master/v2/forwarder-specification.md), which allows users to execute [Wrapped Ether](https://weth.io/) based 0x orders without having to set allowances, wrap Ether or own ZRX, meaning they can buy tokens with Ether alone. Given some liquidity (0x signed orders), it helps estimate the Ether cost of buying a certain asset (giving a range) and then buying that asset.',
link: { link: {
title: '@0xproject/asset-buyer', title: '@0x/asset-buyer',
to: WebsitePaths.AssetBuyer, to: WebsitePaths.AssetBuyer,
}, },
}, },
@ -144,7 +144,7 @@ const CATEGORY_TO_PACKAGES: ObjectMap<Package[]> = {
description: description:
'A wrapper around [solc-js](https://github.com/ethereum/solc-js) that adds smart re-compilation, ability to compile an entire project, Solidity version specific compilation, standard input description support and much more.', 'A wrapper around [solc-js](https://github.com/ethereum/solc-js) that adds smart re-compilation, ability to compile an entire project, Solidity version specific compilation, standard input description support and much more.',
link: { link: {
title: '@0xproject/sol-compiler', title: '@0x/sol-compiler',
to: WebsitePaths.SolCompiler, to: WebsitePaths.SolCompiler,
}, },
}, },
@ -152,7 +152,7 @@ const CATEGORY_TO_PACKAGES: ObjectMap<Package[]> = {
description: description:
'A Solidity code coverage tool. Sol-cov uses transaction traces to figure out which lines of your code has been covered by your tests.', 'A Solidity code coverage tool. Sol-cov uses transaction traces to figure out which lines of your code has been covered by your tests.',
link: { link: {
title: '@0xproject/sol-cov', title: '@0x/sol-cov',
to: WebsitePaths.SolCov, to: WebsitePaths.SolCov,
}, },
}, },
@ -160,7 +160,7 @@ const CATEGORY_TO_PACKAGES: ObjectMap<Package[]> = {
description: description:
'A collection of subproviders to use with [web3-provider-engine](https://www.npmjs.com/package/web3-provider-engine) (e.g subproviders for interfacing with Ledger hardware wallet, Mnemonic wallet, private key wallet, etc...)', 'A collection of subproviders to use with [web3-provider-engine](https://www.npmjs.com/package/web3-provider-engine) (e.g subproviders for interfacing with Ledger hardware wallet, Mnemonic wallet, private key wallet, etc...)',
link: { link: {
title: '@0xproject/subproviders', title: '@0x/subproviders',
to: WebsitePaths.Subproviders, to: WebsitePaths.Subproviders,
}, },
}, },
@ -168,7 +168,7 @@ const CATEGORY_TO_PACKAGES: ObjectMap<Package[]> = {
description: description:
'A raw Ethereum JSON RPC client to simplify interfacing with Ethereum nodes. Also includes some convenience functions for awaiting transactions to be mined, converting between token units, etc...', 'A raw Ethereum JSON RPC client to simplify interfacing with Ethereum nodes. Also includes some convenience functions for awaiting transactions to be mined, converting between token units, etc...',
link: { link: {
title: '@0xproject/web3-wrapper', title: '@0x/web3-wrapper',
to: WebsitePaths.Web3Wrapper, to: WebsitePaths.Web3Wrapper,
}, },
}, },

View File

@ -1,4 +1,4 @@
import { colors, Styles } from '@0xproject/react-shared'; import { colors, Styles } from '@0x/react-shared';
import * as _ from 'lodash'; import * as _ from 'lodash';
import * as React from 'react'; import * as React from 'react';
import * as DocumentTitle from 'react-document-title'; import * as DocumentTitle from 'react-document-title';

View File

@ -1,4 +1,4 @@
import { colors } from '@0xproject/react-shared'; import { colors } from '@0x/react-shared';
import { Card, CardHeader, CardText } from 'material-ui/Card'; import { Card, CardHeader, CardText } from 'material-ui/Card';
import * as React from 'react'; import * as React from 'react';

View File

@ -1,4 +1,4 @@
import { Styles } from '@0xproject/react-shared'; import { Styles } from '@0x/react-shared';
import * as React from 'react'; import * as React from 'react';
export interface FullscreenMessageProps { export interface FullscreenMessageProps {

View File

@ -1,4 +1,4 @@
import { colors, utils as sharedUtils } from '@0xproject/react-shared'; import { colors, utils as sharedUtils } from '@0x/react-shared';
import * as _ from 'lodash'; import * as _ from 'lodash';
import * as React from 'react'; import * as React from 'react';
import * as DocumentTitle from 'react-document-title'; import * as DocumentTitle from 'react-document-title';

View File

@ -1,4 +1,4 @@
import { colors } from '@0xproject/react-shared'; import { colors } from '@0x/react-shared';
import * as React from 'react'; import * as React from 'react';