Skip to content

Conversation

@VirtualDOMinic
Copy link
Contributor

  • Add TestJS example
  • Add TestJS to root index.js where we're testing rendering these files. Kept MDXDocument in so we can switch easily for now
  • See note added to Deck map

@VirtualDOMinic VirtualDOMinic requested a review from kiraarghy June 18, 2019 15:54
@VirtualDOMinic VirtualDOMinic self-assigned this Jun 18, 2019
Copy link
Contributor

@kiraarghy kiraarghy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@VirtualDOMinic VirtualDOMinic merged commit f8ed7da into rewrite/add-deck Jun 18, 2019
@VirtualDOMinic VirtualDOMinic deleted the rewrite/add-js-example branch June 18, 2019 20:58
kale-stew pushed a commit that referenced this pull request Jul 31, 2019
* add styled-components dependency

* move component files out of respective folders, update imports

* Change Deck.js so that it provides a render prop to the child.

* Modify Controls.js so that they accept dispatch prop and render buttons.

* Modify test.mdx so that it renders Controls and a currentSlide value.

* Refactored to use hooks

* Added 'SlideElement' logic to Slide.

* Finished slide logic

* removed Controls as no longer needed.

* Add SlideElementWrapper for animated elements

* Add note about loop prop for Deck

* Add example using JS rather than just MDX (#694)

* moved slideElementWrapper into own component

* Implement react spring transitions

* added custom transitionEffect prop to Slide component.

* Fixed MDX and JS examples

* SlideElementWrapper can accept custom springs now!

* Added proptypes

* Fixed some animation issues with precision.

* Added configuration so when going backwards you could skip animations.

* Implemented debounced keypress, so can skip animations if skipping through slides.

* Fixed some issues with transitionEffects

* Add immediate to note s that it is a React-Spring property.

* Fix cleanup function for useSlide.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants