Skip to content

Conversation

RobinMalfait
Copy link
Member

No description provided.

* add `Tabs` component (React)

* expose `Tabs` component (React)

* add `Tabs` example (React)

* add `Tabs` component (Vue)

* expose `Tabs` component (Vue)

* update changelog
)

* add ability to use `Disclosure.Button` inside a `Disclosure.Panel`

If you do it this way, then the `Disclosure.Button` will function as a
`close` button.

This will make it consistent with the `Popover.Button` inside the
`Popover.Panel` funcitonality.

* update changelog
* add `aria-orientation` to the Listbox component

By default the `Listbox` will have an orientation of `vertical`. When
you pass the `horizontal` prop to the `Listbox` component then the
`aria-orientation` will be set to `horizontal`.

Additionally, we swap the previous/next keys:

- Vertical: ArrowUp/ArrowDown
- Horizontal: ArrowLeft/ArrowRight

* update changelog
* expose a `close` function via the render prop for the `Popover` and `Popover.Panel` components (React)

* expose a `close` function via the render prop for the `Disclosure` and `Disclosure.Panel` components (React)

* expose a `close` function via the render prop for the `Popover` and `PopoverPanel` components (Vue)

* expose a `close` function via the render prop for the `Disclosure` and `DisclosurePanel` components (Vue)
* Change Tabs API (React)

| Before        | After        |
| ------------- | ------------ |
| `Tabs`        | `Tab.Group`  |
| `Tabs.List`   | `Tab.List`   |
| `Tabs.Tab`    | `Tab`        |
| `Tabs.Panels` | `Tab.Panels` |
| `Tabs.Panel`  | `Tab.Panel`  |

* Change Tabs API (Vue)

| Before       | After       |
| ------------ | ----------- |
| `Tabs`       | `TabGroup`  |
| `TabsList`   | `TabList`   |
| `TabsTab`    | `Tab`       |
| `TabsPanels` | `TabPanels` |
| `TabsPanel`  | `TabPanel`  |

* change playground example for Tabs (React)

* update changelog
@vercel
Copy link

vercel bot commented Jul 29, 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/6vibPEiJF5AWD4z3f2k31nuAUwTc
✅ Preview: https://headlessui-react-git-develop-tailwindlabs.vercel.app

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

🔍 Inspect: https://vercel.com/tailwindlabs/headlessui-vue/B6Ht7UMnag3KGavaBtrxcE8rkAo7
✅ Preview: https://headlessui-vue-git-develop-tailwindlabs.vercel.app

@RobinMalfait RobinMalfait merged commit 819042e into main Jul 29, 2021
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