10.1.0-rc.1
Pre-release
Pre-release
10.1.0
General
igxCombo- Behavioral Change - Change default positioning strategy from
ConnectedPositioningStrategytoAutoPositionStrategy. TheAutostrategy will initially try to show the element like the Connected strategy does. If the element goes out of the viewport Auto will flip the starting point and the direction, i.e. if the direction is 'bottom', it will switch it to 'top' and so on. If after flipping direction the content goes out of the view, auto strategy will revert to initial start point and direction and will push the content into the view. Note after pushing the content it may hide the combo's input. - Make
onSearchInputevent cancellable. The event args type has been changed toIComboSearchInputEventArgs, which have the following properties:searchText- holds the text typed into the search input,owner- holds a reference to the combo component andcancel- indicates whether the event should be canceled.
- Behavioral Change - Change default positioning strategy from
IgxOverlay- Added new property
closeOnEscapeinOverlaySettingsthat controls whether the overlay should close on escape keypress. By defaultcloseOnEscis set tofalse. - Behavioral Change -
modaloverlays shown directly through the Overlay Service no longer close on Escape by default. That behavior can now be specified using thecloseOnEscapeproperty.
- Added new property
igxDialog- Added
closeOnEscape- with it, the dialog can be allowed or prevented from closing whenEscis pressed.
- Added
IgxNavbar:- Breaking Changes - The
igx-action-iconhas been renamed toigx-navbar-action. It should get renamed in your components viang update;
- Breaking Changes - The
IgxGrid,IgxTreeGrid,IgxHierarchicalGrid- Breaking Change - The
selectedRowsmethod is now an@Inputproperty. Setting it to an array of Row IDs will update the grid's selection state, any previous selection will be cleared. Setting it to an empty array will clear the selection entirely. - Breaking Change - Removed
IgxExcelStyleSortingTemplateDirective,IgxExcelStyleHidingTemplateDirective,IgxExcelStyleMovingTemplateDirective,IgxExcelStylePinningTemplateDirectiveandIgxExcelStyleSelectingTemplateDirectivedirectives for re-templating the Excel style filter menu. Added two new directives for re-templating the column operations and filter operations areas -IgxExcelStyleColumnOperationsTemplateDirectiveandIgxExcelStyleFilterOperationsTemplateDirective. Exposed all internal components of the Excel style filter menu in order to be used inside the templates. - Breaking Change -
IgxColumnHidingandIgxColumnPinningcomponents have been deprecated in favor of a component combining the their functionality -IgxColumnActionswhich is used with either of the newIgxColumnPinningandIgxColumnHidingdirectives that specify the action to be triggered through the UI.
- Breaking Change - The
igxGrid- Behavioral Change - For numeric columns, the onCellEdit arguments' newValue will now contain the numeric value that will be committed instead of the string input.
- Added
onScrollevent, which is emitted when the grid is scrolled vertically or horizontally. - Each grid now expose a default handling for boolean column types. The column will display
checkorcloseicon, instead of true/false by default.
igxTreeGrid- Removed
onDataPreLoadevent as it is specific for remote virtualization implementation, which is not supported for theigxTreeGrid. A more genericonScrollevent is exposed and can be used instead.
- Removed
IgxTimePicker- Added a disabled style for time parts outside of the minimum and maximum range.
igxDatePicker- Added new property -
editorTabIndex, that allows setting tabindex for the default editor.
- Added new property -
New Theme
Ignite UI for Angular now has a new theme based on our own design system.
You can use one of the following mixins to include a dark or light indigo theme:
igx-indigo-light-theme and igx-indigo-dark-theme
We also added two new palettes that go with the new theme, $light-indigo-palette and $dark-indigo-palette.
The following example shows how you can use the Indigo theme:
// Light version
.indigo-theme {
@include igx-indigo-light-theme($light-indigo-palette);
}
// Dark version
.indigo-dark-theme {
@include igx-indigo-dark-theme($dark-indigo-palette);
}New Features
igxButtondirective- Added styles to support extended fab buttons.
IgxGrid,IgxTreeGrid,IgxHierarchicalGrid- Exposed new
cellEditDoneandrowEditDonenon cancelable events. The arguments containrowDatathat is the committednewValue.cellEditDone- Emitted after a cell has been edited and editing has been committed.rowEditDone- Emitted after exiting edit mode for a row and editing has been committed.
- Introduced
showSummaryOnCollapsegrid property which allows you to control whether the summary row stays visible when the groupBy / parent row is collapsed. - Added support for tooltips on data cells default template and summary cells.
- Added support for binding columns to properties in nested data objects.
Data operations (filtering/sorting/updating/etc) are supported for the nested properties.
<igx-column field="foo.bar.baz"></igx-column>
- Exposed new
IgxGridStatedirective- Added support for expansion states, column selection and row pinning.
- Added support for
IgxTreeGridandIgxHierarchicalGrid(including child grids)
IgxColumn- Added
byHeaderparameter to theautosizemethod which specifies if the autosizing should be based only on the header content width.
- Added
IgxToastmessageproperty has been deprecated. You can place the message text in the toast content or pass it as parameter toshowmethod instead.- An optional string parameter
messagehas been added toshow()method.
IgxSnackbarmessageproperty has been deprecated. You can place the message text in the snackbar content or pass it as parameter toshowmethod instead.- An optional string parameter
messagehas been added toshow()method.
IgxNavbar- Added new
igx-navbar-title, igxNavbarTitledirective that can be used to provide custom content for navbar title. It would override the value oftitleinput property.
- Added new
IgxCalendarandIgxMonthPickerviewDateChangedemitted after the month/year presented in the view is changed after user interaction.activeViewChangedevent emitted after the active view (DEFAULT, YEAR, DECADE) is changed after user interaction.viewDateday value is always 1.activeViewsetter is now available as an input property.
IgxCombo- Added
showSearchCaseIconto display a case sensitive search icon in the search input. Icon click allows the user to easily toggle the search case sensitivity.
- Added