Releases: overextended/ox_lib
Releases · overextended/ox_lib
v2.10.5
v2.10.4
v2.10.3
v2.10.2
v2.10.1
v2.10.0
Features
- locales: Make all language names localised (#65) #65 (ANTOND)
- web/dialog: add slider input type (#69) #69 (ANTOND)
- client/progress: add interrupt options (#70) #70 (Jag)
- imports: getClosestVehicle and getNearbyVehicles (#71) #71 (Jag)
- web: onSelect function for options (Luke)
Bug Fixes
- web/dialog: setting non-selectable placeholder (#67) #67 (ANTOND)
- zones/client: do not overwrite zone.distance with contains (Linden)
- zones/client: debug DrawPoly and DrawLine (Linden)
- web: clear nui focus from input before resolving the promise (Luke)
- client/interface: cache input promise (Luke)
- client/interface: cache alert promise (Luke)
- client/vehicleProperties: store neons as an array (Linden)
- version: compare semver numbers (Linden)
Code Refactoring
- callback: types (Linden)
- interface/menu: set openMenu to reference menu data, not id (Linden)
- web/dialog: split interfaces (#68) #68 (ANTOND)
Chores
- manifest: update version (Luke)
Commits
v2.9.0
List menu
New menu type added to the library, navigated by keyboard.
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
Code Refactoring
v2.8.0
v2.7.0
Features
- locales: Spanish locales (#54) #54 (Mgil10)
- web/context: allow displaying icons in context menu items (Luke)
- addCommand: Allow multiple groups (#57) #57 (Jag)
Bug Fixes
- web/context: stretch back arrow to height of the title (Luke)
- web/context: allow displaying image without any metadata defined (Luke)
Chores
- manifest: bump version (Luke)
Commits
v2.6.0
Features
- web/input: number input type (Luke)
- web/input: submit on enter press (Luke)
- vehicleProperties: extra settings (Linden)
- web: vite (Luke)
Bug Fixes
- locale: FR cancel (#49) #49 (Nfire)
- locales: DE Cancel (#50) #50 (Cranksome)
- locale: always assign a table to dict (Linden)
- web/settings: run the close function when exiting with ESC (Luke)
- locales: update Hungarian cancel button (#53) #53 (Zan)
Chores
- manifest: bump version (Luke)