Ryan Gossiaux
|
cc27615e96
|
Add JSDoc comments
Yay
|
2022-03-18 11:19:25 -07:00 |
|
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
|
6d2aa60d22
|
Use new TS option to preserve imports in tests
These assertions were here to prevent imports (needed for svelte-inine-compile) from being removed.
|
2022-01-17 23:59:29 -05:00 |
|
Ryan Gossiaux
|
41774ec075
|
Fix searching for MenuItems
|
2021-12-28 09:08:51 -10:00 |
|
Ryan Gossiaux
|
d7348b35b6
|
Conditionally forward MenuItem click events only if the MenuItem is not disabled
This is obviously a lot easier in React, but at any rate this mimics upstream behavior here.
|
2021-12-28 09:03:43 -10: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
|
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 |
|