|
1 |
| -# Ignite UI for Angular Change Log |
| 1 | +# Ignite UI for Angular Change Log |
2 | 2 |
|
3 | 3 | All notable changes for each version of this project will be documented in this file.
|
4 | 4 |
|
| 5 | +## 8.2.0 |
| 6 | + |
| 7 | +### New Features |
| 8 | +- `IgxGrid`, `IgxTreeGrid`, `IgxHierarchicalGrid` |
| 9 | + - `uniqueColumnValuesStrategy` input is added. This property provides a callback for loading unique column values on demand. If this property is provided, the unique values it generates will be used by the Excel Style Filtering (instead of using the unique values from the data that is bound to the grid). |
| 10 | + - `igxExcelStyleLoading` directive is added, which can be used to provide a custom loading template for the Excel Style Filtering. If this property is not provided, a default loading template will be used instead. |
| 11 | +- `IgxHierarchicalGrid` |
| 12 | + - Row Islands now emit child grid events with an additional argument - `owner`, which holds reference to the related child grid component instance. |
| 13 | +- `IgxDrag` |
| 14 | + - Dragging without ghost. Now it is possible to drag the base element `igxDrag` is instanced on by setting the new input `ghost` to false. |
| 15 | + - Ghost template. A custom ghost template reference can be provided on the new `ghostTemplate` input. |
| 16 | + - Dragging using a single or multiple handles. New `igxDragHandle` directive is exposed to specify a handle by which and element can be interacted with instead of the whole element `igxDrag` is instanced on. |
| 17 | + - Linking of drag and drop elements. This can be achieved by using the new provided `dragChannel` input, specifying each element to which channel it corresponds. |
| 18 | + - Drag animation improvements. Three new methods have been exposed in place of the old `animateToOrigin` input in order to provide more flexibility when wanting to have transition animation to specific position when dropping. `setLocation`, `transitionToOrigin` and `transitionTo` are all methods that provide a various way to animate a transition to a specific location for the dragged element. |
| 19 | + - New getters - `location` and `originLocation` to aid in applying transition animations. |
| 20 | + - New outputs - `dragMove`, `ghostCreate` and `ghostDestroy` |
| 21 | +- `IgxDrop` |
| 22 | + - Linking of drag and drop elements. This can be achieved by using the new provided `dropChannel` input, specifying each drop area to which channel it corresponds. |
| 23 | + - Drop strategies. Three new drop strategies have been provided - Append, Prepend and Insert. Also an input `dropStrategy` to the `igxDrop` which specify which strategy should be used when dropping an element inside the drop area. Custom one can be specified as well. |
| 24 | + |
| 25 | +### General |
| 26 | +- `IgxGrid`, `IgxTreeGrid`, `IgxHierarchicalGrid` |
| 27 | + - **Breaking Change** `igxExcelStyleSortingTemplate` directive is renamed to `igxExcelStyleSorting`. |
| 28 | + - **Breaking Change** `igxExcelStyleMovingTemplate` directive is renamed to `igxExcelStyleMoving`. |
| 29 | + - **Breaking Change** `igxExcelStyleHidingTemplate` directive is renamed to `igxExcelStyleHiding`. |
| 30 | + - **Breaking Change** `igxExcelStylePinningTemplate` directive is renamed to `igxExcelStylePinning`. |
| 31 | + - **Breaking Change** `onRowDragEnd` and `onRowDragStart` event arguments are changed - `owner` now holds reference to the grid component instance, while `dragDirective` hold reference to the drag directive. |
| 32 | +- `IgxCombo` |
| 33 | + - Combo selection is now consistent when `valueKey` is defined. When `valueKey` is specified, selection is based on the value keys of the items. For example: |
| 34 | + ```html |
| 35 | + <igx-combo [data]="myCustomData" valueKey="id" displayKey="text"></igx-combo> |
| 36 | + ``` |
| 37 | + ```typescript |
| 38 | + export class MyCombo { |
| 39 | + ... |
| 40 | + public combo: IgxComboComponent; |
| 41 | + public myCustomData: { id: number, text: string } = [{ id: 0, name: "One" }, ...]; |
| 42 | + ... |
| 43 | + ngOnInit() { |
| 44 | + // Selection is done only by valueKey property value |
| 45 | + this.combo.selectItems([0, 1]); |
| 46 | + } |
| 47 | + } |
| 48 | + ``` |
| 49 | + - **Breaking Change** When using `[valueKey]`, combo methods, events and outputs **cannot** be handled with *data item references*. |
| 50 | + - For more information, visit the component's [readme](https://github.com/IgniteUI/igniteui-angular/tree/master/projects/igniteui-angular/src/lib/combo/README.md) |
| 51 | + |
| 52 | +## 8.1.4 |
| 53 | +- `IgxDialog` new @Input `positionSettings` is now available. It provides the ability to get/set both position and animation settings of the Dialog component. |
| 54 | + |
| 55 | +- `IgxDrag` |
| 56 | + - Deprecated inputs - `hideBaseOnDrag`, `animateOnRelease`, `visible`. |
| 57 | + - Deprecated methods - `dropFinished`. |
| 58 | + - **Breaking Change** `ghostImageClass` input is renamed to `ghostClass`. |
| 59 | + - **Breaking Change** `dragGhostHost` input is renamed to `ghostHost`. |
| 60 | + - **Breaking Change** `returnMoveEnd` input is renamed to `transitioned`. |
| 61 | + - **Breaking Change** `onDragStart` output is renamed to `dragStart`. |
| 62 | + - **Breaking Change** `onDragEnd` output is renamed to `dragEnd`. |
| 63 | + |
| 64 | +- `IgxDrop` |
| 65 | + - **Breaking Change** Default drop strategy is now changed to not perform any actions. |
| 66 | + - **Breaking Change** `onEnter` output is renamed to `enter`. |
| 67 | + - **Breaking Change** `onOver` output is renamed to `over`. |
| 68 | + - **Breaking Change** `onLeave` output is renamed to `leave`. |
| 69 | + - **Breaking Change** `onDrop` output is renamed to `dropped`. |
| 70 | + - **Breaking Change** Interfaces `IgxDropEnterEventArgs`, `IgxDropLeaveEventArgs` are both now called `IDragBaseEventArgs`. |
| 71 | + - **Breaking Change** Interfaces `IgxDropEventArgs` is renamed to `IDropDroppedEventArgs`. |
| 72 | + - **Breaking Change** Outputs `enter`, `over`, `leave`(former `onEnter`, `onOver`, `onLeave`) now have arguments of type `IDropBaseEventArgs` |
| 73 | + - **Breaking Change** Output `dropped` (former `onDrop`) now have arguments of type `IDropDroppedEventArgs` |
| 74 | + |
| 75 | +## 8.1.3 |
| 76 | +- `IgxCombo` |
| 77 | + - Combo `onSelectionChange` events now emits the item(s) that were added to or removed from the collection: |
| 78 | + ```html |
| 79 | + <igx-combo (onSelectionChange)="handleChange($event)"> |
| 80 | + ``` |
| 81 | + ```typescript |
| 82 | + export class Example { |
| 83 | + ... |
| 84 | + handleChange(event: IComboSelectionChangeEventArgs) { |
| 85 | + console.log("Items added: ", [...event.added]); // the items added to the selection in this change |
| 86 | + console.log("Items removed: ", [...event.removed]); // the items removed from the selection in this change |
| 87 | + } |
| 88 | + } |
| 89 | + ``` |
| 90 | + |
5 | 91 | ## 8.1.2
|
6 | 92 |
|
7 | 93 | ### New Features
|
|
0 commit comments