Open renchris opened 1 month ago
Park UI only provides styles for headless components exposed by Ark UI. You should be able to use the hook without issues.
The only thing you need to ensure is:
items
being renamed to collection
expecting a collection interface (createListCollection), Date and Color Picker.In short, Park UI provides styles for a given version, it's up to the consumer to ensure the recipes are compatible with the version they are using and/or upgrade to get new functionality.
Hope this helped in some way.
Most Ark Components use Component.Context to expose their state and functionality.
However, the Combobox Ark component uses a
useCombobox
hook that isn't made available with the Park-UI component as you can see withFrom the full Ark component documentation example
I need the useCombobox available so that I can use Park-UI and not have to bypass to import directly from Ark so that I can for example focus the combobox on click