Ryan Gossiaux
25a4b0f6e5
Add <Render> usage to <Listbox>
2021-12-20 17:47:02 -08:00
Ryan Gossiaux
f105042545
Clean up store types & initial values
...
Treating these as Readable for better safety from consuming code
Fixes #10
2021-12-19 01:08:50 -08:00
Ryan Gossiaux
8e890b2e80
Standardize event names to be consistent with @headlessui-react
...
Was previously using Vue names since Vue was the primary reference while porting, but as the public API is closer to the React one it makes sense to use that.
Fixes #8
2021-12-19 00:29:34 -08:00
Ryan Gossiaux
63d44e125c
Improve a few more types, including StateDefinition["foo"] usage
...
Fixes #5
2021-12-19 00:09:44 -08:00
Ryan Gossiaux
70910c05b0
Standardize context naming
...
Fixes #7
2021-12-18 23:18:45 -08:00
Ryan Gossiaux
4d47ba89a6
Clean up Listbox store/context usage
...
Fixes #9
2021-12-18 23:07:55 -08:00
Ryan Gossiaux
9e45d92929
Refactor to useOpenClosed
...
Fixes #6
2021-12-18 21:36:09 -08:00
Ryan Gossiaux
5b36ce9404
Fix various type errors with strict mode
2021-12-15 14:06:33 -08:00
Ryan Gossiaux
dbfb2c227e
Move contexts over to useXContext model
...
Fixes #4
2021-12-15 10:13:01 -08:00
Ryan Gossiaux
82b138f0ae
Run prettier over everything and fix some imports
2021-12-13 18:22:16 -08:00
Ryan Gossiaux
db9ec57065
Initial commit with files
...
Still need to fix the imports
2021-12-13 17:13:47 -08:00