├── .babelrc ├── .editorconfig ├── .eslintrc ├── .gitignore ├── .npmignore ├── .travis.yml ├── CONTRIBUTING.md ├── LICENSE.md ├── README.md ├── css └── main.css ├── dist ├── Label.js ├── Main.js ├── Main.min.js └── Toggle.js ├── package.json ├── src ├── Label.js ├── Main.js └── Toggle.js ├── stories ├── Main.js └── SwitchButtonContainer.js ├── storybook └── config.js ├── switch-button.gif └── tests ├── helpers └── setup.js └── specs ├── Label.spec.js ├── Main.spec.js └── Toggle.spec.js /.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": ["airbnb"] 3 | } 4 | -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyef/lyef-switch-button/HEAD/.editorconfig -------------------------------------------------------------------------------- /.eslintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyef/lyef-switch-button/HEAD/.eslintrc -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyef/lyef-switch-button/HEAD/.gitignore -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- 1 | coverage 2 | build -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyef/lyef-switch-button/HEAD/.travis.yml -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyef/lyef-switch-button/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyef/lyef-switch-button/HEAD/LICENSE.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyef/lyef-switch-button/HEAD/README.md -------------------------------------------------------------------------------- /css/main.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyef/lyef-switch-button/HEAD/css/main.css -------------------------------------------------------------------------------- /dist/Label.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyef/lyef-switch-button/HEAD/dist/Label.js -------------------------------------------------------------------------------- /dist/Main.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyef/lyef-switch-button/HEAD/dist/Main.js -------------------------------------------------------------------------------- /dist/Main.min.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyef/lyef-switch-button/HEAD/dist/Main.min.js -------------------------------------------------------------------------------- /dist/Toggle.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyef/lyef-switch-button/HEAD/dist/Toggle.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyef/lyef-switch-button/HEAD/package.json -------------------------------------------------------------------------------- /src/Label.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyef/lyef-switch-button/HEAD/src/Label.js -------------------------------------------------------------------------------- /src/Main.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyef/lyef-switch-button/HEAD/src/Main.js -------------------------------------------------------------------------------- /src/Toggle.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyef/lyef-switch-button/HEAD/src/Toggle.js -------------------------------------------------------------------------------- /stories/Main.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyef/lyef-switch-button/HEAD/stories/Main.js -------------------------------------------------------------------------------- /stories/SwitchButtonContainer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyef/lyef-switch-button/HEAD/stories/SwitchButtonContainer.js -------------------------------------------------------------------------------- /storybook/config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyef/lyef-switch-button/HEAD/storybook/config.js -------------------------------------------------------------------------------- /switch-button.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyef/lyef-switch-button/HEAD/switch-button.gif -------------------------------------------------------------------------------- /tests/helpers/setup.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyef/lyef-switch-button/HEAD/tests/helpers/setup.js -------------------------------------------------------------------------------- /tests/specs/Label.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyef/lyef-switch-button/HEAD/tests/specs/Label.spec.js -------------------------------------------------------------------------------- /tests/specs/Main.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyef/lyef-switch-button/HEAD/tests/specs/Main.spec.js -------------------------------------------------------------------------------- /tests/specs/Toggle.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyef/lyef-switch-button/HEAD/tests/specs/Toggle.spec.js --------------------------------------------------------------------------------