whoisryosuke / next-mdx-deck

Presentation decks using MDX, React, and Next.JS
https://next-mdx-deck.netlify.app/
MIT License
175 stars 45 forks source link

Steps / Appear #13

Open stephencweiss opened 3 years ago

stephencweiss commented 3 years ago

👋 Hi! Love the project, so thank you so much for what you've built!

One thing I'm wondering if it's already available, or if there's a solution from the community: transitions / steps in a slide.

In the original mdx-deck, this is available as a <Steps> component (here) -- but there's something I'm missing when I try to recreate this within the next-mdx-deck environment (namely, the context doesn't seem to maintain the correct state / we're not creating a [slide#].x that appears to happen... magically (?)).

Is there a simple solution here? Is it already built? Or is this something that we could consider adding (not necessarily putting this on you, more trying to understand the landscape).

Thanks in advance!

whoisryosuke commented 3 years ago

Hey @stephencweiss 👋🏼

Steps/Appear was definitely on the roadmap. Had some time today and knocked it out 💪🏼 It's currently in this branch if you'd like to test. I'll be merging to main soon after a little more testing and documentation.

You can see the example of <Steps> in action here. Just an heads up since things changed a bit in the update to NextJS v11 (like moving from /slides/ to /pages/).

If you have any issues with it or feature requests let me know!

stephencweiss commented 3 years ago

Woot! Awesome. I’ll try to take a look soon.

I will admit, I ended up using the original mdx-deck for the talk I gave last week…

Looking forward to using this for my next talk! On Aug 12, 2021, 8:46 PM -0500, Ryosuke @.***>, wrote:

Hey @stephencweiss 👋🏼 Steps/Appear was definitely on the roadmap. Had some time today and knocked it out 💪🏼 It's currently in this branch if you'd like to test. I'll be merging to main soon after a little more testing and documentation. You can see the example of in action here. Just an heads up since things changed a bit in the update to NextJS v11 (like moving from /slides/ to /pages/). If you have any issues with it or feature requests let me know! — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.