* fix(web/menu): Combine initial select and first render
* Combining these checks should fix an issue of having to toggle a checkbox multiple times before it is recognized as being toggled
* Change firstRenderRef current value before first menu movement
* Too many async on change functions are happening let's handle this once the user decides to interact with the menu
* fix(web/menu): remove first render ref check for onSelected
Co-authored-by: Luke <sabolukas03@gmail.com>
* Initial Commit
Adds support for progress bars to items in both context and and list menus.
* Default Color Scheme & Description Weight
Added default color scheming, and made the description for context menues a lighter font weight for separating the title vs description better.
* iconColor to Menu & Small Syntax Changes
* Update Item.tsx
* fix(web/context): syntax error
also reformat with prettier
* chore(web/menu): reformat with prettier
Co-authored-by: Luke <sabolukas03@gmail.com>
If the button is a scroll button then `isScroll` is passed into args, if a button is a checkbox then `isCheck` is passed into args.
Requires `args` to always be of type `table`
* This fixes a case where, if the first option selected in a menu doesn't have side scroll values, the first time that you *did* side scroll on an item in that menu it would no trigger onSideScroll
* fix(web/features/menu/list): don't call onSideScroll when opening the menu
* refactor(web/menu): use conventional ref naming
Conventional ref variable names contain the word `ref` or `refs` if it's an array
Co-authored-by: Luke <sabolukas03@gmail.com>
Move all debug functions into a single developer drawer,
Not the best implementation as there is focus fighting going on between some elements and the drawer but will do for now without state management