Upgrade guide

New versions include improvements but also contain breaking changes; they must be applied step by step.

  • Up to 18.5.3: a safe baseline with updated theming and icons.
  • 18.6: token update.
  • 18.22: component attribute changes.
  • 20.0.0: the move to Angular 20: removal of deprecated APIs and package renames.
  • 20.2.0: the move of the filter-bar API to signals.
  • 20.2.0: one shared mechanism for dropdown panel width.
  • 21.0.0: the move to Angular 21: zoneless change detection, CSS animations instead of @angular/animations, and signal inputs, outputs and queries.
  • 21.0.0: removal of the APIs deprecated before 21.0.0.
  • 21.0.0: removal of ThemePalette.
  • 21.0.0: removal of the core API nothing in the library used, and deprecation of its legacy API.
  • 21.0.0: removal of the component API and styles nothing in the library used.
  • 21.0.0: the actions panel overlay container.
  • 21.0.0: legacy splitter deprecation.
  • 21.0.0: removal of the overlay demotion mechanism.
  • 21.0.0: the move of the app-switcher API to signals.
  • 21.0.0: the button review — host attributes, group ownership and styles.
  • 21.0.0: button supported colors — a default color of its own per style.
  • 21.0.0: the button-toggle review — ARIA semantics, keyboard navigation and signal inputs.
  • 21.0.0: the form-field review — signals, accessibility and the removal of mixinColor.
  • 21.0.0: the theme service review — signals, auto mode and built-in persistence.
  • 21.0.0: explicit prefix and suffix slots for tag content.
  • 21.0.0: deprecation of the overlayscrollbars-based Scrollbar implementation.
  • 21.0.0: the link component instead of the directive — the kbqLink selector, slots, external and size.
  • 21.0.0: the locale layer typing — a typed getParams, partial locale data and signals.
  • 21.0.0: multiple on the selection list and tree became a real, changeable input.
  • 21.0.0: the component review — closed internals, signal inputs and the behavior fixes it uncovered.
  • 21.0.0: removal of the deprecated file-upload fileQueueChanged/fileQueueChange outputs.
  • 21.0.0: the accordion state store moved into core, shared by every component that persists state.
  • 21.0.0: accordion state saving is on by default, keyed on the document instead of instantiation order.
  • 21.0.0: tree state saving is on by default, keyed on the value the tree control gives each node.
  • 21.0.0: tabs, sidebar and content-panel remember what the user changed, on by default.
  • 21.0.0: the filter bar remembers the selected filter and its edits, on by default.
  • 21.0.0: the tag list cleaner removes the tags itself and leaves the disabled ones in place.
  • 21.0.0: the move to @koobiq/design-tokens 4 — a new palette scale, DTCG sources and opt-in component tokens.
  • 21.1.0: the code block loads the highlight.js core instead of the full bundle by default.
  • 21.1.0: the content panel container becomes focusable.
  • 21.1.0: the types of fields and getters that can be empty say so, and the events and KbqFormFieldControl got constructors and abstract members.
  • 21.2.0: the keycode constants in core are deprecated re-exports of @angular/cdk/keycodes — import them from the CDK; the re-export is removed in 22.0.0.
npm install @koobiq/cdk@18.5.3
npm install @koobiq/components@18.5.3
npm install @koobiq/icons@^9.0.0
npm install @koobiq/design-tokens@~3.7.3
npm install @koobiq/angular-luxon-adapter@18.5.3
npm install @koobiq/date-adapter@^3.1.3
npm install @koobiq/date-formatter@^3.1.3
npm install luxon
npm install @messageformat/core

Theming is now simpler and built on CSS variables. Theming. How to use.

Examples:

Install the new icon version:

npm install @koobiq/icons@9.1.0

To update icon names in templates, use the update tool (schematic):

ng g @koobiq/angular-components:new-icons-pack --project "<your project>"

Deprecated color tokens were removed and typography parameter tokens were renamed.

The script will rename class and CSS-variable names to the new ones and highlight places where deprecated colors need to be removed (replaced):

ng g @koobiq/angular-components:css-selectors --fix=true --project "<your project>"

For manual review, add --fix=false. The script will highlight places where colors and typography names need to be removed (replaced):

ng g @koobiq/angular-components:css-selectors --fix=false --project "<your project>"

Component attribute names have changed:

  • KbqLoaderOverlay: compact → size
  • KbqEmptyState: big → size

The schematic replaces the attributes automatically:

ng g @koobiq/angular-components:loader-overlay-size-attr --project "<your project>"
ng g @koobiq/angular-components:empty-state-size-attr --project "<your project>"

In version 20.0.0 the library moves to Angular 20. This is a major release: long-deprecated APIs were removed and some packages were renamed. Requirements: Angular 20+ and Node.js ≥ 20.19.

Remove @koobiq/cdk from package.json — the package has been merged into @koobiq/components/core.

Most of the changes are applied by the v20-upgrade schematic (runs automatically):

ng update @koobiq/components@20

Or manually. To preview without writing — --fix=false:

ng g @koobiq/components:v20-upgrade --project "<your project>"

Package moves:

  • @koobiq/components/navbar-ic → navbar
  • risk-level → badge
  • @koobiq/components-experimental/form-field → @koobiq/components/form-field
  • @koobiq/cdk/{a11y,keycodes,testing} → @koobiq/components/core

Classes, tokens, functions:

  • KbqNavbarIc* → Kbq*,
  • KbqRiskLevel* → KbqBadge*,
  • toBoolean → booleanAttribute,
  • formatDataSize → getFormattedSizeParts

Instance methods:

  • KbqAutocompleteTrigger.openPanel() → .open(),
  • .toggleIsCollapsed() → .toggle(),
  • .focusViaKeyboard() → .focus().

Templates:

  • kbq-filter-search → kbq-search-expandable,
  • kbq-datepicker-toggle → kbq-datepicker-toggle-icon,
  • kbqFormFieldWithoutBorders → noBorders,
  • [kbqWarningTooltip] → kbqTooltipModifier="warning" [kbqTooltip].

SCSS:

  • .kbq-risk-level → .kbq-badge,
  • .kbq-navbar-ic → .kbq-navbar, etc.

The schematic emits warnings for what cannot be rewritten safely:

(onSaveAsNew) on kbq-filters: listen to (onSave) and check $event.status === 'newFilter'.

File upload. The [customValidation] and [errors] attributes → FormControl validators / FormControl.errors.

App switcher. [apps] → [sites]="[{ id, name, apps }]".

Validation. KbqValidateDirective and kbqDisableLegacyValidationDirectiveProvider() were removed → use ErrorStateMatcher (e.g. ShowOnSubmitErrorStateMatcher).

Modals: ModalOptions.kbqComponentParams → the data field + inject(KBQ_MODAL_DATA).

Code block: the deprecated canLoad / codeFiles inputs are renamed to canDownload / files. Template bindings are migrated automatically, except on a <kbq-code-block> that binds the replacement too: it is reported, merge each pair into one binding. Programmatic access (.canLoad, .codeFiles) must be updated by hand.

In version 20.2.0 the public API of KbqFilterBar moved to signals. Template bindings ([filter], [(filter)], [pipeTemplates]) and the (filterChange) output keep working — only programmatic reads break: they now require a call.

MemberBeforeAfter
filteraccessorModelSignal<KbqFilter | null> — write via .set(...)
pipeTemplatesaccessorInputSignal<KbqPipeTemplate[]>
isChanged / isDisabled / isReadOnly / isSaved / isSavedAndChangedgetterSignal<boolean>
onChangePipeEventEmitter<KbqPipe>OutputEmitterRef<KbqPipe>

The changes are applied by the filter-bar-signals schematic (runs automatically):

ng update @koobiq/components@20

Or manually — for example, if you have already upgraded to 20.2.0. To preview without writing — --fix=false:

ng g @koobiq/components:filter-bar-signals --project "<your project>"

Reads and writes in TypeScript (for receivers annotated KbqFilterBar / KbqFilterBarHost):

  • filterBar.filter → filterBar.filter(),
  • filterBar.filter = next → filterBar.filter.set(next),
  • filterBar.filter?.name → filterBar.filter()?.name,
  • this.filterBar.isChanged → this.filterBar.isChanged()

Reads through a template reference variable (#ref on <kbq-filter-bar>, in external .html files and inline templates):

  • ref.isChanged → ref.isChanged()

Renames:

  • KbqFilterBarRefresher → KbqFilterRefresher (the old name stayed an alias until 21.0.0)

All replacements are idempotent — running the schematic twice does not double the call.

The schematic emits warnings for what cannot be rewritten safely:

KbqFilterBar.changes: deprecated, no longer emits, removed in 21.0.0 → read filterBar.filter() inside an effect(...), or listen to (filterChange).

KbqFilters.preparePopover(): removed → openSaveAsNewFilterPopover() / openChangeFilterNamePopover().

viewChild(KbqFilterBar) queries: return the component instance, so a read becomes a double call — this.filterBar().filter().

KBQ_FILTER_BAR_PIPES: now typed Map<KbqPipeType, Type<KbqBasePipe>> (was an array of tuples) → wrap the entries in new Map([...]).

The schematic does not cover the following changes — check them yourself:

[filters] on kbq-filters: the input became required.

KbqPipeState.state: accessor → InputSignal<T | null> (relevant for custom pipes).

KbqPipeTreeSelectComponent: template and filteredOptions were removed. On KbqFilters the popoverOffset and popoverSize fields became protected.

The schematic matches receivers by explicit type annotation only, so aliases (const fb = this.filterBar; fb.filter) are left untouched — fix them by hand.

In version 20.2.0 autocomplete, select, tree-select, timezone and dropdown started resolving the width of their dropdown panel through one shared mechanism. They now all expose the same three inputs — panelWidth, panelMinWidth and panelMaxWidth — with the same meaning:

panelWidthPanel width
not set (default)sizes to its content, never narrower than the trigger or panelMinWidth
'auto'matches the trigger, never narrower than panelMinWidth
a number or CSS stringexactly that width; panelMinWidth is not applied

Panels are now also capped at 640px through the --kbq-panel-size-width-max token. The cap is soft: it limits how far a panel grows with its content, but it never makes a panel narrower than its trigger and never clamps an explicit panelWidth. Change it globally by setting the token on :root, per component through the component's own token (--kbq-dropdown-size-container-width-max still works), or per instance through panelMaxWidth.

The autocomplete-panel-width-auto schematic runs automatically:

ng update @koobiq/components@20

Or manually:

ng g @koobiq/components:autocomplete-panel-width-auto --project "<your project>"

panelWidth="auto" on <kbq-autocomplete> → panelWidth="fit-content". On autocomplete, auto used to be passed to CSS verbatim, so the panel shrank to fit its content. It now means "match the host width", as it already did on kbq-select. fit-content preserves the old behaviour. Both the static (panelWidth="auto") and bound ([panelWidth]="'auto'") forms are rewritten; a dynamic value ([panelWidth]="expr") is skipped with a warning.

auto still type-checks and still renders, the panel is just laid out differently — it isn't the only silent change in this release though, see the panelWidth={{0}} note below.

panelWidth, panelMinWidth and panelMaxWidth are signal inputs. Reads now require a call, and writes are no longer possible — this is the one change in this release without an automated path, because there is no runtime equivalent of writing to a signal input from outside.

// Before
@ViewChild(KbqSelect) select: KbqSelect;
this.select.panelWidth = 'auto';
const w = this.select.panelWidth;

// After — bind from the template instead
// <kbq-select [panelWidth]="panelWidth">
panelWidth: KbqPanelWidth = 'auto';
const w = this.select.panelWidth();

kbq-tree-select already exposed these as signals, so it is unaffected. KbqDropdownPanel.panelWidth / panelMinWidth / panelMaxWidth are typed Signal<...> for the same reason.

Panels no longer grow past 640px with their content. kbq-select, kbq-tree-select and kbq-autocomplete previously had no cap at all, so a panel with long option text could grow arbitrarily wide; it now stops at 640px. Panels whose width comes from the trigger or from an explicit panelWidth are unaffected. To restore the old behaviour set --kbq-panel-size-width-max: none on :root, or raise the cap for one instance with panelMaxWidth.

panelWidth="auto" on kbq-select and kbq-tree-select no longer goes below panelMinWidth (200 by default). A trigger narrower than 200px used to produce a panel of exactly the trigger's width; it now produces a 200px panel. If you relied on that, set panelMinWidth="0". This cannot be migrated automatically — whether it affects you depends on the rendered width of the trigger.

panelWidth={{0}} on <kbq-autocomplete> is now an explicit width instead of being treated as unset — the panel renders at literally 0px instead of sizing to content. getOverlaySize() used to treat panelWidth as falsy-checked, so 0 fell back to content-sizing; select/tree-select already treated 0 as an explicit width before this release, and autocomplete is now consistent with them. This only matters if panelWidth is bound to an expression that can evaluate to 0 (a literal panelWidth="0" has no legitimate use); it can't be schematic-migrated since it depends on a runtime value, not a static template attribute.

kbq-timezone-select no longer has width defaults of its own. It used to declare panelWidth: 'auto' and panelMinWidth: 640; both are gone, so it now inherits the select's defaults — the menu sizes to its content, never narrower than the field or 200px, and stops at 640px. In practice the panel used to match the field exactly (the 640 minimum never reached the DOM between 20.0.0 and 20.1.0), so the visible change is that the menu now grows with long timezone names. Set panelWidth="auto" to get the old field-matching behaviour back.

[panelMinWidth]="null" now keeps the trigger-width floor. It previously produced an invalid NaNpx, which browsers dropped, removing every minimum.

KbqDropdown.triggerWidth is deprecated and has no effect (it has been unread since 20.0.0). To make a dropdown panel match an element other than its trigger, set KbqDropdownTrigger.widthOrigin. kbq-split-button's panelAutoWidth does this for you and now works — previously it wrote to triggerWidth and did nothing.

kbq-dropdown's minimum width is now measured with getBoundingClientRect() (the trigger's full border-box) instead of getComputedStyle().width minus its borders (the old, incorrectly-computed content-box). A trigger with padding or a border renders a wider panel than before by that amount; a trigger with neither is unaffected.

In version 21.0.0 the library moves to Angular 21. Requirements: Angular 21+, TypeScript 5.9 and Node.js 20.19, 22.12 or 24+. Update Angular first, then Koobiq:

ng update @angular/core@21 @angular/cli@21 @angular/cdk@21
ng update @koobiq/components@21

Koobiq components no longer depend on zone.js: they render in an application bootstrapped with provideZonelessChangeDetection() and keep working with provideZoneChangeDetection(). What used to wait for NgZone.onStable now runs after the next render.

  • MockNgZone is removed from @koobiq/components/core. It fired onStable on demand, and nothing in the library listens to it any more: drop the NgZone override, and replace simulateZoneExit() with fixture.detectChanges() or await fixture.whenStable().
  • A spec without zone.js renders only when told to. A check made right after an event needs fixture.detectChanges() or await fixture.whenStable() first, and whenStable() no longer waits for timers the component started.
  • The actions panel container is OnPush, like the sidepanel container. In an application with zone.js, a component opened in the panel that writes its fields from a timer or a subscription calls markForCheck() or keeps that state in a signal.

zoneless-change-detection reports every use of MockNgZone and simulateZoneExit():

ng g @koobiq/components:zoneless-change-detection --project "<your project>"

Koobiq components no longer use @angular/animations, which Angular deprecated: they animate with CSS and wait for the end of an animation themselves. @angular/animations is no longer a peer dependency, and the components no longer need provideAnimations(): remove it, and the package, unless the components of your application declare animations: [...] themselves.

  • The motion is off under prefers-reduced-motion: reduce. To turn it off in the whole application, for example in an end-to-end suite, provide { provide: KBQ_ANIMATIONS_CONFIG, useValue: { animationsDisabled: true } } from @koobiq/components/core. provideNoopAnimations() still turns it off, but it belongs to the deprecated package.
  • The exported triggers are removed: fadeAnimation and kbqSelectAnimations from core, kbqDropdownAnimations, fadeInItems and transformDropdown from dropdown, kbqTabsAnimations from tabs, kbqPopoverAnimations from popover, kbqDatepickerAnimations from datepicker, KbqNotificationCenterAnimations from notification-center and kbqAppSwitcherAnimations from app-switcher. KbqSidepanelAnimationState is no longer exported from sidepanel, nor MODAL_ANIMATE_DURATION from modal: instead of a timer of that length, act on afterOpen / afterClose of the KbqModalRef.
  • The members that carried an AnimationEvent are removed. KbqPopUp.animationStart() and animationDone(): a subclass overrides the protected afterShowAnimation(), which runs once each time the pop-up appears, not again when the pointer returns to an open one. KbqDropdown.animationDone, isAnimating, panelAnimationState, startAnimation(), resetAnimation(), onAnimationStart() and onAnimationDone(): a custom trigger calls setOpened(). KbqSidebar.animationState, onAnimationStart() and onAnimationDone(): listen to stateChanged. KbqTabBody.onTranslateTabStarted() and onTranslateTabComplete(), KbqToastService.animation, KbqToastComponent.animationState and onAnimation(), the animationStateChanged of the sidepanel and actions panel containers, and animationState, animationTransform and setAnimationState() of the sidepanel container: follow a panel through its ref — afterOpened(), beforeClosed(), afterClosed(). The protected KbqContentPanelContainer.contentAnimationState fed the removed @contentAnimation trigger: a subclass reads isOpened().
  • The dropdown panel no longer fades out: it is closed, and its lazy content detached, as soon as the trigger reports it.
  • In a spec, what waited for an animation callback now waits for the next render: fixture.detectChanges() or await fixture.whenStable(). jsdom has no Web Animations API, so nothing animates there.

angular-animations-removal reports every use of the removed triggers and members:

ng g @koobiq/components:angular-animations-removal --project "<your project>"

The CDK 21 opens overlays as popovers in the browser top layer, and the components keep that default: a panel is drawn above the whole page, whatever stacking context surrounds its trigger. The z-index of .cdk-overlay-container no longer orders panels against the application's own fixed and sticky elements, so an override of it has no effect. An application that relied on it opts out with OVERLAY_DEFAULT_CONFIG from @angular/cdk/overlay:

import { OVERLAY_DEFAULT_CONFIG } from '@angular/cdk/overlay';

bootstrapApplication(AppComponent, {
    providers: [{ provide: OVERLAY_DEFAULT_CONFIG, useValue: { usePopover: false } }]
});

color of KbqColorDirective is a writable signal, and so is the color of every component built on it: the buttons, checkbox, toggle, radio, icons, form field, hints, cleaner, progress bar and spinner, and tag. The [color] binding is unchanged.

  • A read is a call, a write is .set(): icon.color(), button.color.set(KbqComponentColors.Theme). A color set in code holds until the [color] binding changes, as an assigned one did.
  • An unset or falsy [color] renders the default color of the component, kbq-empty where it has none, instead of no color class.
  • A subclass can no longer override the color accessor. Set its default with setDefaultColor() instead of assigning color in the constructor. _color is removed, defaultColor is a signal, and KbqColorDirective takes the type of its color as a parameter: KbqColorDirective<KbqButtonColor> for the buttons. CanColor is removed: type the member Signal<KbqComponentColors | string>, or use KbqColorDirective.

color-signals rewrites the reads and writes, and reports subclasses:

ng g @koobiq/components:color-signals --project "<your project>"

mixinDisabled and mixinTabIndex are removed from @koobiq/components/core with CanDisable, CanDisableCtor, HasTabIndex and HasTabIndexCtor. They were deprecated and unused inside the library: declare disabled and tabIndex as inputs of the class instead. core-mixins-removal reports every use:

ng g @koobiq/components:core-mixins-removal --project "<your project>"

KbqOption, KbqOptgroup, the option action and KbqTimezoneOption keep their state in signal inputs. The state of an option is still read as a property — event.option.value, select.selected.disabled, option.viewValue in a kbqSelectTagContent template — so those reads are unchanged.

  • Programmatic writes are gone: option.value, viewValue, disabled, showCheckbox and KbqTimezoneOption.timezone are bound in the template.
  • KbqOptgroup.disabled and KbqOptionActionComponent.disabled are signals: group.disabled().
  • KbqOption.stateChanges no longer emits for disabled, and textElement is typed ElementRef | undefined.

option-signals rewrites the reads of the group and the action, and reports the writes:

ng g @koobiq/components:option-signals --project "<your project>"

KbqNumberInput.value, KbqNumberInput.disabled and KbqInput.type are signal inputs read through a getter: a read is unchanged, a programmatic write no longer compiles. Bind [value], [disabled] and [type], or write through the form control. input-signals reports every write:

ng g @koobiq/components:input-signals --project "<your project>"

The inputs of KbqListSelection and KbqListOption are signal inputs read through a getter: a read is unchanged, a programmatic write no longer compiles. Bind them in the template, and disable the list through its form control. KbqListOption.selected and KbqListSelection.multipleMode stay writable. list-signals reports every write:

ng g @koobiq/components:list-signals --project "<your project>"

Their inputs are signal inputs named <member>Input, handed to the unchanged member from ngOnChanges: reading and writing checkbox.checked, button.disabled, icon.iconName or tooltip.content works as before. The same goes for the tooltip, popover, popover confirm, app switcher and notification center triggers, the password toggle and the ellipsis center, and for the tags, file uploads, accordion item, navbar item, notification item and sidebar. The exception is a member another migration moved to a signal, such as color (see Color as a signal) or the tag members and the form-field state of the tag list (see Tags).

  • A subclass that implements ngOnChanges calls super.ngOnChanges(changes), and one that redeclared an @Input() overrides the <member>Input signal input instead, e.g. iconNameInput.
  • A boolean input accepts boolean | string | null | undefined in a template, rather than anything.
  • KbqPopUp.elementRef is a protected getter. A panel that renders an element of its own overrides it over a viewChild() instead of re-declaring the field with @ViewChild.

signal-inputs-subclasses reports every subclass:

ng g @koobiq/components:signal-inputs-subclasses --project "<your project>"

The inputs of KbqDatepicker, KbqDatepickerInput, KbqDatepickerToggleIconComponent, KbqCalendar, KbqCalendarHeader and KbqMonthView are signal inputs named <member>Input, handed to the unchanged member from ngOnChanges: reading and writing datepicker.opened, datepicker.startAt, input.min or calendar.minDate works as before. The exception is the form-field state of KbqDatepickerInput: value, id, placeholder, focused, empty, required, disabled and errorState are signals, migrated by form-field-signals (see Form field review (21.0.0)).

  • A subclass that implements ngOnChanges marks it override and calls super.ngOnChanges(changes), and one that redeclared an @Input() overrides the <member>Input signal input instead, e.g. minInput.
  • A SimpleChanges passed to ngOnChanges by hand is keyed by the <member>Input names: minDateInput, not minDate.
  • A boolean input — hasBackdrop, disabled and opened — accepts boolean | string | null | undefined in a template.

datepicker-signals reports every subclass and every direct call of ngOnChanges:

ng g @koobiq/components:datepicker-signals --project "<your project>"

Without a locale service, the placeholder names the format the input takes. It used to be the ru-RU one whatever locale the date adapter parsed in. It now follows the date adapter of the input — KBQ_DATE_LOCALE, Angular's LOCALE_ID unless provided, on a component too — so with the default en-US it reads yyyy-mm-dd; for a locale the library ships no strings for, or a format set through KBQ_DATE_FORMATS, it is the format itself, such as yyyy/mm/dd. To keep the former one, bind [placeholder] or pass it to kbqDatepickerLocaleConfigurationProvider(). With a locale service nothing changes.

The inputs of KbqTabGroup, KbqTab, KbqTabNavBar, KbqTabLink and of the header, labels and bodies inside the tab group are signal inputs named <member>Input, handed to the unchanged member from ngOnChanges: reading and writing tabGroup.selectedIndex, tabGroup.headerPosition, tab.disabled or tabLink.active works as before. Their queries are signal queries behind getters: KbqTabGroup.tabs and KbqTabNavBar.items are still QueryLists whose changes emit as before.

  • A subclass that implements ngOnChanges marks it override and calls super.ngOnChanges(changes), and one that redeclared an @Input() overrides the <member>Input signal input instead, e.g. headerPositionInput. A query it redeclared with @ContentChildren or @ViewChild — tabs, items, templateLabel — is overridden as a getter.
  • A SimpleChanges passed to ngOnChanges by hand is keyed by the <member>Input names: disabledInput, not disabled.
  • A boolean input — disabled, active, vertical, disablePagination — accepts boolean | string | null | undefined in a template.
  • A bound undefined resets the member to its default rather than leaving it as it was: headerPosition becomes 'above', animationDuration the duration of KBQ_TABS_CONFIG, tooltipTitle '' and a boolean input false, selectedIndex selects the first enabled tab, and a KbqTabLink gets tabIndex 0 and its generated id.
  • KbqTab.templateLabel follows the kbqTabLabel in the content of the tab: once that is removed, the tab shows its text label rather than the removed template.

tabs-signals-and-aria reports every subclass and every direct call of ngOnChanges:

ng g @koobiq/components:tabs-signals-and-aria --project "<your project>"

The options of KbqSelect, KbqAutocomplete and KbqListSelection, the tags of KbqSelect and KbqTagList, KbqRadioGroup.radios, KbqTreeSelection.unorderedOptions, the focusableItems of KbqNavbar and KbqVerticalNavbar, and the textElement of KbqTag and KbqDropdownItem are getters over signal queries. They keep their types — a QueryList whose changes emit as before, or an ElementRef — so reading them works as before. Before the content is initialized a QueryList is empty rather than undefined.

  • A subclass that redeclared one of them, with a query decorator or as a field, removes the redeclaration or overrides the getter.
  • A write to one of them no longer compiles: render the items in the template.
  • KbqCodeBlock.tabLinkTemplate, which is protected, is a signal: a subclass reads this.tabLinkTemplate().

query-list-signals reports every redeclaration and write:

ng g @koobiq/components:query-list-signals --project "<your project>"

The state that components and services expose for reading is a signal, where it used to be a BehaviorSubject, an Observable or a plain field. The streams that report events stay observables.

MemberWasNow
silentMode, loadingMode, errorMode, loadingMore, loadMoreErrorMode, hasMore of KbqNotificationCenterServiceBehaviorSubject<boolean>Signal<boolean>, written by the set…() methods
unreadItemsCounter of KbqNotificationCenterService and KbqNotificationCenterTriggerObservable<string>Signal<string>
KbqNotificationCenterService.groupedItemsObservable<KbqNotificationsGroup[]>Signal<KbqNotificationsGroup[]>
hovered, focused of KbqToastService and KbqToastComponentBehaviorSubject<boolean>Signal<boolean>
filteredOptions of KbqFilters, KbqPipeSelectComponent and KbqPipeMultiSelectComponentObservablea read-only Signal
KbqSelect.hiddenItemsnumberSignal<number>, as in KbqTreeSelect
KbqSearchExpandable.valueBehaviorSubject<string>WritableSignal<string>
hovered of KbqPopUp and KbqPopUpTrigger: tooltips, popovers, the notification center and the app switcherBehaviorSubject<boolean>Signal<boolean>
  • Read them with a call — service.silentMode(), trigger.unreadItemsCounter() — instead of .value, .getValue() or | async. Where a stream is still needed, wrap the signal in toObservable() from @angular/core/rxjs-interop.
  • Write the notification center flags with their set…() methods and the search value with value.set(); the other signals are read-only.
  • KbqNotificationCenterService.changes no longer emits on subscription: a handler that relied on that runs once on its own before subscribing.
  • KbqFilters.filteredOptions now follows a change of the filters input too.
  • A pop-up trigger no longer marks its host view for check when it opens or closes: an OnPush view that renders a field of its own, written from a visibleChange subscription made in code, calls markForCheck() itself or keeps the field in a signal. An output bound in the template needs nothing.
  • A getter backed by a signal is a tracked read. isOpen of the pop-up triggers, opened of KbqDropdownTrigger, KbqDatepicker and KbqSidebar, panelOpen of KbqSelect, KbqTreeSelect and KbqAutocompleteTrigger, expanded of KbqAccordionItem, isOpened of KbqSearchExpandable, selected of the options, selectedIndex of KbqTabGroup and isActive of KbqTab keep their type, but reading one inside an effect() or a computed() makes it follow that state: an effect that opens or closes a component depending on one reads it with untracked(). The commands of the components — open(), close(), toggle(), select(), writeValue() and the like — read nothing an effect calling them would follow.
  • A number input bound to undefined or null falls back to its default instead of becoming NaN: tabIndex of kbq-checkbox, kbq-toggle, kbq-radio-button, kbq-search-expandable and kbqTabLink reads 0 (a tab link no longer renders tabindex="NaN"), selectedIndex of kbq-tab-group selects the first enabled tab, offset of kbqAppSwitcher takes the default offset, and tabIndex of kbq-list-selection and kbq-tree-selection gives back the default tab stop (0, or -1 without options). A value that is not a finite number counts the same.
  • Tabbing out of a list, tag list or tree leaves tabIndex alone. kbq-list-selection, kbq-tag-list and kbq-tree-selection take themselves out of the tab order in the DOM only, so tabIndex reads the same value while the focus leaves, and then put back the tab stop they render. A tag list with a tag input renders no tabindex again instead of keeping -1, and a tree keeps a bound [tabIndex] when its rendered nodes change.
  • A subclass of KbqToastComponent, KbqPopUp or KbqPopUpTrigger sets its hover state with the protected setHovered(); one of KbqPipeSelectComponent drops its super.ngOnInit() call, and one of KbqDatepickerToggleIconComponent its super.ngAfterContentInit() and super.ngOnDestroy() calls, since the classes no longer implement them. The protected isListMode, showStartCalendar and showEndCalendar of the date pipes are signals, returnButton may be undefined (the back button renders only when the pipe template has values), and a date pipe template binds (keydown.tab) and (keydown.shift.tab) of its date inputs to onDateInputTab(), which hides the calendars before the browser moves the focus.
  • KbqFileItem keeps its loading and progress subjects, which the application updates.

v21-upgrade reports these reads, writes and super calls:

ng g @koobiq/components:v21-upgrade --project "<your project>"

The APIs deprecated in 20.x are removed in 21.0.0, those whose note promised removal in the next major release and those deprecated without a date alike. A renamed member or alias is rewritten by v21-upgrade; for the rest it reports the file and the replacement to use.

RemovedUse insteadMigration
the kbq-accordion-trigger__action classa kbq-accordion-header__actions element next to the trigger in kbq-accordion-headerreported

An action inside the trigger is a focusable element inside a role="button", so the actions move out of the trigger: see Interactive elements. v21-upgrade reports the class in templates, style sheets and code.

RemovedUse insteadMigration
canLoad on <kbq-code-block>canDownloadrewritten
codeFiles on <kbq-code-block>filesrewritten
KbqCodeBlock.canLoadInput / .codeFilesInputcanDownload() / files()reported
KbqCodeBlock.scrollableCodeContentscrollTo(options)reported
small on an icon buttonsize="compact"rewritten
the kbq-icon-button_small classkbq-icon-button_compactrewritten
KbqIconButton.smallsize ('compact' / 'normal')reported

The aliases no longer fill in for their replacements: a <kbq-code-block> that binds both canLoad and canDownload, or both codeFiles and files, is reported and has to merge each pair into one binding. So is one that binds canDownload or files twice, which is what the 20.0.0 migration made of such a pair: only the last binding takes effect. A bound [small]="expr" becomes [size]="(expr) ? 'compact' : 'normal'". A valueless small never took effect, because the input had no boolean transform; it is reported, as is a static small with any other value than "true", which made the button compact.

RemovedUse insteadMigration
KbqThemeSelector.DefaultKbqThemeSelector.Lightrewritten
KbqThemeNames.DefaultKbqThemeNames.Lightrewritten
KbqDefaultThemesKBQ_DEFAULT_THEMESrewritten
KbqThemeKbqThemeConfig: colorScheme is required, selected is gonerewritten, reported
ThemeServiceKbqThemeServicereported
ThemeService.current / .getTheme()currentTheme(), a signalreported
ThemeService.themesthemes() / setThemes()reported
ThemeService.setTheme(theme)setMode(theme.colorScheme), or selectTheme(theme.name) to pin a themereported
getOptionScrollPosition()KbqOption.focus() or kbqFocusAndReveal(element): both scroll into viewreported

v21-upgrade reports ThemeService and getOptionScrollPosition where they are imported from @koobiq/components/core, and every file that names KbqTheme. Give each custom theme its colorScheme and compare a theme with currentTheme() instead of reading selected. Unlike ThemeService, KbqThemeService applies a theme as soon as it is injected and starts in 'auto' mode: an app that called setTheme() at startup to force a theme sets kbqThemeProvider({ mode: 'light' }) instead. The rest of the service is described in the theme service review below.

RemovedUse insteadMigration
KbqDropdown.triggerWidth, KbqDropdownPanel.triggerWidthKbqDropdownTrigger.widthOrigin, to match the panel to an element other than the triggerreported
offsetY of KbqSelect, KbqTreeSelect, KbqTimezoneSelectthe --kbq-connected-overlay-gap CSS variable, set on :root or on the overlay panereported
AUTOCOMPLETE_PANEL_HEIGHTa constant of your own: the panel is capped by --kbq-autocomplete-size-panel-max-heightreported
DropdownPositionX / DropdownPositionYKbqDropdownPositionX / KbqDropdownPositionYrewritten
KbqSelectPanelWidth, KbqTreeSelectPanelWidthKbqPanelWidth from @koobiq/components/corerewritten
clearValue() of KbqSelect, KbqTreeSelect, KbqTimezoneSelecta projected <kbq-cleaner />; from code, reset the bound form controlreported
the kbq-dropdown__group-header_small class<kbq-optgroup label="…" />, KbqOptgroup from @koobiq/components/corereported

None of the removed members was an input, so no template binds them, and of triggerWidth, offsetY and AUTOCOMPLETE_PANEL_HEIGHT only offsetY of kbq-timezone-select still had an effect: it moved the panel. v21-upgrade reports .triggerWidth in a file that uses the dropdown, triggerWidth in a KbqDropdownPanel implementation, .offsetY in a file that uses one of the selects and an offsetY field of their subclass; the offsetY input of KbqDropdownTrigger stays. It renames the position types in a file that names @koobiq/components/dropdown and moves the panel width types to the core import; the position types elsewhere, an aliased import and a re-export are reported. .clearValue is reported in a file that uses one of the selects, except on this and on a form field, whose clearValue() stays; like the cleaner, it spared the options clearPredicate keeps, while a reset control loses them all. <kbq-optgroup> renders the subheading of the removed modifier inside a dropdown; kbq-dropdown__group-header itself stays.

RemovedUse insteadMigration
KbqFilterBarRefresherKbqFilterRefresherrewritten
KbqFilterBar.changesfilter() read in an effect(), or the (filterChange) output: changes never emittedreported
KbqPipeMinWidth (kbqPipeMinWidth)nothing: a pipe lays its name and value out as shrinkable grid tracks, which keeps a short part intactremoved; other uses reported
KbqPipe.requiredcleanable: false and removable: false: the filter bar never read requiredreported

v21-upgrade reports .changes in a file that names KbqFilterBar. It removes KbqPipeMinWidth from the @koobiq/components/filter-bar import and from imports arrays and the kbqPipeMinWidth attribute from templates, and reports any other reference to the directive. It reports a read of data.required in a custom pipe, and a required key only in an object literal that also has cleanable, removable or type: KbqPipeTypes.…: the required of a form config or a validator in the same file is left alone.

RemovedUse insteadMigration
KbqPasswordHint (<kbq-password-hint>)KbqReactivePasswordHint (<kbq-reactive-password-hint [hasError]="…">)reported
PasswordRulesPasswordValidators from @koobiq/components/core, or a ValidatorFn of your ownreported
regExpPasswordValidatorValidators.pattern or a ValidatorFn of your ownreported
hasPasswordStrengthError()the errors of the form controlreported
the passwordStrength error the form field set on the controlthe errors of the password validatorsreported
KbqFormField.passwordHints / .hasPasswordHintviewChildren(KbqReactivePasswordHint)reported
KbqInputPassword.checkRules() / .checkRulecontrol.updateValueAndValidity() after changing the validatorsreported
KbqFormField.canCleanerClearByEscnothing: it was unusedreported
KbqFormField.onKeyDown()nothing: it was a no-opreported
KbqStepper.connectTo()nothing: the stepper finds the number input of its form field by itselfreported

KbqReactivePasswordHint shows the state it is given: put each rule on the form control as a validator and bind [hasError] to its error, for example control.hasError('minLength'). It has no counterpart of [rule], [min], [max], [regex], [checkRule] or [viewFormField], so place it inside the kbq-form-field, which links it to the control through aria-describedby. v21-upgrade reports the first four where they are imported from @koobiq/components/form-field, <kbq-password-hint> and its classes in templates and style sheets, a check of the passwordStrength error, .passwordHints, .hasPasswordHint and .onKeyDown() on a form field, every canCleanerClearByEsc, checkRules() in a file that uses KbqInputPassword, and connectTo() in a file that uses KbqStepper.

KbqCheckbox and KbqToggleComponent no longer implement ControlValueAccessor. The KbqCheckable host directive has been the value accessor of both, so forms never called their own members; [(ngModel)] and [formControl] work as before.

RemovedUse insteadMigration
KbqCheckbox / KbqToggleComponent.writeValue()checked = !!valuereported
.setDisabledState() of bothdisabled = isDisabledreported
.registerOnChange() of boththe (change) outputreported
.registerOnTouched() of boththe touched state of the bound form controlreported
KbqCheckbox.onTouchednothing: it was never calledreported
KBQ_CHECKBOX_CONTROL_VALUE_ACCESSORnothing: KbqCheckable registers itselfreported
TransitionCheckState from @koobiq/components/checkboxthe same enum from @koobiq/components/corerewritten

v21-upgrade reports these uses in a file that names either class or its tag, except calls on this. A call that has to stay can go to the host directive: viewChild(KbqCheckbox, { read: KbqCheckable }), with KbqCheckable from @koobiq/components/core. It moves TransitionCheckState from the checkbox import into the core one, and reports it imported under an alias, re-exported or read through a namespace import of the checkbox.

KbqToggleComponent.onLabelTextChange() does nothing now and is deprecated for removal in 22.0.0: delete the call. v21-upgrade reports it.

The protected KbqToggleComponent.currentCheckState is a Signal<TransitionCheckState> shared with the host KbqCheckable: a subclass reads it as currentCheckState() and changes it through the checked and indeterminate setters. v21-upgrade reports a read without the call in a subclass.

RemovedUse insteadMigration
longTitle on kbq-navbar-brandnothing: the brand switches to the two-line title when the title does not fit on one lineremoved, reported
KbqNavbarBrand.longTitle in codenothingreported
KbqNavbarItem.getTitleWidth()getOuterElementWidth() of the item's KbqNavbarTitle; the navbar itself collapses by getCollapsibleWidth()reported
KbqNavbarTitle.outerElementWidthgetOuterElementWidth()reported
KbqEllipsisCenterDirective.resizeStreamnothing: the shared ResizeObserver re-measures the hostreported
minWidth on <kbq-dl>verticalBreakpointrewritten
KbqDlComponent.minWidth in codeverticalBreakpoint()reported

[longTitle]="true" forced the compact title on a name that fits and false kept the default one for a name that does not; neither has a replacement. outerElementWidth held the width measured once on init and only fed getTitleWidth(). minWidth took precedence over verticalBreakpoint, so a <kbq-dl> that sets both keeps its minWidth and is reported: move the value into verticalBreakpoint. A [minWidth] that resolved to null or undefined left the decision to verticalBreakpoint, while [verticalBreakpoint] given such a value never switches to the vertical layout, so bind a number. v21-upgrade reports each renamed minWidth whose value is not a number literal.

The trigger inputs without the kbqPopover prefix are removed from KbqPopoverTrigger and KbqPopoverConfirmTrigger. The members they set — defaultPaddings, container, hasBackdrop, hasCloseButton, closeOnScroll and backdropClass — stay public, so code that reads or writes them keeps compiling.

RemovedUse insteadMigration
the hideIfNotInViewPort inputkbqPopoverHideIfNotInViewPortrewritten
the defaultPaddings inputkbqPopoverDefaultPaddingsrewritten
the container inputkbqPopoverContainerrewritten
the hasBackdrop inputkbqPopoverHasBackdroprewritten
the hasCloseButton inputkbqPopoverHasCloseButtonrewritten
the closeOnScroll inputkbqPopoverCloseOnScrollrewritten
the backdropClass inputkbqPopoverBackdropClassrewritten
KbqPopoverTrigger.hideIfNotInViewPort (signal)popoverHideIfNotInViewPort()reported
getKbqPopoverInvalidPositionError()nothing: an invalid placement warns and falls back to topreported

v21-upgrade rewrites bindings, static and valueless attributes only on an element that carries kbqPopover or kbqPopoverConfirm: other components, such as the dropdown and the select, have inputs of the same names. It reports a hostDirectives entry of KbqPopoverTrigger that exposes a removed input; expose the prefixed one instead, for example 'kbqPopoverHasBackdrop: hasBackdrop'.

RemovedUse insteadMigration
the arguments of koobiq-theme(), koobiq-typography() and kbq-core-theme()nothing: they were ignoredremoved; with nested () reported
kbq-contrast(), kbq-palette(), kbq-color()the CSS variables of the theme, for example var(--kbq-foreground-contrast)reported
kbq-typography-config()the --kbq-typography-* CSS variablesreported
@koobiq/components/core/styles/tokensthe modules it forwarded: @koobiq/design-tokens/web/variables, palette, typography and md-typographyreported
prebuilt-themes/light-theme.css, prebuilt-themes/dark-theme.cssprebuilt-themes/theme.cssrewritten
the md-h1…md-h6, md-body, md-body-mono, md-caption, md-table-cell and md-table-header classesthe kbq-md- class of the same name, for example kbq-md-h1rewritten, reported

The light and dark files were copies of theme.css, which holds both themes. v21-upgrade rewrites them in style sheets, code, templates and the styles of angular.json, and keeps a single theme.css where both were loaded. A theme map built only to pass to koobiq-theme(), such as kbq-light-theme($tokens), can go along with the argument: kbq-light-theme() and kbq-dark-theme() are deprecated and will be removed in 22.0.0, since nothing in the library reads their map. Read the CSS variables of the theme instead, for example var(--kbq-foreground-contrast); the migration reports both functions. The markdown classes are rewritten in class attributes, [class.…] bindings and selectors; in any other string, such as classList.add('md-h1') or [ngClass], they are reported.

Validation belongs to the <kbq-tag-list> control, so the validation members of the tag input are removed. A [formControl] or [ngModel] bound to <input kbqTagInputFor> keeps working: kbqAutocomplete drives the input through it.

RemovedUse insteadMigration
KbqTagInput.ngControlthe control you bound to the inputreported
KbqTagInput.triggerValidation()nothing: it was a no-op, and the tag list control revalidates on every changereported
KbqTagTextControl.ngControlnothing: the library never read it—

v21-upgrade reports these uses in a file that names KbqTagInput or binds its exportAs, except on this, and a subclass of KbqTagInput that mentions either member. KbqTagTextControl is not exported, and a control passed to KbqTagList.registerInput() that still declares ngControl keeps compiling: the member was optional.

RemovedUse insteadMigration
--kbq-toast-stack-size-margin-top--kbq-toast-stack-size-margin-verticalrewritten
--kbq-toast-stack-size-margin-right--kbq-toast-stack-size-margin-horizontalrewritten
KbqToastContainerComponent.dispatchScrollEventnothing: the container reports its own reflow through elementScrolled()reported

The removed properties already set both edges: -top also set the bottom margin of a stack at the bottom, and -right the left margin of a stack on the left. v21-upgrade renames them in style sheets, templates and code, and reports a file that declares both a removed and a new name: the new one used to win, after the rename the cascade decides.

RemovedUse insteadMigration
KbqTreeOptionChange.isUserInputnothing: the tree never set it, it was falsereported
the second argument of the KbqTreeOptionChange constructornothing: new KbqTreeOptionChange(option)reported

A check of isUserInput on a tree option change never passed: delete it with the branch it guarded. v21-upgrade reports .isUserInput in a file that names KbqTreeOptionChange, $event.isUserInput bound to an output of <kbq-tree-option>, and a second argument passed to the constructor or to super() in a subclass. The isUserInput of KbqOptionSelectionChange and of KbqTreeSelectChange stays.

Deprecated, removed in 22.0.0Use insteadMigration
(onSelectAll) on <kbq-tree-selection>(selectAllChange)rewritten
(onCopy) on <kbq-tree-selection>(copyChange)rewritten
(onSelectionChange) on <kbq-tree-option>(selectionChange)rewritten
KbqTreeSelection.onSelectAll, .onCopy in codeselectAllChange, copyChangereported
KbqTreeOption.onSelectionChange in codeselectionChangereported
KbqTreeNode.mostRecentTreeNodea query of the nodes, for example viewChildren(KbqTreeOption)reported

The replacements emit the same events. The onSelectAll and onCopy outputs of kbq-list-selection and the onSelectAll output of kbq-tree-select are not deprecated and stay.

v21-upgrade is registered for 21.0.0, so an ng update to that version runs it:

ng g @koobiq/components:v21-upgrade --project "<your project>"

With --fix false it only reports what it would change.

ThemePalette is removed from @koobiq/components/core: KbqComponentColors describes the colors the components support.

RemovedUse insteadMigration
ThemePalette.Error, .Warning, .SuccessKbqComponentColors.Error, .Warning, .Successrewritten
ThemePalette.Primary, .Secondary, .Info, .Defaultno color, or a member of KbqComponentColors the component supportsreported
ThemePalette.Emptyan unset colorreported
the ThemePalette typeKbqComponentColorsreported

Error, Warning and Success have the same values in both enums, so the rewrite changes nothing on screen. Primary, Secondary (Default is its alias) and Info set a kbq-primary, kbq-secondary or kbq-info class that no component styles, so such a component was drawn without its color rules; without a color it takes its default one. Empty is '', which also falls back to the default color, while KbqComponentColors.Empty is 'empty', a color of its own: do not swap one for the other.

v21-upgrade rewrites the three members and drops the ThemePalette import once nothing else names it. It reports every other use in a file that imports ThemePalette from @koobiq/components/core, including a field that hands the enum to a template. A re-export of ThemePalette from @koobiq/components/core is left as is and reported: KbqComponentColors has other members and values, so re-export it under its own name and migrate the files that import ThemePalette through it.

@koobiq/components/core drops the undocumented exports, members and Sass that nothing in the library used. They were never deprecated: most are leftovers of removed features or implementation details that leaked into the public API.

RemovedUse insteadMigration
POSITION_MAP, EXTENDED_OVERLAY_POSITIONS, POSITION_PRIORITY_STRATEGY, the twelve *_POSITION_PRIORITY listskbqPlacement on the trigger; copy a value you needreported
ARROW_BOTTOM_MARGIN_AND_HALF_HEIGHT, SELECT_PANEL_VIEWPORT_PADDING, NUMBER_FORMAT_REGEXP, isWithin()a value or function of your ownreported
KBQ_SELECT_SCROLL_STRATEGY_PROVIDERnothing: KBQ_SELECT_SCROLL_STRATEGY has a root default; provide the token itself to change itreported
KBQ_CHECKABLE_CONTROL_VALUE_ACCESSORnothing: KbqCheckable registers itselfreported
KbqHover(mouseenter) and (mouseleave), or :hoverreported
CanColorSignal<KbqComponentColors | string>, or KbqColorDirectivereported
KbqAnimationCurves, KbqAnimationDurationsconstants of your own: the library animates in CSSreported
KbqRectangleItem, countGroupLabelsBeforeOption()no replacementreported
KbqPopUp.markForCheck()nothing after updateClassMap() or a change of visibility, which re-render the pop-up; for another field, changeDetectorRef.markForCheck() in a subclass, instance.detectChanges() in a triggerreported
KbqPopUp.warning, .handleBodyInteraction(), the protected closeOnInteractionno replacement: warning did nothing, nothing called handleBodyInteraction(), and closeOnInteraction only gated itreported
KbqDecimalPipe.isSpecialFormatForRULocale(), KbqRoundDecimalPipe.roundingOptionsprivate now: the pipe arguments and the formatters locale configurationreported
KbqFormElement.isRowthe kbq-form__row class of the elementreported
KbqLineSetter and the kbq-2-line, kbq-3-line, kbq-multi-line classes of a list itemnothing: no style read themreported
KbqLine, KbqListItem.linesnothing: only lines read KbqLine, and nothing counted the lines; the kbq-line attribute still places an element in the text of a list itemreported
KbqSelectSearch.hasPlaceholder()the placeholder of the search inputreported
the mcListIcon attribute of a list itemkbq-list-iconrewritten
the mcLine attributekbq-linerewritten

The Sass that goes is reachable only through a deep import, since @koobiq/components forwards none of it:

  • the modules core/styles/functions (its index, number and string), typography/typography-utils, common/clearfix and common/popup;
  • kbq-markdown-typography-config(), the typography-utils getters (kbq-typography-level(), kbq-font-size()…), popup-params, input-placeholder, rtl-value() and kbq-typography-css-variables;
  • the timing variables of core/styles/functions/timing but $ease-out-circ, $ease-in-out-quad and $ease-in-out-circ.

For typography, use the --kbq-typography-* CSS variables or kbq-typography-level-to-styles-css-variables() of core/styles/common/tokens; copy anything else into your own styles. v21-upgrade reports each load and use. The compiled CSS also loses a few prefixes for browsers the library does not support: -ms-text-size-adjust, -ms-overflow-style, -moz- and -ms-user-select, the old flexbox display values and an @-moz-document copy of .layout-fill.

The documented core API that has a replacement is deprecated instead; v21-upgrade reports each use:

DeprecatedUse instead
the unprefixed date pipes (absoluteLongDate…durationShort), their ImpurePipe twins and BaseFormatterPipethe kbq* pipe of the same format with the same arguments, for example kbqAbsoluteLongDate: it follows a locale change
the mcHighlight pipe (KbqHighlightPipe)kbqHighlightBold (KbqHighlightBoldPipe)
isDigit()isNumberKey()
isBoolean()typeof value === 'boolean'
KbqMeasureScrollbarServiceelement.offsetWidth - element.clientWidth of the element that scrolls
FocusKeyManager.getFocusOrigin()the origin passed to setFocusOrigin()
dateInput of the datepicker locale configurationKBQ_DATE_FORMATS: nothing reads dateInput

The component entry points drop the exports, members and styles that nothing in the library used. They were never deprecated: most are leftovers of removed features or implementation details that leaked into the public API. v21-upgrade reports each use.

RemovedUse instead
normalizeSplitter(), isInt(), isDigit() of @koobiq/components/inputvalue.replace(/,/g, '.'), /^-?\d+$/.test(value); isFloat() stays
KbqTimeRangeTranslateTypeMapRecord<KbqTimeRangeType, KbqTimeRangeTranslationType>
KbqTabBodyOriginState'left' | 'right'
KbqDatepickerIntlnothing: no view rendered its labels; the texts come from kbqDatepickerLocaleConfigurationProvider()
KbqDropdown.onPanelReached()nothing: nothing subscribed to it
the protected KbqTreeSelection.getItemHeight()options.first?.getHeight() ?? 0
the protected KbqTreeSelection.setFocusedOption()this.keyManager.setActiveItem(option)
KbqTagList.tagSelectionChanges, .shouldLabelFloatthe selectionChange output of each tag; !empty() || focused()
KbqTreeNodeOutlet.changeDetectorRefChangeDetectorRef, injected where you need it

A subclass loses the protected members nothing read: changeDetectorRef of KbqAccordion, KbqAccordionItem, KbqPasswordToggle, KbqIcon and KbqSearchExpandable, KbqAccordionTrigger.nativeElement, KbqNotificationCenterComponent.dateAdapter, KbqFilters.styles, and isHorizontalOverflown, isVerticalOverflown and child of KbqTitleDirective. Inject what the subclass needs itself; isOverflown of the title covers both directions.

The styles lose the rules for classes nothing sets: kbq-control_has-validate-directive and kbq-form-field_has-validate-directive, left from the KbqValidateDirective removed in 20.0.0 (the form field, select and tree select show an error through their ErrorStateMatcher), and the kbq-no-select utility class: set user-select: none in your own styles.

KbqActionsPanelConfig.overlayContainer now names the element the panel is rendered into, rather than an anchor it was positioned against. The panel is pinned to the bottom center of that element and resizes with it.

What that changes for code already setting the option:

  • An element with overflow: hidden clips the panel, and one that scrolls its own content scrolls the panel away with it. At overflow: visible the entrance animation renders the panel below the element.
  • The element is mutated while the panel is open: it gains one child node holding the overlay, and a static element is promoted to position: relative, since the overlay is positioned against it.
  • maxWidth is no longer ignored when overlayContainer is set.
  • A globally provided OverlayContainer is bypassed while the option is set.

actions-panel-overlay-container is registered for 21.0.0, so an ng update to that version runs it:

ng g @koobiq/components:actions-panel-overlay-container --project "<your project>"

It only reports the call sites — there is nothing to rewrite, because the option is the same one and only its meaning changed.

@koobiq/components/splitter now resolves to a rewritten splitter: it lays panels out with CSS grid and adds per-panel size constraints, collapsing, snap points, full keyboard support and the WAI-ARIA separator pattern. The previous implementation — KbqSplitterComponent, KbqSplitterAreaDirective, KbqGutterDirective, KbqGutterGhostDirective, KbqSplitterModule and the Direction enum — moved to @koobiq/components/splitter/deprecated unchanged, and will be removed in 22.0.0.

Most unmigrated imports break loudly. KbqSplitterComponent, KbqSplitterAreaDirective, KbqGutterDirective, KbqGutterGhostDirective and Direction live at the /deprecated path only, so the build stops with TS2305: … has no exported member.

KbqSplitterModule is the silent one — it is the case this migration exists for. Both entry points export a class under that name, and the kbq-splitter selector exists on both sides, so an unmigrated import keeps compiling but now pulls in the rewritten splitter. That one projects kbq-splitter-panel children instead of [kbq-splitter-area] hosts and takes orientation rather than direction, so the group renders with no panels and no separators.

Templates need no changes of their own: once the import points at /deprecated, <kbq-splitter> with [kbq-splitter-area] hosts, direction, useGhost, hideGutters and gutterSize keeps working exactly as before.

splitter-deprecated-path is registered for 21.0.0, so an ng update to that version runs it:

ng g @koobiq/components:splitter-deprecated-path --project "<your project>"

It rewrites the @koobiq/components/splitter specifier to @koobiq/components/splitter/deprecated across every .ts file, and running it twice changes nothing. It does not move you onto the new splitter: that is separate manual work — areas become kbq-splitter-panel, direction becomes orientation, and sizes move from min-width and CSS flex onto the size and minSize inputs.

Until 21.0.0 an open dropdown, select or popover panel lowered the shared, app-wide .cdk-overlay-container from z-index: 1000 to 999 by adding a .cdk-overlay-container_dropdown class to it. The point was to let a panel slide under a sticky kbq-navbar / kbq-top-bar while the page scrolled. KbqDropdownTrigger.demoteOverlay turned that off for one trigger, and the KBQ_DROPDOWN_HOST marker token — provided by KbqNavbar and KbqTopBar — flipped its default to false so a dropdown inside the chrome would not end up behind its own trigger.

The whole mechanism was removed: the input, the token, the class and the stylesheet rule. It operated on the container rather than on individual overlays, so it could not lower a panel without lowering every other overlay — modals, sidepanels, toasts and tooltips included — and it did so from whichever component happened to open first.

Panels now render above kbq-navbar and kbq-top-bar instead of sliding under them. They open in the browser top layer (see Overlays in the top layer in Upgrade to Angular 21); with usePopover: false the overlay container stays at z-index: 1000, above the bars at 990.

The dropdown-demote-overlay schematic runs automatically:

ng update @koobiq/components@21

Or manually:

ng g @koobiq/components:dropdown-demote-overlay --project "<your project>"

The demoteOverlay attribute is removed from templates in all of its forms — demoteOverlay, demoteOverlay="false" and [demoteOverlay]="expr" — in .html files and in inline template: literals.

Template rules are applied to .ts files only inside inline templates, so a wrapper component that forwards the input keeps its own member:

// Before
@Component({
    template: `
        <button [kbqDropdownTriggerFor]="menu" [demoteOverlay]="demote">…</button>
    `
})
export class MyTrigger {
    @Input() demote = false;
}

// After — only the binding is removed; `demote` is now dead code the compiler points at
@Component({
    template: `
        <button [kbqDropdownTriggerFor]="menu">…</button>
    `
})
export class MyTrigger {
    @Input() demote = false;
}

{ provide: KBQ_DROPDOWN_HOST, … } entries of a provider array are removed, together with the KBQ_DROPDOWN_HOST import specifier they made invalid and a providers array the removal left empty.

Programmatic demoteOverlay access. A read or an assignment (this.trigger.demoteOverlay = false) is reported with a warning rather than rewritten — deleting a statement is not always safe, and the compiler flags it anyway. There is nothing to opt out of any more, so remove the line.

Providers the schematic could not rewrite. A provider declared outside a provider array (export const HOST_PROVIDER = { provide: KBQ_DROPDOWN_HOST, … };), or an inject(KBQ_DROPDOWN_HOST) call, is reported as a leftover KBQ_DROPDOWN_HOST warning. Remove it by hand.

.cdk-overlay-container_dropdown rules in your stylesheets are dead — the class is never applied now. This is reported as a warning. If the rule was an override neutralising the demotion, it is simply redundant.

Panels that used to slide under your sticky chrome now render on top of it. To get that back, mark the content area below kbq-navbar / kbq-top-bar with kbqOverlayLayer from @koobiq/components/core — see Panels under a sticky header. Unlike the demotion, it moves only the panels opened from inside that area: modals, sidepanels, toasts and tooltips stay above the bars.

kbq-select and popover panels inside kbq-navbar / kbq-top-bar are fixed by this release. They applied the demotion unconditionally and had no opt-out, so they rendered behind the very chrome that contained them. No action needed — this is the bug the removal fixes.

In version 21.0.0 KbqAppSwitcherTrigger moved selectedApp and selectedSite from a plain @Input() (plus a matching output()) to model(), and a review of the component removed several members that never did anything. Template bindings keep working — [selectedApp], [(selectedSite)] and (selectedAppChange) are unchanged — so only programmatic access and reads through a #ref="kbqAppSwitcher" template reference variable break.

MemberBeforeAfter
selectedApp@Input() propertyModelSignal<KbqAppSwitcherApp | undefined> — write via .set()
selectedSiteaccessor inputModelSignal<KbqAppSwitcherSite | undefined> — value changed
selectedAppChange / selectedSiteChangeoutput()the implicit outputs of the models above
header / footerpropertiesremoved
KbqAppSwitcherComponent.isTrapFocus / updateTrapFocus()public APIremoved
KbqAppSwitcherDropdownApp.getIcon()public methodremoved
KbqAppSwitcherComponent.activeSite / activeAppprotectedremoved: the context of the flyout's kbqDropdownContent template
KbqAppSwitcherListItem.collapsedpropertyModelSignal<boolean>
app / site inputs of KbqAppSwitcherListItem / -DropdownApp / -DropdownSiteoptional inputsinput.required signals

The changes are applied by the app-switcher-signals schematic (runs automatically):

ng update @koobiq/components@21

Or manually — for example, if you have already upgraded to 21.0.0. To preview without writing — --fix=false:

ng g @koobiq/components:app-switcher-signals --project "<your project>"

Reads and writes in TypeScript (for receivers annotated KbqAppSwitcherTrigger):

  • trigger.selectedApp → trigger.selectedApp(),
  • trigger.selectedApp = app → trigger.selectedApp.set(app),
  • trigger.selectedApp.name → trigger.selectedApp().name,
  • trigger.selectedAppChange.subscribe(fn) → trigger.selectedApp.subscribe(fn) — ModelSignal implements OutputRef, so the callback signature is identical

