Skip to content

v2.9.0

Compare
Choose a tag to compare
@github-actions github-actions released this 06 Aug 19:14
· 871 commits to master since this release

List menu

New menu type added to the library, navigated by keyboard.

image

You can read the documentation on how to use it and it's features here:
https://overextended.github.io/docs/ox_lib/Interface/Client/menu/

Features

  • imports: raycast module (Linden)
  • imports: getClosestPlayer (Linden)
  • imports: loadAnimDict (Linden)
  • locales: Update czech and slovak translation (#64) #64 (ANTOND)
  • web/menu: initial list menu design #60 (Luke)
  • web/menu: menu list focus trapping #60 (Luke)
  • web/menu: array side scrolling #60 (Luke)
  • web/menu: list menu icon support #60 (Luke)
  • web/menu: add current and max option count into the list button #60 (Luke)
  • web/menu: fetchnui on item change #60 (Luke)
  • web/menu: confirm on enter callback #60 (Luke)
  • web/menu: initial list menu Lua api #60 (Luke)
  • web/menu: enter callback function #60 (Luke)
  • web/menu: visibility handling #60 (Luke)
  • web/menu: exit listener and onClose function #60 (Luke)
  • web/menu: tooltip description support #60 (Luke)
  • web/menu: include backspace in close keys #60 (Luke)
  • web/menu: reset indexes on next last item #60 (Luke)
  • web/menu: display arrow when menu is scrollable #60 (Luke)
  • web/menu: send args in callback function #60 (Luke)
  • client/interface: list menu error catching #60 (Luke)
  • client/interface: allow separately setting list menu options #60 (Luke)
  • web/menu: allow passing default index for horizontal lists #60 (Luke)
  • client/interface: allow replacing specific index in menu options #60 (Luke)
  • client/interface: menu close arg on button #60 (Luke)
  • menu: lib.hideMenu #60 (Luke)
  • imports: getNearbyPlayers (Linden)
  • web/input: support default values (#66) #66 (ANTOND)

Bug Fixes

  • client/streaming: timeout (Linden)
  • client/streaming: invalid print argument (Linden)
  • locales: update Estonian translation (#63) #63 (Dolbajoba)
  • web/menu: focus on first menu item on load #60 (Luke)
  • web/menu: set pointer events to none on body div #60 (Luke)
  • web/menu: debounce menu item selected callback #60 (Luke)
  • web/menu: fix not being able to press enter on first button index #60 (Luke)
  • web/menu: fix selected value focus getting stuck on another menu #60 (Luke)
  • web/menu: set selected index to 0 on menu open #60 (Luke)
  • web/menu: fix scrolling clipping menu items #60 (Luke)
  • web/menu: don't render no label buttons #60 (Luke)
  • web/menu: use same font for tooltip #60 (Luke)
  • client/interface: allow reregistering list menus #60 (Luke)
  • client/interface: fix indexing registered menu options with table #60 (Luke)
  • client/interface: changeSelected args #60 (Linden)
  • web/menu: offset default index #60 (Luke)
  • web/menu: fix border radius not applying when there is 6 options (Luke)

Styles

  • web/menu: change menu header font and weight #60 (Luke)

Code Refactoring

  • web/menu: improve menu focus handling #60 (Luke)
  • web/menu: list menu component split #60 (Luke)
  • web/menu: improve list menu text alignment #60 (Luke)
  • web/menu: separate header and body divs #60 (Luke)
  • menu: split side and vertical scroll change handlers #60 (Luke)
  • client/interface: micro-optimise menu callbacks (Linden)

Chores

  • client/interface: remove debug command #60 (Luke)
  • manifest: bump version (Luke)

Commits

  • a45584a: Revert "feat(imports): loadAnimDict" (Linden)
  • client/streaming: rewrite (Linden)