Bumps @headlessui/vue from 1.4.2 to 1.6.0.
Release notes
Sourced from @headlessui/vue's releases.
<h2>@headlessui/vue@v1.6.0</h2> <h3>Fixed</h3><h3>Added</h3>
- Make sure that the input syncs when the combobox closes (#1137)
- Ensure that you can close the
Comboboxinitially (#1148)- Fix
Dialogusage inTabcomponent (#1149)- Ensure links are triggered inside
PopoverPanelcomponents (#1153)- Fix
hoverscroll issue inListbox,ComboboxandMenucomponents (#1161)- Guarantee DOM sort order when performing
Listbox,ComboboxandMenuactions (#1168)- Improve outside click support (#1175)
- Reset
ComboboxInputwhen the value gets reset (#1181)- Adjust active
item/optionindex onListbox,ComboboxandMenucomponents (#1184)- Fix re-focusing element after close (#1186)
- Fix
Dialogcycling (#553)- Only activate the
Tabon mouseup (#1192)- Ignore "outside click" on removed elements (#1193)
- Remove
focus()fromListbox.Option(#1218)- Improve some internal code (#1221)
- Don't drop initial character when searching in Combobox (#1223)
- Use
ownerDocumentinstead ofdocument(#1158)- Fix, re-expose
elfrom each component (#1230)- Ensure focus trapping plays well with the
TabandDialogcomponents (#1231)- Improve syncing of
ComboboxInputvalue (#1248)- Fix tree-shaking support (#1247)
- Stop propagation on the
PopoverButton(#1263)- Fix incorrect closing while interacting with third party libraries in
Dialogcomponent (#1268)- Mimic browser select on focus when navigating via
Tab(#1272)- Resolve
initialFocusRefcorrectly (#1276)- Ensure that there is always an active option in the
Combobox(#1279, #1281)- Support classic form submissions in
RadioGroup,SwitchandComboboxcomponents (#1285)- Fix
nullableprop for Vue (2b10954)- Prefer incoming
openprop over OpenClosed state (#1360)<h2>Changes that might affect you</h2> <h3>Multiple value support for
- Add classic form submission compatibility via new hidden inputs (#1214)
- Add multiple value support to
ListboxandComboboxcomponents (#1243, #1355)- Add support for clearing the value of a
Combobox(#1295)ListboxandCombobox</h3>If you have been using the insiders build for the new multiple value support for the
<pre lang="diff">Listboxand/orComboboxcomponent, then you will have to add a newmultipleprop to those components to tell the component that you are using multiple values. Previously this was automatically detected based on whether you were passing an array to thevalueprop or not.- <Listbox v-model="selectedPeople" /> + <Listbox v-model="selectedPeople" multiple /></pre>
... (truncated)
Changelog
Sourced from @headlessui/vue's changelog.
<h2>[@headlessui/react@v1.6.0] - 2022-04-25</h2> <h3>Fixed</h3><h3>Added</h3>
- Ensure that you can add the
refprop to all components (#1116)- Ensure links are triggered inside
Popover.Panelcomponents (#1153)- Improve SSR for
Tabcomponent (#1155)- Fix
hoverscroll issue inListbox,ComboboxandMenucomponents (#1161)- Guarantee DOM sort order when performing
Listbox,ComboboxandMenuactions (#1168)- Fix
<Transition>flickering issue (#1118)- Improve outside click support (#1175)
- Ensure that
appearprop on the<Transition>component works regardless of multiple rerenders (#1179)- Reset
Combobox.Inputwhen the value gets reset (#1181)- Fix double
beforeEntercallback on the<Transition>component caused by SSR (#1183)- Adjust active
item/optionindex onListbox,ComboboxandMenucomponents (#1184)- Only activate the
Tabon mouseup (#1192)- Ignore "outside click" on removed elements (#1193)
- Remove
focus()fromListbox.Option(#1218)- Improve some internal code (#1221)
- Use
ownerDocumentinstead ofdocument(#1158)- Ensure focus trapping plays well with the
TabandDialogcomponents (#1231)- Improve syncing of
Combobox.Inputvalue (#1248)- Fix tree-shaking support (#1247)
- Stop propagation on the
Popover.Button(#1263)- Fix incorrect
activeoption in theListboxandComboboxcomponents (#1264)- Properly merge incoming props (#1265)
- Fix incorrect closing while interacting with third party libraries in
Dialogcomponent (#1268)- Mimic browser select on focus when navigating the
Tabcomponent (#1272)- Ensure that there is always an active option in the
Combobox(#1279, #1281)- Support classic form submissions in
RadioGroup,SwitchandComboboxcomponents (#1285)- Add React 18 compatibility (#1326)
- Fix open/closed state issue in
Dialog(#1360)<h2>[
- Add classic form submission compatibility via new hidden inputs (#1214)
- Add multiple value support to
ListboxandComboboxcomponents (#1243, #1355)- Add support for clearing the value of a
Combobox(#1295)- Add
Dialog.BackdropandDialog.Panelcomponents (#1333)@headlessui/vue@v1.6.0] - 2022-04-25</h2> <h3>Fixed</h3>
- Make sure that the input syncs when the combobox closes (#1137)
- Ensure that you can close the
Comboboxinitially (#1148)- Fix
Dialogusage inTabcomponent (#1149)- Ensure links are triggered inside
PopoverPanelcomponents (#1153)- Fix
hoverscroll issue inListbox,ComboboxandMenucomponents (#1161)- Guarantee DOM sort order when performing
Listbox,ComboboxandMenuactions (#1168)
... (truncated)
Commits
1.6.01e14d51General cleanup of README files (#1361)cb7a969Prefer incomingc8cf26fopenprop over OpenClosed state (#1360)fix2b10954nullableprop for VueAdd explicit0c34fe8multipleprop (#1355)Addb4a4e0bDialog.BackdropandDialog.Panelcomponents (#1333)Implementab6310cnullablemode onComboboxin single value mode (#1295)Allowc475cabEnterfor form submit inRadioGroup,SwitchandComboboximprov...Fix required double6897d2cArrowDownrequirement (#1281)Ensure that there is always an active option in the419ffdaCombobox(#1279)- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)