Reads through a template reference variable (#ref="kbqAppSwitcher", in external .html files and inline templates):

  • switcher.selectedApp → switcher.selectedApp()

All replacements are idempotent — an access already followed by (), .set, .update, .asReadonly or .subscribe is left alone, so running the schematic twice does not double the call.

Note that selectedApp() is typed KbqAppSwitcherApp | undefined. Where the old property was read as non-nullable, the compiler will now ask for a ! or a ?. — that narrowing is yours to place.

The schematic emits warnings for what cannot be rewritten safely:

selectedSite is not rewritten, because its value changed. The old getter returned the site with its applications already grouped for rendering; the model returns the value that was passed in. Read trigger.selectedSite() for the raw site and trigger.parsedSelectedSite() for the grouped one, and write with trigger.selectedSite.set(site). selectedSiteChange is now the model's implicit output and emits the raw site as well.

selectedAppChange.emit(app): no longer an emitter → trigger.selectedApp.set(app).

header / footer: removed. The popup never rendered either, so the value was pushed into the overlay and dropped — delete the usage.

isTrapFocus / updateTrapFocus(): removed from KbqAppSwitcherComponent. Its template never bound [cdkTrapFocus], so neither did anything.

activeSite / activeApp of a KbqAppSwitcherComponent subclass: removed. Each flyout of another site or group reads its site and app from the context of its kbqDropdownContent template, which kbqDropdownTriggerData fills.

KbqAppSwitcherDropdownApp.getIcon(): removed. Inline markup is sanitized by KbqAppSwitcherIconSanitizer and rendered by the component itself.

Inline icon markup is now sanitized against a strict SVG allow-list before it is rendered: <script>, <style>, <foreignObject>, HTML elements, every on* handler and any reference to an external resource are removed, and markup that changes shape when re-parsed is dropped entirely — in which case the row falls back to iconSrc. Check any icon that relies on those; prefer iconSrc for icons that come from a server.

The schematic does not cover the following changes — check them yourself:

KbqAppSwitcherModule no longer provides FocusTrapFactory / FOCUS_TRAP_INERT_STRATEGY. The app-switcher never rendered a focus trap, and those providers are injector-wide: they replaced the CDK inert focus-trap strategy with a no-op for every other focus trap in the same scope. If your application relied on that, provide them explicitly where they are actually needed.

defaultGroupBy now identifies a synthetic app group by its type name instead of an empty id.

The popup hides itself when it scrolls out of an ancestor marked kbq-hide-nested-popup (a tab body, for example). The guard that used to suppress this never passed, so the behaviour is effectively new.

The schematic matches receivers by explicit type annotation only, so aliases (const t = this.trigger; t.selectedApp) are left untouched — fix them by hand.

The review of [kbq-button] changed three unrelated things at once. Nothing here has a deprecation period — the old behaviour is simply gone — but only one of the changes stops your code from compiling.

Host attributes are now chosen by host tag. Until 21.0.0 a disabled button rendered disabled and aria-disabled="true", whatever the host element was. disabled is not a valid attribute on an anchor and was ignored by the browser, while aria-disabled on a native <button> merely repeated what the native attribute already said. Each host now gets the one that applies:

HostBeforeAfter
<button kbq-button [disabled]>disabled + aria-disabled="true"disabled
<a kbq-button [disabled]>disabled + aria-disabled="true"aria-disabled="true" + tabindex="-1" + .kbq-disabled
<button kbq-button>tabindex="0"no tabindex — a native button is already in the tab order
<a kbq-button> without hrefno rolerole="button" — it does not navigate, so it is announced as a button

A button group no longer overwrites what the button owns. KbqButtonGroupRoot propagated its kbqStyle and color to every nested button on each update, including buttons that set their own. It now treats such a button as the owner and leaves it alone. Its disabled became additive as well: disabling the group disables every child, but re-enabling it no longer enables a child that was disabled through its own input. The disabled getter reads boolean | undefined and stays undefined while the input is unbound, so an unbound group never force-enables anything.

Styles. Four physical border-radius mixins were removed in favour of logical ones, the .kbq-progress utility moved into kbq-core(), and two custom properties that nothing read were dropped.

The button-state-and-styles schematic runs automatically:

ng update @koobiq/components@21

Or manually:

ng g @koobiq/components:button-state-and-styles --project "<your project>"

The removed border-radius mixins are rewritten. border-right-radius, border-left-radius, border-top-radius and border-bottom-radius were removed from core/styles/common/_groups-mixins.scss and core/styles/common/_groups.scss (the latter re-exported through core/styles/common/_index.scss). An unmigrated stylesheet no longer compiles, which makes this the one mandatory mechanical change of the release:

// Before
@include border-right-radius(0);
@include groups-mixins.border-top-radius(var(--kbq-size-border-radius));

// After
@include border-inline-end-radius(0);
@include groups-mixins.border-block-start-radius(var(--kbq-size-border-radius));

The rewrite is anchored on @include, so a real CSS declaration (border-top-left-radius), a custom property (--border-top-radius) or a comment mentioning the old name is left alone.

This is not a pure rename. border-inline-end-radius follows dir, so under dir="rtl" it rounds the corners border-right-radius did not. That is the intent — the library moved its own group styling and its icon gaps the same way — but a physically-designed RTL layout will change.

Buttons that own an input inside a group are reported with a file and line number. The schematic parses your templates and reports a button only when it sits inside a group and declares its own kbqStyle, color or disabled:

<div kbqButtonGroupRoot [kbqStyle]="groupStyle">
    <button kbq-button [kbqStyle]="ownStyle">Reported — the group no longer wins here</button>
    <button kbq-button>Not reported — still inherits from the group</button>
</div>

Drop the binding if you wanted the group value, or keep it if you wanted the override. Both readings were possible before, which is why this is reported rather than rewritten.

KbqButtonGroupRoot and KbqButtonCssStyler API changes are reported as warnings. The group's disabled is now boolean | undefined; on the styler, nativeElement became readonly and icons is typed Signal<readonly KbqIcon[]> instead of readonly any[], so assignments and untyped member access stop compiling.

Selectors and assertions built on the disabled attribute. a[kbq-button][disabled] never matches now — use .kbq-disabled or [aria-disabled="true"]. Selectors targeting <button kbq-button> still work, but an aria-disabled selector on a native button no longer matches. A stylesheet that mentions both kbq-button and [disabled], and TypeScript calling getAttribute('disabled') / hasAttribute('disabled'), are reported.

.kbq-progress is emitted by kbq-core() only. It used to be shipped three times over — by button.css, toggle.css and dropdown-item.css — and is now emitted once, from the prebuilt theme. Importing core/styles/common/animation no longer emits the rule or its keyframes; they live in the kbq-progress() mixin. If you include the prebuilt theme you already have it; if you pull in per-component CSS without a theme, add @include animation.kbq-progress();.

The --kbq-button-icon-size-vertical-padding and --kbq-button-icon-size-content-padding custom properties were removed. Nothing read them even before 21.0.0, so an override was already inert — delete it. Icon buttons use --kbq-button-icon-size-horizontal-padding and --kbq-button-size-content-padding.

Custom locale data needs an a11y section. Locale data gained accessible names for the built-in icon-only buttons — the close buttons of modal, popover, sidepanel, content panel and notification center, the calendar navigation, and the inline-edit save and cancel. Data registered through KBQ_LOCALE_DATA or addLocale() without that section falls back to the ru-RU strings. Add the section, or provide kbqA11yLocaleConfigurationProvider(...).

Snapshot and DOM-query tests. Beyond the attribute table above, every [kbqDropdownTriggerFor] now renders aria-expanded, and the built-in icon-only buttons render a localized aria-label. Both are additions rather than removals, but they change rendered markup.

A dev-mode warning about unnamed icon buttons. An icon-only [kbq-button] with no aria-label, aria-labelledby, title or text now logs a warning in development builds. It is diagnostic only — nothing breaks — but it will point at your own buttons, since an icon carries no accessible name.

A button's color accepted any KbqComponentColors / ThemePalette value, but kbq-button-theme() only ever styled the pairs the design system defines:

kbqStyleSupported colors
filledcontrast, contrast-fade
outlinetheme-fade, contrast-fade
transparenttheme, contrast

Every other combination matched no rule at all, so the button fell through to the user-agent appearance — a grey OS button. The most visible case was transparent with no explicit color: the shared default was contrast-fade, which is not one of the two colors the transparent block styled.

Each style now carries its own default color, every style gained an unqualified fallback rule, and color was narrowed to four values. transparent defaults to contrast rather than contrast-fade: it paints neither fill nor border, so the color only picks the foreground, and the design system has no faded transparent variant.

The button-supported-colors schematic runs automatically:

ng update @koobiq/components@21

Or manually:

ng g @koobiq/components:button-supported-colors --project "<your project>"

An unsupported color written as a literal is removed from [kbq-button], kbq-button-group, [kbqButtonGroupRoot] and kbq-split-button hosts. The color="error", [color]="'error'" and bind-color="'error'" forms are handled, for the values error, warning, success, empty, primary, secondary and info:

<!-- Before -->
<button kbq-button color="error">Delete</button>

<!-- After -->
<button kbq-button>Delete</button>

The appearance does not change. The button already rendered in its style's default color: an unsupported color matched no theme rule, and the new unqualified rule resolves to exactly the tokens the default color branch resolves to. What is removed is a value that never had an effect — and the type error with it.

A color read from an enum member — [color]="colors.Error" — is reported with a file name and a line number, but not rewritten: the expression is not resolved, so the member name alone does not prove which enum it comes from. Remove the binding to keep the style's default, or pick a supported color. Programmatic assignments such as button.color = KbqComponentColors.Error are reported the same way.

Members typed KbqComponentColors / ThemePalette. The wide type no longer assigns to a button color binding — narrow it to KbqButtonColor:

type Action = {
    style: KbqButtonStyleInput; // was KbqButtonStyles | string
    color: KbqButtonColor; // was KbqComponentColors
};

Check values built inside Array.from / map callbacks separately: without a return-type annotation an enum member widens to the whole enum and stops assigning even when every value is supported.

Array.from({ length: 3 }, (_, i): Action => ({ color: KbqComponentColors.ContrastFade, style: '' }));

kbqOkType on KbqModalComponent and ModalOptions was narrowed from string to KbqButtonColor — it colors the predefined OK button.

Stylesheets targeting .kbq-button_transparent.kbq-contrast-fade are reported: the selector no longer matches, because a transparent button is contrast now. Point it at .kbq-contrast — or drop it, if it was a workaround for the transparent button rendering unstyled.

Changes with no textual signature. A transparent button with no explicit color renders in contrast instead of contrast-fade, and the color getter reads back accordingly. A style paired with a color the design system does not define renders in the style default instead of as a native button. KbqButtonGroupRoot no longer propagates a color it was never given — each nested button follows the default color of its own style, while a color bound on the group still overrides that default.

The review of kbq-button-toggle gave the control the semantics it always behaved with. A single-selection group is now announced as a radiogroup of radio buttons and navigated like one; a multiple group is announced as a group of toggle buttons.

SurfaceBeforeAfter
<kbq-button-toggle-group>no role, no way to name itrole="radiogroup", or role="group" with multiple; an aria-label is announced with it
<kbq-button-toggle-group>, radio groupno orientationaria-orientation, following vertical
inner <button>, single selectionno role, no staterole="radio" + aria-checked
inner <button>, multiple or standaloneno statearia-pressed
Tab in a single-selection groupevery toggle is a tab stopone tab stop — the selected toggle, or the first enabled one
arrow keysnothingmove focus and selection together; Home/End jump to the ends

Selection used to be readable from the .kbq-selected class alone, which assistive tech does not see. Tests that count tab stops, snapshot the rendered markup or drive the group with arrow keys will notice the difference.

An icon-only toggle needs a name. aria-label and aria-labelledby are now inputs of KbqButtonToggle and are forwarded to the inner button. A toggle that projects nothing but icons and has no name logs a dev-mode warning — diagnostic only, but it will point at your own markup, because an icon glyph is aria-hidden.

[kbq-button] no longer removes a role from a host that is not an anchor. The host binding used to write null over whatever the consumer authored. Anchors are unaffected: one without href is still announced as role="button".

The button-toggle-signals-and-aria schematic runs automatically:

ng update @koobiq/components@21

Or manually:

ng g @koobiq/components:button-toggle-signals-and-aria --project "<your project>"

Reads of the two inputs that became signals, on receivers annotated KbqButtonToggleGroup and through a #ref="kbqButtonToggleGroup" template reference variable (external and inline templates):

  • group.vertical → group.vertical(),
  • group.multiple → group.multiple()

Receivers are resolved within the file: an explicit type annotation, an import under an alias (KbqButtonToggleGroup as Group), and a viewChild() / contentChild() / inject() initialiser are all recognised, and a nested declaration of the same name shadows the group rather than being rewritten as one. What is left over is a receiver whose type lives in another file (const g = this.group; g.multiple), which is reported instead. Every replacement is idempotent.

Icon-only toggles with no accessible name are reported with their line number. Every <kbq-button-toggle> whose content holds an icon and no text at all, and that carries no aria-label / aria-labelledby, is listed. A title does not count: it stays on <kbq-button-toggle>, while the accessible name is computed for the inner <button> and the attribute never reaches it. The schematic cannot invent the text, but it finds the places the new dev-mode warning will fire in.

vertical and multiple are signal inputs. Template bindings are unchanged; reads and imperative writes are not:

A read gains a call; a write has nowhere to go, because an input() has no .set() — bind it in the template and drive the bound value:

// Before
group.vertical = true;
if (group.multiple) { ... }

// After
this.isVertical = true; // <kbq-button-toggle-group [vertical]="isVertical">
if (group.multiple()) { ... }

emitChangeEvent() takes the toggle the change came from. It used to read the source off the selection, which is empty right after the last toggle of a multiple-selection group is unchecked — KbqButtonToggleChange.source came out undefined there, against its own type. The group passes the interacted toggle now; a call of your own has to do the same:

// Before
group.emitChangeEvent();

// After
group.emitChangeEvent(toggle);

Members that were never meant to be public are gone or narrowed. buttonToggleGroup is protected (it was typed non-null while being null for a standalone toggle), icons is private, and the dead mcButton view query was removed. Use focus(), which now focuses the inner button instead of the non-focusable host, or the new focusViaKeyboard().

type and iconType are read-only getters rather than writable fields, and type follows multiple at runtime instead of being frozen in ngOnInit.

Types tightened. selected is KbqButtonToggle | KbqButtonToggle[] | null, buttonToggles() is readonly KbqButtonToggle[], onTouched and registerOnTouched take () => void, and KBQ_BUTTON_TOGGLE_GROUP_VALUE_ACCESSOR is a Provider. value stays any.

disabled on a standalone toggle is a real boolean. It used to return the group it could not find — null — whenever the toggle was not disabled itself. Falsy either way, but === false and typeof checks behaved differently.

tabIndex defaults to null instead of undefined, which is what its declared type always said.

markForCheck() on a toggle is no longer called by the library. A toggle derives checked and disabled from signals owned by its group and re-renders on its own. The method is kept for back-compatibility.

A value that matches no toggle is kept instead of being dropped. The group used to report whatever was selected, so an assignment made before the toggles were rendered — or naming a toggle that never appears — came back out as an empty selection, wiping a [(value)] model and leaving an NG0100 behind. The assigned value now stays reported until a toggle takes it, the same contract KbqRadioGroup documents, which means it is applied to a toggle rendered later:

<!-- `group.value` is 'blue' from the start; the toggle picks it up when `show` turns true -->
<kbq-button-toggle-group [(value)]="color">
    @if (show()) {
    <kbq-button-toggle [value]="'blue'">Blue</kbq-button-toggle>
    }
</kbq-button-toggle-group>

It follows that value can name a toggle selected does not hold — selected only ever reports toggles that exist, so it stays null (or []) while the value waits. Code that read group.value as proof of a selection has to check group.selected instead. A user interaction replaces the waiting value, and so does the toggle holding it leaving the selection.

valueChange no longer echoes a value that was just assigned. It fires when the group's value actually changes, not for every write: assigning what the group already reports, or what it answers with unchanged, emits nothing. That is what stops a two-way binding from being written back over. Code that used (valueChange) as an "assignment happened" signal, or a test counting emissions during init, needs re-checking — (change) still fires per interaction.

Changing the value of the selected toggle changes the value of the group. The group follows it and reports it through valueChange, so [(value)] stays in step; a form control keeps its value until the user picks a toggle, as for any change made from code.

The group implements OnDestroy and no longer emits after teardown. A selected toggle schedules its own removal from the selection on a microtask, which used to outlive the group and reach it with a valueChange once the whole group had already been destroyed. The group ignores that late sync now. A test asserting the old emission, or code that relied on it to clean up after a destroyed group, needs re-checking.

Styles. The keyboard-focus border-color is set by the theme alone, from --kbq-button-toggle-item-states-focused-outline; the structural stylesheet no longer declares it from the raw --kbq-states-line-focus-theme token, so overriding the component token works regardless of import order. The theme also stopped targeting .kbq-icon-button, a class KbqButton never emitted, in favour of .kbq-button-icon.

The review of <kbq-form-field> finished the move of the container and the hint family to signals, gave the icon-only cleaner and password toggle real button semantics, and removed the deprecated mixinColor. Most of it stops your code from compiling, but the accessibility part changes rendered markup silently.

The content queries and their has* getters are signals. control, stepper and connectionContainerRef were already signals and are unchanged; everything else moved in this release:

MemberBeforeAfter
cleaner, passwordToggleT | nullSignal<T | undefined>
hint, prefix, suffixQueryList<T>Signal<readonly T[]>
hasCleaner, hasHint, hasPasswordToggle, hasPrefix, hasStepper, hasSuffixgetterSignal<boolean>
hasError, hasLabel, hasReactivePasswordHintprotected getterprotected signal

passwordHints and hasPasswordHint were removed together with KbqPasswordHint: see Form field under Deprecated API removal (21.0.0).

The hint inputs are signals. fillTextOff and compact became signal inputs on KbqHint and everything that extends it — KbqError and KbqReactivePasswordHint. Template bindings ([fillTextOff], [compact]) are unaffected.

The cleaner and the password toggle are buttons now. Both were focusable graphics with no role and no accessible name. <kbq-cleaner> renders role="button" and a localized aria-label, and activates on Space as well as Enter. The toggle's icon renders role="button", an aria-label that follows the state ("Show password" / "Hide password") and aria-pressed. Because the cleaner now owns the aria-label host binding, an [attr.aria-label] written by hand is overwritten — it has to move to the new [aria-label] input.

The form field describes its control. Hints and the error are linked to the control through aria-describedby, kbq-error renders role="alert", and KbqInput / KbqInputPassword / KbqSelect render aria-invalid (KbqSelect also renders aria-required). Nothing here breaks a build — it changes rendered markup.

mixinColor was removed. It was deprecated, unused inside the library, and logged a dev-mode warning on every instance. KbqColorDirective replaces it and exposes the same color input.

KbqFormFieldControl is signal-based. The form field used to re-check its control whenever the control emitted stateChanges. Now value, id, placeholder, focused, empty, required, disabled and errorState are signals, stateChanges is gone, and the form field derives its own state from them. The built-in controls expose that state as signals too: KbqInput, KbqInputPassword, KbqTextarea, KbqSelect, KbqTreeSelect, KbqTimezoneSelect, KbqTagList, KbqTimepicker and KbqDatepickerInput. Their errorStateMatcher is a signal input. Template bindings ([value], [disabled], [placeholder], [required], [id]) are unaffected.

The form-field-signals schematic runs automatically:

ng update @koobiq/components@21

Or manually:

ng g @koobiq/components:form-field-signals --project "<your project>"

Reads of the migrated members become calls, both in TypeScript and through a template reference variable:

// Before
if (formField.hasCleaner && formField.hint.length && hint.fillTextOff) {
}

// After
if (formField.hasCleaner() && formField.hint().length && hint.fillTextOff()) {
}
<!-- Before -->
<kbq-form-field #field="kbqFormField">…</kbq-form-field>
<span>{{ field.hasHint }}</span>

<!-- After -->
<span>{{ field.hasHint() }}</span>

A receiver is matched by its explicit type annotation (KbqFormField, KbqHint, KbqError, KbqReactivePasswordHint) — parameters, class fields including content queries, constructor parameter-properties and typed locals.

Reads of a control's state become calls, and a write goes through .set() where the member stays writable: disabled on KbqSelect, KbqTreeSelect, KbqTimezoneSelect, KbqTagList, KbqTimepicker and KbqDatepickerInput (select.disabled = true → select.disabled.set(true)), value on KbqInput, KbqInputPassword, KbqTextarea, KbqTagList, KbqSelect and KbqTimezoneSelect. A value set on a select selects its options on the next change detection and does not emit valueChange. A template reference variable on <kbq-select>, <kbq-tree-select>, <kbq-timezone-select> or <kbq-tag-list> is migrated too.

The cleaner's accessible name moves to the input: <kbq-cleaner [attr.aria-label]="label" /> → <kbq-cleaner [aria-label]="label" />.

The misspelled stylesheet is renamed: _fiedset-theme.scss became _fieldset-theme.scss, so @use '…/form-field/fiedset-theme' is rewritten.

The QueryList API is gone. hint, prefix and suffix are signals over a readonly array, so .changes, .first, .last, .toArray() and .get(i) no longer exist. React to the queries with computed() / effect() instead of subscribing to .changes, and index the array directly. Every occurrence is reported with its file.

cleaner and passwordToggle return undefined, not null. A strict === null comparison silently stops matching — use a truthiness check or == null.

Assignments to fillTextOff and compact no longer compile. They are read-only signal inputs; drive them with a template binding.

Assignments to the KbqFormField content queries no longer compile either — cleaner, passwordToggle, hint, prefix and suffix are read-only signals. cleaner was writable only because of an internal workaround, which is gone; the rest were a QueryList, which test code used to reassign to fake the projected content. Project the content into the form field instead.

hovered and onHoverChanged() were removed. Nothing read them, and their pointer listeners ran change detection on every hover. Bind (mouseenter) / (mouseleave) on <kbq-form-field> yourself, or style with :hover. Each use is reported with its file.

KBQ_FORM_FIELD_REF.control is typed. It used to be any, so formField.control.placeholder compiled and was silently undefined — the library had exactly that bug. Call the signal first: formField.control().placeholder() — the control's state is a signal as well.

A custom form field control has to expose signals. Implement each state member as a Signal — an input(), a computed() or a signal() the control writes — and drop stateChanges: the form field no longer subscribes to anything. Code that subscribed to control.stateChanges reads the signals in a computed() or an effect() instead.

// Before
export class ColorInput implements KbqFormFieldControl<string> {
    readonly stateChanges = new Subject<void>();
    focused = false;
    // value, id, placeholder, empty, required, disabled and errorState as plain properties

    onFocus() {
        this.focused = true;
        this.stateChanges.next();
    }
}

// After
export class ColorInput implements KbqFormFieldControl<string> {
    private readonly focusedState = signal(false);
    readonly focused = this.focusedState.asReadonly();
    readonly placeholder = input<string>();
    // value, id, empty, required, disabled and errorState as signals too

    onFocus() {
        this.focusedState.set(true);
    }
}

The rest of a control's state is read-only. Assignments to placeholder, required and id no longer compile, nor do assignments to disabled on the native-element controls and to value on KbqTreeSelect, KbqTimepicker and KbqDatepickerInput: bind them in the template, or set the value through a form control. Each write is reported with its file.

KbqInputPassword.elementType is a read-only signal. It was a writable string; it is a Signal<'text' | 'password'> now, and only toggleType() changes it. A read becomes a call — the schematic rewrites password.elementType to password.elementType(), also through a #ref="kbqInputPassword" — and an assignment no longer compiles: call toggleType() to show or hide the password. Each write is reported with its file.

A custom KBQ_INPUT_VALUE_ACCESSOR or KBQ_TEXTAREA_VALUE_ACCESSOR may build a new object on every read of value. KbqInput, KbqInputPassword and KbqTextarea take an object value as changed only together with a change of the element's text; a primitive value is compared as it is. An accessor whose object changes while the text stays the same hands it over with value.set() of the control.

The error state helpers changed with it. KbqErrorStateTracker no longer takes a stateChanges subject, and its errorState — like CanUpdateErrorState.errorState — is a Signal<boolean>; CanUpdateErrorState no longer declares errorStateMatcher. The deprecated mixinErrorState and CanUpdateErrorStateCtor were removed. KbqIconErrorStateContext is signal-based too, and so are id, placeholder, focused and empty of KbqTagInput: their reads become calls, a write is reported.

KbqInput, KbqInputPassword, KbqTextarea, KbqSelect, KbqTreeSelect and KbqTagList compute their error state with that tracker, which takes defaultErrorStateMatcher, parentForm and parentFormGroup when the control is created: assigning one of those fields afterwards has no effect, so provide an ErrorStateMatcher or bind errorStateMatcher instead. A matcher that returns null or undefined reports false.

KbqDatepicker is no longer a form field control. It provided the contract without implementing it; the form field now always finds the kbqDatepicker input. The input renders its id now, so the form field label is associated with it.

Custom locale data needs three more a11y keys — clear, showPassword and hidePassword — for the accessible names of the cleaner and the password toggle. A locale object literal without them stops type-checking; data registered through KBQ_LOCALE_DATA falls back to the ru-RU strings.

Stylesheets that fought !important. .kbq-form-field_no-borders and .kbq-form-field_in-overlay used !important to beat the state theme; they now override the --kbq-form-field-* tokens instead. The computed result is the same, but an override written specifically to outrank the old !important can be simplified.

KbqThemeService replaces ThemeService: its state is signals, it has a built-in auto mode that follows the OS color scheme, and it persists the selection out of the box. ThemeService, KbqTheme and KbqDefaultThemes are removed in the same release: see Core under Deprecated API removal (21.0.0) for what v21-upgrade rewrites and reports.

current and getTheme() become signals. currentTheme() is the active KbqThemeConfig, the former current.value; colorScheme() is its strictly 'light' | 'dark' polarity — reach for this, not a theme's name, when you just need to know which of the two you're in (e.g. driving CSS light-dark()); mode() is the selected mode: 'light', 'dark' or 'auto'.

// Before
themeService.current.pipe(map((theme) => theme?.className)).subscribe(...);

// After
themeService.currentTheme(); // read directly, or wrap with toObservable() if you need a stream

setTheme(index | theme) gives way to setMode() and selectTheme(). Selecting by array index was fragile once auto stopped being a regular registered theme. setMode('light' | 'dark' | 'auto') selects by polarity and toggle() switches between light and dark. selectTheme(name) pins one registered theme by name over the mode until selectTheme(null), setMode() or toggle(); staticTheme() reads the pinned name.

auto mode is handled inside the service. If you were reading window.matchMedia('(prefers-color-scheme: …)') yourself and rewriting a theme's className to fake a "system" option (as the docs app used to), call themeService.setMode('auto') instead and read currentTheme()/colorScheme() — the OS listener and the DOM update are both handled internally now. 'auto' is the default mode.

Persistence is on by default. The mode and the pinned theme are saved to localStorage (key kbq-theme-mode by default) and restored on init through the KBQ_THEME_STORE token, the same swappable-store pattern as KBQ_STATE_STORE. If you rolled your own persistence under a different key (as the docs app did, under docs_theme), configure kbqThemeProvider({ storageKey: '…' }) instead of dropping it — existing users keep their saved preference, provided the old value was already a mode ('light', 'dark' or 'auto'). If your old storage held something else (an index, a boolean, …), write a small KbqThemeStore wrapping KbqThemeLocalStorageStore that translates what getMode() returns before handing it back. KbqThemeCookieStore is also available for apps that render with live Angular SSR and want the initial server-rendered HTML to already reflect the visitor's saved selection — read its doc comment first, since it doesn't help a build-time prerendered/static site.

Custom themes and DI-based setup. setThemes() accepts an array of KbqThemeConfig objects, { name, className, colorScheme }. colorScheme ('light' | 'dark') is required: it is each theme's own polarity, independent of its name, and a mode resolves to the first registered theme whose colorScheme matches it; colorScheme() and toggle() key off it too. New: kbqThemeProvider({ themes, mode, theme, storageKey }) configures the service through DI instead of calling setThemes()/setTheme() imperatively; theme pins a theme by name until the user selects something. The active theme is always applied as a CSS class on <body> — the design tokens' .kbq-light/.kbq-dark styles depend on it, so there's no attribute-based alternative.

Until 21.0.0 every directly projected element with kbq-icon was placed before the tag text, regardless of its position in the template. This implicit rule made icon placement depend on the component's projection selector and made the markup easy to break. Tag content now has explicit kbqTagPrefix and kbqTagSuffix slots:

<kbq-tag>
    <i kbqTagPrefix kbq-icon="kbq-circle-info_16"></i>
    Tag
    <i kbqTagSuffix kbq-icon="kbq-chevron-down-s_16"></i>
</kbq-tag>

kbqTagRemove and kbqTagEditSubmit are suffix controls already: KbqTagSuffix is attached to them through hostDirectives. Do not add kbqTagSuffix to the same element explicitly, because that applies the directive twice.

The tag-slots schematic runs automatically:

ng update @koobiq/components@21

Or manually — for example, if you have already upgraded to 21.0.0:

ng g @koobiq/components:tag-slots --project "<your project>"

To preview the changes without writing them, use --fix=false:

ng g @koobiq/components:tag-slots --project "<your project>" --fix=false

The schematic adds kbqTagPrefix to every legacy, directly projected kbq-icon that is not already assigned to a slot and is not a remove or edit-submit control:

<!-- Before: the info icon rendered before the text despite its source position. -->
<kbq-tag>
    Tag
    <i kbq-icon="kbq-circle-info_16"></i>
    <i kbqTagRemove kbq-icon="kbq-xmark-s_16"></i>
</kbq-tag>

<!-- After: rendering is preserved by an explicit slot. -->
<kbq-tag>
    Tag
    <i kbqTagPrefix kbq-icon="kbq-circle-info_16"></i>
    <i kbqTagRemove kbq-icon="kbq-xmark-s_16"></i>
</kbq-tag>

Source order is not used to infer a suffix: under the old projection rule all such icons were prefixes. Existing kbqTagPrefix, kbqTagSuffix, kbqTagRemove and kbqTagEditSubmit attributes are left unchanged, so the migration is idempotent.

Intentional trailing content. Add kbqTagSuffix yourself when an icon or another element should follow the label. The schematic cannot infer a new visual intent from markup whose old rendering always placed kbq-icon before the label.

Content outside the legacy icon selector. Elements with only kbq-icon-button or kbq-icon-item, nested consumer wrappers and nodes with ngProjectAs are left unchanged because they were not directly matched by the old kbq-icon slot. Review them only if you want to move them to one of the new slots.

Standalone imports. KbqTagsModule exports both slot directives. If a standalone component imports KbqTag directly instead of the module, also import KbqTagPrefix and/or KbqTagSuffix when using them; otherwise their host classes and slot spacing are not applied.

Deprecated imperative placement and styles. Replace calls to addClassModificatorForIcons() with explicit slot directives, and migrate custom selectors from .kbq-icon_left to .kbq-tag-prefix. The method and the old selector are deprecated and will be removed in 22.0.0.

Until 21.0.0, @koobiq/components/scrollbar wrapped the third-party overlayscrollbars library: the KbqScrollbar component (kbq-scrollbar / [kbq-scrollbar]) and the low-level KbqScrollbarDirective ([kbqScrollbar]), with options, events, defer inputs and raw access to scrollbarInstance.

As of 21.0.0, @koobiq/components/scrollbar provides a new dependency-free KbqScrollbar component with the <kbq-scrollbar> selector and a different public API. The previous implementation has not gone away — it moved, unchanged, to @koobiq/components/scrollbar/deprecated and will be removed in 22.0.0.

The scrollbar-deprecated-path schematic runs automatically:

ng update @koobiq/components@21

Or manually:

ng g @koobiq/components:scrollbar-deprecated-path --project "<your project>"

The @koobiq/components/scrollbar import path is rewritten to @koobiq/components/scrollbar/deprecated — in every .ts file, in both single- and double-quoted specifiers. The implementation itself and its public API (options / events / defer / scrollbarInstance, the kbq-scrollbar / [kbq-scrollbar] / [kbqScrollbar] selectors) are unchanged — only where you import them from changes.

// Before
import { KbqScrollbarModule } from '@koobiq/components/scrollbar';

// After
import { KbqScrollbarModule } from '@koobiq/components/scrollbar/deprecated';

Moving to the new implementation is a separate, manual migration, not just an import path change: the new component uses the <kbq-scrollbar> selector and does not support the [kbq-scrollbar] or [kbqScrollbar] attribute selectors. Its public API differs from the previous implementation — see the Scrollbar component documentation for details.

Do not import both the old and the new implementation into the same standalone component. Both use the kbq-scrollbar element selector, so Angular cannot choose a component unambiguously. During a gradual manual migration, keep old and new usage in separate components.

After fully moving to the new component and removing imports from @koobiq/components/scrollbar/deprecated, the overlayscrollbars dependency is no longer needed and can be removed:

npm uninstall overlayscrollbars

The global kbq-scrollbar class, styled by koobiq-theme(), and its variables are deprecated and will be removed in 22.0.0. Library components no longer carry the class, so these variables set on .kbq-scrollbar no longer reach the scrollbars of the autocomplete, code block, file upload, markdown, modal, popover, select, sidepanel, tabs, textarea or tree select. v21-upgrade reports the class, kbq-scrollbar-theme() and the variables the new scrollbar does not share.

Deprecated, removed in 22.0.0Use instead
the kbq-scrollbar class, kbq-scrollbar-theme()kbqNativeScrollbar on the element that scrolls, with kbqNativeScrollbarDescendants for the scrollbars inside it as the class did, or <kbq-scrollbar>
--kbq-scrollbar-size-track-dimension--kbq-scrollbar-track-size
--kbq-scrollbar-size-thumb-width--kbq-scrollbar-thumb-gap, the gap on each side of the thumb: (track size - thumb width) / 2
--kbq-scrollbar-size-thumb-min-size--kbq-scrollbar-thumb-min-size
--kbq-scrollbar-size-thumb-border-radiusnothing: the thumb takes --kbq-size-border-radius
--kbq-scrollbar-thumb-default-background, --kbq-scrollbar-thumb-hover-background, --kbq-scrollbar-thumb-active-backgroundthe same variables
--kbq-scrollbar-thumb-disabled-backgroundnothing: the new scrollbar has no disabled state
--kbq-scrollbar-track-default-background, --kbq-scrollbar-track-hover-background, --kbq-scrollbar-track-active-backgroundnothing: the class did not read them; the new scrollbar paints its track with --kbq-scrollbar-track-background
--kbq-scrollbar-track-default-border, --kbq-scrollbar-track-hover-border, --kbq-scrollbar-track-active-border, --kbq-scrollbar-size-track-padding-vertical, --kbq-scrollbar-size-track-padding-horizontalnothing: the class did not read them

Set the variables on the element that carries kbqNativeScrollbar or on <kbq-scrollbar>: their defaults are declared on that element itself, as with the class.

@koobiq/components/link now resolves to the KbqLink component with the [kbqLink] selector. It wraps the text itself and underlines only the text, while icons and the period ending a sentence go to the kbqLinkPrefix and kbqLinkSuffix slots. The external input adds the external link icon, the size input sets the size and the underline input the underline. The hover zone of a wrapped link covers the gap between its lines by itself. A link on any element but an <a> is a pseudo link by itself: it gets the button role and is pressed with Enter and Space. A click on a disabled link is stopped, a programmatic one included. The previous directive — KbqLink and KbqLinkModule with the [kbq-link] selector, whose markup needed the kbq-link__text wrapper and the kbq-link_external and kbq-text-with-dot classes — moved to @koobiq/components/link/deprecated unchanged and will be removed in a future major version.

An unmigrated import breaks silently, which is the case the migration exists for. Both entry points export KbqLink and KbqLinkModule, so the import keeps compiling but brings in the component with the [kbqLink] selector. The kbq-link attribute in the templates no longer matches anything, and the links lose their styles.

The link-deprecated-path schematic is registered for 21.0.0, so ng update to that version runs it on its own:

ng g @koobiq/components:link-deprecated-path --project "<your project>"

It rewrites the @koobiq/components/link specifier to @koobiq/components/link/deprecated in every .ts file. Templates need no changes: they keep working against the directive at its new path. Run it once, before moving anything to the component: it cannot tell an import pointed back at the component from an old one, and a second run moves that import to /deprecated again.

This is a separate, manual step: point the import back at @koobiq/components/link and rewrite the markup.

BeforeAfter
kbq-linkkbqLink
big / compactsize="big" / size="compact"
noUnderlineunderline="none"; nothing on a pseudo link, which got its underline on hover before too
multilineNothing: the hover zone of a wrapped link covers the gap between its lines by itself
pseudo on a <span>, a <button> or a <label>Nothing: such a link is a pseudo link anyway
<span class="kbq-link__text">Text</span>Text
An icon before the textThe icon with kbqLinkPrefix
An icon after the textThe icon with kbqLinkSuffix
class="kbq-link_external" and the kbq-north-east_16 iconexternal
class="kbq-text-with-dot" and <span>.</span><span kbqLinkSuffix>.</span>
A caption or other content that is not underlinedAn element with kbqLinkSuffix
<!-- Before -->
<a class="kbq-link_external" href="https://koobiq.io" target="_blank" kbq-link>
    <span class="kbq-link__text">Technical support center</span>
    <i kbq-icon="kbq-north-east_16"></i>
</a>

<!-- After -->
<a href="https://koobiq.io" target="_blank" kbqLink external>Technical support center</a>

external does not open the page in a new tab. That still takes target="_blank".

A pseudo link gets the button role. If you handled Enter and Space on it yourself, remove those handlers, call preventDefault() in them or give the element a role in the template: the component leaves a key that is already handled to its handler, and an element with a role of its own alone, together with its keyboard. A <button> and a <label> get neither the role nor the keyboard. A <span> that looked like a regular link is a pseudo link now, underlined only on hover; if it leads to a page, make it an <a> with a href.

The CSS modifiers changed. Styles written against the classes of the directive do not reach the component: kbq-link_compact and kbq-link_big became kbq-link_size_compact and kbq-link_size_big, kbq-link_no-underline became kbq-link_underline_none, the print attribute became data-print, and kbq-text-only, kbq-text-with-icon, kbq-link_multiline and kbq-link_print are gone, as are kbq-icon_left and kbq-icon_right on the icons inside a link. The links of KbqMarkdownService carry only the kbq-markdown__a class now.

What every link repeated goes into one provider. kbqLinkOptionsProvider sets the default size, the underline of links and pseudo links and useVisited for the whole application or for one injector.

The link is a component now. An element carries one component only, so <label kbqLink kbqFileLoader> fails with NG0300: put the link inside, <label kbqFileLoader><span kbqLink>Browse</span></label>. The link also renders its own content around what you project, so bind [innerHTML] on an element inside it rather than on the link.

The directive and the component can be moved one at a time. Their selectors differ, so both fit into one standalone component; the classes share their names, so one of the imports needs an alias: import { KbqLink as KbqLinkDeprecated } from '@koobiq/components/link/deprecated'.

The locale layer is fully typed now, every localized component takes its strings through one shared mechanism, and everything in that layer is named after the locale section it belongs to. Most of the renaming is done for you by the locale-configuration-providers schematic; what it cannot rewrite is listed below.

getParams() resolves the section type. A known section name returns its configuration type instead of any; a dynamically-built string still returns any, so existing call sites keep working.

const { selectAll } = localeService.getParams('select'); // KbqSelectLocaleConfiguration
localeService.getParams('selection'); // not a section - now a compile error

Custom locale data may be partial. addLocale() and KBQ_LOCALE_DATA accept any subset of KbqLocaleData and complete it from the shipped locale of the same id, or from KBQ_DEFAULT_LOCALE_ID for a new id. You no longer have to restate a whole locale to change one string, and a section you leave out can no longer surface as undefined at runtime. The two earlier notes about custom locale data needing an a11y section no longer apply — a missing section is filled in for you.

Signals alongside the observable. localeId(), data() and items() join changes, and params(section) returns a Signal of one section. changes keeps working; id and current are deprecated in favour of localeId() and data(). Prefer the signals: a signal read from a template registers on the reading view, so a runtime setLocale() reaches OnPush children that a subscription in the parent never marked dirty.

Configuration providers accept a partial, and now apply on top of the active locale. kbqA11yLocaleConfigurationProvider, kbqCodeBlockLocaleConfigurationProvider, kbqClampedTextLocaleConfigurationProvider, kbqActionsPanelLocaleConfigurationProvider and kbqTimeRangeLocaleConfigurationProvider now take only the keys you want to change. Previously the locale service took precedence over them, so an application that provided KBQ_LOCALE_SERVICE saw these providers ignored entirely; the keys you pass are now merged over the active locale and stay pinned across a runtime setLocale(), while the keys you leave out keep following it. Passing a full object still works and pins the whole section.

Component configuration tokens now supply defaults, not overrides. KBQ_VERTICAL_NAVBAR_CONFIGURATION, KBQ_NOTIFICATION_CENTER_CONFIGURATION, KBQ_APP_SWITCHER_CONFIGURATION, KBQ_SEARCH_EXPANDABLE_CONFIGURATION, KBQ_DATEPICKER_CONFIGURATION and KBQ_FILTER_BAR_CONFIGURATION used to beat the locale service outright. Every one of those components now reads the shared kbqInjectLocaleConfiguration helper, where the token carries the defaults and the active locale wins, so { provide: KBQ_<X>_CONFIGURATION, useValue: … } is silently ignored in any application that provides KBQ_LOCALE_SERVICE. Replace it with the matching kbq<X>LocaleConfigurationProvider(…), which registers a real override — ng update rewrites it for you. The same conversion dropped the externalConfiguration member from those components and made configuration read-only, and gave kbq-select, kbq-tree-select, kbq-tree-selection, kbq-timepicker, kbq-timezone-select and the number input the token-and-provider pair they never had. One behaviour fix rides along: an explicit [hiddenItemsText] binding on kbq-select and kbq-tree-select is no longer wiped by the next setLocale().

Everything in the locale layer is named after its section. The token is KBQ_<SECTION>_LOCALE_CONFIGURATION, its defaults KBQ_<SECTION>_DEFAULT_LOCALE_CONFIGURATION, the override helper kbq<Section>LocaleConfigurationProvider() and the type Kbq<Section>LocaleConfiguration — so navbar lost the VERTICAL_ its type never had, input the NUMBER_, and sizeUnits its kbqFilesizeFormatter… helper. The names in a 20.x release stay as deprecated aliases until 22.0.0; the schematic moves you onto the new ones. KBQ_INPUT_NUMBER_DEFAULT_CONFIGURATION is only reported, because it is the number slice of the section rather than the whole of it: read KBQ_INPUT_DEFAULT_LOCALE_CONFIGURATION.number, the same object. Removed outright, with no alias, and renamed by the schematic: KbqFilterBarConfiguration (now KbqFilterBarLocaleConfiguration), the Kbq*LocaleConfig types (now Kbq*LocaleConfiguration, with KbqNumberInputLocaleConfig becoming KbqInputNumberLocaleConfiguration) and kbqInjectKbqClampedLocaleConfiguration (now kbqInjectClampedTextLocaleConfiguration). The unused navbarIc locale section is gone too.

Reading and overriding no longer share a word. A component resolves its strings into localeConfiguration(), a signal — the member was called configuration on seven components and localeData aliased it on nine more, both removed. KbqTimezoneSelect inherits localeConfiguration from KbqSelect, so its own section is timezoneLocaleConfiguration(). Per-instance overrides go through [localeOverrides], keyed by locale section, on every localized component; file upload's [localeConfig] input and resolvedLocaleConfig() are removed in favour of it, as is KBQ_FILE_UPLOAD_CONFIGURATION.

Two narrowed types worth checking. KBQ_DATEPICKER_CONFIGURATION, KBQ_VERTICAL_NAVBAR_CONFIGURATION, KBQ_NOTIFICATION_CENTER_CONFIGURATION and KBQ_SEARCH_EXPANDABLE_CONFIGURATION used to be InjectionToken<unknown> and now carry their real type, so a value you provide for one of them is type-checked for the first time. And defaultUnitSystem on the exported *FormattersData constants is now the literal 'SI' rather than string; only code that assigns to it is affected.

The locale-configuration-providers schematic rewrites the configuration providers automatically:

ng update @koobiq/components@21

Or manually:

ng g @koobiq/components:locale-configuration-providers --project "<your project>"

Run it even if you upgrade by hand: a { provide: KBQ_<X>_CONFIGURATION, useValue: … } left behind is silently ignored at runtime rather than reported as a compile error. It renames the tokens, constants, providers and types for you. The removals it can only report — configuration, localeData, [localeConfig], resolvedLocaleConfig() — surface as compile errors whose messages already name the replacement.

Until 21.0.0 multiple on kbq-list-selection and kbq-tree-selection was a static host attribute read once in the constructor. It could not be bound, the mode was frozen for the lifetime of the component, and every value other than checkbox and keyboard fell through to multiple selection with checkboxes — so multiple="false" meant multiple.

It is now a real input with a closed set of values, and the mode can be changed at any time:

valuemode
multiple="checkbox"checkbox
multiple="keyboard"keyboard
multiple, multiple="true", [multiple]="true"checkbox
no attribute, multiple="false", [multiple]="false"single selection

Single selection is the default, so the way to ask for it is to leave the attribute off entirely. Anything else — multiple="single" included — falls back to single selection and is reported in the console in dev mode, where it used to enable multiple selection.

The list-tree-multiple-input schematic runs automatically:

ng update @koobiq/components@21

Or manually:

ng g @koobiq/components:list-tree-multiple-input --project "<your project>"

multiple="false" and multiple="single" → the attribute is removed. This is the one rewrite in this section that changes behaviour: both spellings used to enable multiple selection with checkboxes, and both now mean single selection, which is what an absent attribute already says. The migration assumes the author meant what they wrote. Each removal is logged as a behaviour change — if you actually wanted multiple selection, put multiple="checkbox" back.

Every other unrecognized value (multiple="multiple", multiple="yes", multiple="1", …) → multiple="checkbox", which preserves the behaviour, since any such value used to enable multiple selection. Both external .html and inline templates are covered; a dynamic [multiple]="expr" is skipped with a warning.

multipleMode is now an accessor rather than a plain field. Assigning to it rebuilds the SelectionModel instead of only relabelling the mode — CDK freezes multiplicity at construction, so the model has to be replaced. On a kbq-tree-selection rendered inside a kbq-tree-select the assignment throws getKbqTreeSelectionOwnedMultipleError: the select shares its model with the tree and subscribes to that instance, so it owns how many nodes may be selected. Bind multiple on the select instead. Switching only between checkbox and keyboard is still allowed there.

A mode change replaces the SelectionModel instance, so any code holding selectionModel.changed.subscribe(...) is left on the discarded one. Subscribe to the (selectionChange) output of the component, which survives the swap.

On kbq-tree-selection the reported value follows the mode — a bare value in single selection, an array in multiple selection. That was already true, but the mode could not change before; now it can, so the shape the form control holds changes with it. kbq-list-selection always reports an array and is unaffected.

Narrowing keeps the first selected item in render order and drops the rest, emitting selectionChange for each option it deselected and reporting the shortened value to the form control.

Components went through a full review in 21.0.0. Each review closed the members that were never part of the component's contract, moved inputs to signals where that was the point of it, and fixed the behavior it uncovered along the way. Only the changes that reach a consumer are listed here, so a component whose review changed nothing a consumer can see has no subsection below.

Every schematic named below runs automatically:

ng update @koobiq/components@21

Most of them report rather than rewrite: what replaces a removed member or a signal input is a decision — a template binding, a different member, or nothing at all — so they log the call sites they find and leave the code alone. Each subsection below names the schematic that covers it, where there is one, and says what, if anything, it changes for you. Run one on its own to get its report again:

ng g "@koobiq/components:<schematic-name>" --project "<your project>"

KbqAlert finished its move to signals and closed the members that were never part of its contract. Template bindings are untouched — [compact], [alertStyle] and [alertColor] bind exactly as before; what changed is programmatic access and one input's value.

alertColor was an asymmetric accessor: the setter took a color, the getter returned the CSS class built from it. Reading back an 'error' you had assigned gave you 'kbq-alert_error', so alert.alertColor === KbqAlertColors.Error was never true, and a single read-then-write stored the class into the color and produced kbq-alert_kbq-alert_error — a class no theme rule matches, so the alert lost its background. It is a read-only input signal now and reports the raw color.

MemberBeforeAfter
compactbooleanInputSignalWithTransform, booleanAttribute
alertStyleKbqAlertStyles | stringInputSignal<'default' | 'colored'>
alertColoraccessor pairread-only InputSignalWithTransform, value changed
icon / iconItem / button / title / control / closeButton / isColoredpublicprotected
PatternManual migration
.compact / .alertStyleRead them as calls — alert.compact(); the value is unchanged
.alertColoralert.alertColor() reports 'error', not 'kbq-alert_error' — drop any class-string parsing
.alertColor = …The input is read-only; drive it with [alertColor]
[alertColor]="'danger'"Both inputs are narrowed to their enum literals, so a typo no longer compiles
Projected content inside a wrapper elementThe slot queries are descendants: false; project the slots as direct children of <kbq-alert>
A11yModule / PlatformModule via the moduleKbqAlertModule no longer re-exports them; import them from @angular/cdk yourself

<kbq-alert compact> now does what it reads like. Without the booleanAttribute transform the bare attribute bound the empty string, which is falsy, so the alert stayed at its normal size. Markup that carried the attribute as decoration turns compact after the update.

Additive, with nothing to migrate: a closed output that fires when the projected close control is activated (the alert still does not hide itself), and exportAs on the component and all three directives. Three fixes come for free: the projected status icon is auto-tinted reactively instead of once after content init, so a changing [alertColor] no longer leaves a red icon on a green alert; the normal-size icon padding uses the token that matches its state; and in the light theme the default-style warning and success icons are darkened to clear the WCAG 3:1 non-text contrast minimum.

Unlike the rest of this section, the alert review shipped in 20.2.0, and alert-signals is registered at that version: an ng update that crosses 20.2.0 runs it, a project already past that version has to run the schematic by hand.

Handled by alert-signals: the compact and alertStyle reads are rewritten, the rest is reported.

Four accessor inputs and one write-target input survived the automated signal migration, on the panel and its trigger.

classList was the odd one: declared @Input('class'), its setter accumulated class names into an object the panel template binds, and cleared the host's className as a side effect. It is an internal computed now, fed by a class signal input — class="…" on <kbq-autocomplete> keeps working exactly as before.

isOpen was asymmetric: set isOpen(v) stored a flag while get isOpen() returned that flag and showPanel, so writing true and reading it back returned false whenever the panel had no options. It is a computed now — attached() && showPanel() — with attached as the writable half the trigger owns.

PatternManual migration
.autoActiveFirstOption / .openOnFocusRead as calls — rewritten for you
.showPanel / .isOpenRead as calls — rewritten for you
.autocompleteDisabled on the triggerRead as a call — rewritten for you
.showPanel = …showPanel.set(…) — rewritten for you
.displayWith(value)displayWith()(value) — rewritten for you
.isOpen = …attached.set(…), though this is the trigger's own state
.displayWith = … / .openOnFocus = …These are input()s now; bind them in the template
.classListSet class on <kbq-autocomplete>; the classes still land on the panel

displayWith is the one member whose value is itself a function, so the read and the invocation are separate calls: displayWith()(value). A call left at one pair of parentheses reads the function object, and in a template that interpolates the function instead of the label.

autoActiveFirstOption, openOnFocus and kbqAutocompleteDisabled are booleanAttribute inputs now. For autoActiveFirstOption and kbqAutocompleteDisabled that matches the coerceBooleanProperty they already used, so nothing changes. openOnFocus had no coercion at all, and it flips in both directions: a valueless attribute or 0 used to read as false and now means true, and 'false' used to read as true and now means false.

Binding [autoActiveFirstOption] overrides KBQ_AUTOCOMPLETE_DEFAULT_OPTIONS even when the bound value is undefined — as it did before this release, because the old setter coerced every binding write. The token default only applies to an input nobody bound, so leave it unbound to let the token decide.

Generated panel ids come from the CDK _IdGenerator. With the default APP_ID the shape is unchanged (kbq-autocomplete-0, kbq-autocomplete-1, …); an app or test that sets a custom APP_ID now gets it embedded, e.g. kbq-autocomplete-a1 under TestBed. The id is the panel element's id, so selectors and snapshots targeting it may need updating.

class on <kbq-autocomplete> accepts every shape Angular's own [class] binding does — a string, an array, a Set, or a { className: boolean } map. The element carries no static class attribute, so the binding value reaches the input raw; the old setter silently ignored anything that was not a string.

options stays a QueryList content query: ActiveDescendantKeyManager and the panel-closing stream both rely on its changes semantics.

Classes from the class attribute now replace each other on the panel instead of accumulating. The old setter merged every value it was given into an object it never cleared, so a [class] binding that changed from "a" to "b" left the panel with both.

Handled by autocomplete-signals: the reads are rewritten, the rest is reported.

badgeColor was published as an input whose setter took a color and whose getter returned a CSS class, so a read never matched the write:

badge.badgeColor = KbqBadgeColors.Error;
badge.badgeColor; // 'kbq-badge_error'

It is a signal input now and reports the color the badge renders in: an empty, null or undefined value falls back to fade-contrast in the input's own transform, so the read never hands back a color the host does not carry. The kbq-badge_<color> class still lands on the host, from an internal computed, so styles and screenshots are unchanged — only a programmatic read sees the difference.

PatternManual migration
.compact / .outlineRead as compact() / outline() — rewritten for you
.badgeColorbadgeColor(), and expect the raw color instead of kbq-badge_<color>
.badgeColor = …Bind [badgeColor] in the template — the input is read-only
.iconItemRemoved; the badge never read this content query either
KbqBadgeCssStyler.*Now private, and isIconButton is gone; the icon spacing classes it applies are the contract

compact and outline are booleanAttribute inputs now. <kbq-badge compact> used to pass the empty string, which is falsy, so the attribute did nothing and the badge rendered at its default size; it now renders compact. Conversely [compact]="'false'" — a non-empty string, previously truthy — now means false.

Handled by badge-signals: the compact and outline reads are rewritten, the rest is reported.

Nothing to run: every input kept its name, so there is no markup to rewrite. What changed is what the component does with them.

The landmark is named from the locale. The host wrote aria-label="breadcrumb" as a binding — an English literal that also overwrote an aria-label the consumer had authored on the same element. The name comes from KbqA11yLocaleConfiguration.breadcrumbs now, so a non-English application renders a translated name where it used to render English, and <nav kbq-breadcrumbs aria-label="…"> finally survives change detection, which is what makes two trails on one page distinguishable. The element form <kbq-breadcrumbs> also carries role="navigation" now; <nav kbq-breadcrumbs> is untouched, because it has the role already.

disabled does what it says. KbqBreadcrumbs.disabled was published and documented as blocking interaction, and read nowhere — no class, no attribute, every link still clickable. It now disables every item and the expand button and takes them out of the tab order. Markup that bound it and worked around it having no effect will see the trail go read-only.

firstItemNegativeMargin applies in every wrap mode. The offset hung off .kbq-overflow-items, a wrapper that only wrapMode="auto" renders, so it silently did nothing in wrap and none. It is carried by .kbq-breadcrumbs__list as well now — the wrapper those two modes render instead. Not by the host: a negative margin on a flex item is subtracted from the space the flex algorithm hands it, so the trail would stop being squeezed, and auto mode — which decides what to collapse by measuring its own box — would conclude that every item fits and collapse nothing. A trail in one of those two modes that never set the property shifts left by --kbq-breadcrumb-item-negative-margin — the alignment it was always supposed to have; bind [firstItemNegativeMargin]="false" to keep the old position.

PageUp and PageDown scroll the page again. The roving-focus primitive mapped them to "first item" / "last item" and called preventDefault(), so a trail near the top of a long page swallowed the paging keys. Home and End still make those jumps.

Two DOM details that only matter to a stylesheet reaching into the component: the default separator is a plain <i class="kbq-breadcrumb__separator"> instead of an empty KbqIcon, so it no longer carries kbq-icon/kbq-contrast-fade; and the rendered items are wrapped in a role="list" container.

MemberChange
RdxRovingFocusGroupDirective.dirDirection | null (the Angular CDK type), default null — unset inherits the document
RdxRovingFocusGroupDirective.handleMouseDown / handleMouseUpRemoved; focus entry no longer branches on what moved the focus
RdxRovingFocusGroupDirective.onFocusableItemAdd / ...RemoveRemoved; the count is derived from focusableItems()
RdxRovingFocusItemDirective.activeDefaults to false, so data-active marks one item instead of all of them
KbqBreadcrumbItem.text / .disabledDefault to '' / false instead of undefined cast to the non-nullable type

<a kbq-button kbqBreadcrumb> no longer overwrites the button's color and kbqStyle: a color or kbqStyle bound next to kbqBreadcrumb is kept, and the button follows a surrounding KbqButtonGroupRoot again. Only markup that bound one of the two and expected it to be ignored sees a difference.

id and clickAction were the two inputs the automated signal migration skipped, because application code writes to them. Both are input() now, and id is generated by the CDK _IdGenerator instead of a module-level counter.

checked, disabled, indeterminate and tabIndex stay accessor inputs. They are two-way state — the component writes them on click and the ControlValueAccessor writes them through the KbqCheckable host directive — and a model() cannot carry the booleanAttribute / numberAttribute transform they need. Reads and writes of those four are unchanged in TypeScript; a template binding is coerced now, see below.

PatternManual migration
.id / .clickAction / .big / .required / .value / .name / .labelPositionRead as calls — rewritten for you
.id = … / .clickAction = …Bind [id] / [clickAction] — the inputs are read-only
.inputId / .inputElement / .getAriaCheckedNow protected; use focus() and toggle()
.onInputClick / .onInteractionEvent / .onLabelTextChangeNow protected template handlers

[clickAction]="undefined" explicitly overrides KBQ_CHECKBOX_CLICK_ACTION rather than falling back to it — leave the input unbound to use the token.

Generated ids come from the CDK _IdGenerator. The shape is unchanged for a default APP_ID - the CDK omits the app id unless it was overridden - but the counter is 0-based and shared per prefix, so the first checkbox is kbq-checkbox-0 where it used to be kbq-checkbox-1. An assertion on an exact id needs updating; one matching the shape does not.

<kbq-checkbox [id]="null"> falls back to the generated id on the host too. It used to leave the host without an id while the hidden input still pointed its for at the generated one.

checked, big and indeterminate are booleanAttribute inputs. <kbq-checkbox checked> used to pass the empty string, which is falsy, so the valueless attribute did nothing. The same coercion runs on a bound value, so [checked]="items.length" on an empty list, [checked]="0" and NaN now read as true - and the accepted template type widens to unknown, so a binding that used to fail under strictTemplates is accepted and reads as true. required defaults to false instead of undefined behind a boolean type, and value reports string | undefined instead of string; id still reports string, since binding null falls back to the generated id on the read side too.

An enabled <kbq-checkbox> no longer carries disabled="false" on its host. The host binding rendered the boolean verbatim, so every enabled checkbox shipped the attribute — enough for a consumer stylesheet or test selector written as kbq-checkbox[disabled] to match all of them.

A kbq-hint describes the checkbox now instead of being part of its name. The input is named by the label text alone through aria-labelledby, and the hint - after the validation error, while one is shown - reaches it through aria-describedby, as with the radio buttons. A test or a screen-reader script that expected the hint in the name needs updating.

Handled by checkbox-signals: the one-way input reads are rewritten, the rest is reported.

The disclosure semantics belong to kbqClampedListTrigger now: role, tabindex, aria-expanded and aria-controls all sit on it. aria-expanded used to sit on the <kbq-clamped-text> host and on the [kbqClampedList] container — role-less wrappers, where the attribute conveys nothing — while the trigger, which takes the click and the Enter/Space keys, carried neither a role nor any disclosure state. Neither container renders aria-expanded any more, a hand-written role="button" is a duplicate, and an explicit role or tabindex on the element still wins over the directive's default.

kbqClampedListTrigger no longer applies kbq-clamped-text__toggle. That class has one rule, in the clamped-text stylesheet, which is injected together with a KbqClampedText: the kbqClampedList trigger had spacing whenever an unrelated component happened to be on the page. The list trigger has no spacing of its own now — drop any margin-top override written against it. The clamped-text toggle keeps the class, and --kbq-clamped-text-size-toggle-margin sets its gap.

PatternManual migration
aria-expanded on the containerRead it off the [kbqClampedListTrigger] element
.kbq-clamped-text__toggle resetDrop it — the list trigger no longer borrows the margin
role="button" on the triggerRemove it; the directive supplies the role
.hasToggle.set(…)hasToggle is a read-only Signal, written by the measurement
.text() / .textContainer()protected; query the element from your own template

isCollapsed is a model() on KbqClampedText, so isCollapsedChange means user intent, as the guide always said it did. It fires when the toggle is operated; the component's first measurement and a value the parent wrote into [isCollapsed] no longer trigger it. A route query parameter is no longer rewritten on every mount, and a handler reads the initial state from [(isCollapsed)] rather than from the mount-time emission. KbqClampedList is unaffected: its isCollapsed was already a model().

Fixes with nothing to migrate:

  • Space and Enter on the trigger call preventDefault(). Space no longer scrolls the page while it expands, and a native <button> host no longer toggles twice from the synthetic click.
  • Collapsing scrolls with { block: 'nearest', inline: 'nearest' } instead of centering on both axes, and [scrollOnCollapse]="false" turns it off.
  • rows takes a string attribute, so rows="3" compiles under strictTemplates.
  • [debounceTime] is re-read on every resize instead of once at ngAfterViewInit.
  • The toggle does not appear before the first measurement, and the text stays clamped until then. The prerendered documentation page used to ship the text expanded.

Reported by clamped-text-disclosure.

maxHeight was published as InputSignal<number> over an undefined! default, so a code block with no [maxHeight] binding reported undefined from a non-nullable type:

const height: number = codeBlock.maxHeight(); // held undefined
if (codeBlock.maxHeight() > 0) { … }          // NaN comparison, never true

It reports number | undefined now, and a value that is not cleanly numeric — a valueless maxHeight attribute, '200px' — reports undefined rather than NaN. [maxHeight]="undefined" used to hand back NaN; that is the one runtime change. The call sites that were quietly wrong now fail to compile.

KbqCodeBlockHighlight.file was a write-only required input: a setter with no getter that kicked off highlighting as a side effect. It is a required signal input driven by an effect now, so it can finally be read — and a programmatic write no longer compiles.

KbqCodeBlock has no decorator inputs left. softWrap, viewAll, canDownload, files, activeFileIndex and hideTabs are WritableSignals over a backing input() that carries the booleanAttribute / numberAttribute transform. Template bindings are untouched — [softWrap], [(viewAll)] and a valueless <kbq-code-block softWrap> all keep working — but a programmatic read becomes a call and a write becomes .set(…). A model() would have been the obvious shape; ModelOptions carries no transform, and dropping the transform would make a valueless attribute pass the empty string and silently turn the feature off.

PatternManual migration
.softWrap / .viewAll / .canDownloadRead as a call — rewritten for you
.files / .activeFileIndex / .hideTabsRead as a call — rewritten for you
.softWrap = ….softWrap.set(…) — rewritten for you; a compound form is reported
.maxHeight()?? 0 for the common reading, or handle the unset state explicitly
.file = … on a KbqCodeBlockHighlightBind [file]; the value is readable as file() now

The max-height applied while viewAll is off is a computed. It was a getter read from a [style.max-height.px] binding, so it only re-evaluated when something else marked the view dirty.

hideTabs reports what was bound; tabsHidden() is what the header does. The rule that a single file without a filename hides the bar is derived now instead of being written into hideTabs, so a read of hideTabs no longer folds it in. tabsHidden is public for exactly that reading.

An activeFileIndex outside files renders the first file, and an empty files renders no code at all. Both used to reach files[activeFileIndex] and throw on the undefined result — <kbq-code-block /> and [files]="[]" were enough. The index itself is left as bound: resetting it wrote activeFileIndexChange back into a [(activeFileIndex)] while the parent was still updating, which handed the parent the wrong file and, in the other binding order, NG0100.

hideTabs is derived instead of written. A single file with no filename still hides the tab bar, but the component no longer writes true into its own input to do it: the write latched the bar off for the life of the component, so naming the files later never brought it back and every file past the first stayed unreachable, and it re-emitted hideTabsChange on every files assignment. Two consequences: [hideTabs]="false" no longer shows the bar for a lone unnamed file — the rule wins, as the API has always documented — and reading hideTabs reports what the header does, while hideTabsChange fires only when the binding itself changes.

A disabled @media print rule aside, printing is unaffected, but two long-standing leaks are gone: a failed highlight.js load no longer latches pending on for the life of the page, and the line-numbers plugin installs its <style> and its copy listener once instead of once per code block.

Handled by code-block-signals: the reads and the plain writes are rewritten, the rest is reported.

The description list was already fully signal-based, so the review had nothing to migrate. What it found were the four inputs that never got a coercion transform, sitting next to siblings that had one:

readonly verticalBreakpoint = input(400, { transform: numberAttribute });
readonly dtMinWidth = input<number | undefined>();        // no transform
readonly wide = input(false);                              // no transform

<kbq-dl wide> and <kbq-dl wide=""> used to do nothing. A valueless attribute passes the empty string, which is falsy — while <kbq-dl resizable> right next to it worked. It is coerced now and the attribute means true. The two forms are byte-for-byte the same value, so they migrate the same way.

<kbq-dl vertical> was not inert — it pinned the list horizontal. The untransformed input held '', which is not null, so the breakpoint branch never ran and the list never switched at verticalBreakpoint. The behavior-preserving rewrite is [vertical]="false"; deleting the attribute hands the decision back to the breakpoint instead.

wide="false" and vertical="false" invert. A non-empty string is truthy, so they used to mean true, while booleanAttribute("false") is false. This is the form whose rendering changes most: <kbq-dl vertical="false" wide="false"> used to render wide and vertical with no resizer, and now renders neither, with the resizer visible.

vertical is tri-state: null means "decide from verticalBreakpoint". booleanAttribute would have folded that into false, so it uses a transform that preserves null.

dtMinWidth and ddMinWidth are numeric inputs reporting number | undefined, which is what an unbound description list always held. A numeric literal behaves exactly as before — Math.max applies ToNumber to its arguments, so <kbq-dl dtMinWidth="120"> produced 120 on either side of the change. What moved is a value that is not a finite number: <kbq-dl dtMinWidth> and <kbq-dl dtMinWidth="abc"> used to reach the arithmetic as a string and come out as 0, and report undefined now, so the layout falls back to the measured term width and a ?? fallback at the call site fires.

dtWidth is writable rather than a model(). It is the one numeric input whose value goes back to the consumer through [(dtWidth)], and model() takes no transform, so a dtWidth="120" that nothing coerced reached the layout as a string: setDtWidth opens with Number.isFinite, which is false for a string, so the value skipped the clamp against dtMinWidth and a column could render narrower than its own minimum. It is now an aliased input plus a linkedSignal and an explicit dtWidthChange output. [(dtWidth)] is unchanged, and so is reading or writing dtWidth(); only code that typed the member as ModelSignal<number | null> has to say WritableSignal<number | null> instead. A value that is not a finite number reads as null, the state that restores the default column ratio.

Bindings change meaning too, and no compile error points at them. [vertical]="row.vertical" resolving to undefined left the input undefined, which is not null, so the list stayed pinned horizontal; it is null now and the breakpoint decides. On wide, every falsy non-boolean inverts: [wide]="items.length" with 0, or [wide]="label" with an empty string, was falsy and is true now. A numeric binding that resolves to a non-number reads as undefined instead of reaching the arithmetic.

Reported by dl-attribute-coercion, which covers static attributes and bindings alike, in .html files and inline templates.

KbqDlComponent, KbqDtComponent and KbqDdComponent are KbqDl, KbqDt and KbqDd, the names the newer components use, and they are imported directly: KbqDlModule still works, but is no longer documented. The old names are deprecated aliases of the same classes until 22.0.0, so nothing breaks before then. Rewritten by dl-standalone-names: the renamed classes wherever they are imported from @koobiq/components/dl, and KbqDlModule wherever it is an element of an array, such as imports, exports or a TestBed configuration, which becomes KbqDl, KbqDt, KbqDd. A KbqDlModule anywhere else, such as importProvidersFrom(KbqDlModule), is kept and reported, and a barrel file that re-exports an old name keeps exporting it.

vertical and paddings were accessor pairs carrying a coercion by hand. They are input()s with booleanAttribute now, so a read is a call and a write is a template binding. Both kept their names, so [vertical] and [paddings] bindings are untouched — only TypeScript that reaches the component through a reference has to change.

The component also has separator semantics. It renders role="separator", and aria-orientation="vertical" when vertical is set, so a hand-rolled role or aria-orientation on <kbq-divider> is now a duplicate. The new decorative input renders role="presentation" instead, for a divider that only repeats a boundary a heading, a group or the layout already conveys; a hand-rolled aria-hidden is still honoured and says the same thing.

PatternManual migration
.vertical = … / .paddings = …Bind [vertical] / [paddings] — a signal input takes no assignment
.vertical / .paddingsRead them as calls
<kbq-divider role="…">Drop it; the component renders role="separator"
<kbq-divider aria-orientation="…">Drop it; it follows vertical

A new length input sets the divider's own size in pixels — its height when vertical, its width otherwise. It replaces reaching for a height in CSS to shorten a divider, which is what every caller in this repository had been doing.

A comparison such as divider.vertical === true is the case worth hunting for. It keeps compiling and quietly compares against the signal itself, so it is always false and nothing complains.

Reported by divider-signals-and-aria, which resolves a member access against the receiver's declared type — so a vertical on something that is not a KbqDivider is left alone, and a receiver whose type is only inferred is not recognised.

The review reaches a consumer in four places: the ARIA semantics of the trigger and the item, the signature of the public activateSafeArea(), how the panel's width is resolved, and — the largest change — the move of the component's inputs, outputs and queries to signals.

aria-expanded is not a global ARIA attribute. It cannot go on an element whose role computes to generic — a bare <div> or <span>, an <a> without href. And the trigger goes on whatever element the consumer picks, so the attribute was a routine aria-allowed-attr failure.

It is published only where a role can carry it now: a <button>, a <summary>, an <a href>, or a host that declares a role of its own. Every trigger the library ships is one of those. A role-less trigger of your own loses the attribute, and so does any selector or test keyed on it.

The host of an item is not always something the browser activates on its own. For a row carrying a secondary action the package documents a <div>, and until now that row could not be activated from the keyboard at all. It answers Enter and Space now: the key is replayed as a click, so a consumer's (click) handler and the panel's own close behave exactly as they do for the mouse.

Hosts the browser already activates (<button>, <a href>) are skipped, and so is role="menuitem", whose click the app switcher replays itself.

PatternManual migration
activateSafeArea(owner, triangle, panelRect, onExit)Pass the pointer origin and a rect getter: activateSafeArea(owner, { x, y }, () => element.getBoundingClientRect(), onExit)
A subclass overriding handleActionKeydownOverride handleKeydown — it owns Enter/Space and delegates the Tab case
.kbq-dropdown-item_with-icon in a selectorThe class is gone; match the projected icon instead
[aria-expanded] on a role-less triggerGive the host a role, or drop the selector
A click handler on .kbq-dropdown__panelThe panel's own close moved to .kbq-dropdown__content

A panel can no longer outgrow its own pane. The --kbq-dropdown-size-container-width-min token fell back to a static 200px everywhere the input did not supply it. That included an explicit panelWidth: [panelWidth]="150" rendered a 200px panel inside a 150px box.

The token collapses to 0px for an explicit panelWidth and for panelMinWidth: null now. A panel that was leaning on that floor without asking for it gets narrower; set panelMinWidth to keep it.

Changes with no call site to match on:

  • Focus returns to the trigger only if it was still inside the overlay when the dropdown closed. Click outside and focus stays on the control you clicked.
  • Home and End move the highlight in a dropdown without a search field, where they used to scroll the page.
  • Clicking a control inside kbqDropdownFooter no longer closes the panel.
  • An Escape that a pop-up inside the panel already handled, such as the tooltip of a truncated item, closes that pop-up alone; the next Escape closes the dropdown.
  • Disabled items publish aria-disabled.
  • A sibling the pointer crosses on the way to a submenu keeps its default background. The rule was already there, but its selector never matched anything.
  • <kbq-dropdown> keeps the classes it did not transfer to the panel: the class input used to clear the host element outright, taking a [class.x] binding from another directive with it.
  • KbqDropdownItemActionHost and KBQ_DROPDOWN_ITEM_ACTION_HOST are exported, and the bare fadeInItems / transformDropdown re-exports are deprecated in favour of kbqDropdownAnimations.

Twenty of the component's twenty-one inputs, outputs and queries are signals now. The dropdown was the last component in this review still carrying decorator inputs. For these seventeen, a read is a call:

ClassMembers
KbqDropdownxPosition, yPosition, overlapTriggerX, overlapTriggerY, hasBackdrop, backdropClass, templateRef, items, lazyContent
KbqDropdownTriggeroffsetX, offsetY, data, openByArrowDown, restoreFocus, dropdown
KbqDropdownItemdisabled, icon

Bindings are untouched. [xPosition], class, [kbqDropdownTriggerFor] and the rest keep their names; only programmatic access moved.

Seven of them are model()s, so a write becomes .set(…): xPosition, yPosition, both overlap flags, offsetX, openByArrowDown and restoreFocus. They are writable because another component writes them on the instance it was handed — kbq-split-button and kbq-navbar-item position the panel themselves, and an option's action button turns focus restoration off. A model() takes no transform, so those seven no longer coerce a string attribute: write [overlapTriggerX]="true", not overlapTriggerX="true".

The rest are read-only, so a write to one is a compile error rather than a silent no-op.

What the schematic reports instead of fixing:

PatternManual migration
panel.items.changes / .firstitems is a signal of a plain array. Use toObservable(panel.items), or items() for the array
panel.items.reset(…)Call adoptItems(…)
closed.pipe(…) / dropdownClosed.pipe(…)Both are output()s now. Wrap them: outputToObservable(panel.closed)
panel.closed.complete()Gone — Angular tears the subscription down with the panel
panel.classListprotected now. It is one computed; set class on <kbq-dropdown> to add your own
A class implementing KbqDropdownPanelEvery member changed shape. adoptItems is optional and replaces the items.reset(…) on it

One member is still read as a property: KbqDropdownItem.textElement is a getter typed ElementRef, because it implements KbqTitleTextRef and five other components implement it the same way.

KbqOptionActionParent in @koobiq/components/core describes the trigger structurally, so TypeScript never checks it against KbqDropdownTrigger. It follows the trigger here: restoreFocus is a WritableSignal<boolean> and dropdownClosed an OutputRef<void>. A host that implements that contract by hand has to follow too — the mismatch surfaces at runtime, not at compile time.

ListKeyManagerOption.disabled accepts boolean | Signal<boolean> now. A custom option that reads item.disabled as a plain property breaks on a signal item: a signal is a function, so every item reads as disabled, and both the arrow skip and the typeahead match stop working with no error.

Handled by the dropdown-signals schematic; the rows in the first two tables above are manual.

errorColor used to reach the illustration imperatively: ngAfterContentInit() read the input once and called KbqEmptyStateIcon.setErrorColor(), which assigned color = 'error' on the injected kbq-icon-item. The tint therefore:

  • stayed after [errorColor] went back to false, leaving a red icon above black text;
  • never arrived for a value flipped to true after init;
  • never reached an icon wrapped by the slot: inject(KbqIconItem) only sees an icon on its own host element.

Two of the component's own examples use that wrapped shape. The title and the text colors were always reactive, because they ride on the host classes.

The illustration follows [errorColor] on its own now, in both markup shapes and in both directions, so the method has no caller left.

MemberBeforeAfter
KbqEmptyStateIcon.setErrorColor()public, called once at initremoved
KbqEmptyState.ngAfterContentInit()public lifecycle hookremoved
KbqEmptyState.iconpublic @ContentChild, typed | nullprotected contentChild()
KbqEmptyState.size@Input(), writableinput()
PatternManual migration
.setErrorColor()Bind [errorColor] on <kbq-empty-state> and delete the call
.icon on a KbqEmptyStateProtected; it was the backing query for the kbq-empty-state_has-icon host class
emptyState.sizeemptyState.size()
emptyState.size = 'big'Bind [size]="'big'" — an input() has no setter

size was the last decorator on the component, and the file-upload subclass is why. KbqFileUploadEmptyState extends KbqEmptyState and assigned this.size = 'big' right after super() — an assignment an input() cannot take, which is what held the migration back. That subclass redeclares the input with its own default now, override readonly size = input<KbqDefaultSizes>('big'), so <kbq-file-upload-empty-state> still renders at big with no binding and a [size] binding still wins. Nothing changes for anyone rendering it; what changes is that reading size off a KbqEmptyState is a call, and assigning to it is gone.

The report for this one is matched on the receiver rather than the member, because size is too common a property name to touch blind — file.size and blob.size sit in the same files. Only a read like emptyState.size is flagged; a read through a variable named something else is not reported, and the schematic's summary says so instead of letting you assume it was covered.

The four theme tokens were renamed. --kbq-empty-state-title and --kbq-empty-state-color read as a size token and a component color, but they are the title color and the text color; the error pair repeated the shape. They are --kbq-empty-state-title-color, --kbq-empty-state-text-color, --kbq-empty-state-error-title-color and --kbq-empty-state-error-text-color now. The old names are removed, not deprecated: an override of one is ignored and a var() read of one resolves to nothing, in both cases silently. Inside the library the rename touched multiple-file-upload.component.scss, which set the title and text colors of the empty state for its default, disabled and error states.

Two fixes with nothing to migrate. empty-state.scss loads its own token layer instead of relying on a second styleUrls entry, so anything reusing the stylesheet across a package boundary gets the custom properties together with the rules that read them; such a reuse used to take the rules alone, and every max-width in it resolved to none. The library has exactly one such reuse: KbqFileUploadEmptyState lists ../empty-state/empty-state.scss in its own styleUrls. Its caption was inheriting the body color, because the declaration resolved to nothing — so the arriving token layer would have turned it into the secondary foreground. dropzone.scss pins --kbq-empty-state-text-color to var(--kbq-foreground-contrast) instead, and the dropzone renders exactly as before. And the title is written as a real heading everywhere in the library — it carries subheading typography at size="normal" and headline at size="big", so <h2 kbq-empty-state-title> is what the component asks for, with the user-agent margin zeroed so nothing moves. An empty state inserted into a page that has already been read still needs role="status" — role="alert" for the error variant — on the host; the component adds none of its own.

Reported by empty-state-error-color.

The review repaired the two contracts the component is judged on: the form contract and the KbqFileList primitive.

writeValue() assigned through the file/files setters, and those setters call cvaOnChange — the view→model half of the ControlValueAccessor. Angular's model→view callback therefore re-entered the view→model pipeline: every setValue/patchValue marked the control dirty and emitted valueChanges twice, and because FormControl.reset() calls markAsPristine() before setValue(), a reset uploader came back dirty. The same method emitted the public (fileChange)/(filesChange) output as well, so a background patchValue was indistinguishable from a user picking a file. writeValue() writes the list directly now and emits neither.

MemberBeforeAfter
writeValue()wrote through the file / files setterwrites the list directly, emits no output
KbqFileList.remove(item)returned the kept items, removed every copyreturns the removed item, removes the first copy
KbqFileList.removeAt(index)rewrote the list and emitted for any indexignores an index outside the list
hasFocuspublic, always falseremoved
single uploader's hidden inputmultiplesingle-selection
[multiple] on the single uploaderforwarded to that inputnot an input at all
[file] / [files] setterwrote the list and notified the formwrites the list only
KbqInputFileMultipleLabelexported interfaceremoved
PatternManual migration
.remove(item)The return value is the removed item now; use removeAt(index) for a position
.hasFocusTrack focus with cdkMonitorSubtreeFocus or a (focusin)/(focusout) pair
(fileChange) / (filesChange)Subscribe to the control if the handler was meant to see programmatic writes
KbqInputFileMultipleLabelUse KbqMultipleFileUploadLocaleConfiguration from @koobiq/components/core
[file] / [files] beside a formDrop the binding — the form owns the value; without a form nothing changes
<kbq-single-file-upload multiple>Drop the attribute, or switch to <kbq-multiple-file-upload>

A [file] binding is no longer an edit. The setter was the other half of the same defect: it wrote the list and called cvaOnChange, so a template binding reached the view→model pipeline exactly as writeValue() did. Writing file or files now fills the list and stops there, which makes the setter symmetric with writeValue() — both are model→view — and leaves cvaOnChange with (fileChange)/(filesChange) on the paths a user drives. Without a form nothing changes: cvaOnChange is a no-op until registerOnChange runs, and [(file)]/[(files)] still report what the user does. It matters only when the same component also carries formControl, formControlName or ngModel — two sources of truth for one value, where the form is the one that should win.

An empty drop no longer destroys the list. An empty directory unwraps to zero files, so the drop handler can be handed an empty array. The multiple uploader passed it straight through to the merge, and under addStrategy="replace" that meant replace([]) — every file the user had already attached, gone, with (filesChange) reporting the empty list and the control left dirty. A selection that hands over nothing is now no selection at all: the list is untouched and no value is emitted, though the drop still counts as an interaction and marks the control touched. removeAt() carried the same defect one call down: an index past either end left splice with nothing to do, but the list was rewritten with a fresh array anyway — waking every list() consumer for a no-op — and itemRemoved fired carrying undefined in a tuple typed [T, number].

The control is marked touched when focus leaves the uploader, so the default ErrorStateMatcher shows a required error to a user who tabbed through without attaching anything — previously that error stayed invisible until the form was submitted. Removing a file from the middle of the list moves focus to the control that took its place instead of dropping it on <body>, projected kbq-hint messages are linked to the file input through aria-describedby, the input carries aria-invalid while the control is in an error state, and additions and removals are announced in a live region the component owns.

Three changes worth knowing about with nothing to rewrite. The single uploader renders a single-selection file input, so the system dialog no longer offers a multi-selection whose extra files the component silently threw away; what a drop hands over past the first file is reported through the new (rejected) output, as are the duplicates the multiple uploader skips under the default concat strategy. accept is documented as what it is — the native attribute, which only filters the system dialog, never a dropped file — and rejection still needs a validator, with FileValidators.isCorrectExtension taking the same array. And 22 --kbq-file-upload-* custom properties that no rule read were removed, including both *-states-focused-focus-outline-color tokens; setting one never had an effect.

The locale gains a fileUpload.a11y section holding the live-region announcements, so a hand-written KbqLocaleData registered through KBQ_LOCALE_DATA has to add fileAdded, fileRemoved and filesNotAdded.

Reported by file-upload-cva-and-primitives.

The popover that saves and renames a filter was reworked, and so were the strings around it.

filters.saveChanges and filters.saveAsNew were split. Each did two jobs: the label of a dropdown item and the header of the popover that item opens. The header now captions the unlabelled name field, which reads wrong on a dropdown item, so each key became two:

Removed keyPopover headerDropdown item
saveChangessaveChangesHeadersaveChangesButton
saveAsNewsaveAsNewHeadersaveAsNewButton

KbqFilterSavePopover.popoverHeader returns saveAsNewHeader when saving a new filter and saveChangesHeader when renaming one, and the name field takes its accessible name from it.

filters.name and filters.error were removed. The popover no longer renders a caption above the name field — its header carries it — nor a message under the field when the name is taken: the alert above the field (errorHint) reports that alone, and the field is still marked invalid.

Renaming a filter no longer saves it. A KbqSaveFilterStatuses.NewName save used to stamp saved: true / changed: false onto the payload, so renaming a filter with unsaved pipe edits declared them saved. The payload now keeps the filter's own flags and still carries the pipes shown in the bar, so persist the name only.

The default wording changed too. In en-US: "Save as new" for the tooltip of the save button and for both "save as new" items, "Save" for the "save changes" item, "Rename" for the rename item, "New filter" and "New name" for the headers, and "A filter with this name already exists" for the alert of a failed save. That alert now defaults to the duplicate-name text, so pass your own text to filterSavedUnsuccessfully() for any other failure. Override the strings through kbqFilterBarLocaleConfigurationProvider if they do not fit.

PatternManual migration
A read of filters.saveChanges / filters.saveAsNewRead …Header for the popover header or …Button for the dropdown item
A saveChanges / saveAsNew key in a partial overrideReplace it with …Header and/or …Button — the literal has too few keys for the schematic to know
A read of filters.nameDrop it, or bind your own string if the field still needs a visible caption
A read of filters.errorDrop it — the alert above the field reports a taken name
An error key in a partial overrideDelete it — the literal has too few keys for the schematic to know
A handler of KbqSaveFilterStatuses.NewNamePersist the name only — writing the whole payload back saves the pending pipe edits

Handled by filter-bar-rename-action: the name and error keys are removed and saveChanges / saveAsNew are split in filters locale literals, the rest is reported.

[innerHTML] on <kbq-flag> is no longer a supported way to pass a flag. The component renders <ng-content />, so the host element is where projected nodes land, and an innerHTML write from the parent targets that same element. The two only coexisted because the component's own view contributed no DOM; the review gave the string form a slot of its own, so <kbq-flag [innerHTML]="flag" /> becomes <kbq-flag [svg]="flag" />.

The value itself does not change: Angular's sanitizer still strips an <svg> that has not been bypassed, so a flag arriving from a package as a string still goes through DomSanitizer.bypassSecurityTrustHtml — and only ever for markup known at build time. An [innerHTML] binding on a wrapper element projected into a flag is untouched; it never competed with the host.

Three changes with nothing to migrate:

A flag with no label is hidden from screen readers. The unlabelled, non-decorative flag reached the accessibility tree as a nameless graphic — the one case the component guide already declared not allowed. That state is fail-safe now, but the default also hides a name that came from the flag image itself (an alt attribute, an SVG <title>), so repeat it in label when the flag carries meaning.

An inline <svg> is cropped instead of letterboxed. object-fit: cover is inert on an inline <svg>, which is not a replaced element, so a source whose ratio differed from the shape rendered inside transparent bands — most visibly in square and circle. The same flag passed as an <img> always cropped, and the two render identically now.

The flag tokens are declared at zero specificity, and --kbq-flag-empty-background is an opaque neutral instead of the translucent disabled state. An override that used to lose to .kbq-flag on source order now wins, so a redundant !important can go. The empty placeholder no longer takes on the hue of the surface behind it. One flag's proportions no longer need a class at all: the new aspectRatio input takes a CSS aspect-ratio value directly, and the variable stays the way to set one ratio for a whole group.

Handled by flag-inner-html: the binding is rewritten for you, the rest is reported.

The edit overlay rendered two <div class="cdk-visually-hidden" aria-hidden="true" tabindex="0"> sentinels around its panel to notice a Tab out of the editor. That is precisely what axe-core's aria-hidden-focus rule forbids, and because the panel disables its own focus trap a keyboard user really did land on them: two live tab stops that announce nothing. The sentinels are gone, the boundary is resolved against the panel's own first and last tabbable control, and KbqFocusRegionItem — the directive that marked them — is removed with them.

The widget semantics moved at the same time. The host carried a tabindex and not one ARIA attribute, so a <kbq-inline-edit> was an unknown element that happened to be focusable. role="button", aria-expanded, aria-disabled and the accessible name live on .kbq-inline-edit__view-content now, and on .kbq-inline-edit__focus-anchor while the view content is interactive — putting them on the host would have nested the kbqInlineEditMenu button inside a widget role. The focus ring still lands on the host, through cdk-keyboard-focused.

PatternManual migration
kbqFocusRegionItem / KbqFocusRegionItemDrop it — the Tab boundary is detected on the panel
modeAsReadonly()mode() — rewritten for you
edit.modeChange.subscribe(...)toObservable(edit.mode) — the output belongs to the model now
[setValueHandler] handlerWiden the parameter to unknown and narrow inside
A complete KbqA11yLocaleConfigurationAdd the new required edit key, or switch to a partial override provider
.kbq-inline-edit[tabindex] / :focus selectorsTarget .kbq-inline-edit__view-content / .kbq-inline-edit__focus-anchor

Tab works in a select-style editor. The editor opens the select's dropdown itself, and that dropdown lives in an overlay of its own — so a Tab was pressed outside the editor's panel, where its handler could not see it, and the select cancelled the key and closed, leaving the field open with focus on <body>. The key is caught on the document now for as long as the panel is attached, and the field saves and hands over to the next field like any other. A Tab the select uses to walk its own footer is untouched.

The mode is one member now. It used to be three: a protected signal(), a public modeAsReadonly computed() that existed only to expose it for reading, and a modeChange output fed by a hand-written toObservable(...).pipe(skip(1)) subscription. All three are a single model(). It generates an output of the same name carrying the same value, so (modeChange) bindings are untouched — but it emits synchronously on the write rather than one microtask later, and it is no longer a member of the class, so a programmatic subscription goes through toObservable(inlineEdit.mode). In exchange the mode is writable: [(mode)] opens and closes the editor from the host, which nothing but toggleMode() could do before.

Saving means what it says now. commit() promised "the same validation as a normal save" and gated on KbqFormField.invalid, which is the cached ErrorStateMatcher verdict — touched || submitted — so a pristine invalid control reported itself valid and the value was written through. That is exactly the documented "select that commits from (selectionChange)" pattern. save() marks the projected controls touched itself and gates on the control's validity instead. The other half of that move: every keystroke in edit mode used to mark every control touched, flipping a required field into its error look while the user was still typing the value that would make it valid — a workaround directive that reset touched on the first input can be deleted.

Three smaller changes reach a consumer. saved and canceled are public, so a viewChild(KbqInlineEdit) can subscribe to them. --kbq-inline-edit-panel-shadow is read by the panel, which used to declare the token and then hardcode the value it stood for, so setting it finally changes the shadow. And the private .kbq-mask, .kbq-mask__fade and .kbq-mask__container classes were renamed to their .kbq-inline-edit__menu-mask* equivalents, giving back a namespace that looked library-wide.

The date and time pickers follow the same rules: cancel() and rollback() restore a picker bound with [value] or with a form control, and a picker whose form control rejects its value blocks the save like any other control.

Handled by inline-edit-a11y-and-types: the modeAsReadonly reads are rewritten, the rest is reported.

The headline is a platform mutation that never belonged to the component. KbqNumberInput's constructor called Object.defineProperty(Object.getPrototypeOf(this.nativeElement), 'valueAsNumber', …) — that is HTMLInputElement.prototype, not the element — so constructing a single koobiq number input replaced valueAsNumber for every <input> in the application, third-party widgets and native type="date"/type="number" fields included, permanently and with no teardown. The replacement treated , as a decimal point and returned null where the DOM specification requires NaN. The patch is gone; a locale-aware numeric read is a member of the directive now: numberInput.valueAsNumber.

KbqNumberInput also declared implements KbqFormFieldControl<any> and populated none of it. The private control field behind ngControl had no writer anywhere in the file, so ngControl was permanently undefined, and id, placeholder, empty, required and errorState existed only to satisfy the interface. Nothing broke at runtime, because the KbqFormFieldControl provider lives on the sibling KbqInput that matches the same host — but the members were public, so a consumer reading numberInputRef.errorState got undefined with no type error. The interface and the six members are removed.

The numeric inputs are signals now. min, max, step and bigStep were @Input() accessor pairs, each coercing into a private backing field; all four are input() signals, so a programmatic read is a call. The value is unchanged, which is what makes the rewrite mechanical. They are read-only, though: an input() has no .set(), so a value that moves at runtime has to be bound rather than assigned — that is the cost of the change, and the one case the schematic reports instead of fixing.

bigStep had a second spelling, the legacy big-step attribute, read once at construction through a HostAttributeToken and therefore deaf to every later change. Rather than make both spellings reactive and maintain the same input twice, the kebab-case one is dropped: bigStep is the only name, and it is a signal input like step, min and max. The schematic renames the attribute.

valueChange and disabledChange were EventEmitters with no @Output() decorator — an event surface by convention only. They are plain RxJS Subjects. Subscribing is identical; a call to .emit() becomes .next().

A password field's generated id changed. KbqInputPassword drew from the same kbq-input- counter as KbqInput, so any page holding both controls emitted two elements with the same id, and the form field's <label for> resolved to whichever of them came first — clicking the label focused the wrong control. It mints its ids in a kbq-input-password- namespace now, so what used to render id="kbq-input-7" renders id="kbq-input-password-7". That breaks anything keyed on the generated value: a CSS selector, a test locator, a hand-written aria-labelledby. The schematic reports those; the durable fix is to stop depending on a generated id rather than to renumber it.

PatternManual migration
numberInput.min / .max / .step / .bigStepnumberInput.min() — auto-fixed by the schematic
numberInput.min = 0Bind [min]="0" — an input() has no .set()
numberInput.valueChange.emit(v)numberInput.valueChange.next(v)
numberInput.ngControl / .errorState / .empty / .requiredRead them off the sibling KbqInput, or off the <kbq-form-field>
inputElement.valueAsNumbernumberInput.valueAsNumber, or read the bound form control
import { MinValidator, MaxValidator }KbqMinValidator, KbqMaxValidator — rewritten by the schematic
import { MIN_VALIDATOR, MAX_VALIDATOR }KBQ_MIN_VALIDATOR, KBQ_MAX_VALIDATOR — rewritten by the schematic
<input kbqNumberInput type="number">Drop the attribute — the directive resets it to text and warns
#kbq-input-7 on a password fieldStop keying on a generated id — the namespace changed

Template bindings are otherwise untouched: [min]="lower" and min="3" keep working.

The unprefixed MinValidator / MaxValidator are the exact names @angular/forms exports, so importing both in one file shadowed the framework's. They are removed rather than deprecated, and the schematic rewrites them — scoped to the names a file imports from @koobiq/components/input, so a file importing the framework's own is left alone. type="number" had a functional symptom: a native number field runs the value sanitization algorithm on assignment and rejects everything the directive renders once a group separator or a comma fraction separator is in it, so every fractional value — and every value ≥ 1000 while withThousandSeparator is on — silently disappeared from the field while the model still held it.

Fixes with nothing to migrate:

  • The numeric inputs coerce their value, so a static min="3" holds the number 3 instead of the string "3". The ngAcceptInputType_* declarations that used to carry that are gone: a signal input types what it accepts through its transform's parameter.
  • The validators no longer parseInt their bound value, so [min]="0.5" validates against 0.5 rather than 0, and a bound [min]="0" reaches the DOM instead of being dropped by a falsy check.
  • Stepping runs in integer space against a decimal scale, so one arrow press on 1.005 with step="0.001" renders 1,006 rather than 1,0059999999999998.
  • startFormattingFrom is read from the input as well as from the locale, instead of being declared and ignored.
  • KbqNumberInput carries spinbutton semantics: role, aria-valuenow, aria-valuetext, aria-valuemin, aria-valuemax, inputmode.

Migrated by input-number-surface, which rewrites the signal reads and reports the rest. The rewrite is scoped to a receiver the file annotates as KbqNumberInput and to a #ref="kbqNumberInput" template reference — min, max and step are too common to match on the member name alone, so a receiver whose type is only inferred, an index read and a destructuring are all left for you.

KbqNumberInput.value and disabled are read-only getters rather than model()s, because a new value does more than get stored: whether it comes from the [value] or [disabled] binding or from the form control, the directive reformats the field and emits valueChange, and for disabled emits disabledChange and, when disabling, blurs the element.

Icons were in the accessibility tree and icon buttons were not buttons. <i kbq-icon> renders aria-hidden="true" now — an icon carries no text, and nearly everywhere the library and its consumers use one it repeats a label that is already in the button, the link or the row beside it. An icon that is the only carrier of its meaning has to say so:

<i kbq-icon="kbq-triangle-exclamation_16" role="img" aria-hidden="false" aria-label="Error"></i>

kbq-icon-button is not hidden by default, and on a host that is not a native <button> — which is 129 of the 180 call sites in this repository alone — it supplies the semantics the element does not have: role="button" and aria-disabled. It does not activate itself from Enter or Space: bind (keydown.enter) and (keydown.space) next to (click), calling preventDefault() on Space so the page does not scroll, or put the icon button on a <button>. It also warns in dev mode when it has neither aria-label nor aria-labelledby, because a glyph gives it no accessible name at all.

A contentChild(KbqIcon) still resolves only a bare icon. Host metadata is inherited through ɵɵInheritDefinitionFeature and DI tokens are not, so such a query walks past an icon button and an icon item even though both carry the .kbq-icon class. Registering the subclasses under the token was tried and reverted: an icon button is an interactive control, and every query of this kind is looking for a decorative icon to position or tint. Answering one with a button made KbqAlert lay out an empty icon box for a dismissible alert with no status icon, and re-tint its close button to the alert color; answering one with an icon item collapsed the pair KbqAlert compares to report two projected status icons. A host that wants both asks for both, the way KbqAlert does.

PatternManual migration
small on a [kbq-icon] or a [kbq-icon-item]Drop it — nothing ever read it; on an icon button v21-upgrade rewrites it to size
(click) and no (keydown…) on a non-button icon buttonBind (keydown.enter) and (keydown.space), or use a <button>
[tabindex] on an icon buttonnumber | null instead of any; a numeric string is still transformed
.name on a KbqIcon subclassOverride the protected appliesMaxHeight instead

Three fixes with nothing to migrate. The SVG resolution stream no longer terminates on the first name that does not resolve — which the documented font-icon default guarantees on the very first frame — so a stale <svg> is removed on the fallback path, the inline max-height is cleared as well as set, and an element whose [kbq-icon] changes renders the icon it was asked for at the size it was asked for. autoColor takes effect when it is turned on after init and lets go of the error color when it is turned off. And the --kbq-icon-*-color tokens are no longer declared on .kbq-icon: they are consumed with their design token as the var() fallback, so a container can finally re-theme the icons inside it — reading one back with getComputedStyle returns an empty string now.

Reported by icon-semantics-and-api.

This part describes the directive, which moved to @koobiq/components/link/deprecated; the component that replaces it is described above, in "Link component instead of the directive".

The three inputs the automated signal migration skipped were all accessors, and each did something beyond storing a value: disabled wrote a separate signal, tabIndex folded in the disabled state, and print was a setter with no getter that also computed the printed URL.

disabledSignal stays a public WritableSignal<boolean> — kbqTooltip accepts a link through forDisabledComponent and reads it. It is a linkedSignal over the disabled input now, so binding still drives it and a direct write still wins.

PatternManual migration
.disabledRead as disabled() — rewritten for you
.tabIndextabIndex(), and expect what was bound — not -1 for a disabled link
.print = …Bind [print]; it was a setter with no getter, so there is no read to fix
.icons / .icon / .hasIconNow protected/private; the icon spacing classes are the contract
.printMode / .printUrlNow protected; the kbq-link_print class and print attribute are the contract
.ngAfterContentInitNot implemented any more; the icon classes follow the content query on their own

The host attribute still goes to -1 while the link is disabled, so nothing about focus behavior changed — only a programmatic read of tabIndex sees the difference.

[print]="undefined" no longer marks the link as printable. The old setter tested value !== null, so an explicit undefined passed it: the link got kbq-link_print and printed its href. The input tests != null, which covers both. An unbound link behaves exactly as before — no class, and the href still lands in the print attribute. print accepts string | null instead of any.

A disabled link carries aria-disabled instead of disabled. disabled is not a valid attribute on an <a> or a <span>, and a screen reader still reached the link through its links list and announced it as actionable. The kbq-disabled class and tabindex="-1" are unchanged; if you styled or queried a[kbq-link][disabled], match .kbq-disabled or [aria-disabled] instead.

The kbq-link_print rule reaches the anchor now. The @media print block resolved to a descendant selector, so the printed URL never rendered for anyone. Printing a page with [print] bound now appends the URL after the link text, as documented.

Handled by link-signals: the disabled reads are rewritten, the rest is reported.

text and caption were the two inputs the automated signal migration skipped — it saw them read inside @if blocks and would not risk the narrowing. They are input() now, and honest about being optional: both were declared string over a field with no initializer, so an overlay that bound neither reported undefined from a non-nullable type.

PatternManual migration
.text / .captionRead as text() / caption() — rewritten for you
.text = …Bind [text] in the template — the input is read-only
.isEmpty / .isExternalIndicator / .isExternalText / .isExternalCaption / .spinnerSizeNow protected; what the overlay renders is the contract, not how it decides
.externalIndicator / .externalText / .externalCaptionNow private signal queries

transparent is a booleanAttribute input now, and it flips in both directions. <kbq-loader-overlay transparent> used to pass the empty string, which is falsy, so the valueless attribute rendered the filled background — the opposite of how it reads; [transparent]="0" and NaN read as false the same way. All of them mean true now. Conversely [transparent]="'false'" was a non-empty string, so it used to mean true, and now means false. This is the one change here that produces no compile error, so the schematic reports every file that carries the valueless attribute.

size and card were already signals in 20.2.0 and did not change.

transparent and card are deprecated in favour of surface and will be removed in 22.0.0. surface wins over both when set: use surface="bg" (or bg-secondary / bg-tertiary, to match what lies underneath) for a transparent overlay, surface="solid" for an opaque one, and surface="card" instead of card. An overlay that binds none of them keeps rendering as surface="bg".

Handled by loader-overlay-signals: the text and caption reads are rewritten, the rest is reported. v21-upgrade reports transparent and card.

markdownText was the component's only input, and its setter did the rendering — which is why the automated signal migration skipped it. The rendered HTML is a computed now and the input is a plain input().

PatternManual migration
.markdownTextRead as markdownText() — rewritten for you
.markdownText = …Bind [markdownText] in the template — the input is read-only
resultHtml.set(…) in a subclassNow a read-only computed — feed markdownText instead

Two behavior fixes follow from the if (value && …) guard the old setter had.

Clearing markdownText now clears the output. The setter only re-rendered for a truthy value, so setting it back to null or '' left the previous HTML on screen indefinitely.

The projected content is a standing fallback. A <kbq-markdown> that both projects content and binds [markdownText] falls back to the projected content whenever the input is empty, not just at first render. The projected text is re-read when it changes, so content that only appears after the first render - behind an @if, say - is picked up too.

Handled by markdown-signals: the markdownText reads are rewritten, the rest is reported.

The dialog emitted exactly one ARIA attribute — the close button's aria-label. No role="dialog", no aria-modal, no accessible name, and nothing marking the page behind the overlay. A screen reader was never told a dialog had opened, and the virtual cursor walked straight past the overlay into the page underneath while the focus trap held sighted keyboard users inside. There was no workaround either: ModalOptions exposed class and style hooks only.

.kbq-modal-container carries role="dialog", aria-modal="true" and the focus trap now, and it is named by kbqTitle — or by the new kbqAriaLabel option when there is no title, which is the confirm and header-less case. A kbqCaption becomes aria-describedby. A manually composed dialog is named and described the same way, by its own kbq-modal-title and kbq-modal-caption, so the two entry paths are announced alike. While a dialog is shown, every body child that does not contain an overlay is marked inert, and so is every dialog below the topmost one, so code that reaches into the page behind an open dialog no longer takes effect.

Initial focus was getElementsByTagName('button')[0]?.focus(): the first button in document order, which for a titled dialog is the ×, and nothing at all for a dialog without a button — modalService.create({ kbqContent: 'text' }) left focus on the trigger behind the overlay, with cdkTrapFocus applied but nothing inside to contain. Focus now follows the new kbqAutoFocus option, and a dialog with no focusable control focuses itself.

kbqAutoFocusWhere focus lands
'first-tabbable' (default)The first tabbable control — the × for a dialog with a header
'dialog'The dialog element, so a long scrollable body is read from its start
'first-heading'The dialog title
falseNowhere; the caller moves focus into the dialog itself

[cdkFocusInitial] and autofocus inside the dialog still win over all of them.

The close controls of a declarative modal were inert, and they work now. handleCloseResult branched on the runtime type of the trigger: an EventEmitter was emitted and the method returned, and only KbqModalService.create() ever replaced the emitters with closures. So on a <kbq-modal [(kbqVisible)]> the ×, the dim layer and the predefined OK/Cancel buttons emitted and did nothing — the repository's own dev app shipped a modal that could not be dismissed. The cause was the declaration: kbqOnOk and kbqOnCancel were each @Input() and @Output() on one property, typed EventEmitter<T> | OnClickCallback<T>, so the dialog had to branch on what it found there at runtime — and binding both forms on one dialog silently lost the output, because Angular subscribed to the default emitter in the create pass and the input then replaced the property with the function.

Each flow is two members now, and you bind one of them:

BeforeAfterWhat it does
kbqOnOk / kbqOnCancel as a functionkbqOkClick / kbqCancelClick — @Input()Decides: returning false keeps the dialog open
(kbqOnOk) / (kbqOnCancel) as an output(kbqOnOk) / (kbqOnCancel) — unchanged, @Output() onlyNotifies; the dialog closes either way

(kbqOnOk) and (kbqOnCancel) template bindings are unaffected. What moves is the option and the input: modalService.create({ kbqOnOk: fn }) becomes kbqOkClick: fn, and [kbqOnOk]="fn" becomes [kbqOkClick]="fn". ModalOptions.kbqOnOk is an EventEmitter<C> now and ModalOptions.kbqOkClick is the callback, so passing a function under the old key is a compile error rather than a silent change of meaning. Binding both the handler and the event on one dialog is reported in development mode: the handler decides, so the event is never emitted.

KbqModalService.create() and confirm() also stopped forcing a no-op handler into the options — the dialog emits and closes on its own when no handler is bound.

Escape has one implementation for both entry paths. It used to be handled twice: the service path filtered on kbqCloseByESC and ran through kbqOnCancel but ignored a veto, while the declarative path closed unconditionally, ignoring kbqCloseByESC entirely and skipping kbqOnCancel. Escape is the Cancel button now — it honours kbqCloseByESC, and a kbqCancelClick returning false stops it — except an Escape a control inside the dialog already handled, such as a datepicker closing its calendar. The keyboard table's third row, "Submit the form by pressing Enter in any text input", described behaviour that was never implemented and is gone from the guide.

A service-created dialog is destroyed with its opener. ModalBuilderForService disposed its overlay from exactly one place — the kbqAfterClose subscription — and nothing tied it to the caller. Destroying the component that opened it, through a route change or an *ngIf, left the dialog painted over the next view, afterClose never emitted, and document.body { overflow: hidden } was never released, so the page could no longer be scrolled at all. The dialog's lifetime is bound to options.injector now, or to the root environment injector when none is passed, and the overlay is created with disposeOnNavigation: true. The body scroll lock is released from ngOnDestroy as well, and KbqModalControlService releases a modal that was created and destroyed without ever being shown — it used to hold that modal, its view and its subscriptions forever.

The kbqAfterOpen/kbqAfterClose options are mirrored onto the dialog instead of replacing its own emitters, so afterOpen/afterClose on the returned ref keep emitting alongside them, and the overlay teardown no longer hangs off an emitter the caller can complete. A declarative modal also stopped emitting kbqBeforeClose/kbqAfterClose once on creation, before it had ever been shown.

MemberBeforeAfter
transformOrigin, getKbqFooter(), getContainerClasses(), autoFocusedButtonspublicremoved
ModalUtil, modalUtilObject, IClickPositionpublicremoved
handleCloseResult, getButtonCallableProp, isModalType, isTemplateRef, isNonEmptyString, isComponent, isModalButtons, onClickMask, onClickOkCancel, onButtonClick, onKeyDownpublicprotected
maskAnimationClassMap, modalAnimationClassMappublicprotected
ModalOptions.dataanyunknown

transformOrigin was computed from the last document click position — set to {x: -1, y: -1} and returned unconditionally, so a keyboard-opened dialog got an origin of -1 — and applied against keyframes that end at transform: scale(1), against which transform-origin is a no-op. Nothing it produced was ever visible, and the document-wide click listener feeding it was registered at module load and never removed.

The dialog is a flex column now. .kbq-modal-body capped itself at calc(100vh - 260px), a pixel budget standing in for the top offset, the header, the footer and the bottom gutter — none of which are fixed. When the real chrome exceeded it, the dialog overflowed the viewport and .kbq-modal-wrap became the scroller, taking the header and the footer off screen; when it was smaller, the body stopped short of the space available. The dialog is capped at calc(100vh - 2 * var(--kbq-modal-size-viewport-inset)) instead and the body takes what the chrome leaves, so only the body scrolls at any content size. A host that overrode the old max-height on .kbq-modal-body can drop that override. One that used kbqBodyStyle: { maxHeight: 'none' } to let the dialog outgrow the viewport has to move the override onto the dialog element — kbqStyle: { maxHeight: 'none' } — because the cap lives there now; lifting it on the body only makes the body scroll.

Two dead style hooks went with it: .kbq-modal-open — the class was applied nowhere, the scroll lock is an inline style — and the --kbq-modal-size-close-button-margin-left token, which had no readers because the close button is positioned absolutely. .kbq-modal_no-footer reflects the real footer now, composed footers included, so the bottom padding it was always meant to apply to a dialog without a footer finally does.

Two smaller fixes with nothing to migrate: _modal-animation.scss honours prefers-reduced-motion: reduce, and afterOpen/afterClose are driven by animationend with the 300 ms timer only as a fallback, so they fire as soon as the animation is over and immediately when motion is reduced. And the confirm dialog's body has the custom scrollbar and the overflow shadows every other variant already had.

Every input is a signal now. Both things that blocked it are gone: kbqOnOk/kbqOnCancel are split into an input and an output (above), and ModalBuilderForService no longer applies the options with Object.assign(this.modalRef.instance, inputs) — a bulk assignment would overwrite an InputSignal rather than write through it. The options reach the dialog through the new KBQ_MODAL_OPTIONS token instead, as the initial values of its inputs: a service-created dialog has no template bindings, so an input it does not bind keeps that initial value for life.

Template bindings are unaffected — [kbqTitle], [kbqSize], [kbqMaskClosable], [(kbqVisible)] and the rest are unchanged, and kbqVisibleChange is now generated by the model() under the same name and type. What breaks is programmatic access:

BeforeAfter
modal.kbqVisiblemodal.kbqVisible()
modal.kbqVisible = truemodal.kbqVisible.set(true), or open() / close()
modal.kbqTitle, modal.kbqSize, …modal.kbqTitle(), modal.kbqSize(), …
modal.kbqTitle = 'x' and every other inputBind the attribute — a signal input cannot be assigned to

kbqVisible is a model(); every other input is read-only. Three of them keep a writable shadow inside the dialog, because something other than the binding drives them: kbqOkLoading/kbqCancelLoading while a handler's returned promise is pending, and kbqMask while another dialog covers this one. Those shadows are private — the input keeps reporting what was bound, which is also why re-binding it still takes effect.

Two smaller consequences. kbqFooter is no longer overwritten with its own formatted copy on init, so it reports exactly what was bound; the defaults are filled in on the way to the template. And KbqModalComponent no longer declares implements ModalOptions: that interface is the service's contract, and the component's inputs are signals, so the two no longer match structurally.

The four template type guards went with it — isTemplateRef, isNonEmptyString, isComponent and isModalButtons are gone, replaced by one classification per slot. They were protected and @docs-private already, so only a subclass could notice. animateMaskTo stays, and setMaskEnabled joins it, because KbqModalControlService still orchestrates the dim layer of covered dialogs from outside; that orchestration belongs in the dialog and has not moved yet.

Reported by modal-dialog-semantics and modal-signals.

The navbar finished its move to signals, and KbqNavbarItem and KbqNavbarBrand own a KbqTooltipTrigger instead of extending one. Template bindings keep working — [expanded], [collapsable], [collapsedText], [kbqPlacement] and [kbqTrigger] are unchanged — except the tooltip content of an item or a brand.

[kbqTooltip] on kbq-navbar-item and kbq-navbar-brand is [tooltipText] now. kbqTooltip is the tooltip directive's selector, so wherever KbqToolTipModule was imported next to the navbar, the host matched that directive a second time: NG0309 in development, two tooltips in production. On other elements kbqTooltip is unchanged.

PatternManual migration
kbqTooltip on an item or a brandtooltipText, in every binding form — rewritten for you
navbar.expanded / configuration / openOver / tabIndexRead as calls, write expanded and tabIndex with .set(…) — rewritten for you
item.isCollapsed / collapsable / collapsedText, brand.collapsed / collapsedTextRead as calls — rewritten for you
horizontal / vertical of KbqNavbarRectangleElementisHorizontal() / isVertical(), and orientation = 'horizontal' for a write — rewritten for you
item.disabled / brand.disabledRemoved: they suppressed the tooltip. Read item.navbarFocusableItem.disabled, and control the tooltip with [kbqTooltipDisabled]
item.content / show() / hide() / visibleChangeGo through the owned trigger: item.tooltip.content, item.tooltip.show()
item.updateDropdown()Private now: the item refreshes its dropdown itself. Delete the call
logo.hovered / title.hoveredRemoved: bind the pointer enter and leave events on the element
navbar.animationDoneRemoved: it has not emitted since the toggle animation was removed, so a subscription never ran. Bind (expandedChange) to react to a toggle
KbqNavbarContainerPositionTypeRemoved: it had no consumer. Delete the import
kbq-navbar-item[disabled] in a stylesheetA disabled item renders aria-disabled="true" and .kbq-disabled, never the disabled attribute

An item or brand without a title no longer suppresses its tooltip. [tooltipText] on an icon-only item shows without [kbqTooltipDisabled]="false".

Screen readers announce the navbar. The horizontal and the vertical navbar are both role="navigation" landmarks with an aria-label input. An item written as <kbq-navbar-item> rather than <a> or <button>, and not wrapping a button or a form field, is role="button" and answers to Enter and Space; <kbq-navbar-divider> is role="separator". A collapsed item or brand publishes its title as aria-label, so give an icon-only item without a title an aria-label of its own — a tooltip never named it.

Ctrl+/ toggles one vertical navbar — the one holding focus, or else the first on the page — instead of all of them at once.

The navbar left the CDK overlay layer. It reads --kbq-navbar-z-index, --kbq-navbar-toggle-z-index and --kbq-navbar-vertical-open-over-z-index (990, 991 and 989), so overlays render above it. The hard-coded sizes became tokens too: --kbq-navbar-vertical-size-expanded-width, --kbq-navbar-item-vertical-size-height, --kbq-navbar-toggle-size-circle and --kbq-navbar-brand-vertical-size-title-max-width. !important is gone from the collapsed brand title and the item icon color, so an override that relied on losing to it may start applying.

Additive: an icon marked with kbqNavbarItemSuffix is shown after the title. Without the attribute every icon of an item is rendered before the title, wherever it is written. Two fixes come for free: a vertical navbar item with a clipped title shows its tooltip, and a horizontal navbar collapses its items before its content overflows.

Tabbing out of the navbar leaves tabIndex alone. kbq-navbar and kbq-vertical-navbar take themselves out of the tab order in the DOM only, so (tabIndexChange) is not emitted and a bound [tabIndex] is kept instead of being reset to 0. A navbar with no item stays out of the tab order without writing tabIndex either: (tabIndexChange) no longer fires when items appear or disappear, and a bound [tabIndex] applies as soon as there is an item.

Handled by navbar-signals-and-aria: the kbqTooltip binding, the signal reads and writes and the orientation booleans are rewritten, the rest is reported.

The date adapter has to reach the root injector. KbqNotificationCenterModule used to list KbqNotificationCenterService in its own providers, so the service was built in whichever injector imported the module and picked up a DateAdapter provided there. The module no longer provides it — the providedIn: 'root' instance is the only one — so an adapter provided on a feature module or on a component no longer reaches it, and the first injection throws NG0201 No provider found for DateAdapter. Provide it at bootstrap:

bootstrapApplication(App, {
    providers: [importProvidersFrom(KbqLuxonDateModule, KbqFormattersModule)]
});
PatternManual migration
KBQ_NOTIFICATION_CENTER_SCROLL_STRATEGY_FACTORY_PROVIDERGone from the entry point, so the import fails with TS2305. KBQ_NOTIFICATION_CENTER_SCROLL_STRATEGY and kbqNotificationCenterScrollStrategyFactory are still exported — write the provider out by hand
onReload.emit() / onNextPage.emit() / onDelete.emit(…)The three streams are Subjects now, so .emit() is gone — call .next()
trigger.backdropClass / panelClass / offset / scrolledToBottomOffsetSignal inputs: a read is a call, and a write has to become a template binding — an input() has no .set()
service.changes.subscribe((state) => …)changes is an Observable<void> — a ping. The value handed to a subscriber is always undefined

KbqReadStateDirective, which the notification item hosts, renamed its dwell handlers after what they measure rather than after the events that called them: mouseenterHandler() → startDwell() and mouseleaveHandler() → endDwell(). Both new names take an optional channel argument that defaults to the pointer, so a renamed call keeps meaning exactly what it did. timestamp is a read-only getter now and reports number | undefined — the start of the earliest dwell still in progress, and undefined while the host is idle.

The directive measures a keyboard dwell as well now, and the two channels are tracked independently: the dwell ends only once both have left the host. A host that keeps focus for longer than timeToRead is marked read without a pointer ever touching it, and a pointer leaving no longer ends a dwell that focus is still holding open.

Reported by notification-center-signals. The handler rename is applied for you by read-state-dwell-handlers.

Hover mode was broken end to end by a dead expression. this.leaveDelay ?? 500 looks like a default, but the base class sets the field to 0, and 0 ?? 500 is 0 — so the panel closed before the pointer could cross the 8px gap to it, the documented interactive content was unreachable even for pointer users, and the auto-hide watchdog spun as an interval(0) for as long as the panel stayed open.

The delay is derived from the trigger now, and kbqLeaveDelay is a write-only input that records having been bound. Bound in the template, the bound value stands; not bound, the trigger setter re-derives the delay on every change, so a popover switched to hover later gets the hover default instead of the 0 it was born with.

A bound undefined or null, or a value that is not a number, counts as unbound: the hover default applies again, where it used to become NaN and close the panel at once. kbqEnterDelay and kbqPopoverOffset fall back the same way, to 0 and 8.

A programmatic trigger.leaveDelay = 500 records nothing, so the next write to trigger overwrites it. That is the one change here with no compile error behind it.

PatternManual migration
.leaveDelay = …Bind [kbqLeaveDelay], or drop it and take the hover default — it is long enough now
.onConfirm = …onConfirm is readonly; subscribe instead of replacing it
placementChangeEmits string instead of any; only a payload assigned to a non-string breaks

The confirm popover no longer hardcodes its Russian defaults: «Вы уверены, что хотите продолжить?» and «Да» come from the locale now, so a non-RU application renders translated text where it used to render Russian.

Two fixes with nothing to migrate: the trigger subscribed to the global ScrollDispatcher with no teardown in the default configuration, and that subscription is bounded now — a host that worked around the leak by destroying triggers eagerly can stop. And KbqPopoverTrigger can be imported standalone, because the scroll-strategy provider is no longer NgModule-only.

Reported by popover-leave-delay.

The headline is silent. Under prefers-reduced-motion: reduce an indeterminate bar rendered as a full, finished determinate one: the fill was sized only inside the keyframes, so killing the animation left it at width: auto over a track it completely covered. The width is a static declaration now, the animation moves and stretches it with transform alone, and the reduced-motion fallback is an opacity pulse that still reads as "running". The determinate width transition is suppressed under the same preference, where it used to be kept.

[color] used to mean nothing. The theme mixin was scoped to .kbq-theme, the only selector in the repository that gave the track or the fill a color, so every other value rendered both surfaces transparent while the label and caption still painted — the bar looked alive with its indicator gone. The supported set is theme (the default), contrast, contrast-fade and error, and an unsupported or falsy value falls back to the default palette instead of to nothing. Bars that were already bound to 'error' or 'contrast' become visible.

The bar carries progress semantics for the first time: role="progressbar" on the host, with aria-valuenow (the clamped value), aria-valuemin="0" and aria-valuemax="100" in determinate mode and all three omitted in indeterminate mode, which is how an unknown duration is expressed. aria-label is an input now, aliased to the attribute; [kbq-progress-bar-text] and [kbq-progress-bar-caption] render an id and are wired to the bar through aria-labelledby and aria-describedby. A bound aria-label wins over the projected text.

PatternManual migration
.percentageProtected now; clamp at the call site or read aria-valuenow off the host
role / aria-value* / aria-labelledby on the barDrop it — the component renders its own
[attr.aria-label] on the barBind [aria-label]: the host writes that attribute itself

Two more with nothing to migrate. The a11y locale gained a progressBar key, used as the accessible name of a bar carrying neither an aria-label nor a projected text — override it through kbqA11yLocaleConfigurationProvider like any other. And the inner track no longer repeats the host id, so one bar renders exactly one element answering to it and an aria-describedby or <label for> aimed at the bar is no longer ambiguous.

Reported by progress-bar-percentage-and-aria.

size was the last accessor input on the spinner, and the reason the automated signal migration skipped it: its setter stored the size and computed the SVG circle radius in one go. The radius is a computed now and size is a plain input(). id, value and mode became signal inputs back in 20.0.0 and no migration has covered them until now, so this one rewrites their reads as well. A read left un-called is silent rather than loud: spinner.value > 50 is always false and {{ spinner.value }} prints the function source.

PatternManual migration
.size / .id / .value / .modeRead as calls — rewritten for you
.size = … and the other threeBind them in the template — the inputs are read-only
.percentage / .dashOffsetPercentNow protected; derive what you need from the value you already bind
.svgCircleRadiusNow protected; it is the SVG geometry, not a contract

size no longer accepts an arbitrary string. It is typed ProgressSpinnerSize ('compact' | 'big'), resolving a TODO that predates the review. Any other value used to fall through to the compact radius silently; it is a template type error now.

value is a numberAttribute input with a 0 fallback. value="40" used to pass the string "40", which the percentage arithmetic coerced by accident; it is a number now. Anything that is not a number reads as 0 rather than reaching the stroke-dashoffset percentage as NaN, which is not a length at all.

Handled by progress-spinner-signals: the reads are rewritten, the rest is reported.

name is the load-bearing contract in the radio, and it did not hold in either direction. The CDK's UniqueSelectionDispatcher is application-global and fans every notification out to every listener; the name comparison inside each listener is the only isolation there is. A <kbq-radio-button> written without a group never assigned one, so undefined === undefined made every group-less radio in the running application a single selection group — checking one un-checked the others, in unrelated routes, overlays and dialogs. A button now falls back to an id unique to itself, and two group-less radios that used to un-check each other are independent. Markup that relied on the old behaviour has to say so: put the buttons in a group, or give them the same explicit [name].

In the other direction, ngOnInit overwrote a bound [name] with the group's, unconditionally, so the documented input did nothing. It is honoured now, and a button bound to its own name inside a group forms its own selection group.

MemberBeforeAfter
KbqRadioButton.isFocusedpublished input, unreadremoved
KbqRadioButton.radioGroupKbqRadioGroupKbqRadioGroup | null
KbqRadioButton.nameundefined without groupgroup name, else a unique id
KbqRadioButton.focus()bare element.focus()focus(origin?: FocusOrigin)
KbqRadioGroup.focus()—forwards to the checked option
KbqRadioGroup.color—colors every button in the group
--kbq-radio-size-big-top, --kbq-radio-size-normal-topdeclared, unreferencedremoved

isFocused had no host binding, no template reference and no consumer — binding it never had an effect. Focus state is carried by the FocusMonitor classes on the host; read those, or call focus(origin). radioGroup was always injected with { optional: true } behind a non-null assertion, so a group-less button already returned null through a non-nullable type.

The accessibility work has nothing to migrate, but it changes what a screen reader announces. <kbq-radio-group> is a radiogroup, which takes no name from its content — name it with a plain aria-label / aria-labelledby attribute on the element, the way the shipped examples now do; a detached label sibling leaves the group unnamed. A kbq-hint projected into a button is exposed through aria-describedby instead of being folded into the button's accessible name, so an option is announced by its own text rather than by its text plus its caption. [required] reaches the group as aria-required, and an error color as aria-invalid.

[color] on the group is one binding for every button in it, so the error palette no longer has to be repeated per option. And the native input carries its option value, so a group inside a plain <form> submits that value instead of the literal "on" — only string-like values round-trip, and a group meant for native submission still needs an explicit [name], because the generated one changes between application loads.

The one-way inputs are signals now. A read of one is a call. The rewrite is scoped by receiver type, which matters more here than anywhere else in the campaign: name, labelPosition and required exist on both classes, and only the group's became signals.

TypeMembersRead
KbqRadioGroupname, labelPosition, requiredgroup.required()
KbqRadioButtonid, inputIdbutton.id()

So group.required becomes group.required() while button.required is left alone — the button's copy folds in the group's value, which is why it stayed an accessor. id is read-only now: bind [id] rather than assigning to it, and bind null or an empty string to keep the generated one.

KbqRadioGroup.value, .selected and .disabled are deliberately unchanged. ControlValueAccessor writes the first and last, the buttons write selected, and writeValue has to resolve the checked button synchronously before the first render — none of which a read-only input() supports, and a model() carries no transform, which disabled needs to coerce an attribute.

KbqRadioGroup is a component now. A kbq-error put inside the group is rendered under the buttons only while the group is in the error state, lined up with the option text, and a kbq-hint put directly inside the group is moved under the buttons too, after the error; the group references both from its aria-describedby. A component cannot be applied through hostDirectives, and a subclass decorated with @Directive fails at runtime with NG0903: render a <kbq-radio-group> element instead, or decorate the subclass with @Component and repeat <ng-content /> and the kbq-error slot in its template.

Reported by radio-signals-and-aria.

The upgrade to Angular 20 already renames the kbq-filter-search element to kbq-search-expandable. That rewrite only ever touched the tag, so the inputs of the removed KbqFilterBarSearch survived as attributes the new component does not have — silently, because an unknown attribute on a component is not an error. v20-upgrade renames them too now:

BeforeAfter
emitValueByEnterisEmitValueByEnterEnabled
onSearchTimeoutemitValueTimeout
tooltiptooltipText

The debounce default changed with the name. onSearchTimeout defaulted to 0, emitValueTimeout defaults to 200. Markup that never set it now emits 200ms later than it used to — add [emitValueTimeout]="0" to keep the old timing.

PatternManual migration
[initialValue]Seed the bound [formControl] / [(ngModel)] — the component has no value input
(onSearch)Read the query from the bound control instead
kbq-filter-search as an attributekbq-search-expandable is element-only — replace the host element by hand

One behavior change with no attribute to match on: Enter now calls preventDefault(). Angular only does that for a handler returning literal false, so until now an Enter inside a native <form> submitted the form on top of the value the component had just emitted. A host that relied on that submit needs to trigger it itself.

Handled by v20-upgrade: the selector and the three input names are rewritten for you, the rest is reported.

The trigger-label surface moved to signal inputs and the overlay plumbing was closed. Every input kept its alias, so [hiddenItemsText] and [hiddenItemsTextFormatter] bind exactly as before — only programmatic access changed.

MemberBeforeAfter
hiddenItemsTextaccessor pairInputSignal<string | undefined>
hiddenItemsTextFormatteroverridable methodinput holding the function
overlayDirpublicprotected
triggerRectpublicprotected
onRemoveMatcherItem$event: any$event: Event
selectEventsexported from core/select/eventsremoved together with the module
PatternManual migration
.hiddenItemsText = …Bind [hiddenItemsText] — an input() has no .set()
.hiddenItemsTextRead it as hiddenItemsText(); it reports string | undefined
.hiddenItemsTextFormatterhiddenItemsTextFormatter()(template, count); an override becomes a binding
.overlayDir / .triggerRectProtected; use the open/close API and the panel inputs
selectEventsDelete the import — it was one constant whose value equalled its own name

Multiple mode orders the selection by the panel now. sortValues() has always been documented as sorting "based on their order in the panel", but its default comparator was a.value - b.value, which never produced that order: on string values the subtraction is NaN, which a sort treats as "equal", so the selection simply kept the order the values arrived in; on numeric values it sorted by the number itself, matching the panel only when the options happen to be declared in ascending order. The default is now the option's real index in the panel. A value whose option is not rendered — a KbqVirtualOption under virtual scroll, or showPreselectedValues — has no place in that order and sorts after every value that has one.

The order shows up in three places: the array emitted to the form, the tags in the trigger, and which option is highlighted when the panel opens. A host that re-sorted the emitted value into panel order itself can drop that. To keep a different order, bind [sortComparator] — (a, b) => a.value - b.value reproduces the old behaviour for numeric values, and () => 0 reproduces it for every other type, since a comparator that reports everything equal leaves the arrival order alone.

Two more fixes with nothing to migrate: the locale subscription created in the constructor had no teardown, and a root-provided singleton held every created-then-destroyed select for the lifetime of the app; and the select carries combobox/listbox/option ARIA now, with a keyboard-operable tag-remove control, so hand-rolled role or aria-* attributes on the host are duplicates.

The rest of the select inputs followed. hasBackdrop, compareWith and searchMinOptionsThreshold are signals: read them as calls — compareWith()(a, b); searchMinOptionsThreshold() still reports the resolved number. multiple, tabIndex and selectAllHandler are signal inputs read through a getter. None of the six can be assigned any more: bind them in the template. Changing [multiple] after the first render still throws.

KbqTimezoneSelect extends KbqSelect, so everything above applies to it as well, and a file that names only the timezone select is reported too.

Reported by select-signal-inputs.

A sidepanel without a backdrop no longer freezes the page. createOverlay() hardcoded CDK's BlockScrollStrategy for every panel, and that strategy pins the document with position: fixed — the exact opposite of what the non-modal mode is named after. The strategy follows the modality now: block() with a backdrop, reposition() without. KbqSidepanelConfig gained scrollStrategy?: () => ScrollStrategy for the panels that want something else, and the blocked page survives closing the lower panel of a stack, which used to release it while the panels above stayed open.

Focus is captured and restored in both modes. trapFocusAutoCapture defaulted to !!hasBackdrop, so a non-modal sidepanel neither took focus nor gave it back — CdkTrapFocus only restores focus it captured itself, and the guide promised restoration unconditionally. It defaults to true now. The focus trap still follows hasBackdrop: a non-modal panel leaves the page behind it tabbable, and trapFocus: true opts in.

PatternManual migration
{ hasBackdrop: false } needing the blockscrollStrategy: () => overlay.scrollStrategies.block()
{ hasBackdrop: false } keeping focus outtrapFocusAutoCapture: false
config.hasBackdrop = … after openNever worked — the value is read once. Only disableClose is re-read
overlayRef.backdropElement!null without a backdrop; decide the backdrop when you open the sidepanel
.kbq-sidepanel-overlay in a stylesheetThe class is no longer stamped; tag the pane with overlayPanelClass
host: { class: 'layout-column flex' } on sidepanel contentDelete it — the package styles the portal host now
closeDirective.sidepanelResult = …An input signal now: bind kbq-sidepanel-close="…" in the template
closeDirective.sidepanelResult readsidepanelResult()

KbqSidepanelModule no longer swaps FocusTrapFactory application-wide. The module provided { provide: FocusTrapFactory, useClass: ConfigurableFocusTrapFactory }, an unscoped override of a providedIn: 'root' CDK service: importing the sidepanel module changed the focus-trap implementation of every trapping component in the application — modal, dropdown, popover. The override is scoped to the sidepanel container now. Add the provider to your own application config if you were depending on it.

cdkScrollable on kbq-sidepanel-body is no longer needed. The sidepanel body gets CdkScrollable through KbqScrollbarViewport, so tooltips, popovers and dropdowns inside it follow its scrolling with no extra markup. Remove a cdkScrollable added to the body by hand: the directive would match the element a second time, and Angular throws NG0309 in development mode.

The container is a dialog to assistive technology at last: role="dialog", aria-modal for a modal panel, and an aria-labelledby pointing at the kbq-sidepanel-header title, with ariaLabel / ariaLabelledBy on the config for a panel that has no header. While a modal sidepanel is open the rest of the page is aria-hidden, so a screen reader stops walking the page behind it. Any role or aria-* you were stamping on the container yourself is a duplicate now.

Four smaller fixes with nothing to migrate: a component-provided KbqSidepanelService closes the panels it opened when it is destroyed, instead of leaving an orphaned overlay behind; closeAll() no longer reverses the live stack in place; the indent strip belongs to the top panel of a stack alone, where a stack three deep used to draw one strip per level and closing a lower panel left the one above exposing a panel that was no longer there; a second close('B') before the animation finishes no longer overwrites the 'A' the first call promised; and a click inside a sidepanel at another edge no longer closes an unrelated panel. KbqSidepanelService is providedIn: 'root'.

Escape closes one layer at a time. A sidepanel, the actions panel, the notification center and the dropdown no longer close on an Escape that a layer above them or a control inside them already handled — a tooltip, a popover, a confirm dialog opened over the panel, a control closing a popup of its own. The notification center now marks the Escape it closes on as handled (preventDefault()), so a sidepanel underneath stays open. A handler of your own that calls preventDefault() on Escape keeps these panels open too.

The sidepanel reports its transitions after the render that applies them. beforeClosed() and afterOpened() no longer fire synchronously inside open() or close(): a subscription made right after close() is notified, and a sidepanel opened from afterOpened() of a lower one lands on top of the stack. Code that relied on beforeClosed() having fired by the time close() returned waits for the emission.

Reported by sidepanel-non-modal-behavior.

KbqSplitButton.disabled was published as boolean, but the backing field is declared without an initializer and the setter returns early for undefined. A <kbq-split-button> with no [disabled] binding therefore reported undefined from a non-nullable type, and the code reading it was quietly wrong:

const flag: boolean = splitButton.disabled; // held undefined
if (splitButton.disabled === false) {
    // never ran
}

The getter now reports boolean | undefined, which is what the sibling KbqButtonGroupRoot has always reported. Nothing about the runtime value changed — the call sites that were already wrong now fail to compile.

PatternManual migration
.disabled on a KbqSplitButton?? false for the common reading, or handle the unset state explicitly
buttons.* in a subclassNow a protected signal query: read buttons(); buttons.changes is gone

A <kbq-split-button> with no projected button no longer throws outside dev mode. The guard sits behind isDevMode(), so production renders an empty control instead of aborting the change detection pass of whoever rendered it — a host that used the throw as a runtime assertion needs its own check.

Reported by split-button-optional-disabled.

KbqTableCellContent is removed. It was declared selector: 'kbq-table td', and Angular's directive selector grammar has element names, attributes, classes and :not(…) — but no combinators. The parser calls setElement() for every bare tag it meets, so the second one overwrote the first and the effective selector was plain td: every template that imported KbqTableModule got a directive instance plus a live content query on every cell it rendered, whether or not the table was a kbq-table. The kbq-table element the selector named has never existed either — the component is an attribute on a native <table>.

The one rule the directive fed — a cell holding a button keeps the row at the button's own height — is CSS now, which also drops the @koobiq/components/button dependency from the table entry point:

.kbq-table > :is(tbody, tfoot) > tr > :is(td, th):has(.kbq-button, .kbq-button-icon) {
    padding-block: var(--kbq-size-xxs);
}
PatternManual migration
KbqTableCellContentDelete it from the imports array; nothing replaces it
.kbq-table-cell_has-buttonSelect the cell: :is(td, th):has(.kbq-button, .kbq-button-icon)
tr:hover { background: none }Bind [disableHover] or set --kbq-table-states-hover-background: transparent

Row hover and the pill corner radii cover <th> inside <tbody> as well as <td>, so a row led by a row header is highlighted and rounded as a unit instead of from its second cell on. That is also why a consumer rule keyed on the row rather than the cell used to be a silent no-op.

Every color moved behind a --kbq-table-* token — --kbq-table-header-text, --kbq-table-body-text, --kbq-table-border-color, --kbq-table-states-hover-background and --kbq-table-sticky-header-background — and the row radius behind --kbq-table-size-row-border-radius. No value changed: a pinned header still takes --kbq-background-bg, and the point of the token is that a table on a card, in a modal or in a sidepanel can now be pointed at that surface — --kbq-table-sticky-header-background: var(--kbq-background-card) — instead of out-specifying .kbq-table > thead > tr > th.

Cell padding and the corner radii are logical properties, alignment goes through --kbq-table-cell-text-align (default start), and <tfoot> gets the library color and typography it was already being padded for. A pinned header publishes its measured height as --kbq-table-size-sticky-header-height, which the table uses as scroll-margin-block-start on its cells and their focusable content, so a control scrolled to the top edge of the container does not land under the header (WCAG 2.2 SC 2.4.11). Add scroll-padding-block-start to your own scroll container if it holds more than the table.

Reported by table-cell-content.

KbqTabGroup shipped no part of the ARIA tabs pattern, while KbqTabNavBar in the same package shipped all of it. The group now renders it too: the label strip is a role="tablist" (carrying aria-orientation="vertical" when vertical is set), each label a role="tab" with aria-selected and aria-controls, and each body a role="tabpanel" with aria-labelledby and a tab stop while it is the active one. Hand-rolled role or aria-* attributes on those elements are duplicates now, and a label carries aria-disabled in place of the bare disabled attribute that no assistive technology reads off a div.

The roving tabindex follows the header's focus position rather than the selection, and a disabled tab gets -1 rather than no attribute at all. A group whose selected tab was disabled — the default when the first tab is disabled — had no element with tabindex="0" and could not be reached with Tab at all.

[vertical] works as a binding. The layout class came from a selector-matched directive with a static host class, and Angular matches attribute selectors against property-binding names, so <kbq-tab-group [vertical]="false"> kept the class forever. It is bound from the components themselves now, KbqVerticalTabsCssStyler is a deprecated no-op, and disablePagination is derived rather than latched, so a header that stops being vertical gets its paginator arrows back.

resizeStream and the (window:resize) host listener are removed, for the same reason as in kbq-title: nothing was subscribed. subscribeToResize() read the vertical signal input in the constructor, before Angular writes inputs, so it returned early on every instantiation and the listener pushed into a Subject with no subscribers — one in-zone window listener per tab group, doing nothing but the label-overflow tooltip never updating. The header is observed with the CDK SharedResizeObserver now, which also catches container-only resizes.

PatternManual migration
.resizeStreamDrop the call — the shared ResizeObserver re-measures on its own
<kbq-tab-group disabled>Disable the tabs: <kbq-tab [disabled]="true">
.getTabIndex(tab, index)getTabIndex(tab, tabHeader, index); null is now -1
KbqVerticalTabsCssStylerStop importing it — the class follows the vertical binding
.kbq-tab-label[disabled]Target .kbq-disabled, or [aria-disabled="true"] in a test
a[kbqTabLink][disabled]Same: .kbq-disabled, or [aria-disabled="true"]

KbqTabGroup.disabled is removed outright. It was published, documented and listed in the API table, and no template bound it and no style targeted it — <kbq-tab-group disabled> compiled, type-checked and did nothing.

A tab link is an anchor, so it carries aria-disabled now. KbqTabLink emitted a bare disabled attribute alongside it — the same defect the tab labels had, one file over. disabled is defined for form controls, not for <a>, so no assistive technology ever read it there and the styling went through .kbq-disabled the whole time. The input itself is unchanged; only the attribute is gone.

afterLeavingCenter admits it carries nothing. KbqTabBody.afterLeavingCenter was typed EventEmitter<boolean> but is only ever emitted with no argument, so every subscriber has always received undefined. It is EventEmitter<void>, which is what it always was at runtime — a handler that declared a boolean parameter stops compiling and should drop it.

Toggling disablePagination re-measures again. The header only re-ran its pagination check when the orientation or the tab count changed, even though disablePagination feeds the same derived value — so a nav bar whose [disablePagination] binding was flipped at runtime kept stale paginator arrows until something else disturbed it.

Two changes with nothing to match on. KbqTabHeader is OnPush like every other component in the package, so a host that mutated it outside Angular and relied on the Default strategy has to mark it for check. And the four on-surface theme branches read the --kbq-tabs-tab-item-*-on-surface-* tokens they always declared instead of the on-background family — a value overridden only on the on-background tokens no longer reaches a group or nav bar with [onSurface].

Reported by tabs-signals-and-aria.

What stays an accessor stays for a reason the code enforces, not for want of a transform — a backing input carries booleanAttribute, and a signal over it reads back as one. KbqTag.disabled stays a plain boolean because the focus key manager skips items by reading it as a value, and a signal — a function — is always truthy. disabled, tabindex and value on the tag, draggable, tabIndex on the tag list and disabled on the tag input keep their setters; KbqTag.value falls back to the projected text. Those keep their read and write syntax.

The form-field state moved. value, id, placeholder, focused, empty, required, disabled and errorState of KbqTagList are signals: form-field-signals rewrites the reads into calls and a write to disabled or value into .set(), and reports a write to the rest (see Form field review (21.0.0)). id, placeholder, focused and empty of KbqTagInput are read-only signals: form-field-signals rewrites their reads into calls too, and reports a write.

Everything else moved:

PatternManual migration
.addOnBlur / .separators on the tag inputRead as calls — rewritten for you
.selected / .editable / .selectable / .removable on the tagRead as calls — rewritten for you
.removable on the tag listRead as a call — rewritten for you
.separatorKeyCodes = … / .tagList = … on the tag inputBind [kbqTagInputSeparatorKeyCodes] / [kbqTagInputFor]; in exchange both can be read now
Any other write to a member that movedBind the attribute; every write form is reported
tag.selected = …Call select(), deselect() or toggleSelected()

KbqTag.selected is read-only. A change of the [selected] binding still emits selectionChange, the way the old setter did — the tag list listens to it — so a binding keeps working exactly as before. From code, select(), deselect() and toggleSelected() emit it too. There is no .set() to reach for, because one that skipped the event would leave the tag list out of step.

distinct is a booleanAttribute input now. A valueless distinct attribute used to pass the empty string, which is falsy, so duplicate tags were still accepted.

Generated ids come from the CDK _IdGenerator instead of a module-level counter. The shape is unchanged for a default APP_ID: the CDK omits the app id when it is ng, and the counter still starts at 0, so a real app keeps getting kbq-tag-list-0 and kbq-tag-list-input-0. Only an app that sets APP_ID explicitly sees it in the id, right before the counter and with no separator — kbq-tag-list-input-myapp0. The tag list reports the id of its input when it has one, so both surface through the form field.

Handled by tags-signals: reads of the members that moved are rewritten, including through template reference variables, and every write is reported.

The KbqFormFieldControl members of KbqTextarea — value, id, placeholder, required, disabled, focused, empty and errorState — are signals: form-field-signals rewrites the reads in TypeScript into calls and a write to value into .set(), and reports a write to the rest (see Form field review (21.0.0)). The four inputs the textarea owns moved too.

canGrow was the odd one: its getter returned !maxRowLimitReached && bound, so it reported false once the textarea hit maxRows even though the consumer had asked for growth. The folded value is an internal growing computed now, and canGrow() reports what was bound. At the row limit the element keeps its own scrollbar rather than gaining a native resize handle: kbq-textarea_max-row-limit-reached sets resize: unset, which follows kbq-textarea-resizable in the stylesheet and wins on source order.

PatternManual migration
.maxRows / .maxRowLimitReachedRead as calls — rewritten for you
.freeRowsHeightfreeRowsHeight(), and expect undefined when unbound — reported
.canGrowcanGrow(), and expect what was bound — not false at the row limit
.canGrow = … / .maxRows = … / .freeRowsHeight = …Bind them in the template; the inputs are read-only
.grow() / a detached .growProtected now; the textarea re-measures on every value and input change, and a layout change it cannot see is measured at the next one

maxRows and freeRowsHeight report number | undefined. Both were declared non-nullable while an unbound maxRows held undefined, and maxRowLimitReached compared against it — rowsCount > undefined is false, which is why unlimited growth worked at all. freeRowsHeight differs: ngOnInit used to assign the measured line height into the input, so an unbound read came back with a number once the first microtask had run. The fallback is internal now and the input stays undefined, so a call site doing gap + 'px' starts producing "undefined" + "px" with no diagnostic — the migration reports those reads rather than rewriting them.

freeRowsHeight no longer writes itself. It defaulted to the measured line height by assigning its own input in ngOnInit; the fallback is a computed now, so binding it later actually takes effect instead of being overwritten on the next init.

The kbq-textarea_max-row-limit-reached class follows the row count directly. It is derived from a signal written inside runOutsideAngular, so the class used to wait for an unrelated change detection pass to appear.

Generated ids come from the CDK _IdGenerator instead of a module-level counter. The shape is unchanged for a default APP_ID: the CDK omits the app id when it is ng, and the per-prefix counter still starts at 0, so a real app keeps getting kbq-textarea-0. Only an app that sets APP_ID explicitly sees it in the id, and the counter is now shared per prefix rather than per module.

Handled by textarea-signals: the value-safe reads are rewritten, the rest is reported.

The end of a custom range was assembled from the wrong control. mapTimeRange passed toDate: this.form.controls.toTime.value — the time control feeding the date slot — and combineDateAndTime takes the calendar date from its first argument and the clock from its second. A user who picked "to: 20 September" and applied got a range ending on whatever day the timepicker held: today, or the day of the previously applied value. fromDate one line above was wired correctly, which is what makes it a typo rather than a design.

The disagreement went further than a wrong value. The form's own validator reads toDate directly, so validation and emission described different ranges: a range the user drew as valid could be emitted inverted, and vice versa. Ranges persisted by an application built against an earlier release may need correcting — this is the one change here that is about data rather than code.

The rest of the release is the forms contract the component never kept:

PatternManual migration
.timepickerList on a KbqTimeRangeEditorRemoved with the subscription that wrote errorState by hand; provide an ErrorStateMatcher instead
.errorState = … on a KbqTimeRangeTitleAsControlA read-only signal now; drive the state through the bound form control and read it with a call
.value / .empty / .required / .disabled on itSame — read-only signals derived from the host and the bound control
.id / .placeholder / .focused / .controlTypeRead-only; id is generated, controlType is a constant
.stateChanges on itRemoved; read the signals in a computed() or an effect()
.kbq-radio-group .kbq-time-range-editor__rangeThe from/to block is a sibling of the radiogroup now, not a descendant

setDisabledState is implemented on both KbqTimeRange and KbqTimeRangeEditor. A disabled control leaves the tab order, refuses to open the popover, disables the editor's own form and takes a kbq-disabled host class — it used to look and behave enabled while Angular silently discarded the value. KbqTimeRangeTitle gained a disabled input for the built-in trigger.

onTouched is called when the popover closes. Every ErrorStateMatcher in the library keys error display off touched, so a Validators.required on a time range shows its message at the moment the matcher intends instead of never.

valueCorrected compares the outcome instead of the shape of the input. It used to fire on every write of a value with no startDateTime, which the allTime preset legitimately produces, so a host that wrote the payload back looped on it. A handler that counted emissions sees fewer of them.

KbqTimeRangeTitleAsControl is a real KbqFormFieldControl now. Every member was previously declared and never assigned, so a kbq-form-field around it rendered once against undefined state: it could not float the label, could not show the error state, and clicking it focused nothing. The members are read-only signals derived from the host and the bound NgControl, and stateChanges was removed with the rest of the KbqFormFieldControl contract.

Two markup changes: the from/to block moved out of the role="radiogroup" element — a radiogroup must not own four date and time fields — and the popover footer dropped its unnamed role="group". The from/to prefixes carry an id that all four inputs point at with aria-labelledby, replacing an aria-label on a bare <span>, where it is inert.

Reported by time-range-title-for, which carries both changes of this release.

title.for was removed from KbqTimeRangeLocaleConfiguration. The title used to prepend it to the selected period ("за последний час"); the period stands alone now ("последний час" / "Last hour"), and the duration templates of each locale carry whatever word it needs. A custom title template receives the period without a prefix in formattedDate; a word you prefixed through title.for belongs in your durationTemplate.title overrides.

PatternManual migration
A read of title.forDrop it — the title shows the period alone
A for key the schematic could not attribute to a time rangeRemove it from the title section of the override

Handled by time-range-title-for: the key is removed from time-range locale literals, the rest is reported.

The KbqFormFieldControl members of KbqTimepicker — value, id, placeholder, required, disabled, focused, empty and errorState — are signals: form-field-signals rewrites the reads in TypeScript into calls and a write to disabled into .set(), and reports a write to the rest (see Form field review (21.0.0)). The four inputs the timepicker owns moved too.

min and max parsed in their setters and reported the parsed result, so an unparseable bound value read back as null. They report what was bound now; the parsed values stay internal and still drive the validators.

PatternManual migration
.formatRead as format() — rewritten for you
.min / .maxmin() / max() — reported, not rewritten: a read without the call is always truthy, and the value is the bound one rather than the parsed date
.format = … / .min = … / .max = … / .kbqValidationTooltip = …Bind them in the template; the inputs are read-only

A re-bound kbqValidationTooltip no longer stacks subscriptions. The setter subscribed to incorrectInput every time it ran, so after several re-binds one rejected keystroke opened every tooltip ever bound. It is an effect with a teardown now, which also gives an unbound tooltip its own trigger and delay back — the setter left it on a manual trigger with no listeners.

A locale change reformats the rendered time even when the placeholder was set by the consumer. The effect used to return early on a consumer-provided placeholder, which skipped the reformat with it — the two are separate concerns now.

Generated ids come from the CDK _IdGenerator instead of a module-level counter. The shape is unchanged for a default APP_ID: the CDK omits the app id when it is ng, and the counter still starts at 0, so a real app keeps getting kbq-timepicker-0. Only an app that sets APP_ID explicitly sees it in the id, right before the counter and with no separator — kbq-timepicker-myapp0.

Handled by timepicker-signals: the format reads are rewritten, the rest is reported.

The package ships no timezone data: every consumer feeds its own rows through two exported utilities, and both were wrong.

timezonesSortComparator returned parseOffset(first.offset) rather than the difference of the two offsets, so cmp(+05:00, +02:00) and cmp(+02:00, +05:00) were both positive. It is not a valid comparator, and the order a list came out in was whatever the engine's sort algorithm made of it — a world-wide list rendered wrong. Any zone at 00:00:00 compared equal to everything, and an unparsable offset produced NaN, which V8 reads as 0. It returns the difference now, ties break on city instead of on countryName (which is equal for every zone inside a group by construction), and a zone whose offset cannot be resolved sorts last instead of as UTC.

getZonesGroupedByCountry never grouped by country either, despite its name. It read Intl.DateTimeFormat().resolvedOptions().timeZone at call time and produced at most two groups: the host machine's country, and one bucket holding everything else with its countryName overwritten. The same data rendered differently on a developer's laptop, on CI and on an SSR server versus the browser that hydrated it. It groups by country now, one group per country ordered by country name, and reads nothing outside its arguments. The promotion and the aggregate bucket are separate, explicit helpers.

BeforeAfter
getZonesGroupedByCountry(zones, label, country)collapseOtherCountries(getZonesGroupedByCountry(zones), country, label)
getZonesGroupedByCountry(zones, label)collapseOtherCountries(getZonesGroupedByCountry(zones), kbqResolveHostCountry(zones), label)
getZonesGroupedByCountry(zones)promoteCountry(getZonesGroupedByCountry(zones), kbqResolveHostCountry(zones)) for a real per-country grouping

kbqResolveHostCountry is the only helper that reads Intl, and it is separate for exactly that reason: on the server it resolves the server's zone, not the user's.

Two types changed with it. KbqTimezoneGroup.countryCode is string | null — the bucket collapseOtherCountries produces spans countries and says so, instead of borrowing the code of an arbitrary member the way the old aggregate group did. And KbqTimezoneZone.offset is optional: omit it and the offset is resolved from the IANA id every time the option renders, so a zone that observes DST is labelled correctly on both sides of the change. A string supplied there is still rendered verbatim and never recomputed — a Europe/Berlin row written as 01:00:00 used to read UTC+01:00 all summer. Read a zone's current offset with resolveZoneOffset(zone).

kbq-timezone-select rejects multiple with an error instead of accepting it, and multiline with it — that input switches the select to multiple selection just the same, and it had been left as a way around the check. Both guides always said it does not support multiple selection, but nothing enforced it: the input was inherited, [multiple]="true" compiled cleanly and put the component into a state its template cannot render — the user selected five zones and the field showed one. Use kbq-select for multiple selection.

Four fixes with nothing to migrate. The forked panel template is back in sync with select.html: it binds viewportMargin, handleClick and the kbq-select-overlay pane class, no longer binds offsetY, which is removed (see the select removals above), and projects kbq-select-footer and kbq-select-matcher — a projected footer used to fall into the trailing catch-all and render inside the scrollable option list. The option's overflow tooltip carries the same filtered city list the option renders, instead of the unfiltered one measured against the filtered box. The search placeholder follows the active locale instead of latching to whichever one was applied first, and a placeholder the consumer binds still wins. And UtcOffsetPipe and CitiesByFilterPipe are exported, while KbqTimezoneModule re-exports KbqOptionModule, so the documented usage with kbq-optgroup works from the module alone.

Typeahead finds the city. The option reported its whole line as its label, and that line opens with UTC, so typing a city's first letters in the field never moved past the first option, and a zone west of UTC — written with U+2212, which no keyboard types — could not be reached by typing at all. The label is the city now. What it costs: typing utc+03 no longer moves anywhere; offsets are matched by the search.

Reported by timezone-grouping-utils.

kbq-title measures its host and opens a tooltip when the text is truncated. The review kept that surface — the kbq-title input and the tooltip it opens — and closed the measurement machinery behind it.

resizeStream is the one removal that changes how the directive works rather than only what it exposes. It was fed by a (window:resize) host listener, so one directive instance meant one listener, and kbq-title sits on every dropdown item, list option and tree option. The directive now injects the CDK SharedResizeObserver, which adds no per-instance listener and, unlike window:resize, also reacts to container-only resizes such as a splitter drag or a sidebar collapse.

PatternManual migration
.resizeStreamDrop the call — the shared ResizeObserver re-measures on its own
.hasOnlyTextNow private; read the rendered DOM directly if it is genuinely needed
.child / .parent / .isHorizontalOverflown / .isVerticalOverflown / .handleElementEnter / .hideTooltipNow protected; use the kbq-title input — these are measurement internals
super.ngOnDestroy() in a subclassRemove it — the base tears down through takeUntilDestroyed

The tooltip now also opens on keyboard focus, which the directive always documented but never did; a host that compensated for its absence can drop the workaround. titleContent is typed TemplateRef<unknown> instead of TemplateRef<any> — a TemplateRef<Ctx> still assigns to it, but a value read back out needs a cast.

Reported by title-encapsulation.

KbqToastComponent used to hold readonly service = inject(KbqToastService) and reach the whole service through it. It now resolves only the narrow KbqToastStack contract it actually consumes, through the new KBQ_TOAST_STACK token, which both KbqToastService and KbqToastContainerComponent provide. A subclass registered through KBQ_TOAST_FACTORY is the documented extension point, so it is the code most likely to break:

// Before
class MyToast extends KbqToastComponent {
    ok() {
        this.service.hide(this.id);
    }
}

// After
class MyToast extends KbqToastComponent {
    ok() {
        this.close();
    }
}
PatternManual migration
.serviceclose() for dismissal, or inject(KBQ_TOAST_STACK) for the rest
.elementRefinject<ElementRef<HTMLElement>>(ElementRef)
.ttl / .delayThe countdown moved into the service — pass the lifetime as show()'s duration
.isTemplateRef() / .themePalette / .toastStyleRemoved; they only existed for the old rendering path
.style / .icon / .role / .closeButtonNow protected. data, id, hovered, focused and close() are still public
service.animation.getValue() / .valueRemoved with @angular/animations, see "Animations without @angular/animations" above
A KBQ_TOAST_FACTORY component that does not extend KbqToastComponentRejected: show() reads the numeric id the service keys its stack by, and throws when it is missing rather than stacking a toast it can never dismiss

The data you pass in is no longer written to. show() used to default style to contrast and icon to true by assigning them onto the caller's object; both defaults are resolved inside the toast now. Anything that read those keys back after show() — or rendered the same object somewhere else, which is what kbq-notification-center does — has to apply its own defaults.

Three more behavior changes with nothing to migrate. Auto-dismissal pauses while a toast is hovered or holds the focus; the whole stack shares one heartbeat, which stops while the stack is empty, and a toast shown through showTemplate() carries no such listeners and is not paused. Every toast is a live region — role="alert" for the error and warning styles, role="status" otherwise — and the stack itself is a labelled role="region" whose name comes from the new toastRegion key of the a11y locale section. Focus is handed on only for a keyboard dismissal, to the next toast or back to the element that held it when the toast appeared; a mouse dismissal leaves the focus where the browser put it.

Reported by toast-stack-and-defaults.

ignoreTooltipPointerEvents defaults to false now. It used to default to true, which made every tooltip pane transparent to the pointer. That fails WCAG 1.4.13 Content on Hover or Focus: a hint that takes a while to read cannot be reached, and a user reading at high magnification, whose pointer often ends up over the pane, loses it.

The flip is silent. Markup that never mentioned the input compiles unchanged and behaves differently — the pane now captures clicks meant for whatever it floats over. Add [ignoreTooltipPointerEvents]="true" where a pane overlays a click target.

Already opted out, so nothing to do for them: the built-in overflow hints (kbq-title, kbqEllipsisCenter, the option and timezone hints) and any tooltip whose kbqTrigger is manual or none — hovering such a pane neither opens nor closes it, so there is nothing hoverable to protect.

PatternManual migration
kbqTooltip with no ignoreTooltipPointerEventsAdd [ignoreTooltipPointerEvents]="true" where a pane overlays a click target
.schedulerRemoved; schedule on a scheduler you own
getMouseLeaveListener(delay)Drop the argument — the listener reads the trigger's own leaveDelay
placementChangeEmits KbqPopUpPlacementValues; reading is unaffected, emitting a plain string breaks
.content / .header / .context / .modifierunknown and the real enum replaced any; a value read out needs a cast
KBQ_TOOLTIP_OPEN_TIME / KBQ_TOOLTIP_OPEN_TIME_PROVIDERDeprecated no-ops, removed in 22.0.0: set the window with KBQ_TOOLTIP_INSTANT_SHOW_WINDOW, restart it with KbqTooltipDelayTracker.reset()

Three fixes with nothing to migrate: the pane carries role="tooltip" and the trigger points aria-describedby at it, so a host that added either by hand can drop it; Escape closes a hover tooltip on a non-focusable element, which previously only worked while the trigger itself had focus; and KbqTooltipTrigger can be imported standalone, because KBQ_TOOLTIP_SCROLL_STRATEGY has a factory default and the NgModule is no longer load-bearing.

[kbqTooltipOffset] bound to null, undefined or a value that is not a number keeps the gap of the stylesheet, as documented. It used to write NaNpx, which browsers dropped, so an open tooltip kept the gap set before; switching the binding to null on an open tooltip removes that gap now.

Reported by tooltip-pointer-events-and-types, which reports the absence of the input: a file that renders kbqTooltip and never writes ignoreTooltipPointerEvents is exactly the file whose behavior changed.

The bar has no runtime logic, so everything here is CSS. Two renames are rewritten for you:

BeforeAfter
kbq-top-bar-container__start / __endkbq-top-bar-container_start / _end
--kbq-top-bar-container-start-basis--kbq-top-bar-container-start-min-width

Both classes are modifiers of .kbq-top-bar-container, and the library spells modifiers with a single _ — the component itself does so one line away, in kbq-top-bar_with-shadow.

The renamed token changed meaning with its name. The start container was flex: 1 0 var(--kbq-top-bar-container-start-basis); with flex-shrink: 0 that basis was never a basis but the width the container could not fall below, which is why every example that put content on the left had to invent a value for it. The container is flex: 1 1 auto now, so it shrinks toward --kbq-top-bar-container-start-min-width instead of being pinned at it while the end container absorbs the whole overflow.

kbq-top-bar left the CDK overlay layer. It carried z-index: 1000 — the same value as .cdk-overlay-container — so a dropdown, select or popover panel only painted above it by accident of DOM order. The bar is z-index: var(--kbq-top-bar-z-index) (990) now. An override that raised something above the bar to break that tie is redundant; drop it.

PatternManual migration
.kbq-top-bar-container[placement='…']Select the class the directive applies. The attribute selector matches the static placement="start" form only, so a [placement] property binding silently switches the rule off
z-index raised above kbq-top-barRedundant now that the bar sits at 990

One thing that did not change but is worth stating, because the token reads as if it had: --kbq-top-bar-position still defaults to sticky and still does nothing on its own. A sticky box is only offset once it has an inset, and all four were auto. Set the new --kbq-top-bar-inset-block-start: 0 — and put the bar inside the scrolling element — to make it stick.

The bar still ships no landmark role: the same markup is a page header in one place and a panel header in another, and a page may expose only one banner. Add role="banner" where it is the page header, and aria-label — now a documented input — wherever a page renders more than one bar.

Rewritten and reported by top-bar-container-selectors.

The tree moved its inputs and its query members to signals. Six members that used to be writable are getters now — over a computed(), over an InputSignal, or over an asObservable() view of a Subject.

An unmigrated write does not merely stop compiling. Assigning to a getter-only property throws TypeError: Cannot set property … which has only a getter in strict mode, and an ES module is always strict, so it throws at runtime in any build that skips type checking.

MemberWasIs
KbqTreeNodeToggle.disabled@Input() accessor pairgetter over a computed()
KbqTreeBase.nodeDefsQueryList<KbqTreeNodeDef<T>>Signal<readonly KbqTreeNodeDef<T>[]>
KbqTreeNodePadding.indentaccessor pairInputSignal<number | string>
KbqTreeNodePadding.indentUnitswritable fieldgetter derived from indent
KbqTreeNodeToggleBaseDirective.recursiveaccessor pairInputSignalWithTransform<boolean, …>
KbqTreeOption.onFocus / onBlurSubject<KbqTreeOptionEvent>Observable<KbqTreeOptionEvent>
PatternManual migration
<toggle>.disabled = …Bind the disabled attribute; it still reaches the toggle through disabledInput
<toggle>.recursiveRead recursive(); bind kbqTreeNodeToggleRecursive
nodeDefs.changes / .length / .toArray() / …Read nodeDefs(); replace the subscription with an effect
<padding>.indent / .indentUnitsRead indent(); bind kbqTreeNodePaddingIndent
<option>.onFocus.next(…) / onBlur.next(…)Subscribe instead — the option emits on both streams itself

Two of the six are silent rather than loud. KbqTreeBase is exported and is the documented extension point for a custom tree: a subclass reading this.nodeDefs.length now gets 0 — the arity of the signal function — instead of the number of node definitions, and this.nodeDefs.changes.subscribe(…) throws. And KbqTreeNodeToggle kept disabled as the input alias (the input itself is declared as disabledInput), so every template binding keeps working and only imperative writes break.

The inputs of KbqTreeSelection and KbqTreeOption followed: treeControl, dataSource, disabled, tabIndex and selectAllHandler of the tree, disabled and showCheckbox of the option are signal inputs read through a getter. A read is unchanged, a programmatic write no longer compiles: bind them. multiple is an input now too, and its getter never had a setter: set the selection mode through multipleMode, which stays writable. autoSelect, noUnselectLast, typeAhead and selectAll stay writable, since KbqTreeSelect writes them.

A [dataSource] bound back to undefined clears the tree as null does, and dataSource reports null rather than undefined while no source is set.

KbqTreeSelection, KbqTreeOption and KbqTreeSelect take the type of the data node, T, any by default. selectionModel is SelectionModel<T> instead of a model over an unexported interface that did not describe the nodes it holds, and KbqTreeOption.data is the node rather than the option type it was declared with. A template infers T of the tree from [treeControl], [dataSource], [trackBy] and [selectAllHandler], so with strictTemplates a tree whose bindings name different node types no longer compiles: give them the same type. A query names it: viewChild.required<KbqTreeSelection<Node>>(KbqTreeSelection).

Reported by tree-signals. A project that renders a tree at all also gets a summary of all six members, because five of them are only visible at a call site that writes them — a consumer that merely reads one gets a value whose type changed under it and no diagnostic at all.

The review typed the surface and dropped the members that only existed to feed the template.

MemberBeforeAfter
valueChangedeclared outputremoved
getPanelClasses(), getPanelTheme(), isRtl(), transformOriginpublicremoved
hiddenItemsText, hiddenItemsTextFormatteraccessor / methodsignal inputs
hiddenItems, colorForStateplain membersWritableSignal / Signal
options, tags, overlayDir, triggerRect, panelDoneAnimatingStream, changeDetectorRefpublicprotected
KbqTreeSelectChangevalue: anygeneric, typed value

valueChange deserves a note. It was declared and documented as the other half of a two-way binding on a value input that does not exist, and nothing ever emitted it — so (valueChange) never fired. Removing it changes nothing at runtime either: Angular treats an unmatched (x) as a DOM event listener, which stays just as silent.

PatternManual migration
valueChangeListen to (selectionChange)
.getPanelClasses() / .getPanelTheme() / .isRtl() / .transformOriginBind [panelClass] if the panel needs styling
.hiddenItemsText = … and friendsBind the input — a signal member takes no assignment
.hiddenItemsText and friendsRead them as calls
.options / .tags / .overlayDir / …Protected; use the open/close API, the inputs and (selectionChange)

KbqTreeSelectChange is generic and its value is no longer any, so a handler that relied on the implicit widening needs the type argument.

Three fixes with nothing to migrate: the embedded tree is set up through KbqTreeSelection.initializeForEmbedding() instead of a second manual ngAfterContentInit(), which used to leave duplicate subscriptions on query lists that are never re-created — so every options change was handled several times, on the search-filtering hot path; the dead { provide: KbqTree, useExisting: KbqTreeSelect } provider is gone, since KbqTreeSelect never satisfied KbqTree structurally and anything injecting KbqTree from inside a tree-select was getting an object that only looked right; and the component renders a host id and carries combobox ARIA, so the form field label's [attr.for] resolves instead of dangling.

hasBackdrop and searchMinOptionsThreshold are signals like on KbqSelect, and multiple, autoSelect, tabIndex and selectAllHandler are signal inputs read through a getter. None of them can be assigned any more: bind them in the template.

A multiple value is ordered by the panel now. sortValues() compared the selected data nodes against the rendered options, so it never matched anything and the selection kept the order the values were written in. The default is now each node's place in the tree, collapsed branches included; a node missing from the data sorts last. The order shows in value() and in the trigger tags. [sortComparator] gets what it always received — two selected data nodes — and its third argument is now every data node of the tree in panel order (treeControl.dataNodes) instead of the rendered KbqTreeOption[], as KbqTreeSelectSortComparator<T> types it. A comparator typed with KbqTreeOption has to take your node type instead; () => 0 keeps the write order.

Three more fixes with nothing to migrate: a value the form writes before the tree data arrives (over HTTP, say) is applied once the nodes arrive, in KbqTreeSelect and in KbqTreeSelection alike, until the user changes the selection; replacing dataSource.data with equal new nodes no longer marks the control dirty or emits valueChanges and (selectionChange); and a node value of 0 or '' is selected instead of clearing the selection.

Reported by tree-select-signals.

Both pipes carried @Injectable({ providedIn: 'root' }) on top of @Pipe, which gave them two instantiation paths with two different injectors. In a template a pipe resolves KBQ_PROFILE_MAPPING at the node injector, so a component- or route-level provider applies; obtained with inject(KbqUsernamePipe) — the pattern both guides recommended for search — it was the root singleton, and the scoped mapping was invisible. The same class formatted the same profile two different ways depending on how you got hold of it.

providedIn: 'root' is gone. Templates are unaffected; only DI call sites break.

PatternManual migration
inject(KbqUsernamePipe).transform(user)kbqInjectUsernameFormatter(), then formatUsername(user)
inject(KbqUsernameCustomPipe).transform(user, format)kbqFormatUsernameCustom(user, format, inject(KBQ_PROFILE_MAPPING))
constructor(private pipe: KbqUsernamePipe)private readonly formatUsername = kbqInjectUsernameFormatter()
KbqMappingMissingErrorRemoved; both pipes fall back to the exported kbqDefaultProfileMapping

kbqInjectUsernameFormatter() runs in an injection context and resolves the mapping where you call it, which is what makes its string match the one kbq-username renders next to it.

Two rendering changes need no migration but do change output. kbq-username used to require both firstName and lastName before it would render a name, so { lastName: 'Root', login: 'mroot' } rendered the login alone and { firstName: 'Maxwell', middleName: 'Alan' } rendered an empty element; it now renders whatever name fields the profile carries. And the shipped KBQ_PROFILE_MAPPING maps the uppercase keys F / M / L as well, so {{ user | kbqUsernameCustom }} with the library's own default format renders the surname instead of a literal capital L — spread kbqDefaultProfileMapping to pick those keys up in a mapping of your own.

The rest have nothing to migrate: KbqUsernameSecondaryHint is exported by KbqUsernameModule (it was used by the component's own template but missing from the module, so inside a <kbq-username-custom-view> it silently did not apply); the secondary color no longer hangs off an adjacent-sibling selector, so a login with no name in front of it renders in the secondary color; initials are taken by code point, so a name starting outside the BMP no longer abbreviates to a lone surrogate; kbq-title is not attached in mode="text", which applies no ellipsis for it to detect; and the site hint carries a visually hidden label from the new username.siteLabel locale key.

Reported by username-pipe-injection.

The fileQueueChanged output on multi-file upload (kbq-multiple-file-upload) and fileQueueChange on single-file upload (kbq-single-file-upload) are removed. Use filesChange and fileChange instead — they fire at the same time, with the same value, so this is a rename, not a behavior change.

ng update @koobiq/components@21

Or manually:

ng g @koobiq/components:file-upload-deprecated-outputs --project "<your project>"

Every (fileQueueChanged) and (fileQueueChange) binding is renamed to (filesChange) / (fileChange), in templates and in TypeScript code (for example .fileQueueChanged.subscribe(...) becomes .filesChange.subscribe(...)). The rewrite is textual, not scoped to Koobiq component usage — it also matches an unrelated string, attribute value or identifier of your own that happens to carry the same name, so review the diff before committing.

Accordion state saving is now built on a store shared by the whole library, so other components can persist their state through the same token. The accordion-specific store API is removed:

RemovedUse instead
KBQ_ACCORDION_STATE_STOREKBQ_STATE_STORE
KbqAccordionStateStoreKbqStateStore
KbqAccordionLocalStorageStateStoreKbqLocalStorageStateStore
KbqAccordionItemSnapshotremoved with the format it described

The replacements are imported from @koobiq/components/core. Providing KBQ_STATE_STORE in the accordion's own providers scopes the replacement to that accordion, the way the accordion-specific token used to.

A custom store now moves opaque payloads: getState() returns unknown instead of a typed state, and each component normalizes what it reads. If you implemented KbqAccordionStateStore, widen the signatures and drop the accordion-specific typing:

// Before
getState(key: string): KbqAccordionState | null;
setState(key: string, state: KbqAccordionState): void;

// After
getState(key: string): unknown;
setState(key: string, state: unknown): void;
removeState(key: string): void;

removeState is new and required — the store has a real delete path now, which is what clearSavedState() on the accordion calls.

KbqAccordion.saveItemState() and KbqAccordionItem.getState() are gone as well: the accordion persists a whole snapshot through saveState(). KbqAccordionState is now the list of expanded item values (string[]) rather than a map of item id to snapshot. State persisted in the previous format is migrated while reading, so users do not lose the sections they had expanded.

There is no migration schematic for the store move itself: it changes store implementations and DI providers, not templates. The default flip that shipped alongside it is covered by accordion-state-saving-default — see the next section.

KbqAccordion.useStateSaving defaults to true. An accordion nobody configured now remembers which sections the user left open and restores them on the next render. Pass [useStateSaving]="false" where the initial state belongs to the application.

The default is only defensible because the key no longer depends on instantiation order. When stateSavingKey is empty the key comes from where the accordion sits in the document — the chain of tag names up to <body>, cut short by the first id on the way, which becomes the anchor:

app-root/main/kbq-accordion
app-root/main/kbq-accordion:1
#settings-panel/div/kbq-accordion
#faq

So everything above an id can be restructured without moving the key, and an author pins the key with an id as well as with stateSavingKey. Restructuring below the anchor does move it, and what was saved under the previous key is left behind until it expires. Replace the strategy through KBQ_STATE_SAVING_KEY_RESOLVER to derive the key from something the DOM does not know about, such as the current route.

What else changes with the default:

  • defaultValue applies to the first visit only. From the second one on, the persisted state wins — including when the user collapsed every section.
  • A section with no [value] is persisted by position. KbqAccordionItem.value falls back to the item's position inside its accordion instead of its id, because the id carries a global instantiation counter that shifts as soon as anything else on the page is created ahead of the accordion. Give sections an explicit [value] when the set of sections can change, and wherever valueChange payloads are compared.
  • The two inputs live on a host directive. useStateSaving and stateSavingKey belong to KbqStateSaving, applied through hostDirectives, which is how any component — ours or yours — adds persistence now. Templates are unaffected; programmatic access to them on KbqAccordion is not.
  • The dev-mode warning about a missing stateSavingKey is gone. An accordion nobody configured is the ordinary case now. A warning is still logged when no key can be derived at all — a host that is not in the document when it reads.

Storage format:

  • Entries are written under a kbq.state. prefix, so one cannot collide with a key the application owns.
  • Every entry carries the time it was written. One that goes KBQ_STATE_SAVING_TTL (90 days by default) without being written or read is collected the next time a store is constructed, which is what keeps keys stranded by a restructuring from accumulating. Reading refreshes the entry, so state that is visited but never changed does not expire under an active user.
  • An entry written by 20.2.0 under the bare, unprefixed key is still read, so an upgrade does not reset what users had. It is never rewritten or removed — an unprefixed key is not necessarily ours, and an application storing its own settings must not lose it to a component keyed stateSavingKey="settings". The first save moves the state under the prefix. This bridge is removed in 22.0.0.

The accordion-state-saving-default schematic reports every consumer the default reaches. It is warn-only: the markup whose behavior changed is exactly the markup that says nothing about the input, and opting every accordion out would withhold the feature this release ships.

kbq-tree-selection and kbq-tree persist their expanded nodes, and useStateSaving defaults to true. A tree nobody configured now comes back with the branches the user left open. Pass [useStateSaving]="false" where the initial state belongs to the application.

This is the same KbqStateSaving host directive the accordion applies, so the two inputs, the storage key, the kbq.state. prefix and the TTL all behave exactly as described in the previous section.

Selection is not persisted. It belongs to the form control the tree is bound to, and restoring it from storage would overwrite the value the application supplied. Only expansion is stored.

What to check in your own code:

  • getValue is now the persistence key. Expansion is stored by the value the tree control returns for a node — the third argument of the FlatTreeControl constructor, and the same identity the tree already uses for selection. It must be a string, stable across reloads, and unique within the tree; a node object is re-created whenever the data is replaced, so it cannot serve as the key. Where two nodes share a value, the first of them is expanded, matching what selection does with a duplicate.
  • A tree on a NestedTreeControl persists nothing. That control has no getValue at all. A dev-mode warning is logged once; unset useStateSaving on that tree to silence it.
  • Expansion the application performs itself is not persisted on its own. treeControl.expandAll(), collapseAll() and direct writes to expansionModel are not user actions; call saveState() on the tree afterwards to record them. The next expansion a user performs persists the whole resulting state anyway.

What needs no attention:

  • Nodes that arrive late are waited for. A value whose node is not loaded yet is applied as soon as it appears, so a lazily loaded tree is restored as its branches load. Until then the value is kept, so persisting a change made in the meantime does not drop the branches still loading.
  • Nothing is persisted while a search filter is active. filterNodes() rewrites the expansion set to every expandable node that matched and puts the real one back afterwards, so what is expanded during a search is a view of the results rather than a state.
  • A tree rendered inside an overlay does not persist. kbq-tree-select renders one into its panel, where the tree is not in the document when it initializes and so has no stable key — and a select panel's expansion is transient anyway. Nothing changes for kbq-tree-select consumers.

One thing that is easy to miss: several trees sharing one treeControl share one expansion model while persisting under a key each. The last one to initialize decides what is restored, and only the tree the user acts on records the change — the others keep whatever was already stored under their own keys. Give them a control apiece, or unset useStateSaving on all but one.

New on the tree: saveState(), clearSavedState() and hasSavedState, alongside the useStateSaving and stateSavingKey inputs the host directive forwards.

The tree-state-saving-default schematic reports every consumer the default reaches, the tree controls whose getValue is worth a second look, and the programmatic expansion that is no longer recorded on its own. It is warn-only, for the same reason as the accordion's.

kbq-tab-group, kbq-sidebar and kbq-content-panel-container persist the state a user changes, and useStateSaving defaults to true on all three. This is the same KbqStateSaving host directive the accordion and the tree apply, so the two inputs, the storage key, the kbq.state. prefix and the TTL all behave exactly as described in the previous sections.

Each of them stays out of the store while the application drives the state, so the change only reaches markup that says nothing about it:

ComponentRemembersStays out of it while
kbq-tab-groupthe selected tab, by tabId and by positionselectedIndex or activeTab is bound
kbq-sidebarwhether it was open, and the width it was last closed atopened is bound
kbq-content-panel-containerwhether it was open, and the dragged widthopened is bound

Pass [useStateSaving]="false" anywhere the initial state belongs to the application for another reason.

What to check in your own code:

  • Give tabs a tabId. The selection is stored by id and by position, and only the id survives the tabs being reordered — without one the position restores a different tab, and a dev-mode warning says so. Where the saved id no longer names a tab the position is used, and where neither matches nothing is restored.
  • KbqContentPanelContainer.opened is now openedInput. It reads undefined rather than false while nothing binds it, which is how the panel tells a bound opened from an unbound one. Markup is unaffected — <kbq-content-panel-container [opened]="true"> binds it exactly as before — but reading it off the component no longer compiles. isOpened() is the public read and always was.
  • The content panel's width is restored even when [opened] is bound. There is no widthChange output, so a drag never reached the application and [width] is the width the panel starts at rather than the width it has. Double-clicking the resizer restores that declared width, and the reset is persisted too.

What needs no attention:

  • kbq-tab-nav-bar never persists. It is the navigation variant, where the router decides which link is active; the URL is the state worth restoring there.
  • A component rendered inside an overlay does not persist. It is not in the document when it initializes and so has no stable key.
  • The sidebar's width is the one it had when last closed — the same width it already reuses when reopening, so nothing changes for a sidebar the user never resizes.

New on all three: saveState(), clearSavedState() and hasSavedState, alongside the useStateSaving and stateSavingKey inputs the host directive forwards.

Two components asked for at the same time were handled separately. kbq-sidepanel has nothing a user changes inside it — its width is a preset and its position is chosen by the caller at open() time — and it cannot restore itself, because it exists only while it is open. What it does have is a flag worth keeping, so KbqSidepanelService remembers whether a panel was open and the application reopens it; give the panel a stateSavingKey to opt in. kbq-filter-bar follows in the next section, and resolves the other concern rather than dodging it: the filter being a two-way model() is exactly what lets a restore reach the application.

The state-saving-default schematic reports every consumer the default reaches, the tabs whose selection would fall back to a position, and the reads of opened that no longer compile. It is warn-only, for the same reason as the accordion's and the tree's.

kbq-filter-bar remembers which filter is selected and the edits made to it, and useStateSaving defaults to true. This is the same KbqStateSaving host directive the components above apply, so the two inputs, the storage key, the kbq.state. prefix and the TTL behave exactly as described there.

One thing works differently here. The components above leave a controlled input alone — a sidebar with a bound opened persists nothing at all. The filter bar restores over the value a [filter] binding supplied at initialization, because filter is a model(): the restore writes through it, filterChange fires, and the application loads data for the restored filter exactly as it would for one the user had just picked. Only a change made after that wins.

So the binding is not an opt-out. Pass [useStateSaving]="false" for a bar whose filter the application owns entirely.

What to check in your own code:

  • The first fetch may be for a different filter than before. Whatever (filterChange) already does is what runs — but it now runs once at startup, with the restored filter, before the user has touched anything. A [filter] binding that used to decide the initial dataset no longer does.
  • Project the pipes from the filter the bar reports. Restoring replaces the filter object and every pipe in it with fresh copies, the same way picking a filter from <kbq-filters> already does. Bind [(filter)], or assign what (filterChange) hands you. A pipe projected from an array the bar no longer holds is not the one in filter: editing it does not reach the persisted state, and its remove button stops working.
  • A filter is identified by its name. KbqFilter has no id, so renaming a saved filter loses what was stored for it, and a name that is no longer in filters restores nothing. A list loaded from a server is waited for: the restore applies as soon as the named filter appears, and is abandoned as soon as anything else changes the filter.
  • Keep compareWith in step. Restored values come back as new objects, never the option instances in pipeTemplates, so a pipe whose options are compared by reference will not match one. The default comparator is id-based, which is why the built-in pipes need nothing.

What needs no attention:

  • Only a projection of each pipe is stored — its id (or its name when it has none) and its value. Everything else is rebuilt from filters and pipeTemplates while restoring, because a pipe built from a template keeps that template's compareWith and date bounds, and those do not survive being written to storage. A pipe whose template is gone is left out.
  • Saving filters is untouched. The <kbq-filters> save flow, KbqSaveFilterEvent and filterSavedSuccessfully() are the application storing a named filter; this is the bar remembering, on one device, which of them was in use.
  • saveFilterState() and restoreFilterState() are unrelated and unchanged. They snapshot the filter in memory within one session. clearSavedState() and hasSavedState are the members that reach what is persisted; there is no saveState() on the bar, because it writes on every change by itself.

The filter-bar-state-saving-default schematic reports every consumer the default reaches, the [filter] bindings a restore now overrides, and the places where filter identity and compareWith matter. It is warn-only, for the same reason as the ones above.

Until 21.0.0 a <kbq-cleaner> projected into a <kbq-tag-list> did nothing on its own: the list suppressed the built-in clearing and the removal was the job of a (click) handler you wrote. The cleaner now removes the tags itself and leaves the disabled ones in place, so that handler is no longer needed. It removes them through the same removed output as the remove control inside a tag, which means the wiring that control already needs is all it takes.

<kbq-tag-list>
    <kbq-tag [value]="tag" (removed)="removed($event)">{{ tag }}</kbq-tag>

    <kbq-cleaner />
</kbq-tag-list>

A handler left on the cleaner runs in addition to the built-in clearing and cannot suppress it — the component's own host listener runs first — so it has to go.

To clear the disabled tags as well, bind a predicate that accepts them. A template cannot hold an inline arrow function, so it has to be a field:

readonly clearEverything = (_tag: KbqTag) => true;
<kbq-tag-list [clearPredicate]="clearEverything">...</kbq-tag-list>

A list written as removable="false" offers no removal at all, so it no longer shows a reset control.

The tag-list-cleaner schematic runs automatically:

ng update @koobiq/components@21

Or manually — for example, if you have already upgraded to 21.0.0:

ng g @koobiq/components:tag-list-cleaner --project "<your project>"

To preview the changes without writing them, use --fix=false:

ng g @koobiq/components:tag-list-cleaner --project "<your project>" --fix=false

The (click) handler is removed from every <kbq-cleaner> projected into a <kbq-tag-list>, in both .html files and inline templates. Cleaners outside a tag list are untouched. The expression that was removed is printed for every file, because a handler may have done more than clear the tags.

  • Anything the handler did besides clearing. Put that part back in another binding; the log names the expression that was taken out.
  • A list nothing listens to. If no tag in the list reports removed, the built-in clearing reaches nothing. The schematic keeps the handler and says so — add the (removed) binding, then drop it.
  • A removable="false" list. Its reset control is gone. The schematic keeps the handler and says so.
  • A disabled tag no longer renders kbqTagRemove. This one has no schematic: the control is hidden and the Delete key already refused, so nothing about the removal protocol changed — but a test or a stylesheet that expected the icon on a disabled tag needs updating.

@koobiq/components now requires @koobiq/design-tokens 4, which moved its sources to DTCG format, changed several import paths, and replaced the --kbq-palette-* scale with --kbq-plt-* and --kbq-semantic-* on a 1–20 scale instead of 0–100. Component tokens are gone from the package, except for code-block, scrollbars and skeleton, which v4 ships as opt-in files; nothing to do for those three, since @koobiq/components' own prebuilt-themes/theme.css already bakes their values in. See @koobiq/design-tokens's own README.md#breaking-changes-in-v4 for the full list.

The design-tokens-v4 schematic runs automatically:

ng update @koobiq/components@21

Or manually:

ng g @koobiq/components:design-tokens-v4 --project "<your project>"

The @koobiq/design-tokens entry in package.json is rewritten to ^4.1.0, wherever it was declared — dependencies or devDependencies — and added to dependencies when it was declared nowhere (a project can reach the tokens through the library's own peer dependency alone, with npm having installed them and nothing in package.json saying so). An install is scheduled afterwards.

The rest of the upgrade is in your project's own stylesheets. @koobiq/design-tokens ships a codemod for it, so run that instead of rewriting them by hand:

npx koobiq-tokens-codemod src

It rewrites the moved import paths (web/new/** → web/css/**), the tokens with a one-for-one replacement, and the two removed overlay tokens: var(--kbq-background-overlay-theme) and var(--kbq-background-overlay-error) become color-mix(in srgb, var(--kbq-background-overlay-base-…) calc(var(--kbq-opacity-overlay) * 100%), transparent). The result is not pixel-identical to v3 — look at your overlays after the rewrite.

  • The old --kbq-palette-* scale. The 0–100 scale has no direct mapping onto the 1–20 one, so by default the codemod only suggests the nearest --kbq-plt-* and prints the ΔE. Two flags turn the suggestion into a rewrite: --fix-palette (nearest --kbq-plt-*, applied only when ΔE ≤ 3; adjust the threshold with --palette-delta-e) and --palette-to-color (the literal v3 color inlined as the value). Alpha steps and uses with a fallback are never rewritten — replace those by hand.
  • Review code blocks and scrollbars. These are the only two places v4 changes pixels without being asked; the codemod does not touch them because nothing about their custom properties changed, only the values behind them.
  • scrollbar/deprecated/scrollbar-tokens.scss was removed. Its variables now come from @koobiq/design-tokens — drop any deep imports of that file from your own styles.

Without core in its configuration, the code block now loads the highlight.js core, highlight.js/lib/core, rather than the full bundle with every language, about 1 MB. The library used to hold import('highlight.js'), and a bundler emits a chunk for every import() it finds, so every application built that chunk, even one whose configuration loaded the core and a few languages.

The core highlights no language but plain text. A file whose language is not registered is shown as plain text, with a warning in development mode. Plain text itself needs no entry: the code block registers it, so a file without a language no longer throws Unknown language: "plaintext" under a configuration of the core.

Register the languages the files use:

providers: [
    kbqCodeBlockHighlightJsConfigProvider({
        languages: {
            typescript: () => import('highlight.js/lib/languages/typescript'),
            html: () => import('highlight.js/lib/languages/xml')
        }
    })
];

Or keep every language with the full bundle: kbqCodeBlockHighlightJsConfigProvider({ core: () => import('highlight.js') }).

code-block-highlight-js-core is registered for 21.1.0, so an ng update to that version runs it:

ng g @koobiq/components:code-block-highlight-js-core --project "<your project>"

The migration keeps the full bundle where the code block loaded it. An application that renders code blocks and has no configuration in its root providers gets kbqCodeBlockHighlightJsConfigProvider({ core: () => import('highlight.js') }) there, and a configuration written as an object literal without core gets core: () => import('highlight.js'). Replace either with the languages of your files to drop the 1 MB.

  • A configuration the migration cannot read: a variable, a spread or a factory. It is reported; add core to it if it has none.
  • Root providers the migration cannot read: a bootstrap it cannot analyze, or providers that are not an array literal. No root provider is added; the migration reports the project.
  • A configuration the root providers get through a function. The added root provider overrides it: remove the added one. The migration reports a project that provides a configuration outside its root providers.
  • A library that renders code blocks. The applications that use it provide the configuration.
  • Specs get none of the application's providers: add the configuration to the TestBed of a spec that checks highlighted markup.

kbq-content-panel-container gets tabindex="-1", so that the ESCAPE key closes the panel after a click on text inside the container. After such a click document.activeElement is therefore the container rather than body: code that compares it with body and :focus-within styles on the ancestors of the container see the difference.

The library fills some fields only in a lifecycle hook or when it creates an overlay, and some getters return undefined, while their types promised a value. The types say so now: | undefined. For these fields behavior is unchanged: a read that used to throw TypeError no longer compiles.

ComponentMembersWhen there is no value
selectKbqSelect.selectionModel, triggerRect, the selected getterthe model is created in ngOnInit; selected is empty in single selection without a value
tree-selectKbqTreeSelect.selectionModel, triggerRect, the selected getterbefore ngAfterContentInit and without a tree inside
treeTreeControl and BaseTreeControl: getLevel, isExpandable, getChildren; the data getter of KbqTreeNode and KbqTreeOption; KbqTreeNodeDef.whena flat control has no getChildren, a nested one no getLevel or isExpandable; the "Select all" row has no data; the default node definition has no when
datepickerKbqDatepickerInput.datepicker, calendar; KbqDatepicker.datepickerInputuntil [kbqDatepicker], [kbqCalendar] or an input is bound
accordion, app-switcher, autocompletekeyManagerbefore the content is initialized
core, popover, tooltip, notification-centerKbqPopUp.trigger; KbqPopUpTrigger.portal, strategy, externalNativeElement; trigger and panelId of the panelsbefore the overlay is created
dropdownKbqDropdown.directionuntil the trigger opens the menu
tabsKbqTabChangeEvent.tab, the KbqTab.templateLabel getter, KbqTabLabelWrapper.tab, KbqTabBody.bodyPosition and originthe event also fires after every tab was removed; a tab with a text label has no template
sidepanelKbqSidepanelRef.instancethe panel was opened with a TemplateRef
notification-centerthe KbqNotificationItemComponent.data getter, contextuntil a notification is passed
navbarthe KbqNavbarFocusableItem.tooltip getterthe brand and the collapse button have no tooltip
number-formatterthe fields of KBQ_NUMBER_FORMATTER_OPTIONS and KBQ_NUMBER_FORMATTER_DEFAULT_OPTIONSthe option is not set
  • KbqCheckboxChange and KbqToggleChange take source and checked in the constructor, KbqTabChangeEvent takes index and tab. The fields stay writable.
  • The members of KbqFormFieldControl are abstract. A class that extends it declares value, id, placeholder, ngControl, focused, empty, required, disabled and errorState; a class that implements it already does.
  • KbqPopUp.prefix is abstract: a subclass declares the prefix of its CSS classes.

Parameters and return values declared as any got exact types. A call with what the component expects compiles as before; a call with another type and a subclass that overrides the member with an incompatible signature no longer compile.

  • Event handlers take the event type: onClick (Event) and onKeyDown (KeyboardEvent) of KbqOptionActionComponent, onPaste (ClipboardEvent) of KbqDatepickerInput and KbqTimepicker, KbqTreeOption.onKeydown (KeyboardEvent), KbqTreeSelection.focus (an optional Event | null). This shows in tests that call them with a stub object.
  • KbqCalendar.registerInput takes a KbqDatepickerInput<D>.
  • KbqPopUpTrigger.updatePlacementPriority takes string | string[] | null | undefined.
  • handle of the flat tree filters FilterByValues and FilterParentsForNodes takes string | null, as FlatTreeControlFilter declares.
  • KbqModalRef.markForCheck and KbqDatepickerInput.onPaste return void.
  • KbqPipeDateBaseComponent.formGroup is typed: a FormGroup with the start and end controls.
  • isTemplateRef of KbqPopUp and KbqBasePipe returns value is TemplateRef<C> instead of boolean: a subclass that overrides it with boolean no longer compiles.

Some fields got an initial value of the same type instead of undefined. The type is unchanged, but a strict comparison with undefined before initialization is now false:

  • KbqPopUp: header and content are '', arrow and defaultPaddings are false, context and offset are null. KbqPopUpTrigger.overlayRef is null.
  • BaseTreeControl.dataNodes is [].
  • The keyManager of KbqSelect, KbqTreeSelection, KbqListSelection, KbqTagList and the navbar is created right away.
  • The errorStateMatcher of the file upload is the default ErrorStateMatcher.
  • KbqDatepicker.startAt without the input is null, and dateFilter without the input accepts any date.
  • KbqDatepickerInput: min and max are null.
  • KbqPopoverTrigger: header and footer are ''.
  • popoverHeight of KbqNotificationCenterTrigger and KbqNotificationCenterComponent is ''.
  • KbqSelect.withVirtualScroll and KbqTreeSelect.isEmptySearchResult are false.
  • level of KbqTreeNodeOutletContext and KbqTreeNodePadding is 0, KbqTreeNodePadding.withIcon is false.
  • FlatTreeControl.expandedItemsBeforeFiltration and result of the flat tree filters are [].
  • KbqTreeSelectFlatNode: name is '', level is 0, expandable is false.

An empty array, an object and a function, unlike undefined, are truthy: the checks if (treeControl.dataNodes), if (select.keyManager), if (fileUpload.errorStateMatcher) and if (datepicker.dateFilter) before initialization, like if (treeControl.expandedItemsBeforeFiltration) before the first filtering, now pass.

uninitialized-members is registered for 21.1.0, so an ng update to that version runs it:

ng g @koobiq/components:uninitialized-members --project "<your project>"

Nothing. The schematic only reports where a member of the table is read, an event is created without arguments, or KbqFormFieldControl or KbqPopUp is extended. It matches by name in files that use these types, so it can point at an unrelated object.

  • A read of a member. Check the value, for example select.selectionModel?.selected ?? [], or add ! where the code runs after the component is initialized: ! keeps the old behavior and throws where the old code threw.
  • An event you create. Pass the values to the constructor: new KbqCheckboxChange(checkbox, true).
  • A subclass of KbqFormFieldControl or KbqPopUp. Declare the abstract members.

@koobiq/components/core no longer declares its own copy of the keycode constants (ENTER, SPACE, TAB, the arrows, the numpad and function keys, and the rest). The constants are re-exported from @angular/cdk/keycodes and marked deprecated; the re-export will be removed in 22.0.0.

Nothing breaks in 21.2.0 — existing imports keep compiling. Switch them to @angular/cdk/keycodes at your own pace; the values are identical.

keycodes-import-path is registered for 21.2.0, so an ng update to that version runs it:

ng g @koobiq/components:keycodes-import-path --project "<your project>"

It moves the keycode bindings of every import / export ... from @koobiq/components/core into a statement from @angular/cdk/keycodes, leaves the other bindings on core, and running it twice changes nothing. hasModifierKey and the koobiq-only key helpers (isVerticalMovement, isSelectAll and the rest) intentionally stay importable from core.

The migration is regex-based and does not rewrite aliased imports, local variables, or re-exports — review the diff before committing, rebuild the project and run your tests. The full lists of breaking changes are on the Angular 21 breaking changes and Angular 20 breaking changes pages.

Suggestions for improvement
If you found a mistake or want to improve the article, create an issue on GitHub.