Commit Graph

  • 20920492b5 Rename data-from -> data-closed and data-exit -> data-leave (#3285) Robin Malfait 2024-06-12 14:27:47 +02:00
  • 1e9a3f1640 Allow Tab and Shift+Tab when Listbox is open (#3284) Robin Malfait 2024-06-12 01:02:22 +02:00
  • 6b6c259010 Introduce CSS based transitions (#3273) Robin Malfait 2024-06-11 17:53:21 +02:00
  • 03c22b42b6 Cancel outside click behavior on touch devices when scrolling (#3266) Robin Malfait 2024-06-03 16:18:14 +02:00
  • 2d3ec80314 Internal refactor: use flushSync() instead of d.nextFrame() (#3263) Robin Malfait 2024-06-03 16:17:16 +02:00
  • 479853d5ed Ensure ComboboxInput does not sync while you are still typing (#3259) Robin Malfait 2024-05-31 22:44:29 +02:00
  • f5ac361892 Fix missing act warnings issued from focus and blur calls (#3253) Sebastian Silbermann 2024-05-29 16:22:26 +02:00
  • 922c56e986 0.2.1 - @headlessui/tailwindcss Robin Malfait 2024-05-29 16:17:26 +02:00
  • 3905be67a9 Fix esm compatibility for @headlessui/tailwindcss plugin package (#3051) Janeene Beeforth 2024-05-30 00:17:06 +10:00
  • 3070ad9d99 Use useId instead of React internals (#3254) Sebastian Silbermann 2024-05-29 15:46:11 +02:00
  • 025e115277 Fix visual jitter in Combobox component when using native scrollbar (#3190) Dan Thompson 2024-05-29 07:21:44 -05:00
  • b3a508b6ca Prevent focus on <Checkbox /> when it is disabled (#3251) Robin Malfait 2024-05-28 15:57:32 +02:00
  • 94bc4e15fd Merge incoming style prop on ComboboxOptions, ListboxOptions, MenuItems, and PopoverPanel components (#3250) Robin Malfait 2024-05-28 15:37:33 +02:00
  • 7267cc4c1c Keep <Combobox /> open when clicking in scrollbar on <ComboboxOptions> (#3249) Robin Malfait 2024-05-28 15:33:14 +02:00
  • e8c766190d bump dependencies (#3247) Robin Malfait 2024-05-28 12:33:09 +02:00
  • 6ac6930116 Implement sibling <Dialog /> components (#3242) Robin Malfait 2024-05-27 23:35:38 +02:00
  • 1ee4cfd1b7 [internal] Move enabled parameter in hooks to first argument (#3245) Robin Malfait 2024-05-27 17:45:21 +02:00
  • 7be23e5c7e 2.0.4 - @headlessui/react Robin Malfait 2024-05-25 00:30:50 +02:00
  • f740050c2a Use native fieldset instead of div by default for <Fieldset /> component (#3237) Robin Malfait 2024-05-25 00:27:24 +02:00
  • 8c3499cc8d Only handle form reset when defaultValue is used (#3240) Robin Malfait 2024-05-25 00:26:51 +02:00
  • c2754bcb16 Ensure tabbing to a portalled <PopoverPanel> component moves focus inside (without using <PortalGroup>) (#3239) Robin Malfait 2024-05-24 23:48:09 +02:00
  • b822c8a400 Fix crash when toggling between virtual and non-virtual mode in Combobox component (#3236) Robin Malfait 2024-05-24 18:15:14 +02:00
  • b478189fad Mark SwitchGroup as deprecated, prefer Field instead (#3232) Robin Malfait 2024-05-23 16:24:26 +02:00
  • 7fcb410be4 do not apply aria-modal in demo mode (#3227) Robin Malfait 2024-05-22 14:57:57 +02:00
  • 045f2bc761 Ensure page doesn't scroll down when pressing Escape to close the Dialog component (#3218) Robin Malfait 2024-05-21 13:07:04 +02:00
  • 300e9eb957 Update changelog Jonathan Reinink 2024-05-13 08:22:33 -04:00
  • 3407625c51 Use same tense Jonathan Reinink 2024-05-13 08:18:05 -04:00
  • ea65164e66 Add active prop deprecation to changelog Jonathan Reinink 2024-05-13 08:16:25 -04:00
  • 4eff138ada Don’t set a focus fallback for Dialog’s in demo mode (#3194) Jordan Pittman 2024-05-10 14:55:17 -04:00
  • 031b39d522 update @headlessui/vue version in package-lock.json Robin Malfait 2024-05-08 13:35:04 +02:00
  • 35e7cbb375 sync with 1.x branch Robin Malfait 2024-05-08 12:55:27 +02:00
  • f513614ffe 2.0.3 - @headlessui/react Jordan Pittman 2024-05-07 14:14:50 -04:00
  • a303819018 Make sure disabling demo mode on <Combobox> works (#3182) Jordan Pittman 2024-05-07 14:10:38 -04:00
  • 48cf712d80 2.0.2 - @headlessui/react Robin Malfait 2024-05-07 19:19:19 +02:00
  • e0688c4865 Improve performance of internal useInertOthers hook (#3181) Robin Malfait 2024-05-07 19:18:57 +02:00
  • 886fdf7e6c Ensure clicking a ComboboxOption after filtering the options, correctly triggers a change (#3180) Robin Malfait 2024-05-07 16:49:07 +02:00
  • 2d5d35a533 2.0.1 - @headlessui/react Jordan Pittman 2024-05-06 15:07:23 -04:00
  • cfbcf5b840 Remove accidental deprecation comments on <DialogPanel> and <DialogTitle> (#3176) Jordan Pittman 2024-05-06 15:05:55 -04:00
  • fb131905b4 2.0.0 - @headlessui/react Robin Malfait 2024-05-06 17:41:56 +02:00
  • d416c1ca59 Don’t cancel touchmove on input elements inside a dialog (#3166) Jordan Pittman 2024-05-03 10:35:50 -04:00
  • a45cb6ff6a Remove deprecated DialogBackdrop and DialogOverlay components (#3171) Robin Malfait 2024-05-03 16:22:39 +02:00
  • 1ae1af72ab Prep changelog for v2 (#3156) Jordan Pittman 2024-05-03 10:07:53 -04:00
  • 8d20cfb0c6 Deprecate dot notation (#3170) Jordan Pittman 2024-05-03 09:55:02 -04:00
  • 0bd8c47c28 use HTMLElement for generic DOM node types (#3169) Robin Malfait 2024-05-03 15:32:55 +02:00
  • f0e3e5b4a6 Bump dependencies (#3158) Robin Malfait 2024-05-02 14:41:58 +02:00
  • 1a440e1ee7 Fix issues with scrolling in a virtual combobox (#3163) Jordan Pittman 2024-05-01 15:57:28 -04:00
  • db702a7cec Only render virtual options wrapper when there are items to show (#3161) Jordan Pittman 2024-05-01 09:56:48 -04:00
  • 5952268bf7 Update changelog Jordan Pittman 2024-05-01 09:15:45 -04:00
  • 2e6cb126ef Render virtual items during an exiting transition (#3160) Jordan Pittman 2024-05-01 09:14:49 -04:00
  • cb1abe42e6 Fix anchored elements not flipping when there is padding (#3157) Jordan Pittman 2024-04-30 16:08:02 -04:00
  • f35214db4c calculate the size of an element as soon as possible (#3153) Robin Malfait 2024-04-30 19:31:40 +02:00
  • 319bcbad3b Only check for elements in useInertOthers (#3154) Jordan Pittman 2024-04-30 10:40:58 -04:00
  • 4acf9e27f1 Ensure the static and portal props work nicely together (#3152) Robin Malfait 2024-04-29 20:47:00 +02:00
  • 872808c8fc ensure we always set portal to true when the anchor props is truthy Robin Malfait 2024-04-29 20:28:22 +02:00
  • beaae6a3f3 Use var(--anchor-max-height) when using the anchor prop (#3148) Robin Malfait 2024-04-29 17:16:04 +02:00
  • afc9cb648b Ensure TransitionRoot component without props transitions correctly (#3147) Robin Malfait 2024-04-26 23:28:43 +02:00
  • 539c124c69 Improve internal demo mode (#3143) Robin Malfait 2024-04-26 16:35:12 +02:00
  • 26e164447f Add overflow: auto when using the anchor prop (#3138) Robin Malfait 2024-04-25 18:14:41 +02:00
  • 8c7cbb3b09 Add string shorthand for the anchor prop (#3133) Robin Malfait 2024-04-25 02:13:25 +02:00
  • 36616b217e Update minimal peer dependency version requirements for react and react-dom (#3131) Robin Malfait 2024-04-24 19:39:12 +02:00
  • d56a77bf52 Add frozen value to ComboboxOptions component (#3126) Robin Malfait 2024-04-24 19:17:55 +02:00
  • b6aa1d6d24 Add portal prop to Combobox, Listbox, Menu and Popover components (#3124) Robin Malfait 2024-04-24 17:10:41 +02:00
  • 166e862f01 Make sure data-disabled is available on virtualized options (#3128) Jordan Pittman 2024-04-24 09:32:41 -04:00
  • d2b734536f Add optional onClose callback to Combobox component (#3122) Robin Malfait 2024-04-23 15:45:22 +02:00
  • 6c9e4b2b6f Allow passing a boolean to the anchor prop (#3121) Robin Malfait 2024-04-22 23:42:58 +02:00
  • 8a272c1333 cleanup changelog Robin Malfait 2024-04-22 22:29:32 +02:00
  • b4cda76f91 Remove the anchor.strategy option (#3120) Robin Malfait 2024-04-22 17:05:30 +02:00
  • 38551c8512 Ensure anchored components are always rendered in a stacking context (#3115) Robin Malfait 2024-04-20 01:01:23 +02:00
  • dcbcd79047 Move focus to ListboxOptions and MenuItems when they are rendered later (#3112) Robin Malfait 2024-04-19 18:35:31 +02:00
  • b517a39445 Ensure anchored components are properly stacked on top of Dialog components (#3111) Robin Malfait 2024-04-19 18:31:14 +02:00
  • 8fa5caf0dc Change default tag from div to Fragment on Transition components (#3110) Robin Malfait 2024-04-19 16:15:11 +02:00
  • 83cda0aa75 Change default tags for ListboxOptions, ListboxOption, ComboboxOptions, ComboboxOption and TabGroup components (#3109) Robin Malfait 2024-04-19 01:54:25 +02:00
  • 9f44656d0f Prevent closing the Combobox component when clicking inside the scrollbar area (#3104) Robin Malfait 2024-04-16 17:35:46 +02:00
  • 004b8dcf34 Omit nullable prop from Combobox component (#3100) Robin Malfait 2024-04-15 18:17:15 +02:00
  • 888ea123a4 Use absolute as the default Floating UI strategy (#3097) Robin Malfait 2024-04-15 17:43:34 +02:00
  • 512bf44150 Ensure the multiple prop is typed correctly when passing explicit types to the Combobox component (#3099) Robin Malfait 2024-04-15 17:42:59 +02:00
  • cb9cda7bd0 update changelog with latest v1.7 release Robin Malfait 2024-04-12 17:45:09 +02:00
  • b86737b698 Add new CloseButton component and useClose hook (#3096) Robin Malfait 2024-04-12 15:54:01 +02:00
  • 00f84acb21 Render hidden form input fields for Checkbox, Switch and RadioGroup components (#3095) Robin Malfait 2024-04-11 18:03:16 +02:00
  • 92a69ef687 Ensure import actions use the correct paths (#3093) Robin Malfait 2024-04-11 17:28:57 +02:00
  • ed98bad7ae Use native useId and useSyncExternalStore hooks (#3092) Robin Malfait 2024-04-11 11:26:57 +02:00
  • 8652f806eb replace as unknown as XYZ with as XYZ (#3091) Robin Malfait 2024-04-11 11:26:19 +02:00
  • b3377eb550 Deprecate the entered prop on the Transition component (#3089) Robin Malfait 2024-04-09 20:08:31 +02:00
  • ae8c253c21 Fix typos (#3086) Robin Malfait 2024-04-08 23:31:50 +02:00
  • c8037fc96e Fix enter transitions for the Transition component (#3074) Robin Malfait 2024-04-05 16:05:06 +02:00
  • c1d3b7ecda Close the Combobox, Dialog, Listbox, Menu and Popover components when the trigger disappears (#3075) Robin Malfait 2024-04-03 15:10:58 +02:00
  • 4ed69f640c Keep focus inside of the <ComboboxInput /> component (#3073) Robin Malfait 2024-04-03 15:06:41 +02:00
  • 4f89588239 Fix cursor position when re-focusing the ComboboxInput component (#3065) Robin Malfait 2024-03-29 16:15:29 +01:00
  • d03fbb19f5 Make the Combobox component nullable by default (#3064) Robin Malfait 2024-03-29 15:41:12 +01:00
  • 6d44a8d049 Expose missing data-disabled and data-focus attributes on the TabsPanel, MenuButton, PopoverButton and DisclosureButton components (#3061) Robin Malfait 2024-03-27 17:04:28 +01:00
  • bf4dc77f7a Expose the --button-width CSS variable on the PopoverPanel component (#3058) Robin Malfait 2024-03-26 20:00:01 +01:00
  • 056b311522 Expose --input-width and --button-width CSS variables on the ComboboxOptions component (#3057) Robin Malfait 2024-03-26 17:58:19 +01:00
  • 000e0c0192 Prevent unnecessary execution of the displayValue callback in the ComboboxInput component (#3048) Robin Malfait 2024-03-21 13:46:17 +01:00
  • 834dbf423e Respect selectedIndex for controlled <Tab/> components (#3037) Robin Malfait 2024-03-15 14:37:16 +01:00
  • 8c1c42bc5a Prefer incoming data-* attributes, over the ones set by Headless UI (#3035) Robin Malfait 2024-03-14 22:17:50 +01:00
  • 8a9867cd58 Accept optional strategy for the anchor prop (#3034) Robin Malfait 2024-03-14 22:16:56 +01:00
  • 626a253dcf copy License from the root (#3030) Robin Malfait 2024-03-12 16:25:13 +01:00
  • b3fed0348a add link to documentation Robin Malfait 2024-03-12 15:24:12 +01:00
  • 5a85d8089a CI: Add provenance to publised packages (#3023) saibotk 2024-03-12 15:32:15 +01:00
  • 79b03303c5 chore: Remove tsbuildinfo (#3021) Tony Narlock 2024-03-12 09:20:16 -05:00