Skip to content

Commit

Permalink
fix(test dependencies): hooray
Browse files Browse the repository at this point in the history
  • Loading branch information
redallen committed Feb 5, 2019
1 parent a325e2a commit b64faae
Show file tree
Hide file tree
Showing 32 changed files with 37 additions and 37 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React from 'react';
import PropTypes from 'prop-types';
import classNames from 'classnames';
import 'patternfly/dist/js/patternfly-settings';
import { OverlayTrigger, Tooltip } from 'patternfly-react';
import { OverlayTrigger, Tooltip } from '@redallen-patternfly/patternfly-react';
import { resourceTypes, kindAbbrs, kindStrings } from './ResourceTypes';

const { patternfly } = window;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { defaultTemplate } from 'storybook/decorators/storyTemplates';
import { storybookPackageName } from 'storybook/constants/siteConstants';
import pfBrand from 'patternfly/dist/img/logo-alt.svg';
import ngnix from './__images__/nginx.png';
import { Icon } from 'patternfly-react';
import { Icon } from '@redallen-patternfly/patternfly-react';
import { name } from '../../../package.json';

import { CatalogTile, CatalogTileBadge } from './index';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react';
import { mount } from 'enzyme';
import { Icon } from 'patternfly-react';
import { Icon } from '@redallen-patternfly/patternfly-react';
import { CatalogTile } from './index';

const pfBrand = '<PatternFly Brand Image here>';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react';
import PropTypes from 'prop-types';
import classNames from 'classnames';
import { OverlayTrigger, Tooltip } from 'patternfly-react';
import { OverlayTrigger, Tooltip } from '@redallen-patternfly/patternfly-react';

