Skip to content

Commit c9dd9eb

Browse files
committed
Merge remote-tracking branch 'origin/master' into types-refactoring
2 parents c422125 + 40454a0 commit c9dd9eb

File tree

353 files changed

+8603
-5051
lines changed

Some content is hidden

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

353 files changed

+8603
-5051
lines changed

.vscode/launch.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,10 @@
1313
"ts-node/register",
1414
"./node_modules/jasmine/bin/jasmine.js",
1515
"./projects/igniteui-angular/migrations/common/UpdateChanges.spec.ts"
16-
]
16+
],
17+
"env": {
18+
"TS_NODE_PROJECT": "projects/igniteui-angular/migrations/tsconfig.json"
19+
}
1720
}
1821
]
1922
}

CHANGELOG.md

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@ All notable changes for each version of this project will be documented in this
2222
- `IgxGrid`, `IgxTreeGrid`, `IgxHierarchicalGrid`
2323
- **Breaking Change** - Hierarchical grid children no longer use the same `IgxTransactionService` instance and transaction handling should be modified to address each grid's transactions separately.
2424
- **Behavioral Change** - Pinning columns is no longer automatically prevented when the pinning area would exceed the size of the grid.
25+
- **Breaking Change** - The following input and output have been deprecated for the `igxHierarchicalGrid` and will be removed in future versions:
26+
- `hierarchicalState` -> `expansionStates` should be used instead.
27+
- `hierarchicalStateChange` -> `expansionStatesChange` should be used instead.
28+
2529
- `igxGridState` directive added to make it easy for developers to save and restore the grid state. The directive exposes the `getState` and `setState` methods to save/restore the state and an `options` input property to exclude features.
2630
- `IgxCarousel`:
2731
- **Breaking Changes** -The carousel slides are no longer array, they are changed to QueryList.
@@ -41,7 +45,8 @@ All notable changes for each version of this project will be documented in this
4145
- **Breaking Changes** - renamed the `danger` getter to `error`;
4246
- `IgxTabs`:
4347
- **Breaking Changes** - The `tabsType` input property has been renamed to `type`. It should get renamed in your components via `ng update`;
44-
48+
- `igxOverlay`:
49+
- **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.
4550

4651
### New Features
4752
- `IgxGrid`, `IgxTreeGrid`, `IgxHierarchicalGrid`:
@@ -60,6 +65,8 @@ All notable changes for each version of this project will be documented in this
6065
- `collapsibleIndicatorTemplate` property is introduced to IgxColumnGroupComponent, which allows you to set a custom template for the expand collapse indicator;
6166
- `igxCollapsibleIndicator` directive has been introduced, which allows you to set a custom template for the expand collapse indicator;
6267
- `IgxGridExcelStyleFilteringComponent` and `IgxAdvancedFilteringDialogComponent` can now be hosted outside of the grid in order to provide the same experience as the built-in filtering UI.
68+
- `expandRow(rowID)`/`collapseRow(rowID)`/`toggleRow(rowID)` API methods are added for the `igxHierarchicalGrid`. They allow expanding/collapsing a row by its id.
69+
- `onRowToggle` event is added for the `igxHierarchicalGrid`. It is emitted when the expanded state of a row is changed.
6370
- `IgxOverlayService`:
6471
- `setOffset` method added. It offsets the content along the corresponding axis by the provided amount.
6572
- `IgxToggleDirective`:
@@ -88,8 +95,8 @@ All notable changes for each version of this project will be documented in this
8895
- `tickLabelsOrientation` input was added. Allows you to change the rotation of all tick labels from horizontal to vertical(toptobottom, bottomtotop).
8996
- `igxSliderTickLabel` directive has been introduced. Allows you to set a custom template for all tick labels.
9097
- `isContinuous` - input has been deleted. The option is not supported anymore.
91-
- `onValueChanged` - new output has been exposed. This event is emitted at the end of every slide interaction.
92-
98+
- `onValueChanged` - new output has been exposed. This event is emitted at the end of every slide interaction.
99+
93100
- `IgxCarousel`:
94101
- `keyboardSupport` input is added, which can be used to enable and disable keyboard navigation
95102
- `gesturesSupport` input is added, which can be used to enable and disable gestures
@@ -100,7 +107,7 @@ All notable changes for each version of this project will be documented in this
100107
- `nextButtonTemplate` directive is added, which is used to provide a custom next button template. If not provided, a default next button is used.
101108
- `prevButtonTemplate` directive is added, which is used to provide a custom previous button template. If not provided, a default previous button is used.
102109

103-
- `IgxSelect`:
110+
- `IgxSelect`:
104111
- 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.
105112

106113
- `IgxCombo`:
@@ -143,6 +150,14 @@ All notable changes for each version of this project will be documented in this
143150

144151
@include igx-progress-circular($theme);
145152
```
153+
- RTL support
154+
155+
- `IgxForOf`
156+
- `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:
157+
```html
158+
<ng-template igxFor let-item [igxForOf]="data | async" [igxForTotalItemCount]="count | async"
159+
[igxForContainerSize]="'500px'" [igxForItemSize]="'50px'"></ng-template>
160+
```
146161

147162
## 8.2.6
148163

gulpfile.js

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@ const argv = require('yargs').argv;
1313
const sassdoc = require('sassdoc');
1414
const path = require('path');
1515
const EventEmitter = require('events').EventEmitter;
16-
const typedocGulp = require('igniteui-typedoc-theme/gulpfile');
17-
const sassdocGulp = require('igniteui-sassdoc-theme/gulpfile');
1816
const { series } = require('gulp');
1917
const {spawnSync} = require('child_process');
2018
const slash = require('slash');
@@ -136,10 +134,10 @@ module.exports.copySchematics = (cb) => {
136134
cb();
137135
};
138136

139-
const typedocBuildTheme = series(typedocGulp.typedocBuild, (cb) => {
137+
const typedocBuildTheme = (cb) => {
140138
spawnSync(`typedoc`, [TYPEDOC.PROJECT_PATH], { stdio: 'inherit', shell: true });
141139
cb();
142-
});
140+
};
143141
typedocBuildTheme.displayName = 'typedoc-build:theme';
144142

145143
const browserReload = (cb) => {
@@ -167,7 +165,7 @@ function typedocWatchFunc(cb) {
167165
slash(path.join(TYPEDOC_THEME.SRC, 'assets', 'css', '/**/*.{scss,sass}')),
168166
slash(path.join(TYPEDOC_THEME.SRC, '/**/*.hbs')),
169167
slash(path.join(TYPEDOC_THEME.SRC, 'assets', 'images', '/**/*.{png,jpg,gif}')),
170-
], series(typedocGulp.typedocBuild, typedocBuildTheme, browserReload));
168+
], series(typedocBuildTheme, browserReload));
171169

172170
cb();
173171
}
@@ -234,8 +232,6 @@ const sassdocCleanOutputDir = (cb) => {
234232
cb();
235233
}
236234

237-
module.exports.sassdocDevMode = sassdocGulp.develop;
238-
239235
function sassdocBuildJson(cb) {
240236
const options = JSON.parse(fs.readFileSync(SASSDOC.OPTIONS, 'utf8'));
241237

@@ -301,20 +297,18 @@ module.exports.createDocsOutputDir = createDocsOutputDirFn;
301297
module.exports.exportTypedocJson = typedocBuildExportFn;
302298
module.exports.cleanTypedocOutputDir = cleanTypedocOutputDirFn;
303299
module.exports.typedocBuildTheme = typedocBuildTheme;
304-
module.exports.importTypedocJson = series(typedocGulp.typedocBuild, typedocImportJsonFn);
300+
module.exports.importTypedocJson = typedocImportJsonFn;
305301
module.exports.typedocServe = series(
306302
typedocBuildTheme,
307303
typedocWatchFunc,
308304
typedocServe
309305
);
310306
module.exports.typedocBuildDocsJA = series(
311-
typedocGulp.typedocBuild,
312307
this.createDocsOutputDir,
313308
this.cleanTypedocOutputDir,
314309
typedocBuildDocsJA
315310
);
316311
module.exports.typedocBuildDocsEN = series(
317-
typedocGulp.typedocBuild,
318312
this.createDocsOutputDir,
319313
this.cleanTypedocOutputDir,
320314
typedocBuildDocsEN
@@ -326,5 +320,5 @@ module.exports.typedocBuildDocsEN = series(
326320
module.exports.sassdocCleanOutputDir = sassdocCleanOutputDir;
327321
module.exports.sassdocImportJson = sassdocImportJson;
328322
module.exports.sassdocBuildJson = sassdocBuildJson;
329-
module.exports.sassdocBuildJA = series(sassdocCleanOutputDir, sassdocGulp.sassdocBuild, sassdocBuildJA);
330-
module.exports.sassdocBuildEN = series(sassdocCleanOutputDir, sassdocGulp.sassdocBuild, sassdocBuildEN);
323+
module.exports.sassdocBuildJA = series(sassdocCleanOutputDir, sassdocBuildJA);
324+
module.exports.sassdocBuildEN = series(sassdocCleanOutputDir, sassdocBuildEN);

0 commit comments

Comments
 (0)