Skip to content

Commit fcdfdbb

Browse files
committed
renamed internal to helpers
1 parent 4ffb2ff commit fcdfdbb

43 files changed

Lines changed: 79 additions & 74 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

packages/patternfly-4/react-core/src/components/AboutModal/AboutModal.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import ReactDOM from 'react-dom';
33
import PropTypes from 'prop-types';
44
import AboutModalContainer from './AboutModalContainer';
55
import { canUseDOM } from 'exenv';
6-
import { KEY_CODES } from '../../internal/constants';
6+
import { KEY_CODES } from '../../helpers/constants';
77
import { css } from '@patternfly/react-styles';
88
import styles from '@patternfly/patternfly/components/Backdrop/backdrop.css';
99

packages/patternfly-4/react-core/src/components/AboutModal/AboutModal.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import React from 'react';
22
import { shallow } from 'enzyme';
33
import AboutModal from './AboutModal';
44
import ReactDOM from 'react-dom';
5-
import { KEY_CODES } from '../../internal/constants';
5+
import { KEY_CODES } from '../../helpers/constants';
66

77
jest.spyOn(ReactDOM, 'createPortal');
88
jest.spyOn(document, 'createElement');

packages/patternfly-4/react-core/src/components/Alert/Alert.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import PropTypes from 'prop-types';
44
import styles from '@patternfly/patternfly/components/Alert/alert.css';
55
import accessibleStyles from '@patternfly/patternfly/utilities/Accessibility/accessibility.css';
66
import AlertIcon from './AlertIcon';
7-
import { capitalize } from '../../internal/util';
7+
import { capitalize } from '../../helpers/util';
88
import AlertActionCloseButton from './AlertActionCloseButton';
99
import AlertActionLink from './AlertActionLink';
1010

packages/patternfly-4/react-core/src/components/Breadcrumb/BreadcrumbHeading.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import React from 'react';
22
import styles from '@patternfly/patternfly/components/Breadcrumb/breadcrumb.css';
33
import PropTypes from 'prop-types';
44
import { css } from '@patternfly/react-styles';
5-
import { componentShape } from '../../internal/componentShape';
5+
import { componentShape } from '../../helpers/componentShape';
66

77
const propTypes = {
88
/** Content rendered inside the breadcrumb title. */

packages/patternfly-4/react-core/src/components/Breadcrumb/BreadcrumbItem.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import styles from '@patternfly/patternfly/components/Breadcrumb/breadcrumb.css'
33
import PropTypes from 'prop-types';
44
import { AngleRightIcon } from '@patternfly/react-icons';
55
import { css, getModifier } from '@patternfly/react-styles';
6-
import { componentShape } from '../../internal/componentShape';
6+
import { componentShape } from '../../helpers/componentShape';
77

88
const propTypes = {
99
/** Content rendered inside the breadcrumb item. */

packages/patternfly-4/react-core/src/components/Button/Button.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import React from 'react';
22
import { css, getModifier } from '@patternfly/react-styles';
33
import PropTypes from 'prop-types';
4-
import { componentShape } from '../../internal/componentShape';
4+
import { componentShape } from '../../helpers/componentShape';
55
import styles from '@patternfly/patternfly/components/Button/button.css';
66

77
export const ButtonVariant = {

packages/patternfly-4/react-core/src/components/Card/Card.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import React from 'react';
22
import PropTypes from 'prop-types';
33
import { css } from '@patternfly/react-styles';
44
import styles from '@patternfly/patternfly/components/Card/card.css';
5-
import { componentShape } from '../../internal/componentShape';
5+
import { componentShape } from '../../helpers/componentShape';
66

77
const propTypes = {
88
/** content rendered inside the Card */

packages/patternfly-4/react-core/src/components/Card/CardBody.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import React from 'react';
22
import PropTypes from 'prop-types';
33
import { css } from '@patternfly/react-styles';
44
import styles from '@patternfly/patternfly/components/Card/card.css';
5-
import { componentShape } from '../../internal/componentShape';
5+
import { componentShape } from '../../helpers/componentShape';
66

77
const propTypes = {
88
/** content rendered inside the Card Body */

packages/patternfly-4/react-core/src/components/Card/CardFooter.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import React from 'react';
22
import PropTypes from 'prop-types';
33
import { css } from '@patternfly/react-styles';
44
import styles from '@patternfly/patternfly/components/Card/card.css';
5-
import { componentShape } from '../../internal/componentShape';
5+
import { componentShape } from '../../helpers/componentShape';
66

77
const propTypes = {
88
/** content rendered inside the Card Footer */

packages/patternfly-4/react-core/src/components/Card/CardHeader.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import React from 'react';
22
import PropTypes from 'prop-types';
33
import { css } from '@patternfly/react-styles';
44
import styles from '@patternfly/patternfly/components/Card/card.css';
5-
import { componentShape } from '../../internal/componentShape';
5+
import { componentShape } from '../../helpers/componentShape';
66

77
const propTypes = {
88
children: PropTypes.any,

0 commit comments

Comments
 (0)