Commit Graph

128 Commits

Author SHA1 Message Date
Luke
aa9b1334f2 fix(web/menu): debounce menu item selected callback 2022-08-04 15:04:49 +02:00
Luke
a2b5ccb354 feat(web/menu): confirm on enter callback 2022-08-04 15:04:49 +02:00
Luke
6d52ecf985 feat(web/menu): fetchnui on item change 2022-08-04 15:04:49 +02:00
Luke
4744df337f feat(web/menu): add current and max option count into the list button 2022-08-04 15:04:49 +02:00
Luke
fd45418a5d style(web/menu): change menu header font and weight 2022-08-04 15:04:49 +02:00
Luke
e81a05aa2d fix(web/menu): set pointer events to none on body div
Fixes and issue where you could click the menu to take away focus and make it non interactable
2022-08-04 15:04:49 +02:00
Luke
700fdbc3fe refactor(web/menu): separate header and body divs
This allows for the header to be visible even when scrolling through the menu items
2022-08-04 15:04:49 +02:00
Luke
a43b5eee04 feat(web/menu): list menu icon support 2022-08-04 15:04:49 +02:00
Luke
43ffa86387 refactor(web/menu): improve list menu text alignment 2022-08-04 15:04:49 +02:00
Luke
3f33b690e1 feat(web/menu): array side scrolling 2022-08-04 15:04:49 +02:00
Luke
3b9c8c5534 fix(web/menu): focus on first menu item on load 2022-08-04 15:04:49 +02:00
Luke
196d400c56 feat(web/menu): menu list focus trapping 2022-08-04 15:04:49 +02:00
Luke
98b9e224ef refactor(web/menu): list menu component split 2022-08-04 15:04:49 +02:00
Luke
933acd2852 refactor(web/menu): improve menu focus handling 2022-08-04 15:04:49 +02:00
Luke
303d81c196 feat(web/menu): initial list menu design
Highly subject to change
2022-08-04 15:04:49 +02:00
Luke
c76147ecae feat(web/context): context menu exit button 2022-07-25 21:32:11 +02:00
Luke
4fc6366801 feat(web/context): allow displaying icons in context menu items 2022-07-07 14:53:36 +02:00
Luke
92023227cd fix(web/context): allow displaying image without any metadata defined 2022-07-07 14:36:20 +02:00
Luke
77652c8173 fix(web/context): stretch back arrow to height of the title 2022-07-07 14:33:55 +02:00
Luke
a7e2dc0067 feat(web/context): images in metadata 2022-06-11 11:49:25 +02:00
JsSusenka
a5026ed8e9 feat(context): prevent event triggering (#34) 2022-05-28 19:15:35 +02:00
Luke
a784726267 feat(web/context): allow custom metadata order 2022-05-08 13:18:09 +02:00
Luke
62d4812f24 feat(web/context): allow manually sorting the options
In order to have the options in the same order as defined, you need to not use keys, instead a normal index table and define the title for the option
2022-05-08 13:00:23 +02:00
Luke
48dae99cc0 refactor(web/dialog): Separate fields into individual components 2022-05-03 15:08:28 +02:00
Luke
08d2234484 feat(web/context): Allow manually displaying an arrow 2022-04-19 15:08:02 +02:00
Luke
66694c4ce3 fix(web/context): Properly align text
When there was no description the key for the text wasn't properly centered vertically
2022-04-15 11:41:06 +02:00
Luke
8ef1b876e1 fix(web/context): Don't close menu when clicking item without events 2022-04-15 11:01:17 +02:00
Luke
993b06e880 refactor(nui): Better organize components 2022-04-01 21:41:53 +02:00