From 1b1aff16f3389094b5916b0f5bb0ba407ce2e820 Mon Sep 17 00:00:00 2001 From: Jordan Pittman Date: Fri, 3 May 2024 09:07:35 -0400 Subject: [PATCH 1/6] Expose new components under dot notation Most of them already where so only a couple were missing. --- packages/@headlessui-react/src/components/listbox/listbox.tsx | 1 + .../@headlessui-react/src/components/radio-group/radio-group.tsx | 1 + 2 files changed, 2 insertions(+) diff --git a/packages/@headlessui-react/src/components/listbox/listbox.tsx b/packages/@headlessui-react/src/components/listbox/listbox.tsx index 7ee138532d..eeedda9683 100644 --- a/packages/@headlessui-react/src/components/listbox/listbox.tsx +++ b/packages/@headlessui-react/src/components/listbox/listbox.tsx @@ -1408,4 +1408,5 @@ export let Listbox = Object.assign(ListboxRoot, { Label: ListboxLabel, Options: ListboxOptions, Option: ListboxOption, + SelectedOption: ListboxSelectedOption, }) diff --git a/packages/@headlessui-react/src/components/radio-group/radio-group.tsx b/packages/@headlessui-react/src/components/radio-group/radio-group.tsx index 3585106600..30901a7af8 100644 --- a/packages/@headlessui-react/src/components/radio-group/radio-group.tsx +++ b/packages/@headlessui-react/src/components/radio-group/radio-group.tsx @@ -597,6 +597,7 @@ export let RadioGroupDescription = Description as _internal_ComponentRadioDescri export let RadioGroup = Object.assign(RadioGroupRoot, { Option: RadioGroupOption, + Radio: Radio, /** @deprecated use `