Releases: overextended/ox_lib
Releases · overextended/ox_lib
v2.11.1
v2.11.0
Features
- web: ability to not be able to close the context menu (Luke)
- web: add ability to not be able to close menu (Luke)
- web/context: allow hiding arrow by setting it to false (Luke)
- web/input: allow defining icon for number row field (Luke)
- client/zones: set cache.coords (Linden)
- client/points: set cache.coords (Linden)
- resource: zone creator (DokaDoka)
- resource: load callbacks (Linden)
- server/acl: add ox_lib:checkPlayerAce as callback (Linden)
- client/resource: RegisterCommand wrapper (Linden)
- package: interface definitions #97 (Luke)
- resource/zoneCreator: change output format in dialog (DokaDoka)
- resource/zoneCreator: target output format (DokaDoka)
- client/zoneCreator: command suggestion (DokaDoka)
- package: acl wrapper #97 (Luke)
- package: locale wrapper #97 (Luke)
- package: streaming wrapper #97 (Luke)
- package: vehicle properties wrapper #97 (Luke)
- web: version wreapper #97 (Luke)
- client/zoneCreator: display modes (DokaDoka)
- package: add citizen typings #97 (Luke)
- package: cache #97 (Linden)
- menu: Open Menu with specified item index selected #99 (Jag)
Bug Fixes
- client/interface: fix openMenu getting defined nil (#86) #86 (Tony Stark)
- web/menu: fix misalignment on the list buttons in the menu (Luke)
- client/zones: zone triggers twice when inside and debug is enabled (Linden)
- client/zones: scuffed ternary (Linden)
- client/zones: CZone.contains return type (Linden)
- package: remember to actually save the file #97 (Luke)
- client/zoneCreator: prevent canceling from opening pause menu (DokaDoka)
- client/zoneCreator: no more wild rhombus (DokaDoka)
- package: include tsconfig files in server and shared #97 (Luke)
- package: fix incorrect typings for context menu #97 (Luke)
- client/zones: yet another debug fix (Linden)
- package: include position in progress circle interface #97 (Luke)
- package: set notification types as optional #97 (Luke)
- package: getVehicleProperties param #97 (Linden)
- package: use generics to define return type #97 (Luke)
- package: checkDependency type #97 (Linden)
Code Refactoring
- client/zoneCreator: restrict command access (Linden)
- imports: assign modules directly to lib namespace (Linden)
- init: type-fixes and minor adjustments (Linden)
- client/zones: add types and change indentation (Linden)
- client/zoneCreator: create temporary thread (Linden)
- server/zoneCreator: output format and path, security fix (Linden)
- imports: more type fixes (Linden)
- package: import shared and declare cache in server/client #97 (Linden)
- resource/interface: formatting and type definitions (Linden)
- resource/vehicleProperties: typings and formatting (Linden)
- resource/vehicleProperties: type fixes (Linden)
Performance Improvements
Continuous Integration
- release: publish new npm package version on release #97 (Luke)
- release: fix incorrect path name (Luke)
Chores
- bump manifest version to v2.11.10 (Manifest Bumper)
- package: add readme (Luke)
Commits
- client/zoneCreator: activate controls when starting creator (DokaDoka)
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)