Description
Complete rewrite of Tables, configuration documentation, fixed refreshing code, updated init behaviour, pushed id behaviour change, new documentation images, documentation homepage overhaul, default open for Tree widgets, mobile fix, showcase page, better Combo cleanup and small fixes and changes.
New Widgets
- Iris.Table has been entirely rewritten, with support for column resizing. Also supports a header and row and can have a fixed width.
- New DefaultOpen argument for Iris.Tree and Iris.CollapsingHeader, to specify a default state value.
- Iris.Combo should better calculate the child containter height.
Library Changes
- Iris.PushID and Iris.PopID now append to the end of the ID instead of overwriting. Allows for nesting pushing IDs. Can still use Iris.SetNextWidgetID to overwrite the entire ID.
- Iris.Init can be called multiple times with erroring if the third argument is true.
Internal Changes
- Removed some types to 'hopefully' rely better on auto-typing.
- Removed some unused config options.
- Moved to use Rokit over Aftman.
Documentation
- The docs homepage has been refreshed, giving some more detail on Iris for new users.
- Documentation page on all the configuration options available, with descriptions of each item.
- Images for certain widgets to show behaviour.
Bug fixes
- Fixed code determining whether widgets should refresh to allow for nested config pushing.
- Combos and other widgets with popups are now properly discarded.
- Fixed bug when trying to update discarded widget.
- Fixed an error when passing an empty table state to Plot widgets.
PRs
- Correct widget' Instance discard behaviour by @OverHash in #89
- Fix Combo popup size and position by @Tazmondo in #91
- Fix mobile interaction by @checkraisefold in #95
- Added basic gifs and code samples to Menu API Docmuntation by @benpinpop in #96
- Added documentation images and code samples for non-deprecated Format and Text widgets by @benpinpop in #97
- Update Internal.lua by @cosinewaves in #98
- Fix Iris.[Push/Pop]Id behaviour by @JakeyWasTaken in #102
- Added changed Event and Fixed click Events for Combo by @SirMallard in #94
- Fixed pushed ids and discriminators breaking. by @SirMallard in #104
- Init now returns on multiple calls. by @SirMallard in #105
- Added configuration documentation by @SirMallard in #106
- Tables Overhaul by @SirMallard in #107
Thanks to everyone who has contributed!
Full Changelog: v2.4.1...v2.5.0