Skip to content

Commit b761bd3

Browse files
committed
docs: Update table of contents and other navigation
1 parent d0720c2 commit b761bd3

File tree

2 files changed

+10
-12
lines changed

2 files changed

+10
-12
lines changed

packages/@headlessui-react/README.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,16 +29,15 @@ _This project is still in early development. New components will be added regula
2929

3030
- [Transition](#transition)
3131
- [Menu Button (Dropdown)](#menu-button-dropdown)
32-
- [Listbox](#listbox)
32+
- [Listbox (Select)](#listbox)
33+
- [Switch (Toggle)](#switch-toggle)
3334

3435
### Roadmap
3536

3637
This project is still in early development, but the plan is to build out all of the primitives we need to provide interactive React examples of all of the components included in [Tailwind UI](https://tailwindui.com), the commercial component directory that helps us fund the development of our open-source work like [Tailwind CSS](https://tailwindcss.com).
3738

3839
This includes things like:
3940

40-
- Listboxes
41-
- Toggles
4241
- Modals
4342
- Tabs
4443
- Slide-overs
@@ -763,7 +762,7 @@ function MyDropdown() {
763762
| `active` | Boolean | Whether or not the item is the active/focused item in the list. |
764763
| `disabled` | Boolean | Whether or not the item is the disabled for keyboard navigation and ARIA purposes. |
765764

766-
## Listbox
765+
## Listbox (Select)
767766

768767
[View live demo on CodeSandbox](https://codesandbox.io/s/headlessuireact-listbox-example-57eoj?file=/src/App.js)
769768

@@ -1254,7 +1253,7 @@ function MyListbox() {
12541253
The `Switch` component and related child components are used to quickly build custom switch/toggle components that are fully accessible out of the box, including correct ARIA attribute management and robust keyboard support.
12551254

12561255
- [Basic example](#basic-example-3)
1257-
- [Using a custom label](#using-a-custom-label)
1256+
- [Using a custom label](#using-a-custom-label-1)
12581257
- [Component API](#component-api-3)
12591258

12601259
### Basic example

packages/@headlessui-vue/README.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -30,16 +30,15 @@ yarn add @headlessui/vue
3030
_This project is still in early development. New components will be added regularly over the coming months._
3131

3232
- [Menu Button (Dropdown)](#menu-button-dropdown)
33-
- [Listbox](#listbox)
33+
- [Listbox (Select)](#listbox-select)
34+
- [Switch (Toggle)](#switch-toggle)
3435

3536
### Roadmap
3637

3738
This project is still in early development, but the plan is to build out all of the primitives we need to provide interactive Vue examples of all of the components included in [Tailwind UI](https://tailwindui.com), the commercial component directory that helps us fund the development of our open-source work like [Tailwind CSS](https://tailwindcss.com).
3839

3940
This includes things like:
4041

41-
- Listboxes
42-
- Toggles
4342
- Modals
4443
- Tabs
4544
- Slide-overs
@@ -374,7 +373,7 @@ To tell an element to render its children directly with no wrapper element, use
374373
| `active` | Boolean | Whether or not the item is the active/focused item in the list. |
375374
| `disabled` | Boolean | Whether or not the item is the disabled for keyboard navigation and ARIA purposes. |
376375

377-
## Listbox
376+
## Listbox (Select)
378377

379378
[View live demo on CodeSandbox](https://codesandbox.io/s/headlessuivue-listbox-example-mi67g?file=/src/App.vue)
380379

@@ -1044,9 +1043,9 @@ export default {
10441043

10451044
The `Switch` component and related child components are used to quickly build custom switch/toggle components that are fully accessible out of the box, including correct ARIA attribute management and robust keyboard support.
10461045

1047-
- [Basic example](#basic-example-3)
1048-
- [Using a custom label](#using-a-custom-label)
1049-
- [Component API](#component-api-3)
1046+
- [Basic example](#basic-example-2)
1047+
- [Using a custom label](#using-a-custom-label-1)
1048+
- [Component API](#component-api-2)
10501049

10511050
### Basic example
10521051

0 commit comments

Comments
 (0)