Linden
50d957c1d1
refactor(package/interface): import CSSProperties from csstype
2024-03-16 04:30:02 +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
Linden
989b164d0e
fix(package): maybe resolve some bundling issues
2024-01-09 14:41:42 +11:00
Luke
36662050ff
chore: optimize imports
2023-11-15 15:32:04 +01:00
Luke
882e372895
feat(web): font awesome icon animations
2023-11-15 15:28:21 +01: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
1c5f4d6ac8
feat(web/context): allow separate metadata progress bars colors
...
Closes #430
2023-10-28 18:30:57 +02:00
Luke
e6e7bf5547
refactor(package): improve types for input dialog
2023-10-23 22:44:33 +02:00
Luke
4ba5880d40
fix(package): call the correct export for closeInputDialog
2023-09-28 11:49:20 +02:00
Luke
aaa37047f1
feat(web/context): readOnly buttons
2023-09-22 13:49:15 +02:00
BerkieBb and Luke
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
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
Jag and Luke
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
LukeWasTaken
21990796f5
feat(web): ability to style description in notifications
2023-05-10 16:25:32 +02:00
Linden
280ece8b2d
fix(package/radial): missing param
2023-03-07 02:16:03 +11:00
Linden
1c66f3b920
fix(package/radial): missing disableRadial
2023-03-06 17:03:15 +11:00
Linden
79e91ee452
refactor(client/radial): allow onSelect as string to call an export
...
e.g. onSelect = 'menuHandler'
exports('menuHandler', function(menu, item) end)
2023-02-26 03:58:05 +11:00
Linden
29022e1a48
feat(client/radial): return currentMenu and itemIndex onSelect
2023-02-26 01:59:01 +11:00
renzuzu and Luke
8eca1698cb
feat(web/meu): support images as icons in context and list menu ( #230 )
...
* feat: Support image Tag in buttons
in my server. ox_lib is heavily used.
most of sample use cases for this is.
Food image,
Ingredients,
Vehicle Parts,
etc..
i believe font awesome is not enough for some use cases.
i did suggest this on v3 pending PR.
but it seems gets ignored.
here i am gonna try to push this PR.
to use this.
icon must be not existing in the options.
if both icon and image is in options, nothing will appear.
image in metadata will still appear normaly.
* tweak(web/menu): resize render image comparable to FA
* refactor(web/context): use icon prop for images
* refactor(web/list): use icon prop for images
---------
Co-authored-by: Luke <39926192+LukeWasTakenn@users.noreply.github.com >
2023-02-19 13:53:48 +01:00
Luke
19d8a6ef28
refactor(package): omit id from registerRadial items array
2023-02-15 18:35:15 +01:00
Luke
b99014eb8c
feat(package): add radial menu exports
2023-02-15 18:10:39 +01:00
Luke
66585521b4
chore(package): add missing typings
2023-02-15 13:51:46 +01:00
masonschafercodes
7acad823b8
Revert "feat(web/context): mouse enter and mouse leave events ( #218 )"
...
This reverts commit 7a22da68e6 .
2023-02-10 18:11:18 +01:00
masonschafercodes
7a22da68e6
feat(web/context): mouse enter and mouse leave events ( #218 )
...
* feat(web/context): mouse enter and mouse leave events
* chore(web/context): condense into one function for onHover
* feat(resource/context): cache last hovered option
2023-02-08 10:05:30 +01:00
masonschafercodes
db4a75dfbc
feat(web/alert): new options for alert dialog ( #213 )
2023-02-01 16:19:08 +01:00
Luke
d92c1d7e23
feat(web/alert): allow defining alert dialog button labels
2022-12-08 11:46:21 +01:00
Luke
306b7b3670
feat(web/context): disabled buttons
2022-11-06 11:01:39 +01:00
Luke
9cc7b9270e
refactor(web/menu)!: pass scrollIndex or checked in the same value
...
If the button is a scroll button then `isScroll` is passed into args, if a button is a checkbox then `isCheck` is passed into args.
Requires `args` to always be of type `table`
2022-10-29 15:55:08 +02:00
BerkieBb
5ba1a3b8f9
feat(interface/menu): checkbox
...
feat(package/interface/menu): checkbox
feat(web/menu/list): checkbox
feat(web/menu/list): checkbox option for ListItem
feat(web/menu/list): custom checkbox
2022-10-29 15:55:08 +02:00
Luke
a6a0e4905f
feat(web/input): description tooltip on fields
2022-10-27 13:45:27 +02:00
Luke
1127108fcd
feat(web/menu): add description support on list items
2022-10-27 10:09:48 +02:00
davidxd33 and davidxd33
4f69c7c5c1
feat(interface/dialog): disabled row property ( #142 )
...
* feat(interface/dialog): readonly, disabled flags
* Update TS prop types
* refactor(web/input): remove read only property
Co-authored-by: davidxd33 <dponce@gmail.com >
2022-10-27 09:17:53 +02:00
Luke
5c4853798e
feat(package): skillcheck typings
2022-10-18 20:03:00 +02:00
BerkieBb
115bf702c9
feat(client/textui): open state getter for textUI ( #126 )
...
* feat(package/interface/textui): text ui open getter
* feat(resource/interface/textui): text ui open getter
2022-10-14 17:17:57 +02:00
Sam Shanks
2813bb288b
feat(interface/context): context menu onBack function ( #122 )
...
* feat(interface/context): back button pressed
* fix(context): types
2022-10-11 13:48:59 +02:00
BerkieBb
242b4b6c79
tweak(package/resource/interface/menu): add cb field
2022-10-08 01:58:53 +02:00
BerkieBb
6584105e9c
fix(resource/interface/client/menu): add close missing field to MenuOptions ( #112 )
...
* feat(resource/interface/client/menu): add missing field to MenuOptions
* feat(package/interface/menu) close argument
2022-09-30 09:57:02 +02:00
Luke
6a8eb35a0a
feat(client/interface): close functions for input and alert dialogs
2022-09-29 11:39:30 +02:00
BerkieBb
c47741a785
feat(package/interface/menu): onClose keyPressed
2022-09-25 14:25:26 +02:00
Luke
ef4595c706
fix(package): set notification types as optional
2022-09-17 14:21:28 +02:00
Luke
ea40c9c8d5
fix(package): include position in progress circle interface
2022-09-17 13:57:54 +02:00
Luke
7529e7436b
fix(package): fix incorrect typings for context menu
2022-09-16 16:06:04 +02:00
Luke
4f0cc4c7c5
feat(package): interface definitions
2022-09-14 13:50:32 +02:00