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 * as React from 'react';
|
||||
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 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 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 {
|
||||
Parameter,
|
||||
SolidityMethod,
|
||||
TypeDefinitionByName,
|
||||
TypescriptFunction,
|
||||
TypescriptMethod,
|
||||
} from '@0xproject/types';
|
||||
} from '@0x/types';
|
||||
import * as _ from 'lodash';
|
||||
import * as React from 'react';
|
||||
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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';
|
||||
|
||||
@@ -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';
|
||||
|
||||
|
||||
@@ -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';
|
||||
|
||||
@@ -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';
|
||||
|
||||
@@ -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';
|
||||
|
||||
@@ -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';
|
||||
|
||||
@@ -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';
|
||||
|
||||
|
||||
@@ -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';
|
||||
|
||||
@@ -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';
|
||||
|
||||
@@ -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';
|
||||
|
||||
@@ -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';
|
||||
|
||||
|
||||
@@ -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';
|
||||
|
||||
@@ -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';
|
||||
|
||||
@@ -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';
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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');
|
||||
|
||||
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user