Skip to content

Commit 4e45db3

Browse files
authored
Merge branch 'master' into fix-typo--tempalte-to-template
2 parents 82a8527 + cf4da46 commit 4e45db3

File tree

61 files changed

+6724
-5908
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

61 files changed

+6724
-5908
lines changed

CHANGELOG.md

Lines changed: 30 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ All notable changes for each version of this project will be documented in this
2121
- `IgxCarousel`:
2222
- **Breaking Changes** -The carousel slides are no longer array, they are changed to QueryList.
2323
- **Behavioural change** - When slides are more than 5, a label is shown instead of the indicators. The count limit of visible indicators can be changed with the input `maximumIndicatorsCount`
24-
24+
- `igxOverlay`:
25+
- **Behavioural Change** - `igxOverlay` - no longer persists element scrolling `out of the box`. In order to persist an element scroll position after attaching the element to an overlay, handle the exposed `onAppended` overlay event and manage/restore the scroll position.
2526

2627
### New Features
2728
- `IgxGrid`, `IgxTreeGrid`, `IgxHierarchicalGrid`:
@@ -68,8 +69,8 @@ All notable changes for each version of this project will be documented in this
6869
- `tickLabelsOrientation` input was added. Allows you to change the rotation of all tick labels from horizontal to vertical(toptobottom, bottomtotop).
6970
- `igxSliderTickLabel` directive has been introduced. Allows you to set a custom template for all tick labels.
7071
- `isContinuous` - input has been deleted. The option is not supported anymore.
71-
- `onValueChanged` - new output has been exposed. This event is emitted at the end of every slide interaction.
72-
72+
- `onValueChanged` - new output has been exposed. This event is emitted at the end of every slide interaction.
73+
7374
- `IgxCarousel`:
7475
- `keyboardSupport` input is added, which can be used to enable and disable keyboard navigation
7576
- `gesturesSupport` input is added, which can be used to enable and disable gestures
@@ -80,9 +81,26 @@ All notable changes for each version of this project will be documented in this
8081
- `nextButtonTemplate` directive is added, which is used to provide a custom next button template. If not provided, a default next button is used.
8182
- `prevButtonTemplate` directive is added, which is used to provide a custom previous button template. If not provided, a default previous button is used.
8283

83-
- `IgxSelect`:
84+
- `IgxSelect`:
8485
- adding `IgxSelectHeaderDirective` and `IgxSelectFooterDirective`. These can be used to provide a custom header, respectively footer templates for the `igxSelect` drop-down list. If there are no templates marked with these directives - no default templates will be used so the drop-down list will not have header nor footer.
8586

87+
- `IgxCombo`:
88+
- Added `displayText` property to the combo's `onSelectionChange` event args. The property contains the text that will be populated in the combo's text box **after** selection completes. This text can be overwritten in order to display a custom message, e.g. "3 items selected":
89+
```html
90+
<igx-combo [data]="people" valueKey="id" displayKey="name" placeholder="Invite friends..." (onSelectionChange)="handleSelection($event)">
91+
```
92+
```typescript
93+
export class MyInvitationComponent {
94+
public people: { name: string; id: string }[] = [...];
95+
...
96+
handleSelection(event: IComboSelectionChangeEventArgs) {
97+
const count = event.newSelection.length;
98+
event.displayText = count > 0 ? `${count} friend(s) invited!` : `No friends invited :(`;
99+
}
100+
...
101+
}
102+
```
103+
86104
- `IgxDropDown`:
87105
- `clearSelection` method is added, which can be used to deselect the selected dropdown item
88106

@@ -106,6 +124,14 @@ All notable changes for each version of this project will be documented in this
106124

107125
@include igx-progress-circular($theme);
108126
```
127+
- RTL support
128+
129+
- `IgxForOf`
130+
- `IgxForTotalItemCount` input is added for the cases when the data is from remote services. This will allow setting the count of the items through the template. And gives the opportunity for the developers to use AsyncPipe for this option:
131+
```html
132+
<ng-template igxFor let-item [igxForOf]="data | async" [igxForTotalItemCount]="count | async"
133+
[igxForContainerSize]="'500px'" [igxForItemSize]="'50px'"></ng-template>
134+
```
109135

110136
## 8.2.6
111137

0 commit comments

Comments
 (0)