Skip to content

Commit

Permalink
refactor: remove arwes sounds tools
Browse files Browse the repository at this point in the history
  • Loading branch information
romelperez committed Jul 29, 2018
1 parent 7591870 commit db958f2
Show file tree
Hide file tree
Showing 19 changed files with 8 additions and 319 deletions.
2 changes: 1 addition & 1 deletion packages/arwes/src/Button/index.js
@@ -1,5 +1,5 @@
import withStyles from '../tools/withStyles';
import withSounds from '../tools/withSounds';
import { withSounds } from '@arwes/sounds';
import Button from './Button';
import styles from './styles';

Expand Down
2 changes: 1 addition & 1 deletion packages/arwes/src/Footer/index.js
@@ -1,5 +1,5 @@
import withStyles from '../tools/withStyles';
import withSounds from '../tools/withSounds';
import { withSounds } from '@arwes/sounds';
import Footer from './Footer';
import styles from './styles';

Expand Down
2 changes: 1 addition & 1 deletion packages/arwes/src/Frame/index.js
@@ -1,5 +1,5 @@
import withStyles from '../tools/withStyles';
import withSounds from '../tools/withSounds';
import { withSounds } from '@arwes/sounds';
import Frame from './Frame';
import styles from './styles';

Expand Down
1 change: 1 addition & 0 deletions packages/arwes/src/Frame/sandbox.js
Expand Up @@ -15,6 +15,7 @@ export default class Example extends React.Component {
<Frame
show={this.state.show}
animate={true}
hover={true}
level={3}
corners={4}
layer="primary"
Expand Down
1 change: 1 addition & 0 deletions packages/arwes/src/Frame/styles.js
Expand Up @@ -66,6 +66,7 @@ export default theme => {
}
},

// TODO: The hover rule is not being referenced by JSS.
'&$hover:hover': {
'& $border': {
borderColor: props => getColor(theme, props, 'base'),
Expand Down
2 changes: 1 addition & 1 deletion packages/arwes/src/Header/index.js
@@ -1,5 +1,5 @@
import withStyles from '../tools/withStyles';
import withSounds from '../tools/withSounds';
import { withSounds } from '@arwes/sounds';
import Header from './Header';
import styles from './styles';

Expand Down
2 changes: 1 addition & 1 deletion packages/arwes/src/Project/index.js
@@ -1,5 +1,5 @@
import withStyles from '../tools/withStyles';
import withSounds from '../tools/withSounds';
import { withSounds } from '@arwes/sounds';
import Project from './Project';
import styles from './styles';

Expand Down
10 changes: 0 additions & 10 deletions packages/arwes/src/SoundsProvider/Readme.md

This file was deleted.

43 changes: 0 additions & 43 deletions packages/arwes/src/SoundsProvider/index.js

This file was deleted.

65 changes: 0 additions & 65 deletions packages/arwes/src/SoundsProvider/index.test.js

This file was deleted.

31 changes: 0 additions & 31 deletions packages/arwes/src/SoundsProvider/sandbox.js

This file was deleted.

2 changes: 1 addition & 1 deletion packages/arwes/src/Words/index.js
@@ -1,5 +1,5 @@
import withStyles from '../tools/withStyles';
import withSounds from '../tools/withSounds';
import { withSounds } from '@arwes/sounds';
import Words from './Words';
import styles from './styles';

Expand Down
5 changes: 0 additions & 5 deletions packages/arwes/src/index.js
Expand Up @@ -27,13 +27,8 @@ export ThemeProvider from './ThemeProvider';
export withStyles from './tools/withStyles';
export createTheme from './tools/createTheme';

export SoundsProvider from './SoundsProvider';
export withSounds from './tools/withSounds';
export createSounds from './tools/createSounds';

export createLoader from './tools/createLoader';
export createResponsive from './tools/createResponsive';
export createPlayer from './tools/createPlayer';

import * as toolsUtils from './tools/utils';
export const utils = toolsUtils;
35 changes: 0 additions & 35 deletions packages/arwes/src/tools/createPlayer/index.js

This file was deleted.

39 changes: 0 additions & 39 deletions packages/arwes/src/tools/createPlayer/index.test.js

This file was deleted.

11 changes: 0 additions & 11 deletions packages/arwes/src/tools/createSounds/index.js

This file was deleted.

7 changes: 0 additions & 7 deletions packages/arwes/src/tools/createSounds/sounds.js

This file was deleted.

26 changes: 0 additions & 26 deletions packages/arwes/src/tools/withSounds/index.js

This file was deleted.

41 changes: 0 additions & 41 deletions packages/arwes/src/tools/withSounds/index.test.js

This file was deleted.

0 comments on commit db958f2

Please sign in to comment.