Commit Graph

45 Commits

Author SHA1 Message Date
Robert Jelic
2ca7ad1e4c - Added comprehensive state management with conditional states, priority-based resolution, and property overrides
- Added responsive.lua with fluent builder API (:when()/:apply()/:otherwise()) for creating responsive layouts that react to parent size or custom conditions
- All elements now use getResolved() to check active states, enabling multiple responsive rules to coexist
2025-11-04 22:40:37 +01:00
Robert Jelic
c723c66004 fixed layout manager so that we know if size got manually changed
fixed scrollframe not sending scroll events to its children
fixed scrollframe scrolling even if mouse is not hovering over the element
improved the behaviour of the flow layout
2025-11-03 13:29:11 +01:00
Robert Jelic
dc51a73749 Fixed a bug in reactive not calling the observers
Fixed a layout issue (not updating properly)
added the flow layout
2025-11-02 18:36:55 +01:00
Robert Jelic
82d8d6cc43 - Added Layout System
- Added Grid Layout
- Removed Flexbox

this will make it easy to apply layouts on all container types.
2025-11-01 10:47:56 +01:00
Robert Jelic
a97f799b4b Fixed a issue with frame events
Fixed Collection setItems not triggering render
2025-10-31 18:55:47 +01:00
Robert Jelic
83c27d824f Refactor documentation for Container, Table, and Tree elements to improve clarity and usage examples 2025-10-30 08:40:14 +01:00
Robert Jelic
b96875a3e9 - Added a new system to dynamically require source from multiple locations (including web)
- Added the Collection Element and moved parts of the List logic to collection
- Added a State Management System
- Added a better system to change the position/size of elements
- Removed the state plugin
2025-10-27 08:25:58 +01:00
Robert Jelic
e461476b6a Potential reactive parent is nil fix 2025-09-30 19:22:49 +02:00
Robert Jelic
3a87b44655 Changes 2025-09-30 14:41:49 +02:00
Robert Jelic
f10413dddb Added basalt.onEvent(event, callback)
Added basalt.removeEvent(eventcallback)
basalt.triggerEvent(event, ...)

Fixed a event is nil error in Container.lua
2025-09-02 12:24:30 +02:00
Robert Jelic
15a9995eec IsInBounds Fix 2025-07-17 11:12:35 +02:00
Robert Jelic
8067f23d42 - Fixed a container bug
- Added onDone to Program
2025-06-20 14:19:05 +02:00
Robert Jelic
f7c4165aa4 Fix in Container and added Program:stop() 2025-05-10 23:41:05 +02:00
Robert Jelic
d36c7e7867 - Added Timer
- Fixed BaseElement Visual request issues
- Added number animation
- Added entries animation
2025-04-20 10:27:48 +02:00
Robert Jelic
a739df5a9f Forgot to remove debug msg 2025-04-19 06:19:50 +02:00
Robert Jelic
90911ebf91 :destroy fix for frame's with childrens with reactive properties 2025-04-19 06:19:02 +02:00
Robert Jelic
b91031afbc Fixed animation
Fixed eventsystem not registering its parent events
2025-04-14 02:39:54 +02:00
Robert Jelic
84f860a18a Added allowNil to properties 2025-04-11 22:48:41 +02:00
Robert Jelic
90b4928e6f Fixed Input not sending events
Fixed :destroy sending unnecessary errors
Other small fixes
2025-04-08 09:59:40 +02:00
Robert Jelic
4b4b2e3ca7 Added init fix and small markdown changes 2025-04-08 01:30:18 +02:00
Robert Jelic
0a597e63f1 Small coroutine fix 2025-04-06 06:51:43 +02:00
Robert Jelic
f911e9bce8 Docs update + some element updates 2025-04-06 00:57:19 +02:00
Robert Jelic
d27760adc2 Canvas test 2025-03-31 03:28:16 +02:00
Robert Jelic
c341eea972 - Fixed createFrame bug
- Added custom XML/Attributes
2025-03-29 03:47:01 +01:00
Robert Jelic
78a42954c0 Reworked XML #2 2025-03-05 01:25:49 +01:00
Robert Jelic
0af0a62528 Updated color properties
Small container fix
2025-03-02 22:03:51 +01:00
Robert Jelic
85988be892 Fixed bundler
Added :setOffset/:getOffset for Containers
2025-02-28 10:18:17 +01:00
Robert Jelic
5fdf01bcfe Cursor Fix 2025-02-25 23:28:53 +01:00
Robert Jelic
a3cc685620 Docs changes 2025-02-24 23:54:07 +01:00
Robert Jelic
a51b91722d Small docs update 2025-02-24 20:51:58 +01:00
Robert Jelic
96ff3ddedb Finished installer
Small bugfixes
2025-02-23 11:11:36 +01:00
Robert Jelic
792832c61d Workflow Trigger 2025-02-21 18:41:58 +01:00
Robert Jelic
3009df028b Updated Eventsystem
Improved List with multiple Selections
2025-02-21 18:24:19 +01:00
Robert Jelic
6393198552 Update with some fixxes and improvements 2025-02-20 11:32:33 +01:00
Robert Jelic
0326cc12c7 Lot of bug fixxes 2025-02-18 19:13:51 +01:00
Robert Jelic
8b6eaccd18 Docs Update 2025-02-18 09:46:32 +01:00
Robert Jelic
cf49f69612 Updated markdown parser, testing it 2025-02-17 09:36:51 +01:00
Robert Jelic
7f15561d08 Docs test 2025-02-16 18:12:31 +01:00
Robert Jelic
e4723cb63a Docs test 2025-02-16 17:53:48 +01:00
Robert Jelic
cc7b2de51a Update
Lots of fixes and improvements
2025-02-16 14:33:07 +01:00
Robert Jelic
db716636bd Basalt2 update
- Finished themes
- Added state plugins for persistance
- Finished reactive plugin
- Added debug plugin (80% finished)
- Added benchmark plugin
- Added Tree, Table, List, Dropdown and Menu Elements
- Bugfixes
2025-02-15 18:18:49 +01:00
Robert Jelic
b7f22bf63f - added List
- added checkbox
- added program
- added slider
- added progressbar
- added reactive (dynamicValues)
smaller bug fixxes
2025-02-14 14:40:20 +01:00
Robert Jelic
6dfa554523 - Created Plugin loading system
- Added lazy loading system for elements (optional feature)
- Improved rendering performance
- Added ID system which is separated from Eement Names
- Added Focussystem for container
- Improved container performance by only rendering and handling events from visible childrens instead of all
- Added label and input
- Added animation and xml
2025-02-13 10:51:12 +01:00
Robert Jelic
2b8a0764bc LuaLS Test 2025-02-10 16:47:00 +01:00
Robert Jelic
1d31fb8d0c Add core library and element classes for Basalt framework 2025-02-09 13:40:17 +01:00