10.2.0-beta.0
Pre-release
Pre-release
·
11415 commits
to master
since this release
10.2.0
General
IgxGridActions- Added
asMenuItemsInput for grid actions -igx-grid-editing-actions,igx-grid-pinning-actions. When set to true will render the related action buttons as separate menu items with button and label.
- Added
IgxGrid,IgxTreeGrid,IgxHierarchicalGrid- Behavioral Change - The Excel Style Filtering has been reworked to provide filtering experience such as in Excel. This includes the following changes:
- You can close the Excel Style Filtering menu by pressing
Ctrl + Shift + L. - You can apply the filter by pressing
Enter. - When searching items in the Excel Style Filtering menu, only the rows that match your search term will be filtered in.
- By checking the
Add current selection to filteroption, the new search results will be added to the previously filtered items.
- You can close the Excel Style Filtering menu by pressing
- Behavioral Change - The Excel Style Filtering has been reworked to provide filtering experience such as in Excel. This includes the following changes:
IgxInputGroup- Breaking Change - Removed
fluent,fluent_search,bootstrap, andindigoas possible values for thetypeinput property. - Behavioral Change - The styling of the input group is now dictated by the theme being used. The remaining
types-line,border, andboxwill only have effect on the styling when used with thematerialtheme. Thesearchtype will affect styling when used with all themes. Changing the theme at runtime will not change the styling of the input group, a page refresh is required.
- Breaking Change - Removed
IgxGrid,IgxTreeGrid,IgxHierarchicalGrid- Rename outputs
onRowEditEntertorowEditEnter
onCellEditEntertocellEditEnter
onCellEdittocellEdit
onRowEdittorowEdit - Breaking Change - The
onCellEditCancelevent is replaced by the newcellEditExitevent that emits every time the editable cell exits edit mode. - Breaking Change - The
onRowEditCancelevent is replaced by the newrowEditExitevent that emits every time the editable row exits edit mode.
- Rename outputs
IgxOverlay- Breaking Change -
targetproperty inPositionSettingshas been deprecated. You can set the attaching target for the component to show inOverlaySettingsinstead.
- Breaking Change -
IgxToggleDirectiveonAppended,onOpenedandonClosedevents are emitting now arguments ofToggleViewEventArgstype.onOpeningandonClosingevents are emitting now arguments ofToggleViewCancelableEventArgstype.
IgxSelect- Added
aria-labelledbyproperty for the items list container(marked asrole="listbox"). This will ensure the users of assistive technologies will also know what the list items container is used for, upon opening.
- Added
IgxDatePicker- Breaking Change - Deprecated the
labelproperty. - Added
aria-labelledbyproperty for the input field. This will ensure the users of assistive technologies will also know what component is used for, upon input focus.
- Breaking Change - Deprecated the
igxNavigationDrawer- Added
disableAnimationproperty which enables/disables the animation, when toggling the drawer. Set tofalseby default.
- Added
igxTabs- Added
disableAnimationproperty which enables/disables the transition animation of the tabs' content. Set tofalseby default.
- Added
IgxExpansionPanelIExpansionPanelEventArgs.panel- Deprecated. Usеownerproperty to get a reference to the panel.
IgxCalendarComponent,IgxMonthsViewComponentandIgxYearsViewComponenttabIndexproperty was removed in order to improve on page navigation and to be compliant with W3 accessability recommendations; Also the date grid in the calendar is now only one tab stop, the same approach is applied and in theIgxMonthsViewComponentandIgxYearsViewComponent;
New Features
IgxGrid,IgxTreeGrid,IgxHierarchicalGrid- When triggering an export of the grid via the toolbar and the export takes more than 500 milliseconds, the export button becomes disabled and an indeterminate progress bar is shown at the bottom of the toolbar until the export is finished.
cellEditExitis a new event that fires when cell exits edit moderowEditExitis a new event that fires when row exits edit mode- Added getRowData(rowSelector) method that returns an object that represents the data that is contained in the specified row component.
- Added ability to spawn row adding UI through exoposed methods. Note that rowEditing should be enabled.
beginAddRowmethod which starts the adding row UI.beginAddChildmethod which starts the adding child UI.
this.grid.beginAddRow(rowID);
- Added an input properties to
IgxGridEditingActionscomponent to show/hide add row and add child buttons which trigger the UI based on context expression.
<igx-tree-grid [rowEditing]="true"> <igx-action-strip #actionStrip> <igx-grid-editing-actions [addRow]="true" [addChild]="actionStrip.context.level < 3"> </igx-grid-editing-actions> </igx-action-strip> </igx-tree-grid>
IGX_INPUT_GROUP_TYPEinjection token- Allows for setting an input group
typeon a global level, so all input-group instances, including components using such an instance as a template will have their input group type set to the one specified by the token. It can be overridden on a component level by explicitly setting atype.
- Allows for setting an input group
IgxExcelExporterService- Added
worksheetNameproperty to theIgxExcelExporterOptions, that allows setting the name of the worksheet.
- Added
IgxDatePicker- The the
labelproperty have been deprecated and a custom label can also be set by nesting a inside the tags.
- The the
IgxTimePicker- Added a custom label functionality.
IgxCalendarandIgxDatePicker- newshowWeekNumbersinput, that allows showing of the week number at left side of content area.IgxOverlay- The
PositionSettingstargetproperty has been deprecated and moved toOverlaySettings. - An optional Point/HTML Element parameter
targethas been added to theposition()method - Added
createAbsoluteOverlaySettingsandcreateRelativeOverlaySettingsmethods which create non-modalOverlaySettingsbased on predefinedPositionSettings. The methods are exposed off theIgxOverlayService.createAbsoluteOverlaySettingscreates non-modalOverlaySettingswithGlobalPositionStrategyorContainerPositionStrategyif an outlet is provided. AcceptsAbsolutePositionenumeration, which could beCenter,TopandBottom. Default isCenter.
const globalOverlaySettings = IgxOverlayService.createAbsoluteOverlaySettings(AbsolutePosition.Top);
createRelativeOverlaySettingscreatesOverlaySettingswithAutoPositionStrategy,ConnectedPositioningStrategyorElasticPositionStrategy. Accepts target, strategy and position. Thetargetis the attaching point or element for the component to show. The position strategy is aRelativePositionStrategyenumeration, which defaults toAuto. The position is aRelativePositionenumeration. Possible values areAbove,Below,Before,AfterandDefault. The default option isDefault, which positions the element below the target, left aligned.
const targetElement = this.button.nativeElement; const connectedOverlaySettings = IgxOverlayService.createRelativeOverlaySettings( targetElement, RelativePositionStrategy.Connected, RelativePosition.Above);
- The
IgxToast- The component now utilizes the
IgxOverlayServiceto position itself in the DOM. - An additional input property
outlethas been added to allow users to specify custom Overlay Outlets using theIgxOverlayOutletDirective; - The
positionproperty now accepts values of typeIgxToastPositionthat work with strict templates.
- The component now utilizes the
IgxExpansionPanelHeaderonInteractionis now cancelable- Added
iconRefproperty. This can be used to get a reference to the displayed expand/collapsed indicator. ReturnsnullificonPositionis set toNONE.