By grimreaper on
Change record status:
Published (View all published change records)
Project:
Introduced in branch:
5.0.x
Introduced in version:
5.0.0-alpha16
Issue links:
Description:
- use links prop type for menu elements: improve site building features
- add card_header prop type to remove the last pattern preprocess
- add tab_content slot for easier tab content generation (maybe not site buildable, but at least it ease custom development)
Nav component changes:
- The
itemsslot has been converted into a links type prop to improve site building and consistency for navigation handling. - A
card_headerprop had been added to be able to remove the last pattern preprocess and prepare for UI Patterns 2. - A
nav_idprop had been added for cases where a nav ID is needed, like https://getbootstrap.com/docs/5.3/components/navs-tabs/#javascript-behavior - A
tab_contenthas been added to ease the usage of https://getbootstrap.com/docs/5.3/components/navs-tabs/#javascript-behavior, maybe not site buildable, but it eases the custom developments.
As the nav_item component was only intended to be used in the nav component and initially structured before the introduction of the links prop type, it is now obsolete and it has been removed.
Impacts:
Site builders, administrators, editors
Themers