Skip to content

Commit 6ab9dab

Browse files
committed
Merge branch 'master' into astaev/formatFilterStrategy
# Conflicts: # projects/igniteui-angular/src/lib/grids/filtering/excel-style/grid.excel-style-filtering.component.ts
2 parents 4b9b713 + d63ac16 commit 6ab9dab

File tree

72 files changed

+1407
-434
lines changed

Some content is hidden

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

72 files changed

+1407
-434
lines changed

CHANGELOG.md

Lines changed: 41 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,26 +2,34 @@
22

33
All notable changes for each version of this project will be documented in this file.
44
## 11.1.0
5-
### General
6-
- `IgxGrid`, `IgxTreeGrid`, `IgxHierarchicalGrid`
7-
- The following new events are introduced: `sorting`, `filtering`, `columnPinned`, `columnVisibilityChanging`.
8-
- **Behavioral Change** -
9-
- `onColumnPinning` to emit `IPinColumnCancellableEventArgs` instead of `IPinColumnEventArgs`.
105

116
### New Features
127
- `IgxDropDown`
138
- The `igx-drop-down-item` now allows for `igxPrefix`, `igxSuffix` and `igx-divider` directives to be passed as `ng-content` and they will be renderer accordingly in the item's content.
149
- `IgxGrid`
1510
- Added support for exporting grouped data.
11+
- `IgxGrid`, `IgxTreeGrid`, `IgxHierarchicalGrid`
12+
- Support for `currency` type columns is added in the grid.
13+
- `IgxPaginator`
14+
- `paging` and `pagingDone` events are now emitted.
1615
- `IgxInput` now supports `type="file"` and its styling upon all themes.
1716
_Note: validation of file type input is not yet supported._
1817

1918
### General
19+
- **Breaking Change** - Many outputs are renamed with the introduction of new rules in Ignite UI for Angular's naming convention. Please, ensure that when you update to 11.1 you do so through
20+
```
21+
ng update igniteui-angular
22+
```
23+
or execute the update migrations manually afterwards
24+
```
25+
ng update igniteui-angular --migrate-only
26+
```
27+
This will ensure your application is updated to use the new output names.
2028
- `IgxDialog`
2129
- The dialog content has been moved inside the dialog window container in the template. This means that if you have added something in-between the opening and closing tags of the dialog, you may have to adjust its styling a bit since that content is now rendered inside a container that has padding on it.
2230
- `IgxCalendar`
2331
- A new string enumeration `IgxCalendarView` is exported. Either the new one or the current `CalendarView` can be used. `CalendarView` will be deprecated in a future release.
24-
- `onSelection` is now `selected`
32+
- `onSelection` is now `selected`
2533
- `onViewChanging` is now `viewChanging`
2634
- `onDateSelection` is now `dateSelection`
2735
- `onYearSelection` is now `yearSelection`
@@ -42,21 +50,46 @@ All notable changes for each version of this project will be documented in this
4250
- `IgxDialog`
4351
- Added new `onOpened` and `onClosed` events.
4452
- `IgxIcon`
45-
- **Deprecated** - The `color` input property has been deprecated.
53+
- **Deprecated** - The `color` input property has been deprecated.
4654
- **Renamed inputs**
4755
`isActive` to `active`
4856
`fontSet` to `family`
4957
- `IgxToast`
50-
- **Breaking Change** -
58+
- **Breaking Change** -
5159
`show` and `hide` methods have been deprecated. `open` and `close` should be used instead.
5260
`onShowing`,`onShown`,`onHiding` and `onHiden` events have been deprecated. `onOpening`, `onOpened`, `onClosing` and `onClosed`should be used instead.
5361
- `IgxInputGroup`
5462
- Added new property `theme` that allows you to set the theme explicitly and at runtime.
5563
- `IgxSnackbar`
5664
- `show` and `hide` methods have been deprecated. `open` and `close` should be used instead.
65+
- `IgxSplitter`
66+
- **Breaking Change** - the `onToggle` output is deprecated. A new output is introduced to replace it - `collapsedChange`. This allows for the `collapsed` state to be two-way bindable using the syntax ```[(collapsed)]="paneCollapse"```
67+
- `IgxChip`
68+
- **Breaking Change** - The following outputs are renamed:
69+
- `onMoveStart` to `moveStart`
70+
- `onMoveEnd` to `moveEnd`
71+
- `onRemove` to `remove`
72+
- `onClick` to `chipClick`
73+
- `onSelection` to `selectedChanging`
74+
- `onSelectionDone` to `selectedChanged`
75+
- `onKeyDown` to `keyDown`
76+
- `onDragEnter` to `dragEnter`
77+
- `IgxChipArea`
78+
- **Breaking Change** - The following outputs are renamed:
79+
- `onReorder` to `reorder`
80+
- `onSelection` to `selectionChange`
81+
- `onMoveStart` to `moveStart`
82+
- `onMoveEnd` to `moveEnd`
5783
- `IgxGrid`, `IgxHierarchicalGrid`, `IgxTreeGrid`
5884
- Added new property `selectRowOnClick` that determines whether clicking over a row will change its selection state or not. Set to `true` by default.
5985
- `GridPagingMode` enum members rename - `local` to `Local` and `remote` to `Remote`. Example: `GridPagingMode.Local`.
86+
- The following new events are introduced: `sorting`, `filtering`, `columnPinned`, `columnVisibilityChanging`.
87+
- **Behavioral Change** -
88+
- `onColumnPinning` to emit `IPinColumnCancellableEventArgs` instead of `IPinColumnEventArgs`.
89+
- **Breaking Change**:
90+
- `onPagingDone` output is removed. Use the `paging` and `pagingDone` outputs exposed by the `IgxPaginator`.
91+
- `page`, `perPage`, `paginate`, `nextPage`, `previousPage` and `totalPages` in the grids are deprecated and will be removed. Use the corresponding `IgxPaginator` outputs/inputs. When using an external paginator, take care to provide the corresponding slice of data. See [`Paging with Custom Template`](https://www.infragistics.com/products/ignite-ui-angular/angular/components/grid/paging#remote-paging-with-custom-template)
92+
6093
6194
## 11.0.4
6295

projects/igniteui-angular/migrations/update-11_1_0/changes/members.json

Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,90 @@
5757
"IgxIconComponent"
5858
]
5959
},
60+
{
61+
"member": "onMoveStart",
62+
"replaceWith": "moveStart",
63+
"definedIn": [
64+
"IgxChipComponent"
65+
]
66+
},
67+
{
68+
"member": "onMoveEnd",
69+
"replaceWith": "moveEnd",
70+
"definedIn": [
71+
"IgxChipComponent"
72+
]
73+
},
74+
{
75+
"member": "onRemove",
76+
"replaceWith": "remove",
77+
"definedIn": [
78+
"IgxChipComponent"
79+
]
80+
},
81+
{
82+
"member": "onClick",
83+
"replaceWith": "chipClick",
84+
"definedIn": [
85+
"IgxChipComponent"
86+
]
87+
},
88+
{
89+
"member": "onSelection",
90+
"replaceWith": "selectedChanging",
91+
"definedIn": [
92+
"IgxChipComponent"
93+
]
94+
},
95+
{
96+
"member": "onSelectionDone",
97+
"replaceWith": "selectedChanged",
98+
"definedIn": [
99+
"IgxChipComponent"
100+
]
101+
},
102+
{
103+
"member": "onKeyDown",
104+
"replaceWith": "keyDown",
105+
"definedIn": [
106+
"IgxChipComponent"
107+
]
108+
},
109+
{
110+
"member": "onDragEnter",
111+
"replaceWith": "dragEnter",
112+
"definedIn": [
113+
"IgxChipComponent"
114+
]
115+
},
116+
{
117+
"member": "onReorder",
118+
"replaceWith": "reorder",
119+
"definedIn": [
120+
"IgxChipsAreaComponent"
121+
]
122+
},
123+
{
124+
"member": "onSelection",
125+
"replaceWith": "selectionChange",
126+
"definedIn": [
127+
"IgxChipsAreaComponent"
128+
]
129+
},
130+
{
131+
"member": "onMoveStart",
132+
"replaceWith": "moveStart",
133+
"definedIn": [
134+
"IgxChipsAreaComponent"
135+
]
136+
},
137+
{
138+
"member": "onMoveEnd",
139+
"replaceWith": "moveEnd",
140+
"definedIn": [
141+
"IgxChipsAreaComponent"
142+
]
143+
},
60144
{
61145
"member": "onExportEnded",
62146
"replaceWith": "exportEnded",

projects/igniteui-angular/migrations/update-11_1_0/changes/outputs.json

Lines changed: 96 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,6 @@
11
{
22
"$schema": "../../common/schema/binding.schema.json",
33
"changes": [
4-
{
5-
"name": "onToggle",
6-
"replaceWith": "collapsedChange",
7-
"owner": {
8-
"selector": "igx-splitter-pane",
9-
"type": "component"
10-
}
11-
},
124
{
135
"name": "onTabItemSelected",
146
"replaceWith": "tabItemSelected",
@@ -232,6 +224,102 @@
232224
"selector": "igx-months-view",
233225
"type": "component"
234226
}
227+
},
228+
{
229+
"name": "onReorder",
230+
"replaceWith": "reorder",
231+
"owner": {
232+
"selector": "igx-chips-area",
233+
"type": "component"
234+
}
235+
},
236+
{
237+
"name": "onSelection",
238+
"replaceWith": "selectionChange",
239+
"owner": {
240+
"selector": "igx-chips-area",
241+
"type": "component"
242+
}
243+
},
244+
{
245+
"name": "onMoveStart",
246+
"replaceWith": "moveStart",
247+
"owner": {
248+
"selector": "igx-chips-area",
249+
"type": "component"
250+
}
251+
},
252+
{
253+
"name": "onMoveEnd",
254+
"replaceWith": "moveEnd",
255+
"owner": {
256+
"selector": "igx-chips-area",
257+
"type": "component"
258+
}
259+
},
260+
{
261+
"name": "onMoveStart",
262+
"replaceWith": "moveStart",
263+
"owner": {
264+
"selector": "igx-chip",
265+
"type": "component"
266+
}
267+
},
268+
{
269+
"name": "onMoveEnd",
270+
"replaceWith": "moveEnd",
271+
"owner": {
272+
"selector": "igx-chip",
273+
"type": "component"
274+
}
275+
},
276+
{
277+
"name": "onRemove",
278+
"replaceWith": "remove",
279+
"owner": {
280+
"selector": "igx-chip",
281+
"type": "component"
282+
}
283+
},
284+
{
285+
"name": "onClick",
286+
"replaceWith": "chipClick",
287+
"owner": {
288+
"selector": "igx-chip",
289+
"type": "component"
290+
}
291+
},
292+
{
293+
"name": "onSelection",
294+
"replaceWith": "selectedChanging",
295+
"owner": {
296+
"selector": "igx-chip",
297+
"type": "component"
298+
}
299+
},
300+
{
301+
"name": "onSelectionDone",
302+
"replaceWith": "selectedChanged",
303+
"owner": {
304+
"selector": "igx-chip",
305+
"type": "component"
306+
}
307+
},
308+
{
309+
"name": "onKeyDown",
310+
"replaceWith": "keyDown",
311+
"owner": {
312+
"selector": "igx-chip",
313+
"type": "component"
314+
}
315+
},
316+
{
317+
"name": "onDragEnter",
318+
"replaceWith": "dragEnter",
319+
"owner": {
320+
"selector": "igx-chip",
321+
"type": "component"
322+
}
235323
}
236324
]
237325
}

projects/igniteui-angular/migrations/update-11_1_0/index.spec.ts

Lines changed: 45 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -184,22 +184,54 @@ export class IconTestComponent {
184184
).toEqual(expectedContent);
185185
});
186186

187-
it('should replace onToggle with collapsedChange ', async () => {
187+
it('should replace on-prefixed outputs in chip and chips-area', async () => {
188188
appTree.create(
189-
`/testSrc/appPrefix/component/splitter.component.html`,
190-
`<igx-splitter style='height: 30vh;' [type]='0'>
191-
<igx-splitter-pane (onToggle)="toggled()">
192-
</igx-splitter-pane>
193-
</igx-splitter>`
189+
`/testSrc/appPrefix/component/chips.component.html`,
190+
`<igx-chips-area #chipsAreaTo class="chipAreaTo"
191+
(onReorder)="chipsOrderChangedTo($event)"
192+
(onSelection)="chipsSelectionChanged($event)"
193+
(onMoveStart)="chipsMoveStart($event)"
194+
(onMoveEnd)="chipsMoveEnd($event)">
195+
<igx-chip *ngFor="let chip of chipListTo"
196+
[id]="chip.id"
197+
[draggable]="true"
198+
(onClick)="chipClicked()"
199+
(onRemove)="chipRemoved()"
200+
(onKeyDown)="chipKeyDown()"
201+
(onDragEnter)="dragEnter()"
202+
(onSelection)="chipSelection()"
203+
(onSelectionDone)="chipSelectionDone()"
204+
(onMoveStart)="onMoveStartTo()"
205+
(onMoveEnd)="moveEndedTo()">
206+
<igx-avatar igxPrefix class="chip-area-avatar"></igx-avatar>
207+
<span>{{chip.text}}</span>
208+
</igx-chip>
209+
</igx-chips-area>`
194210
);
211+
const tree = await runner.runSchematicAsync(migrationName, {}, appTree)
212+
.toPromise();
195213

196-
const tree = await runner.runSchematicAsync(migrationName, {}, appTree).toPromise();
197-
198-
expect(tree.readContent('/testSrc/appPrefix/component/splitter.component.html'))
199-
.toEqual(`<igx-splitter style='height: 30vh;' [type]='0'>
200-
<igx-splitter-pane (collapsedChange)="toggled()">
201-
</igx-splitter-pane>
202-
</igx-splitter>`);
214+
expect(tree.readContent('/testSrc/appPrefix/component/chips.component.html'))
215+
.toEqual(`<igx-chips-area #chipsAreaTo class="chipAreaTo"
216+
(reorder)="chipsOrderChangedTo($event)"
217+
(selectionChange)="chipsSelectionChanged($event)"
218+
(moveStart)="chipsMoveStart($event)"
219+
(moveEnd)="chipsMoveEnd($event)">
220+
<igx-chip *ngFor="let chip of chipListTo"
221+
[id]="chip.id"
222+
[draggable]="true"
223+
(chipClick)="chipClicked()"
224+
(remove)="chipRemoved()"
225+
(keyDown)="chipKeyDown()"
226+
(dragEnter)="dragEnter()"
227+
(selectedChanging)="chipSelection()"
228+
(selectedChanged)="chipSelectionDone()"
229+
(moveStart)="onMoveStartTo()"
230+
(moveEnd)="moveEndedTo()">
231+
<igx-avatar igxPrefix class="chip-area-avatar"></igx-avatar>
232+
<span>{{chip.text}}</span>
233+
</igx-chip>
234+
</igx-chips-area>`);
203235
});
204236

205237
it('should replace IgxTabsComponent event name onTabItemSelected with tabItemSelected', async () => {

0 commit comments

Comments
 (0)