v51.0.0-rc.5
Pre-release51.0.0-rc.5 (2026-07-28)
Features
- dashboards-ng: support bulk add from widget catalog (ff9dfa4)
- maplibre: provide basic theme for maplibre (967ad01)
- split: configure sizes per part via size and unit (6f74f7c)
BREAKING CHANGES
-
split: The relative sizes of split parts are now configured on
eachsi-split-partvia the requiredsizeandunit
input ('px' | 'fr'), instead of thesizesarray on
si-split.The
sizesinput onSiSplitComponenthas been removed and
SiSplitPartComponent.sizeis now required.
Theunitinput onSiSplitPartComponentis now required.- Remove
SiSplitComponent.sizesinput. - Add
SiSplitPartComponent.unitinput ('px' | 'fr'). - Make
SiSplitPartComponent.sizerequired.
Migration: move the relative sizes from
[sizes]onsi-splitonto the
size/unitinputs of eachsi-split-part.Before:
<si-split [sizes]="[20, 60, 20]"> <si-split-part>Left</si-split-part> <si-split-part>Center</si-split-part> <si-split-part>Right</si-split-part> </si-split>
After:
<si-split> <si-split-part size="20" unit="fr">Left</si-split-part> <si-split-part size="60" unit="fr">Center</si-split-part> <si-split-part size="20" unit="fr">Right</si-split-part> </si-split>
Fixed pixel sizes are now expressed directly on the part:
<si-split> <si-split-part size="200" unit="px">Fixed 200px</si-split-part> <si-split-part size="1" unit="fr">Remaining space</si-split-part> </si-split>
- Remove
-
dashboards-ng:
SiWidgetCatalogComponent.closedsignature changed
fromoutput<Omit<WidgetConfig, 'id'> | undefined>to
output<Omit<WidgetConfig, 'id'>[] | undefined>. In single-select mode
the array always contains exactly one entry.This only affects code that either:
- subclasses
SiWidgetCatalogComponentand overridesclosedor
callsthis.closed.emit(...), or - uses
<si-widget-catalog>directly in a template and subscribes
to(closed).
Migration for subclasses:
- Update overridden output type to
Omit<WidgetConfig, 'id'>[] | undefined. - Wrap
emit(config)calls asemit([config]).
Migration for direct template consumers:
Before:
onClosed(config: Omit<WidgetConfig, 'id'> | undefined) { if (config) this.addWidget(config); }After:
onClosed(configs: Omit<WidgetConfig, 'id'>[] | undefined) { configs?.forEach(config => this.addWidget(config)); } - subclasses
DEPRECATIONS
- dashboards-ng:
SiWidgetCatalogComponent.selectedis deprecated in favor
ofselectedWidgetsandhasSelection. The old property only ever
holds the first selected widget and is not updated in multi-select
mode. It will be removed in one of the next major releases. Only
relevant if you extendSiWidgetCatalogComponent.