All notable changes to this project will be documented in this file.
- Feature: Added loader middleware support
- Fix: PopupManager now calls onComplete even if the animation was interrupted.
- Fix:
PopupManager
will no longer destroy popups after hiding if they do not belong to its root (when the destroy parameter is set to false)
- Feature: Added possibility to name update request and cancel it
- Feature: Added possibility to cancel all pending update requests
- Feature: Milliseconds passed since update request now passed to action
- Feature: Codebase migrated to Pixi.JS v6
- Fix: Fixed
addChild
method signature compatibility
- Feature: Added allow deselection for single-selection mode
- Fixed: Content offset manipulation now not throws error if trying to access it in the configure method
- Fixed: Button`s icon is now changing on button state change
- Feature: Added pageIndex for the lists
- Feature: Added scrollToItem method for the lists
- Feature: Added ListScrollOptions for the most scrolling methods, which specifies whether scrolling should be animated or not and should the position be aligned to the page size.
- Fixed: CI build produces empty package
- Fixed: All scroll methods of the lists now works with the
animated
flag as expected.
- Feature: Added setters for
centerX
andcenterY
- Fixed: Layouts behavior
- Feature: Added
resizeToContent
method forLabel
- Fixed: Added support for legacy canvas renderer
- Fixed: Exposed LayoutBuilder and LayoutBuilderConfig
- Fixed: Layout validation on margin/padding/alignment change for AbstractBox
- Fixed: Invalidation decorator became more strict and now always require existing of getter and setter. Also, @invalidate now can be applied to methods, invalidation will be triggered after method completion.
- Fixed: Changing Component`s size via componentWidth and componentHeight setter will now emit 'resize' event.
- Fixed: Layout and content validation for List, TileList is fully reworked and now works as expected. Added columnsCount and rowsCount setters that will resize component to required dimensions.
- Feature: Added layout validation on children resize for AbstractBox
- Feature: HBox and VBox now will be automatically resized to fit their content
- Feature: Added very handy LayoutBuilder
- Feature: Added a helper that detects whether item is AbstractComponent
- Fixed: Changing data in the ItemRenderer now validates its layout.
- Fixed: Before returning the value of contentWidth and contentHeight Label will now always be validated, in order to obtain the actual values.
- Fixed: Removed redundant validation of the label after label resize.
- Fixed: Size invalidation will not be triggered if skin wasn't changed.
- Fixed: Invalidation now based on pixi.js render approach, without redundant requesting of animation frame.
- Feature: Added possibility to trigger invalidation of activeRenderers for any List
- Added getter 'items' to DataProvider, which returns list of items
- Reworked invalidation and rendering: replaced with requestAnimationFrame
- onChildrenChange must not be validated if AbstractBox is destroyed
- Components now will be validated before alignment via alignChild
- Fixed label size measurement in the Button
- Fixed renderers reusing in the List.
- Added hasItem method to DataProvider