Glen Cheney
a0a41ea9c4
Merge pull request #166 from Vestride/greenkeeper/sinon-3.0.0
...
Update sinon to the latest version 🚀
7 years ago
greenkeeper[bot]
5d8a411077
chore(package): update sinon to version 3.0.0
7 years ago
Glen Cheney
eaae5533ff
Round translate values by default.
7 years ago
Glen Cheney
4caeaec928
Add changelog date.
7 years ago
Glen Cheney
f93febb8cc
5.0.0
7 years ago
Glen Cheney
37d03f992e
Remove whitespace control tags.
...
Apparently github pages uses an old version of liquid, but the jekyll gem uses the new version.
7 years ago
Glen Cheney
c53f410471
Remove symlink. GH pages can't build with it.
7 years ago
Glen Cheney
c3c074994d
Merge pull request #160 from Vestride/v5
...
v5
7 years ago
Glen Cheney
a5543f16b2
Fix incorrect visible item count after `resetItems()`
7 years ago
Glen Cheney
03218eeb8c
Use id instead of array index react key
7 years ago
Glen Cheney
db94d2b6af
Fix react demo mobile view.
7 years ago
Glen Cheney
40e6db99c8
Fix typo, demo consistency.
7 years ago
Glen Cheney
d9d3f92943
Upgrade rollup version.
7 years ago
Glen Cheney
68fc6ae10a
Remove rounding of item positions. ref #10
...
If you want to round them still, subclass `Shuffle` and override the `getStylesForTransition()` method.
7 years ago
Glen Cheney
9bb8f43f17
Use item title instead of groups for caption.
7 years ago
Glen Cheney
bb750a3fb8
Update demo screenshots.
7 years ago
Glen Cheney
983adbc481
Add "Filters" section.
7 years ago
Glen Cheney
92490e8193
Update code samples. Add "Docs" dropdown to the main nav.
...
Docs dropdown has jump links to sections of the homepage.
7 years ago
Glen Cheney
6d19b27789
Use new images from unsplash.com for demos.
7 years ago
Glen Cheney
14a416c121
Update type styles. Change homepage <select> to radio buttons.
7 years ago
Glen Cheney
746d03aab4
Update button styles.
7 years ago
Glen Cheney
2ebbbac652
New main navigation. Reorganize css files.
7 years ago
Glen Cheney
c8299bbcc2
Upgrade normalize.css. Remove normalize from main css bundle.
7 years ago
Glen Cheney
7669846d32
Add cssnano to css compilation.
...
Log sass errors instead of stopping gulp and leaving the jekyll ruby process detached.
7 years ago
Glen Cheney
fb96b330c6
Move jekyll static site to /docs
7 years ago
Glen Cheney
8a863fe75c
Fix add method with new `isHidden` property.
7 years ago
Glen Cheney
dc0fe37e18
Revert "transition everything".
...
That threw off calculations on resize. Now infer things to transition from the css object map.
7 years ago
Glen Cheney
3b9e140a53
Avoid requirement for scale properties being different.
...
This is done with the new `isHidden` property of ShuffleItem which is set by `_layout` and `_shrink` because the filter methods set `isVisible`.
Allow transitions on anything, not just transform and opacity.
JSDoc `Function` => `function`.
7 years ago
Glen Cheney
510f9de192
Change default easing to material design's "standard curve"
...
Was `ease`, now `cubic-bezier(0.4, 0.0, 0.2, 1)`
https://material.io/guidelines/motion/duration-easing.html#duration-easing-natural-easing-curves
7 years ago
Glen Cheney
46161c5a9f
Avoid animating new items' position during `add`.
...
Items now fade and scale in from their "final" position instead of transitioning from 0,0 to their "final" position. This looks much more natural.
Also reduced the maximum stagger delay to 150ms.
7 years ago
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
533716bd40
Add links to demo source for a few demos.
7 years ago
Glen Cheney
bc5d41902f
Add react demo. Add `resetItems()` method.
7 years ago
Glen Cheney
e5d15e9913
Remove lockfile.
...
https://github.com/sindresorhus/ama/issues/479#issuecomment-310661514
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
b0d2ed1317
Update custom prism build.
7 years ago
Glen Cheney
9c05feb7a4
Add click-to-remove to adding and removing demo.
7 years ago
Glen Cheney
e2d6e6f5bc
Update dns prefetch domains.
7 years ago
Glen Cheney
d65d1c0ab0
Update meta author and description.
7 years ago
Glen Cheney
2185f6c7e0
Replace jQuery and legacy viewport helper with IntersectionObserver.
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
6bdc0491a9
Add ES6/7 env note. Remove references to bower.
...
Remove `--save` from npm install because npm@5 saves automatically.
7 years ago
Glen Cheney
e1edc7af50
Update requirejs version.
7 years ago
Glen Cheney
84f391bc79
Update jquery version.
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
0cb7ba01f7
Remove explicit bower support.
7 years ago
Glen Cheney
8e8a82953a
Remove `jsnext:main` field pointing at the `src` directory.
...
It's only for `import` and `export`, not other ES2015+ features.
7 years ago