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 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 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 React from 'react';

View File

@ -1,5 +1,5 @@
import { BuyQuoteInfo } from '@0xproject/asset-buyer';
import { BigNumber } from '@0xproject/utils';
import { BuyQuoteInfo } from '@0x/asset-buyer';
import { BigNumber } from '@0x/utils';
import * as _ from 'lodash';
import * as React from 'react';
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';
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 React from 'react';
import { CustomType } from '@0xproject/types';
import { CustomType } from '@0x/types';
const STRING_ENUM_CODE_PREFIX = ' strEnum(';

View File

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

View File

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

View File

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

View File

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

View File

@ -1,7 +1,7 @@
import * as _ from 'lodash';
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';

View File

@ -1,4 +1,4 @@
import { ObjectMap } from '@0xproject/types';
import { ObjectMap } from '@0x/types';
import * as _ from 'lodash';
import MenuItem from 'material-ui/MenuItem';
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 FlatButton from 'material-ui/FlatButton';
import * as React from 'react';

View File

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

View File

@ -1,6 +1,6 @@
import { colors, constants as sharedConstants } from '@0xproject/react-shared';
import { BigNumber, logUtils } from '@0xproject/utils';
import { Web3Wrapper } from '@0xproject/web3-wrapper';
import { colors, constants as sharedConstants } from '@0x/react-shared';
import { BigNumber, logUtils } from '@0x/utils';
import { Web3Wrapper } from '@0x/web3-wrapper';
import * as _ from 'lodash';
import Dialog from 'material-ui/Dialog';
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 FlatButton from 'material-ui/FlatButton';
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 Dialog from 'material-ui/Dialog';
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 FlatButton from 'material-ui/FlatButton';
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 { 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 Drawer from 'material-ui/Drawer';
import * as React from 'react';

View File

@ -1,5 +1,5 @@
import { colors, Link, MarkdownLinkBlock, utils as sharedUtils } from '@0xproject/react-shared';
import { ObjectMap } from '@0xproject/types';
import { colors, Link, MarkdownLinkBlock, utils as sharedUtils } from '@0x/react-shared';
import { ObjectMap } from '@0x/types';
import * as _ from 'lodash';
import * as React from 'react';
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 React from 'react';
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 React from 'react';
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 React from 'react';
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 React from 'react';
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 DropDownMenu from 'material-ui/DropDownMenu';
import MenuItem from 'material-ui/MenuItem';

View File

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

View File

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

View File

@ -1,5 +1,5 @@
import { generatePseudoRandomSalt } from '@0xproject/order-utils';
import { BigNumber } from '@0xproject/utils';
import { generatePseudoRandomSalt } from '@0x/order-utils';
import { BigNumber } from '@0x/utils';
import * as _ from 'lodash';
import Paper from 'material-ui/Paper';
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 FlatButton from 'material-ui/FlatButton';
import * as React from 'react';

View File

@ -1,6 +1,6 @@
import { colors } from '@0xproject/react-shared';
import { BigNumber } from '@0xproject/utils';
import { Web3Wrapper } from '@0xproject/web3-wrapper';
import { colors } from '@0x/react-shared';
import { BigNumber } from '@0x/utils';
import { Web3Wrapper } from '@0x/web3-wrapper';
import * as _ from 'lodash';
import * as React from 'react';
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 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 React from 'react';

View File

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

View File

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

View File

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

View File

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

View File

@ -1,5 +1,5 @@
import { BigNumber } from '@0xproject/utils';
import { Web3Wrapper } from '@0xproject/web3-wrapper';
import { BigNumber } from '@0x/utils';
import { Web3Wrapper } from '@0x/web3-wrapper';
import * as _ from 'lodash';
import * as React from 'react';
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 DatePicker from 'material-ui/DatePicker';
import TimePicker from 'material-ui/TimePicker';

View File

@ -1,6 +1,6 @@
import { assetDataUtils, orderHashUtils } from '@0xproject/order-utils';
import { Styles } from '@0xproject/react-shared';
import { Order } from '@0xproject/types';
import { assetDataUtils, orderHashUtils } from '@0x/order-utils';
import { Styles } from '@0x/react-shared';
import { Order } from '@0x/types';
import * as _ from 'lodash';
import * as React from 'react';
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 * as React from 'react';
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 { Balance } from 'ts/components/ui/balance';
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 { Container } from 'ts/components/ui/container';
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 _ from 'lodash';

View File

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

View File

@ -1,5 +1,5 @@
import { colors } from '@0xproject/react-shared';
import { BigNumber } from '@0xproject/utils';
import { colors } from '@0x/react-shared';
import { BigNumber } from '@0x/utils';
import * as React from 'react';
import { Balance } from 'ts/components/ui/balance';
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 Paper from 'material-ui/Paper';
import TextField from 'material-ui/TextField';

View File

@ -1,5 +1,5 @@
import { colors, Link } from '@0xproject/react-shared';
import { BigNumber } from '@0xproject/utils';
import { colors, Link } from '@0x/react-shared';
import { BigNumber } from '@0x/utils';
import * as _ from 'lodash';
import * as React from 'react';
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 { 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 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 RaisedButton from 'material-ui/RaisedButton';
import * as React from 'react';

View File

@ -4,9 +4,9 @@ import {
Networks,
Styles,
utils as sharedUtils,
} from '@0xproject/react-shared';
import { BigNumber, errorUtils, fetchAsync, logUtils } from '@0xproject/utils';
import { Web3Wrapper } from '@0xproject/web3-wrapper';
} from '@0x/react-shared';
import { BigNumber, errorUtils, fetchAsync, logUtils } from '@0x/utils';
import { Web3Wrapper } from '@0x/web3-wrapper';
import * as _ from 'lodash';
import Dialog from 'material-ui/Dialog';
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 CircularProgress from 'material-ui/CircularProgress';
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 React from 'react';
import { Party } from 'ts/components/ui/party';

View File

@ -1,6 +1,6 @@
import { colors, EtherscanLinkSuffixes } from '@0xproject/react-shared';
import { BigNumber } from '@0xproject/utils';
import { Web3Wrapper } from '@0xproject/web3-wrapper';
import { colors, EtherscanLinkSuffixes } from '@0x/react-shared';
import { BigNumber } from '@0x/utils';
import { Web3Wrapper } from '@0x/web3-wrapper';
import * as _ from 'lodash';
import Paper from 'material-ui/Paper';
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 { 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 { Container } from 'ts/components/ui/container';
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 { Container } from 'ts/components/ui/container';
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 CopyToClipboard from 'react-copy-to-clipboard';
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 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 ReactTooltip = require('react-tooltip');
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 React from 'react';
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 { 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 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 { 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';
export interface InputLabelProps {

View File

@ -1,5 +1,5 @@
import { colors } from '@0xproject/react-shared';
import { errorUtils } from '@0xproject/utils';
import { colors } from '@0x/react-shared';
import { errorUtils } from '@0x/utils';
import RaisedButton from 'material-ui/RaisedButton';
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 React from 'react';
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 { 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';
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 React from 'react';
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 { 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';
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 React from 'react';
import { Party } from 'ts/components/ui/party';

View File

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

View File

@ -1,6 +1,6 @@
import { Styles } from '@0xproject/react-shared';
import { BigNumber, logUtils } from '@0xproject/utils';
import { Web3Wrapper } from '@0xproject/web3-wrapper';
import { Styles } from '@0x/react-shared';
import { BigNumber, logUtils } from '@0x/utils';
import { Web3Wrapper } from '@0x/web3-wrapper';
import * as _ from 'lodash';
import FlatButton from 'material-ui/FlatButton';
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 * as _ from 'lodash';
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 React from 'react';
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 React from 'react';
import DocumentTitle = require('react-document-title');

View File

@ -1,5 +1,5 @@
import { ALink, colors, Link, NestedSidebarMenu } from '@0xproject/react-shared';
import { ObjectMap } from '@0xproject/types';
import { ALink, colors, Link, NestedSidebarMenu } from '@0x/react-shared';
import { ObjectMap } from '@0x/types';
import * as _ from 'lodash';
import * as React from 'react';
import { OverviewContent } from 'ts/components/documentation/overview_content';
@ -68,7 +68,7 @@ const CATEGORY_TO_PACKAGES: ObjectMap<Package[]> = {
description:
'An http & websocket client for interacting with relayers that have implemented the [Standard Relayer API](https://github.com/0xProject/standard-relayer-api)',
link: {
title: '@0xproject/connect',
title: '@0x/connect',
to: WebsitePaths.Connect,
},
},
@ -76,7 +76,7 @@ const CATEGORY_TO_PACKAGES: ObjectMap<Package[]> = {
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.',
link: {
title: '@0xproject/contract-wrappers',
title: '@0x/contract-wrappers',
to: WebsitePaths.ContractWrappers,
},
},
@ -84,7 +84,7 @@ const CATEGORY_TO_PACKAGES: ObjectMap<Package[]> = {
description:
'A collection of 0x-related JSON-schemas (incl. SRA request/response schemas, 0x order message format schema, etc...)',
link: {
title: '@0xproject/json-schemas',
title: '@0x/json-schemas',
to: WebsitePaths.JSONSchemas,
},
},
@ -92,7 +92,7 @@ const CATEGORY_TO_PACKAGES: ObjectMap<Package[]> = {
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.',
link: {
title: '@0xproject/order-utils',
title: '@0x/order-utils',
to: WebsitePaths.OrderUtils,
},
},
@ -100,7 +100,7 @@ const CATEGORY_TO_PACKAGES: ObjectMap<Package[]> = {
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.",
link: {
title: '@0xproject/order-watcher',
title: '@0x/order-watcher',
to: WebsitePaths.OrderWatcher,
},
},
@ -108,7 +108,7 @@ const CATEGORY_TO_PACKAGES: ObjectMap<Package[]> = {
description:
'Contains the Standard Relayer API OpenAPI Spec. The package distributes both a javascript object version and a json version.',
link: {
title: '@0xproject/sra-spec',
title: '@0x/sra-spec',
to: 'https://github.com/0xProject/0x-monorepo/tree/development/packages/sra-spec',
shouldOpenInNewTab: true,
},
@ -117,7 +117,7 @@ const CATEGORY_TO_PACKAGES: ObjectMap<Package[]> = {
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.',
link: {
title: '@0xproject/asset-buyer',
title: '@0x/asset-buyer',
to: WebsitePaths.AssetBuyer,
},
},
@ -144,7 +144,7 @@ const CATEGORY_TO_PACKAGES: ObjectMap<Package[]> = {
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.',
link: {
title: '@0xproject/sol-compiler',
title: '@0x/sol-compiler',
to: WebsitePaths.SolCompiler,
},
},
@ -152,7 +152,7 @@ const CATEGORY_TO_PACKAGES: ObjectMap<Package[]> = {
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.',
link: {
title: '@0xproject/sol-cov',
title: '@0x/sol-cov',
to: WebsitePaths.SolCov,
},
},
@ -160,7 +160,7 @@ const CATEGORY_TO_PACKAGES: ObjectMap<Package[]> = {
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...)',
link: {
title: '@0xproject/subproviders',
title: '@0x/subproviders',
to: WebsitePaths.Subproviders,
},
},
@ -168,7 +168,7 @@ const CATEGORY_TO_PACKAGES: ObjectMap<Package[]> = {
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...',
link: {
title: '@0xproject/web3-wrapper',
title: '@0x/web3-wrapper',
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 React from 'react';
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 * 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';
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 React from 'react';
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';