Skip to content

Commit d53a66d

Browse files
authored
Merge branch 'master' into icon-prerender-error-master
2 parents 5664ce4 + 2822fe3 commit d53a66d

File tree

599 files changed

+28031
-45074
lines changed

Some content is hidden

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

599 files changed

+28031
-45074
lines changed

.sassdocrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"name": "Ignite UI for Angular",
77
"version": "6.1.x"
88
},
9-
"theme": "./extras/docs/themes/sassdoc",
9+
"theme": "./node_modules/igniteui-sassdoc-theme/sassdoc/",
1010
"autofill": ["throws", "content"],
1111
"groups": {
1212
"undefined": "general"

.travis.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,17 @@ before_script:
1717
# more heap mem per https://github.com/angular/angular-cli/issues/12645, https://github.com/npm/npm/issues/12238#issuecomment-367147962
1818
- export NODE_OPTIONS="--max_old_space_size=4096"
1919
- npm install -g gulp
20+
- npm install -g istanbul-combine
2021
script:
2122
- npm run lint:lib
2223
- ng build igniteui-angular --prod
2324
- npm run build:style
24-
- if [ -z "${TRAVIS_TAG}" ]; then npm run test:lib; fi
25+
- if [ -z "${TRAVIS_TAG}" ]; then npm run test:lib:perf; fi
26+
- if [ -z "${TRAVIS_TAG}" ]; then npm run test:lib:others; fi
27+
- if [ -z "${TRAVIS_TAG}" ]; then npm run test:lib:grid; fi
28+
- if [ -z "${TRAVIS_TAG}" ]; then npm run test:lib:tgrid; fi
29+
- if [ -z "${TRAVIS_TAG}" ]; then npm run test:lib:hgrid; fi
30+
- if [ -z "${TRAVIS_TAG}" ]; then istanbul-combine -d coverage -p none -r lcov -r html coverage/hierarchical-grid/coverage-final.json coverage/tree-grid/coverage-final.json coverage/non-grid/coverage-final.json coverage/grid/coverage-final.json; fi
2531
- if [ -z "${TRAVIS_TAG}" ]; then npm run test:schematics; fi
2632
- if [ -z "${TRAVIS_TAG}" ] && [ "${TRAVIS_REPO_SLUG}" == "IgniteUI/igniteui-angular" ]; then cat ./coverage/lcov.info | coveralls; fi
2733

.vscode/launch.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@
1616
]
1717
}
1818
]
19-
}
19+
}

CHANGELOG.md

Lines changed: 132 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,138 @@
1-
# Ignite UI for Angular Change Log
1+
# Ignite UI for Angular Change Log
22

33
All notable changes for each version of this project will be documented in this file.
44

5+
## 8.2.0
6+
7+
### New theme
8+
Ignite UI for angular now have a new theme that mimics Microsoft "Fluent" design system.
9+
Depending on your use case you can use one of the following mixins:
10+
`igx-fluent-theme` and `igx-fluent-dark-theme`
11+
12+
We also added two new pallets that go with the new theme, `$fluent-word-palette` and `$fluent-excel-palette`.
13+
14+
Next example shows how you can use the Fluent theme.
15+
16+
```scss
17+
// Light version
18+
.fluent-word-theme {
19+
@include igx-fluent-theme($fluent-word-palette);
20+
}
21+
22+
// Dark version
23+
.fluent-excel-dark-theme {
24+
@include igx-fluent-dark-theme($fluent-excel-palette);
25+
}
26+
```
27+
28+
For more information about the theming please read our [documentation](https://www.infragistics.com/products/ignite-ui-angular/angular/components/themes/index.html)
29+
30+
### New Features
31+
- `IgxGrid`, `IgxTreeGrid`, `IgxHierarchicalGrid`
32+
- `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).
33+
- `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.
34+
- introduced new properties `cellSelection` and `rowSelection` which accept GridSelection mode enumeration. Grid selection mode could be none, single or multiple. Also `hideRowSelectors` property is added, which allows you to show and hide row selectors when row selection is enabled.
35+
- introduced functionality for templating row and header selectors - [spec](https://github.com/IgniteUI/igniteui-angular/wiki/Row-Selection-Templating-(Grid-feature))
36+
```html
37+
<igx-grid [data]="data", [rowSelection]="'multiple'" primaryKey="ID">
38+
<igx-column field="Name"></igx-column>
39+
<igx-column field="Age"></igx-column>
40+
41+
<ng-template igxHeadSelector let-headSelector>
42+
<igx-icon>done_all</igx-icon>
43+
</ng-template>
44+
<ng-template igxRowSelector let-rowContext>
45+
<igx-switch [checked]="rowContext.selected"></igx-switch>
46+
</ng-template>
47+
</igx-grid>
48+
```
49+
- `IgxHierarchicalGrid`
50+
- Row Islands now emit child grid events with an additional argument - `owner`, which holds reference to the related child grid component instance.
51+
- `IgxDrag`
52+
- Dragging without ghost. Now it is possible to drag the base element `igxDrag` is instanced on by setting the new input `ghost` to false.
53+
- Ghost template. A custom ghost template reference can be provided on the new `ghostTemplate` input.
54+
- Dragging using a single or multiple handles. New `igxDragHandle` directive is exposed to specify a handle by which an element can be interacted with instead of the whole element `igxDrag` is instanced on.
55+
- 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.
56+
- 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.
57+
- New getters - `location` and `originLocation` to aid in applying transition animations.
58+
- New outputs - `dragMove`, `ghostCreate` and `ghostDestroy`
59+
- `IgxDrop`
60+
- 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.
61+
- 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.
62+
- `IgxCheckbox`
63+
- introduced a new `readonly` property that doesn't allow user interaction to change the state, but keeps the default active style. Intended for integration in complex controls that handle the interaction and control the checkbox instead through binding.
64+
- `IgxOverlay`
65+
- introduced a new `ContainerPositionStrategy`. The new strategy positions the element inside the containing outlet based on the directions passed in trough PositionSettings.
66+
67+
### General
68+
- `IgxGrid`, `IgxTreeGrid`, `IgxHierarchicalGrid`
69+
- `isCellSelected` method has been deprecated. Now you can use `selected` property.
70+
- `rowSelectable` property has been deprecated. Now you can use `rowSelection` property to enable row selection and also you can show and hide the row selectors by setting `hideRowSelectors` property to true or false (which is the default value).
71+
- Removed deprecated event `OnFocusChange`
72+
- **Breaking Change** `igxExcelStyleSortingTemplate` directive is renamed to `igxExcelStyleSorting`.
73+
- **Breaking Change** `igxExcelStyleMovingTemplate` directive is renamed to `igxExcelStyleMoving`.
74+
- **Breaking Change** `igxExcelStyleHidingTemplate` directive is renamed to `igxExcelStyleHiding`.
75+
- **Breaking Change** `onRowSelectionChange` event arguments are changed. The `row` property has been removed and the properties `added`, `removed` and `cancel` are newly added.
76+
- **Breaking Change** `igxExcelStylePinningTemplate` directive is renamed to `igxExcelStylePinning`.
77+
- **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.
78+
- `IgxCombo`
79+
- 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:
80+
```html
81+
<igx-combo [data]="myCustomData" valueKey="id" displayKey="text"></igx-combo>
82+
```
83+
```typescript
84+
export class MyCombo {
85+
...
86+
public combo: IgxComboComponent;
87+
public myCustomData: { id: number, text: string } = [{ id: 0, name: "One" }, ...];
88+
...
89+
ngOnInit() {
90+
// Selection is done only by valueKey property value
91+
this.combo.selectItems([0, 1]);
92+
}
93+
}
94+
```
95+
- **Breaking Change** When using `[valueKey]`, combo methods, events and outputs **cannot** be handled with *data item references*.
96+
- For more information, visit the component's [readme](https://github.com/IgniteUI/igniteui-angular/tree/master/projects/igniteui-angular/src/lib/combo/README.md)
97+
- `IgxDrag`
98+
- Deprecated inputs - `hideBaseOnDrag`, `animateOnRelease`, `visible`.
99+
- Deprecated methods - `dropFinished`.
100+
- **Breaking Change** `ghostImageClass` input is renamed to `ghostClass`.
101+
- **Breaking Change** `dragGhostHost` input is renamed to `ghostHost`.
102+
- **Breaking Change** `returnMoveEnd` input is renamed to `transitioned`.
103+
- **Breaking Change** `onDragStart` output is renamed to `dragStart`.
104+
- **Breaking Change** `onDragEnd` output is renamed to `dragEnd`.
105+
106+
- `IgxDrop`
107+
- **Breaking Change** Default drop strategy is now changed to not perform any actions.
108+
- **Breaking Change** `onEnter` output is renamed to `enter`.
109+
- **Breaking Change** `onOver` output is renamed to `over`.
110+
- **Breaking Change** `onLeave` output is renamed to `leave`.
111+
- **Breaking Change** `onDrop` output is renamed to `dropped`.
112+
- **Breaking Change** Interfaces `IgxDropEnterEventArgs`, `IgxDropLeaveEventArgs` are both now called `IDropBaseEventArgs`.
113+
- **Breaking Change** Interfaces `IgxDropEventArgs` is renamed to `IDropDroppedEventArgs`.
114+
- **Breaking Change** Outputs `enter`, `over`, `leave`(former `onEnter`, `onOver`, `onLeave`) now have arguments of type `IDropBaseEventArgs`
115+
- **Breaking Change** Output `dropped` (former `onDrop`) now have arguments of type `IDropDroppedEventArgs`
116+
117+
## 8.1.4
118+
- `IgxDialog` new @Input `positionSettings` is now available. It provides the ability to get/set both position and animation settings of the Dialog component.
119+
120+
## 8.1.3
121+
- `IgxCombo`
122+
- Combo `onSelectionChange` events now emits the item(s) that were added to or removed from the collection:
123+
```html
124+
<igx-combo (onSelectionChange)="handleChange($event)">
125+
```
126+
```typescript
127+
export class Example {
128+
...
129+
handleChange(event: IComboSelectionChangeEventArgs) {
130+
console.log("Items added: ", [...event.added]); // the items added to the selection in this change
131+
console.log("Items removed: ", [...event.removed]); // the items removed from the selection in this change
132+
}
133+
}
134+
```
135+
5136
## 8.1.2
6137

7138
### New Features

ROADMAP.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
## Milestone 9 (Due by September, 2019)
66

77
1. IgxGrid Advanced Filtering [#5496](https://github.com/IgniteUI/igniteui-angular/issues/5496)
8-
2. IgxGrid row and cell selection modes [#4989](https://github.com/IgniteUI/igniteui-angular/issues/4989)
9-
3. Fluent Theme [#5335](https://github.com/IgniteUI/igniteui-angular/issues/5335)
10-
4. Drag and Drop enhancements [#5319](https://github.com/IgniteUI/igniteui-angular/issues/5319)
8+
2. **[DONE]** IgxGrid row and cell selection modes [#4989](https://github.com/IgniteUI/igniteui-angular/issues/4989)
9+
3. **[DONE]** Fluent Theme [#5335](https://github.com/IgniteUI/igniteui-angular/issues/5335)
10+
4. **[DONE]** Drag and Drop enhancements [#5319](https://github.com/IgniteUI/igniteui-angular/issues/5319)
1111
5. Multi-View Calendar + Range DatePicker [#4282](https://github.com/IgniteUI/igniteui-angular/issues/4282)
1212
6. Custom grid row selector templates [#4998](https://github.com/IgniteUI/igniteui-angular/issues/4998)
1313
7. Per-column Filtering Strategies [#5323](https://github.com/IgniteUI/igniteui-angular/issues/5323)
@@ -25,7 +25,7 @@
2525
1. **[DONE]** Grid Multi-Row Layout keyboard nav [#4708](https://github.com/IgniteUI/igniteui-angular/issues/4708) Released in [8.0.0](https://github.com/IgniteUI/igniteui-angular/releases/tag/8.0.0), [7.3.4](https://github.com/IgniteUI/igniteui-angular/releases/tag/7.3.4)
2626
2. **[DONE]** Angular 8 compatibility [#4908](https://github.com/IgniteUI/igniteui-angular/issues/4908) Released in [8.0.0](https://github.com/IgniteUI/igniteui-angular/releases/tag/8.0.0)
2727
3. **[DONE]** Display density for Drop Downs [#2960](https://github.com/IgniteUI/igniteui-angular/issues/2960) Released in [8.0.1](https://github.com/IgniteUI/igniteui-angular/releases/tag/8.0.1), [7.3.4](https://github.com/IgniteUI/igniteui-angular/releases/tag/7.3.4), [7.2.12](https://github.com/IgniteUI/igniteui-angular/releases/tag/7.2.12)
28-
4. **[DONE]** Slider custom labels [#4594](https://github.com/IgniteUI/igniteui-angular/issues/4594)
28+
4. **[DONE]** Slider custom thumb labels [#3449](https://github.com/IgniteUI/igniteui-angular/issues/3449)
2929
5. **[DONE]** Copy data from the igxGrid [#4907](https://github.com/IgniteUI/igniteui-angular/issues/4907)
3030
6. **[DONE]** BottomNav and Tabs integration with router outlet container [#4297](https://github.com/IgniteUI/igniteui-angular/issues/4297)
3131
7. **[DONE]** Date/Time pickers action buttons customization [#4647](https://github.com/IgniteUI/igniteui-angular/issues/4647) Released in [8.0.0](https://github.com/IgniteUI/igniteui-angular/releases/tag/8.0.0)

azure-pipelines.yml

Lines changed: 27 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,42 @@ steps:
77
env:
88
AZURE_PIPELINES: "true"
99

10+
- script: sudo npm install -g istanbul-combine
11+
displayName: 'Install coverage combiner'
12+
env:
13+
AZURE_PIPELINES: "true"
14+
1015
- script: npm run lint:lib
1116
displayName: 'Run lint'
1217

1318
- script: npm run build:lib
1419
displayName: 'Build source code and styles'
1520

16-
- script: npm run test:lib:azure
17-
displayName: 'Run tests'
21+
- script: npm run test:lib:azure:others
22+
displayName: 'Run non-grid tests'
23+
env:
24+
NODE_OPTIONS: "--max_old_space_size=4096"
25+
26+
- script: npm run test:lib:azure:grid
27+
displayName: 'Run grid tests'
1828
env:
1929
NODE_OPTIONS: "--max_old_space_size=4096"
2030

31+
- script: npm run test:lib:azure:tgrid
32+
displayName: 'Run tree grid tests'
33+
env:
34+
NODE_OPTIONS: "--max_old_space_size=4096"
35+
36+
- script: npm run test:lib:azure:hgrid
37+
displayName: 'Run hierarchical grid tests'
38+
env:
39+
NODE_OPTIONS: "--max_old_space_size=4096"
40+
41+
- script: istanbul-combine -d coverage -p none -r lcov -r cobertura coverage/hierarchical-grid/coverage-final.json coverage/tree-grid/coverage-final.json coverage/non-grid/coverage-final.json coverage/grid/coverage-final.json
42+
displayName: 'Combine coverage results'
43+
env:
44+
AZURE_PIPELINES: "true"
45+
2146
- script: cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js
2247
condition: and(succeeded(), eq(variables['system.teamProject'], 'igniteui-angular'))
2348
displayName: 'Code coverage @ Coveralls'

extras/docs/themes/config.json

Lines changed: 0 additions & 48 deletions
This file was deleted.

extras/docs/themes/sassdoc/LICENSE

Lines changed: 0 additions & 15 deletions
This file was deleted.

0 commit comments

Comments
 (0)