Commit Graph

23 Commits (ded5ff2546706acd9aadad9119d16ba84223c3ba)

Author SHA1 Message Date
Glen Cheney ded5ff2546 Add typings file. 7 years ago
Glen Cheney 15b3738d7b Improve isCentered option. Add tests for it.
isCentered will now revert previously centered rows when a following row overlaps it.
7 years ago
Glen Cheney d08e1e3e9d Add `isCentered` option, which mostly works. 7 years ago
Glen Cheney bc5d41902f Add react demo. Add `resetItems()` method. 7 years ago
Glen Cheney 0b78b0727e Use `aria-hidden` attribute. Make methods that use transforms `protected` so people can override them to support old browsers.
and some other minor changes.
7 years ago
Glen Cheney 619470c43b Add flexbox grid demo. 7 years ago
Glen Cheney a4740223aa Run `layout` on page load. #147 7 years ago
Glen Cheney 57ded43991 Use TinyEmitter, expect ES6 environment. Change global export to `Shuffle`.
Replace array-uniq with Array.from/Set
Replace xtend with Object.assign
Remove custom-event-polyfill
Use Array.prototype.includes (ES7)
7 years ago
Glen Cheney fbabe9182c Update unsupported options for rollup-uglify. 7 years ago
Glen Cheney 4f95fba70b Update filterMode option. Add tests for filterMode. 7 years ago
David Gallego Varela 8e769ce651 Add the option to filter element with more than one key to _doesPassF… (#143)
* Add the option to filter element with more than one key to _doesPassFilter the new option is this.options.filterMode and values Shuffle.filterMode.EXCLUSIVE or Shuffle.filterMode.ADDITIVE

* Package change for use with npm

* Error on package.json

* Merge branch 'master' of github.com:Vestride/Shuffle

* check travis errors
7 years ago
Glen Cheney 61c975ccf1 Replace JSHint and JSCS with ESLint 7 years ago
Glen Cheney a56ccb3cd5 Replace webpack with rollup (#138) 7 years ago
Glen Cheney 407852eb72 Fix `before` styles not applied when the item didn’t move. Fixes #133 7 years ago
Glen Cheney 892b9329a0 Update webpack config for v2 7 years ago
Glen Cheney 13d3dacc77
Fix delimeter option #108 8 years ago
Glen Cheney 95c49edf9d
fix transition delay not being applied correct 8 years ago
Glen Cheney ef1f1f1c88
Add `instance.group` back instead of changing the option object 8 years ago
Glen Cheney 790b957bc3
Use ES6 export for main file. Add index.js to export the `default` to module.exports
This would allow module bundlers like rollup to use jsnext:main and it'll all be ES6 import/exports
8 years ago
Glen Cheney bd502f8437
Add `jsnext:main` field to package.json 8 years ago
Glen Cheney e1ea20f7da
Replace Promise dependency with array-parallel package 8 years ago
Glen Cheney 7aa6461b4d Move layout positioning logic to its own file. 8 years ago
Glen Cheney fd330bd800
Use `files` instead of .npmignore
Update webpack, add .map files
8 years ago