Commit Graph

208 Commits

Author SHA1 Message Date
BerkieBb
fdc1674f4f fix(interface/menu): incosistent menu function types (#80)
Signed-off-by: BerkieBb <82737367+BerkieBb@users.noreply.github.com>
2026-01-19 23:47:42 +01:00
Maximus7474
220c0c91ec fix(progress): client statebag change handler double creating the props (#60) 2025-11-03 21:13:15 +01:00
PotatoFarmer441
a2f6b9a9e9 fix(progress): prop replication overload (#58) 2025-11-03 16:35:39 +01:00
Luca
301ff2daf8 feat(interface/input): add size to input dialog options (#32) 2025-07-26 14:34:01 +02:00
ANTOND.
fd8d65166b fix(interface/input): add min and max length props to input type (#31) 2025-07-23 17:10:57 +02:00
Linden
cc6aed591f chore: adjust links 2025-03-29 21:46:58 +11:00
Linden
fb2225e373 chore: add copyright notices to each file
Some people accidentally, mistakenly, and without any malicious intent forget to attribute code from this resource to its source. This change will hopefully assist people, so that they do not make that mistake again.
2025-03-18 18:46:09 +11:00
Linden
5fb16444e6 refactor(client/progress): minor adjustment to duration check 2025-03-13 18:58:44 +11:00
Linden
12ef8e542f fix(client/progress): check duration 2025-03-10 11:50:00 +11:00
BerkieBb
79f311a365 fix(menu): prevent opening empty menu (#675) 2025-01-20 02:06:25 +11:00
Noah
93e40acb31 fix(client/progress): playEnter arg for scenarios in progress bar (#671) 2025-01-17 18:26:00 +11:00
faizy#6969
9ea2fdede7 fix(alertDialog): set timeout as optional parameter (#580) 2024-05-19 15:39:02 +10:00
Linden
43905bdd62 feat(interface/alert): support dialog timeout
closeAlertDialog will now error if a reason is passed.
Added timeout param to alertDialog.
Resolves #522.
2024-05-08 05:23:27 +10:00
northsqrd
24cedb07ae feat(interface/multi-select): add maxSelectedValues (#563) 2024-05-08 04:28:52 +10:00
xHorntail
9649ffaf67 refactor(interface/progress): allow rotation order for created props (#564) 2024-05-08 04:28:10 +10:00
RexshackGaming
113f5227e5 fix(interface/progress) don't use RegisterKeyMapping for redm(#560)
stop redm error as RegisterKeyMapping does not exist
2024-04-27 15:35:23 +02:00
RrybaN
9d08560e91 feat(notify): show duration (#542)
* feat(notify): add option to show duration

lib.notify new option
`showDuration?: boolean -- Option to show duration bar`

* fix(notify): allow icon color using hexadecimal values

* chore(notify): show duration to default and added tinycolor2 for supporting available color formats

* feat(notify): define interface for showDuration
2024-04-12 17:15:57 +02:00
Linden
468a4d820f feat(settings): notification position 2024-04-12 09:45:49 +10:00
Linden
dbbb4b6563 refactor(notify): minor cleanup for notification audio 2024-04-03 14:56:08 +11:00
Ethan
5e6db9d024 feat(client/notification): add support for native audio sounds (#455) 2024-04-03 14:48:08 +11:00
Andy
0e00ff57ff refactor(client/progress): sync props with statebags (#515)
Co-authored-by: Linden <65407488+thelindat@users.noreply.github.com>
2024-03-19 18:01:23 +11:00
ANTOND
591fb022f9 feat(interface): add locales for progress and radial menu (#509) 2024-03-16 04:41:06 +11:00
Abdelouahed TOUIMI
abb2868bae feat(interface/progress): add allowSwimming option (#516) 2024-03-16 04:34:11 +11:00
Lily
71b30b928d feat(web/select): searchable option (#513) 2024-03-10 14:06:11 +01:00
xSamiVS
d8578281ee feat(web/textui) bottom center position(#507) 2024-03-09 11:04:18 +01:00
ktx-mega
78891fb4b9 feat(web): support icon urls in radial menu (#487)
* feat(package): support icon urls in radial menu

* fix: update lua & ts types + clamp size parameters
2024-02-18 12:11:40 +01:00
RIOT
945b535943 chore(client/context): add readOnly field (#474) 2024-02-17 12:11:31 +01:00
BerkieBb
4e8614b0ed fix(interface/input): clearable lua type (#498) 2024-02-17 22:10:05 +11:00
Flávio Pereira
a2d4322a4a fix(notify): missing iconAnimation type (#500) 2024-02-17 22:09:26 +11:00
iSentrie
4c8b3a8636 feat(client/progress): disable sprinting (#473) 2023-12-24 16:09:12 +11:00
mikigoalie
79e5adda7c feat(client/textui): add text return to isTextUIOpen (#464) 2023-12-07 07:36:37 +11:00
Luke
a50f7a2052 feat(web): ability to align icon at the top for notifs/text ui 2023-11-15 14:36:37 +01:00
Luke
b6890e3b56 fix(interface/radial): don't allow weapon melee while open
resolves #447
2023-11-11 12:05:17 +01:00
Zaps6000
dfe02dc1c4 fix(client/menu): don't call HudWeaponWheelIgnoreSelection for RedM
* Update menu.lua

* Update menu.lua
2023-11-03 15:34:10 +01:00
BerkieBb
3c0136afd8 feat(web/input): returnString for date inputs (#411)
* feat(interface/input): useFormat field

* feat(interface/input): useFormat field

* feat(types/dialog): useFormat field

* feat(components/date): format date conversion

* tweak(components/date): forgot other data type

* chore(interface/input): more descriptive name

* chore(interface/input): more descriptive name

* chore(types/dialog): more descriptive name

* tweak(components/date): reset things

* feat(dialog/input): date conversion with returnString

* refactor(web/input): remove unnecessary state

---------

Co-authored-by: Luke <39926192+LukeWasTakenn@users.noreply.github.com>
2023-09-11 23:17:35 +02:00
Galuža moree
2fca9491ba fix(interface/input): add missing color type to typings (#407)
Add color option
2023-09-01 20:13:16 +02:00
Matin
088c2e094a feat(web/skillcheck): ability to cancel skillcheck (#364)
* - (FEAT) Added feature to cancel skillcheck
- (FEAT) Added feature to check is any active skillcheck

* - Fix hiding UI

* - return actual boolean

* - Fix focus does not reset properly

* Update skillcheck wrappers
2023-08-08 12:56:06 +02:00
Linden
9d98b9aada chore: types
mostly types anyway.
2023-07-31 16:29:27 +10:00
Diogo Manuel Coelho Morais dos Santos
2161694f84 fix(resource/radial): fix RadialItem type (#381) 2023-07-31 16:13:07 +10:00
Jag
65a799071a chore: various fix-ups from docs clean-up (#363)
- Add in missing js functions
  - getCurrentRadialId
  - requestScaleformMove
- Change up math.tohex to maintain lowercase `0x` prefix
- Add missing fields
- Removed extra whitespaces

Co-authored-by: Luke <39926192+LukeWasTakenn@users.noreply.github.com>
2023-07-21 13:54:29 +02:00
Linden
dbfb0227aa refactor(cleint/textui): cancel showTextUI if text is unchanged
Because people continue to excessively call it in a loop.
2023-05-19 21:41:58 +10:00
Linden
991be22de5 fix(client/radial): disable pause menu while open 2023-05-18 21:02:27 +10:00
Linden
16875ca7e3 fix: type corrections 2023-05-18 15:38:53 +10:00
Demetrio
b4d9cffb31 fix(server/txadmin): notification override convar (#325) 2023-05-12 13:10:28 +10:00
Demetrio
8a8700ca57 feat(server/interface): configurable txAdmin notifications override (#299) 2023-05-09 23:52:09 +10:00
Linden
89c0668985 refactor(client/progress): reduce Wait in progress queue 2023-05-05 14:55:03 +10:00
Linden
878763867a refactor(client/progress): don't clear progress on cancel
Sending "progressCancel" to NUI will cause a transition and then
trigger "progressComplete" with a slight delay (~100ms).

Should look better when people queue up progress bars.
2023-05-05 14:51:52 +10:00
mikigoalie
c94d019f67 feat(web/notifications): add warning type (#315)
* update(notify): add warning it's own type

* update(notify): inform > info, change warning default icon to circle

* fix typo

* update(notify): case for def notifs, update icons

use circle icons for all notifs so its more unified, also looks a bit better imo

* fix(progressBar): spamming cancel

spamming cancel would sometimes not interrupt current progbar

* Revert "fix(progressBar): spamming cancel"

This reverts commit b030fddd20f9f2b92a07ce4199c73e3b43f435a3.
2023-05-01 12:08:02 +02:00
FjamZoo
74876c8b4e fix(client/context): reset focus when selecting option (#310) 2023-04-26 09:47:07 +10:00
Linden
9ce8f963b4 fix(client/context): hide before triggering select actions 2023-04-21 12:31:33 +10:00