Skip to content

Conversation

RobinMalfait
Copy link
Member

  • rename Transition to TransitionRoot
  • alias Transition.Root to Transition

@vercel
Copy link

vercel bot commented Apr 13, 2021

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployments, click below or on the icon next to each commit.

headlessui-react – ./packages/@headlessui-react

🔍 Inspect: https://vercel.com/tailwindlabs/headlessui-react/D8Rvj2fa6tUjL3UakyRRgEKD7iGi
✅ Preview: https://headlessui-react-git-improve-transition-naming-tailwindlabs.vercel.app

headlessui-vue – ./packages/@headlessui-vue

🔍 Inspect: https://vercel.com/tailwindlabs/headlessui-vue/G41RrYyjqK6zuJ8cR7RweYSJAKR7
✅ Preview: https://headlessui-vue-git-improve-transition-naming-tailwindlabs.vercel.app

This will allow us to write it as:

- TransitionRoot
- TransitionChild

This has the added benefit that it doesn't collide with the internal
Transition component from Vue itself.
This allows us to write:

- Transition.Root
- Transition.Child

If you have a standalone Transition, then you can still use <Transition /> as is.
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.

1 participant