7.2.0 Release Candidate 2
Pre-release-
igxCalendarigxCalendarhas been refactored to provide the ability to instantiate each view as a separate component.- Feature advanced keyboard navigation support has been added. Read up more information in the ReadMe
-
New component
IgxMonthPicker:- Provides the ability to pick a specific month. Read up more information in the ReadMe
-
New component
IgxHierarchicalGrid:- Provides the ability to represent and manipulate hierarchical data in which each level has a different schema. Each level is represented by a component derived from igx-grid and supports most of its functionality. Read up more information about the IgxHierarchicalGrid in the official documentation or the ReadMe
-
New component The
igxSelectprovides an input with dropdown list allowing selection of a single item.<igx-select #select1 [placeholder]="'Pick One'"> <label igxLabel>Sample Label</label> <igx-select-item *ngFor="let item of items" [value]="item.field"> {{ item.field }} </igx-select-item> </igx-select>
documentation or the ReadMe
-
New directive
igxAutocomplete- new directive that provides a way to enhance a text input by showing a panel of suggested options, provided by the developer. More information about the IgxAutocomplete is available in the official documentation or the ReadMe.<input igxInput type="text" [igxAutocomplete]="townsPanel" /> <igx-drop-down #townsPanel> <igx-drop-down-item *ngFor="let town of towns" [value]="town"> {{town}} </igx-drop-down-item> </igx-drop-down>
-
igxGridnow hasisLoadinginput property. When enabled will show loading indicator, until the data is available. It can be best utilized for remote scenarios. Another input propertyloadingGridTemplateallows customizing the loading indicator.<!-- Example --> <igx-grid [isLoading]="true" ...> </igx-grid>
Group By- The collapse/expand icons have new orientantion to display the action that will be performed when clicked. When an icon points up clicking on it would result in collapsing the related group row and when it points down clicking on it would expand the group row.
- The collapse/expand all icons have also been updated to reflect the new group row icons better.
- Group rows now can be expanded/collapsed using Alt + Arrow Up/Down to reflect the new icons.
filterModeinput added, which determines the filtering ui of the grid. The default value isquickFilter. Other possible value isexcelStyle, which mimics the filtering in Excel with added functionality for column moving, sorting, hiding and pinning.IgxColumnComponentnow hasdisablePinningproperty, which determines wether the column can be pinned from
the toolbar and whether the column pin will be available in the excel style filter menu. ThedisableHidinginput will be used to show/hide the column hiding functionality in the menu.
-
igxTreeGrid- The collapse/expand icons have new orientantion to display the action that will be performed when clicked. When an icon points up clicking on it would result in collapsing the related tree grid level and when it points down clicking on it would expand the tree grid level.
- Expanding/collapsing tree levels can now be performed also by using Alt + Arrow Up/Down to reflect the new icons.
-
igxCombo- Breaking Change
combo.valueis now only a getter. - Feature added support for templating the default input group of the component. The
igx-combonow allows forigx-prefix,igx-suffix,igx-hintand[igxLabel]components to be passed asng-contentand they will be renderer accordingly on the combo's input. Example:
<!-- customize combo input ---> <igx-combo #myCombo [data]="myGenres"> ... <label igxLabel>Genres</label> <igx-prefix><igx-icon>music_note</igx-icon></igx-prefix> </igx-combo>
- Feature the default combo 'clear' and 'toggle' icons can now be templated. Two new directives are added (with selector
[igxComboClearIcon]and[igxComboToggleIcon]). Passing anng-templatewith one of the directives will overwrite the default conent of the respective icon. Functionality will remain unaffected. Expample:
<!-- customize combo input ---> <igx-combo #myCombo [data]="myGenres"> ... <ng-template igxComboToggleIcon let-collapsed> <igx-icon>{{ collapsed ? 'remove_circle' : 'remove_circle_outline'}}</igx-icon> </ng-template> </igx-combo>
- Breaking Change
-
igxDropDownIgxDropDownItemBaseand it's descendants (of whichIgxDropDownItem) have had theirisSelectedandisFocusedproperties deprecated. Instead, useselectedandfocusedproperties.- Added an
@Inputfor theindexproperty (such as the one coming from ngFor) of theIgxDropDownItemcomponent. This deprecates the automatic index calculation.
<igx-drop-down> <igx-drop-down-item *ngFor="let item of items; let i = index" [index]="i"> {{ item.field }} </igx-drop-down-item> </igx-drop-down>
- Feature
IgxDropDownGroupComponenthas been added. It allows for easier grouping of multi-level data, without the need of flattening it. Theigx-drop-down-item-grouptag acceptsigx-drop-down-items and displays them in the appropriate grouped fashion.<igx-drop-down> <igx-drop-down-item-group *ngFor="let country of contries" [label]="country.name"> <igx-drop-down-item *ngFor="let city of country.cities" [value]='city.refNo'> {{ city.name }} </igx-drop-down-item> </igx-drop-down-item-group> </igx-drop-down>
-
Theme Elevations & Shadows- Components with shadows, set by an elevation level or otherwise, are now fully configurable by the user via schema and/or theme properties. User can also provide a custom elevations set to component themes that support them.- Breaking Change - The
$search-shadow-colorand$search-disabled-shadow-colorproperties on theigx-input-group-themehave been replaced with$search-resting-shadowand$search-disabled-shadowrespectively. Useng updateto migrate automatically.
- Breaking Change - The
-
IgxTreeGridComponent- We can now search in the treegrid's data by using the
findNextand thefindPrevmethods and we can clear the search results with theclearSearchmethod.
- We can now search in the treegrid's data by using the
-
IgxTextHighlightDirectiveIgxTextHighlightDirective.pageinput property is deprecated.rowIndex,columnIndexandpageproperties of theIActiveHighlightInfointerface are also deprecated. Instead,rowandcolumnoptional properties are added.
-
igxDragDropdragGhostHostinput property added. Sets the element to which the dragged element will be appended. If not provided, the dragged element is appended to the body.
-
Column Hiding UI- Behavioral Change - The UI now hides the columns whose
disableHidingproperty is set to true instead of simply disabling them.
- Behavioral Change - The UI now hides the columns whose
-
igxButton- New Button Style - Include outlined button style to support the latest material spec. -
igxOverlay:igxOverlay.attach()method added. Use this method to obtain an unique Id of the created overlay where the provided component will be shown. Then calligxOverlay.show(id, settings?)method to show the component in overlay. The newattachmethod has two overloads:attach(element: ElementRef, settings?: OverlaySettings): string- This overload will create overlay where providedelementwill be shown.attach(component: Type<any>, settings?: OverlaySettings, moduleRef?: NgModuleRef<any>): string- Creates aComponentReffrom the providedcomponentclass to show in an overlay. IfmoduleRefis provided the service will use the module'sComponentFactoryResolverandInjectorwhen creating theComponentRefinstead of the root ones.
igxOverlay.show(component, settings)is deprecated. UseigxOverlay.attach()method to obtain an Id, and then calligxOverlay.show(id, settings)method to show a component in the overlay.IPositionStrategyexposes new methodclonethat clones the strategy instance with its settings.
-
igx-date-picker- Feature Added
dropdownmodeto enable the input field value editing and spinning of the date parts as well as displaying a drop down calendar to select a date. Example:
<igx-date-picker #editableDatePicker1 mode="dropdown" [value]="date" format="dd.MM.y" mask="M/d/y"> </igx-date-picker>
- Feature Added
Components roundness
-
Ignite UI for Angular now allows you to change the shape of components by changing their border-radius.
-
Here is the list of all components that have roundness functionality:
- igx-badge
- igx-buttongroup
- igx-calendar
- igx-card
- igx-carousel
- igx-chip
- igx-dialog
- igx-drop-down
- igx-expansion-panel
- igx-input-group
- igx-list
- igx-list-item
- igx-navdrawer
- igx-snackbar
- igx-toast
- igxTooltip
- Breaking Change
- The
$button-roundnessproperty on theigx-button-themehave been replaced for each button type with:$flat-border-radius,$raised-border-radius,$outline-border-radius,$fab-border-radius,$icon-border-radius. - The
$roundnessproperty on theigx-chip-themehave been replaced with$border-radius. - The
$roundnessproperty on theiigx-tooltip-themehave been replaced with$border-radius.