PrimeNG 6.0.2 Released
PrimeTek is excited to announce PrimeNG 6.0.2 featuring the new Toast Component, reimplemented InputSwitch, enhanced overlays, disabled options in select components along with important quality improvements.
Toast is the new addition to the suite to replace the deprecated Growl in the long run. Toast offers the following features;
- Various positions such as top-right, bottom-left, top-center and center
- Configuration per message (e.g. life, sticky)
- Reactive Design
- Smooth Animations
Visit the Toast demo to take this new component for a test run.
- Growl is now deprecated and will be removed in approximately a year from now in PrimeNG 8 since PrimeNG release cycle is aligned with Angular.
SelectItem API has received a new property called “disabled” used to disable particular options in select components such as Dropdown, MultiSelect.
Various components utilize overlays/popovers like AutoComplete, Dropdown, MultiSelect, Dialog and more. The approach used to manage the overlays was a bit outdated using css display block/none which means the overlays must exist in the DOM even if the user may not need them. With 6.0.2, overlays fully utilize modern Angular animations API in a lazy manner meaning they do not exist in the DOM and only get created when they are needed such as on user click, similarly they get destroyed altogether instead of hidden with css. This improves the performance of the pages having many components with overlays significantly. In addition, a new common animation is applied to all overlay components for a unified user experience.
We’ve reviewed and resolved various defect reports to improve the overall quality of the library.
In total there are 35 improvements, visit the full changelog for more information.
New Free Themes
At the moment, we’re not really happy with the free themes offered and have some exciting news for the road ahead to tackle this. Next version will be 6.1.0 and we’ll deprecate them to provide new professional looking free themes generated by the PrimeNG Theme Designer API. This will help us to maintain all themes, whether free or premium from a single location which would be PrimeNG Theme Designer Tool. More information will be available in 6.1.0 release notes , we’re pretty sure your PrimeNG apps having a free theme will look significantly better with 6.1.0.