chore: fix imports

This commit is contained in:
Fabio Berger
2018-10-18 14:06:12 +01:00
parent 1c68bdabaa
commit 0affc7682f
22 changed files with 39 additions and 39 deletions

View File

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

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 { colors, MarkdownCodeBlock } from '@0xproject/react-shared';
import { colors, MarkdownCodeBlock } from '@0x/react-shared';
import * as React from 'react';
import * as ReactMarkdown from 'react-markdown';

View File

@@ -1,11 +1,11 @@
import { AnchorTitle, colors, HeaderSizes, Styles } from '@0xproject/react-shared';
import { AnchorTitle, colors, HeaderSizes, Styles } from '@0x/react-shared';
import {
Parameter,
SolidityMethod,
TypeDefinitionByName,
TypescriptFunction,
TypescriptMethod,
} from '@0xproject/types';
} from '@0x/types';
import * as _ from 'lodash';
import * as React from 'react';

View File

@@ -1,5 +1,5 @@
import { colors, Link } from '@0xproject/react-shared';
import { Source } from '@0xproject/types';
import { colors, Link } from '@0x/react-shared';
import { Source } from '@0x/types';
import * as React from 'react';
export interface SourceLinkProps {

View File

@@ -1,6 +1,6 @@
import { colors, constants as sharedConstants, Link, utils as sharedUtils } from '@0xproject/react-shared';
import { Type as TypeDef, TypeDefinitionByName, TypeDocTypes } from '@0xproject/types';
import { errorUtils } from '@0xproject/utils';
import { colors, constants as sharedConstants, Link, utils as sharedUtils } from '@0x/react-shared';
import { Type as TypeDef, TypeDefinitionByName, TypeDocTypes } from '@0x/types';
import { errorUtils } from '@0x/utils';
import * as _ from 'lodash';
import * as React from 'react';
import { Link as ScrollLink } from 'react-scroll';

View File

@@ -1,6 +1,6 @@
import { AnchorTitle, colors, HeaderSizes } from '@0xproject/react-shared';
import { CustomType, CustomTypeChild, TypeDefinitionByName, TypeDocTypes } from '@0xproject/types';
import { errorUtils } from '@0xproject/utils';
import { AnchorTitle, colors, HeaderSizes } from '@0x/react-shared';
import { CustomType, CustomTypeChild, TypeDefinitionByName, TypeDocTypes } from '@0x/types';
import { errorUtils } from '@0x/utils';
import * as _ from 'lodash';
import * as React from 'react';

View File

@@ -1,7 +1,7 @@
import { assetDataUtils, orderHashUtils } from '@0xproject/order-utils';
import { colors, Link } from '@0xproject/react-shared';
import { BigNumber, logUtils } from '@0xproject/utils';
import { Web3Wrapper } from '@0xproject/web3-wrapper';
import { assetDataUtils, orderHashUtils } from '@0x/order-utils';
import { colors, Link } from '@0x/react-shared';
import { BigNumber, logUtils } from '@0x/utils';
import { Web3Wrapper } from '@0x/web3-wrapper';
import * as accounting from 'accounting';
import * as _ from 'lodash';
import { Card, CardHeader, CardText } from 'material-ui/Card';

View File

@@ -1,5 +1,5 @@
import { ALink, colors, Link } from '@0xproject/react-shared';
import { ObjectMap } from '@0xproject/types';
import { ALink, colors, Link } from '@0x/react-shared';
import { ObjectMap } from '@0x/types';
import * as _ from 'lodash';
import DropDownMenu from 'material-ui/DropDownMenu';
import MenuItem from 'material-ui/MenuItem';

View File

@@ -1,6 +1,6 @@
import { colors, Link } from '@0xproject/react-shared';
import { BigNumber } from '@0xproject/utils';
import { Web3Wrapper } from '@0xproject/web3-wrapper';
import { colors, Link } 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 { Blockchain } from 'ts/blockchain';

View File

@@ -1,4 +1,4 @@
import { Link, Styles } from '@0xproject/react-shared';
import { Link, Styles } from '@0x/react-shared';
import * as React from 'react';
import { Island } from 'ts/components/ui/island';
import { colors } from 'ts/style/colors';

View File

@@ -1,4 +1,4 @@
import { Styles } from '@0xproject/react-shared';
import { Styles } from '@0x/react-shared';
import * as _ from 'lodash';
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 _ from 'lodash';
import * as React from 'react';
import { CustomMenuItem } from 'ts/components/ui/custom_menu_item';

View File

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

View File

@@ -1,6 +1,6 @@
import { DocsInfo } from '@0xproject/react-docs';
import { ALink, colors, Link, Styles } from '@0xproject/react-shared';
import { ObjectMap } from '@0xproject/types';
import { DocsInfo } from '@0x/react-docs';
import { ALink, colors, Link, Styles } from '@0x/react-shared';
import { ObjectMap } from '@0x/types';
import * as _ from 'lodash';
import Drawer from 'material-ui/Drawer';
import MenuItem from 'material-ui/MenuItem';

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';

View File

@@ -1,4 +1,4 @@
import { colors } from '@0xproject/react-shared';
import { colors } from '@0x/react-shared';
import { darken, saturate } from 'polished';
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 { darken } from 'polished';
import * as React from 'react';
import { styled } from 'ts/style/theme';

View File

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

View File

@@ -5,8 +5,8 @@ import {
GeneratedDocJson,
SupportedDocJson,
TypeDocUtils,
} from '@0xproject/react-docs';
import { NestedSidebarMenu } from '@0xproject/react-shared';
} from '@0x/react-docs';
import { NestedSidebarMenu } from '@0x/react-shared';
import findVersions = require('find-versions');
import * as _ from 'lodash';
import CircularProgress from 'material-ui/CircularProgress';
@@ -181,7 +181,7 @@ export class DocPage extends React.Component<DocPageProps, DocPageState> {
let tagPrefix = pkg;
const packagesWithNamespace = ['connect'];
if (_.includes(packagesWithNamespace, pkg)) {
tagPrefix = `@0xproject/${pkg}`;
tagPrefix = `@0x/${pkg}`;
}
// HACK: The following three lines exist for backward compatibility reasons
// Before exporting types from other packages as part of the 0x.js interface,

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 DocumentTitle = require('react-document-title');

View File

@@ -7,8 +7,8 @@ import {
MarkdownSection,
NestedSidebarMenu,
utils as sharedUtils,
} from '@0xproject/react-shared';
import { ObjectMap } from '@0xproject/types';
} from '@0x/react-shared';
import { ObjectMap } from '@0x/types';
import * as _ from 'lodash';
import CircularProgress from 'material-ui/CircularProgress';
import * as React from 'react';