const CatalogTileBadge = ({ children, className, id, title, ...props }) => {
const classes = classNames('catalog-tile-pf-badge', className);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react';
import { mount } from 'enzyme';
import { EmptyState } from 'patternfly-react';
import { EmptyState } from '@redallen-patternfly/patternfly-react';

import { CatalogTileView, CatalogTileViewCategory } from './index';
import { CatalogTile, CatalogTileBadge } from '../CatalogTile/index';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react';
import PropTypes from 'prop-types';
import classNames from 'classnames';
import { Button } from 'patternfly-react';
import { Button } from '@redallen-patternfly/patternfly-react';
import { ResizeSensor } from 'css-element-queries';
import Break from 'breakjs';
import { helpers } from '../../common/helpers';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react';
import PropTypes from 'prop-types';
import { Breadcrumb, EmptyState, Icon } from 'patternfly-react';
import { Breadcrumb, EmptyState, Icon } from '@redallen-patternfly/patternfly-react';
import { mockCategories } from './mockItems';

import { CatalogTile } from '../../CatalogTile';
Expand Down Expand Up @@ -116,7 +116,7 @@ export { MockCatalogTileViewExample };
export const MockCatalogTileViewExampleSource = `
import React from 'react';
import PropTypes from 'prop-types';
import { Breadcrumb, EmptyState, Icon } from 'patternfly-react';
import { Breadcrumb, EmptyState, Icon } from '@redallen-patternfly/patternfly-react';
import { mockCategories } from './mockCategories';
import { CatalogTile } from '../../CatalogTile';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react';
import { Icon } from 'patternfly-react';
import { Icon } from '@redallen-patternfly/patternfly-react';
import { mockItems } from './mockItems';

import { CatalogTile } from '../../CatalogTile';
Expand Down Expand Up @@ -50,7 +50,7 @@ export { MockCatalogTileViewNoCategoriesExample };

export const MockCatalogTileViewNoCategoriesExampleSource = `
import React from 'react';
import { Icon } from 'patternfly-react';
import { Icon } from '@redallen-patternfly/patternfly-react';
import { mockItems } from './mockItems';
import { CatalogTile } from '../../CatalogTile';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react';
import { mount } from 'enzyme';
import { FilterSidePanel } from './index';
import { FormControl } from 'patternfly-react';
import { FormControl } from '@redallen-patternfly/patternfly-react';

test('Filter input renders properly', () => {
const component = mount(
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react';
import PropTypes from 'prop-types';
import classNames from 'classnames';
import { Button } from 'patternfly-react';
import { Button } from '@redallen-patternfly/patternfly-react';
import { helpers } from '../../common/helpers';

const FilterSidePanelCategory = ({
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react';
import PropTypes from 'prop-types';
import FilterSidePanel from '../FilterSidePanel';
import { Icon, FormControl } from 'patternfly-react';
import { Icon, FormControl } from '@redallen-patternfly/patternfly-react';

class MockFilterSidePanelExample extends React.Component {
state = {
Expand Down Expand Up @@ -360,7 +360,7 @@ export const MockFilterSidePanelExampleSource = `
import React from 'react';
import PropTypes from 'prop-types';
import FilterSidePanel from '../FilterSidePanel';
import { Icon, FormControl } from 'patternfly-react';
import { Icon, FormControl } from '@redallen-patternfly/patternfly-react';
class MockFilterSidePanelExample extends React.Component {
state = {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react';
import { mount } from 'enzyme';
import { Icon } from 'patternfly-react';
import { Icon } from '@redallen-patternfly/patternfly-react';
import { PropertiesSidePanel, PropertyItem } from './index';

test('PropertyItem renders properly', () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { withInfo } from '@storybook/addon-info/dist/index';
import { defaultTemplate } from 'storybook/decorators/storyTemplates';
import { storybookPackageName, STORYBOOK_CATEGORY } from 'storybook/constants/siteConstants';
import { name } from '../../../package.json';
import { Icon } from 'patternfly-react';
import { Icon } from '@redallen-patternfly/patternfly-react';

import { PropertiesSidePanel, PropertyItem } from './index';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react';
import { mount } from 'enzyme';
import { Grid, Icon } from 'patternfly-react';
import { Grid, Icon } from '@redallen-patternfly/patternfly-react';
import { helpers } from '../../common/helpers';

import { TableGrid } from './index';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react';
import PropTypes from 'prop-types';
import classNames from 'classnames';
import { Grid } from 'patternfly-react';
import { Grid } from '@redallen-patternfly/patternfly-react';

/**
* TableGridCol Component for PatternFly
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react';
import PropTypes from 'prop-types';
import classNames from 'classnames';
import { Button, Grid, Icon } from 'patternfly-react';
import { Button, Grid, Icon } from '@redallen-patternfly/patternfly-react';
import { helpers } from '../../common/helpers';

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react';
import PropTypes from 'prop-types';
import classNames from 'classnames';
import { Button, Grid, Icon, OverlayTrigger, Tooltip } from 'patternfly-react';
import { Button, Grid, Icon, OverlayTrigger, Tooltip } from '@redallen-patternfly/patternfly-react';
import { helpers } from '../../common/helpers';

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react';
import PropTypes from 'prop-types';
import classNames from 'classnames';
import { Grid } from 'patternfly-react';
import { Grid } from '@redallen-patternfly/patternfly-react';
import { helpers } from '../../common/helpers';

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react';
import PropTypes from 'prop-types';
import TableGrid from '../TableGrid';
import { OverlayTrigger, Tooltip } from 'patternfly-react';
import { OverlayTrigger, Tooltip } from '@redallen-patternfly/patternfly-react';
import { mockItems } from './mockItems';

const titleColSizes = {
Expand Down Expand Up @@ -200,7 +200,7 @@ export const MockTableGridExampleSource = `
import React from 'react';
import PropTypes from 'prop-types';
import TableGrid from '../TableGrid';
import { OverlayTrigger, Tooltip } from 'patternfly-react';
import { OverlayTrigger, Tooltip } from '@redallen-patternfly/patternfly-react';
import { mockItems } from './mockItems';
const titleColSizes = {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react';
import PropTypes from 'prop-types';
import VirtualTableGrid from '../VirtualTableGrid';
import { OverlayTrigger, Tooltip } from 'patternfly-react';
import { OverlayTrigger, Tooltip } from '@redallen-patternfly/patternfly-react';
import { mockVirtualItems } from './mockVirtualItems';

const titleColSizes = {
Expand Down Expand Up @@ -220,7 +220,7 @@ export const MockVirtualTableGridExampleSource = `
import React from 'react';
import PropTypes from 'prop-types';
import VirtualTableGrid from '../VirtualTableGrid';
import { OverlayTrigger, Tooltip } from 'patternfly-react';
import { OverlayTrigger, Tooltip } from '@redallen-patternfly/patternfly-react';
import { mockVirtualItems } from './mockVirtualItems';
const titleColSizes = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ import React, { Component } from 'react';
import { select, boolean } from '@storybook/addon-knobs';
import { Button, Icon } from 'patternfly-react';
import { Button, Icon } from '@redallen-patternfly/patternfly-react';
import MessageDialog from '../MessageDialog';
class MessageDialogToggleableOptions extends Component {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ stories.add(
text: `Example with simple masthead and navigation items expressed as simple JSX children.\n
Tips:\n
* You can save some typing in your JSX by importing the child components like this:
\`\`\`\nimport { VerticalNav } from 'patternfly-react';
\`\`\`\nimport { VerticalNav } from '@redallen-patternfly/patternfly-react';
const { Masthead, Brand, IconBar, Item, SecondaryItem, TertiaryItem } = VerticalNav;
\`\`\`\n
* To control what happens on item selection, you can either pass an **href** or an **onClick**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react';
import PropTypes from 'prop-types';

import { Grid, Form, Dropdown, MenuItem, helpers } from 'patternfly-react';
import { Grid, Form, Dropdown, MenuItem, helpers } from '@redallen-patternfly/patternfly-react';

import constants from '../common/constants';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { inlineTemplate } from 'storybook/decorators/storyTemplates';
import { name } from '../../package.json';
import { storybookPackageName } from 'storybook/constants/siteConstants';

import { noop } from 'patternfly-react';
import { noop } from '@redallen-patternfly/patternfly-react';
import { AccessConsoles, VncConsole } from '../index';
import { SerialConsoleConnector } from '../SerialConsole/SerialConsole.stories'; // contains mock backend
import constants from '../common/constants';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react';
import { shallow, mount, render } from 'enzyme';
import { noop } from 'patternfly-react';
import { noop } from '@redallen-patternfly/patternfly-react';

import { AccessConsoles } from './index';
import { SerialConsole } from '../SerialConsole';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react';
import PropTypes from 'prop-types';
import { Button, ExpandCollapse } from 'patternfly-react';
import { Button, ExpandCollapse } from '@redallen-patternfly/patternfly-react';

import { child } from '../common/helpers';
import constants from '../common/constants';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React from 'react';
import PropTypes from 'prop-types';

import consoleDetailPropType from './consoleDetailPropType';
import { Form, Grid } from 'patternfly-react';
import { Form, Grid } from '@redallen-patternfly/patternfly-react';

const { Col } = Grid;
const { FormGroup } = Form;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React from 'react';
import PropTypes from 'prop-types';
import classNames from 'classnames';

import { EmptyState, Button, helpers, Toolbar } from 'patternfly-react';
import { EmptyState, Button, helpers, Toolbar } from '@redallen-patternfly/patternfly-react';
import constants from '../common/constants';

const { CONNECTED, DISCONNECTED, LOADING } = constants;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React from 'react';
import PropTypes from 'prop-types';
import classNames from 'classnames';

import { helpers } from 'patternfly-react';
import { helpers } from '@redallen-patternfly/patternfly-react';

const { noop } = helpers;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { proposeGeometry } from 'xterm/lib/addons/fit/fit';

import { debounce } from '../common/helpers';

import { helpers } from 'patternfly-react';
import { helpers } from '@redallen-patternfly/patternfly-react';

const { noop } = helpers;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react';
import PropTypes from 'prop-types';
import { MenuItem, Button, helpers } from 'patternfly-react';
import { MenuItem, Button, helpers } from '@redallen-patternfly/patternfly-react';

const { Dropdown } = Button;
const { noop } = helpers;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import * as NovncLog from '@novnc/novnc/core/util/logging';
import RFB from '@novnc/novnc/core/rfb';

import classNames from 'classnames';
import { Toolbar, helpers } from 'patternfly-react';
import { Toolbar, helpers } from '@redallen-patternfly/patternfly-react';

import VncActions from './VncActions';
import constants from '../common/constants';
Expand Down

0 comments on commit b64faae

Please sign in to comment.