Angular Layout Dependencies and Standalone Utilities
This article explores the utilities provided by the Kendo UI for Angular Layout for standalone components and the required dependencies for the package.
Kendo Angular Layout Utility Arrays
The concept of standalone components in Angular enables you to import only the components and directives in use.
For convenience, all related Layout components and directives are logically combined into a single utility array that you can directly import in your standalone component. At the same time, you can still import individual components, directives, and pipes from the Layout API.
For example, the KENDO_PANELBAR
utility array allows you to use the Kendo UI for Angular PanelBar and all its features in your standalone component.
import { Component } from '@angular/core';
import { KENDO_PANELBAR } from '@progress/kendo-angular-layout';
@Component({
standalone: true,
selector: 'my-app',
imports: [KENDO_PANELBAR]
})
The following table lists the exported utility arrays that you can import in your standalone Angular project.
Utility Array | Includes |
---|---|
KENDO_AVATAR | Avatar component |
KENDO_CARD | Card component |
KENDO_DRAWER | Drawer component |
KENDO_EXPANSIONPANEL | ExpansionPanel component |
KENDO_GRIDLAYOUT | GridLayout component |
KENDO_PANELBAR | PanelBar component |
KENDO_SPLITTER | Splitter component |
KENDO_STACKLAYOUT | StackLayout component |
KENDO_STEPPER | Stepper component |
KENDO_TABSTRIP | TabStrip component |
KENDO_TILELAYOUT | TileLayout component |
KENDO_TIMELINE | Timeline component |
KENDO_LAYOUT | All Layout components and directives |
Kendo Angular Layout Dependencies
The following table lists the required dependencies that the Layout package needs to work as expected.
Package Name | Description |
---|---|
@angular/common | Provides the commonly-needed services, pipes, and directives provided by the Angular team. For more information, refer to the official Angular documentation. |
@angular/core | Contains critical runtime parts of the Angular framework that are needed by every application. For more information, refer to the official Angular documentation. |
@angular/animations | Contains the library of Angular animations. For more information, refer to the official Angular documentation. |
@progress/kendo-angular-common | Contains common utilities that are needed by every Kendo UI for Angular component. |
@progress/kendo-angular-l10n | Provides the globalization features of Kendo UI for Angular. |
@progress/kendo-angular-icons | Contains the Kendo UI for Angular Icons. |
@progress/kendo-angular-intl | Provides the Kendo UI for Angular services and pipes for the parsing and formatting of dates and numbers. |
@progress/kendo-angular-progressbar | Contains the Kendo UI for Angular ProgressBar component. |
@progress/kendo-licensing | Contains the kendo-ui-license CLI utility for license management and the internal infrastructure related to licensing. |
rxjs | Provides the RxJS library for reactive programming which uses Observables for an easier composition of asynchronous or callback-based code. |