Infragistics Ignite UI for Angular 15.1.0

Released: Feb 9, 2023

15.1.0 での更新項目

機能

  • IgxGrid, IgxTreeGrid and IgxHierarchicalGrid
    • GroupMemberCountSortingStrategy has been added which can be used to sort the grid by number of items in each group in ASC or DESC order, if grouping is applied.
    • A new argument primaryKey has been introduced to IRowDataEventArgs Interface and part of the event arguments that are emitted by the rowAdded and rowDeleted events. When the grid has a primary key attribute added, then the emitted primaryKey event argument represents the row ID, otherwise it defaults to undefined.
    • Added the autoGenerateExclude property which accepts an array of strings for property names that are to be excluded from the generated column collection.
  • IgxColumnComponent
    • Added currRec and groupRec parameters to the groupingComparer function that give access to the all properties of the compared records.
  • IgxOverlayService
    • A new event contentAppending has been introduced - the event is emitted before the content is appended to the overlay. The event is emitted with OverlayEventArgs arguments and is not cancelable.
  • IgxCard
    • Buttons and icons slotted in the igx-card-actions can now be explicitly arranged to the start/end of the layout. To position components on either side users can take advantage of the newly added directives:
      • igxStart - aligns items to the start.
      • igxEnd - aligns items on the end of the card actions area.
    • The reverse property has been deprecated and will be removed in a future version
  • IgxButtonGroup
    • The selected and deselected events are now cancellable.
  • General
    • IgxPivotGrid
      • The IgxPivotDateDimension properties inBaseDimension and inOption have been deprecated and renamed to baseDimension and options respectively.
    • IgxGrid
      • Breaking Change - The onGroupingDone output has been renamed to groupingDone to not violate the no on-prefixed outputs convention. Automatic migrations are available and will be applied on ng update.
      • Column formatters are now applied to values shown group rows when using the default template. For custom formatters, the formatter function is called with the data from the first row in the group.
    • DisplayDensity
      • Breaking Change - The onDensityChanged output has been renamed to densityChanged to not violate the no on-prefixed outputs convention. All components exposing this event are affected. Automatic migrations are available and will be applied on ng update.
    • IgxGrid, IgxTreeGrid and IgxHierarchicalGrid
      • Breaking Change - rowSelectionChanging event arguments have been changed. Now the oldSelection, newSelection, added and removed collections no longer consist of the row keys of the selected elements when the grid has set a primaryKey, but now in any case the row data is emitted. When the grid is working with remote data and a primary key has been set- for the selected rows that are not currently part of the grid view, will be emitted a partial row data object.
      • Behavioral Change - When selected row is deleted from the grid component rowSelectionChanging event will no longer be emitted.
    • IgxCarousel
      • Breaking Change - The onSlideChanged, onSlideAdded, onSlideRemoved, onCarouselPaused and onCarouselPlaying outputs have been renamed to slideChanged, slideAdded, slideRemoved, carouselPaused and carouselPlaying to not violate the no on-prefixed outputs convention. Automatic migrations are available and will be applied on ng update.
    • IgxRadiov IgxRadioGroup, IgxCheckbox and IgxSwitch
      • Added component validation along with styles for invalid state.
    • IgxMask directive
      • Added the ability to escape mask pattern literals.
    • IgxBadge
      • Added new shape property that controls the shape of the badge and can be either square or rounded. The default shape of the badge is rounded.
    • IgxAvatar
      • Breaking Change - The roundShape property has been deprecated and will be removed in a future version. Users can control the shape of the avatar by the newly added shape attribute that can be either square or rounded. The default shape of the avatar is square.
    • IgxOverlayService
      • attach method overload accepting ComponentFactoryResolver (trough NgModuleRef-like object) is now deprecated in line with API deprecated in Angular 13. New overload has been added accepting ViewComponentRef that should be used instead.

不具合の修正

  • IgxSimpleCombo
    • The IgxSimpleCombo will not open its drop-down on clear.