-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Comparing changes
Open a pull request
base repository: tailwindlabs/headlessui
base: @headlessui/react@v1.7.18
head repository: tailwindlabs/headlessui
compare: @headlessui/react@v1.7.19
Commits on Jan 8, 2024
-
Configuration menu - View commit details
-
Copy full SHA for d5c2c0a - Browse repository at this point
Copy the full SHA d5c2c0aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7ca6174 - Browse repository at this point
Copy the full SHA 7ca6174View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7c6fa3d - Browse repository at this point
Copy the full SHA 7c6fa3dView commit details
Commits on Feb 2, 2024
-
Allow users customize ID generation (#2959)
* Move `useId` calls inside setup() * Allow injecting custom id generator Vue does not currently have a native `useId` helper. However, Nuxt has created their own that they ensure works across the client/server boundary. Now a user can use `provide()` in their app to inject a custom useId generation function which, for Nuxt users, can defer to the one provided by Nuxt. * Add tests * Export a `provideUseId` helper
Configuration menu - View commit details
-
Copy full SHA for 9a24198 - Browse repository at this point
Copy the full SHA 9a24198View commit details -
Configuration menu - View commit details
-
Copy full SHA for 10c1659 - Browse repository at this point
Copy the full SHA 10c1659View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9a1ae60 - Browse repository at this point
Copy the full SHA 9a1ae60View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1e03db2 - Browse repository at this point
Copy the full SHA 1e03db2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9cd8f7b - Browse repository at this point
Copy the full SHA 9cd8f7bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1d1046e - Browse repository at this point
Copy the full SHA 1d1046eView commit details -
Configuration menu - View commit details
-
Copy full SHA for e6136aa - Browse repository at this point
Copy the full SHA e6136aaView commit details
Commits on Feb 7, 2024
-
Fix Combobox
activeOption
render prop (#2973)* Fix Combobox `activeOption` render prop * Update changelog
Configuration menu - View commit details
-
Copy full SHA for a3ca52e - Browse repository at this point
Copy the full SHA a3ca52eView commit details -
Configuration menu - View commit details
-
Copy full SHA for b2300ca - Browse repository at this point
Copy the full SHA b2300caView commit details
Commits on Apr 12, 2024
-
Make sure panels re-register when IDs are calculated in React < 18 (#…
…2883) * Make sure panels re-register when IDs are calculated in React < 18 * Update changelog * Add comment
Configuration menu - View commit details
-
Copy full SHA for 2b161b3 - Browse repository at this point
Copy the full SHA 2b161b3View commit details
Commits on Apr 15, 2024
-
Expose
disabled
state on<Tab />
component (#2918)* expose `disabled` on `<Tab/>` component This will expose it such that you can use it with `ui-disabled`. In the Alpha version of React, you can also use `data-[disabled]` because it will be exposed as `data-disabled` over there as well. Fixes: #2864 * update changelog
Configuration menu - View commit details
-
Copy full SHA for 369be39 - Browse repository at this point
Copy the full SHA 369be39View commit details -
Prevent default behaviour when clicking outside of a
Dialog.Panel
(#……2919) * use `event.preventDefault()` in the `useOutsideClick` on Dialog's When using a `Dialog`, we should prevent the default behaviour of the event that triggered the "close" in the `useOutsideClick` call. We recently made improvements to improve outside click behaviour on touch devices (#2572) but due to the `touchend` event, the touch is still forwarded and therefore a potential button _behind_ the "backdrop" will also be clicked. This is not what we want. Added the `event.preventDefault()` for the Dialog specifically because there are other places where we use `useOutsideClick` and where we _do_ want the behaviour where the click just continues. A concrete example of this is 2 `Menu`'s next to eachother where you open the first one, and then click on the second one. This should close first one (outside click) and open the second one (by not preventing the event) * update changelog
Configuration menu - View commit details
-
Copy full SHA for 39210df - Browse repository at this point
Copy the full SHA 39210dfView commit details -
Don’t override explicit
disabled
prop for components inside `<MenuI……tem>` (#2929) * Don’t override explicit disabled prop inside `<MenuItem>` * Update changelog
Configuration menu - View commit details
-
Copy full SHA for 46a9b32 - Browse repository at this point
Copy the full SHA 46a9b32View commit details -
Add
hidden
attribute to internal<Hidden />
component when the `F……eatures.Hidden` feature is used (#2955) * add `hidden` attribute for `<Hidden features={Features.Hidden}>` * update changelog
Configuration menu - View commit details
-
Copy full SHA for 04695b2 - Browse repository at this point
Copy the full SHA 04695b2View commit details -
Allow setting custom
tabIndex
on the<Switch />
component (#2966)* allow setting a custom `tabIndex` on the `<Switch />` component * update changelog
Configuration menu - View commit details
-
Copy full SHA for e9df8dd - Browse repository at this point
Copy the full SHA e9df8ddView commit details -
Forward
disabled
state to hidden inputs in form-like components (#3004Configuration menu - View commit details
-
Copy full SHA for 2fd9d1c - Browse repository at this point
Copy the full SHA 2fd9d1cView commit details -
Respect
selectedIndex
for controlled<Tab/>
components (#3037)* ensure controlled `<Tab>` components respect the `selectedIndex` * update changelog * use older syntax in tests * run prettier to fix lint step
Configuration menu - View commit details
-
Copy full SHA for 6784a73 - Browse repository at this point
Copy the full SHA 6784a73View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8599e49 - Browse repository at this point
Copy the full SHA 8599e49View commit details
There are no files selected for viewing