Skip to content

10.1.0-alpha.3

Pre-release
Pre-release

Choose a tag to compare

@Lipata Lipata released this 24 Jul 08:12
· 12706 commits to master since this release
23a17cb

10.1.0

General

  • igxCombo
    • Behavioral Change - Change default positioning strategy from ConnectedPositioningStrategy to AutoPositionStrategy. The Auto strategy 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 onSearchInput event cancellable. The event args type has been changed to IComboSearchInputEventArgs, which have the following properties: searchText - holds the text typed into the search input, owner - holds a reference to the combo component and cancel - indicates whether the event should be canceled.
  • IgxOverlay
    • Added new property closeOnEscape in OverlaySettings that controls whether the overlay should close on escape keypress. By default closeOnEsc is set to false.
    • Behavioral Change - modal overlays shown directly through the Overlay Service no longer close on Escape by default. That behavior can now be specified using the closeOnEscape property.
  • igxDialog
    • Added closeOnEscape - with it, the dialog can be allowed or prevented from closing when Esc is pressed.
  • IgxNavbar:
    • Breaking Changes - The igx-action-icon has been renamed to igx-navbar-action. It should get renamed in your components via ng update;
  • igxGrid
    • Added onScroll event, which is emitted when the grid is scrolled vertically or horizontally.
  • igxTreeGrid
    • Removed onDataPreLoad event as it is specific for remote virtualization implementation, which is not supported for the igxTreeGrid. A more generic onScroll event is exposed and can be used instead.
  • 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.

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

  • IgxGrid, IgxTreeGrid, IgxHierarchicalGrid
    • Introduced showSummaryOnCollapse grid 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>
  • IgxGridState directive
    • Added support for expansion states, column selection and row pinning.
    • Added support for IgxTreeGrid and IgxHierarchicalGrid (including child grids)
  • IgxColumn
    • Added byHeader parameter to the autosize method which specifies if the autosizing should be based only on the header content width.
  • IgxToast
    • message property has been deprecated. You can place the message text in the toast content or pass it as parameter to show method instead.
    • An optional string parameter message has been added to show() method.
  • IgxSnackbar
    • message property has been deprecated. You can place the message text in the snackbar content or pass it as parameter to show method instead.
    • An optional string parameter message has been added to show() method.
  • IgxNavbar
    • Added new igx-navbar-title, igxNavbarTitle directive that can be used to provide custom content for navbar title. It would override the value of title input property.
  • IgxCalendar and IgxMonthPicker
    • viewDateChanged emitted after the month/year presented in the view is changed after user interaction.
    • activeViewChanged event emitted after the active view (DEFAULT, YEAR, DECADE) is changed after user interaction.
    • viewDate day value is always 1.
    • activeView setter is now available as an input property.
  • IgxCombo
    • Added showSearchCaseIcon to display a case sensitive search icon in the search input. Icon click allows the user to easily toggle the search case sensitivity.