Skip to content

Commit a656f31

Browse files
Merge branch 'master' into bpenkov/fix-6494-master
2 parents 8fe8dfe + 7acafe3 commit a656f31

File tree

250 files changed

+7917
-4817
lines changed

Some content is hidden

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

250 files changed

+7917
-4817
lines changed

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ All notable changes for each version of this project will be documented in this
1717
- `IgxGrid`, `IgxTreeGrid`, `IgxHierarchicalGrid`
1818
- **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.
1919
- **Behavioral Change** - Pinning columns is no longer automatically prevented when the pinning area would exceed the size of the grid.
20+
- **Breaking Change** - The following input and output have been deprecated for the `igxHierarchicalGrid` and will be removed in future versions:
21+
- `hierarchicalState` -> `expansionStates` should be used instead.
22+
- `hierarchicalStateChange` -> `expansionStatesChange` should be used instead.
23+
2024
- `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.
2125
- `IgxCarousel`:
2226
- **Breaking Changes** -The carousel slides are no longer array, they are changed to QueryList.
@@ -41,6 +45,8 @@ All notable changes for each version of this project will be documented in this
4145
- `collapsibleIndicatorTemplate` property is introduced to IgxColumnGroupComponent, which allows you to set a custom template for the expand collapse indicator;
4246
- `igxCollapsibleIndicator` directive has been introduced, which allows you to set a custom template for the expand collapse indicator;
4347
- `IgxGridExcelStyleFilteringComponent` and `IgxAdvancedFilteringDialogComponent` can now be hosted outside of the grid in order to provide the same experience as the built-in filtering UI.
48+
- `expandRow(rowID)`/`collapseRow(rowID)`/`toggleRow(rowID)` API methods are added for the `igxHierarchicalGrid`. They allow expanding/collapsing a row by its id.
49+
- `onRowToggle` event is added for the `igxHierarchicalGrid`. It is emitted when the expanded state of a row is changed.
4450
- `IgxOverlayService`:
4551
- `setOffset` method added. It offsets the content along the corresponding axis by the provided amount.
4652
- `IgxToggleDirective`:
@@ -126,6 +132,13 @@ All notable changes for each version of this project will be documented in this
126132
```
127133
- RTL support
128134

135+
- `IgxForOf`
136+
- `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:
137+
```html
138+
<ng-template igxFor let-item [igxForOf]="data | async" [igxForTotalItemCount]="count | async"
139+
[igxForContainerSize]="'500px'" [igxForItemSize]="'50px'"></ng-template>
140+
```
141+
129142
## 8.2.6
130143

131144
### New Features

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)