Skip to content

Commit

Permalink
refactor(animation): move to shared for split versions
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanoglesby08 committed Feb 14, 2018
1 parent bbeb831 commit 1a5cb63
Show file tree
Hide file tree
Showing 16 changed files with 11 additions and 11 deletions.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const defaultStyle = timeout => ({

const transitionStyles = height => {
const styles = {
height: `${height}px`
height: `${height}px`,
}

return {
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react'
import { shallow, mount } from 'enzyme'

import Reveal from '../../../Animation/Reveal'
import Reveal from '../../../../../shared/components/Animation/Reveal'
import Accordion from '../Accordion'

describe('Accordion', () => {
Expand Down
4 changes: 2 additions & 2 deletions src/components/ExpandCollapse/PanelWrapper/PanelWrapper.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import DecorativeIcon from '../../Icons/DecorativeIcon/DecorativeIcon'
import Text from '../../Typography/Text/Text'
import HairlineDivider from '../../../../packages/HairlineDivider/HairlineDivider'
import DimpleDivider from '../../../../packages/DimpleDivider/DimpleDivider'
import Reveal from '../../Animation/Reveal'
import Translate from '../../Animation/Translate'
import Reveal from '../../../../shared/components/Animation/Reveal'
import Translate from '../../../../shared/components/Animation/Translate'
import Flexbox from '../../Flexbox/Flexbox'
import Panel from '../Panel/Panel'
import Responsive from '../../Responsive/Responsive'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import React from 'react'
import { shallow, mount } from 'enzyme'

import Reveal from '../../Animation/Reveal'
import Translate from '../../Animation/Translate'
import Reveal from '../../../../shared/components/Animation/Reveal'
import Translate from '../../../../shared/components/Animation/Translate'
import Text from '../../Typography/Text/Text'
import DecorativeIcon from '../../Icons/DecorativeIcon/DecorativeIcon'
import HairlineDivider from '../../../../packages/HairlineDivider/HairlineDivider'
Expand Down
4 changes: 2 additions & 2 deletions src/components/FormField/FeedbackIcon.jsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react'
import PropTypes from 'prop-types'

import Fade from '../Animation/Fade'
import Fade from '../../../shared/components/Animation/Fade'
import StandaloneIcon from '../Icons/StandaloneIcon/StandaloneIcon'

import iconWrapperStyles from '../Icons/IconWrapper.modules.scss'
Expand Down Expand Up @@ -34,7 +34,7 @@ FeedbackIcon.propTypes = {
feedback: PropTypes.oneOf(['success', 'error']),
}
FeedbackIcon.defaultProps = {
feedback: undefined
feedback: undefined,
}

export default FeedbackIcon
2 changes: 1 addition & 1 deletion src/components/Input/__tests__/Input.spec.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { render, mount } from 'enzyme'
import StandaloneIcon from '../../Icons/StandaloneIcon/StandaloneIcon'
import Text from '../../Typography/Text/Text'
import Paragraph from '../../Typography/Paragraph/Paragraph'
import Fade from '../../Animation/Fade'
import Fade from '../../../../shared/components/Animation/Fade'
import Input from '../Input'
import InputFeedback from '../../InputFeedback/InputFeedback'
import DecorativeIcon from '../../Icons/DecorativeIcon/DecorativeIcon'
Expand Down
2 changes: 1 addition & 1 deletion src/components/Select/__tests__/Select.spec.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { render, mount } from 'enzyme'
import StandaloneIcon from '../../Icons/StandaloneIcon/StandaloneIcon'
import Text from '../../Typography/Text/Text'
import Paragraph from '../../Typography/Paragraph/Paragraph'
import Fade from '../../Animation/Fade'
import Fade from '../../../../shared/components/Animation/Fade'
import Select from '../Select'
import InputFeedback from '../../InputFeedback/InputFeedback'
import DecorativeIcon from '../../Icons/DecorativeIcon/DecorativeIcon'
Expand Down
2 changes: 1 addition & 1 deletion src/components/TextArea/__tests__/TextArea.spec.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import StandaloneIcon from '../../Icons/StandaloneIcon/StandaloneIcon'
import DecorativeIcon from '../../Icons/DecorativeIcon/DecorativeIcon'
import Text from '../../Typography/Text/Text'
import Paragraph from '../../Typography/Paragraph/Paragraph'
import Fade from '../../Animation/Fade'
import Fade from '../../../../shared/components/Animation/Fade'
import TextArea from '../TextArea'
import InputFeedback from '../../InputFeedback/InputFeedback'

Expand Down

0 comments on commit 1a5cb63

Please sign in to comment.