Commit Graph

10 Commits

Author SHA1 Message Date
Ryan Gossiaux
d7f6a58753 Add default as prop type for when as= is not provided 2022-03-18 11:19:25 -07:00
Ryan Gossiaux
168f7f1e3d Type Menu with $$Props 2022-03-18 11:19:25 -07:00
Ryan Gossiaux
fe0388cc44 Misc fixes to Menus
* Disabled prop not forwarded correctly to MenuButton
* Active element not set correctly when Menu is opened
* Log message had wrong component name
2021-12-27 21:58:34 -10:00
Ryan Gossiaux
a7e8be2c14 Add type=button handling
Fixes #22
2021-12-22 13:07:16 -08:00
Ryan Gossiaux
6bb8554890 Rename slot to slotProps in <Render>
Conflicted with Svelte's use of the `slot` attribute
2021-12-20 18:26:12 -08:00
Ryan Gossiaux
c69de8050f Convert Menu to <Render> 2021-12-20 15:46:51 -08:00
Ryan Gossiaux
305dc1543f $api?. => $api. when possible
Now that this stuff has all been cleaned up with useXContext functions
2021-12-18 23:56:37 -08:00
Ryan Gossiaux
0fe7b0ea04 Add action forwarding and add to Menu 2021-12-13 22:08:22 -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