v48.0.0-next.5
Pre-release48.0.0-next.5 (2025-08-19)
Features
- card: add support for sub-heading to cards (183dcab)
- copyright-notice: use the company-name provided by the theme (fe2fe9f)
- list-details: support usage with the Angular router (4731e77)
- maps-ng: open source maps-ng (0d70b10)
- popover: replace current
siPopoverwithsiPopoverNext(b96e46f) - search-bar: align with theme updates (709aa53)
- tabs: replace current
si-tabswithsi-tabs-next(6fbba15)
Bug Fixes
- charts: title and legend overlap on theme change (5daabb5)
- formly: link error messages to input (11c1b61)
- select: announce readonly flag in screen-reader (ed049b1)
BREAKING CHANGES
-
popover: The
siPopoverdirective has been completely re-implemented,
including breaking changes in the API.
The main highlight is a complete accessibility support and
unified interaction.The most noteable changes are:
- the triggers opening or closing a popover can no longer be modified
- instead of having two
shown/hiddenevents there is onevisibilityChangeevent - all inputs and outputs are prefixed with
siPopoverto avoid name conflicts - a popover always receives the focus on open
The new popover was already available as a preview via
siPopoverNextin v47 and is now fully
replacing the old popover with v48. If you are already usingsiPopoverNext, you can do a simple
search & replace removing thenextsuffix.The "old" popover is still available with via the legacy entrypoint
@siemens/element-ng/popover-legacy.
Classes and selectors were renamed accordingly:siPopover-->siPopoverLegacySiPopoverDirective-->SiPopoverLegacyDirectiveSiPopoverModule-->SiPopoverLegacyModule
Usually, the migration to new popover is simple.
If the
triggeroroutsideClickwas modified, please read the
popover documentation
on how to properly use a popover.In all other cases, it is sufficient to replace
shown/hiddenevents withvisibilityChange
and prefix all input / outputs withsiPopover. -
tabs: The
si-tabscomponent has been completely re-implemented
including breaking changes in the API. The main highlights are enhanced
accessibility, improved responsive behavior, and Angular router support.The most notable changes are:
- replacing the
selectedIndexwith anactiveinput in thesi-tab - dropping
iconAltTextin favor of enforcingheading - if an icon is provided, the heading is always visually hidden
- no tab is selected by default
- dropping
deselectandselectedTabIndexChangein favor of usingactiveChangeon thesi-tab
The new tabs were already available as a preview via
si-tabs-nextin v47 and are now fully
replacing the old tabs with v48. If you are already usingsi-tabs-next, you can do a simple
search & replace removing the-nextsuffix.The "old" tabs are still available via legacy entrypoint
@siemens/element-ng/tabs-legacy.
Classes and selectors were renamed accordingly:si-tabset-->si-tabset-legacySiTabsetComponent-->SiTabsetLegacyComponentsi-tab-->si-tab-legacySiTabComponent-->SiTabLegacyComponentSiTabModule-->SiTabLegacyModule
When migrating to the new tabs, we recommend checking whether using the
router based approach
is applicable.Otherwise, code needs to be changed to use the new
activeinput
and renamingiconAltTexttoheading:<!-- before --> <si-tabset selectedTabIndex="0" (selectedTabIndexChange)="changedTab($event)"> <si-tab iconAltText="Favorites" icon="element-favorite">...</si-tab> </si-tabset> <!-- after --> <si-tabset> <si-tab heading="Favorites" icon="element-favorite" [active]="true" (activeChange)="changedTab($event)">...</si-tab> </si-tabset>
Please note, the implementation of
changedTabmust also be adjusted. - replacing the
-
dashboards-ng: gridstack.js v12 is required. To migrate to v12,
update the package and drop the inclusion ofgridstack-extra.css
inangular.json