chore: fix imports
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
import { colors } from '@0xproject/react-shared';
|
import { colors } from '@0x/react-shared';
|
||||||
import { darken } from 'polished';
|
import { darken } from 'polished';
|
||||||
import * as React from 'react';
|
import * as React from 'react';
|
||||||
import styled from 'styled-components';
|
import styled from 'styled-components';
|
||||||
|
|||||||
@@ -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';
|
||||||
|
|
||||||
|
|||||||
@@ -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 React from 'react';
|
||||||
import * as ReactMarkdown from 'react-markdown';
|
import * as ReactMarkdown from 'react-markdown';
|
||||||
|
|
||||||
|
|||||||
@@ -1,11 +1,11 @@
|
|||||||
import { AnchorTitle, colors, HeaderSizes, Styles } from '@0xproject/react-shared';
|
import { AnchorTitle, colors, HeaderSizes, Styles } from '@0x/react-shared';
|
||||||
import {
|
import {
|
||||||
Parameter,
|
Parameter,
|
||||||
SolidityMethod,
|
SolidityMethod,
|
||||||
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';
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
import { colors, Link } from '@0xproject/react-shared';
|
import { colors, Link } from '@0x/react-shared';
|
||||||
import { Source } from '@0xproject/types';
|
import { Source } from '@0x/types';
|
||||||
import * as React from 'react';
|
import * as React from 'react';
|
||||||
|
|
||||||
export interface SourceLinkProps {
|
export interface SourceLinkProps {
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
import { colors, constants as sharedConstants, Link, utils as sharedUtils } from '@0xproject/react-shared';
|
import { colors, constants as sharedConstants, Link, utils as sharedUtils } from '@0x/react-shared';
|
||||||
import { Type as TypeDef, TypeDefinitionByName, TypeDocTypes } from '@0xproject/types';
|
import { Type as TypeDef, TypeDefinitionByName, TypeDocTypes } from '@0x/types';
|
||||||
import { errorUtils } from '@0xproject/utils';
|
import { errorUtils } from '@0x/utils';
|
||||||
import * as _ from 'lodash';
|
import * as _ from 'lodash';
|
||||||
import * as React from 'react';
|
import * as React from 'react';
|
||||||
import { Link as ScrollLink } from 'react-scroll';
|
import { Link as ScrollLink } from 'react-scroll';
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
import { AnchorTitle, colors, HeaderSizes } from '@0xproject/react-shared';
|
import { AnchorTitle, colors, HeaderSizes } from '@0x/react-shared';
|
||||||
import { CustomType, CustomTypeChild, TypeDefinitionByName, TypeDocTypes } from '@0xproject/types';
|
import { CustomType, CustomTypeChild, TypeDefinitionByName, TypeDocTypes } from '@0x/types';
|
||||||
import { errorUtils } from '@0xproject/utils';
|
import { errorUtils } from '@0x/utils';
|
||||||
import * as _ from 'lodash';
|
import * as _ from 'lodash';
|
||||||
import * as React from 'react';
|
import * as React from 'react';
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
import { assetDataUtils, orderHashUtils } from '@0xproject/order-utils';
|
import { assetDataUtils, orderHashUtils } from '@0x/order-utils';
|
||||||
import { colors, Link } from '@0xproject/react-shared';
|
import { colors, Link } 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 accounting from 'accounting';
|
import * as accounting from 'accounting';
|
||||||
import * as _ from 'lodash';
|
import * as _ from 'lodash';
|
||||||
import { Card, CardHeader, CardText } from 'material-ui/Card';
|
import { Card, CardHeader, CardText } from 'material-ui/Card';
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
import { ALink, colors, Link } from '@0xproject/react-shared';
|
import { ALink, colors, Link } from '@0x/react-shared';
|
||||||
import { ObjectMap } from '@0xproject/types';
|
import { ObjectMap } from '@0x/types';
|
||||||
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';
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
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 { 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 { Blockchain } from 'ts/blockchain';
|
import { Blockchain } from 'ts/blockchain';
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import { Link, Styles } from '@0xproject/react-shared';
|
import { Link, Styles } from '@0x/react-shared';
|
||||||
import * as React from 'react';
|
import * as React from 'react';
|
||||||
import { Island } from 'ts/components/ui/island';
|
import { Island } from 'ts/components/ui/island';
|
||||||
import { colors } from 'ts/style/colors';
|
import { colors } from 'ts/style/colors';
|
||||||
|
|||||||
@@ -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 * as React from 'react';
|
import * as React from 'react';
|
||||||
|
|
||||||
|
|||||||
@@ -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 * as React from 'react';
|
import * as React from 'react';
|
||||||
import { CustomMenuItem } from 'ts/components/ui/custom_menu_item';
|
import { CustomMenuItem } from 'ts/components/ui/custom_menu_item';
|
||||||
|
|||||||
@@ -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 { GridTile as PlainGridTile } from 'material-ui/GridList';
|
import { GridTile as PlainGridTile } from 'material-ui/GridList';
|
||||||
import * as React from 'react';
|
import * as React from 'react';
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
import { DocsInfo } from '@0xproject/react-docs';
|
import { DocsInfo } from '@0x/react-docs';
|
||||||
import { ALink, colors, Link, Styles } from '@0xproject/react-shared';
|
import { ALink, colors, Link, Styles } from '@0x/react-shared';
|
||||||
import { ObjectMap } from '@0xproject/types';
|
import { ObjectMap } from '@0x/types';
|
||||||
import * as _ from 'lodash';
|
import * as _ from 'lodash';
|
||||||
import Drawer from 'material-ui/Drawer';
|
import Drawer from 'material-ui/Drawer';
|
||||||
import MenuItem from 'material-ui/MenuItem';
|
import MenuItem from 'material-ui/MenuItem';
|
||||||
|
|||||||
@@ -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';
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import { colors } from '@0xproject/react-shared';
|
import { colors } from '@0x/react-shared';
|
||||||
import { darken, saturate } from 'polished';
|
import { darken, saturate } from 'polished';
|
||||||
import * as React from 'react';
|
import * as React from 'react';
|
||||||
import { styled } from 'ts/style/theme';
|
import { styled } from 'ts/style/theme';
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import { colors } from '@0xproject/react-shared';
|
import { colors } from '@0x/react-shared';
|
||||||
import { darken } from 'polished';
|
import { darken } from 'polished';
|
||||||
import * as React from 'react';
|
import * as React from 'react';
|
||||||
import { styled } from 'ts/style/theme';
|
import { styled } from 'ts/style/theme';
|
||||||
|
|||||||
@@ -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 _ 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';
|
||||||
|
|||||||
@@ -5,8 +5,8 @@ import {
|
|||||||
GeneratedDocJson,
|
GeneratedDocJson,
|
||||||
SupportedDocJson,
|
SupportedDocJson,
|
||||||
TypeDocUtils,
|
TypeDocUtils,
|
||||||
} from '@0xproject/react-docs';
|
} from '@0x/react-docs';
|
||||||
import { NestedSidebarMenu } from '@0xproject/react-shared';
|
import { NestedSidebarMenu } from '@0x/react-shared';
|
||||||
import findVersions = require('find-versions');
|
import findVersions = require('find-versions');
|
||||||
import * as _ from 'lodash';
|
import * as _ from 'lodash';
|
||||||
import CircularProgress from 'material-ui/CircularProgress';
|
import CircularProgress from 'material-ui/CircularProgress';
|
||||||
@@ -181,7 +181,7 @@ export class DocPage extends React.Component<DocPageProps, DocPageState> {
|
|||||||
let tagPrefix = pkg;
|
let tagPrefix = pkg;
|
||||||
const packagesWithNamespace = ['connect'];
|
const packagesWithNamespace = ['connect'];
|
||||||
if (_.includes(packagesWithNamespace, pkg)) {
|
if (_.includes(packagesWithNamespace, pkg)) {
|
||||||
tagPrefix = `@0xproject/${pkg}`;
|
tagPrefix = `@0x/${pkg}`;
|
||||||
}
|
}
|
||||||
// HACK: The following three lines exist for backward compatibility reasons
|
// HACK: The following three lines exist for backward compatibility reasons
|
||||||
// Before exporting types from other packages as part of the 0x.js interface,
|
// Before exporting types from other packages as part of the 0x.js interface,
|
||||||
|
|||||||
@@ -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 DocumentTitle = require('react-document-title');
|
import DocumentTitle = require('react-document-title');
|
||||||
|
|||||||
@@ -7,8 +7,8 @@ import {
|
|||||||
MarkdownSection,
|
MarkdownSection,
|
||||||
NestedSidebarMenu,
|
NestedSidebarMenu,
|
||||||
utils as sharedUtils,
|
utils as sharedUtils,
|
||||||
} from '@0xproject/react-shared';
|
} from '@0x/react-shared';
|
||||||
import { ObjectMap } from '@0xproject/types';
|
import { ObjectMap } from '@0x/types';
|
||||||
import * as _ from 'lodash';
|
import * as _ from 'lodash';
|
||||||
import CircularProgress from 'material-ui/CircularProgress';
|
import CircularProgress from 'material-ui/CircularProgress';
|
||||||
import * as React from 'react';
|
import * as React from 'react';
|
||||||
|
|||||||
Reference in New Issue
Block a user