Remove react-shared package and fold it into website

This commit is contained in:
fabioberger
2019-07-25 11:18:42 +02:00
parent cc7dec7a99
commit ec7f9d8a63
122 changed files with 322 additions and 1458 deletions

View File

@@ -1,7 +1,8 @@
import { Link, Styles } from '@0x/react-shared';
import { Link } from 'ts/components/documentation/shared/link';
import * as React from 'react';
import { Island } from 'ts/components/ui/island';
import { colors } from 'ts/style/colors';
import { Styles } from 'ts/types';
export interface BackButtonProps {
to: string;

View File

@@ -1,4 +1,3 @@
import { Styles } from '@0x/react-shared';
import * as _ from 'lodash';
import * as React from 'react';
@@ -7,7 +6,7 @@ import { defaultMenuItemEntries, Menu } from 'ts/components/portal/menu';
import { Identicon } from 'ts/components/ui/identicon';
import { Text } from 'ts/components/ui/text';
import { colors } from 'ts/style/colors';
import { ProviderType, WebsitePaths } from 'ts/types';
import { ProviderType, Styles, WebsitePaths } from 'ts/types';
import { utils } from 'ts/utils/utils';
const IDENTICON_DIAMETER = 45;

View File

@@ -1,9 +1,8 @@
import { Styles } from '@0x/react-shared';
import * as _ from 'lodash';
import * as React from 'react';
import { CustomMenuItem } from 'ts/components/ui/custom_menu_item';
import { colors } from 'ts/style/colors';
import { WebsitePaths } from 'ts/types';
import { Styles, WebsitePaths } from 'ts/types';
export interface MenuTheme {
paddingLeft: number;

View File

@@ -1,8 +1,9 @@
import { colors, Link } from '@0x/react-shared';
import { Link } from 'ts/components/documentation/shared/link';
import { BigNumber } from '@0x/utils';
import * as _ from 'lodash';
import * as React from 'react';
import { Redirect, Route, RouteComponentProps, Switch } from 'react-router-dom';
import { colors } from 'ts/style/colors';
import { Blockchain } from 'ts/blockchain';
import { ANNOUNCEMENT_BANNER_HEIGHT, AnnouncementBanner } from 'ts/components/annoucement_banner';

View File

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