-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Next batch of Vue components #282
Conversation
This pull request is being automatically deployed with Vercel (learn more). headlessui-react – ./packages/@headlessui-react🔍 Inspect: https://vercel.com/tailwindlabs/headlessui-react/F7Z1tcSND1pzoA34Wrye1zqHvYim headlessui-vue – ./packages/@headlessui-vue🔍 Inspect: https://vercel.com/tailwindlabs/headlessui-vue/2yN7qRkZohQUEvBHJtSDHGPwrTdh |
44effa7
to
e8e2770
Compare
e8e2770
to
0f38cdd
Compare
0f38cdd
to
3c69bf1
Compare
3c69bf1
to
7049b2e
Compare
7049b2e
to
dd50405
Compare
dd50405
to
ee2ed4e
Compare
ee2ed4e
to
1166eb0
Compare
1166eb0
to
6ca649f
Compare
6ca649f
to
ec6f1d6
Compare
fab2690
to
b643d2d
Compare
We have a low level Description component abstraction that can be used instead of the Dialog specifiction Description.
2c8bc74
to
c863f5f
Compare
The Description component is a generic low level component that is re-used. This causes an issue that the render prop "bag"/"slot" doesn't contain the data from let's say a Dialog component. This commit will ensure that you can specify a bag (React) and slot (Vue) on the DescriptionProvider, so that the Description component can read it from the context.
c863f5f
to
1fd793b
Compare
These contain a few changes that are purely internal changes. Nothing changes / breaks in the public API of the components. - Instead of using multiple arguments in your `render()` functions, we now use an object. - `propsBag` / `bag` is renamed to `slot`. - We also provide a `name` to the render function, so that we can use that to improve error messages.
ca958b5
to
afb7ffc
Compare
New Vue components: