Skip to content

Releases: IgniteUI/igniteui-angular-samples

16.0.0

27 Jun 13:05
2cea049
Compare
Choose a tag to compare

16.0.0

General

  • All Ignite UI for Angular components are now exported as standalone components. The library still exports NgModules, 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 the standalone components. The standalone components 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 the preview state 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 igxChip styles 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 disabled state the remove button is hidden.
  • IgxGrid, IgxHierarchicalGrid:

    • Breaking Change The IgxHeaderExpandIndicatorDirective and IgxHeaderCollapseIndicatorDirective directives, as well as the headerExpandIndicatorTemplate and headerCollapseIndicatorTemplate properties have been renamed to IgxHeaderExpandedIndicatorDirective, IgxHeaderCollapsedIndicatorDirective, headerExpandedIndicatorTemplate and headerCollapsedIndicatorTemplate respectively to properly reflect their purpose. Automatic migrations are available and will be applied on ng update.
  • IgxGrid, IgxTreeGrid, IgxHierarchicalGrid

    Breaking 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 variant which can take any of the following values: 'primary', 'info', 'success', 'warning', 'danger'
  • IgxExpansionPanel:
    • IgxExpansionPanelTitleDirective and IgxExpansionPanelDescriptionDirective show tooltip of the provided text content.
  • IgxDateRangePicker
    • Added showWeekNumbers input that toggles whether or not the number of a week will be visible next to it
  • IgxGrid, IgxHierarchicalGrid:
    • totalItemCount can now also be bound as Input in remote virtualization scenarios.
    • rowExpandedIndicatorTemplate, rowCollapsedIndicatorTemplate, headerExpandedIndicatorTemplate, headerCollapsedIndicatorTemplate can now also be bound as Input to 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 pivotConfigurationChanged event triggered any time any of pivotConfiguration properties is changed via the UI.
  • ISortingExpression now accepts an optional generic type parameter for type narrowing of the fieldName property to keys of the data item, e.g. ISortingExpression<MyDataItem>
  • Util
    • Added new CachedDataCloneStrategy that allows for cloning object with circular references.

15.1.0

28 Mar 11:44
859cb29
Compare
Choose a tag to compare

Upgrade to the latest igniteui-angular version 15.1.0

15.1.0

New Features

  • IgxGrid, IgxTreeGrid, IgxHierarchicalGrid:
    • GroupMemberCountSortingStrategy is 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 that 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 is introduced - the event is emitted before the content is appended to the overlay. The event is emitted with OverlayEventArgs arguments and is not 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.
  • 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, IgxHierarchicalGrid
    • Breaking Change - rowSelectionChanging event arguments are 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.
  • IgxRadio, IgxRadioGroup, IgxCheckbox, IgxSwitch
    • Added component validation along with styles for invalid state
  • igxMask directive
    • Added the capability to escape mask pattern literals.
  • IgxBadge
    • Added 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 square, rounded or circle. 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 is added accepting ViewComponentRef that should be used instead.
  • Breaking Changes - $label-floated-background and $label-floated-disabled-background properties of IgxInputGroupComponent theme has been removed.
  • IgxInputGroupComponent The input group has been refactored so that the floating label for the input of type="border" does not require a background to match the surface background under the input field. Also, suffixes and prefixes are refactored to take the full height of the input which makes it easy to add background to them.
  • Breaking Changes - $size property of scrollbar-theme theme has been renamed to $scrollbar-size.

15.0.0

28 Nov 12:47
9925e87
Compare
Choose a tag to compare

15.0.0

New Features

  • igxGrid - exposing new Input properties:

    • Parameters in grid templates now have types for their context. This can also cause issues if the app is in strict template mode and uses the wrong type. References to the template that may require conversion:

      • IgxColumnComponent - ColumnType (for example the column parameter in igxFilterCellTemplate)
      • IgxGridCell - CellType (for example the cell parameter in igxCell template)
    • excelStyleHeaderIconTemplate - Gets/Sets the excel style header icon.

    • groupRowTemplate - Gets/Sets the template reference for the group row.

    • headSelectorTemplate - Gets/Sets the header row selector template.

    • rowSelectorTemplate - Gets/Sets the custom template used for row selectors.

    • groupByRowSelectorTemplate - Gets/Sets the custom template used for the group row selectors.

    • sortHeaderIconTemplate - Gets/Sets a custom template that should be used when rendering a header sorting indicator when columns are not sorted.

    • sortAscendingHeaderIconTemplate - Gets/Sets a custom template that should be used when rendering a header sorting indicator when columns are sorted in asc order.

    • sortDescendingHeaderIconTemplate - Gets/Sets a custom template that should be used when rendering a header sorting indicator when columns are sorted in desc order.

    • rowEditActionsTemplate - Gets/Sets the row edit actions template.

    • rowAddTextTemplate - Gets/Sets the row add text template.

    • rowEditTextTemplate - Gets/Sets the row edit text template.

    • dragGhostCustomTemplate - Gets/Sets the custom template used for row drag.

    • dragIndicatorIconTemplate - Gets/Sets the custom template used for row drag indicator.

    • detailTemplate - Gets/Sets the master-detail template.

  • IgxGridToolbar

    • Breaking Change - The IgxGridToolbarTitleDirective and IgxGridToolbarActionsDirective have been converted to components, keeping only the element selector. For apps using the preferred element markup of <igx-grid-toolbar-title> and <igx-grid-toolbar-actions> there should be no functional change. Apps using the igxGridToolbarTitle and igxGridToolbarActions directives on other elements will need to convert those to the mentioned elements instead.

    • Behavioral Change - When adding new row in grid with enabled batch editing, rowChangesCount displays the number of the defined columns.

  • IgxGrid, IgxTreeGrid, IgxHierarchicalGrid

    • Behavioral Change - When editing a row, rowChangesCount and hiddenColumnsCountwould be displayed.
    • Behavioral Change - The Grid Paginator component is no longer hidden when there's no data and/or all columns are hidden.
  • IgxExcelExporterService

    • Added support for exporting grid summaries.
    • Columns of type currency will be formatted as currency in Excel based on grid's locale. Locale currency different than USD, EUR, GBP, CNY or JPY will result in exporting the column as number instead.
  • IgxGrid, IgxTreeGrid, IgxHierarchicalGrid, IgxPivotGrid

    • Adding Image column data type
  • IgxCalendar

    Added support for shift key + mouse click interactions.

    • multi mode - select/deselect all dates between the last selected/deselected and the one clicked while holding Shift.
    • range mode - extend/shorten the range from the last selected date to the one clicked while holding Shift.

14.2.0

06 Oct 13:40
ca3b103
Compare
Choose a tag to compare

New samples and functionalities based on the Ignite UI Angular upgrade to 14.2.

Release notes
Blog

New Features

  • The filtering logic inside the grid's Advanced Filtering is now extracted as a separate IgxQueryBuilder component. The Query Builder allows you to build complex queries by specifying AND/OR operators, conditions and values using the UI. It outputs an object describing the structure of the query. Use the locale property to modify the locale settings. The default value is resolved to the global Angular application locale. The resourceStrings allows changing the displayed strings.

    • Code example below:
    <igx-query-builder [fields]="fields">
        <!-- Custom header -->
        <igx-query-builder-header [title]="'Custom title'"
            [showLegend]="false">
        </igx-query-builder-header>
    </igx-query-builder>
  • IgxExcelExporterService

    • Added support for exporting igxPivotGrid.

General

  • Breaking Changes - The Excel exporter service exportEnded event has its xlsx argument type changed as igniteui-angular no longer depends on JSZip. Instead of providing a JSZip instance it is now an object describing the structure of the Excel file with property names corresponding to folders or files, folders being objects themselves that can be traversed down, while files have their contents as Uint8Array. The same structure is used to package as a zip file by fflate's API.
  • IgxDropDown
    • The aria-label attribute of the IgxDropDownItemBase can now be se to a custom value for its descendants (of which IgxDropDownItem) by the ariaLabel property.

14.1.0

14 Sep 08:46
3dac621
Compare
Choose a tag to compare

New samples and functionalities based on the Ignite UI Angular upgrade to 14.1.

Release notes
Blog

New Features

  • IgxCombo and IgxSimpleComboComponent

    • filterFunction input is added. The new property allows changing of the way filtering is done in the combos. By default filtering is made over the values in combo's data when it is a collection of primitive values, or over the values as defined in displayKey of the combo. If custom filtering function is provided filtering will be done as specified in the provided function.
    • filteringOptions are extended and now contains filterable and filteringKey properties. Setting filterable determines whether combo will be filterable. By default filtering is done over the data value when they are primitive, or over the field of the values equal to displayKey. filteringKey allows to filter data by any data related key.
  • igxPivotGrid

    • Add option to template the pivot value chip content:
    <ng-template igxPivotValueChip let-value>
            {{ value.member }}
    </ng-template>
    
    • Add support for usage with igxGridState to persist state of the pivotConfiguration with an additional pivotConfiguration option:
     <igx-pivot-grid
            #grid1
            [igxGridState]="options" ...
        public options : IGridStateOptions = {
        pivotConfiguration: true
    };
    

    One known issue of the igxGridState directive is that it cannot store functions as the state is stored as string.
    As a result any custom functions set to memberFunction, aggregator, formatter, styles etc. will not be stored. Restoring any of these can be achieved with code on application level.
    Hence we have also exposed 2 new events:
    - dimensionInit - emits when a dimension from the configuration is being initialized.
    - valueInit - emits when a value from the configuration is being initialized.
    Which can be used to set back any custom functions you have in the configuration.
    The default aggregator function, like the ones from IgxPivotNumericAggregate, IgxPivotDateAggregate etc., will be restored out of the box. However if you have any custom aggregators (or other custom functions) they need to be set back in the valueInitevent, for example:

        public onValueInit(value: IPivotValue) {
        if (value.member === 'AmountOfSale') {
            value.aggregate.aggregator = IgxTotalSaleAggregate.totalSale;
        }
    }
    

    Same applies to any custom functions on the dimension, like memberFunction. If it is a custom function you can set it back on the dimensionInit event:

     public onDimensionInit(dim: IPivotDimension) {
        if (dim.memberName === 'AllCities') {
            dim.memberFunction = () => 'All';
        }
    }
    
    • igxGridState:
      Exposed a stateParsed event to the state directive that can be used to additionally modify the grid state before it gets applied.
    this.state.stateParsed.subscribe(parsedState => {
            parsedState.sorting.forEach(x => x.strategy = NoopSortingStrategy.instance());
        });
    
  • igxGrid

    • Added built-in validation mechanism for Grid Editing. Extends the Angular Form validation functionality
      You can configure it in 2 ways:

      1. Via template-driven configuration on the igx-column of the grid:

        <igx-column required minlength="4" ...>
      2. Via reactive forms using the FormGroup exposed via the formGroupCreated event of the grid:

        <igx-grid (formGroupCreated)='formCreateHandler($event)' ...>
        public formCreateHandler(formGr: FormGroup) {
            // add a validator
            const prodName = formGr.get('UserName');
            prodName.addValidators(forbiddenNameValidator(/bob/i))
        }

      Edited cells will enter an invalid state when validation fails and will show an error icon and message. Cell will remain invalid until the value is edited to a valid value or the related state in the validation service is cleared.

      You can refer to the documentation for more details: https://www.infragistics.com/products/ignite-ui-angular/angular/components/grid/validation

    • Added ability to auto-size columns to the size of their cells and header content on initialization by setting width auto:

    <column width='auto' ...>
    
    • Added support for restoring filtering expressions with custom filtering operands for the IgxGridStateDirective.
  • Added the IgcFormControl directive that, when imported with its IgcFormsModule, is designed to seamlessly attach to form components from the Ignite UI for WebComponents package and allows using them in Angular templates and reactive forms with support for ngModel and formControlName directives. Currently the only Web Component with support through the directive is igc-rating.

14.0.0

14 Jun 13:08
77b50ae
Compare
Choose a tag to compare

Upgrade Ignite UI for Angular samples to 14.0.0 version

What's Changed

Full Changelog: 13.2.0...14.0.0

13.2.0

26 May 07:36
6c9dd41
Compare
Choose a tag to compare

Upgrade Ignite UI for Angular samples to 13.2.0 version

What's Changed

Full Changelog: 13.1.0...13.2.0

13.1.0

02 Mar 17:48
3bbd061
Compare
Choose a tag to compare

13.0.0

23 Nov 16:35
4a5de6c
Compare
Choose a tag to compare

12.1.0

02 Aug 13:45
ea22a95
Compare
Choose a tag to compare