16.0.0
16.0.0
General
-
All Ignite UI for Angular components are now exported as
standalonecomponents. The library still exportsNgModules, which have been preserved for backward compatibility, but they no longer declare any of the Ignite UI for Angular components, instead they just import and export thestandalonecomponents. Thestandalonecomponents are still in a preview stage. Some utility directive exports may change in the future and may be missing from the documentation in the initial release, hence thepreviewstate of the feature.Now you can do:
// IGX_GRID_DIRECTIVES exports all grid related components and directives import { IGX_GRID_DIRECTIVES } from 'igniteui-angular'; @Component({ selector: 'app-grid-sample', styleUrls: ['grid.sample.scss'], templateUrl: 'grid.sample.html', standalone: true, imports: [IGX_GRID_DIRECTIVES, AsyncPipe] })
or
// Single import of only the <igx-grid> component. import { IgxGridComponent } from 'igniteui-angular'; @Component({ selector: 'app-grid-sample', styleUrls: ['grid.sample.scss'], templateUrl: 'grid.sample.html', standalone: true, imports: [IgxGridComponent, AsyncPipe] })
or still
// `NgModule` import of the `IgxGridModule` module, which is equivalent to IGX_GRID_DIRECTIVES in terms of exported components and directives. import { IgxGridModule } from 'igniteui-angular'; @Component({ selector: 'app-grid-sample', styleUrls: ['grid.sample.scss'], templateUrl: 'grid.sample.html', standalone: true, imports: [IgxGridModule, AsyncPipe] })
-
IgxChip- Behavioral Change The
igxChipstyles have been revisited and the select container animation has been removed when selecting/deselecting a chip. - Behavioral Change The remove button behavior have been revisited, now when the chip is in
disabledstate the remove button is hidden.
- Behavioral Change The
-
IgxGrid,IgxHierarchicalGrid:- Breaking Change The
IgxHeaderExpandIndicatorDirectiveandIgxHeaderCollapseIndicatorDirectivedirectives, as well as theheaderExpandIndicatorTemplateandheaderCollapseIndicatorTemplateproperties have been renamed toIgxHeaderExpandedIndicatorDirective,IgxHeaderCollapsedIndicatorDirective,headerExpandedIndicatorTemplateandheaderCollapsedIndicatorTemplaterespectively to properly reflect their purpose. Automatic migrations are available and will be applied onng update.
- Breaking Change The
-
IgxGrid,IgxTreeGrid,IgxHierarchicalGridBreaking Changes: The following grid properties, deprecated since version 12.1.0 are now removed:
- evenRowCSS;
- oddRowCSS;
- page;
- paging;
- perPage;
- totalPages;
- isFirstPage;
- isLastPage;
Also the following deprecated grid events are removed.
- pageChange;
- perPageChange;
- pagingDone;
Deprecated methods removed from the grid API are:
- nextPage;
- previousPage;
- paginate;
- getCellByColumnVisibleIndex;
New Features
IgxChip- New input
variantwhich can take any of the following values:'primary','info','success','warning','danger'
- New input
IgxExpansionPanel:IgxExpansionPanelTitleDirectiveandIgxExpansionPanelDescriptionDirectiveshow tooltip of the provided text content.
IgxDateRangePicker- Added
showWeekNumbersinput that toggles whether or not the number of a week will be visible next to it
- Added
IgxGrid,IgxHierarchicalGrid:totalItemCountcan now also be bound asInputin remote virtualization scenarios.rowExpandedIndicatorTemplate,rowCollapsedIndicatorTemplate,headerExpandedIndicatorTemplate,headerCollapsedIndicatorTemplatecan now also be bound asInputto provide templates for the row and header expand/collapse indicators respectively. This is in addition to the existing equivalent template directives to allow reuse.
IgxPivotGrid- Added
pivotConfigurationChangedevent triggered any time any ofpivotConfigurationproperties is changed via the UI.
- Added
ISortingExpressionnow accepts an optional generic type parameter for type narrowing of thefieldNameproperty to keys of the data item, e.g.ISortingExpression<MyDataItem>Util- Added new
CachedDataCloneStrategythat allows for cloning object with circular references.
- Added new