Commit Graph

295 Commits

Author SHA1 Message Date
Robert Jelic
234151d0a0 Merge branch 'main' into main 2025-11-05 02:03:22 +01:00
Robert Jelic
cf082af210 - Fixed reactive not using getResolved
- Fixed responsive using default value instead of lower priority state value
2025-11-05 01:36:52 +01:00
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
Idriss975
fd97eda9fe Add undropSymbol property + implement both self.dropSymbol & self.undropSymbol 2025-11-04 18:07:50 +01:00
Robert Jelic
b4c987d2bd Changed default core-requirement for tons of elements and plugins 2025-11-04 10:01:09 +01:00
Robert Jelic
5dd2c77dbc - Update bundler to support core and full versions
- Update ScrollFrame's properties
2025-11-04 09:42:44 +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
482dc266bc Fixed ComboBox (updated for to the rework dropdown version)
Fixed Dropdown rendering 1 Item more than it shoud
Added dropdown:prioritize() when focusing the dropdown
2025-11-02 10:55:49 +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
278ad08c04 Fixed install.lua issue 2025-11-01 02:54:57 +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
a967cde115 Add Breadcrumb, ContextMenu, Dialog, and Toast elements with event handling and rendering capabilities
- Implemented Breadcrumb element for navigation with selectable segments.
- Created ContextMenu element for displaying clickable items and submenus.
- Developed Dialog element for alert, confirm, and prompt dialogs with modal support.
- Introduced Toast element for temporary message notifications with auto-hide functionality.
2025-10-30 14:12:54 +01:00
Robert Jelic
8c73572a6c Enhance documentation for ScrollFrame and TabControl elements with usage examples 2025-10-30 09:42:32 +01:00
Robert Jelic
7871234251 Refactor documentation and examples for Display, Frame, Program, SideNav, TabControl, and Tree elements 2025-10-30 09:23:33 +01:00
Robert Jelic
c6cb1ac670 Improve documentation formatting for Image and Tree elements 2025-10-30 08:43:12 +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
c2621bbafa XML added attribute version for states 2025-10-30 08:14:06 +01:00
Robert Jelic
8eb3a095d3 Fix mouse drag condition in Frame and set default vOffset in List render function 2025-10-30 07:43:18 +01:00
Robert Jelic
9dbdc82167 Reactive State Fix 2025-10-30 07:32:46 +01:00
Robert Jelic
7099b5c548 Docs fixes 2025-10-29 18:41:32 +01:00
Robert Jelic
d2e0c30b80 Small note addition 2025-10-29 18:17:40 +01:00
Robert Jelic
6f14eadf0a - Updated DocsGenerator to support run code and item tables
- Updated Table to support new Collection System (could break things, sorry)
- Updated Tree to support new Collection System
- Added experimental ScrollFrame
- Updated Menu to support Collection System
2025-10-29 17:55:29 +01:00
Robert Jelic
41bd5bdf04 - Added DropDown Scrollbar
- Added List Scrollbar
- Added Statemanagementsystem for XML
2025-10-29 09:10:23 +01:00
Robert Jelic
2244c84323 Refactor documentation for addBorder and getRelativePosition methods in VisualElement class 2025-10-27 17:46:37 +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
dcc3ddabb6 Added custom coloring for tree nodes 2025-10-12 22:37:05 +02:00
Robert Jelic
57f8da9a90 Added SideNav
Added :addTab to TabControl and SideNav
2025-10-09 22:16:33 +02:00
Robert Jelic
a8670f6a89 more docs fix 2025-10-07 00:21:50 +02:00
Robert Jelic
0ef6065399 Property docs fix 2025-10-07 00:20:54 +02:00
Robert Jelic
52e52c4c76 TabControl scroll feature 2025-10-07 00:15:44 +02:00
Robert Jelic
b5536fb9ea Small Tree changes to selection color 2025-10-06 21:45:25 +02:00
Robert Jelic
add1d2434e Fixed tab mouse click issue 2025-10-03 03:25:49 +02:00
Robert Jelic
e461476b6a Potential reactive parent is nil fix 2025-09-30 19:22:49 +02:00
Robert Jelic
464314e219 Merge branch 'main' of https://github.com/Pyroxenium/Basalt2 2025-09-30 14:41:51 +02:00
Robert Jelic
3a87b44655 Changes 2025-09-30 14:41:49 +02:00
Shlomo FI
0d4fc27e17 Enhance VisualElement with border properties
Added properties for border customization and updated rendering logic.
2025-09-29 21:02:04 +03:00
Shlomo1412
8bf61d6a3c Implement auto-pairing features in TextBox
Added properties for auto-pairing functionality in TextBox.
2025-09-28 15:51:36 +03:00
Shlomo1412
5c71ad1abb Implement autocomplete feature in TextBox
Added autocomplete functionality to TextBox with various properties and methods for managing suggestions.
2025-09-27 23:02:19 +03:00
Robert Jelic
0a1c51b60f Small trigger 2025-09-15 10:45:26 +02:00
Robert Jelic
b0455046e5 ComboBox require fix 2025-09-14 12:34:03 +02:00
Robert Jelic
ebf46fc701 Renamed elements 2025-09-14 12:32:16 +02:00
Robert Jelic
264b1b9425 Class rename 2025-09-14 12:19:36 +02:00
Robert Jelic
e10d3c1ae8 Private/Protected Markdown fix, added run for bigfont 2025-09-14 12:11:09 +02:00
Robert Jelic
899a56ffc3 Markdown Fix 2025-09-14 10:55:17 +02:00
Robert Jelic
fc44bc4d8b Docs Parser fixes 2025-09-13 22:28:10 +02:00
Robert Jelic
487409b31a test 2025-09-13 12:42:28 +02:00
Robert Jelic
ce213cc5d0 . 2025-09-13 10:29:09 +02:00
Robert Jelic
e794402086 new try 2025-09-13 10:21:46 +02:00
Robert Jelic
8d53c556b5 Wrong path in generate-docs 2025-09-13 10:18:07 +02:00